forked from nventive/Promptitude
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
145 lines (145 loc) · 4.51 KB
/
package.json
File metadata and controls
145 lines (145 loc) · 4.51 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "promptitude-extension",
"displayName": "Promptitude",
"description": "Sync GitHub Copilot prompts, chatmodes and instructions from git repositories",
"version": "1.4.0",
"publisher": "logientnventive",
"repository": {
"type": "git",
"url": "https://github.com/nventive/promptitude.git",
"directory": "tools/vscode-extension"
},
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Promptitude",
"properties": {
"promptitude.enabled": {
"type": "boolean",
"default": true,
"description": "Enable automatic synchronization"
},
"promptitude.frequency": {
"type": "string",
"enum": [
"startup",
"hourly",
"daily",
"weekly",
"manual"
],
"default": "daily",
"description": "Frequency of automatic sync"
},
"promptitude.customPath": {
"type": "string",
"default": "",
"description": "Custom prompts directory path (leave empty for default)"
},
"promptitude.repositories": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "Repositories to sync, with optional per-repo branch using the format `https://github.com/owner/repo|branch` or `https://dev.azure.com/organisation/project/_git/repo-name|branch`. If no branch is specified, `main` is used.\n\nExamples:\n- `https://github.com/org/prompt-repo` (uses `main`)\n- `https://github.com/org/prompt-repo|develop`\n- `https://dev.azure.com/organisation/project/_git/repo-name` (uses `main`)\n- `https://dev.azure.com/organisation/project/_git/repo-name|develop`",
"description": "Repositories to sync. Use format: https://github.com/owner/repo or https://github.com/owner/repo|branch",
"order": 0
},
"promptitude.syncOnStartup": {
"type": "boolean",
"default": true,
"description": "Sync when Visual Studio Code starts"
},
"promptitude.showNotifications": {
"type": "boolean",
"default": true,
"description": "Show sync status notifications"
},
"promptitude.debug": {
"type": "boolean",
"default": false,
"description": "Enable debug logging"
},
"promptitude.syncChatmode": {
"type": "boolean",
"default": true,
"description": "Sync chatmodes",
"order": 2
},
"promptitude.syncInstructions": {
"type": "boolean",
"default": false,
"description": "Sync instructions",
"order": 3
},
"promptitude.syncPrompt": {
"type": "boolean",
"default": true,
"description": "Sync prompts",
"order": 1
}
}
},
"commands": [
{
"command": "promptitude.syncNow",
"title": "Sync Now",
"category": "Promptitude"
},
{
"command": "promptitude.showStatus",
"title": "Show Status",
"category": "Promptitude"
},
{
"command": "promptitude.openPromptsFolder",
"title": "Open Prompts Folder",
"category": "Promptitude"
},
{
"command": "promptitude.addAzureDevOpsPAT",
"title": "Add Azure DevOps Personal Access Token",
"category": "Promptitude"
},
{
"command": "promptitude.clearAzureDevOpsPAT",
"title": "Remove Azure DevOps Personal Access Token(s)",
"category": "Promptitude"
},
{
"command": "promptitude.clearAzureDevOpsCache",
"title": "Clear Azure DevOps Authentication Cache",
"category": "Promptitude"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package"
},
"devDependencies": {
"@types/vscode": "^1.70.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.44.0",
"typescript": "^5.0.0",
"@vscode/test-electron": "^2.3.0",
"@vscode/vsce": "^2.19.0"
}
}