-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 2.93 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 2.93 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": "ghostwrite",
"displayName": "Ghostwrite",
"description": "Your code's invisible collaborator. Inline completions powered by Claude, GPT, and Gemini.",
"version": "0.1.0",
"publisher": "ghostwrite",
"license": "MIT",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/ghostwrite-ai/ghostwrite"
},
"homepage": "https://github.com/ghostwrite-ai/ghostwrite#readme",
"bugs": {
"url": "https://github.com/ghostwrite-ai/ghostwrite/issues"
},
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Programming Languages",
"Machine Learning"
],
"keywords": [
"ai",
"code-completion",
"claude",
"gpt",
"openai",
"gemini",
"autocomplete",
"productivity",
"anthropic",
"inline-completion",
"ai-coding-assistant",
"copilot-alternative",
"intellisense"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Ghostwrite",
"properties": {
"ghostwrite.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable Ghostwrite completions"
},
"ghostwrite.debounceMs": {
"type": "number",
"default": 300,
"minimum": 50,
"maximum": 2000,
"description": "Debounce delay before requesting completion (ms)"
},
"ghostwrite.maxTokens": {
"type": "number",
"default": 256,
"minimum": 32,
"maximum": 1024,
"description": "Maximum tokens for completion response"
},
"ghostwrite.contextLines": {
"type": ["number", "null"],
"default": null,
"minimum": 10,
"maximum": 500,
"description": "Lines of context before/after cursor. null = entire file (default)"
},
"ghostwrite.secretDetection": {
"type": "boolean",
"default": true,
"description": "Block completions when potential secrets (API keys, passwords) are detected in context"
},
"ghostwrite.timeoutMs": {
"type": "number",
"default": 30000,
"minimum": 5000,
"maximum": 120000,
"description": "Request timeout in milliseconds"
}
}
},
"commands": [
{
"command": "ghostwrite.toggle",
"title": "Ghostwrite: Toggle On/Off"
}
]
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"package": "vsce package",
"install-local": "code --install-extension ghostwrite-0.1.0.vsix"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.52.0",
"@google/generative-ai": "^0.21.0",
"neverthrow": "^8.2.0",
"openai": "^4.77.0"
},
"devDependencies": {
"@types/node": "^20.17.0",
"@types/vscode": "^1.90.0",
"@vscode/vsce": "^3.2.0",
"typescript": "^5.7.0"
}
}