@hyperdrive.bot/paseo-cli 0.2.6
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/bin/paseo +3 -0
- package/dist/classify.d.ts +19 -0
- package/dist/classify.js +49 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.js +119 -0
- package/dist/commands/agent/archive.d.ts +18 -0
- package/dist/commands/agent/archive.js +102 -0
- package/dist/commands/agent/attach.d.ts +11 -0
- package/dist/commands/agent/attach.js +159 -0
- package/dist/commands/agent/delete.d.ts +15 -0
- package/dist/commands/agent/delete.js +107 -0
- package/dist/commands/agent/import.d.ts +14 -0
- package/dist/commands/agent/import.js +122 -0
- package/dist/commands/agent/index.d.ts +3 -0
- package/dist/commands/agent/index.js +48 -0
- package/dist/commands/agent/inspect.d.ts +15 -0
- package/dist/commands/agent/inspect.js +209 -0
- package/dist/commands/agent/logs.d.ts +19 -0
- package/dist/commands/agent/logs.js +180 -0
- package/dist/commands/agent/ls.d.ts +44 -0
- package/dist/commands/agent/ls.js +204 -0
- package/dist/commands/agent/mode.d.ts +18 -0
- package/dist/commands/agent/mode.js +100 -0
- package/dist/commands/agent/reload.d.ts +15 -0
- package/dist/commands/agent/reload.js +75 -0
- package/dist/commands/agent/run.d.ts +44 -0
- package/dist/commands/agent/run.js +464 -0
- package/dist/commands/agent/send.d.ts +19 -0
- package/dist/commands/agent/send.js +187 -0
- package/dist/commands/agent/stop.d.ts +17 -0
- package/dist/commands/agent/stop.js +115 -0
- package/dist/commands/agent/update.d.ts +18 -0
- package/dist/commands/agent/update.js +139 -0
- package/dist/commands/agent/wait.d.ts +17 -0
- package/dist/commands/agent/wait.js +158 -0
- package/dist/commands/agent-hook.d.ts +7 -0
- package/dist/commands/agent-hook.js +67 -0
- package/dist/commands/chat/create.d.ts +9 -0
- package/dist/commands/chat/create.js +23 -0
- package/dist/commands/chat/delete.d.ts +6 -0
- package/dist/commands/chat/delete.js +20 -0
- package/dist/commands/chat/index.d.ts +3 -0
- package/dist/commands/chat/index.js +47 -0
- package/dist/commands/chat/inspect.d.ts +6 -0
- package/dist/commands/chat/inspect.js +20 -0
- package/dist/commands/chat/ls.d.ts +6 -0
- package/dist/commands/chat/ls.js +20 -0
- package/dist/commands/chat/post.d.ts +9 -0
- package/dist/commands/chat/post.js +28 -0
- package/dist/commands/chat/read.d.ts +11 -0
- package/dist/commands/chat/read.js +40 -0
- package/dist/commands/chat/schema.d.ts +36 -0
- package/dist/commands/chat/schema.js +81 -0
- package/dist/commands/chat/shared.d.ts +19 -0
- package/dist/commands/chat/shared.js +118 -0
- package/dist/commands/chat/wait.d.ts +9 -0
- package/dist/commands/chat/wait.js +45 -0
- package/dist/commands/daemon/index.d.ts +3 -0
- package/dist/commands/daemon/index.js +57 -0
- package/dist/commands/daemon/local-daemon.d.ts +78 -0
- package/dist/commands/daemon/local-daemon.js +544 -0
- package/dist/commands/daemon/pair.d.ts +9 -0
- package/dist/commands/daemon/pair.js +76 -0
- package/dist/commands/daemon/restart.d.ts +12 -0
- package/dist/commands/daemon/restart.js +99 -0
- package/dist/commands/daemon/runtime-toolchain.d.ts +6 -0
- package/dist/commands/daemon/runtime-toolchain.js +87 -0
- package/dist/commands/daemon/set-password.d.ts +17 -0
- package/dist/commands/daemon/set-password.js +82 -0
- package/dist/commands/daemon/start.d.ts +6 -0
- package/dist/commands/daemon/start.js +56 -0
- package/dist/commands/daemon/status.d.ts +10 -0
- package/dist/commands/daemon/status.js +338 -0
- package/dist/commands/daemon/stop.d.ts +15 -0
- package/dist/commands/daemon/stop.js +60 -0
- package/dist/commands/hooks.d.ts +19 -0
- package/dist/commands/hooks.js +89 -0
- package/dist/commands/loop/index.d.ts +3 -0
- package/dist/commands/loop/index.js +18 -0
- package/dist/commands/loop/inspect.d.ts +13 -0
- package/dist/commands/loop/inspect.js +100 -0
- package/dist/commands/loop/logs.d.ts +8 -0
- package/dist/commands/loop/logs.js +69 -0
- package/dist/commands/loop/ls.d.ts +18 -0
- package/dist/commands/loop/ls.js +62 -0
- package/dist/commands/loop/run.d.ts +30 -0
- package/dist/commands/loop/run.js +162 -0
- package/dist/commands/loop/stop.d.ts +15 -0
- package/dist/commands/loop/stop.js +56 -0
- package/dist/commands/loop/types.d.ts +138 -0
- package/dist/commands/loop/types.js +2 -0
- package/dist/commands/onboard.d.ts +10 -0
- package/dist/commands/onboard.js +416 -0
- package/dist/commands/open.d.ts +2 -0
- package/dist/commands/open.js +84 -0
- package/dist/commands/permit/allow.d.ts +20 -0
- package/dist/commands/permit/allow.js +133 -0
- package/dist/commands/permit/deny.d.ts +12 -0
- package/dist/commands/permit/deny.js +105 -0
- package/dist/commands/permit/index.d.ts +3 -0
- package/dist/commands/permit/index.js +27 -0
- package/dist/commands/permit/ls.d.ts +18 -0
- package/dist/commands/permit/ls.js +66 -0
- package/dist/commands/provider/index.d.ts +3 -0
- package/dist/commands/provider/index.js +16 -0
- package/dist/commands/provider/ls.d.ts +19 -0
- package/dist/commands/provider/ls.js +73 -0
- package/dist/commands/provider/models.d.ts +20 -0
- package/dist/commands/provider/models.js +53 -0
- package/dist/commands/schedule/create.d.ts +18 -0
- package/dist/commands/schedule/create.js +40 -0
- package/dist/commands/schedule/delete.d.ts +10 -0
- package/dist/commands/schedule/delete.js +32 -0
- package/dist/commands/schedule/index.d.ts +3 -0
- package/dist/commands/schedule/index.js +66 -0
- package/dist/commands/schedule/inspect.d.ts +6 -0
- package/dist/commands/schedule/inspect.js +24 -0
- package/dist/commands/schedule/logs.d.ts +6 -0
- package/dist/commands/schedule/logs.js +23 -0
- package/dist/commands/schedule/ls.d.ts +5 -0
- package/dist/commands/schedule/ls.js +23 -0
- package/dist/commands/schedule/pause.d.ts +5 -0
- package/dist/commands/schedule/pause.js +23 -0
- package/dist/commands/schedule/resume.d.ts +5 -0
- package/dist/commands/schedule/resume.js +23 -0
- package/dist/commands/schedule/run-once.d.ts +5 -0
- package/dist/commands/schedule/run-once.js +23 -0
- package/dist/commands/schedule/schema.d.ts +21 -0
- package/dist/commands/schedule/schema.js +67 -0
- package/dist/commands/schedule/shared.d.ts +56 -0
- package/dist/commands/schedule/shared.js +346 -0
- package/dist/commands/schedule/types.d.ts +168 -0
- package/dist/commands/schedule/types.js +2 -0
- package/dist/commands/schedule/update.d.ts +21 -0
- package/dist/commands/schedule/update.js +39 -0
- package/dist/commands/speech/index.d.ts +3 -0
- package/dist/commands/speech/index.js +5 -0
- package/dist/commands/terminal/capture.d.ts +10 -0
- package/dist/commands/terminal/capture.js +68 -0
- package/dist/commands/terminal/create.d.ts +10 -0
- package/dist/commands/terminal/create.js +38 -0
- package/dist/commands/terminal/index.d.ts +3 -0
- package/dist/commands/terminal/index.js +43 -0
- package/dist/commands/terminal/kill.d.ts +6 -0
- package/dist/commands/terminal/kill.js +36 -0
- package/dist/commands/terminal/ls.d.ts +10 -0
- package/dist/commands/terminal/ls.js +21 -0
- package/dist/commands/terminal/schema.d.ts +18 -0
- package/dist/commands/terminal/schema.js +23 -0
- package/dist/commands/terminal/send-keys.d.ts +7 -0
- package/dist/commands/terminal/send-keys.js +76 -0
- package/dist/commands/terminal/shared.d.ts +12 -0
- package/dist/commands/terminal/shared.js +61 -0
- package/dist/commands/workflow/get.d.ts +13 -0
- package/dist/commands/workflow/get.js +75 -0
- package/dist/commands/workflow/index.d.ts +10 -0
- package/dist/commands/workflow/index.js +21 -0
- package/dist/commands/workflow/start.d.ts +26 -0
- package/dist/commands/workflow/start.js +105 -0
- package/dist/commands/workflow/status.d.ts +17 -0
- package/dist/commands/workflow/status.js +57 -0
- package/dist/commands/worktree/archive.d.ts +20 -0
- package/dist/commands/worktree/archive.js +104 -0
- package/dist/commands/worktree/create-input.d.ts +15 -0
- package/dist/commands/worktree/create-input.js +56 -0
- package/dist/commands/worktree/create.d.ts +11 -0
- package/dist/commands/worktree/create.js +58 -0
- package/dist/commands/worktree/index.d.ts +3 -0
- package/dist/commands/worktree/index.js +25 -0
- package/dist/commands/worktree/ls.d.ts +19 -0
- package/dist/commands/worktree/ls.js +97 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +6 -0
- package/dist/output/index.d.ts +45 -0
- package/dist/output/index.js +47 -0
- package/dist/output/json.d.ts +11 -0
- package/dist/output/json.js +37 -0
- package/dist/output/quiet.d.ts +9 -0
- package/dist/output/quiet.js +22 -0
- package/dist/output/render.d.ts +15 -0
- package/dist/output/render.js +83 -0
- package/dist/output/table.d.ts +13 -0
- package/dist/output/table.js +135 -0
- package/dist/output/types.d.ts +73 -0
- package/dist/output/types.js +8 -0
- package/dist/output/with-output.d.ts +41 -0
- package/dist/output/with-output.js +87 -0
- package/dist/output/yaml.d.ts +11 -0
- package/dist/output/yaml.js +38 -0
- package/dist/run.d.ts +14 -0
- package/dist/run.js +33 -0
- package/dist/utils/client-id.d.ts +2 -0
- package/dist/utils/client-id.js +37 -0
- package/dist/utils/client.d.ts +44 -0
- package/dist/utils/client.js +330 -0
- package/dist/utils/command-options.d.ts +6 -0
- package/dist/utils/command-options.js +17 -0
- package/dist/utils/duration.d.ts +7 -0
- package/dist/utils/duration.js +38 -0
- package/dist/utils/errors.d.ts +5 -0
- package/dist/utils/errors.js +10 -0
- package/dist/utils/hook-socket.d.ts +2 -0
- package/dist/utils/hook-socket.js +35 -0
- package/dist/utils/paths.d.ts +12 -0
- package/dist/utils/paths.js +22 -0
- package/dist/utils/provider-model.d.ts +11 -0
- package/dist/utils/provider-model.js +49 -0
- package/dist/utils/timeline.d.ts +11 -0
- package/dist/utils/timeline.js +11 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.js +10 -0
- package/package.json +48 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parse duration string to milliseconds.
|
|
3
|
+
* Supports formats like: 5m, 30s, 1h, 2h30m, 90, etc.
|
|
4
|
+
* If no unit is specified, assumes seconds.
|
|
5
|
+
*/
|
|
6
|
+
export function parseDuration(input) {
|
|
7
|
+
const trimmed = input.trim();
|
|
8
|
+
// If it's just a number, treat as seconds
|
|
9
|
+
if (/^\d+$/.test(trimmed)) {
|
|
10
|
+
return parseInt(trimmed, 10) * 1000;
|
|
11
|
+
}
|
|
12
|
+
// Parse duration with units
|
|
13
|
+
let totalMs = 0;
|
|
14
|
+
const regex = /(\d+)([smh])/g;
|
|
15
|
+
let match;
|
|
16
|
+
let hasMatch = false;
|
|
17
|
+
while ((match = regex.exec(trimmed)) !== null) {
|
|
18
|
+
hasMatch = true;
|
|
19
|
+
const value = parseInt(match[1], 10);
|
|
20
|
+
const unit = match[2];
|
|
21
|
+
switch (unit) {
|
|
22
|
+
case "s":
|
|
23
|
+
totalMs += value * 1000;
|
|
24
|
+
break;
|
|
25
|
+
case "m":
|
|
26
|
+
totalMs += value * 60 * 1000;
|
|
27
|
+
break;
|
|
28
|
+
case "h":
|
|
29
|
+
totalMs += value * 60 * 60 * 1000;
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
if (!hasMatch) {
|
|
34
|
+
throw new Error(`Invalid duration format: ${input}. Use formats like: 5m, 30s, 1h, 2h30m`);
|
|
35
|
+
}
|
|
36
|
+
return totalMs;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=duration.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as net from "node:net";
|
|
2
|
+
export function sendHookEvent(socketPath, payload, timeoutMs) {
|
|
3
|
+
return new Promise((resolve) => {
|
|
4
|
+
const socket = net.createConnection(socketPath);
|
|
5
|
+
let raw = "";
|
|
6
|
+
let settled = false;
|
|
7
|
+
const settle = (value) => {
|
|
8
|
+
if (settled)
|
|
9
|
+
return;
|
|
10
|
+
settled = true;
|
|
11
|
+
socket.destroy();
|
|
12
|
+
resolve(value);
|
|
13
|
+
};
|
|
14
|
+
socket.setTimeout(timeoutMs);
|
|
15
|
+
socket.on("timeout", () => settle(undefined));
|
|
16
|
+
socket.on("error", () => settle(undefined));
|
|
17
|
+
socket.on("connect", () => {
|
|
18
|
+
socket.write(JSON.stringify(payload) + "\n");
|
|
19
|
+
});
|
|
20
|
+
socket.on("data", (chunk) => {
|
|
21
|
+
raw += chunk.toString();
|
|
22
|
+
const line = raw.split("\n")[0];
|
|
23
|
+
if (line) {
|
|
24
|
+
try {
|
|
25
|
+
settle(JSON.parse(line));
|
|
26
|
+
}
|
|
27
|
+
catch {
|
|
28
|
+
settle(undefined);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
socket.on("end", () => settle(undefined));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=hook-socket.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Path utilities for cwd filtering in agent commands.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Check if `candidatePath` is the same directory as `basePath` or a descendant of it.
|
|
6
|
+
*
|
|
7
|
+
* Handles both Unix (/) and Windows (\) path separators, including mixed separators.
|
|
8
|
+
* This is important because agent cwd paths come from the agent's OS (could be Windows)
|
|
9
|
+
* while the CLI filter path comes from the user (could also be Windows or Unix).
|
|
10
|
+
*/
|
|
11
|
+
export declare function isSameOrDescendantPath(basePath: string, candidatePath: string): boolean;
|
|
12
|
+
//# sourceMappingURL=paths.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Path utilities for cwd filtering in agent commands.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Check if `candidatePath` is the same directory as `basePath` or a descendant of it.
|
|
6
|
+
*
|
|
7
|
+
* Handles both Unix (/) and Windows (\) path separators, including mixed separators.
|
|
8
|
+
* This is important because agent cwd paths come from the agent's OS (could be Windows)
|
|
9
|
+
* while the CLI filter path comes from the user (could also be Windows or Unix).
|
|
10
|
+
*/
|
|
11
|
+
export function isSameOrDescendantPath(basePath, candidatePath) {
|
|
12
|
+
// Normalize both paths: replace all backslashes with forward slashes, strip trailing separator
|
|
13
|
+
let normalizedBase = basePath.replace(/\\/g, "/").replace(/\/$/, "");
|
|
14
|
+
let normalizedCandidate = candidatePath.replace(/\\/g, "/").replace(/\/$/, "");
|
|
15
|
+
// Windows paths are case-insensitive — detect by drive letter prefix (e.g. "C:/")
|
|
16
|
+
if (/^[a-zA-Z]:\//.test(normalizedBase) || /^[a-zA-Z]:\//.test(normalizedCandidate)) {
|
|
17
|
+
normalizedBase = normalizedBase.toLowerCase();
|
|
18
|
+
normalizedCandidate = normalizedCandidate.toLowerCase();
|
|
19
|
+
}
|
|
20
|
+
return (normalizedCandidate === normalizedBase || normalizedCandidate.startsWith(normalizedBase + "/"));
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=paths.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface ResolveProviderAndModelOptions {
|
|
2
|
+
provider?: string;
|
|
3
|
+
model?: string;
|
|
4
|
+
defaultProvider?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ResolvedProviderModel {
|
|
7
|
+
provider: string;
|
|
8
|
+
model: string | undefined;
|
|
9
|
+
}
|
|
10
|
+
export declare function resolveProviderAndModel(options: ResolveProviderAndModelOptions): ResolvedProviderModel;
|
|
11
|
+
//# sourceMappingURL=provider-model.d.ts.map
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export function resolveProviderAndModel(options) {
|
|
2
|
+
const providerInput = options.provider?.trim() || options.defaultProvider;
|
|
3
|
+
const modelInput = options.model?.trim();
|
|
4
|
+
if (!providerInput) {
|
|
5
|
+
const error = {
|
|
6
|
+
code: "MISSING_PROVIDER",
|
|
7
|
+
message: "Provider is required",
|
|
8
|
+
details: "Pass --provider <provider> or --provider <provider>/<model>. Use `paseo provider ls` to see providers and `paseo provider models <provider>` to see models.",
|
|
9
|
+
};
|
|
10
|
+
throw error;
|
|
11
|
+
}
|
|
12
|
+
if (options.model !== undefined && !modelInput) {
|
|
13
|
+
const error = {
|
|
14
|
+
code: "INVALID_MODEL",
|
|
15
|
+
message: "--model cannot be empty",
|
|
16
|
+
};
|
|
17
|
+
throw error;
|
|
18
|
+
}
|
|
19
|
+
const slashIndex = providerInput.indexOf("/");
|
|
20
|
+
if (slashIndex === -1) {
|
|
21
|
+
return {
|
|
22
|
+
provider: providerInput,
|
|
23
|
+
model: modelInput,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
const provider = providerInput.slice(0, slashIndex).trim();
|
|
27
|
+
const modelFromProvider = providerInput.slice(slashIndex + 1).trim();
|
|
28
|
+
if (!provider || !modelFromProvider) {
|
|
29
|
+
const error = {
|
|
30
|
+
code: "INVALID_PROVIDER",
|
|
31
|
+
message: "Invalid --provider value",
|
|
32
|
+
details: "Use --provider <provider> or --provider <provider>/<model>",
|
|
33
|
+
};
|
|
34
|
+
throw error;
|
|
35
|
+
}
|
|
36
|
+
if (modelInput && modelInput !== modelFromProvider) {
|
|
37
|
+
const error = {
|
|
38
|
+
code: "CONFLICTING_MODEL_OPTIONS",
|
|
39
|
+
message: "Conflicting model values provided",
|
|
40
|
+
details: `--provider specifies model ${modelFromProvider}, but --model specifies ${modelInput}`,
|
|
41
|
+
};
|
|
42
|
+
throw error;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
provider,
|
|
46
|
+
model: modelInput ?? modelFromProvider,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=provider-model.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DaemonClient } from "@hyperdrive.bot/paseo-client/internal/daemon-client";
|
|
2
|
+
import type { AgentTimelineItem } from "@hyperdrive.bot/paseo-protocol/agent-types";
|
|
3
|
+
export declare const LIVE_HISTORY_FETCH_TIMEOUT_MS = 2000;
|
|
4
|
+
interface FetchProjectedTimelineItemsInput {
|
|
5
|
+
client: DaemonClient;
|
|
6
|
+
agentId: string;
|
|
7
|
+
timeoutMs?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare function fetchProjectedTimelineItems(input: FetchProjectedTimelineItemsInput): Promise<AgentTimelineItem[]>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=timeline.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const LIVE_HISTORY_FETCH_TIMEOUT_MS = 2000;
|
|
2
|
+
export async function fetchProjectedTimelineItems(input) {
|
|
3
|
+
const timeline = await input.client.fetchAgentTimeline(input.agentId, {
|
|
4
|
+
direction: "tail",
|
|
5
|
+
limit: 0,
|
|
6
|
+
projection: "projected",
|
|
7
|
+
timeout: input.timeoutMs,
|
|
8
|
+
});
|
|
9
|
+
return timeline.entries.map((entry) => entry.item);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=timeline.js.map
|
package/dist/version.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
const require = createRequire(import.meta.url);
|
|
3
|
+
export function resolveCliVersion() {
|
|
4
|
+
const packageJson = require("../package.json");
|
|
5
|
+
if (typeof packageJson.version === "string" && packageJson.version.trim().length > 0) {
|
|
6
|
+
return packageJson.version.trim();
|
|
7
|
+
}
|
|
8
|
+
throw new Error("Unable to resolve @hyperdrive.bot/paseo-cli version from package.json.");
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=version.js.map
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hyperdrive.bot/paseo-cli",
|
|
3
|
+
"version": "0.2.6",
|
|
4
|
+
"description": "Paseo CLI - control your AI coding agents from the command line",
|
|
5
|
+
"bin": {
|
|
6
|
+
"paseo": "bin/paseo"
|
|
7
|
+
},
|
|
8
|
+
"files": [
|
|
9
|
+
"bin",
|
|
10
|
+
"dist",
|
|
11
|
+
"!dist/**/*.map"
|
|
12
|
+
],
|
|
13
|
+
"type": "module",
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"clean": "node ../../scripts/clean-package-dist.mjs",
|
|
19
|
+
"build": "tsc -p tsconfig.json --incremental false",
|
|
20
|
+
"build:clean": "npm run clean && npm run build",
|
|
21
|
+
"prepack": "npm run build:clean",
|
|
22
|
+
"typecheck": "tsgo --noEmit",
|
|
23
|
+
"test": "npm run test:local",
|
|
24
|
+
"test:local": "tsx tests/run-all.ts",
|
|
25
|
+
"test:e2e": "npm run test:local",
|
|
26
|
+
"test:e2e:lifecycle": "npx tsx tests/e2e/agent-lifecycle.test.ts"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@clack/prompts": "^1.0.0",
|
|
30
|
+
"@hyperdrive.bot/paseo-client": "0.2.5",
|
|
31
|
+
"@hyperdrive.bot/paseo-protocol": "0.2.5",
|
|
32
|
+
"@hyperdrive.bot/paseo-server": "0.2.6",
|
|
33
|
+
"chalk": "^5.3.0",
|
|
34
|
+
"commander": "^12.0.0",
|
|
35
|
+
"mime-types": "^2.1.35",
|
|
36
|
+
"tree-kill": "^1.2.2",
|
|
37
|
+
"ws": "^8.14.2",
|
|
38
|
+
"yaml": "^2.8.4"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@types/mime-types": "^3.0.1",
|
|
42
|
+
"@types/ws": "^8.5.8",
|
|
43
|
+
"tsx": "^4.6.0",
|
|
44
|
+
"typescript": "^5.2.2",
|
|
45
|
+
"vitest": "^4.1.6",
|
|
46
|
+
"zx": "^8.8.5"
|
|
47
|
+
}
|
|
48
|
+
}
|