Providers
Providers are built-in scan locations for tools that create worktrees in known places. They activate automatically when their directories exist on disk, with no configuration needed.
| Provider | What it scans | Layout |
|---|---|---|
conductor | ~/conductor/workspaces/*/* | Conductor workspaces |
claude-code | <root>/.claude/worktrees/* and <root>/*/.claude/worktrees/* | Claude Code desktop in-repo worktrees, applied under your configured roots |
When you’re inside a repo, its own worktrees are found via git first; providers matter when resolving from anywhere else. One Conductor quirk worth knowing: it leaves a renamed workspace behind as a symlink to the new name. twig follows those and collapses duplicates to the canonical path.
Codex sessions
Section titled “Codex sessions”Codex keeps no local worktree directory, so it has no provider. Its two session kinds are reached another way instead:
- Cloud sessions, like Claude Code web sessions, exist as branches on GitHub — remote branch pickup fetches them.
- Local sessions run in a directory you already have and record it in
their log;
twig codex://threads/<id>reads that to take you there. See Codex local sessions.
Trimming the set
Section titled “Trimming the set”providers = ["conductor"] # disable claude-code scanningproviders = [] # disable all providersUnknown names produce a warning, and twig doctor shows each provider’s
live scan locations.
Adding a provider
Section titled “Adding a provider”A provider is a name plus a function returning scan-parent directories:
one small entry in internal/resolve/providers.go. PRs for new tool
layouts are welcome; see
Contributing openers and providers.