Rinomina: crate akode-*, cartelle akode-rs/ e akode-cli/, binario akode, ~/.akode, AKODE_* (A)

Riapplica la fase 5 di aKode (86e7c72e) sulla base ripulita:
- crate codex-* -> akode-*, codex-rs -> akode-rs, codex-cli -> akode-cli, binario e ausiliari akode;
- ~/.codex -> ~/.akode, CODEX_HOME -> AKODE_HOME, variabili CODEX_* -> AKODE_*, .codex/ -> .akode/ di progetto;
  nessun fallback a ~/.codex o a CODEX_*;
- testi per l'utente "Codex" -> "aKode"; testi verso il modello e istruzioni di sistema invariati;
- snapshot insta rinominati (non ancora rigenerati).
I conflitti con la base ripulita sono stati risolti riapplicando la rinomina ai file senza le
funzioni di imeAI (script di mappa dei token per file).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-17 12:37:52 +01:00
parent e37a0deba9
commit 7c1c6dfa8d
10306 changed files with 748026 additions and 748088 deletions

View File

@@ -0,0 +1,28 @@
---
source: tui/src/app/agents_overview_tests.rs
expression: "render_bottom_popup(&app.chat_widget,\n96).replace(&format!(\"{project} 3\"),\n&normalized_project_group).replace(&project, \"/tmp/project\")"
---
Agent command center Group: Project g
All 3 Needs you 1 Working 1 Ready 0 Inactive 1 tab/⇧tab filter
────────────────────────────────────────────────────────────────────────────────────────────
Tasks │ Task details
/tmp/project 3 │
› ● Build the dashboard │ Build the dashboard
● Repair authentication │ ● Needs input
○ Review yesterday's changes │
│ Model: gpt-6.1-sol
│ Reasoning: Unknown
│
│ Project
│ /tmp/project
│
│ Agent: Inspect keyboard shortcuts
│ Open task to review.
│ Waiting for approval.
│
│ Prompt
│ Build the dashboard
│
│
│
? help esc back ↑/↓ move enter open n new

View File

@@ -0,0 +1,8 @@
---
source: tui/src/app/agents_overview_tests.rs
expression: "render_bottom_popup(&app.chat_widget, 96)"
---
🔒 This conversation is open in another app r to retry
Close it there and press R to continue here.
r retry f fork ←/esc command center ⌃c/q exit ⌃t transcript

View File

@@ -0,0 +1,28 @@
---
source: tui/src/app/agents_overview_tests.rs
expression: "render_bottom_popup(&app.chat_widget,\n96).replace(&format!(\"{project} 2\"),\n&normalized_group).replace(&project, \"/tmp/project\")"
---
Agent command center Group: Project g
All 2 Needs you 1 Working 0 Ready 0 Inactive 1 tab/⇧tab filter
────────────────────────────────────────────────────────────────────────────────────────────
Tasks │ Task details
/tmp/project 2 │
› ● Repair authentication │ Repair authentication
○ Investigate parser │ ● Needs input
│
│ Model: Unknown
│ Reasoning: Unknown
│
│ Project
│ /tmp/project
│
│ Agent: Check dependencies
│ Which dependency version should I use?
│ Open task to review.
│ Waiting for approval.
│ Waiting for your response.
│
│ Prompt
│ Repair authentication
│
? help esc back ↑/↓ move enter open n new

View File

@@ -0,0 +1,28 @@
---
source: tui/src/app/agents_overview_tests.rs
expression: normalize_agent_center_snapshot(directory_grouping)
---
Agent command center Group: Directory g
All 7 Needs you 0 Working 0 Ready 7 Inactive 0 tab/⇧tab filter
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Tasks Status Updated
/tmp/worktree-root/linked 2
○ Linked README Ready 2m ago
○ Linked tree Ready 2m ago
/tmp/worktree-root/linked/shared/child 1
○ Linked child Ready 2m ago
/tmp/worktree-root/primary 2
› ○ Primary README Ready 2m ago
○ Primary tree Ready 2m ago
/tmp/worktree-root/primary/shared/child 1
○ Primary child Ready 2m ago
/tmp/worktree-root/primary/subdir/child 1
○ Nested repository Ready 2m ago
? help esc back ↑/↓ move enter open n new

View File

@@ -0,0 +1,28 @@
---
source: tui/src/app/agents_overview_tests.rs
expression: rendered
---
Agent command center Group: Project g
All 0 Needs you 0 Working 0 ›
────────────────────────────────────────────
No tasks yet
? help ↑/↓ move enter open n new

View File

@@ -0,0 +1,28 @@
---
source: tui/src/app/agents_overview_tests.rs
expression: "render_bottom_popup(&app.chat_widget,\n96).replace(&format!(\"{project} 2\"),\n&normalized_group).replace(&project, \"/tmp/project\")"
---
Agent command center Group: Project g
All 2 Needs you 1 Working 0 Ready 0 Inactive 1 tab/⇧tab filter
────────────────────────────────────────────────────────────────────────────────────────────
Tasks │ Task details
/tmp/project 2 │
● Repair authentication │ Investigate parser
› ○ Investigate parser │ ○ Inactive
│
│ Model: provider/provider/provider/pro…
│ Reasoning: deliberatedeliberatedelibe…
│
│ Project
│ /tmp/project
│
│ Last message
│ Found the regression in the parser.
│ Found the regression in the parser.
│ Found the regression in the parser.
│ …
│
│ Prompt
│ Investigate parser
│ …
? help esc back ↑/↓ move enter open n new

View File

@@ -0,0 +1,28 @@
---
source: tui/src/app/agents_overview_tests.rs
expression: "render_bottom_popup(&app.chat_widget,\n96).replace(&format!(\"{project} 1\"),\n&normalized_group).replace(&project, \"/tmp/project\")"
---
Agent command center Group: Project g
All 1 Needs you 0 Working 1 Ready 0 Inactive 0 tab/⇧tab filter
────────────────────────────────────────────────────────────────────────────────────────────
Tasks │ Task details
/tmp/project 1 │
› ● Check startup performance │ Check startup performance
│ ● Working
│
│ Model: Unknown
│ Reasoning: Unknown
│
│ Project
│ /tmp/project
│
│ Latest activity
│ Checking cold-start regressions
│
│ Prompt
│ No prompt available.
│
│
│
│
? help esc back ↑/↓ move enter open n new

View File

@@ -0,0 +1,11 @@
---
source: tui/src/app/agents_overview_tests.rs
expression: "render_bottom_popup(&app.chat_widget, 96)"
---
Unable to resume session
The session is unavailable.
› 1. Return to command center
enter select · esc back

View File

@@ -0,0 +1,12 @@
---
source: tui/src/app/agents_overview_tests.rs
expression: "crate::chatwidget::tests::helpers::render_bottom_popup(&app.chat_widget, 96)"
---
Unable to complete action
Failed to carry forward approvals reviewer: invalid value for `approvals_reviewer`: `User`
is not in the allowed set [AutoReview] (set by <requirements>)
› 1. Return to command center
enter select · esc back

View File

@@ -0,0 +1,28 @@
---
source: tui/src/app/agents_overview_tests.rs
expression: normalize_agent_center_snapshot(project_grouping)
---
Agent command center Group: Project g
All 7 Needs you 0 Working 0 Ready 7 Inactive 0 tab/⇧tab filter
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Tasks Status Updated
/tmp/worktree-root/primary 4
› ○ Primary README Ready 2m ago
○ Primary tree Ready 2m ago
○ Linked README Ready 2m ago
○ Linked tree Ready 2m ago
/tmp/worktree-root/primary/shared/child 2
○ Primary child Ready 2m ago
○ Linked child Ready 2m ago
/tmp/worktree-root/primary/subdir/child 1
○ Nested repository Ready 2m ago
? help esc back ↑/↓ move enter open n new

View File

@@ -0,0 +1,9 @@
---
source: tui/src/app.rs
expression: snapshot
---
Main [default] | 00000000-0000-0000-0000-000000000123
Robie [explorer] | 00000000-0000-0000-0000-000000000123
Robie | 00000000-0000-0000-0000-000000000123
[explorer] | 00000000-0000-0000-0000-000000000123
Agent | 00000000-0000-0000-0000-000000000123

View File

@@ -0,0 +1,5 @@
---
source: tui/src/app/tests.rs
expression: rendered
---
■ Failed to edit the selected prompt: branch unavailable

View File

@@ -0,0 +1,6 @@
---
source: tui/src/app/tests.rs
expression: rendered
---
⚠ `--dangerously-bypass-hook-trust` is enabled. Enabled hooks may run without
review for this invocation.

View File

@@ -0,0 +1,8 @@
---
source: tui/src/app/tests.rs
assertion_line: 5874
expression: rendered
---
>_ OpenAI Codex (v<VERSION>)
/tmp/project

View File

@@ -0,0 +1,10 @@
---
source: tui/src/app/tests.rs
expression: dialog.trim_end()
---
This will discard unsent input and lose this temporary chat’s history. Close “Fix cache”?
Cancel Close
←/→ choose · Enter confirm · Esc cancel

View File

@@ -0,0 +1,8 @@
---
source: tui/src/app/tests.rs
expression: "transcript_composer::buffer_text(&buffer).trim()"
---
› Earlier exchange
New exchange

View File

@@ -0,0 +1,5 @@
---
source: tui/src/app/tests.rs
expression: "frame.lines().find(|row| row.contains(\"Find:\")).unwrap()"
---
Find: parent-2x4 │ GPT-6.1-Sol default

View File

@@ -0,0 +1,8 @@
---
source: tui/src/app/tests.rs
assertion_line: 293
expression: rendered
---
Existing conversation
■ Multiple sessions match 'duplicate-label' (including <session UUID> and <session UUID>); use a session UUID to disambiguate.

View File

@@ -0,0 +1,5 @@
---
source: tui/src/app/tests.rs
expression: rendered
---
■ Failed to open editor: editor directory must not be writable

View File

@@ -0,0 +1,63 @@
---
source: tui/src/app/tests.rs
expression: "frames.join(\"\\n\\n\")"
---
100 columns, hidden
parent-24
parent-25
parent-26
parent-27
parent-28
parent-29
New activity · ↓ Back to bottom · esc
› parent draft
GPT-6.1-Sol default · Main [default]
New activity · esc latest
100 columns, reopened
parent-24 │ Side chat× +
│child-24
parent-25 │
│child-25
parent-26 │
│child-26
parent-27 │
│child-27
parent-28 │
│child-28
parent-29 │
│child-29
│
│
› parent draft- │› child draft!
│
GPT-6.1-Sol default │ GPT-6.1-Sol default · Agent
│ Side from main thread · ⌃/ to swit
99 columns, reopened
Side chat× +
child-24
child-25
child-26
child-27
child-28
child-29
› child draft!
GPT-6.1-Sol default · Agent
Side from main thread · ⌃/ to switch · ⌃c to close

View File

@@ -0,0 +1,5 @@
---
source: tui/src/app/tests.rs
expression: rendered
---
■ Failed to determine working directory for resume: failed to determine the working directory recorded for the selected session

View File

@@ -0,0 +1,61 @@
---
source: tui/src/app/tests.rs
expression: "format!(\"Zoomed\\n{zoomed}\\nRestored\\n{restored}\\nEqualized\\n{equalized}\")"
---
Zoomed
Side chat× +
• unfinished answer
› xchild draft!
GPT-6.1-Sol default · Agent
tab to queue message Side from main thread · ⌃/ to switch · ⌃c to close
Restored
parent-24 │ Side chat× +
│• unfinished answer
parent-25 │
│
parent-26 │
│
parent-27 │
│
parent-28 │
│
parent-29 │
│
│
│
› xparent draft-! │› xchild draft!
second line │
GPT-6.1-Sol default │ GPT-6.1-Sol default · Agent
│ tab to queue message Side from main thread · ⌃/ to switch · ⌃c to close
Equalized
parent-24 │ Side chat× +
│• unfinished answer
parent-25 │
│
parent-26 │
│
parent-27 │
│
parent-28 │
│
parent-29 │
│
│
│
› xparent draft-! │› xchild draft!
second line │
GPT-6.1-Sol default │ GPT-6.1-Sol default · Agent
│ tab to queue message Side from main thread · ⌃/ to switch · ⌃c to close

View File

@@ -0,0 +1,28 @@
---
source: tui/src/app/tests/patch_approval_tests.rs
expression: normalize_snapshot_paths(expanded)
---
• Edited 3 files (+5 -2)
└ a-added.txt (+4 -0)
1 +alpha
2 +beta
3 +gamma
4 +delta
└ m-updated.txt (+1 -1)
1 -old
Would you like to make the following edits?
Description: Apply proposed file edits
Destination: /tmp/project/a-added.txt
Destination: /tmp/project/m-updated.txt
Destination: /tmp/project/z-deleted.txt
› 1. Yes, proceed (y)
2. Yes, and don't ask again for these files (a)
3. No, and tell Codex what to do differently (esc)
Press enter to confirm or esc to cancel

View File

@@ -0,0 +1,47 @@
---
source: tui/src/app/tests/patch_approval_tests.rs
expression: "format!(\"{last:?}\")"
---
Buffer {
area: Rect { x: 0, y: 0, width: 48, height: 11 },
content: [
"/ P A T C H / / / / / / / / / / / / / / / / / / ",
" 1 -old ",
" 1 +new ",
" ",
"z-deleted.txt (+0 -1) ",
" ",
" 1 -removed ",
"───────────────────────────────────────── 100% ─",
" ↑/↓ to scroll · pgup/pgdn to page · home/end to",
" q close ",
" ",
],
styles: [
x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 0, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 2, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 4, y: 1, fg: Red, bg: Reset, underline: Reset, modifier: NONE,
x: 8, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 2, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 4, y: 2, fg: Green, bg: Reset, underline: Reset, modifier: NONE,
x: 8, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 15, y: 4, fg: Green, bg: Reset, underline: Reset, modifier: NONE,
x: 17, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 18, y: 4, fg: Red, bg: Reset, underline: Reset, modifier: NONE,
x: 20, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 2, y: 6, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 4, y: 6, fg: Red, bg: Reset, underline: Reset, modifier: NONE,
x: 12, y: 6, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 0, y: 7, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 1, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD,
x: 4, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 17, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD,
x: 26, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 37, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD,
x: 45, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 1, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD,
x: 2, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 8, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
]
}

View File

@@ -0,0 +1,50 @@
---
source: tui/src/app/tests/patch_approval_tests.rs
expression: "format!(\"{first:?}\")"
---
Buffer {
area: Rect { x: 0, y: 0, width: 48, height: 11 },
content: [
"/ P A T C H / / / / / / / / / / / / / / / / / / ",
"a-added.txt (+4 -0) ",
" ",
" 1 +alpha ",
" 2 +beta ",
" 3 +gamma ",
" 4 +delta ",
"─────────────────────────────────────────── 0% ─",
" ↑/↓ to scroll · pgup/pgdn to page · home/end to",
" q close ",
" ",
],
styles: [
x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 0, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 13, y: 1, fg: Green, bg: Reset, underline: Reset, modifier: NONE,
x: 15, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 16, y: 1, fg: Red, bg: Reset, underline: Reset, modifier: NONE,
x: 18, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 2, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 4, y: 3, fg: Green, bg: Reset, underline: Reset, modifier: NONE,
x: 10, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 2, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 4, y: 4, fg: Green, bg: Reset, underline: Reset, modifier: NONE,
x: 9, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 2, y: 5, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 4, y: 5, fg: Green, bg: Reset, underline: Reset, modifier: NONE,
x: 10, y: 5, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 2, y: 6, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 4, y: 6, fg: Green, bg: Reset, underline: Reset, modifier: NONE,
x: 10, y: 6, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 0, y: 7, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 1, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD,
x: 4, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 17, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD,
x: 26, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 37, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD,
x: 45, y: 8, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 1, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD,
x: 2, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 8, y: 9, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
]
}

View File

@@ -0,0 +1,13 @@
---
source: tui/src/app/tests.rs
expression: "render_bottom_popup(&app.chat_widget, 80)"
---
Subagents
Select an agent to watch. ⌥← previous, ⌥→ next.
› 1. • /root/review (needs approval) 00000000-0000-0000-0000-000000000002
2. • /root/worker (needs approval) 00000000-0000-0000-0000-000000000123
3. • Main [default] (current) 00000000-0000-0000-0000-000000000001
enter select · esc back

View File

@@ -0,0 +1,5 @@
---
source: tui/src/app/tests.rs
expression: rendered
---
■ `tui.resume_cwd = "current"` requires `--cd` when using a remote workspace

View File

@@ -0,0 +1,12 @@
---
source: tui/src/app/tests.rs
expression: "render_bottom_popup(&app.chat_widget, 80)"
---
Replace goal?
› As New objective: New goal
GP
› 1. Replace current goal Set the new objective and start it now
2. Cancel Keep the current goal
enter select · esc back

View File

@@ -0,0 +1,15 @@
---
source: tui/src/app/tests.rs
expression: rendered
---
Would you like to make the following edits?
Description: Apply proposed file edits
Destination: /tmp/project/visible-target.md
› 1. Yes, proceed (y)
2. Yes, and don't ask again for these files (a)
3. No, and tell Codex what to do differently (esc)
Press enter to confirm or esc to cancel

View File

@@ -0,0 +1,8 @@
---
source: tui/src/app/tests.rs
assertion_line: 2769
expression: "render_bottom_popup(&app.chat_widget, 80)"
---
› Ask Codex to do anything
GPT-6.1-Sol default · /tmp/project · child-0 [worker] · ← for agents

View File

@@ -0,0 +1,8 @@
---
source: tui/src/app/tests.rs
assertion_line: 2769
expression: "render_bottom_popup(&app.chat_widget, 80)"
---
› Viewing sub-agent — direct input is disabled
GPT-6.1-Sol default · /tmp/project · child-1 [worker] · ← for agents

View File

@@ -0,0 +1,5 @@
---
source: tui/src/app/tests.rs
expression: rendered
---
■ Editing previous prompts is unavailable in side conversations.

View File

@@ -0,0 +1,44 @@
---
source: tui/src/app/tests.rs
expression: "tab_styles.join(\"\\n\")"
---
sidebar rest inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(0, 0, 46)/Rgb(99, 168, 248)/BOLD add Rgb(142, 142, 142)/Reset/NONE
sidebar hover inactive Rgb(224, 224, 224)/Rgb(72, 72, 72)/NONE selected Rgb(0, 0, 46)/Rgb(99, 168, 248)/BOLD add Rgb(142, 142, 142)/Reset/NONE
sidebar fallback inactive Reset/Reset/UNDERLINED selected Reset/Reset/BOLD | REVERSED add Reset/Reset/NONE
sidebar selected inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(0, 0, 46)/Rgb(99, 168, 248)/BOLD add Rgb(142, 142, 142)/Reset/NONE
sidebar leave inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(0, 0, 46)/Rgb(99, 168, 248)/BOLD add Rgb(142, 142, 142)/Reset/NONE
sidebar light rest inactive Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE selected Rgb(0, 0, 46)/Rgb(164, 205, 251)/BOLD add Rgb(108, 109, 123)/Reset/NONE
sidebar light hover inactive Rgb(80, 80, 106)/Rgb(218, 221, 226)/NONE selected Rgb(0, 0, 46)/Rgb(164, 205, 251)/BOLD add Rgb(108, 109, 123)/Reset/NONE
sidebar light add inactive Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE selected Rgb(0, 0, 46)/Rgb(164, 205, 251)/BOLD add Rgb(80, 80, 106)/Rgb(218, 221, 226)/NONE
sidebar add inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(0, 0, 46)/Rgb(99, 168, 248)/BOLD add Rgb(224, 224, 224)/Rgb(72, 72, 72)/NONE
sidebar add fallback inactive Reset/Reset/NONE selected Reset/Reset/BOLD | REVERSED add Reset/Reset/UNDERLINED
main rest inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(224, 224, 224)/Rgb(72, 72, 72)/BOLD add Rgb(142, 142, 142)/Reset/NONE
main hover inactive Rgb(224, 224, 224)/Rgb(72, 72, 72)/NONE selected Rgb(224, 224, 224)/Rgb(72, 72, 72)/BOLD add Rgb(142, 142, 142)/Reset/NONE
main fallback inactive Reset/Reset/UNDERLINED selected Reset/Reset/BOLD | UNDERLINED add Reset/Reset/NONE
main selected inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(224, 224, 224)/Rgb(72, 72, 72)/BOLD add Rgb(142, 142, 142)/Reset/NONE
main leave inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(224, 224, 224)/Rgb(72, 72, 72)/BOLD add Rgb(142, 142, 142)/Reset/NONE
main light rest inactive Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE selected Rgb(80, 80, 106)/Rgb(218, 221, 226)/BOLD add Rgb(108, 109, 123)/Reset/NONE
main light hover inactive Rgb(80, 80, 106)/Rgb(218, 221, 226)/NONE selected Rgb(80, 80, 106)/Rgb(218, 221, 226)/BOLD add Rgb(108, 109, 123)/Reset/NONE
main light add inactive Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE selected Rgb(80, 80, 106)/Rgb(218, 221, 226)/BOLD add Rgb(80, 80, 106)/Rgb(218, 221, 226)/NONE
main add inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(224, 224, 224)/Rgb(72, 72, 72)/BOLD add Rgb(224, 224, 224)/Rgb(72, 72, 72)/NONE
main add fallback inactive Reset/Reset/NONE selected Reset/Reset/BOLD | UNDERLINED add Reset/Reset/UNDERLINED
chooser rest inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE add Rgb(0, 0, 46)/Rgb(99, 168, 248)/BOLD
chooser hover inactive Rgb(224, 224, 224)/Rgb(72, 72, 72)/NONE selected Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE add Rgb(0, 0, 46)/Rgb(99, 168, 248)/BOLD
chooser fallback inactive Reset/Reset/UNDERLINED selected Reset/Reset/NONE add Reset/Reset/BOLD | REVERSED
chooser selected inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(224, 224, 224)/Rgb(72, 72, 72)/NONE add Rgb(0, 0, 46)/Rgb(99, 168, 248)/BOLD
chooser leave inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE add Rgb(0, 0, 46)/Rgb(99, 168, 248)/BOLD
chooser light rest inactive Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE selected Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE add Rgb(0, 0, 46)/Rgb(164, 205, 251)/BOLD
chooser light hover inactive Rgb(80, 80, 106)/Rgb(218, 221, 226)/NONE selected Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE add Rgb(0, 0, 46)/Rgb(164, 205, 251)/BOLD
chooser light add inactive Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE selected Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE add Rgb(0, 0, 46)/Rgb(150, 188, 230)/BOLD
chooser add inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE add Rgb(0, 0, 46)/Rgb(133, 187, 248)/BOLD
chooser add fallback inactive Reset/Reset/NONE selected Reset/Reset/NONE add Reset/Reset/BOLD | UNDERLINED | REVERSED
chooser main rest inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE add Rgb(154, 154, 154)/Rgb(31, 31, 31)/NONE
chooser main hover inactive Rgb(224, 224, 224)/Rgb(72, 72, 72)/NONE selected Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE add Rgb(154, 154, 154)/Rgb(31, 31, 31)/NONE
chooser main fallback inactive Reset/Reset/UNDERLINED selected Reset/Reset/NONE add Reset/Reset/DIM
chooser main selected inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(224, 224, 224)/Rgb(72, 72, 72)/NONE add Rgb(154, 154, 154)/Rgb(31, 31, 31)/NONE
chooser main leave inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE add Rgb(154, 154, 154)/Rgb(31, 31, 31)/NONE
chooser main light rest inactive Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE selected Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE add Rgb(105, 106, 121)/Rgb(234, 237, 242)/NONE
chooser main light hover inactive Rgb(80, 80, 106)/Rgb(218, 221, 226)/NONE selected Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE add Rgb(105, 106, 121)/Rgb(234, 237, 242)/NONE
chooser main light add inactive Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE selected Rgb(102, 103, 117)/Rgb(228, 231, 236)/NONE add Rgb(80, 80, 106)/Rgb(218, 221, 226)/NONE
chooser main add inactive Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE selected Rgb(151, 151, 151)/Rgb(48, 48, 48)/NONE add Rgb(224, 224, 224)/Rgb(72, 72, 72)/NONE
chooser main add fallback inactive Reset/Reset/NONE selected Reset/Reset/NONE add Reset/Reset/UNDERLINED

View File

@@ -0,0 +1,5 @@
---
source: tui/src/app/tests.rs
expression: header.trim_end()
---
Investig…× Fix cache× +

View File

@@ -0,0 +1,11 @@
---
source: tui/src/app/tests.rs
expression: "format!(\"Inactive\\n{inactive}\\n\\nFocused\\n{focused}\")"
---
Inactive
" " Rgb(48, 48, 48) | "│" Reset | "›" Rgb(31, 31, 31)
" " Reset | "│" Reset | " " Reset
Focused
" " Rgb(31, 31, 31) | "│" Reset | "›" Rgb(48, 48, 48)
" " Reset | "│" Reset | " " Reset

View File

@@ -0,0 +1,22 @@
---
source: tui/src/app/tests.rs
expression: "chooser.lines().filter_map(|line|\nline.split_once('│').map(|(_, sidebar)|\nsidebar.trim_end())).collect::<Vec<_>>().join(\"\\n\")"
---
Side chat× +
Open in sidebar
+ New side chat
Start from the main chat
Side chats 1
› ○ Side chat
enter open · esc back …

View File

@@ -0,0 +1,21 @@
---
source: tui/src/app/tests.rs
expression: panel
---
parent-24 │ Side chat× +
│child-24
parent-25 │
│child-25
parent-26 │
│child-26
parent-27 │
│child-27
parent-28 │
│child-28
parent-29 │
│child-29
New activity · ↓ Back to bottom · esc │
│
› parent draft │› child draft!
│
GPT-6.1-Sol default · Main [default] │ GPT-6.1-Sol default

View File

@@ -0,0 +1,21 @@
---
source: tui/src/app/tests.rs
expression: "format!(\"Archived:\\n{archived_picker}\\nUnarchived:\\n{}\",\nrender_bottom_popup(&app.chat_widget,\n80)).replace(&archived_thread_id.to_string(), \"[archived]\")"
---
Archived:
Subagents
Select an agent to watch. ⌥← previous, ⌥→ next.
› 1. • Main [default] (current) 00000000-0000-0000-0000-000000000123
enter select · esc back
Unarchived:
Subagents
Select an agent to watch. ⌥← previous, ⌥→ next.
› 1. • Main [default] (current) 00000000-0000-0000-0000-000000000123
2. • Missed archive [worker] [archived]
enter select · esc back

View File

@@ -0,0 +1,5 @@
---
source: tui/src/app_backtrack.rs
expression: rendered
---
• No previous message to edit.

View File

@@ -0,0 +1,7 @@
---
source: tui/src/app_server_session.rs
expression: "crate::chatwidget::tests::helpers::render_bottom_popup(&chat, 40)"
---
› Ask Codex to do anything
GPT-5.5 default · /tmp/pr… Plan mode

View File

@@ -0,0 +1,5 @@
---
source: tui/src/clipboard_copy.rs
expression: error
---
Windows clipboard: powershell unavailable; native clipboard: native unavailable; terminal clipboard: tmux clipboard: tmux unavailable; OSC 52 fallback: osc blocked

View File

@@ -0,0 +1,12 @@
---
source: tui/src/clipboard_html_tests.rs
expression: render_markdown(markdown)
---
<p>parser (/repo/src/parser.rs:42)</p>
<p><strong>Windows parser</strong> (C:\repo\src\parser.rs:42:7)</p>
<p><code>relative parser</code> (../src/parser.rs#L42-L48)</p>
<p>file URL (file:///repo/src/parser.rs#L42)</p>
<p>escaped path (/repo/a&amp;b/&lt;parser&gt;.rs:42)</p>
<p>Unicode path (/repo/my project/解析.rs:42)</p>
<p>diagram (/repo/diagram.rs:7)</p>
<p><a href="https://example.com/source">web link</a> and another file (src/lib.rs:9)</p>

View File

@@ -0,0 +1,17 @@
---
source: tui/src/clipboard_html_tests.rs
expression: render_markdown(markdown)
---
<h1>Findings</h1>
<p>Read <a href="https://example.com/source?q=1&amp;v=2">the source</a>.</p>
<ul>
<li><strong>Bold</strong>, <em>italic</em>, <del>removed</del>, and <code>inline &lt;code&gt;</code></li>
</ul>
<blockquote>
<p>A quoted finding.</p>
</blockquote>
<pre><code class="language-rust">fn main() { println!("&lt;hello&gt;"); }
</code></pre>
<table><thead><tr><th>Item</th><th>Result</th></tr></thead><tbody>
<tr><td>Copy</td><td>Formatted</td></tr>
</tbody></table>

View File

@@ -0,0 +1,6 @@
---
source: tui/src/custom_terminal.rs
expression: "grid.replace('\\x1b', \"\\nESC\").trim()"
---
ESC[3;3H􎻮̅􎻮􎻮􎻮
ESC[4;3H􎻮̍􎻮􎻮􎻮

View File

@@ -0,0 +1,19 @@
---
source: tui/src/cwd_prompt.rs
expression: rendered
---
Working directory · resume
Session = latest cwd recorded in the
resumed session
Current = your current working
directory
↑
3. Always use session directory
› 4. Always use current directory (/
Users/example/current)
enter continue · esc use session ·
⌃c quit

View File

@@ -0,0 +1,15 @@
---
source: tui/src/cwd_prompt.rs
expression: terminal.backend()
---
Working directory · fork
Session = latest cwd recorded in the forked session
Current = your current working directory
› 1. Use session directory (/Users/example/session)
2. Use current directory (/Users/example/current)
3. Always use session directory
4. Always use current directory
enter continue · esc use session · ⌃c quit

View File

@@ -0,0 +1,15 @@
---
source: tui/src/cwd_prompt.rs
expression: terminal.backend()
---
Working directory · resume
Session = latest cwd recorded in the resumed session
Current = your current working directory
› 1. Use session directory (/Users/example/session)
2. Use current directory (/Users/example/current)
3. Always use session directory
4. Always use current directory
enter continue · esc use session · ⌃c quit

View File

@@ -0,0 +1,5 @@
---
source: tui/src/cwd_prompt.rs
expression: rendered
---
Failed to save working directory preference.

View File

@@ -0,0 +1,15 @@
---
source: tui/src/cwd_prompt.rs
expression: rendered
---
Working directory · resume
Session = latest cwd recorded in the resumed session
Current = your current working directory
› 1. Use session directory (/Users/example/session)
2. Use current directory (/Users/example/current)
3. Always use session directory
4. Always use current directory (/Users/example/launched)
enter continue · esc use session · ⌃c quit

View File

@@ -0,0 +1,14 @@
---
source: tui/src/cwd_prompt.rs
expression: rendered
---
Working directory · resume
Session = latest cwd recorded in the resumed session
Current = your current working directory
› 1. Use session directory (/Users/example/session)
2. Use current directory (/Users/example/current)
3. Always use session directory
enter continue · esc use session · ⌃c quit

View File

@@ -0,0 +1,20 @@
---
source: tui/src/daemon_recovery_tests.rs
assertion_line: 55
expression: text
---
Background server has incompatible feature settings
This session requires api_key_model_discovery to be enabled
These settings persist and can disable functionality for other clients. Restart may
interrupt active or queued work.
Restart will use these shared feature settings:
api_key_model_discovery = true
code_mode_host = true
instant_interrupt = true
and 1 more
1. Run without daemon this time
2. Restart with these settings (recommended)
› 3. Cancel

View File

@@ -0,0 +1,13 @@
---
source: tui/src/daemon_recovery_tests.rs
expression: text
---
Cannot use the background server
code-mode host fallback policy requires embedded mode
1. Run without daemon this time
Restart with these settings (disabled) Restart cannot resolve this compatibility
check.
› 2. Cancel

View File

@@ -0,0 +1,20 @@
---
source: tui/src/daemon_recovery_tests.rs
assertion_line: 55
expression: text
---
Background server has incompatible feature settings
This session requires api_key_model_discovery to be enabled
These settings persist and can disable functionality for other clients. Restart may
interrupt active or queued work.
Restart will use these shared feature settings:
api_key_model_discovery = true
code_mode_host = true
instant_interrupt = true
and 1 more
1. Run without daemon this time
Restart with these settings (disabled) This server is not managed by Codex.
› 2. Cancel

View File

@@ -0,0 +1,12 @@
---
source: tui/src/debug_config.rs
expression: rendered.as_str()
---
/debug-config
Config layer stack (lowest precedence first):
<none>
Requirements:
- allowed_sandbox_modes: read-only, workspace-write (source: /etc/akode/requirements.toml)
- permissions.filesystem.deny_read: /home/alice/.gitconfig (source: /etc/akode/requirements.toml)

View File

@@ -0,0 +1,30 @@
---
source: tui/src/debug_config.rs
expression: "outputs.join(\"\\n\\n\")"
---
network_proxy:
/debug-config
Config layer stack (lowest precedence first):
<none>
Requirements:
- network_proxy: enabled=true (source: <unspecified>)
experimental_network:
/debug-config
Config layer stack (lowest precedence first):
<none>
Requirements:
- network_proxy: enabled=true (source: <unspecified>)
permissions.network:
/debug-config
Config layer stack (lowest precedence first):
<none>
Requirements:
- permissions.network: enabled=true (source: <unspecified>)

View File

@@ -0,0 +1,13 @@
---
source: tui/src/debug_config.rs
assertion_line: 667
expression: render_to_text(&render_agents_config_lines(&config))
---
[agents]:
- enabled = false
- max_concurrent_threads_per_session = 7
- max_depth = -2 (V1 only; ignored by V2)
- default_subagent_model = gpt-5.6-terra
- default_subagent_reasoning_effort = high
- interrupt_message = false

View File

@@ -0,0 +1,29 @@
---
source: tui/src/debug_config.rs
expression: rendered.as_str()
---
/debug-config
Config layer stack (lowest precedence first):
1. user (/home/alice/.akode/config.toml) (enabled)
Requirements:
- sqlite_home: /home/alice/.akode/state (source: MDM managed_config.toml (legacy))
- log_dir: /home/alice/.akode/logs (source: MDM managed_config.toml (legacy))
- model_catalog_json: /home/alice/.akode/models.json (source: MDM managed_config.toml (legacy))
- check_for_update_on_startup: false (source: MDM managed_config.toml (legacy))
- allow_login_shell: false (source: MDM managed_config.toml (legacy))
- feedback.enabled: false (source: MDM managed_config.toml (legacy))
- allowed_approval_policies: on-request (source: MDM managed_config.toml (legacy))
- allowed_approvals_reviewers: auto_review (source: MDM managed_config.toml (legacy))
- allowed_sandbox_modes: read-only (source: /etc/akode/requirements.toml)
- allowed_web_search_modes: cached, disabled (source: MDM managed_config.toml (legacy))
- allow_managed_hooks_only: true (source: MDM managed_config.toml (legacy))
- allow_appshots: false (source: MDM managed_config.toml (legacy))
- allow_remote_control: false (source: MDM managed_config.toml (legacy))
- guardian_policy_config: configured (source: MDM managed_config.toml (legacy))
- features: guardian_approval=true (source: MDM managed_config.toml (legacy))
- mcp_servers: docs (source: MDM managed_config.toml (legacy))
- enforce_residency: us (source: MDM managed_config.toml (legacy))
- network_proxy: enabled=true, domains={example.com=allow}, review_domains={api.example.com}, header_injections=1 hosts={api.example.com} (source: MDM managed_config.toml (legacy))
- permissions.filesystem.deny_read: /home/alice/.gitconfig (source: /etc/akode/requirements.toml)

View File

@@ -0,0 +1,15 @@
---
source: tui/src/diff_render.rs
assertion_line: 765
expression: terminal.backend()
---
"• Proposed Change README.md (+2 -0) "
" 1 +first line "
" 2 +second line "
" "
" "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,8 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"1 +added in ansi16 mode "
"2 -deleted in ansi16 mode "
" "
" "

View File

@@ -0,0 +1,14 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"• Added new_file.txt (+2 -0) "
" 1 +alpha "
" 2 +beta "
" "
" "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,16 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"• Deleted tmp_delete_example.txt (+0 -3) "
" 1 -first "
" 2 -second "
" 3 -third "
" "
" "
" "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,18 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"• Edited 2 files (+2 -1) "
" └ a.txt (+1 -1) "
" 1 -one "
" 1 +one changed "
" "
" └ b.txt (+1 -0) "
" 1 +new "
" "
" "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,16 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"• Edited example.txt (+1 -1) "
" 1 line one "
" 2 -line two "
" 2 +line two changed "
" 3 line three "
" "
" "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,13 @@
---
source: tui/src/diff_render.rs
expression: text
---
• Edited hundreds.txt (+1 -1)
97 line 97
98 line 98
99 line 99
100 -line 100
100 +line 100 changed
101 line 101
102 line 102
103 line 103

View File

@@ -0,0 +1,14 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"• Edited abs_old.rs → abs_new.rs (+1 -1) "
" 1 -X "
" 1 +X changed "
" 2 Y "
" "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,16 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"• Edited long_example.txt (+1 -1) "
" 1 line 1 "
" 2 -short "
" 2 +short this_is_a_very_long_modified_line_that_should_wrap_across_m "
" ultiple_terminal_columns_and_continue_even_further_beyond_eighty_ "
" columns_to_force_multiple_wraps "
" 3 line 3 "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,15 @@
---
source: tui/src/diff_render.rs
expression: text
---
• Edited wrap_demo.txt (+2 -2)
1 1
2 -2
2 +added long line which
wraps and_if_there_i
s_a_long_token_it_wil
l_be_broken
3 3
4 -4
4 +4 context line which
also wraps across

View File

@@ -0,0 +1,16 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"• Edited old_name.rs → new_name.rs (+1 -1) "
" 1 A "
" 2 -B "
" 2 +B changed "
" 3 C "
" "
" "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,15 @@
---
source: tui/src/diff_render.rs
assertion_line: 765
expression: terminal.backend()
---
"• Proposed Change example.txt (+1 -1) "
" 1 "
" 2 -Y "
" 2 +Y changed "
" "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,42 @@
---
source: tui/src/diff_render.rs
expression: highlighted_tokens
---
[
(
"cpp",
"export| module math|;|export| |int| |sum|(|int| |a|,| |int| |b|)| |{| |return| a |+| b|;| |}",
),
(
"cu",
"export| module math|;|export| |int| |sum|(|int| |a|,| |int| |b|)| |{| |return| a |+| b|;| |}",
),
(
"cuh",
"export| module math|;|export| |int| |sum|(|int| |a|,| |int| |b|)| |{| |return| a |+| b|;| |}",
),
(
"cppm",
"export| module math|;|export| |int| |sum|(|int| |a|,| |int| |b|)| |{| |return| a |+| b|;| |}",
),
(
"CPPM",
"export| module math|;|export| |int| |sum|(|int| |a|,| |int| |b|)| |{| |return| a |+| b|;| |}",
),
(
"cxxm",
"export| module math|;|export| |int| |sum|(|int| |a|,| |int| |b|)| |{| |return| a |+| b|;| |}",
),
(
"CxXm",
"export| module math|;|export| |int| |sum|(|int| |a|,| |int| |b|)| |{| |return| a |+| b|;| |}",
),
(
"ixx",
"export| module math|;|export| |int| |sum|(|int| |a|,| |int| |b|)| |{| |return| a |+| b|;| |}",
),
(
"IXX",
"export| module math|;|export| |int| |sum|(|int| |a|,| |int| |b|)| |{| |return| a |+| b|;| |}",
),
]

View File

@@ -0,0 +1,44 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"• Edited 6 files (+9 -9) "
" └ assets/banner.txt (+3 -0) "
" 1 +HEADER VALUE "
" 2 +rocket 🚀 " Hidden by multi-width symbols: [(18, " ")]
" 3 +city 東京 " Hidden by multi-width symbols: [(16, " "), (18, " ")]
" "
" └ examples/new_sample.rs (+3 -0) "
" 1 +pub fn greet(name: &str) { "
" 2 + println!("Hello, {name}!"); "
" 3 +} "
" "
" └ legacy/old_script.py (+0 -3) "
" 1 -def legacy(x): "
" 2 - return x + 1 "
" 3 -print(legacy(3)) "
" "
" └ scripts/calc.txt → scripts/calc.py (+1 -1) "
" 1 def add(a, b): "
" 2 - return a + b "
" 2 + return a + b + 42 "
" 3 "
" 4 print(add(1, 2)) "
" "
" └ src/lib.rs (+2 -2) "
" 1 fn greet(name: &str) { "
" 2 - println!("hello"); "
" 3 - println!("bye"); "
" 2 + println!("hello {name}"); "
" 3 + println!("emoji: 🚀✨ and CJK: 你好世界"); " Hidden by multi-width symbols: [(29, " "), (31, " "), (43, " "), (45, " "), (47, " "), (49, " ")]
" 4 } "
" "
" └ tmp/obsolete.log (+0 -3) "
" 1 -old line 1 "
" 2 -old line 2 "
" 3 -old line 3 "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,28 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"• Edited 6 files (+9 -9) "
" └ assets/banner.txt (+3 -0) "
" 1 +HEADER VALUE "
" 2 +rocket 🚀 " Hidden by multi-width symbols: [(18, " ")]
" 3 +city 東京 " Hidden by multi-width symbols: [(16, " "), (18, " ")]
" "
" └ examples/new_sample.rs (+3 -0) "
" 1 +pub fn greet(name: &str) { "
" 2 + println!("Hello, {name}!"); "
" 3 +} "
" "
" └ legacy/old_script.py (+0 -3) "
" 1 -def legacy(x): "
" 2 - return x + 1 "
" 3 -print(legacy(3)) "
" "
" └ scripts/calc.txt → scripts/calc.py (+1 -1) "
" 1 def add(a, b): "
" 2 - return a + b "
" 2 + return a + b + 42 "
" 3 "
" 4 print(add(1, 2)) "
" "
" └ src/lib.rs (+2 -2) "

View File

@@ -0,0 +1,39 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"• Edited 6 files (+9 -9) "
" └ assets/banner.txt (+3 -0) "
" 1 +HEADER VALUE "
" 2 +rocket 🚀 " Hidden by multi-width symbols: [(18, " ")]
" 3 +city 東京 " Hidden by multi-width symbols: [(16, " "), (18, " ")]
" "
" └ examples/new_sample.rs (+3 -0) "
" 1 +pub fn greet(name: &str) { "
" 2 + println!("Hello, {name}!"); "
" 3 +} "
" "
" └ legacy/old_script.py (+0 -3) "
" 1 -def legacy(x): "
" 2 - return x + 1 "
" 3 -print(legacy(3)) "
" "
" └ scripts/calc.txt → scripts/calc.py (+1 -1) "
" 1 def add(a, b): "
" 2 - return a + b "
" 2 + return a + b + 42 "
" 3 "
" 4 print(add(1, 2)) "
" "
" └ src/lib.rs (+2 -2) "
" 1 fn greet(name: &str) { "
" 2 - println!("hello"); "
" 3 - println!("bye"); "
" 2 + println!("hello {name}"); "
" 3 + println!("emoji: 🚀✨ and CJK: 你好世界"); " Hidden by multi-width symbols: [(29, " "), (31, " "), (43, " "), (45, " "), (47, " "), (49, " ")]
" 4 } "
" "
" └ tmp/obsolete.log (+0 -3) "
" 1 -old line 1 "
" 2 -old line 2 "
" 3 -old line 3 "

View File

@@ -0,0 +1,13 @@
---
source: tui/src/diff_render.rs
assertion_line: 765
expression: terminal.backend()
---
"• Proposed Change README.md (+1 -1) "
" 1 -# Codex CLI (Rust Implementation) "
" 1 +# Codex CLI (Rust Implementation) banana "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,23 @@
---
source: tui/src/diff_render.rs
expression: "format!(\"{buffer:?}\")"
---
Buffer {
area: Rect { x: 0, y: 0, width: 40, height: 2 },
content: [
"1 +let value = 1; plain reset ",
"1 -let value = 1; plain reset ",
],
styles: [
x: 0, y: 0, fg: Rgb(31, 35, 40), bg: Rgb(172, 238, 187), underline: Reset, modifier: NONE,
x: 2, y: 0, fg: Green, bg: Rgb(220, 250, 230), underline: Reset, modifier: NONE,
x: 3, y: 0, fg: Rgb(122, 109, 88), bg: Rgb(220, 250, 230), underline: Reset, modifier: NONE,
x: 17, y: 0, fg: Rgb(30, 30, 30), bg: Rgb(220, 250, 230), underline: Reset, modifier: NONE,
x: 29, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 0, y: 1, fg: Rgb(31, 35, 40), bg: Rgb(255, 206, 203), underline: Reset, modifier: NONE,
x: 2, y: 1, fg: Red, bg: Rgb(55, 25, 35), underline: Reset, modifier: NONE,
x: 3, y: 1, fg: Rgb(235, 210, 170), bg: Rgb(55, 25, 35), underline: Reset, modifier: NONE,
x: 17, y: 1, fg: Rgb(137, 137, 137), bg: Rgb(55, 25, 35), underline: Reset, modifier: NONE,
x: 29, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
]
}

View File

@@ -0,0 +1,14 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"1 +fn very_long_function_name(arg_one: String, arg_two: String, arg_three: Strin "
" g, arg_four: String) -> Result<String, Box<dyn std::error::Error>> { Ok(arg_o "
" ne) } "
" "
" "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,6 @@
---
source: tui/src/diff_render.rs
expression: snapshot
---
insert=Some(Rgb(12, 34, 56))
delete=Some(Rgb(74, 34, 29))

View File

@@ -0,0 +1,17 @@
---
source: tui/src/diff_render.rs
assertion_line: 765
expression: terminal.backend()
---
"• Proposed Change src/lib.rs → src/lib_new.rs (+1 -1) "
" 1 line one "
" 2 -line two "
" 2 +line two changed "
" 3 line three "
" "
" "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,21 @@
---
source: tui/src/diff_render.rs
assertion_line: 765
expression: terminal.backend()
---
"• Proposed Change example.txt (+2 -2) "
" 1 line 1 "
" 2 -line 2 "
" 2 +line two changed "
" 3 line 3 "
" 4 line 4 "
" 5 line 5 "
" ⋮ "
" 6 line 6 "
" 7 line 7 "
" 8 line 8 "
" 9 -line 9 "
" 9 +line nine changed "
" 10 line 10 "
" "
" "

View File

@@ -0,0 +1,12 @@
---
source: tui/src/diff_render.rs
expression: terminal.backend()
---
"1 +this is a very long line that should wrap across multiple terminal columns an "
" d continue "
" "
" "
" "
" "
" "
" "

View File

@@ -0,0 +1,8 @@
---
source: tui/src/empty_state_animation_tests.rs
assertion_line: 171
expression: "fade_frames.join(\"\\n\")"
---
0ms: ⣀ Rgb(195, 201, 206)
200ms: ⣀ Rgb(121, 126, 136)
400ms: ⣀ Rgb(47, 52, 67)

View File

@@ -0,0 +1,18 @@
---
source: tui/src/empty_state_animation_tests.rs
expression: "buffer.content.chunks(usize::from(area.width)).map(|row|\nrow.iter().map(|cell|\ncell.symbol()).collect::<String>().trim_end().to_owned()).collect::<Vec<_>>().join(\"\\n\")"
---
⣠⣴⣶⣿⣿⣷⣶⣤⣀⣀⣀⣀⣀
⢠⣾⣿⡿⠟⠛⠉⣻⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀
⢀⣀⣿⣿⡟⢀⣠⣶⣿⣿⠿⠛⢉⣀⣀ ⠙⢿⣿⣿⣆
⢀⣾⣿⣿⣿⣿ ⢸⣿⡿⠋⢁⣤⣶⣿⣿⣿⣿⣦⣄⣻⣿⣿
⢠⣿⣿⡟⢹⣿⣿ ⢸⣿⣷⣾⣿⣿⣿⣯⣀⠉⠛⢿⣿⣿⣿⣿
⣼⣿⣿ ⢸⣿⣿ ⢸⣿⡿⠛⠁⠈⠛⢿⣿⣿⣦⣄⡈⠙⢿⣿⣷⡀
⢸⣿⣿⡀⠸⣿⣿⣶⣼⣿⡇ ⢸⣿⣟⠿⣿⣿⡆ ⢻⣿⣧
⢻⣿⣿⣄⡈⠙⠻⣿⣿⣷⣤⡀⢀⣤⣾⣿⣿ ⢸⣿⡇ ⣸⣿⣿
⣿⣿⣿⣿⣷⣦⣀⠉⣻⣿⣿⣿⡿⢿⣿⣿ ⢸⣿⡇⣠⣿⣿⡟
⢿⣿⣧⠉⠻⣿⣿⣿⣿⡿⠛⠉⣀⣼⣿⣿ ⣸⣿⣿⣿⣿⠟
⠘⢿⣿⣷⣄⡀⠉⠉⢁⣠⣴⣿⣿⡿⠟⠋⢀⣿⣿⡟⠋⠁
⠈⠛⢿⣿⣿⣿⣿⣿⣿⣿⣛⣉⣀⣀⣴⣿⣿⡟
⠈⠉⠉⠉⠙⠻⣿⣿⣿⣿⣿⣿⠿⠋
⠈⠉⠉

View File

@@ -0,0 +1,11 @@
---
source: tui/src/git_action_directives.rs
expression: parsed.visible_markdown
---
Found two issues.
- [P2] Fix body= parsing — src/app.ts:10-12
C:\temp says "foo" here; keep role="tab", ::git-stage{cwd=/tmp}, file=, and \n literal.
- [P1] Clamp the range — codex/src/range.ts:8
The line range should match the App.

View File

@@ -0,0 +1,11 @@
---
source: tui/src/inline_visualization_tests.rs
expression: text
---
• Fenced:
::codex-inline-vis{file="chart.html"}
Indented:
::codex-inline-vis{file="chart.html"}

View File

@@ -0,0 +1,10 @@
---
source: tui/src/inline_visualization_tests.rs
expression: snapshot_text
---
• Before
Open chart visualization in the browser
file://<viewer-path>
After

View File

@@ -0,0 +1,30 @@
---
source: tui/src/inline_visualization_tests.rs
expression: "format!(\"before:\\n{unavailable}\\n\\nafter:\\n{available}\")"
---
before:
/ T R A N S C R I P T / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
• Visualization unavailable on this device.
⌃space select
↑/↓ to scroll · pgup/pgdn to page · home/end to jump
q close · f3 find · esc browse prompts
after:
/ T R A N S C R I P T / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
• Open chart visualization in the browser
file://<viewer-path>
• next message
⌃space select
↑/↓ to scroll · pgup/pgdn to page · home/end to jump
q close · f3 find · esc browse prompts

View File

@@ -0,0 +1,34 @@
---
source: tui/src/inline_visualization_tests.rs
expression: "format!(\"{}\\n\\n{controls}\\n\\n{styles}\", fragment.trim())"
---
<nav class="nav nav-pills" role="tablist">
<button class="nav-link btn-sm" role="tab" aria-controls="costs" data-tooltip="Show costs">Costs</button>
</nav>
<section id="costs" role="tabpanel" class="viz-carousel">
<div data-variant="Daily">Day</div><div data-variant="Weekly">Week</div>
</section>
<script id="codex-visualization-tabs">
<script id="codex-visualization-carousel">
<button type="button" class="viz-carousel-previous cursor-interaction">
<details class="viz-carousel-picker">
<button type="button" class="viz-carousel-next cursor-interaction">
.btn-sm {
--btn-size: 24px;
padding-inline: 8px;
font-size: calc(var(--font-size-base) * 12 / 16);
font-size: round(nearest, calc(var(--font-size-base) * 12 / 16), 1px);
line-height: 16px;
}
.nav-pills .nav-link.active {
color: var(--foreground);
background: var(--muted);
}
.viz-carousel > [data-variant][hidden] {
display: none !important;
}
.form-select :is(option, optgroup):disabled {
color: var(--muted-foreground);
}

View File

@@ -0,0 +1,11 @@
---
source: tui/src/inline_visualization_tests.rs
expression: contract
---
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="referrer" content="no-referrer"><meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' 'wasm-unsafe-eval' blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; style-src 'unsafe-inline' blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; img-src blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; font-src blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; media-src blob: data:; worker-src blob:; connect-src blob: data:; frame-src 'self'; object-src 'none'; base-uri 'none'; form-action 'none'"><title>chart</title><style>:root{color-scheme:light dark;background:light-dark(rgb(255 255 255), rgb(24 24 24))}html,body{margin:0}body{box-sizing:border-box;padding:1rem;background:inherit}iframe{display:block;width:100%;max-width:736px;height:calc(100vh - 2rem);margin:0 auto;border:0}</style></head><body><iframe sandbox="allow-scripts" referrerpolicy="no-referrer" title="chart" srcdoc="[canonical visualization frame]"></iframe></body></html>
embedded frame:
- canonical control styles
- Floating UI tooltip runtime
- Lucide icon runtime
- visualization fragment

View File

@@ -0,0 +1,10 @@
---
source: tui/src/insert_history.rs
expression: "rows.join(\"\\n\")"
---
raw-start-aaaaaaaaaa
aaaaaaaaaaaaaa-tail-
must-remain

View File

@@ -0,0 +1,10 @@
---
source: tui/src/insert_history.rs
expression: "rows.join(\"\\n\")"
---
aaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaa
tail-must-remain

View File

@@ -0,0 +1,35 @@
---
source: tui/src/keymap_setup.rs
expression: snapshot
---
unbound:
Set key | Capture a key for this unbound action | enabled
Use leader... | Capture the key that follows the configured leader | enabled
Set key chord | Capture two consecutive keys for this action | enabled
Remove custom binding | Restore the default keymap binding | enabled
Back to shortcuts | Return to the shortcut list | enabled
single:
Replace binding | Capture a replacement key for `ctrl-enter` | enabled
Add alternate binding | Keep `ctrl-enter` and add another key | enabled
Use leader... | Capture the key that follows the configured leader | enabled
Replace with key chord | Replace `ctrl-enter` with a two-stroke key chord | enabled
Add alternate key chord | Keep `ctrl-enter` and add a two-stroke key chord | enabled
Remove custom binding | Restore the default keymap binding | enabled
Back to shortcuts | Return to the shortcut list | enabled
multi:
Replace one binding... | Choose which existing binding to replace | enabled
Replace all bindings | Replace `ctrl-enter, alt-shift-enter` with one key | enabled
Add alternate binding | Keep `ctrl-enter, alt-shift-enter` and add another key | enabled
Use leader... | Capture the key that follows the configured leader | enabled
Replace with key chord | Replace `ctrl-enter, alt-shift-enter` with a two-stroke key chord | enabled
Add alternate key chord | Keep `ctrl-enter, alt-shift-enter` and add a two-stroke key chord | enabled
Remove custom binding | Restore the default keymap binding | enabled
Back to shortcuts | Return to the shortcut list | enabled
replace picker:
ctrl-enter | Replace `ctrl-enter` with another key | enabled
ctrl-enter (key chord) | Replace `ctrl-enter` with a two-stroke key chord | enabled
alt-shift-enter | Replace `alt-shift-enter` with another key | enabled
alt-shift-enter (key chord) | Replace `alt-shift-enter` with a two-stroke key chord | enabled

View File

@@ -0,0 +1,72 @@
---
source: tui/src/keymap_setup.rs
expression: snapshot
---
48 columns:
Edit Shortcut
Open Transcript · Global
Current ctrl-t · Default keymap
Config `tui.keymap.global.open_transcript`
Open the transcript overlay.
› 1. Replace binding
2. Add alternate binding
3. Use leader...
4. Replace with key chord
5. Add alternate key chord
– Remove custom binding (disabled)
6. Back to shortcuts
Changes write the root `tui.keymap.*`
override.
enter select · esc back
64 columns:
Edit Shortcut
Open Transcript · Global
Current ctrl-t · Default keymap
Config `tui.keymap.global.open_transcript`
Open the transcript overlay.
› 1. Replace binding Capture a replacement key
for `ctrl-t`
2. Add alternate binding Keep `ctrl-t` and add
another key
3. Use leader... Capture the key that
follows the configured
leader
4. Replace with key chord Replace `ctrl-t` with a
two-stroke key chord
5. Add alternate key chord Keep `ctrl-t` and add a
two-stroke key chord
– Remove custom binding (disabled) No custom root override
to remove
6. Back to shortcuts Return to the shortcut
list
Changes write the root `tui.keymap.*` override.
enter select · esc back
96 columns:
Edit Shortcut
Open Transcript · Global
Current ctrl-t · Default keymap
Config `tui.keymap.global.open_transcript`
Open the transcript overlay.
› 1. Replace binding Capture a replacement key for `ctrl-t`
2. Add alternate binding Keep `ctrl-t` and add another key
3. Use leader... Capture the key that follows the configured leader
4. Replace with key chord Replace `ctrl-t` with a two-stroke key chord
5. Add alternate key chord Keep `ctrl-t` and add a two-stroke key chord
– Remove custom binding (disabled) No custom root override to remove
6. Back to shortcuts Return to the shortcut list
Changes write the root `tui.keymap.*` override.
enter select · esc back

View File

@@ -0,0 +1,30 @@
---
source: tui/src/keymap_setup.rs
expression: "format!(\"{:?}\", render_capture(&view, 80, 8))"
---
Buffer {
area: Rect { x: 0, y: 0, width: 80, height: 8 },
content: [
" ",
" Remap Shortcut ",
" Action: Submit composer.submit ",
" Current: enter ",
" Press the new key now. Esc cancels. ",
" ",
" ",
" ",
],
styles: [
x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 2, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD,
x: 16, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 2, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 10, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 18, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 33, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 2, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 11, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 2, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 37, y: 4, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
]
}

View File

@@ -0,0 +1,10 @@
---
source: tui/src/keymap_setup.rs
expression: rendered
---
Keypress Inspector
Press any key to see what Codex receives. Esc is inspected; Ctrl+C closes.
Still waiting? If nothing changes when you press a key, your terminal is not sending that key to
Codex. Only received keys can be assigned as shortcuts.
Waiting for a keypress...

View File

@@ -0,0 +1,9 @@
---
source: tui/src/keymap_setup.rs
expression: "render_debug(&view, 80)"
---
Keypress Inspector
Press any key to see what Codex receives. Esc is inspected; Ctrl+C closes.
Tip: Codex can only inspect keys your terminal sends.
Waiting for a keypress...

View File

@@ -0,0 +1,14 @@
---
source: tui/src/keymap_setup.rs
expression: rendered
---
Keypress Inspector
Press any key to see what Codex receives. Esc is inspected; Ctrl+C closes.
Tip: Codex can only inspect keys your terminal sends.
Detected: f8
Config key: f8
Raw event: code=F(8), modifiers=none, kind=Press
Assigned actions:
- chat.toggle_voice (Toggle Voice) - Start or stop a voice conversation. [Default]

View File

@@ -0,0 +1,15 @@
---
source: tui/src/keymap_setup.rs
expression: agents
---
Resume | o | Agents resume Resume Open the session resume picker. o Default
Search | f3, / | Agents search Search Search the available agent tasks. f3, / Default
New Task | n | Agents new_task New Task Open a new session in the selected checkout. n Default
New Worktree | w | Agents new_worktree New Worktree Open a new session in a worktree from the project default branch. w Default
Fork | f | Agents fork Fork Fork the selected conversation and open the new session. f Default
Rename | r | Agents rename Rename Rename the selected task. r Default
Stop | x | Agents stop Stop Stop the selected running task. x Default
Archive | a | Agents archive Archive Archive the selected task and its child agents. a Default
Delete | backspace | Agents delete Delete Permanently delete the selected task and its child agents. backspace Default
Hide | h | Agents hide Hide Hide the selected task until explicitly resumed. h Default
Toggle Grouping | g | Agents toggle_grouping Toggle Grouping Cycle task grouping by project, directory, status, or model. g Default

View File

@@ -0,0 +1,17 @@
---
source: tui/src/keymap_setup.rs
expression: snapshot
---
Focus Main Composer | leader c (ctrl-x c) | Global focus_main_composer Focus Main Composer Focus the main conversation composer. leader c (ctrl-x c) Default
Focus Sidebar Tabs | leader t (ctrl-x t) | Global focus_sidebar_tabs Focus Sidebar Tabs Open the sidebar tab chooser. leader t (ctrl-x t) Default
Focus Sidebar Content | leader s (ctrl-x s) | Global focus_sidebar_content Focus Sidebar Content Focus the side conversation, or hide it when already focused. leader s (ctrl-x s) Default
Hide Pane | leader - (ctrl-x -) | Global hide_pane Hide Pane Hide the focused sidebar pane. leader - (ctrl-x -) Default
Close Sidebar Tab | leader w (ctrl-x w) | Global close_sidebar_tab Close Sidebar Tab Close the active sidebar tab. leader w (ctrl-x w) Default
Sidebar Up | leader shift-tab (ctrl-x shift-tab), leader up (ctrl-x up), leader k (ctrl-x k) | Global sidebar_up Sidebar Up Switch to the previous sidebar tab. leader shift-tab (ctrl-x shift-tab), leader up (ctrl-x up), leader k (ctrl-x k) Default
Sidebar Down | leader tab (ctrl-x tab), leader down (ctrl-x down), leader j (ctrl-x j) | Global sidebar_down Sidebar Down Switch to the next sidebar tab. leader tab (ctrl-x tab), leader down (ctrl-x down), leader j (ctrl-x j) Default
Focus Pane Left | leader left (ctrl-x left), leader h (ctrl-x h) | Global focus_pane_left Focus Pane Left Focus the parent conversation. leader left (ctrl-x left), leader h (ctrl-x h) Default
Focus Pane Right | leader right (ctrl-x right), leader l (ctrl-x l) | Global focus_pane_right Focus Pane Right Focus the open side conversation. leader right (ctrl-x right), leader l (ctrl-x l) Default
Minimize Pane Width | leader , (ctrl-x ,) | Global minimize_pane_width Minimize Pane Width Minimize the focused pane width. leader , (ctrl-x ,) Default
Maximize Pane Width | leader . (ctrl-x .) | Global maximize_pane_width Maximize Pane Width Maximize the focused pane width. leader . (ctrl-x .) Default
Equalize Pane Widths | leader = (ctrl-x =) | Global equalize_pane_widths Equalize Pane Widths Equalize visible pane widths. leader = (ctrl-x =) Default
Resize Panes | leader r (ctrl-x r) | Global resize_panes Resize Panes Enter keyboard resize mode for visible dividers. leader r (ctrl-x r) Default

View File

@@ -0,0 +1,39 @@
---
source: tui/src/keymap_setup.rs
expression: "render_picker(params, 120)"
---
Keymap
All configurable shortcuts.
153 actions, 1 customized, 5 unbound.
All Common Customized (1) Unbound (5) App Composer Editor Vim Navigation Agents Approval ›
Type to search shortcuts
› Global - Open Agents unbound
Global Open Transcript ctrl-t
Global Find Transcript f3
Global Focus Activity f4
Global Open External Editor ctrl-g
Global Copy ctrl-o
Global Clear Terminal ctrl-l
Global - Toggle Vim Mode unbound
Global Toggle Raw Output alt-r
Global Toggle Side Conversation ctrl-/
Global Leader ctrl-x
Chat Interrupt Turn esc
Chat Decrease Reasoning Effort alt-,, shift-down
Chat Increase Reasoning Effort alt-., shift-up
Chat - Previous Permission Mode unbound
Chat - Next Permission Mode unbound
Chat Edit Queued Message shift-left, alt-up
Chat Prompt Stack Back shift-right, alt-down
Chat Skip Question ctrl-]
Chat Toggle Voice f8
Chat Open Presets leader p (ctrl-x p)
Chat Toggle Voice Mute f9
Composer * Submit ctrl-enter
Composer Queue tab
↓
left/right group · enter edit shortcut · * custom · - unbound · esc close

View File

@@ -0,0 +1,39 @@
---
source: tui/src/keymap_setup.rs
expression: "render_picker(params, 120)"
---
Keymap
Inline editor movement and editing shortcuts.
17 actions.
All Common Customized (0) Unbound (5) App Composer Editor Vim Navigation Agents Approval ›
Type to search shortcuts
› Editor Insert Newline ctrl-j, ctrl-m, enter, shift-enter, alt-enter
Editor Move Left left, ctrl-b
Editor Move Right right, ctrl-f
Editor Move Up up, ctrl-p
Editor Move Down down, ctrl-n
Editor Move Word Left alt-b, alt-left, ctrl-left
Editor Move Word Right alt-f, alt-right, ctrl-right
Editor Move Line Start home, ctrl-a, super-left
Editor Move Line End end, ctrl-e, super-right
Editor Delete Backward backspace, shift-backspace, ctrl-h
Editor Delete Forward delete, shift-delete, ctrl-d
Editor Delete Backward Word alt-backspace, ctrl-backspace, ctrl-shift-backspace, ctrl-w, ctrl-alt-h
Editor Delete Forward Word alt-delete, ctrl-delete, ctrl-shift-delete, alt-d
Editor Kill Line Start ctrl-u, super-backspace
Editor - Kill Whole Line unbound
Editor Kill Line End ctrl-k
Editor Yank ctrl-y
left/right group · enter edit shortcut · * custom · - unbound · esc close

Some files were not shown because too many files have changed in this diff Show More