codeep 1.2.42 → 1.2.43
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 +8 -8
- package/package.json +1 -1
package/dist/acp/server.js
CHANGED
|
@@ -161,7 +161,7 @@ export function startAcpServer() {
|
|
|
161
161
|
};
|
|
162
162
|
transport.respond(msg.id, result);
|
|
163
163
|
// Advertise slash commands
|
|
164
|
-
transport.notify('
|
|
164
|
+
transport.notify('session/update', {
|
|
165
165
|
sessionId: acpSessionId,
|
|
166
166
|
update: {
|
|
167
167
|
sessionUpdate: 'available_commands_update',
|
|
@@ -169,7 +169,7 @@ export function startAcpServer() {
|
|
|
169
169
|
},
|
|
170
170
|
});
|
|
171
171
|
// Send welcome message
|
|
172
|
-
transport.notify('
|
|
172
|
+
transport.notify('session/update', {
|
|
173
173
|
sessionId: acpSessionId,
|
|
174
174
|
update: {
|
|
175
175
|
sessionUpdate: 'agent_message_chunk',
|
|
@@ -209,7 +209,7 @@ export function startAcpServer() {
|
|
|
209
209
|
};
|
|
210
210
|
transport.respond(msg.id, result);
|
|
211
211
|
// Send restored session welcome
|
|
212
|
-
transport.notify('
|
|
212
|
+
transport.notify('session/update', {
|
|
213
213
|
sessionId: params.sessionId,
|
|
214
214
|
update: {
|
|
215
215
|
sessionUpdate: 'agent_message_chunk',
|
|
@@ -235,7 +235,7 @@ export function startAcpServer() {
|
|
|
235
235
|
config.set('agentConfirmation', modeId === 'manual' ? 'dangerous' : 'never');
|
|
236
236
|
transport.respond(msg.id, {});
|
|
237
237
|
// Notify Zed of the mode change
|
|
238
|
-
transport.notify('
|
|
238
|
+
transport.notify('session/update', {
|
|
239
239
|
sessionId,
|
|
240
240
|
update: {
|
|
241
241
|
sessionUpdate: 'current_mode_update',
|
|
@@ -274,7 +274,7 @@ export function startAcpServer() {
|
|
|
274
274
|
const agentResponseChunks = [];
|
|
275
275
|
const sendChunk = (text) => {
|
|
276
276
|
agentResponseChunks.push(text);
|
|
277
|
-
transport.notify('
|
|
277
|
+
transport.notify('session/update', {
|
|
278
278
|
sessionId: params.sessionId,
|
|
279
279
|
update: {
|
|
280
280
|
sessionUpdate: 'agent_message_chunk',
|
|
@@ -307,7 +307,7 @@ export function startAcpServer() {
|
|
|
307
307
|
abortSignal: abortController.signal,
|
|
308
308
|
onChunk: sendChunk,
|
|
309
309
|
onThought: (text) => {
|
|
310
|
-
transport.notify('
|
|
310
|
+
transport.notify('session/update', {
|
|
311
311
|
sessionId: params.sessionId,
|
|
312
312
|
update: {
|
|
313
313
|
sessionUpdate: 'agent_thought_chunk',
|
|
@@ -318,7 +318,7 @@ export function startAcpServer() {
|
|
|
318
318
|
onToolCall: (toolCallId, toolName, kind, title, status, locations) => {
|
|
319
319
|
if (status === 'running') {
|
|
320
320
|
// Initial tool_call notification: spec ToolCall shape
|
|
321
|
-
transport.notify('
|
|
321
|
+
transport.notify('session/update', {
|
|
322
322
|
sessionId: params.sessionId,
|
|
323
323
|
update: {
|
|
324
324
|
sessionUpdate: 'tool_call',
|
|
@@ -334,7 +334,7 @@ export function startAcpServer() {
|
|
|
334
334
|
}
|
|
335
335
|
else {
|
|
336
336
|
// tool_call_update: update status to completed/failed
|
|
337
|
-
transport.notify('
|
|
337
|
+
transport.notify('session/update', {
|
|
338
338
|
sessionId: params.sessionId,
|
|
339
339
|
update: {
|
|
340
340
|
sessionUpdate: 'tool_call_update',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeep",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.43",
|
|
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",
|