@cortexkit/opencode-magic-context 0.49.95 → 0.49.96
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/{announcement-4ynkaf0d.js → announcement-8nj2jd87.js} +5 -5
- package/dist/auto-search-worker.js +5 -5
- package/dist/chunk-embedding-write-worker.js +16 -16
- package/dist/{compaction-marker-candidates-1ndjqh9k.js → compaction-marker-candidates-a4b0anvv.js} +3 -3
- package/dist/compaction-marker-candidates-worker.js +1 -1
- package/dist/{compartment-chunk-embedding-4nn3hsw2.js → compartment-chunk-embedding-re2cw7y3.js} +8 -8
- package/dist/config/removed-agent-config.d.ts +1 -1
- package/dist/config/removed-agent-config.d.ts.map +1 -1
- package/dist/config/schema/magic-context.d.ts +0 -75
- package/dist/config/schema/magic-context.d.ts.map +1 -1
- package/dist/{conflict-warning-hook-exf96bpt.js → conflict-warning-hook-wcq55y61.js} +8 -8
- package/dist/{context-h9x9m2p3.js → context-gtjdrp8f.js} +86 -104
- package/dist/{derive-budgets-hzzq71rm.js → derive-budgets-g1sy72e8.js} +5 -5
- package/dist/embedding-backfill-pdymqbnh.js +29 -0
- package/dist/embedding-worker-process.js +2 -2
- package/dist/embedding-worker.js +8 -8
- package/dist/features/magic-context/dreamer/token-budget.d.ts +2 -2
- package/dist/features/magic-context/dreamer/token-budget.d.ts.map +1 -1
- package/dist/features/magic-context/search-rerank.d.ts +2 -2
- package/dist/features/magic-context/search-rerank.d.ts.map +1 -1
- package/dist/features/magic-context/search.d.ts.map +1 -1
- package/dist/{history-owner-xqfsvf9k.js → history-owner-74826t4n.js} +3 -3
- package/dist/hooks/magic-context/hook.d.ts.map +1 -1
- package/dist/hooks/magic-context/inject-compartments.d.ts +6 -1
- package/dist/hooks/magic-context/inject-compartments.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-compartment-phase.d.ts +2 -1
- package/dist/hooks/magic-context/transform-compartment-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts +1 -0
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform.d.ts +2 -0
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/{index-3ywyr4zx.js → index-0bjj9yf3.js} +2 -2
- package/dist/{index-7skgrbsg.js → index-0sqhg9nf.js} +41 -21
- package/dist/{index-nxxzeq4y.js → index-0ve29s6f.js} +1 -1
- package/dist/{index-7dzaamqg.js → index-2afrmgy3.js} +4 -4
- package/dist/{index-ywrz4wy2.js → index-3fhb0j32.js} +1 -1
- package/dist/{index-gqf8r04r.js → index-3n4j5rqc.js} +1 -1
- package/dist/{index-xsqw8kbd.js → index-45qgkg8j.js} +2 -2
- package/dist/{index-5df2fw5b.js → index-6mryx739.js} +1 -1
- package/dist/{index-tedck05r.js → index-7m2tnk8q.js} +10 -10
- package/dist/{index-r4y0dczp.js → index-7sdns2ww.js} +2 -2
- package/dist/{index-mjy2k9jr.js → index-880a24vd.js} +1 -1
- package/dist/{index-esacb9d0.js → index-89bkkgcn.js} +4 -4
- package/dist/{index-s32f8y67.js → index-89xg64wb.js} +2 -2
- package/dist/{index-2v9qpmb3.js → index-8sgv96kq.js} +7 -7
- package/dist/{index-qmm8xpbc.js → index-910gahfb.js} +6 -6
- package/dist/{index-47hst5me.js → index-9jvxq5rt.js} +4 -4
- package/dist/{index-832w615x.js → index-azkfw78y.js} +1 -1
- package/dist/{index-wh9fxds5.js → index-c205x7xd.js} +1 -1
- package/dist/{index-mg9s2rc3.js → index-cpbr0xvk.js} +2 -2
- package/dist/{index-3tmbvn0z.js → index-cq8znmyw.js} +17 -17
- package/dist/{index-cr483vx6.js → index-dj64gzg5.js} +2 -2
- package/dist/{index-jba6ny4m.js → index-dnpcv1rg.js} +4 -4
- package/dist/{index-z4p0ry94.js → index-dt7cyqfe.js} +2 -1
- package/dist/{index-tm799pq7.js → index-e6ay1gez.js} +1 -1
- package/dist/{index-jm62g83a.js → index-f154w8m4.js} +71 -44
- package/dist/{index-j7n64sg4.js → index-fgw241hh.js} +2 -2
- package/dist/{index-wqwjawer.js → index-fvfnq8n6.js} +6 -6
- package/dist/{index-pc49a7zt.js → index-gnrwgvn7.js} +10 -10
- package/dist/{index-yzzxb5e1.js → index-h7kta6cn.js} +3 -3
- package/dist/{index-q7q6qp1f.js → index-hedgz8an.js} +1 -1
- package/dist/{index-5pgyqgmx.js → index-hj78hvhm.js} +2 -2
- package/dist/{index-7r11k4xr.js → index-hp46xe93.js} +7 -7
- package/dist/{index-ejgp0z9p.js → index-j4dcjb8t.js} +4 -4
- package/dist/{index-e6ncz7a6.js → index-jzrvdqb8.js} +1 -1
- package/dist/{index-sp5pvs95.js → index-k34hc455.js} +2 -2
- package/dist/{index-9ffntwyr.js → index-kj4bprep.js} +4 -4
- package/dist/{index-xe34pwb6.js → index-mgy7g740.js} +1 -1
- package/dist/{index-2gewejcz.js → index-nqdwpdje.js} +145 -32
- package/dist/{index-xjaf9g90.js → index-r1d45dsr.js} +4 -4
- package/dist/{index-y915t3ey.js → index-r3f85n7y.js} +5 -1
- package/dist/{index-ewta5h87.js → index-t2e10rag.js} +5 -5
- package/dist/{index-m0pwswv9.js → index-tqtpgnhr.js} +1 -1
- package/dist/{index-zk6gtf43.js → index-w7n7qkpf.js} +5 -5
- package/dist/{index-s7460efs.js → index-zfx7mtqa.js} +1 -1
- package/dist/{index-c81tggen.js → index-zkjx8gq3.js} +11 -11
- package/dist/{index-et39x9k3.js → index-zmgp0tr6.js} +3 -3
- package/dist/index.js +58 -55
- package/dist/{logger-d7c8akh9.js → logger-nmb2508f.js} +2 -2
- package/dist/{message-fts-rowid-map-0xx8ge09.js → message-fts-rowid-map-vcatdan0.js} +5 -5
- package/dist/{message-index-bounded-d3x8rhpz.js → message-index-bounded-abhwe610.js} +12 -12
- package/dist/{message-time-backfill-pz5981mf.js → message-time-backfill-zc5rsvhv.js} +3 -3
- package/dist/migration-worker.js +13 -13
- package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
- package/dist/{project-embedding-registry-az68q792.js → project-embedding-registry-e566q4bg.js} +15 -15
- package/dist/raw-ordinal-warmup-worker.js +8 -8
- package/dist/{read-session-chunk-70r1snq3.js → read-session-chunk-sde0wym3.js} +10 -10
- package/dist/{read-session-raw-3sc9231y.js → read-session-raw-trhdgc9z.js} +3 -3
- package/dist/{recomp-orchestrator-cn4r2gz6.js → recomp-orchestrator-d3rbpa59.js} +33 -33
- package/dist/render-6cf1dgc4.js +43 -0
- package/dist/{safe-notification-target-d21swr3n.js → safe-notification-target-54ns7dv9.js} +3 -3
- package/dist/{search-b0cb342r.js → search-11aw8wpq.js} +27 -27
- package/dist/{search-archive-s9t3exc1.js → search-archive-s9m5szf0.js} +13 -13
- package/dist/{send-session-notification-0779tyd9.js → send-session-notification-gxrj4w1r.js} +6 -6
- package/dist/shared/host-sqlite-runtime.d.ts +3 -0
- package/dist/shared/host-sqlite-runtime.d.ts.map +1 -0
- package/dist/shared/redaction.d.ts.map +1 -1
- package/dist/{storage-tags-xvbje7jm.js → storage-tags-jq0c0zsn.js} +7 -7
- package/dist/{store-91kawq9a.js → store-29ksp6vy.js} +3 -3
- package/dist/{transform-postprocess-phase-r1xhsjrh.js → transform-postprocess-phase-376xn40x.js} +34 -34
- package/dist/v2/auto-search-worker.js +5 -5
- package/dist/v2/chunk-embedding-write-worker.js +16 -16
- package/dist/v2/{compaction-marker-candidates-bp1bn579.js → compaction-marker-candidates-6nypmsr3.js} +3 -3
- package/dist/v2/compaction-marker-candidates-worker.js +1 -1
- package/dist/v2/{compartment-chunk-embedding-a7ddvz7v.js → compartment-chunk-embedding-jthtfhcd.js} +8 -8
- package/dist/v2/{context-2hssw26q.js → context-vm09agrs.js} +117 -109
- package/dist/v2/{derive-budgets-hr4qqrnv.js → derive-budgets-wj0q7s7d.js} +6 -6
- package/dist/v2/embedding-backfill-16b16m38.js +29 -0
- package/dist/v2/embedding-worker-process.js +2 -2
- package/dist/v2/embedding-worker.js +8 -8
- package/dist/v2/fold/native-replay.d.ts +2 -1
- package/dist/v2/fold/native-replay.d.ts.map +1 -1
- package/dist/v2/hidden-child-native.d.ts.map +1 -1
- package/dist/v2/hidden-child-record.d.ts +8 -0
- package/dist/v2/hidden-child-record.d.ts.map +1 -1
- package/dist/v2/hidden-completion.d.ts.map +1 -1
- package/dist/v2/hidden-run-holder.d.ts +8 -2
- package/dist/v2/hidden-run-holder.d.ts.map +1 -1
- package/dist/v2/{history-owner-260djmv5.js → history-owner-8pd5ax3n.js} +3 -3
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/hidden-child.d.ts +3 -0
- package/dist/v2/hooks/hidden-child.d.ts.map +1 -1
- package/dist/v2/{logger-zyf43np1.js → logger-58jfese9.js} +2 -2
- package/dist/v2/{message-fts-rowid-map-n8mcvcpz.js → message-fts-rowid-map-ax4vk78j.js} +5 -5
- package/dist/v2/{message-index-bounded-tbwrff24.js → message-index-bounded-qh794qxx.js} +12 -12
- package/dist/v2/{message-time-backfill-ynb3vg6r.js → message-time-backfill-yj773saf.js} +3 -3
- package/dist/v2/migration-worker.js +13 -13
- package/dist/v2/{project-embedding-registry-2zeycxek.js → project-embedding-registry-z05xvckg.js} +15 -15
- package/dist/v2/raw-ordinal-warmup-worker.js +8 -8
- package/dist/v2/{read-session-chunk-cvgsfsgr.js → read-session-chunk-8tn2dbn1.js} +10 -10
- package/dist/v2/{read-session-raw-wg5zc29f.js → read-session-raw-ywebck9q.js} +3 -3
- package/dist/v2/recomp-orchestrator-pfjpzdrb.js +69 -0
- package/dist/v2/render-7t5d7hkv.js +43 -0
- package/dist/v2/{safe-notification-target-y55z2zat.js → safe-notification-target-zrwbh6k7.js} +3 -3
- package/dist/v2/{search-x1cac8t6.js → search-35cz80x0.js} +26 -26
- package/dist/v2/{search-archive-k2yh0jj3.js → search-archive-5dpxv0ck.js} +13 -13
- package/dist/v2/{send-session-notification-v69y04f5.js → send-session-notification-8x146x5y.js} +6 -6
- package/dist/v2/{server-gj259dqy.js → server-11ra1pmx.js} +5 -5
- package/dist/v2/{server-gs2251jr.js → server-2cq3e1c1.js} +4 -4
- package/dist/v2/{server-39bcszk4.js → server-2qvnr3t7.js} +1 -1
- package/dist/v2/{server-jkj1dq6j.js → server-2sare4qg.js} +4 -4
- package/dist/v2/{server-jdfe07mp.js → server-2wz6y46g.js} +1 -1
- package/dist/v2/{server-at0v0z4t.js → server-379fd3n7.js} +1 -1
- package/dist/v2/{server-ds8vpfkr.js → server-40vdz8sf.js} +2 -2
- package/dist/v2/{server-qntmqaca.js → server-4yrvbnnm.js} +2 -2
- package/dist/v2/{server-x69fqsvz.js → server-5t4nzfpt.js} +1 -1
- package/dist/v2/{server-npdey91q.js → server-63ree5ns.js} +1 -1
- package/dist/v2/{server-gqkdfdvw.js → server-6qax5pds.js} +2 -2
- package/dist/v2/{server-qb3s0mnc.js → server-73bqw5c0.js} +1 -1
- package/dist/v2/{server-qy58c11s.js → server-7h4gwphm.js} +4 -4
- package/dist/v2/{server-476anw1w.js → server-7tj8yzrv.js} +1 -1
- package/dist/v2/{server-e6xneh68.js → server-arfzfxe8.js} +5 -1
- package/dist/v2/{server-6ash6z8z.js → server-av3p9c8k.js} +1 -1
- package/dist/v2/{server-5hwf5c7r.js → server-bx5k66qc.js} +1 -1
- package/dist/v2/{server-s81b3nct.js → server-db91dxwc.js} +7 -7
- package/dist/v2/{server-z4p0ry94.js → server-dt7cyqfe.js} +2 -1
- package/dist/v2/{server-zc8s06gx.js → server-ganavh75.js} +2 -2
- package/dist/v2/{server-cvm1qrqc.js → server-gh2w75fn.js} +3 -3
- package/dist/v2/{server-y0pd600x.js → server-j1gxs1gj.js} +1 -1
- package/dist/v2/{server-xepfjgv5.js → server-k3ntgf6n.js} +2 -2
- package/dist/v2/{server-j8376q08.js → server-kzrrdjp5.js} +1 -1
- package/dist/v2/{server-1rrmxhd1.js → server-n33hyq9t.js} +2 -2
- package/dist/v2/{server-0tv6kytx.js → server-n34vzyfm.js} +1 -1
- package/dist/v2/{server-prrx17q3.js → server-nnh81jqy.js} +6 -6
- package/dist/v2/{server-s8mk882p.js → server-pcq2d1wh.js} +6 -6
- package/dist/v2/{server-vbr1rdkg.js → server-ppy2dj7g.js} +4 -4
- package/dist/v2/{server-96nm9vk4.js → server-rr5c0xcg.js} +2 -2
- package/dist/v2/{server-j4jjtdc5.js → server-rt8t6s2a.js} +2 -2
- package/dist/v2/{server-srtq37nh.js → server-svccj9rd.js} +4 -4
- package/dist/v2/{server-5sbsnpkn.js → server-tq523gj6.js} +1 -1
- package/dist/v2/{server-00adcfjd.js → server-vj0xbbrc.js} +17 -3
- package/dist/v2/{server-cd93xyyx.js → server-vntc961c.js} +10 -10
- package/dist/v2/{server-88pjnecb.js → server-vsx9tsks.js} +11 -11
- package/dist/v2/{server-6nh36020.js → server-w35ep6wn.js} +132 -33
- package/dist/v2/{server-bfct1yvb.js → server-z2nv8jdv.js} +41 -21
- package/dist/v2/{server-6aj72z52.js → server-z5cv5wm5.js} +10 -10
- package/dist/v2/{server-5016ccyn.js → server-zemnpv92.js} +4 -4
- package/dist/v2/server.js +9 -9
- package/dist/v2/{storage-tags-y20j3jdp.js → storage-tags-pcenytad.js} +7 -7
- package/dist/v2/{store-b95snz31.js → store-gx19qc3a.js} +3 -3
- package/dist/v2/{v2-archive-reader-q92kwkr5.js → v2-archive-reader-jqrwz7b8.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-ydqkxkhj.js → wrapup-orchestrator-kcq3cv7y.js} +34 -34
- package/dist/{v2-archive-reader-x62hsr4c.js → v2-archive-reader-64h2gtam.js} +1 -1
- package/dist/wrapup-orchestrator-knyac7jp.js +56 -0
- package/package.json +1 -1
- package/src/config/index.test.ts +23 -5
- package/src/config/live-run-config.test.ts +7 -7
- package/src/config/removed-agent-config.ts +14 -1
- package/src/config/schema/magic-context.ts +5 -1
- package/src/shared/host-sqlite-runtime.test.ts +21 -0
- package/src/shared/host-sqlite-runtime.ts +32 -0
- package/src/shared/redaction.test.ts +11 -8
- package/src/shared/redaction.ts +5 -1
- package/dist/embedding-backfill-wdrqkw09.js +0 -29
- package/dist/render-g45k3gts.js +0 -43
- package/dist/v2/embedding-backfill-gveter8p.js +0 -29
- package/dist/v2/recomp-orchestrator-k4cj62f2.js +0 -69
- package/dist/v2/render-ys7a3zks.js +0 -43
- package/dist/wrapup-orchestrator-kt81d6et.js +0 -56
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
recordToolParameters,
|
|
5
5
|
createDroppedInputToolExecuteBeforeHook,
|
|
6
6
|
readRawSessionMessages2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-hp46xe93.js";
|
|
8
8
|
import {
|
|
9
9
|
setHarness2
|
|
10
10
|
} from "./index-pavzsdc6.js";
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
log2,
|
|
19
19
|
sessionLog2,
|
|
20
20
|
flushLogger2
|
|
21
|
-
} from "./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
} from "./index-3fhb0j32.js";
|
|
22
|
+
import"./index-dt7cyqfe.js";
|
|
23
23
|
import {
|
|
24
24
|
withContentLanguageDirective,
|
|
25
25
|
string,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
record,
|
|
32
32
|
DEFAULT_EXECUTE_THRESHOLD_PERCENTAGE,
|
|
33
33
|
DEFAULT_HISTORIAN_TIMEOUT_MS
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-r3f85n7y.js";
|
|
35
35
|
import {
|
|
36
36
|
denyTaskRoutingToCallerAgents,
|
|
37
37
|
buildHiddenAgentRegistrations,
|
|
@@ -58,15 +58,15 @@ import {
|
|
|
58
58
|
checkCompactionMarkerConsistency,
|
|
59
59
|
clearInjectionCache,
|
|
60
60
|
clearNoteNudgeTriggerOnly
|
|
61
|
-
} from "./index-
|
|
61
|
+
} from "./index-nqdwpdje.js";
|
|
62
62
|
import"./index-sd3egckz.js";
|
|
63
|
-
import"./index-
|
|
63
|
+
import"./index-3n4j5rqc.js";
|
|
64
64
|
import {
|
|
65
65
|
setStoragePrivatePermissionEnforcement,
|
|
66
66
|
ensureStorageDirectorySync,
|
|
67
67
|
writeStorageFileSync,
|
|
68
68
|
writeStorageFileAtomicSync
|
|
69
|
-
} from "./index-
|
|
69
|
+
} from "./index-6mryx739.js";
|
|
70
70
|
import {
|
|
71
71
|
hasTrustedAbsoluteWall,
|
|
72
72
|
refreshModelLimitsFromApi,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
deriveHistorianChunkTokens2,
|
|
76
76
|
resolveKnownHistorianContextLimit2,
|
|
77
77
|
resolveHistorianContextLimit2
|
|
78
|
-
} from "./index-
|
|
78
|
+
} from "./index-45qgkg8j.js";
|
|
79
79
|
import {
|
|
80
80
|
isDreamerRunnable,
|
|
81
81
|
isSmartNoteSurfaceAvailable,
|
|
@@ -116,6 +116,7 @@ import {
|
|
|
116
116
|
buildStatusDetail,
|
|
117
117
|
isDebugRpcEnabled,
|
|
118
118
|
registerRpcHandlers,
|
|
119
|
+
recordHostSqliteRuntime,
|
|
119
120
|
maybeAutoEmbedSessionBackfill,
|
|
120
121
|
clearTransformDecisionSession,
|
|
121
122
|
scheduleOpenCodeTransformDecisionWrite,
|
|
@@ -146,7 +147,7 @@ import {
|
|
|
146
147
|
parameterDescriptionsFor,
|
|
147
148
|
MagicContextRpcServer,
|
|
148
149
|
applyHiddenSubagentTemperature
|
|
149
|
-
} from "./index-
|
|
150
|
+
} from "./index-f154w8m4.js";
|
|
150
151
|
import {
|
|
151
152
|
resolveOpenCodeDbPath,
|
|
152
153
|
openCodeDbPathExists,
|
|
@@ -162,7 +163,7 @@ import {
|
|
|
162
163
|
recordHookInitFailure,
|
|
163
164
|
clearHookInitFailure,
|
|
164
165
|
getLastHookInitFailure
|
|
165
|
-
} from "./index-
|
|
166
|
+
} from "./index-c205x7xd.js";
|
|
166
167
|
import {
|
|
167
168
|
setHomeProjectPermission,
|
|
168
169
|
ProjectIdentityError,
|
|
@@ -173,13 +174,13 @@ import {
|
|
|
173
174
|
beginBootQuietPeriod,
|
|
174
175
|
bootQuietRemainingMs,
|
|
175
176
|
scheduleAfterBootQuiet
|
|
176
|
-
} from "./index-
|
|
177
|
+
} from "./index-hj78hvhm.js";
|
|
177
178
|
import {
|
|
178
179
|
BoundedSessionMap,
|
|
179
180
|
deleteTemporalDecision,
|
|
180
181
|
recordToolDefinition,
|
|
181
182
|
getCurrentToolSetHash
|
|
182
|
-
} from "./index-
|
|
183
|
+
} from "./index-cpbr0xvk.js";
|
|
183
184
|
import {
|
|
184
185
|
observeSessionActivity,
|
|
185
186
|
backfillSessionActivity,
|
|
@@ -198,10 +199,10 @@ import {
|
|
|
198
199
|
dropServedRecord,
|
|
199
200
|
registerLkgPersistence,
|
|
200
201
|
dropSlot
|
|
201
|
-
} from "./index-
|
|
202
|
+
} from "./index-gnrwgvn7.js";
|
|
202
203
|
import {
|
|
203
204
|
recordSessionProjectIdentity
|
|
204
|
-
} from "./index-
|
|
205
|
+
} from "./index-7sdns2ww.js";
|
|
205
206
|
import"./index-fb3zxn06.js";
|
|
206
207
|
import {
|
|
207
208
|
startBootDeadline,
|
|
@@ -212,7 +213,7 @@ import {
|
|
|
212
213
|
openDatabaseAsync,
|
|
213
214
|
isDatabasePersisted,
|
|
214
215
|
getDatabasePersistenceError
|
|
215
|
-
} from "./index-
|
|
216
|
+
} from "./index-zkjx8gq3.js";
|
|
216
217
|
import {
|
|
217
218
|
registerExitAbort,
|
|
218
219
|
unregisterExitAbort
|
|
@@ -221,38 +222,38 @@ import"./index-96ztjvkn.js";
|
|
|
221
222
|
import"./index-1d042x6w.js";
|
|
222
223
|
import {
|
|
223
224
|
forgetRawSessionOrdinalWatermark2
|
|
224
|
-
} from "./index-
|
|
225
|
-
import"./index-
|
|
226
|
-
import"./index-
|
|
225
|
+
} from "./index-hedgz8an.js";
|
|
226
|
+
import"./index-89xg64wb.js";
|
|
227
|
+
import"./index-dnpcv1rg.js";
|
|
227
228
|
import"./index-fr0wbhdn.js";
|
|
228
229
|
import {
|
|
229
230
|
preloadTokenizer
|
|
230
|
-
} from "./index-
|
|
231
|
-
import"./index-
|
|
231
|
+
} from "./index-zfx7mtqa.js";
|
|
232
|
+
import"./index-fgw241hh.js";
|
|
232
233
|
import {
|
|
233
234
|
getDefaultSubcConnectionFile,
|
|
234
235
|
SubcModuleTransport
|
|
235
|
-
} from "./index-
|
|
236
|
+
} from "./index-0sqhg9nf.js";
|
|
236
237
|
import"./index-qt1qqasc.js";
|
|
237
|
-
import"./index-
|
|
238
|
+
import"./index-jzrvdqb8.js";
|
|
238
239
|
import {
|
|
239
240
|
latestTrackedOpenCodeAssistantId,
|
|
240
241
|
observeOpenCodeTurnEvent,
|
|
241
242
|
clearTrackedOpenCodeSession,
|
|
242
243
|
findLastAssistantModelFromOpenCodeDb
|
|
243
|
-
} from "./index-
|
|
244
|
+
} from "./index-k34hc455.js";
|
|
244
245
|
import {
|
|
245
246
|
sendCommandResult2,
|
|
246
247
|
sendStatusNotification2
|
|
247
|
-
} from "./index-
|
|
248
|
+
} from "./index-kj4bprep.js";
|
|
248
249
|
import {
|
|
249
250
|
detectConflicts,
|
|
250
251
|
resolveCompactionForBoot
|
|
251
|
-
} from "./index-
|
|
252
|
+
} from "./index-0ve29s6f.js";
|
|
252
253
|
import {
|
|
253
254
|
sendConflictWarning2,
|
|
254
255
|
cleanupConflictWarnings2
|
|
255
|
-
} from "./index-
|
|
256
|
+
} from "./index-zmgp0tr6.js";
|
|
256
257
|
import"./index-1zx87sdm.js";
|
|
257
258
|
import {
|
|
258
259
|
stripPersistedAssistantText,
|
|
@@ -284,7 +285,7 @@ import {
|
|
|
284
285
|
isAnthropicFamilyRoute,
|
|
285
286
|
deleteTagsByMessageId2,
|
|
286
287
|
getMaxTagNumberBySession2
|
|
287
|
-
} from "./index-
|
|
288
|
+
} from "./index-w7n7qkpf.js";
|
|
288
289
|
import {
|
|
289
290
|
resolveHistorianModel2,
|
|
290
291
|
resolveOpenCodeAgentOverrides2,
|
|
@@ -300,24 +301,24 @@ import {
|
|
|
300
301
|
getEmbedDrainUiStatus,
|
|
301
302
|
clearEmbedSessionState
|
|
302
303
|
} from "./index-2amn2s73.js";
|
|
303
|
-
import"./index-
|
|
304
|
+
import"./index-j4dcjb8t.js";
|
|
304
305
|
import {
|
|
305
306
|
deleteIndexedMessage
|
|
306
|
-
} from "./index-
|
|
307
|
+
} from "./index-89bkkgcn.js";
|
|
307
308
|
import"./index-tr4ep2ej.js";
|
|
308
|
-
import"./index-
|
|
309
|
+
import"./index-880a24vd.js";
|
|
309
310
|
import {
|
|
310
311
|
pushNotification2
|
|
311
312
|
} from "./index-y14pawe1.js";
|
|
312
|
-
import"./index-
|
|
313
|
+
import"./index-r1d45dsr.js";
|
|
313
314
|
import {
|
|
314
315
|
getEmbeddingCoverageStatus2
|
|
315
|
-
} from "./index-
|
|
316
|
+
} from "./index-7m2tnk8q.js";
|
|
316
317
|
import"./index-qjwpqvnf.js";
|
|
317
|
-
import"./index-
|
|
318
|
-
import"./index-
|
|
318
|
+
import"./index-910gahfb.js";
|
|
319
|
+
import"./index-0bjj9yf3.js";
|
|
319
320
|
import"./index-9emdjcb5.js";
|
|
320
|
-
import"./index-
|
|
321
|
+
import"./index-azkfw78y.js";
|
|
321
322
|
import {
|
|
322
323
|
recordOpenCodeProvenInputFloor,
|
|
323
324
|
resolveOpenCodeProvenInputFloor,
|
|
@@ -338,25 +339,25 @@ import {
|
|
|
338
339
|
armBindingRecoverySafely,
|
|
339
340
|
collectForeignTextParts,
|
|
340
341
|
resetDegradedCacheCount2
|
|
341
|
-
} from "./index-
|
|
342
|
+
} from "./index-cq8znmyw.js";
|
|
342
343
|
import {
|
|
343
344
|
scheduleClearAndReindex
|
|
344
|
-
} from "./index-
|
|
345
|
+
} from "./index-9jvxq5rt.js";
|
|
345
346
|
import {
|
|
346
347
|
runManagedRecomp2
|
|
347
|
-
} from "./index-
|
|
348
|
+
} from "./index-t2e10rag.js";
|
|
348
349
|
import {
|
|
349
350
|
isValidSemver,
|
|
350
351
|
compareSemverCore
|
|
351
|
-
} from "./index-
|
|
352
|
+
} from "./index-dj64gzg5.js";
|
|
352
353
|
import"./index-fmsr7v69.js";
|
|
353
354
|
import {
|
|
354
355
|
runManagedWrapup2
|
|
355
|
-
} from "./index-
|
|
356
|
-
import"./index-
|
|
357
|
-
import"./index-
|
|
358
|
-
import"./index-
|
|
359
|
-
import"./index-
|
|
356
|
+
} from "./index-8sgv96kq.js";
|
|
357
|
+
import"./index-h7kta6cn.js";
|
|
358
|
+
import"./index-mgy7g740.js";
|
|
359
|
+
import"./index-2afrmgy3.js";
|
|
360
|
+
import"./index-fvfnq8n6.js";
|
|
360
361
|
import {
|
|
361
362
|
__toESM,
|
|
362
363
|
__commonJS
|
|
@@ -370,7 +371,7 @@ import {
|
|
|
370
371
|
import {
|
|
371
372
|
closeQuietly
|
|
372
373
|
} from "./index-8ajstryz.js";
|
|
373
|
-
import"./index-
|
|
374
|
+
import"./index-tqtpgnhr.js";
|
|
374
375
|
|
|
375
376
|
// ../../node_modules/.bun/esprima@4.0.1/node_modules/esprima/dist/esprima.js
|
|
376
377
|
var require_esprima = __commonJS(function(exports, module) {
|
|
@@ -8212,7 +8213,7 @@ var require_src2 = __commonJS(function(exports, module) {
|
|
|
8212
8213
|
// package.json
|
|
8213
8214
|
var package_default = {
|
|
8214
8215
|
name: "@cortexkit/opencode-magic-context",
|
|
8215
|
-
version: "0.49.
|
|
8216
|
+
version: "0.49.96",
|
|
8216
8217
|
type: "module",
|
|
8217
8218
|
description: "OpenCode plugin for Magic Context — cross-session memory and context management",
|
|
8218
8219
|
main: "dist/index.js",
|
|
@@ -11002,6 +11003,8 @@ async function createMagicContextHookAsync(deps) {
|
|
|
11002
11003
|
});
|
|
11003
11004
|
return null;
|
|
11004
11005
|
}
|
|
11006
|
+
if (database && isDatabasePersisted(database))
|
|
11007
|
+
recordHostSqliteRuntime(database, "opencode");
|
|
11005
11008
|
return createMagicContextHook({
|
|
11006
11009
|
...deps,
|
|
11007
11010
|
openDatabaseForHook: () => database
|
|
@@ -11860,7 +11863,7 @@ function disableNativeAutoCompaction(config) {
|
|
|
11860
11863
|
|
|
11861
11864
|
// src/plugin/refusal-notice.ts
|
|
11862
11865
|
async function sendOpenCodeRefusal(client, sessionId, message, refusal) {
|
|
11863
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
11866
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-gxrj4w1r.js"));
|
|
11864
11867
|
const storageBusy = refusal instanceof StorageBusyRefusalError;
|
|
11865
11868
|
const toast = { toastDurationMs: 15000 };
|
|
11866
11869
|
const delivery = await sendStatusNotification(client, sessionId, message, storageBusy ? toast : { ...toast, toastTitle: "Magic Context", toastVariant: "error", liveOnly: true });
|
|
@@ -11868,7 +11871,7 @@ async function sendOpenCodeRefusal(client, sessionId, message, refusal) {
|
|
|
11868
11871
|
sessionLog2(sessionId, "refusal notice skipped: no terminal viewing the session", refusal.name);
|
|
11869
11872
|
}
|
|
11870
11873
|
if (storageBusy) {
|
|
11871
|
-
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-
|
|
11874
|
+
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-376xn40x.js"));
|
|
11872
11875
|
await abortSessionFailClosed(client, sessionId);
|
|
11873
11876
|
}
|
|
11874
11877
|
}
|
|
@@ -12138,7 +12141,7 @@ async function setup(context) {
|
|
|
12138
12141
|
if (claimStorageBackupWarningCheck() && isMagicContextStorageOutsideEngram(storageDir)) {
|
|
12139
12142
|
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.`);
|
|
12140
12143
|
}
|
|
12141
|
-
const { registerContext } = await import("./context-
|
|
12144
|
+
const { registerContext } = await import("./context-gtjdrp8f.js");
|
|
12142
12145
|
setHarness2("opencode2");
|
|
12143
12146
|
bindStaleBuildNotice({}, import.meta.url, "opencode2");
|
|
12144
12147
|
const duties = await registerContext(context);
|
|
@@ -12217,7 +12220,7 @@ var server = async (ctx) => {
|
|
|
12217
12220
|
if (hasBannerEntries)
|
|
12218
12221
|
setTimeout(async () => {
|
|
12219
12222
|
try {
|
|
12220
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12223
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-gxrj4w1r.js"));
|
|
12221
12224
|
const clientWithSessions = ctx.client;
|
|
12222
12225
|
const sessions = await Promise.resolve(clientWithSessions.session?.list?.()).catch(() => null);
|
|
12223
12226
|
const sessionList = Array.isArray(sessions) ? sessions : sessions?.data;
|
|
@@ -12235,7 +12238,7 @@ var server = async (ctx) => {
|
|
|
12235
12238
|
log2(`[magic-context] opencode_db_missing path=${openCodeDbResolution.path} source=${openCodeDbResolution.source}`);
|
|
12236
12239
|
setTimeout(async () => {
|
|
12237
12240
|
try {
|
|
12238
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12241
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-gxrj4w1r.js"));
|
|
12239
12242
|
const clientWithSessions = ctx.client;
|
|
12240
12243
|
const sessions = await Promise.resolve(clientWithSessions.session?.list?.()).catch(() => null);
|
|
12241
12244
|
const sessionList = Array.isArray(sessions) ? sessions : sessions?.data;
|
|
@@ -12508,12 +12511,12 @@ var server = async (ctx) => {
|
|
|
12508
12511
|
{
|
|
12509
12512
|
const fence = getSchemaFenceRejection();
|
|
12510
12513
|
if (fence) {
|
|
12511
|
-
importPluginModule(() => import("./conflict-warning-hook-
|
|
12514
|
+
importPluginModule(() => import("./conflict-warning-hook-wcq55y61.js")).then(({ sendSchemaFenceWarning }) => sendSchemaFenceWarning(ctx.client, ctx.directory, fence)).catch((error) => log2("[magic-context] schema-fence warning unavailable:", error));
|
|
12512
12515
|
}
|
|
12513
12516
|
}
|
|
12514
12517
|
const serverUrl = ctx.serverUrl;
|
|
12515
12518
|
const serverUrlStr = serverUrl instanceof URL ? serverUrl.toString().replace(/\/$/, "") : typeof serverUrl === "string" ? serverUrl.replace(/\/$/, "") : undefined;
|
|
12516
|
-
importPluginModule(() => import("./send-session-notification-
|
|
12519
|
+
importPluginModule(() => import("./send-session-notification-gxrj4w1r.js")).then(({ setNotificationServerUrl }) => {
|
|
12517
12520
|
setNotificationServerUrl(serverUrlStr);
|
|
12518
12521
|
}).catch((error) => log2("[magic-context] notification transport unavailable:", error));
|
|
12519
12522
|
if (conflictResult?.hasConflict) {
|
|
@@ -12527,7 +12530,7 @@ var server = async (ctx) => {
|
|
|
12527
12530
|
}
|
|
12528
12531
|
if (pluginConfig.enabled && !conflictResult?.hasConflict) {
|
|
12529
12532
|
setTimeout(() => {
|
|
12530
|
-
importPluginModule(() => import("./announcement-
|
|
12533
|
+
importPluginModule(() => import("./announcement-8nj2jd87.js")).then(({
|
|
12531
12534
|
shouldShowAnnouncement,
|
|
12532
12535
|
ANNOUNCEMENT_VERSION,
|
|
12533
12536
|
ANNOUNCEMENT_FEATURES,
|
|
@@ -12536,7 +12539,7 @@ var server = async (ctx) => {
|
|
|
12536
12539
|
}) => {
|
|
12537
12540
|
if (!shouldShowAnnouncement())
|
|
12538
12541
|
return;
|
|
12539
|
-
return importPluginModule(() => import("./conflict-warning-hook-
|
|
12542
|
+
return importPluginModule(() => import("./conflict-warning-hook-wcq55y61.js")).then(({ sendStartupAnnouncement }) => sendStartupAnnouncement(ctx.client, ctx.directory, ANNOUNCEMENT_VERSION, ANNOUNCEMENT_FEATURES, ANNOUNCEMENT_FOOTER, markAnnouncementSeen));
|
|
12540
12543
|
}).catch(() => {});
|
|
12541
12544
|
}, 8000);
|
|
12542
12545
|
}
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
getLoggerDiagnostics2,
|
|
7
7
|
flushLogger2,
|
|
8
8
|
getLogFilePath2
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-3fhb0j32.js";
|
|
10
10
|
import"./index-pavzsdc6.js";
|
|
11
|
-
import"./index-
|
|
11
|
+
import"./index-dt7cyqfe.js";
|
|
12
12
|
export {
|
|
13
13
|
flushLogger2 as flushLogger,
|
|
14
14
|
getLogFilePath2 as getLogFilePath,
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
startMessageFtsRowidMapBackfill2,
|
|
6
6
|
messageFtsOrdinalRangeIsMapped2,
|
|
7
7
|
deleteUnmappedMessageFtsRows2
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
} from "./index-89xg64wb.js";
|
|
9
|
+
import"./index-hedgz8an.js";
|
|
10
10
|
import"./index-96ztjvkn.js";
|
|
11
11
|
import"./index-v0p37hm2.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-tqtpgnhr.js";
|
|
13
13
|
import"./index-gzy5w8ya.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-3fhb0j32.js";
|
|
15
15
|
import"./index-pavzsdc6.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-dt7cyqfe.js";
|
|
17
17
|
import"./index-1d042x6w.js";
|
|
18
18
|
export {
|
|
19
19
|
deleteUnmappedMessageFtsRows2 as deleteUnmappedMessageFtsRows,
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
yieldIndexChunk2
|
|
5
5
|
} from "./index-gzy5w8ya.js";
|
|
6
6
|
import"./index-1zx87sdm.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
import"./index-w7n7qkpf.js";
|
|
8
|
+
import"./index-zfx7mtqa.js";
|
|
9
9
|
import"./index-pavzsdc6.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
10
|
+
import"./index-3fhb0j32.js";
|
|
11
|
+
import"./index-dt7cyqfe.js";
|
|
12
|
+
import"./index-cpbr0xvk.js";
|
|
13
|
+
import"./index-r3f85n7y.js";
|
|
14
14
|
import"./index-v0p37hm2.js";
|
|
15
15
|
import"./index-96ztjvkn.js";
|
|
16
16
|
import"./index-1d042x6w.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-hedgz8an.js";
|
|
18
18
|
import"./index-58e3y90n.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-k34hc455.js";
|
|
20
|
+
import"./index-hp46xe93.js";
|
|
21
21
|
import {
|
|
22
22
|
MESSAGE_INDEX_MAX_FTS_BYTES,
|
|
23
23
|
messageIndexSkipKey,
|
|
@@ -25,9 +25,9 @@ import {
|
|
|
25
25
|
markMessageIndexDirty,
|
|
26
26
|
getIndexableContent,
|
|
27
27
|
indexSingleMessage
|
|
28
|
-
} from "./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
28
|
+
} from "./index-89bkkgcn.js";
|
|
29
|
+
import"./index-89xg64wb.js";
|
|
30
|
+
import"./index-tqtpgnhr.js";
|
|
31
31
|
|
|
32
32
|
// src/features/magic-context/message-index-bounded.ts
|
|
33
33
|
import { createHash } from "node:crypto";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
withoutSqliteTransformPass2
|
|
4
4
|
} from "./index-gzy5w8ya.js";
|
|
5
5
|
import"./index-pavzsdc6.js";
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
import"./index-3fhb0j32.js";
|
|
7
|
+
import"./index-dt7cyqfe.js";
|
|
8
8
|
import {
|
|
9
9
|
logSlowWriteTransaction
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-tqtpgnhr.js";
|
|
11
11
|
|
|
12
12
|
// src/features/magic-context/message-time-backfill.ts
|
|
13
13
|
var MESSAGE_TIME_BACKFILL_BATCH_SIZE = 500;
|
package/dist/migration-worker.js
CHANGED
|
@@ -2,36 +2,36 @@ import"./index-pavzsdc6.js";
|
|
|
2
2
|
import {
|
|
3
3
|
setLogLineForwarder2,
|
|
4
4
|
log2
|
|
5
|
-
} from "./index-
|
|
6
|
-
import"./index-
|
|
5
|
+
} from "./index-3fhb0j32.js";
|
|
6
|
+
import"./index-dt7cyqfe.js";
|
|
7
7
|
import {
|
|
8
8
|
Database2
|
|
9
9
|
} from "./index-gzy5w8ya.js";
|
|
10
10
|
import"./index-fr0wbhdn.js";
|
|
11
11
|
import {
|
|
12
12
|
runMigrationsWithRetry
|
|
13
|
-
} from "./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
} from "./index-dnpcv1rg.js";
|
|
14
|
+
import"./index-cpbr0xvk.js";
|
|
15
15
|
import"./index-58e3y90n.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
import"./index-3n4j5rqc.js";
|
|
17
|
+
import"./index-6mryx739.js";
|
|
18
|
+
import"./index-hj78hvhm.js";
|
|
19
19
|
import"./index-fb3zxn06.js";
|
|
20
20
|
import {
|
|
21
21
|
setSqlitePragmaConfig,
|
|
22
22
|
initializeDatabase
|
|
23
|
-
} from "./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
} from "./index-zkjx8gq3.js";
|
|
24
|
+
import"./index-c205x7xd.js";
|
|
25
25
|
import"./index-v0p37hm2.js";
|
|
26
26
|
import"./index-96ztjvkn.js";
|
|
27
27
|
import"./index-1d042x6w.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
28
|
+
import"./index-hedgz8an.js";
|
|
29
|
+
import"./index-89xg64wb.js";
|
|
30
|
+
import"./index-zfx7mtqa.js";
|
|
31
31
|
import {
|
|
32
32
|
closeQuietly
|
|
33
33
|
} from "./index-8ajstryz.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-tqtpgnhr.js";
|
|
35
35
|
import {
|
|
36
36
|
serveWorkerJobs
|
|
37
37
|
} from "./index-7v05d9b7.js";
|
|
@@ -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;;;;;;;;;;;;;mBAcK,CAAC;aAE3E,CAAC;aAA2B,CAAC;eAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+
|
|
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;;;;;;;;;;;;;mBAcK,CAAC;aAE3E,CAAC;aAA2B,CAAC;eAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+Go/zC,CAAC;;;;eAA8iB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA3G3m1C;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;;;;;;;;;;;;;qBAAhkG,CAAC;mBAA6B,CAAC;iBAA2B,CAAC;iBAA2B,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;iBAA2D,CAAC;;oBAA4D,CAAC;uBAAiC,CAAC;yBAAoC,CAAC;;;;;;0BAA2m8C,CAAC;;;;;;;;;;;;;;;;EAvD5sgD;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;;;;;;;;;;;;;qBAAhkG,CAAC;mBAA6B,CAAC;iBAA2B,CAAC;iBAA2B,CAAC;0BAAc,CAAC;uBAAiB,CAAC;;;iBAA2D,CAAC;;oBAA4D,CAAC;uBAAiC,CAAC;yBAAoC,CAAC;;;;;;0BAA2m8C,CAAC;;;;;;;;;;;;;;;;GAD5sgD"}
|
package/dist/{project-embedding-registry-az68q792.js → project-embedding-registry-e566q4bg.js}
RENAMED
|
@@ -39,28 +39,28 @@ import {
|
|
|
39
39
|
sweepAllRegisteredProjects2,
|
|
40
40
|
_setTestProviderFactoryForProject2,
|
|
41
41
|
_resetProjectEmbeddingRegistryForTests2
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-7m2tnk8q.js";
|
|
43
43
|
import"./index-qjwpqvnf.js";
|
|
44
44
|
import"./index-2amn2s73.js";
|
|
45
45
|
import"./index-qt1qqasc.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
46
|
+
import"./index-r1d45dsr.js";
|
|
47
|
+
import"./index-r3f85n7y.js";
|
|
48
|
+
import"./index-7sdns2ww.js";
|
|
49
|
+
import"./index-j4dcjb8t.js";
|
|
50
|
+
import"./index-fgw241hh.js";
|
|
51
|
+
import"./index-hj78hvhm.js";
|
|
52
|
+
import"./index-89xg64wb.js";
|
|
53
|
+
import"./index-hedgz8an.js";
|
|
54
54
|
import"./index-96ztjvkn.js";
|
|
55
55
|
import"./index-v0p37hm2.js";
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
56
|
+
import"./index-tqtpgnhr.js";
|
|
57
|
+
import"./index-6mryx739.js";
|
|
58
|
+
import"./index-3n4j5rqc.js";
|
|
59
|
+
import"./index-zfx7mtqa.js";
|
|
60
60
|
import"./index-gzy5w8ya.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-3fhb0j32.js";
|
|
62
62
|
import"./index-pavzsdc6.js";
|
|
63
|
-
import"./index-
|
|
63
|
+
import"./index-dt7cyqfe.js";
|
|
64
64
|
import"./index-1d042x6w.js";
|
|
65
65
|
export {
|
|
66
66
|
_resetProjectEmbeddingRegistryForTests2 as _resetProjectEmbeddingRegistryForTests,
|
|
@@ -19,7 +19,7 @@ serveWorkerJobs(async (input, port) => {
|
|
|
19
19
|
await main();
|
|
20
20
|
async function main() {
|
|
21
21
|
if (input.v2ArchiveReader) {
|
|
22
|
-
const { serveV2ArchiveReads } = await import("./v2-archive-reader-
|
|
22
|
+
const { serveV2ArchiveReads } = await import("./v2-archive-reader-64h2gtam.js");
|
|
23
23
|
await serveV2ArchiveReads(port, openConnections);
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
@@ -30,9 +30,9 @@ serveWorkerJobs(async (input, port) => {
|
|
|
30
30
|
{ log }
|
|
31
31
|
] = await Promise.all([
|
|
32
32
|
import("./sqlite-zdgm52sv.js"),
|
|
33
|
-
import("./read-session-raw-
|
|
33
|
+
import("./read-session-raw-trhdgc9z.js"),
|
|
34
34
|
import("./harness-e4avh192.js"),
|
|
35
|
-
import("./logger-
|
|
35
|
+
import("./logger-nmb2508f.js")
|
|
36
36
|
]);
|
|
37
37
|
setHarness(input.harness ?? "opencode");
|
|
38
38
|
registerSqliteDiagnosticSink(log, getHarness);
|
|
@@ -46,13 +46,13 @@ serveWorkerJobs(async (input, port) => {
|
|
|
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-vcatdan0.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-s9m5szf0.js");
|
|
55
|
+
const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-trhdgc9z.js");
|
|
56
56
|
const archive = input.searchArchive;
|
|
57
57
|
let raw;
|
|
58
58
|
try {
|
|
@@ -81,7 +81,7 @@ serveWorkerJobs(async (input, port) => {
|
|
|
81
81
|
const { setHarness } = await import("./harness-e4avh192.js");
|
|
82
82
|
setHarness(input.harness ?? "opencode");
|
|
83
83
|
const [{ indexMessageInShortChunks }, { configureContextDatabasePragmas }] = await Promise.all([
|
|
84
|
-
import("./message-index-bounded-
|
|
84
|
+
import("./message-index-bounded-abhwe610.js"),
|
|
85
85
|
import("./sqlite-context-pragmas-mv9jqwjh.js")
|
|
86
86
|
]);
|
|
87
87
|
configureContextDatabasePragmas(db);
|
|
@@ -95,7 +95,7 @@ serveWorkerJobs(async (input, port) => {
|
|
|
95
95
|
measurements: result.measurements
|
|
96
96
|
};
|
|
97
97
|
} else if (input.tagRatio !== undefined) {
|
|
98
|
-
const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-
|
|
98
|
+
const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-jq0c0zsn.js");
|
|
99
99
|
const delta = input.tagState ? scanTagOwnerDelta(db, input.sessionId, input.tagState) : null;
|
|
100
100
|
if (delta)
|
|
101
101
|
reply = { kind: "tag-delta", delta };
|
|
@@ -38,25 +38,25 @@ import {
|
|
|
38
38
|
readSessionChunk2,
|
|
39
39
|
getRawSessionMessageIdsThrough2,
|
|
40
40
|
readRawSessionSeedTail2
|
|
41
|
-
} from "./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
} from "./index-hp46xe93.js";
|
|
42
|
+
import"./index-w7n7qkpf.js";
|
|
43
43
|
import"./index-1zx87sdm.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
44
|
+
import"./index-k34hc455.js";
|
|
45
|
+
import"./index-r3f85n7y.js";
|
|
46
|
+
import"./index-cpbr0xvk.js";
|
|
47
|
+
import"./index-hedgz8an.js";
|
|
48
48
|
import"./index-96ztjvkn.js";
|
|
49
49
|
import"./index-v0p37hm2.js";
|
|
50
50
|
import"./index-58e3y90n.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-tqtpgnhr.js";
|
|
52
52
|
import {
|
|
53
53
|
hasMeaningfulUserText2,
|
|
54
54
|
extractTexts2
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-zfx7mtqa.js";
|
|
56
56
|
import"./index-gzy5w8ya.js";
|
|
57
|
-
import"./index-
|
|
57
|
+
import"./index-3fhb0j32.js";
|
|
58
58
|
import"./index-pavzsdc6.js";
|
|
59
|
-
import"./index-
|
|
59
|
+
import"./index-dt7cyqfe.js";
|
|
60
60
|
import"./index-1d042x6w.js";
|
|
61
61
|
export {
|
|
62
62
|
RAW_MESSAGE_VISIT_PAGE_SIZE2 as RAW_MESSAGE_VISIT_PAGE_SIZE,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
hasRawSessionMessageByIdFromDb2,
|
|
30
30
|
readRawSeedTailFromDb2,
|
|
31
31
|
readRawSessionBoundaryEndpointsFromDb2
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-hedgz8an.js";
|
|
33
33
|
import"./index-96ztjvkn.js";
|
|
34
34
|
import"./index-v0p37hm2.js";
|
|
35
35
|
import"./index-gzy5w8ya.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-3fhb0j32.js";
|
|
37
37
|
import"./index-pavzsdc6.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-dt7cyqfe.js";
|
|
39
39
|
import"./index-1d042x6w.js";
|
|
40
40
|
export {
|
|
41
41
|
RawOrdinalsNotReady2 as RawOrdinalsNotReady,
|