@agent-journal/cli 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 CHANGED
@@ -71,13 +71,18 @@ the npm package trusted publisher with:
71
71
  Then manually run the `Client Release` workflow. The workflow builds the
72
72
  vendored binaries with `AGENT_JOURNAL_UPDATE_PUBLIC_KEY`, generates the signed
73
73
  service release manifest with `AGENT_JOURNAL_UPDATE_PRIVATE_KEY_PEM`, publishes
74
- the npm package through OIDC, uploads update artifacts, and registers release
75
- metadata with the Agent Journal service.
74
+ the npm package through OIDC, runs an npm tarball smoke test on Linux, macOS,
75
+ and Windows, uploads update artifacts, and registers release metadata with the
76
+ Agent Journal service through `AGENT_JOURNAL_CLIENT_RELEASE_SECRET`.
76
77
 
77
78
  The npm package is only the first-install bootstrap. After CI registers a
78
79
  release, use Admin Release Center to publish it to `dev`, `beta`, or `stable`
79
80
  and control rollout percentage, auto apply, forced update, pause, and rollback.
80
81
 
82
+ Release versions are immutable after publication. If a release registration or
83
+ GitHub Release already exists for the same version, bump
84
+ `packages/agent-journal/package.json` before running the workflow again.
85
+
81
86
  Local commands are for dry-run checks only:
82
87
 
83
88
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-journal/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Agent Journal member CLI",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -29,3 +29,10 @@ if (process.platform === "darwin" && fs.existsSync(launchAgent)) {
29
29
  if (process.platform === "win32") {
30
30
  console.warn("agent-journal: if the background task is already installed, run `agent-journal restart` after this npm update.");
31
31
  }
32
+ if (process.platform === "linux") {
33
+ const systemdUserService = path.join(home, ".config", "systemd", "user", "agent-journal.service");
34
+ if (fs.existsSync(systemdUserService)) {
35
+ console.warn("agent-journal: systemd user service detected.");
36
+ console.warn("agent-journal: run `agent-journal restart` after this npm update, or `systemctl --user restart agent-journal.service`.");
37
+ }
38
+ }
Binary file
Binary file
Binary file
Binary file