@cortexkit/opencode-magic-context 0.41.3 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -3
- package/dist/agents/hidden-agent-registrations.d.ts +1 -3
- package/dist/agents/hidden-agent-registrations.d.ts.map +1 -1
- package/dist/agents/magic-context-prompt.d.ts +1 -1
- package/dist/agents/magic-context-prompt.d.ts.map +1 -1
- package/dist/agents/permissions.d.ts +1 -22
- package/dist/agents/permissions.d.ts.map +1 -1
- package/dist/config/agent-disable.d.ts +0 -5
- package/dist/config/agent-disable.d.ts.map +1 -1
- package/dist/config/index.d.ts +14 -0
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/migrate-config-location.d.ts.map +1 -1
- package/dist/config/project-security.d.ts +17 -0
- package/dist/config/project-security.d.ts.map +1 -1
- package/dist/config/removed-agent-config.d.ts +8 -0
- package/dist/config/removed-agent-config.d.ts.map +1 -0
- package/dist/config/schema/magic-context.d.ts +23 -201
- package/dist/config/schema/magic-context.d.ts.map +1 -1
- package/dist/{conflict-warning-hook-z5sd697e.js → conflict-warning-hook-6p3xqeac.js} +4 -4
- package/dist/{derive-budgets-901a0pk0.js → derive-budgets-s2pgnnm4.js} +4 -2
- package/dist/features/builtin-commands/commands.d.ts +0 -4
- package/dist/features/builtin-commands/commands.d.ts.map +1 -1
- package/dist/features/magic-context/compaction-marker.d.ts.map +1 -1
- package/dist/features/magic-context/compartment-chunk-embedding.d.ts +7 -0
- package/dist/features/magic-context/compartment-chunk-embedding.d.ts.map +1 -1
- package/dist/features/magic-context/compartment-storage.d.ts.map +1 -1
- package/dist/features/magic-context/context-authority.d.ts +31 -4
- package/dist/features/magic-context/context-authority.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/classify.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/evaluate-smart-notes.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/map-memories.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/open-opencode-db.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/refresh-primers.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/retrospective-orphan-sweep.d.ts +19 -9
- package/dist/features/magic-context/dreamer/retrospective-orphan-sweep.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/storage-dream-runs.d.ts +13 -0
- package/dist/features/magic-context/dreamer/storage-dream-runs.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/task-executor.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/task-scheduler.d.ts +7 -0
- package/dist/features/magic-context/dreamer/task-scheduler.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/verify.d.ts.map +1 -1
- package/dist/features/magic-context/fail-closed-block.d.ts.map +1 -1
- package/dist/features/magic-context/git-commits/sweep-coordinator.d.ts.map +1 -1
- package/dist/features/magic-context/index.d.ts +0 -1
- package/dist/features/magic-context/index.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-local.d.ts +13 -0
- package/dist/features/magic-context/memory/embedding-local.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-synapse.d.ts +43 -10
- package/dist/features/magic-context/memory/embedding-synapse.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding.d.ts +1 -1
- package/dist/features/magic-context/memory/embedding.d.ts.map +1 -1
- package/dist/features/magic-context/memory/memory-migration.d.ts.map +1 -1
- package/dist/features/magic-context/memory/project-identity.d.ts +1 -0
- package/dist/features/magic-context/memory/project-identity.d.ts.map +1 -1
- package/dist/features/magic-context/memory/promotion.d.ts +7 -1
- package/dist/features/magic-context/memory/promotion.d.ts.map +1 -1
- package/dist/features/magic-context/merged-reasoning-decisions.d.ts +6 -0
- package/dist/features/magic-context/merged-reasoning-decisions.d.ts.map +1 -0
- package/dist/features/magic-context/message-fts-rowid-map.d.ts.map +1 -1
- package/dist/features/magic-context/message-index-async.d.ts +12 -0
- package/dist/features/magic-context/message-index-async.d.ts.map +1 -1
- package/dist/features/magic-context/message-index.d.ts.map +1 -1
- package/dist/features/magic-context/migrations.d.ts.map +1 -1
- package/dist/features/magic-context/mural/compress-cues.d.ts.map +1 -1
- package/dist/features/magic-context/mural/render-trigger.d.ts +6 -0
- package/dist/features/magic-context/mural/render-trigger.d.ts.map +1 -1
- package/dist/features/magic-context/no-content-compartment.d.ts +12 -0
- package/dist/features/magic-context/no-content-compartment.d.ts.map +1 -0
- package/dist/features/magic-context/pi-content-decisions.d.ts +9 -0
- package/dist/features/magic-context/pi-content-decisions.d.ts.map +1 -0
- package/dist/features/magic-context/project-docs-hash.d.ts +4 -0
- package/dist/features/magic-context/project-docs-hash.d.ts.map +1 -1
- package/dist/features/magic-context/project-embedding-registry.d.ts +13 -4
- package/dist/features/magic-context/project-embedding-registry.d.ts.map +1 -1
- package/dist/features/magic-context/protection-window.d.ts +79 -0
- package/dist/features/magic-context/protection-window.d.ts.map +1 -0
- package/dist/features/magic-context/search.d.ts.map +1 -1
- package/dist/features/magic-context/session-project-backfill.d.ts.map +1 -1
- package/dist/features/magic-context/shadow-backfill-state.d.ts +26 -0
- package/dist/features/magic-context/shadow-backfill-state.d.ts.map +1 -0
- package/dist/features/magic-context/smart-notes/compiler.d.ts.map +1 -1
- package/dist/features/magic-context/smart-notes/sandbox-runner.d.ts +4 -0
- package/dist/features/magic-context/smart-notes/sandbox-runner.d.ts.map +1 -1
- package/dist/features/magic-context/smart-notes/storage.d.ts.map +1 -1
- package/dist/features/magic-context/storage-clone.d.ts.map +1 -1
- package/dist/features/magic-context/storage-db.d.ts +1 -1
- package/dist/features/magic-context/storage-db.d.ts.map +1 -1
- package/dist/features/magic-context/storage-embedding-measurements.d.ts +2 -2
- package/dist/features/magic-context/storage-embedding-measurements.d.ts.map +1 -1
- package/dist/features/magic-context/storage-historian-runs.d.ts +4 -0
- package/dist/features/magic-context/storage-historian-runs.d.ts.map +1 -1
- package/dist/features/magic-context/storage-memory-mutation-log.d.ts +1 -0
- package/dist/features/magic-context/storage-memory-mutation-log.d.ts.map +1 -1
- package/dist/features/magic-context/storage-meta-persisted.d.ts +81 -15
- package/dist/features/magic-context/storage-meta-persisted.d.ts.map +1 -1
- package/dist/features/magic-context/storage-meta.d.ts +1 -1
- package/dist/features/magic-context/storage-meta.d.ts.map +1 -1
- package/dist/features/magic-context/storage-native-replay.d.ts +29 -0
- package/dist/features/magic-context/storage-native-replay.d.ts.map +1 -0
- package/dist/features/magic-context/storage-notes.d.ts +6 -0
- package/dist/features/magic-context/storage-notes.d.ts.map +1 -1
- package/dist/features/magic-context/storage-replay-document.d.ts +33 -0
- package/dist/features/magic-context/storage-replay-document.d.ts.map +1 -0
- package/dist/features/magic-context/storage-subagent-invocations.d.ts +1 -1
- package/dist/features/magic-context/storage-subagent-invocations.d.ts.map +1 -1
- package/dist/features/magic-context/storage-tags.d.ts +19 -11
- package/dist/features/magic-context/storage-tags.d.ts.map +1 -1
- package/dist/features/magic-context/storage.d.ts +3 -3
- package/dist/features/magic-context/storage.d.ts.map +1 -1
- package/dist/features/magic-context/subagent-token-capture.d.ts.map +1 -1
- package/dist/features/magic-context/tagger.d.ts +13 -0
- package/dist/features/magic-context/tagger.d.ts.map +1 -1
- package/dist/features/magic-context/tool-owner-backfill.d.ts.map +1 -1
- package/dist/features/magic-context/user-memory/review-user-memories.d.ts.map +1 -1
- package/dist/features/magic-context/user-memory/storage-user-memory.d.ts.map +1 -1
- package/dist/features/magic-context/workspaces.d.ts.map +1 -1
- package/dist/hooks/magic-context/apply-operations.d.ts +11 -5
- package/dist/hooks/magic-context/apply-operations.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-runner.d.ts.map +1 -1
- package/dist/hooks/magic-context/cache-busting-signals.d.ts +9 -1
- package/dist/hooks/magic-context/cache-busting-signals.d.ts.map +1 -1
- package/dist/hooks/magic-context/caveman-cleanup.d.ts +1 -1
- package/dist/hooks/magic-context/caveman-cleanup.d.ts.map +1 -1
- package/dist/hooks/magic-context/channel2-delivery.d.ts.map +1 -1
- package/dist/hooks/magic-context/child-session-spawn.d.ts +3 -3
- package/dist/hooks/magic-context/child-session-spawn.d.ts.map +1 -1
- package/dist/hooks/magic-context/command-handler.d.ts +5 -10
- package/dist/hooks/magic-context/command-handler.d.ts.map +1 -1
- package/dist/hooks/magic-context/compaction-marker-manager.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-drop-queue.d.ts +10 -21
- package/dist/hooks/magic-context/compartment-runner-drop-queue.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-incremental.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-recomp.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-types.d.ts +4 -0
- package/dist/hooks/magic-context/compartment-runner-types.d.ts.map +1 -1
- package/dist/hooks/magic-context/ctx-reduce-nudge.d.ts +26 -2
- package/dist/hooks/magic-context/ctx-reduce-nudge.d.ts.map +1 -1
- package/dist/hooks/magic-context/decay-render.d.ts.map +1 -1
- package/dist/hooks/magic-context/derive-budgets.d.ts +1 -0
- package/dist/hooks/magic-context/derive-budgets.d.ts.map +1 -1
- package/dist/hooks/magic-context/dropped-input-guard.d.ts +9 -0
- package/dist/hooks/magic-context/dropped-input-guard.d.ts.map +1 -0
- package/dist/hooks/magic-context/emergency-drop.d.ts +9 -2
- package/dist/hooks/magic-context/emergency-drop.d.ts.map +1 -1
- package/dist/hooks/magic-context/event-handler.d.ts +0 -1
- package/dist/hooks/magic-context/event-handler.d.ts.map +1 -1
- package/dist/hooks/magic-context/event-payloads.d.ts +7 -6
- package/dist/hooks/magic-context/event-payloads.d.ts.map +1 -1
- package/dist/hooks/magic-context/event-resolvers.d.ts +1 -1
- package/dist/hooks/magic-context/event-resolvers.d.ts.map +1 -1
- package/dist/hooks/magic-context/execute-status.d.ts +8 -2
- package/dist/hooks/magic-context/execute-status.d.ts.map +1 -1
- package/dist/hooks/magic-context/format-embed-status.d.ts.map +1 -1
- package/dist/hooks/magic-context/heuristic-cleanup.d.ts +11 -4
- package/dist/hooks/magic-context/heuristic-cleanup.d.ts.map +1 -1
- package/dist/hooks/magic-context/hook-handlers.d.ts +5 -1
- package/dist/hooks/magic-context/hook-handlers.d.ts.map +1 -1
- package/dist/hooks/magic-context/hook.d.ts +17 -5
- package/dist/hooks/magic-context/hook.d.ts.map +1 -1
- package/dist/hooks/magic-context/inject-compartments.d.ts +14 -1
- package/dist/hooks/magic-context/inject-compartments.d.ts.map +1 -1
- package/dist/hooks/magic-context/issue-423-fixture.d.ts +37 -0
- package/dist/hooks/magic-context/issue-423-fixture.d.ts.map +1 -0
- package/dist/hooks/magic-context/issue-424-fixture.d.ts +11 -0
- package/dist/hooks/magic-context/issue-424-fixture.d.ts.map +1 -0
- package/dist/hooks/magic-context/live-session-state.d.ts +1 -1
- package/dist/hooks/magic-context/lkg-slot.d.ts +34 -0
- package/dist/hooks/magic-context/lkg-slot.d.ts.map +1 -1
- package/dist/hooks/magic-context/module-state-sync-timing.d.ts +21 -0
- package/dist/hooks/magic-context/module-state-sync-timing.d.ts.map +1 -0
- package/dist/hooks/magic-context/module-state-sync.d.ts +21 -7
- package/dist/hooks/magic-context/module-state-sync.d.ts.map +1 -1
- package/dist/hooks/magic-context/module-transport.d.ts +12 -0
- package/dist/hooks/magic-context/module-transport.d.ts.map +1 -1
- package/dist/hooks/magic-context/module-wire.d.ts +8 -0
- package/dist/hooks/magic-context/module-wire.d.ts.map +1 -1
- package/dist/hooks/magic-context/note-nudger.d.ts.map +1 -1
- package/dist/hooks/magic-context/persist-filtered-noise.d.ts +5 -0
- package/dist/hooks/magic-context/persist-filtered-noise.d.ts.map +1 -0
- package/dist/hooks/magic-context/producer-window-guard.d.ts +8 -0
- package/dist/hooks/magic-context/producer-window-guard.d.ts.map +1 -0
- package/dist/hooks/magic-context/protected-tail-boundary.d.ts +65 -0
- package/dist/hooks/magic-context/protected-tail-boundary.d.ts.map +1 -1
- package/dist/hooks/magic-context/read-session-chunk.d.ts +20 -18
- package/dist/hooks/magic-context/read-session-chunk.d.ts.map +1 -1
- package/dist/hooks/magic-context/read-session-db.d.ts +22 -12
- package/dist/hooks/magic-context/read-session-db.d.ts.map +1 -1
- package/dist/hooks/magic-context/read-session-formatting.d.ts +8 -0
- package/dist/hooks/magic-context/read-session-formatting.d.ts.map +1 -1
- package/dist/hooks/magic-context/read-session-raw.d.ts +10 -1
- package/dist/hooks/magic-context/read-session-raw.d.ts.map +1 -1
- package/dist/hooks/magic-context/read-session-true-raw-tokens.d.ts +4 -1
- package/dist/hooks/magic-context/read-session-true-raw-tokens.d.ts.map +1 -1
- package/dist/hooks/magic-context/recomp-orchestrator.d.ts +2 -0
- package/dist/hooks/magic-context/recomp-orchestrator.d.ts.map +1 -1
- package/dist/hooks/magic-context/reference-retrieval.d.ts.map +1 -1
- package/dist/hooks/magic-context/rust-mode-transform.d.ts +79 -11
- package/dist/hooks/magic-context/rust-mode-transform.d.ts.map +1 -1
- package/dist/hooks/magic-context/send-session-notification.d.ts +11 -10
- package/dist/hooks/magic-context/send-session-notification.d.ts.map +1 -1
- package/dist/hooks/magic-context/sentinel.d.ts +3 -3
- package/dist/hooks/magic-context/sentinel.d.ts.map +1 -1
- package/dist/hooks/magic-context/strip-content.d.ts +7 -0
- package/dist/hooks/magic-context/strip-content.d.ts.map +1 -1
- package/dist/hooks/magic-context/supersession-reclaim.d.ts +13 -0
- package/dist/hooks/magic-context/supersession-reclaim.d.ts.map +1 -1
- package/dist/hooks/magic-context/system-prompt-hash.d.ts +2 -3
- package/dist/hooks/magic-context/system-prompt-hash.d.ts.map +1 -1
- package/dist/hooks/magic-context/tag-messages.d.ts +2 -0
- package/dist/hooks/magic-context/tag-messages.d.ts.map +1 -1
- package/dist/hooks/magic-context/tail-hygiene-walk.d.ts +16 -6
- package/dist/hooks/magic-context/tail-hygiene-walk.d.ts.map +1 -1
- package/dist/hooks/magic-context/tool-drop-target.d.ts +1 -0
- package/dist/hooks/magic-context/tool-drop-target.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-compartment-phase.d.ts +2 -0
- package/dist/hooks/magic-context/transform-compartment-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-context-state.d.ts +7 -1
- package/dist/hooks/magic-context/transform-context-state.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts +11 -4
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform.d.ts +11 -2
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/hooks/magic-context/upgrade-reminder.d.ts +7 -9
- package/dist/hooks/magic-context/upgrade-reminder.d.ts.map +1 -1
- package/dist/hooks/magic-context/wrapup-orchestrator.d.ts.map +1 -1
- package/dist/index-1974jvn3.js +783 -0
- package/dist/{index-npx8vhmy.js → index-36wd1d6k.js} +7 -30
- package/dist/{index-kby1sng5.js → index-avwt563y.js} +8 -1
- package/dist/{index-vmmjdpc0.js → index-c9hamh36.js} +18357 -16010
- package/dist/{index-0bycg0np.js → index-jmtjh2d3.js} +4 -4
- package/dist/{index-q264erdp.js → index-nqgjwfzn.js} +70 -38
- package/dist/index-sd3egckz.js +1583 -0
- package/dist/{index-dn1rwpd8.js → index-xdtge3y2.js} +58 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6826 -6660
- package/dist/plugin/conflict-warning-hook.d.ts +5 -6
- package/dist/plugin/conflict-warning-hook.d.ts.map +1 -1
- package/dist/plugin/dream-timer.d.ts +1 -0
- package/dist/plugin/dream-timer.d.ts.map +1 -1
- package/dist/plugin/embedding-routing.d.ts +4 -1
- package/dist/plugin/embedding-routing.d.ts.map +1 -1
- package/dist/plugin/hooks/create-session-hooks.d.ts +19 -2
- package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
- package/dist/plugin/rpc-handlers.d.ts +31 -1
- package/dist/plugin/rpc-handlers.d.ts.map +1 -1
- package/dist/plugin/rust-tool-backends.d.ts +1 -0
- package/dist/plugin/rust-tool-backends.d.ts.map +1 -1
- package/dist/plugin/tool-registry.d.ts.map +1 -1
- package/dist/{recomp-orchestrator-f5m2wk74.js → recomp-orchestrator-3atsasjy.js} +6 -6
- package/dist/{send-session-notification-hdh02wy9.js → send-session-notification-1qeqkswb.js} +6 -4
- package/dist/shared/cache-ttl-display.d.ts +23 -0
- package/dist/shared/cache-ttl-display.d.ts.map +1 -0
- package/dist/shared/cache-ttl-seed.d.ts +10 -0
- package/dist/shared/cache-ttl-seed.d.ts.map +1 -0
- package/dist/shared/child-session-teardown.d.ts +34 -0
- package/dist/shared/child-session-teardown.d.ts.map +1 -0
- package/dist/shared/config-diagnostics.d.ts +30 -0
- package/dist/shared/config-diagnostics.d.ts.map +1 -0
- package/dist/shared/config-warning-surface.d.ts +3 -0
- package/dist/shared/config-warning-surface.d.ts.map +1 -0
- package/dist/shared/data-path.d.ts +10 -9
- package/dist/shared/data-path.d.ts.map +1 -1
- package/dist/shared/harness-provider-map.d.ts +7 -0
- package/dist/shared/harness-provider-map.d.ts.map +1 -1
- package/dist/shared/jsonc-parser.d.ts +12 -0
- package/dist/shared/jsonc-parser.d.ts.map +1 -1
- package/dist/shared/keep-subagents.d.ts +1 -1
- package/dist/shared/keep-subagents.d.ts.map +1 -1
- package/dist/shared/model-suggestion-retry.d.ts +15 -11
- package/dist/shared/model-suggestion-retry.d.ts.map +1 -1
- package/dist/shared/opencode-db-path.d.ts +24 -0
- package/dist/shared/opencode-db-path.d.ts.map +1 -0
- package/dist/shared/pi-executable.d.ts +6 -0
- package/dist/shared/pi-executable.d.ts.map +1 -0
- package/dist/shared/prompt-surface-runtime.d.ts +10 -5
- package/dist/shared/prompt-surface-runtime.d.ts.map +1 -1
- package/dist/shared/resolve-fallbacks.d.ts +1 -1
- package/dist/shared/rpc-types.d.ts +117 -0
- package/dist/shared/rpc-types.d.ts.map +1 -1
- package/dist/shared/rpc-utils.d.ts.map +1 -1
- package/dist/shared/sqlite.d.ts +42 -0
- package/dist/shared/sqlite.d.ts.map +1 -1
- package/dist/shared/status-detail-text.d.ts.map +1 -1
- package/dist/shared/subagent-runner.d.ts +17 -10
- package/dist/shared/subagent-runner.d.ts.map +1 -1
- package/dist/shared/tag-transcript.d.ts.map +1 -1
- package/dist/shared/transcript.d.ts +6 -0
- package/dist/shared/transcript.d.ts.map +1 -1
- package/dist/shared/window-geometry.d.ts +23 -0
- package/dist/shared/window-geometry.d.ts.map +1 -1
- package/dist/shared/write-transaction-timing.d.ts +1 -1
- package/dist/shared/write-transaction-timing.d.ts.map +1 -1
- package/dist/{storage-meta-session-3rxx9ekm.js → storage-meta-session-e6g0mmec.js} +2 -2
- package/dist/tools/ctx-memory/tools.d.ts.map +1 -1
- package/dist/tools/ctx-memory/verification-recording.d.ts.map +1 -1
- package/dist/tools/ctx-note/constants.d.ts +1 -1
- package/dist/tools/ctx-note/constants.d.ts.map +1 -1
- package/dist/tools/ctx-note/tools.d.ts.map +1 -1
- package/dist/tools/ctx-note/types.d.ts +1 -0
- package/dist/tools/ctx-note/types.d.ts.map +1 -1
- package/dist/tools/ctx-reduce/tools.d.ts +10 -1
- package/dist/tools/ctx-reduce/tools.d.ts.map +1 -1
- package/dist/tools/ctx-search/constants.d.ts +1 -1
- package/dist/tools/ctx-search/constants.d.ts.map +1 -1
- package/dist/tools/light-descriptions.d.ts +2 -2
- package/dist/tools/light-descriptions.d.ts.map +1 -1
- package/package.json +2 -3
- package/src/agents/hidden-agent-registrations.ts +3 -15
- package/src/agents/magic-context-prompt.test.ts +7 -5
- package/src/agents/magic-context-prompt.ts +22 -30
- package/src/agents/permissions.test.ts +1 -42
- package/src/agents/permissions.ts +1 -24
- package/src/config/agent-disable.ts +5 -22
- package/src/config/index.test.ts +169 -14
- package/src/config/index.ts +137 -21
- package/src/config/latch-permanence-guard.test.ts +4 -0
- package/src/config/migrate-config-location.test.ts +39 -6
- package/src/config/migrate-config-location.ts +18 -31
- package/src/config/profiles.ts +1 -1
- package/src/config/project-security.hostile-matrix.test.ts +0 -8
- package/src/config/project-security.test.ts +11 -22
- package/src/config/project-security.ts +103 -9
- package/src/config/protected-tokens.test.ts +235 -0
- package/src/config/removed-agent-config.ts +45 -0
- package/src/config/removed-agent-source-fence.test.ts +56 -0
- package/src/config/schema/magic-context.test.ts +21 -42
- package/src/config/schema/magic-context.ts +46 -37
- package/src/shared/cache-ttl-display.test.ts +84 -0
- package/src/shared/cache-ttl-display.ts +64 -0
- package/src/shared/cache-ttl-seed.ts +23 -0
- package/src/shared/child-session-teardown.test.ts +218 -0
- package/src/shared/child-session-teardown.ts +66 -0
- package/src/shared/config-diagnostics.test.ts +29 -0
- package/src/shared/config-diagnostics.ts +64 -0
- package/src/shared/config-warning-surface.ts +28 -0
- package/src/shared/data-path.ts +10 -9
- package/src/shared/harness-provider-map.test.ts +16 -0
- package/src/shared/harness-provider-map.ts +15 -0
- package/src/shared/jsonc-parser.test.ts +14 -1
- package/src/shared/jsonc-parser.ts +93 -0
- package/src/shared/keep-subagents.ts +9 -14
- package/src/shared/model-suggestion-retry.ts +144 -29
- package/src/shared/opencode-db-path.test.ts +196 -0
- package/src/shared/opencode-db-path.ts +215 -0
- package/src/shared/pi-executable.ts +20 -0
- package/src/shared/prompt-surface-a1-golden.md +50 -35
- package/src/shared/prompt-surface-runtime.test.ts +28 -0
- package/src/shared/prompt-surface-runtime.ts +22 -5
- package/src/shared/resolve-fallbacks.ts +1 -1
- package/src/shared/rpc-types.ts +124 -0
- package/src/shared/rpc-utils.ts +2 -3
- package/src/shared/session-messages-bounded.test.ts +1 -1
- package/src/shared/sqlite-import-fence.test.ts +19 -0
- package/src/shared/sqlite.test.ts +27 -1
- package/src/shared/sqlite.ts +204 -1
- package/src/shared/status-detail-text.test.ts +8 -4
- package/src/shared/status-detail-text.ts +20 -1
- package/src/shared/subagent-runner.ts +17 -10
- package/src/shared/tag-transcript.ts +53 -22
- package/src/shared/transcript.ts +7 -0
- package/src/shared/window-geometry.test.ts +44 -0
- package/src/shared/window-geometry.ts +89 -11
- package/src/shared/write-transaction-attribution.test.ts +241 -0
- package/src/shared/write-transaction-timing.ts +2 -1
- package/src/tui/index.tsx +18 -4
- package/src/tui/slots/sidebar-content.tsx +12 -7
- package/src/tui-compiled/index.tsx +237 -225
- package/src/tui-compiled/slots/sidebar-content.tsx +301 -305
- package/dist/agents/sidekick.d.ts +0 -2
- package/dist/agents/sidekick.d.ts.map +0 -1
- package/dist/features/magic-context/defaults.d.ts +0 -2
- package/dist/features/magic-context/defaults.d.ts.map +0 -1
- package/dist/features/magic-context/sidekick/agent.d.ts +0 -14
- package/dist/features/magic-context/sidekick/agent.d.ts.map +0 -1
- package/dist/features/magic-context/sidekick/core.d.ts +0 -38
- package/dist/features/magic-context/sidekick/core.d.ts.map +0 -1
- package/dist/features/magic-context/sidekick/index.d.ts +0 -3
- package/dist/features/magic-context/sidekick/index.d.ts.map +0 -1
- package/dist/hooks/magic-context/boundary-execution.d.ts +0 -27
- package/dist/hooks/magic-context/boundary-execution.d.ts.map +0 -1
- package/dist/index-jfpk81yt.js +0 -146
- package/dist/index-raatkvw5.js +0 -360
- package/src/agents/sidekick.ts +0 -1
- package/src/features/magic-context/defaults.ts +0 -1
|
@@ -13,6 +13,8 @@ import { createSidebarContentSlot, kickRecompProgressRefresh, refreshSidebarSnap
|
|
|
13
13
|
import packageJson from "../../package.json";
|
|
14
14
|
import { closeRpc, dismissUpgradeReminder, getAnnouncement, getCompartmentCount, getRpcGeneration, initRpcClient, loadEmbedDetail, loadStatusDetail, loadToastDurationMs, markAnnounced, requestRecomp, requestUpgrade } from "./data/context-db";
|
|
15
15
|
import { startNotificationSocket, stopNotificationSocket } from "./data/notification-socket";
|
|
16
|
+
import { formatCacheTtlDisplay } from "../shared/cache-ttl-display";
|
|
17
|
+
import { formatConfigParseStatusLine } from "../shared/config-diagnostics";
|
|
16
18
|
import { formatThresholdPercent } from "../shared/format-threshold";
|
|
17
19
|
import { formatTailHygiene } from "../shared/tail-hygiene-status";
|
|
18
20
|
import { RUST_MODE_HOST_PATHS_LINE } from "../shared/rust-mode-status";
|
|
@@ -199,7 +201,7 @@ const StatusDialog = props => {
|
|
|
199
201
|
color: COLORS.profile
|
|
200
202
|
});
|
|
201
203
|
if (d.conversationTokens > 0) segs.push({
|
|
202
|
-
label: "Conversation
|
|
204
|
+
label: "Conversation",
|
|
203
205
|
tokens: d.conversationTokens,
|
|
204
206
|
color: COLORS.conversation
|
|
205
207
|
});
|
|
@@ -269,6 +271,12 @@ const StatusDialog = props => {
|
|
|
269
271
|
_$insertNode(_el$7, _$createTextNode(`⚡ Magic Context Status`));
|
|
270
272
|
_$insertNode(_el$9, _el$0);
|
|
271
273
|
_$insert(_el$9, () => packageJson.version, null);
|
|
274
|
+
_$insert(_el$4, () => s().configParseFailures.map(failure => (() => {
|
|
275
|
+
var _el$25 = _$createElement("text");
|
|
276
|
+
_$insert(_el$25, () => formatConfigParseStatusLine(failure));
|
|
277
|
+
_$effect(_$p => _$setProp(_el$25, "fg", t().error, _$p));
|
|
278
|
+
return _el$25;
|
|
279
|
+
})()), _el$1);
|
|
272
280
|
_$insertNode(_el$1, _el$10);
|
|
273
281
|
_$setProp(_el$1, "flexDirection", "row");
|
|
274
282
|
_$setProp(_el$1, "justifyContent", "space-between");
|
|
@@ -276,27 +284,27 @@ const StatusDialog = props => {
|
|
|
276
284
|
_$insert(_el$1, (() => {
|
|
277
285
|
var _c$ = _$memo(() => !!compactionOff());
|
|
278
286
|
return () => _c$() ? (() => {
|
|
279
|
-
var _el$
|
|
280
|
-
_el$
|
|
281
|
-
_$insertNode(_el$
|
|
282
|
-
_$insert(_el$
|
|
283
|
-
_$effect(_$p => _$setProp(_el$
|
|
284
|
-
return _el$
|
|
287
|
+
var _el$26 = _$createElement("text"),
|
|
288
|
+
_el$27 = _$createElement("b");
|
|
289
|
+
_$insertNode(_el$26, _el$27);
|
|
290
|
+
_$insert(_el$27, () => nativeCompactionContextLabel(s()));
|
|
291
|
+
_$effect(_$p => _$setProp(_el$26, "fg", t().accent, _$p));
|
|
292
|
+
return _el$26;
|
|
285
293
|
})() : (() => {
|
|
286
|
-
var _el$
|
|
287
|
-
_el$
|
|
288
|
-
_el$
|
|
289
|
-
_el$
|
|
290
|
-
_el$
|
|
291
|
-
_$insertNode(_el$27, _el$28);
|
|
292
|
-
_$insertNode(_el$27, _el$30);
|
|
293
|
-
_$insertNode(_el$27, _el$31);
|
|
294
|
+
var _el$28 = _$createElement("text"),
|
|
295
|
+
_el$29 = _$createElement("b"),
|
|
296
|
+
_el$30 = _$createTextNode(`%`),
|
|
297
|
+
_el$31 = _$createTextNode(` / `),
|
|
298
|
+
_el$32 = _$createTextNode(`%`);
|
|
294
299
|
_$insertNode(_el$28, _el$29);
|
|
295
|
-
_$
|
|
296
|
-
_$
|
|
297
|
-
_$
|
|
298
|
-
_$
|
|
299
|
-
|
|
300
|
+
_$insertNode(_el$28, _el$31);
|
|
301
|
+
_$insertNode(_el$28, _el$32);
|
|
302
|
+
_$insertNode(_el$29, _el$30);
|
|
303
|
+
_$insert(_el$29, () => s().usagePercentage.toFixed(1), _el$30);
|
|
304
|
+
_$insert(_el$28, () => formatThresholdPercent(s().executeThreshold), _el$32);
|
|
305
|
+
_$insert(_el$28, () => s().executeThresholdClamped ? "*" : "", null);
|
|
306
|
+
_$effect(_$p => _$setProp(_el$28, "fg", s().usagePercentage >= 80 ? t().error : s().usagePercentage >= 65 ? t().warning : t().accent, _$p));
|
|
307
|
+
return _el$28;
|
|
300
308
|
})();
|
|
301
309
|
})(), _el$10);
|
|
302
310
|
_$insertNode(_el$10, _el$11);
|
|
@@ -309,74 +317,74 @@ const StatusDialog = props => {
|
|
|
309
317
|
_$insert(_el$4, (() => {
|
|
310
318
|
var _c$3 = _$memo(() => !!s().windowGeometry);
|
|
311
319
|
return () => _c$3() && (() => {
|
|
312
|
-
var _el$
|
|
313
|
-
_$insert(_el$
|
|
314
|
-
_$effect(_$p => _$setProp(_el$
|
|
315
|
-
return _el$
|
|
320
|
+
var _el$33 = _$createElement("text");
|
|
321
|
+
_$insert(_el$33, () => formatWindowDerivationLine(s().inputTokens, s().windowGeometry));
|
|
322
|
+
_$effect(_$p => _$setProp(_el$33, "fg", t().textMuted, _$p));
|
|
323
|
+
return _el$33;
|
|
316
324
|
})();
|
|
317
325
|
})(), _el$13);
|
|
318
326
|
_$setProp(_el$13, "width", "100%");
|
|
319
327
|
_$setProp(_el$13, "flexDirection", "row");
|
|
320
328
|
_$setProp(_el$13, "height", 1);
|
|
321
329
|
_$insert(_el$13, () => barSegments().map(seg => (() => {
|
|
322
|
-
var _el$
|
|
323
|
-
_$setProp(_el$
|
|
324
|
-
_$setProp(_el$
|
|
330
|
+
var _el$34 = _$createElement("box");
|
|
331
|
+
_$setProp(_el$34, "flexBasis", 0);
|
|
332
|
+
_$setProp(_el$34, "height", 1);
|
|
325
333
|
_$effect(_p$ => {
|
|
326
334
|
var _v$9 = seg.label,
|
|
327
335
|
_v$0 = Math.max(1, seg.tokens),
|
|
328
336
|
_v$1 = seg.color;
|
|
329
|
-
_v$9 !== _p$.e && (_p$.e = _$setProp(_el$
|
|
330
|
-
_v$0 !== _p$.t && (_p$.t = _$setProp(_el$
|
|
331
|
-
_v$1 !== _p$.a && (_p$.a = _$setProp(_el$
|
|
337
|
+
_v$9 !== _p$.e && (_p$.e = _$setProp(_el$34, "key", _v$9, _p$.e));
|
|
338
|
+
_v$0 !== _p$.t && (_p$.t = _$setProp(_el$34, "flexGrow", _v$0, _p$.t));
|
|
339
|
+
_v$1 !== _p$.a && (_p$.a = _$setProp(_el$34, "backgroundColor", _v$1, _p$.a));
|
|
332
340
|
return _p$;
|
|
333
341
|
}, {
|
|
334
342
|
e: undefined,
|
|
335
343
|
t: undefined,
|
|
336
344
|
a: undefined
|
|
337
345
|
});
|
|
338
|
-
return _el$
|
|
346
|
+
return _el$34;
|
|
339
347
|
})()));
|
|
340
348
|
_$insertNode(_el$14, _el$15);
|
|
341
349
|
_$setProp(_el$14, "flexDirection", "column");
|
|
342
350
|
_$insert(_el$14, () => breakdownSegments().segs.map(seg => {
|
|
343
351
|
const pct = (seg.tokens / breakdownSegments().total * 100).toFixed(1);
|
|
344
352
|
return (() => {
|
|
345
|
-
var _el$
|
|
346
|
-
_el$
|
|
347
|
-
_el$
|
|
348
|
-
_el$
|
|
349
|
-
_el$
|
|
350
|
-
_el$
|
|
351
|
-
_$insertNode(_el$34, _el$35);
|
|
352
|
-
_$insertNode(_el$34, _el$37);
|
|
353
|
-
_$setProp(_el$34, "width", "100%");
|
|
354
|
-
_$setProp(_el$34, "flexDirection", "row");
|
|
355
|
-
_$setProp(_el$34, "justifyContent", "space-between");
|
|
353
|
+
var _el$35 = _$createElement("box"),
|
|
354
|
+
_el$36 = _$createElement("text"),
|
|
355
|
+
_el$37 = _$createTextNode(` `),
|
|
356
|
+
_el$38 = _$createElement("text"),
|
|
357
|
+
_el$39 = _$createTextNode(` (`),
|
|
358
|
+
_el$40 = _$createTextNode(`%)`);
|
|
356
359
|
_$insertNode(_el$35, _el$36);
|
|
357
|
-
_$
|
|
358
|
-
_$
|
|
359
|
-
_$
|
|
360
|
-
_$
|
|
361
|
-
_$
|
|
362
|
-
_$insert(_el$
|
|
360
|
+
_$insertNode(_el$35, _el$38);
|
|
361
|
+
_$setProp(_el$35, "width", "100%");
|
|
362
|
+
_$setProp(_el$35, "flexDirection", "row");
|
|
363
|
+
_$setProp(_el$35, "justifyContent", "space-between");
|
|
364
|
+
_$insertNode(_el$36, _el$37);
|
|
365
|
+
_$insert(_el$36, () => seg.label, _el$37);
|
|
366
|
+
_$insert(_el$36, () => seg.detail ?? "", null);
|
|
367
|
+
_$insertNode(_el$38, _el$39);
|
|
368
|
+
_$insertNode(_el$38, _el$40);
|
|
369
|
+
_$insert(_el$38, () => fmt(seg.tokens), _el$39);
|
|
370
|
+
_$insert(_el$38, pct, _el$40);
|
|
363
371
|
_$effect(_p$ => {
|
|
364
372
|
var _v$10 = seg.label,
|
|
365
373
|
_v$11 = seg.color,
|
|
366
374
|
_v$12 = t().textMuted;
|
|
367
|
-
_v$10 !== _p$.e && (_p$.e = _$setProp(_el$
|
|
368
|
-
_v$11 !== _p$.t && (_p$.t = _$setProp(_el$
|
|
369
|
-
_v$12 !== _p$.a && (_p$.a = _$setProp(_el$
|
|
375
|
+
_v$10 !== _p$.e && (_p$.e = _$setProp(_el$35, "key", _v$10, _p$.e));
|
|
376
|
+
_v$11 !== _p$.t && (_p$.t = _$setProp(_el$36, "fg", _v$11, _p$.t));
|
|
377
|
+
_v$12 !== _p$.a && (_p$.a = _$setProp(_el$38, "fg", _v$12, _p$.a));
|
|
370
378
|
return _p$;
|
|
371
379
|
}, {
|
|
372
380
|
e: undefined,
|
|
373
381
|
t: undefined,
|
|
374
382
|
a: undefined
|
|
375
383
|
});
|
|
376
|
-
return _el$
|
|
384
|
+
return _el$35;
|
|
377
385
|
})();
|
|
378
386
|
}), _el$15);
|
|
379
|
-
_$insertNode(_el$15, _$createTextNode(
|
|
387
|
+
_$insertNode(_el$15, _$createTextNode(`Conversation includes reasoning; hygiene excludes it`));
|
|
380
388
|
_$insert(_el$14, (() => {
|
|
381
389
|
var _c$4 = _$memo(() => s().tailHygiene !== undefined);
|
|
382
390
|
return () => _c$4() && _$createComponent(R, {
|
|
@@ -400,16 +408,16 @@ const StatusDialog = props => {
|
|
|
400
408
|
// /ctx-recomp never reads as an "Upgrade" (dogfood 2026-06-04).
|
|
401
409
|
const verb = p.kind === "upgrade" ? "Upgrade" : p.kind === "embed" ? "Embed" : "Recomp";
|
|
402
410
|
return (() => {
|
|
403
|
-
var _el$
|
|
404
|
-
_el$
|
|
405
|
-
_el$
|
|
406
|
-
_$insertNode(_el$40, _el$41);
|
|
407
|
-
_$setProp(_el$40, "marginTop", 1);
|
|
408
|
-
_$setProp(_el$40, "width", "100%");
|
|
409
|
-
_$setProp(_el$40, "flexDirection", "column");
|
|
411
|
+
var _el$41 = _$createElement("box"),
|
|
412
|
+
_el$42 = _$createElement("text"),
|
|
413
|
+
_el$43 = _$createElement("b");
|
|
410
414
|
_$insertNode(_el$41, _el$42);
|
|
411
|
-
_$
|
|
412
|
-
_$
|
|
415
|
+
_$setProp(_el$41, "marginTop", 1);
|
|
416
|
+
_$setProp(_el$41, "width", "100%");
|
|
417
|
+
_$setProp(_el$41, "flexDirection", "column");
|
|
418
|
+
_$insertNode(_el$42, _el$43);
|
|
419
|
+
_$insert(_el$43, verb);
|
|
420
|
+
_$insert(_el$41, () => {
|
|
413
421
|
if (p.phase === "recomp") {
|
|
414
422
|
const frac = p.totalMessages > 0 ? p.processedMessages / p.totalMessages : 0;
|
|
415
423
|
const width = 24;
|
|
@@ -509,37 +517,37 @@ const StatusDialog = props => {
|
|
|
509
517
|
}
|
|
510
518
|
});
|
|
511
519
|
}, null);
|
|
512
|
-
_$effect(_$p => _$setProp(_el$
|
|
513
|
-
return _el$
|
|
520
|
+
_$effect(_$p => _$setProp(_el$42, "fg", t().text, _$p));
|
|
521
|
+
return _el$41;
|
|
514
522
|
})();
|
|
515
523
|
})();
|
|
516
524
|
})(), _el$17);
|
|
517
525
|
_$insert(_el$4, (() => {
|
|
518
526
|
var _c$6 = _$memo(() => !!s().hostBackendsModuleSide);
|
|
519
527
|
return () => _c$6() && (() => {
|
|
520
|
-
var _el$
|
|
521
|
-
_el$
|
|
522
|
-
_el$
|
|
523
|
-
_el$
|
|
524
|
-
_$insertNode(_el$43, _el$44);
|
|
525
|
-
_$insertNode(_el$43, _el$47);
|
|
526
|
-
_$setProp(_el$43, "marginTop", 1);
|
|
527
|
-
_$setProp(_el$43, "width", "100%");
|
|
528
|
-
_$setProp(_el$43, "flexDirection", "column");
|
|
528
|
+
var _el$44 = _$createElement("box"),
|
|
529
|
+
_el$45 = _$createElement("text"),
|
|
530
|
+
_el$46 = _$createElement("b"),
|
|
531
|
+
_el$48 = _$createElement("text");
|
|
529
532
|
_$insertNode(_el$44, _el$45);
|
|
530
|
-
_$insertNode(_el$
|
|
531
|
-
_$
|
|
533
|
+
_$insertNode(_el$44, _el$48);
|
|
534
|
+
_$setProp(_el$44, "marginTop", 1);
|
|
535
|
+
_$setProp(_el$44, "width", "100%");
|
|
536
|
+
_$setProp(_el$44, "flexDirection", "column");
|
|
537
|
+
_$insertNode(_el$45, _el$46);
|
|
538
|
+
_$insertNode(_el$46, _$createTextNode(`Rust Mode`));
|
|
539
|
+
_$insert(_el$48, RUST_MODE_HOST_PATHS_LINE);
|
|
532
540
|
_$effect(_p$ => {
|
|
533
541
|
var _v$13 = t().text,
|
|
534
542
|
_v$14 = t().textMuted;
|
|
535
|
-
_v$13 !== _p$.e && (_p$.e = _$setProp(_el$
|
|
536
|
-
_v$14 !== _p$.t && (_p$.t = _$setProp(_el$
|
|
543
|
+
_v$13 !== _p$.e && (_p$.e = _$setProp(_el$45, "fg", _v$13, _p$.e));
|
|
544
|
+
_v$14 !== _p$.t && (_p$.t = _$setProp(_el$48, "fg", _v$14, _p$.t));
|
|
537
545
|
return _p$;
|
|
538
546
|
}, {
|
|
539
547
|
e: undefined,
|
|
540
548
|
t: undefined
|
|
541
549
|
});
|
|
542
|
-
return _el$
|
|
550
|
+
return _el$44;
|
|
543
551
|
})();
|
|
544
552
|
})(), _el$17);
|
|
545
553
|
_$setProp(_el$17, "flexDirection", "row");
|
|
@@ -549,16 +557,16 @@ const StatusDialog = props => {
|
|
|
549
557
|
_$insert(_el$17, (() => {
|
|
550
558
|
var _c$7 = _$memo(() => !!compactionOff());
|
|
551
559
|
return () => _c$7() ? (() => {
|
|
552
|
-
var _el$
|
|
553
|
-
_el$
|
|
554
|
-
_el$
|
|
555
|
-
_$insertNode(_el$48, _el$49);
|
|
556
|
-
_$setProp(_el$48, "flexDirection", "column");
|
|
557
|
-
_$setProp(_el$48, "flexGrow", 1);
|
|
558
|
-
_$setProp(_el$48, "flexBasis", 0);
|
|
560
|
+
var _el$49 = _$createElement("box"),
|
|
561
|
+
_el$50 = _$createElement("text"),
|
|
562
|
+
_el$51 = _$createElement("b");
|
|
559
563
|
_$insertNode(_el$49, _el$50);
|
|
560
|
-
_$
|
|
561
|
-
_$
|
|
564
|
+
_$setProp(_el$49, "flexDirection", "column");
|
|
565
|
+
_$setProp(_el$49, "flexGrow", 1);
|
|
566
|
+
_$setProp(_el$49, "flexBasis", 0);
|
|
567
|
+
_$insertNode(_el$50, _el$51);
|
|
568
|
+
_$insertNode(_el$51, _$createTextNode(`Knowledge`));
|
|
569
|
+
_$insert(_el$49, () => compactionOffSidebarRows(s()).map(row => _$createComponent(R, {
|
|
562
570
|
get t() {
|
|
563
571
|
return t();
|
|
564
572
|
},
|
|
@@ -572,7 +580,7 @@ const StatusDialog = props => {
|
|
|
572
580
|
return _$memo(() => row.label === "Memories")() ? t().accent : t().textMuted;
|
|
573
581
|
}
|
|
574
582
|
})), null);
|
|
575
|
-
_$insert(_el$
|
|
583
|
+
_$insert(_el$49, (() => {
|
|
576
584
|
var _c$1 = _$memo(() => s().readySmartNoteCount > 0);
|
|
577
585
|
return () => _c$1() && _$createComponent(R, {
|
|
578
586
|
get t() {
|
|
@@ -587,7 +595,7 @@ const StatusDialog = props => {
|
|
|
587
595
|
}
|
|
588
596
|
});
|
|
589
597
|
})(), null);
|
|
590
|
-
_$insert(_el$
|
|
598
|
+
_$insert(_el$49, (() => {
|
|
591
599
|
var _c$10 = _$memo(() => !!s().lastDreamerRunAt);
|
|
592
600
|
return () => _c$10() && _$createComponent(R, {
|
|
593
601
|
get t() {
|
|
@@ -602,31 +610,31 @@ const StatusDialog = props => {
|
|
|
602
610
|
}
|
|
603
611
|
});
|
|
604
612
|
})(), null);
|
|
605
|
-
_$effect(_$p => _$setProp(_el$
|
|
606
|
-
return _el$
|
|
613
|
+
_$effect(_$p => _$setProp(_el$50, "fg", t().text, _$p));
|
|
614
|
+
return _el$49;
|
|
607
615
|
})() : [(() => {
|
|
608
|
-
var _el$
|
|
609
|
-
_el$
|
|
610
|
-
_el$
|
|
611
|
-
_el$
|
|
612
|
-
_el$
|
|
613
|
-
_el$
|
|
614
|
-
_el$
|
|
615
|
-
_el$
|
|
616
|
-
_el$
|
|
617
|
-
_el$
|
|
618
|
-
_el$
|
|
619
|
-
_el$
|
|
620
|
-
_$insertNode(_el$52, _el$53);
|
|
621
|
-
_$insertNode(_el$52, _el$56);
|
|
622
|
-
_$insertNode(_el$52, _el$60);
|
|
623
|
-
_$insertNode(_el$52, _el$64);
|
|
624
|
-
_$setProp(_el$52, "flexDirection", "column");
|
|
625
|
-
_$setProp(_el$52, "flexGrow", 1);
|
|
626
|
-
_$setProp(_el$52, "flexBasis", 0);
|
|
616
|
+
var _el$53 = _$createElement("box"),
|
|
617
|
+
_el$54 = _$createElement("text"),
|
|
618
|
+
_el$55 = _$createElement("b"),
|
|
619
|
+
_el$57 = _$createElement("box"),
|
|
620
|
+
_el$58 = _$createElement("text"),
|
|
621
|
+
_el$59 = _$createElement("b"),
|
|
622
|
+
_el$61 = _$createElement("box"),
|
|
623
|
+
_el$62 = _$createElement("text"),
|
|
624
|
+
_el$63 = _$createElement("b"),
|
|
625
|
+
_el$65 = _$createElement("box"),
|
|
626
|
+
_el$66 = _$createElement("text"),
|
|
627
|
+
_el$67 = _$createElement("b");
|
|
627
628
|
_$insertNode(_el$53, _el$54);
|
|
628
|
-
_$insertNode(_el$
|
|
629
|
-
_$
|
|
629
|
+
_$insertNode(_el$53, _el$57);
|
|
630
|
+
_$insertNode(_el$53, _el$61);
|
|
631
|
+
_$insertNode(_el$53, _el$65);
|
|
632
|
+
_$setProp(_el$53, "flexDirection", "column");
|
|
633
|
+
_$setProp(_el$53, "flexGrow", 1);
|
|
634
|
+
_$setProp(_el$53, "flexBasis", 0);
|
|
635
|
+
_$insertNode(_el$54, _el$55);
|
|
636
|
+
_$insertNode(_el$55, _$createTextNode(`Tags`));
|
|
637
|
+
_$insert(_el$53, _$createComponent(R, {
|
|
630
638
|
get t() {
|
|
631
639
|
return t();
|
|
632
640
|
},
|
|
@@ -634,8 +642,8 @@ const StatusDialog = props => {
|
|
|
634
642
|
get v() {
|
|
635
643
|
return _$memo(() => s().tagCountsAuthoritative === false)() ? "n/a (module total only)" : `${s().activeTags} (~${fmtBytes(s().activeBytes)})`;
|
|
636
644
|
}
|
|
637
|
-
}), _el$
|
|
638
|
-
_$insert(_el$
|
|
645
|
+
}), _el$57);
|
|
646
|
+
_$insert(_el$53, _$createComponent(R, {
|
|
639
647
|
get t() {
|
|
640
648
|
return t();
|
|
641
649
|
},
|
|
@@ -643,8 +651,8 @@ const StatusDialog = props => {
|
|
|
643
651
|
get v() {
|
|
644
652
|
return _$memo(() => s().tagCountsAuthoritative === false)() ? "n/a (module total only)" : String(s().droppedTags);
|
|
645
653
|
}
|
|
646
|
-
}), _el$
|
|
647
|
-
_$insert(_el$
|
|
654
|
+
}), _el$57);
|
|
655
|
+
_$insert(_el$53, _$createComponent(R, {
|
|
648
656
|
get t() {
|
|
649
657
|
return t();
|
|
650
658
|
},
|
|
@@ -655,12 +663,12 @@ const StatusDialog = props => {
|
|
|
655
663
|
get fg() {
|
|
656
664
|
return t().textMuted;
|
|
657
665
|
}
|
|
658
|
-
}), _el$
|
|
659
|
-
_$insertNode(_el$56, _el$57);
|
|
660
|
-
_$setProp(_el$56, "marginTop", 1);
|
|
666
|
+
}), _el$57);
|
|
661
667
|
_$insertNode(_el$57, _el$58);
|
|
662
|
-
_$
|
|
663
|
-
_$
|
|
668
|
+
_$setProp(_el$57, "marginTop", 1);
|
|
669
|
+
_$insertNode(_el$58, _el$59);
|
|
670
|
+
_$insertNode(_el$59, _$createTextNode(`Pending Queue`));
|
|
671
|
+
_$insert(_el$53, _$createComponent(R, {
|
|
664
672
|
get t() {
|
|
665
673
|
return t();
|
|
666
674
|
},
|
|
@@ -671,21 +679,25 @@ const StatusDialog = props => {
|
|
|
671
679
|
get fg() {
|
|
672
680
|
return _$memo(() => s().pendingOpsCount > 0)() ? t().warning : t().textMuted;
|
|
673
681
|
}
|
|
674
|
-
}), _el$
|
|
675
|
-
_$insertNode(_el$60, _el$61);
|
|
676
|
-
_$setProp(_el$60, "marginTop", 1);
|
|
682
|
+
}), _el$61);
|
|
677
683
|
_$insertNode(_el$61, _el$62);
|
|
678
|
-
_$
|
|
679
|
-
_$
|
|
684
|
+
_$setProp(_el$61, "marginTop", 1);
|
|
685
|
+
_$insertNode(_el$62, _el$63);
|
|
686
|
+
_$insertNode(_el$63, _$createTextNode(`Cache TTL`));
|
|
687
|
+
_$insert(_el$53, _$createComponent(R, {
|
|
680
688
|
get t() {
|
|
681
689
|
return t();
|
|
682
690
|
},
|
|
683
691
|
l: "Configured",
|
|
684
692
|
get v() {
|
|
685
|
-
return
|
|
693
|
+
return formatCacheTtlDisplay({
|
|
694
|
+
value: s().cacheTtl,
|
|
695
|
+
source: s().cacheTtlSource,
|
|
696
|
+
modelKey: s().cacheTtlModelKey
|
|
697
|
+
}).replace(/^Cache TTL: /, "");
|
|
686
698
|
}
|
|
687
|
-
}), _el$
|
|
688
|
-
_$insert(_el$
|
|
699
|
+
}), _el$65);
|
|
700
|
+
_$insert(_el$53, _$createComponent(R, {
|
|
689
701
|
get t() {
|
|
690
702
|
return t();
|
|
691
703
|
},
|
|
@@ -693,8 +705,8 @@ const StatusDialog = props => {
|
|
|
693
705
|
get v() {
|
|
694
706
|
return _$memo(() => s().lastResponseTime > 0)() ? `${Math.round(elapsed() / 1000)}s ago` : "never";
|
|
695
707
|
}
|
|
696
|
-
}), _el$
|
|
697
|
-
_$insert(_el$
|
|
708
|
+
}), _el$65);
|
|
709
|
+
_$insert(_el$53, _$createComponent(R, {
|
|
698
710
|
get t() {
|
|
699
711
|
return t();
|
|
700
712
|
},
|
|
@@ -705,8 +717,8 @@ const StatusDialog = props => {
|
|
|
705
717
|
get fg() {
|
|
706
718
|
return _$memo(() => !!s().cacheExpired)() ? t().warning : t().textMuted;
|
|
707
719
|
}
|
|
708
|
-
}), _el$
|
|
709
|
-
_$insert(_el$
|
|
720
|
+
}), _el$65);
|
|
721
|
+
_$insert(_el$53, _$createComponent(R, {
|
|
710
722
|
get t() {
|
|
711
723
|
return t();
|
|
712
724
|
},
|
|
@@ -717,12 +729,12 @@ const StatusDialog = props => {
|
|
|
717
729
|
get fg() {
|
|
718
730
|
return t().textMuted;
|
|
719
731
|
}
|
|
720
|
-
}), _el$
|
|
721
|
-
_$insertNode(_el$64, _el$65);
|
|
722
|
-
_$setProp(_el$64, "marginTop", 1);
|
|
732
|
+
}), _el$65);
|
|
723
733
|
_$insertNode(_el$65, _el$66);
|
|
724
|
-
_$
|
|
725
|
-
_$
|
|
734
|
+
_$setProp(_el$65, "marginTop", 1);
|
|
735
|
+
_$insertNode(_el$66, _el$67);
|
|
736
|
+
_$insertNode(_el$67, _$createTextNode(`Memory`));
|
|
737
|
+
_$insert(_el$53, _$createComponent(R, {
|
|
726
738
|
get t() {
|
|
727
739
|
return t();
|
|
728
740
|
},
|
|
@@ -734,7 +746,7 @@ const StatusDialog = props => {
|
|
|
734
746
|
return t().accent;
|
|
735
747
|
}
|
|
736
748
|
}), null);
|
|
737
|
-
_$insert(_el$
|
|
749
|
+
_$insert(_el$53, _$createComponent(R, {
|
|
738
750
|
get t() {
|
|
739
751
|
return t();
|
|
740
752
|
},
|
|
@@ -751,10 +763,10 @@ const StatusDialog = props => {
|
|
|
751
763
|
_v$16 = t().text,
|
|
752
764
|
_v$17 = t().text,
|
|
753
765
|
_v$18 = t().text;
|
|
754
|
-
_v$15 !== _p$.e && (_p$.e = _$setProp(_el$
|
|
755
|
-
_v$16 !== _p$.t && (_p$.t = _$setProp(_el$
|
|
756
|
-
_v$17 !== _p$.a && (_p$.a = _$setProp(_el$
|
|
757
|
-
_v$18 !== _p$.o && (_p$.o = _$setProp(_el$
|
|
766
|
+
_v$15 !== _p$.e && (_p$.e = _$setProp(_el$54, "fg", _v$15, _p$.e));
|
|
767
|
+
_v$16 !== _p$.t && (_p$.t = _$setProp(_el$58, "fg", _v$16, _p$.t));
|
|
768
|
+
_v$17 !== _p$.a && (_p$.a = _$setProp(_el$62, "fg", _v$17, _p$.a));
|
|
769
|
+
_v$18 !== _p$.o && (_p$.o = _$setProp(_el$66, "fg", _v$18, _p$.o));
|
|
758
770
|
return _p$;
|
|
759
771
|
}, {
|
|
760
772
|
e: undefined,
|
|
@@ -762,26 +774,26 @@ const StatusDialog = props => {
|
|
|
762
774
|
a: undefined,
|
|
763
775
|
o: undefined
|
|
764
776
|
});
|
|
765
|
-
return _el$
|
|
777
|
+
return _el$53;
|
|
766
778
|
})(), (() => {
|
|
767
|
-
var _el$
|
|
768
|
-
_el$
|
|
769
|
-
_el$
|
|
770
|
-
_el$
|
|
771
|
-
_el$
|
|
772
|
-
_el$
|
|
773
|
-
_el$
|
|
774
|
-
_el$
|
|
775
|
-
_el$
|
|
776
|
-
_$insertNode(_el$68, _el$69);
|
|
777
|
-
_$insertNode(_el$68, _el$72);
|
|
778
|
-
_$insertNode(_el$68, _el$76);
|
|
779
|
-
_$setProp(_el$68, "flexDirection", "column");
|
|
780
|
-
_$setProp(_el$68, "flexGrow", 1);
|
|
781
|
-
_$setProp(_el$68, "flexBasis", 0);
|
|
779
|
+
var _el$69 = _$createElement("box"),
|
|
780
|
+
_el$70 = _$createElement("text"),
|
|
781
|
+
_el$71 = _$createElement("b"),
|
|
782
|
+
_el$73 = _$createElement("box"),
|
|
783
|
+
_el$74 = _$createElement("text"),
|
|
784
|
+
_el$75 = _$createElement("b"),
|
|
785
|
+
_el$77 = _$createElement("box"),
|
|
786
|
+
_el$78 = _$createElement("text"),
|
|
787
|
+
_el$79 = _$createElement("b");
|
|
782
788
|
_$insertNode(_el$69, _el$70);
|
|
783
|
-
_$insertNode(_el$
|
|
784
|
-
_$
|
|
789
|
+
_$insertNode(_el$69, _el$73);
|
|
790
|
+
_$insertNode(_el$69, _el$77);
|
|
791
|
+
_$setProp(_el$69, "flexDirection", "column");
|
|
792
|
+
_$setProp(_el$69, "flexGrow", 1);
|
|
793
|
+
_$setProp(_el$69, "flexBasis", 0);
|
|
794
|
+
_$insertNode(_el$70, _el$71);
|
|
795
|
+
_$insertNode(_el$71, _$createTextNode(`Reductions`));
|
|
796
|
+
_$insert(_el$69, _$createComponent(R, {
|
|
785
797
|
get t() {
|
|
786
798
|
return t();
|
|
787
799
|
},
|
|
@@ -789,8 +801,8 @@ const StatusDialog = props => {
|
|
|
789
801
|
get v() {
|
|
790
802
|
return `${formatThresholdPercent(s().executeThreshold)}%${s().executeThresholdClamped ? "*" : ""}`;
|
|
791
803
|
}
|
|
792
|
-
}), _el$
|
|
793
|
-
_$insert(_el$
|
|
804
|
+
}), _el$73);
|
|
805
|
+
_$insert(_el$69, _$createComponent(R, {
|
|
794
806
|
get t() {
|
|
795
807
|
return t();
|
|
796
808
|
},
|
|
@@ -798,12 +810,12 @@ const StatusDialog = props => {
|
|
|
798
810
|
get v() {
|
|
799
811
|
return `${fmt(s().lastNudgeTokens)} tok`;
|
|
800
812
|
}
|
|
801
|
-
}), _el$
|
|
802
|
-
_$insertNode(_el$72, _el$73);
|
|
803
|
-
_$setProp(_el$72, "marginTop", 1);
|
|
813
|
+
}), _el$73);
|
|
804
814
|
_$insertNode(_el$73, _el$74);
|
|
805
|
-
_$
|
|
806
|
-
_$
|
|
815
|
+
_$setProp(_el$73, "marginTop", 1);
|
|
816
|
+
_$insertNode(_el$74, _el$75);
|
|
817
|
+
_$insertNode(_el$75, _$createTextNode(`Context Details`));
|
|
818
|
+
_$insert(_el$69, _$createComponent(R, {
|
|
807
819
|
get t() {
|
|
808
820
|
return t();
|
|
809
821
|
},
|
|
@@ -814,8 +826,8 @@ const StatusDialog = props => {
|
|
|
814
826
|
get fg() {
|
|
815
827
|
return t().textMuted;
|
|
816
828
|
}
|
|
817
|
-
}), _el$
|
|
818
|
-
_$insert(_el$
|
|
829
|
+
}), _el$77);
|
|
830
|
+
_$insert(_el$69, _$createComponent(R, {
|
|
819
831
|
get t() {
|
|
820
832
|
return t();
|
|
821
833
|
},
|
|
@@ -826,12 +838,12 @@ const StatusDialog = props => {
|
|
|
826
838
|
get fg() {
|
|
827
839
|
return t().textMuted;
|
|
828
840
|
}
|
|
829
|
-
}), _el$
|
|
830
|
-
_$insertNode(_el$76, _el$77);
|
|
831
|
-
_$setProp(_el$76, "marginTop", 1);
|
|
841
|
+
}), _el$77);
|
|
832
842
|
_$insertNode(_el$77, _el$78);
|
|
833
|
-
_$
|
|
834
|
-
_$
|
|
843
|
+
_$setProp(_el$77, "marginTop", 1);
|
|
844
|
+
_$insertNode(_el$78, _el$79);
|
|
845
|
+
_$insertNode(_el$79, _$createTextNode(`History Compression`));
|
|
846
|
+
_$insert(_el$69, (() => {
|
|
835
847
|
var _c$11 = _$memo(() => typeof s().boundaryPresent === "boolean");
|
|
836
848
|
return () => _c$11() && _$createComponent(R, {
|
|
837
849
|
get t() {
|
|
@@ -843,7 +855,7 @@ const StatusDialog = props => {
|
|
|
843
855
|
}
|
|
844
856
|
});
|
|
845
857
|
})(), null);
|
|
846
|
-
_$insert(_el$
|
|
858
|
+
_$insert(_el$69, (() => {
|
|
847
859
|
var _c$12 = _$memo(() => s().coverageOrdinal !== undefined);
|
|
848
860
|
return () => _c$12() && _$createComponent(R, {
|
|
849
861
|
get t() {
|
|
@@ -855,7 +867,7 @@ const StatusDialog = props => {
|
|
|
855
867
|
}
|
|
856
868
|
});
|
|
857
869
|
})(), null);
|
|
858
|
-
_$insert(_el$
|
|
870
|
+
_$insert(_el$69, (() => {
|
|
859
871
|
var _c$13 = _$memo(() => typeof s().boundaryPresent === "boolean");
|
|
860
872
|
return () => _c$13() && _$createComponent(R, {
|
|
861
873
|
get t() {
|
|
@@ -867,7 +879,7 @@ const StatusDialog = props => {
|
|
|
867
879
|
}
|
|
868
880
|
});
|
|
869
881
|
})(), null);
|
|
870
|
-
_$insert(_el$
|
|
882
|
+
_$insert(_el$69, _$createComponent(R, {
|
|
871
883
|
get t() {
|
|
872
884
|
return t();
|
|
873
885
|
},
|
|
@@ -876,7 +888,7 @@ const StatusDialog = props => {
|
|
|
876
888
|
return `~${fmt(s().historyBlockTokens)} tok`;
|
|
877
889
|
}
|
|
878
890
|
}), null);
|
|
879
|
-
_$insert(_el$
|
|
891
|
+
_$insert(_el$69, (() => {
|
|
880
892
|
var _c$14 = _$memo(() => s().compressionBudget != null);
|
|
881
893
|
return () => _c$14() && _$createComponent(R, {
|
|
882
894
|
get t() {
|
|
@@ -888,7 +900,7 @@ const StatusDialog = props => {
|
|
|
888
900
|
}
|
|
889
901
|
});
|
|
890
902
|
})(), null);
|
|
891
|
-
_$insert(_el$
|
|
903
|
+
_$insert(_el$69, (() => {
|
|
892
904
|
var _c$15 = _$memo(() => !!s().lastDreamerRunAt);
|
|
893
905
|
return () => _c$15() && _$createComponent(R, {
|
|
894
906
|
get t() {
|
|
@@ -907,31 +919,31 @@ const StatusDialog = props => {
|
|
|
907
919
|
var _v$19 = t().text,
|
|
908
920
|
_v$20 = t().text,
|
|
909
921
|
_v$21 = t().text;
|
|
910
|
-
_v$19 !== _p$.e && (_p$.e = _$setProp(_el$
|
|
911
|
-
_v$20 !== _p$.t && (_p$.t = _$setProp(_el$
|
|
912
|
-
_v$21 !== _p$.a && (_p$.a = _$setProp(_el$
|
|
922
|
+
_v$19 !== _p$.e && (_p$.e = _$setProp(_el$70, "fg", _v$19, _p$.e));
|
|
923
|
+
_v$20 !== _p$.t && (_p$.t = _$setProp(_el$74, "fg", _v$20, _p$.t));
|
|
924
|
+
_v$21 !== _p$.a && (_p$.a = _$setProp(_el$78, "fg", _v$21, _p$.a));
|
|
913
925
|
return _p$;
|
|
914
926
|
}, {
|
|
915
927
|
e: undefined,
|
|
916
928
|
t: undefined,
|
|
917
929
|
a: undefined
|
|
918
930
|
});
|
|
919
|
-
return _el$
|
|
931
|
+
return _el$69;
|
|
920
932
|
})()];
|
|
921
933
|
})());
|
|
922
934
|
_$insert(_el$4, (() => {
|
|
923
935
|
var _c$8 = _$memo(() => !!s().lastTransformError);
|
|
924
936
|
return () => _c$8() && (() => {
|
|
925
|
-
var _el$
|
|
926
|
-
_el$
|
|
927
|
-
_el$
|
|
928
|
-
_$insertNode(_el$80, _el$81);
|
|
929
|
-
_$setProp(_el$80, "marginTop", 1);
|
|
930
|
-
_$setProp(_el$80, "width", "100%");
|
|
937
|
+
var _el$81 = _$createElement("box"),
|
|
938
|
+
_el$82 = _$createElement("text"),
|
|
939
|
+
_el$83 = _$createTextNode(`⚠ `);
|
|
931
940
|
_$insertNode(_el$81, _el$82);
|
|
932
|
-
_$
|
|
933
|
-
_$
|
|
934
|
-
|
|
941
|
+
_$setProp(_el$81, "marginTop", 1);
|
|
942
|
+
_$setProp(_el$81, "width", "100%");
|
|
943
|
+
_$insertNode(_el$82, _el$83);
|
|
944
|
+
_$insert(_el$82, () => s().lastTransformError, null);
|
|
945
|
+
_$effect(_$p => _$setProp(_el$82, "fg", t().error, _$p));
|
|
946
|
+
return _el$81;
|
|
935
947
|
})();
|
|
936
948
|
})(), _el$18);
|
|
937
949
|
_$insertNode(_el$18, _el$19);
|
|
@@ -1058,7 +1070,7 @@ async function showRecompDialog(api, targetSessionId = getSessionId(api)) {
|
|
|
1058
1070
|
api.ui.dialog.replace(() => _$createComponent(api.ui.DialogConfirm, {
|
|
1059
1071
|
title: "\u26A0\uFE0F Recomp Confirmation",
|
|
1060
1072
|
get message() {
|
|
1061
|
-
return [count === 0 ? "This session has no compartments yet — recomp will build them from raw history." : `You have ${count} compartments.`, "", "Recomp will
|
|
1073
|
+
return [count === 0 ? "This session has no compartments yet — recomp will build them from raw history." : `You have ${count} compartments.`, "", "Recomp will rebuild the compressed history from raw history. Saved memories are not changed.", "This may take a long time and consume significant tokens.", "", "Proceed?"].join("\n");
|
|
1062
1074
|
},
|
|
1063
1075
|
onConfirm: async () => {
|
|
1064
1076
|
const requested = await requestRecomp(sessionId);
|
|
@@ -1165,31 +1177,31 @@ const EmbedDialog = props => {
|
|
|
1165
1177
|
const t = () => theme();
|
|
1166
1178
|
const lines = () => props.detail.statusText.split("\n");
|
|
1167
1179
|
return (() => {
|
|
1168
|
-
var _el$
|
|
1169
|
-
_el$
|
|
1170
|
-
_el$
|
|
1171
|
-
_el$
|
|
1172
|
-
_$insertNode(_el$83, _el$84);
|
|
1173
|
-
_$setProp(_el$83, "flexDirection", "column");
|
|
1174
|
-
_$setProp(_el$83, "width", "100%");
|
|
1175
|
-
_$setProp(_el$83, "paddingLeft", 2);
|
|
1176
|
-
_$setProp(_el$83, "paddingRight", 2);
|
|
1177
|
-
_$setProp(_el$83, "paddingTop", 1);
|
|
1178
|
-
_$setProp(_el$83, "paddingBottom", 1);
|
|
1180
|
+
var _el$84 = _$createElement("box"),
|
|
1181
|
+
_el$85 = _$createElement("box"),
|
|
1182
|
+
_el$86 = _$createElement("text"),
|
|
1183
|
+
_el$87 = _$createElement("b");
|
|
1179
1184
|
_$insertNode(_el$84, _el$85);
|
|
1180
|
-
_$setProp(_el$84, "
|
|
1185
|
+
_$setProp(_el$84, "flexDirection", "column");
|
|
1181
1186
|
_$setProp(_el$84, "width", "100%");
|
|
1182
|
-
_$setProp(_el$84, "
|
|
1187
|
+
_$setProp(_el$84, "paddingLeft", 2);
|
|
1188
|
+
_$setProp(_el$84, "paddingRight", 2);
|
|
1189
|
+
_$setProp(_el$84, "paddingTop", 1);
|
|
1190
|
+
_$setProp(_el$84, "paddingBottom", 1);
|
|
1183
1191
|
_$insertNode(_el$85, _el$86);
|
|
1184
|
-
_$
|
|
1185
|
-
_$
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1192
|
+
_$setProp(_el$85, "justifyContent", "center");
|
|
1193
|
+
_$setProp(_el$85, "width", "100%");
|
|
1194
|
+
_$setProp(_el$85, "marginBottom", 1);
|
|
1195
|
+
_$insertNode(_el$86, _el$87);
|
|
1196
|
+
_$insertNode(_el$87, _$createTextNode(`Embedding`));
|
|
1197
|
+
_$insert(_el$84, () => lines().map(line => (() => {
|
|
1198
|
+
var _el$89 = _$createElement("text");
|
|
1199
|
+
_$insert(_el$89, line);
|
|
1200
|
+
_$effect(_$p => _$setProp(_el$89, "fg", t().text, _$p));
|
|
1201
|
+
return _el$89;
|
|
1190
1202
|
})()), null);
|
|
1191
|
-
_$effect(_$p => _$setProp(_el$
|
|
1192
|
-
return _el$
|
|
1203
|
+
_$effect(_$p => _$setProp(_el$86, "fg", t().accent, _$p));
|
|
1204
|
+
return _el$84;
|
|
1193
1205
|
})();
|
|
1194
1206
|
};
|
|
1195
1207
|
async function showEmbedDialog(api, targetSessionId = getSessionId(api)) {
|
|
@@ -1255,11 +1267,11 @@ function renderTuiProbeCustomArm(api, result) {
|
|
|
1255
1267
|
api.ui.dialog.replace(() => {
|
|
1256
1268
|
try {
|
|
1257
1269
|
return (() => {
|
|
1258
|
-
var _el$
|
|
1259
|
-
_el$
|
|
1260
|
-
_$insertNode(_el$
|
|
1261
|
-
_$insertNode(_el$
|
|
1262
|
-
return _el$
|
|
1270
|
+
var _el$90 = _$createElement("box"),
|
|
1271
|
+
_el$91 = _$createElement("text");
|
|
1272
|
+
_$insertNode(_el$90, _el$91);
|
|
1273
|
+
_$insertNode(_el$91, _$createTextNode(`probe`));
|
|
1274
|
+
return _el$90;
|
|
1263
1275
|
})();
|
|
1264
1276
|
} catch (error) {
|
|
1265
1277
|
result.customThrew = probeErrorMessage(error);
|
|
@@ -1332,11 +1344,11 @@ function reportTuiProbe(api, result) {
|
|
|
1332
1344
|
if (result.customThrew === null) {
|
|
1333
1345
|
try {
|
|
1334
1346
|
api.ui.dialog.replace(() => (() => {
|
|
1335
|
-
var _el$
|
|
1336
|
-
_el$
|
|
1337
|
-
_$insertNode(_el$
|
|
1338
|
-
_$insert(_el$
|
|
1339
|
-
return _el$
|
|
1347
|
+
var _el$93 = _$createElement("box"),
|
|
1348
|
+
_el$94 = _$createElement("text");
|
|
1349
|
+
_$insertNode(_el$93, _el$94);
|
|
1350
|
+
_$insert(_el$94, summary);
|
|
1351
|
+
return _el$93;
|
|
1340
1352
|
})());
|
|
1341
1353
|
return;
|
|
1342
1354
|
} catch (error) {
|