Skip to content

Commit 84215b1

Browse files
authored
feat(plugin): point synapse-coder at canonical staging host (#2)
ENV-NAME-01: use staging.synapse-coder-mcp.alterspective.com.au (custom domain + managed cert now bound on the staging ACA) instead of the raw azurecontainerapps.io host. Plugin URL is now env-overridable via SYNAPSE_CODER_URL with the canonical host as default.
1 parent 0fbe82b commit 84215b1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎.opencode/opencode.jsonc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"mcp": {
1616
"synapse-coder": {
1717
"type": "remote",
18-
"url": "https://synapse-coder-mcp-staging.greenbay-703e5a45.australiaeast.azurecontainerapps.io/mcp",
18+
"url": "https://staging.synapse-coder-mcp.alterspective.com.au/mcp",
1919
"headers": {
2020
"Authorization": "Bearer {env:SYNAPSE_CODER_STAGING_BEARER_TOKEN}",
2121
},

‎.opencode/plugin/synapse-coder-reporter.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ const LANGUAGE_MAP: Record<string, string> = {
2424
}
2525

2626
const EDIT_TOOLS = new Set(["edit", "write", "apply_patch"])
27-
const SYNAPSE_URL = "https://synapse-coder-mcp-staging.greenbay-703e5a45.australiaeast.azurecontainerapps.io/mcp"
27+
const SYNAPSE_URL =
28+
process.env.SYNAPSE_CODER_URL ?? "https://staging.synapse-coder-mcp.alterspective.com.au/mcp"
2829
const QUEUE_PATH = ".opencode/synapse-coder-queue.json"
2930
const PROMPT_MARKER_PATH = ".opencode/synapse-coder-prompted"
3031
const MAX_QUEUE = 100

0 commit comments

Comments
 (0)