@crewhaus/target-browser-driver 0.2.4 → 0.3.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/dist/index.js +6 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -147,10 +147,15 @@ function renderAgent(ir) {
|
|
|
147
147
|
const toolBootBlock = registrations.length > 0
|
|
148
148
|
? `\n${inits.length > 0 ? `${inits.join("\n")}\n` : ""}${registrations.join("\n")}\n`
|
|
149
149
|
: "";
|
|
150
|
+
// v0.3.0 — continuity is spec-carried on this shape but not emit-wired in
|
|
151
|
+
// 0.3.0 (only the five agent-loop shapes are). Surface it, 0.2.3-style.
|
|
152
|
+
const continuityWarning = ir.continuity !== undefined
|
|
153
|
+
? "// note: continuity configured but ignored on browser in 0.3.0\n"
|
|
154
|
+
: "";
|
|
150
155
|
return `#!/usr/bin/env bun
|
|
151
156
|
// Generated by crewhaus. DO NOT EDIT.
|
|
152
157
|
// Source spec: ${escapeJsonString(ir.name)} (target: browser, ir version: ${ir.version})
|
|
153
|
-
import { createDriver } from "@crewhaus/computer-use-driver";
|
|
158
|
+
${continuityWarning}import { createDriver } from "@crewhaus/computer-use-driver";
|
|
154
159
|
import { createNavigateTool } from "@crewhaus/tool-navigate";
|
|
155
160
|
import { createScreenshotTool } from "@crewhaus/tool-screen-capture";
|
|
156
161
|
import { createAllMouseKeyboardTools } from "@crewhaus/tool-mouse-keyboard";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewhaus/target-browser-driver",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Codegen for the BROW target — emits a single agent.ts that boots a chromium driver + vision-grounding tools (Section 25 BROW)",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"test": "bun test src"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@crewhaus/errors": "0.
|
|
19
|
-
"@crewhaus/infra-utils": "0.
|
|
20
|
-
"@crewhaus/ir": "0.
|
|
18
|
+
"@crewhaus/errors": "0.3.0",
|
|
19
|
+
"@crewhaus/infra-utils": "0.3.0",
|
|
20
|
+
"@crewhaus/ir": "0.3.0"
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"author": {
|