@cortexkit/pi-magic-context 0.49.53 → 0.49.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auto-search-worker.js +3 -3
- package/dist/chunk-embedding-write-worker.js +3 -4
- package/dist/{embedding-backfill-ad4k8e3f.js → embedding-backfill-qde2zywg.js} +4 -4
- package/dist/embedding-worker.js +2 -2
- package/dist/{index-snrkpmpf.js → index-2pptpxq8.js} +1 -1
- package/dist/{index-8cgk0pyh.js → index-5n3e2gq5.js} +5080 -3919
- package/dist/{index-tv9pqeek.js → index-625kbnqd.js} +5 -7
- package/dist/{index-4cmj48mq.js → index-6ahmfva8.js} +3 -3
- package/dist/{index-nevbaezn.js → index-9kaj9ty1.js} +1 -1
- package/dist/{index-46wk0td0.js → index-awpx91y5.js} +1 -1
- package/dist/{index-1tk6065b.js → index-c3mms4dp.js} +5 -5
- package/dist/{index-zc6fdyx7.js → index-d40ecdbn.js} +1 -1
- package/dist/{index-2yjpxzga.js → index-erkb5dee.js} +2 -2
- package/dist/{index-38pf5bqw.js → index-hec3bwev.js} +1 -1
- package/dist/{index-njd3qa8e.js → index-jnh7a6a3.js} +3 -3
- package/dist/{index-f07s5m8x.js → index-k2z7r444.js} +21 -23
- package/dist/{index-pkg07s54.js → index-nhpvvdhw.js} +2 -2
- package/dist/index-rekymyxd.js +2287 -0
- package/dist/{index-a70dwgff.js → index-tn38he5d.js} +44 -31
- package/dist/{index-jxm4bvm4.js → index-v858d5d1.js} +168 -1
- package/dist/{index-aec63gtj.js → index-vcegxfwg.js} +16 -6
- package/dist/index.js +319 -220
- package/dist/{message-index-bounded-hwatm90p.js → message-index-bounded-ac4qg6aw.js} +5 -6
- package/dist/migration-worker.js +3 -4
- package/dist/{project-embedding-registry-d67axw7r.js → project-embedding-registry-qx2zjbgs.js} +3 -3
- package/dist/raw-ordinal-warmup-worker.js +4 -4
- package/dist/{read-session-chunk-mj91mv8r.js → read-session-chunk-jyfcykg4.js} +4 -5
- package/dist/{render-js5tkc4g.js → render-bqqx15n8.js} +9 -10
- package/dist/{search-archive-159s0qp9.js → search-archive-31054zxj.js} +6 -7
- package/dist/{search-hyc5s9t0.js → search-w12nc025.js} +11 -12
- package/dist/{storage-tags-ahhwtfdq.js → storage-tags-g0328gwp.js} +4 -2
- package/dist/subagent-entry.js +38 -17
- package/dist/tag-snapshot-worker-pi.js +6 -6
- package/dist/{v2-archive-reader-5sc0rsh9.js → v2-archive-reader-hg4c36em.js} +1 -1
- package/package.json +1 -1
- package/dist/index-674f6qs2.js +0 -16
- package/dist/index-c6wbq66z.js +0 -168
- package/dist/index-qcsjj9m0.js +0 -3412
|
@@ -46,20 +46,18 @@ import {
|
|
|
46
46
|
hasPendingMigrations,
|
|
47
47
|
getMainThreadMigrationBodyCount,
|
|
48
48
|
runMigrations
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-d40ecdbn.js";
|
|
50
50
|
import {
|
|
51
|
+
setDatabase,
|
|
52
|
+
loadToolDefinitionMeasurements,
|
|
51
53
|
ensureColumn,
|
|
52
54
|
installV95PerfSchema,
|
|
53
55
|
installTagIdentityRevisionTrigger
|
|
54
|
-
} from "./index-
|
|
56
|
+
} from "./index-v858d5d1.js";
|
|
55
57
|
import {
|
|
56
58
|
resolveOpenCodeDbPath,
|
|
57
59
|
hasV1MessageTables
|
|
58
60
|
} from "./index-n0zjvs3h.js";
|
|
59
|
-
import {
|
|
60
|
-
setDatabase,
|
|
61
|
-
loadToolDefinitionMeasurements
|
|
62
|
-
} from "./index-c6wbq66z.js";
|
|
63
61
|
import {
|
|
64
62
|
closeQuietly
|
|
65
63
|
} from "./index-nrzkqte4.js";
|
|
@@ -1789,7 +1787,7 @@ function finishDatabaseOpen(db, dbPath, explicitDbPath, latestSupportedVersion)
|
|
|
1789
1787
|
state.running = startMessageFtsRowidMapBackfill2(db, signal).then(async () => {
|
|
1790
1788
|
if (signal.aborted || !readsOpenCodeStore)
|
|
1791
1789
|
return;
|
|
1792
|
-
const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-
|
|
1790
|
+
const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-jyfcykg4.js"));
|
|
1793
1791
|
const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-krre2qnb.js"));
|
|
1794
1792
|
if (signal.aborted)
|
|
1795
1793
|
return;
|
|
@@ -139,9 +139,9 @@ async function serveV2ArchiveReads2(port, openConnections) {
|
|
|
139
139
|
import("./sqlite-v89bj0yy.js"),
|
|
140
140
|
import("./store-reader-mmfw2h48.js"),
|
|
141
141
|
import("./store-0hhs1db3.js"),
|
|
142
|
-
import("./read-session-chunk-
|
|
143
|
-
import("./render-
|
|
144
|
-
import("./search-archive-
|
|
142
|
+
import("./read-session-chunk-jyfcykg4.js"),
|
|
143
|
+
import("./render-bqqx15n8.js"),
|
|
144
|
+
import("./search-archive-31054zxj.js"),
|
|
145
145
|
import("./expand-attachments-8sxeyj26.js")
|
|
146
146
|
]);
|
|
147
147
|
const pool = new V2StoreReaderPool;
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
getProjectEmbeddingSnapshot2,
|
|
48
48
|
embedTextForProject2,
|
|
49
49
|
embedItemsForProject2
|
|
50
|
-
} from "./index-
|
|
50
|
+
} from "./index-erkb5dee.js";
|
|
51
51
|
import {
|
|
52
52
|
recordEmbeddingMeasurement
|
|
53
53
|
} from "./index-hgd00nas.js";
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
isEmbeddingEnabled,
|
|
64
64
|
embedText,
|
|
65
65
|
ensureMemoryEmbeddings2
|
|
66
|
-
} from "./index-
|
|
66
|
+
} from "./index-jnh7a6a3.js";
|
|
67
67
|
import {
|
|
68
68
|
getMemorySelectColumns2,
|
|
69
69
|
isMemoryRow2,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
clearIndexedMessages,
|
|
92
92
|
indexSingleMessage,
|
|
93
93
|
indexMessagesAfterOrdinal
|
|
94
|
-
} from "./index-
|
|
94
|
+
} from "./index-2pptpxq8.js";
|
|
95
95
|
import {
|
|
96
96
|
MESSAGE_FTS_SESSION_FILTER_SQL,
|
|
97
97
|
withMessageFtsSessionFilter
|
|
@@ -102,11 +102,11 @@ import {
|
|
|
102
102
|
expandWorkspaceIdentitySetWithAliases,
|
|
103
103
|
resolveStoredPathWorkspaceIdentity,
|
|
104
104
|
sourceNameForMemory
|
|
105
|
-
} from "./index-
|
|
105
|
+
} from "./index-d40ecdbn.js";
|
|
106
106
|
import {
|
|
107
107
|
getNotes,
|
|
108
108
|
getActivePrimers
|
|
109
|
-
} from "./index-
|
|
109
|
+
} from "./index-awpx91y5.js";
|
|
110
110
|
import {
|
|
111
111
|
computeNormalizedHash
|
|
112
112
|
} from "./index-9x1f96r8.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
} from "./index-ndg15t3x.js";
|
|
47
47
|
import {
|
|
48
48
|
DEFAULT_LOCAL_EMBEDDING_MODEL
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-vcegxfwg.js";
|
|
50
50
|
import {
|
|
51
51
|
embeddingModelsMatch,
|
|
52
52
|
resolveEmbeddingTextPrefixes,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
getEmbeddingProviderIdentity,
|
|
57
57
|
dominantEmbeddingFailure,
|
|
58
58
|
LocalEmbeddingProvider
|
|
59
|
-
} from "./index-
|
|
59
|
+
} from "./index-hec3bwev.js";
|
|
60
60
|
import {
|
|
61
61
|
embedPauseBySession,
|
|
62
62
|
activeEmbeddingSessions,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_LOCAL_EMBEDDING_MODEL
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-vcegxfwg.js";
|
|
4
4
|
import {
|
|
5
5
|
log2
|
|
6
6
|
} from "./index-yxeg8zaa.js";
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
} from "./index-qm139qq2.js";
|
|
11
11
|
import {
|
|
12
12
|
LocalEmbeddingProvider
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-hec3bwev.js";
|
|
14
14
|
import {
|
|
15
15
|
OpenAICompatibleEmbeddingProvider,
|
|
16
16
|
getProjectEmbeddingSnapshot2,
|
|
17
17
|
embedBatchForProject2
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-erkb5dee.js";
|
|
19
19
|
import {
|
|
20
20
|
isEmbeddingHostBusy2
|
|
21
21
|
} from "./index-9p40dgkm.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
piModelRefToCanonical
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-vcegxfwg.js";
|
|
4
4
|
import {
|
|
5
5
|
getHarness2
|
|
6
6
|
} from "./index-0h2mkab2.js";
|
|
@@ -14,6 +14,8 @@ import {
|
|
|
14
14
|
isPrefixBoundThinkingModel,
|
|
15
15
|
MERGED_REASONING_PARTS_PREFIX,
|
|
16
16
|
decodeMergedReasoningParts,
|
|
17
|
+
isRecord,
|
|
18
|
+
providerVisibleMessage,
|
|
17
19
|
SESSION_META_SELECT_COLUMNS,
|
|
18
20
|
META_COLUMNS,
|
|
19
21
|
BOOLEAN_META_KEYS,
|
|
@@ -27,6 +29,7 @@ import {
|
|
|
27
29
|
readReplayDocument,
|
|
28
30
|
updateReplayDocument,
|
|
29
31
|
writeReplayDocument,
|
|
32
|
+
getTagById2,
|
|
30
33
|
parseStrippedPlaceholderState,
|
|
31
34
|
serializeStrippedPlaceholderState,
|
|
32
35
|
THINKING_BINDING_RECOVERY_FROZEN_PREFIX,
|
|
@@ -35,37 +38,35 @@ import {
|
|
|
35
38
|
parseProcessedImageMarkers,
|
|
36
39
|
serializeProcessedImageMarkers,
|
|
37
40
|
getPendingPiCompactionMarkerState,
|
|
38
|
-
logPiCompactionMarkerClear
|
|
39
|
-
|
|
40
|
-
expandToolPart,
|
|
41
|
-
visitRawSessionMessages2,
|
|
42
|
-
readRawSessionMessageById2
|
|
43
|
-
} from "./index-8cgk0pyh.js";
|
|
44
|
-
import {
|
|
45
|
-
isRecord,
|
|
46
|
-
providerVisibleMessage,
|
|
47
|
-
getTagById2
|
|
48
|
-
} from "./index-qcsjj9m0.js";
|
|
41
|
+
logPiCompactionMarkerClear
|
|
42
|
+
} from "./index-5n3e2gq5.js";
|
|
49
43
|
import {
|
|
50
44
|
estimateTokens
|
|
51
45
|
} from "./index-7y60kyea.js";
|
|
52
46
|
import {
|
|
53
|
-
|
|
54
|
-
withSqliteBackgroundWriter2,
|
|
55
|
-
withoutSqliteTransformPass2
|
|
56
|
-
} from "./index-2qtx0q6h.js";
|
|
57
|
-
import {
|
|
47
|
+
BoundedSessionMap,
|
|
58
48
|
getTableColumnNames,
|
|
59
49
|
tagTombstoneOwnerRange,
|
|
60
50
|
tagTombstoneOwnerKey,
|
|
61
51
|
tagRevisionKey,
|
|
62
52
|
tagIdentityRevisionKey,
|
|
63
53
|
deleteTagIdentityRevisions
|
|
64
|
-
} from "./index-
|
|
54
|
+
} from "./index-v858d5d1.js";
|
|
55
|
+
import {
|
|
56
|
+
prepareCachedStatement2,
|
|
57
|
+
withSqliteBackgroundWriter2,
|
|
58
|
+
withoutSqliteTransformPass2
|
|
59
|
+
} from "./index-2qtx0q6h.js";
|
|
65
60
|
import {
|
|
66
61
|
isPidAlive,
|
|
67
62
|
readProcessStartTime
|
|
68
|
-
} from "./index-
|
|
63
|
+
} from "./index-625kbnqd.js";
|
|
64
|
+
import {
|
|
65
|
+
withReadOnlySessionDb,
|
|
66
|
+
expandToolPart,
|
|
67
|
+
visitRawSessionMessages2,
|
|
68
|
+
readRawSessionMessageById2
|
|
69
|
+
} from "./index-rekymyxd.js";
|
|
69
70
|
import {
|
|
70
71
|
gaDatabasePath2,
|
|
71
72
|
V2StoreReader2
|
|
@@ -80,13 +81,10 @@ import {
|
|
|
80
81
|
invalidateAutoEmbedSession,
|
|
81
82
|
drainBackgroundBatches
|
|
82
83
|
} from "./index-hgd00nas.js";
|
|
83
|
-
import {
|
|
84
|
-
BoundedSessionMap
|
|
85
|
-
} from "./index-c6wbq66z.js";
|
|
86
84
|
import {
|
|
87
85
|
layoutLkgPrefix,
|
|
88
86
|
assembleLkgPrefix
|
|
89
|
-
} from "./index-
|
|
87
|
+
} from "./index-d40ecdbn.js";
|
|
90
88
|
import {
|
|
91
89
|
logSlowWriteTransaction
|
|
92
90
|
} from "./index-j0eagxkz.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
tagRevisionCountSql,
|
|
4
4
|
tagRevisionKey,
|
|
5
5
|
TAG_INSERT_CONFLICT_ROWS
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-v858d5d1.js";
|
|
7
7
|
import {
|
|
8
8
|
getTagsBySession2,
|
|
9
9
|
getTagsByNumbers2
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-5n3e2gq5.js";
|
|
11
11
|
import {
|
|
12
12
|
inRootAsyncContext2,
|
|
13
13
|
getSqliteDatabasePath2,
|