@bastani/atomic 0.10.10-alpha.1 → 0.10.10
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 +85 -0
- package/README.md +22 -15
- package/dist/_shared/dist-KOELCESV.js +2 -2
- package/dist/_shared/fork-row-index-UAUAQRD5.js +2 -2
- package/dist/_shared/lib-4PES5P4V.js +2 -2
- package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +2 -2
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +2 -2
- package/dist/_shared/mode-shared-2QJSCUM6.js +2 -2
- package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
- package/dist/_shared/sdk-RRLVN7ER.js +2 -2
- package/dist/_shared/session-data-AHTU7IS6.js +2 -2
- package/dist/_shared/startup-0-0-4VG2G44V.js +2 -2
- package/dist/_shared/startup-0-1-XTIL65D4.js +2 -2
- package/dist/_shared/startup-0-2-27OWFHV6.js +7 -6
- package/dist/_shared/startup-0-2-27OWFHV6.js.map +1 -1
- package/dist/_shared/startup-0-3-T4DVFYWX.js +2 -2
- package/dist/_shared/startup-0-4-ZMJV547D.js +2 -2
- package/dist/_shared/startup-0-5-FD2P735I.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-4KANEHRA.js +2 -2
- package/dist/_shared/storage-command-7MGXLJGZ.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/CHANGELOG.md +6 -0
- package/dist/builtin/intercom/README.md +4 -4
- package/dist/builtin/intercom/index.bundle.mjs +1 -1
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/README.md +28 -4
- package/dist/builtin/mcp/index.bundle.mjs +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/CHANGELOG.md +8 -0
- package/dist/builtin/subagents/README.md +3 -3
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +1 -1
- package/dist/builtin/web-access/CHANGELOG.md +9 -0
- package/dist/builtin/web-access/README.md +2 -2
- 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/background-tasks.md +8 -5
- package/docs/build.md +11 -6
- package/docs/changelog.mdx +1 -1
- package/docs/codemode.md +10 -2
- package/docs/compaction/reference.md +6 -4
- package/docs/compaction.md +3 -3
- package/docs/containerization.md +13 -5
- package/docs/custom-provider/api-reference.md +8 -6
- package/docs/custom-provider/oauth.md +4 -4
- package/docs/custom-provider/registration.md +3 -3
- package/docs/custom-provider.md +8 -8
- package/docs/development.md +40 -5
- package/docs/docs.json +21 -5
- package/docs/environment-variables.md +20 -18
- package/docs/extensions/api-reference.md +8 -6
- package/docs/extensions/authoring.md +4 -4
- package/docs/extensions.md +43 -6
- package/docs/guides/configuration.md +21 -1
- package/docs/guides/intercom.md +4 -0
- package/docs/guides/non-interactive.md +4 -2
- package/docs/guides/orchestration.md +4 -2
- package/docs/guides/resume-on-any-machine.md +12 -6
- package/docs/guides/subagents.md +4 -0
- package/docs/guides/team-setup.md +13 -2
- package/docs/guides.md +10 -4
- package/docs/herdr.md +4 -4
- package/docs/index.md +12 -4
- package/docs/intercom/operations.md +26 -4
- package/docs/intercom/reference.md +25 -3
- package/docs/intercom.md +13 -5
- package/docs/json.md +2 -0
- package/docs/keybindings.md +17 -4
- package/docs/libraries/agent-core.md +4 -2
- package/docs/libraries/ai.md +71 -53
- package/docs/libraries/codemode.md +3 -2
- package/docs/libraries/schema.md +5 -2
- package/docs/libraries/storage-libsql.md +92 -0
- package/docs/libraries/storage-postgres.md +119 -0
- package/docs/libraries/telemetry.md +35 -2
- package/docs/libraries.md +23 -6
- package/docs/llama-cpp.md +2 -2
- package/docs/mcp-servers.md +50 -4
- package/docs/models/reference.md +13 -9
- package/docs/models-configuration.md +7 -7
- package/docs/models.md +18 -8
- package/docs/orchestration/migrating-workflows.md +2 -2
- package/docs/orchestration/patterns.md +8 -8
- package/docs/orchestration.md +5 -3
- package/docs/packages/authoring.md +3 -1
- package/docs/packages/reference.md +3 -1
- package/docs/packages.md +5 -3
- package/docs/programmatic.md +14 -8
- package/docs/prompt-templates.md +5 -3
- package/docs/providers/reference.md +7 -7
- package/docs/providers.md +22 -10
- package/docs/quickstart.md +13 -11
- package/docs/reference/cli.md +10 -5
- package/docs/reference.md +8 -4
- package/docs/rpc/examples.md +47 -0
- package/docs/rpc/extension-ui.md +7 -1
- package/docs/rpc/protocol.md +3 -2
- package/docs/rpc.md +3 -1
- package/docs/sdk/reference.md +144 -38
- package/docs/sdk/storage.md +614 -0
- package/docs/sdk/structured-decisions.md +77 -4
- package/docs/sdk/web-server.md +3 -2
- package/docs/sdk.md +26 -115
- package/docs/security.md +17 -7
- package/docs/session-format.md +38 -24
- package/docs/sessions.md +21 -15
- package/docs/settings.md +17 -14
- package/docs/skills.md +47 -3
- package/docs/storage.md +38 -24
- package/docs/subagents/authoring.md +3 -1
- package/docs/subagents/reference.md +8 -2
- package/docs/subagents.md +35 -6
- package/docs/terminal-setup.md +1 -1
- package/docs/themes.md +5 -3
- package/docs/tmux.md +4 -4
- package/docs/tools.md +11 -0
- package/docs/usage.md +25 -15
- package/docs/web-access.md +35 -0
- package/docs/windows.md +9 -6
- package/docs/worktree-snapshots.md +22 -11
- package/examples/sdk/11-sessions.ts +4 -4
- package/package.json +8 -8
- package/schemas/models.schema.json +7 -7
|
@@ -5863,7 +5863,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
5863
5863
|
return (async () => {
|
|
5864
5864
|
const root = new URL("../", import.meta.url);
|
|
5865
5865
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
5866
|
-
const key = `${root.href}#0.10.10
|
|
5866
|
+
const key = `${root.href}#0.10.10`;
|
|
5867
5867
|
let release = releases.get(key);
|
|
5868
5868
|
if (release === undefined) {
|
|
5869
5869
|
const current = (async () => {
|
|
@@ -5891,7 +5891,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
5891
5891
|
} catch {
|
|
5892
5892
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
5893
5893
|
}
|
|
5894
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10
|
|
5894
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10" ? installed : running !== undefined && running.version !== "0.10.10" ? "0.10.10" : undefined;
|
|
5895
5895
|
if (updatedTo === undefined) throw error;
|
|
5896
5896
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
5897
5897
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -6115,7 +6115,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
6115
6115
|
return (async () => {
|
|
6116
6116
|
const root = new URL("../", import.meta.url);
|
|
6117
6117
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
6118
|
-
const key = `${root.href}#0.10.10
|
|
6118
|
+
const key = `${root.href}#0.10.10`;
|
|
6119
6119
|
let release = releases.get(key);
|
|
6120
6120
|
if (release === undefined) {
|
|
6121
6121
|
const current = (async () => {
|
|
@@ -6143,7 +6143,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
6143
6143
|
} catch {
|
|
6144
6144
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
6145
6145
|
}
|
|
6146
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10
|
|
6146
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10" ? installed : running !== undefined && running.version !== "0.10.10" ? "0.10.10" : undefined;
|
|
6147
6147
|
if (updatedTo === undefined) throw error;
|
|
6148
6148
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
6149
6149
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -28236,7 +28236,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
28236
28236
|
return (async () => {
|
|
28237
28237
|
const root = new URL("../", import.meta.url);
|
|
28238
28238
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
28239
|
-
const key = `${root.href}#0.10.10
|
|
28239
|
+
const key = `${root.href}#0.10.10`;
|
|
28240
28240
|
let release = releases.get(key);
|
|
28241
28241
|
if (release === undefined) {
|
|
28242
28242
|
const current = (async () => {
|
|
@@ -28264,7 +28264,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
28264
28264
|
} catch {
|
|
28265
28265
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
28266
28266
|
}
|
|
28267
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10
|
|
28267
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10" ? installed : running !== undefined && running.version !== "0.10.10" ? "0.10.10" : undefined;
|
|
28268
28268
|
if (updatedTo === undefined) throw error;
|
|
28269
28269
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
28270
28270
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -1130,7 +1130,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
1130
1130
|
return (async () => {
|
|
1131
1131
|
const root = new URL("../", import.meta.url);
|
|
1132
1132
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
1133
|
-
const key = `${root.href}#0.10.10
|
|
1133
|
+
const key = `${root.href}#0.10.10`;
|
|
1134
1134
|
let release = releases.get(key);
|
|
1135
1135
|
if (release === undefined) {
|
|
1136
1136
|
const current = (async () => {
|
|
@@ -1158,7 +1158,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
1158
1158
|
} catch {
|
|
1159
1159
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
1160
1160
|
}
|
|
1161
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10
|
|
1161
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10" ? installed : running !== undefined && running.version !== "0.10.10" ? "0.10.10" : undefined;
|
|
1162
1162
|
if (updatedTo === undefined) throw error;
|
|
1163
1163
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
1164
1164
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -9175,7 +9175,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
9175
9175
|
return (async () => {
|
|
9176
9176
|
const root = new URL("../", import.meta.url);
|
|
9177
9177
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9178
|
-
const key = `${root.href}#0.10.10
|
|
9178
|
+
const key = `${root.href}#0.10.10`;
|
|
9179
9179
|
let release = releases.get(key);
|
|
9180
9180
|
if (release === undefined) {
|
|
9181
9181
|
const current = (async () => {
|
|
@@ -9203,7 +9203,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
9203
9203
|
} catch {
|
|
9204
9204
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
9205
9205
|
}
|
|
9206
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10
|
|
9206
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10" ? installed : running !== undefined && running.version !== "0.10.10" ? "0.10.10" : undefined;
|
|
9207
9207
|
if (updatedTo === undefined) throw error;
|
|
9208
9208
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
9209
9209
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -8023,7 +8023,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
8023
8023
|
return (async () => {
|
|
8024
8024
|
const root = new URL("../", import.meta.url);
|
|
8025
8025
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
8026
|
-
const key = `${root.href}#0.10.10
|
|
8026
|
+
const key = `${root.href}#0.10.10`;
|
|
8027
8027
|
let release = releases.get(key);
|
|
8028
8028
|
if (release === undefined) {
|
|
8029
8029
|
const current = (async () => {
|
|
@@ -8051,7 +8051,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
8051
8051
|
} catch {
|
|
8052
8052
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
8053
8053
|
}
|
|
8054
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10
|
|
8054
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10" ? installed : running !== undefined && running.version !== "0.10.10" ? "0.10.10" : undefined;
|
|
8055
8055
|
if (updatedTo === undefined) throw error;
|
|
8056
8056
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
8057
8057
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -28216,7 +28216,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
28216
28216
|
return (async () => {
|
|
28217
28217
|
const root = new URL("../", import.meta.url);
|
|
28218
28218
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
28219
|
-
const key = `${root.href}#0.10.10
|
|
28219
|
+
const key = `${root.href}#0.10.10`;
|
|
28220
28220
|
let release = releases.get(key);
|
|
28221
28221
|
if (release === undefined) {
|
|
28222
28222
|
const current = (async () => {
|
|
@@ -28244,7 +28244,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
28244
28244
|
} catch {
|
|
28245
28245
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
28246
28246
|
}
|
|
28247
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10
|
|
28247
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10" ? installed : running !== undefined && running.version !== "0.10.10" ? "0.10.10" : undefined;
|
|
28248
28248
|
if (updatedTo === undefined) throw error;
|
|
28249
28249
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
28250
28250
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -1012,7 +1012,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
1012
1012
|
return (async () => {
|
|
1013
1013
|
const root = new URL("../", import.meta.url);
|
|
1014
1014
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
1015
|
-
const key = `${root.href}#0.10.10
|
|
1015
|
+
const key = `${root.href}#0.10.10`;
|
|
1016
1016
|
let release = releases.get(key);
|
|
1017
1017
|
if (release === undefined) {
|
|
1018
1018
|
const current = (async () => {
|
|
@@ -1040,7 +1040,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
1040
1040
|
} catch {
|
|
1041
1041
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
1042
1042
|
}
|
|
1043
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10
|
|
1043
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10" ? installed : running !== undefined && running.version !== "0.10.10" ? "0.10.10" : undefined;
|
|
1044
1044
|
if (updatedTo === undefined) throw error;
|
|
1045
1045
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
1046
1046
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -31,7 +31,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
31
31
|
return (async () => {
|
|
32
32
|
const root = new URL("../", import.meta.url);
|
|
33
33
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
34
|
-
const key = `${root.href}#0.10.10
|
|
34
|
+
const key = `${root.href}#0.10.10`;
|
|
35
35
|
let release = releases.get(key);
|
|
36
36
|
if (release === undefined) {
|
|
37
37
|
const current = (async () => {
|
|
@@ -59,7 +59,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
59
59
|
} catch {
|
|
60
60
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
61
61
|
}
|
|
62
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10
|
|
62
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10" ? installed : running !== undefined && running.version !== "0.10.10" ? "0.10.10" : undefined;
|
|
63
63
|
if (updatedTo === undefined) throw error;
|
|
64
64
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
65
65
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -88,7 +88,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
88
88
|
return (async () => {
|
|
89
89
|
const root = new URL("../", import.meta.url);
|
|
90
90
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
91
|
-
const key = `${root.href}#0.10.10
|
|
91
|
+
const key = `${root.href}#0.10.10`;
|
|
92
92
|
let release = releases.get(key);
|
|
93
93
|
if (release === undefined) {
|
|
94
94
|
const current = (async () => {
|
|
@@ -116,7 +116,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
116
116
|
} catch {
|
|
117
117
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
118
118
|
}
|
|
119
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10
|
|
119
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10" ? installed : running !== undefined && running.version !== "0.10.10" ? "0.10.10" : undefined;
|
|
120
120
|
if (updatedTo === undefined) throw error;
|
|
121
121
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
122
122
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -4,6 +4,12 @@ All notable changes to Atomic's Intercom extension, `@bastani/intercom`, are doc
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.10.10] - 2026-11-24
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Targeted `intercom({ action: "leave", group })` on a session's last membership now falls back to the session's resolved registration group (such as `project:<owner>/<repo>` under multi-node routing) instead of silently moving the session into `"default"` ([#6552](https://github.com/bastani-inc/atomic/pull/6552)).
|
|
12
|
+
|
|
7
13
|
## [0.10.10-alpha.1] - 2026-11-24
|
|
8
14
|
|
|
9
15
|
### Fixed
|
|
@@ -181,7 +181,7 @@ To coordinate two chat sessions privately without changing startup settings, hav
|
|
|
181
181
|
|
|
182
182
|
## Subagent escalation with `contact_supervisor`
|
|
183
183
|
|
|
184
|
-
When a subagent is launched with supervisor coordination, it receives the `contact_supervisor` tool alongside `intercom`. Regular sessions never see `contact_supervisor`.
|
|
184
|
+
When a [subagent](https://docs.bastani.ai/subagents) is launched with supervisor coordination, it receives the `contact_supervisor` tool alongside `intercom`. Regular sessions never see `contact_supervisor`.
|
|
185
185
|
|
|
186
186
|
In interactive and standard sessions, blocking `contact_supervisor` requests wait inside the requesting child and continue that same child once the supervisor replies. Active and queued siblings keep running with their original identities and worktrees. In custom SDK sessions without background task support, a blocking request ends the child with a `[TASK_CONTEXT]` handoff.
|
|
187
187
|
|
|
@@ -379,7 +379,7 @@ graph TB
|
|
|
379
379
|
B2 <-->|Local Socket/Pipe| B3
|
|
380
380
|
```
|
|
381
381
|
|
|
382
|
-
The broker is a standalone process that manages session registration and message routing over length-prefixed JSON frames on a Unix domain socket (macOS and Linux) or named pipe (Windows). When shared storage is configured through `@bastani/atomic-storage-libsql` or `@bastani/atomic-storage-postgres
|
|
382
|
+
The broker is a standalone process that manages session registration and message routing over length-prefixed JSON frames on a Unix domain socket (macOS and Linux) or named pipe (Windows). When [shared storage](https://docs.bastani.ai/storage) is configured through [`@bastani/atomic-storage-libsql`](https://docs.bastani.ai/libraries/storage-libsql) or [`@bastani/atomic-storage-postgres`](https://docs.bastani.ai/libraries/storage-postgres), brokers also enable multi-node routing so sessions on different machines can list and message each other, and ungrouped sessions default to their repository's `project:<owner>/<repo>` group instead of `default`.
|
|
383
383
|
|
|
384
384
|
### Broker lifecycle and recovery
|
|
385
385
|
|
|
@@ -392,7 +392,7 @@ The broker is a standalone process that manages session registration and message
|
|
|
392
392
|
|
|
393
393
|
### Runtime files
|
|
394
394
|
|
|
395
|
-
Runtime files live in `~/.atomic/agent/intercom/`. Setting `ATOMIC_CODING_AGENT_DIR` (or legacy `PI_CODING_AGENT_DIR` when unset) relocates this directory.
|
|
395
|
+
Runtime files live in `~/.atomic/agent/intercom/`. Setting [`ATOMIC_CODING_AGENT_DIR`](https://docs.bastani.ai/environment-variables) (or legacy `PI_CODING_AGENT_DIR` when unset) relocates this directory.
|
|
396
396
|
|
|
397
397
|
- `broker.sock` holds the Unix domain socket on macOS and Linux (Windows uses a named pipe). If the path exceeds the platform Unix socket limit (107 bytes on Linux, 103 bytes on macOS), the broker creates an owner-only `atomic-intercom-<uid>/<digest>.sock` socket under `$XDG_RUNTIME_DIR` or the system temp directory and records its path in `broker.sock.path`.
|
|
398
398
|
- `broker.pid`, `broker.starting`, `broker.spawn.lock`, and `broker.sock.replace.lock` coordinate broker startup and lock ownership.
|
|
@@ -404,7 +404,7 @@ Runtime files live in `~/.atomic/agent/intercom/`. Setting `ATOMIC_CODING_AGENT_
|
|
|
404
404
|
|
|
405
405
|
## Limitations
|
|
406
406
|
|
|
407
|
-
- **Local IPC by default:** Without shared storage, Intercom connects sessions on the same machine only. Cross-machine messaging requires configuring a shared storage adapter (`@bastani/atomic-storage-libsql` or `@bastani/atomic-storage-postgres`).
|
|
407
|
+
- **Local IPC by default:** Without [shared storage](https://docs.bastani.ai/storage), Intercom connects sessions on the same machine only. Cross-machine messaging requires configuring a shared storage adapter ([`@bastani/atomic-storage-libsql`](https://docs.bastani.ai/libraries/storage-libsql) or [`@bastani/atomic-storage-postgres`](https://docs.bastani.ai/libraries/storage-postgres)).
|
|
408
408
|
- **No separate transcript file:** Messages are stored in Atomic session history rather than a dedicated Intercom inbox file.
|
|
409
409
|
- **No attachments UI:** The `intercom` tool supports `file`, `snippet`, and `context` attachments, while the `Alt+M` compose overlay sends plain text only.
|
|
410
410
|
- **Connected sessions only:** `intercom list` shows sessions currently registered with the broker, not disconnected or offline Atomic processes.
|
|
@@ -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.10
|
|
10
|
+
if (__atomicHostImport0.VERSION !== "0.10.10") missing.unshift(application + " was updated to 0.10.10 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
|
}
|
|
@@ -14,7 +14,7 @@ atomic mcp list
|
|
|
14
14
|
atomic
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
Commands write `~/.atomic/agent/mcp.json` by default. Add `--local` (`-l`) to use `.atomic/mcp.json` in the current project. Project servers are read only after project trust is granted. A project entry defining `command`, `url`, or `type` replaces a user-level entry of the same name. A project entry without `command`, `url`, or `type` overrides only `enabled`, `exposure`, and `toolExposure` while inheriting the user-level server's connection and credentials.
|
|
17
|
+
Commands write `~/.atomic/agent/mcp.json` by default. Add `--local` (`-l`) to use `.atomic/mcp.json` in the current project. Project servers are read only after [project trust](https://docs.bastani.ai/security) is granted. A project entry defining `command`, `url`, or `type` replaces a user-level entry of the same name. A project entry without `command`, `url`, or `type` overrides only `enabled`, `exposure`, and `toolExposure` while inheriting the user-level server's connection and credentials.
|
|
18
18
|
|
|
19
19
|
Both files use this shape:
|
|
20
20
|
|
|
@@ -67,7 +67,7 @@ Common `atomic mcp add` options include `-l`/`--local`, `--env KEY=VALUE`, `--cw
|
|
|
67
67
|
|
|
68
68
|
Stdio servers use `command`, `args`, `env`, and `cwd`. HTTP servers use `url`, `headers`, and `oauth`. Set optional `type` to `"stdio"`, `"http"`, or `"streamable-http"` when you want to make the transport explicit.
|
|
69
69
|
|
|
70
|
-
URLs support `${NAME}` and `$env:NAME` environment references, resolved in memory before validation without rewriting files. `env`, `headers`, and `oauth.clientSecret` support `${NAME}` references and whole-value `!command` expressions. Escape literal `$` as `$$` and a leading literal `!` as `$!`. Only use `!command` expressions in configuration you trust.
|
|
70
|
+
URLs support `${NAME}` and `$env:NAME` environment references, resolved in memory before validation without rewriting files. `env`, `headers`, and `oauth.clientSecret` support `${NAME}` references and whole-value `!command` expressions. Escape literal `$` as `$$` and a leading literal `!` as `$!`. Only use `!command` expressions in configuration you trust ([Security](https://docs.bastani.ai/security)).
|
|
71
71
|
|
|
72
72
|
| Setting | Meaning |
|
|
73
73
|
| --- | --- |
|
|
@@ -80,13 +80,37 @@ URLs support `${NAME}` and `$env:NAME` environment references, resolved in memor
|
|
|
80
80
|
|
|
81
81
|
Package and extension contributions use the same server shape and sit below file-configured servers. `ATOMIC_CODING_AGENT_DIR` relocates the Atomic agent directory.
|
|
82
82
|
|
|
83
|
+
Extensions can register runtime-computed servers with [`atomic.registerMcpServer()`](https://docs.bastani.ai/extensions/api-reference#atomic-registermcpserver-name-config):
|
|
84
|
+
|
|
85
|
+
```typescript
|
|
86
|
+
import type { ExtensionAPI } from "@bastani/atomic";
|
|
87
|
+
|
|
88
|
+
export default function (atomic: ExtensionAPI) {
|
|
89
|
+
atomic.registerMcpServer("local-docs", {
|
|
90
|
+
url: "http://127.0.0.1:4321/mcp",
|
|
91
|
+
exposure: "codemode",
|
|
92
|
+
description: "Local documentation server",
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
83
97
|
## Tools and resources
|
|
84
98
|
|
|
85
99
|
Tools use names such as `mcp__github__search_code`. Collisions after identifier normalization receive deterministic hash suffixes. Call names returned by discovery instead of constructing them manually.
|
|
86
100
|
|
|
87
|
-
The default exposure is `codemode
|
|
101
|
+
The default exposure is [`codemode`](https://docs.bastani.ai/codemode): scripts discover tools through `searchTools()`, `describeTool()`, and `ALL_TOOLS`, then call them. `deferred` tools become declared after `tool_search` loads a match (`codemode-deferred` is accepted as an alias). `direct` tools are declared immediately; `hidden` tools are unreachable. `toolExposure` overrides the server's default. Exact names win over patterns, and among patterns the first match wins.
|
|
88
102
|
|
|
89
|
-
Atomic activates `codemode` automatically for codemode servers and `tool_search` for deferred servers. An explicit `-codemode` in `defaultTools` or `--tools` prevents MCP from activating codemode; omission from a plain `defaultTools` list does not. Set `"autoEnableCodemode": false` beside `mcpServers` to disable automatic activation without removing codemode from the defaults. A project value overrides the user-level value. Scripts read server instructions with `describeNamespace("mcp__github")
|
|
103
|
+
Atomic activates `codemode` automatically for codemode servers and `tool_search` for deferred servers. An explicit `-codemode` in `defaultTools` or `--tools` prevents MCP from activating codemode; omission from a plain `defaultTools` list does not. Set `"autoEnableCodemode": false` beside `mcpServers` to disable automatic activation without removing codemode from the defaults. A project value overrides the user-level value. Scripts read server instructions with `describeNamespace("mcp__github")`:
|
|
104
|
+
|
|
105
|
+
```typescript
|
|
106
|
+
const server = await describeNamespace("mcp__github");
|
|
107
|
+
const matches = await searchTools("search code", { namespace: "mcp__github", limit: 5 });
|
|
108
|
+
|
|
109
|
+
if (server && matches.length > 0) {
|
|
110
|
+
const result = await tools.mcp__github__search_code({ q: "registerMcpServer" });
|
|
111
|
+
text(result);
|
|
112
|
+
}
|
|
113
|
+
```
|
|
90
114
|
|
|
91
115
|
Enabled servers connect in the background. The first prompt waits up to 10 seconds for direct-tool servers. Discovery and calls wait for the servers they need. Dropped connections reconnect on the next call, and tool-list notifications refresh registrations automatically.
|
|
92
116
|
|
|
@@ -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.10
|
|
9
|
+
if (__atomicHostImport0.VERSION !== "0.10.10") missing.unshift(application + " was updated to 0.10.10 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,14 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.10.10] - 2026-11-24
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Subagent model-scope filtering now uses `@bastani/atomic`'s shared `resolveModelScopeFromModels` matcher so `[...]` character-class globs, literal bracketed model IDs, `:thinking` suffixes, fuzzy matching, and legacy Azure provider normalization behave identically to the main session ([#6552](https://github.com/bastani-inc/atomic/pull/6552)).
|
|
10
|
+
- Agent frontmatter fields `fallbackModels`, `fallbackThinkingLevels`, `skills`/`skill`, `defaultReads`, and `extensions` now accept YAML list syntax in addition to comma-separated strings ([#6552](https://github.com/bastani-inc/atomic/pull/6552)).
|
|
11
|
+
- `discoverAgentsAll()` now deduplicates user-scope agents in the same precedence order as execution (`~/.atomic/agent/agents` > `~/.agents` > `~/.pi/agent/agents`), eliminating duplicate entries in `subagent({ action: "list" })` and ambiguous `update`/`delete` errors ([#6552](https://github.com/bastani-inc/atomic/pull/6552)).
|
|
12
|
+
|
|
5
13
|
## [0.10.10-alpha.1] - 2026-11-24
|
|
6
14
|
|
|
7
15
|
### Fixed
|
|
@@ -8,7 +8,7 @@ See the [subagents guide](https://docs.bastani.ai/subagents), [custom subagents]
|
|
|
8
8
|
|
|
9
9
|
## Setup
|
|
10
10
|
|
|
11
|
-
Atomic bundles `@bastani/subagents` with `@bastani/atomic
|
|
11
|
+
Atomic bundles `@bastani/subagents` with `@bastani/atomic` ([Installation](https://docs.bastani.ai/getting-started/installation)). No separate installation is required.
|
|
12
12
|
|
|
13
13
|
## Try this first
|
|
14
14
|
|
|
@@ -151,7 +151,7 @@ Delegation is strictly one level deep. Child sessions may use `list`, `get`, `st
|
|
|
151
151
|
|
|
152
152
|
## Intercom coordination
|
|
153
153
|
|
|
154
|
-
Atomic bundles `@bastani/intercom` alongside `@bastani/subagents`. No separate install is needed for parent-child or sibling coordination.
|
|
154
|
+
Atomic bundles `@bastani/intercom` alongside `@bastani/subagents`. No separate install is needed for parent-child or sibling coordination. See the [Intercom guide](https://docs.bastani.ai/intercom) for full group and messaging rules.
|
|
155
155
|
|
|
156
156
|
When Intercom is active, subagents receive a private route back to the parent session through `contact_supervisor`:
|
|
157
157
|
|
|
@@ -275,7 +275,7 @@ Examples:
|
|
|
275
275
|
- Setting `tools: mcp:chrome-devtools` keeps normal built-in tools and adds direct tools from the `chrome-devtools` MCP server.
|
|
276
276
|
- Setting `tools: read, bash, mcp:chrome-devtools` restricts built-in tools to `read` and `bash` and adds direct tools from the `chrome-devtools` MCP server.
|
|
277
277
|
|
|
278
|
-
Direct `mcp:` selections work with servers configured in Atomic's bundled `@bastani/mcp` extension (`~/.atomic/agent/mcp.json` or trusted `.atomic/mcp.json
|
|
278
|
+
Direct `mcp:` selections work with servers configured in Atomic's bundled `@bastani/mcp` extension (`~/.atomic/agent/mcp.json` or trusted `.atomic/mcp.json`; see [MCP servers](https://docs.bastani.ai/mcp-servers)), promoting matching non-hidden server tools to direct exposure in that child session.
|
|
279
279
|
|
|
280
280
|
`extensions` controls child extension loading and takes precedence over extension paths implied by `tools`:
|
|
281
281
|
|
|
@@ -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.10
|
|
13
|
+
if (__atomicHostImport0.VERSION !== "0.10.10") missing.unshift(application + " was updated to 0.10.10 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
|
}
|
|
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.10.10] - 2026-11-24
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Gemini search and extraction error messages now reference `GEMINI_API_KEY` in the environment or `"geminiApiKey"` in `~/.atomic/web-search.json` and note enabling `"allowBrowserCookies": true` (or `ATOMIC_ALLOW_BROWSER_COOKIES=1`) ([#6552](https://github.com/bastani-inc/atomic/pull/6552)).
|
|
12
|
+
- `youtube.enabled: false` now also prevents `fetch_content` frame and timestamp extraction on YouTube URLs ([#6552](https://github.com/bastani-inc/atomic/pull/6552)).
|
|
13
|
+
- `/google-account` no longer triggers an unintended LLM response turn, and `/curator` invalid-option errors now list `none` ([#6552](https://github.com/bastani-inc/atomic/pull/6552)).
|
|
14
|
+
- Saving a new `provider` in `~/.atomic/web-search.json` now clears legacy `searchProvider`, resets the memoized search config cache immediately, and creates `dirname(WEB_SEARCH_CONFIG_PATH)` directly; initial shortcut loading now uses Atomic's config path helper without falling back to legacy `.pi/web-search.json` on malformed JSON ([#6552](https://github.com/bastani-inc/atomic/pull/6552)).
|
|
15
|
+
|
|
7
16
|
## [0.10.10-alpha.1] - 2026-11-24
|
|
8
17
|
|
|
9
18
|
### Fixed
|
|
@@ -183,7 +183,7 @@ PDF URLs up to 20 MB are extracted as text (up to 100 pages) and saved to `~/Dow
|
|
|
183
183
|
|
|
184
184
|
When Readability fails or returns only a cookie notice, the extension tries the Next.js RSC flight data parser, Jina Reader (server-side JS rendering with no API key), Gemini URL Context API, and then Gemini Web when browser cookies are enabled. Text responses are capped at 5 MB and 20 redirects.
|
|
185
185
|
|
|
186
|
-
Only `http` and `https` URLs are fetched. URLs with embedded credentials, local or private addresses (including redirects to them), and intranet host names are never sent to remote fallbacks.
|
|
186
|
+
Only `http` and `https` URLs are fetched. URLs with embedded credentials, local or private addresses (including redirects to them), and intranet host names are never sent to remote fallbacks ([Security](https://docs.bastani.ai/security), [Tools](https://docs.bastani.ai/tools#documents-and-urls)).
|
|
187
187
|
|
|
188
188
|
## Routing
|
|
189
189
|
|
|
@@ -299,7 +299,7 @@ Store settings in `~/.atomic/web-search.json`. Every field is optional. Environm
|
|
|
299
299
|
| `searchModel` | `"gemini-3-flash-preview"` | Gemini API model used by `web_search` without changing URL, YouTube, or video extraction defaults. |
|
|
300
300
|
| `summaryModel` | built-in preference list | Preferred model for curator summary drafts (must be available in your model registry). |
|
|
301
301
|
| `curatorTimeoutSeconds` | `20` | Initial curator idle timeout in seconds (max `600`). |
|
|
302
|
-
| `allowBrowserCookies` | `false` | Enable Chromium cookie extraction for Gemini Web (also controllable per process with `ATOMIC_ALLOW_BROWSER_COOKIES=1
|
|
302
|
+
| `allowBrowserCookies` | `false` | Enable Chromium cookie extraction for Gemini Web (also controllable per process with `ATOMIC_ALLOW_BROWSER_COOKIES=1`; see [Environment variables](https://docs.bastani.ai/environment-variables)). |
|
|
303
303
|
| `chromeProfile` | auto-detected | Override Chromium profile directory for Gemini Web cookie lookup. |
|
|
304
304
|
| `githubClone.enabled` | `true` | Enable local GitHub repository cloning in `fetch_content`. |
|
|
305
305
|
| `githubClone.maxRepoSizeMB` | `350` | Size threshold above which `fetch_content` falls back to the GitHub API unless `forceClone: true`. |
|
|
@@ -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.10
|
|
11
|
+
if (__atomicHostImport0.VERSION !== "0.10.10") missing.unshift(application + " was updated to 0.10.10 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.10
|
|
9
|
+
const key = `${root.href}#0.10.10`;
|
|
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.10
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10
|
|
30
|
+
if (running === undefined || running.version === "0.10.10") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10 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.10
|
|
9
|
+
const key = `${root.href}#0.10.10`;
|
|
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.10
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10
|
|
30
|
+
if (running === undefined || running.version === "0.10.10") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10 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.10
|
|
9
|
+
const key = `${root.href}#0.10.10`;
|
|
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.10
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10
|
|
30
|
+
if (running === undefined || running.version === "0.10.10") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10 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.10
|
|
9
|
+
const key = `${root.href}#0.10.10`;
|
|
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.10
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10
|
|
30
|
+
if (running === undefined || running.version === "0.10.10") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10 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.10
|
|
115
|
+
const key = `${root.href}#0.10.10`;
|
|
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.10
|
|
143
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10" ? installed : running !== undefined && running.version !== "0.10.10" ? "0.10.10" : 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.10
|
|
9
|
+
const key = `${root.href}#0.10.10`;
|
|
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.10
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10
|
|
30
|
+
if (running === undefined || running.version === "0.10.10") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10 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.10
|
|
9
|
+
const key = `${root.href}#0.10.10`;
|
|
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.10
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10
|
|
30
|
+
if (running === undefined || running.version === "0.10.10") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10 while this session was running; restart it to keep using intercom.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|