@akagilnc/pi-workflow-roles 0.1.3737 → 0.1.3741

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -59,13 +59,11 @@ ak-role config unset-engine judge
59
59
  ak-role config set-host judge grok-build
60
60
  ak-role config unset-host judge
61
61
  ak-role config set-auto-resume-limit 3
62
- ak-role config set-provider-alias xai hermes xai-oauth
63
- ak-role config unset-provider-alias xai hermes
64
62
  ```
65
63
 
66
64
  **Host axis (invocation-insensible after default):** `--host` is a global public option on every callable role and on `resume`. Resolution is invocation `--host` → persistent seat host (`config set-host`) → package default (`pi`). After `config set-host <seat> <name>`, the same command face used with Pi runs that seat on the named host with zero extra flags and zero caller-side changes; bare `resume` follows the same table. All public callable roles and their institutional sub-legs (soul audit, doctor audit, navigator, reviewer evidence children) are host-neutral on the shared in-process institutional session seam.
67
65
 
68
- **Provider host alias (#778):** seat rows keep one provider name; `config set-provider-alias <provider> <host> <alias>` registers an owner map so the same row hands the host the name it recognizes. Unregistered pairs pass the seat provider through unchanged — the package never invents pairs.
66
+ **Host providers (#788):** seat rows keep one provider name. Owner edits `~/.ak-roles/host-providers.json` (`{ "hermes": { "xai": "xai-oauth" } }`); code only reads it. Missing table entries ask the host directory (hermes this ticket): unique match wins, zero or many fail loud. Priority is table > unique > fail — no package discretion. `config show` prints the table as written.
69
67
 
70
68
  For Gate officers (`gatekeeper` / `inspector` / `notary`) resolution is officer pin → province (`gatekeeper`) pin → inherit parent session; an explicit selection that fails is loud and does not fall back. Configuration usage and refusal text are owned by `ak-role config` / `ak-role help config`. The persistent file is machine-wide and shared across CLI builds: seat keys this build does not know are skipped on read (not an error); unknown field-level keys on known seats keep their existing tolerance.
71
69
 
package/README.zh-CN.md CHANGED
@@ -59,13 +59,11 @@ ak-role config unset-engine judge
59
59
  ak-role config set-host judge grok-build
60
60
  ak-role config unset-host judge
61
61
  ak-role config set-auto-resume-limit 3
62
- ak-role config set-provider-alias xai hermes xai-oauth
63
- ak-role config unset-provider-alias xai hermes
64
62
  ```
65
63
 
66
64
  **宿主轴(配置默认 host 后调用无感):** `--host` 为全局公开旗,全部可调用角色与 `resume` 受理。解析序为调用 `--host` → 席位持久 host(`config set-host`)→ 包默认(`pi`)。`config set-host <seat> <name>` 之后,与 Pi 完全相同的命令面即可在该席跑命名宿主——零额外旗、零调用侧改动;裸 `resume` 同序取表。全部 public callable 角色及其机构子腿(审刑审计、太医审计、游奕使、御史台证据子腿)在共享进程内机构子会话接缝上均为宿主中立。
67
65
 
68
- **Provider 宿主别名(#778):** 席位行只写一份 provider 名;`config set-provider-alias <provider> <host> <alias>` 由 owner 在席位表登记映射,使同一行在指定宿主下交出该宿主认得的名。未登记的 (provider, host) 原样透传——包内不内置任何对照。
66
+ **宿主 provider 表(#788):** 席位行只写一份 provider 名。owner 手改 `~/.ak-roles/host-providers.json`(形如 `{ "hermes": { "xai": "xai-oauth" } }`);代码只读。表里没有的问宿主目录(本票 hermes):唯一即用,零个或多个响亮失败。优先级:表 > 唯一 > 失败,代码无裁量。`config show` 原样打印该表。
69
67
 
70
68
  门下省官席解析顺序:官自钉 → 省钉(`gatekeeper`)→ 继承父 session;显式指定失败响亮、不回退。配置用法与拒绝文案以 `ak-role config`/`ak-role help config` 为准。持久配置是全机共享单文件、多 CLI 版本同读:本构建不认识的席位键读时跳过(不报错);已知席位上的未知字段沿用现行容忍。
71
69