@molecule/api-ai-tools 1.17.5 → 1.17.6

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.
@@ -1 +1 @@
1
- {"version":3,"file":"no-test-run.d.ts","sourceRoot":"","sources":["../src/no-test-run.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAkLH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAiB3D"}
1
+ {"version":3,"file":"no-test-run.d.ts","sourceRoot":"","sources":["../src/no-test-run.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAoLH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAiB3D"}
@@ -181,9 +181,11 @@ const NO_TEST_PROGRAMS = new Set([
181
181
  /**
182
182
  * A heredoc body is data a command writes, not what it runs: a `playwright test --list` inside
183
183
  * the config a command writes is not a run of this command either way. The pattern consumes the
184
- * writer's own line prefix, the same shape `outputRedirectTarget` reads.
184
+ * writer's own line prefix, the same shape `outputRedirectTarget` reads. Start only at a
185
+ * statement boundary: retrying that prefix at every character makes lines without heredocs
186
+ * quadratic (a 55 KiB comment delayed runner classification by seconds).
185
187
  */
186
- const HEREDOC = /[^\n;&|]*<<-?\s*(['"]?)(\w+)\1[\s\S]*?\n\s*\2\b/g;
188
+ const HEREDOC = /(?:^|(?<=[\n;&|]))[^\n;&|]*<<-?\s*(['"]?)(\w+)\1[\s\S]*?\n\s*\2\b/g;
187
189
  /**
188
190
  * Whether this runner's invocation — the text from just after its name to the end of its
189
191
  * segment ({@link commandSegments}) — only prints.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-ai-tools",
3
- "version": "1.17.5",
3
+ "version": "1.17.6",
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",