@standardagents/code 0.0.2-dev.b3cdaaf → 0.1.1

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
@@ -71,19 +71,35 @@ we're letting new folks in every week.
71
71
 
72
72
  ## Quick start
73
73
 
74
- Standard Code is a zero-dependency CLI (Node built-ins only) run through `tsx`:
74
+ Standard Code is a zero-dependency CLI (Node built-ins only). For local development it
75
+ runs through `tsx`; published builds are bundled with `tsup`:
75
76
 
76
77
  ```bash
77
- pnpm install # installs tsx + typescript
78
+ pnpm install # installs dev dependencies
78
79
  pnpm code <dir> # run against a project directory (defaults to cwd)
80
+ pnpm code --endpoint http://localhost:5178 <dir>
81
+ ```
82
+
83
+ Installed from npm:
84
+
85
+ ```bash
86
+ npx @standardagents/code@latest <dir>
79
87
  # or
80
- node bin/standardcode.mjs <dir>
88
+ npm install -g @standardagents/code
89
+ standardcode <dir>
90
+ standardcode --endpoint https://your-instance.example.com <dir>
91
+ standardcode -e -- <dir> # prompt for the endpoint for this run
81
92
  ```
82
93
 
83
94
  On first run it asks for your Standard Agents instance URL and an API token (stored in
84
95
  `~/.standardagents/credentials`). It then offers to **resume** a session tagged for this
85
96
  project + machine, or **start a new one**.
86
97
 
98
+ Use `--endpoint [url]` or `-e [url]` to point a single CLI run at a different Standard Agents
99
+ instance. If you omit the URL, the CLI prompts for it. Tokens are still remembered per endpoint,
100
+ but this override does not change the saved default endpoint. Run without `--endpoint` to use the
101
+ default endpoint or be prompted for one.
102
+
87
103
  ### Requirements
88
104
 
89
105
  - **Node 22+**