The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import * as Effect from "effect/Effect"; |
| 2 | import * as SqlClient from "effect/sql/SqlClient"; |
| 3 | |
| 4 | export default Effect.gen(function* () { |
| 5 | const sql = yield* SqlClient.SqlClient; |
| 6 | |
| 7 | // Thread windows read this flag for every row; scanning payloads on each read |
| 8 | // dominated thread open. Keep the predicate in step with ProjectionStore. |
| 9 | yield* sql` |
| 10 | ALTER TABLE orchestration_v2_projection_turn_items |
| 11 | ADD COLUMN inline_work_output INTEGER NOT NULL DEFAULT 0 |
| 12 | `; |
| 13 | yield* sql` |
| 14 | UPDATE orchestration_v2_projection_turn_items |
| 15 | SET inline_work_output = 1 |
| 16 | WHERE type = 'dynamic_tool' AND ( |
| 17 | payload_json LIKE '%htmlRender%' OR payload_json LIKE '%t3McpApp%' |
| 18 | OR payload_json LIKE '%"viewedImagePath"%' |
| 19 | OR payload_json LIKE '%"toolName":"%delegate_task"%' |
| 20 | OR payload_json LIKE '%"toolName":"%send_to_user"%' |
| 21 | OR payload_json LIKE '%sentMessage%') |
| 22 | `; |
| 23 | }); |