@cortexkit/magic-context 0.49.59 → 0.49.60

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 (2) hide show
  1. package/dist/index.js +18 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2527,7 +2527,11 @@ var init_models_dev_cache = __esm(() => {
2527
2527
  init_logger();
2528
2528
  init_storage_permissions();
2529
2529
  init_window_geometry();
2530
- SEPARATE_OUTPUT_QUOTA_PROVIDERS = new Set(["google", "google-antigravity"]);
2530
+ SEPARATE_OUTPUT_QUOTA_PROVIDERS = new Set([
2531
+ "google",
2532
+ "google-antigravity",
2533
+ "antigravity-cli"
2534
+ ]);
2531
2535
  reserveClampLogSeen = new Set;
2532
2536
  });
2533
2537
 
@@ -48391,6 +48395,7 @@ var init_issue_log_templates_generated = __esm(() => {
48391
48395
  "WARN: execute_threshold clamped \x01% → \x01% for \x01 (capped against the output-reserved safe window; 10% remains for mid-turn growth before the absolute 95% wall)\x022m",
48392
48396
  "history boundary unresolved: compartment end \x01 is not in the active host branch and no older compartment end is in the host store; nothing to re-anchor on\x020i",
48393
48397
  "compartment trigger: cheap-skip at \x01% (below proactive floor \x01%) — live-tail upper bound \x01 < triggerBudget \x01; no size trigger possible, skipped full raw read",
48398
+ "pi history cut not placed: boundary \x01 is not among the \x01 context messages and \x01; first message without a branch position: \x01; nothing was cut at this boundary\x020i",
48394
48399
  "[magic-context] transform produced an assistant-terminated request (input was user-terminated); providers without prefill support will reject it. tail=[\x01]",
48395
48400
  "Magic Context compacted history, but Pi's native compaction marker is waiting for a resolvable kept entry. It will retry on the next materializing pass.",
48396
48401
  "[magic-context] compaction-marker: flip-off cleanup RETAINED lineage at boundary \x01 — a surviving tail_start_id references a row the deletion would remove\x020i",
@@ -48403,6 +48408,7 @@ var init_issue_log_templates_generated = __esm(() => {
48403
48408
  "prefix trim: boundary \x01; pass=defer; no in-pass trim applied (Refusing to compact a Magic Context hidden-agent session this instance did not register)",
48404
48409
  "[backfill] OpenCode DB not found at \x01 — marking all unbackfilled sessions as skipped. Lazy adoption (defense-in-depth) handles legacy rows at runtime.\x020p",
48405
48410
  "[dreamer] storage unavailable; skipping \x01 (the cache schema is newer than this binary supports — restart/upgrade OpenCode/Pi/Magic Context to recover)",
48411
+ "[magic-context] host overflow check unavailable: @earendil-works/pi-ai has no isContextOverflow export; using Magic Context's overflow patterns only",
48406
48412
  "[magic-context] local embedding pooling metadata for \x01 is not available: \x01; using legacy mean pooling and retrying during a later background bootstrap\x020m",
48407
48413
  "transform: unknown provider usage; using saved provider reading for priced pass inputTokens=\x01 percentage=\x01 countPercentage=\x01 sizedPlan=clears_reasoning",
48408
48414
  "transform: final-wire telemetry estimate=unavailable trusted=false conversation=unknown tools=unknown system=unknown toolDefinitions=unknown tail=[\x01]",
@@ -48463,6 +48469,7 @@ var init_issue_log_templates_generated = __esm(() => {
48463
48469
  "[dreamer] no OpenCode 2 session in \x01 to parent a timer-started dream run; tasks that need a child session are skipped until one exists\x020p",
48464
48470
  "v2 payload: left out \x01 emptied messages and \x01 empty text parts, because Anthropic rejects an empty text block (logged once per session)",
48465
48471
  "prefix trim: boundary \x01; pass=priced; no in-pass trim applied (Refusing an unregistered prompt on a Magic Context hidden-run session)",
48472
+ "[magic-context] host overflow check unavailable: @earendil-works/pi-ai did not load (\x01); using Magic Context's overflow patterns only",
48466
48473
  'recomp partial code=\x01 reason="chunk could not be represented safely: chunk omits raw message \x01 while still claiming coverage through \x01"',
48467
48474
  "transform: no provider usage reading; the execute decision reads the local count of the last served request percentage=\x01 inputTokens=\x01",
48468
48475
  "prefix trim: boundary \x01; pass=defer; no in-pass trim applied (Refusing an unregistered prompt on a Magic Context hidden-run session)",
@@ -48636,6 +48643,7 @@ var init_issue_log_templates_generated = __esm(() => {
48636
48643
  "compartment injection entering degraded mode: boundary \x01 not in visible messages (consecutive degraded passes: \x01)\x021s",
48637
48644
  "auto-search: decision outcome=timeout lanes=\x01 nearMisses=\x01 threshold=\x01 pool=\x01 rows=\x01 workerStarted=\x01 peek=\x01 elapsedMs=\x01",
48638
48645
  "[auto-update-checker] Explicit @latest leaves the active package unpinned; OpenCode may delete it mid-session.",
48646
+ "[magic-context] session_before_compact: host compacting for overflow; provider-overflow recovery already-armed",
48639
48647
  "compartment trigger: force_band skipped — no protected head meets summary admission after emergency tail scale",
48640
48648
  "historian: refusing to publish over a stale protected-tail snapshot (was: \x01); ending the run without publishing",
48641
48649
  "ERROR: compaction marker disabled: incompatible host binding harness=\x01 arity=\x01 getEntry=\x01; leaving marker pending",
@@ -48720,6 +48728,7 @@ var init_issue_log_templates_generated = __esm(() => {
48720
48728
  "historian no-op: protectedTailStart=\x01 eligibleEnd=\x01 <= offset=\x01 — nothing to compact; boundaryDiagnostics=\x01",
48721
48729
  "historian unanchored promotion skipped: reason=\x01 facts=\x01 user_observations=\x01 primers=\x01 events_publishable=\x01/\x01",
48722
48730
  "tag identity fold guards could not be written; duplicates that need one are served unmerged this pass: \x01",
48731
+ "[magic-context] session_before_compact: host compacting for overflow; provider-overflow recovery armed",
48723
48732
  "latest-turn thinking recovery: rejection not bound, no pass in this process built the rejected request",
48724
48733
  'recomp partial code=\x01 reason="remaining messages \x01-\x01 were too few or all noise to form a historian chunk"',
48725
48734
  "[magic-context] buildAllowOnlyPermission: allow-list UNDEFINED for \x01 — registering deny-all (defensive)",
@@ -48995,6 +49004,7 @@ var init_issue_log_templates_generated = __esm(() => {
48995
49004
  "mc-module: historian firing for \x01: await_timeout_ms=\x01 attempt_budget_ms=\x01 firing_budget_ms=\x01\x020s",
48996
49005
  "v2 context omitted a content part the host would reject: type=<missing> message=\x01 reason=\x01",
48997
49006
  "v2 refusal: interrupting the turn before the provider request arm=compaction-fold cause=\x01",
49007
+ "[magic-context] host overflow check: using isContextOverflow from @earendil-works/pi-ai",
48998
49008
  "[magic-context] protected_tags is deprecated and ignored; use protected_tokens instead.",
48999
49009
  "ERROR [tail-hygiene-last-writer-check-failed]: structural production guard failed open:",
49000
49010
  "historian: cleared stale compartmentInProgress flag on first context pass after restart",
@@ -49081,6 +49091,7 @@ var init_issue_log_templates_generated = __esm(() => {
49081
49091
  "[dreamer] primers: embedding unavailable; falling back to normalized-text clusters: \x01",
49082
49092
  "[magic-context] project identity resolution failed for \x01; using directory fallback \x01: \x01\x020p,1p",
49083
49093
  "compaction-marker drain: stale-skip (compartment-removed) for ordinal \x01 endMessageId=\x01\x021i",
49094
+ "compartment injection failed; replaying the last good request or refusing the turn: \x01",
49084
49095
  "historian publish stage: stage=publish-txn status=completed elapsed=\x01ms compartments=\x01",
49085
49096
  "transform scheduler: percentage=\x01% inputTokens=\x01 cacheTtl=\x01 lastResponseTime=\x01 decision=\x01",
49086
49097
  "[magic-context] conflict-warning: could not find active session for Desktop warning",
@@ -49419,6 +49430,7 @@ var init_issue_log_templates_generated = __esm(() => {
49419
49430
  "mc-module: pending_rewrite ambiguous after boundary-present recovery for \x01",
49420
49431
  "mc-pass-stage session=\x01 stage=historian_inline_wait event=begin budget_ms=\x01\x020s",
49421
49432
  "proven input floor \x01 has no recorded model; dropped instead of applied to \x01\x021m",
49433
+ "raw_fallback_over_context_limit tokens=\x01 limit=\x01 proxy_bytes=\x01 proxy_tokens=\x01",
49422
49434
  "rust compaction-marker drain: retryable failure; pending target retained \x01",
49423
49435
  "tag identity repair without last-served evidence: session=\x01 kept=\x01 removed=\x01\x020s",
49424
49436
  "todowrite permission read failed; retaining the last successful verdict: \x01",
@@ -49767,6 +49779,7 @@ var init_issue_log_templates_generated = __esm(() => {
49767
49779
  "agent_end: returning synchronously (background work continues)",
49768
49780
  "historian failure notice skipped after session context cleared",
49769
49781
  "Last-good certificate remains dirty after publication failure:",
49782
+ "raw_fallback_refused completeness=partial messages=unpriceable",
49770
49783
  "rust refusal recovery expired before the module became healthy",
49771
49784
  "system delivery acknowledgement failed (keeping pending work):",
49772
49785
  "transform: cannot force-start compartment agent without client",
@@ -49798,6 +49811,7 @@ var init_issue_log_templates_generated = __esm(() => {
49798
49811
  "[message-index] pending Rust session cleanup: cleared=\x01 failed=\x01\x021s",
49799
49812
  "event message.removed: stripped placeholder ids unchanged for \x01\x020i",
49800
49813
  "mc-module: need_full_sync session=\x01 reason=\x01 after=\x01 fingerprint=\x01",
49814
+ "overflow detected: source=\x01 reportedLimit=\x01 provenance=\x01 pattern=\x01",
49801
49815
  "protected token floor snapshot: floor=\x01 provenance=\x01 usableSoft=\x01",
49802
49816
  "[auto-update-checker] Auto-update disabled, notification only",
49803
49817
  "[magic-context] failed to close cached OpenCode read-only DB:",
@@ -49876,6 +49890,7 @@ var init_issue_log_templates_generated = __esm(() => {
49876
49890
  "pending operations no-op: source=\x01 total=\x01 persisted=\x01 reasons=\x01",
49877
49891
  "Subagent temperature sent for \x01: host model metadata says no \x01\x020m",
49878
49892
  "WARN: [auto-update-checker] Background update check failed: \x01",
49893
+ "WARN: session_before_compact: overflow recovery arm failed: \x01",
49879
49894
  "[dreamer] evaluate-smart-notes: skipped (wake plane active)",
49880
49895
  "[magic-context] embedding batch returned invalid dimensions",
49881
49896
  "compartment agent: failed to remove historian response dump",
@@ -49883,6 +49898,7 @@ var init_issue_log_templates_generated = __esm(() => {
49883
49898
  "historian publish skipped: missing compartment lease holder",
49884
49899
  "outgoing fit: fits-or-unknown; attempting emergency reclaim",
49885
49900
  "transform refused degraded pass site=image-strip-exception:",
49901
+ "WARN: session_before_compact: overflow recovery arm failed:",
49886
49902
  "[ctx_search] rerank fallback (\x01); retaining original ranking",
49887
49903
  "Subagent temperature sent for \x01: host model metadata says no\x020m",
49888
49904
  "injected \x01 compartments + \x01 facts + \x01 memories into message[0]",
@@ -50083,7 +50099,6 @@ var init_issue_log_templates_generated = __esm(() => {
50083
50099
  "exact ordinal read failed; the historian start waits: \x01",
50084
50100
  "historian state snapshot failed; using safe defaults: \x01",
50085
50101
  "OMP provider images trimmed: planned=\x01 actual=\x01 trimmed=\x01",
50086
- "overflow detected: reportedLimit=\x01 provenance=\x01 pattern=\x01",
50087
50102
  "overflow unknown-usage recovery: inputTokens=\x01 retryMs=\x01",
50088
50103
  "protected-tail migration seed fell back to ordinal 1: \x01",
50089
50104
  "recomp post-publish step=\x01 failed; publication stands: \x01",
@@ -50538,7 +50553,6 @@ var init_issue_log_templates_generated = __esm(() => {
50538
50553
  "[search] off-thread message search failed: \x01",
50539
50554
  "aft-incremental total_ms=\x01 tier_tokenize_ms=\x01",
50540
50555
  "channel1 nudge injection failed (ignored): \x01",
50541
- "compartment injection failed (continuing): \x01",
50542
50556
  "event completion clock persistence failed: \x01",
50543
50557
  "heuristic cleanup stage: stage=\x01 elapsed=\x01ms \x01",
50544
50558
  "historian failure: subagent run failed (\x01): \x01",
@@ -50551,6 +50565,7 @@ var init_issue_log_templates_generated = __esm(() => {
50551
50565
  "pi m[0] HARD fold firing: reason=\x01 mismatch=\x01",
50552
50566
  "processed-image strip failed (continuing): \x01",
50553
50567
  "project registration after publish failed: \x01",
50568
+ "raw_fallback_refused count=unusable tokens=\x01",
50554
50569
  "reasoning removal: drop mode write failed: \x01",
50555
50570
  "rust memory sync trigger failed (ignored): \x01",
50556
50571
  "v2 host fold: optional capture unavailable \x01",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cortexkit/magic-context",
3
- "version": "0.49.59",
3
+ "version": "0.49.60",
4
4
  "description": "Unified CLI for Magic Context — setup, doctor, and migration across OpenCode, Pi, and OMP",
5
5
  "keywords": [
6
6
  "opencode",