-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.01 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.01 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
{
"name": "save-selected-text",
"displayName": "Save Selected Text",
"description": "Saves selected text in VS Code to a prompts folder for processing with Claude",
"version": "0.0.1",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"contributes": {
"commands": [
{
"command": "save-selected-text.saveSelection",
"title": "Claude: Save Selected Text"
}
],
"menus": {
"editor/context": [
{
"command": "save-selected-text.saveSelection",
"when": "editorHasSelection",
"group": "navigation"
}
]
},
"configuration": {
"title": "Save Selected Text",
"properties": {
"saveSelectedText.apiKey": {
"type": "string",
"default": "",
"description": "Your Anthropic API key"
},
"saveSelectedText.chooseYourModel": {
"type": "string",
"default": "claude-haiku-4-5-20251001",
"enum": [
"claude-haiku-4-5-20251001",
"claude-sonnet-4-6",
"claude-opus-4-6"
],
"enumDescriptions": [
"Claude Haiku — fastest and most affordable",
"Claude Sonnet — balanced speed and intelligence (recommended)",
"Claude Opus — most powerful, slower and more expensive"
],
"description": "Select which Claude model to use"
}
}
}
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^25.5.0",
"@types/sinon": "^21.0.0",
"@types/vscode": "^1.110.0",
"@vscode/test-electron": "^2.5.2",
"mocha": "^11.7.5",
"sinon": "^21.0.3",
"typescript": "^6.0.2"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.80.0"
}
}