Lightweight HTTP API to run or resume coding agents (Codex + Claude) on a workspace machine and persist normalized transcripts to InstantDB. Provider adapters live in `src/providers/`; persistence uses `@repo/agent-trajectory-persist`.
npm install @dubdubdublabs/agent-syncLightweight HTTP API to run or resume coding agents (Codex + Claude) on a workspace machine and persist normalized transcripts to InstantDB. Provider adapters live in src/providers/; persistence uses @repo/agent-trajectory-persist.
bun run build (bundles to dist/bundle/server.js).bun run dev:serverbun run --bun dist/bundle/server.js (or via the bin agent-sync).GET /healthPOST /runs – start a run. Body matches RunRequestSchema (provider, prompt?, model?, reasoningEffort?, etc.).POST /runs/:id/resume – resume a trajectory.POST /runs/:id/stop – stop a specific trajectory.GET /runs/:id – status snapshot.@repo/agent-trajectory-core/api-schema (Zod). The server, TRPC, and frontend share these for validation and options.xhigh only on gpt-5.1-codex-max; Claude reasoning only on Opus).POST /runs/:id/stop; the server aborts the specific run and marks it stopped. No DB polling.agent-sync-api (default port 43117, path /operator/agent-sync).@openai/codex-sdk; Claude via @anthropic-ai/claude-agent-sdk.bun run build produces dist/bundle/server.js.@dubdubdublabs/agent-sync (public).