agent-shim 8.14.1 → 8.16.0

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
@@ -112,9 +112,9 @@ agent-shim pool use <name> [--json]
112
112
  agent-shim pool pick <name> [--json]
113
113
 
114
114
  agent-shim provider add <name> --display-name <name> (--base-url <url> | --kind codex) (--credential <source>)... [--credential-target <bearer|apiKey>] [--env KEY=VALUE]... [--json]
115
- [--codex-default-model <model>] [--codex-model <tier=model>]... [--codex-effort <none|low|medium|high>]
115
+ [--codex-default-model <model>] [--codex-model <tier=model>]... [--codex-effort <none|low|medium|high>] [--codex-login <codex-cli|chatgpt-sign-in>]
116
116
  agent-shim provider set <name> [--display-name <name>] ([--base-url <url>] | --kind codex) [--credential <source>]... [--credential-target <bearer|apiKey>] [--env KEY=VALUE]... [--unset-env KEY]... [--json]
117
- [--codex-default-model <model>] [--codex-model <tier=model>]... [--codex-effort <none|low|medium|high>]
117
+ [--codex-default-model <model>] [--codex-model <tier=model>]... [--codex-effort <none|low|medium|high>] [--codex-login <codex-cli|chatgpt-sign-in>]
118
118
  agent-shim provider list [--json]
119
119
  agent-shim provider show <name> [--json]
120
120
  agent-shim provider remove <name> [--yes] [--json]
@@ -130,6 +130,8 @@ agent-shim check [path] [--identity <identity>] [--json] [--strict]
130
130
  agent-shim doctor [--json]
131
131
  agent-shim headroom status [--json]
132
132
  agent-shim codex status [--json]
133
+ agent-shim codex login [--no-open] [--json] # Sign in with ChatGPT, for providers with `codex.login: chatgpt-sign-in`
134
+ agent-shim codex logout [--json]
133
135
  agent-shim frontdoor status [--json]
134
136
  agent-shim frontdoor rc list [--json]
135
137
  agent-shim frontdoor rc status [<cse_id>] [--json]
@@ -176,7 +178,7 @@ src/
176
178
  identityStore.ts, configProfilesStore.ts, providersStore.ts, directoryRulesStore.ts, poolStore.ts # their data layers, free of command-line dependencies and exported by the library
177
179
  program.ts, completion.ts # buildProgram (the whole command tree, side-effect free) and generated shell completion
178
180
  configure.ts, check.ts, doctor.ts, claudeShim.ts # interactive picker, the check and doctor commands, `claude` shim
179
- checkReport.ts, doctorReport.ts, poolPickReport.ts # the dry-run inspector, the whole-tree audit and the pool ranking as data, free of command-line dependencies and exported by the library
181
+ checkReport.ts, checkReportSchema.ts, doctorReport.ts, poolPickReport.ts # the dry-run inspector, the Zod schema of its JSON form, the whole-tree audit and the pool ranking as data, free of command-line dependencies and exported by the library
180
182
  resolve/ # the pure cascade resolver: flatten, decide, extends, walk, plan, reconcile
181
183
  config/ # Zod schemas, cosmiconfig loading, category classification, atomic JSON store
182
184
  index.ts # the library surface (see below): resolver, farm sync, headroom routing, the ambient-credential guard