@bastani/atomic 0.10.18 → 0.10.19-alpha.1
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 +38 -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 +281 -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 +15 -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 +41 -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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __commonJSMin, __require } from "./rolldown-runtime-BGM3D5V3.js";
|
|
2
2
|
import { APP_NAME, ENV_SESSION_DIR, VERSION, createChildProcessEnvironment, createModuleRequire, findHelperExecutable, findHelperExecutableAsync, getAgentDir, getBinDir, getHomeDir, getProjectConfigDirs, isBunBinary, isBundledBuild, isPathWithin, loadOnDemand, markLifecycleTiming, normalizePath, processLaunch, processLaunchAsync, releaseRetainedWindowsProcessExitHandle, resolutionBaseUrl, resolvePath, resolveSafeWindowsKillCwdLexical, resolveSafeWindowsWorkingDirectoryAsync, retainWindowsProcessExitHandle, spawnLaunchedProcess, spawnLaunchedProcessSync, stripBom } from "./p0-cli-BB45ZQY6.js";
|
|
3
|
-
import { ActivityWatchdog, CompactionCancelledError, CompactorFailure, Diff, ForkSourceIncompleteError, JSON_RPC_ERROR_CODES, LIVE_COMMAND_LIMIT_MESSAGE, MAX_TOOL_DETACHMENT_AFTER_MS, McpAbortError, McpConnectionClosedError, NON_SECRET_HTTP_HEADERS, ROW_INTENT_META, STARTUP_DECISION_TYPED_TEXT_NOTICE, TASK_MARKS, TaskCleanupAdmissionTimeoutError, TaskEvictedError, TrustDecisionSelector, VisualLinePreview, asyncScope, chatEpoch, collectSecretsForMasking, combineUsage, computeBoxDimensions, createSourceInfo, createTypeScriptSourceSpecifierTransform, defineTool, fetchWithRetry, fieldTone, fileEpochOf, findProviderDefaultModel, flushable, formatSize, getErrnoCode, getFunctionList, getPiUserAgent, getSyntheticPathSource, getTextOutput, holdProcessDescendants, holdProcessDescendantsResult, invalidArgText, isFlushable, isFunctionList, isJsonRpcRequest, isJsonRpcResponse, isStdoutTakenOver, isStop, isSyntheticPath, isTrustDecision, isValidThinkingLevel, linkPath, many, none, parseJsonRpcMessage, redactCredentials, redactOAuthErrorText, redactOAuthErrorTextCapped, redactWwwAuthenticateHeader, removedProviderMessage, renderBorderedBox, require_applyReviver, require_constants, require_debug, require_identifiers, require_identity, require_parse_options, require_parse_url, resolveDecisionDeadlineMs, resourceInternals, safeTrustChoiceIndex, scrubFetchError, scrubUnknownErrorData, segmentLength, setFunctionList, spanElapsedMs, spawnContainedProcess, str, styleFieldTone, toError, validateTimeoutOverride } from "./startup-0-0-
|
|
4
|
-
import { AgentRehydrateError, AgentReleaseConfigError, EMPTY_OUTPUT_TEXT, ExtensionInputComponent, ExtensionSelectorComponent, FirstTimeSetupComponent, LlamaClient, MULTI_SUBMIT_LABEL, MarkdownContentCache, NestedToolCallRunner, RESERVED_LABELS, SESSION_STORAGE_JOIN, SessionKeyDigests, SessionStorageSelectionSchema, SettingsSchema, StorageSelectionSchema, StringEnum as StringEnum$1, TransportEvents, WorkspaceConfigError, WrappingSelect, acceptsForkReplay, cancelReceiptStatus, chatAnswerIntent, chatNumberingFor, cleanupFailureSummary, computeFocusedOptionHasPreview, currentResourceAdmission, diffLines, discoverChatFile, errorMessage, flush, formatAnswerScalar, formatTokenSegment, genBridge, getBuiltinExtensionEntryLabel, getCommandEnv, getGitShellEnvironmentAsync, getLoaderAgentDirs, getVirtualModules, lifecycleScopeForOwner, llamaInferenceUrl, messageIsLlmVisible, next, normalizeLlamaServerUrl, normalizeMessageContent, normalizeModelFailureSignal, normalizeModelReference, normalizeProviderKeys, parseInteractiveEngineMessage, presentTaskError, readFileChatRecords, readInlineCaret, reparentedSegments, require_from_url, require_re, require_toJS, require_visit, resizeImageInProcess, resolveInlineDraftValue, runCallback, runSynchronousCallback, selectActivePreviewPaneIndex, selectActiveTabItems, selectConfirmedIndicator, sessionLifecycleCreation, splitSegment, stopIndex, streamCutDurationMs, tokenize, trackTranspileCacheWrite, trackWindowsDirectorySecurityWork, userLikeContentBlockIsLlmVisible, verifyWindowsDirectorySecurity, verifyWindowsDirectorySecurityAsync, waitResultTail, waitStatus, withInlineDraft, withTranspileCacheWriteOwner, withWindowsDirectorySecurityOwner } from "./startup-0-1-
|
|
3
|
+
import { ActivityWatchdog, CompactionCancelledError, CompactorFailure, Diff, ForkSourceIncompleteError, JSON_RPC_ERROR_CODES, LIVE_COMMAND_LIMIT_MESSAGE, MAX_TOOL_DETACHMENT_AFTER_MS, McpAbortError, McpConnectionClosedError, NON_SECRET_HTTP_HEADERS, ROW_INTENT_META, STARTUP_DECISION_TYPED_TEXT_NOTICE, TASK_MARKS, TaskCleanupAdmissionTimeoutError, TaskEvictedError, TrustDecisionSelector, VisualLinePreview, asyncScope, chatEpoch, collectSecretsForMasking, combineUsage, computeBoxDimensions, createSourceInfo, createTypeScriptSourceSpecifierTransform, defineTool, fetchWithRetry, fieldTone, fileEpochOf, findProviderDefaultModel, flushable, formatSize, getErrnoCode, getFunctionList, getPiUserAgent, getSyntheticPathSource, getTextOutput, holdProcessDescendants, holdProcessDescendantsResult, invalidArgText, isFlushable, isFunctionList, isJsonRpcRequest, isJsonRpcResponse, isStdoutTakenOver, isStop, isSyntheticPath, isTrustDecision, isValidThinkingLevel, linkPath, many, none, parseJsonRpcMessage, redactCredentials, redactOAuthErrorText, redactOAuthErrorTextCapped, redactWwwAuthenticateHeader, removedProviderMessage, renderBorderedBox, require_applyReviver, require_constants, require_debug, require_identifiers, require_identity, require_parse_options, require_parse_url, resolveDecisionDeadlineMs, resourceInternals, safeTrustChoiceIndex, scrubFetchError, scrubUnknownErrorData, segmentLength, setFunctionList, spanElapsedMs, spawnContainedProcess, str, styleFieldTone, toError, validateTimeoutOverride } from "./startup-0-0-4EDVBK5P.js";
|
|
4
|
+
import { AgentRehydrateError, AgentReleaseConfigError, EMPTY_OUTPUT_TEXT, ExtensionInputComponent, ExtensionSelectorComponent, FirstTimeSetupComponent, LlamaClient, MULTI_SUBMIT_LABEL, MarkdownContentCache, NestedToolCallRunner, RESERVED_LABELS, SESSION_STORAGE_JOIN, SessionKeyDigests, SessionStorageSelectionSchema, SettingsSchema, StorageSelectionSchema, StringEnum as StringEnum$1, TransportEvents, WorkspaceConfigError, WrappingSelect, acceptsForkReplay, cancelReceiptStatus, chatAnswerIntent, chatNumberingFor, cleanupFailureSummary, computeFocusedOptionHasPreview, currentResourceAdmission, diffLines, discoverChatFile, errorMessage, flush, formatAnswerScalar, formatTokenSegment, genBridge, getBuiltinExtensionEntryLabel, getCommandEnv, getGitShellEnvironmentAsync, getLoaderAgentDirs, getVirtualModules, lifecycleScopeForOwner, llamaInferenceUrl, messageIsLlmVisible, next, normalizeLlamaServerUrl, normalizeMessageContent, normalizeModelFailureSignal, normalizeModelReference, normalizeProviderKeys, parseInteractiveEngineMessage, presentTaskError, readFileChatRecords, readInlineCaret, reparentedSegments, require_from_url, require_re, require_toJS, require_visit, resizeImageInProcess, resolveInlineDraftValue, runCallback, runSynchronousCallback, selectActivePreviewPaneIndex, selectActiveTabItems, selectConfirmedIndicator, sessionLifecycleCreation, splitSegment, stopIndex, streamCutDurationMs, tokenize, trackTranspileCacheWrite, trackWindowsDirectorySecurityWork, userLikeContentBlockIsLlmVisible, verifyWindowsDirectorySecurity, verifyWindowsDirectorySecurityAsync, waitResultTail, waitStatus, withInlineDraft, withTranspileCacheWriteOwner, withWindowsDirectorySecurityOwner } from "./startup-0-1-H5IXVRXQ.js";
|
|
5
5
|
import { KeybindingsManager as KeybindingsManager$1, clickableHintText, clickableKeyTextHint, detectTerminalThemeForAuto, graphemeAt, initTheme, keepStartupDialogDraft, parenthesizedKeyHint, setTheme, singleLineDisplayText, terminalDisplayCursor, terminalDisplayText, theme, withEarlyInputHeldForStartupDialog } from "./p2-shell-main-B2WIALFD.js";
|
|
6
6
|
import { stripJsonComments } from "./p1-shared-RG5I5LJ6.js";
|
|
7
7
|
import { findInCauseChain, guardLockRemoval, nativeProcessCreationTime, nativeTerminateProcess, redactCredentialShapes, rehydrateErrorCause, releaseLock, releaseLockSync, renameReplacing, renameReplacingAsync, serializeErrorCause, waitForLock, waitForLockSync } from "./p1b-elig-BY2G5BUE.js";
|
|
@@ -12646,7 +12646,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
12646
12646
|
return (async () => {
|
|
12647
12647
|
const root = new URL("../", import.meta.url);
|
|
12648
12648
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
12649
|
-
const key = `${root.href}#0.10.
|
|
12649
|
+
const key = `${root.href}#0.10.19-alpha.1`;
|
|
12650
12650
|
let release = releases.get(key);
|
|
12651
12651
|
if (release === undefined) {
|
|
12652
12652
|
const current = (async () => {
|
|
@@ -12674,7 +12674,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
12674
12674
|
} catch {
|
|
12675
12675
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
12676
12676
|
}
|
|
12677
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
12677
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.19-alpha.1" ? installed : running !== undefined && running.version !== "0.10.19-alpha.1" ? "0.10.19-alpha.1" : undefined;
|
|
12678
12678
|
if (updatedTo === undefined) throw error;
|
|
12679
12679
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
12680
12680
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __commonJSMin, __name, __toESM } from "./rolldown-runtime-BGM3D5V3.js";
|
|
2
2
|
import { CONFIG_DIR_NAME, VERSION, createChildProcessEnvironment, findHelperExecutableAsync, getAgentConfigPaths, getAgentDir, getAgentDirs, getDocsPath, getProjectConfigDirs, getProjectConfigPaths, helperLaunchAsync, isChildProcessExitStatusUnknownError, missingHelperOptions, normalizePath, require_cross_spawn, resolvePath, resolveSafeWindowsWorkingDirectoryAsync, stripBom, waitForChildProcess } from "./p0-cli-BB45ZQY6.js";
|
|
3
|
-
import { MAX_PERSISTED_OUTPUT_BYTES, McpConnectionClosedError, PERSISTED_OUTPUT_TRUNCATION_MARKER, STALE_EXTENSION_CONTEXT_MESSAGE, Stop, TOOL_RESULTS_SUBDIR, abortSymbol, asyncScope, attachSessionClaim, bindReleasedTaskOwner, clearFunctionList, collectSecretsForMasking, combineMany, combineManyMut, containProcessTree, containProcessTreeAllowingBreakaway, displayTodoId, fListSymbol, final, finalSymbol, finalValue, flushSymbol, flushable, getErrnoCode, getFinalValue, getFunctionList, getLockPath, getManyValues, hasNativeProcessHold as hasNativeProcessHold$1, holdProcessDescendants, holdProcessDescendantsResult, hostInputError, isFinalValue, isFlushable, isFunctionList, isGitUnavailableError, isJsonRpcResponse, isLlamaServerUnreachableError, isMany, isStop, isValidThinkingLevel, many, manySymbol, minimatch, none, normalizeMany, observeArchiveLoad, processTreeEnded, providerOfModelReference, raceWithAbortSignal, redactOAuthErrorText, removedProviderMessage, require_identity, resolveSchemaRef, scopedBackgroundTasks, scrubUnknownErrorData, serializeRetainedTranscript, sessionTasks, setDeprecationWarningSink, setFunctionList, setSharedHistorySwitchHost, sharedClockNow, spawnHostProcess, stop, stopErrorSymbol, str, toMany, writeRawStdoutControl } from "./startup-0-0-
|
|
4
|
-
import { LlamaClient, ReopenedCompletionHeaders, TransportEvents, WorkspaceConfigError, bindTaskClock, bodyWidths, columnWidths, convertImageBytesToPng, convertToLlm, createBranchSummaryMessage, createCustomMessage, createManagedTaskClocks, createVerbatimCompactionMessage, decideLayout, formatBytes, formatTokenSegment, isLocalOnlySessionStorage, isWorkspaceError, normalizeAzureSettings, normalizeLlamaServerUrl, normalizeMessageContent, normalizeModelReference, normalizeProviderKeys, observeFailedProviderAccount, providerAccount, require_toJS, require_visit, runWithProgress, serializeInteractiveEngineMessage, setCallbackActivityReporter, showLlamaUi, taskClockOf, taskClockRunning, taskClocksFor, unreadablePathError } from "./startup-0-1-
|
|
3
|
+
import { MAX_PERSISTED_OUTPUT_BYTES, McpConnectionClosedError, PERSISTED_OUTPUT_TRUNCATION_MARKER, STALE_EXTENSION_CONTEXT_MESSAGE, Stop, TOOL_RESULTS_SUBDIR, abortSymbol, asyncScope, attachSessionClaim, bindReleasedTaskOwner, clearFunctionList, collectSecretsForMasking, combineMany, combineManyMut, containProcessTree, containProcessTreeAllowingBreakaway, displayTodoId, fListSymbol, final, finalSymbol, finalValue, flushSymbol, flushable, getErrnoCode, getFinalValue, getFunctionList, getLockPath, getManyValues, hasNativeProcessHold as hasNativeProcessHold$1, holdProcessDescendants, holdProcessDescendantsResult, hostInputError, isFinalValue, isFlushable, isFunctionList, isGitUnavailableError, isJsonRpcResponse, isLlamaServerUnreachableError, isMany, isStop, isValidThinkingLevel, many, manySymbol, minimatch, none, normalizeMany, observeArchiveLoad, processTreeEnded, providerOfModelReference, raceWithAbortSignal, redactOAuthErrorText, removedProviderMessage, require_identity, resolveSchemaRef, scopedBackgroundTasks, scrubUnknownErrorData, serializeRetainedTranscript, sessionTasks, setDeprecationWarningSink, setFunctionList, setSharedHistorySwitchHost, sharedClockNow, spawnHostProcess, stop, stopErrorSymbol, str, toMany, writeRawStdoutControl } from "./startup-0-0-4EDVBK5P.js";
|
|
4
|
+
import { LlamaClient, ReopenedCompletionHeaders, TransportEvents, WorkspaceConfigError, bindTaskClock, bodyWidths, columnWidths, convertImageBytesToPng, convertToLlm, createBranchSummaryMessage, createCustomMessage, createManagedTaskClocks, createVerbatimCompactionMessage, decideLayout, formatBytes, formatTokenSegment, isLocalOnlySessionStorage, isWorkspaceError, normalizeAzureSettings, normalizeLlamaServerUrl, normalizeMessageContent, normalizeModelReference, normalizeProviderKeys, observeFailedProviderAccount, providerAccount, require_toJS, require_visit, runWithProgress, serializeInteractiveEngineMessage, setCallbackActivityReporter, showLlamaUi, taskClockOf, taskClockRunning, taskClocksFor, unreadablePathError } from "./startup-0-1-H5IXVRXQ.js";
|
|
5
5
|
import { ansi256ToHex, fgAnsi, hexToRgb, singleLineDisplayText, theme } from "./p2-shell-main-B2WIALFD.js";
|
|
6
6
|
import { parseJsonFileContent, stripJsonComments } from "./p1-shared-RG5I5LJ6.js";
|
|
7
7
|
import { failureDebugFields, ownProcessStartToken, readProcessStartToken, reportDebug, reportDebugAsync } from "./p1b-elig-BY2G5BUE.js";
|
|
@@ -6169,7 +6169,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
6169
6169
|
return (async () => {
|
|
6170
6170
|
const root = new URL("../", import.meta.url);
|
|
6171
6171
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
6172
|
-
const key = `${root.href}#0.10.
|
|
6172
|
+
const key = `${root.href}#0.10.19-alpha.1`;
|
|
6173
6173
|
let release = releases.get(key);
|
|
6174
6174
|
if (release === undefined) {
|
|
6175
6175
|
const current = (async () => {
|
|
@@ -6197,7 +6197,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
6197
6197
|
} catch {
|
|
6198
6198
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
6199
6199
|
}
|
|
6200
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
6200
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.19-alpha.1" ? installed : running !== undefined && running.version !== "0.10.19-alpha.1" ? "0.10.19-alpha.1" : undefined;
|
|
6201
6201
|
if (updatedTo === undefined) throw error;
|
|
6202
6202
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
6203
6203
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __commonJSMin } from "./rolldown-runtime-BGM3D5V3.js";
|
|
2
2
|
import { APP_NAME, createChildProcessEnvironment, getAgentConfigPaths, getAgentDir, getBinDir, normalizePath, stripBom } from "./p0-cli-BB45ZQY6.js";
|
|
3
|
-
import { DEFAULT_MAX_BYTES, DEFAULT_MAX_RESULT_SIZE_CHARS, GitUnavailableError, PERSISTED_OUTPUT_CLOSING_TAG, PERSISTED_OUTPUT_TAG, PREVIEW_SIZE_BYTES, ROW_INTENT_META, TASK_MARKS, TOOL_RESULTS_SUBDIR, VERBATIM_COMPACTION_STRATEGY, VtTextNormalizer, createConversationRegion, createGitEnvironment, flushable, getErrnoCode, isGitUnavailableError, many, minimatch, none, omitLegacyThinkingSections, raceWithAbortSignal, redactCredentials, require_constants, require_identity, require_resolve_end, require_stringifyNumber, resolvePhysicalPath, resolvePhysicalPathAsync, styleFieldTone, truncateTail } from "./startup-0-0-
|
|
4
|
-
import { LEGACY_AZURE_PROVIDER, MultiSelectView, WorkspaceBindingError, WorkspaceCollectionError, WorkspaceConfigError, WorkspaceRestoreError, WorkspaceSnapshotError, WorkspaceTimeoutError, convertToLlm, createBranchSummaryMessage, createCustomMessage, crossTabLeftWidthWithDonation, diffWords, extensionRefreshRejection, fixUtf8Stream, gitInstallCommand, messageIsLlmVisible, messageStartsLlmUserTurn, normalizeProviderKeys, readLedger, require_re, rootKey, selectActivePreviewPaneIndex, unreadablePathError } from "./startup-0-1-
|
|
3
|
+
import { DEFAULT_MAX_BYTES, DEFAULT_MAX_RESULT_SIZE_CHARS, GitUnavailableError, PERSISTED_OUTPUT_CLOSING_TAG, PERSISTED_OUTPUT_TAG, PREVIEW_SIZE_BYTES, ROW_INTENT_META, TASK_MARKS, TOOL_RESULTS_SUBDIR, VERBATIM_COMPACTION_STRATEGY, VtTextNormalizer, createConversationRegion, createGitEnvironment, flushable, getErrnoCode, isGitUnavailableError, many, minimatch, none, omitLegacyThinkingSections, raceWithAbortSignal, redactCredentials, require_constants, require_identity, require_resolve_end, require_stringifyNumber, resolvePhysicalPath, resolvePhysicalPathAsync, styleFieldTone, truncateTail } from "./startup-0-0-4EDVBK5P.js";
|
|
4
|
+
import { LEGACY_AZURE_PROVIDER, MultiSelectView, WorkspaceBindingError, WorkspaceCollectionError, WorkspaceConfigError, WorkspaceRestoreError, WorkspaceSnapshotError, WorkspaceTimeoutError, convertToLlm, createBranchSummaryMessage, createCustomMessage, crossTabLeftWidthWithDonation, diffWords, extensionRefreshRejection, fixUtf8Stream, gitInstallCommand, messageIsLlmVisible, messageStartsLlmUserTurn, normalizeProviderKeys, readLedger, require_re, rootKey, selectActivePreviewPaneIndex, unreadablePathError } from "./startup-0-1-H5IXVRXQ.js";
|
|
5
5
|
import { OVERLAY_ACTIVE_ROW_MARKER, TerminalTextSanitizer, getGlobalTheme, getMarkdownTheme, keyHintIfBound, singleLineDisplayText, terminalDisplayText, theme } from "./p2-shell-main-B2WIALFD.js";
|
|
6
6
|
import { stripJsonComments } from "./p1-shared-RG5I5LJ6.js";
|
|
7
7
|
import { nativeProcessCreationTime, nativeTerminateProcess, processStartTokenAsync, processStartTokenNow, readProcessCreationTime, takeTakeoverMutexAsync, windowsStartTokenForCreationTime } from "./p1b-elig-BY2G5BUE.js";
|
|
@@ -6125,7 +6125,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
6125
6125
|
return (async () => {
|
|
6126
6126
|
const root = new URL("../", import.meta.url);
|
|
6127
6127
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
6128
|
-
const key = `${root.href}#0.10.
|
|
6128
|
+
const key = `${root.href}#0.10.19-alpha.1`;
|
|
6129
6129
|
let release = releases.get(key);
|
|
6130
6130
|
if (release === undefined) {
|
|
6131
6131
|
const current = (async () => {
|
|
@@ -6153,7 +6153,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
6153
6153
|
} catch {
|
|
6154
6154
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
6155
6155
|
}
|
|
6156
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
6156
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.19-alpha.1" ? installed : running !== undefined && running.version !== "0.10.19-alpha.1" ? "0.10.19-alpha.1" : undefined;
|
|
6157
6157
|
if (updatedTo === undefined) throw error;
|
|
6158
6158
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
6159
6159
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __commonJSMin, __name, __require, __toESM } from "./rolldown-runtime-BGM3D5V3.js";
|
|
2
2
|
import { APP_NAME, BLUEPRINT_FILE_NAME, CONFIG_DIR_NAME, ENV_MODEL_CATALOG_URL, canonicalizePath as canonicalizePath$1, canonicalizePathAsync as canonicalizePathAsync$1, createChildProcessEnvironment, createModuleRequire, findHelperExecutableAsync, getAgentDir, getAgentDirs, getBinDir, getDocsPath, getEnvValue, getExamplesPath, getExtensionTranspileCacheDir, getPathComparisonKey, getProjectConfigDirs, getReadmePath, getUserConfigPaths, isBunBinary, isBundledBuild, isLocalPath, isPathWithin, markPathIgnoredByCloudSync, moduleDirFromMetaUrl, normalizePath, pathsEqual, processLaunch, processLaunchAsync, rehydrateDebugError, resolutionBaseUrl, resolvePath, resolveSafeWindowsWorkingDirectoryAsync, spawnLaunchedProcess, spawnLaunchedProcessSync, stripBom, updatedInstallError } from "./p0-cli-BB45ZQY6.js";
|
|
3
|
-
import { BUILTIN_PATH_PREFIX, BlueprintInvalidError, COMMAND_DETAIL_TAIL_BYTES, DEFAULT_THINKING_LEVEL, FILE_KINDS, FILE_PATTERNS, FORKED_PACKAGE_WORKSPACE_DIRS, GitUnavailableError, HOST, NETWORK_TIMEOUT_MS, POST_LOGOUT_AUTH_CHECK_TIMEOUT_MS, RESOURCE_TYPES, ROW_INTENT_META, THINKING_LEVELS, TYPEBOX_SUBPATHS, TaskCleanupError, VisualLinePreview, asyncScope, bindSavedReadLines, canWatchProcessUntilHostDies, cancelReasonText, containProcessTree, conventionDirsForResource, createBatchedCanonicalizePathAsync, createGitEnvironment, createSyntheticSourceInfo, createTypeScriptSourceSpecifierTransform, emitProgress, experimentalToolSamplingProperty, findPreferredAvailableModel, forkedPackageExportAliases, formatNoApiKeyFoundMessage, formatSize, formatTimeoutSeconds, formatToolCallWithArgs, getDefaultSessionDirPath, getHostQuestionnaire, getManifestFromPackageJson, getResourcePathKey, getTextOutput, holdProcessDescendants, holdProcessDescendantsResult, holderRuns as holderRuns$1, isCodexTokenInvalidationError, isGitProvisionError, isGitUnavailableError, isSerializedMissingSessionCwdError, isStaleExtensionContextError, isStdoutTakenOver, isSyntheticPath, legacyWorkflowFilePaths, legacyWorkflowFilePatterns, loadConfig, loadedConfig, lockNamesLocalHolder, lockShared, normalizeWaitPolicy, operationSignal, parseSerializedCompactionError, parseSlashCommand, raceWithAbortSignal, readTaskOutputTail, redactCredentials, redactOAuthErrorText, rehydrateCompactionError, rehydrateMissingSessionCwdError, removedProviderMessage, replaceTabs, require_applyReviver, require_constants, require_debug, require_errors, require_identifiers, require_identity, require_ignore, require_line_counter, require_parse_options, require_resolve_end, require_resolve_props, require_stringifyComment, require_util_contains_newline, resolvePhysicalPath, resolvePhysicalPathAsync, resolveSchemaRef, resourceInternals, sanitizeMcpServers, sentinelsToAppend, serializeSessionMutation, sharedClockNow, sleep, spanElapsedMs, spawnContainedProcess, spawnHostProcess, startShellDeadline, takeOverDeadHolderAsync, taskOutcomeStatus, taskOutputText, taskStoppedForResume, thisProcess, truncateMiddle, validateGuidanceFields, watchProcessUntilHostDies, windowsTemporaryFiles, withInstallLock, withLegacyPackageNames, withProgress, writeOutputFile, yieldToEventLoopIfSlow } from "./startup-0-0-
|
|
4
|
-
import { NestedGitignore, NoUsableModelError, QuestionParamsSchema, STORAGE_JOIN_COMMAND, TaskToolError, WorkspaceBindingError, WorkspaceConfigError, WorkspaceDriftError, WorkspaceGitError, WorkspaceRestoreError, WorkspaceSandboxError, WorkspaceSnapshotError, WorkspaceTimeoutError, addResource, attachCleanupCause, cancelPausedOwnerTasks, computeFocusedOptionHasPreview, createAccumulator, createProviderAlias, deferRestorePhase, failedProviderAccount, formatAnswerScalar, getBuiltinExtensionEntryLabel, getCommandEnv, getLoaderAgentDirs, getToolEnv, getToolPath, getVirtualModules, gitInstallCommand, gitignoreMatcher, hasLazyBuiltinSpec, isContentFilterRefusal, isNativeBuiltinExtensionPath, isOfflineModeEnabled, isProviderCredentialRejection, isRetryableModelFailure, isRetryableSameModelFailure, isSafetyRefusalFailure, isSourceBuiltinExtensionPath, isUnrecognizedModelFailure, isWorkspaceBindingError, isWorkspaceError, isWorkspaceGitError, isWorkspaceRestoreError, isWorkspaceSnapshotError, loadVirtualModules, lockSharedWithHolder, normalizeModelFailureSignal, normalizeModelProvider, normalizeProviderKeys, noteRestoreFetch, prewarmModelApi, providerAccount, readInlineCaret, readInlineDraft, registerLazyBuiltin, reportWorktreeLockProgress, requestedThinkingLevelForModelSwitch, require_int as require_int$1, require_int$1 as require_int, require_log, require_re, require_timestamp, require_toJS, require_trim_comparator_whitespace, require_util_flow_indent_check, require_util_map_includes, require_visit, resolveResourcePath, routeKey, runCallback, sessionLifecycleCreation, settingsWriteOwner, skillUri, startupRegistrationTokens, subagentsLazyBuiltinSpec, timeRestorePhase, toResolvedPaths, trackAdmittedAgentTask, trackTranspileCacheWrite, unreadablePathError, unwritablePathError, waitResultTail, withInlineDraft } from "./startup-0-1-
|
|
3
|
+
import { BUILTIN_PATH_PREFIX, BlueprintInvalidError, COMMAND_DETAIL_TAIL_BYTES, DEFAULT_THINKING_LEVEL, FILE_KINDS, FILE_PATTERNS, FORKED_PACKAGE_WORKSPACE_DIRS, GitUnavailableError, HOST, NETWORK_TIMEOUT_MS, POST_LOGOUT_AUTH_CHECK_TIMEOUT_MS, RESOURCE_TYPES, ROW_INTENT_META, THINKING_LEVELS, TYPEBOX_SUBPATHS, TaskCleanupError, VisualLinePreview, asyncScope, bindSavedReadLines, canWatchProcessUntilHostDies, cancelReasonText, containProcessTree, conventionDirsForResource, createBatchedCanonicalizePathAsync, createGitEnvironment, createSyntheticSourceInfo, createTypeScriptSourceSpecifierTransform, emitProgress, experimentalToolSamplingProperty, findPreferredAvailableModel, forkedPackageExportAliases, formatNoApiKeyFoundMessage, formatSize, formatTimeoutSeconds, formatToolCallWithArgs, getDefaultSessionDirPath, getHostQuestionnaire, getManifestFromPackageJson, getResourcePathKey, getTextOutput, holdProcessDescendants, holdProcessDescendantsResult, holderRuns as holderRuns$1, isCodexTokenInvalidationError, isGitProvisionError, isGitUnavailableError, isSerializedMissingSessionCwdError, isStaleExtensionContextError, isStdoutTakenOver, isSyntheticPath, legacyWorkflowFilePaths, legacyWorkflowFilePatterns, loadConfig, loadedConfig, lockNamesLocalHolder, lockShared, normalizeWaitPolicy, operationSignal, parseSerializedCompactionError, parseSlashCommand, raceWithAbortSignal, readSubscriptionCredential, readTaskOutputTail, redactCredentials, redactOAuthErrorText, rehydrateCompactionError, rehydrateMissingSessionCwdError, removedProviderMessage, replaceTabs, require_applyReviver, require_constants, require_debug, require_errors, require_identifiers, require_identity, require_ignore, require_line_counter, require_parse_options, require_resolve_end, require_resolve_props, require_stringifyComment, require_util_contains_newline, resolvePhysicalPath, resolvePhysicalPathAsync, resolveSchemaRef, resourceInternals, sanitizeMcpServers, sentinelsToAppend, serializeSessionMutation, sharedClockNow, sleep, spanElapsedMs, spawnContainedProcess, spawnHostProcess, startShellDeadline, takeOverDeadHolderAsync, taskOutcomeStatus, taskOutputText, taskStoppedForResume, thisProcess, truncateMiddle, validateGuidanceFields, watchProcessUntilHostDies, windowsTemporaryFiles, withInstallLock, withLegacyPackageNames, withProgress, writeOutputFile, yieldToEventLoopIfSlow } from "./startup-0-0-4EDVBK5P.js";
|
|
4
|
+
import { NestedGitignore, NoUsableModelError, QuestionParamsSchema, STORAGE_JOIN_COMMAND, TaskToolError, WorkspaceBindingError, WorkspaceConfigError, WorkspaceDriftError, WorkspaceGitError, WorkspaceRestoreError, WorkspaceSandboxError, WorkspaceSnapshotError, WorkspaceTimeoutError, addResource, attachCleanupCause, cancelPausedOwnerTasks, computeFocusedOptionHasPreview, createAccumulator, createProviderAlias, deferRestorePhase, failedProviderAccount, formatAnswerScalar, getBuiltinExtensionEntryLabel, getCommandEnv, getLoaderAgentDirs, getToolEnv, getToolPath, getVirtualModules, gitInstallCommand, gitignoreMatcher, hasLazyBuiltinSpec, isContentFilterRefusal, isNativeBuiltinExtensionPath, isOfflineModeEnabled, isProviderCredentialRejection, isRetryableModelFailure, isRetryableSameModelFailure, isSafetyRefusalFailure, isSourceBuiltinExtensionPath, isUnrecognizedModelFailure, isWorkspaceBindingError, isWorkspaceError, isWorkspaceGitError, isWorkspaceRestoreError, isWorkspaceSnapshotError, loadVirtualModules, lockSharedWithHolder, normalizeModelFailureSignal, normalizeModelProvider, normalizeProviderKeys, noteRestoreFetch, observeSubscriptionUsage, openAiDirectUsageObserver, prewarmModelApi, providerAccount, readInlineCaret, readInlineDraft, registerLazyBuiltin, reportWorktreeLockProgress, requestedThinkingLevelForModelSwitch, require_int as require_int$1, require_int$1 as require_int, require_log, require_re, require_timestamp, require_toJS, require_trim_comparator_whitespace, require_util_flow_indent_check, require_util_map_includes, require_visit, resolveResourcePath, routeKey, runCallback, sessionLifecycleCreation, settingsWriteOwner, skillUri, startupRegistrationTokens, subagentsLazyBuiltinSpec, timeRestorePhase, toResolvedPaths, trackAdmittedAgentTask, trackTranspileCacheWrite, unreadablePathError, unwritablePathError, waitResultTail, withInlineDraft } from "./startup-0-1-H5IXVRXQ.js";
|
|
5
5
|
import { TerminalTextSanitizer, graphemeAt, keyHint, loadThemeFromContent, resolveColorMode, singleLineDisplayText, terminalDisplayText } from "./p2-shell-main-B2WIALFD.js";
|
|
6
6
|
import { failureDebugFields, lockHolderAsync, processMayRunAsync, processStartTokenAsync, redactUrlCredentials, releaseLock, renameReplacingAsync, renameWithRetry, reportDebugAsync, takeTakeoverMutexAsync } from "./p1b-elig-BY2G5BUE.js";
|
|
7
7
|
import { LONG_STREAM_CUT_ADVICE, ModelConfig, ResumePreconditionError, TaskSupervisor, assertSessionOpen, assertWorkspace, automaticWaitBudgetMs, buildFallbackModel, buildQuestionnaireResponse, buildToolResult, classifyRepository, findSourceInfoForPath, getCallableTools, getDefaultSourceInfoForPath, getShellConfigAsync, getShellEnvAsync, hasBlockingAccountLimit, importAfterEvaluation, installHostModuleBridge, isLongStreamCut, isWorkspace, nextRetryDecision, observeAccountCatalog, overCapServerRetryDelay, prepareSourceEntries, prepareSourceEntry, providerCooldownMs, providerUnavailableMs, recordedRepo, reduce, registerSourceBuiltinLoad, repeatsLongStreamCut, require_Node, require_anchors, require_directives, require_semver as require_semver$1, runCommand, runCommandCapture, runCommandSync, runWithConcurrency, sessionGenerationClosing, sessionLifetime, summarizeQuestions, taskOwnTranscriptEntries, trackSessionWork, transformTemplate, validateQuestionnaire, withDiscoveredModels, withPersonalizedCatalog, withRemoteCatalog } from "./startup-0-2-YZZOC22D.js";
|
|
@@ -12056,11 +12056,11 @@ function ensureRetryPromise(session) {
|
|
|
12056
12056
|
function retryIsCurrent(session, generation) {
|
|
12057
12057
|
return !session._agentRunAbortRequested && session._retryGeneration === generation;
|
|
12058
12058
|
}
|
|
12059
|
-
/**
|
|
12059
|
+
/** Wait for the previous run and all its agent_end listeners without blocking the handler itself. */
|
|
12060
12060
|
function scheduleRetry(session, generation, run) {
|
|
12061
|
-
|
|
12061
|
+
session.agent.waitForIdle().then(() => {
|
|
12062
12062
|
if (retryIsCurrent(session, generation)) run();
|
|
12063
|
-
}
|
|
12063
|
+
});
|
|
12064
12064
|
}
|
|
12065
12065
|
/** Notify subagent drain waiters when a retry finishes outside an active prompt or interrupt wrapper. */
|
|
12066
12066
|
function notifyRetryDrainedIfIdle(session) {
|
|
@@ -26342,6 +26342,30 @@ var ModelRuntimeStreaming = class {
|
|
|
26342
26342
|
} : void 0;
|
|
26343
26343
|
const apiKey = providerOptions.apiKey ?? resolution.auth.apiKey;
|
|
26344
26344
|
const credentialHeaderNames = new Set(Object.keys(resolution.auth.headers ?? {}).map((name) => name.toLowerCase()));
|
|
26345
|
+
if (!this.ownsExtensionTransport(model)) {
|
|
26346
|
+
const directUsage = model.api === "openai-responses" && resolution.source === "OAuth" && this.transportModel(model).provider === "openai" ? openAiDirectUsageObserver(requestModel, {
|
|
26347
|
+
apiKey,
|
|
26348
|
+
headers
|
|
26349
|
+
}) : void 0;
|
|
26350
|
+
if (directUsage || model.api === "openai-codex-responses" || model.api === "anthropic-messages") {
|
|
26351
|
+
const onResponse = providerOptions.onResponse;
|
|
26352
|
+
providerOptions.onResponse = (response, target) => {
|
|
26353
|
+
if (directUsage) directUsage.headers(response.headers);
|
|
26354
|
+
else observeSubscriptionUsage(requestModel, {
|
|
26355
|
+
apiKey,
|
|
26356
|
+
headers
|
|
26357
|
+
}, response.headers);
|
|
26358
|
+
return onResponse?.(response, target);
|
|
26359
|
+
};
|
|
26360
|
+
}
|
|
26361
|
+
if (directUsage) {
|
|
26362
|
+
const onEvent = providerOptions.onProviderStreamEvent;
|
|
26363
|
+
providerOptions.onProviderStreamEvent = (event, target) => {
|
|
26364
|
+
directUsage.streamEvent(event);
|
|
26365
|
+
return onEvent?.(event, target);
|
|
26366
|
+
};
|
|
26367
|
+
}
|
|
26368
|
+
}
|
|
26345
26369
|
return {
|
|
26346
26370
|
provider,
|
|
26347
26371
|
authIdentity: JSON.stringify({
|
|
@@ -27048,6 +27072,12 @@ var ModelRuntime = class ModelRuntime {
|
|
|
27048
27072
|
getRegisteredNativeProvider(providerId) {
|
|
27049
27073
|
return this.nativeExtensionProviders.get(normalizeProviderId(providerId));
|
|
27050
27074
|
}
|
|
27075
|
+
/** Built-in auth behind a provider or its independently signed-in alias. */
|
|
27076
|
+
getBuiltinAccountProvider(providerId) {
|
|
27077
|
+
const source = this.extensionProviders.get(providerId)?.aliasOf ?? providerId;
|
|
27078
|
+
if (!this.defaultBuiltins.has(source) || this.nativeExtensionProviders.has(source)) return void 0;
|
|
27079
|
+
return this.extensionProviders.get(source)?.oauth === void 0 ? source : void 0;
|
|
27080
|
+
}
|
|
27051
27081
|
getOAuthProviderMetadata() {
|
|
27052
27082
|
return collectOAuthProviderMetadata(this.getProviders(), this.extensionProviders);
|
|
27053
27083
|
}
|
|
@@ -27134,6 +27164,9 @@ var ModelRuntime = class ModelRuntime {
|
|
|
27134
27164
|
available: all.flatMap((model) => availableByKey.get(snapshotModelKey(model)) ?? [])
|
|
27135
27165
|
};
|
|
27136
27166
|
}
|
|
27167
|
+
[readSubscriptionCredential](provider, signal) {
|
|
27168
|
+
return this.credentials.read(provider, { signal });
|
|
27169
|
+
}
|
|
27137
27170
|
/** Return stored credential metadata synchronously without refreshing auth. */
|
|
27138
27171
|
getCredentialSnapshot(providerId) {
|
|
27139
27172
|
return this.credentials.peek(normalizeProviderId(providerId));
|
|
@@ -27376,15 +27409,15 @@ var ModelRuntime = class ModelRuntime {
|
|
|
27376
27409
|
});
|
|
27377
27410
|
});
|
|
27378
27411
|
}
|
|
27379
|
-
listCredentials() {
|
|
27380
|
-
return this.credentials.list();
|
|
27412
|
+
listCredentials(options) {
|
|
27413
|
+
return this.credentials.list(options);
|
|
27381
27414
|
}
|
|
27382
27415
|
getStoredCredentialType(providerId) {
|
|
27383
27416
|
this.syncStoredCredentialChanges();
|
|
27384
27417
|
return this.snapshot.storedCredentialTypes.get(normalizeProviderId(providerId));
|
|
27385
27418
|
}
|
|
27386
|
-
getProviderAuthStatus(providerId) {
|
|
27387
|
-
this.syncStoredCredentialChanges();
|
|
27419
|
+
getProviderAuthStatus(providerId, options) {
|
|
27420
|
+
if (options?.refresh !== false) this.syncStoredCredentialChanges();
|
|
27388
27421
|
providerId = normalizeProviderId(providerId);
|
|
27389
27422
|
const localStatus = getSnapshotProviderAuthStatus(this.snapshot, providerId, this.credentials.hasRuntimeApiKey(providerId), configuredRequestAuthStatus(this.config.getProvider(providerId), this.extensionProviders.get(providerId)));
|
|
27390
27423
|
if (localStatus.source === "stored" || localStatus.source === "runtime") return localStatus;
|
|
@@ -28552,7 +28585,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
28552
28585
|
return (async () => {
|
|
28553
28586
|
const root = new URL("../", import.meta.url);
|
|
28554
28587
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
28555
|
-
const key = `${root.href}#0.10.
|
|
28588
|
+
const key = `${root.href}#0.10.19-alpha.1`;
|
|
28556
28589
|
let release = releases.get(key);
|
|
28557
28590
|
if (release === undefined) {
|
|
28558
28591
|
const current = (async () => {
|
|
@@ -28580,7 +28613,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
28580
28613
|
} catch {
|
|
28581
28614
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
28582
28615
|
}
|
|
28583
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
28616
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.19-alpha.1" ? installed : running !== undefined && running.version !== "0.10.19-alpha.1" ? "0.10.19-alpha.1" : undefined;
|
|
28584
28617
|
if (updatedTo === undefined) throw error;
|
|
28585
28618
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
28586
28619
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|