@bastani/atomic 0.10.10-alpha.1 → 0.10.10-alpha.2
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 +26 -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/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/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/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
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.10.10-alpha.2] - 2026-11-24
|
|
6
|
+
|
|
7
|
+
Atomic adds a dedicated SDK storage backends guide and standalone PostgreSQL and libSQL library docs, improves Mintlify navigation and cross-linking across all tabs, and fixes code-verified documentation and schema description gaps.
|
|
8
|
+
|
|
9
|
+
**SDK storage and standalone library docs**
|
|
10
|
+
|
|
11
|
+
- **Dedicated SDK storage guide.** Added `/sdk/storage` with complete `createAgentSession()`, `createAgentSessionRuntime()`, `SessionManager`, and `StorageError` recipes for local SQLite, JSONL, in-memory, `@bastani/atomic-storage-postgres` (PostgreSQL 16+), and `@bastani/atomic-storage-libsql` ([#6555](https://github.com/bastani-inc/atomic/pull/6555))
|
|
12
|
+
- **Storage adapter library pages and catalog.** Added `/libraries/storage-postgres` and `/libraries/storage-libsql` alongside the six core libraries in `/libraries`, grouped SDK guides under **Build → Embed and integrate → TypeScript SDK**, and added convenience redirects (`/postgres`, `/libsql`, `/turso`, `/decisions`, `/compactors`, `/blueprints`) ([#6555](https://github.com/bastani-inc/atomic/pull/6555))
|
|
13
|
+
|
|
14
|
+
**Discoverability and accuracy**
|
|
15
|
+
|
|
16
|
+
- **Routing tables, signposts, and SDK wiring recipes.** Added "Where to configure what" and CLI-vs-SDK routing tables on storage, sessions, configuration, providers, models, and hub pages, added top-of-page signposts across subagents, Intercom, and orchestration docs, and documented SDK wiring for MCP, skills, tools, codemode, subagents, Intercom, and web access ([#6555](https://github.com/bastani-inc/atomic/pull/6555))
|
|
17
|
+
- **Code-verified doc and schema fixes.** Fixed `SessionManager.listAll()`, `sm.getBranch()`, `sessionManager.forkTo()`, `openSessionById()`, `MemorySessionStore` disk-spilling semantics, JSONL `exactDirectory` layout, PostgreSQL 16+ / `secrets.password` / `listenUrl` rules, `ATOMIC_SKIP_VERSION_CHECK` and `NODE_DISABLE_COMPILE_CACHE` parsing, `decisionModel` / `compactionModel` error triggers, compactor support across `models.json` / `custom-provider` / `models.schema.json`, broken anchors, and package READMEs ([#6555](https://github.com/bastani-inc/atomic/pull/6555))
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Added the dedicated `/sdk/storage` guide (`docs/sdk/storage.md`) and standalone storage-adapter library pages (`docs/libraries/storage-postgres.md` and `docs/libraries/storage-libsql.md`) in the bundled documentation and Mintlify navigation, plus convenience redirects (`/postgres`, `/postgresql`, `/libsql`, `/turso`, `/decisions`, `/structured-decisions`, `/compactors`, `/blueprints`) ([#6555](https://github.com/bastani-inc/atomic/pull/6555)).
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- Overhauled Mintlify navigation, hub pages, routing tables, Learn/Build/Reference signposts, SDK wiring guides (MCP, skills, tools, codemode, subagents, Intercom, web access), and workspace package READMEs, and clarified `models.schema.json` / `docs/models-configuration.md` descriptions for chat vs. compactor defaults and overrides ([#6555](https://github.com/bastani-inc/atomic/pull/6555)).
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Corrected verified documentation discrepancies against runtime behavior across `docs/sdk/reference.md`, `docs/sdk.md`, `docs/storage.md`, `docs/sessions.md`, `docs/session-format.md`, `docs/settings.md`, `docs/environment-variables.md`, `docs/models/reference.md`, `docs/custom-provider/`, `docs/intercom/operations.md`, `docs/libraries/*.md`, and `examples/sdk/11-sessions.ts` (awaited `dispose()` calls), and fixed all broken doc anchors ([#6555](https://github.com/bastani-inc/atomic/pull/6555)).
|
|
30
|
+
|
|
5
31
|
## [0.10.10-alpha.1] - 2026-11-24
|
|
6
32
|
|
|
7
33
|
Atomic adds configurable remote compaction models with live switching and typed compaction errors, remembers your last selected row in the agent panel, drops redundant multi-provider scope warnings, and fixes dozens of CLI, tool, subagent, Intercom, TUI, and Web Access bugs found during a full docs audit.
|
package/README.md
CHANGED
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
|
|
18
18
|
---
|
|
19
19
|
|
|
20
|
-
Atomic is a terminal coding-agent runtime. Use built-in tools for file edits and shell commands, codemode to script multi-step checks, and subagents to delegate work to isolated contexts. Extend Atomic with TypeScript [extensions](#extensions), [skills](#skills), [prompt templates](#prompt-templates), and [themes](#themes), or share them as [Atomic packages](#atomic-packages) via npm or git.
|
|
20
|
+
Atomic is a terminal coding-agent runtime. Use built-in tools for file edits and shell commands, [codemode](docs/codemode.md) to script multi-step checks, and [subagents](docs/subagents.md) to delegate work to isolated contexts. Extend Atomic with TypeScript [extensions](#extensions), [skills](#skills), [prompt templates](#prompt-templates), and [themes](#themes), or share them as [Atomic packages](#atomic-packages) via npm or git.
|
|
21
21
|
|
|
22
|
-
Atomic bundles first-party integrations for subagents, MCP, web access, and Intercom. See [Orchestration](docs/orchestration.md) for multi-step tasks and [Migrating workflows](docs/orchestration/migrating-workflows.md) to convert an earlier workflow file to a skill.
|
|
22
|
+
Atomic bundles first-party integrations for [subagents](docs/subagents.md), [MCP servers](docs/mcp-servers.md), [web access](docs/web-access.md), and [Intercom](docs/intercom.md). Sessions save to local SQLite by default or share state across machines over PostgreSQL or libSQL/Turso ([Storage](docs/storage.md)), with [worktree snapshots](docs/worktree-snapshots.md) and [environment blueprints](docs/guides/resume-on-any-machine.md#set-the-environment-up-with-a-blueprint) for cross-machine resume. See [Orchestration](docs/orchestration.md) for multi-step tasks and [Migrating workflows](docs/orchestration/migrating-workflows.md) to convert an earlier workflow file to a skill.
|
|
23
23
|
|
|
24
24
|
Run Atomic interactively, in print or JSON mode, over RPC for process integration, or embedded through the TypeScript SDK.
|
|
25
25
|
|
|
@@ -85,7 +85,7 @@ atomic
|
|
|
85
85
|
|
|
86
86
|
By default, Atomic provides built-in coding tools (`read`, `bash`, `kill`, `edit`, `write`, `find`, `search`, `ask_user_question`, `todo`, `codemode`, plus `powershell` on native Windows when available). `edit` performs exact-text replacement without requiring an earlier `read`. See [docs/tools.md](docs/tools.md).
|
|
87
87
|
|
|
88
|
-
**Platform guides:** [Windows](docs/windows.md) | [Alpine/musl Linux](docs/getting-started/installation.md#alpine-and-musl-linux-archives) | [Termux (Android)](docs/termux.md) | [tmux](docs/tmux.md) | [Terminal setup](docs/terminal-setup.md) | [Shell aliases](docs/shell-aliases.md)
|
|
88
|
+
**Platform guides:** [Windows](docs/windows.md) | [Alpine/musl Linux](docs/getting-started/installation.md#alpine-and-musl-linux-archives) | [Termux (Android)](docs/termux.md) | [tmux](docs/tmux.md) | [Herdr](docs/herdr.md) | [Terminal setup](docs/terminal-setup.md) | [Shell aliases](docs/shell-aliases.md)
|
|
89
89
|
|
|
90
90
|
---
|
|
91
91
|
|
|
@@ -177,7 +177,7 @@ Type `/` in the editor to browse commands. [Extensions](#extensions) register cu
|
|
|
177
177
|
| `/changelog` | Show version history |
|
|
178
178
|
| `/exit`, `/quit` | Exit Atomic |
|
|
179
179
|
|
|
180
|
-
**Bundled extension commands:** `/agents` (
|
|
180
|
+
**Bundled extension commands:** `/agents` ([subagents](docs/subagents.md)), `/mcp` ([MCP servers](docs/mcp-servers.md)), `/intercom` ([Intercom](docs/intercom.md)), `/websearch`, `/curator`, `/search`, `/google-account` ([web access](docs/web-access.md)), and `/llama` ([`llama.cpp`](docs/llama-cpp.md) router models).
|
|
181
181
|
|
|
182
182
|
### Keyboard shortcuts
|
|
183
183
|
|
|
@@ -211,11 +211,11 @@ Configure `steeringMode` and `followUpMode` (`"one-at-a-time"` default, or `"all
|
|
|
211
211
|
|
|
212
212
|
## Sessions
|
|
213
213
|
|
|
214
|
-
Sessions store an append-only tree of entries (`id` and `parentId`), enabling in-place branching in one session. See [docs/session-format.md](docs/session-format.md).
|
|
214
|
+
Sessions store an append-only tree of entries (`id` and `parentId`), enabling in-place branching in one session. See [docs/session-format.md](docs/session-format.md), [docs/storage.md](docs/storage.md), [docs/worktree-snapshots.md](docs/worktree-snapshots.md), and [Resume on any machine & blueprints](docs/guides/resume-on-any-machine.md#set-the-environment-up-with-a-blueprint).
|
|
215
215
|
|
|
216
216
|
### Management
|
|
217
217
|
|
|
218
|
-
Sessions auto-save per working directory in the default local SQLite store (`~/.atomic/workflows/journal.sqlite`). Legacy `~/.atomic/agent/sessions/` and `~/.pi/agent/sessions/` JSONL files remain readable.
|
|
218
|
+
Sessions auto-save per working directory in the default local SQLite store (`~/.atomic/workflows/journal.sqlite`), or in a shared PostgreSQL or Turso/libSQL database via [Storage backends](docs/storage.md). Legacy `~/.atomic/agent/sessions/` and `~/.pi/agent/sessions/` JSONL files remain readable.
|
|
219
219
|
|
|
220
220
|
```bash
|
|
221
221
|
atomic -c # Continue the most recent session
|
|
@@ -244,7 +244,7 @@ Run `/session` interactively to copy the current session ID for `--session`, `--
|
|
|
244
244
|
|
|
245
245
|
### Compaction
|
|
246
246
|
|
|
247
|
-
When a session approaches the context limit, compaction clears the active context window without a model call by default. Atomic leaves a recovery pointer telling the agent where earlier history lives and what to recover first (`<keepContext>` spans, requests, and constraints) using `read` and `search`. Setting `compactionModel` (such as `morph/morph-compactor`) replaces the context with that model's summary instead.
|
|
247
|
+
When a session approaches the context limit, compaction clears the active context window without a model call by default. Atomic leaves a recovery pointer telling the agent where earlier history lives and what to recover first (`<keepContext>` spans, requests, and constraints) using `read` and `search`. Setting `compactionModel` (such as `morph/morph-compactor` or a [custom remote compactor](docs/compaction.md#customize-morph-or-add-a-remote-compactor)) replaces the context with that model's summary instead.
|
|
248
248
|
|
|
249
249
|
- **Manual:** Run `/compact [instructions]` (instructions guide what the agent recovers first).
|
|
250
250
|
- **Automatic:** Enabled by default on context overflow (compacts and retries once) or near the limit. Configure in `/settings` or `settings.json`.
|
|
@@ -425,17 +425,24 @@ See [docs/packages.md](docs/packages.md).
|
|
|
425
425
|
### SDK
|
|
426
426
|
|
|
427
427
|
```typescript
|
|
428
|
-
import { createAgentSession
|
|
428
|
+
import { createAgentSession } from "@bastani/atomic";
|
|
429
429
|
|
|
430
430
|
// Builds a ModelRuntime from the active agent directory's auth.json and models.json by default.
|
|
431
|
+
// Pass `sessionStore` for SQLite, JSONL, in-memory, libSQL/Turso, or PostgreSQL persistence.
|
|
431
432
|
const { session } = await createAgentSession({
|
|
432
|
-
|
|
433
|
+
sessionStore: { kind: "sqlite", path: "./sessions.sqlite" },
|
|
433
434
|
});
|
|
434
435
|
|
|
435
|
-
|
|
436
|
+
try {
|
|
437
|
+
await session.prompt("What files are in the current directory?");
|
|
438
|
+
} finally {
|
|
439
|
+
await session.dispose();
|
|
440
|
+
}
|
|
436
441
|
```
|
|
437
442
|
|
|
438
|
-
|
|
443
|
+
- **Storage backends:** Configure SQLite, JSONL, in-memory, libSQL/Turso (`@bastani/atomic-storage-libsql`), and PostgreSQL 16+ (`@bastani/atomic-storage-postgres`) with `createAgentSession()` or `createAgentSessionRuntime()`. See [SDK storage backends](docs/sdk/storage.md) ([docs.bastani.ai/sdk/storage](https://docs.bastani.ai/sdk/storage)).
|
|
444
|
+
- **Structured decisions:** Make typed, schema-validated classifier or chat decisions without starting a session using `decide()` and `generateStructuredOutput()`. See [Structured decisions](docs/sdk/structured-decisions.md).
|
|
445
|
+
- **Multi-session runtimes and guides:** See [docs/sdk.md](docs/sdk.md), [docs/sdk/web-server.md](docs/sdk/web-server.md), and [examples/sdk/](examples/sdk/).
|
|
439
446
|
|
|
440
447
|
### RPC mode
|
|
441
448
|
|
|
@@ -488,7 +495,7 @@ atomic mcp <add|remove|list|login|logout>
|
|
|
488
495
|
atomic storage <status|join|migrate|move-snapshot-chunks|search-session|export|import>
|
|
489
496
|
atomic team <join|status|leave>
|
|
490
497
|
atomic intercom <status|restart|upgrade>
|
|
491
|
-
atomic blueprint <cache-key|prebuild>
|
|
498
|
+
atomic blueprint <cache-key|prebuild> # Environment blueprint cache keys and worktree prebuilds
|
|
492
499
|
```
|
|
493
500
|
|
|
494
501
|
Run `atomic <command> --help` for full subcommand options, or see [docs/reference/cli.md](docs/reference/cli.md).
|
|
@@ -658,6 +665,6 @@ MIT
|
|
|
658
665
|
- [@bastani/atomic-tui](https://www.npmjs.com/package/@bastani/atomic-tui): Differential terminal UI library
|
|
659
666
|
- [@bastani/atomic-codemode](https://www.npmjs.com/package/@bastani/atomic-codemode): Sandboxed JavaScript execution for tool scripting
|
|
660
667
|
- [@bastani/atomic-schema](https://www.npmjs.com/package/@bastani/atomic-schema): TypeScript-first JSON Schema builder and validator
|
|
661
|
-
- [@bastani/atomic-telemetry](https://www.npmjs.com/package/@bastani/atomic-telemetry):
|
|
662
|
-
- [@bastani/atomic-storage-libsql](https://www.npmjs.com/package/@bastani/atomic-storage-libsql): Optional Turso / libSQL storage adapter
|
|
663
|
-
- [@bastani/atomic-storage-postgres](https://www.npmjs.com/package/@bastani/atomic-storage-postgres): Optional PostgreSQL storage adapter
|
|
668
|
+
- [@bastani/atomic-telemetry](https://www.npmjs.com/package/@bastani/atomic-telemetry): Vendor-neutral telemetry contracts, metrics, and trace renderers ([docs](docs/libraries/telemetry.md))
|
|
669
|
+
- [@bastani/atomic-storage-libsql](https://www.npmjs.com/package/@bastani/atomic-storage-libsql): Optional Turso / libSQL storage adapter ([docs](docs/libraries/storage-libsql.md))
|
|
670
|
+
- [@bastani/atomic-storage-postgres](https://www.npmjs.com/package/@bastani/atomic-storage-postgres): Optional PostgreSQL 16+ storage adapter ([docs](docs/libraries/storage-postgres.md))
|
|
@@ -31842,7 +31842,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
31842
31842
|
return (async () => {
|
|
31843
31843
|
const root = new URL("../", import.meta.url);
|
|
31844
31844
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
31845
|
-
const key = `${root.href}#0.10.10-alpha.
|
|
31845
|
+
const key = `${root.href}#0.10.10-alpha.2`;
|
|
31846
31846
|
let release = releases.get(key);
|
|
31847
31847
|
if (release === undefined) {
|
|
31848
31848
|
const current = (async () => {
|
|
@@ -31870,7 +31870,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
31870
31870
|
} catch {
|
|
31871
31871
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
31872
31872
|
}
|
|
31873
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.
|
|
31873
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
|
|
31874
31874
|
if (updatedTo === undefined) throw error;
|
|
31875
31875
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
31876
31876
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -40,7 +40,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
40
40
|
return (async () => {
|
|
41
41
|
const root = new URL("../", import.meta.url);
|
|
42
42
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
43
|
-
const key = `${root.href}#0.10.10-alpha.
|
|
43
|
+
const key = `${root.href}#0.10.10-alpha.2`;
|
|
44
44
|
let release = releases.get(key);
|
|
45
45
|
if (release === undefined) {
|
|
46
46
|
const current = (async () => {
|
|
@@ -68,7 +68,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
68
68
|
} catch {
|
|
69
69
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
70
70
|
}
|
|
71
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.
|
|
71
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
|
|
72
72
|
if (updatedTo === undefined) throw error;
|
|
73
73
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
74
74
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -5131,7 +5131,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
5131
5131
|
return (async () => {
|
|
5132
5132
|
const root = new URL("../", import.meta.url);
|
|
5133
5133
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
5134
|
-
const key = `${root.href}#0.10.10-alpha.
|
|
5134
|
+
const key = `${root.href}#0.10.10-alpha.2`;
|
|
5135
5135
|
let release = releases.get(key);
|
|
5136
5136
|
if (release === undefined) {
|
|
5137
5137
|
const current = (async () => {
|
|
@@ -5159,7 +5159,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
5159
5159
|
} catch {
|
|
5160
5160
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
5161
5161
|
}
|
|
5162
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.
|
|
5162
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
|
|
5163
5163
|
if (updatedTo === undefined) throw error;
|
|
5164
5164
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
5165
5165
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -28172,7 +28172,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
28172
28172
|
return (async () => {
|
|
28173
28173
|
const root = new URL("../", import.meta.url);
|
|
28174
28174
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
28175
|
-
const key = `${root.href}#0.10.10-alpha.
|
|
28175
|
+
const key = `${root.href}#0.10.10-alpha.2`;
|
|
28176
28176
|
let release = releases.get(key);
|
|
28177
28177
|
if (release === undefined) {
|
|
28178
28178
|
const current = (async () => {
|
|
@@ -28200,7 +28200,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
28200
28200
|
} catch {
|
|
28201
28201
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
28202
28202
|
}
|
|
28203
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.
|
|
28203
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
|
|
28204
28204
|
if (updatedTo === undefined) throw error;
|
|
28205
28205
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
28206
28206
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -4175,7 +4175,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
4175
4175
|
return (async () => {
|
|
4176
4176
|
const root = new URL("../", import.meta.url);
|
|
4177
4177
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
4178
|
-
const key = `${root.href}#0.10.10-alpha.
|
|
4178
|
+
const key = `${root.href}#0.10.10-alpha.2`;
|
|
4179
4179
|
let release = releases.get(key);
|
|
4180
4180
|
if (release === undefined) {
|
|
4181
4181
|
const current = (async () => {
|
|
@@ -4203,7 +4203,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
4203
4203
|
} catch {
|
|
4204
4204
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
4205
4205
|
}
|
|
4206
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.
|
|
4206
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
|
|
4207
4207
|
if (updatedTo === undefined) throw error;
|
|
4208
4208
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
4209
4209
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -27282,7 +27282,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
27282
27282
|
return (async () => {
|
|
27283
27283
|
const root = new URL("../", import.meta.url);
|
|
27284
27284
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
27285
|
-
const key = `${root.href}#0.10.10-alpha.
|
|
27285
|
+
const key = `${root.href}#0.10.10-alpha.2`;
|
|
27286
27286
|
let release = releases.get(key);
|
|
27287
27287
|
if (release === undefined) {
|
|
27288
27288
|
const current = (async () => {
|
|
@@ -27310,7 +27310,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
27310
27310
|
} catch {
|
|
27311
27311
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
27312
27312
|
}
|
|
27313
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.
|
|
27313
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
|
|
27314
27314
|
if (updatedTo === undefined) throw error;
|
|
27315
27315
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
27316
27316
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -204,7 +204,7 @@ const INTERACTIVE_ENGINE_PREWARM_DEFAULT_MODEL_API_FLAG = `${INTERACTIVE_ENGINE_
|
|
|
204
204
|
const INTERACTIVE_ENGINE_PREWARM_HANDOFF_FLAG = `${INTERACTIVE_ENGINE_PREWARM_FLAG}-handoff`;
|
|
205
205
|
const PREWARM_HOST_ARGUMENTS_MAX_LENGTH = 8192;
|
|
206
206
|
const PREWARM_READY_MAX_BYTES = 4096;
|
|
207
|
-
const PREWARM_BUILD_STAMP = "
|
|
207
|
+
const PREWARM_BUILD_STAMP = "bf024ae920a0762266a3cc2a9f1aa4";
|
|
208
208
|
const PREWARM_BUILD_STAMP_UNSTAMPED = ["__ATOMIC_PREWARM", "BUILD_STAMP__"].join("_");
|
|
209
209
|
function prewarmBuildIdentity() {
|
|
210
210
|
if (PREWARM_BUILD_STAMP === PREWARM_BUILD_STAMP_UNSTAMPED) return void 0;
|
|
@@ -568,7 +568,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
568
568
|
return (async () => {
|
|
569
569
|
const root = new URL("../", import.meta.url);
|
|
570
570
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
571
|
-
const key = `${root.href}#0.10.10-alpha.
|
|
571
|
+
const key = `${root.href}#0.10.10-alpha.2`;
|
|
572
572
|
let release = releases.get(key);
|
|
573
573
|
if (release === undefined) {
|
|
574
574
|
const current = (async () => {
|
|
@@ -596,7 +596,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
596
596
|
} catch {
|
|
597
597
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
598
598
|
}
|
|
599
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.
|
|
599
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
|
|
600
600
|
if (updatedTo === undefined) throw error;
|
|
601
601
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
602
602
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -10286,7 +10286,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
10286
10286
|
return (async () => {
|
|
10287
10287
|
const root = new URL("../", import.meta.url);
|
|
10288
10288
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
10289
|
-
const key = `${root.href}#0.10.10-alpha.
|
|
10289
|
+
const key = `${root.href}#0.10.10-alpha.2`;
|
|
10290
10290
|
let release = releases.get(key);
|
|
10291
10291
|
if (release === undefined) {
|
|
10292
10292
|
const current = (async () => {
|
|
@@ -10314,7 +10314,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
10314
10314
|
} catch {
|
|
10315
10315
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
10316
10316
|
}
|
|
10317
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.
|
|
10317
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
|
|
10318
10318
|
if (updatedTo === undefined) throw error;
|
|
10319
10319
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
10320
10320
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -221,7 +221,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
221
221
|
return (async () => {
|
|
222
222
|
const root = new URL("../", import.meta.url);
|
|
223
223
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
224
|
-
const key = `${root.href}#0.10.10-alpha.
|
|
224
|
+
const key = `${root.href}#0.10.10-alpha.2`;
|
|
225
225
|
let release = releases.get(key);
|
|
226
226
|
if (release === undefined) {
|
|
227
227
|
const current = (async () => {
|
|
@@ -249,7 +249,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
249
249
|
} catch {
|
|
250
250
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
251
251
|
}
|
|
252
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.
|
|
252
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
|
|
253
253
|
if (updatedTo === undefined) throw error;
|
|
254
254
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
255
255
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -19644,7 +19644,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
19644
19644
|
return (async () => {
|
|
19645
19645
|
const root = new URL("../", import.meta.url);
|
|
19646
19646
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
19647
|
-
const key = `${root.href}#0.10.10-alpha.
|
|
19647
|
+
const key = `${root.href}#0.10.10-alpha.2`;
|
|
19648
19648
|
let release = releases.get(key);
|
|
19649
19649
|
if (release === undefined) {
|
|
19650
19650
|
const current = (async () => {
|
|
@@ -19672,7 +19672,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
19672
19672
|
} catch {
|
|
19673
19673
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
19674
19674
|
}
|
|
19675
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.
|
|
19675
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
|
|
19676
19676
|
if (updatedTo === undefined) throw error;
|
|
19677
19677
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
19678
19678
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -19441,7 +19441,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
19441
19441
|
return (async () => {
|
|
19442
19442
|
const root = new URL("../", import.meta.url);
|
|
19443
19443
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
19444
|
-
const key = `${root.href}#0.10.10-alpha.
|
|
19444
|
+
const key = `${root.href}#0.10.10-alpha.2`;
|
|
19445
19445
|
let release = releases.get(key);
|
|
19446
19446
|
if (release === undefined) {
|
|
19447
19447
|
const current = (async () => {
|
|
@@ -19469,7 +19469,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
19469
19469
|
} catch {
|
|
19470
19470
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
19471
19471
|
}
|
|
19472
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.
|
|
19472
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
|
|
19473
19473
|
if (updatedTo === undefined) throw error;
|
|
19474
19474
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
19475
19475
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|
|
@@ -10148,9 +10148,10 @@ const ModelTypeFieldSchema = Type$1.Union([Type$1.Literal("chat"), Type$1.Litera
|
|
|
10148
10148
|
const HeadersSchema = Type$1.Record(Type$1.String(), Type$1.String(), { description: "Request headers. Values resolve like apiKey." });
|
|
10149
10149
|
const ModelFieldDescriptions = {
|
|
10150
10150
|
name: "Display name, also matched by --model patterns.",
|
|
10151
|
-
reasoning: "Whether the model supports thinking.",
|
|
10152
|
-
contextWindow: "Context window in tokens.",
|
|
10153
|
-
maxTokens: "Maximum output tokens."
|
|
10151
|
+
reasoning: "Whether the model supports thinking. Applies only to chat models.",
|
|
10152
|
+
contextWindow: "Context window in tokens. Applies only to chat models.",
|
|
10153
|
+
maxTokens: "Maximum output tokens. Defaults to 16384 for chat models. When omitted on compactor models, defaults to 32000 estimated tokens, capped at 50% of the automatic trigger.",
|
|
10154
|
+
maxTokensOverride: "Maximum output tokens. On compactor models, sets the upper bound on compacted output in estimated tokens, capped at 50% of the automatic trigger."
|
|
10154
10155
|
};
|
|
10155
10156
|
/** Everything pi-ai defines for compatibility, plus Atomic's alias for the grammar-tool capability. */
|
|
10156
10157
|
const ModelsJsonCompatSchema = Type$1.Object({
|
|
@@ -10227,7 +10228,7 @@ const ModelOverrideSchema = Type$1.Object({
|
|
|
10227
10228
|
})),
|
|
10228
10229
|
maxTokens: Type$1.Optional(Type$1.Number({
|
|
10229
10230
|
exclusiveMinimum: 0,
|
|
10230
|
-
description: ModelFieldDescriptions.
|
|
10231
|
+
description: ModelFieldDescriptions.maxTokensOverride
|
|
10231
10232
|
})),
|
|
10232
10233
|
timeoutMs: Type$1.Optional(CompactorTimeoutFieldSchema),
|
|
10233
10234
|
samplingParams: Type$1.Optional(SamplingParamsFieldSchema),
|
|
@@ -12218,7 +12219,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
12218
12219
|
return (async () => {
|
|
12219
12220
|
const root = new URL("../", import.meta.url);
|
|
12220
12221
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
12221
|
-
const key = `${root.href}#0.10.10-alpha.
|
|
12222
|
+
const key = `${root.href}#0.10.10-alpha.2`;
|
|
12222
12223
|
let release = releases.get(key);
|
|
12223
12224
|
if (release === undefined) {
|
|
12224
12225
|
const current = (async () => {
|
|
@@ -12246,7 +12247,7 @@ function __atomicOnDemandFailed(error, feature) {
|
|
|
12246
12247
|
} catch {
|
|
12247
12248
|
// No installation to read, as in a bundle of the package: the release the process runs decides.
|
|
12248
12249
|
}
|
|
12249
|
-
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.
|
|
12250
|
+
const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
|
|
12250
12251
|
if (updatedTo === undefined) throw error;
|
|
12251
12252
|
const application = typeof running?.name === "string" ? running.name : "atomic";
|
|
12252
12253
|
const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
|