@cortexkit/opencode-magic-context 0.49.20 → 0.49.22
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 +6 -6
- package/dist/chunk-embedding-write-worker.js +9 -9
- package/dist/{compaction-marker-candidates-b2q30cft.js → compaction-marker-candidates-31h86ph0.js} +2 -2
- package/dist/compaction-marker-candidates-worker.js +2 -2
- package/dist/{compartment-chunk-embedding-va090as0.js → compartment-chunk-embedding-he60aaa2.js} +5 -5
- package/dist/config/project-security.d.ts.map +1 -1
- package/dist/config/schema/magic-context.d.ts +37 -3
- package/dist/config/schema/magic-context.d.ts.map +1 -1
- package/dist/{conflict-warning-hook-frp3z2wk.js → conflict-warning-hook-2r32hyx6.js} +5 -5
- package/dist/{context-mkece1db.js → context-j7hp43a0.js} +153 -83
- package/dist/{embedding-backfill-gy3p78py.js → embedding-backfill-dtke6tck.js} +11 -11
- package/dist/embedding-worker-process.js +1 -1
- package/dist/embedding-worker.js +4 -4
- package/dist/features/magic-context/dreamer/docs-proposals.d.ts +1 -0
- package/dist/features/magic-context/dreamer/docs-proposals.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/task-executor.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-synapse.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-worker-client.d.ts +7 -1
- package/dist/features/magic-context/memory/embedding-worker-client.d.ts.map +1 -1
- package/dist/features/magic-context/message-index-async.d.ts +7 -2
- package/dist/features/magic-context/message-index-async.d.ts.map +1 -1
- package/dist/features/magic-context/project-embedding-registry.d.ts +2 -0
- package/dist/features/magic-context/project-embedding-registry.d.ts.map +1 -1
- package/dist/features/magic-context/search-rerank.d.ts +9 -2
- package/dist/features/magic-context/search-rerank.d.ts.map +1 -1
- package/dist/features/magic-context/search.d.ts +2 -0
- package/dist/features/magic-context/search.d.ts.map +1 -1
- package/dist/features/magic-context/storage-db.d.ts +2 -0
- package/dist/features/magic-context/storage-db.d.ts.map +1 -1
- package/dist/features/magic-context/storage-meta-persisted.d.ts +1 -0
- package/dist/features/magic-context/storage-meta-persisted.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-worker-client.d.ts.map +1 -1
- package/dist/hooks/magic-context/cache-busting-signals.d.ts +1 -0
- package/dist/hooks/magic-context/cache-busting-signals.d.ts.map +1 -1
- package/dist/hooks/magic-context/hook.d.ts.map +1 -1
- package/dist/hooks/magic-context/served-shape-repair.d.ts +19 -0
- package/dist/hooks/magic-context/served-shape-repair.d.ts.map +1 -0
- package/dist/hooks/magic-context/strip-content.d.ts +4 -2
- package/dist/hooks/magic-context/strip-content.d.ts.map +1 -1
- package/dist/hooks/magic-context/tag-content-primitives.d.ts +1 -1
- package/dist/hooks/magic-context/tag-content-primitives.d.ts.map +1 -1
- package/dist/hooks/magic-context/tag-messages.d.ts +2 -1
- package/dist/hooks/magic-context/tag-messages.d.ts.map +1 -1
- package/dist/hooks/magic-context/text-complete.d.ts +1 -1
- package/dist/hooks/magic-context/text-complete.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform.d.ts +2 -2
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/{index-t7hx3qcb.js → index-11gzxvf4.js} +101 -46
- package/dist/{index-neb2jaed.js → index-1gtfne2c.js} +1 -1
- package/dist/{index-67nyj0gy.js → index-1kbznkft.js} +48 -24
- package/dist/{index-1pefp8ar.js → index-3svaejkh.js} +4 -4
- package/dist/{index-0wthn7fp.js → index-51rdvtkz.js} +35 -4
- package/dist/{index-kc9pn495.js → index-66eby7hx.js} +1 -1
- package/dist/{index-pnjwa6qa.js → index-9q1g3c5q.js} +2 -2
- package/dist/{index-rmd0069m.js → index-a9zvn5fe.js} +24 -10
- package/dist/{index-jfh3cktr.js → index-ffzhwfzy.js} +3 -3
- package/dist/{v2/server-1zx2pa5d.js → index-gzy5w8ya.js} +193 -4
- package/dist/{index-d6rp4dxh.js → index-j32jj2t8.js} +4 -4
- package/dist/{index-35qc6606.js → index-jfem3dgz.js} +1 -1
- package/dist/{index-y4a3nhtk.js → index-jjvbk92s.js} +1 -1
- package/dist/{index-4n7w9rad.js → index-jmq8kfe7.js} +5 -5
- package/dist/{index-c4b76d4t.js → index-kfyb3k6n.js} +1 -1
- package/dist/{index-vkc1ca9p.js → index-kq5w68dp.js} +1 -1
- package/dist/{index-11zf2wwc.js → index-ksq50rg0.js} +2 -2
- package/dist/{index-153r2q6z.js → index-m32esgmj.js} +2 -2
- package/dist/{index-x4k3f4mf.js → index-mnhcdfxg.js} +148 -8
- package/dist/{index-48stjd56.js → index-mnnkgq0q.js} +10 -4
- package/dist/{index-wgypt3cs.js → index-nxrsns5x.js} +2466 -1290
- package/dist/{index-616rsjrv.js → index-qgh1qwjj.js} +1 -1
- package/dist/{index-jr5na10t.js → index-rxqr723x.js} +4 -4
- package/dist/{index-dc8hy95c.js → index-syaazvy2.js} +123 -40
- package/dist/{index-adk2z5d8.js → index-wfybj1dw.js} +2 -4
- package/dist/{index-305y133n.js → index-whcgcfrv.js} +6 -3
- package/dist/{index-jmycsey7.js → index-x6cbrv9h.js} +2 -2
- package/dist/{index-v7r4td4c.js → index-y76rhsnr.js} +28 -17
- package/dist/{index-2yhtnfcf.js → index-zy67whjr.js} +26 -8
- package/dist/index.js +43 -42
- package/dist/{message-fts-rowid-map-22tevnnj.js → message-fts-rowid-map-e79b7b6x.js} +3 -3
- package/dist/{message-index-5qxcz6h7.js → message-index-4q8ek2fc.js} +10 -10
- package/dist/{message-index-bounded-n0m0t7tv.js → message-index-bounded-rydsg9r5.js} +10 -10
- package/dist/{message-time-backfill-0myx7fz3.js → message-time-backfill-4qva0b4f.js} +1 -1
- package/dist/migration-worker.js +6 -6
- package/dist/plugin/embedding-bootstrap.d.ts +1 -0
- package/dist/plugin/embedding-bootstrap.d.ts.map +1 -1
- package/dist/plugin/hooks/create-session-hooks.d.ts +1 -0
- package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
- package/dist/plugin/tool-registry.d.ts.map +1 -1
- package/dist/{project-embedding-registry-s2pqgec9.js → project-embedding-registry-hn529988.js} +12 -10
- package/dist/raw-ordinal-warmup-worker.js +8 -8
- package/dist/{read-session-chunk-0a8vdyqp.js → read-session-chunk-t039f0m5.js} +6 -6
- package/dist/{read-session-raw-y5cszf0b.js → read-session-raw-aw6jgvwg.js} +2 -2
- package/dist/{recomp-orchestrator-61vyha9j.js → recomp-orchestrator-hbm53jj5.js} +23 -23
- package/dist/{search-archive-8q9s49p5.js → search-archive-weh164mh.js} +7 -7
- package/dist/{search-v1y9ejws.js → search-hea079d7.js} +19 -19
- package/dist/{send-session-notification-0k6qzydk.js → send-session-notification-gqzkz7da.js} +4 -4
- package/dist/shared/sqlite.d.ts +5 -0
- package/dist/shared/sqlite.d.ts.map +1 -1
- package/dist/shared/tag-transcript.d.ts +2 -0
- package/dist/shared/tag-transcript.d.ts.map +1 -1
- package/dist/{sqlite-1rpvw2rj.js → sqlite-zdgm52sv.js} +5 -1
- package/dist/{storage-memory-nm7v82mj.js → storage-memory-e6a7mb0k.js} +2 -2
- package/dist/{storage-tags-r6nk29n4.js → storage-tags-a77q4v77.js} +2 -2
- package/dist/tools/ctx-search/tools.d.ts.map +1 -1
- package/dist/tools/ctx-search/types.d.ts +1 -0
- package/dist/tools/ctx-search/types.d.ts.map +1 -1
- package/dist/{transform-postprocess-phase-vtrgb7m6.js → transform-postprocess-phase-0b04tm1p.js} +23 -23
- package/dist/v2/auto-search-worker.js +6 -6
- package/dist/v2/chunk-embedding-write-worker.js +11 -11
- package/dist/v2/{compaction-marker-candidates-cfab70cs.js → compaction-marker-candidates-m4vmye3w.js} +2 -2
- package/dist/v2/compaction-marker-candidates-worker.js +2 -2
- package/dist/v2/{compartment-chunk-embedding-nbdqx1td.js → compartment-chunk-embedding-8jjmcgeg.js} +5 -5
- package/dist/v2/{context-cc33tv2z.js → context-ea3x7smm.js} +652 -468
- package/dist/v2/{embedding-backfill-yxv2h5mc.js → embedding-backfill-5e74ae0m.js} +11 -11
- package/dist/v2/embedding-worker-process.js +1 -1
- package/dist/v2/embedding-worker.js +4 -4
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/copied-tag-notation.d.ts +1 -1
- package/dist/v2/hooks/copied-tag-notation.d.ts.map +1 -1
- package/dist/v2/hooks/dream-timer.d.ts +2 -0
- package/dist/v2/hooks/dream-timer.d.ts.map +1 -1
- package/dist/v2/hooks/embedding-lifecycle.d.ts +7 -0
- package/dist/v2/hooks/embedding-lifecycle.d.ts.map +1 -0
- package/dist/v2/hooks/payload.d.ts.map +1 -1
- package/dist/v2/hooks/store.d.ts +2 -0
- package/dist/v2/hooks/store.d.ts.map +1 -1
- package/dist/v2/hooks/tools.d.ts +2 -1
- package/dist/v2/hooks/tools.d.ts.map +1 -1
- package/dist/v2/hooks/transform-features.d.ts +2 -2
- package/dist/v2/hooks/transform-features.d.ts.map +1 -1
- package/dist/v2/{message-fts-rowid-map-dg12wymk.js → message-fts-rowid-map-n8fdg2ja.js} +3 -3
- package/dist/v2/{message-index-bounded-f4e01xk0.js → message-index-bounded-8rcd7qq9.js} +12 -12
- package/dist/v2/{message-index-ydzrp6y6.js → message-index-qz9wdp82.js} +12 -12
- package/dist/v2/{message-time-backfill-ddh8n9gy.js → message-time-backfill-zvthw6xb.js} +1 -1
- package/dist/v2/migration-worker.js +8 -8
- package/dist/v2/{project-embedding-registry-deza9ksw.js → project-embedding-registry-v38q4xd5.js} +12 -10
- package/dist/v2/raw-ordinal-warmup-worker.js +8 -8
- package/dist/v2/{read-session-chunk-8cxfagky.js → read-session-chunk-wazfyxcg.js} +8 -8
- package/dist/v2/{read-session-raw-1nrrecvx.js → read-session-raw-b70cpwzj.js} +2 -2
- package/dist/v2/{recomp-orchestrator-47m4hv5g.js → recomp-orchestrator-b12zaptj.js} +25 -25
- package/dist/v2/{search-archive-e80cvc09.js → search-archive-x64rtz1z.js} +9 -9
- package/dist/v2/{search-fjz746zr.js → search-hza9x72a.js} +21 -21
- package/dist/v2/{send-session-notification-nwvrv34d.js → send-session-notification-8eqe259v.js} +4 -4
- package/dist/v2/{server-4sxjs6hn.js → server-132h8twc.js} +4 -4
- package/dist/v2/{server-271qxsf5.js → server-24g8r2d0.js} +2466 -1290
- package/dist/v2/{server-m91f9m5s.js → server-33nqbqkw.js} +123 -40
- package/dist/v2/{server-brj8j2gk.js → server-3vhxy2k5.js} +1 -1
- package/dist/v2/{server-55rgxfrw.js → server-4kjmrjn4.js} +1 -1
- package/dist/v2/{server-wyawsa88.js → server-62g58aaz.js} +2 -2
- package/dist/v2/{server-230fnbws.js → server-6v3cdzsx.js} +1 -1
- package/dist/v2/{server-ygtykank.js → server-806rzhs6.js} +1 -1
- package/dist/v2/{server-5arr9ecn.js → server-94wk1ey3.js} +12 -1
- package/dist/v2/{server-af2pght7.js → server-ab1g0wn9.js} +2 -4
- package/dist/v2/{server-0epqaxhd.js → server-ad18djzs.js} +26 -8
- package/dist/v2/{server-4nw4fqhr.js → server-bsgd4dk1.js} +1 -1
- package/dist/v2/{server-dj7tz4ph.js → server-d1dzgvwd.js} +1 -1
- package/dist/v2/{server-vn2nwcv6.js → server-d48x3m4x.js} +4 -4
- package/dist/v2/{server-br1x0tev.js → server-dtp8hcjh.js} +2 -2
- package/dist/v2/{server-a3dwxfgd.js → server-fa7vtp40.js} +7 -4
- package/dist/{index-1zx2pa5d.js → v2/server-gzy5w8ya.js} +193 -4
- package/dist/v2/{server-hqzyq8n4.js → server-j8h7bsca.js} +26 -12
- package/dist/v2/{server-y4a3nhtk.js → server-jjvbk92s.js} +1 -1
- package/dist/v2/{server-ej96a39v.js → server-m4bfaevz.js} +1186 -1046
- package/dist/v2/{server-63fqdghs.js → server-ppcd1qxh.js} +92 -86
- package/dist/v2/{server-ne8arh8t.js → server-qjvk4a9t.js} +1 -1
- package/dist/v2/{server-xsryvyf6.js → server-qteg2kt9.js} +4 -4
- package/dist/v2/{server-168pb207.js → server-rqebawx1.js} +1 -1
- package/dist/v2/{server-j4jnp9b5.js → server-vr4szghm.js} +35 -4
- package/dist/v2/{server-9x0kmta4.js → server-wwaw5npa.js} +3 -3
- package/dist/v2/{server-c7dxxsj7.js → server-zg5y109h.js} +33 -33
- package/dist/v2/server.js +6 -6
- package/dist/v2/{sqlite-1rpvw2rj.js → sqlite-zdgm52sv.js} +5 -1
- package/dist/v2/{storage-memory-nm7v82mj.js → storage-memory-e6a7mb0k.js} +2 -2
- package/dist/v2/{storage-tags-ss08kj5r.js → storage-tags-q71rnr9f.js} +3 -3
- package/dist/v2/store-reader.d.ts +2 -0
- package/dist/v2/store-reader.d.ts.map +1 -1
- package/dist/v2/{wrapup-orchestrator-639whfhq.js → wrapup-orchestrator-3ssd5yy1.js} +25 -25
- package/dist/wrapup-orchestrator-5vpcd1zx.js +49 -0
- package/package.json +2 -2
- package/src/config/index.test.ts +44 -0
- package/src/config/project-security.ts +15 -0
- package/src/config/rerank.test.ts +60 -0
- package/src/config/schema/magic-context.ts +57 -0
- package/src/shared/model-suggestion-retry.ts +1 -1
- package/src/shared/sqlite-turn-deadline.test.ts +270 -0
- package/src/shared/sqlite.ts +235 -7
- package/src/shared/tag-transcript.ts +9 -1
- package/dist/wrapup-orchestrator-mnvt2g8m.js +0 -49
package/dist/index.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
detectOverflow,
|
|
29
29
|
isAnthropicFamilyRoute,
|
|
30
30
|
readRawSessionMessages2
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-mnhcdfxg.js";
|
|
32
32
|
import {
|
|
33
33
|
setHarness2
|
|
34
34
|
} from "./index-pavzsdc6.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
record,
|
|
57
57
|
DEFAULT_EXECUTE_THRESHOLD_PERCENTAGE,
|
|
58
58
|
DEFAULT_HISTORIAN_TIMEOUT_MS
|
|
59
|
-
} from "./index-
|
|
59
|
+
} from "./index-nxrsns5x.js";
|
|
60
60
|
import {
|
|
61
61
|
denyTaskRoutingToCallerAgents,
|
|
62
62
|
buildHiddenAgentRegistrations,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
checkCompactionMarkerConsistency,
|
|
98
98
|
clearInjectionCache,
|
|
99
99
|
clearNoteNudgeTriggerOnly
|
|
100
|
-
} from "./index-
|
|
100
|
+
} from "./index-y76rhsnr.js";
|
|
101
101
|
import"./index-sd3egckz.js";
|
|
102
102
|
import {
|
|
103
103
|
hasTrustedAbsoluteWall,
|
|
@@ -185,7 +185,7 @@ import {
|
|
|
185
185
|
parameterDescriptionsFor,
|
|
186
186
|
MagicContextRpcServer,
|
|
187
187
|
applyHiddenSubagentTemperature
|
|
188
|
-
} from "./index-
|
|
188
|
+
} from "./index-11gzxvf4.js";
|
|
189
189
|
import {
|
|
190
190
|
resolveOpenCodeDbPath,
|
|
191
191
|
openCodeDbPathExists,
|
|
@@ -194,7 +194,7 @@ import {
|
|
|
194
194
|
} from "./index-58e3y90n.js";
|
|
195
195
|
import {
|
|
196
196
|
inRootAsyncContext2
|
|
197
|
-
} from "./index-
|
|
197
|
+
} from "./index-gzy5w8ya.js";
|
|
198
198
|
import {
|
|
199
199
|
formatFailClosedBlockingMessage,
|
|
200
200
|
createFailClosedController,
|
|
@@ -209,7 +209,7 @@ import {
|
|
|
209
209
|
openDatabaseAsync,
|
|
210
210
|
isDatabasePersisted,
|
|
211
211
|
getDatabasePersistenceError
|
|
212
|
-
} from "./index-
|
|
212
|
+
} from "./index-a9zvn5fe.js";
|
|
213
213
|
import {
|
|
214
214
|
setHomeProjectPermission,
|
|
215
215
|
ProjectIdentityError,
|
|
@@ -220,7 +220,7 @@ import {
|
|
|
220
220
|
beginBootQuietPeriod,
|
|
221
221
|
bootQuietRemainingMs,
|
|
222
222
|
scheduleAfterBootQuiet
|
|
223
|
-
} from "./index-
|
|
223
|
+
} from "./index-kq5w68dp.js";
|
|
224
224
|
import {
|
|
225
225
|
deleteTemporalDecision
|
|
226
226
|
} from "./index-x9k3mqrf.js";
|
|
@@ -229,10 +229,10 @@ import {
|
|
|
229
229
|
observeSessionActivity,
|
|
230
230
|
backfillSessionActivity,
|
|
231
231
|
deleteIndexedMessage2
|
|
232
|
-
} from "./index-
|
|
232
|
+
} from "./index-mnnkgq0q.js";
|
|
233
233
|
import {
|
|
234
234
|
recordSessionProjectIdentity
|
|
235
|
-
} from "./index-
|
|
235
|
+
} from "./index-kfyb3k6n.js";
|
|
236
236
|
import"./index-c7phnbvk.js";
|
|
237
237
|
import"./index-fb3zxn06.js";
|
|
238
238
|
import {
|
|
@@ -242,9 +242,9 @@ import {
|
|
|
242
242
|
import"./index-cpjk5jd2.js";
|
|
243
243
|
import {
|
|
244
244
|
forgetRawSessionOrdinalWatermark2
|
|
245
|
-
} from "./index-
|
|
246
|
-
import"./index-
|
|
247
|
-
import"./index-
|
|
245
|
+
} from "./index-jfem3dgz.js";
|
|
246
|
+
import"./index-x6cbrv9h.js";
|
|
247
|
+
import"./index-9q1g3c5q.js";
|
|
248
248
|
import"./index-fr0wbhdn.js";
|
|
249
249
|
import {
|
|
250
250
|
preloadTokenizer
|
|
@@ -253,22 +253,22 @@ import {
|
|
|
253
253
|
getCurrentToolSetHash,
|
|
254
254
|
recordToolDefinition
|
|
255
255
|
} from "./index-j76ah6d7.js";
|
|
256
|
-
import"./index-
|
|
256
|
+
import"./index-wfybj1dw.js";
|
|
257
257
|
import {
|
|
258
258
|
getDefaultSubcConnectionFile,
|
|
259
259
|
SubcModuleTransport
|
|
260
|
-
} from "./index-
|
|
260
|
+
} from "./index-syaazvy2.js";
|
|
261
261
|
import"./index-qt1qqasc.js";
|
|
262
262
|
import"./index-rrv26qjz.js";
|
|
263
263
|
import {
|
|
264
264
|
observeOpenCodeTurnEvent,
|
|
265
265
|
clearTrackedOpenCodeSession,
|
|
266
266
|
findLastAssistantModelFromOpenCodeDb
|
|
267
|
-
} from "./index-
|
|
267
|
+
} from "./index-ksq50rg0.js";
|
|
268
268
|
import {
|
|
269
269
|
sendCommandResult2,
|
|
270
270
|
sendStatusNotification2
|
|
271
|
-
} from "./index-
|
|
271
|
+
} from "./index-66eby7hx.js";
|
|
272
272
|
import {
|
|
273
273
|
detectConflicts,
|
|
274
274
|
resolveCompactionForBoot
|
|
@@ -276,13 +276,13 @@ import {
|
|
|
276
276
|
import {
|
|
277
277
|
sendConflictWarning2,
|
|
278
278
|
cleanupConflictWarnings2
|
|
279
|
-
} from "./index-
|
|
279
|
+
} from "./index-1gtfne2c.js";
|
|
280
280
|
import"./index-1zx87sdm.js";
|
|
281
281
|
import {
|
|
282
282
|
stripPersistedAssistantText,
|
|
283
283
|
deleteTagsByMessageId2,
|
|
284
284
|
getMaxTagNumberBySession2
|
|
285
|
-
} from "./index-
|
|
285
|
+
} from "./index-whcgcfrv.js";
|
|
286
286
|
import {
|
|
287
287
|
resolveHistorianModel2,
|
|
288
288
|
resolveOpenCodeAgentOverrides2,
|
|
@@ -292,27 +292,27 @@ import {
|
|
|
292
292
|
getEmbedDrainUiStatus,
|
|
293
293
|
clearEmbedSessionState,
|
|
294
294
|
getEmbeddingCoverageStatus2
|
|
295
|
-
} from "./index-
|
|
296
|
-
import"./index-
|
|
297
|
-
import"./index-
|
|
295
|
+
} from "./index-zy67whjr.js";
|
|
296
|
+
import"./index-m32esgmj.js";
|
|
297
|
+
import"./index-3svaejkh.js";
|
|
298
298
|
import {
|
|
299
299
|
pushNotification2
|
|
300
300
|
} from "./index-x8a7jmkh.js";
|
|
301
|
-
import"./index-
|
|
301
|
+
import"./index-51rdvtkz.js";
|
|
302
302
|
import"./index-4dhv7mqz.js";
|
|
303
|
-
import"./index-
|
|
304
|
-
import"./index-
|
|
305
|
-
import"./index-
|
|
303
|
+
import"./index-rxqr723x.js";
|
|
304
|
+
import"./index-jjvbk92s.js";
|
|
305
|
+
import"./index-qgh1qwjj.js";
|
|
306
306
|
import {
|
|
307
307
|
createTagger,
|
|
308
308
|
cavemanWordRulesForLanguage,
|
|
309
309
|
setCtxReduceRegisteredGlobally,
|
|
310
310
|
clearToolPermissionDenied,
|
|
311
311
|
resetDegradedCacheCount2
|
|
312
|
-
} from "./index-
|
|
312
|
+
} from "./index-1kbznkft.js";
|
|
313
313
|
import {
|
|
314
314
|
runManagedRecomp2
|
|
315
|
-
} from "./index-
|
|
315
|
+
} from "./index-ffzhwfzy.js";
|
|
316
316
|
import {
|
|
317
317
|
isValidSemver,
|
|
318
318
|
compareSemverCore
|
|
@@ -320,9 +320,9 @@ import {
|
|
|
320
320
|
import"./index-fmsr7v69.js";
|
|
321
321
|
import {
|
|
322
322
|
runManagedWrapup2
|
|
323
|
-
} from "./index-
|
|
323
|
+
} from "./index-jmq8kfe7.js";
|
|
324
324
|
import"./index-kaqs6h31.js";
|
|
325
|
-
import"./index-
|
|
325
|
+
import"./index-j32jj2t8.js";
|
|
326
326
|
import {
|
|
327
327
|
isDreamerRunnable,
|
|
328
328
|
isSmartNoteSurfaceAvailable,
|
|
@@ -8190,7 +8190,7 @@ var require_src2 = __commonJS(function(exports, module) {
|
|
|
8190
8190
|
// package.json
|
|
8191
8191
|
var package_default = {
|
|
8192
8192
|
name: "@cortexkit/opencode-magic-context",
|
|
8193
|
-
version: "0.49.
|
|
8193
|
+
version: "0.49.22",
|
|
8194
8194
|
type: "module",
|
|
8195
8195
|
description: "OpenCode plugin for Magic Context — cross-session memory and context management",
|
|
8196
8196
|
main: "dist/index.js",
|
|
@@ -8256,7 +8256,7 @@ var package_default = {
|
|
|
8256
8256
|
"jsonc-parser": "^3.3.1",
|
|
8257
8257
|
"onnxruntime-web": "1.26.0-dev.20260416-b7804b056c",
|
|
8258
8258
|
"quickjs-emscripten": "^0.32.0",
|
|
8259
|
-
zod: "^4.
|
|
8259
|
+
zod: "^4.6.6"
|
|
8260
8260
|
},
|
|
8261
8261
|
optionalDependencies: {
|
|
8262
8262
|
"onnxruntime-node": "1.30.0",
|
|
@@ -10188,9 +10188,9 @@ function createEventHandler2(deps) {
|
|
|
10188
10188
|
}
|
|
10189
10189
|
|
|
10190
10190
|
// src/hooks/magic-context/text-complete.ts
|
|
10191
|
-
function createTextCompleteHandler() {
|
|
10191
|
+
function createTextCompleteHandler(providerForSession) {
|
|
10192
10192
|
return async (_input, output) => {
|
|
10193
|
-
output.text = stripPersistedAssistantText(output.text);
|
|
10193
|
+
output.text = stripPersistedAssistantText(output.text, providerForSession ? providerForSession(_input.sessionID) === "anthropic" : true);
|
|
10194
10194
|
};
|
|
10195
10195
|
}
|
|
10196
10196
|
|
|
@@ -10830,7 +10830,7 @@ function createMagicContextHook(deps) {
|
|
|
10830
10830
|
const hooks = {
|
|
10831
10831
|
"experimental.chat.messages.transform": transform,
|
|
10832
10832
|
"experimental.chat.system.transform": systemPromptHashHandler,
|
|
10833
|
-
"experimental.text.complete": createTextCompleteHandler(),
|
|
10833
|
+
"experimental.text.complete": createTextCompleteHandler((sessionID) => liveModelBySession.get(sessionID)?.providerID),
|
|
10834
10834
|
"chat.message": createChatMessageHook({
|
|
10835
10835
|
db,
|
|
10836
10836
|
liveModelBySession,
|
|
@@ -11871,6 +11871,7 @@ function createToolRegistry(args) {
|
|
|
11871
11871
|
...createCtxSearchTools({
|
|
11872
11872
|
db,
|
|
11873
11873
|
rerankConnectionFile: pluginConfig.subc?.connection_file,
|
|
11874
|
+
rerankConfig: pluginConfig.rerank,
|
|
11874
11875
|
resolveProjectPath,
|
|
11875
11876
|
ensureProjectRegistered: ensureProjectRegisteredFromOpenCodeDirectory
|
|
11876
11877
|
}),
|
|
@@ -12042,7 +12043,7 @@ async function setup(context) {
|
|
|
12042
12043
|
if (claimStorageBackupWarningCheck() && isMagicContextStorageOutsideEngram(storageDir)) {
|
|
12043
12044
|
log2(`[magic-context] Magic Context storage is at ${storageDir}, outside the folder Engram backs up (~/.local/share/cortexkit/magic-context). It is not included in CortexKit backups.`);
|
|
12044
12045
|
}
|
|
12045
|
-
const { registerContext } = await import("./context-
|
|
12046
|
+
const { registerContext } = await import("./context-j7hp43a0.js");
|
|
12046
12047
|
setHarness2("opencode2");
|
|
12047
12048
|
bindStaleBuildNotice({}, import.meta.url, "opencode2");
|
|
12048
12049
|
const duties = await registerContext(context);
|
|
@@ -12121,7 +12122,7 @@ var server = async (ctx) => {
|
|
|
12121
12122
|
if (hasBannerEntries)
|
|
12122
12123
|
setTimeout(async () => {
|
|
12123
12124
|
try {
|
|
12124
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12125
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-gqzkz7da.js"));
|
|
12125
12126
|
const clientWithSessions = ctx.client;
|
|
12126
12127
|
const sessions = await Promise.resolve(clientWithSessions.session?.list?.()).catch(() => null);
|
|
12127
12128
|
const sessionList = Array.isArray(sessions) ? sessions : sessions?.data;
|
|
@@ -12139,7 +12140,7 @@ var server = async (ctx) => {
|
|
|
12139
12140
|
log2(`[magic-context] opencode_db_missing path=${openCodeDbResolution.path} source=${openCodeDbResolution.source}`);
|
|
12140
12141
|
setTimeout(async () => {
|
|
12141
12142
|
try {
|
|
12142
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12143
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-gqzkz7da.js"));
|
|
12143
12144
|
const clientWithSessions = ctx.client;
|
|
12144
12145
|
const sessions = await Promise.resolve(clientWithSessions.session?.list?.()).catch(() => null);
|
|
12145
12146
|
const sessionList = Array.isArray(sessions) ? sessions : sessions?.data;
|
|
@@ -12416,12 +12417,12 @@ var server = async (ctx) => {
|
|
|
12416
12417
|
{
|
|
12417
12418
|
const fence = getSchemaFenceRejection();
|
|
12418
12419
|
if (fence) {
|
|
12419
|
-
importPluginModule(() => import("./conflict-warning-hook-
|
|
12420
|
+
importPluginModule(() => import("./conflict-warning-hook-2r32hyx6.js")).then(({ sendSchemaFenceWarning }) => sendSchemaFenceWarning(ctx.client, ctx.directory, fence)).catch((error) => log2("[magic-context] schema-fence warning unavailable:", error));
|
|
12420
12421
|
}
|
|
12421
12422
|
}
|
|
12422
12423
|
const serverUrl = ctx.serverUrl;
|
|
12423
12424
|
const serverUrlStr = serverUrl instanceof URL ? serverUrl.toString().replace(/\/$/, "") : typeof serverUrl === "string" ? serverUrl.replace(/\/$/, "") : undefined;
|
|
12424
|
-
importPluginModule(() => import("./send-session-notification-
|
|
12425
|
+
importPluginModule(() => import("./send-session-notification-gqzkz7da.js")).then(({ setNotificationServerUrl }) => {
|
|
12425
12426
|
setNotificationServerUrl(serverUrlStr);
|
|
12426
12427
|
}).catch((error) => log2("[magic-context] notification transport unavailable:", error));
|
|
12427
12428
|
if (conflictResult?.hasConflict) {
|
|
@@ -12444,7 +12445,7 @@ var server = async (ctx) => {
|
|
|
12444
12445
|
}) => {
|
|
12445
12446
|
if (!shouldShowAnnouncement())
|
|
12446
12447
|
return;
|
|
12447
|
-
return importPluginModule(() => import("./conflict-warning-hook-
|
|
12448
|
+
return importPluginModule(() => import("./conflict-warning-hook-2r32hyx6.js")).then(({ sendStartupAnnouncement }) => sendStartupAnnouncement(ctx.client, ctx.directory, ANNOUNCEMENT_VERSION, ANNOUNCEMENT_FEATURES, ANNOUNCEMENT_FOOTER, markAnnouncementSeen));
|
|
12448
12449
|
}).catch(() => {});
|
|
12449
12450
|
}, 8000);
|
|
12450
12451
|
}
|
|
@@ -12518,8 +12519,8 @@ var server = async (ctx) => {
|
|
|
12518
12519
|
tryReopenStorage,
|
|
12519
12520
|
rustReplayParticipant: () => magicContextRuntime.magicContext?.getRustReplayParticipant?.() ?? null,
|
|
12520
12521
|
onStorageBusyRefusal: async (sessionId, message) => {
|
|
12521
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12522
|
-
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-
|
|
12522
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-gqzkz7da.js"));
|
|
12523
|
+
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-0b04tm1p.js"));
|
|
12523
12524
|
await sendStatusNotification(ctx.client, sessionId, message, {
|
|
12524
12525
|
toastDurationMs: 15000
|
|
12525
12526
|
});
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
messageFtsOrdinalRangeIsMapped2,
|
|
7
7
|
getMessageFtsRowidMapBackfillProgress2,
|
|
8
8
|
deleteUnmappedMessageFtsRows2
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
} from "./index-x6cbrv9h.js";
|
|
10
|
+
import"./index-jfem3dgz.js";
|
|
11
11
|
import"./index-v0p37hm2.js";
|
|
12
12
|
import"./index-t5pck3ss.js";
|
|
13
|
-
import"./index-
|
|
13
|
+
import"./index-gzy5w8ya.js";
|
|
14
14
|
import"./index-h7tgn49j.js";
|
|
15
15
|
import"./index-g2q4htwp.js";
|
|
16
16
|
import"./index-pavzsdc6.js";
|
|
@@ -17,24 +17,24 @@ import {
|
|
|
17
17
|
indexMessagesAfterOrdinal2,
|
|
18
18
|
indexSourcesAfterOrdinal2,
|
|
19
19
|
sweepOrphanedOpenCodeMessageIndexesCooperatively2
|
|
20
|
-
} from "./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
20
|
+
} from "./index-mnnkgq0q.js";
|
|
21
|
+
import"./index-mnhcdfxg.js";
|
|
22
|
+
import"./index-whcgcfrv.js";
|
|
23
23
|
import"./index-1zx87sdm.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
24
|
+
import"./index-ksq50rg0.js";
|
|
25
|
+
import"./index-nxrsns5x.js";
|
|
26
|
+
import"./index-m32esgmj.js";
|
|
27
|
+
import"./index-wfybj1dw.js";
|
|
28
|
+
import"./index-x6cbrv9h.js";
|
|
29
29
|
import"./index-c7phnbvk.js";
|
|
30
30
|
import"./index-j76ah6d7.js";
|
|
31
31
|
import"./index-x9k3mqrf.js";
|
|
32
32
|
import"./index-58e3y90n.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-jfem3dgz.js";
|
|
34
34
|
import"./index-v0p37hm2.js";
|
|
35
35
|
import"./index-t5pck3ss.js";
|
|
36
36
|
import"./index-b88dwwrh.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-gzy5w8ya.js";
|
|
38
38
|
import"./index-h7tgn49j.js";
|
|
39
39
|
import"./index-g2q4htwp.js";
|
|
40
40
|
import"./index-pavzsdc6.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
withSqliteBackgroundWriter2,
|
|
3
3
|
withIndexChunk2,
|
|
4
4
|
yieldIndexChunk2
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-gzy5w8ya.js";
|
|
6
6
|
import"./index-pavzsdc6.js";
|
|
7
7
|
import"./index-g2q4htwp.js";
|
|
8
8
|
import"./index-h7tgn49j.js";
|
|
@@ -14,22 +14,22 @@ import {
|
|
|
14
14
|
markMessageIndexDirty2,
|
|
15
15
|
getIndexableContent2,
|
|
16
16
|
indexSingleMessage2
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-mnnkgq0q.js";
|
|
18
18
|
import"./index-1zx87sdm.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-whcgcfrv.js";
|
|
20
20
|
import"./index-b88dwwrh.js";
|
|
21
21
|
import"./index-x9k3mqrf.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-nxrsns5x.js";
|
|
23
23
|
import"./index-v0p37hm2.js";
|
|
24
24
|
import"./index-cpjk5jd2.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-jfem3dgz.js";
|
|
26
26
|
import"./index-58e3y90n.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
import"./index-ksq50rg0.js";
|
|
28
|
+
import"./index-mnhcdfxg.js";
|
|
29
29
|
import"./index-j76ah6d7.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
30
|
+
import"./index-x6cbrv9h.js";
|
|
31
|
+
import"./index-wfybj1dw.js";
|
|
32
|
+
import"./index-m32esgmj.js";
|
|
33
33
|
import"./index-t5pck3ss.js";
|
|
34
34
|
|
|
35
35
|
// src/features/magic-context/message-index-bounded.ts
|
package/dist/migration-worker.js
CHANGED
|
@@ -6,24 +6,24 @@ import {
|
|
|
6
6
|
} from "./index-h7tgn49j.js";
|
|
7
7
|
import {
|
|
8
8
|
Database2
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-gzy5w8ya.js";
|
|
10
10
|
import"./index-fr0wbhdn.js";
|
|
11
11
|
import {
|
|
12
12
|
runMigrationsWithRetry
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-9q1g3c5q.js";
|
|
14
14
|
import"./index-x9k3mqrf.js";
|
|
15
15
|
import"./index-58e3y90n.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-kq5w68dp.js";
|
|
17
17
|
import"./index-c7phnbvk.js";
|
|
18
18
|
import"./index-fb3zxn06.js";
|
|
19
19
|
import {
|
|
20
20
|
setSqlitePragmaConfig,
|
|
21
21
|
initializeDatabase
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-a9zvn5fe.js";
|
|
23
23
|
import"./index-v0p37hm2.js";
|
|
24
24
|
import"./index-cpjk5jd2.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
25
|
+
import"./index-jfem3dgz.js";
|
|
26
|
+
import"./index-x6cbrv9h.js";
|
|
27
27
|
import"./index-b88dwwrh.js";
|
|
28
28
|
import"./index-j76ah6d7.js";
|
|
29
29
|
import {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Database } from "../shared/sqlite";
|
|
2
2
|
export declare function ensureProjectRegisteredFromOpenCodeDirectory(directory: string, db: Database, options?: {
|
|
3
3
|
preflightLocalPooling?: boolean;
|
|
4
|
+
onRegistered?: (projectIdentity: string) => void;
|
|
4
5
|
}): Promise<void>;
|
|
5
6
|
//# sourceMappingURL=embedding-bootstrap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embedding-bootstrap.d.ts","sourceRoot":"","sources":["../../src/plugin/embedding-bootstrap.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AA0CjD,wBAAsB,4CAA4C,CAC9D,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,QAAQ,EACZ,OAAO,GAAE;
|
|
1
|
+
{"version":3,"file":"embedding-bootstrap.d.ts","sourceRoot":"","sources":["../../src/plugin/embedding-bootstrap.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AA0CjD,wBAAsB,4CAA4C,CAC9D,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,QAAQ,EACZ,OAAO,GAAE;IACL,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,YAAY,CAAC,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C,GACP,OAAO,CAAC,IAAI,CAAC,CAgDf"}
|
|
@@ -100,6 +100,7 @@ export declare function buildMagicContextHookConfig(pluginConfig: MagicContextPl
|
|
|
100
100
|
min_chars: number;
|
|
101
101
|
};
|
|
102
102
|
embedding: import("../../config/schema/magic-context").EmbeddingConfig;
|
|
103
|
+
rerank?: import("../../config/schema/magic-context").RerankConfig;
|
|
103
104
|
subc?: import("../../config/schema/magic-context").SubcConfig;
|
|
104
105
|
shadow_embedding?: import("../../config/schema/magic-context").ShadowEmbeddingConfig;
|
|
105
106
|
memory: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-session-hooks.d.ts","sourceRoot":"","sources":["../../../src/plugin/hooks/create-session-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAKnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAGnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,YAAY,EAAE,wBAAwB;;;;;;;;;;;;;mBAa3D,CAAC;aACX,CAAC;aAA2B,CAAC;eAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"create-session-hooks.d.ts","sourceRoot":"","sources":["../../../src/plugin/hooks/create-session-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAKnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAGnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,YAAY,EAAE,wBAAwB;;;;;;;;;;;;;mBAa3D,CAAC;aACX,CAAC;aAA2B,CAAC;eAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiHk6wC,CAAC;;;;eAA8iB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA3GzhyC;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACrC,GAAG,EAAE,aAAa,CAAC;IACnB,YAAY,EAAE,wBAAwB,CAAC;IACvC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;IAC9D,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC/C;;;;;;;;;;;;;qBAkG8uJ,CAAC;8BAAwC,CAAC;iBAA8C,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;;;;;;;;;;;qBAAzlG,CAAC;mBAA6B,CAAC;iBAA2B,CAAC;iBAA2B,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;iBAA2D,CAAC;;oBAA4D,CAAC;uBAAiC,CAAC;yBAAoC,CAAC;;;;;;0BAAy95C,CAAC;;;;;;;;;;;;;;;;EAvDji+C;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE;IAChD,GAAG,EAAE,aAAa,CAAC;IACnB,YAAY,EAAE,wBAAwB,CAAC;IACvC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;IAC9D,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;CACjE;;;;;;;;;;;;;qBA6C8uJ,CAAC;8BAAwC,CAAC;iBAA8C,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;;;;;;;;;;;qBAAzlG,CAAC;mBAA6B,CAAC;iBAA2B,CAAC;iBAA2B,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;iBAA2D,CAAC;;oBAA4D,CAAC;uBAAiC,CAAC;yBAAoC,CAAC;;;;;;0BAAy95C,CAAC;;;;;;;;;;;;;;;;GADji+C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../../src/plugin/tool-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAiB1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAiB7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAiB7C;;;;;;GAMG;AACH,wBAAgB,8BAA8B,IAAI,SAAS,MAAM,EAAE,CAElE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACrC,GAAG,EAAE,aAAa,CAAC;IACnB,YAAY,EAAE,wBAAwB,CAAC;IACvC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,yBAAyB,CAAC,EAAE,mBAAmB,CAAC;IAChD,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,qBAAqB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC/C,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../../src/plugin/tool-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAiB1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAiB7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAiB7C;;;;;;GAMG;AACH,wBAAgB,8BAA8B,IAAI,SAAS,MAAM,EAAE,CAElE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACrC,GAAG,EAAE,aAAa,CAAC;IACnB,YAAY,EAAE,wBAAwB,CAAC;IACvC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,yBAAyB,CAAC,EAAE,mBAAmB,CAAC;IAChD,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,qBAAqB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC/C,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAqMjC"}
|
package/dist/{project-embedding-registry-s2pqgec9.js → project-embedding-registry-hn529988.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
describeShadowBackfillWriteRefusal2,
|
|
3
3
|
listShadowBackfillStalls2,
|
|
4
|
+
retainProjectEmbedding2,
|
|
4
5
|
getShadowBackfillStopReason2,
|
|
5
6
|
markProjectLoadUntrusted2,
|
|
6
7
|
contentSha2562,
|
|
@@ -34,21 +35,21 @@ import {
|
|
|
34
35
|
sweepAllRegisteredProjects2,
|
|
35
36
|
_setTestProviderFactoryForProject2,
|
|
36
37
|
_resetProjectEmbeddingRegistryForTests2
|
|
37
|
-
} from "./index-
|
|
38
|
+
} from "./index-zy67whjr.js";
|
|
38
39
|
import"./index-4dhv7mqz.js";
|
|
39
40
|
import"./index-qt1qqasc.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
41
|
+
import"./index-51rdvtkz.js";
|
|
42
|
+
import"./index-nxrsns5x.js";
|
|
43
|
+
import"./index-kfyb3k6n.js";
|
|
44
|
+
import"./index-m32esgmj.js";
|
|
45
|
+
import"./index-wfybj1dw.js";
|
|
46
|
+
import"./index-kq5w68dp.js";
|
|
47
|
+
import"./index-x6cbrv9h.js";
|
|
48
|
+
import"./index-jfem3dgz.js";
|
|
48
49
|
import"./index-v0p37hm2.js";
|
|
49
50
|
import"./index-t5pck3ss.js";
|
|
50
51
|
import"./index-b88dwwrh.js";
|
|
51
|
-
import"./index-
|
|
52
|
+
import"./index-gzy5w8ya.js";
|
|
52
53
|
import"./index-h7tgn49j.js";
|
|
53
54
|
import"./index-g2q4htwp.js";
|
|
54
55
|
import"./index-pavzsdc6.js";
|
|
@@ -86,6 +87,7 @@ export {
|
|
|
86
87
|
registerProjectEmbedding2 as registerProjectEmbedding,
|
|
87
88
|
registerProjectInObservationMode2 as registerProjectInObservationMode,
|
|
88
89
|
registerProjectShadowEmbedding2 as registerProjectShadowEmbedding,
|
|
90
|
+
retainProjectEmbedding2 as retainProjectEmbedding,
|
|
89
91
|
sweepAllRegisteredProjects2 as sweepAllRegisteredProjects,
|
|
90
92
|
unregisterProjectEmbedding2 as unregisterProjectEmbedding,
|
|
91
93
|
unregisterProjectShadowEmbedding2 as unregisterProjectShadowEmbedding
|
|
@@ -29,8 +29,8 @@ async function main() {
|
|
|
29
29
|
{ getHarness, setHarness },
|
|
30
30
|
{ log }
|
|
31
31
|
] = await Promise.all([
|
|
32
|
-
import("./sqlite-
|
|
33
|
-
import("./read-session-raw-
|
|
32
|
+
import("./sqlite-zdgm52sv.js"),
|
|
33
|
+
import("./read-session-raw-aw6jgvwg.js"),
|
|
34
34
|
import("./harness-e4avh192.js"),
|
|
35
35
|
import("./logger-94kew5wm.js")
|
|
36
36
|
]);
|
|
@@ -46,13 +46,13 @@ async function main() {
|
|
|
46
46
|
openConnections.add(db);
|
|
47
47
|
db.exec("PRAGMA busy_timeout = 250");
|
|
48
48
|
if (input.ftsRowidBackfill) {
|
|
49
|
-
const { runMessageFtsRowidMapBackfill } = await import("./message-fts-rowid-map-
|
|
49
|
+
const { runMessageFtsRowidMapBackfill } = await import("./message-fts-rowid-map-e79b7b6x.js");
|
|
50
50
|
db.exec("PRAGMA busy_timeout = 0");
|
|
51
51
|
await runMessageFtsRowidMapBackfill(db);
|
|
52
52
|
reply = { kind: "fts-rowid-backfill" };
|
|
53
53
|
} else if (input.searchArchive) {
|
|
54
|
-
const { renderSearchArchive } = await import("./search-archive-
|
|
55
|
-
const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-
|
|
54
|
+
const { renderSearchArchive } = await import("./search-archive-weh164mh.js");
|
|
55
|
+
const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-aw6jgvwg.js");
|
|
56
56
|
const archive = input.searchArchive;
|
|
57
57
|
let raw;
|
|
58
58
|
try {
|
|
@@ -84,7 +84,7 @@ async function main() {
|
|
|
84
84
|
{ configureContextDatabasePragmas }
|
|
85
85
|
] = await Promise.all([
|
|
86
86
|
import("./harness-e4avh192.js"),
|
|
87
|
-
import("./message-index-
|
|
87
|
+
import("./message-index-4q8ek2fc.js"),
|
|
88
88
|
import("./sqlite-context-pragmas-mv9jqwjh.js")
|
|
89
89
|
]);
|
|
90
90
|
setHarness(input.harness ?? "opencode");
|
|
@@ -104,7 +104,7 @@ async function main() {
|
|
|
104
104
|
const { setHarness } = await import("./harness-e4avh192.js");
|
|
105
105
|
setHarness(input.harness ?? "opencode");
|
|
106
106
|
const [{ indexMessageInShortChunks }, { configureContextDatabasePragmas }] = await Promise.all([
|
|
107
|
-
import("./message-index-bounded-
|
|
107
|
+
import("./message-index-bounded-rydsg9r5.js"),
|
|
108
108
|
import("./sqlite-context-pragmas-mv9jqwjh.js")
|
|
109
109
|
]);
|
|
110
110
|
configureContextDatabasePragmas(db);
|
|
@@ -118,7 +118,7 @@ async function main() {
|
|
|
118
118
|
measurements: result.measurements
|
|
119
119
|
};
|
|
120
120
|
} else if (input.tagRatio !== undefined) {
|
|
121
|
-
const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-
|
|
121
|
+
const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-a77q4v77.js");
|
|
122
122
|
const delta = input.tagState ? scanTagOwnerDelta(db, input.sessionId, input.tagState) : null;
|
|
123
123
|
if (delta)
|
|
124
124
|
reply = { kind: "tag-delta", delta };
|
|
@@ -35,22 +35,22 @@ import {
|
|
|
35
35
|
readSessionChunk2,
|
|
36
36
|
getRawSessionMessageIdsThrough2,
|
|
37
37
|
readRawSessionSeedTail2
|
|
38
|
-
} from "./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
} from "./index-mnhcdfxg.js";
|
|
39
|
+
import"./index-whcgcfrv.js";
|
|
40
40
|
import"./index-1zx87sdm.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-ksq50rg0.js";
|
|
42
|
+
import"./index-nxrsns5x.js";
|
|
43
43
|
import"./index-j76ah6d7.js";
|
|
44
44
|
import"./index-x9k3mqrf.js";
|
|
45
45
|
import"./index-58e3y90n.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-jfem3dgz.js";
|
|
47
47
|
import"./index-v0p37hm2.js";
|
|
48
48
|
import"./index-t5pck3ss.js";
|
|
49
49
|
import {
|
|
50
50
|
hasMeaningfulUserText2,
|
|
51
51
|
extractTexts2
|
|
52
52
|
} from "./index-b88dwwrh.js";
|
|
53
|
-
import"./index-
|
|
53
|
+
import"./index-gzy5w8ya.js";
|
|
54
54
|
import"./index-h7tgn49j.js";
|
|
55
55
|
import"./index-g2q4htwp.js";
|
|
56
56
|
import"./index-pavzsdc6.js";
|
|
@@ -27,9 +27,9 @@ import {
|
|
|
27
27
|
hasRawSessionMessageByIdFromDb2,
|
|
28
28
|
readRawSeedTailFromDb2,
|
|
29
29
|
readRawSessionBoundaryEndpointsFromDb2
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-jfem3dgz.js";
|
|
31
31
|
import"./index-v0p37hm2.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-gzy5w8ya.js";
|
|
33
33
|
import"./index-h7tgn49j.js";
|
|
34
34
|
import"./index-g2q4htwp.js";
|
|
35
35
|
import"./index-pavzsdc6.js";
|