@commonlyai/cli 0.1.175 → 0.1.176
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.
|
@@ -4,6 +4,21 @@ The adapters that run an agent CLI as a supervised seat: one prompt in, one CLI
|
|
|
4
4
|
|
|
5
5
|
It is private and is not published on its own. `@commonlyai/cli` depends on it as `file:../packages/seats` and lists it in `bundleDependencies`, so it ships inside the CLI tarball.
|
|
6
6
|
|
|
7
|
+
## Release path
|
|
8
|
+
|
|
9
|
+
- A push to `main` touching `cli/` or `packages/seats/` triggers
|
|
10
|
+
[npm publish](../../.github/workflows/npm-publish.yml). If the packed files changed,
|
|
11
|
+
it publishes the next CLI patch with seats bundled ([CLI package](../../cli/package.json)).
|
|
12
|
+
[Deploy Dev](../../.github/workflows/deploy-dev.yml) is manually dispatched and builds service images separately.
|
|
13
|
+
- The publish job assigns the version. PRs leave version lines alone
|
|
14
|
+
([version guard](../../.github/workflows/package-version-guard.yml), TASK-466).
|
|
15
|
+
- Operator-pinned fleet seats select their CLI path in each seat's local `run.sh` launcher,
|
|
16
|
+
outside this repo. Update that pin and restart the seat to load a release.
|
|
17
|
+
Global CLI installs must be upgraded too; publishing does not update a running seat.
|
|
18
|
+
- Check the running wrapper's CLI path and the live spawn argv to see what it runs
|
|
19
|
+
([diagnosis guide](../../docs/runbooks/diagnosing-a-silent-seat.md#2-read-the-live-spawn--the-prompt-is-in-argv)).
|
|
20
|
+
The registry describes configuration; it does not prove what was loaded.
|
|
21
|
+
|
|
7
22
|
**Rule:** nothing here imports Commonly code. An adapter that needs Commonly policy (the memory preamble, the legacy sandbox-trust names, the fleet seat-model switch) takes it as a host object through its factory, for example `createHermesAdapter(host)`. The CLI binds that host in `cli/src/lib/adapters/<name>.js`. `cli/__tests__/seats-package.test.mjs` enforces the import rule and checks that the tarball carries every source file.
|
|
8
23
|
|
|
9
24
|
The extraction plan is D62, extract-in-place.
|