@molecule/api-ai-tools 1.16.0 → 1.16.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/README.md CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-10-31T01:10:46.602Z
6
+ Generated: 2026-11-03T19:00:07.291Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-ai-tools
@@ -4718,10 +4718,10 @@ function missingHeaderNote(log: string, pageErrors?: readonly CausePageErrors[])
4718
4718
 
4719
4719
  **Returns:** The sentence, or null when the failures do not share a missing landmark.
4720
4720
 
4721
- #### `failureCausesNote(log, excluded, run)`
4721
+ #### `failureCausesNote(log, excluded, run, pageErrors, regressedSpecs, displayedLog)`
4722
4722
 
4723
- The one-line-per-cause summary of a finished run's failures, or null when the run named fewer
4724
- than two of them.
4723
+ The one-line-per-cause summary of a run's failures, or null when the run named none,
4724
+ or named one in a short log returned whole to the reader.
4725
4725
 
4726
4726
  This is what makes a run worth finishing: every cause the run found, in the result the
4727
4727
  executor reads, so one round of fixes covers all of them rather than the one cause a run
@@ -4752,12 +4752,16 @@ function failureCausesNote(
4752
4752
  },
4753
4753
  pageErrors?: readonly CausePageErrors[],
4754
4754
  regressedSpecs?: readonly string[],
4755
+ displayedLog?: string,
4755
4756
  ): string | null
4756
4757
  ```
4757
4758
 
4758
- - `log` — The finished run's output.
4759
+ - `log` — The diagnostic log, which may be a running or explicitly clipped read.
4759
4760
  - `excluded` — The test titles the request carves out, if the caller knows them.
4760
4761
  - `run` — How the run was started, when the caller knows it: the narrowed re-run is built from `command`/`cwd`/`config`/`env`, and `log` (the path the output was written to) is what the "left out" sentence greps when more causes exist than the result has room for.
4762
+ - `pageErrors` — Page evidence for the tests whose failures are being summarized.
4763
+ - `regressedSpecs` — Specs whose selector contracts were broken by subsequent edits.
4764
+ - `displayedLog` — The log text returned to the reader, when different from the diagnostic log (for example a running task's failure headings and tail). A short diagnostic read does not prove that this separate display delivered its error, so it also gets a single recap.
4761
4765
 
4762
4766
  **Returns:** The note, or null.
4763
4767
 
@@ -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;AA2B9C,OAAO,EAIL,KAAK,mBAAmB,EAEzB,MAAM,wBAAwB,CAAA;AAsC/B;;;;;;;;;;GAUG;AACH,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,KAAK,CAAC,EACnD,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GACjC,OAAO,CAAC,mBAAmB,CAAC,CAmB9B;AAuLD;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,eAAe,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAahG;AAwdD,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAkInE;;;GAGG;AACH,eAAO,MAAM,iBAAiB,QAEA,CAAA;AAE9B;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,wBAAwB,QAI6C,CAAA;AA0DlF;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAUhE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAGtE;AAED;;;;;;;;;;;;GAYG;AACH,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BAAgB,EAAE,MAAM,CAAC,EAAE,eAAe,GAAG,MAAM,EAAE,CA6pGxF"}
package/dist/tools.js CHANGED
@@ -1290,6 +1290,48 @@ export function buildTools(backend, config) {
1290
1290
  result = redactSecrets(result);
1291
1291
  return result;
1292
1292
  }
1293
+ /**
1294
+ * Build a finished command's causes before either output cut, using the same request scope
1295
+ * and redaction for foreground, quick detached completions and completed waits.
1296
+ *
1297
+ * @param output - The command's whole diagnostic output.
1298
+ * @param run - The original invocation and log path, when known.
1299
+ * @returns A sanitized recap, or null when no recap is needed.
1300
+ */
1301
+ async function finishedFailureCauses(output, run) {
1302
+ const excluded = excludedTestTitles?.() ?? [];
1303
+ let note = failureCausesNote(output, excluded, run);
1304
+ if (note === null)
1305
+ return null;
1306
+ let env = [];
1307
+ if (run && requiredSuiteEnv) {
1308
+ try {
1309
+ env = (await requiredSuiteEnv(run.command, run.cwd)) ?? [];
1310
+ }
1311
+ catch (_error) {
1312
+ // Request context is optional; an unreadable context leaves the original invocation.
1313
+ }
1314
+ }
1315
+ if (run && env.length > 0)
1316
+ note = failureCausesNote(output, excluded, { ...run, env });
1317
+ return note === null ? null : sanitizeOutput(note);
1318
+ }
1319
+ /**
1320
+ * Keep a bounded failure recap whole when execution advice shares its result.
1321
+ *
1322
+ * @param notes - The result's notes, in their original order.
1323
+ * @param causes - The failure recap, when present among the notes.
1324
+ * @returns The note fields, separating execution advice if combining it would cut a re-run.
1325
+ */
1326
+ function finishedNotes(notes, causes) {
1327
+ const present = notes.filter((note) => Boolean(note));
1328
+ if (present.length === 0)
1329
+ return {};
1330
+ const note = present.join(' ');
1331
+ return causes !== null && note.length > TOOL_RESULT_CHARS
1332
+ ? { note: causes, executionNote: present.filter((part) => part !== causes).join(' ') }
1333
+ : { note };
1334
+ }
1293
1335
  /**
1294
1336
  * Sanitize FILE CONTENT for return to the model. Unlike {@link sanitizeOutput},
1295
1337
  * this uses the code-safe redactor for ordinary source files — the name-keyed
@@ -3049,6 +3091,11 @@ export function buildTools(backend, config) {
3049
3091
  const graceReport = streaming.reportPath === undefined
3050
3092
  ? null
3051
3093
  : await readPlaywrightRunReport(backend, streaming.reportPath, sanitizeOutput);
3094
+ const causes = await finishedFailureCauses(output, {
3095
+ command: streaming.command,
3096
+ cwd,
3097
+ log: ownFile ?? log,
3098
+ });
3052
3099
  if (cut) {
3053
3100
  return {
3054
3101
  stdout,
@@ -3071,6 +3118,7 @@ export function buildTools(backend, config) {
3071
3118
  ? SUITE_OVER_BUDGET_ADVICE
3072
3119
  : SPLIT_WORK_ADVICE}`),
3073
3120
  ...(graceReport === null ? {} : { runReport: graceReport }),
3121
+ ...(causes === null ? {} : { note: causes }),
3074
3122
  };
3075
3123
  }
3076
3124
  // The exit file holds the PIPELINE's code: when a stage this rewrite could not
@@ -3091,6 +3139,7 @@ export function buildTools(backend, config) {
3091
3139
  ...(budgetNote ? [budgetNote] : []),
3092
3140
  ...streaming.changes,
3093
3141
  ...(exitNote === null ? [] : [exitNote]),
3142
+ ...(causes === null ? [] : [causes]),
3094
3143
  ];
3095
3144
  return {
3096
3145
  stdout,
@@ -3098,7 +3147,7 @@ export function buildTools(backend, config) {
3098
3147
  exitCode: reported,
3099
3148
  ...(pipeNote === null ? {} : { exitCodeNote: pipeNote }),
3100
3149
  ...(output.length > MAX_OUTPUT_SIZE ? { truncated: true, fullOutput: log } : {}),
3101
- ...(notes.length ? { note: notes.join(' ') } : {}),
3150
+ ...finishedNotes(notes, causes),
3102
3151
  ...suiteBudgetField(budget),
3103
3152
  ...(graceReport === null ? {} : { runReport: graceReport }),
3104
3153
  };
@@ -3217,6 +3266,9 @@ export function buildTools(backend, config) {
3217
3266
  : sanitizeOutput;
3218
3267
  const stdout = grade(truncateMiddle(result.stdout, MAX_OUTPUT_SIZE));
3219
3268
  const stderr = sanitizeOutput(truncateMiddle(result.stderr, MAX_OUTPUT_SIZE));
3269
+ const causes = isSuiteRunCommand(command)
3270
+ ? await finishedFailureCauses(`${result.stdout}\n${result.stderr}`, { command, cwd })
3271
+ : null;
3220
3272
  // Whether the stdout above is a middle cut of what the command printed. Said on the
3221
3273
  // result because a reader that records what this call DELIVERED cannot otherwise tell
3222
3274
  // a whole file from a holed one, and must not point at a holed output as "already
@@ -3275,6 +3327,7 @@ export function buildTools(backend, config) {
3275
3327
  : SPLIT_WORK_ADVICE),
3276
3328
  ...(runReport === null ? {} : { runReport }),
3277
3329
  ...(stdoutTruncated ? { stdoutTruncated: true } : {}),
3330
+ ...(causes === null ? {} : { note: causes }),
3278
3331
  };
3279
3332
  }
3280
3333
  // A pipeline reports its LAST stage's code: `tsc | head` says 0 beside a printed type
@@ -3289,11 +3342,7 @@ export function buildTools(backend, config) {
3289
3342
  ...(exitCodeNote === null ? {} : { exitCodeNote }),
3290
3343
  ...(peekedTask?.slice.trim() ? { outputSoFar: sanitizeOutput(peekedTask.slice) } : {}),
3291
3344
  ...suiteBudgetField(budget),
3292
- ...(sleepNote || ceilingNote || traced.change || budgetNote
3293
- ? {
3294
- note: [sleepNote, ceilingNote, traced.change, budgetNote].filter(Boolean).join(' '),
3295
- }
3296
- : {}),
3345
+ ...finishedNotes([sleepNote, ceilingNote, traced.change, budgetNote, causes], causes),
3297
3346
  ...(runReport === null ? {} : { runReport }),
3298
3347
  ...(stdoutTruncated ? { stdoutTruncated: true } : {}),
3299
3348
  };
@@ -3878,15 +3927,12 @@ export function buildTools(backend, config) {
3878
3927
  // configuration again (m182: the request names `TEST_MODE=fullstack`, the run and its
3879
3928
  // re-run both omitted it, and the walk measured the `spa` suite). The consumer's reading,
3880
3929
  // asked once per finished run; a failure to read answers "nothing required".
3881
- const requiredEnv = run && requiredSuiteEnv
3882
- ? ((await requiredSuiteEnv(run.command, run.cwd).catch(() => [])) ?? [])
3883
- : [];
3884
3930
  // The tests the request excludes are not causes to fix, and the re-run below inverts them
3885
3931
  // out — a result must never ask the executor to fix a test it also says does not count.
3886
3932
  // The log's own path rides along so a recap that leaves causes out can hand over the ONE
3887
3933
  // grep that prints their bodies: the stdout above is cut in the middle, so the log is where
3888
3934
  // they still are whole.
3889
- const causes = failureCausesNote(output, excludedTestTitles?.() ?? [], run ? { ...run, log: ownFile ?? log, env: requiredEnv } : undefined);
3935
+ const causes = await finishedFailureCauses(output, run ? { ...run, log: ownFile ?? log } : undefined);
3890
3936
  // A backgrounded run is under no tool budget, and the exit file hands back the PIPELINE's
3891
3937
  // code — so a suite killed at a `timeout 280` the command carried behind a `| tail` reports
3892
3938
  // 0 here too. The run's start is in its own id ({@link taskStartedAt}), so the bound it used
@@ -3906,7 +3952,7 @@ export function buildTools(backend, config) {
3906
3952
  exitCode: cut.exitCode,
3907
3953
  waitedMs,
3908
3954
  cutRun: cut,
3909
- note: [cutRunSentence(cut), causes].filter((n) => Boolean(n)).join(' '),
3955
+ ...finishedNotes([cutRunSentence(cut), causes], causes),
3910
3956
  stdout: sanitizeOutput(truncateMiddle(output, MAX_OUTPUT_SIZE)),
3911
3957
  ...(output.length > MAX_OUTPUT_SIZE ? { truncated: true, fullOutput: log } : {}),
3912
3958
  ...(runReport === null ? {} : { runReport }),
@@ -3940,13 +3986,7 @@ export function buildTools(backend, config) {
3940
3986
  status: 'completed',
3941
3987
  exitCode: reported,
3942
3988
  waitedMs,
3943
- ...(causes || noCodeNote || endedNote
3944
- ? {
3945
- note: [causes, noCodeNote, endedNote]
3946
- .filter((n) => Boolean(n))
3947
- .join(' '),
3948
- }
3949
- : {}),
3989
+ ...finishedNotes([causes, noCodeNote, endedNote], causes),
3950
3990
  stdout: sanitizeOutput(truncateMiddle(output, MAX_OUTPUT_SIZE)),
3951
3991
  ...(output.length > MAX_OUTPUT_SIZE ? { truncated: true, fullOutput: log } : {}),
3952
3992
  ...(runReport === null ? {} : { runReport }),
@@ -1417,8 +1417,8 @@ export declare function requiredLandmark(selector: string): RequiredLandmark | n
1417
1417
  */
1418
1418
  export declare function missingHeaderNote(log: string, pageErrors?: readonly CausePageErrors[]): string | null;
1419
1419
  /**
1420
- * The one-line-per-cause summary of a finished run's failures, or null when the run named fewer
1421
- * than two of them.
1420
+ * The one-line-per-cause summary of a run's failures, or null when the run named none,
1421
+ * or named one in a short log returned whole to the reader.
1422
1422
  *
1423
1423
  * This is what makes a run worth finishing: every cause the run found, in the result the
1424
1424
  * executor reads, so one round of fixes covers all of them rather than the one cause a run
@@ -1436,11 +1436,16 @@ export declare function missingHeaderNote(log: string, pageErrors?: readonly Cau
1436
1436
  * configuration failure, said in one line ({@link noBaseUrlConfigNote}) rather than a list that
1437
1437
  * reads as ten defects in the app.
1438
1438
  *
1439
- * @param log - The finished run's output.
1439
+ * @param log - The diagnostic log, which may be a running or explicitly clipped read.
1440
1440
  * @param excluded - The test titles the request carves out, if the caller knows them.
1441
1441
  * @param run - How the run was started, when the caller knows it: the narrowed re-run is built
1442
1442
  * from `command`/`cwd`/`config`/`env`, and `log` (the path the output was written to) is what
1443
1443
  * the "left out" sentence greps when more causes exist than the result has room for.
1444
+ * @param pageErrors - Page evidence for the tests whose failures are being summarized.
1445
+ * @param regressedSpecs - Specs whose selector contracts were broken by subsequent edits.
1446
+ * @param displayedLog - The log text returned to the reader, when different from the diagnostic
1447
+ * log (for example a running task's failure headings and tail). A short diagnostic read does
1448
+ * not prove that this separate display delivered its error, so it also gets a single recap.
1444
1449
  * @returns The note, or null.
1445
1450
  */
1446
1451
  export declare function failureCausesNote(log: string, excluded?: readonly string[], run?: {
@@ -1456,7 +1461,7 @@ export declare function failureCausesNote(log: string, excluded?: readonly strin
1456
1461
  * the failure alone would certify a tree it never measured, and the specs selecting the
1457
1462
  * element the edit removed were never walked (a real tree shipped that).
1458
1463
  */
1459
- regressedSpecs?: readonly string[]): string | null;
1464
+ regressedSpecs?: readonly string[], displayedLog?: string): string | null;
1460
1465
  /**
1461
1466
  * The command that re-runs the tests at `locations` the way the run IN FLIGHT ran them: the same
1462
1467
  * invocation, in the same directory, narrowed to those tests — or null when the running command
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../src/utilities.ts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to find instead of repeating the mistake.
4028
4028
  const rerun = run && config ? rerunOfRunningSuite(run, locations, excluded) : null;
4029
4029
  const command = rerun ?? (run && config ? withSuiteConfig(run.command, config) : null);
4030
- return (`Every one of these ${total} failures is the same configuration failure, not a result about ` +
4030
+ return boundedFailureRecap((total === 1
4031
+ ? 'This failure is a configuration failure, not a result about '
4032
+ : `Every one of these ${total} failures is the same configuration failure, not a result about `) +
4031
4033
  `the app: the run loaded no base URL, so every \`page.goto\` was refused with ` +
4032
4034
  `\`Cannot navigate to invalid URL\` before a page opened. Nothing here is a defect to fix. ` +
4033
4035
  (config
@@ -4035,7 +4037,9 @@ function noBaseUrlConfigNote(causes, run, excluded) {
4035
4037
  `it; this command left it out. `
4036
4038
  : 'The app’s own Playwright config (the one that sets `use.baseURL`) has to be passed ' +
4037
4039
  'with `--config`; this command names none. ') +
4038
- (command ? `Send exactly this: \`${command}\`` : ''));
4040
+ (command !== null && command.length > FAILURE_CAUSES_CHARS && locations.length > 0
4041
+ ? `Failing tests: ${locations.join(', ')}. `
4042
+ : ''), failureRerunSentence(command, 'Send exactly this: '));
4039
4043
  }
4040
4044
  /**
4041
4045
  * A selector that names the page's navigation landmark: the `nav` tag, a `navbar`/`nav-*` class,
@@ -4210,8 +4214,8 @@ export function missingHeaderNote(log, pageErrors = []) {
4210
4214
  return null;
4211
4215
  }
4212
4216
  /**
4213
- * The one-line-per-cause summary of a finished run's failures, or null when the run named fewer
4214
- * than two of them.
4217
+ * The one-line-per-cause summary of a run's failures, or null when the run named none,
4218
+ * or named one in a short log returned whole to the reader.
4215
4219
  *
4216
4220
  * This is what makes a run worth finishing: every cause the run found, in the result the
4217
4221
  * executor reads, so one round of fixes covers all of them rather than the one cause a run
@@ -4229,11 +4233,16 @@ export function missingHeaderNote(log, pageErrors = []) {
4229
4233
  * configuration failure, said in one line ({@link noBaseUrlConfigNote}) rather than a list that
4230
4234
  * reads as ten defects in the app.
4231
4235
  *
4232
- * @param log - The finished run's output.
4236
+ * @param log - The diagnostic log, which may be a running or explicitly clipped read.
4233
4237
  * @param excluded - The test titles the request carves out, if the caller knows them.
4234
4238
  * @param run - How the run was started, when the caller knows it: the narrowed re-run is built
4235
4239
  * from `command`/`cwd`/`config`/`env`, and `log` (the path the output was written to) is what
4236
4240
  * the "left out" sentence greps when more causes exist than the result has room for.
4241
+ * @param pageErrors - Page evidence for the tests whose failures are being summarized.
4242
+ * @param regressedSpecs - Specs whose selector contracts were broken by subsequent edits.
4243
+ * @param displayedLog - The log text returned to the reader, when different from the diagnostic
4244
+ * log (for example a running task's failure headings and tail). A short diagnostic read does
4245
+ * not prove that this separate display delivered its error, so it also gets a single recap.
4237
4246
  * @returns The note, or null.
4238
4247
  */
4239
4248
  export function failureCausesNote(log, excluded = [], run, pageErrors = [],
@@ -4243,10 +4252,14 @@ export function failureCausesNote(log, excluded = [], run, pageErrors = [],
4243
4252
  * the failure alone would certify a tree it never measured, and the specs selecting the
4244
4253
  * element the edit removed were never walked (a real tree shipped that).
4245
4254
  */
4246
- regressedSpecs = []) {
4255
+ regressedSpecs = [], displayedLog = log) {
4247
4256
  const { causes, ignored, flaky } = groupFailures(log, excluded, pageErrors);
4248
4257
  const total = causes.reduce((n, c) => n + c.tests.length, 0);
4249
- if (total < 2)
4258
+ // A short log needs no single recap only when it is also the displayed log. A long log MAY
4259
+ // lose the inline error to the host's middle cut; the 100 KB formatter may instead preserve
4260
+ // its failure blocks, and a mid-run caller displays a separate slice. Neither the log's length
4261
+ // nor a single failure establishes where the displayed output was cut.
4262
+ if (total === 0 || (total === 1 && log.length <= TOOL_RESULT_CHARS && displayedLog === log))
4250
4263
  return null;
4251
4264
  // One cause that is not in the app: every failure is the browser refusing a navigation with no
4252
4265
  // base URL. The list shape is what m113 read as ten causes, so it is never printed for this.
@@ -4271,7 +4284,7 @@ regressedSpecs = []) {
4271
4284
  // cause and it is the server — so the note leads with the browser's own line, not a fix round.
4272
4285
  const networkError = NETWORK_ERROR_TEXT.exec(log)?.[0];
4273
4286
  if (networkError !== undefined && everyCauseIsNavigationTimeout(causes)) {
4274
- return (`${total} failure${total === 1 ? '' : 's'} in this run, and every one is a \`page.goto\` ` +
4287
+ return boundedFailureRecap(`${total} failure${total === 1 ? '' : 's'} in this run, and every one is a \`page.goto\` ` +
4275
4288
  `that never loaded while the browser reported \`${networkError}\` — the document request ` +
4276
4289
  `itself failed, so none of these is the app’s code or a selector. Fix the server first` +
4277
4290
  (networkError === 'net::ERR_CONTENT_DECODING_FAILED'
@@ -4279,8 +4292,7 @@ regressedSpecs = []) {
4279
4292
  '`vite preview` over a build must be started with ' +
4280
4293
  '`MOL_E2E_PREVIEW_PLUGIN=0 npx vite preview --host 127.0.0.1 --port 4173 --strictPort`'
4281
4294
  : ' (what the run hit, and why it refused the connection)') +
4282
- (rerun ? `. Then send exactly this: \`${rerun}\`` : '') +
4283
- (locations.length > 0 ? `. Failing tests: ${locations.join(', ')}.` : ''));
4295
+ (locations.length > 0 ? `. Failing tests: ${locations.join(', ')}.` : ''), failureRerunSentence(rerun, '. Then send exactly this: '));
4284
4296
  }
4285
4297
  const ignoredTitles = [...new Set(ignored.map((t) => t.title || t.where).filter(Boolean))];
4286
4298
  const flakyTitles = [...new Set(flaky.map((t) => t.where || t.title).filter(Boolean))];
@@ -4291,7 +4303,7 @@ regressedSpecs = []) {
4291
4303
  const connections = causes.filter((cause) => cause.kind === 'connection');
4292
4304
  if (causes.length > 0 && connections.length === causes.length) {
4293
4305
  const at = [...new Set(connections.flatMap((c) => c.tests.map((t) => t.where)).filter(Boolean))];
4294
- return (`${total} failure${total === 1 ? '' : 's'} in this run, and every one is a CONNECTION error — ` +
4306
+ return boundedFailureRecap(`${total} failure${total === 1 ? '' : 's'} in this run, and every one is a CONNECTION error — ` +
4295
4307
  `the requests never reached the app, so nothing here is an app-code cause${at.length ? `: ${at.join(', ')}` : ''}. ` +
4296
4308
  `Send the same file${at.length === 1 ? '' : 's'} once more as ${at.length === 1 ? 'it is' : 'they are'}; ` +
4297
4309
  "if the failure repeats, read the app's own log (`read_logs`) — a connection error is never a " +
@@ -4318,17 +4330,19 @@ regressedSpecs = []) {
4318
4330
  `first ${clipped[1]} ${clipped[2]} were clipped, so a cause that failed earlier is ` +
4319
4331
  `missing here. Fix every cause below${connections.length > 0 ? ' the app’s code can produce, and re-send the connection error once as it is' : ''}, ` +
4320
4332
  `and read the whole run log before concluding:\n`
4321
- : `${total} failure${total === 1 ? '' : 's'} in this run, grouped by cause — fix every cause ` +
4322
- `below${connections.length > 0 ? ' the app’s code can produce, and re-send the connection error once as it is' : ' before the next deploy'}:\n`);
4333
+ : total === 1
4334
+ ? `1 failure in this run — fix this cause before the next deploy:\n`
4335
+ : `${total} failures in this run, grouped by cause — fix every cause ` +
4336
+ `below${connections.length > 0 ? ' the app’s code can produce, and re-send the connection error once as it is' : ' before the next deploy'}:\n`);
4323
4337
  // The flaky sentence sits before the ignored one: the ignored sentence is the LAST thing the
4324
4338
  // note says, and callers assert on that ending.
4325
- const tail = (rerun ? ` Re-run just these once they are fixed: \`${rerun}\`` : '') +
4339
+ const tail = failureRerunSentence(rerun, ' Re-run just these once they are fixed: ') +
4326
4340
  (flakyTitles.length
4327
4341
  ? ' Flaky (failed once, passed on the config retry — the runner counts these as flaky, not ' +
4328
- `as failures): ${flakyTitles.join(', ')}.`
4342
+ `as failures): ${failureTitlesRecap(flakyTitles)}.`
4329
4343
  : '') +
4330
4344
  (ignoredTitles.length
4331
- ? ` Ignored (excluded by the request): ${ignoredTitles.join(', ')}.`
4345
+ ? ` Ignored (excluded by the request): ${failureTitlesRecap(ignoredTitles)}.`
4332
4346
  : '') +
4333
4347
  (connections.length > 0
4334
4348
  ? ` The connection error is not app code: send that file once more as it is, and if it repeats, ` +
@@ -4350,7 +4364,59 @@ regressedSpecs = []) {
4350
4364
  lines.push(line);
4351
4365
  used += line.length + 1;
4352
4366
  }
4353
- return `${header}${lines.join('\n')}${omittedCausesRecap(causes.slice(lines.length), run, excluded)}${tail}`;
4367
+ const recap = `${header}${lines.join('\n')}${omittedCausesRecap(causes.slice(lines.length), run, excluded)}`;
4368
+ return boundedFailureRecap(recap, tail);
4369
+ }
4370
+ /**
4371
+ * Keep a recap and its complete re-run/annotations within the reader's string-field budget.
4372
+ *
4373
+ * @param recap - The error and diagnostic detail, shortened explicitly when necessary.
4374
+ * @param tail - The bounded command and annotations, reserved whole.
4375
+ * @returns The bounded note.
4376
+ */
4377
+ function boundedFailureRecap(recap, tail = '') {
4378
+ // One large signature or title can exceed the budget even on the first cause. Keep both ends
4379
+ // of that recap (error and location/evidence), reserving the complete re-run and annotations.
4380
+ const available = TOOL_RESULT_CHARS - tail.length;
4381
+ if (recap.length <= available)
4382
+ return `${recap}${tail}`;
4383
+ const marker = '\n… (recap shortened; read the full log for the remaining detail) …\n';
4384
+ const head = Math.floor((available - marker.length) * 0.6);
4385
+ return `${recap.slice(0, head)}${marker}${recap.slice(-(available - marker.length - head))}${tail}`;
4386
+ }
4387
+ /**
4388
+ * Deliver a complete narrowed command, or explicitly omit one too large for the recap's budget.
4389
+ *
4390
+ * @param command - The composed command, or null when no re-run can be composed.
4391
+ * @param prefix - The sentence introducing a usable command.
4392
+ * @returns The command sentence or an honest omission, never a partial shell command.
4393
+ */
4394
+ function failureRerunSentence(command, prefix) {
4395
+ if (command === null)
4396
+ return '';
4397
+ return command.length <= FAILURE_CAUSES_CHARS
4398
+ ? `${prefix}\`${command}\``
4399
+ : ' The narrowed re-run command was omitted to keep the recap within one tool result; ' +
4400
+ 'use the original invocation restricted to the failing locations.';
4401
+ }
4402
+ /**
4403
+ * Bound ancillary flaky/excluded names so they cannot displace the actionable error or re-run.
4404
+ *
4405
+ * @param titles - The deduplicated names or locations, in log order.
4406
+ * @returns Whole names that fit, followed by an explicit count of names left out.
4407
+ */
4408
+ function failureTitlesRecap(titles) {
4409
+ const kept = [];
4410
+ for (const title of titles) {
4411
+ if ([...kept, title].join(', ').length > 700)
4412
+ break;
4413
+ kept.push(title);
4414
+ }
4415
+ const omitted = titles.length - kept.length;
4416
+ return (kept.join(', ') +
4417
+ (omitted
4418
+ ? `${kept.length ? ', ' : ''}… (${omitted} ${kept.length ? 'more ' : ''}${omitted === 1 ? 'name' : 'names'} omitted)`
4419
+ : ''));
4354
4420
  }
4355
4421
  /**
4356
4422
  * One cause's line in a finished run's recap: its signature, the tests it hit, and the first
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-ai-tools",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "Shared AI agent tools with backend abstraction for sandbox and local execution",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",