Connector Integration
MonoSurf is a CLI binary. connector.json defines how CLI binaries are invoked. They connect naturally.The Pattern
Intent Field
connector.json v2.1 addsintent to StepDefinition:
intent: "read"— safe, AI can execute freely within grantintent: "write"— mutates state, cjson runner prompts for confirmation
Pipeline Example
A connector.json can define a full discover → dive → engage pipeline:Same Pattern, Every Tool
connector.json doesn’t know or care that MonoSurf uses Chrome CDP internally. It sees a CLI binary with arguments and output. The same connector.json format works for:
One format. Any tool. The transport is the tool’s problem, not the orchestrator’s.
Running via cjson
- Loads connector.json
- Resolves
{variables}from CLI arguments - Executes binary with args
- Matches output against rules
- Suggests next actions
- Gates write operations with approval prompts