@drisp/cli 0.6.8 → 0.6.10
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 +2 -1
- package/dist/{WorkflowInstallWizard-TQ4SF5KB.js → WorkflowInstallWizard-NZFBSBLY.js} +2 -2
- package/dist/chunk-BTHLAJV7.js +21883 -0
- package/dist/{chunk-MP5EWDIQ.js → chunk-LRMKGH2R.js} +2 -2
- package/dist/{chunk-HN3WNQVY.js → chunk-YUVMVYUF.js} +23174 -39331
- package/dist/cli.js +1442 -75
- package/dist/dashboard-daemon.js +3 -3
- package/dist/runner.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-CIPO2P2Q.js +0 -4016
package/README.md
CHANGED
|
@@ -215,6 +215,7 @@ Connect a machine from **Settings → Runners** in the web console. It shows a o
|
|
|
215
215
|
drisp runner connect K7QF-M2PX --hub https://hub.example.com # join the Team and start the Runner as a background service
|
|
216
216
|
drisp runner connect --hub https://hub.example.com # or print a code to approve in the web console
|
|
217
217
|
drisp runner status # the saved identity, without its credential, and the service's state
|
|
218
|
+
drisp runner restart # refresh the service definition and restart it, e.g. after npm install -g @drisp/cli@latest
|
|
218
219
|
drisp runner disconnect [<team>] # leave a Team: stop its Runs there and delete that Team's credential
|
|
219
220
|
drisp runner recover <run-id> confirmed-stopped # record a failed outcome after an uncertain crash
|
|
220
221
|
```
|
|
@@ -225,7 +226,7 @@ A machine is one Runner per Team. Connect writes that Team's Runner identity and
|
|
|
225
226
|
|
|
226
227
|
Any member of the Team can connect their own machine. It joins as a **Personal** Runner named after its hostname, which runs only its owner's Runs; a Team admin approving a printed code may make it a **Team** Runner instead.
|
|
227
228
|
|
|
228
|
-
Connect then installs and starts a user-level service, so the Runner keeps running when the terminal closes and starts again at login: a LaunchAgent `com.drisp.runner.<installationId>` on macOS (log in `~/Library/Logs/drisp/runner-<installationId>.log`), a systemd user unit `drisp-runner-<installationId>.service` on Linux (log in `journalctl --user -u drisp-runner-<installationId>`). `drisp runner status` prints the service's name. The service runs this drisp installation with the saved identity and the `PATH` you connected from, so it finds the same harnesses; there is no unit file to write. Each installation (a `DRISP_RUNNER_CONFIG` identity file is a separate one) gets its own service, so connecting one never stops another. On a Linux server, `loginctl enable-linger` keeps it running while you are logged out. Running Connect again where the identity file already exists is refused before the code is spent, and leaves the service as it is. So if the service cannot be installed or started, Connect exits with an error but keeps the identity: run `drisp runner` to run the Runner in the foreground. On macOS, a LaunchAgent that was installed but would not start still starts at your next login.
|
|
229
|
+
Connect then installs and starts a user-level service, so the Runner keeps running when the terminal closes and starts again at login: a LaunchAgent `com.drisp.runner.<installationId>` on macOS (log in `~/Library/Logs/drisp/runner-<installationId>.log`), a systemd user unit `drisp-runner-<installationId>.service` on Linux (log in `journalctl --user -u drisp-runner-<installationId>`). `drisp runner status` prints the service's name. `drisp runner restart` rewrites the service definition for the CLI installed now (a new Node version or global prefix) and restarts it (on Linux it also turns start-at-login back on, with `systemctl --user enable`); it never installs a service, and like any Runner restart it fails a Run in progress ([ADR-0021](docs/adr/0021-runner-boot-closes-orphaned-runs.md)), so run it when no Run is executing. The service runs this drisp installation with the saved identity and the `PATH` you connected from, so it finds the same harnesses; there is no unit file to write. Each installation (a `DRISP_RUNNER_CONFIG` identity file is a separate one) gets its own service, so connecting one never stops another. On a Linux server, `loginctl enable-linger` keeps it running while you are logged out. Running Connect again where the identity file already exists is refused before the code is spent, and leaves the service as it is. So if the service cannot be installed or started, Connect exits with an error but keeps the identity: run `drisp runner` to run the Runner in the foreground. On macOS, a LaunchAgent that was installed but would not start still starts at your next login.
|
|
229
230
|
|
|
230
231
|
In a container or CI, or on a platform without launchd or systemd (where Connect says so and does this anyway), keep the Runner in the foreground instead:
|
|
231
232
|
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
installWorkflowPlugins,
|
|
9
9
|
resolveWorkflow,
|
|
10
10
|
writeGlobalConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YUVMVYUF.js";
|
|
12
12
|
import "./chunk-G3PMV62Z.js";
|
|
13
13
|
|
|
14
14
|
// src/setup/steps/WorkflowInstallWizard.tsx
|
|
@@ -93,4 +93,4 @@ function WorkflowInstallWizard({ source, onDone }) {
|
|
|
93
93
|
export {
|
|
94
94
|
WorkflowInstallWizard as default
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=WorkflowInstallWizard-
|
|
96
|
+
//# sourceMappingURL=WorkflowInstallWizard-NZFBSBLY.js.map
|