Commit graph

2 commits

Author SHA1 Message Date
Parfii-bot
7281e7ecea fix(registries+router): MEDIUM/LOW audit batch
closes MEDIUM/LOW from feat/agent-dna-three-layer audit:

- models.toml: cache_write_1h_per_mtok_micro added to all 11 entries
  (Anthropic: 200M/600M/1000M micro = $2/$6/$10 per MTok per pricing page;
   other providers: 0 placeholder)
- main.rs (kei-model-router): WAL pragma + busy_timeout errors now logged
  to stderr instead of silently dropped (previously .ok() swallowed both)
- models.toml: Haiku id pin TODO documented (router still hardcodes alias)
2026-05-14 00:04:18 +08:00
Parfii-bot
3aef8678c0 feat: three-layer agent registries (providers/models/profiles)
Splits agent definition into stable provider + swappable model + role-bound
profile. Adding a new LLM API is one row in providers.toml; new model is
one row in models.toml; agent invocation picks any (provider, model) pair
through agent-profiles.toml default_model_ref.

- providers.toml: 10 providers — anthropic, openai, codex (OAuth), xai,
  deepseek, google, ollama-local, mlx-local, lmstudio-local, litellm-proxy
- models.toml: 11 models with cost_*_per_mtok_micro + context_window +
  verified_at + deprecated_at
- agent-profiles.toml: 18 representative profiles; manifest_path points
  to the canonical .md in ~/.claude/agents/

Three-layer DNA per the new architecture:
  agent-shell::<provider>:<model>:<caps>::<scope8>::<body8>-<nonce8>

This commit only adds registries — kei-model-router still hardcodes
the Claude-only Model enum. Wave 4 will rewire it to read TOML.
2026-05-13 20:51:04 +08:00