@bastani/atomic 0.10.5 → 0.10.6-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 +29 -0
- package/dist/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/_shared/APEv2Parser-APXNTTFS.js.map +1 -1
- package/dist/_shared/AsfParser-AP272OWG.js +1 -1
- package/dist/_shared/DsfParser-FTOZZCZP.js +2 -2
- package/dist/_shared/FlacParser-WJATCQT6.js +2 -2
- package/dist/_shared/FlacParser-WJATCQT6.js.map +1 -1
- package/dist/_shared/ID3v1Parser-XVX6XPGB.js +1 -1
- package/dist/_shared/ID3v2Parser-DB2T4Z6M.js +2 -2
- package/dist/_shared/MP4Parser-2TZWZV4K.js +3 -3
- package/dist/_shared/MP4Parser-2TZWZV4K.js.map +1 -1
- package/dist/_shared/MatroskaParser-V22CGP72.js.map +1 -1
- package/dist/_shared/MusepackParser-XEUVYWNQ.js +2 -2
- package/dist/_shared/MusepackParser-XEUVYWNQ.js.map +1 -1
- package/dist/_shared/OggParser-Y7FSZNTO.js +1 -1
- package/dist/_shared/OggParser-Y7FSZNTO.js.map +1 -1
- package/dist/_shared/ParseError-VXOGXIIE.js +2 -2
- package/dist/_shared/ParseError-VXOGXIIE.js.map +1 -1
- package/dist/_shared/WavPackParser-ZYK4CLSW.js +1 -1
- package/dist/_shared/WaveParser-VA3P7P3H.js +2 -2
- package/dist/_shared/dist-KOELCESV.js +55 -63
- package/dist/_shared/dist-KOELCESV.js.map +1 -1
- package/dist/_shared/fork-row-index-UAUAQRD5.js +3 -3
- package/dist/_shared/full.umd-CBF7UGXV.js +7 -6
- package/dist/_shared/full.umd-CBF7UGXV.js.map +1 -1
- package/dist/_shared/http-YFAPTIZD.js +2 -2
- package/dist/_shared/http-YFAPTIZD.js.map +1 -1
- package/dist/_shared/http-undici-FVPTZA4G.js +19 -20
- package/dist/_shared/http-undici-FVPTZA4G.js.map +1 -1
- package/dist/_shared/lib-4PES5P4V.js +8 -8
- package/dist/_shared/lib-4PES5P4V.js.map +1 -1
- package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +5 -4
- package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js.map +1 -1
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +20 -20
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js.map +1 -1
- package/dist/_shared/mode-shared-2QJSCUM6.js +441 -341
- package/dist/_shared/mode-shared-2QJSCUM6.js.map +1 -1
- package/dist/_shared/p0-cli-BB45ZQY6.js +8 -12
- package/dist/_shared/p0-cli-BB45ZQY6.js.map +1 -1
- package/dist/_shared/p1a-prewarm-UQY3X2UK.js +8 -8
- package/dist/_shared/p1b-elig-ENCUPKKJ.js +17 -17
- package/dist/_shared/p1b-elig-ENCUPKKJ.js.map +1 -1
- package/dist/_shared/p2-shell-TJBYQMCJ.js +27 -28
- package/dist/_shared/p2-shell-TJBYQMCJ.js.map +1 -1
- package/dist/_shared/p2-shell-main-B2WIALFD.js +44 -47
- package/dist/_shared/p2-shell-main-B2WIALFD.js.map +1 -1
- package/dist/_shared/rolldown-runtime-BGM3D5V3.js +4 -4
- package/dist/_shared/runtime-O4KCSG4C.js +7 -7
- package/dist/_shared/runtime-O4KCSG4C.js.map +1 -1
- package/dist/_shared/sdk-WQIOHVKO.js +24 -24
- package/dist/_shared/sdk-WQIOHVKO.js.map +1 -1
- package/dist/_shared/session-data-AHTU7IS6.js +4 -4
- package/dist/_shared/session-manager-list-2BLEEZVG.js +3 -3
- package/dist/_shared/{settings-startup-65YEWRV2.js → settings-startup-4QCVCI53.js} +2 -32
- package/dist/_shared/settings-startup-4QCVCI53.js.map +1 -0
- package/dist/_shared/settings-startup-8-DNZ2RIHM.js +35 -0
- package/dist/_shared/settings-startup-8-DNZ2RIHM.js.map +1 -0
- package/dist/_shared/sql-session-store-5FD3WBMZ.js +12 -12
- package/dist/_shared/startup-0-0-TYUFUOJZ.js +143 -115
- package/dist/_shared/startup-0-0-TYUFUOJZ.js.map +1 -1
- package/dist/_shared/{startup-0-1-D4LGGINF.js → startup-0-1-W2G2UY7R.js} +365 -27
- package/dist/_shared/startup-0-1-W2G2UY7R.js.map +1 -0
- package/dist/_shared/startup-0-2-SZGQIWHI.js +19 -24
- package/dist/_shared/startup-0-2-SZGQIWHI.js.map +1 -1
- package/dist/_shared/startup-0-3-T4DVFYWX.js +7 -7
- package/dist/_shared/startup-0-3-T4DVFYWX.js.map +1 -1
- package/dist/_shared/startup-0-4-HN5EB4K7.js +7 -7
- package/dist/_shared/startup-0-4-HN5EB4K7.js.map +1 -1
- package/dist/_shared/startup-0-5-OHJNE6JH.js +157 -92
- package/dist/_shared/startup-0-5-OHJNE6JH.js.map +1 -1
- package/dist/_shared/startup-10-0-TDQNBDDL.js +4 -4
- package/dist/_shared/startup-10-0-TDQNBDDL.js.map +1 -1
- package/dist/_shared/startup-14-0-MLX36RBG.js +19 -19
- package/dist/_shared/startup-14-0-MLX36RBG.js.map +1 -1
- package/dist/_shared/startup-15-0-YUKGAC63.js +17 -16
- package/dist/_shared/startup-15-0-YUKGAC63.js.map +1 -1
- package/dist/_shared/startup-15-1-4S7FLMNG.js +5 -5
- package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
- package/dist/_shared/startup-8-0-34CBHPZH.js +23 -23
- package/dist/_shared/startup-8-0-34CBHPZH.js.map +1 -1
- package/dist/_shared/startup-8-1-SJW2GMAM.js +113 -114
- package/dist/_shared/startup-8-1-SJW2GMAM.js.map +1 -1
- package/dist/_shared/storage-command-7MGXLJGZ.js +15 -14
- package/dist/_shared/storage-command-7MGXLJGZ.js.map +1 -1
- package/dist/_shared/task-reference-stream-JWMUZSJX.js +7 -7
- package/dist/_shared/task-reference-stream-JWMUZSJX.js.map +1 -1
- package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
- package/dist/_shared/tree-outline-MUEPK5B7.js +4 -4
- package/dist/_shared/turndown.cjs-7Z43JOED.js +7 -10
- package/dist/_shared/turndown.cjs-7Z43JOED.js.map +1 -1
- package/dist/builtin/intercom/CHANGELOG.md +6 -0
- package/dist/builtin/intercom/index.bundle.mjs +2 -2
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/index.bundle.mjs +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/CHANGELOG.md +6 -0
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +15 -12
- package/dist/builtin/web-access/index.bundle.mjs +1 -1
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/cli/args.js +1 -1
- package/dist/cli/auth-cli.code.js +10 -13
- package/dist/cli/auth-cli.code.js.map +1 -1
- package/dist/cli/auth-cli.impl.js +3 -3
- package/dist/cli/auth-cli.js +3 -3
- package/dist/cli/blueprint-command.code.js +8 -8
- 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 +3 -3
- package/dist/cli/list-models.impl.js +3 -3
- package/dist/cli/list-models.js +3 -3
- package/dist/cli/session-picker.code.js +3 -3
- package/dist/cli/session-picker.impl.js +3 -3
- package/dist/cli/session-picker.js +3 -3
- package/dist/cli/settings-startup.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 +4 -4
- 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 +3 -3
- package/dist/cli/team-command.impl.js +3 -3
- package/dist/cli/team-command.js +3 -3
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/core/debug.impl.js +3 -3
- package/dist/core/debug.js +3 -3
- package/dist/core/export-html/card-projection.code.js +2 -2
- package/dist/core/export-html/card-projection.code.js.map +1 -1
- package/dist/core/export-html/card-projection.impl.js +3 -3
- package/dist/core/export-html/card-projection.js +3 -3
- package/dist/core/export-html/index.code.js +9 -9
- package/dist/core/export-html/index.code.js.map +1 -1
- package/dist/core/export-html/index.impl.js +3 -3
- package/dist/core/export-html/index.js +3 -3
- package/dist/core/export-html/json-spans.impl.js +3 -3
- package/dist/core/export-html/json-spans.js +3 -3
- package/dist/core/export-html/oversized-render-inputs.code.js +1 -1
- package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
- package/dist/core/export-html/oversized-render-inputs.js +3 -3
- package/dist/core/export-html/tool-renderer.code.js +1 -1
- 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 +5 -5
- package/dist/core/extensions/runner-context.js.map +1 -1
- package/dist/core/http-dispatcher.js +2 -0
- 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/package-manager-storage-adapters.impl.js +3 -3
- package/dist/core/package-manager-storage-adapters.js +3 -3
- package/dist/core/sdk.code.js +1 -1
- package/dist/core/sdk.impl.js +3 -3
- package/dist/core/sdk.js +3 -3
- package/dist/core/session-manager-core.js +15 -15
- package/dist/core/session-manager-core.js.map +1 -1
- 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.impl.js +3 -3
- package/dist/core/session-storage.js +3 -3
- 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.code.js +1 -1
- 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 +3 -3
- 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 +5 -4
- package/dist/core/storage/session/child-reader.code.js.map +1 -1
- package/dist/core/storage/session/child-reader.impl.js +3 -3
- package/dist/core/storage/session/child-reader.js +3 -3
- package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
- package/dist/core/storage/session/chunked-resume-projection.js +3 -3
- package/dist/core/storage/session/errors.js +1 -0
- package/dist/core/storage/session/errors.js.map +1 -1
- package/dist/core/storage/session/expanded-child-details.code.js +4 -4
- 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 +5 -4
- package/dist/core/storage/session/fork-staging.code.js.map +1 -1
- package/dist/core/storage/session/fork-staging.impl.js +3 -3
- package/dist/core/storage/session/fork-staging.js +3 -3
- package/dist/core/storage/session/fork-window.code.js +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 +2 -2
- 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 +12 -12
- package/dist/core/storage/session/released-history-files.code.js.map +1 -1
- 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.code.js +1 -1
- 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.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.impl.js +3 -3
- package/dist/core/structured-output/index.js +3 -3
- 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 +5 -5
- package/dist/core/tasks/task-file-history.code.js.map +1 -1
- 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 +11 -11
- package/dist/core/tasks/task-reference-archive.code.js.map +1 -1
- package/dist/core/tasks/task-reference-archive.js +3 -3
- package/dist/core/tasks/task-reference-identity.code.js +2 -2
- package/dist/core/tasks/task-reference-identity.js +3 -3
- package/dist/core/tasks/task-reference-stream.impl.js +3 -3
- package/dist/core/tasks/task-reference-stream.js +3 -3
- package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
- package/dist/core/tasks/task-unsaved-answer.js +3 -3
- package/dist/core/tasks/task-view-source.impl.js +3 -3
- package/dist/core/tasks/task-view-source.js +3 -3
- package/dist/core/tools/read-url.code.js +9 -9
- 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 +1 -1
- 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 +3 -3
- package/dist/extensions/codemode/execute.impl.js +3 -3
- package/dist/extensions/codemode/execute.js +3 -3
- package/dist/extensions/codemode/renderer.code.js +1 -1
- package/dist/extensions/codemode/renderer.impl.js +3 -3
- package/dist/extensions/codemode/renderer.js +3 -3
- package/dist/extensions/mcp/cli.code.js +7 -7
- package/dist/extensions/mcp/cli.impl.js +3 -3
- package/dist/extensions/mcp/cli.js +3 -3
- package/dist/extensions/mcp/cli.lazy.code.js +2 -2
- package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
- package/dist/extensions/mcp/cli.lazy.js +3 -3
- package/dist/extensions/mcp/runtime.impl.js +3 -3
- package/dist/extensions/mcp/runtime.js +3 -3
- package/dist/index.js +2 -2
- package/dist/main-first-time-setup.impl.js +3 -3
- package/dist/main-first-time-setup.js +3 -3
- package/dist/modes/interactive/components/stored-tree-view.code.js +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/task-inspector.d.ts +10 -2
- 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/package-manager-cli.code.js +14 -14
- package/dist/package-manager-cli.impl.js +3 -3
- package/dist/package-manager-cli.js +3 -3
- package/dist/rpc-entry.js +3 -3
- package/dist/startup-files.json +1 -1
- package/dist/startup-stages/7.js +1 -1
- package/dist/utils/startup-database-spare.code.js +5 -5
- 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/background-tasks.md +2 -2
- package/package.json +9 -9
- package/dist/_shared/settings-startup-65YEWRV2.js.map +0 -1
- package/dist/_shared/startup-0-1-D4LGGINF.js.map +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
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, getProjectConfigDirs, isBunBinary, isBundledBuild, isPathWithin, loadOnDemand, markLifecycleTiming, normalizePath, processLaunch, processLaunchAsync, releaseRetainedWindowsProcessExitHandle, resolutionBaseUrl, resolvePath, resolveSafeWindowsKillCwdLexical, resolveSafeWindowsWorkingDirectoryAsync, retainWindowsProcessExitHandle, spawnLaunchedProcess, spawnLaunchedProcessSync, stripBom } from "./p0-cli-BB45ZQY6.js";
|
|
3
3
|
import { ActivityWatchdog, Diff, JSON_RPC_ERROR_CODES, 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, defaultModelPerProvider, defineTool, fetchWithRetry, fieldTone, 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, setFunctionList, spanElapsedMs, spawnContainedProcess, str, styleFieldTone, toError, validateTimeoutOverride } from "./startup-0-0-TYUFUOJZ.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, require_from_url, require_re, require_toJS, require_visit, resizeImageInProcess, resolveInlineDraftValue, runCallback, runSynchronousCallback, selectActivePreviewPaneIndex, selectActiveTabItems, selectConfirmedIndicator, sessionLifecycleCreation, stopIndex, streamCutDurationMs, tokenize, trackTranspileCacheWrite, trackWindowsDirectorySecurityWork, userLikeContentBlockIsLlmVisible, verifyWindowsDirectorySecurity, verifyWindowsDirectorySecurityAsync, waitResultTail, waitStatus, withInlineDraft, withTranspileCacheWriteOwner, withWindowsDirectorySecurityOwner } from "./startup-0-1-
|
|
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, require_from_url, require_re, require_toJS, require_visit, resizeImageInProcess, resolveInlineDraftValue, runCallback, runSynchronousCallback, selectActivePreviewPaneIndex, selectActiveTabItems, selectConfirmedIndicator, sessionLifecycleCreation, stopIndex, streamCutDurationMs, tokenize, trackTranspileCacheWrite, trackWindowsDirectorySecurityWork, userLikeContentBlockIsLlmVisible, verifyWindowsDirectorySecurity, verifyWindowsDirectorySecurityAsync, waitResultTail, waitStatus, withInlineDraft, withTranspileCacheWriteOwner, withWindowsDirectorySecurityOwner } from "./startup-0-1-W2G2UY7R.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-ENCUPKKJ.js";
|
|
8
|
-
import { rehydrateDecisionError } from "./settings-startup-
|
|
9
|
-
import * as fs
|
|
8
|
+
import { rehydrateDecisionError } from "./settings-startup-4QCVCI53.js";
|
|
9
|
+
import * as fs from "node:fs/promises";
|
|
10
10
|
import { chmod, lstat, mkdir, mkdtemp, readFile, rm, stat } from "node:fs/promises";
|
|
11
11
|
import { chmodSync, existsSync, mkdirSync, readFileSync, realpath as realpath$1, realpathSync, rmSync, statSync, writeFileSync } from "fs";
|
|
12
12
|
import { basename, dirname, join } from "path";
|
|
13
13
|
import { tmpdir, userInfo } from "node:os";
|
|
14
|
-
import * as path
|
|
14
|
+
import * as path from "node:path";
|
|
15
15
|
import { delimiter as delimiter$1, dirname as dirname$1, isAbsolute as isAbsolute$1, join as join$1, resolve as resolve$1, sep as sep$1, win32 as win32$1 } from "node:path";
|
|
16
16
|
import { spawn } from "child_process";
|
|
17
17
|
import { pathExists } from "../utils/path-exists.js";
|
|
18
|
-
import * as fs$
|
|
18
|
+
import * as fs$1 from "node:fs";
|
|
19
19
|
import { accessSync as accessSync$1, chmodSync as chmodSync$1, constants as constants$2, lstatSync as lstatSync$1, mkdirSync as mkdirSync$1, mkdtempSync, readFileSync as readFileSync$1, realpath as realpath$2, realpathSync as realpathSync$1, statSync as statSync$1 } from "node:fs";
|
|
20
20
|
import { Worker } from "node:worker_threads";
|
|
21
21
|
import { EVAL_WORKER_BUILTIN, evalWorkerExecArgv, startModuleWorker } from "../utils/worker-threads.js";
|
|
@@ -3243,8 +3243,7 @@ var TaskSupervisor = class {
|
|
|
3243
3243
|
const held = state.permits.get(taskId);
|
|
3244
3244
|
if (!held) return;
|
|
3245
3245
|
state.permits.delete(taskId);
|
|
3246
|
-
const
|
|
3247
|
-
const pending = release().catch((error) => {
|
|
3246
|
+
const pending = (0, held.release)().catch((error) => {
|
|
3248
3247
|
state.releaseFailures.push(new Error(rejectionMessage(error)));
|
|
3249
3248
|
}).finally(() => state.releases.delete(pending));
|
|
3250
3249
|
state.releases.add(pending);
|
|
@@ -3447,8 +3446,7 @@ var TaskSupervisor = class {
|
|
|
3447
3446
|
}
|
|
3448
3447
|
if (state.launches.launchHeartbeats.get(operation) === provisional) state.launches.launchHeartbeats.delete(operation);
|
|
3449
3448
|
try {
|
|
3450
|
-
|
|
3451
|
-
await release?.();
|
|
3449
|
+
await (0, held?.release)?.();
|
|
3452
3450
|
} finally {
|
|
3453
3451
|
state.commandAdmissions.delete(admission);
|
|
3454
3452
|
finishAdmission();
|
|
@@ -3989,7 +3987,7 @@ function normalizeDerivedSessionEntries(entries) {
|
|
|
3989
3987
|
const gen = (...fns) => genBridge(fns, false);
|
|
3990
3988
|
// ../../node_modules/stream-chain/src/fun.js
|
|
3991
3989
|
const asArray = (...fns) => {
|
|
3992
|
-
fns = fns.filter((fn) => fn).flat(
|
|
3990
|
+
fns = fns.filter((fn) => fn).flat(1e400).map((fn) => isFunctionList(fn) ? getFunctionList(fn) : fn).flat(1e400);
|
|
3993
3991
|
if (!fns.length) fns = [(x) => x];
|
|
3994
3992
|
let flushed = false;
|
|
3995
3993
|
let stopAt = 0;
|
|
@@ -4149,7 +4147,7 @@ function installHostModuleBridge() {
|
|
|
4149
4147
|
}
|
|
4150
4148
|
// dist/core/extensions/transform-graph.js
|
|
4151
4149
|
const TYPESCRIPT_FILE = /\.[cm]?tsx?$/;
|
|
4152
|
-
const READ_FLAGS = fs$
|
|
4150
|
+
const READ_FLAGS = fs$1.constants.O_RDONLY | (fs$1.constants.O_NONBLOCK ?? 0);
|
|
4153
4151
|
/** The options jiti's transform hands the `transform` option for a TypeScript module it imports. */
|
|
4154
4152
|
function moduleTransformOptions(template, filename, source) {
|
|
4155
4153
|
const babel = template.babel?.sourceMaps ? {
|
|
@@ -4172,7 +4170,7 @@ function isTypeScriptFile(filename) {
|
|
|
4172
4170
|
async function readModuleSource(filename) {
|
|
4173
4171
|
let handle;
|
|
4174
4172
|
try {
|
|
4175
|
-
handle = await fs$
|
|
4173
|
+
handle = await fs$1.promises.open(filename, READ_FLAGS);
|
|
4176
4174
|
} catch {
|
|
4177
4175
|
return;
|
|
4178
4176
|
}
|
|
@@ -5069,8 +5067,7 @@ function doneFor(state, ctx, cancelled) {
|
|
|
5069
5067
|
};
|
|
5070
5068
|
}
|
|
5071
5069
|
const navHandler = (state, action, ctx) => {
|
|
5072
|
-
const
|
|
5073
|
-
const owner = inlineOwnerForItem(item);
|
|
5070
|
+
const owner = inlineOwnerForItem((ctx.itemsByTab[state.currentTab] ?? [])[action.nextIndex]);
|
|
5074
5071
|
const next = withFocusedOptionHasPreview({
|
|
5075
5072
|
...state,
|
|
5076
5073
|
chatFocused: false,
|
|
@@ -5200,8 +5197,7 @@ const notesExitHandler = (state, _action, _ctx) => {
|
|
|
5200
5197
|
};
|
|
5201
5198
|
};
|
|
5202
5199
|
const focusOptionsHandler = (state, action, ctx) => {
|
|
5203
|
-
const
|
|
5204
|
-
const owner = inlineOwnerForItem(focused);
|
|
5200
|
+
const owner = inlineOwnerForItem((ctx.itemsByTab[state.currentTab] ?? [])[action.optionIndex]);
|
|
5205
5201
|
const next = withFocusedOptionHasPreview({
|
|
5206
5202
|
...state,
|
|
5207
5203
|
chatFocused: false,
|
|
@@ -5276,8 +5272,7 @@ const HANDLERS = {
|
|
|
5276
5272
|
* `ignore` is also handled outside the reducer by `handleIgnoreInline` in the runtime fast path.
|
|
5277
5273
|
*/
|
|
5278
5274
|
function reduce(state, action, ctx) {
|
|
5279
|
-
|
|
5280
|
-
return handler(state, action, ctx);
|
|
5275
|
+
return (0, HANDLERS[action.kind])(state, action, ctx);
|
|
5281
5276
|
}
|
|
5282
5277
|
// dist/core/tools/ask-user-question/tool/response-envelope.js
|
|
5283
5278
|
const DECLINE_MESSAGE = "User declined to answer questions";
|
|
@@ -7163,9 +7158,9 @@ function stringifyParams(params) {
|
|
|
7163
7158
|
}
|
|
7164
7159
|
}
|
|
7165
7160
|
async function writePrivateJsonFile(filePath, serializedJson) {
|
|
7166
|
-
await fs
|
|
7167
|
-
await fs
|
|
7168
|
-
await fs
|
|
7161
|
+
await fs.mkdir(path.dirname(filePath), { recursive: true });
|
|
7162
|
+
await fs.writeFile(filePath, serializedJson, { mode: 384 });
|
|
7163
|
+
await fs.chmod(filePath, 384);
|
|
7169
7164
|
}
|
|
7170
7165
|
async function writeCapturedOutput(output, serializedParams) {
|
|
7171
7166
|
try {
|
|
@@ -7194,7 +7189,7 @@ function createStructuredOutputTool(options) {
|
|
|
7194
7189
|
`Do not write a prose final answer after calling ${name}.`
|
|
7195
7190
|
],
|
|
7196
7191
|
parameters: StructuredOutputParameters,
|
|
7197
|
-
maxResultSizeChars:
|
|
7192
|
+
maxResultSizeChars: 1e400,
|
|
7198
7193
|
structuredOutput: true,
|
|
7199
7194
|
async execute(_toolCallId, params, signal, _onUpdate, ctx) {
|
|
7200
7195
|
const { generateStructuredOutput } = await import("../core/structured-output/index.code.js").catch((error) => __atomicOnDemandFailed(error, "structured output"));
|
|
@@ -12136,7 +12131,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
12136
12131
|
return (async () => {
|
|
12137
12132
|
const root = new URL("../", import.meta.url);
|
|
12138
12133
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
12139
|
-
const key = `${root.href}#0.10.
|
|
12134
|
+
const key = `${root.href}#0.10.6-alpha.1`;
|
|
12140
12135
|
let release = releases.get(key);
|
|
12141
12136
|
if (release === undefined) {
|
|
12142
12137
|
const current = (async () => {
|
|
@@ -12164,7 +12159,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
12164
12159
|
} catch {
|
|
12165
12160
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
12166
12161
|
}
|
|
12167
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
12162
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.6-alpha.1" ? installed : running !== undefined && running.version !== "0.10.6-alpha.1" ? "0.10.6-alpha.1" : undefined;
|
|
12168
12163
|
if (updatedTo === undefined) throw error;
|
|
12169
12164
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
12170
12165
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|