@drisp/cli 0.6.6 → 0.6.7
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 +27 -18
- package/dist/{WorkflowInstallWizard-R76OV74M.js → WorkflowInstallWizard-TQ4SF5KB.js} +3 -3
- package/dist/{chunk-QGAGV2OI.js → chunk-7SNGX25Q.js} +19938 -13851
- package/dist/{chunk-7FYAABQ4.js → chunk-CIPO2P2Q.js} +9 -2
- package/dist/chunk-G3PMV62Z.js +36 -0
- package/dist/chunk-PNVYS2JZ.js +16 -0
- package/dist/{chunk-USK5VSQ7.js → chunk-PQIB66SG.js} +1 -1
- package/dist/cli.js +605 -1643
- package/dist/dashboard-daemon.js +5 -10
- package/dist/hook-forwarder.js +2 -2
- package/dist/runner.js +5 -10
- package/package.json +6 -9
- package/dist/chunk-5V5YDSKZ.js +0 -49
- package/dist/chunk-PZ5AY32C.js +0 -10
package/dist/dashboard-daemon.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-7FYAABQ4.js";
|
|
7
|
-
import "./chunk-PZ5AY32C.js";
|
|
8
|
-
export {
|
|
9
|
-
runRunnerDaemonEntry
|
|
10
|
-
};
|
|
1
|
+
import "./chunk-PNVYS2JZ.js";
|
|
2
|
+
import "./chunk-7SNGX25Q.js";
|
|
3
|
+
import "./chunk-PQIB66SG.js";
|
|
4
|
+
import "./chunk-CIPO2P2Q.js";
|
|
5
|
+
import "./chunk-G3PMV62Z.js";
|
|
11
6
|
//# sourceMappingURL=dashboard-daemon.js.map
|
package/dist/hook-forwarder.js
CHANGED
|
@@ -3,8 +3,8 @@ import "./chunk-HXBCZAP7.js";
|
|
|
3
3
|
import {
|
|
4
4
|
ATHENA_HOOK_SOCKET_ENV,
|
|
5
5
|
generateId
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-PQIB66SG.js";
|
|
7
|
+
import "./chunk-G3PMV62Z.js";
|
|
8
8
|
|
|
9
9
|
// src/harnesses/claude/hook-forwarder.ts
|
|
10
10
|
import * as net from "net";
|
package/dist/runner.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-7FYAABQ4.js";
|
|
7
|
-
import "./chunk-PZ5AY32C.js";
|
|
8
|
-
export {
|
|
9
|
-
runRunnerDaemonEntry
|
|
10
|
-
};
|
|
1
|
+
import "./chunk-PNVYS2JZ.js";
|
|
2
|
+
import "./chunk-7SNGX25Q.js";
|
|
3
|
+
import "./chunk-PQIB66SG.js";
|
|
4
|
+
import "./chunk-CIPO2P2Q.js";
|
|
5
|
+
import "./chunk-G3PMV62Z.js";
|
|
11
6
|
//# sourceMappingURL=runner.js.map
|
package/package.json
CHANGED
|
@@ -17,29 +17,27 @@
|
|
|
17
17
|
"hooks",
|
|
18
18
|
"dashboard"
|
|
19
19
|
],
|
|
20
|
-
"version": "0.6.
|
|
20
|
+
"version": "0.6.7",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"bin": {
|
|
23
23
|
"athena": "dist/cli.js",
|
|
24
24
|
"athena-flow": "dist/cli.js",
|
|
25
25
|
"drisp": "dist/cli.js",
|
|
26
26
|
"athena-hook-forwarder": "dist/hook-forwarder.js",
|
|
27
|
+
"drisp-hook-forwarder": "dist/hook-forwarder.js",
|
|
27
28
|
"drisp-runner": "dist/runner.js",
|
|
28
29
|
"drisp-dashboard-daemon": "dist/dashboard-daemon.js"
|
|
29
30
|
},
|
|
30
31
|
"type": "module",
|
|
31
32
|
"engines": {
|
|
32
|
-
"node": ">=
|
|
33
|
+
"node": ">=22"
|
|
33
34
|
},
|
|
34
35
|
"publishConfig": {
|
|
35
36
|
"access": "public"
|
|
36
37
|
},
|
|
37
|
-
"workspaces": [
|
|
38
|
-
"packages/*"
|
|
39
|
-
],
|
|
40
38
|
"scripts": {
|
|
41
39
|
"build": "tsup",
|
|
42
|
-
"typecheck": "tsc --noEmit && npm run typecheck
|
|
40
|
+
"typecheck": "tsc --noEmit && npm run typecheck:tests",
|
|
43
41
|
"typecheck:tests": "tsc --noEmit -p tsconfig.tests.json",
|
|
44
42
|
"dev": "tsup --watch",
|
|
45
43
|
"start": "tsup && node dist/cli.js",
|
|
@@ -59,10 +57,9 @@
|
|
|
59
57
|
"lint:dead": "knip --strict --exclude dependencies,unlisted,binaries",
|
|
60
58
|
"lint": "npm run lint:format && npm run lint:eslint",
|
|
61
59
|
"format": "prettier --write .",
|
|
62
|
-
"prepare": "simple-git-hooks",
|
|
63
60
|
"prepublishOnly": "npm run lint && npm run typecheck && npm run lint:dead && npm test && npm run build",
|
|
64
|
-
"build:protocol": "npm run build -w
|
|
65
|
-
"schema:generate": "npm run schema:generate -w
|
|
61
|
+
"build:protocol": "npm run build -w @drisp/protocol",
|
|
62
|
+
"schema:generate": "npm run schema:generate -w @drisp/protocol",
|
|
66
63
|
"smoke:package": "npm run build:protocol && node scripts/package-smoke.mjs"
|
|
67
64
|
},
|
|
68
65
|
"files": [
|
package/dist/chunk-5V5YDSKZ.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
startRunnerProcess,
|
|
3
|
-
waitForShutdownSignal
|
|
4
|
-
} from "./chunk-QGAGV2OI.js";
|
|
5
|
-
|
|
6
|
-
// src/app/entry/runnerDaemon.ts
|
|
7
|
-
import path from "path";
|
|
8
|
-
import { fileURLToPath } from "url";
|
|
9
|
-
async function runRunnerDaemonEntry() {
|
|
10
|
-
if (startedViaDeprecatedEntry()) {
|
|
11
|
-
process.stderr.write(
|
|
12
|
-
'drisp runner: started through the deprecated drisp-dashboard-daemon entry (removed in 0.7.0); run "drisp runner install" to refresh the service unit.\n'
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
let runner;
|
|
16
|
-
try {
|
|
17
|
-
runner = await startRunnerProcess();
|
|
18
|
-
} catch (err) {
|
|
19
|
-
process.stderr.write(
|
|
20
|
-
`drisp runner: ${err instanceof Error ? err.message : String(err)}
|
|
21
|
-
`
|
|
22
|
-
);
|
|
23
|
-
return 1;
|
|
24
|
-
}
|
|
25
|
-
const reason = await waitForShutdownSignal();
|
|
26
|
-
await runner.stop(reason);
|
|
27
|
-
return 0;
|
|
28
|
-
}
|
|
29
|
-
function startedViaDeprecatedEntry() {
|
|
30
|
-
try {
|
|
31
|
-
return path.basename(fileURLToPath(import.meta.url)).startsWith("dashboard-daemon");
|
|
32
|
-
} catch {
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
if (process.argv.includes("--help")) {
|
|
37
|
-
process.stdout.write(
|
|
38
|
-
'Usage: drisp-runner\n\nStarts the paired runner service. Use "drisp runner" to pair, install, inspect, or stop it.\n'
|
|
39
|
-
);
|
|
40
|
-
} else {
|
|
41
|
-
void runRunnerDaemonEntry().then((code) => {
|
|
42
|
-
process.exit(code);
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export {
|
|
47
|
-
runRunnerDaemonEntry
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=chunk-5V5YDSKZ.js.map
|
package/dist/chunk-PZ5AY32C.js
DELETED