summaryrefslogtreecommitdiffhomepage
path: root/dispatch.toml
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-05-20 23:37:01 +0900
committerAdam Malczewski <[email protected]>2026-05-20 23:37:01 +0900
commit1f4776e6891348d2dbdcbbf704c0a5901b008ecf (patch)
treed406c2ba412b5393b16a3f9253acea34807d0dda /dispatch.toml
parent29e4c2db4555bb764f458971f0c591c092e30ed6 (diff)
downloaddispatch-1f4776e6891348d2dbdcbbf704c0a5901b008ecf.tar.gz
dispatch-1f4776e6891348d2dbdcbbf704c0a5901b008ecf.zip
feat: Claude Reset scheduler + fix key config and Claude grouping
- Added claude-pro key pointing to default credentials, claude-max pointing to .credentials-2.json (docker path /root/.claude/) - POST /models/wake sends 'hi' to haiku for all Claude accounts - ClaudeReset.svelte: 2 AM rows + 2 PM rows of 6 hour blocks each (12-hour American format). Click blocks to schedule wake at :15 - Key Usage now groups all Claude accounts under one 'Claude' card instead of duplicating under claude-pro and claude-max cards
Diffstat (limited to 'dispatch.toml')
-rw-r--r--dispatch.toml12
1 files changed, 8 insertions, 4 deletions
diff --git a/dispatch.toml b/dispatch.toml
index 407c7c4..6fcf964 100644
--- a/dispatch.toml
+++ b/dispatch.toml
@@ -6,17 +6,21 @@
# When all keys are exhausted the agent enters wait-for-refresh.
# Must be declared BEFORE any [[keys]] / [[models]] blocks.
-fallback = ["claude-max", "opencode-1", "opencode-2", "copilot"]
+fallback = ["claude-pro", "claude-max", "opencode-1", "opencode-2", "copilot"]
# ─── API Keys ───────────────────────────────────────────────────
[[keys]]
+id = "claude-pro"
+provider = "anthropic"
+base_url = "https://api.anthropic.com/v1"
+# Reads from ~/.claude/.credentials.json (default)
+
+[[keys]]
id = "claude-max"
provider = "anthropic"
base_url = "https://api.anthropic.com/v1"
-# No env needed — credentials read from ~/.claude/.credentials.json
-# Optional: specify a specific credentials file for multi-account:
-# credentials_file = "/home/tradam/.claude/.credentials-2.json"
+credentials_file = "/root/.claude/.credentials-2.json"
[[keys]]
id = "opencode-1"