Files
ruflo/v3/@claude-flow/browser/package.json
T
ruv 3dbf6074aa fix(deps): #2048 — bump agentic-flow ^2.0.12 → ^2.0.13 (Windows onnxruntime lazy-load)
agentic-flow@2.0.13 moves the onnxruntime-node native binding load out of
module-import time and into an on-demand `loadOrt()` helper called from
`initializeSession()`. This fixes ruflo#2048 — `import('agentic-flow/reasoningbank')`
on Windows crashed with "OS cannot run %1" because router/providers/onnx-local.ts
used a top-level `await import('onnxruntime-node')` which forced the native binding
to load before any user code ran, even when the consumer never intended to run
local ONNX inference.

Upstream PR: ruvnet/agentic-flow#155
Upstream release: agentic-flow@2.0.13 (now `latest` on npm)

Changes
- root package.json + package-lock.json: ^2.0.12 → ^2.0.13
- v3/@claude-flow/browser/package.json + package-lock.json: ^2.0.12 → ^2.0.13
- v3/pnpm-lock.yaml: regen → resolves 2.0.13
- .github/supply-chain/follow-ups.md: mark #2048 as fixed, link upstream PR + this PR
- .github/supply-chain/accepted-findings.json: add fixedDirectly entry for 2.0.13

Verification
- root npm audit: 0 vulnerabilities
- supply-chain audit (5 layers): OK, no hard-fail findings
- @claude-flow/browser tests: 230 passed | 12 skipped
- ruflo-graph-intelligence tests: 104 passed
- Acceptance test (run against published 2.0.13):
    node -e "import('agentic-flow/reasoningbank').then(()=>console.log('OK'))"
    node -e "import('agentic-flow/router').then(()=>console.log('OK'))"
    Both succeed under default install AND under --omit=optional.

Follow-up CI guard (separate PR):
- Add Windows-runner smoke job that imports agentic-flow/reasoningbank under
  --omit=optional to lock the lazy-load contract.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-19 12:53:04 -04:00

82 lines
2.5 KiB
JSON

{
"name": "@claude-flow/browser",
"version": "3.0.0-alpha.4",
"description": "Browser automation for AI agents - integrates agent-browser with claude-flow swarms",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./mcp-tools": "./dist/mcp-tools/index.js",
"./skill": "./dist/skill/index.js",
"./agent": "./dist/agent/index.js"
},
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "vitest run tests/e2e",
"lint": "eslint src/",
"typecheck": "tsc --noEmit",
"postinstall": "node -e \"const{execSync}=require('child_process');try{execSync('agent-browser --version',{stdio:'ignore'});}catch{console.log('\\n📦 Installing agent-browser globally...');try{execSync('npm install -g agent-browser@latest',{stdio:'inherit'});console.log('✅ agent-browser installed successfully!');}catch(e){console.log('⚠️ Could not install agent-browser globally. Run manually:\\n npm install -g agent-browser@latest');}}\""
},
"dependencies": {
"agent-browser": "^0.27.0",
"agentic-flow": "^2.0.13",
"zod": "^3.22.4"
},
"overrides": {
"@opentelemetry/sdk-node": ">=0.218.0",
"@opentelemetry/auto-instrumentations-node": ">=0.75.0",
"@opentelemetry/exporter-prometheus": ">=0.217.0",
"@opentelemetry/core": "1.25.1",
"@opentelemetry/resources": "1.25.1",
"@opentelemetry/sdk-trace-base": "1.25.1",
"axios": ">=1.13.2",
"fast-uri": ">=3.1.0",
"hono": ">=4.11.4",
"@hono/node-server": ">=1.19.10",
"path-to-regexp": ">=8.2.1",
"undici": ">=7.18.0",
"minimatch": ">=10.0.0",
"@isaacs/brace-expansion": ">=5.0.1",
"picomatch": ">=4.0.3",
"flatted": ">=3.4.0",
"tar": ">=7.5.11",
"cacache": ">=20.0.0",
"make-fetch-happen": ">=15.0.0",
"express-rate-limit": ">=8.4.1",
"protobufjs": ">=7.5.5",
"vite": ">=6.4.6",
"ws": ">=8.18.4"
},
"peerDependencies": {
"@claude-flow/cli": ">=3.5.0"
},
"devDependencies": {
"@types/node": "^20.10.0",
"typescript": "^5.3.0",
"vitest": "^4.0.16"
},
"keywords": [
"browser",
"automation",
"ai-agent",
"claude-flow",
"playwright",
"web-scraping",
"testing"
],
"author": "ruvnet",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ruvnet/claude-flow.git",
"directory": "v3/@claude-flow/browser"
},
"engines": {
"node": ">=18.0.0"
}
}