Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
docs(config): name every supported forge and opencode in help text (#4439)
Worktrunk Bot34eb6252dbcd
diff --git a/docs/src/content/docs/config.md b/docs/src/content/docs/config.mdindex 495cfdf8b..731da1878 100644--- a/docs/src/content/docs/config.md+++ b/docs/src/content/docs/config.md@@ -622,7 +622,7 @@ See [`wt config shell`](#wt-config-shell) for setup, activation, and current-she### First-run prompts-On first run without shell integration, Worktrunk offers to install it. On first commit without LLM configuration, it offers to configure a detected tool (`claude`, `codex`). Declining sets `skip-shell-integration-prompt` or `skip-commit-generation-prompt` automatically.+On first run without shell integration, Worktrunk offers to install it. On first commit without LLM configuration, it offers to configure a detected tool (`claude`, `codex`, `opencode`). Declining sets `skip-shell-integration-prompt` or `skip-commit-generation-prompt` automatically.# Other@@ -960,7 +960,7 @@ $ wt config show --full```This tests:-- **CI tool status** — Whether `gh` (GitHub) or `glab` (GitLab) is installed and authenticated+- **CI tool status** — Whether the CLI for the repository's forge (`gh`, `glab`, `tea`, or `az`) is installed and authenticated- **Commit generation** — Whether the LLM command can generate commit messages- **Version check** — Whether a newer version is available on GitHub@@ -1236,7 +1236,7 @@ View or drop worktrunk's regenerable caches in one place. Everything here is reb### What's cached-- **CI status** — GitHub/GitLab CI per branch (30–60s TTL), shown in [`wt list`](/list/#ci-status)+- **CI status** — forge CI per branch (30–60s TTL), shown in [`wt list`](/list/#ci-status)- **Summaries** — LLM-generated branch summaries (`wt list --full`, `wt switch` preview)- **Git commands** — cached merge-tree, ancestry, diff-stat, and `wt switch` preview results- **Hints** — one-time hints already shown in this repodiff --git a/docs/src/content/docs/faq.md b/docs/src/content/docs/faq.mdindex 76bdd8107..1e2bd94a4 100644--- a/docs/src/content/docs/faq.md+++ b/docs/src/content/docs/faq.md@@ -225,7 +225,7 @@ See [What files does Worktrunk create?](#what-files-does-worktrunk-create) for d## What commands does Worktrunk execute?-Worktrunk runs `git` commands internally and optionally runs `gh` (GitHub) or `glab` (GitLab) for CI status. Beyond that, user-defined commands execute in four contexts:+Worktrunk runs `git` commands internally and optionally runs the forge CLI (`gh`, `glab`, `tea`, or `az`) for CI status. Beyond that, user-defined commands execute in four contexts:1. **User hooks** (`~/.config/worktrunk/config.toml`) — Personal automation for all repositories2. **Project hooks** (`.config/wt.toml`) — Repository-specific automationdiff --git a/docs/src/content/docs/list.md b/docs/src/content/docs/list.mdindex e6fed0b6e..802475784 100644--- a/docs/src/content/docs/list.md+++ b/docs/src/content/docs/list.md@@ -22,7 +22,7 @@ The table renders progressively: branch names, paths, and commit hashes appear i## Full mode-`--full` adds the two columns that reach off-machine: [CI status](#ci-status) (GitHub/GitLab pipeline pass/fail, over the network) and [LLM-generated summaries](#llm-summaries) of each branch's changes.+`--full` adds the two columns that reach off-machine: [CI status](#ci-status) (forge pipeline pass/fail, over the network) and [LLM-generated summaries](#llm-summaries) of each branch's changes.## Examplesdiff --git a/plugins/worktrunk/skills/worktrunk/reference/config.md b/plugins/worktrunk/skills/worktrunk/reference/config.mdindex cca507a5e..9bce97aa6 100644--- a/plugins/worktrunk/skills/worktrunk/reference/config.md+++ b/plugins/worktrunk/skills/worktrunk/reference/config.md@@ -614,7 +614,7 @@ See [`wt config shell`](#wt-config-shell) for setup, activation, and current-she### First-run prompts-On first run without shell integration, Worktrunk offers to install it. On first commit without LLM configuration, it offers to configure a detected tool (`claude`, `codex`). Declining sets `skip-shell-integration-prompt` or `skip-commit-generation-prompt` automatically.+On first run without shell integration, Worktrunk offers to install it. On first commit without LLM configuration, it offers to configure a detected tool (`claude`, `codex`, `opencode`). Declining sets `skip-shell-integration-prompt` or `skip-commit-generation-prompt` automatically.# Other@@ -952,7 +952,7 @@ $ wt config show --full```This tests:-- **CI tool status** — Whether `gh` (GitHub) or `glab` (GitLab) is installed and authenticated+- **CI tool status** — Whether the CLI for the repository's forge (`gh`, `glab`, `tea`, or `az`) is installed and authenticated- **Commit generation** — Whether the LLM command can generate commit messages- **Version check** — Whether a newer version is available on GitHub@@ -1228,7 +1228,7 @@ View or drop worktrunk's regenerable caches in one place. Everything here is reb### What's cached-- **CI status** — GitHub/GitLab CI per branch (30–60s TTL), shown in [`wt list`](https://worktrunk.dev/list/#ci-status)+- **CI status** — forge CI per branch (30–60s TTL), shown in [`wt list`](https://worktrunk.dev/list/#ci-status)- **Summaries** — LLM-generated branch summaries (`wt list --full`, `wt switch` preview)- **Git commands** — cached merge-tree, ancestry, diff-stat, and `wt switch` preview results- **Hints** — one-time hints already shown in this repodiff --git a/plugins/worktrunk/skills/worktrunk/reference/faq.md b/plugins/worktrunk/skills/worktrunk/reference/faq.mdindex c4dd0ecbc..e05686d08 100644--- a/plugins/worktrunk/skills/worktrunk/reference/faq.md+++ b/plugins/worktrunk/skills/worktrunk/reference/faq.md@@ -221,7 +221,7 @@ See [What files does Worktrunk create?](#what-files-does-worktrunk-create) for d## What commands does Worktrunk execute?-Worktrunk runs `git` commands internally and optionally runs `gh` (GitHub) or `glab` (GitLab) for CI status. Beyond that, user-defined commands execute in four contexts:+Worktrunk runs `git` commands internally and optionally runs the forge CLI (`gh`, `glab`, `tea`, or `az`) for CI status. Beyond that, user-defined commands execute in four contexts:1. **User hooks** (`~/.config/worktrunk/config.toml`) — Personal automation for all repositories2. **Project hooks** (`.config/wt.toml`) — Repository-specific automationdiff --git a/plugins/worktrunk/skills/worktrunk/reference/list.md b/plugins/worktrunk/skills/worktrunk/reference/list.mdindex 5493106e9..c2e71bd45 100644--- a/plugins/worktrunk/skills/worktrunk/reference/list.md+++ b/plugins/worktrunk/skills/worktrunk/reference/list.md@@ -8,7 +8,7 @@ The table renders progressively: branch names, paths, and commit hashes appear i## Full mode-`--full` adds the two columns that reach off-machine: [CI status](#ci-status) (GitHub/GitLab pipeline pass/fail, over the network) and [LLM-generated summaries](#llm-summaries) of each branch's changes.+`--full` adds the two columns that reach off-machine: [CI status](#ci-status) (forge pipeline pass/fail, over the network) and [LLM-generated summaries](#llm-summaries) of each branch's changes.## Examplesdiff --git a/skills/worktrunk/reference/config.md b/skills/worktrunk/reference/config.mdindex cca507a5e..9bce97aa6 100644--- a/skills/worktrunk/reference/config.md+++ b/skills/worktrunk/reference/config.md@@ -614,7 +614,7 @@ See [`wt config shell`](#wt-config-shell) for setup, activation, and current-she### First-run prompts-On first run without shell integration, Worktrunk offers to install it. On first commit without LLM configuration, it offers to configure a detected tool (`claude`, `codex`). Declining sets `skip-shell-integration-prompt` or `skip-commit-generation-prompt` automatically.+On first run without shell integration, Worktrunk offers to install it. On first commit without LLM configuration, it offers to configure a detected tool (`claude`, `codex`, `opencode`). Declining sets `skip-shell-integration-prompt` or `skip-commit-generation-prompt` automatically.# Other@@ -952,7 +952,7 @@ $ wt config show --full```This tests:-- **CI tool status** — Whether `gh` (GitHub) or `glab` (GitLab) is installed and authenticated+- **CI tool status** — Whether the CLI for the repository's forge (`gh`, `glab`, `tea`, or `az`) is installed and authenticated- **Commit generation** — Whether the LLM command can generate commit messages- **Version check** — Whether a newer version is available on GitHub@@ -1228,7 +1228,7 @@ View or drop worktrunk's regenerable caches in one place. Everything here is reb### What's cached-- **CI status** — GitHub/GitLab CI per branch (30–60s TTL), shown in [`wt list`](https://worktrunk.dev/list/#ci-status)+- **CI status** — forge CI per branch (30–60s TTL), shown in [`wt list`](https://worktrunk.dev/list/#ci-status)- **Summaries** — LLM-generated branch summaries (`wt list --full`, `wt switch` preview)- **Git commands** — cached merge-tree, ancestry, diff-stat, and `wt switch` preview results- **Hints** — one-time hints already shown in this repodiff --git a/skills/worktrunk/reference/faq.md b/skills/worktrunk/reference/faq.mdindex c4dd0ecbc..e05686d08 100644--- a/skills/worktrunk/reference/faq.md+++ b/skills/worktrunk/reference/faq.md@@ -221,7 +221,7 @@ See [What files does Worktrunk create?](#what-files-does-worktrunk-create) for d## What commands does Worktrunk execute?-Worktrunk runs `git` commands internally and optionally runs `gh` (GitHub) or `glab` (GitLab) for CI status. Beyond that, user-defined commands execute in four contexts:+Worktrunk runs `git` commands internally and optionally runs the forge CLI (`gh`, `glab`, `tea`, or `az`) for CI status. Beyond that, user-defined commands execute in four contexts:1. **User hooks** (`~/.config/worktrunk/config.toml`) — Personal automation for all repositories2. **Project hooks** (`.config/wt.toml`) — Repository-specific automationdiff --git a/skills/worktrunk/reference/list.md b/skills/worktrunk/reference/list.mdindex 5493106e9..c2e71bd45 100644--- a/skills/worktrunk/reference/list.md+++ b/skills/worktrunk/reference/list.md@@ -8,7 +8,7 @@ The table renders progressively: branch names, paths, and commit hashes appear i## Full mode-`--full` adds the two columns that reach off-machine: [CI status](#ci-status) (GitHub/GitLab pipeline pass/fail, over the network) and [LLM-generated summaries](#llm-summaries) of each branch's changes.+`--full` adds the two columns that reach off-machine: [CI status](#ci-status) (forge pipeline pass/fail, over the network) and [LLM-generated summaries](#llm-summaries) of each branch's changes.## Examplesdiff --git a/src/cli/config.rs b/src/cli/config.rsindex 09634b451..903d62c5c 100644--- a/src/cli/config.rs+++ b/src/cli/config.rs@@ -700,7 +700,7 @@ $ wt config show --full```This tests:-- **CI tool status** — Whether `gh` (GitHub) or `glab` (GitLab) is installed and authenticated+- **CI tool status** — Whether the CLI for the repository's forge (`gh`, `glab`, `tea`, or `az`) is installed and authenticated- **Commit generation** — Whether the LLM command can generate commit messages- **Version check** — Whether a newer version is available on GitHub"#)]@@ -951,7 +951,7 @@ pub enum StateCommand {- **Previous branch**: Previous branch for `wt switch -`- **Branch markers**: User-defined branch notes- **Vars**: Custom variables per branch-- **CI status**: Cached GitHub/GitLab CI status per branch (30-60s TTL)+- **CI status**: Cached forge CI status per branch (30-60s TTL)- **Summaries**: Cached LLM-generated branch summaries (shown in `wt list --full` and `wt switch` preview)- **Git commands cache**: Cached merge-tree, ancestry, diff-stat, and `wt switch` preview results- **Hints**: One-time hints that have been shown@@ -994,7 +994,7 @@ untouched."#)]## What's cached-- **CI status** — GitHub/GitLab CI per branch (30–60s TTL), shown in [`wt list`](/list/#ci-status)+- **CI status** — forge CI per branch (30–60s TTL), shown in [`wt list`](/list/#ci-status)- **Summaries** — LLM-generated branch summaries (`wt list --full`, `wt switch` preview)- **Git commands** — cached merge-tree, ancestry, diff-stat, and `wt switch` preview results- **Hints** — one-time hints already shown in this repodiff --git a/src/cli/mod.rs b/src/cli/mod.rsindex 96fd3a1f3..8cec21391 100644--- a/src/cli/mod.rs+++ b/src/cli/mod.rs@@ -811,7 +811,7 @@ The table renders progressively: branch names, paths, and commit hashes appear i## Full mode-`--full` adds the two columns that reach off-machine: [CI status](#ci-status) (GitHub/GitLab pipeline pass/fail, over the network) and [LLM-generated summaries](#llm-summaries) of each branch's changes.+`--full` adds the two columns that reach off-machine: [CI status](#ci-status) (forge pipeline pass/fail, over the network) and [LLM-generated summaries](#llm-summaries) of each branch's changes.## Examples@@ -2604,7 +2604,7 @@ See [`wt config shell`](#wt-config-shell) for setup, activation, and current-she### First-run prompts-On first run without shell integration, Worktrunk offers to install it. On first commit without LLM configuration, it offers to configure a detected tool (`claude`, `codex`). Declining sets `skip-shell-integration-prompt` or `skip-commit-generation-prompt` automatically.+On first run without shell integration, Worktrunk offers to install it. On first commit without LLM configuration, it offers to configure a detected tool (`claude`, `codex`, `opencode`). Declining sets `skip-shell-integration-prompt` or `skip-commit-generation-prompt` automatically.# Otherdiff --git a/tests/snapshots/integration__integration_tests__help__help_config_long.snap b/tests/snapshots/integration__integration_tests__help__help_config_long.snapindex 411b71759..812c5b995 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_long.snap@@ -603,7 +603,7 @@ See [2mwt config shell[0m for setup, activation, and current-shell diagnostics[32mFirst-run prompts[0m-On first run without shell integration, Worktrunk offers to install it. On first commit without LLM configuration, it offers to configure a detected tool ([2mclaude[0m, [2mcodex[0m). Declining sets [2mskip-shell-integration-prompt[0m or [2mskip-commit-generation-prompt[0m automatically.+On first run without shell integration, Worktrunk offers to install it. On first commit without LLM configuration, it offers to configure a detected tool ([2mclaude[0m, [2mcodex[0m, [2mopencode[0m). Declining sets [2mskip-shell-integration-prompt[0m or [2mskip-commit-generation-prompt[0m automatically.[32mOTHER[0mdiff --git a/tests/snapshots/integration__integration_tests__help__help_config_show.snap b/tests/snapshots/integration__integration_tests__help__help_config_show.snapindex ea7063b41..a0a5c975a 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_show.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_show.snap@@ -88,7 +88,7 @@ Use [2m--full[0m to run diagnostic checks:[107m [0m [2m[0m[2m[34mwt[0m[2m config show [0m[2m[36m--full[0mThis tests:-- [1mCI tool status[0m — Whether [2mgh[0m (GitHub) or [2mglab[0m (GitLab) is installed and authenticated+- [1mCI tool status[0m — Whether the CLI for the repository's forge ([2mgh[0m, [2mglab[0m, [2mtea[0m, or [2maz[0m) is installed and authenticated- [1mCommit generation[0m — Whether the LLM command can generate commit messages- [1mVersion check[0m — Whether a newer version is available on GitHubdiff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_cache.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_cache.snapindex d648e8e5b..ae0f619d1 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_state_cache.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_cache.snap@@ -80,7 +80,7 @@ View or drop worktrunk's regenerable caches in one place. Everything here is reb[1m[32mWhat's cached[0m-- [1mCI status[0m — GitHub/GitLab CI per branch (30–60s TTL), shown in [2mwt list[0m+- [1mCI status[0m — forge CI per branch (30–60s TTL), shown in [2mwt list[0m- [1mSummaries[0m — LLM-generated branch summaries ([2mwt list --full[0m, [2mwt switch[0m preview)- [1mGit commands[0m — cached merge-tree, ancestry, diff-stat, and [2mwt switch[0m preview results- [1mHints[0m — one-time hints already shown in this repodiff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_get.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_get.snapindex f9e9f4623..905c6df64 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_state_get.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_get.snap@@ -80,7 +80,7 @@ Shows all stored state including:- [1mPrevious branch[0m: Previous branch for [2mwt switch -[0m- [1mBranch markers[0m: User-defined branch notes- [1mVars[0m: Custom variables per branch-- [1mCI status[0m: Cached GitHub/GitLab CI status per branch (30-60s TTL)+- [1mCI status[0m: Cached forge CI status per branch (30-60s TTL)- [1mSummaries[0m: Cached LLM-generated branch summaries (shown in [2mwt list --full[0m and [2mwt switch[0m preview)- [1mGit commands cache[0m: Cached merge-tree, ancestry, diff-stat, and [2mwt switch[0m preview results- [1mHints[0m: One-time hints that have been showndiff --git a/tests/snapshots/integration__integration_tests__help__help_list_long.snap b/tests/snapshots/integration__integration_tests__help__help_list_long.snapindex 83b5eb550..e0e099920 100644--- a/tests/snapshots/integration__integration_tests__help__help_list_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_list_long.snap@@ -96,7 +96,7 @@ The table renders progressively: branch names, paths, and commit hashes appear i[1m[32mFull mode[0m-[2m--full[0m adds the two columns that reach off-machine: CI status (GitHub/GitLab pipeline pass/fail, over the network) and LLM-generated summaries of each branch's changes.+[2m--full[0m adds the two columns that reach off-machine: CI status (forge pipeline pass/fail, over the network) and LLM-generated summaries of each branch's changes.[1m[32mExamples[0mdiff --git a/tests/snapshots/integration__integration_tests__help__help_list_narrow_80.snap b/tests/snapshots/integration__integration_tests__help__help_list_narrow_80.snapindex e3fe2fa4b..4ab7ec7ee 100644--- a/tests/snapshots/integration__integration_tests__help__help_list_narrow_80.snap+++ b/tests/snapshots/integration__integration_tests__help__help_list_narrow_80.snap@@ -105,9 +105,9 @@ git operations complete.[1m[32mFull mode[0m-[2m--full[0m adds the two columns that reach off-machine: CI status (GitHub/GitLab-pipeline pass/fail, over the network) and LLM-generated summaries of each-branch's changes.+[2m--full[0m adds the two columns that reach off-machine: CI status (forge pipeline+pass/fail, over the network) and LLM-generated summaries of each branch's+changes.[1m[32mExamples[0m