Skip to content

Fake Provider

The Fake provider is a deterministic, in-process test harness that implements the full Sidemesh provider contract. It is used for contract testing, CI, and reproducing specific UI states without a real agent.

Run with the environment variable:

Terminal window
SIDEMESH_PROVIDER=fake npm run daemon

Or select it during setup with the --dev flag:

Terminal window
npm run setup -- --dev

Type these keywords into the chat to trigger specific behaviors:

KeywordBehavior
toolsCommand output, terminal input, file change, turn diff, and web search
approval:commandPending command approval
approval:filePending file-change approval
approval:permissionsPending permissions approval
imageImage generation activity
slowDelayed streaming
failFailed turn completion

Set SIDEMESH_FAKE_CAPABILITY_PROFILE to narrow advertised capabilities:

ProfileCapabilities
fullEverything
chat-onlyNo tools, no files
no-filesNo filesystem
no-model-controlsNo model/profile/skill lists
no-approvalsNo approval gating
minimalBare minimum
  • Automated UI tests in CI
  • Screenshot generation for marketing
  • Reproducing bug reports with exact steps
  • Dogfooding non-Codex behavior before a real adapter exists