@cortexkit/opencode-magic-context 0.49.83 → 0.49.85
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-p41dde4h.js → announcement-fnyxaahs.js} +3 -1
- package/dist/auto-search-worker.js +3 -3
- package/dist/chunk-embedding-write-worker.js +5 -4
- package/dist/{context-xmyke353.js → context-bjfwzbts.js} +314 -107
- package/dist/{derive-budgets-2z6xxm7e.js → derive-budgets-90869322.js} +3 -1
- package/dist/{embedding-backfill-k994xdas.js → embedding-backfill-v6sw58m8.js} +7 -5
- package/dist/embedding-worker.js +15 -27
- package/dist/features/magic-context/memory/embedding-worker-boundary.test-support.d.ts +24 -0
- package/dist/features/magic-context/memory/embedding-worker-boundary.test-support.d.ts.map +1 -0
- package/dist/features/magic-context/memory/embedding-worker-client.d.ts +35 -1
- package/dist/features/magic-context/memory/embedding-worker-client.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-worker-loop.d.ts +57 -0
- package/dist/features/magic-context/memory/embedding-worker-loop.d.ts.map +1 -0
- package/dist/features/magic-context/mural/render-trigger.d.ts +3 -3
- package/dist/features/magic-context/mural/render-trigger.d.ts.map +1 -1
- package/dist/features/magic-context/project-embedding-registry.d.ts +6 -1
- package/dist/features/magic-context/project-embedding-registry.d.ts.map +1 -1
- package/dist/features/magic-context/storage-db.d.ts.map +1 -1
- package/dist/hooks/magic-context/inject-compartments.d.ts.map +1 -1
- package/dist/hooks/magic-context/lkg-recovery-fence.d.ts.map +1 -1
- package/dist/{index-zzvd4a9z.js → index-05bm2ndp.js} +1 -1
- package/dist/{index-93rezfvc.js → index-08jfpny9.js} +37 -6
- package/dist/{index-dg5jvh9r.js → index-0rge5rkh.js} +8 -8
- package/dist/{index-2xhzmwf6.js → index-1pf5qrx4.js} +5 -5
- package/dist/{index-e21n48yd.js → index-1y4y98r1.js} +23 -0
- package/dist/{index-98qy103c.js → index-2kf73btc.js} +1 -1
- package/dist/{index-vpw46557.js → index-3dtzyred.js} +1 -1
- package/dist/{index-bd34njzg.js → index-4ntnt8ee.js} +1 -1
- package/dist/{index-w2wpx7t5.js → index-4w5rx7de.js} +1 -1
- package/dist/{index-twmeey4h.js → index-70cv85b0.js} +2 -2
- package/dist/{index-rnyaa7cj.js → index-798s7c8s.js} +2 -2
- package/dist/{index-2q0t43fy.js → index-7j2zv9nm.js} +1 -1
- package/dist/{index-fpqdbb67.js → index-7svecf3m.js} +3 -3
- package/dist/{index-eptthgkw.js → index-9fsxmjs6.js} +5 -5
- package/dist/{v2/server-fvnzcnww.js → index-c5tmzym6.js} +192 -11
- package/dist/{index-w8dcjt7f.js → index-k0tb2z28.js} +1 -1
- package/dist/{index-zb4h9nrk.js → index-k50xhjw1.js} +202 -14
- package/dist/{index-hz1xdb15.js → index-kqnef2tg.js} +4 -4
- package/dist/{index-2ygw6q5s.js → index-nny4gm06.js} +2 -2
- package/dist/{index-fgy6hnr3.js → index-pw279hmt.js} +2 -2
- package/dist/{index-eyk7msgw.js → index-qvn3q9f1.js} +41 -41
- package/dist/{index-shpyv8gq.js → index-s8ks5nz4.js} +16 -9
- package/dist/{index-wxxcfpxh.js → index-sbr58jaf.js} +8 -8
- package/dist/{index-b2787fk6.js → index-tzbcb8yt.js} +36 -20
- package/dist/{index-x8qgqnym.js → index-w6v4dw5f.js} +25 -25
- package/dist/{index-zvane1rq.js → index-xccywqdj.js} +16 -16
- package/dist/{index-y208s7zx.js → index-xrnhxkz7.js} +6 -1
- package/dist/{index-tky3j43e.js → index-zmqx48vt.js} +58 -14
- package/dist/index.js +37 -37
- package/dist/{message-index-bounded-cfkeyf72.js → message-index-bounded-6fr624zf.js} +3 -3
- package/dist/migration-worker.js +4 -3
- package/dist/{project-embedding-registry-y3z36mjy.js → project-embedding-registry-q80scexh.js} +6 -4
- package/dist/raw-ordinal-warmup-worker.js +4 -4
- package/dist/{read-session-chunk-s3qac56g.js → read-session-chunk-6wedfths.js} +2 -2
- package/dist/{recomp-orchestrator-fjdp3t1d.js → recomp-orchestrator-xzs0a455.js} +19 -18
- package/dist/{render-c9fjwrad.js → render-yqp7q79f.js} +12 -11
- package/dist/{search-archive-s2jas2jb.js → search-archive-r4h96j2z.js} +4 -4
- package/dist/{search-1jejx5cx.js → search-ztgy3ya6.js} +15 -13
- package/dist/shared/models-dev-cache.d.ts +6 -1
- package/dist/shared/models-dev-cache.d.ts.map +1 -1
- package/dist/shared/storage-file-mutex.d.ts.map +1 -1
- package/dist/shared/storage-permissions.d.ts +5 -3
- package/dist/shared/storage-permissions.d.ts.map +1 -1
- package/dist/shared/test-git-env.d.ts +3 -0
- package/dist/shared/test-git-env.d.ts.map +1 -0
- package/dist/{storage-tags-6e83pvff.js → storage-tags-y2mrb8e6.js} +1 -1
- package/dist/{store-ggrq9e14.js → store-n4yz3n66.js} +2 -2
- package/dist/{store-reader-tr64nxyy.js → store-reader-nf8z86n9.js} +1 -1
- package/dist/{transform-postprocess-phase-p2egg02g.js → transform-postprocess-phase-39a5hm2a.js} +20 -19
- package/dist/v2/auto-search-worker.js +3 -3
- package/dist/v2/chunk-embedding-write-worker.js +6 -5
- package/dist/v2/{context-zn18k0yk.js → context-k2rrqzf4.js} +446 -248
- package/dist/v2/{derive-budgets-2eam671q.js → derive-budgets-ecjy1aqh.js} +4 -2
- package/dist/v2/{embedding-backfill-hjvjxp7d.js → embedding-backfill-k8kqnwfq.js} +7 -5
- package/dist/v2/embedding-worker.js +15 -27
- package/dist/v2/fold/restore.d.ts.map +1 -1
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/revert-message-state.d.ts +12 -0
- package/dist/v2/hooks/revert-message-state.d.ts.map +1 -0
- package/dist/v2/hooks/storage-notice.d.ts +12 -6
- package/dist/v2/hooks/storage-notice.d.ts.map +1 -1
- package/dist/v2/{message-index-bounded-0xy4dn04.js → message-index-bounded-jqy7283g.js} +4 -4
- package/dist/v2/migration-worker.js +5 -4
- package/dist/v2/{project-embedding-registry-mzsvyads.js → project-embedding-registry-2jp1antr.js} +6 -4
- package/dist/v2/raw-ordinal-warmup-worker.js +4 -4
- package/dist/v2/{read-session-chunk-6mt2t6dy.js → read-session-chunk-n3nhfvd7.js} +3 -3
- package/dist/v2/{recomp-orchestrator-jn39mxh0.js → recomp-orchestrator-jnbxbsc8.js} +21 -20
- package/dist/v2/{render-q2aj9bgy.js → render-fezgh7pa.js} +13 -12
- package/dist/v2/{search-archive-fj59gjv1.js → search-archive-zz1kza50.js} +5 -5
- package/dist/v2/{search-9xn6ds9x.js → search-h5w7510x.js} +15 -13
- package/dist/v2/{server-2gcfmd47.js → server-2k8tkbhz.js} +2 -2
- package/dist/v2/{server-4z964n1c.js → server-3p6b0qya.js} +1 -1
- package/dist/v2/{server-c8mqs0v5.js → server-4wwwm2ya.js} +32 -32
- package/dist/v2/{server-1cn3kryt.js → server-97w51d8n.js} +5 -5
- package/dist/v2/{server-gx1s06dx.js → server-98hsp35q.js} +2 -2
- package/dist/v2/{server-xepx8t43.js → server-a2f1bhyj.js} +1 -1
- package/dist/v2/{server-r00xyx66.js → server-ap81bk3c.js} +28 -28
- package/dist/v2/{server-d706s5xn.js → server-b93f0bqh.js} +205 -17
- package/dist/v2/{server-2w1rdttn.js → server-brgandk4.js} +2 -2
- package/dist/v2/{server-rp52f40v.js → server-cwtehwbb.js} +1 -1
- package/dist/v2/{server-bj779zmp.js → server-e2k9mt86.js} +1 -1
- package/dist/v2/{server-68q80y27.js → server-hn8b7sfe.js} +16 -9
- package/dist/v2/{server-pejjj0nv.js → server-mbkwcwgw.js} +1 -1
- package/dist/v2/{server-g1a0nhtk.js → server-n5zr7190.js} +18 -18
- package/dist/v2/{server-2ktxmtbd.js → server-ps6rz88g.js} +2 -2
- package/dist/v2/{server-5yfq912a.js → server-qyazxy92.js} +23 -0
- package/dist/{index-fvnzcnww.js → v2/server-r2es6zt7.js} +192 -11
- package/dist/v2/{server-bt546axy.js → server-rz4snd3x.js} +3 -3
- package/dist/v2/{server-xdh4r20h.js → server-s15knz0w.js} +642 -627
- package/dist/v2/{server-vt6nj2hn.js → server-s76ty4ws.js} +41 -25
- package/dist/v2/{server-0dmzr7f9.js → server-sxfbjdye.js} +2 -2
- package/dist/v2/{server-569he5mh.js → server-w7mpvkpj.js} +1 -1
- package/dist/v2/{server-53n8hv5q.js → server-x77hd658.js} +8 -8
- package/dist/v2/{server-nqdzv8b7.js → server-xa8fefhw.js} +58 -14
- package/dist/v2/{server-1efjj215.js → server-ytqps2xa.js} +37 -6
- package/dist/v2/server.js +6 -4
- package/dist/v2/{storage-tags-z8j8wq34.js → storage-tags-xq81zgt2.js} +2 -2
- package/dist/v2/{store-reader-83tka051.js → store-reader-2vhx33n6.js} +1 -1
- package/dist/v2/store-reader.d.ts +11 -0
- package/dist/v2/store-reader.d.ts.map +1 -1
- package/dist/v2/{store-qdgzd38f.js → store-y56y034s.js} +2 -2
- package/dist/v2/{v2-archive-reader-9z8z97db.js → v2-archive-reader-e2w39c3p.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-vd5zfp3v.js → wrapup-orchestrator-mmje3etf.js} +20 -19
- package/dist/{v2-archive-reader-r0xpxsb1.js → v2-archive-reader-8dsngf2j.js} +1 -1
- package/dist/{wrapup-orchestrator-k29zqfp9.js → wrapup-orchestrator-sm6pwf3p.js} +20 -19
- package/package.json +1 -1
- package/src/shared/models-dev-cache.ts +90 -21
- package/src/shared/reusable-worker.test.ts +31 -29
- package/src/shared/sqlite.test.ts +19 -6
- package/src/shared/storage-file-mutex-review.test.ts +125 -2
- package/src/shared/storage-file-mutex.ts +17 -8
- package/src/shared/storage-permissions-creators.test.ts +194 -0
- package/src/shared/storage-permissions-startup.test.ts +476 -0
- package/src/shared/storage-permissions.ts +227 -12
- package/src/shared/test-db.test.ts +5 -3
- package/src/shared/test-git-env.test.ts +38 -0
- package/src/shared/test-git-env.ts +10 -0
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-7j2zv9nm.js";
|
|
8
8
|
import {
|
|
9
9
|
setHarness2
|
|
10
10
|
} from "./index-pavzsdc6.js";
|
|
@@ -58,8 +58,15 @@ import {
|
|
|
58
58
|
checkCompactionMarkerConsistency,
|
|
59
59
|
clearInjectionCache,
|
|
60
60
|
clearNoteNudgeTriggerOnly
|
|
61
|
-
} from "./index-
|
|
61
|
+
} from "./index-tzbcb8yt.js";
|
|
62
62
|
import"./index-sd3egckz.js";
|
|
63
|
+
import"./index-gqf8r04r.js";
|
|
64
|
+
import {
|
|
65
|
+
setStoragePrivatePermissionEnforcement,
|
|
66
|
+
ensureStorageDirectorySync,
|
|
67
|
+
writeStorageFileSync,
|
|
68
|
+
writeStorageFileAtomicSync
|
|
69
|
+
} from "./index-c5tmzym6.js";
|
|
63
70
|
import {
|
|
64
71
|
hasTrustedAbsoluteWall,
|
|
65
72
|
refreshModelLimitsFromApi,
|
|
@@ -68,7 +75,7 @@ import {
|
|
|
68
75
|
deriveHistorianChunkTokens2,
|
|
69
76
|
resolveKnownHistorianContextLimit2,
|
|
70
77
|
resolveHistorianContextLimit2
|
|
71
|
-
} from "./index-
|
|
78
|
+
} from "./index-zmqx48vt.js";
|
|
72
79
|
import {
|
|
73
80
|
buildDreamTaskRuntimeConfigs2,
|
|
74
81
|
userMemoryCollectionEnabled2,
|
|
@@ -145,7 +152,7 @@ import {
|
|
|
145
152
|
parameterDescriptionsFor,
|
|
146
153
|
MagicContextRpcServer,
|
|
147
154
|
applyHiddenSubagentTemperature
|
|
148
|
-
} from "./index-
|
|
155
|
+
} from "./index-qvn3q9f1.js";
|
|
149
156
|
import {
|
|
150
157
|
resolveOpenCodeDbPath,
|
|
151
158
|
openCodeDbPathExists,
|
|
@@ -172,7 +179,7 @@ import {
|
|
|
172
179
|
beginBootQuietPeriod,
|
|
173
180
|
bootQuietRemainingMs,
|
|
174
181
|
scheduleAfterBootQuiet
|
|
175
|
-
} from "./index-
|
|
182
|
+
} from "./index-7svecf3m.js";
|
|
176
183
|
import {
|
|
177
184
|
BoundedSessionMap,
|
|
178
185
|
deleteTemporalDecision,
|
|
@@ -197,11 +204,10 @@ import {
|
|
|
197
204
|
dropServedRecord,
|
|
198
205
|
registerLkgPersistence,
|
|
199
206
|
dropSlot
|
|
200
|
-
} from "./index-
|
|
207
|
+
} from "./index-w6v4dw5f.js";
|
|
201
208
|
import {
|
|
202
209
|
recordSessionProjectIdentity
|
|
203
|
-
} from "./index-
|
|
204
|
-
import"./index-gqf8r04r.js";
|
|
210
|
+
} from "./index-3dtzyred.js";
|
|
205
211
|
import"./index-fb3zxn06.js";
|
|
206
212
|
import {
|
|
207
213
|
startBootDeadline,
|
|
@@ -212,7 +218,7 @@ import {
|
|
|
212
218
|
openDatabaseAsync,
|
|
213
219
|
isDatabasePersisted,
|
|
214
220
|
getDatabasePersistenceError
|
|
215
|
-
} from "./index-
|
|
221
|
+
} from "./index-xccywqdj.js";
|
|
216
222
|
import {
|
|
217
223
|
registerExitAbort,
|
|
218
224
|
unregisterExitAbort
|
|
@@ -223,7 +229,7 @@ import {
|
|
|
223
229
|
forgetRawSessionOrdinalWatermark2
|
|
224
230
|
} from "./index-q7q6qp1f.js";
|
|
225
231
|
import"./index-s32f8y67.js";
|
|
226
|
-
import"./index-
|
|
232
|
+
import"./index-4w5rx7de.js";
|
|
227
233
|
import"./index-fr0wbhdn.js";
|
|
228
234
|
import {
|
|
229
235
|
preloadTokenizer
|
|
@@ -232,7 +238,7 @@ import"./index-pxnzyvjc.js";
|
|
|
232
238
|
import {
|
|
233
239
|
getDefaultSubcConnectionFile,
|
|
234
240
|
SubcModuleTransport
|
|
235
|
-
} from "./index-
|
|
241
|
+
} from "./index-0rge5rkh.js";
|
|
236
242
|
import"./index-qt1qqasc.js";
|
|
237
243
|
import"./index-e6ncz7a6.js";
|
|
238
244
|
import {
|
|
@@ -282,7 +288,7 @@ import {
|
|
|
282
288
|
isAnthropicFamilyRoute,
|
|
283
289
|
deleteTagsByMessageId2,
|
|
284
290
|
getMaxTagNumberBySession2
|
|
285
|
-
} from "./index-
|
|
291
|
+
} from "./index-xrnhxkz7.js";
|
|
286
292
|
import {
|
|
287
293
|
resolveHistorianModel2,
|
|
288
294
|
resolveOpenCodeAgentOverrides2,
|
|
@@ -295,19 +301,19 @@ import {
|
|
|
295
301
|
import"./index-snbpdpa3.js";
|
|
296
302
|
import {
|
|
297
303
|
deleteIndexedMessage
|
|
298
|
-
} from "./index-
|
|
299
|
-
import"./index-
|
|
300
|
-
import"./index-
|
|
304
|
+
} from "./index-05bm2ndp.js";
|
|
305
|
+
import"./index-1y4y98r1.js";
|
|
306
|
+
import"./index-4ntnt8ee.js";
|
|
301
307
|
import {
|
|
302
308
|
pushNotification2
|
|
303
309
|
} from "./index-fzgyvsb1.js";
|
|
304
|
-
import"./index-
|
|
310
|
+
import"./index-k50xhjw1.js";
|
|
305
311
|
import {
|
|
306
312
|
getEmbeddingCoverageStatus2
|
|
307
|
-
} from "./index-
|
|
313
|
+
} from "./index-s8ks5nz4.js";
|
|
308
314
|
import"./index-4dhv7mqz.js";
|
|
309
|
-
import"./index-
|
|
310
|
-
import"./index-
|
|
315
|
+
import"./index-pw279hmt.js";
|
|
316
|
+
import"./index-k0tb2z28.js";
|
|
311
317
|
import"./index-jjvbk92s.js";
|
|
312
318
|
import"./index-832w615x.js";
|
|
313
319
|
import {
|
|
@@ -319,25 +325,25 @@ import {
|
|
|
319
325
|
armBindingRecoverySafely,
|
|
320
326
|
collectForeignTextParts,
|
|
321
327
|
resetDegradedCacheCount2
|
|
322
|
-
} from "./index-
|
|
328
|
+
} from "./index-sbr58jaf.js";
|
|
323
329
|
import {
|
|
324
330
|
scheduleClearAndReindex
|
|
325
|
-
} from "./index-
|
|
331
|
+
} from "./index-798s7c8s.js";
|
|
326
332
|
import {
|
|
327
333
|
runManagedRecomp2
|
|
328
|
-
} from "./index-
|
|
334
|
+
} from "./index-kqnef2tg.js";
|
|
329
335
|
import {
|
|
330
336
|
isValidSemver,
|
|
331
337
|
compareSemverCore
|
|
332
|
-
} from "./index-
|
|
338
|
+
} from "./index-2kf73btc.js";
|
|
333
339
|
import"./index-fmsr7v69.js";
|
|
334
340
|
import {
|
|
335
341
|
runManagedWrapup2
|
|
336
|
-
} from "./index-
|
|
337
|
-
import"./index-
|
|
342
|
+
} from "./index-9fsxmjs6.js";
|
|
343
|
+
import"./index-70cv85b0.js";
|
|
338
344
|
import"./index-52x68mj4.js";
|
|
339
|
-
import"./index-
|
|
340
|
-
import"./index-
|
|
345
|
+
import"./index-1pf5qrx4.js";
|
|
346
|
+
import"./index-nny4gm06.js";
|
|
341
347
|
import {
|
|
342
348
|
isDreamerRunnable,
|
|
343
349
|
isSmartNoteSurfaceAvailable,
|
|
@@ -358,12 +364,6 @@ import {
|
|
|
358
364
|
closeQuietly
|
|
359
365
|
} from "./index-8ajstryz.js";
|
|
360
366
|
import"./index-m0pwswv9.js";
|
|
361
|
-
import {
|
|
362
|
-
setStoragePrivatePermissionEnforcement,
|
|
363
|
-
ensureStorageDirectorySync,
|
|
364
|
-
writeStorageFileSync,
|
|
365
|
-
writeStorageFileAtomicSync
|
|
366
|
-
} from "./index-fvnzcnww.js";
|
|
367
367
|
|
|
368
368
|
// ../../node_modules/.bun/esprima@4.0.1/node_modules/esprima/dist/esprima.js
|
|
369
369
|
var require_esprima = __commonJS(function(exports, module) {
|
|
@@ -8205,7 +8205,7 @@ var require_src2 = __commonJS(function(exports, module) {
|
|
|
8205
8205
|
// package.json
|
|
8206
8206
|
var package_default = {
|
|
8207
8207
|
name: "@cortexkit/opencode-magic-context",
|
|
8208
|
-
version: "0.49.
|
|
8208
|
+
version: "0.49.85",
|
|
8209
8209
|
type: "module",
|
|
8210
8210
|
description: "OpenCode plugin for Magic Context — cross-session memory and context management",
|
|
8211
8211
|
main: "dist/index.js",
|
|
@@ -12085,7 +12085,7 @@ async function setup(context) {
|
|
|
12085
12085
|
if (claimStorageBackupWarningCheck() && isMagicContextStorageOutsideEngram(storageDir)) {
|
|
12086
12086
|
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.`);
|
|
12087
12087
|
}
|
|
12088
|
-
const { registerContext } = await import("./context-
|
|
12088
|
+
const { registerContext } = await import("./context-bjfwzbts.js");
|
|
12089
12089
|
setHarness2("opencode2");
|
|
12090
12090
|
bindStaleBuildNotice({}, import.meta.url, "opencode2");
|
|
12091
12091
|
const duties = await registerContext(context);
|
|
@@ -12474,7 +12474,7 @@ var server = async (ctx) => {
|
|
|
12474
12474
|
}
|
|
12475
12475
|
if (pluginConfig.enabled && !conflictResult?.hasConflict) {
|
|
12476
12476
|
setTimeout(() => {
|
|
12477
|
-
importPluginModule(() => import("./announcement-
|
|
12477
|
+
importPluginModule(() => import("./announcement-fnyxaahs.js")).then(({
|
|
12478
12478
|
shouldShowAnnouncement,
|
|
12479
12479
|
ANNOUNCEMENT_VERSION,
|
|
12480
12480
|
ANNOUNCEMENT_FEATURES,
|
|
@@ -12558,7 +12558,7 @@ var server = async (ctx) => {
|
|
|
12558
12558
|
rustReplayParticipant: () => magicContextRuntime.magicContext?.getRustReplayParticipant?.() ?? null,
|
|
12559
12559
|
onStorageBusyRefusal: async (sessionId, message) => {
|
|
12560
12560
|
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-7x518gew.js"));
|
|
12561
|
-
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-
|
|
12561
|
+
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-39a5hm2a.js"));
|
|
12562
12562
|
await sendStatusNotification(ctx.client, sessionId, message, {
|
|
12563
12563
|
toastDurationMs: 15000
|
|
12564
12564
|
});
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
yieldIndexChunk2
|
|
5
5
|
} from "./index-gzy5w8ya.js";
|
|
6
6
|
import"./index-1zx87sdm.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-xrnhxkz7.js";
|
|
8
8
|
import"./index-5vsk2cpp.js";
|
|
9
9
|
import"./index-pavzsdc6.js";
|
|
10
10
|
import"./index-ywrz4wy2.js";
|
|
@@ -17,7 +17,7 @@ import"./index-1d042x6w.js";
|
|
|
17
17
|
import"./index-q7q6qp1f.js";
|
|
18
18
|
import"./index-58e3y90n.js";
|
|
19
19
|
import"./index-x40zr813.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-7j2zv9nm.js";
|
|
21
21
|
import {
|
|
22
22
|
MESSAGE_INDEX_MAX_FTS_BYTES,
|
|
23
23
|
messageIndexSkipKey,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
markMessageIndexDirty,
|
|
26
26
|
getIndexableContent,
|
|
27
27
|
indexSingleMessage
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-05bm2ndp.js";
|
|
29
29
|
import"./index-s32f8y67.js";
|
|
30
30
|
import"./index-m0pwswv9.js";
|
|
31
31
|
|
package/dist/migration-worker.js
CHANGED
|
@@ -10,16 +10,17 @@ import {
|
|
|
10
10
|
import"./index-fr0wbhdn.js";
|
|
11
11
|
import {
|
|
12
12
|
runMigrationsWithRetry
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-4w5rx7de.js";
|
|
14
14
|
import"./index-jrj95cce.js";
|
|
15
15
|
import"./index-58e3y90n.js";
|
|
16
|
-
import"./index-fpqdbb67.js";
|
|
17
16
|
import"./index-gqf8r04r.js";
|
|
17
|
+
import"./index-c5tmzym6.js";
|
|
18
|
+
import"./index-7svecf3m.js";
|
|
18
19
|
import"./index-fb3zxn06.js";
|
|
19
20
|
import {
|
|
20
21
|
setSqlitePragmaConfig,
|
|
21
22
|
initializeDatabase
|
|
22
|
-
} from "./index-
|
|
23
|
+
} from "./index-xccywqdj.js";
|
|
23
24
|
import"./index-wh9fxds5.js";
|
|
24
25
|
import"./index-v0p37hm2.js";
|
|
25
26
|
import"./index-96ztjvkn.js";
|
package/dist/{project-embedding-registry-y3z36mjy.js → project-embedding-registry-q80scexh.js}
RENAMED
|
@@ -38,21 +38,23 @@ import {
|
|
|
38
38
|
sweepAllRegisteredProjects2,
|
|
39
39
|
_setTestProviderFactoryForProject2,
|
|
40
40
|
_resetProjectEmbeddingRegistryForTests2
|
|
41
|
-
} from "./index-
|
|
41
|
+
} from "./index-s8ks5nz4.js";
|
|
42
42
|
import"./index-4dhv7mqz.js";
|
|
43
43
|
import"./index-2amn2s73.js";
|
|
44
44
|
import"./index-qt1qqasc.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-k50xhjw1.js";
|
|
46
46
|
import"./index-6nqz8hsz.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-3dtzyred.js";
|
|
48
48
|
import"./index-snbpdpa3.js";
|
|
49
49
|
import"./index-pxnzyvjc.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-7svecf3m.js";
|
|
51
51
|
import"./index-s32f8y67.js";
|
|
52
52
|
import"./index-q7q6qp1f.js";
|
|
53
53
|
import"./index-96ztjvkn.js";
|
|
54
54
|
import"./index-v0p37hm2.js";
|
|
55
55
|
import"./index-m0pwswv9.js";
|
|
56
|
+
import"./index-c5tmzym6.js";
|
|
57
|
+
import"./index-gqf8r04r.js";
|
|
56
58
|
import"./index-5vsk2cpp.js";
|
|
57
59
|
import"./index-gzy5w8ya.js";
|
|
58
60
|
import"./index-ywrz4wy2.js";
|
|
@@ -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-8dsngf2j.js");
|
|
23
23
|
await serveV2ArchiveReads(port, openConnections);
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
@@ -51,7 +51,7 @@ serveWorkerJobs(async (input, port) => {
|
|
|
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-
|
|
54
|
+
const { renderSearchArchive } = await import("./search-archive-r4h96j2z.js");
|
|
55
55
|
const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-3sc9231y.js");
|
|
56
56
|
const archive = input.searchArchive;
|
|
57
57
|
let raw;
|
|
@@ -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-6fr624zf.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-y2mrb8e6.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,8 +38,8 @@ import {
|
|
|
38
38
|
readSessionChunk2,
|
|
39
39
|
getRawSessionMessageIdsThrough2,
|
|
40
40
|
readRawSessionSeedTail2
|
|
41
|
-
} from "./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
} from "./index-7j2zv9nm.js";
|
|
42
|
+
import"./index-xrnhxkz7.js";
|
|
43
43
|
import"./index-1zx87sdm.js";
|
|
44
44
|
import"./index-x40zr813.js";
|
|
45
45
|
import"./index-6nqz8hsz.js";
|
|
@@ -7,48 +7,49 @@ import {
|
|
|
7
7
|
setRecompTerminal2,
|
|
8
8
|
buildRecompDeps2,
|
|
9
9
|
runManagedRecomp2
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-kqnef2tg.js";
|
|
11
|
+
import"./index-tzbcb8yt.js";
|
|
12
12
|
import"./index-832w615x.js";
|
|
13
13
|
import"./index-sd3egckz.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
import"./index-pw279hmt.js";
|
|
15
|
+
import"./index-k0tb2z28.js";
|
|
16
16
|
import"./index-jjvbk92s.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-s8ks5nz4.js";
|
|
18
18
|
import"./index-4dhv7mqz.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-w6v4dw5f.js";
|
|
20
|
+
import"./index-4ntnt8ee.js";
|
|
21
|
+
import"./index-05bm2ndp.js";
|
|
22
22
|
import"./index-2amn2s73.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
import"./index-1y4y98r1.js";
|
|
24
|
+
import"./index-zmqx48vt.js";
|
|
25
25
|
import"./index-g6hfh4h4.js";
|
|
26
26
|
import"./index-qt1qqasc.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
import"./index-7j2zv9nm.js";
|
|
28
|
+
import"./index-xrnhxkz7.js";
|
|
29
29
|
import"./index-1zx87sdm.js";
|
|
30
30
|
import"./index-x40zr813.js";
|
|
31
31
|
import"./index-fzgyvsb1.js";
|
|
32
32
|
import"./index-e6ncz7a6.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-k50xhjw1.js";
|
|
34
34
|
import"./index-6nqz8hsz.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-3dtzyred.js";
|
|
36
36
|
import"./index-snbpdpa3.js";
|
|
37
37
|
import"./index-pxnzyvjc.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-xccywqdj.js";
|
|
39
39
|
import"./index-fb3zxn06.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-4w5rx7de.js";
|
|
41
41
|
import"./index-fr0wbhdn.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-7svecf3m.js";
|
|
43
43
|
import"./index-s32f8y67.js";
|
|
44
44
|
import"./index-wh9fxds5.js";
|
|
45
|
-
import"./index-gqf8r04r.js";
|
|
46
45
|
import"./index-jrj95cce.js";
|
|
47
46
|
import"./index-q7q6qp1f.js";
|
|
48
47
|
import"./index-96ztjvkn.js";
|
|
49
48
|
import"./index-v0p37hm2.js";
|
|
50
49
|
import"./index-58e3y90n.js";
|
|
51
50
|
import"./index-m0pwswv9.js";
|
|
51
|
+
import"./index-c5tmzym6.js";
|
|
52
|
+
import"./index-gqf8r04r.js";
|
|
52
53
|
import"./index-5vsk2cpp.js";
|
|
53
54
|
import"./index-gzy5w8ya.js";
|
|
54
55
|
import"./index-ywrz4wy2.js";
|
|
@@ -2,33 +2,34 @@ import {
|
|
|
2
2
|
renderMessageByOrdinal2,
|
|
3
3
|
renderVerboseRangeForTool2,
|
|
4
4
|
renderItemByTag2
|
|
5
|
-
} from "./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
5
|
+
} from "./index-70cv85b0.js";
|
|
6
|
+
import"./index-w6v4dw5f.js";
|
|
7
|
+
import"./index-4ntnt8ee.js";
|
|
8
|
+
import"./index-05bm2ndp.js";
|
|
9
9
|
import"./index-2amn2s73.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
10
|
+
import"./index-1y4y98r1.js";
|
|
11
|
+
import"./index-7j2zv9nm.js";
|
|
12
|
+
import"./index-xrnhxkz7.js";
|
|
13
13
|
import"./index-1zx87sdm.js";
|
|
14
14
|
import"./index-x40zr813.js";
|
|
15
15
|
import"./index-6nqz8hsz.js";
|
|
16
16
|
import"./index-snbpdpa3.js";
|
|
17
17
|
import"./index-pxnzyvjc.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-xccywqdj.js";
|
|
19
19
|
import"./index-fb3zxn06.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-4w5rx7de.js";
|
|
21
21
|
import"./index-fr0wbhdn.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-7svecf3m.js";
|
|
23
23
|
import"./index-s32f8y67.js";
|
|
24
24
|
import"./index-wh9fxds5.js";
|
|
25
|
-
import"./index-gqf8r04r.js";
|
|
26
25
|
import"./index-jrj95cce.js";
|
|
27
26
|
import"./index-q7q6qp1f.js";
|
|
28
27
|
import"./index-96ztjvkn.js";
|
|
29
28
|
import"./index-v0p37hm2.js";
|
|
30
29
|
import"./index-58e3y90n.js";
|
|
31
30
|
import"./index-m0pwswv9.js";
|
|
31
|
+
import"./index-c5tmzym6.js";
|
|
32
|
+
import"./index-gqf8r04r.js";
|
|
32
33
|
import"./index-5vsk2cpp.js";
|
|
33
34
|
import"./index-gzy5w8ya.js";
|
|
34
35
|
import"./index-ywrz4wy2.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderSearchArchive2,
|
|
3
3
|
renderSearchArchiveOffThread2
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-nny4gm06.js";
|
|
5
|
+
import"./index-1pf5qrx4.js";
|
|
6
6
|
import"./index-52x68mj4.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
import"./index-7j2zv9nm.js";
|
|
8
|
+
import"./index-xrnhxkz7.js";
|
|
9
9
|
import"./index-1zx87sdm.js";
|
|
10
10
|
import"./index-x40zr813.js";
|
|
11
11
|
import"./index-6nqz8hsz.js";
|
|
@@ -5,30 +5,30 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
} from "./index-0rge5rkh.js";
|
|
9
|
+
import"./index-798s7c8s.js";
|
|
10
10
|
import"./index-52x68mj4.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
import"./index-pw279hmt.js";
|
|
12
|
+
import"./index-k0tb2z28.js";
|
|
13
13
|
import"./index-jjvbk92s.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-s8ks5nz4.js";
|
|
15
15
|
import"./index-4dhv7mqz.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-4ntnt8ee.js";
|
|
17
|
+
import"./index-05bm2ndp.js";
|
|
18
18
|
import"./index-2amn2s73.js";
|
|
19
19
|
import"./index-qt1qqasc.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
import"./index-7j2zv9nm.js";
|
|
21
|
+
import"./index-xrnhxkz7.js";
|
|
22
22
|
import"./index-1zx87sdm.js";
|
|
23
23
|
import"./index-x40zr813.js";
|
|
24
|
-
import"./index-
|
|
24
|
+
import"./index-k50xhjw1.js";
|
|
25
25
|
import"./index-6nqz8hsz.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-3dtzyred.js";
|
|
27
27
|
import"./index-snbpdpa3.js";
|
|
28
28
|
import"./index-pxnzyvjc.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-4w5rx7de.js";
|
|
30
30
|
import"./index-fr0wbhdn.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-7svecf3m.js";
|
|
32
32
|
import"./index-s32f8y67.js";
|
|
33
33
|
import"./index-jrj95cce.js";
|
|
34
34
|
import"./index-q7q6qp1f.js";
|
|
@@ -36,6 +36,8 @@ import"./index-96ztjvkn.js";
|
|
|
36
36
|
import"./index-v0p37hm2.js";
|
|
37
37
|
import"./index-58e3y90n.js";
|
|
38
38
|
import"./index-m0pwswv9.js";
|
|
39
|
+
import"./index-c5tmzym6.js";
|
|
40
|
+
import"./index-gqf8r04r.js";
|
|
39
41
|
import"./index-5vsk2cpp.js";
|
|
40
42
|
import"./index-gzy5w8ya.js";
|
|
41
43
|
import"./index-ywrz4wy2.js";
|
|
@@ -79,11 +79,16 @@ export declare function resolveLimit(limit: ModelLimit | undefined, providerID:
|
|
|
79
79
|
* a few times so the cache warms instead of leaving the session on the 128k
|
|
80
80
|
* default until the next restart. A successful load (any providers) stops early.
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
* A full catalog replaces the previous snapshot. When OpenCode 2 reads the
|
|
83
|
+
* list while recording usage, merge mode keeps unlisted models and replaces
|
|
84
|
+
* the limits for listed models. Only a row synthesized from the request
|
|
85
|
+
* because its model was not listed retains omitted limits field by field.
|
|
83
86
|
*/
|
|
84
87
|
export declare function refreshModelLimitsFromApi(client: OpencodeClientLike, options?: {
|
|
85
88
|
retries?: number;
|
|
86
89
|
retryDelayMs?: number;
|
|
90
|
+
mode?: "merge" | "replace";
|
|
91
|
+
draftOnlyModelKey?: string;
|
|
87
92
|
}): Promise<void>;
|
|
88
93
|
/**
|
|
89
94
|
* Re-warm the limit cache ONCE per process, after auth is provably live.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models-dev-cache.d.ts","sourceRoot":"","sources":["../../src/shared/models-dev-cache.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAIH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAMzE,OAAO,EAAwB,KA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OAAO,EAAE,MAAM,GAAG,OAAO,CAShF;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGzF;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAWxF;AA2BD,gFAAgF;AAChF,wBAAgB,mBAAmB,IAAI,IAAI,CAK1C;AAED,oDAAoD;AACpD,wBAAgB,sBAAsB,IAAI;IACtC,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAMA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage-file-mutex.d.ts","sourceRoot":"","sources":["../../src/shared/storage-file-mutex.ts"],"names":[],"mappings":"AAuDA;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,SAAS,SAAO,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"storage-file-mutex.d.ts","sourceRoot":"","sources":["../../src/shared/storage-file-mutex.ts"],"names":[],"mappings":"AAuDA;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,SAAS,SAAO,GAAG,CAAC,CAsF7F"}
|
|
@@ -18,8 +18,10 @@ export declare function writeStorageFileSync(filePath: string, content: string |
|
|
|
18
18
|
export declare function writeStorageFileAtomicSync(filePath: string, content: string | Uint8Array, forcePrivate?: boolean): void;
|
|
19
19
|
/** Flush the namespace containing a safety-critical sidecar (POSIX only). */
|
|
20
20
|
export declare function syncStorageDirectorySync(directory: string): void;
|
|
21
|
-
/** Publish a safety record only after both its bytes and directory entry are durable.
|
|
22
|
-
|
|
21
|
+
/** Publish a safety record only after both its bytes and directory entry are durable.
|
|
22
|
+
* Hold the mutex through this call to use a constant tempPath.
|
|
23
|
+
*/
|
|
24
|
+
export declare function writeStorageFileDurableAtomicSync(filePath: string, content: string, afterTempSync?: () => void, tempPath?: string): void;
|
|
23
25
|
export declare function copyStorageFileSync(sourcePath: string, destinationPath: string, forcePrivate?: boolean): void;
|
|
24
26
|
export declare function copyStorageTreeSync(sourcePath: string, destinationPath: string, forcePrivate?: boolean): void;
|
|
25
27
|
export declare function openStorageFileSync(filePath: string, flags: string, forcePrivate?: boolean): number;
|
|
@@ -28,7 +30,7 @@ export declare function writeStorageFileHandleAsync(handle: FileHandle, content:
|
|
|
28
30
|
export declare function createStorageWriteStream(filePath: string, forcePrivate?: boolean): WriteStream;
|
|
29
31
|
export declare function createStorageFileHandleAsync(filePath: string, flags: string, forcePrivate?: boolean): Promise<FileHandle>;
|
|
30
32
|
/** Tighten existing entries during storage startup; symlinks are never followed. */
|
|
31
|
-
export declare function tightenStorageTreeSync(
|
|
33
|
+
export declare function tightenStorageTreeSync(directory: string, dbPath?: string): {
|
|
32
34
|
tightened: number;
|
|
33
35
|
failures: number;
|
|
34
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage-permissions.d.ts","sourceRoot":"","sources":["../../src/shared/storage-permissions.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"storage-permissions.d.ts","sourceRoot":"","sources":["../../src/shared/storage-permissions.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAS,WAAW,EAAE,MAAM,SAAS,CAAC;AAqBlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAuCnD,wBAAgB,sCAAsC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAY7E;AAED,wBAAgB,sCAAsC,IAAI,OAAO,CAEhE;AAED,wFAAwF;AACxF,wBAAgB,kDAAkD,IAAI,IAAI,CAEzE;AAED,gFAA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AY,UAAQ,GACrB,OAAO,CAAC,IAAI,CAAC,CAIf;AAED,wBAAsB,2BAA2B,CAC7C,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC,CAEf;AAED,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,UAAQ,GAAG,WAAW,CAG5F;AAED,wBAAsB,4BAA4B,CAC9C,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,YAAY,UAAQ,uBAIvB;AAgCD,oFAAoF;AACpF,wBAAgB,sBAAsB,CAClC,SAAS,EAAE,MAAM,EACjB,MAAM,SAAgC,GACvC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAuKzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-git-env.d.ts","sourceRoot":"","sources":["../../src/shared/test-git-env.ts"],"names":[],"mappings":"AAEA,mFAAmF;AACnF,wBAAgB,kBAAkB,CAAC,SAAS,GAAE,MAAM,CAAC,UAAe,GAAG,MAAM,CAAC,UAAU,CAMvF"}
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
readV2RawMessagePagesForConversion2,
|
|
9
9
|
createV2RawMessageReader2,
|
|
10
10
|
createV2RawMessageProvider2
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
} from "./index-08jfpny9.js";
|
|
12
|
+
import"./index-1y4y98r1.js";
|
|
13
13
|
import"./index-wh9fxds5.js";
|
|
14
14
|
import"./index-58e3y90n.js";
|
|
15
15
|
import"./index-gzy5w8ya.js";
|