donobu 3.19.0 → 3.19.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.
@@ -188,11 +188,11 @@ async function getFlowAsAiPlaywrightScript(flowMetadata, toolCalls, options) {
188
188
  // specially.
189
189
  const specialCaseGoto = firstToolCall.name === GoToWebpageTool_1.GoToWebpageTool.NAME && remaingToolCalls.length > 0;
190
190
  const cachePath = (0, cacheLocator_1.relativePageAiCachePathForSource)(node_path_1.default.join('tests', getTestFileName(flowMetadata)));
191
- const gptSetupNote = ` * This test replays a recorded Donobu flow via \`page.act(...)\` using the cached
192
- * tool calls stored for this spec in \`${cachePath}\`. If the cache entry
193
- * is missing or the parameters change, the run falls back to autonomous mode
194
- * and will require a GPT API key (e.g. OPENAI_API_KEY, ANTHROPIC_API_KEY, or
195
- * GOOGLE_GENERATIVE_AI_API_KEY).
191
+ const gptSetupNote = ` * This test replays a recorded Donobu flow via \`page.ai(...)\` using the cached
192
+ * tool calls stored for this spec in \`${cachePath}\`.
193
+ * If the cache entry is missing or the parameters change, the run falls back
194
+ * to autonomous mode and will require a GPT API key (e.g. DONOBU_API_KEY,
195
+ * OPENAI_API_KEY, ANTHROPIC_API_KEY, or GOOGLE_GENERATIVE_AI_API_KEY).
196
196
  `;
197
197
  const testName = flowMetadata.name
198
198
  ? flowMetadata.name
@@ -188,11 +188,11 @@ async function getFlowAsAiPlaywrightScript(flowMetadata, toolCalls, options) {
188
188
  // specially.
189
189
  const specialCaseGoto = firstToolCall.name === GoToWebpageTool_1.GoToWebpageTool.NAME && remaingToolCalls.length > 0;
190
190
  const cachePath = (0, cacheLocator_1.relativePageAiCachePathForSource)(node_path_1.default.join('tests', getTestFileName(flowMetadata)));
191
- const gptSetupNote = ` * This test replays a recorded Donobu flow via \`page.act(...)\` using the cached
192
- * tool calls stored for this spec in \`${cachePath}\`. If the cache entry
193
- * is missing or the parameters change, the run falls back to autonomous mode
194
- * and will require a GPT API key (e.g. OPENAI_API_KEY, ANTHROPIC_API_KEY, or
195
- * GOOGLE_GENERATIVE_AI_API_KEY).
191
+ const gptSetupNote = ` * This test replays a recorded Donobu flow via \`page.ai(...)\` using the cached
192
+ * tool calls stored for this spec in \`${cachePath}\`.
193
+ * If the cache entry is missing or the parameters change, the run falls back
194
+ * to autonomous mode and will require a GPT API key (e.g. DONOBU_API_KEY,
195
+ * OPENAI_API_KEY, ANTHROPIC_API_KEY, or GOOGLE_GENERATIVE_AI_API_KEY).
196
196
  `;
197
197
  const testName = flowMetadata.name
198
198
  ? flowMetadata.name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "donobu",
3
- "version": "3.19.0",
3
+ "version": "3.19.1",
4
4
  "description": "Create browser automations with an LLM agent and replay them as Playwright scripts.",
5
5
  "main": "dist/main.js",
6
6
  "module": "dist/esm/main.js",