@bastani/atomic 0.10.14-alpha.1 → 0.10.15-alpha.1
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 +29 -0
- package/dist/_shared/dist-KOELCESV.js +2 -2
- package/dist/_shared/fork-row-index-UAUAQRD5.js +2 -2
- package/dist/_shared/lib-4PES5P4V.js +2 -2
- package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +3 -3
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +3 -3
- package/dist/_shared/mode-shared-2QJSCUM6.js +3 -3
- package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
- package/dist/_shared/runtime-O4KCSG4C.js +2 -2
- package/dist/_shared/{sdk-B5LEWGGI.js → sdk-OHKMDJ74.js} +27 -5
- package/dist/_shared/{sdk-B5LEWGGI.js.map → sdk-OHKMDJ74.js.map} +1 -1
- package/dist/_shared/session-data-AHTU7IS6.js +2 -2
- package/dist/_shared/startup-0-0-Q3MWKUK4.js +2 -2
- package/dist/_shared/startup-0-1-M6OWAYHH.js +2 -2
- package/dist/_shared/{startup-0-2-5QHPCEON.js → startup-0-2-2HUMCPKX.js} +14 -16
- package/dist/_shared/startup-0-2-2HUMCPKX.js.map +1 -0
- package/dist/_shared/startup-0-3-4ZYBYQNM.js +3 -3
- package/dist/_shared/startup-0-4-ZMJV547D.js +3 -3
- package/dist/_shared/startup-0-5-YDW47QX6.js +3 -3
- package/dist/_shared/startup-10-0-TDQNBDDL.js +3 -3
- package/dist/_shared/startup-14-0-MLX36RBG.js +1 -1
- package/dist/_shared/startup-15-0-YUKGAC63.js +1 -1
- package/dist/_shared/startup-15-1-4S7FLMNG.js +6 -30
- package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
- package/dist/_shared/startup-8-0-34CBHPZH.js +3 -3
- package/dist/_shared/startup-8-1-LZFXSD3Z.js +3 -3
- package/dist/_shared/storage-command-7MGXLJGZ.js +2 -2
- package/dist/_shared/storage-status-K7PX2RXA.js +3 -3
- package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
- package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
- package/dist/builtin/intercom/index.bundle.mjs +1 -1
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/index.bundle.mjs +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +1 -1
- package/dist/builtin/web-access/index.bundle.mjs +1 -1
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/cli/auth-cli.code.js +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 +3 -3
- 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.code.js +1 -1
- package/dist/cli/session-picker.impl.js +3 -3
- package/dist/cli/session-picker.js +3 -3
- package/dist/cli/startup-ui.code.js +1 -1
- 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.code.js +1 -1
- package/dist/cli/storage-search-session.impl.js +3 -3
- package/dist/cli/storage-search-session.js +3 -3
- package/dist/cli/team-command.code.js +1 -1
- 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/compaction/compactor.d.ts +0 -8
- 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.code.js +1 -1
- 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.code.js +1 -1
- package/dist/core/sdk.impl.js +3 -3
- package/dist/core/sdk.js +3 -3
- package/dist/core/session-manager-core.js +3 -3
- 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.code.js +1 -1
- 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.code.js +1 -1
- 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.code.js +1 -1
- 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.code.js +1 -1
- 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.code.js +1 -1
- 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.code.js +1 -1
- 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.code.js +1 -1
- package/dist/extensions/mcp/runtime.impl.js +3 -3
- package/dist/extensions/mcp/runtime.js +3 -3
- package/dist/index.d.ts +21 -1
- package/dist/index.js +2 -2
- package/dist/main-first-time-setup.code.js +1 -1
- 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/modes/print-mode.js +1 -1
- 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/startup-stages/6.js +1 -1
- package/dist/utils/startup-database-spare.code.js +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/reference.md +182 -0
- package/docs/background-tasks.md +98 -405
- package/docs/build.md +67 -27
- package/docs/changelog.mdx +9 -0
- package/docs/codemode.md +108 -39
- package/docs/compaction/branch-summaries.md +54 -0
- package/docs/compaction/custom-compactors.md +161 -0
- package/docs/compaction/memory-compaction.md +77 -0
- package/docs/compaction/reference.md +86 -38
- package/docs/compaction.md +51 -252
- package/docs/computer-use.md +169 -321
- package/docs/containerization.md +71 -57
- package/docs/custom-provider/api-reference.md +119 -25
- package/docs/custom-provider/oauth.md +114 -132
- package/docs/custom-provider/override.md +37 -27
- package/docs/custom-provider/registration.md +107 -83
- package/docs/custom-provider/streaming.md +85 -71
- package/docs/custom-provider.md +85 -52
- package/docs/development.md +39 -29
- package/docs/docs.json +76 -63
- package/docs/environment-variables.md +94 -44
- package/docs/extensions/api-reference.md +86 -43
- package/docs/extensions/authoring.md +162 -154
- package/docs/extensions/events.md +80 -25
- package/docs/extensions/examples.md +90 -85
- package/docs/extensions/ui.md +206 -82
- package/docs/extensions.md +79 -108
- package/docs/getting-started/authentication.md +67 -36
- package/docs/getting-started/first-session.md +53 -43
- package/docs/getting-started/installation.md +116 -89
- package/docs/getting-started/project-instructions.md +48 -34
- package/docs/guides/configuration.md +82 -20
- package/docs/guides/non-interactive.md +66 -24
- package/docs/guides/resume-on-any-machine.md +135 -82
- package/docs/guides/team-setup.md +114 -105
- package/docs/guides.md +76 -32
- package/docs/herdr.md +15 -16
- package/docs/how-atomic-works.md +140 -0
- package/docs/index.md +58 -44
- package/docs/intercom/operations.md +141 -151
- package/docs/intercom/reference.md +85 -108
- package/docs/intercom.md +84 -145
- package/docs/json.md +120 -67
- package/docs/keybindings.md +85 -49
- package/docs/libraries/agent-core.md +137 -275
- package/docs/libraries/ai.md +100 -84
- package/docs/libraries/codemode.md +210 -300
- package/docs/libraries/schema.md +59 -53
- package/docs/libraries/storage-postgres.md +49 -35
- package/docs/libraries/telemetry.md +153 -354
- package/docs/libraries/tui.md +265 -393
- package/docs/libraries.md +42 -26
- package/docs/llama-cpp.md +171 -161
- package/docs/mcp-servers.md +90 -51
- package/docs/models/choose-a-model.md +188 -0
- package/docs/models/reference.md +74 -30
- package/docs/models.md +153 -88
- package/docs/orchestration/migrating-workflows.md +23 -16
- package/docs/orchestration/patterns.md +39 -44
- package/docs/orchestration.md +65 -26
- package/docs/packages/authoring.md +51 -29
- package/docs/packages/reference.md +42 -21
- package/docs/packages.md +69 -58
- package/docs/programmatic.md +118 -24
- package/docs/prompt-templates.md +84 -83
- package/docs/providers/reference.md +43 -48
- package/docs/providers.md +219 -451
- package/docs/quickstart.md +140 -120
- package/docs/reference/cli.md +135 -97
- package/docs/reference.md +20 -18
- package/docs/rpc/examples.md +76 -20
- package/docs/rpc/extension-ui.md +64 -38
- package/docs/rpc/protocol.md +361 -110
- package/docs/rpc.md +57 -17
- package/docs/sdk/reference.md +409 -534
- package/docs/sdk/storage.md +53 -13
- package/docs/sdk/structured-decisions.md +82 -56
- package/docs/sdk/web-server.md +57 -43
- package/docs/sdk.md +106 -84
- package/docs/security.md +42 -64
- package/docs/session-format.md +62 -38
- package/docs/sessions.md +99 -214
- package/docs/settings.md +165 -195
- package/docs/shell-aliases.md +9 -6
- package/docs/skills/authoring.md +69 -48
- package/docs/skills/reference.md +51 -20
- package/docs/skills.md +99 -148
- package/docs/slash-commands.md +129 -0
- package/docs/storage/custom-adapters.md +160 -85
- package/docs/storage/jsonl.md +81 -66
- package/docs/storage/postgres/pgbouncer.md +120 -126
- package/docs/storage/postgres/tuning.md +120 -143
- package/docs/storage/postgres.md +314 -330
- package/docs/storage/sqlite.md +71 -42
- package/docs/storage.md +298 -302
- package/docs/subagents/authoring.md +55 -38
- package/docs/subagents/reference.md +73 -33
- package/docs/subagents.md +119 -187
- package/docs/terminal-setup.md +50 -38
- package/docs/termux.md +67 -41
- package/docs/themes/reference.md +23 -19
- package/docs/themes.md +142 -127
- package/docs/tmux.md +47 -55
- package/docs/tools.md +147 -109
- package/docs/tui/reference.md +166 -214
- package/docs/tui.md +196 -341
- package/docs/usage.md +118 -138
- package/docs/verification.md +79 -51
- package/docs/web-access.md +121 -101
- package/docs/windows.md +26 -27
- package/docs/worktree-snapshots/reference.md +245 -0
- package/docs/worktree-snapshots.md +71 -259
- package/package.json +8 -8
- package/dist/_shared/startup-0-2-5QHPCEON.js.map +0 -1
- package/docs/guides/intercom.md +0 -32
- package/docs/guides/orchestration.md +0 -28
- package/docs/guides/subagents.md +0 -37
package/docs/themes.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: "
|
|
3
|
-
sidebarTitle: "
|
|
2
|
+
title: "Create themes"
|
|
3
|
+
sidebarTitle: "Create themes"
|
|
4
4
|
description: "Switch built-in terminal themes, follow system light or dark appearance, and author custom JSON themes with hot reload."
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
Themes are JSON files that
|
|
7
|
+
Themes are JSON files that control every color in the Atomic terminal UI. Switch between built-in palettes, follow your terminal's light or dark appearance automatically, or author your own theme with live hot reload.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
See [Theme format reference](/themes/reference) for the complete JSON schema, all 51 required and 3 optional color tokens, accepted color formats, and terminal color modes.
|
|
10
10
|
|
|
11
11
|
## Built-in themes
|
|
12
12
|
|
|
13
13
|
Atomic ships seven built-in themes:
|
|
14
14
|
|
|
15
|
-
- `system
|
|
15
|
+
- `system` — derives colors from your terminal's reported foreground, background, and ANSI palette, and follows terminal appearance changes where supported. If the terminal does not report colors, it uses ANSI palette colors and faint secondary text.
|
|
16
16
|
- `dark`
|
|
17
17
|
- `light`
|
|
18
18
|
- `catppuccin-frappe`
|
|
@@ -20,161 +20,176 @@ Atomic ships seven built-in themes:
|
|
|
20
20
|
- `catppuccin-macchiato`
|
|
21
21
|
- `catppuccin-mocha`
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
<Warning>
|
|
24
|
+
Choose a distinct `"name"` for custom themes. `system` is reserved and a custom theme named `system` is silently ignored. Reusing another built-in name (`dark`, `light`, `catppuccin-*`) overrides interactive rendering, while `/export` still uses the built-in theme and live hot reload disables itself.
|
|
25
|
+
</Warning>
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
## Select a theme
|
|
26
28
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
- **Settings:** `themes` array in global or project `settings.json`, which accepts files, directories, and filter patterns (`!glob`, `+path`, `-path` with `~` expansion; see [Package filtering](/packages/reference#package-filtering))
|
|
31
|
-
- **CLI:** `--theme <path>` (repeatable) loads a theme file; `--use-theme <name>` (see [Initial theme](#initial-theme)) selects an already-loaded theme for one run without saving it
|
|
29
|
+
<Note>
|
|
30
|
+
Atomic does not have a `/theme` slash command. Choose a theme in `/settings`, pass `--use-theme`, or edit `settings.json` ([Interface and display settings](/settings#interface-and-display)).
|
|
31
|
+
</Note>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Set a single theme in `~/.atomic/agent/settings.json` or a trusted project's `.atomic/settings.json`:
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
3. Project auto-discovered directories (`.atomic/themes/`, then legacy `.pi/themes/`)
|
|
41
|
-
4. Global `settings.json` `themes` array
|
|
42
|
-
5. Global auto-discovered directories (`~/.atomic/agent/themes/`, then legacy `~/.pi/agent/themes/`)
|
|
43
|
-
6. Configured packages (project packages, then global packages)
|
|
44
|
-
7. Bundled packages
|
|
45
|
-
8. Explicit CLI `--theme <path>` paths
|
|
46
|
-
|
|
47
|
-
## Selecting a theme
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"theme": "catppuccin-mocha"
|
|
38
|
+
}
|
|
39
|
+
```
|
|
48
40
|
|
|
49
|
-
|
|
41
|
+
To follow your terminal's light or dark appearance automatically, set `"theme": "light-theme/dark-theme"` with exactly one `/` and non-empty names on both sides (surrounding spaces are trimmed):
|
|
50
42
|
|
|
51
43
|
```json
|
|
52
44
|
{
|
|
53
|
-
"theme": "
|
|
45
|
+
"theme": "catppuccin-latte/catppuccin-mocha"
|
|
54
46
|
}
|
|
55
47
|
```
|
|
56
48
|
|
|
57
|
-
|
|
49
|
+
Atomic chooses the light or dark side in this order:
|
|
58
50
|
|
|
59
|
-
1. Terminal-reported background color (waits up to 100 ms at startup
|
|
60
|
-
2. Terminal appearance change notifications
|
|
61
|
-
3. `COLORFGBG` environment variable (
|
|
51
|
+
1. Terminal-reported background color (waits up to 100 ms at startup and applies late replies asynchronously)
|
|
52
|
+
2. Terminal appearance change notifications (subscribed when using a `light/dark` pair or `system`, not when `theme` is unset)
|
|
53
|
+
3. `COLORFGBG` environment variable (see [Terminal compatibility](/themes/reference#terminal-compatibility) for index mapping)
|
|
62
54
|
4. Dark theme fallback
|
|
63
55
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
The main chat uses the terminal's default background, including transparency. Headers, footers, and tool cards keep their theme colors.
|
|
56
|
+
Edge cases to know:
|
|
67
57
|
|
|
68
|
-
|
|
58
|
+
- A malformed auto value with extra `/` characters or an empty side (such as `"light/"`) silently falls back to the detected terminal default (`dark` or `light`).
|
|
59
|
+
- Setting `"theme": ""` fails with `Theme not found: ` and falls back to `dark`.
|
|
60
|
+
- The main chat keeps your terminal's default background (including transparency), while headers, footers, and tool cards keep their theme colors.
|
|
61
|
+
- `NO_COLOR` (any value) or `FORCE_COLOR=0` disables all theme colors and text styles, `FORCE_COLOR=1` or `2` caps output at 256 colors, and `NO_COLOR` always wins over `FORCE_COLOR` ([Terminal compatibility](/themes/reference#terminal-compatibility), [Environment variables](/environment-variables#terminal-and-display-variables)).
|
|
69
62
|
|
|
70
63
|
### Initial theme
|
|
71
64
|
|
|
72
|
-
|
|
65
|
+
Override the theme for one interactive run without changing `settings.json`:
|
|
73
66
|
|
|
74
67
|
```bash
|
|
75
68
|
atomic --use-theme light
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
To follow terminal appearance for one run, pass `lightTheme/darkTheme`:
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
69
|
atomic --use-theme light/dark
|
|
82
70
|
```
|
|
83
71
|
|
|
84
|
-
`--use-theme` applies in interactive mode only (ignored in print, JSON, and RPC modes).
|
|
85
|
-
|
|
86
|
-
##
|
|
87
|
-
|
|
88
|
-
|
|
72
|
+
`--use-theme` applies in interactive mode only (ignored in print, JSON, and RPC modes). Selecting a different theme later in `/settings` applies immediately and saves normally. If the requested theme name is unknown or invalid, Atomic prints `Failed to load theme "<name>": ...` and falls back to `dark`.
|
|
73
|
+
|
|
74
|
+
## Create a custom theme
|
|
75
|
+
|
|
76
|
+
<Steps>
|
|
77
|
+
<Step title="Create the theme file">
|
|
78
|
+
Create a JSON file under `~/.atomic/agent/themes/` (global) or `.atomic/themes/` (project):
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
mkdir -p ~/.atomic/agent/themes
|
|
82
|
+
vim ~/.atomic/agent/themes/my-theme.json
|
|
83
|
+
```
|
|
84
|
+
</Step>
|
|
85
|
+
<Step title="Define variables and all 51 required color tokens">
|
|
86
|
+
Include `$schema` for editor completion and define every required token (plus optional `scrollbarThumb` shown below; see [Color tokens](/themes/reference#color-tokens)):
|
|
87
|
+
|
|
88
|
+
```json
|
|
89
|
+
{
|
|
90
|
+
"$schema": "https://raw.githubusercontent.com/bastani-inc/atomic/main/packages/coding-agent/schemas/theme.schema.json",
|
|
91
|
+
"name": "my-theme",
|
|
92
|
+
"vars": {
|
|
93
|
+
"primary": "#00aaff",
|
|
94
|
+
"secondary": 242
|
|
95
|
+
},
|
|
96
|
+
"colors": {
|
|
97
|
+
"accent": "primary",
|
|
98
|
+
"border": "primary",
|
|
99
|
+
"borderAccent": "#00ffff",
|
|
100
|
+
"borderMuted": "secondary",
|
|
101
|
+
"success": "#00ff00",
|
|
102
|
+
"error": "#ff0000",
|
|
103
|
+
"warning": "#ffff00",
|
|
104
|
+
"muted": "secondary",
|
|
105
|
+
"dim": 240,
|
|
106
|
+
"text": "",
|
|
107
|
+
"thinkingText": "secondary",
|
|
108
|
+
"selectedBg": "#2d2d30",
|
|
109
|
+
"scrollbarThumb": "#555566",
|
|
110
|
+
"userMessageBg": "#2d2d30",
|
|
111
|
+
"userMessageText": "",
|
|
112
|
+
"customMessageBg": "#2d2d30",
|
|
113
|
+
"customMessageText": "",
|
|
114
|
+
"customMessageLabel": "primary",
|
|
115
|
+
"toolPendingBg": "#1e1e2e",
|
|
116
|
+
"toolSuccessBg": "#1e2e1e",
|
|
117
|
+
"toolErrorBg": "#2e1e1e",
|
|
118
|
+
"toolTitle": "primary",
|
|
119
|
+
"toolOutput": "",
|
|
120
|
+
"mdHeading": "#ffaa00",
|
|
121
|
+
"mdLink": "primary",
|
|
122
|
+
"mdLinkUrl": "secondary",
|
|
123
|
+
"mdCode": "#00ffff",
|
|
124
|
+
"mdCodeBlock": "",
|
|
125
|
+
"mdCodeBlockBorder": "secondary",
|
|
126
|
+
"mdQuote": "secondary",
|
|
127
|
+
"mdQuoteBorder": "secondary",
|
|
128
|
+
"mdHr": "secondary",
|
|
129
|
+
"mdListBullet": "#00ffff",
|
|
130
|
+
"toolDiffAdded": "#00ff00",
|
|
131
|
+
"toolDiffRemoved": "#ff0000",
|
|
132
|
+
"toolDiffContext": "secondary",
|
|
133
|
+
"syntaxComment": "secondary",
|
|
134
|
+
"syntaxKeyword": "primary",
|
|
135
|
+
"syntaxFunction": "#00aaff",
|
|
136
|
+
"syntaxVariable": "#ffaa00",
|
|
137
|
+
"syntaxString": "#00ff00",
|
|
138
|
+
"syntaxNumber": "#ff00ff",
|
|
139
|
+
"syntaxType": "#00aaff",
|
|
140
|
+
"syntaxOperator": "primary",
|
|
141
|
+
"syntaxPunctuation": "secondary",
|
|
142
|
+
"thinkingOff": "secondary",
|
|
143
|
+
"thinkingMinimal": "primary",
|
|
144
|
+
"thinkingLow": "#00aaff",
|
|
145
|
+
"thinkingMedium": "#00ffff",
|
|
146
|
+
"thinkingHigh": "#ff00ff",
|
|
147
|
+
"thinkingXhigh": "#ff0000",
|
|
148
|
+
"bashMode": "#ffaa00"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
```
|
|
152
|
+
</Step>
|
|
153
|
+
<Step title="Activate and iterate live">
|
|
154
|
+
Run `/reload` if Atomic is already open, then pick `my-theme` in `/settings`. Edit and save the file to watch changes apply live.
|
|
155
|
+
</Step>
|
|
156
|
+
</Steps>
|
|
89
157
|
|
|
90
|
-
|
|
91
|
-
mkdir -p ~/.atomic/agent/themes
|
|
92
|
-
vim ~/.atomic/agent/themes/my-theme.json
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
2. Define the theme with all 51 required color tokens (see [Color tokens](/themes/reference#color-tokens)):
|
|
158
|
+
### Live hot reload
|
|
96
159
|
|
|
97
|
-
|
|
98
|
-
{
|
|
99
|
-
"$schema": "https://raw.githubusercontent.com/bastani-inc/atomic/main/packages/coding-agent/schemas/theme.schema.json",
|
|
100
|
-
"name": "my-theme",
|
|
101
|
-
"vars": {
|
|
102
|
-
"primary": "#00aaff",
|
|
103
|
-
"secondary": 242
|
|
104
|
-
},
|
|
105
|
-
"colors": {
|
|
106
|
-
"accent": "primary",
|
|
107
|
-
"border": "primary",
|
|
108
|
-
"borderAccent": "#00ffff",
|
|
109
|
-
"borderMuted": "secondary",
|
|
110
|
-
"success": "#00ff00",
|
|
111
|
-
"error": "#ff0000",
|
|
112
|
-
"warning": "#ffff00",
|
|
113
|
-
"muted": "secondary",
|
|
114
|
-
"dim": 240,
|
|
115
|
-
"text": "",
|
|
116
|
-
"thinkingText": "secondary",
|
|
117
|
-
"selectedBg": "#2d2d30",
|
|
118
|
-
"scrollbarThumb": "#555566",
|
|
119
|
-
"userMessageBg": "#2d2d30",
|
|
120
|
-
"userMessageText": "",
|
|
121
|
-
"customMessageBg": "#2d2d30",
|
|
122
|
-
"customMessageText": "",
|
|
123
|
-
"customMessageLabel": "primary",
|
|
124
|
-
"toolPendingBg": "#1e1e2e",
|
|
125
|
-
"toolSuccessBg": "#1e2e1e",
|
|
126
|
-
"toolErrorBg": "#2e1e1e",
|
|
127
|
-
"toolTitle": "primary",
|
|
128
|
-
"toolOutput": "",
|
|
129
|
-
"mdHeading": "#ffaa00",
|
|
130
|
-
"mdLink": "primary",
|
|
131
|
-
"mdLinkUrl": "secondary",
|
|
132
|
-
"mdCode": "#00ffff",
|
|
133
|
-
"mdCodeBlock": "",
|
|
134
|
-
"mdCodeBlockBorder": "secondary",
|
|
135
|
-
"mdQuote": "secondary",
|
|
136
|
-
"mdQuoteBorder": "secondary",
|
|
137
|
-
"mdHr": "secondary",
|
|
138
|
-
"mdListBullet": "#00ffff",
|
|
139
|
-
"toolDiffAdded": "#00ff00",
|
|
140
|
-
"toolDiffRemoved": "#ff0000",
|
|
141
|
-
"toolDiffContext": "secondary",
|
|
142
|
-
"syntaxComment": "secondary",
|
|
143
|
-
"syntaxKeyword": "primary",
|
|
144
|
-
"syntaxFunction": "#00aaff",
|
|
145
|
-
"syntaxVariable": "#ffaa00",
|
|
146
|
-
"syntaxString": "#00ff00",
|
|
147
|
-
"syntaxNumber": "#ff00ff",
|
|
148
|
-
"syntaxType": "#00aaff",
|
|
149
|
-
"syntaxOperator": "primary",
|
|
150
|
-
"syntaxPunctuation": "secondary",
|
|
151
|
-
"thinkingOff": "secondary",
|
|
152
|
-
"thinkingMinimal": "primary",
|
|
153
|
-
"thinkingLow": "#00aaff",
|
|
154
|
-
"thinkingMedium": "#00ffff",
|
|
155
|
-
"thinkingHigh": "#ff00ff",
|
|
156
|
-
"thinkingXhigh": "#ff0000",
|
|
157
|
-
"bashMode": "#ffaa00"
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
```
|
|
160
|
+
Atomic watches the active custom theme's file on disk and reloads it automatically on save (100 ms debounce), falling back to 1-second polling if native file watching is unavailable on that path.
|
|
161
161
|
|
|
162
|
-
|
|
162
|
+
- Works for global themes, project themes, package themes, `--theme <path>` files, and custom themes whose filename differs from their JSON `"name"`.
|
|
163
|
+
- Saving invalid JSON mid-edit keeps the last valid theme active until the next valid save.
|
|
164
|
+
- Hot reload is not active for `system`, built-in theme names, or in-memory `Theme` instances passed via extension `setTheme()`.
|
|
163
165
|
|
|
164
|
-
|
|
166
|
+
Theme validation is strict: Atomic rejects unknown top-level keys or unknown properties under `colors`, `workingIndicator`, or `export`, and reports invalid files on startup and `/reload`. Put reusable custom colors in `vars`.
|
|
165
167
|
|
|
166
|
-
|
|
168
|
+
## Where themes load from
|
|
167
169
|
|
|
168
|
-
|
|
170
|
+
Atomic discovers custom themes from these sources:
|
|
169
171
|
|
|
170
|
-
|
|
172
|
+
- **Global:** `~/.atomic/agent/themes/*.json`
|
|
173
|
+
- **Project** (requires [project trust](/security#project-trust)): `.atomic/themes/*.json`
|
|
174
|
+
- **Packages:** `themes/` directories or `atomic.themes` entries in `package.json` ([Create packages](/packages/authoring))
|
|
175
|
+
- **Settings:** `themes` array in global or project `settings.json`, accepting files, directories, and filter patterns (`!glob`, `+path`, `-path` with `~` expansion; see [Package filtering](/packages/reference#package-filtering))
|
|
176
|
+
- **CLI:** `--theme <path>` (repeatable; accepts a `.json` file or a directory) loads themes; `--use-theme <name>` activates one for that run
|
|
171
177
|
|
|
172
|
-
|
|
178
|
+
Discovery and precedence behavior:
|
|
173
179
|
|
|
174
|
-
|
|
180
|
+
- Auto-discovery in `~/.atomic/agent/themes/` and `.atomic/themes/` is non-recursive and skips dotfiles, `node_modules`, and files matched by `.gitignore`, `.ignore`, or `.fdignore`.
|
|
181
|
+
- Explicit `--theme <dir>` paths read all `*.json` files in that directory without applying dotfile or `.gitignore` filters.
|
|
182
|
+
- Passing `--no-themes` disables auto-discovered and configured-package themes; built-in themes, themes shipped in `-e` / `--extension` packages, and explicit `--theme <path>` files or directories still load.
|
|
183
|
+
- When multiple custom themes declare the same `"name"`, Atomic reports a collision diagnostic and keeps the first match: `-e` packages win first, then project overrides global, both override configured packages, and explicit `--theme` paths apply last—see [Resource precedence order](/packages/reference#resource-precedence-order).
|
|
175
184
|
|
|
176
|
-
|
|
185
|
+
<Note>
|
|
186
|
+
Legacy `.pi` theme locations (`~/.pi/agent/themes/*.json`, `.pi/themes/*.json`, and `pi.themes` in `package.json`) remain supported alongside `.atomic` paths.
|
|
187
|
+
</Note>
|
|
177
188
|
|
|
178
|
-
|
|
189
|
+
## Tips
|
|
179
190
|
|
|
180
|
-
**
|
|
191
|
+
- **Dark terminals:** Use bright, saturated accents with clear contrast against dark backgrounds.
|
|
192
|
+
- **Light terminals:** Use darker, muted tones to keep text comfortable to scan.
|
|
193
|
+
- **Color harmony:** Define a small base palette (such as Nord, Gruvbox, or Tokyo Night) in `vars` and reference it across tokens.
|
|
194
|
+
- **Testing:** Check your theme across user messages, tool pending/success/error states, diffs, Markdown code blocks, and long wrapped lines.
|
|
195
|
+
- **VS Code terminal:** Set `terminal.integrated.minimumContrastRatio` to `1` so VS Code does not shift your palette colors.
|
package/docs/tmux.md
CHANGED
|
@@ -1,76 +1,70 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: "tmux
|
|
3
|
-
sidebarTitle: "tmux"
|
|
2
|
+
title: "Run Atomic in tmux"
|
|
3
|
+
sidebarTitle: "Run in tmux"
|
|
4
4
|
description: "Configure tmux for modified keys, Escape timing, hyperlinks, clipboard copy, mouse scrolling, and image paste with Atomic."
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
Atomic works inside tmux, though tmux strips modifier keys, delays `Escape`, and filters hyperlinks by default. Without configuration, `Shift+Enter` and `Ctrl+Enter` arrive as plain `Enter`.
|
|
8
8
|
|
|
9
|
-
For terminal automation, prefer [Herdr](/herdr) when available, with tmux or native Windows psmux as fallbacks
|
|
9
|
+
For terminal automation, prefer [Herdr](/herdr) when available, with tmux or native Windows psmux as fallbacks (see [Computer use](/computer-use#terminal-automation-with-herdr) and the bundled `/skill:tmux` skill in [Bundled skills](/skills#bundled-skills)). This guide covers running Atomic interactively inside tmux.
|
|
10
10
|
|
|
11
11
|
## Recommended tmux configuration
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
```tmux
|
|
16
|
-
set -g extended-keys on
|
|
17
|
-
set -g extended-keys-format csi-u
|
|
18
|
-
set -sg escape-time 10
|
|
19
|
-
set -g mouse on
|
|
20
|
-
set -g set-clipboard on
|
|
21
|
-
set -as terminal-features ',*:hyperlinks'
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
tmux
|
|
28
|
-
|
|
29
|
-
|
|
13
|
+
<Steps>
|
|
14
|
+
<Step title="Add recommended options to ~/.tmux.conf">
|
|
15
|
+
```tmux
|
|
16
|
+
set -g extended-keys on
|
|
17
|
+
set -g extended-keys-format csi-u
|
|
18
|
+
set -sg escape-time 10
|
|
19
|
+
set -g mouse on
|
|
20
|
+
set -g set-clipboard on
|
|
21
|
+
set -as terminal-features ',*:hyperlinks'
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
If you run tmux 3.2 through 3.4, omit `extended-keys-format csi-u` (it requires tmux 3.5 or later).
|
|
25
|
+
</Step>
|
|
26
|
+
|
|
27
|
+
<Step title="Restart the tmux server completely">
|
|
28
|
+
Reloading a running config does not always apply extended-keys and terminal-feature changes to existing sessions. Restart the server cleanly:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
tmux kill-server
|
|
32
|
+
tmux
|
|
33
|
+
```
|
|
34
|
+
</Step>
|
|
35
|
+
</Steps>
|
|
30
36
|
|
|
31
37
|
What each setting does:
|
|
32
38
|
|
|
33
|
-
- **`extended-keys on` (or `always`) and `extended-keys-format csi-u`:** Forwards modified keys such as `Shift+Enter` and `Ctrl+Enter`
|
|
34
|
-
- **`escape-time 10`:** Lowers tmux's Escape key delay from older defaults (up to 500 ms) to 10 ms so
|
|
39
|
+
- **`extended-keys on` (or `always`) and `extended-keys-format csi-u`:** Forwards modified keys such as `Shift+Enter` and `Ctrl+Enter` cleanly. Whenever `$TMUX` is set, Atomic checks both options at startup and warns if `extended-keys` is off or if `extended-keys-format` is `xterm`.
|
|
40
|
+
- **`escape-time 10`:** Lowers tmux's Escape key delay from older defaults (up to 500 ms) to 10 ms so `Escape` cancels runs and closes dialogs without lag. Over high-latency SSH inside tmux, you can also raise `ATOMIC_TUI_ESC_TIMEOUT` if `Alt` keys register as `Escape` ([SSH and Escape key delay](/terminal-setup#ssh-and-escape-key-delay)).
|
|
35
41
|
- **`mouse on`:** Forwards clicks, wheel scrolling, and drag selection to Atomic's fullscreen viewport.
|
|
36
42
|
- **`set-clipboard on`:** Allows OSC 52 clipboard copies to reach your outer terminal.
|
|
37
43
|
- **`terminal-features ',*:hyperlinks'`:** Advertises OSC 8 hyperlink forwarding so Atomic renders clickable links.
|
|
38
44
|
|
|
39
45
|
## Why `csi-u` is recommended
|
|
40
46
|
|
|
41
|
-
With only `set -g extended-keys on`, tmux defaults to `extended-keys-format xterm`, which
|
|
42
|
-
|
|
43
|
-
- `Ctrl+C` sends `\x1b[27;5;99~`
|
|
44
|
-
- `Ctrl+D` sends `\x1b[27;5;100~`
|
|
45
|
-
- `Ctrl+Enter` sends `\x1b[27;5;13~`
|
|
46
|
-
|
|
47
|
-
With `extended-keys-format csi-u`, tmux sends the same keys as CSI-u sequences:
|
|
47
|
+
With only `set -g extended-keys on`, tmux defaults to `extended-keys-format xterm`, which encodes modified keys using legacy xterm `modifyOtherKeys` sequences. Setting `extended-keys-format csi-u` (tmux 3.5+) switches to unambiguous CSI-u encoding; Atomic parses both formats, and `csi-u` is the most reliable across modern outer terminals.
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
- `Ctrl+D` sends `\x1b[100;5u`
|
|
51
|
-
- `Ctrl+Enter` sends `\x1b[13;5u`
|
|
49
|
+
Without extended keys, modified Enter keys collapse to plain Enter:
|
|
52
50
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
### What extended keys fix
|
|
56
|
-
|
|
57
|
-
Without extended keys, modified Enter keys collapse to legacy sequences:
|
|
58
|
-
|
|
59
|
-
| Key | Without extended keys | With `csi-u` |
|
|
51
|
+
| Key | Without extended keys | With extended keys (`csi-u`) |
|
|
60
52
|
| --- | --- | --- |
|
|
61
|
-
| `Enter` |
|
|
62
|
-
| `Shift+Enter` |
|
|
63
|
-
| `Ctrl+Enter` |
|
|
64
|
-
| `Alt/Option+Enter` |
|
|
53
|
+
| `Enter` | Submit | Submit |
|
|
54
|
+
| `Shift+Enter` | Collapses to plain `Enter` | Distinct `Shift+Enter` (inserts newline) |
|
|
55
|
+
| `Ctrl+Enter` | Collapses to plain `Enter` | Distinct `Ctrl+Enter` |
|
|
56
|
+
| `Alt/Option+Enter` | Legacy `ESC+Enter` | Distinct `Alt/Option+Enter` |
|
|
65
57
|
|
|
66
|
-
|
|
58
|
+
<Tip>
|
|
59
|
+
`Ctrl+J` always inserts a newline out of the box, even without extended keys configured.
|
|
60
|
+
</Tip>
|
|
67
61
|
|
|
68
62
|
## Inline images, hyperlinks, mouse, and clipboard
|
|
69
63
|
|
|
70
|
-
- **Inline images:** Atomic disables inline image protocols whenever `$TMUX` is set or `TERM` starts with `tmux`, even if tmux has `allow-passthrough on`. If your outer terminal and tmux
|
|
71
|
-
- **OSC 8 hyperlinks:** Inside tmux, Atomic
|
|
72
|
-
- **Clipboard over SSH (OSC 52):** Over SSH inside tmux, OSC 52 copies require `set -g set-clipboard on` (and `set -g allow-passthrough on` depending on your tmux version) so copied text reaches your local
|
|
73
|
-
- **Mouse scrolling and selection:** With `set -g mouse on`, Atomic handles clicks, drag selection, and wheel scrolling inside panes. Inside tmux, Atomic
|
|
64
|
+
- **Inline images:** Atomic disables inline image protocols whenever `$TMUX` is set or `TERM` starts with `tmux`, even if tmux has `allow-passthrough on`. If your outer terminal and tmux setup support image passthrough, explicitly override the protocol with `terminal.images` in `~/.atomic/agent/settings.json` ([Terminal and images settings](/settings#terminal-and-images)) or `ATOMIC_IMAGE_PROTOCOL=kitty` (or `iterm2`; see [Terminal and display variables](/environment-variables#terminal-and-display-variables)).
|
|
65
|
+
- **OSC 8 hyperlinks:** Inside tmux, Atomic queries `client_termfeatures` (250 ms timeout) and emits clickable hyperlinks only when `hyperlinks` is listed. Add `set -as terminal-features ',*:hyperlinks'` to `~/.tmux.conf`, or force hyperlinks with `"terminal": { "hyperlinks": true }` or `ATOMIC_HYPERLINKS=1`.
|
|
66
|
+
- **Clipboard over SSH (OSC 52):** Over SSH inside tmux, OSC 52 copies require `set -g set-clipboard on` (and `set -g allow-passthrough on` depending on your tmux version) so copied text reaches your local clipboard. See [Clipboard and mouse behavior](/terminal-setup#clipboard-and-mouse-behavior).
|
|
67
|
+
- **Mouse scrolling and selection:** With `set -g mouse on`, Atomic handles clicks, drag selection, and wheel scrolling inside panes. Inside tmux, Atomic reports mouse movement only while dragging instead of tracking every pointer move, keeping terminal traffic light.
|
|
74
68
|
- **Program status (OSC 7501):** tmux does not forward OSC 7501 status reports. See [Program status](/terminal-setup#program-status).
|
|
75
69
|
|
|
76
70
|
## Image paste
|
|
@@ -79,13 +73,11 @@ Inside tmux on macOS, paste clipboard images with `Ctrl+V` instead of `Cmd+V`. O
|
|
|
79
73
|
|
|
80
74
|
## Requirements
|
|
81
75
|
|
|
82
|
-
- tmux 3.5 or later for `extended-keys-format csi-u` (check with `tmux -V`)
|
|
83
|
-
- An outer terminal emulator that supports extended keys (Ghostty, Kitty, iTerm2, WezTerm, or Windows Terminal)
|
|
84
|
-
|
|
85
|
-
With tmux 3.2 through 3.4, omit `extended-keys-format csi-u`; Atomic supports tmux's default xterm `modifyOtherKeys` format.
|
|
76
|
+
- **tmux 3.5 or later** for `extended-keys-format csi-u` (check with `tmux -V`). With tmux 3.2 through 3.4, omit `extended-keys-format csi-u`; Atomic still supports tmux's default `xterm` format.
|
|
77
|
+
- An outer terminal emulator that supports extended keys (Ghostty, Kitty, iTerm2, WezTerm, or Windows Terminal).
|
|
86
78
|
|
|
87
79
|
## Known issues
|
|
88
80
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
81
|
+
<Warning>
|
|
82
|
+
**tmux 3.6 startup text corruption ([tmux#4749](https://github.com/tmux/tmux/issues/4749)):** In tmux 3.6, fragments such as `c0c/0c0c/0c0c` can appear in the editor at startup because tmux 3.6 forwards Atomic's startup color queries and can pass a split reply into the editor as typed text. Changing Atomic's theme does not fix it—upgrade tmux to a fixed release.
|
|
83
|
+
</Warning>
|