-
Notifications
You must be signed in to change notification settings - Fork 587
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 4.44 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 4.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "@openhands/typescript-client",
"version": "1.50.1",
"description": "TypeScript client for OpenHands Agent Server",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./clients": {
"types": "./dist/clients.d.ts",
"import": "./dist/clients.js",
"default": "./dist/clients.js"
},
"./client/http-client": {
"types": "./dist/client/http-client.d.ts",
"import": "./dist/client/http-client.js",
"default": "./dist/client/http-client.js"
},
"./client/device-flow-client": {
"types": "./dist/client/device-flow-client.d.ts",
"import": "./dist/client/device-flow-client.js",
"default": "./dist/client/device-flow-client.js"
},
"./events/remote-events-list": {
"types": "./dist/events/remote-events-list.d.ts",
"import": "./dist/events/remote-events-list.js",
"default": "./dist/events/remote-events-list.js"
},
"./workspace/remote-workspace": {
"types": "./dist/workspace/remote-workspace.d.ts",
"import": "./dist/workspace/remote-workspace.js",
"default": "./dist/workspace/remote-workspace.js"
}
},
"overrides": {
"eslint": {
"minimatch": {
".": "^10.2.1",
"brace-expansion": "^5.0.6"
}
}
},
"config": {
"agentServerImage": "ghcr.io/openhands/agent-server:1.47.0-python"
},
"scripts": {
"build": "tsc && node ./scripts/copy-json-assets.mjs && node ./scripts/rewrite-relative-imports.mjs",
"generate:agent-server-api": "node ./scripts/generate-agent-server-api.mjs",
"check:agent-server-api": "node ./scripts/check-agent-server-api.mjs",
"summarize:agent-server-api": "node ./scripts/summarize-agent-server-api.mjs",
"test:agent-server-api-tooling": "node ./scripts/test-agent-server-api-tooling.mjs",
"test:endpoint-audit-tooling": "node ./scripts/test-endpoint-audit.mjs",
"check:public-type-budget": "npm run build --silent && node ./scripts/check-public-type-budget.mjs",
"test:public-type-budget": "node ./scripts/check-public-type-budget.mjs --self-test",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write \"src/**/*.ts\" \"examples/**/*.ts\" \"scripts/**/*.mjs\"",
"format:check": "prettier --check \"src/**/*.ts\" \"examples/**/*.ts\" \"scripts/**/*.mjs\"",
"test": "vitest run --config vitest.config.ts",
"test:watch": "vitest --config vitest.config.ts",
"test:coverage": "vitest run --config vitest.config.ts --coverage",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:integration:verbose": "vitest run --config vitest.integration.config.ts --reporter=verbose",
"test:integration:deterministic": "vitest run --config vitest.integration.config.ts deterministic-api.integration.test.ts bash.integration.test.ts",
"test:integration:llm": "vitest run --config vitest.integration.config.ts --exclude='**/deterministic-api.integration.test.ts' --exclude='**/bash.integration.test.ts'",
"test:all": "npm run test && npm run test:integration",
"audit:endpoints": "node ./scripts/endpoint-audit.mjs",
"dev": "tsc --watch",
"clean": "rimraf dist",
"prepare": "npm run clean && npm run build",
"prepublishOnly": "npm test"
},
"keywords": [
"openhands",
"agent",
"typescript",
"client",
"sdk"
],
"author": "OpenHands Team",
"license": "MIT",
"dependencies": {
"@openrouter/sdk": "^1.2.11",
"ws": "^8.20.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@hey-api/openapi-ts": "0.99.0",
"@types/node": "^26.1.0",
"@types/ws": "^8.5.8",
"@typescript-eslint/eslint-plugin": "^8.59.2",
"@typescript-eslint/parser": "^8.59.2",
"@vitest/coverage-v8": "^5.0.0",
"eslint": "^10.4.0",
"globals": "^17.6.0",
"prettier": "^3.8.3",
"rimraf": "^6.1.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.3",
"vitest": "^5.0.0"
},
"files": [
"dist/**/*"
],
"repository": {
"type": "git",
"url": "https://github.com/OpenHands/software-agent-sdk.git",
"directory": "clients/typescript"
},
"bugs": {
"url": "https://github.com/OpenHands/software-agent-sdk/issues"
},
"homepage": "https://github.com/OpenHands/software-agent-sdk/tree/main/clients/typescript#readme"
}