@hyperwindmill/caretaker-cli 0.12.0 → 0.12.2
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/cli/web/scheduler/task_strategy.d.ts.map +1 -1
- package/dist/cli/web/scheduler/task_strategy.js +7 -0
- package/dist/harness/tools/builtin/bash.d.ts.map +1 -1
- package/dist/harness/tools/builtin/bash.js +5 -23
- package/dist/harness/tools/builtin/shell-env.d.ts +25 -0
- package/dist/harness/tools/builtin/shell-env.d.ts.map +1 -1
- package/dist/harness/tools/builtin/shell-env.js +47 -0
- package/dist/lib/task_git.d.ts.map +1 -1
- package/dist/lib/task_git.js +12 -2
- package/dist/store/db.d.ts +3 -0
- package/dist/store/db.d.ts.map +1 -1
- package/dist/webview/standalone.css +6 -2
- package/dist/webview/standalone.css.map +2 -2
- package/dist/webview/standalone.js +459 -445
- package/dist/webview/standalone.js.map +2 -2
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task_strategy.d.ts","sourceRoot":"","sources":["../../../../src/cli/web/scheduler/task_strategy.ts"],"names":[],"mappings":"AAsHA,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"task_strategy.d.ts","sourceRoot":"","sources":["../../../../src/cli/web/scheduler/task_strategy.ts"],"names":[],"mappings":"AAsHA,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAyUnE"}
|
|
@@ -215,6 +215,10 @@ export async function runTaskHeartbeatTick(now) {
|
|
|
215
215
|
role: 'assistant',
|
|
216
216
|
messageType: 'heartbeat_live',
|
|
217
217
|
content: '',
|
|
218
|
+
// Capture the role-resolved agent behind this cycle, so the thread shows
|
|
219
|
+
// who actually ran (planner during planning, developer during active) —
|
|
220
|
+
// as text of the moment, not resolved live in the UI.
|
|
221
|
+
agentLabel: `${agent.name} · ${agent.model}`,
|
|
218
222
|
});
|
|
219
223
|
liveMsgId = liveMsg.id;
|
|
220
224
|
let buffer = '';
|
|
@@ -437,6 +441,9 @@ async function runReviewCycle(opts) {
|
|
|
437
441
|
role: 'user',
|
|
438
442
|
messageType: 'review',
|
|
439
443
|
content: `[CODE REVIEW round ${round}/${MAX_REVIEW_ROUNDS}] verdict=${verdict}\n\n${reviewText}`,
|
|
444
|
+
// role is 'user' so the verdict replays into the agent's history as feedback,
|
|
445
|
+
// but the reviewer agent produced it — capture that for the log display.
|
|
446
|
+
agentLabel: `${agent.name} · ${agent.model}`,
|
|
440
447
|
});
|
|
441
448
|
}
|
|
442
449
|
console.log(`[task_heartbeat] Task #${task.id} review round ${round}: ${verdict}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bash.d.ts","sourceRoot":"","sources":["../../../../src/harness/tools/builtin/bash.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"bash.d.ts","sourceRoot":"","sources":["../../../../src/harness/tools/builtin/bash.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAkBxC,eAAO,MAAM,QAAQ,EAAE,IA4GtB,CAAC"}
|
|
@@ -1,36 +1,18 @@
|
|
|
1
1
|
import { spawn } from 'node:child_process';
|
|
2
2
|
import { StringDecoder } from 'node:string_decoder';
|
|
3
|
-
import {
|
|
3
|
+
import { commandEnv } from './shell-env.js';
|
|
4
4
|
const DEFAULT_TIMEOUT_MS = 30_000;
|
|
5
5
|
/** Cap on stdout+stderr we echo back to the model. The harness applies a
|
|
6
6
|
* separate global cap on tool results; this keeps memory bounded inside
|
|
7
7
|
* the bash tool itself for very chatty commands. */
|
|
8
8
|
const MAX_OUTPUT_BYTES = 50_000;
|
|
9
|
-
// Env var patterns scrubbed from the spawned child env. Mirrors caretaker
|
|
10
|
-
// server's policy in src/mcp/shell.ts: keep tokens/keys/secrets out of
|
|
11
|
-
// command-line tools the agent runs.
|
|
12
|
-
const SECRET_ENV_PATTERNS = [/^OPENCODE_/, /^CLAUDE_/, /_TOKEN$/, /_KEY$/, /_SECRET$/];
|
|
13
|
-
function scrubbedEnv() {
|
|
14
|
-
const out = {};
|
|
15
|
-
for (const [k, v] of Object.entries(process.env)) {
|
|
16
|
-
if (SECRET_ENV_PATTERNS.some((re) => re.test(k)))
|
|
17
|
-
continue;
|
|
18
|
-
out[k] = v;
|
|
19
|
-
}
|
|
20
|
-
return out;
|
|
21
|
-
}
|
|
22
9
|
/**
|
|
23
|
-
* Build the environment for bash subprocesses.
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* .bashrc sets but which are missing in non-interactive shells.
|
|
10
|
+
* Build the environment for bash subprocesses. Delegates to the shared
|
|
11
|
+
* `commandEnv()` so the bash tool and the task bootstrap/git helpers use
|
|
12
|
+
* one scrub + probe-merge policy.
|
|
27
13
|
*/
|
|
28
14
|
function bashEnv() {
|
|
29
|
-
|
|
30
|
-
if (process.platform === 'linux') {
|
|
31
|
-
return mergeShellEnv(base);
|
|
32
|
-
}
|
|
33
|
-
return base;
|
|
15
|
+
return commandEnv();
|
|
34
16
|
}
|
|
35
17
|
export const bashTool = {
|
|
36
18
|
name: 'bash',
|
|
@@ -52,4 +52,29 @@ export declare function getShellEnv(): Record<string, string>;
|
|
|
52
52
|
* variables are set only if not already present in the env.
|
|
53
53
|
*/
|
|
54
54
|
export declare function mergeShellEnv(existingEnv: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
|
|
55
|
+
/**
|
|
56
|
+
* Env var patterns scrubbed from spawned command envs. Shared by the bash
|
|
57
|
+
* tool and by bootstrap/git spawns so unattended runs don't leak tokens.
|
|
58
|
+
* Mirrors the caretaker server's policy in src/mcp/shell.ts.
|
|
59
|
+
*/
|
|
60
|
+
export declare const SECRET_ENV_PATTERNS: RegExp[];
|
|
61
|
+
/**
|
|
62
|
+
* Base env for spawned shells: process.env with secret vars scrubbed.
|
|
63
|
+
* Used by both the bash tool and the task bootstrap/git helpers so the
|
|
64
|
+
* same scrub policy applies everywhere a command is spawned.
|
|
65
|
+
*/
|
|
66
|
+
export declare function scrubbedEnv(): NodeJS.ProcessEnv;
|
|
67
|
+
/**
|
|
68
|
+
* Build the env for a spawned shell command: scrubbed process.env, with the
|
|
69
|
+
* probed interactive-shell PATH and version-manager vars merged in on Linux.
|
|
70
|
+
* macOS/Windows return the scrubbed env unchanged (login shells there already
|
|
71
|
+
* source profiles correctly). Mirrors what the `bash` tool uses.
|
|
72
|
+
*/
|
|
73
|
+
export declare function commandEnv(): NodeJS.ProcessEnv;
|
|
74
|
+
/**
|
|
75
|
+
* @internal Test-only: set the cached probe result directly so tests can
|
|
76
|
+
* exercise the env-merge path without running a real interactive shell probe.
|
|
77
|
+
* Production code never calls this.
|
|
78
|
+
*/
|
|
79
|
+
export declare function setShellEnvForTest(env: Record<string, string>): void;
|
|
55
80
|
//# sourceMappingURL=shell-env.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell-env.d.ts","sourceRoot":"","sources":["../../../../src/harness/tools/builtin/shell-env.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAiCH;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,6DAA6D;IAC7D,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5B,uCAAuC;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAKD;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CAAC,KAAK,UAAQ,GAAG,OAAO,CAAC,cAAc,CAAC,CA0B1E;AA6ED;;;;;GAKG;AACH,wBAAgB,WAAW,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOpD;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAC3B,WAAW,EAAE,MAAM,CAAC,UAAU,GAC7B,MAAM,CAAC,UAAU,CAkBnB"}
|
|
1
|
+
{"version":3,"file":"shell-env.d.ts","sourceRoot":"","sources":["../../../../src/harness/tools/builtin/shell-env.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAiCH;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,6DAA6D;IAC7D,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5B,uCAAuC;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAKD;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CAAC,KAAK,UAAQ,GAAG,OAAO,CAAC,cAAc,CAAC,CA0B1E;AA6ED;;;;;GAKG;AACH,wBAAgB,WAAW,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOpD;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAC3B,WAAW,EAAE,MAAM,CAAC,UAAU,GAC7B,MAAM,CAAC,UAAU,CAkBnB;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,UAM/B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,WAAW,IAAI,MAAM,CAAC,UAAU,CAO/C;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAAC,UAAU,CAM9C;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAEpE"}
|
|
@@ -179,3 +179,50 @@ export function mergeShellEnv(existingEnv) {
|
|
|
179
179
|
}
|
|
180
180
|
return merged;
|
|
181
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* Env var patterns scrubbed from spawned command envs. Shared by the bash
|
|
184
|
+
* tool and by bootstrap/git spawns so unattended runs don't leak tokens.
|
|
185
|
+
* Mirrors the caretaker server's policy in src/mcp/shell.ts.
|
|
186
|
+
*/
|
|
187
|
+
export const SECRET_ENV_PATTERNS = [
|
|
188
|
+
/^OPENCODE_/,
|
|
189
|
+
/^CLAUDE_/,
|
|
190
|
+
/_TOKEN$/,
|
|
191
|
+
/_KEY$/,
|
|
192
|
+
/_SECRET$/,
|
|
193
|
+
];
|
|
194
|
+
/**
|
|
195
|
+
* Base env for spawned shells: process.env with secret vars scrubbed.
|
|
196
|
+
* Used by both the bash tool and the task bootstrap/git helpers so the
|
|
197
|
+
* same scrub policy applies everywhere a command is spawned.
|
|
198
|
+
*/
|
|
199
|
+
export function scrubbedEnv() {
|
|
200
|
+
const out = {};
|
|
201
|
+
for (const [k, v] of Object.entries(process.env)) {
|
|
202
|
+
if (SECRET_ENV_PATTERNS.some((re) => re.test(k)))
|
|
203
|
+
continue;
|
|
204
|
+
out[k] = v;
|
|
205
|
+
}
|
|
206
|
+
return out;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Build the env for a spawned shell command: scrubbed process.env, with the
|
|
210
|
+
* probed interactive-shell PATH and version-manager vars merged in on Linux.
|
|
211
|
+
* macOS/Windows return the scrubbed env unchanged (login shells there already
|
|
212
|
+
* source profiles correctly). Mirrors what the `bash` tool uses.
|
|
213
|
+
*/
|
|
214
|
+
export function commandEnv() {
|
|
215
|
+
const base = scrubbedEnv();
|
|
216
|
+
if (process.platform === "linux") {
|
|
217
|
+
return mergeShellEnv(base);
|
|
218
|
+
}
|
|
219
|
+
return base;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* @internal Test-only: set the cached probe result directly so tests can
|
|
223
|
+
* exercise the env-merge path without running a real interactive shell probe.
|
|
224
|
+
* Production code never calls this.
|
|
225
|
+
*/
|
|
226
|
+
export function setShellEnvForTest(env) {
|
|
227
|
+
cachedResult = { env, success: true };
|
|
228
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task_git.d.ts","sourceRoot":"","sources":["../../src/lib/task_git.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"task_git.d.ts","sourceRoot":"","sources":["../../src/lib/task_git.ts"],"names":[],"mappings":"AAmBA,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAM7D;AAgBD,wBAAsB,UAAU,CAAC,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAKjG;AAED,wBAAsB,cAAc,CAClC,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,CAAC,CAe5E;AAED;;;;;;GAMG;AACH,wBAAsB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAiBjF;AAcD,wBAAsB,SAAS,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAcrF;AAED,wBAAsB,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgBtE;AAED,wBAAsB,eAAe,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAGxF"}
|
package/dist/lib/task_git.js
CHANGED
|
@@ -3,10 +3,15 @@ import { promisify } from 'node:util';
|
|
|
3
3
|
import { rm } from 'node:fs/promises';
|
|
4
4
|
import { join, relative, dirname } from 'node:path';
|
|
5
5
|
import { dataDir } from '../store/db.js';
|
|
6
|
+
import { commandEnv } from '../harness/tools/builtin/shell-env.js';
|
|
6
7
|
const exec = promisify(execFile);
|
|
7
8
|
const execShell = promisify(execCb);
|
|
8
9
|
async function git(cwd, args) {
|
|
9
|
-
const { stdout } = await exec('git', args, {
|
|
10
|
+
const { stdout } = await exec('git', args, {
|
|
11
|
+
cwd,
|
|
12
|
+
env: commandEnv(),
|
|
13
|
+
maxBuffer: 32 * 1024 * 1024,
|
|
14
|
+
});
|
|
10
15
|
return stdout.trim();
|
|
11
16
|
}
|
|
12
17
|
export async function isGitRepo(dir) {
|
|
@@ -61,7 +66,12 @@ export async function runBootstrap(cwd, commands) {
|
|
|
61
66
|
if (!cmd)
|
|
62
67
|
continue;
|
|
63
68
|
try {
|
|
64
|
-
await execShell(cmd, {
|
|
69
|
+
await execShell(cmd, {
|
|
70
|
+
cwd,
|
|
71
|
+
env: commandEnv(),
|
|
72
|
+
timeout: 10 * 60 * 1000,
|
|
73
|
+
maxBuffer: 32 * 1024 * 1024,
|
|
74
|
+
});
|
|
65
75
|
}
|
|
66
76
|
catch (err) {
|
|
67
77
|
const e = err;
|
package/dist/store/db.d.ts
CHANGED
|
@@ -51,6 +51,9 @@ export interface TaskMessage {
|
|
|
51
51
|
content: string;
|
|
52
52
|
toolCallId?: string | null;
|
|
53
53
|
agentId?: string | null;
|
|
54
|
+
/** Identity of the agent that produced this message, captured at creation as
|
|
55
|
+
* `name · model` text (of that moment — survives later agent reconfig/rename). */
|
|
56
|
+
agentLabel?: string | null;
|
|
54
57
|
createdAt: string;
|
|
55
58
|
}
|
|
56
59
|
export declare function dataDir(): string;
|
package/dist/store/db.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../src/store/db.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,SAAS,GAAG,aAAa,GAAG,MAAM,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ings-panel__tab-btn--active {
|
|
|
1585
1585
|
gap: var(--spacing-md);
|
|
1586
1586
|
box-shadow: var(--glow-shadow);
|
|
1587
1587
|
animation: slideFormUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
1588
|
-
|
|
1588
|
+
flex: 1 1 auto;
|
|
1589
|
+
min-height: 0;
|
|
1590
|
+
max-height: 100%;
|
|
1589
1591
|
}
|
|
1590
1592
|
.glass-form__body {
|
|
1591
|
-
flex: 1;
|
|
1593
|
+
flex: 1 1 0;
|
|
1594
|
+
min-height: 0;
|
|
1592
1595
|
overflow-y: auto;
|
|
1593
1596
|
display: flex;
|
|
1594
1597
|
flex-direction: column;
|
|
@@ -1671,6 +1674,7 @@ body.vscode-light .settings-panel__tab-btn--active {
|
|
|
1671
1674
|
}
|
|
1672
1675
|
.form-row > .form-group {
|
|
1673
1676
|
flex: 1;
|
|
1677
|
+
min-width: 0;
|
|
1674
1678
|
}
|
|
1675
1679
|
.form-actions {
|
|
1676
1680
|
display: flex;
|