-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 4.45 KB
/
Copy pathpackage.json
File metadata and controls
140 lines (140 loc) · 4.45 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
{
"name": "copilot-task-delegate",
"displayName": "Copilot Task Delegate",
"description": "(Experimental) Enables Copilot agents to asynchronously delegate tasks to other Copilot agents.",
"version": "0.0.2",
"publisher": "dvcrn",
"author": {
"name": "David Mohl",
"email": "git@d.sh"
},
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/dvcrn/copilot-task-delegate.git"
},
"bugs": {
"url": "https://github.com/dvcrn/copilot-task-delegate/issues"
},
"engines": {
"vscode": "^1.99.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguageModelTool:copilot-task-delegate_start"
],
"main": "./out/extension.js",
"license": "AGPL-3.0-or-later",
"contributes": {
"languageModelTools": [
{
"name": "copilot-task-delegate_start",
"tags": [
"copilot",
"chat-actions"
],
"toolReferenceName": "copilotActionsStartChatAgent",
"displayName": "Start Copilot Agent Session",
"modelDescription": "Starts a new Copilot agent session in VS Code asynchronously with a given prompt. Returns a session ID to track the operation. Use markdown for the prompt.",
"userDescription": "Starts a new Copilot agent session with a given prompt. Returns a session ID.",
"canBeReferencedInPrompt": true,
"icon": "$(comment-discussion)",
"inputSchema": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "The initial text prompt to place in the chat input."
}
},
"required": [
"prompt"
]
}
},
{
"name": "copilot-task-delegate_complete",
"tags": [
"copilot",
"chat-actions",
"async"
],
"toolReferenceName": "copilotActionsCompleteSubaction",
"displayName": "Complete Subaction",
"modelDescription": "Signals the completion or error of an asynchronous action initiated by another tool, using its session ID. Session ID is UUID.",
"userDescription": "Signals the completion of an asynchronous task.",
"canBeReferencedInPrompt": true,
"icon": "$(check)",
"inputSchema": {
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "The session ID of the action to complete."
},
"result": {
"type": "string",
"description": "The successful result of the action (optional if error is provided)."
},
"error": {
"type": "string",
"description": "An error message if the action failed (optional if result is provided)."
}
},
"required": [
"sessionId"
]
}
},
{
"name": "copilot-task-delegate_status",
"tags": [
"copilot",
"chat-actions",
"async",
"status"
],
"toolReferenceName": "copilotActionsCheckActionStatus",
"displayName": "Check Action Status",
"modelDescription": "Checks the status and retrieves the result/error of an asynchronous action using its session ID. Session ID is returned by the `copilot-task-delegate_start` tool and is UUID.",
"userDescription": "Checks the status of an asynchronous action using its session ID.",
"canBeReferencedInPrompt": true,
"icon": "$(sync~spin)",
"inputSchema": {
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "The session ID of the action to check."
}
},
"required": [
"sessionId"
]
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test",
"vsix": "npx -y vsce package"
},
"devDependencies": {
"@types/vscode": "^1.99.0",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.28.0",
"@typescript-eslint/parser": "^8.28.0",
"eslint": "^9.23.0",
"typescript": "^5.8.2",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}