@standardagents/cli 0.45.7 → 0.45.9
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 +23 -1
- package/dist/index.js +637 -497
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -81,8 +81,19 @@ This command will:
|
|
|
81
81
|
- Clone the created platform-owned Artifact repository into the directory where you ran the command
|
|
82
82
|
- Write `STANDARD_AGENTS_API_KEY`, `PLATFORM_ENDPOINT`, and `STANDARD_AGENTS_API_URL` to `.dev.vars`. It writes no admin password: your local instance signs in with your Standard Agents account
|
|
83
83
|
- Configure a repo-local Git credential helper that mints short-lived Artifacts tokens through the Standard Agents platform
|
|
84
|
+
- Set every Standard Agents Builder package in `package.json` to the latest release, as one exact version, and say which version it used
|
|
84
85
|
- Install dependencies with the detected package manager, start the local dev server in the foreground, and open the local instance
|
|
85
86
|
|
|
87
|
+
The Standard Agents Builder packages (`@standardagents/builder`, `@standardagents/spec`, the client packages, and the provider packages) ship together and depend on each other at one exact version.
|
|
88
|
+
A project names each of them at that same exact version, with no `^` or `~`.
|
|
89
|
+
`init` reads the `latest` release of `@standardagents/builder` from npm and writes it to the cloned `package.json` before the install, so a new checkout starts on the current release whatever the repository committed.
|
|
90
|
+
A committed lockfile that names an older release is updated by the install.
|
|
91
|
+
`@standardagents/sip` has its own version and is not changed.
|
|
92
|
+
A prerelease CLI, run as `@next` or `@dev`, uses its own version instead of `latest`.
|
|
93
|
+
If npm does not answer within 10 seconds, `init` prints one warning, keeps the versions in `package.json`, and continues.
|
|
94
|
+
Commit the changed `package.json` and lockfile.
|
|
95
|
+
To move a project to a newer release later, set every one of these packages to the new version together.
|
|
96
|
+
|
|
86
97
|
The init command stays attached to the dev server. Press Ctrl-C in that terminal to stop it.
|
|
87
98
|
The dev server listens on `127.0.0.1` only, both on this first start and on a later `npm run dev`.
|
|
88
99
|
The success output includes the commands that start it again later.
|
|
@@ -131,7 +142,12 @@ After release automation publishes the CLI and runtime packages, run
|
|
|
131
142
|
against the npm registry without touching GitHub, Stripe, or the production
|
|
132
143
|
platform. It runs `npx @standardagents/cli@latest init` against a fake platform
|
|
133
144
|
API and requires the generated project to install `@standardagents/*` packages
|
|
134
|
-
from npm.
|
|
145
|
+
from npm. The repository it clones commits the previous release, in
|
|
146
|
+
`package.json` and in the lockfile, and the check requires `package.json`,
|
|
147
|
+
the lockfile, and `node_modules` to hold the exact `latest` release afterward.
|
|
148
|
+
It also signs in to the dev server with the project key. Add
|
|
149
|
+
`-- --cli-entry=packages/cli/dist/index.js` to run a built local CLI against
|
|
150
|
+
the real registry before a release.
|
|
135
151
|
All Standard Agents package publishes must go through the approved release
|
|
136
152
|
automation. The release path publishes with public access, repairs package
|
|
137
153
|
visibility if a scoped version already exists, and sets the release dist-tag.
|
|
@@ -257,6 +273,12 @@ agents deploy
|
|
|
257
273
|
the platform build of that commit and reports the result. It does not run a
|
|
258
274
|
local build or upload bundles.
|
|
259
275
|
|
|
276
|
+
This is the only deploy path. The Standard Agents Builder runtime is licensed
|
|
277
|
+
for local development, and for production on Standard Agents hosting only, so
|
|
278
|
+
the `builder()` plugin stops a production build (`vite build`) on your machine.
|
|
279
|
+
Deploying a project to your own Cloudflare account or to any other host is
|
|
280
|
+
outside the license.
|
|
281
|
+
|
|
260
282
|
- `Push accepted` means git stored the commit. It is not a deployment.
|
|
261
283
|
- When the remote branch already has the commit, nothing is pushed. The
|
|
262
284
|
command says that no build was started and reports the existing build.
|