-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.63 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 2.63 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
{
"name": "opencode-code",
"displayName": "Opencode VS Code",
"description": "An opencode VS Code extension that works.",
"version": "0.4.0",
"publisher": "ZX-Ning",
"license": "MIT",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"AI"
],
"repository": "github:zx-ning/opencode-vsc",
"activationEvents": [],
"main": "./dist/extension.js",
"files": [
"dist/**",
"media/**",
"README.md",
"LICENSE"
],
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "opencode-sidebar",
"title": "Opencode VSC",
"icon": "media/icon.svg"
}
]
},
"views": {
"opencode-sidebar": [
{
"type": "webview",
"id": "opencode.sidebar",
"name": "Chat"
}
]
},
"commands": [
{
"command": "opencode.focus",
"title": "OpenCode: Focus on Chat View"
},
{
"command": "opencode.openCliPathSettings",
"title": "OpenCode: Configure CLI Path"
}
],
"configuration": {
"title": "Opencode VSC",
"properties": {
"opencode.server.url": {
"type": "string",
"default": "http://localhost:13001",
"description": "URL of the OpenCode server"
},
"opencode.cli.path": {
"type": "string",
"default": "opencode",
"description": "Path to the opencode CLI"
},
"opencode.server.requireAuth": {
"type": "boolean",
"default": true,
"description": "Require HTTP basic auth for the managed local OpenCode server"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "npm run build:extension && npm run build:webview",
"build:extension": "node esbuild.extension.mjs",
"build:webview": "vite build --config vite.webview.config.ts",
"watch": "concurrently \"npm run watch:extension\" \"npm run watch:webview\"",
"watch:extension": "node esbuild.extension.mjs --watch",
"watch:webview": "vite build --watch --config vite.webview.config.ts",
"compile": "tsc -p ./ --noEmit",
"format": "prettier . --write",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/node": "^20.19.39",
"@types/vscode": "^1.85.0",
"concurrently": "^8.2.2",
"esbuild": "^0.20.0",
"prettier": "^3.8.3",
"typescript": "^5.3.3",
"vite": "^5.1.4",
"vite-plugin-solid": "^2.10.2"
},
"dependencies": {
"@opencode-ai/sdk": "^1.4.0",
"dompurify": "^3.3.3",
"marked": "^18.0.0",
"solid-js": "^1.8.15"
}
}