feat(connectors): /api/connectors/call — proxy a connector tool call #57

Merged
will.anderson merged 1 commits from feat/connectors-call-route into main 2026-06-28 17:13:11 +00:00
Member

/api/connectors/call — proxy a connector tool call (pre-chat)

Adds /api/connectors/call → connectd /mcp/call, so the app can invoke a connector tool (e.g. WhatsApp get_pairing_qr / get_login_status for the pairing UI) through the soul — keeping app→soul→connectd intact (the UI never hits connectd directly) and working for future remote/hosted clients. This is Option C, chosen as the long-term-correct path (single control plane, general, survives the mobile/hosted future).

1 line of routing. elc-clean.

⚠️ Soul-core: needs dist/soul.c regen with your toolchain to ship — can ride the same rebuild as the vision fix PR #56.

Part of the WhatsApp connector (ship-the-moat #11). Pairs with: neuron-connectd feat/bin-native-connector, neuron-ui feat/whatsapp-connector. Spec: docs/specs/WHATSAPP-CONNECTOR-SPEC.md.

## /api/connectors/call — proxy a connector tool call (pre-chat) Adds `/api/connectors/call` → connectd `/mcp/call`, so the app can invoke a connector tool (e.g. WhatsApp `get_pairing_qr` / `get_login_status` for the pairing UI) **through the soul** — keeping app→soul→connectd intact (the UI never hits connectd directly) and working for future remote/hosted clients. This is Option C, chosen as the long-term-correct path (single control plane, general, survives the mobile/hosted future). **1 line of routing.** elc-clean. **⚠️ Soul-core:** needs `dist/soul.c` regen with your toolchain to ship — **can ride the same rebuild as the vision fix PR #56**. Part of the WhatsApp connector (ship-the-moat #11). Pairs with: `neuron-connectd` `feat/bin-native-connector`, `neuron-ui` `feat/whatsapp-connector`. Spec: `docs/specs/WHATSAPP-CONNECTOR-SPEC.md`.
tim.lingo added 1 commit 2026-06-27 20:16:42 +00:00
Adds /api/connectors/call -> connectd /mcp/call, so the app can invoke a connector tool (e.g. WhatsApp
get_pairing_qr / get_login_status for the pairing UI) through the soul, keeping app->soul->connectd
intact (UI never hits connectd directly) and working for future remote/hosted clients. elc-clean.
NOTE: soul-core change — needs dist/soul.c regen (Will), can ride the same rebuild as PR #56.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
will.anderson merged commit 635daaca9c into main 2026-06-28 17:13:11 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron#57