@standardagents/code 0.1.0 → 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 +8 -0
- package/dist/index.js +1566 -218
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -77,6 +77,7 @@ runs through `tsx`; published builds are bundled with `tsup`:
|
|
|
77
77
|
```bash
|
|
78
78
|
pnpm install # installs dev dependencies
|
|
79
79
|
pnpm code <dir> # run against a project directory (defaults to cwd)
|
|
80
|
+
pnpm code --endpoint http://localhost:5178 <dir>
|
|
80
81
|
```
|
|
81
82
|
|
|
82
83
|
Installed from npm:
|
|
@@ -86,12 +87,19 @@ npx @standardagents/code@latest <dir>
|
|
|
86
87
|
# or
|
|
87
88
|
npm install -g @standardagents/code
|
|
88
89
|
standardcode <dir>
|
|
90
|
+
standardcode --endpoint https://your-instance.example.com <dir>
|
|
91
|
+
standardcode -e -- <dir> # prompt for the endpoint for this run
|
|
89
92
|
```
|
|
90
93
|
|
|
91
94
|
On first run it asks for your Standard Agents instance URL and an API token (stored in
|
|
92
95
|
`~/.standardagents/credentials`). It then offers to **resume** a session tagged for this
|
|
93
96
|
project + machine, or **start a new one**.
|
|
94
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
|
+
|
|
95
103
|
### Requirements
|
|
96
104
|
|
|
97
105
|
- **Node 22+**
|