@coreplane/switchboard 1.232.0 → 1.234.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/.env.example +2 -0
- package/dist/assets/config/config.example.yaml +14 -12
- package/dist/assets/deploy/cloudflare-resident/worker.ts +200 -214
- package/dist/assets/package-lock.json +3 -3
- package/dist/assets/package.json +1 -1
- package/dist/assets/source.json +3 -3
- package/dist/assets/src/agents/registry.ts +13 -7
- package/dist/assets/src/core/provider.ts +9 -6
- package/dist/assets/src/core/runEvents.ts +18 -0
- package/dist/assets/src/execution/residentCleanliness.ts +45 -5
- package/dist/assets/src/execution/residentRebind.ts +92 -77
- package/dist/assets/src/execution/residentReuse.ts +7 -18
- package/dist/assets/src/execution/residentSteps.ts +0 -1
- package/dist/assets/web/dist/.vite/manifest.json +67 -28
- package/dist/assets/web/dist/assets/{ResidentDetailPage-V4K35SYX.js → ResidentDetailPage-C_WNBUao.js} +1 -1
- package/dist/assets/web/dist/assets/{ResidentsIndexPage-3HuYaDwD.js → ResidentsIndexPage-D1sTyaZ_.js} +1 -1
- package/dist/assets/web/dist/assets/RunFoldRow-C_bcTSjA.js +5 -0
- package/dist/assets/web/dist/assets/RunRoutePage-BWTi_6PG.js +10 -0
- package/dist/assets/web/dist/assets/RunsIndexPage-H6GkSv0a.js +1 -0
- package/dist/assets/web/dist/assets/{ScheduledPage-dfrjQ5E9.js → ScheduledPage-BLcPzm1S.js} +1 -1
- package/dist/assets/web/dist/assets/{StatusDot-DexKtvUC.js → StatusDot-Ct6AtHhS.js} +1 -1
- package/dist/assets/web/dist/assets/{Tooltip-DGQ2gu9M.js → Tooltip-qol5Boof.js} +1 -1
- package/dist/assets/web/dist/assets/UnitRoutePage-CIhTEwN7.js +1 -0
- package/dist/assets/web/dist/assets/{dist-boTdDLF4.js → dist-DwtJj-ou.js} +1 -1
- package/dist/assets/web/dist/assets/favicon-BQsePYv5.js +1 -0
- package/dist/assets/web/dist/assets/indexRow-Bnj883ii.js +1 -0
- package/dist/assets/web/dist/assets/{main-BHhLVMQh.js → main-CRtlGxRm.js} +2 -2
- package/dist/assets/web/dist/assets/main-Dm11o0hc.css +1 -0
- package/dist/cli.js +1170 -571
- package/package.json +1 -1
- package/dist/assets/web/dist/assets/RunRoutePage-Dr867-Ha.js +0 -13
- package/dist/assets/web/dist/assets/RunsIndexPage-D_lpXsr8.js +0 -1
- package/dist/assets/web/dist/assets/favicon-CWPcvWvp.js +0 -1
- package/dist/assets/web/dist/assets/main-CAVqMbiX.css +0 -1
package/dist/assets/.env.example
CHANGED
|
@@ -5,6 +5,8 @@ SLACK_APP_TOKEN=xapp-...
|
|
|
5
5
|
# Providers (referenced by apiKeyEnv in config.yaml)
|
|
6
6
|
ANTHROPIC_API_KEY=sk-ant-...
|
|
7
7
|
OPENAI_API_KEY=sk-...
|
|
8
|
+
# OpenRouter (optional): the key behind the example's `openrouter` provider block; `init --openrouter-key` fills it.
|
|
9
|
+
# OPENROUTER_API_KEY=sk-or-...
|
|
8
10
|
|
|
9
11
|
# Sandboxed execution (execution.type: e2b in config.yaml)
|
|
10
12
|
E2B_API_KEY=e2b_...
|
|
@@ -20,18 +20,20 @@ providers:
|
|
|
20
20
|
# type: openai-compatible
|
|
21
21
|
# baseUrl: https://api.groq.com/openai/v1
|
|
22
22
|
# apiKeyEnv: GROQ_API_KEY
|
|
23
|
-
# OpenRouter: one key, many vendors' models
|
|
24
|
-
# vendor, so
|
|
25
|
-
#
|
|
26
|
-
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
#
|
|
33
|
-
|
|
34
|
-
|
|
23
|
+
# OpenRouter: one key, many vendors' models, on the same compatible adapter.
|
|
24
|
+
# Its model ids already carry the vendor, so any preset's model may be
|
|
25
|
+
# openrouter/<vendor>/<model> — e.g. openrouter/anthropic/claude-sonnet-4:
|
|
26
|
+
# the first slash names this block, the rest is the model id passed through.
|
|
27
|
+
# OPENROUTER_API_KEY is read at the first model call, never at load, so
|
|
28
|
+
# without it every other block runs as today and only a run on this one
|
|
29
|
+
# fails, by that name. Effort tiers, documents and prompt caching ride the
|
|
30
|
+
# compatible adapter as far as it carries them: pi applies its OpenRouter
|
|
31
|
+
# rules (prompt-cache markers included); a document becomes a text note.
|
|
32
|
+
# `switchboard init` keeps this block only with --openrouter-key.
|
|
33
|
+
openrouter:
|
|
34
|
+
type: openai-compatible
|
|
35
|
+
baseUrl: https://openrouter.ai/api/v1
|
|
36
|
+
apiKeyEnv: OPENROUTER_API_KEY
|
|
35
37
|
# local:
|
|
36
38
|
# type: openai-compatible
|
|
37
39
|
# baseUrl: http://localhost:11434/v1 # Ollama
|