@bastani/atomic 0.10.16 → 0.10.17-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 +12 -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 +2 -2
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +2 -2
- package/dist/_shared/mode-shared-2QJSCUM6.js +2 -2
- package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
- package/dist/_shared/sdk-OHKMDJ74.js +510 -142
- package/dist/_shared/sdk-OHKMDJ74.js.map +1 -1
- package/dist/_shared/session-data-AHTU7IS6.js +2 -2
- package/dist/_shared/startup-0-0-ERMIDHQT.js +2 -2
- package/dist/_shared/startup-0-1-RTASI3HG.js +2 -2
- package/dist/_shared/startup-0-2-YZZOC22D.js +2 -2
- package/dist/_shared/startup-0-3-DE2NCS6A.js +2 -2
- package/dist/_shared/startup-0-4-ZMJV547D.js +2 -2
- package/dist/_shared/startup-0-5-HZX3ZPTP.js +2 -2
- package/dist/_shared/startup-10-0-TDQNBDDL.js +4 -3
- package/dist/_shared/startup-10-0-TDQNBDDL.js.map +1 -1
- package/dist/_shared/startup-15-1-4S7FLMNG.js +2 -2
- package/dist/_shared/startup-8-0-34CBHPZH.js +2 -2
- package/dist/_shared/startup-8-1-LZFXSD3Z.js +2 -2
- package/dist/_shared/storage-command-7MGXLJGZ.js +2 -2
- package/dist/_shared/storage-status-K7PX2RXA.js +2 -2
- package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
- package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
- package/dist/builtin/intercom/index.bundle.mjs +1 -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/package.json +1 -1
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +1 -1
- package/dist/builtin/web-access/index.bundle.mjs +1 -1
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/cli/auth-cli.impl.js +3 -3
- package/dist/cli/auth-cli.js +3 -3
- 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.impl.js +3 -3
- package/dist/cli/list-models.js +3 -3
- package/dist/cli/session-picker.impl.js +3 -3
- package/dist/cli/session-picker.js +3 -3
- 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.impl.js +3 -3
- package/dist/cli/storage-search-session.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/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.impl.js +3 -3
- package/dist/core/extensions/loader-host-modules.js +3 -3
- 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 +2 -2
- 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.impl.js +3 -3
- package/dist/core/sdk.js +3 -3
- package/dist/core/session-manager-core.js +2 -2
- package/dist/core/session-manager-list.impl.js +3 -3
- package/dist/core/session-manager-list.js +3 -3
- 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.impl.js +3 -3
- package/dist/core/storage/offline-snapshot-file.js +3 -3
- package/dist/core/storage/prefix.js +7 -0
- package/dist/core/storage/prefix.js.map +1 -1
- package/dist/core/storage/provider.js +2 -2
- package/dist/core/storage/selection.js +2 -2
- package/dist/core/storage/session/branch-fork-source.code.js +2 -2
- package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
- package/dist/core/storage/session/branch-fork-source.js +3 -3
- package/dist/core/storage/session/card-view.impl.js +3 -3
- package/dist/core/storage/session/card-view.js +3 -3
- package/dist/core/storage/session/child-reader.code.js +2 -2
- 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.impl.js +3 -3
- package/dist/core/storage/session/fork-staging.js +3 -3
- package/dist/core/storage/session/fork-window.code.js +2 -2
- 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.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 +2 -2
- package/dist/core/storage/session/snapshot-history.impl.js +3 -3
- package/dist/core/storage/session/snapshot-history.js +3 -3
- package/dist/core/storage/session/sql-session-store.d.ts +1 -0
- 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 +2 -2
- 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 +2 -2
- package/dist/core/tasks/task-reference-archive.js +3 -3
- package/dist/core/tasks/task-reference-identity.js +3 -3
- package/dist/core/tasks/task-reference-stream.impl.js +3 -3
- package/dist/core/tasks/task-reference-stream.js +3 -3
- package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
- package/dist/core/tasks/task-unsaved-answer.js +3 -3
- package/dist/core/tasks/task-view-source.impl.js +3 -3
- package/dist/core/tasks/task-view-source.js +3 -3
- package/dist/core/tools/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.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.impl.js +3 -3
- package/dist/extensions/codemode/execute.js +3 -3
- package/dist/extensions/codemode/renderer.impl.js +3 -3
- package/dist/extensions/codemode/renderer.js +3 -3
- 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/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/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 +2 -2
- package/dist/package-manager-cli.impl.js +3 -3
- package/dist/package-manager-cli.js +3 -3
- package/dist/startup-files.json +1 -1
- package/dist/utils/startup-database-spare.impl.js +3 -3
- package/dist/utils/startup-database-spare.js +3 -3
- package/dist/utils/tools-manager.impl.js +3 -3
- package/dist/utils/tools-manager.js +3 -3
- package/docs/changelog.mdx +2 -2
- package/docs/storage/postgres/tuning.md +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.10.17-alpha.1] - 2026-11-28
|
|
6
|
+
|
|
7
|
+
Atomic opens large existing session databases without upfront migration stalls and speeds up continuing recent sessions.
|
|
8
|
+
|
|
9
|
+
- **Instant startup on large session stores.** Atomic moves worktree snapshot capture headings into a dedicated `session_capture_headings` table populated lazily per session on demand instead of altering or scanning `session_entries` on startup, while `atomic storage migrate` backfills existing snapshots in bounded batches ([#6823](https://github.com/bastani-inc/atomic/pull/6823)).
|
|
10
|
+
- **Faster session continuation and ID prefix lookup.** Continuing the most recent session (`atomic -c`) and resolving session ID prefixes (`--session`, `--fork`) skip loading search text for non-matching sessions ([#6823](https://github.com/bastani-inc/atomic/pull/6823)).
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Opening a large existing SQLite or PostgreSQL session store no longer stalls CLI startup by altering or scanning `session_entries` for worktree snapshot headings. Atomic now stores capture headings in a dedicated `session_capture_headings` table maintained by triggers, populates pre-existing sessions lazily on demand during resume, and lets `atomic storage migrate` backfill existing snapshots in bounded, crash-resumable batches ([#6823](https://github.com/bastani-inc/atomic/pull/6823)).
|
|
15
|
+
- Continuing the most recent session (`atomic -c`) and resolving session ID prefixes (`--session`, `--fork`) skip loading search text for non-matching sessions ([#6823](https://github.com/bastani-inc/atomic/pull/6823)).
|
|
16
|
+
|
|
5
17
|
## [0.10.16] - 2026-11-27
|
|
6
18
|
|
|
7
19
|
Atomic resumes large sessions faster, recovers sooner from provider failures, and makes progress easier to follow.
|
|
@@ -31842,7 +31842,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
31842
31842
|
return (async () => {
|
|
31843
31843
|
const root = new URL("../", import.meta.url);
|
|
31844
31844
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
31845
|
-
const key = `${root.href}#0.10.
|
|
31845
|
+
const key = `${root.href}#0.10.17-alpha.1`;
|
|
31846
31846
|
let release = releases.get(key);
|
|
31847
31847
|
if (release === undefined) {
|
|
31848
31848
|
const current = (async () => {
|
|
@@ -31870,7 +31870,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
31870
31870
|
} catch {
|
|
31871
31871
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
31872
31872
|
}
|
|
31873
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
31873
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.17-alpha.1" ? installed : running !== undefined && running.version !== "0.10.17-alpha.1" ? "0.10.17-alpha.1" : undefined;
|
|
31874
31874
|
if (updatedTo === undefined) throw error;
|
|
31875
31875
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
31876
31876
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -40,7 +40,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
40
40
|
return (async () => {
|
|
41
41
|
const root = new URL("../", import.meta.url);
|
|
42
42
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
43
|
-
const key = `${root.href}#0.10.
|
|
43
|
+
const key = `${root.href}#0.10.17-alpha.1`;
|
|
44
44
|
let release = releases.get(key);
|
|
45
45
|
if (release === undefined) {
|
|
46
46
|
const current = (async () => {
|
|
@@ -68,7 +68,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
68
68
|
} catch {
|
|
69
69
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
70
70
|
}
|
|
71
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
71
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.17-alpha.1" ? installed : running !== undefined && running.version !== "0.10.17-alpha.1" ? "0.10.17-alpha.1" : undefined;
|
|
72
72
|
if (updatedTo === undefined) throw error;
|
|
73
73
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
74
74
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -5131,7 +5131,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
5131
5131
|
return (async () => {
|
|
5132
5132
|
const root = new URL("../", import.meta.url);
|
|
5133
5133
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
5134
|
-
const key = `${root.href}#0.10.
|
|
5134
|
+
const key = `${root.href}#0.10.17-alpha.1`;
|
|
5135
5135
|
let release = releases.get(key);
|
|
5136
5136
|
if (release === undefined) {
|
|
5137
5137
|
const current = (async () => {
|
|
@@ -5159,7 +5159,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
5159
5159
|
} catch {
|
|
5160
5160
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
5161
5161
|
}
|
|
5162
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
5162
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.17-alpha.1" ? installed : running !== undefined && running.version !== "0.10.17-alpha.1" ? "0.10.17-alpha.1" : undefined;
|
|
5163
5163
|
if (updatedTo === undefined) throw error;
|
|
5164
5164
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
5165
5165
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -28206,7 +28206,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
28206
28206
|
return (async () => {
|
|
28207
28207
|
const root = new URL("../", import.meta.url);
|
|
28208
28208
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
28209
|
-
const key = `${root.href}#0.10.
|
|
28209
|
+
const key = `${root.href}#0.10.17-alpha.1`;
|
|
28210
28210
|
let release = releases.get(key);
|
|
28211
28211
|
if (release === undefined) {
|
|
28212
28212
|
const current = (async () => {
|
|
@@ -28234,7 +28234,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
28234
28234
|
} catch {
|
|
28235
28235
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
28236
28236
|
}
|
|
28237
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
28237
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.17-alpha.1" ? installed : running !== undefined && running.version !== "0.10.17-alpha.1" ? "0.10.17-alpha.1" : undefined;
|
|
28238
28238
|
if (updatedTo === undefined) throw error;
|
|
28239
28239
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
28240
28240
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -4174,7 +4174,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
4174
4174
|
return (async () => {
|
|
4175
4175
|
const root = new URL("../", import.meta.url);
|
|
4176
4176
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
4177
|
-
const key = `${root.href}#0.10.
|
|
4177
|
+
const key = `${root.href}#0.10.17-alpha.1`;
|
|
4178
4178
|
let release = releases.get(key);
|
|
4179
4179
|
if (release === undefined) {
|
|
4180
4180
|
const current = (async () => {
|
|
@@ -4202,7 +4202,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
4202
4202
|
} catch {
|
|
4203
4203
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
4204
4204
|
}
|
|
4205
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
4205
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.17-alpha.1" ? installed : running !== undefined && running.version !== "0.10.17-alpha.1" ? "0.10.17-alpha.1" : undefined;
|
|
4206
4206
|
if (updatedTo === undefined) throw error;
|
|
4207
4207
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
4208
4208
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -27318,7 +27318,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
27318
27318
|
return (async () => {
|
|
27319
27319
|
const root = new URL("../", import.meta.url);
|
|
27320
27320
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
27321
|
-
const key = `${root.href}#0.10.
|
|
27321
|
+
const key = `${root.href}#0.10.17-alpha.1`;
|
|
27322
27322
|
let release = releases.get(key);
|
|
27323
27323
|
if (release === undefined) {
|
|
27324
27324
|
const current = (async () => {
|
|
@@ -27346,7 +27346,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
27346
27346
|
} catch {
|
|
27347
27347
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
27348
27348
|
}
|
|
27349
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
27349
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.17-alpha.1" ? installed : running !== undefined && running.version !== "0.10.17-alpha.1" ? "0.10.17-alpha.1" : undefined;
|
|
27350
27350
|
if (updatedTo === undefined) throw error;
|
|
27351
27351
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
27352
27352
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -204,7 +204,7 @@ const INTERACTIVE_ENGINE_PREWARM_DEFAULT_MODEL_API_FLAG = `${INTERACTIVE_ENGINE_
|
|
|
204
204
|
const INTERACTIVE_ENGINE_PREWARM_HANDOFF_FLAG = `${INTERACTIVE_ENGINE_PREWARM_FLAG}-handoff`;
|
|
205
205
|
const PREWARM_HOST_ARGUMENTS_MAX_LENGTH = 8192;
|
|
206
206
|
const PREWARM_READY_MAX_BYTES = 4096;
|
|
207
|
-
const PREWARM_BUILD_STAMP = "
|
|
207
|
+
const PREWARM_BUILD_STAMP = "9128e84a426070b658688bd9cc346e";
|
|
208
208
|
const PREWARM_BUILD_STAMP_UNSTAMPED = ["__ATOMIC_PREWARM", "BUILD_STAMP__"].join("_");
|
|
209
209
|
function prewarmBuildIdentity() {
|
|
210
210
|
if (PREWARM_BUILD_STAMP === PREWARM_BUILD_STAMP_UNSTAMPED) return void 0;
|
|
@@ -568,7 +568,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
568
568
|
return (async () => {
|
|
569
569
|
const root = new URL("../", import.meta.url);
|
|
570
570
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
571
|
-
const key = `${root.href}#0.10.
|
|
571
|
+
const key = `${root.href}#0.10.17-alpha.1`;
|
|
572
572
|
let release = releases.get(key);
|
|
573
573
|
if (release === undefined) {
|
|
574
574
|
const current = (async () => {
|
|
@@ -596,7 +596,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
596
596
|
} catch {
|
|
597
597
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
598
598
|
}
|
|
599
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.
|
|
599
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.17-alpha.1" ? installed : running !== undefined && running.version !== "0.10.17-alpha.1" ? "0.10.17-alpha.1" : undefined;
|
|
600
600
|
if (updatedTo === undefined) throw error;
|
|
601
601
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
602
602
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|