-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.6 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.6 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
{
"name": "llamafim",
"displayName": "LlamaFIM",
"description": "Code Completion With Llama.CPP Backend",
"version": "0.0.3",
"publisher": "Hypertide",
"license": "MIT",
"engines": {
"vscode": "^1.109.0"
},
"categories": [
"Programming Languages"
],
"repository": {
"url": "https://github.com/hypertide/LlamaFIM"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"configuration": {
"properties": {
"llamafim.debouncedelay": {
"type": "number",
"default": 250,
"description": "Delay in milliseconds before sending a request to the Llama.CPP server after typing stops."
},
"llamafim.url": {
"type": "string",
"required": true,
"default": "http://localhost:8080",
"description": "URL of the Llama.CPP server."
},
"llamafim.timeout": {
"type": "number",
"default": 3500,
"description": "Timeout in milliseconds for requests to the Llama.CPP server."
},
"llamafim.npredict": {
"type": "number",
"default": 64,
"description": "Number of tokens to predict from the Llama.CPP server."
},
"llamafim.contextsize": {
"type": "number",
"default": 4096,
"description": "Maximum context size (in tokens) to send to the Llama.CPP server."
},
"llamafim.enabled": {
"type": "boolean",
"default": true,
"description": "When false, the extension will not register its inline completion providers."
}
}
}
},
"main": "./dist/extension.js",
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm 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": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.109.0",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"typescript-eslint": "^8.54.0",
"eslint": "^9.39.2",
"esbuild": "^0.27.2",
"npm-run-all": "^4.1.5",
"typescript": "^5.9.3",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2"
}
}