Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.25 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 2.25 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
{
"name": "opencode-chat",
"displayName": "opencode Chat",
"description": "Native VS Code chat panel for the opencode AI coding agent",
"version": "0.1.0",
"publisher": "shonitbar",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Shonitbar/opencode-chat"
},
"bugs": {
"url": "https://github.com/Shonitbar/opencode-chat/issues"
},
"homepage": "https://github.com/Shonitbar/opencode-chat#readme",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"AI",
"Other"
],
"keywords": [
"opencode",
"ai",
"chat",
"assistant",
"coding"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "opencode-chat-container",
"title": "opencode",
"icon": "assets/icon.svg"
}
]
},
"views": {
"opencode-chat-container": [
{
"type": "webview",
"id": "opencode-chat.chatView",
"name": "opencode Chat"
}
]
},
"commands": [
{
"command": "opencode-chat.newSession",
"title": "opencode: New Session"
},
{
"command": "opencode-chat.sendSelection",
"title": "opencode: Send Selection to Chat"
}
],
"keybindings": [
{
"command": "opencode-chat.sendSelection",
"key": "ctrl+shift+o",
"mac": "cmd+shift+o",
"when": "editorHasSelection"
}
],
"configuration": {
"title": "opencode Chat",
"properties": {
"opencodeChat.serverUrl": {
"type": "string",
"default": "http://localhost:4096",
"description": "Base URL of the running opencode server."
}
}
}
},
"scripts": {
"build": "node esbuild.js",
"watch": "node esbuild.js --watch",
"package": "vsce package",
"vscode:prepublish": "NODE_ENV=production node esbuild.js",
"lint": "eslint src --ext .ts"
},
"dependencies": {
"@opencode-ai/sdk": "^1.14.0"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"@vscode/vsce": "^3.9.0",
"esbuild": "^0.25.0",
"typescript": "^5.6.0"
}
}