@cortexkit/pi-magic-context 0.49.68 → 0.49.70

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.
Files changed (27) hide show
  1. package/dist/auto-search-worker.js +1 -1
  2. package/dist/chunk-embedding-write-worker.js +1 -1
  3. package/dist/historian-calibration-extension.js +1 -1
  4. package/dist/{index-f686v7vm.js → index-2bavnrw8.js} +1 -1
  5. package/dist/{index-k6110hrj.js → index-2kb65n0s.js} +1 -1
  6. package/dist/{index-2rqb9gs1.js → index-4dqwxb7k.js} +1 -1
  7. package/dist/{index-xgfh9h2j.js → index-51xr6g7s.js} +1 -1
  8. package/dist/{index-n3msyfqa.js → index-73fw4cd4.js} +4 -1
  9. package/dist/{index-7qedjycm.js → index-bcwy4wm1.js} +7 -7
  10. package/dist/{index-sa8m6awf.js → index-d7yx4ymd.js} +1 -1
  11. package/dist/{index-0b5kqg7n.js → index-j4mwdz3q.js} +2 -1
  12. package/dist/{index-vn6dj2d3.js → index-sg6tdkqh.js} +1 -1
  13. package/dist/{index-979pfatc.js → index-tcrd11cb.js} +3 -3
  14. package/dist/{index-01xpfs6w.js → index-zgj2mxrn.js} +3 -3
  15. package/dist/index.js +22 -13
  16. package/dist/{message-index-bounded-0zz16k8x.js → message-index-bounded-fqeqp76p.js} +3 -3
  17. package/dist/migration-worker.js +1 -1
  18. package/dist/raw-ordinal-warmup-worker.js +4 -4
  19. package/dist/{read-session-chunk-e6aztf4q.js → read-session-chunk-tjj2wzxs.js} +2 -2
  20. package/dist/{render-3x6z4qxx.js → render-793jtz3r.js} +5 -5
  21. package/dist/{search-3r76qtmk.js → search-7tpgsnbs.js} +4 -4
  22. package/dist/{search-archive-54jhedy7.js → search-archive-gmyvkadj.js} +4 -4
  23. package/dist/{storage-tags-vesdscgd.js → storage-tags-wq8p5wrh.js} +1 -1
  24. package/dist/subagent-entry.js +9 -9
  25. package/dist/tag-snapshot-worker-pi.js +3 -3
  26. package/dist/{v2-archive-reader-06ny8gx4.js → v2-archive-reader-99stcer0.js} +1 -1
  27. package/package.json +1 -1
@@ -31,7 +31,7 @@ serveWorkerJobs(async (initial, port) => {
31
31
  import("./embedding-cache-7rp4gqzr.js"),
32
32
  import("./storage-memory-0ndn65fm.js"),
33
33
  import("./project-embedding-registry-63wsm3a8.js"),
34
- import("./search-3r76qtmk.js"),
34
+ import("./search-7tpgsnbs.js"),
35
35
  import("./compartment-chunk-embedding-avkyp2df.js"),
36
36
  import("./embedding-activity-ew6dshfd.js"),
37
37
  import("./harness-9872e0ym.js"),
@@ -35,7 +35,7 @@ import"./index-453s1hj6.js";
35
35
  import {
36
36
  LATEST_SUPPORTED_VERSION,
37
37
  enforceSchemaFence
38
- } from "./index-vn6dj2d3.js";
38
+ } from "./index-sg6tdkqh.js";
39
39
  import"./index-3bb24eb6.js";
40
40
  import"./index-gavj3e6h.js";
41
41
  import"./index-jhmz9tgv.js";
@@ -7,7 +7,7 @@ import {
7
7
  ceilProviderOutputTokens2,
8
8
  withoutProviderTemperature2,
9
9
  historianCalibrationExtension
10
- } from "./index-0b5kqg7n.js";
10
+ } from "./index-j4mwdz3q.js";
11
11
  import"./index-4knyh1kt.js";
12
12
  import"./index-6x556c2q.js";
13
13
  import"./index-tm11k42a.js";
@@ -91,7 +91,7 @@ import {
91
91
  clearIndexedMessages,
92
92
  indexSingleMessage,
93
93
  indexMessagesAfterOrdinal
94
- } from "./index-sa8m6awf.js";
94
+ } from "./index-d7yx4ymd.js";
95
95
  import {
96
96
  MESSAGE_FTS_SESSION_FILTER_SQL,
97
97
  withMessageFtsSessionFilter
@@ -39,7 +39,7 @@ import {
39
39
  providerVisiblePart,
40
40
  getCandidateToolOwners2,
41
41
  pickNearestPriorOwner2
42
- } from "./index-n3msyfqa.js";
42
+ } from "./index-73fw4cd4.js";
43
43
  import {
44
44
  OMO_INTERNAL_INITIATOR_MARKER,
45
45
  isSystemDirective,
@@ -6,7 +6,7 @@ import {
6
6
  } from "./index-pefn1gt5.js";
7
7
  import {
8
8
  readRawSessionMessageIdOrdinalsForRange2
9
- } from "./index-k6110hrj.js";
9
+ } from "./index-2kb65n0s.js";
10
10
 
11
11
  // ../plugin/src/tools/ctx-expand/search-archive.ts
12
12
  var archiveReadsOnThisThread = 0;
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  getTagsBySession2,
9
9
  getTagsByNumbers2
10
- } from "./index-n3msyfqa.js";
10
+ } from "./index-73fw4cd4.js";
11
11
  import {
12
12
  inRootAsyncContext2,
13
13
  getSqliteDatabasePath2,
@@ -1759,6 +1759,9 @@ function stripChannel1ReminderSpans(output) {
1759
1759
  }
1760
1760
  return stripped;
1761
1761
  }
1762
+ function reclaimableTailTokens(part) {
1763
+ return part.tagStatus === "active" && !part.protected && !part.queuedForDrop && part.kind !== "excluded" && part.kind !== "text" ? part.tokens : 0;
1764
+ }
1762
1765
  var partJsonMemo = new TailHygieneJsonMemo;
1763
1766
  function messageIdFromPartKey(key) {
1764
1767
  const separator = key.indexOf("\x00");
@@ -6575,4 +6578,4 @@ function resolveEpochFloorForPass(db, sessionId, inputs) {
6575
6578
  return preSnapshotResult(firstObservedMemo, resolvedInputs);
6576
6579
  }
6577
6580
 
6578
- export { detectThinkingBindingMismatch, detectLatestTurnThinkingMismatch, isPrefixBoundThinkingModel, detectOverflow, MAX_EXECUTE_THRESHOLD, escalationBands, MERGED_REASONING_PARTS_PREFIX, decodeMergedReasoningParts, UNKNOWN_FIT_RATIO, hasMeasuredDecisionCalibration, providerMass, localBudget, calibrationForModelKey, historyLocalBudget, HYGIENE_PROVIDER_UNITS_VERSION, sessionDecisionCalibration, transitionSessionHygieneUnits, adoptedProtectedToolsPolicy, protectedToolTagNumbers, protectedToolTokenCount, stripWellFormedLeadingTagPrefix, stripPersistedAssistantText, byteSize, stripTagPrefix, peelLeadingMcTagNotation, prependTag, rememberCurrentToolOutputCount, currentReclaimableToolOutputCount, isRecord, TEXT_TAG_IDENTITY_MARKER, PI_FALLBACK_PREFIXES_JSON, contentTagOwnerMessageId, TailHygieneJsonMemo, piJsonHash, estimateImageTokensFromDataUrl, providerVisiblePart, providerVisibleMessage, TODO_STATUSES, TODO_PRIORITIES, TITLE_DONE_STATUSES, normalizeTodoStateJson, buildSyntheticTodoPart, stripChannel1ReminderSpans, compareMeasuredTailPrefix, formatTailHygienePrefixMismatch, freezeTailHygieneMeasurement, effectiveTailHygiene, CHANNEL1_SENTINEL, CHANNEL1_FLOOR_TOKENS, decideChannel1, evaluateChannel2, buildChannel2Reminder, buildChannel1Reminder, CACHED_TRIM_PARTIAL_SQL, 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, getReasoningRemovalState, modelAcceptsEmptyContent, isAnthropicFamilyRoute, variantChangeBustsProviderCache, isInActiveAnthropicTurn, activeAnthropicTurnStart, hasAnthropicReasoning, isMarkerOnlyText, findLatestAssistantReasoningMutationExemptMessage, DEFAULT_KEEP_REASONING_TOKENS, resolveKeepReasoningTokens, reasoningStepCost, reasoningBudgetCutoff, reasoningTextAndOpaque, opaqueThinkingCost, estimatePartImageTokens, planEmergencyDrop, measureEmergencyTag, tagsSinceReading, queuePendingOp, queuePendingDropForUnchangedTag, getPendingOps, getPendingOpsCount, clearPendingOps, removePendingOp, updateTagByteSize2, getRecentTagOwnerMessageIds2, getActiveTagTokenAggregate2, AGE_RECLAIM_MIN_TOKENS2, getOldestActiveUnprotectedToolTags2, getActiveToolTagsForAgeReclaim2, getTriggerTagTokenUpperBound2, getActiveTagTokenTotalsByMessage2, updateTagInputByteSize2, updateTagTokenCount2, setTagTokenCount2, getPersistedToolTagAccounting2, getAllStatusTagTokenTotalsFlat2, getReasoningTokenEstimatesByMessage2, tryGetReasoningTokenEstimatesByMessage2, getMaxTagNumberByOwnerMessage2, scanTagOwnerSummary2, scanTagOwnerDelta2, updateTagInputTokenCount2, tagTokenCountIsNull2, backfillTagTokenCounts2, normalizeTagSnapshotRow2, insertTag2, updateTagStatus2, markTagDropped2, getInertWhitespaceAssistantTagsByNumbers2, updateTagDropMode2, updateCavemanDepth2, updateTagMessageId2, hasPiFallbackMessageTags2, findAdoptableFallbackTags2, adoptFallbackTagMessageId2, foldShrunkPartTags2, hasPiFallbackToolOwnerTags2, findPiFallbackToolOwnerTags2, PiTagIdentityConflictError2, getPiMessageTagCandidates2, findPiTagIdentityConflict2, adoptPiFallbackToolOwnerTag2, adoptPiFallbackMessageTag2, markTagsCompactedByMessageIds2, deleteTagsByMessageId2, getMaxTagNumberBySession2, getTagNumberByMessageId2, getAssignableTagNumberByMessageId2, getMinMessageTagNumberForRawId2, deriveTagLoadFloor2, TAG_SELECT_COLUMNS2, getTagsBySession2, getActiveTagsBySession2, getTailHygieneTags2, getTagsForPendingOperations2, getTagsByNumbers2, getNewestToolTagNumbers2, getDroppedTagsByNumbers2, getMaxDroppedTagNumber2, getTagById2, getTopNBySize2, getToolTagNumberByOwner2, getNullOwnerToolTag2, adoptNullOwnerToolTag2, getCandidateToolOwners2, pickNearestPriorOwner2, rowWindowMass, computeProtectionWindow, readEpochFloorSnapshot, getProtectionWindowForSession, isProviderOverflowFailClosedProven, getEmergencyRecoveryArmedAt, describeProtectedTailDrainBudgetSkip, loadPersistedUsage, 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 };
6581
+ export { detectThinkingBindingMismatch, detectLatestTurnThinkingMismatch, isPrefixBoundThinkingModel, detectOverflow, MAX_EXECUTE_THRESHOLD, escalationBands, MERGED_REASONING_PARTS_PREFIX, decodeMergedReasoningParts, UNKNOWN_FIT_RATIO, hasMeasuredDecisionCalibration, providerMass, localBudget, calibrationForModelKey, historyLocalBudget, HYGIENE_PROVIDER_UNITS_VERSION, sessionDecisionCalibration, transitionSessionHygieneUnits, adoptedProtectedToolsPolicy, protectedToolTagNumbers, protectedToolTokenCount, stripWellFormedLeadingTagPrefix, stripPersistedAssistantText, byteSize, stripTagPrefix, peelLeadingMcTagNotation, prependTag, rememberCurrentToolOutputCount, currentReclaimableToolOutputCount, isRecord, TEXT_TAG_IDENTITY_MARKER, PI_FALLBACK_PREFIXES_JSON, contentTagOwnerMessageId, TailHygieneJsonMemo, piJsonHash, estimateImageTokensFromDataUrl, providerVisiblePart, providerVisibleMessage, TODO_STATUSES, TODO_PRIORITIES, TITLE_DONE_STATUSES, normalizeTodoStateJson, buildSyntheticTodoPart, stripChannel1ReminderSpans, reclaimableTailTokens, compareMeasuredTailPrefix, formatTailHygienePrefixMismatch, freezeTailHygieneMeasurement, effectiveTailHygiene, CHANNEL1_SENTINEL, CHANNEL1_FLOOR_TOKENS, decideChannel1, evaluateChannel2, buildChannel2Reminder, buildChannel1Reminder, CACHED_TRIM_PARTIAL_SQL, 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, getReasoningRemovalState, modelAcceptsEmptyContent, isAnthropicFamilyRoute, variantChangeBustsProviderCache, isInActiveAnthropicTurn, activeAnthropicTurnStart, hasAnthropicReasoning, isMarkerOnlyText, findLatestAssistantReasoningMutationExemptMessage, DEFAULT_KEEP_REASONING_TOKENS, resolveKeepReasoningTokens, reasoningStepCost, reasoningBudgetCutoff, reasoningTextAndOpaque, opaqueThinkingCost, estimatePartImageTokens, planEmergencyDrop, measureEmergencyTag, tagsSinceReading, queuePendingOp, queuePendingDropForUnchangedTag, getPendingOps, getPendingOpsCount, clearPendingOps, removePendingOp, updateTagByteSize2, getRecentTagOwnerMessageIds2, getActiveTagTokenAggregate2, AGE_RECLAIM_MIN_TOKENS2, getOldestActiveUnprotectedToolTags2, getActiveToolTagsForAgeReclaim2, getTriggerTagTokenUpperBound2, getActiveTagTokenTotalsByMessage2, updateTagInputByteSize2, updateTagTokenCount2, setTagTokenCount2, getPersistedToolTagAccounting2, getAllStatusTagTokenTotalsFlat2, getReasoningTokenEstimatesByMessage2, tryGetReasoningTokenEstimatesByMessage2, getMaxTagNumberByOwnerMessage2, scanTagOwnerSummary2, scanTagOwnerDelta2, updateTagInputTokenCount2, tagTokenCountIsNull2, backfillTagTokenCounts2, normalizeTagSnapshotRow2, insertTag2, updateTagStatus2, markTagDropped2, getInertWhitespaceAssistantTagsByNumbers2, updateTagDropMode2, updateCavemanDepth2, updateTagMessageId2, hasPiFallbackMessageTags2, findAdoptableFallbackTags2, adoptFallbackTagMessageId2, foldShrunkPartTags2, hasPiFallbackToolOwnerTags2, findPiFallbackToolOwnerTags2, PiTagIdentityConflictError2, getPiMessageTagCandidates2, findPiTagIdentityConflict2, adoptPiFallbackToolOwnerTag2, adoptPiFallbackMessageTag2, markTagsCompactedByMessageIds2, deleteTagsByMessageId2, getMaxTagNumberBySession2, getTagNumberByMessageId2, getAssignableTagNumberByMessageId2, getMinMessageTagNumberForRawId2, deriveTagLoadFloor2, TAG_SELECT_COLUMNS2, getTagsBySession2, getActiveTagsBySession2, getTailHygieneTags2, getTagsForPendingOperations2, getTagsByNumbers2, getNewestToolTagNumbers2, getDroppedTagsByNumbers2, getMaxDroppedTagNumber2, getTagById2, getTopNBySize2, getToolTagNumberByOwner2, getNullOwnerToolTag2, adoptNullOwnerToolTag2, getCandidateToolOwners2, pickNearestPriorOwner2, rowWindowMass, computeProtectionWindow, readEpochFloorSnapshot, getProtectionWindowForSession, isProviderOverflowFailClosedProven, getEmergencyRecoveryArmedAt, describeProtectedTailDrainBudgetSkip, loadPersistedUsage, 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 };
@@ -56,7 +56,7 @@ import {
56
56
  import {
57
57
  piHarnessKindFromExecutable,
58
58
  getErrorMessage
59
- } from "./index-vn6dj2d3.js";
59
+ } from "./index-sg6tdkqh.js";
60
60
  import {
61
61
  getOrCreateSessionMeta,
62
62
  updateSessionMeta,
@@ -70,10 +70,10 @@ import {
70
70
  renderMessageByOrdinal2,
71
71
  renderVerboseRange2,
72
72
  renderItemByTag2
73
- } from "./index-979pfatc.js";
73
+ } from "./index-tcrd11cb.js";
74
74
  import {
75
75
  getLastIndexedOrdinal
76
- } from "./index-sa8m6awf.js";
76
+ } from "./index-d7yx4ymd.js";
77
77
  import {
78
78
  TODO_STATUSES,
79
79
  TODO_PRIORITIES,
@@ -89,7 +89,7 @@ import {
89
89
  getCompactionMarkerPublicationState,
90
90
  compareAndSetCompactionMarkerPublicationState,
91
91
  getDeferredClearedCompactionMarkerState
92
- } from "./index-n3msyfqa.js";
92
+ } from "./index-73fw4cd4.js";
93
93
  import {
94
94
  stableStringify,
95
95
  BoundedSessionMap
@@ -142,7 +142,7 @@ import {
142
142
  resolveMemoriesByIdsForSearch2,
143
143
  unifiedSearch2,
144
144
  formatSearchResults2
145
- } from "./index-f686v7vm.js";
145
+ } from "./index-2bavnrw8.js";
146
146
  import {
147
147
  resolveOpenCodeDbPath,
148
148
  assertOpenCodeStoreGeneration
@@ -151,7 +151,7 @@ import {
151
151
  hasRawMessageProvider2,
152
152
  setRawMessageProvider2,
153
153
  readSessionChunk2
154
- } from "./index-k6110hrj.js";
154
+ } from "./index-2kb65n0s.js";
155
155
  import {
156
156
  resolveWorkspaceShareCategories,
157
157
  resolveWorkspaceIdentitySet,
@@ -184,7 +184,7 @@ import {
184
184
  } from "./index-3s39a1md.js";
185
185
  import {
186
186
  renderSearchArchive2
187
- } from "./index-2rqb9gs1.js";
187
+ } from "./index-4dqwxb7k.js";
188
188
  import {
189
189
  computeNormalizedHash
190
190
  } from "./index-9x1f96r8.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./index-pefn1gt5.js";
10
10
  import {
11
11
  cleanUserText2
12
- } from "./index-k6110hrj.js";
12
+ } from "./index-2kb65n0s.js";
13
13
  import {
14
14
  recordMessageFtsRowid2,
15
15
  recordIndexedMessageTime2,
@@ -412,6 +412,7 @@ plan:
412
412
  enabled: false
413
413
  defaultOnStartup: false
414
414
  `;
415
+ var OMP_CHILD_TOOL_ENV = { PI_AUTO_QA: "0" };
415
416
  function registerSubagentToolBoundary(pi) {
416
417
  pi.registerFlag(SUBAGENT_TOOL_ALLOWLIST_FLAG, {
417
418
  description: "Exact active tool names for a Magic Context hidden child.",
@@ -613,4 +614,4 @@ function historianCalibrationExtension(pi) {
613
614
  });
614
615
  }
615
616
 
616
- export { DREAMER_PRIMER_INVESTIGATOR_ALLOWED_TOOLS, buildHiddenAgentRegistrations, logTemperatureDecision, readHostSystemPrompt, subagentStepCap, SubagentTelemetry, OMP_CHILD_TOOL_CONFIG, HISTORIAN_TEMPERATURE_ENV2, HISTORIAN_CACHE_TAIL_ENV2, HISTORIAN_MAX_OUTPUT_TOKENS_ENV2, SUBAGENT_OUTPUT_CEILING_ENV2, calibrateHistorianProviderPayload2, ceilProviderOutputTokens2, withoutProviderTemperature2, historianCalibrationExtension };
617
+ export { DREAMER_PRIMER_INVESTIGATOR_ALLOWED_TOOLS, buildHiddenAgentRegistrations, logTemperatureDecision, readHostSystemPrompt, subagentStepCap, SubagentTelemetry, OMP_CHILD_TOOL_CONFIG, OMP_CHILD_TOOL_ENV, HISTORIAN_TEMPERATURE_ENV2, HISTORIAN_CACHE_TAIL_ENV2, HISTORIAN_MAX_OUTPUT_TOKENS_ENV2, SUBAGENT_OUTPUT_CEILING_ENV2, calibrateHistorianProviderPayload2, ceilProviderOutputTokens2, withoutProviderTemperature2, historianCalibrationExtension };
@@ -1787,7 +1787,7 @@ function finishDatabaseOpen(db, dbPath, explicitDbPath, latestSupportedVersion)
1787
1787
  state.running = startMessageFtsRowidMapBackfill2(db, signal).then(async () => {
1788
1788
  if (signal.aborted || !readsOpenCodeStore)
1789
1789
  return;
1790
- const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-e6aztf4q.js"));
1790
+ const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-tjj2wzxs.js"));
1791
1791
  const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-8zwv9byv.js"));
1792
1792
  if (signal.aborted)
1793
1793
  return;
@@ -40,7 +40,7 @@ import {
40
40
  serializeProcessedImageMarkers,
41
41
  getPendingPiCompactionMarkerState,
42
42
  logPiCompactionMarkerClear
43
- } from "./index-n3msyfqa.js";
43
+ } from "./index-73fw4cd4.js";
44
44
  import {
45
45
  estimateTokens
46
46
  } from "./index-pefn1gt5.js";
@@ -61,13 +61,13 @@ import {
61
61
  import {
62
62
  isPidAlive,
63
63
  readProcessStartTime
64
- } from "./index-vn6dj2d3.js";
64
+ } from "./index-sg6tdkqh.js";
65
65
  import {
66
66
  withReadOnlySessionDb,
67
67
  expandToolPart,
68
68
  visitRawSessionMessages2,
69
69
  readRawSessionMessageById2
70
- } from "./index-k6110hrj.js";
70
+ } from "./index-2kb65n0s.js";
71
71
  import {
72
72
  gaDatabasePath2,
73
73
  V2StoreReader2
@@ -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-grcwn6hs.js"),
142
- import("./read-session-chunk-e6aztf4q.js"),
143
- import("./render-3x6z4qxx.js"),
144
- import("./search-archive-54jhedy7.js"),
142
+ import("./read-session-chunk-tjj2wzxs.js"),
143
+ import("./render-793jtz3r.js"),
144
+ import("./search-archive-gmyvkadj.js"),
145
145
  import("./expand-attachments-8sxeyj26.js")
146
146
  ]);
147
147
  const pool = new V2StoreReaderPool;
package/dist/index.js CHANGED
@@ -158,7 +158,7 @@ import {
158
158
  registerTodoStateLifecycle,
159
159
  syncCtxMemoryToolEnabled,
160
160
  registerMagicContextTools
161
- } from "./index-7qedjycm.js";
161
+ } from "./index-bcwy4wm1.js";
162
162
  import"./index-4knyh1kt.js";
163
163
  import {
164
164
  canonicalModelIdentity,
@@ -238,6 +238,7 @@ import {
238
238
  normalizeTodoStateJson,
239
239
  buildSyntheticTodoPart,
240
240
  stripChannel1ReminderSpans,
241
+ reclaimableTailTokens,
241
242
  compareMeasuredTailPrefix,
242
243
  formatTailHygienePrefixMismatch,
243
244
  freezeTailHygieneMeasurement,
@@ -409,7 +410,7 @@ import {
409
410
  setSessionWorkMetrics,
410
411
  getSessionWorkMetrics,
411
412
  resolveEpochFloorForPass
412
- } from "./index-n3msyfqa.js";
413
+ } from "./index-73fw4cd4.js";
413
414
  import {
414
415
  textMentionsRecentCommit,
415
416
  hasMeaningfulUserText2,
@@ -460,7 +461,7 @@ import {
460
461
  openCurrentDatabase,
461
462
  openDatabaseAsync,
462
463
  closeDatabase
463
- } from "./index-vn6dj2d3.js";
464
+ } from "./index-sg6tdkqh.js";
464
465
  import {
465
466
  LkgRecoveryFenceError,
466
467
  clearLkgFenceProcessState,
@@ -586,7 +587,7 @@ import {
586
587
  getSourceContents,
587
588
  recordSubagentInvocation,
588
589
  getLatestHistorianInvocationId
589
- } from "./index-979pfatc.js";
590
+ } from "./index-tcrd11cb.js";
590
591
  import {
591
592
  resolveOpenCodeDbPath,
592
593
  assertOpenCodeStoreGeneration,
@@ -652,7 +653,7 @@ import {
652
653
  getRawSessionTagKeysThrough2,
653
654
  getLegacyProtectedTailStartOrdinal2,
654
655
  readSessionChunk2
655
- } from "./index-k6110hrj.js";
656
+ } from "./index-2kb65n0s.js";
656
657
  import"./index-nvh6d3bz.js";
657
658
  import {
658
659
  formatSynapseLaneDescriptor
@@ -692,7 +693,7 @@ import {
692
693
  clearCompressionDepthRange,
693
694
  cleanSearchText,
694
695
  matchedSearchSnippet
695
- } from "./index-sa8m6awf.js";
696
+ } from "./index-d7yx4ymd.js";
696
697
  import {
697
698
  rememberV1HiddenRun
698
699
  } from "./index-6x556c2q.js";
@@ -821,7 +822,7 @@ import {
821
822
  scheduleClearAndReindex,
822
823
  clearSessionTracking,
823
824
  createAutoSearchDiagnostics
824
- } from "./index-f686v7vm.js";
825
+ } from "./index-2bavnrw8.js";
825
826
  import"./index-3s39a1md.js";
826
827
  import {
827
828
  DREAMER_PRIMER_INVESTIGATOR_ALLOWED_TOOLS,
@@ -831,10 +832,11 @@ import {
831
832
  subagentStepCap,
832
833
  SubagentTelemetry,
833
834
  OMP_CHILD_TOOL_CONFIG,
835
+ OMP_CHILD_TOOL_ENV,
834
836
  HISTORIAN_CACHE_TAIL_ENV2,
835
837
  HISTORIAN_MAX_OUTPUT_TOKENS_ENV2,
836
838
  SUBAGENT_OUTPUT_CEILING_ENV2
837
- } from "./index-0b5kqg7n.js";
839
+ } from "./index-j4mwdz3q.js";
838
840
  import {
839
841
  PI_CONTEXT_BUDGET,
840
842
  PiContextDeadlineError,
@@ -850,11 +852,11 @@ import {
850
852
  drainPiTagSnapshotSession,
851
853
  assertPiTagSnapshotReady,
852
854
  ensurePiTagSnapshotReady
853
- } from "./index-xgfh9h2j.js";
855
+ } from "./index-51xr6g7s.js";
854
856
  import"./index-71rg8j43.js";
855
857
  import"./index-8d2z6503.js";
856
- import"./index-01xpfs6w.js";
857
- import"./index-2rqb9gs1.js";
858
+ import"./index-zgj2mxrn.js";
859
+ import"./index-4dqwxb7k.js";
858
860
  import {
859
861
  __toESM
860
862
  } from "./index-22jkk6wg.js";
@@ -3606,7 +3608,7 @@ function startHostStallProfilerSwitch() {
3606
3608
  // package.json
3607
3609
  var package_default = {
3608
3610
  name: "@cortexkit/pi-magic-context",
3609
- version: "0.49.68",
3611
+ version: "0.49.70",
3610
3612
  type: "module",
3611
3613
  description: "Pi and OMP coding agent extension for Magic Context — cross-session memory and context management",
3612
3614
  main: "dist/index.js",
@@ -21431,6 +21433,7 @@ class PiSubagentRunner {
21431
21433
  cwd: options.cwd,
21432
21434
  env: {
21433
21435
  ...parentEnv,
21436
+ ...this.invocation.targetHarness === "omp" ? OMP_CHILD_TOOL_ENV : {},
21434
21437
  [MAGIC_CONTEXT_PI_SUBAGENT_ENV]: "1",
21435
21438
  MAGIC_CONTEXT_SUBAGENT_PROMPT_FILE: systemPromptPath,
21436
21439
  [HISTORIAN_CACHE_TAIL_ENV2]: /^(magic-context-)?historian(?:-recomp)?$/.test(options.agent) && options.accountingSubagent !== "historian_editor" ? options.cacheTail : undefined,
@@ -33127,7 +33130,13 @@ function finalizeParts(drafts, pendingDropTagNumbers, protectedTagNumbers, newes
33127
33130
  const protectedPart = draft.tag ? protectedNumbers.has(draft.tag.tagNumber) : false;
33128
33131
  const tokens = Math.max(0, draft.tokens);
33129
33132
  const queuedForDrop = draft.tag ? pendingDropTagNumbers.has(draft.tag.tagNumber) : false;
33130
- const uTokens = draft.tag?.status === "active" && !protectedPart && !queuedForDrop && draft.kind !== "excluded" ? tokens : 0;
33133
+ const uTokens = reclaimableTailTokens({
33134
+ kind: draft.kind,
33135
+ tokens,
33136
+ tagStatus: draft.tag?.status,
33137
+ protected: protectedPart,
33138
+ queuedForDrop
33139
+ });
33131
33140
  t += tokens;
33132
33141
  u += uTokens;
33133
33142
  return {
@@ -3,7 +3,7 @@ import {
3
3
  withIndexChunk2,
4
4
  yieldIndexChunk2
5
5
  } from "./index-2qtx0q6h.js";
6
- import"./index-n3msyfqa.js";
6
+ import"./index-73fw4cd4.js";
7
7
  import"./index-pefn1gt5.js";
8
8
  import"./index-0h2mkab2.js";
9
9
  import"./index-tm11k42a.js";
@@ -15,7 +15,7 @@ import"./index-wfqysrwq.js";
15
15
  import"./index-x2n261wp.js";
16
16
  import"./index-xjhq27z9.js";
17
17
  import"./index-n0zjvs3h.js";
18
- import"./index-k6110hrj.js";
18
+ import"./index-2kb65n0s.js";
19
19
  import"./index-6x556c2q.js";
20
20
  import {
21
21
  MESSAGE_INDEX_MAX_FTS_BYTES,
@@ -24,7 +24,7 @@ import {
24
24
  markMessageIndexDirty,
25
25
  getIndexableContent,
26
26
  indexSingleMessage
27
- } from "./index-sa8m6awf.js";
27
+ } from "./index-d7yx4ymd.js";
28
28
  import"./index-ghp32f9m.js";
29
29
  import"./index-1ts77n1b.js";
30
30
 
@@ -17,7 +17,7 @@ import"./index-453s1hj6.js";
17
17
  import {
18
18
  setSqlitePragmaConfig,
19
19
  initializeDatabase
20
- } from "./index-vn6dj2d3.js";
20
+ } from "./index-sg6tdkqh.js";
21
21
  import"./index-fapenpch.js";
22
22
  import"./index-3bb24eb6.js";
23
23
  import"./index-8sqebjzk.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-06ny8gx4.js");
22
+ const { serveV2ArchiveReads } = await import("./v2-archive-reader-99stcer0.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-54jhedy7.js");
54
+ const { renderSearchArchive } = await import("./search-archive-gmyvkadj.js");
55
55
  const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-0tytrjye.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-9872e0ym.js");
82
82
  setHarness(input.harness ?? "opencode");
83
83
  const [{ indexMessageInShortChunks }, { configureContextDatabasePragmas }] = await Promise.all([
84
- import("./message-index-bounded-0zz16k8x.js"),
84
+ import("./message-index-bounded-fqeqp76p.js"),
85
85
  import("./sqlite-context-pragmas-gcgch6qz.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-vesdscgd.js");
98
+ const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-wq8p5wrh.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-k6110hrj.js";
42
- import"./index-n3msyfqa.js";
41
+ } from "./index-2kb65n0s.js";
42
+ import"./index-73fw4cd4.js";
43
43
  import"./index-6x556c2q.js";
44
44
  import"./index-vcegxfwg.js";
45
45
  import"./index-jhmz9tgv.js";
@@ -3,18 +3,18 @@ import {
3
3
  renderVerboseRange2,
4
4
  renderVerboseRangeForTool2,
5
5
  renderItemByTag2
6
- } from "./index-979pfatc.js";
6
+ } from "./index-tcrd11cb.js";
7
7
  import"./index-k7a8x7ba.js";
8
- import"./index-sa8m6awf.js";
8
+ import"./index-d7yx4ymd.js";
9
9
  import"./index-hgd00nas.js";
10
10
  import"./index-nvh6d3bz.js";
11
11
  import"./index-cxczethe.js";
12
- import"./index-k6110hrj.js";
13
- import"./index-n3msyfqa.js";
12
+ import"./index-2kb65n0s.js";
13
+ import"./index-73fw4cd4.js";
14
14
  import"./index-6x556c2q.js";
15
15
  import"./index-5rcjs14a.js";
16
16
  import"./index-vcegxfwg.js";
17
- import"./index-vn6dj2d3.js";
17
+ import"./index-sg6tdkqh.js";
18
18
  import"./index-fapenpch.js";
19
19
  import"./index-gavj3e6h.js";
20
20
  import"./index-135e8hvg.js";
@@ -5,9 +5,9 @@ import {
5
5
  resolveMemoriesByIdsForSearch2,
6
6
  unifiedSearch2,
7
7
  formatSearchResults2
8
- } from "./index-f686v7vm.js";
8
+ } from "./index-2bavnrw8.js";
9
9
  import"./index-k7a8x7ba.js";
10
- import"./index-sa8m6awf.js";
10
+ import"./index-d7yx4ymd.js";
11
11
  import"./index-8d2z6503.js";
12
12
  import"./index-qdy49kwk.js";
13
13
  import"./index-29nw7n1r.js";
@@ -17,8 +17,8 @@ import"./index-hgd00nas.js";
17
17
  import"./index-yhzhdp3m.js";
18
18
  import"./index-79xfn84y.js";
19
19
  import"./index-cxczethe.js";
20
- import"./index-k6110hrj.js";
21
- import"./index-n3msyfqa.js";
20
+ import"./index-2kb65n0s.js";
21
+ import"./index-73fw4cd4.js";
22
22
  import"./index-6x556c2q.js";
23
23
  import"./index-txcs0vnj.js";
24
24
  import"./index-5rcjs14a.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  renderSearchArchive2
3
- } from "./index-2rqb9gs1.js";
4
- import"./index-01xpfs6w.js";
3
+ } from "./index-4dqwxb7k.js";
4
+ import"./index-zgj2mxrn.js";
5
5
  import"./index-8d2z6503.js";
6
- import"./index-k6110hrj.js";
7
- import"./index-n3msyfqa.js";
6
+ import"./index-2kb65n0s.js";
7
+ import"./index-73fw4cd4.js";
8
8
  import"./index-6x556c2q.js";
9
9
  import"./index-vcegxfwg.js";
10
10
  import"./index-jhmz9tgv.js";
@@ -62,7 +62,7 @@ import {
62
62
  adoptNullOwnerToolTag2,
63
63
  getCandidateToolOwners2,
64
64
  pickNearestPriorOwner2
65
- } from "./index-n3msyfqa.js";
65
+ } from "./index-73fw4cd4.js";
66
66
  import"./index-vcegxfwg.js";
67
67
  import"./index-jhmz9tgv.js";
68
68
  import"./index-1ts77n1b.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TOKEN_BUDGET_TOOL_REFUSAL
3
- } from "./index-k6110hrj.js";
3
+ } from "./index-2kb65n0s.js";
4
4
  import {
5
5
  setHarness2
6
6
  } from "./index-0h2mkab2.js";
@@ -14,7 +14,7 @@ import {
14
14
  import"./index-2qtx0q6h.js";
15
15
  import {
16
16
  openDatabase
17
- } from "./index-vn6dj2d3.js";
17
+ } from "./index-sg6tdkqh.js";
18
18
  import"./index-fapenpch.js";
19
19
  import"./index-3bb24eb6.js";
20
20
  import"./index-8sqebjzk.js";
@@ -34,7 +34,7 @@ import {
34
34
  resolvePiHarnessKind,
35
35
  reportSubagentStartupError,
36
36
  registerMagicContextTools
37
- } from "./index-7qedjycm.js";
37
+ } from "./index-bcwy4wm1.js";
38
38
  import"./index-vcegxfwg.js";
39
39
  import"./index-5rcjs14a.js";
40
40
  import"./index-cxczethe.js";
@@ -45,17 +45,17 @@ import"./index-9p40dgkm.js";
45
45
  import"./index-79xfn84y.js";
46
46
  import"./index-yhzhdp3m.js";
47
47
  import"./index-qdy49kwk.js";
48
- import"./index-979pfatc.js";
49
- import"./index-sa8m6awf.js";
50
- import"./index-n3msyfqa.js";
48
+ import"./index-tcrd11cb.js";
49
+ import"./index-d7yx4ymd.js";
50
+ import"./index-73fw4cd4.js";
51
51
  import"./index-6x556c2q.js";
52
52
  import"./index-nvh6d3bz.js";
53
53
  import"./index-k7a8x7ba.js";
54
54
  import"./index-8d2z6503.js";
55
- import"./index-01xpfs6w.js";
56
- import"./index-2rqb9gs1.js";
55
+ import"./index-zgj2mxrn.js";
56
+ import"./index-4dqwxb7k.js";
57
57
  import"./index-29nw7n1r.js";
58
- import"./index-f686v7vm.js";
58
+ import"./index-2bavnrw8.js";
59
59
  import"./index-3s39a1md.js";
60
60
  import"./index-1ts77n1b.js";
61
61
  import {
@@ -8,7 +8,7 @@ import"./index-tm11k42a.js";
8
8
  import {
9
9
  LATEST_SUPPORTED_VERSION,
10
10
  getPersistedSchemaVersion
11
- } from "./index-vn6dj2d3.js";
11
+ } from "./index-sg6tdkqh.js";
12
12
  import"./index-fapenpch.js";
13
13
  import"./index-3bb24eb6.js";
14
14
  import"./index-8sqebjzk.js";
@@ -28,14 +28,14 @@ import"./index-pefn1gt5.js";
28
28
  import {
29
29
  normalizeTagSnapshotRow2,
30
30
  TAG_SELECT_COLUMNS2
31
- } from "./index-n3msyfqa.js";
31
+ } from "./index-73fw4cd4.js";
32
32
  import"./index-vcegxfwg.js";
33
33
  import {
34
34
  encodePiHydrationOperation,
35
35
  projectPiPassTag,
36
36
  PI_FALLBACK_ROW_COLUMNS,
37
37
  PI_FALLBACK_ROW_PREDICATE
38
- } from "./index-xgfh9h2j.js";
38
+ } from "./index-51xr6g7s.js";
39
39
  import"./index-1ts77n1b.js";
40
40
  import {
41
41
  serveWorkerJobs
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readV2ArchiveOffThread2,
3
3
  serveV2ArchiveReads2
4
- } from "./index-01xpfs6w.js";
4
+ } from "./index-zgj2mxrn.js";
5
5
  import"./index-8sqebjzk.js";
6
6
  import"./index-2qtx0q6h.js";
7
7
  import"./index-x2n261wp.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cortexkit/pi-magic-context",
3
- "version": "0.49.68",
3
+ "version": "0.49.70",
4
4
  "type": "module",
5
5
  "description": "Pi and OMP coding agent extension for Magic Context — cross-session memory and context management",
6
6
  "main": "dist/index.js",