@tutti-os/nexight-devops 0.5.4 → 0.6.0

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
@@ -39,8 +39,6 @@ nexight-devops datafinder dashboard export --count 100
39
39
  nexight-devops datafinder query shared-agent-summary --count 100
40
40
  nexight-devops datafinder query p2p-health --count 100
41
41
  nexight-devops datafinder query exec ./query.mjs -- arg1 arg2
42
- nexight-devops diagnose shared-agent --room-id <room-id> --at '2026-08-12T12:00:00+08:00'
43
- nexight-devops diagnose shared-agent --room-id <room-id> --at '2026-08-12T12:00:00+08:00' --json
44
42
  nexight-devops ppe-lane deploy
45
43
  nexight-devops ppe-lane destroy
46
44
  nexight-devops ppe-lane status
@@ -64,8 +62,7 @@ nexight-devops release rollback tutti-server
64
62
  - `admin computer logs` resolves an online Computer and bundles recall, polling, and temporary download into one Agent-friendly workflow.
65
63
  - `admin computer log-recall` exposes the lower-level task operations for troubleshooting and recovery.
66
64
  - `datafinder` validates access, reads dashboards/reports, runs trusted local JavaScript queries, and exposes fixed reliability queries.
67
- - `diagnose shared-agent` runs a bounded, read-only CloudWatch playbook that correlates room descriptor results, Owner lease observations, client version, and HTTP failures. It verifies the production AWS account before querying and supports stable `--json` output.
68
- - `ppe-lane deploy` deploys selected backend repositories, including `tutti-server`, and the optional `zk-web/canvas` staging artifact to a PPE lane.
65
+ - `ppe-lane deploy` deploys selected backend repositories to a PPE lane. Supported targets are `tutti-server`, `zk-admin-server`, `account`, and `zk-websocket`.
69
66
  - `ppe-lane destroy` checks existing lane instances and triggers destroy workflows after a lane-name confirmation. `tutti-server` must be selected explicitly for destruction.
70
67
  - `ppe-lane status` queries AWS Cloud Map for one lane, or all lanes with `--all`, including `tutti-server`.
71
68
  - `release prepare`, `release hotfix`, and `release approve` run the controlled release lifecycle through GitHub Actions and approval issues.
@@ -83,6 +80,8 @@ nexight-devops release approve
83
80
  - `release hotfix` starts a controlled hotfix flow and supports an explicit override when release-branch patches have not yet been absorbed by `main`.
84
81
  - `release approve` posts the approval command to the pending release issue and advances the release.
85
82
 
83
+ The controlled release targets are `account`, `zk-admin-server`, and `zk-websocket` in `zk-org-test`.
84
+
86
85
  ## Management Backend
87
86
 
88
87
  `admin auth login` stores the verified token in the CLI config with `0600` permissions. The API origin defaults to `https://tutti.sh`; an `admin.tutti.sh` page URL is normalized automatically. For CI or temporary access, use `NEXIGHT_ADMIN_TOKEN` or `TUTTI_ADMIN_TOKEN`, and optionally `NEXIGHT_ADMIN_URL` or `TUTTI_ADMIN_URL`.
@@ -127,19 +126,6 @@ nexight-devops admin computer log-recall get --computer-id <computer-id> --task-
127
126
  nexight-devops admin computer log-recall download --computer-id <computer-id> --task-id <task-id>
128
127
  ```
129
128
 
130
- ## Shared Agent diagnosis
131
-
132
- ```bash
133
- nexight-devops diagnose shared-agent \
134
- --room-id <room-id> \
135
- --at '2026-08-12T12:00:00+08:00' \
136
- --shared-agent-id <shared-agent-id>
137
- ```
138
-
139
- The default query window is 30 minutes centered on `--at`, capped at the current time. Use `--window-minutes` to change it; the command rejects windows over 24 hours. When an issued descriptor exposes the Owner device, the playbook derives the same pseudonymous reference as `tsh-server` and joins sampled Owner lease evidence without requiring an Owner diagnostics bundle. `--owner-device-id` or `--authority-id` can provide the join key when it is already known.
140
-
141
- The command is read-only. It returns partial results and explicit missing-evidence reasons when a secondary query fails or the Owner identity cannot be derived. Raw log lines are not included in the result.
142
-
143
129
  ## Development
144
130
 
145
131
  - Node.js 20+