-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.31 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 3.31 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
{
"name": "@openhands/typescript-client",
"version": "0.1.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"
},
"./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"
}
},
"scripts": {
"build": "tsc && node ./scripts/rewrite-relative-imports.mjs",
"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": "jest --config jest.config.cjs",
"test:watch": "jest --config jest.config.cjs --watch",
"test:coverage": "jest --config jest.config.cjs --coverage",
"test:integration": "jest --config jest.integration.config.cjs",
"test:integration:verbose": "jest --config jest.integration.config.cjs --verbose",
"test:integration:deterministic": "jest --config jest.integration.config.cjs --runInBand --testPathPatterns=\"deterministic-api.integration.test.ts|bash.integration.test.ts\"",
"test:integration:llm": "jest --config jest.integration.config.cjs --runInBand --testPathIgnorePatterns=\"deterministic-api.integration.test.ts|bash.integration.test.ts\"",
"test:git-dependency": "node ./scripts/smoke-test-git-dependency.mjs",
"test:all": "npm run test && npm run test:integration && npm run test:git-dependency",
"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": "^0.12.21",
"ws": "^8.20.0"
},
"devDependencies": {
"@babel/preset-env": "^7.29.2",
"@eslint/js": "^10.0.1",
"@types/jest": "^30.0.0",
"@types/node": "^25.6.0",
"@types/ws": "^8.5.8",
"@typescript-eslint/eslint-plugin": "^8.59.0",
"@typescript-eslint/parser": "^8.59.0",
"eslint": "^10.2.1",
"globals": "^17.5.0",
"jest": "^30.3.0",
"prettier": "^3.8.3",
"rimraf": "^6.1.3",
"ts-jest": "^29.4.9",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.0"
},
"files": [
"dist/**/*"
],
"repository": {
"type": "git",
"url": "https://github.com/OpenHands/typescript-client.git"
}
}