238a94f7a6
- wrangler.toml: keep first migration as AgentSocket (already applied), second migration handles the rename - index.ts: pathAfterAgent → pathAfterClient
21 lines
493 B
TOML
21 lines
493 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 = ["AgentSocket"]
|
|
|
|
[[migrations]]
|
|
tag = "rename-agent-to-client"
|
|
renamed_classes = [{ from = "AgentSocket", to = "ClientSocket" }]
|
|
|
|
# GATEWAY_SECRET is set via `wrangler secret put`
|