Files
oh-my-opencode/src/hooks/start-work/index.ts
T
YeonGyu-Kim c9d30f8be3 feat: add porcelain worktree parser with listWorktrees and parseWorktreeListPorcelain
Introduce git worktree list --porcelain parsing following upstream opencode patterns. Exports listWorktrees() for full worktree enumeration with branch info alongside existing detectWorktreePath().

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-03-12 17:25:10 +09:00

5 lines
285 B
TypeScript

export { HOOK_NAME, createStartWorkHook } from "./start-work-hook"
export { detectWorktreePath, listWorktrees, parseWorktreeListPorcelain } from "./worktree-detector"
export type { ParsedUserRequest } from "./parse-user-request"
export { parseUserRequest } from "./parse-user-request"