@molecule/api-ai-tools 1.11.1 → 1.13.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/README.md +460 -7
- package/dist/command-position.d.ts +33 -0
- package/dist/command-position.d.ts.map +1 -1
- package/dist/command-position.js +66 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/playwright-report.d.ts +210 -0
- package/dist/playwright-report.d.ts.map +1 -0
- package/dist/playwright-report.js +406 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +8 -0
- package/dist/server-command.d.ts +9 -3
- package/dist/server-command.d.ts.map +1 -1
- package/dist/server-command.js +39 -4
- package/dist/tool-catalog.d.ts +32 -0
- package/dist/tool-catalog.d.ts.map +1 -0
- package/dist/tool-catalog.js +76 -0
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +137 -8
- package/dist/trace-artifacts.d.ts +12 -0
- package/dist/trace-artifacts.d.ts.map +1 -1
- package/dist/trace-artifacts.js +1 -0
- package/dist/utilities.d.ts +78 -4
- package/dist/utilities.d.ts.map +1 -1
- package/dist/utilities.js +229 -38
- package/package.json +2 -2
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Offer common tools and let the model load other schemas by exact name.
|
|
3
|
+
*
|
|
4
|
+
* This is ordinary allowlist selection, not semantic routing or authorization.
|
|
5
|
+
* Pass tools already filtered by the current mode and permissions. Loading never
|
|
6
|
+
* executes a tool; the caller must keep its normal execution-time guards. Loaded
|
|
7
|
+
* schemas append in request order and stay available, avoiding an LRU that changes
|
|
8
|
+
* the schema prefix on every request. Only names need persistence across turns.
|
|
9
|
+
*
|
|
10
|
+
* @param options - Allowed tools, initial selection and optional durable load state.
|
|
11
|
+
* @returns A loader tool and the current provider-facing selection.
|
|
12
|
+
*/
|
|
13
|
+
export function createDeferredToolCatalog(options) {
|
|
14
|
+
const loaded = new Set(options.loadedNames);
|
|
15
|
+
const available = () => options.available().filter((tool) => tool.name !== 'load_tools');
|
|
16
|
+
const loader = {
|
|
17
|
+
name: 'load_tools',
|
|
18
|
+
get description() {
|
|
19
|
+
const deferred = available().filter((tool) => !options.initialNames.has(tool.name));
|
|
20
|
+
return ('Load additional tools by exact name before calling them. Loading only exposes their ' +
|
|
21
|
+
'schemas; it does not run them. They remain available for later requests. Other tools: ' +
|
|
22
|
+
deferred
|
|
23
|
+
.map((tool) => `${tool.name}: ${tool.description.split(/\n|(?<=[.!?])\s/)[0].slice(0, 160)}`)
|
|
24
|
+
.join('; '));
|
|
25
|
+
},
|
|
26
|
+
parameters: {
|
|
27
|
+
type: 'object',
|
|
28
|
+
properties: {
|
|
29
|
+
names: {
|
|
30
|
+
type: 'array',
|
|
31
|
+
items: { type: 'string' },
|
|
32
|
+
minItems: 1,
|
|
33
|
+
description: 'Exact tool names to load together, for example ["git_push", "git_pull"].',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
required: ['names'],
|
|
37
|
+
},
|
|
38
|
+
async execute(input) {
|
|
39
|
+
const names = input?.names;
|
|
40
|
+
if (!Array.isArray(names) ||
|
|
41
|
+
names.length === 0 ||
|
|
42
|
+
names.some((name) => typeof name !== 'string')) {
|
|
43
|
+
return { error: 'names must be a nonempty array of exact tool names. Nothing was loaded.' };
|
|
44
|
+
}
|
|
45
|
+
const permitted = new Set(available().map((tool) => tool.name));
|
|
46
|
+
const refused = names.filter((name) => !permitted.has(name));
|
|
47
|
+
if (refused.length > 0) {
|
|
48
|
+
return {
|
|
49
|
+
error: `Tools unavailable in the current mode: ${refused.join(', ')}. Nothing was loaded.`,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
for (const name of names)
|
|
53
|
+
loaded.add(name);
|
|
54
|
+
options.onLoad?.([...loaded]);
|
|
55
|
+
return {
|
|
56
|
+
loaded: [...new Set(names)],
|
|
57
|
+
message: 'Schemas loaded. Call these tools with their declared arguments.',
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
return {
|
|
62
|
+
loader,
|
|
63
|
+
select() {
|
|
64
|
+
const tools = available();
|
|
65
|
+
const byName = new Map(tools.map((tool) => [tool.name, tool]));
|
|
66
|
+
return [
|
|
67
|
+
...tools.filter((tool) => options.initialNames.has(tool.name)),
|
|
68
|
+
loader,
|
|
69
|
+
...[...loaded].flatMap((name) => {
|
|
70
|
+
const tool = byName.get(name);
|
|
71
|
+
return tool && !options.initialNames.has(name) ? [tool] : [];
|
|
72
|
+
}),
|
|
73
|
+
];
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
}
|
package/dist/tools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAgS9C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,eAAe,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAahG;AAudD,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAgInE;;;GAGG;AACH,eAAO,MAAM,iBAAiB,QAEA,CAAA;AAE9B;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB,QAI6C,CAAA;AA2DlF;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAUhE;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,qBAAqB;IACpC,iFAAiF;IACjF,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,8FAA8F;IAC9F,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA;CAC5B;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAoBpF;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CACxC,GAAG,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,CAAC,GACxE,qBAAqB,CAkBvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAsB,4BAA4B,CAChD,IAAI,EAAE,MAAM,EACZ,KAAK,CAAC,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAiCxB;AA2GD;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,CAAC,EAAE,eAAe,GAAG,MAAM,EAAE,CAq/FxF"}
|
package/dist/tools.js
CHANGED
|
@@ -15,6 +15,7 @@ import { INLINE_SCRIPT_BUDGET_MS, inlineLocalScriptCommand, inlineScriptRunawayS
|
|
|
15
15
|
import { guardToolExecute, missingParamError, ToolInputError } from './input-normalizer.js';
|
|
16
16
|
import { diffLineCount } from './line-diff.js';
|
|
17
17
|
import { pipelineExitCodeNote } from './pipeline-exit-note.js';
|
|
18
|
+
import { commandWritesReportTo, PLAYWRIGHT_REPORT_SUFFIX, playwrightReportPathFor, summarizePlaywrightReport, } from './playwright-report.js';
|
|
18
19
|
import { TOOL_SCHEMAS } from './schemas.js';
|
|
19
20
|
import { foregroundBrowserProbe, foregroundServerCommand, SERVER_OVER_BUDGET_ADVICE, serverCommandRefusal, startsServerProgram, } from './server-command.js';
|
|
20
21
|
import { leadingSleepPeek } from './sleep-peek.js';
|
|
@@ -34,6 +35,45 @@ const waitedByTask = new Map();
|
|
|
34
35
|
const logBytesByTask = new Map();
|
|
35
36
|
/** The file a background command writes its own output to, when it redirects it. */
|
|
36
37
|
const outputFileByTask = new Map();
|
|
38
|
+
/**
|
|
39
|
+
* The standard Playwright machine report each background task was launched with, when the launch
|
|
40
|
+
* could carry one ({@link streamingBackgroundCommand}'s `reportPath`).
|
|
41
|
+
*
|
|
42
|
+
* The path is derived from the task id (`playwright-report.ts`), so a process that restarted
|
|
43
|
+
* mid-run still finds it — nothing here is the only record of where the file is.
|
|
44
|
+
*/
|
|
45
|
+
const reportByTask = new Map();
|
|
46
|
+
/**
|
|
47
|
+
* One report file's bounded facts, or the honest reason there are none.
|
|
48
|
+
*
|
|
49
|
+
* A report that is not there is NOT "the run failed nothing": `summarizePlaywrightReport` answers
|
|
50
|
+
* `missing`, and every reader treats that as no machine data rather than as a clean run.
|
|
51
|
+
*
|
|
52
|
+
* @param backend - The project's execution backend.
|
|
53
|
+
* @param path - The report file's absolute path (`/tmp/…`).
|
|
54
|
+
* @param sanitize - The consumer's redactor for the error text the record carries.
|
|
55
|
+
* @returns The bounded record; never a verdict.
|
|
56
|
+
*/
|
|
57
|
+
async function readPlaywrightRunReport(backend, path, sanitize) {
|
|
58
|
+
let text;
|
|
59
|
+
try {
|
|
60
|
+
text = await backend.readFile(path);
|
|
61
|
+
}
|
|
62
|
+
catch (error) {
|
|
63
|
+
// No file under this path: the run left no report (killed before it ended, or it was launched
|
|
64
|
+
// before this sideband existed). Absence is said, never read as a clean run.
|
|
65
|
+
return {
|
|
66
|
+
status: 'missing',
|
|
67
|
+
path,
|
|
68
|
+
reason: 'the run left no report at this path' +
|
|
69
|
+
(error instanceof Error && error.message ? ` (${error.message})` : ''),
|
|
70
|
+
stats: null,
|
|
71
|
+
failures: [],
|
|
72
|
+
omittedFailures: 0,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
return summarizePlaywrightReport(text, { path, sanitize });
|
|
76
|
+
}
|
|
37
77
|
/**
|
|
38
78
|
* Recovered legacy task ids whose command ENDS with a backgrounded statement (`… &`).
|
|
39
79
|
*
|
|
@@ -663,7 +703,7 @@ async function backgroundTaskState(backend, command, seconds, ceilingMs) {
|
|
|
663
703
|
}
|
|
664
704
|
import { suiteCommandTarget } from './suite-overlap.js';
|
|
665
705
|
import { diagnosisTraceCommand } from './trace-artifacts.js';
|
|
666
|
-
import { BRACE_GLOB_HINT, checkBlockedCommand, declaredBudgetSeconds, DEFAULT_SEARCH_EXCLUDED_DIRS, directoryReadHint, earlyReturnCause, emptyCallError, expandBraceGlob, failureCausesNote, findPathArgs, findPatternArgs, fusedLine, htmlOutline, isCommandTimeout, isEnvFilePath, isOutsideRoot, isPlaywrightRunCommand, isSuiteRunCommand, linesWithinSerialized, literalDirPrefix, logShowsInlineFailureBodies, MAX_BATCH_READ_FILES, MAX_FIND_RESULTS, MAX_HTML_INLINE_CHARS, MAX_OUTPUT_SIZE, MAX_READ_CALL_CHARS, MAX_READ_RETURN_CHARS, MAX_READ_SIZE, MAX_SEARCH_CONTEXT_LINES, MAX_SEARCH_RESULTS, MAX_WRITE_SIZE, outputIsWithheldUntilExit, outputRedirectTarget, parseCheckCommand, parseCheckProblem, pathArgError,
|
|
706
|
+
import { addedRedactionMask, BRACE_GLOB_HINT, checkBlockedCommand, declaredBudgetSeconds, DEFAULT_SEARCH_EXCLUDED_DIRS, directoryReadHint, earlyReturnCause, emptyCallError, expandBraceGlob, failureCausesNote, findPathArgs, findPatternArgs, fusedLine, htmlOutline, isCommandTimeout, isEnvFilePath, isOutsideRoot, isPlaywrightRunCommand, isReadOnlyInspection, isSuiteRunCommand, linesWithinSerialized, literalDirPrefix, logShowsInlineFailureBodies, MAX_BATCH_READ_FILES, MAX_FIND_RESULTS, MAX_HTML_INLINE_CHARS, MAX_OUTPUT_SIZE, MAX_READ_CALL_CHARS, MAX_READ_RETURN_CHARS, MAX_READ_SIZE, MAX_SEARCH_CONTEXT_LINES, MAX_SEARCH_RESULTS, MAX_WRITE_SIZE, outputIsWithheldUntilExit, outputRedirectTarget, parseCheckCommand, parseCheckProblem, pathArgError, READ_RESULT_ENVELOPE_CHARS, redactSecrets, redactSecretsInCode, repeatedSuiteRunError, repeatingFailure, repeatingFailureNote, resolvePath, RUNNING_FAILURE_LINES, runningCauseCommand, runningOutputSliceCommand, searchTimeoutError, serializedChars, shellQuote, sliceLines, SMALL_FILE_WHOLE_CHARS, streamingBackgroundCommand, stripControlChars, suiteRunBudgetCommand, suiteRunConfigCommand, suiteRunPipelinePlacement, suiteRunPriorityLaunch, TOOL_RESULT_CHARS, truncateMiddle, universalCause, whitespaceTolerantReplace, withoutSuiteTimeout, withPlaywrightRunReport, } from './utilities.js';
|
|
667
707
|
/**
|
|
668
708
|
* How long exec_command waits for a command it backgrounded only because the
|
|
669
709
|
* command asked for more than the tool's ceiling, before handing back a task id.
|
|
@@ -1219,6 +1259,23 @@ export function buildTools(backend, config) {
|
|
|
1219
1259
|
result = isEnvFilePath(path) ? redactSecrets(result) : redactSecretsInCode(result);
|
|
1220
1260
|
return result;
|
|
1221
1261
|
}
|
|
1262
|
+
/**
|
|
1263
|
+
* The refusal for a write that would put the output filter's placeholder into a file.
|
|
1264
|
+
*
|
|
1265
|
+
* A placeholder may have been copied from filtered output or intentionally authored.
|
|
1266
|
+
* Ask the caller to recover the source value or explicitly declare intentional use;
|
|
1267
|
+
* the guard cannot infer the literal's origin from its bytes.
|
|
1268
|
+
*
|
|
1269
|
+
* @param path - The file the write targets.
|
|
1270
|
+
* @param mask - The added mask, exactly as the content writes it.
|
|
1271
|
+
* @returns The error message shown to the model.
|
|
1272
|
+
*/
|
|
1273
|
+
function redactionMaskError(path, mask) {
|
|
1274
|
+
return (`Refused: the new content adds ${mask}, which may be the tool output filter's placeholder ` +
|
|
1275
|
+
`rather than the original value. Use read_file (${path} itself, or the source of the value) ` +
|
|
1276
|
+
'to recover the original. If the application intentionally defines this redaction literal, ' +
|
|
1277
|
+
'retry with intentional_redaction_placeholder: true.');
|
|
1278
|
+
}
|
|
1222
1279
|
// ── Binary reads ───────────────────────────────────────────────
|
|
1223
1280
|
/** Extensions whose files are never text: a `read_file` on one is refused by name. */
|
|
1224
1281
|
const BINARY_FILE_EXTENSIONS = new Set([
|
|
@@ -1823,6 +1880,13 @@ export function buildTools(backend, config) {
|
|
|
1823
1880
|
catch (_error) {
|
|
1824
1881
|
/* file doesn't exist yet — oldContent stays null */
|
|
1825
1882
|
}
|
|
1883
|
+
// A mask the output filter produced is not a value: refuse writing a NEW one into the
|
|
1884
|
+
// project, while allowing a file that already carries one to be rewritten unchanged.
|
|
1885
|
+
if (doRedact && input.intentional_redaction_placeholder !== true) {
|
|
1886
|
+
const mask = addedRedactionMask(content, oldContent ?? '');
|
|
1887
|
+
if (mask !== null)
|
|
1888
|
+
return { error: redactionMaskError(path, mask) };
|
|
1889
|
+
}
|
|
1826
1890
|
if (onFileDiff)
|
|
1827
1891
|
onFileDiff({ path, oldContent, newContent: content });
|
|
1828
1892
|
await backend.writeFile(path, content);
|
|
@@ -1969,6 +2033,19 @@ export function buildTools(backend, config) {
|
|
|
1969
2033
|
});
|
|
1970
2034
|
continue;
|
|
1971
2035
|
}
|
|
2036
|
+
// Same guard as write_file, judged per replacement against its own old_string: an
|
|
2037
|
+
// edit that carries an existing mask through is fine, one that ADDS a mask is refused.
|
|
2038
|
+
if (doRedact && input.intentional_redaction_placeholder !== true) {
|
|
2039
|
+
const mask = addedRedactionMask(newString, oldString);
|
|
2040
|
+
if (mask !== null) {
|
|
2041
|
+
failures.push({
|
|
2042
|
+
index: index + 1,
|
|
2043
|
+
start: startOf(oldString),
|
|
2044
|
+
message: redactionMaskError(path, mask),
|
|
2045
|
+
});
|
|
2046
|
+
continue;
|
|
2047
|
+
}
|
|
2048
|
+
}
|
|
1972
2049
|
const count = content.split(oldString).length - 1;
|
|
1973
2050
|
// The edit is ALREADY in the file: old_string is gone and a distinctive
|
|
1974
2051
|
// new_string is there exactly once. The executor re-sends an edit it
|
|
@@ -2808,14 +2885,19 @@ export function buildTools(backend, config) {
|
|
|
2808
2885
|
// The request's own exclusions ride along: a `--grep-invert` that names one of them is
|
|
2809
2886
|
// the proof scope written as a flag, not a diagnosis, so it keeps the suite's retries
|
|
2810
2887
|
// (xr-molecule-flash-m170 +33:16). The getter is the host's, read here at launch time.
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2888
|
+
// The standard Playwright machine report this run may carry, at a path derived from the
|
|
2889
|
+
// task's own id: unique per launch, and still findable from the id after a process
|
|
2890
|
+
// restart (see reportByTask). A run whose reporter set is not this tool's to place — or
|
|
2891
|
+
// one that already writes a report of its own — comes back with no report path and is
|
|
2892
|
+
// launched exactly as before.
|
|
2893
|
+
const streaming = streamingBackgroundCommand(command, { approvedExclusions: excludedTestTitles?.() ?? [] }, playwrightReportPathFor(id));
|
|
2814
2894
|
// A command that starts the suite more than once is refused here, before anything is
|
|
2815
2895
|
// written or launched: each walk measures the same code, and only the last is rewritten
|
|
2816
2896
|
// (X1 xr-molecule-flash-m157 +14:02 — two whole walks chained with `;`).
|
|
2817
2897
|
if (streaming.error)
|
|
2818
2898
|
return { error: streaming.error };
|
|
2899
|
+
if (streaming.reportPath !== undefined)
|
|
2900
|
+
reportByTask.set(id, streaming.reportPath);
|
|
2819
2901
|
// This tool already backgrounds the script. If its last statement also uses `&`,
|
|
2820
2902
|
// let the same shell wait for that child and preserve its exit code. Inferring its
|
|
2821
2903
|
// completion from output cannot work for silent commands such as `true &`.
|
|
@@ -2897,6 +2979,11 @@ export function buildTools(backend, config) {
|
|
|
2897
2979
|
// 0 is the filter's). No tool budget applies to a detached run, so the command's
|
|
2898
2980
|
// own `timeout` is the only bound here.
|
|
2899
2981
|
const cut = commandCutRun(command, { exitCode: code, stdout, stderr: '' }, Date.now() - launchedAt, 0, output);
|
|
2982
|
+
// The machine report is read here exactly as a wait reads it: a grace return is the
|
|
2983
|
+
// same finished run, handed back without a task id.
|
|
2984
|
+
const graceReport = streaming.reportPath === undefined
|
|
2985
|
+
? null
|
|
2986
|
+
: await readPlaywrightRunReport(backend, streaming.reportPath, sanitizeOutput);
|
|
2900
2987
|
if (cut) {
|
|
2901
2988
|
return {
|
|
2902
2989
|
stdout,
|
|
@@ -2918,6 +3005,7 @@ export function buildTools(backend, config) {
|
|
|
2918
3005
|
: ` ${isSuiteRunCommand(command)
|
|
2919
3006
|
? SUITE_OVER_BUDGET_ADVICE
|
|
2920
3007
|
: SPLIT_WORK_ADVICE}`),
|
|
3008
|
+
...(graceReport === null ? {} : { runReport: graceReport }),
|
|
2921
3009
|
};
|
|
2922
3010
|
}
|
|
2923
3011
|
// The exit file holds the PIPELINE's code: when a stage this rewrite could not
|
|
@@ -2947,6 +3035,7 @@ export function buildTools(backend, config) {
|
|
|
2947
3035
|
...(output.length > MAX_OUTPUT_SIZE ? { truncated: true, fullOutput: log } : {}),
|
|
2948
3036
|
...(notes.length ? { note: notes.join(' ') } : {}),
|
|
2949
3037
|
...suiteBudgetField(budget),
|
|
3038
|
+
...(graceReport === null ? {} : { runReport: graceReport }),
|
|
2950
3039
|
};
|
|
2951
3040
|
}
|
|
2952
3041
|
await new Promise((r) => setTimeout(r, 1_500));
|
|
@@ -3019,12 +3108,22 @@ export function buildTools(backend, config) {
|
|
|
3019
3108
|
? Math.min(requestedMs, toolCeilingMs)
|
|
3020
3109
|
: toolCeilingMs;
|
|
3021
3110
|
const startedAt = Date.now();
|
|
3022
|
-
|
|
3111
|
+
// The standard Playwright machine report, when this run names its own reporters
|
|
3112
|
+
// (`withPlaywrightRunReport`): `json` joins that set and its output goes to a file of this
|
|
3113
|
+
// call's own. A run that names no reporter is left exactly as written — its reporters are
|
|
3114
|
+
// the suite config's, and replacing them would stop writing what the executor configured.
|
|
3115
|
+
const reported = withPlaywrightRunReport(command, `/tmp/mol-pw-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}${PLAYWRIGHT_REPORT_SUFFIX}`);
|
|
3116
|
+
const result = await backend.run(reported.command, {
|
|
3023
3117
|
cwd,
|
|
3024
3118
|
timeout: execTimeoutMs,
|
|
3025
3119
|
...(effectiveBudgetMs ? { budgetMs: effectiveBudgetMs } : {}),
|
|
3026
3120
|
});
|
|
3027
3121
|
const elapsedMs = Date.now() - startedAt;
|
|
3122
|
+
// Read once, after the run: the runner's own per-test identities and attachment paths, or
|
|
3123
|
+
// the honest absence of a report. Never a verdict — pass/fail stays the caller's reading.
|
|
3124
|
+
const runReport = reported.reportPath === null
|
|
3125
|
+
? null
|
|
3126
|
+
: await readPlaywrightRunReport(backend, reported.reportPath, sanitizeOutput);
|
|
3028
3127
|
// The clamped ask is only worth a line when the clamp was felt: a command
|
|
3029
3128
|
// that asked for 600 s and finished in 25 s says nothing about splitting
|
|
3030
3129
|
// work, and the note read as a warning about a run that had already
|
|
@@ -3043,13 +3142,22 @@ export function buildTools(backend, config) {
|
|
|
3043
3142
|
// truncateMiddle (not truncate): a failing build/test/migration puts its
|
|
3044
3143
|
// error at the TAIL, so keep the head AND the tail — head-only truncation
|
|
3045
3144
|
// strands the executor with passing progress and no failure reason.
|
|
3046
|
-
// A command that only
|
|
3047
|
-
//
|
|
3048
|
-
|
|
3145
|
+
// A command that only INSPECTS the workspace without printing arbitrary file content
|
|
3146
|
+
// (a pure source read, `ls`/`find`/`wc`) returns code, not an env dump: the code-safe
|
|
3147
|
+
// grade, as read_file uses (utilities.ts isReadOnlyInspection). A recursive search
|
|
3148
|
+
// (`.env` and JSON secret dumps are in its match set), an `.env` read, `env`/`printenv`
|
|
3149
|
+
// and an interpreter one-liner all keep the full name-keyed grade.
|
|
3150
|
+
const grade = isReadOnlyInspection(command)
|
|
3049
3151
|
? (s) => sanitizeFileContent(s, 'printed.ts')
|
|
3050
3152
|
: sanitizeOutput;
|
|
3051
3153
|
const stdout = grade(truncateMiddle(result.stdout, MAX_OUTPUT_SIZE));
|
|
3052
3154
|
const stderr = sanitizeOutput(truncateMiddle(result.stderr, MAX_OUTPUT_SIZE));
|
|
3155
|
+
// Whether the stdout above is a middle cut of what the command printed. Said on the
|
|
3156
|
+
// result because a reader that records what this call DELIVERED cannot otherwise tell
|
|
3157
|
+
// a whole file from a holed one, and must not point at a holed output as "already
|
|
3158
|
+
// above" (xr-molecule-flash-m420: a clipped multi-file `cat` armed both a shell and a
|
|
3159
|
+
// read_file re-read hold on a helper whose middle never arrived).
|
|
3160
|
+
const stdoutTruncated = result.stdout.length > MAX_OUTPUT_SIZE;
|
|
3053
3161
|
// A run a budget stopped is NOT a run that ended: it reports `status: 'cut_at_budget'`,
|
|
3054
3162
|
// never a 0 the pipeline produced, and names how far it got. Read from the command, the
|
|
3055
3163
|
// output and the clock in one place (cut-run.ts) so every reader of a run's verdict reads
|
|
@@ -3100,6 +3208,8 @@ export function buildTools(backend, config) {
|
|
|
3100
3208
|
: isSuiteRunCommand(command)
|
|
3101
3209
|
? SUITE_OVER_BUDGET_ADVICE
|
|
3102
3210
|
: SPLIT_WORK_ADVICE),
|
|
3211
|
+
...(runReport === null ? {} : { runReport }),
|
|
3212
|
+
...(stdoutTruncated ? { stdoutTruncated: true } : {}),
|
|
3103
3213
|
};
|
|
3104
3214
|
}
|
|
3105
3215
|
// A pipeline reports its LAST stage's code: `tsc | head` says 0 beside a printed type
|
|
@@ -3119,6 +3229,8 @@ export function buildTools(backend, config) {
|
|
|
3119
3229
|
note: [sleepNote, ceilingNote, traced.change, budgetNote].filter(Boolean).join(' '),
|
|
3120
3230
|
}
|
|
3121
3231
|
: {}),
|
|
3232
|
+
...(runReport === null ? {} : { runReport }),
|
|
3233
|
+
...(stdoutTruncated ? { stdoutTruncated: true } : {}),
|
|
3122
3234
|
};
|
|
3123
3235
|
}
|
|
3124
3236
|
catch (e) {
|
|
@@ -3228,6 +3340,12 @@ export function buildTools(backend, config) {
|
|
|
3228
3340
|
// a command that ended in `&` is still a launch acknowledgement, not a finished run.
|
|
3229
3341
|
if (endsInBackground(script))
|
|
3230
3342
|
detachedByTask.add(taskId);
|
|
3343
|
+
// …and so does the machine report the launch wired (`playwright-report.ts`): its path is
|
|
3344
|
+
// the task's own id derived, and only a script that sets it to exactly that path is this
|
|
3345
|
+
// platform's own — a `PLAYWRIGHT_JSON_OUTPUT_FILE` the executor chose is theirs.
|
|
3346
|
+
const expectedReport = playwrightReportPathFor(taskId);
|
|
3347
|
+
if (!reportByTask.has(taskId) && commandWritesReportTo(script, expectedReport))
|
|
3348
|
+
reportByTask.set(taskId, expectedReport);
|
|
3231
3349
|
}
|
|
3232
3350
|
catch (_error) {
|
|
3233
3351
|
// No script under that id: this process did not start the task, so
|
|
@@ -3611,6 +3729,15 @@ export function buildTools(backend, config) {
|
|
|
3611
3729
|
// failing tests instead of leaving the executor to re-run the whole suite (xr-molecule-
|
|
3612
3730
|
// flash-m101 +12:13: 139 tests, ~4 minutes, to check two fixes).
|
|
3613
3731
|
const run = runByTask.get(taskId);
|
|
3732
|
+
// The standard machine report this launch wired, when it did (`reportByTask`). Read once per
|
|
3733
|
+
// finished wait: it is the runner's own record of each failing test's identity and of the
|
|
3734
|
+
// artifacts saved for that test, so a diagnosis can stop reconstructing them from the log.
|
|
3735
|
+
// A launch that carried no report path attaches nothing here — there is nothing honest to
|
|
3736
|
+
// say about a run that was never asked to write one.
|
|
3737
|
+
const reportPath = reportByTask.get(taskId);
|
|
3738
|
+
const runReport = reportPath === undefined
|
|
3739
|
+
? null
|
|
3740
|
+
: await readPlaywrightRunReport(backend, reportPath, sanitizeOutput);
|
|
3614
3741
|
// What the REQUEST requires of this suite and the run left out: the narrowed re-run below
|
|
3615
3742
|
// is composed from the run's own command, so without these it would measure the same wrong
|
|
3616
3743
|
// configuration again (m182: the request names `TEST_MODE=fullstack`, the run and its
|
|
@@ -3647,6 +3774,7 @@ export function buildTools(backend, config) {
|
|
|
3647
3774
|
note: [cutRunSentence(cut), causes].filter((n) => Boolean(n)).join(' '),
|
|
3648
3775
|
stdout: sanitizeOutput(truncateMiddle(output, MAX_OUTPUT_SIZE)),
|
|
3649
3776
|
...(output.length > MAX_OUTPUT_SIZE ? { truncated: true, fullOutput: log } : {}),
|
|
3777
|
+
...(runReport === null ? {} : { runReport }),
|
|
3650
3778
|
};
|
|
3651
3779
|
}
|
|
3652
3780
|
// Same shaping as a foreground exec result, so the executor reads both
|
|
@@ -3686,6 +3814,7 @@ export function buildTools(backend, config) {
|
|
|
3686
3814
|
: {}),
|
|
3687
3815
|
stdout: sanitizeOutput(truncateMiddle(output, MAX_OUTPUT_SIZE)),
|
|
3688
3816
|
...(output.length > MAX_OUTPUT_SIZE ? { truncated: true, fullOutput: log } : {}),
|
|
3817
|
+
...(runReport === null ? {} : { runReport }),
|
|
3689
3818
|
};
|
|
3690
3819
|
},
|
|
3691
3820
|
async save_plan(input) {
|
|
@@ -462,6 +462,18 @@ export interface TraceArtifact {
|
|
|
462
462
|
* Absent when no group reached the threshold, and on traces read before this field existed.
|
|
463
463
|
*/
|
|
464
464
|
repeated?: TraceRequestRepeat[];
|
|
465
|
+
/**
|
|
466
|
+
* The directory the trace was read from, relative to the root the reader was given.
|
|
467
|
+
*
|
|
468
|
+
* Playwright saves one directory per test attempt under the run's `outputDir`, and every artifact
|
|
469
|
+
* of that attempt — `trace.zip` included — sits in it. The run's own machine report records each
|
|
470
|
+
* test that wrote a trace with its attachment path, so this relative directory is the exact mark
|
|
471
|
+
* binding THIS artifact to the test that wrote it, with no join by spec line needed
|
|
472
|
+
* ({@link ./playwright-report.js}).
|
|
473
|
+
*
|
|
474
|
+
* Absent on traces read before this field existed.
|
|
475
|
+
*/
|
|
476
|
+
dir?: string;
|
|
465
477
|
}
|
|
466
478
|
/** How many traces one read reports, newest first. */
|
|
467
479
|
export declare const MAX_TRACE_ARTIFACTS = 12;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trace-artifacts.d.ts","sourceRoot":"","sources":["../src/trace-artifacts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;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AAM,GAAG,IAAI,CA+gBf;AAaD;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAG9D;AAED,iFAAiF;AACjF,eAAO,MAAM,oBAAoB,8BAA8B,CAAA;AAwG/D,oGAAoG;AACpG,MAAM,WAAW,qBAAqB;IACpC,0BAA0B;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,4EAA4E;IAC5E,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE;IAChD,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;CAC5C,GAAG,OAAO,CAAC,qBAAqB,CAAC,CA0BjC"}
|
package/dist/trace-artifacts.js
CHANGED
|
@@ -2170,6 +2170,7 @@ export function parseTraceArtifacts(stdout) {
|
|
|
2170
2170
|
out.push({
|
|
2171
2171
|
spec: typeof raw.spec === 'string' ? raw.spec : null,
|
|
2172
2172
|
line: typeof raw.line === 'number' ? raw.line : 0,
|
|
2173
|
+
...(typeof raw.dir === 'string' && raw.dir !== '' ? { dir: raw.dir } : {}),
|
|
2173
2174
|
requests: requests
|
|
2174
2175
|
.map(parseTraceRequest)
|
|
2175
2176
|
.filter((request) => request !== null),
|
package/dist/utilities.d.ts
CHANGED
|
@@ -57,6 +57,19 @@ export declare function redactSecrets(s: string): string;
|
|
|
57
57
|
* @returns A redacted copy that preserves ordinary code verbatim.
|
|
58
58
|
*/
|
|
59
59
|
export declare function redactSecretsInCode(s: string): string;
|
|
60
|
+
/**
|
|
61
|
+
* The redaction mask `next` adds over `previous`, or null when it adds none.
|
|
62
|
+
*
|
|
63
|
+
* `previous` is the file's previous content for `write_file`, and the replacement's own
|
|
64
|
+
* `old_string` for `edit_file` — an edit that carries an existing mask through (a file that
|
|
65
|
+
* already had one, read back and rewritten) adds no occurrence. A new occurrence may
|
|
66
|
+
* be copied output or intentional source; the caller declares the latter explicitly.
|
|
67
|
+
*
|
|
68
|
+
* @param next - The content about to be written (or the replacement's `new_string`).
|
|
69
|
+
* @param previous - The content it replaces, already on disk (or the `old_string`).
|
|
70
|
+
* @returns The added mask as written (`'[REDACTED]'`, `"[REDACTED]"`, `=[REDACTED]`), or null.
|
|
71
|
+
*/
|
|
72
|
+
export declare function addedRedactionMask(next: string, previous: string): string | null;
|
|
60
73
|
/**
|
|
61
74
|
* Whether a shell command only PRINTS source files (`cat a.tsx`, `sed -n '1,40p' x.ts`,
|
|
62
75
|
* `head -50 b.hurl`): its output is file content and gets the code-safe redaction, like
|
|
@@ -68,6 +81,30 @@ export declare function redactSecretsInCode(s: string): string;
|
|
|
68
81
|
* @returns True when the command prints source files, with only literal headings and filters.
|
|
69
82
|
*/
|
|
70
83
|
export declare function printsOnlySource(command: string): boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Whether a shell command only INSPECTS the workspace WITHOUT printing a file's contents:
|
|
86
|
+
* it prints source files (a pure literal read, {@link printsOnlySource}), lists names
|
|
87
|
+
* (`ls`, `find`), or counts lines (`wc`) — joined by `;`, `&&` or `|`, with literal
|
|
88
|
+
* `echo`/`printf` headings and `cd`.
|
|
89
|
+
*
|
|
90
|
+
* Its output is code or names, not an env dump, so it gets the code-safe redaction
|
|
91
|
+
* ({@link redactSecretsInCode}) instead of the name-keyed env-dump passes. Without this,
|
|
92
|
+
* ordinary code values such as `tokenKey: 'jwtToken'` in a mixed source read and
|
|
93
|
+
* `ls | head` command would be masked by the environment-dump rules.
|
|
94
|
+
*
|
|
95
|
+
* A RECURSIVE SEARCH IS NOT INSPECTION (`grep -rn x .`, `rg x src/`): its output is the
|
|
96
|
+
* content of whichever files matched, including `.env` files and JSON secret dumps, so it
|
|
97
|
+
* keeps the full grade. A path with no extension is not evidence that it is a directory —
|
|
98
|
+
* `/dev/stdin` and an ordinary `secrets` file read the same way.
|
|
99
|
+
*
|
|
100
|
+
* Env dumps keep the full grade: `.env` anywhere in the command, `env`/`printenv`, a
|
|
101
|
+
* non-literal or redirecting form, and an interpreter one-liner (`node -e`, `python -c`)
|
|
102
|
+
* all return false.
|
|
103
|
+
*
|
|
104
|
+
* @param command - The shell command.
|
|
105
|
+
* @returns True when the command only reads or lists workspace content.
|
|
106
|
+
*/
|
|
107
|
+
export declare function isReadOnlyInspection(command: string): boolean;
|
|
71
108
|
/**
|
|
72
109
|
* Whether a path is an env file, for which {@link redactSecrets}' full env-dump
|
|
73
110
|
* treatment is appropriate rather than {@link redactSecretsInCode}. Matches
|
|
@@ -196,14 +233,47 @@ export declare const PLAYWRIGHT_FAILURES_INLINE_ENV = "PLAYWRIGHT_LIST_PRINT_FAI
|
|
|
196
233
|
* excludes by name ({@link DiagnosisRunContext}). A `--grep-invert` of exactly those is the
|
|
197
234
|
* request's own scope, not a diagnosis, so it keeps the suite's retries on a deployed proof
|
|
198
235
|
* (xr-molecule-flash-m170 +33:16).
|
|
199
|
-
* @
|
|
200
|
-
*
|
|
201
|
-
|
|
202
|
-
|
|
236
|
+
* @param reportPath - Where this run should write Playwright's standard `json` report, when the
|
|
237
|
+
* caller keeps one ({@link ./playwright-report.js}). The reporter is added to the run's own
|
|
238
|
+
* reporter set, never in place of one, and its output goes to that file through
|
|
239
|
+
* `PLAYWRIGHT_JSON_OUTPUT_FILE` — so the log, the executors' own reporters and every verdict
|
|
240
|
+
* stay exactly as they are. Omitted, or a run whose reporter set is not this function's to place
|
|
241
|
+
* (already names `json`, sets the variable itself, or whose runner cannot be located), leaves
|
|
242
|
+
* the command untouched and the result's `reportPath` unset.
|
|
243
|
+
* @returns The command to run, one sentence per change made (empty when none), and the report path
|
|
244
|
+
* when one was actually wired — or `error` when the command starts the suite more than once.
|
|
245
|
+
*/
|
|
246
|
+
export declare function streamingBackgroundCommand(command: string, context?: DiagnosisRunContext, reportPath?: string): {
|
|
203
247
|
command: string;
|
|
204
248
|
changes: string[];
|
|
249
|
+
reportPath?: string;
|
|
205
250
|
error?: string;
|
|
206
251
|
};
|
|
252
|
+
/**
|
|
253
|
+
* Put Playwright's standard `json` report on a FOREGROUND run that already names its own reporters.
|
|
254
|
+
*
|
|
255
|
+
* A background run is rewritten onto the platform's reporter anyway ({@link
|
|
256
|
+
* streamingBackgroundCommand}), so adding the machine report there costs nothing. A foreground run
|
|
257
|
+
* is not: its reporters are either the command's own flags or the suite's config, and replacing a
|
|
258
|
+
* config reporter would stop writing the artifact the executor configured. So this only ever
|
|
259
|
+
* APPENDS `json` to a `--reporter` set the command already wrote — the log keeps every printing
|
|
260
|
+
* reporter it had, the executor's file reporters keep their place, and the standard report goes to
|
|
261
|
+
* {@link PLAYWRIGHT_REPORT_ENV}'s file.
|
|
262
|
+
*
|
|
263
|
+
* A command that names no reporter at all is left exactly as written: its reporters are the suite
|
|
264
|
+
* config's, and this tool does not rewrite those. A command that already names `json`, or sets
|
|
265
|
+
* `PLAYWRIGHT_JSON_OUTPUT_FILE` itself, already has a report of its own — a path the executor chose
|
|
266
|
+
* is never overwritten.
|
|
267
|
+
*
|
|
268
|
+
* @param command - The command the executor sent, after every other rewrite.
|
|
269
|
+
* @param reportPath - The file this run's machine report should be written to.
|
|
270
|
+
* @returns The command to run and the report path when one was wired; `reportPath` is null when the
|
|
271
|
+
* run was left untouched and no report may be expected.
|
|
272
|
+
*/
|
|
273
|
+
export declare function withPlaywrightRunReport(command: string, reportPath: string): {
|
|
274
|
+
command: string;
|
|
275
|
+
reportPath: string | null;
|
|
276
|
+
};
|
|
207
277
|
/**
|
|
208
278
|
* Every statement of a command that starts a whole test suite, in command order.
|
|
209
279
|
*
|
|
@@ -346,6 +416,10 @@ export interface SuiteFilterStrip {
|
|
|
346
416
|
* tail, and a 95-second walk's log held only the tally while the platform's own hold had handed
|
|
347
417
|
* that command back).
|
|
348
418
|
*
|
|
419
|
+
* The command around the dropped stages is left as written: a group they sit in keeps its closer
|
|
420
|
+
* (`( … | tail -25)` → `( … )`, never `( …` — xr-molecule-flash-m418 +23:31), and a stage the cut
|
|
421
|
+
* would leave a closer dangling inside is not dropped at all.
|
|
422
|
+
*
|
|
349
423
|
* @param command - The shell command.
|
|
350
424
|
* @returns The rewritten command and the stages dropped.
|
|
351
425
|
*/
|
package/dist/utilities.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../src/utilities.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAYH,OAAO,EAAsB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAE3E,OAAO,EACL,KAAK,mBAAmB,EAExB,KAAK,aAAa,EAMnB,MAAM,oBAAoB,CAAA;AAE3B;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAS5C;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,GAAG,MAAM,KAAG,MAEE,CAAA;AAuGhD;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAK/C;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAErD;AA0ED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAwEzD;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAGnD;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,GAAG,MAAM,CAUpF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAElE;AAED;;;;;;;;;;;;;;;;;;;G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