Skip to content

Dual Mode

ToddSpect edited this page May 23, 2026 · 6 revisions

Todd of AIDLC logo

Dual Mode

Todd of AIDLC runs in two ways with the same CLI logic:

VS Code Extension (default)

Extension UI  ←IPC→  CLI daemon (--ipc)  ←→  Agents
  • Extension spawns node cli/dist/index.js --ipc
  • JSON frames on stdin/stdout
  • All file I/O and HTTP in the CLI process

Standalone CLI

toddspect chat -a copilot "Explain this repo"
toddspect run -a claude "Refactor utils"
toddspect check getGoat
toddspect init
toddspect setup
toddspect aidlc install

No extension required. Uses the same AgentRouter and config layering.

When to use which

Use case Mode
Daily coding in VS Code Extension
CI/CD, scripts, servers CLI
Debugging agents CLI toddspect chat + stderr logs
Kiro bootstrap / AI-DLC Either (toddspect setup)

Config

Both modes read:

  • .toddspect/config.yaml
  • Environment variables
  • Extension adds VS Code secrets via TODDSPECT_SETTINGS_JSON

See Configuration.

Clone this wiki locally