@drisp/cli 0.4.7 → 0.5.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/dist/athena-gateway.js +3 -3
- package/dist/{chunk-WRHKXH5M.js → chunk-BTY7MYYT.js} +2 -2
- package/dist/{chunk-TQKNZNDP.js → chunk-K53YMYTG.js} +21 -2
- package/dist/{chunk-D4W7RB25.js → chunk-MRAM6EYI.js} +2 -2
- package/dist/{chunk-SKWAGQXF.js → chunk-SHLHZL5F.js} +4 -4
- package/dist/cli.js +7 -4
- package/dist/dashboard-daemon.js +2 -2
- package/dist/supervisor.js +3 -3
- package/package.json +1 -1
package/dist/athena-gateway.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
startDaemon
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-SHLHZL5F.js";
|
|
5
|
+
import "./chunk-MRAM6EYI.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveGatewayPaths,
|
|
8
8
|
resolveListenSpec
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BTY7MYYT.js";
|
|
10
10
|
|
|
11
11
|
// src/gateway/entryArgs.ts
|
|
12
12
|
function parseGatewayDaemonArgs(argv) {
|
|
@@ -170,7 +170,7 @@ function isLoopbackHost(host) {
|
|
|
170
170
|
|
|
171
171
|
// src/infra/telemetry/client.ts
|
|
172
172
|
import { PostHog } from "posthog-node";
|
|
173
|
-
var POSTHOG_API_KEY = true ? "
|
|
173
|
+
var POSTHOG_API_KEY = true ? "" : "";
|
|
174
174
|
var POSTHOG_HOST = "https://us.i.posthog.com";
|
|
175
175
|
var client = null;
|
|
176
176
|
var deviceId = null;
|
|
@@ -772,4 +772,4 @@ export {
|
|
|
772
772
|
trackSetupCompleted,
|
|
773
773
|
refreshDashboardAccessToken
|
|
774
774
|
};
|
|
775
|
-
//# sourceMappingURL=chunk-
|
|
775
|
+
//# sourceMappingURL=chunk-BTY7MYYT.js.map
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
traceGatewayFrame,
|
|
28
28
|
trackGatewayTransportReconnect,
|
|
29
29
|
writeGatewayTrace
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BTY7MYYT.js";
|
|
31
31
|
import {
|
|
32
32
|
compileWorkflowPlan,
|
|
33
33
|
createWorkflowRunner,
|
|
@@ -11781,6 +11781,22 @@ async function runExec(options) {
|
|
|
11781
11781
|
return result;
|
|
11782
11782
|
}
|
|
11783
11783
|
|
|
11784
|
+
// src/app/bootstrap/harnessOverride.ts
|
|
11785
|
+
function normalizeHarnessOverride(value) {
|
|
11786
|
+
switch (value) {
|
|
11787
|
+
case "claude":
|
|
11788
|
+
case "claude-code":
|
|
11789
|
+
return "claude-code";
|
|
11790
|
+
case "codex":
|
|
11791
|
+
case "openai-codex":
|
|
11792
|
+
return "openai-codex";
|
|
11793
|
+
case "opencode":
|
|
11794
|
+
return "opencode";
|
|
11795
|
+
default:
|
|
11796
|
+
return void 0;
|
|
11797
|
+
}
|
|
11798
|
+
}
|
|
11799
|
+
|
|
11784
11800
|
// src/app/dashboard/runStreamClient.ts
|
|
11785
11801
|
import { WebSocket as WebSocket2 } from "ws";
|
|
11786
11802
|
var DEFAULT_RECONNECT_DELAYS_MS = [250, 1e3, 2e3, 5e3, 15e3];
|
|
@@ -12085,6 +12101,7 @@ function parseRunSpec(value) {
|
|
|
12085
12101
|
...typeof workflowObj["source"] === "string" ? { source: workflowObj["source"] } : {},
|
|
12086
12102
|
...typeof workflowObj["version"] === "string" ? { version: workflowObj["version"] } : {}
|
|
12087
12103
|
} : void 0,
|
|
12104
|
+
harness: normalizeHarnessOverride(obj["harness"]),
|
|
12088
12105
|
env: typeof env === "object" && env !== null ? Object.fromEntries(
|
|
12089
12106
|
Object.entries(env).filter(
|
|
12090
12107
|
(entry) => typeof entry[1] === "string"
|
|
@@ -12267,6 +12284,7 @@ async function executeRemoteAssignment({
|
|
|
12267
12284
|
projectDir,
|
|
12268
12285
|
showSetup: false,
|
|
12269
12286
|
isolationPreset: "minimal",
|
|
12287
|
+
harnessOverride: spec.harness,
|
|
12270
12288
|
workflowOverride
|
|
12271
12289
|
});
|
|
12272
12290
|
} catch (err) {
|
|
@@ -13236,8 +13254,9 @@ export {
|
|
|
13236
13254
|
bootstrapRuntimeConfig,
|
|
13237
13255
|
EXEC_EXIT_CODE,
|
|
13238
13256
|
runExec,
|
|
13257
|
+
normalizeHarnessOverride,
|
|
13239
13258
|
runDashboardRuntimeDaemon,
|
|
13240
13259
|
startUdsServer,
|
|
13241
13260
|
sendUdsRequest
|
|
13242
13261
|
};
|
|
13243
|
-
//# sourceMappingURL=chunk-
|
|
13262
|
+
//# sourceMappingURL=chunk-K53YMYTG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isLoopbackHost
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BTY7MYYT.js";
|
|
4
4
|
|
|
5
5
|
// src/gateway/auth.ts
|
|
6
6
|
import crypto from "crypto";
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
timingSafeTokenEqual,
|
|
74
74
|
requireTokenForBind
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-MRAM6EYI.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
loadOrCreateToken,
|
|
3
3
|
requireTokenForBind,
|
|
4
4
|
timingSafeTokenEqual
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MRAM6EYI.js";
|
|
6
6
|
import {
|
|
7
7
|
CHANNEL_REQUEST_ID_REGEX,
|
|
8
8
|
createUdsServerTransport,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
trackGatewayTransportConnect,
|
|
19
19
|
trackGatewayTransportDisconnect,
|
|
20
20
|
writeGatewayTrace
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BTY7MYYT.js";
|
|
22
22
|
|
|
23
23
|
// src/gateway/daemon.ts
|
|
24
24
|
import fs4 from "fs";
|
|
@@ -2240,7 +2240,7 @@ var cachedVersion = null;
|
|
|
2240
2240
|
function readVersion() {
|
|
2241
2241
|
if (cachedVersion !== null) return cachedVersion;
|
|
2242
2242
|
try {
|
|
2243
|
-
const injected = "0.
|
|
2243
|
+
const injected = "0.5.0";
|
|
2244
2244
|
if (typeof injected === "string" && injected.length > 0) {
|
|
2245
2245
|
cachedVersion = injected;
|
|
2246
2246
|
return cachedVersion;
|
|
@@ -4121,4 +4121,4 @@ async function startDaemon(opts) {
|
|
|
4121
4121
|
export {
|
|
4122
4122
|
startDaemon
|
|
4123
4123
|
};
|
|
4124
|
-
//# sourceMappingURL=chunk-
|
|
4124
|
+
//# sourceMappingURL=chunk-SHLHZL5F.js.map
|
package/dist/cli.js
CHANGED
|
@@ -45,6 +45,7 @@ import {
|
|
|
45
45
|
lookupCredential,
|
|
46
46
|
makeSkippedProbe,
|
|
47
47
|
messageGlyphs,
|
|
48
|
+
normalizeHarnessOverride,
|
|
48
49
|
probeSkipReason,
|
|
49
50
|
processRegistry,
|
|
50
51
|
progressGlyphs,
|
|
@@ -67,13 +68,13 @@ import {
|
|
|
67
68
|
todoGlyphSet,
|
|
68
69
|
writeGatewayClientConfig,
|
|
69
70
|
wsClientOptionsForEndpoint
|
|
70
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-K53YMYTG.js";
|
|
71
72
|
import {
|
|
72
73
|
generateId as generateId2
|
|
73
74
|
} from "./chunk-BTKQ67RE.js";
|
|
74
75
|
import {
|
|
75
76
|
rotateGatewayToken
|
|
76
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-MRAM6EYI.js";
|
|
77
78
|
import {
|
|
78
79
|
readAttachmentMirror,
|
|
79
80
|
readPidLock,
|
|
@@ -100,7 +101,7 @@ import {
|
|
|
100
101
|
trackTelemetryOptedOut,
|
|
101
102
|
writeDashboardClientConfig,
|
|
102
103
|
writeGatewayTrace
|
|
103
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-BTY7MYYT.js";
|
|
104
105
|
import {
|
|
105
106
|
McpOptionsStep,
|
|
106
107
|
StepSelector,
|
|
@@ -11042,6 +11043,7 @@ function parseRunSpec(value) {
|
|
|
11042
11043
|
sessionId: typeof obj["sessionId"] === "string" && obj["sessionId"].length > 0 ? obj["sessionId"] : void 0,
|
|
11043
11044
|
projectDir: typeof obj["projectDir"] === "string" && obj["projectDir"].length > 0 ? obj["projectDir"] : void 0,
|
|
11044
11045
|
workflow: typeof workflow === "object" && workflow !== null && typeof workflow["ref"] === "string" ? { ref: workflow["ref"] } : void 0,
|
|
11046
|
+
harness: normalizeHarnessOverride(obj["harness"]),
|
|
11045
11047
|
env: typeof env2 === "object" && env2 !== null ? Object.fromEntries(
|
|
11046
11048
|
Object.entries(env2).filter(
|
|
11047
11049
|
(entry) => typeof entry[1] === "string"
|
|
@@ -11153,6 +11155,7 @@ async function executeAssignment(input) {
|
|
|
11153
11155
|
projectDir,
|
|
11154
11156
|
showSetup: false,
|
|
11155
11157
|
isolationPreset: "minimal",
|
|
11158
|
+
harnessOverride: spec.harness,
|
|
11156
11159
|
workflowOverride: workflowNameFromRef(spec.workflow?.ref)
|
|
11157
11160
|
});
|
|
11158
11161
|
} catch (err) {
|
|
@@ -16017,7 +16020,7 @@ var cachedVersion = null;
|
|
|
16017
16020
|
function readPackageVersion() {
|
|
16018
16021
|
if (cachedVersion !== null) return cachedVersion;
|
|
16019
16022
|
try {
|
|
16020
|
-
const injected = "0.
|
|
16023
|
+
const injected = "0.5.0";
|
|
16021
16024
|
if (typeof injected === "string" && injected.length > 0) {
|
|
16022
16025
|
cachedVersion = injected;
|
|
16023
16026
|
return cachedVersion;
|
package/dist/dashboard-daemon.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ensureDaemonStateDir,
|
|
3
3
|
runDashboardRuntimeDaemon,
|
|
4
4
|
startUdsServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-K53YMYTG.js";
|
|
6
6
|
import "./chunk-BTKQ67RE.js";
|
|
7
7
|
import {
|
|
8
8
|
openDaemonLog
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
readDashboardClientConfig,
|
|
15
15
|
refreshDashboardAccessToken
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BTY7MYYT.js";
|
|
17
17
|
import "./chunk-A54HGVML.js";
|
|
18
18
|
|
|
19
19
|
// src/app/entry/dashboardDaemon.ts
|
package/dist/supervisor.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
startDaemon
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-SHLHZL5F.js";
|
|
5
|
+
import "./chunk-MRAM6EYI.js";
|
|
6
6
|
import {
|
|
7
7
|
openDaemonLog
|
|
8
8
|
} from "./chunk-2OJ3GGIP.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
refreshDashboardAccessToken,
|
|
18
18
|
resolveGatewayPaths,
|
|
19
19
|
resolveListenSpec
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BTY7MYYT.js";
|
|
21
21
|
|
|
22
22
|
// src/app/entry/supervisor.tsx
|
|
23
23
|
import { spawn } from "child_process";
|