@bastani/atomic 0.9.19-alpha.5 → 0.9.19-alpha.7
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 +32 -0
- package/README.md +2 -2
- package/dist/builtin/intercom/CHANGELOG.md +6 -0
- package/dist/builtin/intercom/broker/client.ts +19 -1
- package/dist/builtin/intercom/index.bundle.mjs +8 -1
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/CHANGELOG.md +6 -0
- package/dist/builtin/subagents/README.md +3 -1
- package/dist/builtin/subagents/agents/codebase-online-researcher.md +7 -7
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/skills/subagent/SKILL.md +3 -1
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +2 -1
- package/dist/builtin/web-access/CHANGELOG.md +13 -0
- package/dist/builtin/web-access/README.md +31 -24
- package/dist/builtin/web-access/index.bundle.mjs +16121 -80
- package/dist/builtin/web-access/package.json +2 -1
- package/dist/builtin/workflows/CHANGELOG.md +15 -0
- package/dist/builtin/workflows/README.md +1 -1
- package/dist/builtin/workflows/builtin/adversarial-verification.js +2 -2
- package/dist/builtin/workflows/builtin/{chunk-vhmnzdj9.js → chunk-1jth021m.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-p8jjwfg6.js → chunk-2377r57g.js} +4 -2
- package/dist/builtin/workflows/builtin/{chunk-hbnwv56f.js → chunk-31j2gs7h.js} +2 -2
- package/dist/builtin/workflows/builtin/{chunk-n8zysf1t.js → chunk-ngkqkzej.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-1nbq96fh.js → chunk-nkrafh9s.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-1kx4aggw.js → chunk-wf741bv3.js} +2 -2
- package/dist/builtin/workflows/builtin/{chunk-t6x2d78s.js → chunk-z29qbehr.js} +1 -1
- package/dist/builtin/workflows/builtin/generate-and-filter.js +2 -2
- package/dist/builtin/workflows/builtin/goal.js +3 -3
- package/dist/builtin/workflows/builtin/index.js +7 -7
- package/dist/builtin/workflows/builtin/ralph.js +3 -3
- package/dist/builtin/workflows/builtin/tournament.js +2 -2
- package/dist/builtin/workflows/package.json +1 -1
- package/dist/builtin/workflows/src/extension/index.bundle.mjs +339 -31
- package/dist/builtin/workflows/src/index.js +67 -19
- package/dist/builtin/workflows/src/shared/authoring-contract-stage.d.ts +2 -0
- package/dist/core/agent-session-tool-registry.d.ts.map +1 -1
- package/dist/core/agent-session-tool-registry.js +10 -0
- package/dist/core/agent-session-tool-registry.js.map +1 -1
- package/dist/core/bash-executor.js.map +1 -1
- package/dist/core/tools/bash.d.ts +1 -1
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +3 -2
- package/dist/core/tools/bash.js.map +1 -1
- package/dist/core/tools/edit.d.ts +3 -0
- package/dist/core/tools/edit.d.ts.map +1 -1
- package/dist/core/tools/edit.js +91 -12
- package/dist/core/tools/edit.js.map +1 -1
- package/dist/core/tools/file-mutation-coordinator.d.ts +255 -0
- package/dist/core/tools/file-mutation-coordinator.d.ts.map +1 -0
- package/dist/core/tools/file-mutation-coordinator.js +300 -0
- package/dist/core/tools/file-mutation-coordinator.js.map +1 -0
- package/dist/core/tools/file-mutation-queue.d.ts +14 -1
- package/dist/core/tools/file-mutation-queue.d.ts.map +1 -1
- package/dist/core/tools/file-mutation-queue.js +15 -3
- package/dist/core/tools/file-mutation-queue.js.map +1 -1
- package/dist/core/tools/hashline.d.ts +9 -0
- package/dist/core/tools/hashline.d.ts.map +1 -1
- package/dist/core/tools/hashline.js +12 -1
- package/dist/core/tools/hashline.js.map +1 -1
- package/dist/core/tools/index.d.ts +9 -1
- package/dist/core/tools/index.d.ts.map +1 -1
- package/dist/core/tools/index.js +67 -12
- package/dist/core/tools/index.js.map +1 -1
- package/dist/core/tools/non-minting-snapshot-store.d.ts +49 -0
- package/dist/core/tools/non-minting-snapshot-store.d.ts.map +1 -0
- package/dist/core/tools/non-minting-snapshot-store.js +64 -0
- package/dist/core/tools/non-minting-snapshot-store.js.map +1 -0
- package/dist/core/tools/powershell.d.ts +2 -2
- package/dist/core/tools/powershell.d.ts.map +1 -1
- package/dist/core/tools/powershell.js +2 -5
- package/dist/core/tools/powershell.js.map +1 -1
- package/dist/core/tools/read-document-extract.js.map +1 -1
- package/dist/core/tools/render-utils.js.map +1 -1
- package/dist/core/tools/write.d.ts +30 -1
- package/dist/core/tools/write.d.ts.map +1 -1
- package/dist/core/tools/write.js +97 -8
- package/dist/core/tools/write.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/modes/interactive/components/bash-execution.js.map +1 -1
- package/dist/modes/interactive/components/task-live-transcript.d.ts +1 -1
- package/dist/modes/interactive/components/task-live-transcript.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-live-transcript.js +19 -11
- package/dist/modes/interactive/components/task-live-transcript.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.d.ts +1 -0
- package/dist/modes/interactive/interactive-mode-base.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.js +3 -1
- package/dist/modes/interactive/interactive-mode-base.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.d.ts +1 -1
- package/dist/modes/interactive/interactive-mode-surface.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.js.map +1 -1
- package/dist/modes/interactive/interactive-render-chat.js +28 -4
- package/dist/modes/interactive/interactive-render-chat.js.map +1 -1
- package/dist/modes/interactive/interactive-startup.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-startup.js +3 -0
- package/dist/modes/interactive/interactive-startup.js.map +1 -1
- package/dist/modes/interactive-engine/activity-watchdog.d.ts +2 -2
- package/dist/modes/interactive-engine/activity-watchdog.d.ts.map +1 -1
- package/dist/modes/interactive-engine/activity-watchdog.js.map +1 -1
- package/dist/modes/interactive-engine/engine-diagnostic-view.d.ts +3 -1
- package/dist/modes/interactive-engine/engine-diagnostic-view.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-diagnostic-view.js +11 -0
- package/dist/modes/interactive-engine/engine-diagnostic-view.js.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.js +2 -1
- package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
- package/dist/modes/rpc/rpc-client-process.d.ts +2 -0
- package/dist/modes/rpc/rpc-client-process.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client-process.js +23 -1
- package/dist/modes/rpc/rpc-client-process.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +20 -3
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/utils/markit.d.ts +2 -0
- package/dist/utils/markit.d.ts.map +1 -1
- package/dist/utils/markit.js +65 -5
- package/dist/utils/markit.js.map +1 -1
- package/docs/background-tasks.md +15 -11
- package/docs/build.md +51 -0
- package/docs/changelog.mdx +8 -8
- package/docs/compaction/reference.md +267 -0
- package/docs/compaction.md +36 -219
- package/docs/computer-use.md +35 -0
- package/docs/containerization.md +9 -5
- package/docs/custom-provider/api-reference.md +145 -0
- package/docs/custom-provider/oauth.md +131 -0
- package/docs/custom-provider/override.md +34 -0
- package/docs/custom-provider/registration.md +163 -0
- package/docs/custom-provider/streaming.md +214 -0
- package/docs/custom-provider.md +43 -607
- package/docs/development.md +87 -0
- package/docs/docs.json +199 -76
- package/docs/environment-variables.md +1 -1
- package/docs/extensions/api-reference.md +1001 -0
- package/docs/extensions/authoring.md +676 -0
- package/docs/extensions/events.md +793 -0
- package/docs/extensions/examples.md +94 -0
- package/docs/extensions/ui.md +470 -0
- package/docs/extensions.md +270 -2768
- package/docs/getting-started/authentication.md +55 -0
- package/docs/getting-started/first-session.md +172 -0
- package/docs/getting-started/installation.md +154 -0
- package/docs/getting-started/project-instructions.md +43 -0
- package/docs/guides/configuration.md +65 -0
- package/docs/guides/intercom.md +24 -0
- package/docs/guides/non-interactive.md +33 -0
- package/docs/guides/subagents.md +24 -0
- package/docs/guides/workflows.md +27 -0
- package/docs/guides.md +41 -0
- package/docs/index.md +13 -45
- package/docs/intercom/operations.md +178 -0
- package/docs/intercom/reference.md +146 -0
- package/docs/intercom.md +54 -259
- package/docs/json.md +17 -0
- package/docs/llama-cpp.md +5 -0
- package/docs/models/artificial-analysis-index.md +89 -0
- package/docs/models/evals.md +2 -2
- package/docs/models/model-selection.md +3 -3
- package/docs/models/pareto-efficiency.md +2 -2
- package/docs/models/reference.md +601 -0
- package/docs/models.md +45 -550
- package/docs/packages/authoring.md +88 -0
- package/docs/packages/reference.md +43 -0
- package/docs/packages.md +28 -107
- package/docs/programmatic.md +29 -0
- package/docs/prompt-templates.md +11 -0
- package/docs/providers/reference.md +23 -0
- package/docs/providers.md +10 -15
- package/docs/quickstart.md +44 -238
- package/docs/reference/cli.md +252 -0
- package/docs/reference.md +52 -0
- package/docs/rpc/examples.md +64 -0
- package/docs/rpc/extension-ui.md +198 -0
- package/docs/rpc/protocol.md +1341 -0
- package/docs/rpc.md +109 -1346
- package/docs/sdk/reference.md +1090 -0
- package/docs/sdk.md +56 -1002
- package/docs/session-format.md +2 -0
- package/docs/sessions.md +6 -10
- package/docs/settings.md +6 -45
- package/docs/skills/authoring.md +95 -0
- package/docs/skills/reference.md +60 -0
- package/docs/skills.md +20 -122
- package/docs/subagents/authoring.md +37 -0
- package/docs/subagents/reference.md +60 -0
- package/docs/subagents.md +42 -96
- package/docs/terminal-setup.md +1 -1
- package/docs/themes/reference.md +176 -0
- package/docs/themes.md +21 -135
- package/docs/tmux.md +5 -0
- package/docs/tools/edit.md +5 -0
- package/docs/tools.md +31 -0
- package/docs/tui/reference.md +343 -0
- package/docs/tui.md +23 -286
- package/docs/usage.md +26 -209
- package/docs/web-access.md +40 -0
- package/docs/windows.md +2 -1
- package/docs/workflows/api-reference.md +11 -4
- package/docs/workflows/authoring.md +4 -2
- package/docs/workflows/builtins.md +2 -2
- package/docs/workflows/operations.md +11 -7
- package/docs/workflows/reliable-design.md +21 -3
- package/docs/workflows/verification.md +8 -0
- package/examples/extensions/gondolin/index.ts +116 -148
- package/examples/extensions/gondolin/package.json +1 -1
- package/examples/extensions/ssh.ts +56 -34
- package/npm-shrinkwrap.json +33 -33
- package/package.json +4 -4
package/docs/subagents.md
CHANGED
|
@@ -7,37 +7,18 @@ description: "Run focused Atomic child agents"
|
|
|
7
7
|
|
|
8
8
|
Atomic bundles `@bastani/subagents`, an extension for bounded specialist delegation with separate context while the parent remains in control. Use a single agent or parallel fan-out when isolation or a specialist pass materially helps with locating code, analyzing behavior, researching references, reproducing actual failures, or simplifying code. Keep interactive, exploratory, conceptual, and conversation-led work inline when direct user steering is more useful.
|
|
9
9
|
|
|
10
|
+
Keep immediately blocking work local unless specialist expertise, context isolation, or an explicit delegation request makes a child worthwhile. Delegate independent work you can overlap with your own next steps, then continue without duplicating the child's task. If a specialist's result is needed next, foreground observation is still available. Wait when the result becomes a dependency; otherwise rely on completion notices rather than repeated short waits or status polls.
|
|
11
|
+
|
|
10
12
|
You do not need to install anything separately when you use `@bastani/atomic`.
|
|
11
13
|
|
|
12
14
|
Background subagents are supported. See [Background tasks](/background-tasks) for launch examples, the below-prompt status indicator, `/tasks`, shell output, cancellation, and completion notices.
|
|
13
15
|
|
|
14
|
-
##
|
|
15
|
-
|
|
16
|
-
Open `/agents` to browse the available project, user, and built-in agents. Type to filter by name, description, or source. Use arrows to select an agent and Enter to inspect its description, model and fallbacks, tools, definition path, and system prompt. Escape returns to the catalog, then to chat. `/agents <query>` starts with a filter. Browsing is read-only and never launches an agent.
|
|
17
|
-
|
|
18
|
-
The catalog is navigation, not an approval prompt. Leaving it open does not mark [Herdr](/herdr) blocked or hide active agent work; separate user-decision prompts still report their normal waits.
|
|
19
|
-
|
|
20
|
-
The catalog uses the same effective discovery rules as execution, so overridden definitions and disabled agents are not offered as separate launchable choices. Ask Atomic to create or modify an agent; the catalog does not change configuration.
|
|
21
|
-
|
|
22
|
-
## Task inspection
|
|
23
|
-
|
|
24
|
-
Hosts with an owner task store expose `/tasks` and `/tasks <id>` for background agents and shells, including their retained terminal results. Foreground-only work is excluded. Enter opens detail; arrows select an explicit action. Cancel asks for confirmation of the selected task. Terminal tasks retain transcript inspection but omit foreground, cancellation, and stdin actions. Escape returns from detail or stdin before returning to the composer.
|
|
25
|
-
|
|
26
|
-
`/tasks` appears in slash-command autocomplete. The inspector groups agents and shells with counts, status symbols, and a highlighted selection. Task descriptions lead; the selected row shows secondary activity and tool counts. The header and footer remain visible in ordinary terminal sizes, with a compact fallback for short terminals.
|
|
27
|
-
|
|
28
|
-
The list opens as a compact inline widget, like the `/workflow connect` picker. Detail, transcript, input, and stop-confirmation pages are fullscreen; returning to the list preserves selection. Every agent row includes its resolved model and reasoning level when available, including completed background tasks.
|
|
16
|
+
## Where to go next
|
|
29
17
|
|
|
30
|
-
|
|
18
|
+
Subagents are focused child agents you delegate bounded work to. Read this page for natural-language use and execution behavior, then continue:
|
|
31
19
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
Transcript inspection uses a dedicated scrolling view with pinned identity, position, and controls. Retained child messages use the normal message renderers, excluding hidden reasoning and inline images. Missing capture is reported as `Transcript unavailable`; metrics never substitute for missing messages. Arrows scroll, PageUp/PageDown moves one viewport, and PageUp at the top loads earlier retained history. Home/End jumps within loaded history.
|
|
35
|
-
|
|
36
|
-
Open live transcripts subscribe to child-session events, so streaming text and partial/final tool results refresh without reopening the page or waiting for a task-activity counter. Earlier pages remain anchored while updates arrive. Leaving the transcript releases its subscription without affecting execution.
|
|
37
|
-
|
|
38
|
-
Detail views pin task identity, state, available metrics, and the selected action while PageUp/PageDown scrolls the body. Recent activity shows up to five retained tool actions; errors and input requests appear explicitly. Left returns to the previous view. `x` requests cancellation without bypassing confirmation or configured task bindings. Shell inspection shows a bounded output tail with omission markers.
|
|
39
|
-
|
|
40
|
-
After a confirmed `x` stop settles, the owning chat receives a visible **stopped** notification and the parent model receives the stop context, even if the child returns no final message. Repeated stops do not duplicate notifications or replace an already-recorded terminal result. Closing the owner still suppresses late completion delivery.
|
|
20
|
+
- [Custom subagents](/subagents/authoring) — define, scope, and configure your own.
|
|
21
|
+
- [Subagent reference](/subagents/reference) — fallback model resolution and reasoning levels.
|
|
41
22
|
|
|
42
23
|
## Start with natural language
|
|
43
24
|
|
|
@@ -57,6 +38,14 @@ Research the upstream library behavior online, then compare it with our local im
|
|
|
57
38
|
|
|
58
39
|
Atomic decides whether delegation adds value, which specialist fits each bounded part, and whether the work should run as a single child, parallel group, or forked-context run. Multiple steps, files, tests, validation, or parallelism alone do not require a workflow; clearly delegated long-running autonomous work that needs durable stages, checkpoints, resumability, HIL, gates, retries, or loops is usually better served by a workflow.
|
|
59
40
|
|
|
41
|
+
## Browse agents
|
|
42
|
+
|
|
43
|
+
Open `/agents` to browse the available project, user, and built-in agents. Type to filter by name, description, or source. Use arrows to select an agent and Enter to inspect its description, model and fallbacks, tools, definition path, and system prompt. Escape returns to the catalog, then to chat. `/agents <query>` starts with a filter. Browsing is read-only and never launches an agent.
|
|
44
|
+
|
|
45
|
+
The catalog is navigation, not an approval prompt. Leaving it open does not mark [Herdr](/herdr) blocked or hide active agent work; separate user-decision prompts still report their normal waits.
|
|
46
|
+
|
|
47
|
+
The catalog uses the same effective discovery rules as execution, so overridden definitions and disabled agents are not offered as separate launchable choices. Ask Atomic to create or modify an agent; the catalog does not change configuration.
|
|
48
|
+
|
|
60
49
|
## Subagent execution is non-interactive
|
|
61
50
|
|
|
62
51
|
Supported subagent launches start immediately without opening a preview/editor prompt or waiting for terminal input. This applies to single, parallel, forked, fanout, and prompt-template execution. Ask any necessary questions in the parent conversation before delegating.
|
|
@@ -67,7 +56,7 @@ Subagents now run and return their results directly. Atomic does not infer accep
|
|
|
67
56
|
|
|
68
57
|
## Owner-bound task observation
|
|
69
58
|
|
|
70
|
-
Runtime-created session contexts bind single launches to their actual session or workflow-stage owner. Omitted `wait` returns an admitted observation with reason `default-background`; `wait: {kind: "background"}` uses reason `explicit`. `wait: {kind: "foreground", budgetMs: 30000}` opts into foreground-first observation. The omitted foreground budget is 30000 ms. `subagent({action: "wait", id: taskId
|
|
59
|
+
Runtime-created session contexts bind single launches to their actual session or workflow-stage owner. Omitted `wait` returns an admitted observation with reason `default-background`; `wait: {kind: "background"}` uses reason `explicit`. `wait: {kind: "foreground", budgetMs: 30000}` opts into foreground-first observation. The omitted foreground budget is 30000 ms. `subagent({action: "wait", id: taskId})` observes an existing task in the same owner without restarting it, using the owner's observation budget unless explicitly overridden.
|
|
71
60
|
|
|
72
61
|
The agent may choose foreground-first or background observation for each authorized call without asking the user merely to select a mode. When a foreground observation expires, the returned task is still running. Wait for terminal completion before using its result in dependent work. See [Choosing how long to wait](/background-tasks#choose-how-long-to-wait) for shell and subagent defaults and the separate execution-timeout behavior.
|
|
73
62
|
|
|
@@ -95,6 +84,12 @@ A single-child launch retains its existing terminal handoff: a parent-targeted b
|
|
|
95
84
|
|
|
96
85
|
When the Intercom bridge is active, the parent may connect to issue the child capability; the child's own connection remains tool-driven. Non-interactive children still run normal extension lifecycle and remain in-process `AgentSession` instances while live.
|
|
97
86
|
|
|
87
|
+
The handoff explicitly tells the parent to start a fresh child with a normal launch such as `subagent({ agent: "worker", task: "[TASK_CONTEXT] ... Continue with this supervisor answer: ..." })`. The new child receives a new run identity. Completed, interrupted, and parent-question children are terminal for continuation; a prior run ID cannot revive one.
|
|
88
|
+
|
|
89
|
+
## Foreground supervisor coordination
|
|
90
|
+
|
|
91
|
+
See [Supervisor coordination](#supervisor-coordination) for parallel requests and [Single-child handoff](#single-child-handoff) for claimed single-child requests.
|
|
92
|
+
|
|
98
93
|
## Migration from acceptance gates
|
|
99
94
|
|
|
100
95
|
If you have older subagent calls or custom agents that used the removed gate fields:
|
|
@@ -186,17 +181,25 @@ Live progress and completed results show each step's resolved model ID and effec
|
|
|
186
181
|
|
|
187
182
|
Owner-task rows, status cards, foreground result receipts, and background completion cards retain these settings too. Background launch receipts include the concrete model and known, capability-clamped reasoning level selected at admission, including inherited defaults, without waiting for child session startup. A launch receipt remains a snapshot; inspect `/tasks` for later session resolution or fallback changes. Settings that are not yet resolved remain unavailable rather than being guessed from the parent's display. Completion metadata is persisted with the notification so it remains visible when replaying chat history.
|
|
188
183
|
|
|
189
|
-
##
|
|
184
|
+
## Task inspection
|
|
190
185
|
|
|
191
|
-
|
|
186
|
+
Hosts with an owner task store expose `/tasks` and `/tasks <id>` for background agents and shells, including their retained terminal results. Foreground-only work is excluded. Enter opens detail; arrows select an explicit action. Cancel asks for confirmation of the selected task. Terminal tasks retain transcript inspection but omit foreground, cancellation, and stdin actions. Escape returns from detail or stdin before returning to the composer.
|
|
192
187
|
|
|
193
|
-
|
|
188
|
+
`/tasks` appears in slash-command autocomplete. The inspector groups agents and shells with counts, status symbols, and a highlighted selection. Task descriptions lead; the selected row shows secondary activity and tool counts. The header and footer remain visible in ordinary terminal sizes, with a compact fallback for short terminals.
|
|
189
|
+
|
|
190
|
+
The list opens as a compact inline widget, like the `/workflow connect` picker. Detail, transcript, input, and stop-confirmation pages are fullscreen; returning to the list preserves selection. Every agent row includes its resolved model and reasoning level when available, including completed background tasks.
|
|
191
|
+
|
|
192
|
+
While `/tasks` or its fullscreen transcript/detail view is active, Escape navigates back or closes that view; it does not cancel a pending `ask_user_question`. The questionnaire waits out of the way and returns with its selection intact after task navigation closes. With no task view active, Escape cancels the questionnaire normally.
|
|
194
193
|
|
|
195
|
-
|
|
194
|
+
In the default isolated CLI, background subagents continue running after their launch observation returns. The engine publishes a compact task-status indicator below the prompt box, without task rows or activity previews. Run `/tasks` to open the list and inspect individual tasks; task updates never open it automatically. Completed tasks leave the live indicator and remain available in completion cards and `/tasks`. Inspecting does not restart work or create a second task owner. Top-level model bash commands use this owner on POSIX and native Windows; native Windows PowerShell is also owner-bound. Commands inside subagent sessions retain their existing execution path. See [Background shells](/background-tasks#background-shells) for platform support and the separate execution timeout.
|
|
196
195
|
|
|
197
|
-
|
|
196
|
+
Transcript inspection uses a dedicated scrolling view with pinned identity, position, and controls. Retained child messages use the normal message renderers, excluding hidden reasoning and inline images. Missing capture is reported as `Transcript unavailable`; metrics never substitute for missing messages. Arrows scroll, PageUp/PageDown moves one viewport, and PageUp at the top loads earlier retained history. Home/End jumps within loaded history.
|
|
198
197
|
|
|
199
|
-
|
|
198
|
+
Open live transcripts subscribe to child-session events, so streaming text and partial/final tool results refresh without reopening the page or waiting for a task-activity counter. Earlier pages remain anchored while updates arrive. Leaving the transcript releases its subscription without affecting execution.
|
|
199
|
+
|
|
200
|
+
Detail views pin task identity, state, available metrics, and the selected action while PageUp/PageDown scrolls the body. Recent activity shows up to five retained tool actions; errors and input requests appear explicitly. Left returns to the previous view. `x` requests cancellation without bypassing confirmation or configured task bindings. Shell inspection shows a bounded output tail with omission markers.
|
|
201
|
+
|
|
202
|
+
After a confirmed `x` stop settles, the owning chat receives a visible **stopped** notification and the parent model receives the stop context, even if the child returns no final message. Repeated stops do not duplicate notifications or replace an already-recorded terminal result. Closing the owner still suppresses late completion delivery.
|
|
200
203
|
|
|
201
204
|
## Orchestrator model and group policy
|
|
202
205
|
|
|
@@ -257,76 +260,15 @@ This keeps the parent session responsible for orchestration.
|
|
|
257
260
|
|
|
258
261
|
## Custom agents
|
|
259
262
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
| Scope | Path |
|
|
263
|
-
|---|---|
|
|
264
|
-
| User | `~/.atomic/agent/agents/**/*.md` |
|
|
265
|
-
| Project | `.atomic/agents/**/*.md` |
|
|
266
|
-
|
|
267
|
-
A small custom read-only inspection agent:
|
|
268
|
-
|
|
269
|
-
```markdown
|
|
270
|
-
---
|
|
271
|
-
name: strict-inspector
|
|
272
|
-
description: Inspect code for correctness and regressions
|
|
273
|
-
tools: read, search, bash
|
|
274
|
-
model: anthropic/claude-sonnet-4
|
|
275
|
-
fallbackModels: openai/gpt-5-mini
|
|
276
|
-
inheritProjectContext: true
|
|
277
|
-
---
|
|
278
|
-
|
|
279
|
-
## Role and goal
|
|
280
|
-
Inspect the current diff for correctness and regressions without editing files.
|
|
281
|
-
|
|
282
|
-
## Success criteria
|
|
283
|
-
Cite each actionable issue with file:line evidence and the observed failure or risk.
|
|
284
|
-
|
|
285
|
-
## Output and stop rule
|
|
286
|
-
Return only issues worth fixing now. Stop when the relevant diff and affected call paths have been inspected, or name the evidence you could not access.
|
|
287
|
-
```
|
|
263
|
+
Moved to [Custom subagents](/subagents/authoring#custom-agents).
|
|
288
264
|
|
|
289
265
|
## Fallback models
|
|
290
266
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
A candidate that cannot serve the current request — for example an HTTP 400/413/422 bad/unprocessable/payload-too-large request, an unsupported tool or parameter, a context-length/context-window overflow, or a `too large` / `invalid_request` error — is treated as request/context incompatible and the fallback sequence advances to the next candidate rather than stopping. This means that if none of the configured candidates are applicable to the request, Atomic falls back to the currently selected user model instead of failing outright.
|
|
294
|
-
|
|
295
|
-
Model fallback decisions use structured provider and attempt causes. There is no per-attempt idle watchdog, no child wall-clock kill cap, and no timeout-regex classification: a quiet provider response is allowed to finish, and only an explicit termination or provider failure supplies a retryable cause. Numeric process exit codes are not used as an outcome discriminator.
|
|
296
|
-
|
|
297
|
-
When registry availability shows that a known candidate provider has no configured auth, Atomic records a skipped model attempt before starting the in-process turn. Unknown/custom providers are still attempted, and the current user-selected model appended as the final fallback is never filtered out by this pre-admission check.
|
|
298
|
-
|
|
299
|
-
Fallbacks do not retry ordinary task failures, validation failures, tool failures, cancellations, or workflow-code errors. Because a fallback may send the same prompt and context to a different provider, choose models that match your cost, privacy, and data-handling requirements.
|
|
300
|
-
|
|
301
|
-
Each candidate can also carry its own reasoning effort — see [Reasoning levels](#reasoning-levels).
|
|
267
|
+
Moved to [Subagent reference](/subagents/reference#fallback-models).
|
|
302
268
|
|
|
303
269
|
## Reasoning levels
|
|
304
270
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
```markdown
|
|
308
|
-
---
|
|
309
|
-
name: deep-reviewer
|
|
310
|
-
description: Adversarial reviewer for risky diffs
|
|
311
|
-
tools: read, search, bash
|
|
312
|
-
model: anthropic/claude-sonnet-4:high
|
|
313
|
-
fallbackModels: openai/gpt-5:medium, anthropic/claude-haiku-4-5:off
|
|
314
|
-
---
|
|
315
|
-
```
|
|
316
|
-
|
|
317
|
-
Because the effort travels with each model string, every primary and fallback candidate is self-contained: a fallback can run at a different effort than the primary, so a high-effort primary degrades gracefully to a cheaper, lower-effort fallback.
|
|
318
|
-
|
|
319
|
-
**Migrate off the legacy `thinking` field.** The separate `thinking:` frontmatter field is deprecated. It still works as a default for any candidate that has no suffix, and a suffix always wins, but new agents should encode the effort directly on `model` and `fallbackModels`:
|
|
320
|
-
|
|
321
|
-
```diff
|
|
322
|
-
-model: openai/gpt-5.5
|
|
323
|
-
-fallbackModels: anthropic/claude-opus-4-8
|
|
324
|
-
-thinking: xhigh
|
|
325
|
-
+model: openai/gpt-5.5:xhigh
|
|
326
|
-
+fallbackModels: anthropic/claude-opus-4-8:xhigh
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
`fallbackThinkingLevels` exists only as an optional compatibility helper: it is aligned by index to `fallbackModels` and supplies a fallback candidate's effort only when that fallback entry has no suffix. Prefer suffixed model strings instead. Attempt metadata reports the resolved model and the effective reasoning effort used for each attempt.
|
|
271
|
+
Moved to [Subagent reference](/subagents/reference#reasoning-levels).
|
|
330
272
|
|
|
331
273
|
## Related docs
|
|
332
274
|
|
|
@@ -334,3 +276,7 @@ Because the effort travels with each model string, every primary and fallback ca
|
|
|
334
276
|
- [Intercom](/intercom) for cross-session messaging and supervisor escalation.
|
|
335
277
|
- [Skills](/skills) for reusable instructions invoked with `/skill:<name>`.
|
|
336
278
|
- [Settings](/settings) for user and project configuration.
|
|
279
|
+
|
|
280
|
+
## Owner-bound task projection
|
|
281
|
+
|
|
282
|
+
Moved to [Subagent reference](/subagents/reference#owner-bound-task-projection).
|
package/docs/terminal-setup.md
CHANGED
|
@@ -4,7 +4,7 @@ Atomic uses the [Kitty keyboard protocol](https://sw.kovidgoyal.net/kitty/keyboa
|
|
|
4
4
|
|
|
5
5
|
## Startup typing
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Moved to [Using Atomic](/usage#startup-typing).
|
|
8
8
|
|
|
9
9
|
## Kitty
|
|
10
10
|
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Theme reference
|
|
3
|
+
description: Theme file format, every color token, and accepted color values.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Theme reference
|
|
7
|
+
|
|
8
|
+
## Theme Format
|
|
9
|
+
|
|
10
|
+
```json
|
|
11
|
+
{
|
|
12
|
+
"$schema": "https://raw.githubusercontent.com/bastani-inc/atomic/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
|
|
13
|
+
"name": "my-theme",
|
|
14
|
+
"vars": {
|
|
15
|
+
"blue": "#0066cc",
|
|
16
|
+
"gray": 242
|
|
17
|
+
},
|
|
18
|
+
"colors": {
|
|
19
|
+
"accent": "blue",
|
|
20
|
+
"muted": "gray",
|
|
21
|
+
"text": "",
|
|
22
|
+
...
|
|
23
|
+
},
|
|
24
|
+
"workingIndicator": {
|
|
25
|
+
"dark": "#70759f",
|
|
26
|
+
"lift": "#7f849c",
|
|
27
|
+
"muted": "#789bd0",
|
|
28
|
+
"accent": "blue",
|
|
29
|
+
"bright": "#b8d2ff",
|
|
30
|
+
"peak": "#eef4ff"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
- `name` is required, must be unique, and must not contain `/`.
|
|
36
|
+
- `vars` is optional. Define reusable colors here, then reference them in `colors` or `workingIndicator`.
|
|
37
|
+
- `colors` must define all 51 required tokens. `scrollbarThumb` is optional and falls back to `selectedBg` when omitted. `searchMatchBg` and `searchMatchText` remain accepted for older theme files but are unused.
|
|
38
|
+
- `workingIndicator` is optional and may override any subset of the six tones in the outward half of the ordinary `∀` ramp; Atomic derives omitted tones from selected background, accent, and text roles, then mirrors the palette back after `peak`. Explicit numeric values from 0 through 255 remain exact terminal palette indices. When a numeric index from 0 through 15 seeds an omitted tone, Atomic mixes from its built-in approximation of the common ANSI RGB value; the terminal still controls the actual appearance of the explicit index. Both explicit and derived tones update on theme hot reload.
|
|
39
|
+
|
|
40
|
+
The `$schema` field enables editor auto-completion and validation.
|
|
41
|
+
|
|
42
|
+
## Color Tokens
|
|
43
|
+
|
|
44
|
+
Every theme must define all 51 required color tokens. The optional tokens preserve compatibility with themes written before they existed: `scrollbarThumb` and unused `searchMatchBg` fall back to `selectedBg`, and unused `searchMatchText` falls back to `text`.
|
|
45
|
+
|
|
46
|
+
### Core UI (11 colors)
|
|
47
|
+
|
|
48
|
+
| Token | Purpose |
|
|
49
|
+
|-------|---------|
|
|
50
|
+
| `accent` | Primary accent (logo, selected items, cursor) |
|
|
51
|
+
| `border` | Normal borders |
|
|
52
|
+
| `borderAccent` | Highlighted borders |
|
|
53
|
+
| `borderMuted` | Subtle borders (editor) |
|
|
54
|
+
| `success` | Success states |
|
|
55
|
+
| `error` | Error states |
|
|
56
|
+
| `warning` | Warning states |
|
|
57
|
+
| `muted` | Secondary text |
|
|
58
|
+
| `dim` | Tertiary text |
|
|
59
|
+
| `text` | Default text (usually `""`) |
|
|
60
|
+
| `thinkingText` | Thinking block text |
|
|
61
|
+
|
|
62
|
+
### Backgrounds & Content (11 required, 3 optional)
|
|
63
|
+
|
|
64
|
+
| Token | Purpose |
|
|
65
|
+
|-------|---------|
|
|
66
|
+
| `selectedBg` | Selected line background |
|
|
67
|
+
| `scrollbarThumb` | Fullscreen scrollbar thumb background; optional, falls back to `selectedBg` |
|
|
68
|
+
| `searchMatchBg` | Unused leftover token; optional, falls back to `selectedBg` |
|
|
69
|
+
| `searchMatchText` | Unused leftover token; optional, falls back to `text` |
|
|
70
|
+
| `userMessageBg` | User message background |
|
|
71
|
+
| `userMessageText` | User message text |
|
|
72
|
+
| `customMessageBg` | Extension message background |
|
|
73
|
+
| `customMessageText` | Extension message text |
|
|
74
|
+
| `customMessageLabel` | Extension message label |
|
|
75
|
+
| `toolPendingBg` | Tool box (pending) |
|
|
76
|
+
| `toolSuccessBg` | Tool box (success) |
|
|
77
|
+
| `toolErrorBg` | Tool box (error) |
|
|
78
|
+
| `toolTitle` | Tool title |
|
|
79
|
+
| `toolOutput` | Tool output text |
|
|
80
|
+
|
|
81
|
+
### Markdown (10 colors)
|
|
82
|
+
|
|
83
|
+
| Token | Purpose |
|
|
84
|
+
|-------|---------|
|
|
85
|
+
| `mdHeading` | Headings |
|
|
86
|
+
| `mdLink` | Link text |
|
|
87
|
+
| `mdLinkUrl` | Link URL |
|
|
88
|
+
| `mdCode` | Inline code |
|
|
89
|
+
| `mdCodeBlock` | Code block content |
|
|
90
|
+
| `mdCodeBlockBorder` | Code block fences |
|
|
91
|
+
| `mdQuote` | Blockquote text |
|
|
92
|
+
| `mdQuoteBorder` | Blockquote border |
|
|
93
|
+
| `mdHr` | Horizontal rule |
|
|
94
|
+
| `mdListBullet` | List bullets |
|
|
95
|
+
|
|
96
|
+
### Tool Diffs (3 colors)
|
|
97
|
+
|
|
98
|
+
| Token | Purpose |
|
|
99
|
+
|-------|---------|
|
|
100
|
+
| `toolDiffAdded` | Added lines |
|
|
101
|
+
| `toolDiffRemoved` | Removed lines |
|
|
102
|
+
| `toolDiffContext` | Context lines |
|
|
103
|
+
|
|
104
|
+
### Syntax Highlighting (9 colors)
|
|
105
|
+
|
|
106
|
+
| Token | Purpose |
|
|
107
|
+
|-------|---------|
|
|
108
|
+
| `syntaxComment` | Comments |
|
|
109
|
+
| `syntaxKeyword` | Keywords |
|
|
110
|
+
| `syntaxFunction` | Function names |
|
|
111
|
+
| `syntaxVariable` | Variables |
|
|
112
|
+
| `syntaxString` | Strings |
|
|
113
|
+
| `syntaxNumber` | Numbers |
|
|
114
|
+
| `syntaxType` | Types |
|
|
115
|
+
| `syntaxOperator` | Operators |
|
|
116
|
+
| `syntaxPunctuation` | Punctuation |
|
|
117
|
+
|
|
118
|
+
### Thinking Level Borders (6 colors)
|
|
119
|
+
|
|
120
|
+
Editor border colors indicating thinking level (visual hierarchy from subtle to prominent):
|
|
121
|
+
|
|
122
|
+
| Token | Purpose |
|
|
123
|
+
|-------|---------|
|
|
124
|
+
| `thinkingOff` | Thinking off |
|
|
125
|
+
| `thinkingMinimal` | Minimal thinking |
|
|
126
|
+
| `thinkingLow` | Low thinking |
|
|
127
|
+
| `thinkingMedium` | Medium thinking |
|
|
128
|
+
| `thinkingHigh` | High thinking |
|
|
129
|
+
| `thinkingXhigh` | Extra high thinking |
|
|
130
|
+
|
|
131
|
+
### Bash Mode (1 color)
|
|
132
|
+
|
|
133
|
+
| Token | Purpose |
|
|
134
|
+
|-------|---------|
|
|
135
|
+
| `bashMode` | Editor border in bash mode (`!` prefix) |
|
|
136
|
+
|
|
137
|
+
### HTML Export (optional)
|
|
138
|
+
|
|
139
|
+
The `export` section controls colors for `/export` HTML output. If omitted, colors are derived from `userMessageBg`.
|
|
140
|
+
|
|
141
|
+
```json
|
|
142
|
+
{
|
|
143
|
+
"export": {
|
|
144
|
+
"pageBg": "#18181e",
|
|
145
|
+
"cardBg": "#1e1e24",
|
|
146
|
+
"infoBg": "#3c3728"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## Color Values
|
|
152
|
+
|
|
153
|
+
Four formats are supported:
|
|
154
|
+
|
|
155
|
+
| Format | Example | Description |
|
|
156
|
+
|--------|---------|-------------|
|
|
157
|
+
| Hex | `"#ff0000"` | 6-digit hex RGB |
|
|
158
|
+
| 256-color | `39` | xterm 256-color palette index (0-255) |
|
|
159
|
+
| Variable | `"primary"` | Reference to a `vars` entry |
|
|
160
|
+
| Default | `""` | Terminal's default color |
|
|
161
|
+
|
|
162
|
+
### 256-Color Palette
|
|
163
|
+
|
|
164
|
+
- `0-15`: Basic ANSI colors (terminal-dependent)
|
|
165
|
+
- `16-231`: 6×6×6 RGB cube (`16 + 36×R + 6×G + B` where R,G,B are 0-5)
|
|
166
|
+
- `232-255`: Grayscale ramp
|
|
167
|
+
|
|
168
|
+
### Terminal Compatibility
|
|
169
|
+
|
|
170
|
+
Atomic uses 24-bit RGB colors. Most modern terminals support this (iTerm2, Kitty, WezTerm, Windows Terminal, VS Code). For older terminals with only 256-color support, Atomic falls back to the nearest approximation.
|
|
171
|
+
|
|
172
|
+
Check truecolor support:
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
echo $COLORTERM # Should output "truecolor" or "24bit"
|
|
176
|
+
```
|
package/docs/themes.md
CHANGED
|
@@ -4,14 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
Themes are JSON files that define colors for the TUI.
|
|
6
6
|
|
|
7
|
+
## On this page and its reference
|
|
8
|
+
|
|
9
|
+
This page covers selecting a theme and authoring your first one. The theme file format, every color token, and the accepted color values live in the [Theme reference](/themes/reference).
|
|
10
|
+
|
|
7
11
|
## Table of Contents
|
|
8
12
|
|
|
9
13
|
- [Locations](#locations)
|
|
10
14
|
- [Selecting a Theme](#selecting-a-theme)
|
|
11
15
|
- [Creating a Custom Theme](#creating-a-custom-theme)
|
|
12
|
-
- [Theme Format](#theme-format)
|
|
13
|
-
- [Color Tokens](#color-tokens)
|
|
14
|
-
- [Color Values](#color-values)
|
|
16
|
+
- [Theme Format](/themes/reference#theme-format)
|
|
17
|
+
- [Color Tokens](/themes/reference#color-tokens)
|
|
18
|
+
- [Color Values](/themes/reference#color-values)
|
|
15
19
|
- [Tips](#tips)
|
|
16
20
|
|
|
17
21
|
## Locations
|
|
@@ -70,7 +74,7 @@ mkdir -p ~/.atomic/agent/themes
|
|
|
70
74
|
vim ~/.atomic/agent/themes/my-theme.json
|
|
71
75
|
```
|
|
72
76
|
|
|
73
|
-
2. Define the theme with all required colors (see [Color Tokens](#color-tokens)):
|
|
77
|
+
2. Define the theme with all required colors (see [Color Tokens](/themes/reference#color-tokens)):
|
|
74
78
|
|
|
75
79
|
```json
|
|
76
80
|
{
|
|
@@ -143,173 +147,55 @@ vim ~/.atomic/agent/themes/my-theme.json
|
|
|
143
147
|
|
|
144
148
|
## Theme Format
|
|
145
149
|
|
|
146
|
-
|
|
147
|
-
{
|
|
148
|
-
"$schema": "https://raw.githubusercontent.com/bastani-inc/atomic/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
|
|
149
|
-
"name": "my-theme",
|
|
150
|
-
"vars": {
|
|
151
|
-
"blue": "#0066cc",
|
|
152
|
-
"gray": 242
|
|
153
|
-
},
|
|
154
|
-
"colors": {
|
|
155
|
-
"accent": "blue",
|
|
156
|
-
"muted": "gray",
|
|
157
|
-
"text": "",
|
|
158
|
-
...
|
|
159
|
-
},
|
|
160
|
-
"workingIndicator": {
|
|
161
|
-
"dark": "#70759f",
|
|
162
|
-
"lift": "#7f849c",
|
|
163
|
-
"muted": "#789bd0",
|
|
164
|
-
"accent": "blue",
|
|
165
|
-
"bright": "#b8d2ff",
|
|
166
|
-
"peak": "#eef4ff"
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
- `name` is required, must be unique, and must not contain `/`.
|
|
172
|
-
- `vars` is optional. Define reusable colors here, then reference them in `colors` or `workingIndicator`.
|
|
173
|
-
- `colors` must define all 51 required tokens. `scrollbarThumb` is optional and falls back to `selectedBg` when omitted. `searchMatchBg` and `searchMatchText` remain accepted for older theme files but are unused.
|
|
174
|
-
- `workingIndicator` is optional and may override any subset of the six tones in the outward half of the ordinary `∀` ramp; Atomic derives omitted tones from selected background, accent, and text roles, then mirrors the palette back after `peak`. Explicit numeric values from 0 through 255 remain exact terminal palette indices. When a numeric index from 0 through 15 seeds an omitted tone, Atomic mixes from its built-in approximation of the common ANSI RGB value; the terminal still controls the actual appearance of the explicit index. Both explicit and derived tones update on theme hot reload.
|
|
175
|
-
|
|
176
|
-
The `$schema` field enables editor auto-completion and validation.
|
|
150
|
+
Moved to [Theme reference](/themes/reference#theme-format).
|
|
177
151
|
|
|
178
152
|
## Color Tokens
|
|
179
153
|
|
|
180
|
-
|
|
154
|
+
Moved to [Theme reference](/themes/reference#color-tokens).
|
|
181
155
|
|
|
182
156
|
### Core UI (11 colors)
|
|
183
157
|
|
|
184
|
-
|
|
185
|
-
|-------|---------|
|
|
186
|
-
| `accent` | Primary accent (logo, selected items, cursor) |
|
|
187
|
-
| `border` | Normal borders |
|
|
188
|
-
| `borderAccent` | Highlighted borders |
|
|
189
|
-
| `borderMuted` | Subtle borders (editor) |
|
|
190
|
-
| `success` | Success states |
|
|
191
|
-
| `error` | Error states |
|
|
192
|
-
| `warning` | Warning states |
|
|
193
|
-
| `muted` | Secondary text |
|
|
194
|
-
| `dim` | Tertiary text |
|
|
195
|
-
| `text` | Default text (usually `""`) |
|
|
196
|
-
| `thinkingText` | Thinking block text |
|
|
158
|
+
Moved to [Theme reference](/themes/reference#core-ui-11-colors).
|
|
197
159
|
|
|
198
160
|
### Backgrounds & Content (11 required, 3 optional)
|
|
199
161
|
|
|
200
|
-
|
|
201
|
-
|-------|---------|
|
|
202
|
-
| `selectedBg` | Selected line background |
|
|
203
|
-
| `scrollbarThumb` | Fullscreen scrollbar thumb background; optional, falls back to `selectedBg` |
|
|
204
|
-
| `searchMatchBg` | Unused leftover token; optional, falls back to `selectedBg` |
|
|
205
|
-
| `searchMatchText` | Unused leftover token; optional, falls back to `text` |
|
|
206
|
-
| `userMessageBg` | User message background |
|
|
207
|
-
| `userMessageText` | User message text |
|
|
208
|
-
| `customMessageBg` | Extension message background |
|
|
209
|
-
| `customMessageText` | Extension message text |
|
|
210
|
-
| `customMessageLabel` | Extension message label |
|
|
211
|
-
| `toolPendingBg` | Tool box (pending) |
|
|
212
|
-
| `toolSuccessBg` | Tool box (success) |
|
|
213
|
-
| `toolErrorBg` | Tool box (error) |
|
|
214
|
-
| `toolTitle` | Tool title |
|
|
215
|
-
| `toolOutput` | Tool output text |
|
|
162
|
+
Moved to [Theme reference](/themes/reference#backgrounds-&-content-11-required-3-optional).
|
|
216
163
|
|
|
217
164
|
### Markdown (10 colors)
|
|
218
165
|
|
|
219
|
-
|
|
220
|
-
|-------|---------|
|
|
221
|
-
| `mdHeading` | Headings |
|
|
222
|
-
| `mdLink` | Link text |
|
|
223
|
-
| `mdLinkUrl` | Link URL |
|
|
224
|
-
| `mdCode` | Inline code |
|
|
225
|
-
| `mdCodeBlock` | Code block content |
|
|
226
|
-
| `mdCodeBlockBorder` | Code block fences |
|
|
227
|
-
| `mdQuote` | Blockquote text |
|
|
228
|
-
| `mdQuoteBorder` | Blockquote border |
|
|
229
|
-
| `mdHr` | Horizontal rule |
|
|
230
|
-
| `mdListBullet` | List bullets |
|
|
166
|
+
Moved to [Theme reference](/themes/reference#markdown-10-colors).
|
|
231
167
|
|
|
232
168
|
### Tool Diffs (3 colors)
|
|
233
169
|
|
|
234
|
-
|
|
235
|
-
|-------|---------|
|
|
236
|
-
| `toolDiffAdded` | Added lines |
|
|
237
|
-
| `toolDiffRemoved` | Removed lines |
|
|
238
|
-
| `toolDiffContext` | Context lines |
|
|
170
|
+
Moved to [Theme reference](/themes/reference#tool-diffs-3-colors).
|
|
239
171
|
|
|
240
172
|
### Syntax Highlighting (9 colors)
|
|
241
173
|
|
|
242
|
-
|
|
243
|
-
|-------|---------|
|
|
244
|
-
| `syntaxComment` | Comments |
|
|
245
|
-
| `syntaxKeyword` | Keywords |
|
|
246
|
-
| `syntaxFunction` | Function names |
|
|
247
|
-
| `syntaxVariable` | Variables |
|
|
248
|
-
| `syntaxString` | Strings |
|
|
249
|
-
| `syntaxNumber` | Numbers |
|
|
250
|
-
| `syntaxType` | Types |
|
|
251
|
-
| `syntaxOperator` | Operators |
|
|
252
|
-
| `syntaxPunctuation` | Punctuation |
|
|
174
|
+
Moved to [Theme reference](/themes/reference#syntax-highlighting-9-colors).
|
|
253
175
|
|
|
254
176
|
### Thinking Level Borders (6 colors)
|
|
255
177
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
| Token | Purpose |
|
|
259
|
-
|-------|---------|
|
|
260
|
-
| `thinkingOff` | Thinking off |
|
|
261
|
-
| `thinkingMinimal` | Minimal thinking |
|
|
262
|
-
| `thinkingLow` | Low thinking |
|
|
263
|
-
| `thinkingMedium` | Medium thinking |
|
|
264
|
-
| `thinkingHigh` | High thinking |
|
|
265
|
-
| `thinkingXhigh` | Extra high thinking |
|
|
178
|
+
Moved to [Theme reference](/themes/reference#thinking-level-borders-6-colors).
|
|
266
179
|
|
|
267
180
|
### Bash Mode (1 color)
|
|
268
181
|
|
|
269
|
-
|
|
270
|
-
|-------|---------|
|
|
271
|
-
| `bashMode` | Editor border in bash mode (`!` prefix) |
|
|
182
|
+
Moved to [Theme reference](/themes/reference#bash-mode-1-color).
|
|
272
183
|
|
|
273
184
|
### HTML Export (optional)
|
|
274
185
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
```json
|
|
278
|
-
{
|
|
279
|
-
"export": {
|
|
280
|
-
"pageBg": "#18181e",
|
|
281
|
-
"cardBg": "#1e1e24",
|
|
282
|
-
"infoBg": "#3c3728"
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
```
|
|
186
|
+
Moved to [Theme reference](/themes/reference#html-export-optional).
|
|
286
187
|
|
|
287
188
|
## Color Values
|
|
288
189
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
| Format | Example | Description |
|
|
292
|
-
|--------|---------|-------------|
|
|
293
|
-
| Hex | `"#ff0000"` | 6-digit hex RGB |
|
|
294
|
-
| 256-color | `39` | xterm 256-color palette index (0-255) |
|
|
295
|
-
| Variable | `"primary"` | Reference to a `vars` entry |
|
|
296
|
-
| Default | `""` | Terminal's default color |
|
|
190
|
+
Moved to [Theme reference](/themes/reference#color-values).
|
|
297
191
|
|
|
298
192
|
### 256-Color Palette
|
|
299
193
|
|
|
300
|
-
|
|
301
|
-
- `16-231`: 6×6×6 RGB cube (`16 + 36×R + 6×G + B` where R,G,B are 0-5)
|
|
302
|
-
- `232-255`: Grayscale ramp
|
|
194
|
+
Moved to [Theme reference](/themes/reference#256-color-palette).
|
|
303
195
|
|
|
304
196
|
### Terminal Compatibility
|
|
305
197
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
Check truecolor support:
|
|
309
|
-
|
|
310
|
-
```bash
|
|
311
|
-
echo $COLORTERM # Should output "truecolor" or "24bit"
|
|
312
|
-
```
|
|
198
|
+
Moved to [Theme reference](/themes/reference#terminal-compatibility).
|
|
313
199
|
|
|
314
200
|
## Tips
|
|
315
201
|
|
package/docs/tmux.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "tmux"
|
|
3
|
+
description: "Run Atomic inside tmux, including image paste and key forwarding."
|
|
4
|
+
---
|
|
5
|
+
|
|
1
6
|
# tmux Setup
|
|
2
7
|
|
|
3
8
|
Atomic works inside tmux, but tmux strips modifier information from certain keys by default. Without configuration, `SHIFT+Enter` and `CTRL+Enter` are usually indistinguishable from plain `Enter`.
|
package/docs/tools/edit.md
CHANGED