codeep 1.2.28 → 1.2.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/acp/server.js +21 -0
- package/package.json +1 -1
package/dist/acp/server.js
CHANGED
|
@@ -59,6 +59,27 @@ export function startAcpServer() {
|
|
|
59
59
|
abortController: null,
|
|
60
60
|
});
|
|
61
61
|
transport.respond(msg.id, { sessionId: acpSessionId });
|
|
62
|
+
// Advertise available slash commands to Zed
|
|
63
|
+
transport.notify('session/update', {
|
|
64
|
+
sessionId: acpSessionId,
|
|
65
|
+
update: {
|
|
66
|
+
sessionUpdate: 'available_commands_update',
|
|
67
|
+
availableCommands: [
|
|
68
|
+
{ name: 'help', description: 'Show available commands' },
|
|
69
|
+
{ name: 'status', description: 'Show current configuration and session info' },
|
|
70
|
+
{ name: 'version', description: 'Show version and current model' },
|
|
71
|
+
{ name: 'provider', description: 'List or switch AI provider', input: { hint: '<provider-id>' } },
|
|
72
|
+
{ name: 'model', description: 'List or switch model', input: { hint: '<model-id>' } },
|
|
73
|
+
{ name: 'login', description: 'Set API key for a provider', input: { hint: '<providerId> <apiKey>' } },
|
|
74
|
+
{ name: 'apikey', description: 'Show or set API key for current provider', input: { hint: '<key>' } },
|
|
75
|
+
{ name: 'sessions', description: 'List saved sessions' },
|
|
76
|
+
{ name: 'session', description: 'Manage sessions: new or load', input: { hint: 'new | load <name>' } },
|
|
77
|
+
{ name: 'save', description: 'Save current session', input: { hint: '[name]' } },
|
|
78
|
+
{ name: 'grant', description: 'Grant write access for current workspace' },
|
|
79
|
+
{ name: 'lang', description: 'Set response language', input: { hint: '<code> (e.g. en, hr, auto)' } },
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
});
|
|
62
83
|
// Stream welcome message so the client sees it immediately after session/new
|
|
63
84
|
transport.notify('session/update', {
|
|
64
85
|
sessionId: acpSessionId,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeep",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.29",
|
|
4
4
|
"description": "AI-powered coding assistant built for the terminal. Multiple LLM providers, project-aware context, and a seamless development workflow.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|