@bastani/atomic 0.10.19-alpha.1 → 0.10.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -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-JXBZ3H27.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/p0-cli-BB45ZQY6.js +2 -2
- package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
- package/dist/_shared/sdk-BHX35EPK.js +2 -2
- package/dist/_shared/session-data-AHTU7IS6.js +2 -2
- package/dist/_shared/startup-0-0-4EDVBK5P.js +2 -2
- package/dist/_shared/startup-0-1-H5IXVRXQ.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 +2 -2
- package/dist/_shared/startup-15-1-WQZBOTMZ.js +2 -2
- package/dist/_shared/startup-8-0-34CBHPZH.js +2 -2
- package/dist/_shared/startup-8-1-QZMXUGHI.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/binary-self-update.js +44 -15
- package/dist/binary-self-update.js.map +1 -1
- 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/CHANGELOG.md +15 -0
- 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/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.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 +8 -3
- package/docs/getting-started/installation.md +3 -3
- package/docs/reference/cli.md +1 -1
- package/package.json +8 -8
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import "./_shared/rolldown-runtime-BGM3D5V3.js";
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
import { constants, createReadStream, createWriteStream } from "node:fs";
|
|
4
|
-
import { access, mkdtemp, readFile, rm } from "node:fs/promises";
|
|
4
|
+
import { access, lstat, mkdtemp, readFile, rm } from "node:fs/promises";
|
|
5
5
|
import { tmpdir } from "node:os";
|
|
6
|
-
import { join } from "node:path";
|
|
6
|
+
import { basename, dirname, join } from "node:path";
|
|
7
|
+
import { createInterface } from "node:readline";
|
|
7
8
|
import { Readable } from "node:stream";
|
|
8
9
|
import { pipeline } from "node:stream/promises";
|
|
9
10
|
import { require_semver } from "./_shared/startup-0-5-HZX3ZPTP.js";
|
|
@@ -17,6 +18,9 @@ const RELEASES = "https://github.com/bastani-inc/atomic/releases";
|
|
|
17
18
|
const RELEASES_API = "https://api.github.com/repos/bastani-inc/atomic/releases";
|
|
18
19
|
const RELEASE_TIMEOUT = { timeoutMs: 1e4 };
|
|
19
20
|
const DOWNLOAD_TIMEOUT = { timeoutMs: 9e5 };
|
|
21
|
+
const FIRST_ARCHIVE_RELEASE = "0.8.30-alpha.1";
|
|
22
|
+
const FIRST_MUSL_ARCHIVE_RELEASE = "0.9.11-alpha.11";
|
|
23
|
+
const FIRST_CURRENT_ARCHIVE_LAYOUT = "0.9.20-alpha.4";
|
|
20
24
|
const RELEASE_TAG = /^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-alpha\.[1-9]\d*)?$/;
|
|
21
25
|
function isReleaseTag(tag) {
|
|
22
26
|
return RELEASE_TAG.test(tag) && (0, import_semver.valid)(tag) === tag;
|
|
@@ -131,17 +135,18 @@ async function verifyArchive(archive, manifest, asset) {
|
|
|
131
135
|
for await (const chunk of createReadStream(archive)) hash.update(chunk);
|
|
132
136
|
if (hash.digest("hex") !== expected.toLowerCase()) throw new Error(`Checksum verification failed for ${asset}.`);
|
|
133
137
|
}
|
|
134
|
-
async function run(command, args, env, failure) {
|
|
138
|
+
async function run(command, args, env, failure, onLine) {
|
|
135
139
|
const launch = await processLaunchAsync(command, { env });
|
|
136
140
|
await new Promise((resolve, reject) => {
|
|
137
141
|
const child = spawnLaunchedProcess(launch, args, {
|
|
138
142
|
env,
|
|
139
143
|
stdio: [
|
|
140
144
|
"ignore",
|
|
141
|
-
"inherit",
|
|
145
|
+
onLine ? "pipe" : "inherit",
|
|
142
146
|
"inherit"
|
|
143
147
|
]
|
|
144
148
|
});
|
|
149
|
+
if (onLine && child.stdout) createInterface({ input: child.stdout }).on("line", onLine);
|
|
145
150
|
child.once("error", (error) => reject(new Error(`${failure}: ${error.message}`, { cause: error })));
|
|
146
151
|
child.once("close", (code, signal) => {
|
|
147
152
|
if (code === 0) resolve();
|
|
@@ -155,11 +160,22 @@ Add-Type -AssemblyName System.IO.Compression.FileSystem
|
|
|
155
160
|
$zip = [IO.Compression.ZipFile]::OpenRead($env:ATOMIC_UPDATE_ARCHIVE)
|
|
156
161
|
try {
|
|
157
162
|
$entry = $zip.GetEntry('install.ps1')
|
|
158
|
-
if ($null -
|
|
159
|
-
|
|
163
|
+
if ($null -ne $entry) {
|
|
164
|
+
[IO.Compression.ZipFileExtensions]::ExtractToFile($entry, $env:ATOMIC_UPDATE_INSTALLER)
|
|
165
|
+
}
|
|
160
166
|
}
|
|
161
167
|
finally { $zip.Dispose() }
|
|
162
168
|
`;
|
|
169
|
+
async function selectInstaller(extracted, install) {
|
|
170
|
+
const bundled = join(dirname(install.executable), basename(extracted));
|
|
171
|
+
for (const path of [extracted, bundled]) try {
|
|
172
|
+
if (!(await lstat(path)).isFile()) throw new Error(`The release installer is not a regular file: ${path}`);
|
|
173
|
+
return path;
|
|
174
|
+
} catch (error) {
|
|
175
|
+
if (error.code !== "ENOENT") throw error;
|
|
176
|
+
}
|
|
177
|
+
throw new Error("Neither release includes an installer for this update. Reinstall with the official release installer.");
|
|
178
|
+
}
|
|
163
179
|
async function installArchive(install, archive, dir, tag, executable) {
|
|
164
180
|
const env = {
|
|
165
181
|
...process.env,
|
|
@@ -172,9 +188,10 @@ async function installArchive(install, archive, dir, tag, executable) {
|
|
|
172
188
|
"GH_TOKEN"
|
|
173
189
|
]) delete env[name];
|
|
174
190
|
const retry = `Retry \`${APP_NAME} update\` or reinstall with the official release installer.`;
|
|
191
|
+
const legacyLayout = (0, import_semver.compare)(tag, FIRST_CURRENT_ARCHIVE_LAYOUT) < 0;
|
|
175
192
|
const installFailure = "Could not update the release install; retry the update or reinstall with the official release installer";
|
|
176
193
|
if (install.binDir) {
|
|
177
|
-
const
|
|
194
|
+
const extracted = join(dir, "install.ps1");
|
|
178
195
|
const command = "powershell.exe";
|
|
179
196
|
const args = [
|
|
180
197
|
"-NoLogo",
|
|
@@ -188,8 +205,9 @@ async function installArchive(install, archive, dir, tag, executable) {
|
|
|
188
205
|
], {
|
|
189
206
|
...env,
|
|
190
207
|
ATOMIC_UPDATE_ARCHIVE: archive,
|
|
191
|
-
ATOMIC_UPDATE_INSTALLER:
|
|
208
|
+
ATOMIC_UPDATE_INSTALLER: extracted
|
|
192
209
|
}, "Could not read the installer from the verified release archive");
|
|
210
|
+
const installer = await selectInstaller(extracted, install);
|
|
193
211
|
await run(command, [
|
|
194
212
|
...args,
|
|
195
213
|
"-ExecutionPolicy",
|
|
@@ -201,24 +219,33 @@ async function installArchive(install, archive, dir, tag, executable) {
|
|
|
201
219
|
"-UpdateFrom",
|
|
202
220
|
install.executable,
|
|
203
221
|
"-UpdateArchive",
|
|
204
|
-
archive
|
|
222
|
+
archive,
|
|
223
|
+
...installer !== extracted && legacyLayout ? ["-LegacyLayout"] : []
|
|
205
224
|
], env, installFailure);
|
|
206
225
|
} else {
|
|
207
|
-
|
|
226
|
+
const member = "atomic/install.sh";
|
|
227
|
+
const extracted = join(dir, member);
|
|
228
|
+
let hasInstaller = false;
|
|
229
|
+
await run("tar", ["-tzf", archive], env, "Could not read the verified release archive", (line) => {
|
|
230
|
+
if (line === member) hasInstaller = true;
|
|
231
|
+
});
|
|
232
|
+
if (hasInstaller) await run("tar", [
|
|
208
233
|
"-xzf",
|
|
209
234
|
archive,
|
|
210
235
|
"-C",
|
|
211
236
|
dir,
|
|
212
|
-
|
|
213
|
-
], env, "Could not read the installer from the verified release archive
|
|
237
|
+
member
|
|
238
|
+
], env, "Could not read the installer from the verified release archive");
|
|
239
|
+
const installer = await selectInstaller(extracted, install);
|
|
214
240
|
await run("sh", [
|
|
215
|
-
|
|
241
|
+
installer,
|
|
216
242
|
"--ref",
|
|
217
243
|
tag,
|
|
218
244
|
"--update-from",
|
|
219
245
|
install.executable,
|
|
220
246
|
"--update-archive",
|
|
221
|
-
archive
|
|
247
|
+
archive,
|
|
248
|
+
...installer !== extracted && legacyLayout ? ["--legacy-layout"] : []
|
|
222
249
|
], env, installFailure);
|
|
223
250
|
}
|
|
224
251
|
const installed = await findBinaryInstall(executable);
|
|
@@ -251,8 +278,10 @@ async function updateBinaryInstall(options = {}) {
|
|
|
251
278
|
status: "current",
|
|
252
279
|
version: install.version
|
|
253
280
|
};
|
|
254
|
-
await checkWritable(install);
|
|
255
281
|
const asset = releaseAsset();
|
|
282
|
+
const oldest = asset.endsWith("-musl.tar.gz") ? FIRST_MUSL_ARCHIVE_RELEASE : FIRST_ARCHIVE_RELEASE;
|
|
283
|
+
if ((0, import_semver.compare)(version, oldest) < 0) throw new Error(`Release ${version} is too old. The oldest supported archive for this platform is ${oldest}.`);
|
|
284
|
+
await checkWritable(install);
|
|
256
285
|
const base = process.env.ATOMIC_RELEASE_BASE_URL || `${releases}/download/${version}`;
|
|
257
286
|
const dir = await mkdtemp(join(tmpdir(), "atomic-release-update-"));
|
|
258
287
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"binary-self-update.js","names":["valid","compare"],"sources":["../src/binary-self-update.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"binary-self-update.js","names":["valid","compare"],"sources":["../src/binary-self-update.ts"],"mappings":";;;;;;;;;;;;;;;;AAqBA,MAAM,WAAW;AACjB,MAAM,eAAe;AACrB,MAAM,kBAAkB,EAAE,WAAW,IAAM;AAC3C,MAAM,mBAAmB,EAAE,WAAW,IAAW;AACjD,MAAM,wBAAwB;AAC9B,MAAM,6BAA6B;AAEnC,MAAM,+BAA+B;AACrC,MAAM,cAAc;AAcpB,SAAS,aAAa,KAAW;CAChC,OAAO,YAAY,KAAK,GAAG,MAAA,GAAKA,cAAAA,MAAAA,CAAM,GAAG,MAAM;AAChD;AAEA,eAAe,cAAc,SAAsB;CAClD,KAAK,MAAM,QAAQ;EAAC,QAAQ;EAAM,KAAK,QAAQ,MAAM,UAAU;EAAG,GAAI,QAAQ,SAAS,CAAC,QAAQ,MAAM,IAAI,CAAA;CAAG,GAC5G,IAAI;EACH,MAAM,OAAO,MAAM,UAAU,IAAI;CAClC,SAAS,OAAO;EACf,MAAM,IAAI,MAAM,0CAA0C,QAAQ,EAAE,OAAO,MAAK,CAAE;CACnF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,OAAO;CACnD,IACC,CAAC,QAAQ,SACT,QAAQ,IAAI,yBAAyB,QACpC,iBAAiB,OAAO,IAAI,eAAe,IAAI,cAAc,IAE9D,OAAO;EAAE,QAAQ;EAAW,SAAS,QAAQ;CAAO;CAErD,MAAM,QAAQ,aAAY;CAC1B,MAAM,SAAS,MAAM,SAAS,cAAc,IAAI,6BAA6B;CAC7E,KAAA,GAAIA,cAAAA,QAAAA,CAAQ,SAAS,MAAM,IAAI,GAC9B,MAAM,IAAI,MAAM,WAAW,QAAO,iEAAkE,OAAM,EAAG;CAE9G,MAAM,cAAc,OAAO;CAC3B,MAAM,OAAO,QAAQ,IAAI,2BAA2B,GAAG,SAAQ,YAAa;CAC5E,MAAM,MAAM,MAAM,QAAQ,KAAK,OAAM,GAAI,wBAAwB,CAAC;CAClE,IAAI;EACH,MAAM,UAAU,KAAK,KAAK,KAAK;EAC/B,MAAM,WAAW,KAAK,KAAK,YAAY;EACvC,MAAM,SAAS,GAAG,KAAI,cAAe,cAAc,QAAQ;EAC3D,MAAM,SAAS,GAAG,KAAI,GAAI,SAAS,OAAO,OAAO;EACjD,MAAM,cAAc,SAAS,UAAU,KAAK;EAC5C,MAAM,eAAe,SAAS,SAAS,KAAK,SAAS,QAAQ,UAAU;EACvE,OAAO;GAAE,QAAQ;GAAW,UAAU,QAAQ;GAAS;EAAO;CAC/D,UAAU;EACT,MAAM,GAAG,KAAK;GAAE,WAAW;GAAM,OAAO;GAAM,YAAY;GAAG,YAAY;EAAG,CAAE;CAC/E;AACD"}
|
|
@@ -7,7 +7,7 @@ import * as __atomicHostImport1 from "@bastani/atomic-ai";
|
|
|
7
7
|
if (!(name in namespace)) missing.push(`The requested module '${specifier}' does not provide an export named '${name}'`);
|
|
8
8
|
if (missing.length > 0) {
|
|
9
9
|
const application = typeof __atomicHostImport0.APP_NAME === "string" ? __atomicHostImport0.APP_NAME : "atomic";
|
|
10
|
-
if (__atomicHostImport0.VERSION !== "0.10.19
|
|
10
|
+
if (__atomicHostImport0.VERSION !== "0.10.19") missing.unshift(application + " was updated to 0.10.19 while this session was running; restart it to keep using the intercom extension.");
|
|
11
11
|
throw new Error(missing.join("\n"));
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -6,7 +6,7 @@ import * as __atomicHostImport0 from "@bastani/atomic";
|
|
|
6
6
|
if (!(name in namespace)) missing.push(`The requested module '${specifier}' does not provide an export named '${name}'`);
|
|
7
7
|
if (missing.length > 0) {
|
|
8
8
|
const application = typeof __atomicHostImport0.APP_NAME === "string" ? __atomicHostImport0.APP_NAME : "atomic";
|
|
9
|
-
if (__atomicHostImport0.VERSION !== "0.10.19
|
|
9
|
+
if (__atomicHostImport0.VERSION !== "0.10.19") missing.unshift(application + " was updated to 0.10.19 while this session was running; restart it to keep using the mcp extension.");
|
|
10
10
|
throw new Error(missing.join("\n"));
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.10.19] - 2026-11-28
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
|
|
9
|
+
- Atomic renamed the bundled `workflow-files` skill to `workflow`. The old name no longer works. Replace `/skill:workflow-files` with `/skill:workflow` in saved prompts. Use `skill://workflow` in skill links and `workflow` in subagent skill lists ([#6854](https://github.com/bastani-inc/atomic/pull/6854)).
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- The `impeccable` skill stops waiting when a live preview stays idle and keeps the choices you already made. Setup no longer starts by asking you to sign in ([#6851](https://github.com/bastani-inc/atomic/pull/6851)).
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- The `research-codebase` skill tells the agent how to wait for existing research tasks without starting them again ([#6851](https://github.com/bastani-inc/atomic/pull/6851)).
|
|
18
|
+
- The `subagent` skill now explains when a subagent should reuse the parent conversation and when to give one agent responsibility for editing files ([#6851](https://github.com/bastani-inc/atomic/pull/6851)).
|
|
19
|
+
|
|
5
20
|
## [0.10.19-alpha.1] - 2026-11-28
|
|
6
21
|
|
|
7
22
|
### Breaking Changes
|
|
@@ -10,7 +10,7 @@ import * as __atomicHostImport4 from "@bastani/atomic-ai";
|
|
|
10
10
|
if (!(name in namespace)) missing.push(`The requested module '${specifier}' does not provide an export named '${name}'`);
|
|
11
11
|
if (missing.length > 0) {
|
|
12
12
|
const application = typeof __atomicHostImport0.APP_NAME === "string" ? __atomicHostImport0.APP_NAME : "atomic";
|
|
13
|
-
if (__atomicHostImport0.VERSION !== "0.10.19
|
|
13
|
+
if (__atomicHostImport0.VERSION !== "0.10.19") missing.unshift(application + " was updated to 0.10.19 while this session was running; restart it to keep using the subagents extension.");
|
|
14
14
|
throw new Error(missing.join("\n"));
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -8,7 +8,7 @@ import * as __atomicHostImport2 from "@bastani/atomic-ai/compat";
|
|
|
8
8
|
if (!(name in namespace)) missing.push(`The requested module '${specifier}' does not provide an export named '${name}'`);
|
|
9
9
|
if (missing.length > 0) {
|
|
10
10
|
const application = typeof __atomicHostImport0.APP_NAME === "string" ? __atomicHostImport0.APP_NAME : "atomic";
|
|
11
|
-
if (__atomicHostImport0.VERSION !== "0.10.19
|
|
11
|
+
if (__atomicHostImport0.VERSION !== "0.10.19") missing.unshift(application + " was updated to 0.10.19 while this session was running; restart it to keep using the web-access extension.");
|
|
12
12
|
throw new Error(missing.join("\n"));
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
package/dist/cli/auth-cli.js
CHANGED
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -112,7 +112,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
112
112
|
return (async () => {
|
|
113
113
|
const root = new URL("../", import.meta.url);
|
|
114
114
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
115
|
-
const key = `${root.href}#0.10.19
|
|
115
|
+
const key = `${root.href}#0.10.19`;
|
|
116
116
|
let release = releases.get(key);
|
|
117
117
|
if (release === undefined) {
|
|
118
118
|
const current = (async () => {
|
|
@@ -140,7 +140,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
140
140
|
} catch {
|
|
141
141
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
142
142
|
}
|
|
143
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.19
|
|
143
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.19" ? installed : running !== undefined && running.version !== "0.10.19" ? "0.10.19" : undefined;
|
|
144
144
|
if (updatedTo === undefined) throw error;
|
|
145
145
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
146
146
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using intercom.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using intercom.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
package/dist/cli/list-models.js
CHANGED
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
package/dist/cli/startup-ui.js
CHANGED
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using session storage.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using session storage.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using session storage.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.19
|
|
9
|
+
const key = `${root.href}#0.10.19`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.19
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19
|
|
30
|
+
if (running === undefined || running.version === "0.10.19") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using session storage.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|