@bastani/atomic 0.10.15 → 0.10.16
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/CHANGELOG.md +100 -0
- package/dist/__atomic_timers/index.js +112 -0
- package/dist/__atomic_timers/index.js.map +1 -0
- package/dist/_shared/dist-KOELCESV.js +2 -2
- package/dist/_shared/fork-row-index-UAUAQRD5.js +2 -2
- package/dist/_shared/http-YFAPTIZD.js +20 -22
- package/dist/_shared/http-YFAPTIZD.js.map +1 -1
- package/dist/_shared/lib-4PES5P4V.js +2 -2
- package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +55 -25
- package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js.map +1 -1
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +13 -14
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js.map +1 -1
- package/dist/_shared/mode-shared-2QJSCUM6.js +16 -17
- package/dist/_shared/mode-shared-2QJSCUM6.js.map +1 -1
- package/dist/_shared/p0-cli-BB45ZQY6.js +23 -37
- package/dist/_shared/p0-cli-BB45ZQY6.js.map +1 -1
- package/dist/_shared/p1a-prewarm-XIU57JHF.js +6 -5
- package/dist/_shared/p1a-prewarm-XIU57JHF.js.map +1 -1
- package/dist/_shared/{p1b-elig-TVB5CBLL.js → p1b-elig-BY2G5BUE.js} +28 -36
- package/dist/_shared/p1b-elig-BY2G5BUE.js.map +1 -0
- package/dist/_shared/runtime-O4KCSG4C.js +4 -4
- package/dist/_shared/sdk-OHKMDJ74.js +382 -45
- package/dist/_shared/sdk-OHKMDJ74.js.map +1 -1
- package/dist/_shared/session-data-AHTU7IS6.js +3 -3
- package/dist/_shared/session-manager-list-2BLEEZVG.js +1 -1
- package/dist/_shared/settings-startup-HXQLSUWM.js.map +1 -1
- package/dist/_shared/{startup-0-0-Q3MWKUK4.js → startup-0-0-ERMIDHQT.js} +296 -382
- package/dist/_shared/startup-0-0-ERMIDHQT.js.map +1 -0
- package/dist/_shared/{startup-0-1-M6OWAYHH.js → startup-0-1-RTASI3HG.js} +430 -102
- package/dist/_shared/startup-0-1-RTASI3HG.js.map +1 -0
- package/dist/_shared/{startup-0-2-2HUMCPKX.js → startup-0-2-YZZOC22D.js} +8109 -7962
- package/dist/_shared/startup-0-2-YZZOC22D.js.map +1 -0
- package/dist/_shared/{startup-0-3-4ZYBYQNM.js → startup-0-3-DE2NCS6A.js} +130 -83
- package/dist/_shared/startup-0-3-DE2NCS6A.js.map +1 -0
- package/dist/_shared/startup-0-4-ZMJV547D.js +7 -7
- package/dist/_shared/{startup-0-5-YDW47QX6.js → startup-0-5-HZX3ZPTP.js} +411 -85
- package/dist/_shared/startup-0-5-HZX3ZPTP.js.map +1 -0
- package/dist/_shared/startup-10-0-TDQNBDDL.js +42 -29
- package/dist/_shared/startup-10-0-TDQNBDDL.js.map +1 -1
- package/dist/_shared/startup-12-0-55AAXBJZ.js +3 -3
- package/dist/_shared/startup-14-0-MLX36RBG.js +11 -10
- package/dist/_shared/startup-14-0-MLX36RBG.js.map +1 -1
- package/dist/_shared/startup-15-0-YUKGAC63.js +9 -8
- package/dist/_shared/startup-15-0-YUKGAC63.js.map +1 -1
- package/dist/_shared/startup-15-1-4S7FLMNG.js +24 -16
- package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
- package/dist/_shared/startup-8-0-34CBHPZH.js +40 -19
- package/dist/_shared/startup-8-0-34CBHPZH.js.map +1 -1
- package/dist/_shared/startup-8-1-LZFXSD3Z.js +129 -92
- package/dist/_shared/startup-8-1-LZFXSD3Z.js.map +1 -1
- package/dist/_shared/storage-command-7MGXLJGZ.js +6 -4
- package/dist/_shared/storage-command-7MGXLJGZ.js.map +1 -1
- package/dist/_shared/storage-status-K7PX2RXA.js +7 -6
- package/dist/_shared/storage-status-K7PX2RXA.js.map +1 -1
- package/dist/_shared/task-reference-stream-JWMUZSJX.js +1 -1
- package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
- package/dist/_shared/team-DOQKICG2.js +4 -3
- package/dist/_shared/team-DOQKICG2.js.map +1 -1
- package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
- package/dist/builtin/intercom/index.bundle.mjs +1 -2
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/index.bundle.mjs +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/CHANGELOG.md +12 -0
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +102 -42
- package/dist/builtin/web-access/index.bundle.mjs +1 -2
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/cli/args.js +2 -2
- package/dist/cli/auth-cli.code.js +6 -6
- package/dist/cli/auth-cli.impl.js +3 -3
- package/dist/cli/auth-cli.js +3 -3
- package/dist/cli/blueprint-command.code.js +7 -6
- package/dist/cli/blueprint-command.code.js.map +1 -1
- package/dist/cli/blueprint-command.impl.js +3 -3
- package/dist/cli/blueprint-command.js +3 -3
- package/dist/cli/intercom-command.code.js +3 -3
- package/dist/cli/intercom-command.impl.js +3 -3
- package/dist/cli/intercom-command.js +3 -3
- package/dist/cli/list-models.code.js +2 -2
- package/dist/cli/list-models.impl.js +3 -3
- package/dist/cli/list-models.js +3 -3
- package/dist/cli/session-picker.code.js +2 -2
- package/dist/cli/session-picker.impl.js +3 -3
- package/dist/cli/session-picker.js +3 -3
- package/dist/cli/startup-ui.code.js +2 -2
- package/dist/cli/startup-ui.impl.js +3 -3
- package/dist/cli/startup-ui.js +3 -3
- package/dist/cli/storage-command.impl.js +3 -3
- package/dist/cli/storage-command.js +3 -3
- package/dist/cli/storage-search-session.code.js +1 -1
- package/dist/cli/storage-search-session.impl.js +3 -3
- package/dist/cli/storage-search-session.js +3 -3
- package/dist/cli/team-command.code.js +2 -2
- package/dist/cli/team-command.impl.js +3 -3
- package/dist/cli/team-command.js +3 -3
- package/dist/cli.js +2 -2
- package/dist/core/agent-session.d.ts +1 -0
- package/dist/core/debug.code.js +1 -1
- package/dist/core/debug.impl.js +3 -3
- package/dist/core/debug.js +3 -3
- package/dist/core/export-html/card-projection.code.js +1 -1
- package/dist/core/export-html/card-projection.impl.js +3 -3
- package/dist/core/export-html/card-projection.js +3 -3
- package/dist/core/export-html/index.code.js +2 -2
- package/dist/core/export-html/index.impl.js +3 -3
- package/dist/core/export-html/index.js +3 -3
- package/dist/core/export-html/json-spans.impl.js +3 -3
- package/dist/core/export-html/json-spans.js +3 -3
- package/dist/core/export-html/oversized-render-inputs.code.js +1 -1
- package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
- package/dist/core/export-html/oversized-render-inputs.js +3 -3
- package/dist/core/export-html/tool-renderer.impl.js +3 -3
- package/dist/core/export-html/tool-renderer.js +3 -3
- package/dist/core/extensions/jiti-loader.impl.js +3 -3
- package/dist/core/extensions/jiti-loader.js +3 -3
- package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
- package/dist/core/extensions/jiti-static-loader.js +3 -3
- package/dist/core/extensions/loader-host-modules.code.js +1 -1
- package/dist/core/extensions/loader-host-modules.impl.js +3 -3
- package/dist/core/extensions/loader-host-modules.js +3 -3
- package/dist/core/extensions/loader-virtual-modules.js +2 -2
- package/dist/core/extensions/runner-context.js +1 -1
- package/dist/core/http-dispatcher.d.ts +2 -1
- package/dist/core/intercom-broker-control-host.code.js +1 -1
- package/dist/core/intercom-broker-control-host.impl.js +3 -3
- package/dist/core/intercom-broker-control-host.js +3 -3
- package/dist/core/intercom-broker-control.code.js +3 -3
- package/dist/core/intercom-broker-control.impl.js +3 -3
- package/dist/core/intercom-broker-control.js +3 -3
- package/dist/core/lock-takeover.d.ts +2 -0
- package/dist/core/model-config.d.ts +28 -0
- package/dist/core/model-registry.js +1 -1
- package/dist/core/model-runtime-streaming.d.ts +3 -2
- package/dist/core/package-manager-storage-adapters.impl.js +3 -3
- package/dist/core/package-manager-storage-adapters.js +3 -3
- package/dist/core/provider-rate-limits.d.ts +17 -10
- package/dist/core/provider-request-admission.d.ts +16 -0
- package/dist/core/resume/blueprint/barrier.d.ts +6 -6
- package/dist/core/resume/blueprint/build.d.ts +3 -1
- package/dist/core/resume/blueprint/ledger.d.ts +3 -2
- package/dist/core/resume/blueprint/resume.d.ts +2 -1
- package/dist/core/retry-policy.d.ts +3 -1
- package/dist/core/sdk.code.js +3 -3
- package/dist/core/sdk.impl.js +3 -3
- package/dist/core/sdk.js +3 -3
- package/dist/core/session-manager-core.js +6 -6
- package/dist/core/session-manager-list.impl.js +3 -3
- package/dist/core/session-manager-list.js +3 -3
- package/dist/core/session-manager-types.d.ts +1 -1
- package/dist/core/session-manager.code.js +2 -2
- package/dist/core/session-manager.impl.js +3 -3
- package/dist/core/session-manager.js +3 -3
- package/dist/core/session-open-markers.js +1 -1
- package/dist/core/session-storage.impl.js +3 -3
- package/dist/core/session-storage.js +3 -3
- package/dist/core/settings-duration.d.ts +3 -0
- package/dist/core/settings-manager-resource-accessors.d.ts +2 -1
- package/dist/core/settings-schema.d.ts +1 -0
- package/dist/core/storage/index.js +2 -2
- package/dist/core/storage/node-sqlite-file-gate.js +7 -6
- package/dist/core/storage/node-sqlite-file-gate.js.map +1 -1
- package/dist/core/storage/node-sqlite-thread.js +2 -2
- package/dist/core/storage/node-sqlite.js +2 -2
- package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
- package/dist/core/storage/offline-snapshot-file.js +3 -3
- package/dist/core/storage/prefix.js +3 -0
- package/dist/core/storage/prefix.js.map +1 -1
- package/dist/core/storage/provider.js +2 -2
- package/dist/core/storage/selection.js +2 -2
- package/dist/core/storage/session/branch-fork-source.code.js +2 -2
- package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
- package/dist/core/storage/session/branch-fork-source.js +3 -3
- package/dist/core/storage/session/card-view.impl.js +3 -3
- package/dist/core/storage/session/card-view.js +3 -3
- package/dist/core/storage/session/child-reader.code.js +24 -7
- package/dist/core/storage/session/child-reader.code.js.map +1 -1
- package/dist/core/storage/session/child-reader.impl.js +3 -3
- package/dist/core/storage/session/child-reader.js +3 -3
- package/dist/core/storage/session/chunked-resume-projection.code.js +1 -1
- package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
- package/dist/core/storage/session/chunked-resume-projection.js +3 -3
- package/dist/core/storage/session/expanded-child-details.code.js +3 -3
- package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
- package/dist/core/storage/session/expanded-child-details.js +3 -3
- package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
- package/dist/core/storage/session/fork-row-bytes.js +3 -3
- package/dist/core/storage/session/fork-row-index.impl.js +3 -3
- package/dist/core/storage/session/fork-row-index.js +3 -3
- package/dist/core/storage/session/fork-staging.code.js +1 -1
- package/dist/core/storage/session/fork-staging.impl.js +3 -3
- package/dist/core/storage/session/fork-staging.js +3 -3
- package/dist/core/storage/session/fork-window.code.js +4 -4
- package/dist/core/storage/session/fork-window.impl.js +3 -3
- package/dist/core/storage/session/fork-window.js +3 -3
- package/dist/core/storage/session/history-pages.impl.js +3 -3
- package/dist/core/storage/session/history-pages.js +3 -3
- package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
- package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
- package/dist/core/storage/session/jsonl-session-store.d.ts +2 -2
- package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
- package/dist/core/storage/session/jsonl-session-store.js +3 -3
- package/dist/core/storage/session/memory-session-store.d.ts +2 -2
- package/dist/core/storage/session/memory-session-store.impl.js +3 -3
- package/dist/core/storage/session/memory-session-store.js +3 -3
- package/dist/core/storage/session/pinned-branch-resume.code.js +3 -3
- package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
- package/dist/core/storage/session/pinned-branch-resume.js +3 -3
- package/dist/core/storage/session/released-history-files.code.js +4 -4
- package/dist/core/storage/session/released-history-files.impl.js +3 -3
- package/dist/core/storage/session/released-history-files.js +3 -3
- package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
- package/dist/core/storage/session/resident-fork-rows.js +3 -3
- package/dist/core/storage/session/session-resume.impl.js +3 -3
- package/dist/core/storage/session/session-resume.js +3 -3
- package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
- package/dist/core/storage/session/snapshot-cut.js +3 -3
- package/dist/core/storage/session/snapshot-history.code.js +4 -4
- package/dist/core/storage/session/snapshot-history.impl.js +3 -3
- package/dist/core/storage/session/snapshot-history.js +3 -3
- package/dist/core/storage/session/sql-session-store.d.ts +13 -4
- package/dist/core/storage/session/sql-session-store.impl.js +3 -3
- package/dist/core/storage/session/sql-session-store.js +3 -3
- package/dist/core/storage/session/tree-outline.impl.js +3 -3
- package/dist/core/storage/session/tree-outline.js +3 -3
- package/dist/core/storage/session/tree-presentation.code.js +1 -1
- package/dist/core/storage/session/tree-presentation.impl.js +3 -3
- package/dist/core/storage/session/tree-presentation.js +3 -3
- package/dist/core/storage/session/types.d.ts +20 -2
- package/dist/core/storage/sqlite-facade.js +14 -13
- package/dist/core/storage/sqlite-facade.js.map +1 -1
- package/dist/core/storage/storage-status.impl.js +3 -3
- package/dist/core/storage/storage-status.js +3 -3
- package/dist/core/storage/team.impl.js +3 -3
- package/dist/core/storage/team.js +3 -3
- package/dist/core/structured-output/index.impl.js +3 -3
- package/dist/core/structured-output/index.js +3 -3
- package/dist/core/tasks/heartbeat.d.ts +1 -0
- package/dist/core/tasks/task-completion-entry.code.js +1 -1
- package/dist/core/tasks/task-completion-entry.impl.js +3 -3
- package/dist/core/tasks/task-completion-entry.js +3 -3
- package/dist/core/tasks/task-file-history.code.js +3 -3
- package/dist/core/tasks/task-file-history.impl.js +3 -3
- package/dist/core/tasks/task-file-history.js +3 -3
- package/dist/core/tasks/task-reference-archive.code.js +3 -3
- package/dist/core/tasks/task-reference-archive.js +3 -3
- package/dist/core/tasks/task-reference-identity.js +3 -3
- package/dist/core/tasks/task-reference-stream.impl.js +3 -3
- package/dist/core/tasks/task-reference-stream.js +3 -3
- package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
- package/dist/core/tasks/task-unsaved-answer.js +3 -3
- package/dist/core/tasks/task-view-source.impl.js +3 -3
- package/dist/core/tasks/task-view-source.js +3 -3
- package/dist/core/tools/ask-user-question/ask-user-question.d.ts +1 -1
- package/dist/core/tools/history-session.d.ts +2 -0
- package/dist/core/tools/read-url.code.js +3 -3
- package/dist/core/tools/read-url.impl.js +3 -3
- package/dist/core/tools/read-url.js +3 -3
- package/dist/core/worktree-snapshot/blob-store.js +5 -6
- package/dist/core/worktree-snapshot/blob-store.js.map +1 -1
- package/dist/core/worktree-snapshot/errors.code.js +3 -3
- package/dist/core/worktree-snapshot/errors.impl.js +3 -3
- package/dist/core/worktree-snapshot/errors.js +3 -3
- package/dist/core/worktree-snapshot/git.d.ts +2 -0
- package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
- package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
- package/dist/extensions/codemode/execute.code.js +6 -5
- package/dist/extensions/codemode/execute.code.js.map +1 -1
- package/dist/extensions/codemode/execute.impl.js +3 -3
- package/dist/extensions/codemode/execute.js +3 -3
- package/dist/extensions/codemode/renderer.code.js +1 -1
- package/dist/extensions/codemode/renderer.impl.js +3 -3
- package/dist/extensions/codemode/renderer.js +3 -3
- package/dist/extensions/mcp/cli.code.js +8 -4
- package/dist/extensions/mcp/cli.code.js.map +1 -1
- package/dist/extensions/mcp/cli.impl.js +3 -3
- package/dist/extensions/mcp/cli.js +3 -3
- package/dist/extensions/mcp/cli.lazy.code.js +2 -2
- package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
- package/dist/extensions/mcp/cli.lazy.js +3 -3
- package/dist/extensions/mcp/runtime.impl.js +3 -3
- package/dist/extensions/mcp/runtime.js +3 -3
- package/dist/index.js +6 -6
- package/dist/main-first-time-setup.code.js +2 -2
- package/dist/main-first-time-setup.impl.js +3 -3
- package/dist/main-first-time-setup.js +3 -3
- package/dist/modes/interactive/components/stored-tree-view.code.js +3 -3
- package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
- package/dist/modes/interactive/components/stored-tree-view.js +3 -3
- package/dist/modes/interactive/components/user-message-selector-archive.code.js +1 -1
- package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
- package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
- package/dist/modes/interactive/startup-shell-eligibility.js +1 -1
- package/dist/package-manager-cli.code.js +7 -7
- package/dist/package-manager-cli.impl.js +3 -3
- package/dist/package-manager-cli.js +3 -3
- package/dist/rpc-entry.js +1 -1
- package/dist/startup-files.json +1 -1
- package/dist/startup-stages/10.js +1 -1
- package/dist/startup-stages/11.js +1 -1
- package/dist/startup-stages/12.js +1 -1
- package/dist/startup-stages/13.js +1 -0
- package/dist/startup-stages/2.js +2 -6
- package/dist/startup-stages/3.js +6 -1
- package/dist/startup-stages/4.js +1 -1
- package/dist/startup-stages/5.js +12 -1
- package/dist/startup-stages/6.js +8 -4
- package/dist/startup-stages/7.js +4 -3
- package/dist/startup-stages/8.js +1 -5
- package/dist/startup-stages/9.js +5 -1
- package/dist/startup-stages/stages.json +1 -1
- package/dist/utils/startup-database-spare.code.js +3 -3
- package/dist/utils/startup-database-spare.impl.js +3 -3
- package/dist/utils/startup-database-spare.js +3 -3
- package/dist/utils/tools-manager.code.js +1 -1
- package/dist/utils/tools-manager.impl.js +3 -3
- package/dist/utils/tools-manager.js +3 -3
- package/dist/utils/windows-cwd.js +3 -3
- package/dist/utils/windows-cwd.js.map +1 -1
- package/docs/changelog.mdx +20 -5
- package/docs/codemode.md +5 -2
- package/docs/compaction/branch-summaries.md +1 -1
- package/docs/compaction/custom-compactors.md +1 -1
- package/docs/custom-provider/api-reference.md +1 -1
- package/docs/custom-provider/registration.md +3 -0
- package/docs/custom-provider/streaming.md +1 -1
- package/docs/environment-variables.md +2 -2
- package/docs/guides/resume-on-any-machine.md +1 -0
- package/docs/libraries/ai.md +4 -2
- package/docs/libraries/codemode.md +1 -1
- package/docs/models/choose-a-model.md +1 -1
- package/docs/models-configuration.md +5 -2
- package/docs/models.md +32 -0
- package/docs/providers.md +33 -1
- package/docs/sdk/structured-decisions.md +4 -2
- package/docs/sessions.md +1 -1
- package/docs/settings.md +78 -16
- package/docs/storage/postgres/tuning.md +1 -0
- package/docs/subagents/reference.md +2 -1
- package/docs/tools.md +4 -3
- package/docs/worktree-snapshots/reference.md +2 -0
- package/docs/worktree-snapshots.md +4 -0
- package/package.json +9 -9
- package/schemas/models.schema.json +21 -0
- package/schemas/settings.schema.json +14 -1
- package/dist/_shared/p1b-elig-TVB5CBLL.js.map +0 -1
- package/dist/_shared/startup-0-0-Q3MWKUK4.js.map +0 -1
- package/dist/_shared/startup-0-1-M6OWAYHH.js.map +0 -1
- package/dist/_shared/startup-0-2-2HUMCPKX.js.map +0 -1
- package/dist/_shared/startup-0-3-4ZYBYQNM.js.map +0 -1
- package/dist/_shared/startup-0-5-YDW47QX6.js.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { __name } from "./rolldown-runtime-BGM3D5V3.js";
|
|
2
2
|
import { APP_NAME, APP_TITLE, CHANGELOG_URL, CONFIG_DIR_NAME, UpdatedInstallError, VERSION, VERSION_ADOPTION_ENDPOINT, canonicalizePathAsync, createChildProcessEnvironment, createModuleRequire, detectInstallChangeAsync, engineHeapRuntimeArgsForHost, findHelperExecutableAsync, getAgentDir, getAuthPath, getChangelogPath, getCwdRelativePath, getDebugLogPath, getDocsPath, getShareViewerUrl, helperLaunchAsync, isModuleLoadFailure, loadOnDemand, markLifecycleTiming, missingHelperOptions, processCompileCacheDeferral, setDebugSetting, shortenHomePath, updatedInstallError } from "./p0-cli-BB45ZQY6.js";
|
|
3
|
-
import { BUILTIN_SLASH_COMMANDS, BUNDLED_EXTENSION_SLASH_COMMANDS, CountdownTimer, DynamicBorder, MissingSessionCwdError, NO_QUEUED_MESSAGES, TrustDecisionSelector, asyncScope, carryRowSource, chatPosition, chatReceipt, deduplicateDiagnostics, findProviderDefaultModel, formatAppendRecoveryNotice, formatMissingSessionCwdPrompt, formatNoModelsAvailableMessage, getEngineSessionStats, getMissingSessionCwdOptions, getPiUserAgent, isGitUnavailableError, isInstallTelemetryEnabled, isInteractiveEngineResourceReadinessError, isPathInside, isTrustDecision, isUnknownModel, keepDroppedQueuedMessages, markEventLoopShutdown, markEventLoopStartupComplete, noteRowSource, noteSavedSeq, onSessionProviderRequestDispatched, parseSlashCommand, placeTranscriptFrame, projectTrustWarningVisible, queuedMessagesUnderWay, quitAsInteractiveApp, recordStartupThinkingLevel, rowSource, safeTrustChoiceIndex, savedRowKey, savedSeqOf, setDeprecationWarningSink, setMarkitDiagnosticSink, shouldRenderEngineDiagnosticAsChatError, takeQueuedMessagesDroppedAt, usageCostBreakdown, userMessageOrigin, yieldToEventLoop, yieldToTimerTurn } from "./startup-0-0-
|
|
4
|
-
import { ExtensionInputComponent, ExtensionSelectorComponent, ReopenedCompletionHeaders, cancelInitialBinding, createCustomMessage, ensurePngTranscoder, ensureTool, formatResumeTimings, formatToolStatus, getBuiltinExtensionEntryLabel, getPromptCacheTtlMs as getPromptCacheTtlMs$1, initialBindScope, isOfflineModeEnabled, isVerbatimCompactionMessage, isWorkspaceError, latestResumeTimings, normalizeMessageContent, prewarmModelApi, readHostInputFormRequest, registerInitialBindings, stripVerbatimCompactionPrefix, taskPromptHost, thinkingLevelForModelSwitch } from "./startup-0-1-
|
|
3
|
+
import { BUILTIN_SLASH_COMMANDS, BUNDLED_EXTENSION_SLASH_COMMANDS, CountdownTimer, DynamicBorder, MissingSessionCwdError, NO_QUEUED_MESSAGES, TrustDecisionSelector, asyncScope, carryRowSource, chatPosition, chatReceipt, deduplicateDiagnostics, findProviderDefaultModel, formatAppendRecoveryNotice, formatMissingSessionCwdPrompt, formatNoModelsAvailableMessage, getEngineSessionStats, getMissingSessionCwdOptions, getPiUserAgent, isGitUnavailableError, isInstallTelemetryEnabled, isInteractiveEngineResourceReadinessError, isPathInside, isTrustDecision, isUnknownModel, keepDroppedQueuedMessages, markEventLoopShutdown, markEventLoopStartupComplete, noteRowSource, noteSavedSeq, onSessionProviderRequestDispatched, parseSlashCommand, placeTranscriptFrame, projectTrustWarningVisible, queuedMessagesUnderWay, quitAsInteractiveApp, recordStartupThinkingLevel, rowSource, safeTrustChoiceIndex, savedRowKey, savedSeqOf, setDeprecationWarningSink, setMarkitDiagnosticSink, shouldRenderEngineDiagnosticAsChatError, takeQueuedMessagesDroppedAt, usageCostBreakdown, userMessageOrigin, yieldToEventLoop, yieldToTimerTurn } from "./startup-0-0-ERMIDHQT.js";
|
|
4
|
+
import { ExtensionInputComponent, ExtensionSelectorComponent, ReopenedCompletionHeaders, cancelInitialBinding, createCustomMessage, ensurePngTranscoder, ensureTool, formatResumeTimings, formatToolStatus, getBuiltinExtensionEntryLabel, getPromptCacheTtlMs as getPromptCacheTtlMs$1, initialBindScope, isOfflineModeEnabled, isVerbatimCompactionMessage, isWorkspaceError, latestResumeTimings, normalizeMessageContent, normalizeModelFailureSignal, prewarmModelApi, readHostInputFormRequest, registerInitialBindings, stripVerbatimCompactionPrefix, taskPromptHost, thinkingLevelForModelSwitch } from "./startup-0-1-RTASI3HG.js";
|
|
5
5
|
import { KeybindingsManager as KeybindingsManager$1, OVERLAY_ACTIVE_ROW_MARKER, Theme, clickableKeyTextHint, consumeStartupInput, formatKeyText, getAvailableThemes, getAvailableThemesWithPaths, getEditorTheme, getMarkdownTheme, getThemeByName, isNavHelpKey, keyDisplayText, keyHint, keyText, keyTextHint, loadAllHighlightLanguages, navEntryKeyParts, onThemeChange, recordTimeSinceReset, refreshCustomThemes, renderNavKeyOverlay, setRegisteredThemes, slashCommandHint, stopThemeWatcher, theme } from "./p2-shell-main-B2WIALFD.js";
|
|
6
|
-
import { ProjectTrustStore, failureDebugFields, getProjectTrustPathAsync, hasTrustRequiringProjectResourcesAsync, reportDebugAsync } from "./p1b-elig-
|
|
7
|
-
import { WorkingRunMeter, compactionMeta, findExactModelReferenceMatch, getPowerShellConfigAsync, killSupervisedProcessTrees, killTrackedDetachedChildren, runInProgress, sessionLifetime, showStartupInput, showStartupSelector, taskTranscriptSource } from "./startup-0-2-
|
|
8
|
-
import { AtomicWorkedStatusComponent, AtomicWorkingLoader, DEFAULT_WORKING_MESSAGE, buildContextEntries, getOwnerTaskStore, isResumeFailure, parseGitUrl, resolveModelScopeFromModels, resolveModelScopeWithDiagnostics, sessionEntryToDisplayMessages, watchAtomicWorkingClock, watchOwnerTaskStoreBinding } from "./startup-0-3-
|
|
6
|
+
import { ProjectTrustStore, failureDebugFields, getProjectTrustPathAsync, hasTrustRequiringProjectResourcesAsync, reportDebugAsync } from "./p1b-elig-BY2G5BUE.js";
|
|
7
|
+
import { WorkingRunMeter, compactionMeta, findExactModelReferenceMatch, getPowerShellConfigAsync, killSupervisedProcessTrees, killTrackedDetachedChildren, runInProgress, sessionLifetime, showStartupInput, showStartupSelector, taskTranscriptSource } from "./startup-0-2-YZZOC22D.js";
|
|
8
|
+
import { AtomicWorkedStatusComponent, AtomicWorkingLoader, DEFAULT_WORKING_MESSAGE, buildContextEntries, getOwnerTaskStore, isResumeFailure, parseGitUrl, resolveModelScopeFromModels, resolveModelScopeWithDiagnostics, sessionEntryToDisplayMessages, watchAtomicWorkingClock, watchOwnerTaskStoreBinding } from "./startup-0-3-DE2NCS6A.js";
|
|
9
9
|
import { SESSION_HISTORY_SCAN_ENTRIES, findDecisionError, isDecisionConfigError, isRpcRequestAcceptedFailure, isRpcTransportFailure } from "./settings-startup-HXQLSUWM.js";
|
|
10
10
|
import { readAhead } from "./startup-8-0-34CBHPZH.js";
|
|
11
|
-
import { CredentialSynchronizationError, DefaultPackageManager, chunkedToolResult, chunkedToolResultEntry, findInitialModel, firstSubagentAttempt, getSkillCatalog, isOAuthLoginCancelled, resolveRestoredModelReference, uncachedCopilotModelHint } from "./startup-0-5-
|
|
11
|
+
import { CredentialSynchronizationError, DefaultPackageManager, chunkedToolResult, chunkedToolResultEntry, findInitialModel, firstSubagentAttempt, getSkillCatalog, isOAuthLoginCancelled, resolveRestoredModelReference, uncachedCopilotModelHint } from "./startup-0-5-HZX3ZPTP.js";
|
|
12
12
|
import { formatModelLabel } from "./startup-0-4-ZMJV547D.js";
|
|
13
13
|
import { ENGINE_SHUTDOWN_GRACE_MS, FooterDataProvider, appendBoundedStderr, compareWorktreeSnapshot, currentWorktreeSnapshots, describeExportedSnapshots, describeLastCapture, describeSnapshotExport, describeWorktreeRestoreStatus, describeWorktreeSnapshot, dismissedAgentPanelItems, ownerTaskViewSource, sourceError, subscribeAgentPanel, worktreeRestoreNotices } from "./startup-8-1-LZFXSD3Z.js";
|
|
14
14
|
import { tryExecuteSessionSlashCommand } from "./startup-15-0-YUKGAC63.js";
|
|
@@ -19,6 +19,7 @@ import { AGENT_PANEL_WIDGET_KEY, ANTHROPIC_SUBSCRIPTION_AUTH_WARNING, AgentViewS
|
|
|
19
19
|
import { CustomEditor, TRANSCRIPT_JUMP_TO_END_URL, UserMessageComponent, abortStartupShell, copyToClipboard, createInteractiveTui, createInteractiveTuiReference, createMarkdownTransform, extractMessageText, handOverStartupShell, handleFocusedOverlayInternalUiAction, isMouseWheelInput, isOverlayMounted, isPhysicalCtrlC, isPhysicalEscape, isSafetyKeyRelease, readClipboardText, releaseStartupShellSignals, replayableMarkdownTransform, startupShellTerminal, stripAnsi$1 as stripAnsi, stripTerminalControls, whenStartupShellCanHandOver } from "./p2-shell-TJBYQMCJ.js";
|
|
20
20
|
import { exitOnDecisionConfigError } from "./settings-startup-8-DNZ2RIHM.js";
|
|
21
21
|
import { dirname } from "node:path";
|
|
22
|
+
import { setLongTimeout } from "../__atomic_timers/index.js";
|
|
22
23
|
import { normalizeProviderId } from "@bastani/atomic-ai";
|
|
23
24
|
import { Box, CURSOR_MARKER, Container, Editor, Input, Key, Marked, ScrollView, Spacer, Text, TuiAltScreen, VStack, WindowedContainer, bindBundledHintCommands, clickableKeysHint, decodePrintableKey, editorDraftText, emptyEditorDraft, fuzzyFilter, getCapabilities, isHintActivation, isKeyRelease, isViewportTUI, matchesKey, replaceControlCharacters, setCapabilityOverrides, setKeybindings, stripHintMarkers, truncateToWidth, visibleWidth, wrapTextWithAnsi } from "@bastani/atomic-tui";
|
|
24
25
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -1403,15 +1404,15 @@ var RemoteComponent = class {
|
|
|
1403
1404
|
this.hiddenUpTo = this.requestId;
|
|
1404
1405
|
this.clearBufferedFrame();
|
|
1405
1406
|
this.dirty = true;
|
|
1406
|
-
|
|
1407
|
-
this.hiddenTimer =
|
|
1407
|
+
this.hiddenTimer?.clear();
|
|
1408
|
+
this.hiddenTimer = setLongTimeout(() => {
|
|
1408
1409
|
this.showFramesAgain();
|
|
1409
1410
|
this.requestRender();
|
|
1410
1411
|
}, capMs);
|
|
1411
1412
|
this.hiddenTimer.unref?.();
|
|
1412
1413
|
}
|
|
1413
1414
|
showFramesAgain() {
|
|
1414
|
-
|
|
1415
|
+
this.hiddenTimer?.clear();
|
|
1415
1416
|
this.hiddenTimer = void 0;
|
|
1416
1417
|
this.hiddenUpTo = void 0;
|
|
1417
1418
|
}
|
|
@@ -1714,7 +1715,7 @@ var RemoteComponent = class {
|
|
|
1714
1715
|
this.disposed = true;
|
|
1715
1716
|
this.cancelUpToInputId = 0;
|
|
1716
1717
|
this.inFlightClicks.clear();
|
|
1717
|
-
|
|
1718
|
+
this.hiddenTimer?.clear();
|
|
1718
1719
|
for (const requestId of [...this.pendingInputs.keys()]) this.resolveInput(requestId, void 0);
|
|
1719
1720
|
if (notifyEngine) this.runtime.sendEngineCommand({
|
|
1720
1721
|
type: "engine_custom_dispose",
|
|
@@ -12897,10 +12898,10 @@ var StartupChatContainer = class extends WindowedContainer {
|
|
|
12897
12898
|
const finish = (data) => {
|
|
12898
12899
|
delete receiver.done;
|
|
12899
12900
|
this.abandonPaint = void 0;
|
|
12900
|
-
|
|
12901
|
+
timer.clear();
|
|
12901
12902
|
if (paint(data) === true && scrollback) scrollback.requestRender();
|
|
12902
12903
|
};
|
|
12903
|
-
const timer =
|
|
12904
|
+
const timer = setLongTimeout(finish, timeoutMs);
|
|
12904
12905
|
receiver.done = finish;
|
|
12905
12906
|
this.abandonPaint = () => finish();
|
|
12906
12907
|
settlePaint(page, receiver);
|
|
@@ -14592,7 +14593,7 @@ function installTranscriptSlot(mode, switcher) {
|
|
|
14592
14593
|
let detach;
|
|
14593
14594
|
const endDockHold = (held, key) => {
|
|
14594
14595
|
if (dock !== held || held.kind !== "held") return;
|
|
14595
|
-
|
|
14596
|
+
held.timer.clear();
|
|
14596
14597
|
held.offRenderer();
|
|
14597
14598
|
dock = { kind: "live" };
|
|
14598
14599
|
held.ended();
|
|
@@ -14611,7 +14612,7 @@ function installTranscriptSlot(mode, switcher) {
|
|
|
14611
14612
|
const end = (key) => {
|
|
14612
14613
|
if (dock.kind === "held" && dock.hold === hold) endDockHold(dock, key);
|
|
14613
14614
|
};
|
|
14614
|
-
const timer =
|
|
14615
|
+
const timer = setLongTimeout(end, timeoutMs);
|
|
14615
14616
|
timer.unref?.();
|
|
14616
14617
|
const columns = tui.terminal.columns;
|
|
14617
14618
|
const fullscreenDock = mode.fullscreenDock;
|
|
@@ -21207,12 +21208,12 @@ const RECEIPT_LOOKUP_TIMEOUT_MS = 2e3;
|
|
|
21207
21208
|
async function settledWithin(work, ms) {
|
|
21208
21209
|
let timer;
|
|
21209
21210
|
const late = new Promise((resolve) => {
|
|
21210
|
-
timer =
|
|
21211
|
+
timer = setLongTimeout(() => resolve(void 0), ms);
|
|
21211
21212
|
});
|
|
21212
21213
|
try {
|
|
21213
21214
|
return await Promise.race([work.catch(() => void 0), late]);
|
|
21214
21215
|
} finally {
|
|
21215
|
-
|
|
21216
|
+
timer?.clear();
|
|
21216
21217
|
}
|
|
21217
21218
|
}
|
|
21218
21219
|
/**
|
|
@@ -25022,6 +25023,17 @@ const WORKSPACE_ABSENCE_CODES = /* @__PURE__ */ new Set([
|
|
|
25022
25023
|
const mainTurnToolBatches = /* @__PURE__ */ new WeakMap();
|
|
25023
25024
|
/** Tool rows whose call ended, until their result message's save receipt arrives with its `message_end`. */
|
|
25024
25025
|
const toolRowsAwaitingResult = /* @__PURE__ */ new WeakMap();
|
|
25026
|
+
/** Pure rate-limit failures have no answer to display until retry and fallback have had their chance. */
|
|
25027
|
+
const pendingRateLimitCards = /* @__PURE__ */ new WeakMap();
|
|
25028
|
+
function clearPendingRateLimitCard(mode) {
|
|
25029
|
+
const pending = pendingRateLimitCards.get(mode);
|
|
25030
|
+
if (!pending) return;
|
|
25031
|
+
mode.chatContainer.removeChild(pending.card);
|
|
25032
|
+
pendingRateLimitCards.delete(mode);
|
|
25033
|
+
}
|
|
25034
|
+
function isPureRateLimit(message) {
|
|
25035
|
+
return message.stopReason === "error" && !hasAssistantVisibleContent(message.content) && normalizeModelFailureSignal(message).kind === "rate_limit";
|
|
25036
|
+
}
|
|
25025
25037
|
/**
|
|
25026
25038
|
* Remember where the session saved a message the chat drew as it streamed: its rows can then be placed among the saved
|
|
25027
25039
|
* entries, which keeps them on screen across a compaction while the reader is above the end. An in-process session
|
|
@@ -25189,6 +25201,7 @@ InteractiveModeBase.prototype.subscribeToAgent = function() {
|
|
|
25189
25201
|
this.fallbackLoader.stop();
|
|
25190
25202
|
this.fallbackLoader = void 0;
|
|
25191
25203
|
}
|
|
25204
|
+
pendingRateLimitCards.delete(this);
|
|
25192
25205
|
disposeAgentPanel();
|
|
25193
25206
|
disposeInteractiveTasks(this);
|
|
25194
25207
|
};
|
|
@@ -25304,11 +25317,17 @@ async function handleAgentEvent(event, call) {
|
|
|
25304
25317
|
}
|
|
25305
25318
|
this.ui.requestRender();
|
|
25306
25319
|
break;
|
|
25307
|
-
case "agent_settled":
|
|
25320
|
+
case "agent_settled": {
|
|
25321
|
+
const pending = pendingRateLimitCards.get(this);
|
|
25322
|
+
if (pending) {
|
|
25323
|
+
pending.card.updateContent(pending.message, false);
|
|
25324
|
+
pendingRateLimitCards.delete(this);
|
|
25325
|
+
}
|
|
25308
25326
|
this.flushPendingBashComponents();
|
|
25309
25327
|
this.ui.requestRender();
|
|
25310
25328
|
await this.checkShutdownRequested();
|
|
25311
25329
|
break;
|
|
25330
|
+
}
|
|
25312
25331
|
case "message_start":
|
|
25313
25332
|
if (event.message.role === "user" || event.message.role === "custom" && event.message.display) breakMainToolGroup(this);
|
|
25314
25333
|
if (event.message.role === "custom") {
|
|
@@ -25324,7 +25343,7 @@ async function handleAgentEvent(event, call) {
|
|
|
25324
25343
|
this.streamingComponent = new AssistantMessageComponent(void 0, this.hideThinkingBlock, this.getMarkdownThemeWithSettings(), this.hiddenThinkingLabel, this.outputPad, this.getMarkdownTransformers(), true, this.settingsManager.getLatexRenderingEnabled());
|
|
25325
25344
|
this.streamingMessage = beginStreamingAssistantMessage(event.message);
|
|
25326
25345
|
this.chatContainer.addChild(this.streamingComponent);
|
|
25327
|
-
this.streamingComponent.updateContent(this.streamingMessage, true);
|
|
25346
|
+
if (!isPureRateLimit(this.streamingMessage)) this.streamingComponent.updateContent(this.streamingMessage, true);
|
|
25328
25347
|
this.ui.requestRender();
|
|
25329
25348
|
}
|
|
25330
25349
|
break;
|
|
@@ -25368,7 +25387,11 @@ async function handleAgentEvent(event, call) {
|
|
|
25368
25387
|
this.streamingMessage.errorMessage = errorMessage;
|
|
25369
25388
|
}
|
|
25370
25389
|
const interruptedActivity = this.streamingMessage.stopReason === "aborted" && !hasAssistantVisibleContent(this.streamingMessage.content) ? currentInterruptedMainTools(this) : void 0;
|
|
25371
|
-
this.
|
|
25390
|
+
if (isPureRateLimit(this.streamingMessage)) pendingRateLimitCards.set(this, {
|
|
25391
|
+
card: this.streamingComponent,
|
|
25392
|
+
message: this.streamingMessage
|
|
25393
|
+
});
|
|
25394
|
+
else this.streamingComponent.updateContent(this.streamingMessage, false, interruptedActivity);
|
|
25372
25395
|
if (this.streamingMessage.stopReason === "aborted" || this.streamingMessage.stopReason === "error") mainTurnToolBatches.delete(this);
|
|
25373
25396
|
else {
|
|
25374
25397
|
const batch = mainTurnToolBatches.get(this);
|
|
@@ -25548,6 +25571,7 @@ async function handleAgentEvent(event, call) {
|
|
|
25548
25571
|
handleSummarizationRetryEvent(this, event);
|
|
25549
25572
|
break;
|
|
25550
25573
|
case "auto_retry_start": {
|
|
25574
|
+
clearPendingRateLimitCard(this);
|
|
25551
25575
|
this.retryEscapeHandler = this.defaultEditor.onEscape;
|
|
25552
25576
|
this.defaultEditor.onEscape = () => {
|
|
25553
25577
|
this.session.abortRetry();
|
|
@@ -25573,16 +25597,22 @@ async function handleAgentEvent(event, call) {
|
|
|
25573
25597
|
this.ui.requestRender();
|
|
25574
25598
|
break;
|
|
25575
25599
|
}
|
|
25576
|
-
case "model_fallback_start":
|
|
25600
|
+
case "model_fallback_start": {
|
|
25601
|
+
const notice = `Falling back from ${formatModelLabel(event.from, { thinkingLevel: event.fromThinkingLevel })} to ${formatModelLabel(event.to, { thinkingLevel: event.toThinkingLevel })}`;
|
|
25602
|
+
if (pendingRateLimitCards.has(this)) {
|
|
25603
|
+
clearPendingRateLimitCard(this);
|
|
25604
|
+
this.showStatus(`${notice} after a rate limit.`, true);
|
|
25605
|
+
}
|
|
25577
25606
|
this.statusContainer.clear();
|
|
25578
25607
|
if (this.fallbackLoader) {
|
|
25579
25608
|
this.fallbackLoader.stop();
|
|
25580
25609
|
this.fallbackLoader = void 0;
|
|
25581
25610
|
}
|
|
25582
|
-
this.fallbackLoader = new Loader$1(this.ui, (spinner) => theme.fg("warning", spinner), (text) => theme.fg("muted", text),
|
|
25611
|
+
this.fallbackLoader = new Loader$1(this.ui, (spinner) => theme.fg("warning", spinner), (text) => theme.fg("muted", text), `${notice}...`);
|
|
25583
25612
|
this.statusContainer.addChild(this.fallbackLoader);
|
|
25584
25613
|
this.ui.requestRender();
|
|
25585
25614
|
break;
|
|
25615
|
+
}
|
|
25586
25616
|
case "session_storage_reconnect": {
|
|
25587
25617
|
const message = formatAppendRecoveryNotice(event);
|
|
25588
25618
|
if (event.state === "waiting") this.showWarning(message);
|
|
@@ -25622,7 +25652,7 @@ async function handleAgentEvent(event, call) {
|
|
|
25622
25652
|
if (!event.success) {
|
|
25623
25653
|
this.workingRunMeter.stop();
|
|
25624
25654
|
this.workingRunMeter.endTurn();
|
|
25625
|
-
this.showError(`Retry failed after ${event.attempt} attempts: ${event.finalError || "Unknown error"}`);
|
|
25655
|
+
if (!pendingRateLimitCards.has(this)) this.showError(`Retry failed after ${event.attempt} attempts: ${event.finalError || "Unknown error"}`);
|
|
25626
25656
|
}
|
|
25627
25657
|
this.ui.requestRender();
|
|
25628
25658
|
break;
|
|
@@ -25816,7 +25846,7 @@ function terminalEnded(mode, notice) {
|
|
|
25816
25846
|
if (notice.kind === "console-closed") {
|
|
25817
25847
|
if (ending.consoleClosed) return;
|
|
25818
25848
|
ending.consoleClosed = true;
|
|
25819
|
-
setTimeout(() => mode.emergencyTerminalExit(), Math.max(CONSOLE_CLOSED_SHUTDOWN_MS - notice.closedMsAgo, 0));
|
|
25849
|
+
setTimeout(() => mode.emergencyTerminalExit(), Math.max(CONSOLE_CLOSED_SHUTDOWN_MS - Math.max(0, notice.closedMsAgo), 0));
|
|
25820
25850
|
mode.handleTerminalLost();
|
|
25821
25851
|
return;
|
|
25822
25852
|
}
|
|
@@ -28176,7 +28206,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
28176
28206
|
return (async () => {
|
|
28177
28207
|
const root = new URL("../", import.meta.url);
|
|
28178
28208
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
28179
|
-
const key = `${root.href}#0.10.
|
|
28209
|
+
const key = `${root.href}#0.10.16`;
|
|
28180
28210
|
let release = releases.get(key);
|
|
28181
28211
|
if (release === undefined) {
|
|
28182
28212
|
const current = (async () => {
|
|
@@ -28204,7 +28234,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
28204
28234
|
} catch {
|
|
28205
28235
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
28206
28236
|
}
|
|
28207
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
28237
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.16" ? installed : running !== undefined && running.version !== "0.10.16" ? "0.10.16" : undefined;
|
|
28208
28238
|
if (updatedTo === undefined) throw error;
|
|
28209
28239
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
28210
28240
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|