Files
BrowserOS/apps/server/package.json
Nikhil 47b9c1894d feat: implement agent-sdk (#145)
* feat: agent-sdk outline

* feat: unit tests for agent-sdk

* feat: implement /sdk routes

* feat: integration test for agent-sdk with server

* feat: ENV to disble headless mode for testing

* feat: act() integration test working

* chore: refactor package/shared to have constants/ and /types separately

* feat: verify() and extract() sdk APIs

* feat: extract() use remote endpoint for extraction

* feat: verify() implemented - lazy parsing to avoid strong schema checks

* fix: remove generateStructuredOutput as not models support it

* fix: clean-up LLM types and use zod schema

* fix: typecheck vitetest error

* fix: remove directly calling GeminiAgent in sdk act()

* fix: lefthook for refactor warning

* fix: refactor routes/sdk to move business logic out
2026-01-01 17:38:40 -08:00

66 lines
2.3 KiB
JSON

{
"name": "@browseros/server",
"version": "0.0.31",
"description": "BrowserOS server",
"type": "module",
"main": "./src/index.ts",
"bin": {
"browseros-server": "./src/index.ts"
},
"scripts": {
"start": "bun --env-file=.env.development src/index.ts",
"build": "bun ../../scripts/build_server.ts --mode=prod --target=all",
"test": "bun run test:cleanup && bun --env-file=.env.development test tests/tools tests/common",
"test:all": "bun run test:cleanup && bun --env-file=.env.development test",
"test:cdp": "bun run test:cleanup && bun --env-file=.env.development test tests/tools/cdp-based",
"test:controller": "bun run test:cleanup && bun --env-file=.env.development test tests/tools/controller-based",
"test:integration": "bun run test:cleanup && bun --env-file=.env.development test tests/server.integration.test.ts",
"test:sdk": "bun run test:cleanup && bun --env-file=.env.development test tests/sdk",
"test:cleanup": "./tests/__helpers__/cleanup.sh",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@browseros/shared": "workspace:*",
"@ai-sdk/amazon-bedrock": "^3.0.59",
"@ai-sdk/anthropic": "^2.0.47",
"@ai-sdk/azure": "^2.0.74",
"@ai-sdk/google": "^2.0.49",
"@ai-sdk/openai": "^2.0.72",
"@ai-sdk/openai-compatible": "^1.0.27",
"@ai-sdk/provider": "2.0.0",
"@ai-sdk/ui-utils": "^1.2.11",
"@google/gemini-cli-core": "^0.16.0",
"@google/genai": "1.30.0",
"@hono/node-server": "^1.19.6",
"@modelcontextprotocol/sdk": "1.24.0",
"@openrouter/ai-sdk-provider": "^1.5.2",
"@sentry/bun": "^10.31.0",
"ai": "^5.0.101",
"commander": "^14.0.1",
"core-js": "3.45.1",
"debug": "4.4.3",
"hono": "^4.6.0",
"@hono/mcp": "^0.2.2",
"posthog-node": "^4.17.0",
"puppeteer-core": "24.23.0",
"ws": "^8.18.0",
"zod": "^3.24.2",
"pino": "^9.6.0"
},
"devDependencies": {
"@browseros/agent-sdk": "workspace:*",
"async-mutex": "^0.5.0",
"pino-pretty": "^13.0.0",
"@types/bun": "latest",
"@types/debug": "^4.1.12",
"@types/node": "^24.3.3",
"@types/ws": "^8.5.13",
"puppeteer": "24.23.0",
"typescript": "^5.9.2"
},
"optionalDependencies": {
"chrome-devtools-mcp": "latest"
},
"license": "AGPL-3.0-or-later"
}