@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.
Files changed (199) hide show
  1. package/dist/{announcement-4ynkaf0d.js → announcement-8nj2jd87.js} +5 -5
  2. package/dist/auto-search-worker.js +5 -5
  3. package/dist/chunk-embedding-write-worker.js +16 -16
  4. package/dist/{compaction-marker-candidates-1ndjqh9k.js → compaction-marker-candidates-a4b0anvv.js} +3 -3
  5. package/dist/compaction-marker-candidates-worker.js +1 -1
  6. package/dist/{compartment-chunk-embedding-4nn3hsw2.js → compartment-chunk-embedding-re2cw7y3.js} +8 -8
  7. package/dist/config/removed-agent-config.d.ts +1 -1
  8. package/dist/config/removed-agent-config.d.ts.map +1 -1
  9. package/dist/config/schema/magic-context.d.ts +0 -75
  10. package/dist/config/schema/magic-context.d.ts.map +1 -1
  11. package/dist/{conflict-warning-hook-exf96bpt.js → conflict-warning-hook-wcq55y61.js} +8 -8
  12. package/dist/{context-h9x9m2p3.js → context-gtjdrp8f.js} +86 -104
  13. package/dist/{derive-budgets-hzzq71rm.js → derive-budgets-g1sy72e8.js} +5 -5
  14. package/dist/embedding-backfill-pdymqbnh.js +29 -0
  15. package/dist/embedding-worker-process.js +2 -2
  16. package/dist/embedding-worker.js +8 -8
  17. package/dist/features/magic-context/dreamer/token-budget.d.ts +2 -2
  18. package/dist/features/magic-context/dreamer/token-budget.d.ts.map +1 -1
  19. package/dist/features/magic-context/search-rerank.d.ts +2 -2
  20. package/dist/features/magic-context/search-rerank.d.ts.map +1 -1
  21. package/dist/features/magic-context/search.d.ts.map +1 -1
  22. package/dist/{history-owner-xqfsvf9k.js → history-owner-74826t4n.js} +3 -3
  23. package/dist/hooks/magic-context/hook.d.ts.map +1 -1
  24. package/dist/hooks/magic-context/inject-compartments.d.ts +6 -1
  25. package/dist/hooks/magic-context/inject-compartments.d.ts.map +1 -1
  26. package/dist/hooks/magic-context/transform-compartment-phase.d.ts +2 -1
  27. package/dist/hooks/magic-context/transform-compartment-phase.d.ts.map +1 -1
  28. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts +1 -0
  29. package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
  30. package/dist/hooks/magic-context/transform.d.ts +2 -0
  31. package/dist/hooks/magic-context/transform.d.ts.map +1 -1
  32. package/dist/{index-3ywyr4zx.js → index-0bjj9yf3.js} +2 -2
  33. package/dist/{index-7skgrbsg.js → index-0sqhg9nf.js} +41 -21
  34. package/dist/{index-nxxzeq4y.js → index-0ve29s6f.js} +1 -1
  35. package/dist/{index-7dzaamqg.js → index-2afrmgy3.js} +4 -4
  36. package/dist/{index-ywrz4wy2.js → index-3fhb0j32.js} +1 -1
  37. package/dist/{index-gqf8r04r.js → index-3n4j5rqc.js} +1 -1
  38. package/dist/{index-xsqw8kbd.js → index-45qgkg8j.js} +2 -2
  39. package/dist/{index-5df2fw5b.js → index-6mryx739.js} +1 -1
  40. package/dist/{index-tedck05r.js → index-7m2tnk8q.js} +10 -10
  41. package/dist/{index-r4y0dczp.js → index-7sdns2ww.js} +2 -2
  42. package/dist/{index-mjy2k9jr.js → index-880a24vd.js} +1 -1
  43. package/dist/{index-esacb9d0.js → index-89bkkgcn.js} +4 -4
  44. package/dist/{index-s32f8y67.js → index-89xg64wb.js} +2 -2
  45. package/dist/{index-2v9qpmb3.js → index-8sgv96kq.js} +7 -7
  46. package/dist/{index-qmm8xpbc.js → index-910gahfb.js} +6 -6
  47. package/dist/{index-47hst5me.js → index-9jvxq5rt.js} +4 -4
  48. package/dist/{index-832w615x.js → index-azkfw78y.js} +1 -1
  49. package/dist/{index-wh9fxds5.js → index-c205x7xd.js} +1 -1
  50. package/dist/{index-mg9s2rc3.js → index-cpbr0xvk.js} +2 -2
  51. package/dist/{index-3tmbvn0z.js → index-cq8znmyw.js} +17 -17
  52. package/dist/{index-cr483vx6.js → index-dj64gzg5.js} +2 -2
  53. package/dist/{index-jba6ny4m.js → index-dnpcv1rg.js} +4 -4
  54. package/dist/{index-z4p0ry94.js → index-dt7cyqfe.js} +2 -1
  55. package/dist/{index-tm799pq7.js → index-e6ay1gez.js} +1 -1
  56. package/dist/{index-jm62g83a.js → index-f154w8m4.js} +71 -44
  57. package/dist/{index-j7n64sg4.js → index-fgw241hh.js} +2 -2
  58. package/dist/{index-wqwjawer.js → index-fvfnq8n6.js} +6 -6
  59. package/dist/{index-pc49a7zt.js → index-gnrwgvn7.js} +10 -10
  60. package/dist/{index-yzzxb5e1.js → index-h7kta6cn.js} +3 -3
  61. package/dist/{index-q7q6qp1f.js → index-hedgz8an.js} +1 -1
  62. package/dist/{index-5pgyqgmx.js → index-hj78hvhm.js} +2 -2
  63. package/dist/{index-7r11k4xr.js → index-hp46xe93.js} +7 -7
  64. package/dist/{index-ejgp0z9p.js → index-j4dcjb8t.js} +4 -4
  65. package/dist/{index-e6ncz7a6.js → index-jzrvdqb8.js} +1 -1
  66. package/dist/{index-sp5pvs95.js → index-k34hc455.js} +2 -2
  67. package/dist/{index-9ffntwyr.js → index-kj4bprep.js} +4 -4
  68. package/dist/{index-xe34pwb6.js → index-mgy7g740.js} +1 -1
  69. package/dist/{index-2gewejcz.js → index-nqdwpdje.js} +145 -32
  70. package/dist/{index-xjaf9g90.js → index-r1d45dsr.js} +4 -4
  71. package/dist/{index-y915t3ey.js → index-r3f85n7y.js} +5 -1
  72. package/dist/{index-ewta5h87.js → index-t2e10rag.js} +5 -5
  73. package/dist/{index-m0pwswv9.js → index-tqtpgnhr.js} +1 -1
  74. package/dist/{index-zk6gtf43.js → index-w7n7qkpf.js} +5 -5
  75. package/dist/{index-s7460efs.js → index-zfx7mtqa.js} +1 -1
  76. package/dist/{index-c81tggen.js → index-zkjx8gq3.js} +11 -11
  77. package/dist/{index-et39x9k3.js → index-zmgp0tr6.js} +3 -3
  78. package/dist/index.js +58 -55
  79. package/dist/{logger-d7c8akh9.js → logger-nmb2508f.js} +2 -2
  80. package/dist/{message-fts-rowid-map-0xx8ge09.js → message-fts-rowid-map-vcatdan0.js} +5 -5
  81. package/dist/{message-index-bounded-d3x8rhpz.js → message-index-bounded-abhwe610.js} +12 -12
  82. package/dist/{message-time-backfill-pz5981mf.js → message-time-backfill-zc5rsvhv.js} +3 -3
  83. package/dist/migration-worker.js +13 -13
  84. package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
  85. package/dist/{project-embedding-registry-az68q792.js → project-embedding-registry-e566q4bg.js} +15 -15
  86. package/dist/raw-ordinal-warmup-worker.js +8 -8
  87. package/dist/{read-session-chunk-70r1snq3.js → read-session-chunk-sde0wym3.js} +10 -10
  88. package/dist/{read-session-raw-3sc9231y.js → read-session-raw-trhdgc9z.js} +3 -3
  89. package/dist/{recomp-orchestrator-cn4r2gz6.js → recomp-orchestrator-d3rbpa59.js} +33 -33
  90. package/dist/render-6cf1dgc4.js +43 -0
  91. package/dist/{safe-notification-target-d21swr3n.js → safe-notification-target-54ns7dv9.js} +3 -3
  92. package/dist/{search-b0cb342r.js → search-11aw8wpq.js} +27 -27
  93. package/dist/{search-archive-s9t3exc1.js → search-archive-s9m5szf0.js} +13 -13
  94. package/dist/{send-session-notification-0779tyd9.js → send-session-notification-gxrj4w1r.js} +6 -6
  95. package/dist/shared/host-sqlite-runtime.d.ts +3 -0
  96. package/dist/shared/host-sqlite-runtime.d.ts.map +1 -0
  97. package/dist/shared/redaction.d.ts.map +1 -1
  98. package/dist/{storage-tags-xvbje7jm.js → storage-tags-jq0c0zsn.js} +7 -7
  99. package/dist/{store-91kawq9a.js → store-29ksp6vy.js} +3 -3
  100. package/dist/{transform-postprocess-phase-r1xhsjrh.js → transform-postprocess-phase-376xn40x.js} +34 -34
  101. package/dist/v2/auto-search-worker.js +5 -5
  102. package/dist/v2/chunk-embedding-write-worker.js +16 -16
  103. package/dist/v2/{compaction-marker-candidates-bp1bn579.js → compaction-marker-candidates-6nypmsr3.js} +3 -3
  104. package/dist/v2/compaction-marker-candidates-worker.js +1 -1
  105. package/dist/v2/{compartment-chunk-embedding-a7ddvz7v.js → compartment-chunk-embedding-jthtfhcd.js} +8 -8
  106. package/dist/v2/{context-2hssw26q.js → context-vm09agrs.js} +117 -109
  107. package/dist/v2/{derive-budgets-hr4qqrnv.js → derive-budgets-wj0q7s7d.js} +6 -6
  108. package/dist/v2/embedding-backfill-16b16m38.js +29 -0
  109. package/dist/v2/embedding-worker-process.js +2 -2
  110. package/dist/v2/embedding-worker.js +8 -8
  111. package/dist/v2/fold/native-replay.d.ts +2 -1
  112. package/dist/v2/fold/native-replay.d.ts.map +1 -1
  113. package/dist/v2/hidden-child-native.d.ts.map +1 -1
  114. package/dist/v2/hidden-child-record.d.ts +8 -0
  115. package/dist/v2/hidden-child-record.d.ts.map +1 -1
  116. package/dist/v2/hidden-completion.d.ts.map +1 -1
  117. package/dist/v2/hidden-run-holder.d.ts +8 -2
  118. package/dist/v2/hidden-run-holder.d.ts.map +1 -1
  119. package/dist/v2/{history-owner-260djmv5.js → history-owner-8pd5ax3n.js} +3 -3
  120. package/dist/v2/hooks/context.d.ts.map +1 -1
  121. package/dist/v2/hooks/hidden-child.d.ts +3 -0
  122. package/dist/v2/hooks/hidden-child.d.ts.map +1 -1
  123. package/dist/v2/{logger-zyf43np1.js → logger-58jfese9.js} +2 -2
  124. package/dist/v2/{message-fts-rowid-map-n8mcvcpz.js → message-fts-rowid-map-ax4vk78j.js} +5 -5
  125. package/dist/v2/{message-index-bounded-tbwrff24.js → message-index-bounded-qh794qxx.js} +12 -12
  126. package/dist/v2/{message-time-backfill-ynb3vg6r.js → message-time-backfill-yj773saf.js} +3 -3
  127. package/dist/v2/migration-worker.js +13 -13
  128. package/dist/v2/{project-embedding-registry-2zeycxek.js → project-embedding-registry-z05xvckg.js} +15 -15
  129. package/dist/v2/raw-ordinal-warmup-worker.js +8 -8
  130. package/dist/v2/{read-session-chunk-cvgsfsgr.js → read-session-chunk-8tn2dbn1.js} +10 -10
  131. package/dist/v2/{read-session-raw-wg5zc29f.js → read-session-raw-ywebck9q.js} +3 -3
  132. package/dist/v2/recomp-orchestrator-pfjpzdrb.js +69 -0
  133. package/dist/v2/render-7t5d7hkv.js +43 -0
  134. package/dist/v2/{safe-notification-target-y55z2zat.js → safe-notification-target-zrwbh6k7.js} +3 -3
  135. package/dist/v2/{search-x1cac8t6.js → search-35cz80x0.js} +26 -26
  136. package/dist/v2/{search-archive-k2yh0jj3.js → search-archive-5dpxv0ck.js} +13 -13
  137. package/dist/v2/{send-session-notification-v69y04f5.js → send-session-notification-8x146x5y.js} +6 -6
  138. package/dist/v2/{server-gj259dqy.js → server-11ra1pmx.js} +5 -5
  139. package/dist/v2/{server-gs2251jr.js → server-2cq3e1c1.js} +4 -4
  140. package/dist/v2/{server-39bcszk4.js → server-2qvnr3t7.js} +1 -1
  141. package/dist/v2/{server-jkj1dq6j.js → server-2sare4qg.js} +4 -4
  142. package/dist/v2/{server-jdfe07mp.js → server-2wz6y46g.js} +1 -1
  143. package/dist/v2/{server-at0v0z4t.js → server-379fd3n7.js} +1 -1
  144. package/dist/v2/{server-ds8vpfkr.js → server-40vdz8sf.js} +2 -2
  145. package/dist/v2/{server-qntmqaca.js → server-4yrvbnnm.js} +2 -2
  146. package/dist/v2/{server-x69fqsvz.js → server-5t4nzfpt.js} +1 -1
  147. package/dist/v2/{server-npdey91q.js → server-63ree5ns.js} +1 -1
  148. package/dist/v2/{server-gqkdfdvw.js → server-6qax5pds.js} +2 -2
  149. package/dist/v2/{server-qb3s0mnc.js → server-73bqw5c0.js} +1 -1
  150. package/dist/v2/{server-qy58c11s.js → server-7h4gwphm.js} +4 -4
  151. package/dist/v2/{server-476anw1w.js → server-7tj8yzrv.js} +1 -1
  152. package/dist/v2/{server-e6xneh68.js → server-arfzfxe8.js} +5 -1
  153. package/dist/v2/{server-6ash6z8z.js → server-av3p9c8k.js} +1 -1
  154. package/dist/v2/{server-5hwf5c7r.js → server-bx5k66qc.js} +1 -1
  155. package/dist/v2/{server-s81b3nct.js → server-db91dxwc.js} +7 -7
  156. package/dist/v2/{server-z4p0ry94.js → server-dt7cyqfe.js} +2 -1
  157. package/dist/v2/{server-zc8s06gx.js → server-ganavh75.js} +2 -2
  158. package/dist/v2/{server-cvm1qrqc.js → server-gh2w75fn.js} +3 -3
  159. package/dist/v2/{server-y0pd600x.js → server-j1gxs1gj.js} +1 -1
  160. package/dist/v2/{server-xepfjgv5.js → server-k3ntgf6n.js} +2 -2
  161. package/dist/v2/{server-j8376q08.js → server-kzrrdjp5.js} +1 -1
  162. package/dist/v2/{server-1rrmxhd1.js → server-n33hyq9t.js} +2 -2
  163. package/dist/v2/{server-0tv6kytx.js → server-n34vzyfm.js} +1 -1
  164. package/dist/v2/{server-prrx17q3.js → server-nnh81jqy.js} +6 -6
  165. package/dist/v2/{server-s8mk882p.js → server-pcq2d1wh.js} +6 -6
  166. package/dist/v2/{server-vbr1rdkg.js → server-ppy2dj7g.js} +4 -4
  167. package/dist/v2/{server-96nm9vk4.js → server-rr5c0xcg.js} +2 -2
  168. package/dist/v2/{server-j4jjtdc5.js → server-rt8t6s2a.js} +2 -2
  169. package/dist/v2/{server-srtq37nh.js → server-svccj9rd.js} +4 -4
  170. package/dist/v2/{server-5sbsnpkn.js → server-tq523gj6.js} +1 -1
  171. package/dist/v2/{server-00adcfjd.js → server-vj0xbbrc.js} +17 -3
  172. package/dist/v2/{server-cd93xyyx.js → server-vntc961c.js} +10 -10
  173. package/dist/v2/{server-88pjnecb.js → server-vsx9tsks.js} +11 -11
  174. package/dist/v2/{server-6nh36020.js → server-w35ep6wn.js} +132 -33
  175. package/dist/v2/{server-bfct1yvb.js → server-z2nv8jdv.js} +41 -21
  176. package/dist/v2/{server-6aj72z52.js → server-z5cv5wm5.js} +10 -10
  177. package/dist/v2/{server-5016ccyn.js → server-zemnpv92.js} +4 -4
  178. package/dist/v2/server.js +9 -9
  179. package/dist/v2/{storage-tags-y20j3jdp.js → storage-tags-pcenytad.js} +7 -7
  180. package/dist/v2/{store-b95snz31.js → store-gx19qc3a.js} +3 -3
  181. package/dist/v2/{v2-archive-reader-q92kwkr5.js → v2-archive-reader-jqrwz7b8.js} +1 -1
  182. package/dist/v2/{wrapup-orchestrator-ydqkxkhj.js → wrapup-orchestrator-kcq3cv7y.js} +34 -34
  183. package/dist/{v2-archive-reader-x62hsr4c.js → v2-archive-reader-64h2gtam.js} +1 -1
  184. package/dist/wrapup-orchestrator-knyac7jp.js +56 -0
  185. package/package.json +1 -1
  186. package/src/config/index.test.ts +23 -5
  187. package/src/config/live-run-config.test.ts +7 -7
  188. package/src/config/removed-agent-config.ts +14 -1
  189. package/src/config/schema/magic-context.ts +5 -1
  190. package/src/shared/host-sqlite-runtime.test.ts +21 -0
  191. package/src/shared/host-sqlite-runtime.ts +32 -0
  192. package/src/shared/redaction.test.ts +11 -8
  193. package/src/shared/redaction.ts +5 -1
  194. package/dist/embedding-backfill-wdrqkw09.js +0 -29
  195. package/dist/render-g45k3gts.js +0 -43
  196. package/dist/v2/embedding-backfill-gveter8p.js +0 -29
  197. package/dist/v2/recomp-orchestrator-k4cj62f2.js +0 -69
  198. package/dist/v2/render-ys7a3zks.js +0 -43
  199. package/dist/wrapup-orchestrator-kt81d6et.js +0 -56
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  sanitizeDiagnosticText,
6
6
  sanitizeConfigValue
7
- } from "./server-z4p0ry94.js";
7
+ } from "./server-dt7cyqfe.js";
8
8
 
9
9
  // src/shared/logger.ts
10
10
  import * as fs from "node:fs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getMagicContextStorageDir,
3
3
  log2
4
- } from "./server-j8376q08.js";
4
+ } from "./server-kzrrdjp5.js";
5
5
  import {
6
6
  writeStorageFileAtomicSync
7
- } from "./server-0tv6kytx.js";
7
+ } from "./server-n34vzyfm.js";
8
8
  import {
9
9
  inRootAsyncContext2
10
10
  } from "./server-gzy5w8ya.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isPidAlive
3
- } from "./server-jdfe07mp.js";
3
+ } from "./server-2wz6y46g.js";
4
4
 
5
5
  // src/shared/storage-permissions.ts
6
6
  import { randomBytes } from "node:crypto";
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  sanitizeDiagnosticText
3
- } from "./server-z4p0ry94.js";
3
+ } from "./server-dt7cyqfe.js";
4
4
  import {
5
5
  PROMOTABLE_CATEGORIES,
6
6
  CATEGORY_DEFAULT_TTL
7
7
  } from "./server-fr0wbhdn.js";
8
8
  import {
9
9
  DEFAULT_LOCAL_EMBEDDING_MODEL
10
- } from "./server-e6xneh68.js";
10
+ } from "./server-arfzfxe8.js";
11
11
  import {
12
12
  sessionLog2
13
- } from "./server-j8376q08.js";
13
+ } from "./server-kzrrdjp5.js";
14
14
  import {
15
15
  isSynapseEmbeddingTruncated,
16
16
  SynapseEmbeddingProvider
17
- } from "./server-xepfjgv5.js";
17
+ } from "./server-k3ntgf6n.js";
18
18
  import {
19
19
  LocalEmbeddingProvider
20
- } from "./server-qy58c11s.js";
20
+ } from "./server-7h4gwphm.js";
21
21
  import {
22
22
  OpenAICompatibleEmbeddingProvider,
23
23
  embedTextForProject2
24
- } from "./server-6aj72z52.js";
24
+ } from "./server-z5cv5wm5.js";
25
25
  import {
26
26
  saveEmbeddingIfHashMatches
27
27
  } from "./server-qjwpqvnf.js";
@@ -2,29 +2,29 @@ import {
2
2
  withMessageFtsSessionFilter,
3
3
  liveTailRangeTouchesUnresolvedCoverage,
4
4
  rangeHasHiddenMessages
5
- } from "./server-y0pd600x.js";
5
+ } from "./server-j1gxs1gj.js";
6
6
  import {
7
7
  getSqliteDatabasePath2
8
8
  } from "./server-gzy5w8ya.js";
9
9
  import {
10
10
  runSessionWarmupWorker
11
- } from "./server-6ash6z8z.js";
11
+ } from "./server-av3p9c8k.js";
12
12
  import {
13
13
  estimateTokens
14
- } from "./server-qb3s0mnc.js";
14
+ } from "./server-73bqw5c0.js";
15
15
  import {
16
16
  openCodeDbExists,
17
17
  withReadOnlySessionDb
18
- } from "./server-5hwf5c7r.js";
18
+ } from "./server-bx5k66qc.js";
19
19
  import {
20
20
  hasRawMessageProvider2,
21
21
  rawMessageWorkerSource2,
22
22
  rawMessageOffThreadRangeReader2,
23
23
  readRawSessionMessageIdOrdinalsForRange2
24
- } from "./server-s81b3nct.js";
24
+ } from "./server-db91dxwc.js";
25
25
  import {
26
26
  readV2ArchiveOffThread2
27
- } from "./server-vbr1rdkg.js";
27
+ } from "./server-ppy2dj7g.js";
28
28
 
29
29
  // src/tools/ctx-expand/search-archive.ts
30
30
  var archiveReadsOnThisThread = 0;
@@ -138,10 +138,10 @@ async function serveV2ArchiveReads2(port, openConnections) {
138
138
  ] = await Promise.all([
139
139
  import("./sqlite-zdgm52sv.js"),
140
140
  import("./store-reader-qt2msa8z.js"),
141
- import("./store-b95snz31.js"),
142
- import("./read-session-chunk-cvgsfsgr.js"),
143
- import("./render-ys7a3zks.js"),
144
- import("./search-archive-k2yh0jj3.js"),
141
+ import("./store-gx19qc3a.js"),
142
+ import("./read-session-chunk-8tn2dbn1.js"),
143
+ import("./render-7t5d7hkv.js"),
144
+ import("./search-archive-5dpxv0ck.js"),
145
145
  import("./expand-attachments-h33jbgyz.js")
146
146
  ]);
147
147
  const pool = new V2StoreReaderPool;
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  getMagicContextStorageDir,
6
6
  sessionLog2
7
- } from "./server-j8376q08.js";
7
+ } from "./server-kzrrdjp5.js";
8
8
  import {
9
9
  writeStorageFileAtomicSync
10
- } from "./server-0tv6kytx.js";
10
+ } from "./server-n34vzyfm.js";
11
11
  import {
12
12
  modelRefLookupOrder
13
13
  } from "./server-avwt563y.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  log2
3
- } from "./server-j8376q08.js";
3
+ } from "./server-kzrrdjp5.js";
4
4
  import {
5
5
  getSdkWindowGeometry,
6
6
  getSdkContextLimit,
7
7
  getSdkInputLimit
8
- } from "./server-96nm9vk4.js";
8
+ } from "./server-rr5c0xcg.js";
9
9
  import {
10
10
  localBudget,
11
11
  calibrationForModelKey
@@ -6,19 +6,19 @@ import {
6
6
  removeNestedBlocks,
7
7
  hasMeaningfulUserText2,
8
8
  extractTexts2
9
- } from "./server-qb3s0mnc.js";
9
+ } from "./server-73bqw5c0.js";
10
10
  import {
11
11
  cleanUserText2
12
- } from "./server-s81b3nct.js";
12
+ } from "./server-db91dxwc.js";
13
13
  import {
14
14
  recordMessageFtsRowid2,
15
15
  recordIndexedMessageTime2,
16
16
  messageFtsOrdinalRangeIsMapped2,
17
17
  deleteUnmappedMessageFtsRows2
18
- } from "./server-ds8vpfkr.js";
18
+ } from "./server-40vdz8sf.js";
19
19
  import {
20
20
  logSlowWriteTransaction
21
- } from "./server-5sbsnpkn.js";
21
+ } from "./server-tq523gj6.js";
22
22
 
23
23
  // src/features/magic-context/compression-depth-storage.ts
24
24
  var incrementDepthStatements = new WeakMap;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  log2
3
- } from "./server-j8376q08.js";
3
+ } from "./server-kzrrdjp5.js";
4
4
 
5
5
  // src/shared/write-transaction-timing.ts
6
6
  var SLOW_WRITE_TRANSACTION_THRESHOLD_MS = 1000;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  log2
3
- } from "./server-j8376q08.js";
3
+ } from "./server-kzrrdjp5.js";
4
4
  import {
5
5
  setOutputReserveConfig
6
- } from "./server-96nm9vk4.js";
6
+ } from "./server-rr5c0xcg.js";
7
7
  import {
8
8
  isCompactionEnabled,
9
9
  migrateLegacyAgentEnabledInMemory,
@@ -17,7 +17,7 @@ import {
17
17
  PER_HARNESS_MODEL_KEYS,
18
18
  ConfigProfilesSchema,
19
19
  MagicContextConfigSchema
20
- } from "./server-e6xneh68.js";
20
+ } from "./server-arfzfxe8.js";
21
21
 
22
22
  // src/config/index.ts
23
23
  import { existsSync as existsSync4 } from "node:fs";
@@ -3255,6 +3255,7 @@ function loadRawConfigFile(options) {
3255
3255
 
3256
3256
  // src/config/removed-agent-config.ts
3257
3257
  var REMOVED_AGENT_CONFIG_KEY = "sidekick";
3258
+ var REMOVED_DREAMER_KEYS = ["prompt", "tools", "permission"];
3258
3259
  var REMOVED_AGENT_CONFIG_WARNING = `The "${REMOVED_AGENT_CONFIG_KEY}" configuration was removed and is ignored.`;
3259
3260
  function isPlainObject3(value) {
3260
3261
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -3284,6 +3285,19 @@ function stripRemovedAgentConfig(rawConfig, warnings) {
3284
3285
  if (removed && !warnings.includes(REMOVED_AGENT_CONFIG_WARNING)) {
3285
3286
  warnings.push(REMOVED_AGENT_CONFIG_WARNING);
3286
3287
  }
3288
+ if (isPlainObject3(patched.dreamer)) {
3289
+ const dreamer = { ...patched.dreamer };
3290
+ for (const key of REMOVED_DREAMER_KEYS) {
3291
+ if (!Object.hasOwn(dreamer, key))
3292
+ continue;
3293
+ delete dreamer[key];
3294
+ removed = true;
3295
+ const warning = `dreamer.${key} has no effect; remove it from your settings.`;
3296
+ if (!warnings.includes(warning))
3297
+ warnings.push(warning);
3298
+ }
3299
+ patched.dreamer = dreamer;
3300
+ }
3287
3301
  return removed ? patched : rawConfig;
3288
3302
  }
3289
3303
 
@@ -10,7 +10,7 @@ import {
10
10
  getMagicContextStorageDir,
11
11
  log2,
12
12
  sessionLog2
13
- } from "./server-j8376q08.js";
13
+ } from "./server-kzrrdjp5.js";
14
14
  import {
15
15
  prepareCachedStatement2,
16
16
  withSqliteBackgroundWriter2,
@@ -18,14 +18,14 @@ import {
18
18
  } from "./server-gzy5w8ya.js";
19
19
  import {
20
20
  deleteUnmappedMessageFtsRows2
21
- } from "./server-ds8vpfkr.js";
21
+ } from "./server-40vdz8sf.js";
22
22
  import {
23
23
  deleteChunkEmbedBackoffForSession2
24
- } from "./server-5016ccyn.js";
24
+ } from "./server-zemnpv92.js";
25
25
  import {
26
26
  isPidAlive,
27
27
  readProcessStartTime
28
- } from "./server-jdfe07mp.js";
28
+ } from "./server-2wz6y46g.js";
29
29
  import {
30
30
  CACHED_TRIM_PARTIAL_SQL,
31
31
  SESSION_META_SELECT_COLUMNS,
@@ -58,7 +58,7 @@ import {
58
58
  getPendingPiCompactionMarkerState,
59
59
  logPiCompactionMarkerClear,
60
60
  isPrefixBoundThinkingModel
61
- } from "./server-gj259dqy.js";
61
+ } from "./server-11ra1pmx.js";
62
62
  import {
63
63
  BoundedSessionMap,
64
64
  getTableColumnNames,
@@ -68,21 +68,21 @@ import {
68
68
  tagRevisionKey,
69
69
  tagIdentityRevisionKey,
70
70
  deleteTagIdentityRevisions
71
- } from "./server-qntmqaca.js";
71
+ } from "./server-4yrvbnnm.js";
72
72
  import {
73
73
  withReadOnlySessionDb
74
- } from "./server-5hwf5c7r.js";
74
+ } from "./server-bx5k66qc.js";
75
75
  import {
76
76
  layoutLkgPrefix,
77
77
  assembleLkgPrefix
78
- } from "./server-jkj1dq6j.js";
78
+ } from "./server-2sare4qg.js";
79
79
  import {
80
80
  ensurePrivateStorageDirectorySync,
81
81
  writeStorageFileSync,
82
82
  writeStorageFileAtomicSync,
83
83
  syncStorageDirectorySync,
84
84
  writeStorageFileDurableAtomicSync
85
- } from "./server-0tv6kytx.js";
85
+ } from "./server-n34vzyfm.js";
86
86
  import {
87
87
  gaDatabasePath2,
88
88
  V2StoreReader2
@@ -99,7 +99,7 @@ import {
99
99
  } from "./server-avwt563y.js";
100
100
  import {
101
101
  logSlowWriteTransaction
102
- } from "./server-5sbsnpkn.js";
102
+ } from "./server-tq523gj6.js";
103
103
 
104
104
  // src/features/magic-context/compartment-lease.ts
105
105
  var COMPARTMENT_LEASE_TTL_MS = 5 * 60 * 1000;
@@ -13,7 +13,7 @@ import {
13
13
  } from "./server-gzy5w8ya.js";
14
14
  import {
15
15
  scheduleAfterBootQuiet
16
- } from "./server-1rrmxhd1.js";
16
+ } from "./server-n33hyq9t.js";
17
17
  import {
18
18
  getHarness2,
19
19
  harnessOwnsOpenCodeStore2
@@ -24,7 +24,7 @@ import {
24
24
  importPluginModule,
25
25
  writeForwardedLogLine2,
26
26
  log2
27
- } from "./server-j8376q08.js";
27
+ } from "./server-kzrrdjp5.js";
28
28
  import {
29
29
  isOwnRpcServerRecord,
30
30
  isPidAlive,
@@ -35,7 +35,7 @@ import {
35
35
  parseRpcPortFile,
36
36
  inspectProcessesAsync,
37
37
  inspectWindowsProcessesSync
38
- } from "./server-jdfe07mp.js";
38
+ } from "./server-2wz6y46g.js";
39
39
  import {
40
40
  configureContextDatabasePragmas2
41
41
  } from "./server-fb3zxn06.js";
@@ -46,16 +46,16 @@ import {
46
46
  copyStorageFileSync,
47
47
  copyStorageTreeSync,
48
48
  tightenStorageTreeSync
49
- } from "./server-0tv6kytx.js";
49
+ } from "./server-n34vzyfm.js";
50
50
  import {
51
51
  attachFailClosedBlockingProcessEvidence
52
- } from "./server-39bcszk4.js";
52
+ } from "./server-2qvnr3t7.js";
53
53
  import {
54
54
  reuseWorker
55
55
  } from "./server-96ztjvkn.js";
56
56
  import {
57
57
  startMessageFtsRowidMapBackfill2
58
- } from "./server-ds8vpfkr.js";
58
+ } from "./server-40vdz8sf.js";
59
59
  import {
60
60
  LKG_SLOT_CHUNKS_DDL,
61
61
  SESSION_REPLAY_DECISIONS_DDL,
@@ -65,14 +65,14 @@ import {
65
65
  hasPendingMigrations,
66
66
  getMainThreadMigrationBodyCount,
67
67
  runMigrations
68
- } from "./server-jkj1dq6j.js";
68
+ } from "./server-2sare4qg.js";
69
69
  import {
70
70
  ensureColumn,
71
71
  setDatabase,
72
72
  loadToolDefinitionMeasurements,
73
73
  installV95PerfSchema,
74
74
  installTagIdentityRevisionTrigger
75
- } from "./server-qntmqaca.js";
75
+ } from "./server-4yrvbnnm.js";
76
76
  import {
77
77
  resolveOpenCodeDbPath,
78
78
  hasV1MessageTables
@@ -85,7 +85,7 @@ import {
85
85
  } from "./server-8ajstryz.js";
86
86
  import {
87
87
  logSlowWriteTransaction
88
- } from "./server-5sbsnpkn.js";
88
+ } from "./server-tq523gj6.js";
89
89
 
90
90
  // src/features/magic-context/storage-db.ts
91
91
  import {
@@ -1084,8 +1084,8 @@ function finishDatabaseOpen(db, dbPath, explicitDbPath, latestSupportedVersion)
1084
1084
  state.running = startMessageFtsRowidMapBackfill2(db, signal).then(async () => {
1085
1085
  if (signal.aborted || !readsOpenCodeStore)
1086
1086
  return;
1087
- const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-cvgsfsgr.js"));
1088
- const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-ynb3vg6r.js"));
1087
+ const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-8tn2dbn1.js"));
1088
+ const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-yj773saf.js"));
1089
1089
  if (signal.aborted)
1090
1090
  return;
1091
1091
  await startMessageTimeBackfill(db, Object.assign(readRawSessionMessages, {