-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
123 lines (123 loc) · 3.49 KB
/
package.json
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
{
"name": "labs-ai-tools-vscode",
"displayName": "Labs: AI Tools for VSCode",
"description": "Run & Debug AI Prompts with Dockerized tools",
"version": "0.1.9",
"publisher": "docker",
"repository": {
"type": "git",
"url": "https://github.com/docker/docker-labs-ai-tools-vscode.git"
},
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/*.md",
"onLanguage:markdown"
],
"main": "./out/extension.js",
"contributes": {
"grammars": [
{
"path": "./out/promptgrammar.json",
"scopeName": "prompt.injection",
"injectTo": [
"text.html.markdown"
]
},
{
"path": "./out/promptmetadatagrammar.json",
"scopeName": "prompt.metadata.injection",
"injectTo": [
"text.html.markdown"
]
}
],
"configuration": {
"type": "object",
"title": "Labs AI Tools",
"properties": {
"docker.labs-ai-tools-vscode.debug": {
"type": "boolean",
"default": false,
"description": "Enable debug mode for Labs AI Tools"
}
}
},
"commands": [
{
"command": "docker.labs-ai-tools-vscode.run-prompt",
"title": "Docker AI: Run saved prompt"
},
{
"command": "docker.labs-ai-tools-vscode.run-commands",
"title": "Docker AI: Run markdown commands"
},
{
"command": "docker.labs-ai-tools-vscode.set-openai-api-key",
"title": "Docker AI: Set OpenAI API key"
},
{
"command": "docker.labs-ai-tools-vscode.save-prompt",
"title": "Docker AI: Save a prompt"
},
{
"command": "docker.labs-ai-tools-vscode.delete-prompt",
"title": "Docker AI: Delete a saved prompt"
},
{
"command": "docker.labs-ai-tools-vscode.run-file-as-prompt",
"title": "Docker AI: Run this prompt",
"when": "editorLangId == markdown"
},
{
"command": "docker.labs-ai-tools-vscode.project-dir",
"title": "Docker AI: Select target project"
},
{
"command": "docker.labs-ai-tools-vscode.thread-id",
"title": "Docker AI: Set prompt thread ID"
},
{
"command": "docker.labs-ai-tools-vscode.toggle-debug",
"title": "Docker AI: Toggle debug mode"
},
{
"command": "docker.labs-ai-tools-vscode.kill-active-prompts",
"title": "Docker AI: Kill active prompts"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test",
"package": "vsce package",
"vscode:uninstall": "node ./out/uninstall.js"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/semver": "^7.5.8",
"@types/vscode": "^1.88.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"@vscode/vsce": "^3.1.1",
"eslint": "^8.57.0",
"typescript": "^5.3.3"
},
"dependencies": {
"semver": "^7.6.3",
"vscode-jsonrpc": "^8.2.1",
"vscode-languageclient": "^8.1.0"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}