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,12 @@
|
||||
---
|
||||
description: 创建 Google Calendar 日历事项(Pi Memo)
|
||||
argument-hint: "<日期、时间和事项>"
|
||||
---
|
||||
|
||||
这是 Pi Memo Inbox 的 `/calendar` 快捷入口,等价于“日历事项”。
|
||||
|
||||
仅在当前会话加载了 `pi-memo-inbox` skill 时执行;否则说明该命令只适用于 Pi Memo Topic,不要采取任何操作。
|
||||
|
||||
请把下面的用户内容作为 `calendar`,并严格遵循 `pi-memo-inbox` skill 的时间确认和 Google Calendar 创建规则:
|
||||
|
||||
${ARGUMENTS}
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
description: 记录到今天的 Journal(Pi Memo)
|
||||
argument-hint: "<内容>"
|
||||
---
|
||||
|
||||
这是 Pi Memo Inbox 的 `/memo` 快捷入口,等价于“记一下”。
|
||||
|
||||
仅在当前会话加载了 `pi-memo-inbox` skill 时执行;否则说明该命令只适用于 Pi Memo Topic,不要采取任何操作。
|
||||
|
||||
请把下面的用户内容按 `record` 或 `idea` 分类,并严格遵循 `pi-memo-inbox` skill 的上下文补全、确认、写入和同步规则:
|
||||
|
||||
${ARGUMENTS}
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
description: 添加到今天的 Journal 待办(Pi Memo)
|
||||
argument-hint: "<待办内容>"
|
||||
---
|
||||
|
||||
这是 Pi Memo Inbox 的 `/todo` 快捷入口,等价于“待办事项”。
|
||||
|
||||
仅在当前会话加载了 `pi-memo-inbox` skill 时执行;否则说明该命令只适用于 Pi Memo Topic,不要采取任何操作。
|
||||
|
||||
请把下面的用户内容作为 `todo`,并严格遵循 `pi-memo-inbox` skill 的上下文补全、确认、写入和同步规则:
|
||||
|
||||
${ARGUMENTS}
|
||||
Reference in New Issue
Block a user