mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-21 12:55:09 +00:00
* fix: use source files for agent-sdk during development Export src/index.ts directly in workspace mode so the server can import without requiring a build step. publishConfig overrides exports to use dist/ when publishing to npm. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: onboarding try it * fix: summarize current page * fix: ask browser os opens in agent mode --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
66 lines
1.6 KiB
JSON
66 lines
1.6 KiB
JSON
{
|
|
"name": "@browseros-ai/agent-sdk",
|
|
"version": "0.0.5",
|
|
"description": "Browser automation SDK for BrowserOS - navigate, interact, extract data with natural language",
|
|
"type": "module",
|
|
"license": "AGPL-3.0-or-later",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/browseros-ai/BrowserOS.git",
|
|
"directory": "packages/agent-sdk"
|
|
},
|
|
"homepage": "https://github.com/browseros-ai/BrowserOS#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/browseros-ai/BrowserOS/issues"
|
|
},
|
|
"keywords": [
|
|
"browseros",
|
|
"browser-automation",
|
|
"web-scraping",
|
|
"ai-agent",
|
|
"natural-language",
|
|
"sdk"
|
|
],
|
|
"scripts": {
|
|
"build": "bunup && typedoc --json dist/api.json src/index.ts --excludePrivate",
|
|
"test": "bun test",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepublishOnly": "bun run build"
|
|
},
|
|
"main": "./src/index.ts",
|
|
"module": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./api.json": "./dist/api.json"
|
|
},
|
|
"publishConfig": {
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./api.json": "./dist/api.json"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"eventsource-parser": "^3.0.6",
|
|
"zod-to-json-schema": "^3.24.1"
|
|
},
|
|
"peerDependencies": {
|
|
"zod": "^3.x"
|
|
},
|
|
"devDependencies": {
|
|
"@browseros/shared": "workspace:*",
|
|
"bunup": "^0.16.17",
|
|
"typedoc": "^0.28.15"
|
|
}
|
|
}
|