@bastani/atomic 0.10.15-alpha.1 → 0.10.15
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 +35 -0
- package/README.md +1 -1
- 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 +2 -2
- package/dist/_shared/sdk-OHKMDJ74.js +2 -2
- package/dist/_shared/session-data-AHTU7IS6.js +2 -2
- package/dist/_shared/startup-0-0-Q3MWKUK4.js +2 -2
- package/dist/_shared/startup-0-1-M6OWAYHH.js +2 -2
- package/dist/_shared/startup-0-2-2HUMCPKX.js +2 -2
- package/dist/_shared/startup-0-3-4ZYBYQNM.js +2 -2
- package/dist/_shared/startup-0-4-ZMJV547D.js +2 -2
- package/dist/_shared/startup-0-5-YDW47QX6.js +2 -2
- package/dist/_shared/startup-10-0-TDQNBDDL.js +2 -2
- 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/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 +18 -0
- package/docs/docs.json +4 -4
- package/docs/environment-variables.md +1 -1
- package/docs/getting-started/installation.md +2 -2
- package/docs/herdr.md +2 -2
- package/docs/keybindings.md +1 -1
- package/docs/quickstart.md +1 -1
- package/docs/reference.md +3 -4
- package/docs/terminal-setup.md +1 -1
- package/docs/tmux.md +2 -2
- package/package.json +8 -8
- package/docs/termux.md +0 -144
|
@@ -297,7 +297,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
297
297
|
return (async () => {
|
|
298
298
|
const root = new URL("../../../", import.meta.url);
|
|
299
299
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
300
|
-
const key = `${root.href}#0.10.15
|
|
300
|
+
const key = `${root.href}#0.10.15`;
|
|
301
301
|
let release = releases.get(key);
|
|
302
302
|
if (release === undefined) {
|
|
303
303
|
const current = (async () => {
|
|
@@ -325,7 +325,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
325
325
|
} catch {
|
|
326
326
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
327
327
|
}
|
|
328
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.15
|
|
328
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.15" ? installed : running !== undefined && running.version !== "0.10.15" ? "0.10.15" : undefined;
|
|
329
329
|
if (updatedTo === undefined) throw error;
|
|
330
330
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
331
331
|
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.15
|
|
9
|
+
const key = `${root.href}#0.10.15`;
|
|
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.15
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15
|
|
30
|
+
if (running === undefined || running.version === "0.10.15") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tree.", {
|
|
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.15
|
|
9
|
+
const key = `${root.href}#0.10.15`;
|
|
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.15
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15
|
|
30
|
+
if (running === undefined || running.version === "0.10.15") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tree.", {
|
|
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.15
|
|
9
|
+
const key = `${root.href}#0.10.15`;
|
|
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.15
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15
|
|
30
|
+
if (running === undefined || running.version === "0.10.15") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /fork.", {
|
|
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.15
|
|
9
|
+
const key = `${root.href}#0.10.15`;
|
|
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.15
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15
|
|
30
|
+
if (running === undefined || running.version === "0.10.15") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /fork.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -1099,7 +1099,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
1099
1099
|
return (async () => {
|
|
1100
1100
|
const root = new URL("./", import.meta.url);
|
|
1101
1101
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
1102
|
-
const key = `${root.href}#0.10.15
|
|
1102
|
+
const key = `${root.href}#0.10.15`;
|
|
1103
1103
|
let release = releases.get(key);
|
|
1104
1104
|
if (release === undefined) {
|
|
1105
1105
|
const current = (async () => {
|
|
@@ -1127,7 +1127,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
1127
1127
|
} catch {
|
|
1128
1128
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
1129
1129
|
}
|
|
1130
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.15
|
|
1130
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.15" ? installed : running !== undefined && running.version !== "0.10.15" ? "0.10.15" : undefined;
|
|
1131
1131
|
if (updatedTo === undefined) throw error;
|
|
1132
1132
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
1133
1133
|
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.15
|
|
9
|
+
const key = `${root.href}#0.10.15`;
|
|
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.15
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15
|
|
30
|
+
if (running === undefined || running.version === "0.10.15") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 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.15
|
|
9
|
+
const key = `${root.href}#0.10.15`;
|
|
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.15
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15
|
|
30
|
+
if (running === undefined || running.version === "0.10.15") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
package/dist/startup-files.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":2,"self":"@bastani/atomic","packages":[["@bastani/atomic",-1],["@bastani/atomic-tui",0],["@bastani/atomic-codemode",0],["proper-lockfile",0],["graceful-fs",3],["retry",3],["signal-exit",3],["get-east-asian-width",1],["marked",1],["marked-cjk-friendly",1],["chalk",0],["@bastani/atomic-ai",0],["@bastani/atomic-schema",11],["@bastani/atomic-agent-core",0],["glob",0]],"files":[[0,"dist/modes/interactive-engine/engine-prewarm.js"],[0,"dist/_shared/rolldown-runtime-BGM3D5V3.js"],[0,"dist/_shared/p1a-prewarm-XIU57JHF.js"],[0,"dist/_shared/p0-cli-BB45ZQY6.js"],[1,"dist/helper-programs/index.js"],[1,"dist/_main-ea49a2e6.js"],[1,"dist/_rolldown-runtime-e937a250.js"],[1,"dist/_lazy-eb232bf4.js"],[0,"dist/utils/canonical-path.js"],[0,"dist/utils/path-exists.js"],[0,"dist/utils/worker-threads.js"],[2,"dist/node-options.js"],[0,"dist/_shared/p1-shared-RG5I5LJ6.js"],[0,"dist/core/storage/node-sqlite-thread.js"],[0,"dist/core/storage/dialect.js"],[0,"dist/modes/interactive/startup-shell-eligibility.js"],[0,"dist/_shared/p1b-elig-TVB5CBLL.js"],[3,"index.js"],[0,"dist/_shared/p1-elig-shell-WWRO3L2R.js"],[3,"lib/lockfile.js"],[4,"graceful-fs.js"],[4,"polyfills.js"],[4,"legacy-streams.js"],[4,"clone.js"],[5,"index.js"],[5,"lib/retry.js"],[5,"lib/retry_operation.js"],[6,"index.js"],[6,"signals.js"],[3,"lib/mtime-precision.js"],[3,"lib/adapter.js"],[0,"dist/modes/interactive/startup-shell.js"],[0,"dist/_shared/p2-shell-TJBYQMCJ.js"],[1,"dist/index.js"],[1,"dist/_main-eb08764b.js"],[1,"dist/_main-e8b70ad5.js"],[7,"index.js"],[7,"lookup.js"],[7,"lookup-data.js"],[7,"utilities.js"],[1,"dist/_main-ee570765.js"],[1,"dist/_main-e3d2c0ee.js"],[1,"dist/_main-e6811217.js"],[1,"dist/_main-eb967ea2.js"],[1,"dist/_main-eadbd863.js"],[8,"lib/marked.esm.js"],[9,"dist/index.js"],[1,"dist/_main-ec392c93.js"],[1,"dist/_main-e6ce3ee9.js"],[1,"dist/native-modifiers.js"],[1,"dist/native-platform.js"],[1,"dist/native-module-path.js"],[1,"dist/_main-ee2a1713.js"],[0,"dist/_shared/p2-shell-main-B2WIALFD.js"],[10,"source/index.js"],[10,"source/utilities.js"],[10,"source/vendor/ansi-styles/index.js"],[10,"source/vendor/supports-color/index.js"],[0,"dist/utils/memoize-async.js"],[0,"dist/_shared/p2-common-YLSYXMDQ.js"],[0,"dist/utils/startup-stages.js"],[0,"dist/_shared/p3a-stages-66VAGJL3.js"],[0,"dist/core/http-dispatcher.js"],[0,"dist/_shared/http-undici-FVPTZA4G.js"],[0,"dist/_shared/http-YFAPTIZD.js"],[11,"dist/utils/node-http-proxy.js"],[11,"dist/_main-
|
|
1
|
+
{"version":2,"self":"@bastani/atomic","packages":[["@bastani/atomic",-1],["@bastani/atomic-tui",0],["@bastani/atomic-codemode",0],["proper-lockfile",0],["graceful-fs",3],["retry",3],["signal-exit",3],["get-east-asian-width",1],["marked",1],["marked-cjk-friendly",1],["chalk",0],["@bastani/atomic-ai",0],["@bastani/atomic-schema",11],["@bastani/atomic-agent-core",0],["glob",0]],"files":[[0,"dist/modes/interactive-engine/engine-prewarm.js"],[0,"dist/_shared/rolldown-runtime-BGM3D5V3.js"],[0,"dist/_shared/p1a-prewarm-XIU57JHF.js"],[0,"dist/_shared/p0-cli-BB45ZQY6.js"],[1,"dist/helper-programs/index.js"],[1,"dist/_main-ea49a2e6.js"],[1,"dist/_rolldown-runtime-e937a250.js"],[1,"dist/_lazy-eb232bf4.js"],[0,"dist/utils/canonical-path.js"],[0,"dist/utils/path-exists.js"],[0,"dist/utils/worker-threads.js"],[2,"dist/node-options.js"],[0,"dist/_shared/p1-shared-RG5I5LJ6.js"],[0,"dist/core/storage/node-sqlite-thread.js"],[0,"dist/core/storage/dialect.js"],[0,"dist/modes/interactive/startup-shell-eligibility.js"],[0,"dist/_shared/p1b-elig-TVB5CBLL.js"],[3,"index.js"],[0,"dist/_shared/p1-elig-shell-WWRO3L2R.js"],[3,"lib/lockfile.js"],[4,"graceful-fs.js"],[4,"polyfills.js"],[4,"legacy-streams.js"],[4,"clone.js"],[5,"index.js"],[5,"lib/retry.js"],[5,"lib/retry_operation.js"],[6,"index.js"],[6,"signals.js"],[3,"lib/mtime-precision.js"],[3,"lib/adapter.js"],[0,"dist/modes/interactive/startup-shell.js"],[0,"dist/_shared/p2-shell-TJBYQMCJ.js"],[1,"dist/index.js"],[1,"dist/_main-eb08764b.js"],[1,"dist/_main-e8b70ad5.js"],[7,"index.js"],[7,"lookup.js"],[7,"lookup-data.js"],[7,"utilities.js"],[1,"dist/_main-ee570765.js"],[1,"dist/_main-e3d2c0ee.js"],[1,"dist/_main-e6811217.js"],[1,"dist/_main-eb967ea2.js"],[1,"dist/_main-eadbd863.js"],[8,"lib/marked.esm.js"],[9,"dist/index.js"],[1,"dist/_main-ec392c93.js"],[1,"dist/_main-e6ce3ee9.js"],[1,"dist/native-modifiers.js"],[1,"dist/native-platform.js"],[1,"dist/native-module-path.js"],[1,"dist/_main-ee2a1713.js"],[0,"dist/_shared/p2-shell-main-B2WIALFD.js"],[10,"source/index.js"],[10,"source/utilities.js"],[10,"source/vendor/ansi-styles/index.js"],[10,"source/vendor/supports-color/index.js"],[0,"dist/utils/memoize-async.js"],[0,"dist/_shared/p2-common-YLSYXMDQ.js"],[0,"dist/utils/startup-stages.js"],[0,"dist/_shared/p3a-stages-66VAGJL3.js"],[0,"dist/core/http-dispatcher.js"],[0,"dist/_shared/http-undici-FVPTZA4G.js"],[0,"dist/_shared/http-YFAPTIZD.js"],[11,"dist/utils/node-http-proxy.js"],[11,"dist/_main-e624fadb.js"],[11,"dist/_rolldown-runtime-ee51c298.js"],[11,"dist/utils/tls-certificate.js"],[11,"dist/utils/request-admission.js"],[0,"dist/main.js"],[0,"dist/_shared/startup-8-1-LZFXSD3Z.js"],[0,"dist/_shared/startup-0-0-Q3MWKUK4.js"],[0,"dist/_shared/settings-startup-HXQLSUWM.js"],[0,"dist/core/storage/errors.js"],[1,"dist/builtin-command-names.js"],[0,"dist/core/storage/creation-time.js"],[0,"dist/_shared/startup-0-1-M6OWAYHH.js"],[11,"dist/index.js"],[11,"dist/_main-e94eccf7.js"],[11,"dist/_main-efb2d8b1.js"],[11,"dist/_main-e1febd93.js"],[11,"dist/_main-e19a4fd4.js"],[11,"dist/_main-e86630a4.js"],[12,"dist/index.js"],[12,"dist/_main-ed41ae74.js"],[12,"dist/formats/index.js"],[11,"dist/_main-e43f2618.js"],[0,"dist/core/storage/prefix.js"],[11,"dist/compat.js"],[11,"dist/_main-e40a21e7.js"],[11,"dist/_main-e1f4cc85.js"],[11,"dist/_main-ed00b08b.js"],[11,"dist/_main-e31009eb.js"],[11,"dist/_main-e47af6ea.js"],[11,"dist/_main-ec053840.js"],[11,"dist/_main-e956ed78.js"],[11,"dist/_main-e52fba76.js"],[11,"dist/_main-ed6af990.js"],[11,"dist/_main-ecb6ff00.js"],[11,"dist/_main-e169320c.js"],[11,"dist/_main-ee45aadd.js"],[11,"dist/providers/github-copilot.js"],[11,"dist/utils/typebox/index.js"],[11,"dist/_lazy-e41faaec.js"],[0,"dist/core/storage/added-exports.js"],[0,"dist/core/storage/migrations.js"],[0,"dist/core/storage/added-exports-0-10-11.js"],[0,"dist/core/storage/schema-catalog.js"],[0,"dist/core/storage/statement-sequence.js"],[0,"dist/core/storage/fenced-paths.js"],[0,"dist/core/storage/sqlite-open-batch.js"],[11,"dist/providers/model-schema.js"],[11,"dist/utils/provider-env.js"],[11,"dist/api/transform-messages.js"],[0,"dist/_shared/startup-0-2-2HUMCPKX.js"],[13,"dist/index.js"],[13,"dist/_main-e87dd55a.js"],[13,"dist/_rolldown-runtime-e937a250.js"],[13,"dist/_main-ebff8f0f.js"],[0,"dist/core/storage/file-identity.js"],[11,"dist/api/llama-cpp-classify.lazy.js"],[11,"dist/_lazy-e94e5085.js"],[11,"dist/api/typesafe-system-one.lazy.js"],[11,"dist/providers/compat-schema.js"],[11,"dist/utils/typebox/compile.js"],[11,"dist/utils/models-dev-catalog.js"],[11,"dist/utils/retry-hints.js"],[11,"dist/api/anthropic-assistant-content.js"],[11,"dist/utils/typebox/value.js"],[0,"dist/core/storage/libsql-removed.js"],[0,"dist/core/storage/selection.js"],[0,"dist/_shared/startup-0-3-4ZYBYQNM.js"],[2,"dist/declarations.js"],[2,"dist/identifier.js"],[2,"dist/source.js"],[11,"dist/utils/provider-retry.js"],[11,"dist/utils/retry-sleep.js"],[0,"dist/_shared/startup-8-0-34CBHPZH.js"],[0,"dist/core/storage/session/errors.js"],[0,"dist/core/storage/node-sqlite.js"],[0,"dist/core/storage/node-sqlite-file-gate.js"],[0,"dist/core/storage/write-ahead-log.js"],[0,"dist/_shared/startup-0-5-YDW47QX6.js"],[0,"dist/_shared/startup-0-4-ZMJV547D.js"],[0,"dist/core/worktree-snapshot/blob-store.js"],[0,"dist/core/storage/statement-batches.js"],[0,"dist/core/worktree-snapshot/fork-blob-guard.js"],[0,"dist/core/worktree-snapshot/fork-snapshot-index.js"],[0,"dist/core/storage/session/fork-schema.js"],[0,"dist/core/storage/provider.js"],[14,"dist/esm/index.min.js"],[11,"dist/providers/all.js"],[11,"dist/providers/openrouter.js"],[11,"dist/api/openai-codex-responses.js"],[11,"dist/_lazy-ef5cdb0f.js"],[11,"dist/_lazy-eaaea41b.js"],[11,"dist/providers/github-copilot-env.js"],[0,"dist/_shared/startup-15-1-4S7FLMNG.js"],[0,"dist/_shared/startup-15-0-YUKGAC63.js"],[0,"dist/_shared/startup-14-0-MLX36RBG.js"],[0,"dist/_shared/startup-10-0-TDQNBDDL.js"],[0,"dist/core/session-manager-core.js"],[11,"dist/api/strict-tool-limits.js"],[0,"dist/_shared/session-manager-list-2BLEEZVG.js"],[0,"dist/_shared/startup-12-0-55AAXBJZ.js"],[0,"dist/core/extensions/runner-context.js"],[0,"dist/core/model-registry.js"],[11,"dist/api/anthropic-serialized-body.js"],[0,"dist/cli/settings-startup.js"],[0,"dist/_shared/settings-startup-8-DNZ2RIHM.js"],[0,"dist/modes/interactive/interactive-mode.js"],[0,"dist/_shared/mode-shared-2QJSCUM6.js"],[0,"dist/_shared/mode-interactive-sdk-7KXUFI2F.js"],[1,"dist/layout-node.js"],[0,"dist/modes/rpc/rpc-mode.js"],[0,"dist/_shared/mode-rpc-sdk-IOPGDYR4.js"],[0,"dist/index.js"],[0,"dist/_shared/sdk-OHKMDJ74.js"],[0,"dist/core/storage/schema.js"],[11,"dist/api/cloudflare-gateway-binding.js"],[0,"dist/core/storage/sqlite-facade.js"],[11,"dist/utils/oauth-page.js"],[0,"dist/core/storage/index.js"],[0,"dist/core/extensions/loader-virtual-modules.js"],[0,"dist/builtin/intercom/index.bundle.mjs"],[0,"dist/builtin/subagents/src/extension/index.bundle.mjs"],[0,"dist/builtin/mcp/index.bundle.mjs"],[0,"dist/builtin/web-access/index.bundle.mjs"]]}
|
|
@@ -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.15
|
|
9
|
+
const key = `${root.href}#0.10.15`;
|
|
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.15
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15
|
|
30
|
+
if (running === undefined || running.version === "0.10.15") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 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.15
|
|
9
|
+
const key = `${root.href}#0.10.15`;
|
|
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.15
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15
|
|
30
|
+
if (running === undefined || running.version === "0.10.15") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 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.15
|
|
9
|
+
const key = `${root.href}#0.10.15`;
|
|
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.15
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15
|
|
30
|
+
if (running === undefined || running.version === "0.10.15") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 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.15
|
|
9
|
+
const key = `${root.href}#0.10.15`;
|
|
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.15
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15
|
|
30
|
+
if (running === undefined || running.version === "0.10.15") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
package/docs/changelog.mdx
CHANGED
|
@@ -10,6 +10,24 @@ description: "What's new in Atomic"
|
|
|
10
10
|
After each release, the publish-release skill regenerates this page in its own docs PR.
|
|
11
11
|
*/}
|
|
12
12
|
|
|
13
|
+
<Update label="November 27, 2026" description="0.10.15-alpha.2">
|
|
14
|
+
|
|
15
|
+
This prerelease removes unsupported Termux documentation and cleans up the Platform setup navigation.
|
|
16
|
+
|
|
17
|
+
- **Cleaner Platform setup docs.** Removed unsupported Android/Termux documentation (`termux.md` and Termux references across guides and READMEs, redirecting `/termux` to `/getting-started/installation`) and reordered Platform setup to Configure your terminal, Shell aliases, Run on Windows, Run in Tmux, and Run in Herdr ([#6765](https://github.com/bastani-inc/atomic/pull/6765), [#6766](https://github.com/bastani-inc/atomic/pull/6766)).
|
|
18
|
+
|
|
19
|
+
</Update>
|
|
20
|
+
|
|
21
|
+
<Update label="November 27, 2026" description="0.10.15-alpha.1">
|
|
22
|
+
|
|
23
|
+
This patch removes the remaining built-in compaction output caps, adds `~` home expansion to `shellPath`, and overhauls the documentation for clarity without reading source code.
|
|
24
|
+
|
|
25
|
+
- **No built-in compaction output caps on extensions.** `session_before_compact` hooks now keep whatever replacement text they return without enforcing a 32,000-token, 50%-trigger-share, or trigger-overflow cap, matching remote compactor models, while retiring the unused cap and line-width constants from compaction logic ([#6763](https://github.com/bastani-inc/atomic/pull/6763)).
|
|
26
|
+
- **Home-directory `~` expansion in `shellPath`.** Custom shell paths in `settings.json` now expand a leading `~/` (and `~\` on Windows) to your home directory, matching the documented schema ([#6763](https://github.com/bastani-inc/atomic/pull/6763)).
|
|
27
|
+
- **Reorganized, source-verified documentation.** Split Compaction into Memory Compaction, Custom Compactors, and Branch Summaries; added `How Atomic works`, `Slash commands`, `Choose a model`, `Worktree snapshots reference`, and `Background tasks reference`; grouped Models Reference with `models.json` fields; flattened single-page storage folders; and corrected verified source-vs-docs discrepancies across the docs ([#6763](https://github.com/bastani-inc/atomic/pull/6763)).
|
|
28
|
+
|
|
29
|
+
</Update>
|
|
30
|
+
|
|
13
31
|
<Update label="November 27, 2026" description="0.10.14">
|
|
14
32
|
|
|
15
33
|
This patch accepts `null` optional arguments across waitable tools and fixes PostgreSQL background snapshot collection.
|
package/docs/docs.json
CHANGED
|
@@ -261,12 +261,11 @@
|
|
|
261
261
|
{
|
|
262
262
|
"group": "Platform setup",
|
|
263
263
|
"pages": [
|
|
264
|
-
"windows",
|
|
265
|
-
"termux",
|
|
266
264
|
"terminal-setup",
|
|
265
|
+
"shell-aliases",
|
|
266
|
+
"windows",
|
|
267
267
|
"tmux",
|
|
268
|
-
"herdr"
|
|
269
|
-
"shell-aliases"
|
|
268
|
+
"herdr"
|
|
270
269
|
]
|
|
271
270
|
},
|
|
272
271
|
{
|
|
@@ -359,6 +358,7 @@
|
|
|
359
358
|
{ "source": "/decisions", "destination": "/sdk/structured-decisions" },
|
|
360
359
|
{ "source": "/structured-decisions", "destination": "/sdk/structured-decisions" },
|
|
361
360
|
{ "source": "/compactors", "destination": "/compaction/custom-compactors" },
|
|
361
|
+
{ "source": "/termux", "destination": "/getting-started/installation" },
|
|
362
362
|
{ "source": "/blueprints", "destination": "/guides/resume-on-any-machine#set-the-environment-up-with-a-blueprint" }
|
|
363
363
|
]
|
|
364
364
|
}
|
|
@@ -136,7 +136,7 @@ Sessions default to `~/.atomic/workflows/journal.sqlite`. With a custom `ATOMIC_
|
|
|
136
136
|
| `ATOMIC_TASK_CGROUP` | None | Exact `0` disables Linux cgroup v2 process-tree containment for background shell tasks. See [Lifetime, retention, and process cleanup](/background-tasks/reference#lifetime-retention-and-cleanup) |
|
|
137
137
|
| `NODE_COMPILE_CACHE` | None | Override the directory for Node's persistent compile cache, enabled automatically on Node.js to speed up startup. On Windows, a cold default cache warms in a background helper during interactive runs; setting `NODE_COMPILE_CACHE` lets Node write it on exit instead |
|
|
138
138
|
| `NODE_DISABLE_COMPILE_CACHE` | None | Any defined value (including empty string `""`) prevents Node from enabling the compile cache |
|
|
139
|
-
| `NAPI_RS_NATIVE_LIBRARY_PATH` | None | Path to a locally compiled native addon (`.node` file)
|
|
139
|
+
| `NAPI_RS_NATIVE_LIBRARY_PATH` | None | Path to a locally compiled native addon (`.node` file); bypasses Atomic's release version check |
|
|
140
140
|
|
|
141
141
|
## Prompt-cache retention
|
|
142
142
|
|
|
@@ -142,7 +142,7 @@ atomic --version
|
|
|
142
142
|
You should see a single version line (for example `0.10.14`). If your shell reports `command not found`, open a new terminal or add the installer's bin directory to your `PATH`.
|
|
143
143
|
|
|
144
144
|
<Tip>
|
|
145
|
-
**Linux
|
|
145
|
+
**Linux and SSH clipboard support:** To copy text from `/copy` or fullscreen selection on Linux, install `wl-clipboard` (Wayland) or `xclip` / `xsel` (X11). Over SSH or headless Linux, Atomic automatically forwards clipboard writes via OSC 52. See [Clipboard and OSC 52](/terminal-setup#clipboard-and-osc-52).
|
|
146
146
|
</Tip>
|
|
147
147
|
|
|
148
148
|
## Which runtime runs Atomic
|
|
@@ -179,7 +179,7 @@ If no suitable Git is found and portable download is unavailable, install Git fo
|
|
|
179
179
|
| Arch, Manjaro | `pacman -S git` |
|
|
180
180
|
| Alpine and other musl distributions | `apk add git` |
|
|
181
181
|
| Void, Gentoo, Mageia, NixOS | `xbps-install git`, `emerge --ask --verbose dev-vcs/git`, `urpmi git`, `nix-env -i git` |
|
|
182
|
-
|
|
|
182
|
+
| FreeBSD, OpenBSD, illumos | `pkg install git`, `pkg_add git`, `pkg install developer/versioning/git` |
|
|
183
183
|
|
|
184
184
|
Run Linux package-manager commands as root. See [git-scm.com/downloads](https://git-scm.com/downloads) for other systems.
|
|
185
185
|
|
package/docs/herdr.md
CHANGED
package/docs/keybindings.md
CHANGED
|
@@ -129,7 +129,7 @@ Dedicated history actions switch prompt history entries regardless of cursor lin
|
|
|
129
129
|
| `tui.select.confirm` | `enter` | Confirm selection |
|
|
130
130
|
| `tui.select.cancel` | `escape`, `ctrl+c` | Cancel selection |
|
|
131
131
|
|
|
132
|
-
Local copy (for `/copy` and mouse auto-copy) requires a working clipboard utility (`wl-clipboard` on Wayland, `xclip`
|
|
132
|
+
Local copy (for `/copy` and mouse auto-copy) requires a working clipboard utility (`wl-clipboard` on Wayland, or `xclip` / `xsel` on X11). Atomic forwards copies through OSC 52 over SSH, Mosh, and Rex and as a headless Linux fallback; set `ATOMIC_CLIPBOARD_OSC52=1` (legacy `PI_CLIPBOARD_OSC52=1`) to force OSC 52 after local copy. See [Terminal setup](/terminal-setup).
|
|
133
133
|
|
|
134
134
|
### Fullscreen transcript scrolling {#tui-fullscreen-viewport}
|
|
135
135
|
|
package/docs/quickstart.md
CHANGED
|
@@ -186,4 +186,4 @@ Use `--mode json` for a JSON event stream or `--mode rpc` for stdin/stdout proce
|
|
|
186
186
|
</Card>
|
|
187
187
|
</Columns>
|
|
188
188
|
|
|
189
|
-
Also explore [Slash commands](/slash-commands), [Custom compaction models](/compaction/custom-compactors), [Worktree snapshots](/worktree-snapshots), [Resume on any machine](/guides/resume-on-any-machine), [Storage](/storage), [MCP servers](/mcp-servers), [CLI reference](/reference/cli), and [Platform setup](/reference#platform-setup) ([Windows](/windows), [
|
|
189
|
+
Also explore [Slash commands](/slash-commands), [Custom compaction models](/compaction/custom-compactors), [Worktree snapshots](/worktree-snapshots), [Resume on any machine](/guides/resume-on-any-machine), [Storage](/storage), [MCP servers](/mcp-servers), [CLI reference](/reference/cli), and [Platform setup](/reference#platform-setup) ([Windows](/windows), [Terminal setup](/terminal-setup), [tmux](/tmux), [Herdr](/herdr), [Shell aliases](/shell-aliases)).
|
package/docs/reference.md
CHANGED
|
@@ -52,12 +52,11 @@ Look up exact commands, settings, configuration schemas, tool behaviors, and API
|
|
|
52
52
|
|
|
53
53
|
## Platform setup
|
|
54
54
|
|
|
55
|
-
- [Run on Windows](/windows)
|
|
56
|
-
- [Run on Android (Termux)](/termux)
|
|
57
55
|
- [Configure your terminal](/terminal-setup)
|
|
58
|
-
- [Run in tmux](/tmux)
|
|
59
|
-
- [Herdr](/herdr)
|
|
60
56
|
- [Shell aliases](/shell-aliases)
|
|
57
|
+
- [Run on Windows](/windows)
|
|
58
|
+
- [Run in Tmux](/tmux)
|
|
59
|
+
- [Run in Herdr](/herdr)
|
|
61
60
|
|
|
62
61
|
## Diagnostics and changelog
|
|
63
62
|
|
package/docs/terminal-setup.md
CHANGED
|
@@ -170,7 +170,7 @@ The hardware cursor is hidden by default for compatibility. To show it, set `"sh
|
|
|
170
170
|
|
|
171
171
|
### Clipboard and OSC 52
|
|
172
172
|
|
|
173
|
-
Atomic writes to your local clipboard using the platform tool (`pbcopy` on macOS, `clip` on Windows, `wl-copy` from `wl-clipboard` on Wayland, `xclip`
|
|
173
|
+
Atomic writes to your local clipboard using the platform tool (`pbcopy` on macOS, `clip` on Windows, `wl-copy` from `wl-clipboard` on Wayland, or `xclip` / `xsel` on X11).
|
|
174
174
|
|
|
175
175
|
- **Remote and headless sessions:** Over SSH, Mosh, or Rex (when `SSH_CONNECTION`, `SSH_CLIENT`, `MOSH_CONNECTION`, or `REX_SESSION` is set), and on headless Linux without `DISPLAY` or `WAYLAND_DISPLAY`, Atomic automatically sends copies through OSC 52 so your local client terminal receives the text.
|
|
176
176
|
- **WSL:** Inside Windows Terminal (`WT_SESSION`), Atomic prefers OSC 52 and falls back to Windows clipboard interop.
|
package/docs/tmux.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: "Run Atomic in
|
|
3
|
-
sidebarTitle: "Run in
|
|
2
|
+
title: "Run Atomic in Tmux"
|
|
3
|
+
sidebarTitle: "Run in Tmux"
|
|
4
4
|
description: "Configure tmux for modified keys, Escape timing, hyperlinks, clipboard copy, mouse scrolling, and image paste with Atomic."
|
|
5
5
|
---
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bastani/atomic",
|
|
3
|
-
"version": "0.10.15
|
|
3
|
+
"version": "0.10.15",
|
|
4
4
|
"description": "Atomic coding agent CLI with read, bash, edit, write tools and session management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"atomicConfig": {
|
|
@@ -118,13 +118,13 @@
|
|
|
118
118
|
"prepack": "node -e \"require('node:fs').existsSync('scripts/split-dist.mjs') && import('./scripts/split-dist.mjs').then(() => import('./scripts/write-startup-files.mjs')).then(() => import('./scripts/write-startup-stages.mjs'))\""
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
121
|
-
"@bastani/atomic-natives": "0.10.15
|
|
122
|
-
"@bastani/atomic-ai": "0.10.15
|
|
123
|
-
"@bastani/atomic-agent-core": "0.10.15
|
|
124
|
-
"@bastani/atomic-codemode": "0.10.15
|
|
125
|
-
"@bastani/atomic-tui": "0.10.15
|
|
126
|
-
"@bastani/atomic-schema": "0.10.15
|
|
127
|
-
"@bastani/atomic-telemetry": "0.10.15
|
|
121
|
+
"@bastani/atomic-natives": "0.10.15",
|
|
122
|
+
"@bastani/atomic-ai": "0.10.15",
|
|
123
|
+
"@bastani/atomic-agent-core": "0.10.15",
|
|
124
|
+
"@bastani/atomic-codemode": "0.10.15",
|
|
125
|
+
"@bastani/atomic-tui": "0.10.15",
|
|
126
|
+
"@bastani/atomic-schema": "0.10.15",
|
|
127
|
+
"@bastani/atomic-telemetry": "0.10.15",
|
|
128
128
|
"@silvia-odwyer/photon-node": "0.3.4",
|
|
129
129
|
"chalk": "6.0.0",
|
|
130
130
|
"glob": "14.0.6",
|
package/docs/termux.md
DELETED
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Run Atomic on Android (Termux)"
|
|
3
|
-
sidebarTitle: "Run on Android (Termux)"
|
|
4
|
-
description: "Install Atomic in Termux on Android, compile the required native module locally, and configure clipboard and storage access."
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
[Termux](https://termux.dev/) provides a terminal emulator and Linux environment on Android.
|
|
8
|
-
|
|
9
|
-
<Warning>
|
|
10
|
-
**Community-supported platform:** Android uses bionic libc rather than glibc or musl, so Atomic's `install.sh` installer does not run on Termux (it exits with `unsupported Linux libc: bionic`) and Atomic does not publish prebuilt Android ARM64 native binaries. You must install Atomic via npm and compile the required native module (`@bastani/atomic-natives`) locally with Rust before starting a session.
|
|
11
|
-
</Warning>
|
|
12
|
-
|
|
13
|
-
## Requirements and limitations
|
|
14
|
-
|
|
15
|
-
- **Termux apps:** Install both [Termux](https://github.com/termux/termux-app#installation) and [Termux:API](https://github.com/termux/termux-api#installation) from GitHub or F-Droid (the Google Play version is deprecated).
|
|
16
|
-
- **Install `fd` and `ripgrep` through `pkg`:** On Android, Atomic does not auto-download Linux `fd` or `rg` binaries because they cannot run on bionic libc.
|
|
17
|
-
- **Text-only clipboard:** Image clipboard paste (`Ctrl+V`) is not supported on Termux.
|
|
18
|
-
- **Shared storage access:** Run `termux-setup-storage` once to grant access to `/storage/emulated/0`.
|
|
19
|
-
|
|
20
|
-
## Install Atomic in Termux
|
|
21
|
-
|
|
22
|
-
<Steps>
|
|
23
|
-
<Step title="Install Termux dependencies">
|
|
24
|
-
Update Termux packages and install Node.js, Git, Termux:API CLI helpers, `fd`, `ripgrep`, and the Rust/C toolchain needed to compile the native module:
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
pkg update && pkg upgrade
|
|
28
|
-
pkg install nodejs termux-api git fd ripgrep rust clang
|
|
29
|
-
```
|
|
30
|
-
</Step>
|
|
31
|
-
|
|
32
|
-
<Step title="Install the Atomic CLI">
|
|
33
|
-
Install `@bastani/atomic` globally with npm (included with Termux's `nodejs` package). Atomic does not require npm install scripts, so `--ignore-scripts` is safe:
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
npm install -g --ignore-scripts @bastani/atomic
|
|
37
|
-
mkdir -p ~/.atomic/agent
|
|
38
|
-
```
|
|
39
|
-
</Step>
|
|
40
|
-
|
|
41
|
-
<Step title="Compile the Android ARM64 native module">
|
|
42
|
-
Clone the Atomic release tag matching your installed npm version, compile the native library with Cargo, and copy the resulting `.node` binary into `~/.atomic/agent`:
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
ATOMIC_VER="$(node -p "require('$(npm root -g)/@bastani/atomic/package.json').version")"
|
|
46
|
-
git clone --depth 1 --branch "$ATOMIC_VER" https://github.com/bastani-inc/atomic.git ~/atomic-src
|
|
47
|
-
cd ~/atomic-src
|
|
48
|
-
cargo build --release --manifest-path crates/atomic-natives/Cargo.toml
|
|
49
|
-
cp target/release/libatomic_natives.so ~/.atomic/agent/atomic_natives.android-arm64.node
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
You can remove `~/atomic-src` after copying the compiled `.node` binary.
|
|
53
|
-
</Step>
|
|
54
|
-
|
|
55
|
-
<Step title="Point Atomic to the compiled native module and start">
|
|
56
|
-
Set `NAPI_RS_NATIVE_LIBRARY_PATH` in your current shell and persist it in `~/.bashrc`, then launch Atomic:
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
export NAPI_RS_NATIVE_LIBRARY_PATH="$HOME/.atomic/agent/atomic_natives.android-arm64.node"
|
|
60
|
-
echo 'export NAPI_RS_NATIVE_LIBRARY_PATH="$HOME/.atomic/agent/atomic_natives.android-arm64.node"' >> ~/.bashrc
|
|
61
|
-
atomic
|
|
62
|
-
```
|
|
63
|
-
</Step>
|
|
64
|
-
</Steps>
|
|
65
|
-
|
|
66
|
-
<Note>
|
|
67
|
-
Setting `NAPI_RS_NATIVE_LIBRARY_PATH` bypasses Atomic's exact native-module release version check. When you upgrade `@bastani/atomic` later, rebuild the `.node` file from the matching release tag so native bindings stay in sync.
|
|
68
|
-
</Note>
|
|
69
|
-
|
|
70
|
-
## Clipboard support
|
|
71
|
-
|
|
72
|
-
When `TERMUX_VERSION` is set, Atomic uses `termux-clipboard-set` and `termux-clipboard-get` for text clipboard operations. Both commands time out after 5 seconds and require both the Termux:API Android app and the `termux-api` package.
|
|
73
|
-
|
|
74
|
-
If `termux-clipboard-set` fails, Atomic does not automatically fall back to OSC 52 unless you are connected over SSH, Mosh, or Rex, or set `ATOMIC_CLIPBOARD_OSC52=1`. Otherwise Atomic reports that the clipboard is unavailable. Image clipboard paste (`Ctrl+V`) is not supported on Termux.
|
|
75
|
-
|
|
76
|
-
## Example AGENTS.md for Termux
|
|
77
|
-
|
|
78
|
-
Create `~/.atomic/agent/AGENTS.md` to document your Termux environment and helper commands for the model:
|
|
79
|
-
|
|
80
|
-
```markdown
|
|
81
|
-
# Agent environment: Termux on Android
|
|
82
|
-
|
|
83
|
-
## Location
|
|
84
|
-
- OS: Android (Termux terminal emulator)
|
|
85
|
-
- Home: `/data/data/com.termux/files/home`
|
|
86
|
-
- Prefix: `/data/data/com.termux/files/usr`
|
|
87
|
-
- Shared storage: `/storage/emulated/0` (Downloads, Documents, etc.)
|
|
88
|
-
|
|
89
|
-
## Useful Termux:API commands
|
|
90
|
-
- Open a URL: `termux-open-url "https://example.com"`
|
|
91
|
-
- Open a file: `termux-open file.pdf` or `termux-open --chooser image.jpg`
|
|
92
|
-
- Copy and paste text: `termux-clipboard-set "text"` and `termux-clipboard-get`
|
|
93
|
-
- Send a notification: `termux-notification -t "Title" -c "Content"`
|
|
94
|
-
- Check device info: `termux-battery-status`, `termux-wifi-connectioninfo`, `termux-telephony-deviceinfo`
|
|
95
|
-
- Share a file: `termux-share -a send file.txt`
|
|
96
|
-
- Quick helpers: `termux-toast "message"`, `termux-vibrate`, `termux-tts-speak "hello"`, `termux-camera-photo out.jpg`
|
|
97
|
-
|
|
98
|
-
## Notes
|
|
99
|
-
- Both the Termux:API Android app and `pkg install termux-api` are required for `termux-*` commands.
|
|
100
|
-
- Run `termux-setup-storage` before accessing `/storage/emulated/0`.
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
## Troubleshooting
|
|
104
|
-
|
|
105
|
-
### Native module failed to load
|
|
106
|
-
|
|
107
|
-
Confirm `NAPI_RS_NATIVE_LIBRARY_PATH` points to an existing `.node` file built from the same Atomic release version:
|
|
108
|
-
|
|
109
|
-
```bash
|
|
110
|
-
ls -la "$NAPI_RS_NATIVE_LIBRARY_PATH"
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
### Clipboard not working
|
|
114
|
-
|
|
115
|
-
Install both Android apps from GitHub or F-Droid (Termux and Termux:API), then install the CLI helper package:
|
|
116
|
-
|
|
117
|
-
```bash
|
|
118
|
-
pkg install termux-api
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
### Permission denied for shared storage
|
|
122
|
-
|
|
123
|
-
Run once to grant storage permission:
|
|
124
|
-
|
|
125
|
-
```bash
|
|
126
|
-
termux-setup-storage
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
### Missing `fd` or `rg` warnings
|
|
130
|
-
|
|
131
|
-
Install both packages through Termux:
|
|
132
|
-
|
|
133
|
-
```bash
|
|
134
|
-
pkg install fd ripgrep
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
### Package installation issues
|
|
138
|
-
|
|
139
|
-
Termux has no official `pkg install bun` package; use npm from the `nodejs` package unless you installed Bun separately. If npm fails, clear its cache and retry:
|
|
140
|
-
|
|
141
|
-
```bash
|
|
142
|
-
npm cache clean --force
|
|
143
|
-
npm install -g --ignore-scripts @bastani/atomic
|
|
144
|
-
```
|