-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 3.83 KB
/
Copy pathpackage.json
File metadata and controls
154 lines (154 loc) · 3.83 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "ocursor",
"displayName": "OpenCursor Agent",
"description": "AI coding agent chat inside VS Code",
"version": "0.0.2",
"publisher": "pkrd",
"license": "MIT",
"icon": "media/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/PawanOsman/OpenCursor.git"
},
"bugs": {
"url": "https://github.com/PawanOsman/OpenCursor/issues"
},
"homepage": "https://github.com/PawanOsman/OpenCursor#readme",
"engines": {
"vscode": "^1.125.0"
},
"categories": [
"AI",
"Chat",
"Programming Languages"
],
"keywords": [
"ai",
"agent",
"chat",
"copilot",
"assistant"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "ocursor.openSettings",
"title": "Open OpenCursor Settings"
},
{
"command": "ocursor.addToChat",
"title": "OpenCursor: Add Selection to Chat"
}
],
"keybindings": [
{
"command": "ocursor.addToChat",
"key": "ctrl+l",
"mac": "cmd+l",
"when": "editorTextFocus"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "ocursor-sidebar",
"title": "OpenCursor",
"icon": "media/icon.svg"
}
]
},
"views": {
"ocursor-sidebar": [
{
"type": "webview",
"id": "ocursor.chatView",
"name": "OpenCursor Agent"
}
]
},
"configuration": [
{
"title": "OpenCursor Settings",
"properties": {
"ocursor.model": {
"type": "string",
"default": "auto",
"description": "The AI model to use"
},
"ocursor.maxResponseLength": {
"type": "integer",
"default": 0,
"description": "Maximum response length in tokens (0 = let the model decide)"
},
"ocursor.enableWorkspaceContext": {
"type": "boolean",
"default": true,
"description": "Enable workspace context for the AI agent"
},
"ocursor.enableFileReading": {
"type": "boolean",
"default": true,
"description": "Enable file reading/glob/grep tools"
},
"ocursor.enableTerminalSuggestions": {
"type": "boolean",
"default": true,
"description": "Enable run terminal command suggestions tool"
},
"ocursor.systemPrompt": {
"type": "string",
"default": "You are a professional coding assistant extension named OpenCursor.",
"description": "System prompt or custom instruction field"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "pnpm run check-types && pnpm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "pnpm run check-types && pnpm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"check-types": "tsc --noEmit && tsc --noEmit -p tsconfig.webview.json",
"lint": "eslint src",
"test": "vscode-test",
"vsix": "pnpm run package && pnpm dlx @vscode/vsce package --no-dependencies"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "24.x",
"@types/pdf-parse": "^1.1.5",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/vscode": "^1.125.0",
"@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^3.0.0",
"esbuild": "^0.28.1",
"eslint": "^10.5.0",
"npm-run-all": "^4.1.5",
"typescript": "^6.0.3",
"typescript-eslint": "^8.61.1"
},
"overrides": {
"diff": "^8.0.4",
"serialize-javascript": "^7.0.6"
},
"dependencies": {
"@huggingface/hub": "^2.13.2",
"@huggingface/transformers": "^4.2.0",
"lucide-react": "^1.21.0",
"marked": "^18.0.5",
"onnxruntime-node": "^1.27.0",
"pdf-parse": "^2.4.5",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"sharp": "^0.35.2"
}
}