@cortexkit/pi-magic-context 0.49.17 → 0.49.18
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 +1 -1
- package/dist/chunk-embedding-write-worker.js +1 -1
- package/dist/{index-dvbjsh98.js → index-4bv5bttd.js} +2 -2
- package/dist/{index-z7kbck29.js → index-d21pdr8v.js} +1 -1
- package/dist/{index-9j809q6f.js → index-d43hmn31.js} +1 -1
- package/dist/{index-8r2t8fv2.js → index-fvjthct0.js} +10 -1
- package/dist/{index-469ttgzv.js → index-gp928w10.js} +1 -1
- package/dist/{index-5k2mshvq.js → index-r9f4f6s1.js} +6 -2
- package/dist/{index-ej4eak9d.js → index-rhprywn6.js} +2 -2
- package/dist/{index-es03azap.js → index-xxn1tpnv.js} +9 -7
- package/dist/index.js +595 -137
- package/dist/{message-index-2g23b7fe.js → message-index-74qdqmq7.js} +3 -3
- package/dist/{message-index-bounded-d6zj2tn5.js → message-index-bounded-g9hgresf.js} +3 -3
- package/dist/migration-worker.js +1 -1
- package/dist/raw-ordinal-warmup-worker.js +4 -4
- package/dist/{read-session-chunk-2ky7mbqp.js → read-session-chunk-chepqmw5.js} +2 -2
- package/dist/{search-zjyc65g1.js → search-6ztbx25v.js} +4 -4
- package/dist/{search-archive-9akqcr90.js → search-archive-jg4a1kcx.js} +3 -3
- package/dist/{storage-tags-cx6ccsv1.js → storage-tags-1kets0q8.js} +1 -1
- package/dist/subagent-entry.js +7 -7
- package/dist/tag-snapshot-worker-pi.js +3 -3
- package/package.json +6 -1
|
@@ -23,7 +23,7 @@ var [
|
|
|
23
23
|
import("./embedding-cache-7rp4gqzr.js"),
|
|
24
24
|
import("./storage-memory-yxxc5v4n.js"),
|
|
25
25
|
import("./project-embedding-registry-vf1ncptn.js"),
|
|
26
|
-
import("./search-
|
|
26
|
+
import("./search-6ztbx25v.js"),
|
|
27
27
|
import("./embedding-activity-ew6dshfd.js"),
|
|
28
28
|
import("./harness-9872e0ym.js"),
|
|
29
29
|
import("./sqlite-fsp0sf3r.js"),
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
getTagsBySession2,
|
|
9
9
|
getTagsByNumbers2
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-rhprywn6.js";
|
|
11
11
|
import {
|
|
12
12
|
inRootAsyncContext2,
|
|
13
13
|
getSqliteDatabasePath2
|
|
14
14
|
} from "./index-rrwv9y2k.js";
|
|
15
15
|
import {
|
|
16
16
|
createFailClosedBlockingError
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-gp928w10.js";
|
|
18
18
|
|
|
19
19
|
// src/tag-snapshot-worker-client-pi.ts
|
|
20
20
|
import { setImmediate as yieldImmediate } from "node:timers/promises";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
} from "./index-jrap43gc.js";
|
|
47
47
|
import {
|
|
48
48
|
cleanUserText2
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-r9f4f6s1.js";
|
|
50
50
|
import {
|
|
51
51
|
sameProjectDirectory
|
|
52
52
|
} from "./index-wrr9rp9a.js";
|
|
@@ -949,6 +949,15 @@ class V2StoreReader {
|
|
|
949
949
|
ORDER BY seq DESC LIMIT ?`).all(sessionID, ...RAW_MESSAGE_TYPES, throughSeq, limit).map(decode);
|
|
950
950
|
});
|
|
951
951
|
}
|
|
952
|
+
instructionRowsThrough(sessionID, throughSeq) {
|
|
953
|
+
return trackDecodeOperation("instructionRowsThrough", () => {
|
|
954
|
+
if (!Number.isSafeInteger(throughSeq))
|
|
955
|
+
throw new Error("Invalid seq upper bound");
|
|
956
|
+
return this.prepare(`SELECT id, session_id, type, seq, time_created, data FROM session_message
|
|
957
|
+
WHERE session_id = ? AND type = 'system' AND seq <= ?
|
|
958
|
+
ORDER BY seq ASC`).all(sessionID, throughSeq).map(decode);
|
|
959
|
+
});
|
|
960
|
+
}
|
|
952
961
|
sequenceForId(sessionID, id) {
|
|
953
962
|
if (!id)
|
|
954
963
|
return;
|
|
@@ -1305,7 +1305,7 @@ function finishDatabaseOpen(db, dbPath, explicitDbPath, latestSupportedVersion)
|
|
|
1305
1305
|
state.running = startMessageFtsRowidMapBackfill2(db, signal).then(async () => {
|
|
1306
1306
|
if (signal.aborted || !readsOpenCodeStore)
|
|
1307
1307
|
return;
|
|
1308
|
-
const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-
|
|
1308
|
+
const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-chepqmw5.js"));
|
|
1309
1309
|
const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-ssshbdy8.js"));
|
|
1310
1310
|
if (signal.aborted)
|
|
1311
1311
|
return;
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
TAG_SELECT_COLUMNS2,
|
|
24
24
|
getCandidateToolOwners2,
|
|
25
25
|
pickNearestPriorOwner2
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-rhprywn6.js";
|
|
27
27
|
import {
|
|
28
28
|
OMO_INTERNAL_INITIATOR_MARKER,
|
|
29
29
|
isSystemDirective,
|
|
@@ -2900,6 +2900,10 @@ function retreatPastHostUnservedRows(messages, exclusiveEnd, floor) {
|
|
|
2900
2900
|
end -= 1;
|
|
2901
2901
|
return end;
|
|
2902
2902
|
}
|
|
2903
|
+
var COVERED_INSTRUCTION_ROW = "coveredInstructionRow";
|
|
2904
|
+
function isCoveredInstructionRow(value) {
|
|
2905
|
+
return typeof value === "object" && value !== null && value[COVERED_INSTRUCTION_ROW] === true;
|
|
2906
|
+
}
|
|
2903
2907
|
|
|
2904
2908
|
// ../plugin/src/hooks/magic-context/read-session-true-raw-tokens.ts
|
|
2905
2909
|
function completedToolArcCrossesBoundary(invOrdinal, resOrdinal, boundary) {
|
|
@@ -5058,4 +5062,4 @@ function readRawSessionSeedTail2(sessionId, boundaryId, onQuery) {
|
|
|
5058
5062
|
});
|
|
5059
5063
|
}
|
|
5060
5064
|
|
|
5061
|
-
export { detectThinkingBindingMismatch, detectLatestTurnThinkingMismatch, isPrefixBoundThinkingModel, detectOverflow, MAX_EXECUTE_THRESHOLD, escalationBands, MERGED_REASONING_PARTS_PREFIX, decodeMergedReasoningParts, HYGIENE_PROVIDER_UNITS_VERSION, sessionDecisionCalibration, transitionSessionHygieneUnits, 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, setPersistedCompactionMarkerState, parseStrippedPlaceholderState, serializeStrippedPlaceholderState, getStrippedPlaceholderIds, applyStrippedPlaceholderDelta, THINKING_BINDING_RECOVERY_FROZEN_PREFIX, THINKING_BINDING_STRIP_ORDER_END_MARKER, thinkingBindingRecoveryFrozenId, getThinkingBindingRecoveryTarget, armThinkingBindingRecovery, clearThinkingBindingRecoveryIf, getMergedReasoningStrippedIds, addMergedReasoningStrippedIds, getProcessedImageStrippedIds, parseProcessedImageMarkers, serializeProcessedImageMarkers, addProcessedImageStrippedIds, getPendingCompactionMarkerState, getCompactionMarkerHealth, clearPendingCompactionMarkerStateIf, getPendingPiCompactionMarkerState, setPendingPiCompactionMarkerState, clearPendingPiCompactionMarkerStateIf, logPiCompactionMarkerClear, getSessionsWithPendingPiMarker, setSessionWorkMetrics, getSessionWorkMetrics, resolveEpochFloorForPass, 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, isInActiveAnthropicTurn, activeAnthropicTurnStart, hasAnthropicReasoning, findLatestAssistantReasoningMutationExemptMessage, DEFAULT_KEEP_REASONING_TOKENS, resolveKeepReasoningTokens, reasoningStepCost, reasoningBudgetCutoff, reasoningTextAndOpaque, opaqueThinkingCost, estimatePartImageTokens, SKELETON_REAL_INPUT_MAX_BYTES, toolInputStringBytes, resolveHostServedBoundaryId2, hasRawMessageProvider2, 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, compareRawSessionMessageOrder2, readRawSessionMessageById2, getRawSessionMessageCount2, RAW_SESSION_TAG_KEY_PAGE_SIZE2, getRawSessionTagKeysThrough2, getLegacyProtectedTailStartOrdinal2, getProtectedTailStartOrdinal2, readSessionChunk2, getRawSessionMessageIdsThrough2, readRawSessionSeedTail2 };
|
|
5065
|
+
export { detectThinkingBindingMismatch, detectLatestTurnThinkingMismatch, isPrefixBoundThinkingModel, detectOverflow, MAX_EXECUTE_THRESHOLD, escalationBands, MERGED_REASONING_PARTS_PREFIX, decodeMergedReasoningParts, HYGIENE_PROVIDER_UNITS_VERSION, sessionDecisionCalibration, transitionSessionHygieneUnits, 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, setPersistedCompactionMarkerState, parseStrippedPlaceholderState, serializeStrippedPlaceholderState, getStrippedPlaceholderIds, applyStrippedPlaceholderDelta, THINKING_BINDING_RECOVERY_FROZEN_PREFIX, THINKING_BINDING_STRIP_ORDER_END_MARKER, thinkingBindingRecoveryFrozenId, getThinkingBindingRecoveryTarget, armThinkingBindingRecovery, clearThinkingBindingRecoveryIf, getMergedReasoningStrippedIds, addMergedReasoningStrippedIds, getProcessedImageStrippedIds, parseProcessedImageMarkers, serializeProcessedImageMarkers, addProcessedImageStrippedIds, getPendingCompactionMarkerState, getCompactionMarkerHealth, clearPendingCompactionMarkerStateIf, getPendingPiCompactionMarkerState, setPendingPiCompactionMarkerState, clearPendingPiCompactionMarkerStateIf, logPiCompactionMarkerClear, getSessionsWithPendingPiMarker, setSessionWorkMetrics, getSessionWorkMetrics, resolveEpochFloorForPass, withReadOnlySessionDb, expandToolPart, retreatPastHostUnservedRows, isCoveredInstructionRow, 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, findLatestAssistantReasoningMutationExemptMessage, DEFAULT_KEEP_REASONING_TOKENS, resolveKeepReasoningTokens, reasoningStepCost, reasoningBudgetCutoff, reasoningTextAndOpaque, opaqueThinkingCost, estimatePartImageTokens, SKELETON_REAL_INPUT_MAX_BYTES, toolInputStringBytes, resolveHostServedBoundaryId2, hasRawMessageProvider2, 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, compareRawSessionMessageOrder2, readRawSessionMessageById2, getRawSessionMessageCount2, RAW_SESSION_TAG_KEY_PAGE_SIZE2, getRawSessionTagKeysThrough2, getLegacyProtectedTailStartOrdinal2, getProtectedTailStartOrdinal2, readSessionChunk2, getRawSessionMessageIdsThrough2, readRawSessionSeedTail2 };
|
|
@@ -571,8 +571,8 @@ function protectedToolTokenCount(tags, counts, calibration) {
|
|
|
571
571
|
var encoder = new TextEncoder;
|
|
572
572
|
var TAG_PREFIX_REGEX = /^(?:§\d+§\s*)+/;
|
|
573
573
|
var MALFORMED_TAG_PREFIX_REGEX = /^(?:§\d+">§(?:\d+§)?\s*)+/;
|
|
574
|
-
var DANGLING_TAG_GLOBAL_REGEX = /\u00a7\d+(?!\.\d)[^\s\u00a7\w.]?/g;
|
|
575
|
-
var DANGLING_TAG_PREFIX_REGEX = /^(?:\u00a7\d+(?!\.\d)[^\s\u00a7\w.]?\s*)+/;
|
|
574
|
+
var DANGLING_TAG_GLOBAL_REGEX = /\u00a7\d+(?!\d)(?!\.\d)[^\s\u00a7\w.]?/g;
|
|
575
|
+
var DANGLING_TAG_PREFIX_REGEX = /^(?:\u00a7\d+(?!\d)(?!\.\d)[^\s\u00a7\w.]?\s*)+/;
|
|
576
576
|
var COMPLETE_TAG_PAIR_GLOBAL_REGEX = /\u00a7\d+\u00a7/g;
|
|
577
577
|
var MALFORMED_TAG_GLOBAL_REGEX = /\u00a7\d+">(?:\u00a7(?:\d+\u00a7)?)?/g;
|
|
578
578
|
var STRAY_SECTION_CHAR_REGEX = /\u00a7/g;
|
|
@@ -60,12 +60,13 @@ import {
|
|
|
60
60
|
logPiCompactionMarkerClear,
|
|
61
61
|
withReadOnlySessionDb,
|
|
62
62
|
expandToolPart,
|
|
63
|
+
isCoveredInstructionRow,
|
|
63
64
|
hasRawMessageProvider2,
|
|
64
65
|
setRawMessageProvider2,
|
|
65
66
|
visitRawSessionMessages2,
|
|
66
67
|
readRawSessionMessageById2,
|
|
67
68
|
readSessionChunk2
|
|
68
|
-
} from "./index-
|
|
69
|
+
} from "./index-r9f4f6s1.js";
|
|
69
70
|
import {
|
|
70
71
|
isRecord,
|
|
71
72
|
providerVisibleMessage,
|
|
@@ -79,7 +80,7 @@ import {
|
|
|
79
80
|
getTagNumberByMessageId2,
|
|
80
81
|
getTagsBySession2,
|
|
81
82
|
getTagById2
|
|
82
|
-
} from "./index-
|
|
83
|
+
} from "./index-rhprywn6.js";
|
|
83
84
|
import {
|
|
84
85
|
estimateTokens
|
|
85
86
|
} from "./index-1kcfwk9c.js";
|
|
@@ -107,7 +108,7 @@ import {
|
|
|
107
108
|
V2StoreReader,
|
|
108
109
|
deleteSessionScopedRows,
|
|
109
110
|
getLastIndexedOrdinal2
|
|
110
|
-
} from "./index-
|
|
111
|
+
} from "./index-fvjthct0.js";
|
|
111
112
|
import {
|
|
112
113
|
resolveOpenCodeDbPath,
|
|
113
114
|
assertOpenCodeStoreGeneration
|
|
@@ -137,7 +138,7 @@ import {
|
|
|
137
138
|
} from "./index-vmcgew7x.js";
|
|
138
139
|
import {
|
|
139
140
|
getErrorMessage
|
|
140
|
-
} from "./index-
|
|
141
|
+
} from "./index-gp928w10.js";
|
|
141
142
|
import {
|
|
142
143
|
V2_MEMORY_CATEGORIES,
|
|
143
144
|
CATEGORY_PRIORITY,
|
|
@@ -173,7 +174,7 @@ import {
|
|
|
173
174
|
resolveMemoriesByIdsForSearch2,
|
|
174
175
|
unifiedSearch2,
|
|
175
176
|
formatSearchResults2
|
|
176
|
-
} from "./index-
|
|
177
|
+
} from "./index-d43hmn31.js";
|
|
177
178
|
import {
|
|
178
179
|
computeCueContentHash,
|
|
179
180
|
getMuralCueState,
|
|
@@ -201,7 +202,7 @@ import {
|
|
|
201
202
|
} from "./index-qpq6w67c.js";
|
|
202
203
|
import {
|
|
203
204
|
renderSearchArchive2
|
|
204
|
-
} from "./index-
|
|
205
|
+
} from "./index-d21pdr8v.js";
|
|
205
206
|
import {
|
|
206
207
|
computeNormalizedHash
|
|
207
208
|
} from "./index-9x1f96r8.js";
|
|
@@ -4733,10 +4734,11 @@ function dropSlot(sessionId, _reason) {
|
|
|
4733
4734
|
if (pass !== undefined)
|
|
4734
4735
|
hydrationAttemptBySession.set(sessionId, pass);
|
|
4735
4736
|
}
|
|
4736
|
-
function noteEntry(sessionId,
|
|
4737
|
+
function noteEntry(sessionId, input) {
|
|
4737
4738
|
const slot = getSlot(sessionId);
|
|
4738
4739
|
if (!slot)
|
|
4739
4740
|
return null;
|
|
4741
|
+
const messages = input.some((message) => isCoveredInstructionRow(message.info)) ? input.filter((message) => !isCoveredInstructionRow(message.info)) : input;
|
|
4740
4742
|
const entryInputIds = messages.map((message) => {
|
|
4741
4743
|
const id = message.info?.id;
|
|
4742
4744
|
return typeof id === "string" ? id : "";
|