@cortexkit/opencode-magic-context 0.49.18 → 0.49.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auto-search-worker.js +53 -10
- package/dist/chunk-embedding-write-worker.js +30 -23
- package/dist/{compaction-marker-candidates-n4krhat4.js → compaction-marker-candidates-b2q30cft.js} +3 -3
- package/dist/compaction-marker-candidates-worker.js +2 -2
- package/dist/compartment-chunk-embedding-va090as0.js +65 -0
- package/dist/config/schema/magic-context.d.ts +6 -6
- package/dist/{conflict-warning-hook-4pmz879v.js → conflict-warning-hook-frp3z2wk.js} +9 -8
- package/dist/{context-m897gfp9.js → context-mkece1db.js} +460 -135
- package/dist/{derive-budgets-zn7yzd2d.js → derive-budgets-pqybnx09.js} +2 -2
- package/dist/embedding-backfill-gy3p78py.js +25 -0
- package/dist/embedding-worker-process.js +2 -2
- package/dist/embedding-worker.js +5 -5
- package/dist/features/magic-context/chunk-embedding-writer.d.ts.map +1 -1
- package/dist/features/magic-context/compartment-chunk-embedding.d.ts +44 -1
- package/dist/features/magic-context/compartment-chunk-embedding.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/classify.d.ts +3 -0
- package/dist/features/magic-context/dreamer/classify.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/hidden-single-shot.d.ts +11 -0
- package/dist/features/magic-context/dreamer/hidden-single-shot.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/map-memories.d.ts +3 -0
- package/dist/features/magic-context/dreamer/map-memories.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/task-config.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/task-scheduler.d.ts +2 -0
- package/dist/features/magic-context/dreamer/task-scheduler.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/verify.d.ts +3 -0
- package/dist/features/magic-context/dreamer/verify.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-identity.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-local.d.ts +1 -0
- package/dist/features/magic-context/memory/embedding-local.d.ts.map +1 -1
- package/dist/features/magic-context/memory/local-embedding-pooling.d.ts +22 -0
- package/dist/features/magic-context/memory/local-embedding-pooling.d.ts.map +1 -0
- package/dist/features/magic-context/message-index-async.d.ts.map +1 -1
- package/dist/features/magic-context/message-index.d.ts +2 -0
- package/dist/features/magic-context/message-index.d.ts.map +1 -1
- package/dist/features/magic-context/migrations.d.ts.map +1 -1
- package/dist/features/magic-context/mural/compress-cues.d.ts.map +1 -1
- package/dist/features/magic-context/project-embedding-registry.d.ts.map +1 -1
- package/dist/features/magic-context/search.d.ts +27 -0
- package/dist/features/magic-context/search.d.ts.map +1 -1
- package/dist/features/magic-context/smart-notes/compiler.d.ts.map +1 -1
- package/dist/features/magic-context/storage-clone.d.ts.map +1 -1
- package/dist/features/magic-context/storage-meta-persisted.d.ts +14 -0
- package/dist/features/magic-context/storage-meta-persisted.d.ts.map +1 -1
- package/dist/features/magic-context/subagent-token-capture.d.ts +20 -0
- package/dist/features/magic-context/subagent-token-capture.d.ts.map +1 -1
- package/dist/features/magic-context/user-memory/review-user-memories.d.ts.map +1 -1
- package/dist/{history-owner-xp3pngv7.js → history-owner-36wp3mkb.js} +2 -2
- package/dist/hooks/magic-context/apply-operations.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-embed-session.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-hint.d.ts +7 -1
- package/dist/hooks/magic-context/auto-search-hint.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-runner.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-worker-client.d.ts +33 -6
- package/dist/hooks/magic-context/auto-search-worker-client.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-worker-evaluation.fixture.d.ts +2 -0
- package/dist/hooks/magic-context/auto-search-worker-evaluation.fixture.d.ts.map +1 -0
- package/dist/hooks/magic-context/cache-busting-signals.d.ts +5 -2
- package/dist/hooks/magic-context/cache-busting-signals.d.ts.map +1 -1
- package/dist/hooks/magic-context/channel2-delivery.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-historian.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-types.d.ts +5 -0
- package/dist/hooks/magic-context/compartment-runner-types.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-trigger.d.ts +1 -1
- package/dist/hooks/magic-context/compartment-trigger.d.ts.map +1 -1
- package/dist/hooks/magic-context/diagnostic-log-state.d.ts +4 -0
- package/dist/hooks/magic-context/diagnostic-log-state.d.ts.map +1 -0
- package/dist/hooks/magic-context/execute-reclaim.d.ts +35 -0
- package/dist/hooks/magic-context/execute-reclaim.d.ts.map +1 -0
- package/dist/hooks/magic-context/hook-handlers.d.ts.map +1 -1
- package/dist/hooks/magic-context/hook.d.ts +1 -3
- package/dist/hooks/magic-context/hook.d.ts.map +1 -1
- package/dist/hooks/magic-context/latest-assistant-turn.d.ts +8 -0
- package/dist/hooks/magic-context/latest-assistant-turn.d.ts.map +1 -1
- package/dist/hooks/magic-context/lkg-recovery-fence.d.ts +5 -0
- package/dist/hooks/magic-context/lkg-recovery-fence.d.ts.map +1 -1
- package/dist/hooks/magic-context/lkg-recovery-prefix.d.ts +13 -0
- package/dist/hooks/magic-context/lkg-recovery-prefix.d.ts.map +1 -1
- package/dist/hooks/magic-context/nudge-evaluation-log.d.ts +3 -0
- package/dist/hooks/magic-context/nudge-evaluation-log.d.ts.map +1 -0
- package/dist/hooks/magic-context/pending-drop-eligibility.d.ts.map +1 -1
- package/dist/hooks/magic-context/protected-tail-boundary.d.ts +4 -0
- package/dist/hooks/magic-context/protected-tail-boundary.d.ts.map +1 -1
- package/dist/hooks/magic-context/raw-ordinal-warmup.d.ts.map +1 -1
- package/dist/hooks/magic-context/system-date-refresh.d.ts +15 -2
- package/dist/hooks/magic-context/system-date-refresh.d.ts.map +1 -1
- package/dist/hooks/magic-context/system-prompt-hash.d.ts.map +1 -1
- package/dist/hooks/magic-context/system-prompt-sticky-date.d.ts +10 -0
- package/dist/hooks/magic-context/system-prompt-sticky-date.d.ts.map +1 -0
- package/dist/hooks/magic-context/tag-messages.d.ts +2 -0
- package/dist/hooks/magic-context/tag-messages.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-compartment-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts +23 -6
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/{index-bjcnntmz.js → index-0wthn7fp.js} +468 -18
- package/dist/{index-kq82mtg0.js → index-11zf2wwc.js} +3 -3
- package/dist/{index-b5vqckbw.js → index-153r2q6z.js} +314 -127
- package/dist/{index-v8awdgvd.js → index-1pefp8ar.js} +5 -5
- package/dist/{v2/server-beht37jy.js → index-1zx2pa5d.js} +1 -1
- package/dist/{index-ze7mvk54.js → index-2yhtnfcf.js} +75 -57
- package/dist/{index-cf74k5ak.js → index-305y133n.js} +4 -4
- package/dist/{index-s734jcsr.js → index-35qc6606.js} +9 -3
- package/dist/{index-x4njr8df.js → index-48stjd56.js} +105 -19
- package/dist/{index-24jbw52d.js → index-4n7w9rad.js} +6 -6
- package/dist/{index-kee4kn5j.js → index-4pnsgvfk.js} +1 -1
- package/dist/{v2/server-8cd2j99z.js → index-5kym00ag.js} +32 -13
- package/dist/{index-4s3t0nd0.js → index-616rsjrv.js} +2 -2
- package/dist/{index-e4xv8890.js → index-67nyj0gy.js} +507 -210
- package/dist/{index-6x57ar45.js → index-adk2z5d8.js} +3 -3
- package/dist/{index-c5pytzne.js → index-b88dwwrh.js} +1 -1
- package/dist/{index-rr2bb45z.js → index-c4b76d4t.js} +2 -2
- package/dist/{index-nj7yykkx.js → index-c7phnbvk.js} +1 -1
- package/dist/index-cpjk5jd2.js +82 -0
- package/dist/{index-6s5941tm.js → index-d6rp4dxh.js} +5 -5
- package/dist/{index-s7j8tvhv.js → index-dc8hy95c.js} +69 -17
- package/dist/{index-j75v2476.js → index-h7tgn49j.js} +12 -15
- package/dist/{index-ke416mdc.js → index-j76ah6d7.js} +2 -2
- package/dist/{index-r4nkrs05.js → index-jfh3cktr.js} +4 -4
- package/dist/{index-a6mc0v4d.js → index-jmycsey7.js} +3 -3
- package/dist/{index-24fezq97.js → index-jr5na10t.js} +4 -4
- package/dist/{index-s74zqahq.js → index-kc9pn495.js} +4 -4
- package/dist/{index-p5y3k4g7.js → index-nda0zgna.js} +2 -1
- package/dist/{index-jn12fvvh.js → index-neb2jaed.js} +3 -3
- package/dist/{index-qn7xstt2.js → index-pnjwa6qa.js} +6 -7
- package/dist/{index-fgncb0ng.js → index-rmd0069m.js} +11 -11
- package/dist/{index-y9f76s3f.js → index-rrv26qjz.js} +1 -1
- package/dist/{index-v10f1rjv.js → index-spwjbkc7.js} +1 -1
- package/dist/{index-k29z4aqh.js → index-t5pck3ss.js} +1 -1
- package/dist/{index-936py2wm.js → index-t7hx3qcb.js} +361 -113
- package/dist/{index-s1ex9y6p.js → index-v7r4td4c.js} +464 -79
- package/dist/{index-2vxtcb95.js → index-vkc1ca9p.js} +2 -2
- package/dist/{index-rmwykbbb.js → index-x4k3f4mf.js} +33 -10
- package/dist/{index-bp5083x2.js → index-x9k3mqrf.js} +1 -1
- package/dist/{index-n37sebck.js → index-y4a3nhtk.js} +1 -1
- package/dist/index.js +57 -50
- package/dist/{logger-jm3sqqzr.js → logger-94kew5wm.js} +1 -1
- package/dist/{message-fts-rowid-map-17s0dfn4.js → message-fts-rowid-map-22tevnnj.js} +6 -5
- package/dist/{message-index-66jv6fh4.js → message-index-5qxcz6h7.js} +16 -15
- package/dist/{message-index-bounded-n1frdn85.js → message-index-bounded-n0m0t7tv.js} +16 -15
- package/dist/{message-time-backfill-73mmm76q.js → message-time-backfill-0myx7fz3.js} +3 -3
- package/dist/migration-worker.js +13 -12
- package/dist/{model-resolution-nx97z3x7.js → model-resolution-280gmqvd.js} +1 -1
- package/dist/plugin/embedding-bootstrap.d.ts +3 -1
- package/dist/plugin/embedding-bootstrap.d.ts.map +1 -1
- package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
- package/dist/plugin/messages-transform.d.ts.map +1 -1
- package/dist/plugin/rpc-handlers.d.ts +8 -0
- package/dist/plugin/rpc-handlers.d.ts.map +1 -1
- package/dist/plugin/subagent-tool-policy.d.ts +9 -0
- package/dist/plugin/subagent-tool-policy.d.ts.map +1 -1
- package/dist/plugin/tool-registry.d.ts.map +1 -1
- package/dist/{project-embedding-registry-z74mhqkf.js → project-embedding-registry-s2pqgec9.js} +13 -12
- package/dist/raw-ordinal-warmup-worker.js +136 -101
- package/dist/{read-session-chunk-v06g3vka.js → read-session-chunk-0a8vdyqp.js} +11 -10
- package/dist/{read-session-raw-rsc8c7qy.js → read-session-raw-y5cszf0b.js} +4 -3
- package/dist/recomp-orchestrator-61vyha9j.js +62 -0
- package/dist/{safe-notification-target-1szv1k5k.js → safe-notification-target-mkr9yzvr.js} +2 -2
- package/dist/{search-archive-4d53y23e.js → search-archive-8q9s49p5.js} +12 -11
- package/dist/{search-nkf271d4.js → search-v1y9ejws.js} +25 -24
- package/dist/{send-session-notification-6ve0e8p4.js → send-session-notification-0k6qzydk.js} +7 -6
- package/dist/shared/logger.d.ts.map +1 -1
- package/dist/shared/model-resolution.d.ts +2 -0
- package/dist/shared/model-resolution.d.ts.map +1 -1
- package/dist/shared/model-suggestion-retry.d.ts +30 -1
- package/dist/shared/model-suggestion-retry.d.ts.map +1 -1
- package/dist/shared/prompt-async-transport.d.ts +3 -0
- package/dist/shared/prompt-async-transport.d.ts.map +1 -1
- package/dist/shared/rpc-types.d.ts +7 -0
- package/dist/shared/rpc-types.d.ts.map +1 -1
- package/dist/shared/sqlite.d.ts +1 -1
- package/dist/shared/sqlite.d.ts.map +1 -1
- package/dist/shared/subagent-runner.d.ts +2 -0
- package/dist/shared/subagent-runner.d.ts.map +1 -1
- package/dist/shared/worker-shutdown.d.ts +68 -0
- package/dist/shared/worker-shutdown.d.ts.map +1 -0
- package/dist/shared/worker-shutdown.fixture.d.ts +2 -0
- package/dist/shared/worker-shutdown.fixture.d.ts.map +1 -0
- package/dist/{sqlite-zf72c52d.js → sqlite-1rpvw2rj.js} +1 -1
- package/dist/{storage-memory-y3qmy00r.js → storage-memory-nm7v82mj.js} +2 -2
- package/dist/{storage-tags-r7k9tjcv.js → storage-tags-r6nk29n4.js} +5 -5
- package/dist/{task-config-x3qmayd2.js → task-config-t6bpyka7.js} +2 -2
- package/dist/tools/ctx-expand/rust-mode-tag.test-support.d.ts +15 -0
- package/dist/tools/ctx-expand/rust-mode-tag.test-support.d.ts.map +1 -0
- package/dist/tools/ctx-expand/tools.d.ts +11 -0
- package/dist/tools/ctx-expand/tools.d.ts.map +1 -1
- package/dist/tools/ctx-search/tools.d.ts.map +1 -1
- package/dist/{transform-postprocess-phase-zpgav0h7.js → transform-postprocess-phase-vtrgb7m6.js} +34 -31
- package/dist/v2/auto-search-worker.js +53 -10
- package/dist/v2/chunk-embedding-write-worker.js +30 -23
- package/dist/v2/{compaction-marker-candidates-ebx3388k.js → compaction-marker-candidates-cfab70cs.js} +3 -3
- package/dist/v2/compaction-marker-candidates-worker.js +2 -2
- package/dist/v2/compartment-chunk-embedding-nbdqx1td.js +64 -0
- package/dist/v2/{context-f2xh7ba4.js → context-cc33tv2z.js} +1259 -404
- package/dist/v2/{derive-budgets-2zh4gm2c.js → derive-budgets-knf763tt.js} +3 -3
- package/dist/v2/embedding-backfill-yxv2h5mc.js +24 -0
- package/dist/v2/embedding-worker-process.js +2 -2
- package/dist/v2/embedding-worker.js +5 -5
- package/dist/v2/hidden-child-record.d.ts +2 -0
- package/dist/v2/hidden-child-record.d.ts.map +1 -1
- package/dist/v2/hidden-completion.d.ts +2 -0
- package/dist/v2/hidden-completion.d.ts.map +1 -1
- package/dist/v2/hidden-model-activity.d.ts +7 -0
- package/dist/v2/hidden-model-activity.d.ts.map +1 -0
- package/dist/v2/{history-owner-42e16w0n.js → history-owner-ad0crnrn.js} +2 -2
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/generate.d.ts +36 -1
- package/dist/v2/hooks/generate.d.ts.map +1 -1
- package/dist/v2/hooks/lkg-system.d.ts +35 -4
- package/dist/v2/hooks/lkg-system.d.ts.map +1 -1
- package/dist/v2/hooks/payload.d.ts +16 -1
- package/dist/v2/hooks/payload.d.ts.map +1 -1
- package/dist/v2/hooks/tools.d.ts.map +1 -1
- package/dist/v2/{logger-7qt02bnb.js → logger-p34mjtja.js} +1 -1
- package/dist/v2/{message-fts-rowid-map-wfx67gfd.js → message-fts-rowid-map-dg12wymk.js} +6 -5
- package/dist/v2/{message-index-bounded-w3hfm29z.js → message-index-bounded-f4e01xk0.js} +16 -15
- package/dist/v2/{message-index-48f7hw7a.js → message-index-ydzrp6y6.js} +16 -15
- package/dist/v2/{message-time-backfill-04t0km1z.js → message-time-backfill-ddh8n9gy.js} +3 -3
- package/dist/v2/migration-worker.js +13 -12
- package/dist/v2/{model-resolution-nx97z3x7.js → model-resolution-280gmqvd.js} +1 -1
- package/dist/v2/{project-embedding-registry-gnkj56xp.js → project-embedding-registry-deza9ksw.js} +13 -12
- package/dist/v2/raw-ordinal-warmup-worker.js +136 -101
- package/dist/v2/{read-session-chunk-zpgmxwte.js → read-session-chunk-8cxfagky.js} +11 -10
- package/dist/v2/{read-session-raw-yaegtjzh.js → read-session-raw-1nrrecvx.js} +4 -3
- package/dist/v2/recomp-orchestrator-47m4hv5g.js +61 -0
- package/dist/v2/{safe-notification-target-qg7n2s77.js → safe-notification-target-khnzg57c.js} +2 -2
- package/dist/v2/{search-archive-vv48s2aa.js → search-archive-e80cvc09.js} +12 -11
- package/dist/v2/{search-kza414f0.js → search-fjz746zr.js} +25 -24
- package/dist/v2/{send-session-notification-3pxn658x.js → send-session-notification-nwvrv34d.js} +7 -6
- package/dist/v2/{server-8by8qfec.js → server-0epqaxhd.js} +75 -57
- package/dist/v2/{server-pwv4ezb0.js → server-168pb207.js} +1 -1
- package/dist/v2/{server-h0410h0v.js → server-1bw1wcbp.js} +1 -1
- package/dist/{index-beht37jy.js → v2/server-1zx2pa5d.js} +1 -1
- package/dist/v2/{server-a9xqj88f.js → server-230fnbws.js} +4 -4
- package/dist/v2/{server-tbe1femw.js → server-29qp8nz4.js} +1 -1
- package/dist/v2/{server-tgnbmwah.js → server-3mz2qh5a.js} +1 -1
- package/dist/v2/{server-hy3d3vsx.js → server-4nw4fqhr.js} +2 -2
- package/dist/v2/{server-qv7f0hhe.js → server-4sxjs6hn.js} +5 -5
- package/dist/v2/{server-34kwfsr4.js → server-53eh1r8r.js} +2 -2
- package/dist/v2/{server-xj136kt8.js → server-55rgxfrw.js} +9 -3
- package/dist/v2/{server-nj659894.js → server-5arr9ecn.js} +2 -2
- package/dist/{index-8cd2j99z.js → v2/server-5kym00ag.js} +32 -13
- package/dist/v2/{server-2ehj0bw7.js → server-63fqdghs.js} +106 -20
- package/dist/v2/{server-f2xf5gcb.js → server-6495nmn9.js} +12 -15
- package/dist/v2/{server-qd11g795.js → server-92g7d776.js} +2 -1
- package/dist/v2/{server-gpvay0xz.js → server-9x0kmta4.js} +6 -7
- package/dist/v2/{server-27gq4mfz.js → server-a3dwxfgd.js} +4 -4
- package/dist/v2/{server-6tmj0s7j.js → server-af2pght7.js} +3 -3
- package/dist/v2/{server-1wy7b9de.js → server-br1x0tev.js} +3 -3
- package/dist/v2/{server-n1prf1g6.js → server-brj8j2gk.js} +2 -2
- package/dist/v2/{server-bfpda1tb.js → server-c7dxxsj7.js} +466 -81
- package/dist/v2/server-cpjk5jd2.js +82 -0
- package/dist/v2/{server-g3qma5c0.js → server-dj7tz4ph.js} +2 -2
- package/dist/v2/{server-xhab8jx8.js → server-ej96a39v.js} +33 -10
- package/dist/v2/{server-6pmqg9m4.js → server-gyy4k6mf.js} +1 -1
- package/dist/v2/{server-a2eqhkxr.js → server-hqzyq8n4.js} +11 -11
- package/dist/v2/{server-h1v0pyxb.js → server-j4jnp9b5.js} +468 -18
- package/dist/v2/{server-da07v4xp.js → server-k3t06fxr.js} +1 -1
- package/dist/v2/{server-1nyybqan.js → server-m91f9m5s.js} +69 -17
- package/dist/v2/{server-rmygf5pn.js → server-ne8arh8t.js} +2 -2
- package/dist/v2/{server-my7k4eds.js → server-vn2nwcv6.js} +5 -5
- package/dist/v2/{server-46neh5fa.js → server-wyawsa88.js} +314 -127
- package/dist/v2/{server-zzkj2fch.js → server-xsryvyf6.js} +4 -4
- package/dist/v2/{server-n37sebck.js → server-y4a3nhtk.js} +1 -1
- package/dist/v2/{server-d04vrx0j.js → server-ygtykank.js} +2 -2
- package/dist/v2/server.js +6 -6
- package/dist/v2/{sqlite-zf72c52d.js → sqlite-1rpvw2rj.js} +1 -1
- package/dist/v2/{storage-memory-y3qmy00r.js → storage-memory-nm7v82mj.js} +2 -2
- package/dist/v2/{storage-tags-3wdb8zph.js → storage-tags-ss08kj5r.js} +5 -5
- package/dist/v2/store-reader.d.ts +8 -0
- package/dist/v2/store-reader.d.ts.map +1 -1
- package/dist/v2/{task-config-nvz8mapa.js → task-config-7md27rx8.js} +2 -2
- package/dist/v2/{wrapup-orchestrator-psqz7yh0.js → wrapup-orchestrator-639whfhq.js} +32 -31
- package/dist/wrapup-orchestrator-mnvt2g8m.js +49 -0
- package/package.json +1 -1
- package/src/config/index.test.ts +28 -6
- package/src/shared/logger.test.ts +42 -1
- package/src/shared/logger.ts +11 -13
- package/src/shared/model-resolution.test.ts +67 -12
- package/src/shared/model-resolution.ts +43 -16
- package/src/shared/model-suggestion-retry.test.ts +166 -0
- package/src/shared/model-suggestion-retry.ts +165 -14
- package/src/shared/prompt-async-transport.test.ts +107 -0
- package/src/shared/prompt-async-transport.ts +86 -3
- package/src/shared/rpc-types.ts +7 -0
- package/src/shared/sqlite-busy-budget-review.test.ts +6 -1
- package/src/shared/sqlite.ts +4 -2
- package/src/shared/subagent-runner.ts +2 -0
- package/src/shared/worker-shutdown-fence.test.ts +87 -0
- package/src/shared/worker-shutdown.fixture.ts +25 -0
- package/src/shared/worker-shutdown.test.ts +127 -0
- package/src/shared/worker-shutdown.ts +160 -0
- package/dist/embedding-backfill-fmz50tsy.js +0 -24
- package/dist/recomp-orchestrator-ghpk2dtq.js +0 -61
- package/dist/v2/embedding-backfill-7c7yr69y.js +0 -23
- package/dist/v2/recomp-orchestrator-4vfxej9t.js +0 -60
- package/dist/wrapup-orchestrator-s9zc5b00.js +0 -48
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exitOnWorkerClose
|
|
3
|
+
} from "./index-cpjk5jd2.js";
|
|
4
|
+
|
|
1
5
|
// src/hooks/magic-context/auto-search-worker.ts
|
|
2
6
|
import { parentPort, workerData } from "node:worker_threads";
|
|
3
7
|
if (!parentPort)
|
|
@@ -14,20 +18,22 @@ var [
|
|
|
14
18
|
{ getMemoriesByProject },
|
|
15
19
|
{ installProjectEmbeddingSearchBridge },
|
|
16
20
|
{ searchMessageHistory, unifiedSearch },
|
|
21
|
+
{ getLastCompartmentChunkPoolWarm, maintainCompartmentChunkSearchPools },
|
|
17
22
|
{ setEmbeddingSessionBusy },
|
|
18
23
|
{ getHarness, setHarness },
|
|
19
24
|
{ Database, registerSqliteDiagnosticSink },
|
|
20
25
|
{ log }
|
|
21
26
|
] = await Promise.all([
|
|
22
|
-
import("./embedding-backfill-
|
|
27
|
+
import("./embedding-backfill-gy3p78py.js"),
|
|
23
28
|
import("./embedding-cache-mgyr73ef.js"),
|
|
24
|
-
import("./storage-memory-
|
|
25
|
-
import("./project-embedding-registry-
|
|
26
|
-
import("./search-
|
|
29
|
+
import("./storage-memory-nm7v82mj.js"),
|
|
30
|
+
import("./project-embedding-registry-s2pqgec9.js"),
|
|
31
|
+
import("./search-v1y9ejws.js"),
|
|
32
|
+
import("./compartment-chunk-embedding-va090as0.js"),
|
|
27
33
|
import("./embedding-activity-g1dhes6g.js"),
|
|
28
34
|
import("./harness-e4avh192.js"),
|
|
29
|
-
import("./sqlite-
|
|
30
|
-
import("./logger-
|
|
35
|
+
import("./sqlite-1rpvw2rj.js"),
|
|
36
|
+
import("./logger-94kew5wm.js")
|
|
31
37
|
]);
|
|
32
38
|
setHarness(input.harness);
|
|
33
39
|
registerSqliteDiagnosticSink(log, getHarness);
|
|
@@ -53,6 +59,27 @@ function request(message) {
|
|
|
53
59
|
}
|
|
54
60
|
db = new Database(input.path, input.job === "backfill" ? undefined : { readonly: true });
|
|
55
61
|
db.exec("PRAGMA busy_timeout = 250");
|
|
62
|
+
var { closePort } = exitOnWorkerClose(port, () => db.close());
|
|
63
|
+
var CHUNK_POOL_MAINTENANCE_INTERVAL_MS = 5000;
|
|
64
|
+
var maintenanceTimer;
|
|
65
|
+
var maintaining = false;
|
|
66
|
+
function maintainChunkPools() {
|
|
67
|
+
if (maintaining)
|
|
68
|
+
return;
|
|
69
|
+
maintaining = true;
|
|
70
|
+
maintainCompartmentChunkSearchPools(db).catch(() => {}).finally(() => {
|
|
71
|
+
maintaining = false;
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
function scheduleChunkPoolMaintenance() {
|
|
75
|
+
if (!persistent)
|
|
76
|
+
return;
|
|
77
|
+
if (!maintenanceTimer) {
|
|
78
|
+
maintenanceTimer = setInterval(maintainChunkPools, CHUNK_POOL_MAINTENANCE_INTERVAL_MS);
|
|
79
|
+
maintenanceTimer.unref?.();
|
|
80
|
+
}
|
|
81
|
+
setTimeout(maintainChunkPools, 0);
|
|
82
|
+
}
|
|
56
83
|
async function run(jobInput) {
|
|
57
84
|
input = jobInput;
|
|
58
85
|
queryDimensions = null;
|
|
@@ -98,15 +125,27 @@ async function run(jobInput) {
|
|
|
98
125
|
const outcome = searchMessageHistory(db, input.messageRequest);
|
|
99
126
|
port.postMessage({ kind: "messages", outcome });
|
|
100
127
|
} else {
|
|
128
|
+
const jobStarted = performance.now();
|
|
129
|
+
const steps = {};
|
|
101
130
|
const results = await unifiedSearch(db, input.sessionId, input.projectPath, input.query, {
|
|
102
131
|
...input.options,
|
|
103
132
|
backfillMemoryEmbeddings: false,
|
|
104
133
|
countRetrievals: false,
|
|
105
134
|
measurementDisabled: true,
|
|
106
135
|
embedQuery: async (text) => (await request({ kind: "query", text })).result ?? null,
|
|
107
|
-
isEmbeddingRuntimeEnabled: () => input.embeddingRuntimeEnabled
|
|
136
|
+
isEmbeddingRuntimeEnabled: () => input.embeddingRuntimeEnabled,
|
|
137
|
+
stepTimings: steps
|
|
108
138
|
});
|
|
109
|
-
port.postMessage({
|
|
139
|
+
port.postMessage({
|
|
140
|
+
kind: "result",
|
|
141
|
+
results,
|
|
142
|
+
timings: {
|
|
143
|
+
steps,
|
|
144
|
+
jobMs: performance.now() - jobStarted,
|
|
145
|
+
lastPoolWarm: getLastCompartmentChunkPoolWarm()
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
scheduleChunkPoolMaintenance();
|
|
110
149
|
}
|
|
111
150
|
} catch (error) {
|
|
112
151
|
port.postMessage({
|
|
@@ -117,7 +156,7 @@ async function run(jobInput) {
|
|
|
117
156
|
setEmbeddingSessionBusy(input.sessionId, false);
|
|
118
157
|
if (!persistent) {
|
|
119
158
|
db.close();
|
|
120
|
-
|
|
159
|
+
closePort();
|
|
121
160
|
}
|
|
122
161
|
}
|
|
123
162
|
}
|
|
@@ -125,4 +164,8 @@ port.on("message", (message) => {
|
|
|
125
164
|
if (message.kind === "run" && message.input)
|
|
126
165
|
run(message.input);
|
|
127
166
|
});
|
|
128
|
-
|
|
167
|
+
run(input).catch((error) => {
|
|
168
|
+
setTimeout(() => {
|
|
169
|
+
throw error;
|
|
170
|
+
});
|
|
171
|
+
});
|
|
@@ -3,41 +3,45 @@ import {
|
|
|
3
3
|
} from "./index-pavzsdc6.js";
|
|
4
4
|
import {
|
|
5
5
|
Database2
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-1zx2pa5d.js";
|
|
7
7
|
import {
|
|
8
8
|
configureContextDatabasePragmas2
|
|
9
9
|
} from "./index-fb3zxn06.js";
|
|
10
|
-
import
|
|
10
|
+
import {
|
|
11
|
+
isWorkerCloseMessage,
|
|
12
|
+
exitOnWorkerClose
|
|
13
|
+
} from "./index-cpjk5jd2.js";
|
|
14
|
+
import"./index-b88dwwrh.js";
|
|
11
15
|
import"./index-g2q4htwp.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
16
|
+
import"./index-h7tgn49j.js";
|
|
17
|
+
import"./index-adk2z5d8.js";
|
|
14
18
|
import"./index-v0p37hm2.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
19
|
+
import"./index-35qc6606.js";
|
|
20
|
+
import"./index-jmycsey7.js";
|
|
17
21
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./index-
|
|
22
|
+
replaceCompartmentChunkEmbeddings2,
|
|
23
|
+
recordChunkEmbedBackoff2,
|
|
24
|
+
loadUnembeddedSessionChunkCandidates2,
|
|
25
|
+
countUnembeddedSessionCompartments2
|
|
26
|
+
} from "./index-153r2q6z.js";
|
|
23
27
|
import {
|
|
24
28
|
recordSessionProjectIdentity,
|
|
25
29
|
acquireGitSweepLease,
|
|
26
30
|
renewGitSweepLease,
|
|
27
31
|
releaseGitSweepLease
|
|
28
|
-
} from "./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
32
|
+
} from "./index-c4b76d4t.js";
|
|
33
|
+
import"./index-vkc1ca9p.js";
|
|
34
|
+
import"./index-c7phnbvk.js";
|
|
31
35
|
import {
|
|
32
36
|
LATEST_SUPPORTED_VERSION,
|
|
33
37
|
enforceSchemaFence
|
|
34
|
-
} from "./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
38
|
+
} from "./index-rmd0069m.js";
|
|
39
|
+
import"./index-pnjwa6qa.js";
|
|
40
|
+
import"./index-x9k3mqrf.js";
|
|
37
41
|
import"./index-fr0wbhdn.js";
|
|
38
42
|
import"./index-58e3y90n.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
43
|
+
import"./index-j76ah6d7.js";
|
|
44
|
+
import"./index-t5pck3ss.js";
|
|
41
45
|
|
|
42
46
|
// src/features/magic-context/chunk-embedding-write-worker.ts
|
|
43
47
|
import { parentPort, workerData } from "node:worker_threads";
|
|
@@ -53,24 +57,27 @@ if (!enforceSchemaFence(db, workerData.path, LATEST_SUPPORTED_VERSION)) {
|
|
|
53
57
|
var timeout = Math.max(0, Math.floor(workerData.timeout));
|
|
54
58
|
db.exec(`PRAGMA busy_timeout=${timeout}; PRAGMA foreign_keys=ON`);
|
|
55
59
|
configureContextDatabasePragmas2(db);
|
|
60
|
+
exitOnWorkerClose(port, () => db.close());
|
|
56
61
|
port.on("message", (input) => {
|
|
62
|
+
if (isWorkerCloseMessage(input))
|
|
63
|
+
return;
|
|
57
64
|
try {
|
|
58
65
|
let value;
|
|
59
66
|
switch (input.kind) {
|
|
60
67
|
case "replace":
|
|
61
|
-
|
|
68
|
+
replaceCompartmentChunkEmbeddings2(db, input.rows, input.sourceKey);
|
|
62
69
|
break;
|
|
63
70
|
case "project":
|
|
64
71
|
recordSessionProjectIdentity(db, input.session, input.project);
|
|
65
72
|
break;
|
|
66
73
|
case "count":
|
|
67
|
-
value =
|
|
74
|
+
value = countUnembeddedSessionCompartments2(db, input.project, input.session, input.model, input.tokens);
|
|
68
75
|
break;
|
|
69
76
|
case "candidates":
|
|
70
|
-
value =
|
|
77
|
+
value = loadUnembeddedSessionChunkCandidates2(db, input.project, input.session, input.model, input.limit, input.excluded, input.tokens, true);
|
|
71
78
|
break;
|
|
72
79
|
case "backoff":
|
|
73
|
-
|
|
80
|
+
recordChunkEmbedBackoff2(db, input.candidate, input.project, input.model);
|
|
74
81
|
break;
|
|
75
82
|
case "acquire":
|
|
76
83
|
value = acquireGitSweepLease(db, input.project, input.holder, {
|
package/dist/{compaction-marker-candidates-n4krhat4.js → compaction-marker-candidates-b2q30cft.js}
RENAMED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
readMarkerCandidateBasis2,
|
|
5
5
|
prepareMarkerCandidateBasis2,
|
|
6
6
|
scanMarkerCandidateSnapshot2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-616rsjrv.js";
|
|
8
8
|
import"./index-v0p37hm2.js";
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
import"./index-1zx2pa5d.js";
|
|
10
|
+
import"./index-h7tgn49j.js";
|
|
11
11
|
import"./index-g2q4htwp.js";
|
|
12
12
|
import"./index-pavzsdc6.js";
|
|
13
13
|
export {
|
|
@@ -5,8 +5,8 @@ if (!port)
|
|
|
5
5
|
throw new Error("marker candidate worker requires a parent port");
|
|
6
6
|
port.postMessage({ kind: "accepted" });
|
|
7
7
|
var [{ Database }, { scanMarkerCandidateSnapshot }] = await Promise.all([
|
|
8
|
-
import("./sqlite-
|
|
9
|
-
import("./compaction-marker-candidates-
|
|
8
|
+
import("./sqlite-1rpvw2rj.js"),
|
|
9
|
+
import("./compaction-marker-candidates-b2q30cft.js")
|
|
10
10
|
]);
|
|
11
11
|
var input = workerData;
|
|
12
12
|
var db;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_COMPARTMENT_CHUNK_MAX_INPUT_TOKENS2,
|
|
3
|
+
CHUNK_WINDOW_SAFETY_RATIO2,
|
|
4
|
+
normalizeCompartmentChunkMaxInputTokens2,
|
|
5
|
+
buildCanonicalChunkTextFromFts2,
|
|
6
|
+
buildCompartmentSummaryFallbackText2,
|
|
7
|
+
canonicalizeInMemoryChunkTextForEmbedding2,
|
|
8
|
+
chunkCanonicalText2,
|
|
9
|
+
chunkEmbeddingWindowsAreCurrent2,
|
|
10
|
+
replaceCompartmentChunkEmbeddings2,
|
|
11
|
+
loadCompartmentChunkEmbeddingsForSearch2,
|
|
12
|
+
getLastCompartmentChunkPoolWarm2,
|
|
13
|
+
peekCompartmentChunkSearchPool2,
|
|
14
|
+
warmCompartmentChunkSearchPool2,
|
|
15
|
+
maintainCompartmentChunkSearchPools2,
|
|
16
|
+
loadUnembeddedShadowChunkCandidates2,
|
|
17
|
+
loadUnembeddedCompartmentChunkCandidatesPolite2,
|
|
18
|
+
deleteChunkEmbedBackoffForSession2,
|
|
19
|
+
recordChunkEmbedBackoff2,
|
|
20
|
+
chunkWindowSourceKey2,
|
|
21
|
+
loadUnembeddedSessionChunkCandidates2,
|
|
22
|
+
loadUnembeddedSessionChunkCandidatesPolite2,
|
|
23
|
+
countUnembeddedSessionCompartments2,
|
|
24
|
+
countSessionCompartmentEmbedCoverage2,
|
|
25
|
+
countSessionCompartmentEmbedCoveragePolite2,
|
|
26
|
+
countUnembeddedSessionCompartmentsPolite2
|
|
27
|
+
} from "./index-153r2q6z.js";
|
|
28
|
+
import"./index-adk2z5d8.js";
|
|
29
|
+
import"./index-jmycsey7.js";
|
|
30
|
+
import"./index-35qc6606.js";
|
|
31
|
+
import"./index-v0p37hm2.js";
|
|
32
|
+
import"./index-t5pck3ss.js";
|
|
33
|
+
import"./index-b88dwwrh.js";
|
|
34
|
+
import"./index-1zx2pa5d.js";
|
|
35
|
+
import"./index-h7tgn49j.js";
|
|
36
|
+
import"./index-g2q4htwp.js";
|
|
37
|
+
import"./index-pavzsdc6.js";
|
|
38
|
+
import"./index-cpjk5jd2.js";
|
|
39
|
+
export {
|
|
40
|
+
CHUNK_WINDOW_SAFETY_RATIO2 as CHUNK_WINDOW_SAFETY_RATIO,
|
|
41
|
+
DEFAULT_COMPARTMENT_CHUNK_MAX_INPUT_TOKENS2 as DEFAULT_COMPARTMENT_CHUNK_MAX_INPUT_TOKENS,
|
|
42
|
+
buildCanonicalChunkTextFromFts2 as buildCanonicalChunkTextFromFts,
|
|
43
|
+
buildCompartmentSummaryFallbackText2 as buildCompartmentSummaryFallbackText,
|
|
44
|
+
canonicalizeInMemoryChunkTextForEmbedding2 as canonicalizeInMemoryChunkTextForEmbedding,
|
|
45
|
+
chunkCanonicalText2 as chunkCanonicalText,
|
|
46
|
+
chunkEmbeddingWindowsAreCurrent2 as chunkEmbeddingWindowsAreCurrent,
|
|
47
|
+
chunkWindowSourceKey2 as chunkWindowSourceKey,
|
|
48
|
+
countSessionCompartmentEmbedCoverage2 as countSessionCompartmentEmbedCoverage,
|
|
49
|
+
countSessionCompartmentEmbedCoveragePolite2 as countSessionCompartmentEmbedCoveragePolite,
|
|
50
|
+
countUnembeddedSessionCompartments2 as countUnembeddedSessionCompartments,
|
|
51
|
+
countUnembeddedSessionCompartmentsPolite2 as countUnembeddedSessionCompartmentsPolite,
|
|
52
|
+
deleteChunkEmbedBackoffForSession2 as deleteChunkEmbedBackoffForSession,
|
|
53
|
+
getLastCompartmentChunkPoolWarm2 as getLastCompartmentChunkPoolWarm,
|
|
54
|
+
loadCompartmentChunkEmbeddingsForSearch2 as loadCompartmentChunkEmbeddingsForSearch,
|
|
55
|
+
loadUnembeddedCompartmentChunkCandidatesPolite2 as loadUnembeddedCompartmentChunkCandidatesPolite,
|
|
56
|
+
loadUnembeddedSessionChunkCandidates2 as loadUnembeddedSessionChunkCandidates,
|
|
57
|
+
loadUnembeddedSessionChunkCandidatesPolite2 as loadUnembeddedSessionChunkCandidatesPolite,
|
|
58
|
+
loadUnembeddedShadowChunkCandidates2 as loadUnembeddedShadowChunkCandidates,
|
|
59
|
+
maintainCompartmentChunkSearchPools2 as maintainCompartmentChunkSearchPools,
|
|
60
|
+
normalizeCompartmentChunkMaxInputTokens2 as normalizeCompartmentChunkMaxInputTokens,
|
|
61
|
+
peekCompartmentChunkSearchPool2 as peekCompartmentChunkSearchPool,
|
|
62
|
+
recordChunkEmbedBackoff2 as recordChunkEmbedBackoff,
|
|
63
|
+
replaceCompartmentChunkEmbeddings2 as replaceCompartmentChunkEmbeddings,
|
|
64
|
+
warmCompartmentChunkSearchPool2 as warmCompartmentChunkSearchPool
|
|
65
|
+
};
|
|
@@ -924,6 +924,7 @@ export declare const DreamerConfigSchema: z.ZodObject<{
|
|
|
924
924
|
primary: "primary";
|
|
925
925
|
subagent: "subagent";
|
|
926
926
|
}>>;
|
|
927
|
+
description: z.ZodOptional<z.ZodString>;
|
|
927
928
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
928
929
|
permission: z.ZodOptional<z.ZodObject<{
|
|
929
930
|
edit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -956,7 +957,6 @@ export declare const DreamerConfigSchema: z.ZodObject<{
|
|
|
956
957
|
ask: "ask";
|
|
957
958
|
}>>;
|
|
958
959
|
}, z.core.$strip>>;
|
|
959
|
-
description: z.ZodOptional<z.ZodString>;
|
|
960
960
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
961
961
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
962
962
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
@@ -1212,6 +1212,7 @@ export declare const HistorianConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
1212
1212
|
primary: "primary";
|
|
1213
1213
|
subagent: "subagent";
|
|
1214
1214
|
}>>;
|
|
1215
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1215
1216
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
1216
1217
|
permission: z.ZodOptional<z.ZodObject<{
|
|
1217
1218
|
edit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1244,7 +1245,6 @@ export declare const HistorianConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
1244
1245
|
ask: "ask";
|
|
1245
1246
|
}>>;
|
|
1246
1247
|
}, z.core.$strip>>;
|
|
1247
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1248
1248
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1249
1249
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
1250
1250
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
@@ -1864,6 +1864,7 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1864
1864
|
primary: "primary";
|
|
1865
1865
|
subagent: "subagent";
|
|
1866
1866
|
}>>;
|
|
1867
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1867
1868
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
1868
1869
|
permission: z.ZodOptional<z.ZodObject<{
|
|
1869
1870
|
edit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1896,7 +1897,6 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1896
1897
|
ask: "ask";
|
|
1897
1898
|
}>>;
|
|
1898
1899
|
}, z.core.$strip>>;
|
|
1899
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1900
1900
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1901
1901
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
1902
1902
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
@@ -2014,6 +2014,7 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2014
2014
|
primary: "primary";
|
|
2015
2015
|
subagent: "subagent";
|
|
2016
2016
|
}>>;
|
|
2017
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2017
2018
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
2018
2019
|
permission: z.ZodOptional<z.ZodObject<{
|
|
2019
2020
|
edit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2046,7 +2047,6 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2046
2047
|
ask: "ask";
|
|
2047
2048
|
}>>;
|
|
2048
2049
|
}, z.core.$strip>>;
|
|
2049
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2050
2050
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
2051
2051
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
2052
2052
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
@@ -2665,6 +2665,7 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2665
2665
|
disallowed_tools: ("read" | "aft_outline" | "aft_zoom" | "aft_search" | "*")[];
|
|
2666
2666
|
prompt?: string | undefined;
|
|
2667
2667
|
mode?: "all" | "primary" | "subagent" | undefined;
|
|
2668
|
+
description?: string | undefined;
|
|
2668
2669
|
maxTokens?: number | undefined;
|
|
2669
2670
|
permission?: {
|
|
2670
2671
|
edit?: "deny" | "allow" | "ask" | undefined;
|
|
@@ -2673,7 +2674,6 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2673
2674
|
doom_loop?: "deny" | "allow" | "ask" | undefined;
|
|
2674
2675
|
external_directory?: "deny" | "allow" | "ask" | undefined;
|
|
2675
2676
|
} | undefined;
|
|
2676
|
-
description?: string | undefined;
|
|
2677
2677
|
temperature?: number | undefined;
|
|
2678
2678
|
top_p?: number | undefined;
|
|
2679
2679
|
tools?: Record<string, boolean> | undefined;
|
|
@@ -2777,6 +2777,7 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2777
2777
|
inject_docs: boolean;
|
|
2778
2778
|
prompt?: string | undefined;
|
|
2779
2779
|
mode?: "all" | "primary" | "subagent" | undefined;
|
|
2780
|
+
description?: string | undefined;
|
|
2780
2781
|
maxTokens?: number | undefined;
|
|
2781
2782
|
permission?: {
|
|
2782
2783
|
edit?: "deny" | "allow" | "ask" | undefined;
|
|
@@ -2785,7 +2786,6 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2785
2786
|
doom_loop?: "deny" | "allow" | "ask" | undefined;
|
|
2786
2787
|
external_directory?: "deny" | "allow" | "ask" | undefined;
|
|
2787
2788
|
} | undefined;
|
|
2788
|
-
description?: string | undefined;
|
|
2789
2789
|
temperature?: number | undefined;
|
|
2790
2790
|
top_p?: number | undefined;
|
|
2791
2791
|
tools?: Record<string, boolean> | undefined;
|
|
@@ -4,20 +4,21 @@ import {
|
|
|
4
4
|
cleanupConflictWarnings2,
|
|
5
5
|
sendSchemaFenceWarning2,
|
|
6
6
|
sendStartupAnnouncement2
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-neb2jaed.js";
|
|
8
|
+
import"./index-4pnsgvfk.js";
|
|
9
9
|
import"./index-sd3egckz.js";
|
|
10
|
-
import"./index-
|
|
10
|
+
import"./index-kc9pn495.js";
|
|
11
11
|
import"./index-qt1qqasc.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
import"./index-11zf2wwc.js";
|
|
13
|
+
import"./index-rrv26qjz.js";
|
|
14
14
|
import"./index-58e3y90n.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-35qc6606.js";
|
|
16
16
|
import"./index-v0p37hm2.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
import"./index-1zx2pa5d.js";
|
|
18
|
+
import"./index-h7tgn49j.js";
|
|
19
19
|
import"./index-g2q4htwp.js";
|
|
20
20
|
import"./index-pavzsdc6.js";
|
|
21
|
+
import"./index-cpjk5jd2.js";
|
|
21
22
|
export {
|
|
22
23
|
__conflictWarningTest2 as __conflictWarningTest,
|
|
23
24
|
cleanupConflictWarnings2 as cleanupConflictWarnings,
|