Skip to main content
在 Manus 中运行任何 Skill
一键导入
$pwd:

tokenkey-anthropic-oauth-config

// TokenKey Anthropic 配置写入流水线(snapshot → check → plan → apply → verify)。 **三条写入面**,都由同一个脚本 ops/anthropic/manage-anthropic-config.py 编排,且都 "JSON 派生 SQL、无静态模板、operator 不写 SQL": (A) edge anthropic OAuth account 的 tier baseline(concurrency / base_rpm / sticky_buffer / max_sessions 等 account 字段)—— 来源 anthropic-oauth-stability-baselines-tiered.json;同一事务把 users.id=1 的 concurrency 更新为该 edge 库内 schedulable=true 的 anthropic 账号 concurrency 之和。 (B) prod anthropic api-key 镜像 stub(base_url=api-*.tokenkey.dev 形状)的 credentials.pool_mode + pool_mode_retry_count —— 来源 anthropic-stub-pool-baselines.json。 (C) prod stub concurrency 镜像(plan-concurrency-mirror):把 edge users.id=1 与 对应 prod stub.concurrency 与 prod users.id=1 都对齐为「Σ schedulable=true anthropic concurrency」的四跳级联——值从 live 派生,不引入新 baseline JSON;stub↔edge 链接按 edge-targets.json 的 domain 字段稳定匹配,不推断。 group.rpm_limit 不由本流水线写——admin UI 直接独立设置。

$ git log --oneline --stat
stars:2
forks:0
updated:2026年5月23日 13:40
SKILL.md
readonly