@bluecopa/harness 2.0.0 → 2.0.1-snapshot.1
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/arc/index.d.ts +322 -11
- package/dist/arc/index.js +3268 -1145
- package/dist/arc/index.js.map +1 -1
- package/dist/{shared-types-DRxnerLT.d.ts → shared-types-vZuVoy_H.d.ts} +10 -1
- package/dist/skills/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -21,6 +21,14 @@ interface ToolResult {
|
|
|
21
21
|
interface BashOptions {
|
|
22
22
|
timeout?: number | undefined;
|
|
23
23
|
cwd?: string | undefined;
|
|
24
|
+
/** Human-readable label for long-running jobs. */
|
|
25
|
+
label?: string | undefined;
|
|
26
|
+
/** When set, run the command on a remote host via SSH (detached via nohup, persistent across truecode restarts). */
|
|
27
|
+
remote?: {
|
|
28
|
+
host: string;
|
|
29
|
+
user?: string | undefined;
|
|
30
|
+
keyPath?: string | undefined;
|
|
31
|
+
} | undefined;
|
|
24
32
|
}
|
|
25
33
|
interface ReadOptions {
|
|
26
34
|
lineRange?: [number, number] | undefined;
|
|
@@ -124,7 +132,8 @@ interface ToolProvider {
|
|
|
124
132
|
thread?: ((command: string, options?: BashOptions) => Promise<ToolResult>) | undefined;
|
|
125
133
|
check?: ((threadId: string) => Promise<ToolResult>) | undefined;
|
|
126
134
|
cancel?: ((threadId: string) => Promise<ToolResult>) | undefined;
|
|
127
|
-
|
|
135
|
+
/** Wait for a background thread to reach a terminal state (complete/error). Resolves with the final ThreadStatus. */
|
|
136
|
+
waitForThread?: ((threadId: string, signal?: AbortSignal) => Promise<ThreadStatus>) | undefined;
|
|
128
137
|
batch?: ((ops: BatchOp[]) => Promise<BatchResult[]>) | undefined;
|
|
129
138
|
initialize?: (() => Promise<void>) | undefined;
|
|
130
139
|
destroy?: (() => Promise<void>) | undefined;
|
package/dist/skills/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluecopa/harness",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1-snapshot.1",
|
|
4
4
|
"description": "Provider-agnostic TypeScript agent framework",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"registry": "https://registry.npmjs.org/",
|
|
46
|
-
"access": "
|
|
46
|
+
"access": "restricted"
|
|
47
47
|
}
|
|
48
48
|
}
|