@standardagents/cli 0.13.1 → 0.14.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
@@ -1,6 +1,6 @@
1
1
  # @standardagents/cli
2
2
 
3
- CLI tool for Standard Agents initialization.
3
+ CLI tool for Standard Agents setup and model discovery.
4
4
 
5
5
  ## Installation
6
6
 
@@ -21,6 +21,10 @@ This command will:
21
21
  - Add the required Durable Object bindings (`AGENT_BUILDER_THREAD`, `AGENT_BUILDER`)
22
22
  - Configure Durable Object migrations
23
23
 
24
+ For new projects, `agents init` also normalizes the scaffolded Vite,
25
+ TypeScript, Cloudflare Vite plugin, Wrangler version, and Cloudflare
26
+ compatibility date to the set tested with the current Standard Agents release.
27
+
24
28
  If no wrangler config is found, it will provide an example configuration.
25
29
 
26
30
  #### Options
@@ -35,6 +39,54 @@ pnpm exec agents scaffold
35
39
 
36
40
  Creates the `agents/` directory structure with documentation files.
37
41
 
42
+ ### Install The AgentBuilder Skill
43
+
44
+ ```bash
45
+ npx @standardagents/cli skill
46
+ ```
47
+
48
+ Opens an interactive picker and installs the bundled `agentbuilder` guidance
49
+ into a supported coding agent. Right now that means:
50
+
51
+ - Codex: installs a skill folder into `$CODEX_HOME/skills` or `~/.codex/skills`
52
+ - Claude Code: installs a user subagent into `~/.claude/agents/agentbuilder.md`
53
+
54
+ Use `--force` to overwrite an existing installed copy:
55
+
56
+ ```bash
57
+ npx @standardagents/cli skill --force
58
+ ```
59
+
60
+ Skip the picker with an explicit target:
61
+
62
+ ```bash
63
+ npx @standardagents/cli skill --agent codex
64
+ npx @standardagents/cli skill --agent claude
65
+ ```
66
+
67
+ ### Read The Curated Current Models Guide
68
+
69
+ ```bash
70
+ pnpm exec agents current-models
71
+ ```
72
+
73
+ This fetches the live markdown guide from the Standard Agents spec site and
74
+ prints it to stdout.
75
+
76
+ ### List Available Models From A Configured Provider
77
+
78
+ ```bash
79
+ pnpm exec agents available-models --provider=cerebras
80
+ ```
81
+
82
+ The CLI reads your current project's installed provider packages plus the env
83
+ keys in `.env`, `.env.local`, `.dev.vars`, `.dev.vars.local`, and `process.env`.
84
+ If multiple providers are configured, specify one with `--provider`.
85
+
86
+ The command walks every provider page until it has the full model list, then
87
+ prints a markdown table containing the exact `model` strings to use in
88
+ `defineModel({ model: ... })`.
89
+
38
90
  ## Manual Configuration
39
91
 
40
92
  If you prefer to configure manually, add the following to your `wrangler.jsonc`:
@@ -15,7 +15,10 @@ export default defineConfig({
15
15
  },
16
16
  },
17
17
  server: {
18
+ host: '0.0.0.0',
18
19
  port: 5174,
20
+ strictPort: true,
21
+ allowedHosts: true,
19
22
  },
20
23
  build: {
21
24
  outDir: '../dist/vite',