@cortexkit/pi-magic-context 0.48.0 → 0.49.0
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/embedding-backfill-b71dvfs8.js +20 -0
- package/dist/embedding-worker.js +4 -4
- package/dist/historian-calibration-extension.js +30 -5
- package/dist/{index-dkx0b1kt.js → index-041ex0cj.js} +7 -2
- package/dist/{index-fp37he9a.js → index-0vrkp1jq.js} +1 -1
- package/dist/{index-6pgq5ns2.js → index-1evzceyw.js} +2 -2
- package/dist/{index-419bndtm.js → index-21v1kfs7.js} +2 -2
- package/dist/{index-wrm4nbj7.js → index-290tzwp1.js} +1 -1
- package/dist/{index-72bdc1bd.js → index-3mgf68pn.js} +4 -4
- package/dist/{index-hrf13mn3.js → index-3rea6zd9.js} +16 -8
- package/dist/{index-0am8a7k1.js → index-904reqtg.js} +4 -4
- package/dist/{index-fm3ksh5e.js → index-bejpsj10.js} +4 -4
- package/dist/{index-98z1c1r0.js → index-ehybv5nr.js} +109 -35
- package/dist/{index-pvm4pd5d.js → index-hwqb3s7f.js} +811 -76
- package/dist/{index-5hd7h4rr.js → index-kjd1fj55.js} +39 -31
- package/dist/{index-8y5knskr.js → index-mcgehvgw.js} +93 -9
- package/dist/{index-603mt6nm.js → index-r024r8da.js} +1 -1
- package/dist/{index-9xb0axhc.js → index-r56xgha8.js} +1 -1
- package/dist/{index-r7xg4hvw.js → index-t7xfqtg6.js} +8 -8
- package/dist/{index-rt5jgzp1.js → index-vakawmbc.js} +160 -25
- package/dist/{index-f956htf3.js → index-x3dcnxh0.js} +6 -2
- package/dist/{index-544c0e0x.js → index-yarjn32j.js} +7 -7
- package/dist/{index-5jp1h0bz.js → index-yzcjxnt2.js} +48 -11
- package/dist/{index-zrr5t5a7.js → index-zh1jw8qp.js} +106 -1
- package/dist/index.js +1149 -680
- package/dist/{logger-v3dsxdnm.js → logger-j6tecd1h.js} +1 -1
- package/dist/{message-index-bounded-t7vvty76.js → message-index-bounded-qz5dz2se.js} +11 -11
- package/dist/{message-time-backfill-4ndf7hrq.js → message-time-backfill-05ppypkz.js} +2 -2
- package/dist/migration-worker.js +8 -8
- package/dist/{project-embedding-registry-jy2hmq28.js → project-embedding-registry-ky7wrkr1.js} +9 -9
- package/dist/raw-ordinal-warmup-worker.js +4 -4
- package/dist/{read-session-chunk-47pjn7fz.js → read-session-chunk-24sd89tf.js} +8 -6
- package/dist/{read-session-raw-yn8nawav.js → read-session-raw-npx3920c.js} +5 -3
- package/dist/{safe-notification-target-3c1ns931.js → safe-notification-target-vn9kpmv4.js} +2 -2
- package/dist/{search-42szfhwp.js → search-jbh28nwy.js} +17 -17
- package/dist/{storage-tags-jym5z6yk.js → storage-tags-kjnsqbdb.js} +6 -6
- package/dist/subagent-entry.js +20 -19
- package/package.json +1 -1
- package/dist/embedding-backfill-bnnytehy.js +0 -20
|
@@ -17,11 +17,11 @@ var [
|
|
|
17
17
|
{ setHarness },
|
|
18
18
|
{ Database }
|
|
19
19
|
] = await Promise.all([
|
|
20
|
-
import("./embedding-backfill-
|
|
20
|
+
import("./embedding-backfill-b71dvfs8.js"),
|
|
21
21
|
import("./embedding-cache-7rp4gqzr.js"),
|
|
22
22
|
import("./storage-memory-1z20y55x.js"),
|
|
23
|
-
import("./project-embedding-registry-
|
|
24
|
-
import("./search-
|
|
23
|
+
import("./project-embedding-registry-ky7wrkr1.js"),
|
|
24
|
+
import("./search-jbh28nwy.js"),
|
|
25
25
|
import("./embedding-activity-ew6dshfd.js"),
|
|
26
26
|
import("./harness-9872e0ym.js"),
|
|
27
27
|
import("./sqlite-3yye76ht.js")
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ensureMemoryEmbeddings2
|
|
3
|
+
} from "./index-904reqtg.js";
|
|
4
|
+
import"./index-yarjn32j.js";
|
|
5
|
+
import"./index-bejpsj10.js";
|
|
6
|
+
import"./index-yhzhdp3m.js";
|
|
7
|
+
import"./index-9p40dgkm.js";
|
|
8
|
+
import"./index-1evzceyw.js";
|
|
9
|
+
import"./index-21v1kfs7.js";
|
|
10
|
+
import"./index-041ex0cj.js";
|
|
11
|
+
import"./index-r024r8da.js";
|
|
12
|
+
import"./index-0vrkp1jq.js";
|
|
13
|
+
import"./index-bgmv2kaf.js";
|
|
14
|
+
import"./index-3cgbv47m.js";
|
|
15
|
+
import"./index-r56xgha8.js";
|
|
16
|
+
import"./index-x3dcnxh0.js";
|
|
17
|
+
import"./index-0h2mkab2.js";
|
|
18
|
+
export {
|
|
19
|
+
ensureMemoryEmbeddings2 as ensureMemoryEmbeddings
|
|
20
|
+
};
|
package/dist/embedding-worker.js
CHANGED
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./index-0h2mkab2.js";
|
|
4
4
|
import {
|
|
5
5
|
log2
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-x3dcnxh0.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveLocalEmbeddingWorkerRuntime,
|
|
9
9
|
getLocalEmbeddingNativeMemoryStats,
|
|
10
10
|
LocalEmbeddingProvider
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-1evzceyw.js";
|
|
12
12
|
import"./index-bgmv2kaf.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
import"./index-21v1kfs7.js";
|
|
14
|
+
import"./index-r56xgha8.js";
|
|
15
15
|
import {
|
|
16
16
|
setStoragePrivatePermissionEnforcement
|
|
17
17
|
} from "./index-vf38qhee.js";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import"./index-0h2mkab2.js";
|
|
2
|
-
import"./index-f956htf3.js";
|
|
3
1
|
import {
|
|
2
|
+
subagentTemperature,
|
|
4
3
|
promptFingerprint,
|
|
5
4
|
readHostSystemPrompt
|
|
6
|
-
} from "./index-
|
|
5
|
+
} from "./index-zh1jw8qp.js";
|
|
6
|
+
import"./index-0h2mkab2.js";
|
|
7
|
+
import"./index-x3dcnxh0.js";
|
|
7
8
|
|
|
8
9
|
// src/historian-calibration-extension.ts
|
|
9
10
|
import { readFileSync } from "node:fs";
|
|
@@ -55,6 +56,21 @@ function calibrateHistorianProviderPayload(payload, temperature, maxOutputTokens
|
|
|
55
56
|
}
|
|
56
57
|
return calibrated;
|
|
57
58
|
}
|
|
59
|
+
function withoutProviderTemperature(payload) {
|
|
60
|
+
if (!payload || typeof payload !== "object" || Array.isArray(payload))
|
|
61
|
+
return payload;
|
|
62
|
+
const clean = { ...payload };
|
|
63
|
+
delete clean.temperature;
|
|
64
|
+
for (const key of ["generationConfig", "inferenceConfig"]) {
|
|
65
|
+
const nested = clean[key];
|
|
66
|
+
if (nested && typeof nested === "object" && !Array.isArray(nested)) {
|
|
67
|
+
const options = { ...nested };
|
|
68
|
+
delete options.temperature;
|
|
69
|
+
clean[key] = options;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return clean;
|
|
73
|
+
}
|
|
58
74
|
function historianCalibrationExtension(pi) {
|
|
59
75
|
const intendedPath = process.env.MAGIC_CONTEXT_SUBAGENT_PROMPT_FILE;
|
|
60
76
|
if (intendedPath) {
|
|
@@ -73,11 +89,20 @@ function historianCalibrationExtension(pi) {
|
|
|
73
89
|
const maxOutputTokens = finiteNumber(process.env[HISTORIAN_MAX_OUTPUT_TOKENS_ENV]);
|
|
74
90
|
if (temperature === undefined && maxOutputTokens === undefined)
|
|
75
91
|
return;
|
|
76
|
-
pi.on("before_provider_request", (event) =>
|
|
92
|
+
pi.on("before_provider_request", (event, ctx) => {
|
|
93
|
+
const model = ctx.model;
|
|
94
|
+
const key = `${model?.provider ?? "unknown"}/${model?.id ?? "unknown"}`;
|
|
95
|
+
const sampling = subagentTemperature(key, model, temperature, (_message, decision) => {
|
|
96
|
+
process.stdout.write(`${JSON.stringify({ type: "mc_temperature", model: key, supported: decision.supported ?? null, source: decision.source, ...decision.entry ? { entry: decision.entry } : {} })}
|
|
97
|
+
`);
|
|
98
|
+
});
|
|
99
|
+
return calibrateHistorianProviderPayload(sampling === undefined ? withoutProviderTemperature(event.payload) : event.payload, sampling, maxOutputTokens);
|
|
100
|
+
});
|
|
77
101
|
}
|
|
78
102
|
export {
|
|
79
103
|
HISTORIAN_MAX_OUTPUT_TOKENS_ENV,
|
|
80
104
|
HISTORIAN_TEMPERATURE_ENV,
|
|
81
105
|
calibrateHistorianProviderPayload,
|
|
82
|
-
historianCalibrationExtension as default
|
|
106
|
+
historianCalibrationExtension as default,
|
|
107
|
+
withoutProviderTemperature
|
|
83
108
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getMagicContextStorageDir,
|
|
3
3
|
log2
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-x3dcnxh0.js";
|
|
5
5
|
import {
|
|
6
6
|
writeStorageFileAtomicSync
|
|
7
7
|
} from "./index-vf38qhee.js";
|
|
@@ -27,6 +27,11 @@ function projectDirectoryKey(directory) {
|
|
|
27
27
|
}
|
|
28
28
|
return path.resolve(directory);
|
|
29
29
|
}
|
|
30
|
+
function sameProjectDirectory(a, b) {
|
|
31
|
+
if (a.length === 0 || b.length === 0)
|
|
32
|
+
return false;
|
|
33
|
+
return projectDirectoryKey(a) === projectDirectoryKey(b);
|
|
34
|
+
}
|
|
30
35
|
|
|
31
36
|
// ../plugin/src/features/magic-context/memory/project-identity-cache.ts
|
|
32
37
|
function cachePath(directory, storageDir = getMagicContextStorageDir()) {
|
|
@@ -511,4 +516,4 @@ function setBootQuietPeriodForTests(startAtMs) {
|
|
|
511
516
|
bootQuietUntilMs = startAtMs === null ? 0 : startAtMs + BOOT_QUIET_MS;
|
|
512
517
|
}
|
|
513
518
|
|
|
514
|
-
export { setHomeProjectPermission, ProjectIdentityError, resolveProjectIdentityStrict, isUserHomeDirectory, resolveProjectIdentity, directoryHasGitMetadata, isUsableProjectIdentity, resolveProjectIdentityForSession, normalizeStoredProjectPath, storedPathBelongsToIdentity, beginBootQuietPeriod, bootQuietRemainingMs, scheduleAfterBootQuiet, setBootQuietPeriodForTests };
|
|
519
|
+
export { sameProjectDirectory, setHomeProjectPermission, ProjectIdentityError, resolveProjectIdentityStrict, isUserHomeDirectory, resolveProjectIdentity, directoryHasGitMetadata, isUsableProjectIdentity, resolveProjectIdentityForSession, normalizeStoredProjectPath, storedPathBelongsToIdentity, beginBootQuietPeriod, bootQuietRemainingMs, scheduleAfterBootQuiet, setBootQuietPeriodForTests };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./index-bgmv2kaf.js";
|
|
5
5
|
import {
|
|
6
6
|
getSynapseLaneIdentity
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-21v1kfs7.js";
|
|
8
8
|
import {
|
|
9
9
|
getHarness2
|
|
10
10
|
} from "./index-0h2mkab2.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getMagicContextStorageDir,
|
|
13
13
|
importPluginModule,
|
|
14
14
|
log2
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-x3dcnxh0.js";
|
|
16
16
|
import {
|
|
17
17
|
computeNormalizedHash
|
|
18
18
|
} from "./index-9x1f96r8.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
estimateTokens
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-r56xgha8.js";
|
|
4
4
|
import {
|
|
5
5
|
getHarness2
|
|
6
6
|
} from "./index-0h2mkab2.js";
|
|
7
7
|
import {
|
|
8
8
|
log2
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-x3dcnxh0.js";
|
|
10
10
|
|
|
11
11
|
// ../plugin/src/features/magic-context/memory/embedding-synapse.ts
|
|
12
12
|
import { createHash } from "node:crypto";
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
} from "./index-135e8hvg.js";
|
|
4
4
|
import {
|
|
5
5
|
log2
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-x3dcnxh0.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureColumn,
|
|
9
9
|
healAllNullColumns,
|
|
10
10
|
installV95PerfSchema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-mcgehvgw.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveOpenCodeDbPath,
|
|
14
14
|
openCodeDbPathExists,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
normalizeStoredProjectPath,
|
|
22
22
|
storedPathBelongsToIdentity
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-041ex0cj.js";
|
|
24
24
|
import {
|
|
25
25
|
logSlowWriteTransaction
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-0vrkp1jq.js";
|
|
27
27
|
|
|
28
28
|
// ../plugin/src/features/magic-context/migrations.ts
|
|
29
29
|
import { isMainThread } from "node:worker_threads";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
log2,
|
|
6
6
|
sessionLog2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-x3dcnxh0.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveOpenCodeDbPath,
|
|
10
10
|
assertOpenCodeStoreGeneration,
|
|
@@ -30,14 +30,15 @@ import {
|
|
|
30
30
|
readRawSessionMessageOrdinalByIdFromDb2,
|
|
31
31
|
readRawSessionMessageByIdFromDb2,
|
|
32
32
|
hasRawSessionMessageByIdFromDb2,
|
|
33
|
-
readRawSeedTailFromDb2
|
|
34
|
-
|
|
33
|
+
readRawSeedTailFromDb2,
|
|
34
|
+
readRawSessionBoundaryEndpointsFromDb2
|
|
35
|
+
} from "./index-vakawmbc.js";
|
|
35
36
|
import {
|
|
36
37
|
isRecord,
|
|
37
38
|
providerVisiblePart,
|
|
38
39
|
getCandidateToolOwners2,
|
|
39
40
|
pickNearestPriorOwner2
|
|
40
|
-
} from "./index-
|
|
41
|
+
} from "./index-kjd1fj55.js";
|
|
41
42
|
import {
|
|
42
43
|
OMO_INTERNAL_INITIATOR_MARKER,
|
|
43
44
|
isSystemDirective,
|
|
@@ -52,11 +53,11 @@ import {
|
|
|
52
53
|
formatBlock,
|
|
53
54
|
compactTextForSummary,
|
|
54
55
|
mergeCommitHashes
|
|
55
|
-
} from "./index-
|
|
56
|
+
} from "./index-r56xgha8.js";
|
|
56
57
|
import {
|
|
57
58
|
stableStringify,
|
|
58
59
|
closeQuietly
|
|
59
|
-
} from "./index-
|
|
60
|
+
} from "./index-mcgehvgw.js";
|
|
60
61
|
import {
|
|
61
62
|
canonicalModelIdentity,
|
|
62
63
|
renderToolTemplate
|
|
@@ -341,7 +342,7 @@ function getMessageTimesFromOpenCodeDb(sessionId, messageIds) {
|
|
|
341
342
|
try {
|
|
342
343
|
withReadOnlySessionDb((db) => {
|
|
343
344
|
const placeholders = messageIds.map(() => "?").join(",");
|
|
344
|
-
const rows = db.prepare(`SELECT id, time_created FROM message WHERE session_id = ? AND id IN (${placeholders})`).all(sessionId, ...messageIds);
|
|
345
|
+
const rows = db.prepare(`SELECT id, time_created FROM message WHERE +session_id = ? AND id IN (${placeholders})`).all(sessionId, ...messageIds);
|
|
345
346
|
for (const row of rows) {
|
|
346
347
|
if (typeof row.id === "string" && typeof row.time_created === "number") {
|
|
347
348
|
result.set(row.id, row.time_created);
|
|
@@ -1863,6 +1864,13 @@ function readRawSessionMessagePartsById2(sessionId, messageId, onQuery) {
|
|
|
1863
1864
|
return null;
|
|
1864
1865
|
return withReadOnlySessionDb((db) => readRawSessionMessagePartsByIdFromDb2(db, sessionId, messageId, onQuery));
|
|
1865
1866
|
}
|
|
1867
|
+
function readRawSessionBoundaryEndpoints2(sessionId, ids, blockIds) {
|
|
1868
|
+
if (sessionProviders.get(sessionId)?.provider)
|
|
1869
|
+
return null;
|
|
1870
|
+
if (!openCodeDbExists())
|
|
1871
|
+
return new Map(ids.map((id) => [id, null]));
|
|
1872
|
+
return withReadOnlySessionDb((db) => readRawSessionBoundaryEndpointsFromDb2(db, sessionId, ids, blockIds));
|
|
1873
|
+
}
|
|
1866
1874
|
function hasRawSessionMessageById2(sessionId, messageId) {
|
|
1867
1875
|
const provider = sessionProviders.get(sessionId)?.provider;
|
|
1868
1876
|
if (provider?.hasMessageById)
|
|
@@ -2385,4 +2393,4 @@ function readRawSessionSeedTail2(sessionId, boundaryId, onQuery) {
|
|
|
2385
2393
|
});
|
|
2386
2394
|
}
|
|
2387
2395
|
|
|
2388
|
-
export { detectThinkingBindingMismatch, detectLatestTurnThinkingMismatch, isPrefixBoundThinkingModel, detectOverflow, withReadOnlySessionDb, expandToolPart, retreatPastHostUnservedRows, completedToolArcCrossesBoundary, estimateTrueRawMessageTokens, buildToolArcs, fenceBoundaryForCompletedToolArcs, fenceBoundaryForToolArcs, buildTrueRawTokenIndex, computeRawRangeFingerprint, invalidateTrueRawTokenCache, stripSystemInjection, hasUserAnswerMetadata, DreamTokenBudgetExceeded, TOKEN_BUDGET_FINALIZE_MESSAGE, TOKEN_BUDGET_TOOL_REFUSAL, registerBudgetFinalizeChild, releaseBudgetFinalizeChild, createDreamTokenBudget, droppedInputMarker, createDroppedInputGuard, isEditTool, applyEditMarkerToInput, modelAcceptsEmptyContent, isAnthropicFamilyRoute, variantChangeBustsProviderCache, SKELETON_REAL_INPUT_MAX_BYTES, toolInputStringBytes, resolveHostServedBoundaryId2, hasRawMessageProvider2, setRawMessageProvider2, setBoundedRawMessageProvider2, withRawMessageProvider2, cleanUserText2, withRawSessionMessageCache2, readRawSessionMessages2, readRawSessionMessagePage2, getRawSessionMessageOrdinalCount2, RAW_MESSAGE_VISIT_PAGE_SIZE2, visitRawSessionMessages2, readRawSessionMessageRange2, prepareRawSessionOrdinals2, primeTailRawMessageCache2, getCachedAbsoluteMessageCount2, primeInMemoryTailRawMessageCache2, readRawSessionMessageOrdinalPage2, getRawSessionStoredMessageCount2, readRawSessionMessageIdOrdinalsForRange2, readRawSessionMessageIdOrdinals2, readRawSessionMessagePartsById2, hasRawSessionMessageById2, readRawSessionMessageOrdinalById2, compareRawSessionMessageOrder2, readRawSessionMessageById2, getRawSessionMessageCount2, RAW_SESSION_TAG_KEY_PAGE_SIZE2, getRawSessionTagKeysThrough2, getLegacyProtectedTailStartOrdinal2, getProtectedTailStartOrdinal2, readSessionChunk2, getRawSessionMessageIdsThrough2, readRawSessionSeedTail2 };
|
|
2396
|
+
export { detectThinkingBindingMismatch, detectLatestTurnThinkingMismatch, isPrefixBoundThinkingModel, detectOverflow, withReadOnlySessionDb, expandToolPart, retreatPastHostUnservedRows, completedToolArcCrossesBoundary, estimateTrueRawMessageTokens, buildToolArcs, fenceBoundaryForCompletedToolArcs, fenceBoundaryForToolArcs, buildTrueRawTokenIndex, computeRawRangeFingerprint, invalidateTrueRawTokenCache, stripSystemInjection, hasUserAnswerMetadata, DreamTokenBudgetExceeded, TOKEN_BUDGET_FINALIZE_MESSAGE, TOKEN_BUDGET_TOOL_REFUSAL, registerBudgetFinalizeChild, releaseBudgetFinalizeChild, createDreamTokenBudget, droppedInputMarker, createDroppedInputGuard, isEditTool, applyEditMarkerToInput, modelAcceptsEmptyContent, isAnthropicFamilyRoute, variantChangeBustsProviderCache, SKELETON_REAL_INPUT_MAX_BYTES, toolInputStringBytes, resolveHostServedBoundaryId2, hasRawMessageProvider2, setRawMessageProvider2, setBoundedRawMessageProvider2, withRawMessageProvider2, cleanUserText2, withRawSessionMessageCache2, readRawSessionMessages2, readRawSessionMessagePage2, getRawSessionMessageOrdinalCount2, RAW_MESSAGE_VISIT_PAGE_SIZE2, visitRawSessionMessages2, readRawSessionMessageRange2, prepareRawSessionOrdinals2, primeTailRawMessageCache2, getCachedAbsoluteMessageCount2, primeInMemoryTailRawMessageCache2, readRawSessionMessageOrdinalPage2, getRawSessionStoredMessageCount2, readRawSessionMessageIdOrdinalsForRange2, readRawSessionMessageIdOrdinals2, readRawSessionMessagePartsById2, readRawSessionBoundaryEndpoints2, hasRawSessionMessageById2, readRawSessionMessageOrdinalById2, compareRawSessionMessageOrder2, readRawSessionMessageById2, getRawSessionMessageCount2, RAW_SESSION_TAG_KEY_PAGE_SIZE2, getRawSessionTagKeysThrough2, getLegacyProtectedTailStartOrdinal2, getProtectedTailStartOrdinal2, readSessionChunk2, getRawSessionMessageIdsThrough2, readRawSessionSeedTail2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_LOCAL_EMBEDDING_MODEL,
|
|
3
3
|
LocalEmbeddingProvider
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-1evzceyw.js";
|
|
5
5
|
import {
|
|
6
6
|
log2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-x3dcnxh0.js";
|
|
8
8
|
import {
|
|
9
9
|
isSynapseEmbeddingTruncated,
|
|
10
10
|
SynapseEmbeddingProvider
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-21v1kfs7.js";
|
|
12
12
|
import {
|
|
13
13
|
OpenAICompatibleEmbeddingProvider,
|
|
14
14
|
getProjectEmbeddingSnapshot2,
|
|
15
15
|
embedBatchForProject2
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-yarjn32j.js";
|
|
17
17
|
import {
|
|
18
18
|
isEmbeddingHostBusy2
|
|
19
19
|
} from "./index-9p40dgkm.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTokenEstimatorFingerprint,
|
|
3
3
|
estimateTokens
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-r56xgha8.js";
|
|
5
5
|
import {
|
|
6
6
|
getHarness2
|
|
7
7
|
} from "./index-0h2mkab2.js";
|
|
8
8
|
import {
|
|
9
9
|
log2
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-x3dcnxh0.js";
|
|
11
11
|
import {
|
|
12
12
|
isSynapseEmbeddingTruncated
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-21v1kfs7.js";
|
|
14
14
|
import {
|
|
15
15
|
messageFtsOrdinalRangeIsMapped
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-r024r8da.js";
|
|
17
17
|
|
|
18
18
|
// ../plugin/src/features/magic-context/compartment-chunk-embedding.ts
|
|
19
19
|
import { createHash } from "node:crypto";
|