@cortexkit/pi-magic-context 0.49.33 → 0.49.35
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 +11 -6
- package/dist/chunk-embedding-write-worker.js +16 -13
- package/dist/{compaction-marker-candidates-p1kqkqhq.js → compaction-marker-candidates-hk2frhac.js} +3 -2
- package/dist/compaction-marker-candidates-worker.js +1 -1
- package/dist/{compartment-chunk-embedding-8c85ebce.js → compartment-chunk-embedding-5j1d1e3v.js} +8 -7
- package/dist/embedding-backfill-jt459ady.js +26 -0
- package/dist/embedding-worker-process.js +2 -1
- package/dist/embedding-worker.js +5 -4
- package/dist/expand-attachments-8sxeyj26.js +21 -0
- package/dist/historian-calibration-extension.js +2 -1
- package/dist/{index-drmr22ac.js → index-0rvn6vhq.js} +3 -3
- package/dist/{index-hqw0rt9k.js → index-0wtm7g7f.js} +1 -1
- package/dist/{index-r9y6tbbm.js → index-11knwv2h.js} +20 -240
- package/dist/{index-0gymvr5j.js → index-2p691ayw.js} +19 -8
- package/dist/{index-wqpjhx1p.js → index-2qqsnh1b.js} +2 -2
- package/dist/index-3bb24eb6.js +229 -0
- package/dist/{index-48twbev2.js → index-6pk49fc3.js} +37 -51
- package/dist/index-6y6v2wvn.js +194 -0
- package/dist/{index-wpazxe9x.js → index-8m82cez2.js} +4 -4
- package/dist/{index-xn5yh0pn.js → index-a11nmw5t.js} +29 -128
- package/dist/index-by1bzjcd.js +24 -0
- package/dist/index-c6wbq66z.js +168 -0
- package/dist/{index-jn44h81p.js → index-cq71g4dk.js} +1 -1
- package/dist/{index-6wdwv3a6.js → index-d0w84hy5.js} +1 -1
- package/dist/{index-pb3ea2tq.js → index-d107f484.js} +5 -5
- package/dist/index-d21rhpbd.js +4171 -0
- package/dist/index-dnp1jjar.js +222 -0
- package/dist/index-ea37qn4x.js +777 -0
- package/dist/{index-k5ya5k8r.js → index-fzm8fm4z.js} +469 -4976
- package/dist/{index-fgs78jyd.js → index-gymgz20n.js} +5 -222
- package/dist/index-hgd00nas.js +113 -0
- package/dist/{index-d5q1q700.js → index-m68qfjte.js} +2 -2
- package/dist/{index-6981g1xv.js → index-mkh1cm5k.js} +1 -1
- package/dist/{index-4zemngt7.js → index-mp0gh04g.js} +2 -2
- package/dist/{index-23t8ryqw.js → index-n0zjvs3h.js} +1 -168
- package/dist/{index-bvpar0bg.js → index-rgvqh5x7.js} +2 -2
- package/dist/{index-gwxaz0z5.js → index-rzfr7wdv.js} +2 -2
- package/dist/{index-87xkw8xm.js → index-svqk0701.js} +70 -35
- package/dist/{index-9xd7qveg.js → index-vgfk2xa5.js} +4 -4
- package/dist/index-w26zvs1q.js +528 -0
- package/dist/index-wrr9rp9a.js +16 -0
- package/dist/{index-my0dn413.js → index-wt7vmyj4.js} +1 -1
- package/dist/{index-c474g0gj.js → index-yacs388s.js} +1 -1
- package/dist/{index-e59j3yq5.js → index-yg42q9bc.js} +95 -550
- package/dist/{index-eqw9t2ty.js → index-yhsmjvqa.js} +3 -3
- package/dist/index.js +523 -236
- package/dist/{logger-shetp43v.js → logger-2j70hhz4.js} +2 -1
- package/dist/{message-fts-rowid-map-3mbvdgn9.js → message-fts-rowid-map-aw4xa05a.js} +5 -4
- package/dist/{message-index-bounded-n30vk21s.js → message-index-bounded-da34vhs4.js} +12 -10
- package/dist/{message-time-backfill-e3r8ddh1.js → message-time-backfill-x45573rs.js} +3 -2
- package/dist/migration-worker.js +13 -10
- package/dist/{project-embedding-registry-acqb6be4.js → project-embedding-registry-davzvsz9.js} +13 -11
- package/dist/raw-ordinal-warmup-worker.js +12 -7
- package/dist/{read-session-chunk-ka6dhc77.js → read-session-chunk-nbcznexm.js} +14 -8
- package/dist/{read-session-raw-g9b1zdn5.js → read-session-raw-zb8kpa2y.js} +3 -2
- package/dist/render-d931g2vv.js +41 -0
- package/dist/{safe-notification-target-zcpchea6.js → safe-notification-target-jk69jxwp.js} +3 -2
- package/dist/search-archive-a76pp30g.js +24 -0
- package/dist/{search-qbxrnnjb.js → search-atp7g95j.js} +24 -20
- package/dist/{storage-tags-6409qq18.js → storage-tags-jy8b0xsy.js} +5 -4
- package/dist/store-kabezr25.js +453 -0
- package/dist/store-reader-2m80zs5z.js +14 -0
- package/dist/subagent-entry.js +31 -23
- package/dist/tag-snapshot-worker-pi.js +15 -12
- package/dist/v2-archive-reader-wcjcfdzq.js +11 -0
- package/package.json +1 -1
- package/dist/embedding-backfill-rwfmyvze.js +0 -24
- package/dist/search-archive-msy2bczx.js +0 -21
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
log2,
|
|
14
14
|
sessionLog2
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-gymgz20n.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveDecisionCalibration,
|
|
18
18
|
calibrationForModelKey,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
TAG_SELECT_COLUMNS2,
|
|
24
24
|
getCandidateToolOwners2,
|
|
25
25
|
pickNearestPriorOwner2
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-yhsmjvqa.js";
|
|
27
27
|
import {
|
|
28
28
|
OMO_INTERNAL_INITIATOR_MARKER,
|
|
29
29
|
isSystemDirective,
|
|
@@ -39,14 +39,14 @@ import {
|
|
|
39
39
|
formatBlock,
|
|
40
40
|
compactTextForSummary,
|
|
41
41
|
mergeCommitHashes
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-wt7vmyj4.js";
|
|
43
43
|
import {
|
|
44
44
|
Database2,
|
|
45
45
|
prepareCachedStatement2
|
|
46
46
|
} from "./index-2qtx0q6h.js";
|
|
47
47
|
import {
|
|
48
48
|
stableStringify
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-yacs388s.js";
|
|
50
50
|
import {
|
|
51
51
|
resolveOpenCodeDbPath,
|
|
52
52
|
assertOpenCodeStoreGeneration,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
recordOpenCodeDbReadFailure,
|
|
55
55
|
clearOpenCodeDbReadFailure,
|
|
56
56
|
claimOpenCodeDbDiagnosticOnce
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-n0zjvs3h.js";
|
|
58
58
|
import {
|
|
59
59
|
prewarmRawSessionOrdinalsForDb,
|
|
60
60
|
readRawSessionMessagesFromDb2,
|
|
@@ -71,13 +71,17 @@ import {
|
|
|
71
71
|
hasRawSessionMessageByIdFromDb2,
|
|
72
72
|
readRawSeedTailFromDb2,
|
|
73
73
|
readRawSessionBoundaryEndpointsFromDb2
|
|
74
|
-
} from "./index-
|
|
74
|
+
} from "./index-mkh1cm5k.js";
|
|
75
|
+
import {
|
|
76
|
+
markHostUnservedRow,
|
|
77
|
+
isHostUnservedRow
|
|
78
|
+
} from "./index-by1bzjcd.js";
|
|
75
79
|
import {
|
|
76
80
|
closeQuietly
|
|
77
81
|
} from "./index-nrzkqte4.js";
|
|
78
82
|
import {
|
|
79
83
|
logSlowWriteTransaction
|
|
80
|
-
} from "./index-
|
|
84
|
+
} from "./index-0wtm7g7f.js";
|
|
81
85
|
|
|
82
86
|
// ../plugin/src/features/magic-context/overflow-detection.ts
|
|
83
87
|
var OVERFLOW_PATTERNS = [
|
|
@@ -2311,7 +2315,11 @@ function parsePersistedCompactionMarkerState(raw, storedTargetEndMessageId) {
|
|
|
2311
2315
|
if (parsed && typeof parsed === "object" && typeof parsed.boundaryMessageId === "string" && typeof parsed.summaryMessageId === "string" && typeof parsed.compactionPartId === "string" && typeof parsed.summaryPartId === "string" && typeof parsed.boundaryOrdinal === "number") {
|
|
2312
2316
|
const targetEndMessageId = typeof storedTargetEndMessageId === "string" && storedTargetEndMessageId.length > 0 ? storedTargetEndMessageId : typeof parsed.targetEndMessageId === "string" && parsed.targetEndMessageId.length > 0 ? parsed.targetEndMessageId : null;
|
|
2313
2317
|
return {
|
|
2314
|
-
|
|
2318
|
+
boundaryMessageId: parsed.boundaryMessageId,
|
|
2319
|
+
summaryMessageId: parsed.summaryMessageId,
|
|
2320
|
+
compactionPartId: parsed.compactionPartId,
|
|
2321
|
+
summaryPartId: parsed.summaryPartId,
|
|
2322
|
+
boundaryOrdinal: parsed.boundaryOrdinal,
|
|
2315
2323
|
targetEndMessageId
|
|
2316
2324
|
};
|
|
2317
2325
|
}
|
|
@@ -2322,12 +2330,32 @@ function getPersistedCompactionMarkerState(db, sessionId) {
|
|
|
2322
2330
|
const row = db.prepare("SELECT compaction_marker_state, compaction_marker_target_end_message_id FROM session_meta WHERE session_id = ?").get(sessionId);
|
|
2323
2331
|
return parsePersistedCompactionMarkerState(row?.compaction_marker_state, row?.compaction_marker_target_end_message_id);
|
|
2324
2332
|
}
|
|
2325
|
-
function
|
|
2326
|
-
db.
|
|
2333
|
+
function getCompactionMarkerPublicationState(db, sessionId) {
|
|
2334
|
+
const row = db.prepare("SELECT compaction_marker_state FROM session_meta WHERE session_id = ?").get(sessionId);
|
|
2335
|
+
const raw = row?.compaction_marker_state ?? "";
|
|
2336
|
+
let pending = null;
|
|
2337
|
+
try {
|
|
2338
|
+
pending = parsePersistedCompactionMarkerState(JSON.stringify(JSON.parse(raw).pending));
|
|
2339
|
+
} catch {}
|
|
2340
|
+
return { raw, pending };
|
|
2341
|
+
}
|
|
2342
|
+
function compareAndSetCompactionMarkerPublicationState(db, sessionId, expectedRaw, state, pending) {
|
|
2343
|
+
return db.transaction(() => {
|
|
2327
2344
|
ensureSessionMetaRow(db, sessionId);
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2345
|
+
let envelope = {};
|
|
2346
|
+
if (pending) {
|
|
2347
|
+
try {
|
|
2348
|
+
const parsed = JSON.parse(expectedRaw);
|
|
2349
|
+
if (parsed && typeof parsed === "object")
|
|
2350
|
+
envelope = parsed;
|
|
2351
|
+
} catch {}
|
|
2352
|
+
}
|
|
2353
|
+
const raw = JSON.stringify(pending ? { ...envelope, pending } : state);
|
|
2354
|
+
const result = db.prepare(`UPDATE session_meta SET compaction_marker_state = ?, compaction_marker_target_end_message_id = ?
|
|
2355
|
+
WHERE session_id = ? AND COALESCE(compaction_marker_state, '') = ?`).run(raw, state?.targetEndMessageId ?? null, sessionId, expectedRaw);
|
|
2356
|
+
if (result.changes !== 1)
|
|
2357
|
+
throw new Error("marker publication state changed concurrently");
|
|
2358
|
+
return raw;
|
|
2331
2359
|
}).immediate();
|
|
2332
2360
|
}
|
|
2333
2361
|
function getDeferredClearedCompactionMarkerState(db, sessionId) {
|
|
@@ -3007,27 +3035,22 @@ function askAnswerLines(text) {
|
|
|
3007
3035
|
return extractAskAnswerNotices(text).map(formatAskAnswerNotice);
|
|
3008
3036
|
}
|
|
3009
3037
|
|
|
3010
|
-
// ../plugin/src/hooks/magic-context/
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3038
|
+
// ../plugin/src/hooks/magic-context/compartment-commit-hashes.ts
|
|
3039
|
+
function rawCommitHashes(value) {
|
|
3040
|
+
if (typeof value === "string") {
|
|
3041
|
+
return Array.from(value.matchAll(/\b[0-9a-f]{7,40}\b/gi), (match) => match[0].toLowerCase());
|
|
3042
|
+
}
|
|
3043
|
+
if (value === null || typeof value !== "object")
|
|
3044
|
+
return [];
|
|
3045
|
+
return Object.values(value).flatMap(rawCommitHashes);
|
|
3046
|
+
}
|
|
3047
|
+
function removeUnsupportedCommitHashes(text, supported) {
|
|
3048
|
+
return text.replace(/`?\b([0-9a-f]{7,40})\b`?/gi, (token, hash) => {
|
|
3049
|
+
const normalized = hash.toLowerCase();
|
|
3050
|
+
if (!/[a-f]/.test(normalized))
|
|
3051
|
+
return token;
|
|
3052
|
+
return Array.from(supported).some((source) => source.startsWith(normalized)) ? token : "";
|
|
3017
3053
|
});
|
|
3018
|
-
return target;
|
|
3019
|
-
}
|
|
3020
|
-
function isHostUnservedRow(value) {
|
|
3021
|
-
return typeof value === "object" && value !== null && value[HOST_UNSERVED_ROW] === true;
|
|
3022
|
-
}
|
|
3023
|
-
function retreatPastHostUnservedRows(messages, exclusiveEnd, floor) {
|
|
3024
|
-
if (!messages.some(isHostUnservedRow))
|
|
3025
|
-
return exclusiveEnd;
|
|
3026
|
-
const byOrdinal = new Map(messages.map((message) => [message.ordinal, message]));
|
|
3027
|
-
let end = exclusiveEnd;
|
|
3028
|
-
while (end - 1 >= floor && isHostUnservedRow(byOrdinal.get(end - 1)))
|
|
3029
|
-
end -= 1;
|
|
3030
|
-
return end;
|
|
3031
3054
|
}
|
|
3032
3055
|
|
|
3033
3056
|
// ../plugin/src/hooks/magic-context/read-session-true-raw-tokens.ts
|
|
@@ -4258,6 +4281,13 @@ function resolveHostServedBoundaryId2(sessionId, messageId) {
|
|
|
4258
4281
|
function hasRawMessageProvider2(sessionId) {
|
|
4259
4282
|
return sessionProviders.has(sessionId);
|
|
4260
4283
|
}
|
|
4284
|
+
function rawMessageWorkerSource2(sessionId) {
|
|
4285
|
+
return sessionProviders.get(sessionId)?.provider.workerSource;
|
|
4286
|
+
}
|
|
4287
|
+
function rawMessageOffThreadRangeReader2(sessionId) {
|
|
4288
|
+
const provider = sessionProviders.get(sessionId)?.provider;
|
|
4289
|
+
return provider?.readMessageIdOrdinalsForRangeOffThread?.bind(provider);
|
|
4290
|
+
}
|
|
4261
4291
|
function setRawMessageProvider2(sessionId, provider) {
|
|
4262
4292
|
const current = sessionProviders.get(sessionId);
|
|
4263
4293
|
const registration = current?.provider === provider ? current : { provider, scopes: 0 };
|
|
@@ -5044,7 +5074,12 @@ function readSessionChunk2(sessionId, tokenBudget, offset = 1, eligibleEndOrdina
|
|
|
5044
5074
|
}
|
|
5045
5075
|
if (msg.ordinal < startOrdinal)
|
|
5046
5076
|
continue;
|
|
5047
|
-
const
|
|
5077
|
+
const commitHashes = rawCommitHashes(msg.parts);
|
|
5078
|
+
const meta = {
|
|
5079
|
+
ordinal: msg.ordinal,
|
|
5080
|
+
messageId: msg.id
|
|
5081
|
+
};
|
|
5082
|
+
Object.defineProperty(meta, "commitHashes", { value: commitHashes });
|
|
5048
5083
|
if (isHostUnservedRow(msg))
|
|
5049
5084
|
markHostUnservedRow(meta);
|
|
5050
5085
|
if (msg.role === "system") {
|
|
@@ -5222,4 +5257,4 @@ function readRawSessionSeedTail2(sessionId, boundaryId, onQuery) {
|
|
|
5222
5257
|
});
|
|
5223
5258
|
}
|
|
5224
5259
|
|
|
5225
|
-
export { detectThinkingBindingMismatch, detectLatestTurnThinkingMismatch, isPrefixBoundThinkingModel, detectOverflow, MAX_EXECUTE_THRESHOLD, escalationBands, MERGED_REASONING_PARTS_PREFIX, decodeMergedReasoningParts, HYGIENE_PROVIDER_UNITS_VERSION, sessionDecisionCalibration, transitionSessionHygieneUnits, rowWindowMass, computeProtectionWindow, readEpochFloorSnapshot, getProtectionWindowForSession, SESSION_META_SELECT_COLUMNS, META_COLUMNS, BOOLEAN_META_KEYS, NULL_BIND_META_KEYS, isSessionMetaRow, getDefaultSessionMeta, ensureSessionMetaRow, toSessionMeta, persistCachedM0, clearCachedM0M1, isRustMarkerAdmissionFenced, ReplayDocumentError, readReplayEnvelope, readReplayDocument, updateReplayDocument, writeReplayDocument, isProviderOverflowFailClosedProven, getEmergencyRecoveryArmedAt, describeProtectedTailDrainBudgetSkip, loadProtectedTailMeta, markProtectedTailPolicyV3Seeded, recordProtectedTailPublicationFloor, recordProtectedTailNoEligibleHead, getWrapupInProgressState, isWrapupInProgress, acquireWrapupInProgress, updateWrapupInProgress, releaseWrapupInProgress, resolveCompactionModeRecord, getCompactionModeRecord, setCompactionModeRecord, EMERGENCY_DRAIN_FAILURE_BACKOFF_MS, getProtectedTailDrainBudgetSkip, reserveProtectedTailDrainTokens, clearEmergencyDrainLatch, recordHistorianDrainFailure, clearHistorianDrainFailure, rollbackProtectedTailDrainReservation, clearPersistedReasoningWatermark, getEmergencyInputSample, setEmergencyDropSample, clearEmergencyDropSample, getLastNudgeUndropped, setLastNudgeUndropped, getChannel1NudgeState, setChannel1NudgeState, markChannel1PostReduceGracePending, captureChannel1PostReduceGraceBaseline, getChannel2NudgeState, getChannel2NudgeClaim, setChannel2NudgeState, casChannel2NudgeState, claimChannel2NudgeState, casChannel2NudgeClaim, getPersistedNoteNudge, setPersistedNoteNudgeTrigger, setPersistedNoteNudgeTriggerMessageId, getNoteNudgeAnchors, getAutoSearchHintDecisions, deliverNoteNudgeAtomic, appendAutoSearchHintDecision, pruneNoteNudgeAnchors, queueAutoSearchHintDecisionRetirement, flushAutoSearchHintDecisionRetirement, getPersistedTodoSyntheticAnchor, setPersistedTodoSyntheticAnchor, clearPersistedTodoSyntheticAnchor, getNoteLastReadAt, setNoteLastReadAt, getHistorianFailureState, incrementHistorianFailure, clearHistorianFailureState, getOverflowState, recordOverflowDetected, clearEmergencyRecovery, clearDetectedContextLimit, getPersistedCompactionMarkerState,
|
|
5260
|
+
export { detectThinkingBindingMismatch, detectLatestTurnThinkingMismatch, isPrefixBoundThinkingModel, detectOverflow, MAX_EXECUTE_THRESHOLD, escalationBands, MERGED_REASONING_PARTS_PREFIX, decodeMergedReasoningParts, HYGIENE_PROVIDER_UNITS_VERSION, sessionDecisionCalibration, transitionSessionHygieneUnits, rowWindowMass, computeProtectionWindow, readEpochFloorSnapshot, getProtectionWindowForSession, SESSION_META_SELECT_COLUMNS, META_COLUMNS, BOOLEAN_META_KEYS, NULL_BIND_META_KEYS, isSessionMetaRow, getDefaultSessionMeta, ensureSessionMetaRow, toSessionMeta, persistCachedM0, clearCachedM0M1, isRustMarkerAdmissionFenced, ReplayDocumentError, readReplayEnvelope, readReplayDocument, updateReplayDocument, writeReplayDocument, isProviderOverflowFailClosedProven, getEmergencyRecoveryArmedAt, describeProtectedTailDrainBudgetSkip, loadProtectedTailMeta, markProtectedTailPolicyV3Seeded, recordProtectedTailPublicationFloor, recordProtectedTailNoEligibleHead, getWrapupInProgressState, isWrapupInProgress, acquireWrapupInProgress, updateWrapupInProgress, releaseWrapupInProgress, resolveCompactionModeRecord, getCompactionModeRecord, setCompactionModeRecord, EMERGENCY_DRAIN_FAILURE_BACKOFF_MS, getProtectedTailDrainBudgetSkip, reserveProtectedTailDrainTokens, clearEmergencyDrainLatch, recordHistorianDrainFailure, clearHistorianDrainFailure, rollbackProtectedTailDrainReservation, clearPersistedReasoningWatermark, getEmergencyInputSample, setEmergencyDropSample, clearEmergencyDropSample, getLastNudgeUndropped, setLastNudgeUndropped, getChannel1NudgeState, setChannel1NudgeState, markChannel1PostReduceGracePending, captureChannel1PostReduceGraceBaseline, getChannel2NudgeState, getChannel2NudgeClaim, setChannel2NudgeState, casChannel2NudgeState, claimChannel2NudgeState, casChannel2NudgeClaim, getPersistedNoteNudge, setPersistedNoteNudgeTrigger, setPersistedNoteNudgeTriggerMessageId, getNoteNudgeAnchors, getAutoSearchHintDecisions, deliverNoteNudgeAtomic, appendAutoSearchHintDecision, pruneNoteNudgeAnchors, queueAutoSearchHintDecisionRetirement, flushAutoSearchHintDecisionRetirement, getPersistedTodoSyntheticAnchor, setPersistedTodoSyntheticAnchor, clearPersistedTodoSyntheticAnchor, getNoteLastReadAt, setNoteLastReadAt, getHistorianFailureState, incrementHistorianFailure, clearHistorianFailureState, getOverflowState, recordOverflowDetected, clearEmergencyRecovery, clearDetectedContextLimit, getPersistedCompactionMarkerState, getCompactionMarkerPublicationState, compareAndSetCompactionMarkerPublicationState, getDeferredClearedCompactionMarkerState, parseStrippedPlaceholderState, serializeStrippedPlaceholderState, getStrippedPlaceholderIds, applyStrippedPlaceholderDelta, THINKING_BINDING_RECOVERY_FROZEN_PREFIX, THINKING_BINDING_STRIP_ORDER_END_MARKER, thinkingBindingRecoveryFrozenId, COMPACTION_OFF_THINKING_FROZEN_PREFIX, getThinkingBindingRecoveryTarget, armThinkingBindingRecovery, clearThinkingBindingRecoveryIf, getMergedReasoningStrippedIds, addMergedReasoningStrippedIds, getProcessedImageStrippedIds, parseProcessedImageMarkers, serializeProcessedImageMarkers, addProcessedImageStrippedIds, getPendingCompactionMarkerState, getCompactionMarkerHealth, loadPostprocessReplaySnapshot, clearPendingCompactionMarkerStateIf, getPendingPiCompactionMarkerState, setPendingPiCompactionMarkerState, clearPendingPiCompactionMarkerStateIf, logPiCompactionMarkerClear, getSessionsWithPendingPiMarker, setSessionWorkMetrics, getSessionWorkMetrics, resolveEpochFloorForPass, withReadOnlySessionDb, expandToolPart, askAnswerLines, removeUnsupportedCommitHashes, completedToolArcCrossesBoundary, estimateTrueRawMessageTokens, buildToolArcs, fenceBoundaryForCompletedToolArcs, fenceBoundaryForToolArcs, buildTrueRawTokenIndex, computeRawRangeFingerprint, invalidateTrueRawTokenCache, stripSystemInjection, isFilePart, hasUserAnswerMetadata, DreamTokenBudgetExceeded, TOKEN_BUDGET_FINALIZE_MESSAGE, TOKEN_BUDGET_TOOL_REFUSAL, registerBudgetFinalizeChild, releaseBudgetFinalizeChild, createDreamTokenBudget, droppedInputMarker, createDroppedInputGuard, isEditTool, applyEditMarkerToInput, modelAcceptsEmptyContent, isAnthropicFamilyRoute, variantChangeBustsProviderCache, isInActiveAnthropicTurn, activeAnthropicTurnStart, hasAnthropicReasoning, isMarkerOnlyText, findLatestAssistantReasoningMutationExemptMessage, DEFAULT_KEEP_REASONING_TOKENS, resolveKeepReasoningTokens, reasoningStepCost, reasoningBudgetCutoff, reasoningTextAndOpaque, opaqueThinkingCost, estimatePartImageTokens, SKELETON_REAL_INPUT_MAX_BYTES, toolInputStringBytes, resolveHostServedBoundaryId2, hasRawMessageProvider2, rawMessageWorkerSource2, rawMessageOffThreadRangeReader2, setRawMessageProvider2, setBoundedRawMessageProvider2, withRawMessageProvider2, cleanUserText2, withRawSessionMessageCache2, readRawSessionMessages2, readRawSessionMessagePage2, getRawSessionMessageOrdinalCount2, RAW_MESSAGE_VISIT_PAGE_SIZE2, visitRawSessionMessages2, visitRawSessionMessagesAsync2, readRawSessionMessageRange2, prepareRawSessionOrdinals2, primeTailRawMessageCache2, getCachedAbsoluteMessageCount2, primeInMemoryTailRawMessageCache2, readRawSessionMessageOrdinalPage2, getRawSessionStoredMessageCount2, readRawSessionMessageIdOrdinalsForRange2, readRawSessionMessageIdOrdinals2, readRawSessionMessagePartsById2, readRawSessionBoundaryEndpoints2, hasRawSessionMessageById2, readRawSessionMessageOrdinalById2, resolveHistorianChunkStart2, compareRawSessionMessageOrder2, readRawSessionMessageById2, getRawSessionMessageCount2, RAW_SESSION_TAG_KEY_PAGE_SIZE2, getRawSessionTagKeysThrough2, getLegacyProtectedTailStartOrdinal2, getProtectedTailStartOrdinal2, readSessionChunk2, getRawSessionMessageIdsThrough2, readRawSessionSeedTail2 };
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./index-ccanzg8p.js";
|
|
4
4
|
import {
|
|
5
5
|
log2
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-gymgz20n.js";
|
|
7
7
|
import {
|
|
8
8
|
isSynapseEmbeddingTruncated,
|
|
9
9
|
SynapseEmbeddingProvider
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-rzfr7wdv.js";
|
|
11
11
|
import {
|
|
12
12
|
LocalEmbeddingProvider
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-2qqsnh1b.js";
|
|
14
14
|
import {
|
|
15
15
|
OpenAICompatibleEmbeddingProvider,
|
|
16
16
|
getProjectEmbeddingSnapshot2,
|
|
17
17
|
embedBatchForProject2
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-a11nmw5t.js";
|
|
19
19
|
import {
|
|
20
20
|
isEmbeddingHostBusy2
|
|
21
21
|
} from "./index-9p40dgkm.js";
|