From ghostty-split
Opens the other side of /branch and /fork in a Ghostty split: the original on the left after /branch, the background session on the right after /fork.
2 events · 5 calls
Ships in ghostty-split. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
process.runenv.getEach event it registers a hook on, with the matcher when it sets one
session.appendcommand.run{command=branch}Every mods API method its source calls, by namespace
getrunidroottoastTERMTERM_PROGRAMWhere Claude Code finds the mod
hooks/hooks.jsonhooks/fork.ts (written ./fork.ts)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub jongwony/cc-plugin --plugin ghostty-split