feat(runtime): track user-level Pi configuration with the provider key templated
Mirrors ~/.pi/agent/ as the authoritative copy. models.json becomes
models.json.template with ${ZENMUX_API_KEY} substituted; the real value stays
in secrets/zenmux.env, which is untracked and enforced by the pre-commit guard.
Excluded with rationale: auth.json, trust.json, models-store.json, sessions/,
herdr-agent-state.ts (installer-managed, overwritten on reinstall) and the
third-party skills under ~/.agents/skills.
Recorded during migration: the configured fallback model zenmux/x-ai/grok-4.6 is
absent from models.json, so pi falls back to an undeclared custom model id with
no context window, cost table or thinkingLevelMap. Fixing that is a behaviour
change and is deferred rather than folded into this zero-change migration.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"defaultProvider": "zenmux",
|
||||
"defaultModel": "openai/gpt-5.6-luna",
|
||||
"defaultThinkingLevel": "high",
|
||||
"lastChangelogVersion": "0.84.2",
|
||||
"theme": "dark"
|
||||
}
|
||||
Reference in New Issue
Block a user