-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 3.19 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 3.19 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
{
"name": "xinference-coding-assistant",
"displayName": "Xinference Coding Assistant",
"description": "A code assistant tool works with xinference code completions API",
"version": "0.1.0",
"engines": {
"vscode": "^1.73.0"
},
"license": "SEE LICENSE IN LICENSE",
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/mikeshi80/xinf-code-assistant.git"
},
"extensionKind": [
"ui",
"workspace"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"l10n": "./l10n",
"contributes": {
"commands": [
{
"command": "xinf-coder.showUsage",
"title": "XInf Show Usage"
}
],
"configuration": {
"title": "%xinf-coder.title%",
"properties": {
"xinf-coder.enableAutoSuggest": {
"type": "boolean",
"default": false,
"description": "%xinf-coder.enableAutoSuggest%"
},
"xinf-coder.endpoint": {
"type": "string",
"default": "http://127.0.0.1:9997",
"description": "%xinf-coder.endpoint%"
},
"xinf-coder.codeModel": {
"type": "string",
"default": "codeqwen1.5",
"description": "%xinf-coder.codeModel%"
},
"xinf-coder.fillInTheMiddle.enabled": {
"type": "boolean",
"default": true,
"description": "%xinf-coder.fillInTheMiddle%"
},
"xinf-coder.temperature": {
"type": "number",
"default": 0.2,
"description": "%xinf-coder.temperature%"
},
"xinf-coder.maxNewTokens": {
"type": "integer",
"default": 60,
"description": "%xinf-coder.maxNewTokens%"
},
"xinf-coder.contextWindow": {
"type": "integer",
"default": 8192,
"description": "%xinf-coder.contextWindow%"
}
}
},
"keybindings": [
{
"key": "cmd+shift+l",
"command": "editor.action.inlineSuggest.trigger"
},
{
"key": "ctrl+shift+l",
"command": "editor.action.inlineSuggest.trigger"
}
]
},
"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",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "~18.19.34",
"@types/vscode": "^1.73.0",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@vscode/l10n-dev": "^0.0.35",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"esbuild": "^0.21.5",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.4.5"
}
}