@agentex/agent 0.0.4 → 0.0.5

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -452,7 +452,7 @@ registerProvider(myProvider);
452
452
  - `ensureCommandResolvable(command)` — like `findBinary` but accepts an absolute path too.
453
453
  - `clearBinaryCache()` — invalidate the binary-resolution cache.
454
454
  - `provider.checkQuota?(ctx)` — rate-limit / quota status (when `capabilities.quotaProbing`).
455
- - `provider.listModels?(opts?)` — enumerate models the binary can drive.
455
+ - `provider.listModels?(opts?)` — enumerate models the binary can drive. Currently no built-in provider implements this: none of the Claude / Codex / Gemini CLIs expose a non-interactive model-listing subcommand yet (run `pnpm list-models` to re-probe). Pass the model you want directly via `ExecutionContext.model` or `ProviderConfig.model`.
456
456
 
457
457
  ### Workspace
458
458
  - `prepareWorkspace({ strategy, baseBranch?, branchName?, targetDir? })` → `PreparedWorkspace` with `cwd`, `diff()`, `cleanup()`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentex/agent",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Programmatic execution of AI coding agents (Claude Code, Codex, OpenClaw)",
5
5
  "type": "module",
6
6
  "exports": {
@@ -20,7 +20,8 @@
20
20
  "test:watch": "vitest",
21
21
  "typecheck": "tsc --noEmit",
22
22
  "smoke": "tsx scripts/smoke.ts",
23
- "smoke:mock": "tsx scripts/smoke.ts --mock"
23
+ "smoke:mock": "tsx scripts/smoke.ts --mock",
24
+ "list-models": "tsx scripts/list-models.ts"
24
25
  },
25
26
  "keywords": [
26
27
  "ai",