-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.85 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.85 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
{
"$schema": "https://json.schemastore.org/package.json",
"name": "opencode-lmstudio",
"version": "1.0.0-rc.2",
"description": "Typed LM Studio model discovery and authentication for OpenCode",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
"typecheck": "tsc --noEmit",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest watch",
"test:tui": "npm run build && bun scripts/run-tui-tests.ts",
"test:tui:package": "bun scripts/run-tui-tests.ts --package",
"test:tui:update": "npm run build && bun scripts/run-tui-tests.ts --update",
"test:tui:check": "npm run test:tui",
"smoke:opencode": "npm run build && bun scripts/smoke-opencode.ts",
"smoke:opencode:package": "bun scripts/smoke-opencode.ts --package",
"smoke:opencode:resolver": "bun scripts/smoke-opencode-resolver.ts",
"smoke:opencode:acp": "npm run build && bun scripts/smoke-opencode-acp.ts",
"smoke:opencode:acp:package": "bun scripts/smoke-opencode-acp.ts --package",
"fixture:capture": "bun scripts/capture-lmstudio-fixture.ts",
"lint": "eslint src test scripts tui-test.config.ts --ext .ts",
"lint:fix": "eslint src test scripts tui-test.config.ts --ext .ts --fix",
"build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.build.json",
"validate": "npm run lint && npm run typecheck && npm run test:run && npm run build",
"validate:config": "bun scripts/validate-config.ts",
"release": "bun scripts/release.ts",
"release:check": "bun scripts/release.ts",
"prepack": "npm run build",
"prepublishOnly": "npm run build"
},
"keywords": [
"opencode",
"lmstudio",
"lm-studio",
"plugin",
"local-llm",
"openai-compatible"
],
"author": "",
"license": "MIT",
"engines": {
"node": "^22.22.2 || ^24.15.0 || >=26.0.0",
"bun": ">=1.3.5",
"opencode": ">=1.17.7"
},
"repository": {
"type": "git",
"url": "git+https://github.com/agustif/opencode-lmstudio.git"
},
"dependencies": {
"@opencode-ai/plugin": "^1.17.7",
"zod": "^4.4.3"
},
"devDependencies": {
"@agentclientprotocol/sdk": "0.21.0",
"@eslint/js": "^10.0.1",
"@fontsource/jetbrains-mono": "^5.2.8",
"@microsoft/tui-test": "^0.0.4",
"@types/node": "^26.0.0",
"@typescript-eslint/eslint-plugin": "^8.61.0",
"@typescript-eslint/parser": "^8.61.0",
"@vitest/coverage-v8": "^4.1.8",
"@xterm/xterm": "^6.0.0",
"eslint": "^10.5.0",
"playwright": "^1.61.0",
"typescript": "^5.9.3",
"vitest": "^4.1.8"
}
}