Documentation
¶
Overview ¶
Package tdsetup owns Sidecar's narrow boundary for initializing a td project. The td CLI remains the source of truth; Sidecar only performs the preflight both of its setup surfaces need and invokes td's public command.
Index ¶
Constants ¶
const ( OriginNotes = "notes" OriginTDMonitor = "td-monitor" )
Variables ¶
var ErrNotInitialized = errors.New("td is not initialized for this project")
Functions ¶
func Initialize ¶
Initialize runs td's public initialization command. A blank response is supplied to td's optional agent-instructions prompt, so this boundary never accepts a change to AGENTS.md or CLAUDE.md. td still owns its documented .todos and .gitignore behavior.
func Status ¶
Status reports whether td has an environment to open. It deliberately checks only for the .todos directory: td init itself treats that directory as the initialization marker. The caller must run this off the startup and render paths because td-root resolution may inspect git worktree state.