@liy/agent-runner 0.3.2 → 0.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liy/agent-runner",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "private": false,
5
5
  "description": "Sprite-local Task Agent runner for Mote remote task execution.",
6
6
  "license": "UNLICENSED",
@@ -42,17 +42,6 @@
42
42
  "engines": {
43
43
  "node": ">=24.0.0"
44
44
  },
45
- "dependencies": {},
46
- "peerDependencies": {
47
- "@earendil-works/pi-coding-agent": "0.74.0"
48
- },
49
- "devDependencies": {
50
- "@earendil-works/pi-coding-agent": "0.74.0",
51
- "@types/node": "^24.5.2",
52
- "typescript": "^5.9.3",
53
- "vitest": "^3.2.4",
54
- "@liy/mote-core": "0.1.3"
55
- },
56
45
  "scripts": {
57
46
  "agent-runner": "node ./dist/bin/agent-runner.js",
58
47
  "start": "node ./dist/bin/agent-runner.js",
@@ -62,5 +51,16 @@
62
51
  "test": "pnpm --dir ../mote-core build && pnpm test:local",
63
52
  "typecheck:local": "tsc --noEmit -p tsconfig.json",
64
53
  "typecheck": "pnpm --dir ../mote-core build && pnpm typecheck:local"
54
+ },
55
+ "dependencies": {},
56
+ "peerDependencies": {
57
+ "@earendil-works/pi-coding-agent": "0.74.0"
58
+ },
59
+ "devDependencies": {
60
+ "@earendil-works/pi-coding-agent": "0.74.0",
61
+ "@liy/mote-core": "workspace:*",
62
+ "@types/node": "^24.5.2",
63
+ "typescript": "^5.9.3",
64
+ "vitest": "^3.2.4"
65
65
  }
66
- }
66
+ }
@@ -1,54 +0,0 @@
1
- /**
2
- * One bounded Pi RPC trace record written to a task-local debug JSONL file.
3
- *
4
- * @public
5
- */
6
- export interface PiRpcTraceEvent {
7
- /**
8
- * Stable trace event name, such as `prompt.sent` or `stdout.event`.
9
- */
10
- kind: string;
11
- /**
12
- * Direction or process stream that produced the event.
13
- */
14
- stream?: "stdin" | "stdout" | "stderr" | "process";
15
- /**
16
- * Redacted trace payload. Large payloads are replaced with a preview before
17
- * they are written.
18
- */
19
- payload?: unknown;
20
- }
21
- /**
22
- * Append-only task-local Pi RPC trace writer.
23
- *
24
- * @public
25
- */
26
- export interface PiRpcTrace {
27
- /**
28
- * Absolute path to the trace file when it was opened successfully.
29
- */
30
- filePath?: string;
31
- /**
32
- * Append one redacted trace record.
33
- *
34
- * @param event - Trace event to serialize as one JSONL record.
35
- */
36
- write(event: PiRpcTraceEvent): void;
37
- /**
38
- * Flush and close the trace file.
39
- */
40
- close(): Promise<void>;
41
- }
42
- /**
43
- * Create a Pi RPC trace writer under the task workspace debug directory.
44
- *
45
- * @param input - Task identity and workspace location.
46
- * @returns Writable trace, or a no-op trace when the debug file cannot open.
47
- *
48
- * @public
49
- */
50
- export declare function createPiRpcTrace(input: {
51
- taskId: string;
52
- workspaceDir: string;
53
- now?: () => Date;
54
- }): PiRpcTrace;