@bastani/atomic 0.10.18 → 0.10.19
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 +83 -0
- package/README.md +27 -5
- package/dist/_shared/config-binary-install-SNFYFXWB.js +70 -0
- package/dist/_shared/config-binary-install-SNFYFXWB.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/lib-4PES5P4V.js +2 -2
- package/dist/_shared/{mode-interactive-sdk-7KXUFI2F.js → mode-interactive-sdk-JXBZ3H27.js} +434 -11
- package/dist/_shared/mode-interactive-sdk-JXBZ3H27.js.map +1 -0
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +21 -6
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js.map +1 -1
- package/dist/_shared/mode-shared-2QJSCUM6.js +7 -6
- package/dist/_shared/mode-shared-2QJSCUM6.js.map +1 -1
- package/dist/_shared/p0-cli-BB45ZQY6.js +56 -3
- package/dist/_shared/p0-cli-BB45ZQY6.js.map +1 -1
- package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
- package/dist/_shared/runtime-O4KCSG4C.js +3 -3
- package/dist/_shared/{sdk-OHKMDJ74.js → sdk-BHX35EPK.js} +40 -9
- package/dist/_shared/sdk-BHX35EPK.js.map +1 -0
- package/dist/_shared/session-data-AHTU7IS6.js +2 -2
- package/dist/_shared/session-manager-list-2BLEEZVG.js +1 -1
- package/dist/_shared/{startup-0-0-OV6RAEAP.js → startup-0-0-4EDVBK5P.js} +464 -7
- package/dist/_shared/startup-0-0-4EDVBK5P.js.map +1 -0
- package/dist/_shared/{startup-0-1-EZAJI6RE.js → startup-0-1-H5IXVRXQ.js} +85 -7
- package/dist/_shared/startup-0-1-H5IXVRXQ.js.map +1 -0
- package/dist/_shared/startup-0-2-YZZOC22D.js +4 -4
- package/dist/_shared/startup-0-3-DE2NCS6A.js +4 -4
- package/dist/_shared/startup-0-4-ZMJV547D.js +4 -4
- package/dist/_shared/startup-0-5-HZX3ZPTP.js +44 -11
- package/dist/_shared/startup-0-5-HZX3ZPTP.js.map +1 -1
- package/dist/_shared/startup-10-0-TDQNBDDL.js +5 -5
- package/dist/_shared/startup-12-0-55AAXBJZ.js +2 -2
- package/dist/_shared/startup-14-0-MLX36RBG.js +3 -3
- package/dist/_shared/startup-15-0-YUKGAC63.js +3 -3
- package/dist/_shared/{startup-15-1-4S7FLMNG.js → startup-15-1-WQZBOTMZ.js} +70 -28
- package/dist/_shared/{startup-15-1-4S7FLMNG.js.map → startup-15-1-WQZBOTMZ.js.map} +1 -1
- package/dist/_shared/startup-8-0-34CBHPZH.js +4 -4
- package/dist/_shared/{startup-8-1-LZFXSD3Z.js → startup-8-1-QZMXUGHI.js} +242 -20
- package/dist/_shared/startup-8-1-QZMXUGHI.js.map +1 -0
- package/dist/_shared/storage-command-7MGXLJGZ.js +5 -5
- package/dist/_shared/storage-status-K7PX2RXA.js +3 -3
- package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
- package/dist/_shared/team-DOQKICG2.js +2 -2
- package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
- package/dist/binary-self-update.js +310 -0
- package/dist/binary-self-update.js.map +1 -0
- package/dist/builtin/intercom/index.bundle.mjs +2 -1
- 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 +30 -0
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/skills/agent-browser/SKILL.md +1 -1
- package/dist/builtin/subagents/skills/impeccable/SKILL.md +3 -3
- package/dist/builtin/subagents/skills/impeccable/reference/audit.md +2 -2
- package/dist/builtin/subagents/skills/impeccable/reference/critique.md +3 -3
- package/dist/builtin/subagents/skills/impeccable/reference/generate.md +1 -1
- package/dist/builtin/subagents/skills/impeccable/reference/init.md +0 -2
- package/dist/builtin/subagents/skills/impeccable/reference/live.md +4 -2
- package/dist/builtin/subagents/skills/impeccable/reference/new-work-comp.md +1 -1
- package/dist/builtin/subagents/skills/impeccable/reference/new-work-world.md +1 -1
- package/dist/builtin/subagents/skills/impeccable/scripts/VERSION +1 -1
- package/dist/builtin/subagents/skills/impeccable/scripts/engine-checksums.txt +5 -5
- package/dist/builtin/subagents/skills/impeccable/scripts/impeccable +28 -5
- package/dist/builtin/subagents/skills/impeccable/scripts/impeccable.cmd +11 -2
- package/dist/builtin/subagents/skills/impeccable/scripts/live-browser.js +10 -6
- package/dist/builtin/subagents/skills/research-codebase/SKILL.md +13 -19
- package/dist/builtin/subagents/skills/skill-creator/SKILL.md +1 -1
- package/dist/builtin/subagents/skills/subagent/SKILL.md +7 -7
- package/dist/builtin/subagents/skills/workflow/SKILL.md +98 -0
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +2 -1
- package/dist/builtin/web-access/index.bundle.mjs +2 -1
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/cli/args.js +2 -2
- package/dist/cli/auth-cli.code.js +3 -3
- package/dist/cli/auth-cli.impl.js +3 -3
- package/dist/cli/auth-cli.js +3 -3
- package/dist/cli/blueprint-command.code.js +2 -2
- package/dist/cli/blueprint-command.impl.js +3 -3
- package/dist/cli/blueprint-command.js +3 -3
- package/dist/cli/intercom-command.code.js +2 -2
- 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 +1 -1
- package/dist/cli/session-picker.impl.js +3 -3
- package/dist/cli/session-picker.js +3 -3
- package/dist/cli/startup-ui.code.js +1 -1
- 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 +3 -3
- 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 +1 -1
- package/dist/cli/team-command.impl.js +3 -3
- package/dist/cli/team-command.js +3 -3
- package/dist/cli/usage-command.js +22 -0
- package/dist/cli/usage-command.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/config-binary-install.js +3 -0
- package/dist/config-binary-install.js.map +1 -0
- package/dist/core/agent-session-services.js +3 -0
- package/dist/core/agent-session-services.js.map +1 -0
- package/dist/core/debug.impl.js +3 -3
- package/dist/core/debug.js +3 -3
- 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.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 +1 -1
- package/dist/core/extensions/runner-context.js +2 -2
- 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/{legacy-workflow-files.d.ts → legacy-workflows.d.ts} +1 -1
- package/dist/core/model-runtime.d.ts +8 -2
- package/dist/core/package-manager-storage-adapters.code.js +1 -1
- package/dist/core/package-manager-storage-adapters.impl.js +3 -3
- package/dist/core/package-manager-storage-adapters.js +3 -3
- package/dist/core/resource-loader-core.d.ts +1 -1
- package/dist/core/resource-loader-internals.d.ts +1 -1
- package/dist/core/resource-loader-types.d.ts +1 -1
- package/dist/core/resource-loader-types.js.map +1 -1
- package/dist/core/sdk.code.js +4 -4
- package/dist/core/sdk.impl.js +3 -3
- package/dist/core/sdk.js +3 -3
- package/dist/core/session-manager-core.js +5 -5
- package/dist/core/session-manager-list.impl.js +3 -3
- package/dist/core/session-manager-list.js +3 -3
- package/dist/core/session-manager.code.js +1 -1
- package/dist/core/session-manager.impl.js +3 -3
- package/dist/core/session-manager.js +3 -3
- package/dist/core/session-storage.code.js +1 -1
- package/dist/core/session-storage.impl.js +3 -3
- package/dist/core/session-storage.js +3 -3
- package/dist/core/settings-manager.js +5 -0
- package/dist/core/settings-manager.js.map +1 -0
- package/dist/core/storage/index.js +2 -2
- 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/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 +3 -3
- 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.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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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.impl.js +3 -3
- package/dist/core/storage/session/jsonl-session-store.js +3 -3
- 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 +2 -2
- 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 +3 -3
- 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.code.js +1 -1
- 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.impl.js +3 -3
- package/dist/core/storage/session/tree-presentation.js +3 -3
- 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.code.js +1 -1
- package/dist/core/structured-output/index.impl.js +3 -3
- package/dist/core/structured-output/index.js +3 -3
- package/dist/core/subscription-usage-credential.d.ts +2 -0
- package/dist/core/subscription-usage-endpoints.d.ts +54 -0
- package/dist/core/subscription-usage.d.ts +55 -0
- package/dist/core/subscription-usage.js +3 -0
- package/dist/core/subscription-usage.js.map +1 -0
- 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 +4 -4
- 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.code.js +1 -1
- 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/edit-diff.d.ts +4 -6
- 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 +2 -2
- package/dist/core/worktree-snapshot/errors.code.js +2 -2
- package/dist/core/worktree-snapshot/errors.impl.js +3 -3
- package/dist/core/worktree-snapshot/errors.js +3 -3
- 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 +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 +2 -2
- package/dist/extensions/codemode/renderer.impl.js +3 -3
- package/dist/extensions/codemode/renderer.js +3 -3
- package/dist/extensions/mcp/cli.code.js +2 -2
- 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.code.js +1 -1
- package/dist/extensions/mcp/runtime.impl.js +3 -3
- package/dist/extensions/mcp/runtime.js +3 -3
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7 -7
- package/dist/main-first-time-setup.code.js +1 -1
- package/dist/main-first-time-setup.impl.js +3 -3
- package/dist/main-first-time-setup.js +3 -3
- package/dist/main.js +2 -2
- package/dist/modes/interactive/components/stored-tree-view.code.js +2 -2
- 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.impl.js +3 -3
- package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
- package/dist/modes/interactive/interactive-mode-surface.d.ts +1 -0
- package/dist/modes/interactive/interactive-mode-surface.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.d.ts +3 -0
- package/dist/modes/print-mode.js +1 -1
- package/dist/modes/rpc/rpc-client-api.d.ts +3 -0
- package/dist/modes/rpc/rpc-types.d.ts +25 -0
- package/dist/package-manager-cli.code.js +31 -8
- package/dist/package-manager-cli.code.js.map +1 -1
- package/dist/package-manager-cli.impl.js +3 -3
- package/dist/package-manager-cli.js +3 -3
- package/dist/rpc-entry.js +2 -2
- package/dist/startup-files.json +1 -1
- package/dist/startup-stages/12.js +1 -1
- package/dist/startup-stages/4.js +1 -1
- package/dist/startup-stages/6.js +1 -1
- package/dist/subscription-usage-sdk.d.ts +9 -0
- package/dist/utils/changelog.d.ts +1 -0
- package/dist/utils/startup-database-spare.code.js +2 -2
- 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/docs/changelog.mdx +46 -6
- package/docs/containerization.md +17 -15
- package/docs/docs.json +1 -0
- package/docs/getting-started/installation.md +132 -80
- package/docs/guides/subscription-usage.md +133 -0
- package/docs/guides/team-setup.md +14 -3
- package/docs/guides.md +3 -0
- package/docs/index.md +18 -6
- package/docs/intercom/operations.md +1 -1
- package/docs/orchestration/migrating-workflows.md +16 -10
- package/docs/orchestration/patterns.md +8 -2
- package/docs/orchestration.md +17 -8
- package/docs/quickstart.md +7 -15
- package/docs/reference/cli.md +29 -22
- package/docs/rpc/protocol.md +9 -1
- package/docs/rpc.md +1 -1
- package/docs/sdk/reference.md +5 -1
- package/docs/skills.md +20 -4
- package/docs/slash-commands.md +3 -2
- package/docs/tools.md +57 -12
- package/docs/usage.md +1 -0
- package/docs/windows.md +4 -4
- package/package.json +9 -9
- package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js.map +0 -1
- package/dist/_shared/sdk-OHKMDJ74.js.map +0 -1
- package/dist/_shared/startup-0-0-OV6RAEAP.js.map +0 -1
- package/dist/_shared/startup-0-1-EZAJI6RE.js.map +0 -1
- package/dist/_shared/startup-8-1-LZFXSD3Z.js.map +0 -1
- package/dist/builtin/subagents/skills/workflow-files/SKILL.md +0 -28
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using /tasks.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../_shared/rolldown-runtime-BGM3D5V3.js";
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
import { open, stat } from "node:fs/promises";
|
|
4
|
-
import { EntryTypeReader, JsonTextChecker } from "../../_shared/startup-0-0-
|
|
4
|
+
import { EntryTypeReader, JsonTextChecker } from "../../_shared/startup-0-0-4EDVBK5P.js";
|
|
5
5
|
import { SESSION_HISTORY_CHUNK_BYTES } from "../../_shared/settings-startup-HXQLSUWM.js";
|
|
6
6
|
// dist/core/tasks/task-file-history.js
|
|
7
7
|
function digest(value) {
|
|
@@ -383,7 +383,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
383
383
|
return (async () => {
|
|
384
384
|
const root = new URL("../../", import.meta.url);
|
|
385
385
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
386
|
-
const key = `${root.href}#0.10.
|
|
386
|
+
const key = `${root.href}#0.10.19`;
|
|
387
387
|
let release = releases.get(key);
|
|
388
388
|
if (release === undefined) {
|
|
389
389
|
const current = (async () => {
|
|
@@ -411,7 +411,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
411
411
|
} catch {
|
|
412
412
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
413
413
|
}
|
|
414
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
414
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.19" ? installed : running !== undefined && running.version !== "0.10.19" ? "0.10.19" : undefined;
|
|
415
415
|
if (updatedTo === undefined) throw error;
|
|
416
416
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
417
417
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using /tasks.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using /tasks.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../_shared/rolldown-runtime-BGM3D5V3.js";
|
|
2
2
|
import { earlierTranscriptCursor, historyChunks } from "../../_shared/startup-8-0-34CBHPZH.js";
|
|
3
|
-
import { watchReferenceCut } from "../../_shared/startup-0-0-
|
|
3
|
+
import { watchReferenceCut } from "../../_shared/startup-0-0-4EDVBK5P.js";
|
|
4
4
|
import { SessionConflictError } from "../storage/session/errors.js";
|
|
5
5
|
import { SESSION_HISTORY_PAGE_BYTES } from "../../_shared/settings-startup-HXQLSUWM.js";
|
|
6
6
|
import { streamedEarlierMatches, streamedTaskReferences, visibleStreamedItem } from "../../_shared/task-reference-stream-JWMUZSJX.js";
|
|
7
7
|
import { taskEntryReferences } from "../../_shared/startup-0-4-ZMJV547D.js";
|
|
8
8
|
import { taskAnswerMissing } from "../../_shared/task-unsaved-answer-VJ2KTB4V.js";
|
|
9
|
-
import { taskTranscriptFile, taskTranscriptUnsavedAnswer } from "../../_shared/startup-8-1-
|
|
9
|
+
import { taskTranscriptFile, taskTranscriptUnsavedAnswer } from "../../_shared/startup-8-1-QZMXUGHI.js";
|
|
10
10
|
// dist/core/tasks/task-reference-pages.js
|
|
11
11
|
function suffix(id) {
|
|
12
12
|
const colon = id.lastIndexOf(":");
|
|
@@ -473,7 +473,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
473
473
|
return (async () => {
|
|
474
474
|
const root = new URL("../../", import.meta.url);
|
|
475
475
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
476
|
-
const key = `${root.href}#0.10.
|
|
476
|
+
const key = `${root.href}#0.10.19`;
|
|
477
477
|
let release = releases.get(key);
|
|
478
478
|
if (release === undefined) {
|
|
479
479
|
const current = (async () => {
|
|
@@ -501,7 +501,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
501
501
|
} catch {
|
|
502
502
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
503
503
|
}
|
|
504
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
504
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.19" ? installed : running !== undefined && running.version !== "0.10.19" ? "0.10.19" : undefined;
|
|
505
505
|
if (updatedTo === undefined) throw error;
|
|
506
506
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
507
507
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using /tasks.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using /tasks.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using /tasks.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using /tasks.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using /tasks.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using /tasks.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../_shared/rolldown-runtime-BGM3D5V3.js";
|
|
2
|
-
export { bindTaskTranscriptFragments, launchedTaskViewSource, liveTaskRowOrigin, onOwnerTaskAction, ownerTaskViewSource, plainNoticeBlock, readTaskDetailForView, readTaskPageForChat, readTaskPageForView, retainTaskWindowReader, savedBoundaryCursor, taskCursorsAround, taskTranscriptFile, taskTranscriptFragments, taskTranscriptUnsavedAnswer, withTaskTranscriptArchive } from "../../_shared/startup-8-1-
|
|
2
|
+
export { bindTaskTranscriptFragments, launchedTaskViewSource, liveTaskRowOrigin, onOwnerTaskAction, ownerTaskViewSource, plainNoticeBlock, readTaskDetailForView, readTaskPageForChat, readTaskPageForView, retainTaskWindowReader, savedBoundaryCursor, taskCursorsAround, taskTranscriptFile, taskTranscriptFragments, taskTranscriptUnsavedAnswer, withTaskTranscriptArchive } from "../../_shared/startup-8-1-QZMXUGHI.js";
|
|
3
3
|
//# sourceMappingURL=task-view-source.code.js.map
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using /tasks.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using /tasks.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -36,13 +36,11 @@ export interface AppliedEditsResult {
|
|
|
36
36
|
*/
|
|
37
37
|
export declare function decodeUtf8ForEdit(buffer: Uint8Array, path: string): string;
|
|
38
38
|
/**
|
|
39
|
-
* Apply one or more
|
|
39
|
+
* Apply one or more replacements to LF-normalized content.
|
|
40
40
|
*
|
|
41
|
-
* All edits are matched against the same original content
|
|
42
|
-
* then
|
|
43
|
-
*
|
|
44
|
-
* original range to replace: newText is spliced into the original content, so
|
|
45
|
-
* no text outside the matched ranges changes.
|
|
41
|
+
* All edits are matched against the same original content: verbatim first, then
|
|
42
|
+
* fuzzy, then with a uniform indentation adjustment. In the last case the same
|
|
43
|
+
* adjustment is made to newText. No text outside matched ranges changes.
|
|
46
44
|
*/
|
|
47
45
|
export declare function applyEditsToNormalizedContent(normalizedContent: string, edits: Edit[], path: string): AppliedEditsResult;
|
|
48
46
|
/** Generate a standard unified patch. */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { __toESM } from "../../_shared/rolldown-runtime-BGM3D5V3.js";
|
|
2
2
|
import { resolve } from "node:path";
|
|
3
3
|
import { getAgentDir } from "../../_shared/p0-cli-BB45ZQY6.js";
|
|
4
|
-
import { sessionScratchDir } from "../../_shared/startup-0-1-
|
|
4
|
+
import { sessionScratchDir } from "../../_shared/startup-0-1-H5IXVRXQ.js";
|
|
5
5
|
import { lookup } from "node:dns/promises";
|
|
6
6
|
import { channel, tracingChannel } from "node:diagnostics_channel";
|
|
7
7
|
import { require_turndown_cjs } from "../../_shared/turndown.cjs-7Z43JOED.js";
|
|
8
8
|
import { require_undici } from "../../_shared/http-undici-FVPTZA4G.js";
|
|
9
9
|
import { findAsciiCaseInsensitive, isAsciiWordCode } from "../../_shared/p1b-elig-BY2G5BUE.js";
|
|
10
|
-
import { applyReadLineSelection, decodeReadableUrl, extractDocumentMarkdown, getArtifactManager, isDocumentPath } from "../../_shared/startup-8-1-
|
|
11
|
-
import { isReadableUrlPath, repairCollapsedScheme } from "../../_shared/startup-0-0-
|
|
10
|
+
import { applyReadLineSelection, decodeReadableUrl, extractDocumentMarkdown, getArtifactManager, isDocumentPath } from "../../_shared/startup-8-1-QZMXUGHI.js";
|
|
11
|
+
import { isReadableUrlPath, repairCollapsedScheme } from "../../_shared/startup-0-0-4EDVBK5P.js";
|
|
12
12
|
import { isIP } from "node:net";
|
|
13
13
|
// ../../node_modules/lru-cache/dist/esm/node/index.min.js
|
|
14
14
|
var S = channel("lru-cache:metrics");
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -2801,7 +2801,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
2801
2801
|
return (async () => {
|
|
2802
2802
|
const root = new URL("../../", import.meta.url);
|
|
2803
2803
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
2804
|
-
const key = `${root.href}#0.10.
|
|
2804
|
+
const key = `${root.href}#0.10.19`;
|
|
2805
2805
|
let release = releases.get(key);
|
|
2806
2806
|
if (release === undefined) {
|
|
2807
2807
|
const current = (async () => {
|
|
@@ -2829,7 +2829,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
2829
2829
|
} catch {
|
|
2830
2830
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
2831
2831
|
}
|
|
2832
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
2832
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.19" ? installed : running !== undefined && running.version !== "0.10.19" ? "0.10.19" : undefined;
|
|
2833
2833
|
if (updatedTo === undefined) throw error;
|
|
2834
2834
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
2835
2835
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../_shared/rolldown-runtime-BGM3D5V3.js";
|
|
2
|
-
import { GitUnavailableError, isGitUnavailableError } from "../../_shared/startup-0-0-
|
|
3
|
-
import { WorkspaceBindingError, WorkspaceCollectionError, WorkspaceConfigError, WorkspaceDriftError, WorkspaceError, WorkspaceGitError, WorkspacePublicationError, WorkspaceRestoreError, WorkspaceSandboxError, WorkspaceSnapshotError, WorkspaceTimeoutError, attachCleanupCause, findWorkspaceError, gitInstallCommand, isRetryableWorkspaceError, isWorkspaceBindingError, isWorkspaceCollectionError, isWorkspaceConfigError, isWorkspaceDriftError, isWorkspaceError, isWorkspaceGitError, isWorkspacePublicationError, isWorkspaceRestoreError, isWorkspaceSandboxError, isWorkspaceSnapshotError, isWorkspaceTimeoutError, rehydrateWorkspaceError, serializeWorkspaceError, unreadablePathError, unwritablePathError } from "../../_shared/startup-0-1-
|
|
2
|
+
import { GitUnavailableError, isGitUnavailableError } from "../../_shared/startup-0-0-4EDVBK5P.js";
|
|
3
|
+
import { WorkspaceBindingError, WorkspaceCollectionError, WorkspaceConfigError, WorkspaceDriftError, WorkspaceError, WorkspaceGitError, WorkspacePublicationError, WorkspaceRestoreError, WorkspaceSandboxError, WorkspaceSnapshotError, WorkspaceTimeoutError, attachCleanupCause, findWorkspaceError, gitInstallCommand, isRetryableWorkspaceError, isWorkspaceBindingError, isWorkspaceCollectionError, isWorkspaceConfigError, isWorkspaceDriftError, isWorkspaceError, isWorkspaceGitError, isWorkspacePublicationError, isWorkspaceRestoreError, isWorkspaceSandboxError, isWorkspaceSnapshotError, isWorkspaceTimeoutError, rehydrateWorkspaceError, serializeWorkspaceError, unreadablePathError, unwritablePathError } from "../../_shared/startup-0-1-H5IXVRXQ.js";
|
|
4
4
|
import "../../_shared/startup-0-2-YZZOC22D.js";
|
|
5
5
|
export { GitUnavailableError, WorkspaceBindingError, WorkspaceCollectionError, WorkspaceConfigError, WorkspaceDriftError, WorkspaceError, WorkspaceGitError, WorkspacePublicationError, WorkspaceRestoreError, WorkspaceSandboxError, WorkspaceSnapshotError, WorkspaceTimeoutError, attachCleanupCause, findWorkspaceError, gitInstallCommand, isGitUnavailableError, isRetryableWorkspaceError, isWorkspaceBindingError, isWorkspaceCollectionError, isWorkspaceConfigError, isWorkspaceDriftError, isWorkspaceError, isWorkspaceGitError, isWorkspacePublicationError, isWorkspaceRestoreError, isWorkspaceSandboxError, isWorkspaceSnapshotError, isWorkspaceTimeoutError, rehydrateWorkspaceError, serializeWorkspaceError, unreadablePathError, unwritablePathError };
|
|
6
6
|
//# sourceMappingURL=errors.code.js.map
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using worktree snapshots.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using worktree snapshots.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using worktree snapshots.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using worktree snapshots.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -3,7 +3,7 @@ import { getServiceTierCost, isModelType } from "@bastani/atomic-ai";
|
|
|
3
3
|
import { CodemodeSandbox, loadQuickJSWasm, parseCodemodeSource, renderToolSample, toCodemodeIdentifier } from "@bastani/atomic-codemode";
|
|
4
4
|
import { setLongTimeout } from "../../__atomic_timers/index.js";
|
|
5
5
|
import { ENV_CODEMODE_MAX_WORKERS, getCodemodeWorkerUrlAsync, getEnvValue, getQuickJSWasmPath } from "../../_shared/p0-cli-BB45ZQY6.js";
|
|
6
|
-
import { combineUsage, formatSize, sliceHead, sliceTail, writeOutputFile } from "../../_shared/startup-0-0-
|
|
6
|
+
import { combineUsage, formatSize, sliceHead, sliceTail, writeOutputFile } from "../../_shared/startup-0-0-4EDVBK5P.js";
|
|
7
7
|
import { Bm25Ranker, createToolSearchDocument, resolveToolNames } from "../../_shared/startup-0-5-HZX3ZPTP.js";
|
|
8
8
|
import { CODEMODE_DOCS_PATH, CODEMODE_STORE_ENTRY_TYPE, getCodemodeCallableTools, toCodemodeDeclaration } from "../../_shared/startup-0-3-DE2NCS6A.js";
|
|
9
9
|
// dist/extensions/codemode/execute.js
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using codemode.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using codemode.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../_shared/rolldown-runtime-BGM3D5V3.js";
|
|
2
2
|
import { Container, Text, truncateToWidth } from "@bastani/atomic-tui";
|
|
3
|
-
import { getTextOutput, replaceTabs, str } from "../../_shared/startup-0-0-
|
|
3
|
+
import { getTextOutput, replaceTabs, str } from "../../_shared/startup-0-0-4EDVBK5P.js";
|
|
4
4
|
import { CodeHighlighter, keyHintIfBound, singleLineDisplayText, terminalDisplayText } from "../../_shared/p2-shell-main-B2WIALFD.js";
|
|
5
5
|
import { TOOL_BLOCK_LIMITS, ToolBlock, ToolBlockGroup, ToolBlockRecords, collapseToolBlockLines } from "../../_shared/startup-0-4-ZMJV547D.js";
|
|
6
|
-
import { builtinToolBlockPresentation, formatToolBlockElapsed } from "../../_shared/startup-8-1-
|
|
6
|
+
import { builtinToolBlockPresentation, formatToolBlockElapsed } from "../../_shared/startup-8-1-QZMXUGHI.js";
|
|
7
7
|
// dist/extensions/codemode/renderer.js
|
|
8
8
|
const SCRIPT_HEADER = /^Script (completed|failed)\nWall time [\d.]+ seconds\nOutput:\n$/;
|
|
9
9
|
var CodemodeCall = class {
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using codemode.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using codemode.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -4,12 +4,12 @@ import { join } from "node:path";
|
|
|
4
4
|
import { createTimeoutSignal } from "../../__atomic_timers/index.js";
|
|
5
5
|
import chalk from "chalk";
|
|
6
6
|
import { APP_NAME, CONFIG_DIR_NAME } from "../../_shared/p0-cli-BB45ZQY6.js";
|
|
7
|
-
import { McpOAuthCredentialStore, McpSignInCancelledError, addMcpServerConfigAsync, getMcpToolExposure, loadMcpConfigAsync, removeMcpServerConfigAsync, signInMcpServer, validateMcpServerConfig } from "../../_shared/sdk-
|
|
7
|
+
import { McpOAuthCredentialStore, McpSignInCancelledError, addMcpServerConfigAsync, getMcpToolExposure, loadMcpConfigAsync, removeMcpServerConfigAsync, signInMcpServer, validateMcpServerConfig } from "../../_shared/sdk-BHX35EPK.js";
|
|
8
8
|
import { ModelRuntime } from "../../_shared/startup-0-5-HZX3ZPTP.js";
|
|
9
9
|
import { ProjectTrustStore } from "../../_shared/p1b-elig-BY2G5BUE.js";
|
|
10
10
|
import { openBrowser } from "../../_shared/p2-shell-TJBYQMCJ.js";
|
|
11
11
|
import { questionTerminal } from "../../_shared/terminal-question-VBB3LCEP.js";
|
|
12
|
-
import { collectDeclaredDisplaySecrets, redactAuthorizationUrlForDisplay, redactOAuthErrorText, redactUrlForTransportDisplay } from "../../_shared/startup-0-0-
|
|
12
|
+
import { collectDeclaredDisplaySecrets, redactAuthorizationUrlForDisplay, redactOAuthErrorText, redactUrlForTransportDisplay } from "../../_shared/startup-0-0-4EDVBK5P.js";
|
|
13
13
|
import { McpServerConnection, McpServerLog, createDefaultTransport } from "../../_shared/runtime-O4KCSG4C.js";
|
|
14
14
|
// dist/extensions/mcp/cli.js
|
|
15
15
|
/**
|