236c771e4e
- CLI: 'serve' command → 'connect', remove local-only HTTP mode (no WORKFLOW_GATEWAY_SECRET now errors instead of falling back) - CLI: agentToken → clientToken, X-Agent-Token → X-Client-Token - Gateway: AgentSocket DO → ClientSocket, AGENT_SOCKET → CLIENT_SOCKET - Gateway: /api/agents/:agent/* → /api/clients/:client/* - Gateway: agentToken → clientToken in EndpointRecord and register API - Dashboard: all agent references → client throughout UI and API layer - Added Durable Object migration for the class rename
21 lines
494 B
TOML
21 lines
494 B
TOML
name = "workflow-gateway"
|
|
main = "src/index.ts"
|
|
compatibility_date = "2025-04-01"
|
|
|
|
[[kv_namespaces]]
|
|
binding = "ENDPOINTS"
|
|
id = "88b118d1cfab4c049f9c1684848811a3"
|
|
|
|
[durable_objects]
|
|
bindings = [{ name = "CLIENT_SOCKET", class_name = "ClientSocket" }]
|
|
|
|
[[migrations]]
|
|
tag = "add-agent-socket"
|
|
new_sqlite_classes = ["ClientSocket"]
|
|
|
|
[[migrations]]
|
|
tag = "rename-agent-to-client"
|
|
renamed_classes = [{ from = "AgentSocket", to = "ClientSocket" }]
|
|
|
|
# GATEWAY_SECRET is set via `wrangler secret put`
|