2 Commits

Author SHA1 Message Date
Zexin Yuan
603fbca129 worktrunk: fix skills path after installAgentSkills migration
nixpkgs#558216 switched the worktrunk package to the installAgentSkills
hook, moving the bundled skills from $out/skills/ to
$out/share/skills/worktrunk/.

Assisted-by: Claude-Code:GLM-5.3
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2026-09-30 13:15:22 -05:00
Zexin Yuan
937d0571b0 worktrunk: add shell and Claude Code integrations
Build on the existing programs.worktrunk module:

- add bash/zsh/fish/nushell shell integrations, enabled by default via
  the corresponding home.shell.enable<SHELL>Integration options,
- add an opt-in programs.worktrunk.claudeCodeIntegration, which wires
  worktrunk into programs.claude-code: a statusLine, WorktreeCreate/
  WorktreeRemove hooks (so agent isolation routes through wt), activity
  state-marker hooks (🤖/💬 in wt list), and skills. Of the skills,
  /wt-switch-create is on by default while /worktrunk is off by default,
  since settings already manages the config it would help edit.

Both integrations need the wt binary, so they are inert when package is
set to null.

Follow-up to #9226, recreating the integration part of #9788.

Assisted-by: Claude-Code:GLM-5.3
2026-09-12 23:01:51 -05:00