Skip to content

Add opencode, llm, and aichat to example config - #1533

Merged
max-sixty merged 1 commit into
mainfrom
other-tools-config
Mar 15, 2026
Merged

max-sixty merged 1 commit into
mainfrom
other-tools-config

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Follow-up to #1531. These three tools were only documented in llm-commits.md — adding them as double-commented entries in the config example makes them discoverable via wt config create and keeps all tool commands in one place, verified by the existing sync test.

This was written by Claude Code on behalf of @max-sixty

These tools were only documented in llm-commits.md. Adding them as
double-commented entries in the config example makes them discoverable
via `wt config create` and keeps all tool commands in one source of
truth, verified by the sync test.

Co-Authored-By: Claude <[email protected]>

@worktrunk-bot worktrunk-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — straightforward docs-only change. The commands match what's already in llm-commits.md, all four synced locations are updated (example config, cli.rs, config.md, skill reference), and snapshots are refreshed.

@max-sixty
max-sixty merged commit 7512d86 into main Mar 15, 2026
21 checks passed
@max-sixty
max-sixty deleted the other-tools-config branch March 15, 2026 00:41
worktrunk-bot added a commit that referenced this pull request Mar 15, 2026
In run 23099698899 (PR #1533 review), the bot received `review-pr 1533`
as its prompt but only loaded `running-in-ci` — it never invoked the
`review-pr` skill. This meant no structured review workflow, and
critically, no CI monitoring after approval. This happened in 1 of 4
review runs in this hour's window.

The root cause is that workflow prompts use bare skill names
(`review-pr {0}`) instead of the documented slash-command format
(`/review-pr {0}`). The model sometimes doesn't recognize bare names
as skill invocations.

Prefix all skill invocations with `/` to match the documented pattern
that Claude Code recognizes as explicit skill triggers.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
max-sixty added a commit that referenced this pull request Apr 6, 2026
…config) (#1807)

This PR adds OpenCode integration: activity tracking markers in `wt
list`, plugin installation via CLI, `wt config show` diagnostics, and
LLM commit generation detection.

Continues the work started in #1295 and #1533 which added OpenCode to
the docs and example config.

## What's included

- **Activity tracking plugin** (`dev/opencode-plugin.ts`): maps
`session.status`/`session.idle`/`session.deleted` to branch markers,
same pattern as Claude Code's plugin
- **`wt config plugins opencode install/uninstall`**: installs the
plugin to `~/.config/opencode/plugins/worktrunk.ts` — source embedded
via `include_str!()`, no npm needed. Sits under `wt config plugins`
alongside Claude Code's `wt config plugins claude`.
- **`wt config show` OPENCODE section**: shows plugin install status
with actionable hints (only when `opencode` is on PATH)
- **`LlmTool::OpenCode` variant**: detected via PATH for commit
generation auto-config

## Docs approach

Kept deliberately low-profile — no dedicated docs page, no README
mention. OpenCode is discoverable via `wt config show` and a mention in
tips-patterns. If it becomes popular, docs prominence can increase.

> _This was written by Claude Code on behalf of @max-sixty_

---------

Co-authored-by: Maximilian Roos <[email protected]>
Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants