lody 0.55.0 → 0.55.1
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/index.js +160 -75
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -36822,7 +36822,7 @@ Mongoose Error Code: ${error2.code}` : ""}`
|
|
|
36822
36822
|
return client;
|
|
36823
36823
|
}
|
|
36824
36824
|
const name = "lody";
|
|
36825
|
-
const version$4 = "0.55.
|
|
36825
|
+
const version$4 = "0.55.1";
|
|
36826
36826
|
const description$1 = "Lody Agent CLI tool for managing remote command execution";
|
|
36827
36827
|
const type$2 = "module";
|
|
36828
36828
|
const main$3 = "dist/index.js";
|
|
@@ -36865,7 +36865,7 @@ Mongoose Error Code: ${error2.code}` : ""}`
|
|
|
36865
36865
|
"node": ">=18.0.0"
|
|
36866
36866
|
};
|
|
36867
36867
|
const optionalDependencies = {
|
|
36868
|
-
"acp-extension-claude": "0.
|
|
36868
|
+
"acp-extension-claude": "0.38.0",
|
|
36869
36869
|
"acp-extension-codex": "0.15.0"
|
|
36870
36870
|
};
|
|
36871
36871
|
const devDependencies = {
|
|
@@ -79826,6 +79826,9 @@ Task description:
|
|
|
79826
79826
|
_meta: record(string$2(), unknown()).nullish(),
|
|
79827
79827
|
terminalId: string$2()
|
|
79828
79828
|
});
|
|
79829
|
+
const zDeleteSessionResponse = object$1({
|
|
79830
|
+
_meta: record(string$2(), unknown()).nullish()
|
|
79831
|
+
});
|
|
79829
79832
|
const zDiff = object$1({
|
|
79830
79833
|
_meta: record(string$2(), unknown()).nullish(),
|
|
79831
79834
|
newText: string$2(),
|
|
@@ -79839,6 +79842,9 @@ Task description:
|
|
|
79839
79842
|
const zDisableProvidersResponse = object$1({
|
|
79840
79843
|
_meta: record(string$2(), unknown()).nullish()
|
|
79841
79844
|
});
|
|
79845
|
+
const zDisconnectMcpResponse = object$1({
|
|
79846
|
+
_meta: record(string$2(), unknown()).nullish()
|
|
79847
|
+
});
|
|
79842
79848
|
const zElicitationContentValue = union$3([
|
|
79843
79849
|
string$2(),
|
|
79844
79850
|
number$3(),
|
|
@@ -79944,7 +79950,6 @@ Task description:
|
|
|
79944
79950
|
});
|
|
79945
79951
|
const zListSessionsRequest = object$1({
|
|
79946
79952
|
_meta: record(string$2(), unknown()).nullish(),
|
|
79947
|
-
additionalDirectories: array$3(string$2()).optional(),
|
|
79948
79953
|
cursor: string$2().nullish(),
|
|
79949
79954
|
cwd: string$2().nullish()
|
|
79950
79955
|
});
|
|
@@ -79971,9 +79976,29 @@ Task description:
|
|
|
79971
79976
|
});
|
|
79972
79977
|
const zMcpCapabilities = object$1({
|
|
79973
79978
|
_meta: record(string$2(), unknown()).nullish(),
|
|
79979
|
+
acp: boolean().optional().default(false),
|
|
79974
79980
|
http: boolean().optional().default(false),
|
|
79975
79981
|
sse: boolean().optional().default(false)
|
|
79976
79982
|
});
|
|
79983
|
+
const zMcpConnectionId = string$2();
|
|
79984
|
+
const zConnectMcpResponse = object$1({
|
|
79985
|
+
_meta: record(string$2(), unknown()).nullish(),
|
|
79986
|
+
connectionId: zMcpConnectionId
|
|
79987
|
+
});
|
|
79988
|
+
const zDisconnectMcpRequest = object$1({
|
|
79989
|
+
_meta: record(string$2(), unknown()).nullish(),
|
|
79990
|
+
connectionId: zMcpConnectionId
|
|
79991
|
+
});
|
|
79992
|
+
const zMcpServerAcpId = string$2();
|
|
79993
|
+
const zConnectMcpRequest = object$1({
|
|
79994
|
+
_meta: record(string$2(), unknown()).nullish(),
|
|
79995
|
+
acpId: zMcpServerAcpId
|
|
79996
|
+
});
|
|
79997
|
+
const zMcpServerAcp = object$1({
|
|
79998
|
+
_meta: record(string$2(), unknown()).nullish(),
|
|
79999
|
+
id: zMcpServerAcpId,
|
|
80000
|
+
name: string$2()
|
|
80001
|
+
});
|
|
79977
80002
|
const zMcpServerHttp = object$1({
|
|
79978
80003
|
_meta: record(string$2(), unknown()).nullish(),
|
|
79979
80004
|
headers: array$3(zHttpHeader),
|
|
@@ -80000,8 +80025,24 @@ Task description:
|
|
|
80000
80025
|
zMcpServerSse.and(object$1({
|
|
80001
80026
|
type: literal("sse")
|
|
80002
80027
|
})),
|
|
80028
|
+
zMcpServerAcp.and(object$1({
|
|
80029
|
+
type: literal("acp")
|
|
80030
|
+
})),
|
|
80003
80031
|
zMcpServerStdio
|
|
80004
80032
|
]);
|
|
80033
|
+
const zMessageMcpNotification = object$1({
|
|
80034
|
+
_meta: record(string$2(), unknown()).nullish(),
|
|
80035
|
+
connectionId: zMcpConnectionId,
|
|
80036
|
+
method: string$2(),
|
|
80037
|
+
params: record(string$2(), unknown()).nullish()
|
|
80038
|
+
});
|
|
80039
|
+
const zMessageMcpRequest = object$1({
|
|
80040
|
+
_meta: record(string$2(), unknown()).nullish(),
|
|
80041
|
+
connectionId: zMcpConnectionId,
|
|
80042
|
+
method: string$2(),
|
|
80043
|
+
params: record(string$2(), unknown()).nullish()
|
|
80044
|
+
});
|
|
80045
|
+
const zMessageMcpResponse = unknown();
|
|
80005
80046
|
const zModelId = string$2();
|
|
80006
80047
|
const zModelInfo = object$1({
|
|
80007
80048
|
_meta: record(string$2(), unknown()).nullish(),
|
|
@@ -80425,6 +80466,9 @@ Task description:
|
|
|
80425
80466
|
_meta: record(string$2(), unknown()).nullish(),
|
|
80426
80467
|
configOptions: array$3(zSessionConfigOption)
|
|
80427
80468
|
});
|
|
80469
|
+
const zSessionDeleteCapabilities = object$1({
|
|
80470
|
+
_meta: record(string$2(), unknown()).nullish()
|
|
80471
|
+
});
|
|
80428
80472
|
const zSessionForkCapabilities = object$1({
|
|
80429
80473
|
_meta: record(string$2(), unknown()).nullish()
|
|
80430
80474
|
});
|
|
@@ -80455,6 +80499,10 @@ Task description:
|
|
|
80455
80499
|
outputByteLimit: number$3().nullish(),
|
|
80456
80500
|
sessionId: zSessionId
|
|
80457
80501
|
});
|
|
80502
|
+
const zDeleteSessionRequest = object$1({
|
|
80503
|
+
_meta: record(string$2(), unknown()).nullish(),
|
|
80504
|
+
sessionId: zSessionId
|
|
80505
|
+
});
|
|
80458
80506
|
const zDidCloseDocumentNotification = object$1({
|
|
80459
80507
|
_meta: record(string$2(), unknown()).nullish(),
|
|
80460
80508
|
sessionId: zSessionId,
|
|
@@ -80604,6 +80652,7 @@ Task description:
|
|
|
80604
80652
|
_meta: record(string$2(), unknown()).nullish(),
|
|
80605
80653
|
additionalDirectories: zSessionAdditionalDirectoriesCapabilities.nullish(),
|
|
80606
80654
|
close: zSessionCloseCapabilities.nullish(),
|
|
80655
|
+
delete: zSessionDeleteCapabilities.nullish(),
|
|
80607
80656
|
fork: zSessionForkCapabilities.nullish(),
|
|
80608
80657
|
list: zSessionListCapabilities.nullish(),
|
|
80609
80658
|
resume: zSessionResumeCapabilities.nullish()
|
|
@@ -80746,6 +80795,7 @@ Task description:
|
|
|
80746
80795
|
zDidFocusDocumentNotification,
|
|
80747
80796
|
zAcceptNesNotification,
|
|
80748
80797
|
zRejectNesNotification,
|
|
80798
|
+
zMessageMcpNotification,
|
|
80749
80799
|
zExtNotification
|
|
80750
80800
|
]).nullish()
|
|
80751
80801
|
});
|
|
@@ -80779,6 +80829,7 @@ Task description:
|
|
|
80779
80829
|
auth: zAgentAuthCapabilities.optional().default({}),
|
|
80780
80830
|
loadSession: boolean().optional().default(false),
|
|
80781
80831
|
mcpCapabilities: zMcpCapabilities.optional().default({
|
|
80832
|
+
acp: false,
|
|
80782
80833
|
http: false,
|
|
80783
80834
|
sse: false
|
|
80784
80835
|
}),
|
|
@@ -80798,6 +80849,7 @@ Task description:
|
|
|
80798
80849
|
auth: {},
|
|
80799
80850
|
loadSession: false,
|
|
80800
80851
|
mcpCapabilities: {
|
|
80852
|
+
acp: false,
|
|
80801
80853
|
http: false,
|
|
80802
80854
|
sse: false
|
|
80803
80855
|
},
|
|
@@ -81037,6 +81089,7 @@ Task description:
|
|
|
81037
81089
|
zNewSessionResponse,
|
|
81038
81090
|
zLoadSessionResponse,
|
|
81039
81091
|
zListSessionsResponse,
|
|
81092
|
+
zDeleteSessionResponse,
|
|
81040
81093
|
zForkSessionResponse,
|
|
81041
81094
|
zResumeSessionResponse,
|
|
81042
81095
|
zCloseSessionResponse,
|
|
@@ -81047,7 +81100,8 @@ Task description:
|
|
|
81047
81100
|
zStartNesResponse,
|
|
81048
81101
|
zSuggestNesResponse,
|
|
81049
81102
|
zCloseNesResponse,
|
|
81050
|
-
zExtResponse
|
|
81103
|
+
zExtResponse,
|
|
81104
|
+
zMessageMcpResponse
|
|
81051
81105
|
])
|
|
81052
81106
|
}),
|
|
81053
81107
|
object$1({
|
|
@@ -81106,6 +81160,7 @@ Task description:
|
|
|
81106
81160
|
params: union$3([
|
|
81107
81161
|
zSessionNotification,
|
|
81108
81162
|
zCompleteElicitationNotification,
|
|
81163
|
+
zMessageMcpNotification,
|
|
81109
81164
|
zExtNotification
|
|
81110
81165
|
]).nullish()
|
|
81111
81166
|
});
|
|
@@ -81144,6 +81199,7 @@ Task description:
|
|
|
81144
81199
|
zNewSessionRequest,
|
|
81145
81200
|
zLoadSessionRequest,
|
|
81146
81201
|
zListSessionsRequest,
|
|
81202
|
+
zDeleteSessionRequest,
|
|
81147
81203
|
zForkSessionRequest,
|
|
81148
81204
|
zResumeSessionRequest,
|
|
81149
81205
|
zCloseSessionRequest,
|
|
@@ -81154,6 +81210,7 @@ Task description:
|
|
|
81154
81210
|
zStartNesRequest,
|
|
81155
81211
|
zSuggestNesRequest,
|
|
81156
81212
|
zCloseNesRequest,
|
|
81213
|
+
zMessageMcpRequest,
|
|
81157
81214
|
zExtRequest
|
|
81158
81215
|
]).nullish()
|
|
81159
81216
|
});
|
|
@@ -81176,6 +81233,9 @@ Task description:
|
|
|
81176
81233
|
zWaitForTerminalExitRequest,
|
|
81177
81234
|
zKillTerminalRequest,
|
|
81178
81235
|
zCreateElicitationRequest,
|
|
81236
|
+
zConnectMcpRequest,
|
|
81237
|
+
zMessageMcpRequest,
|
|
81238
|
+
zDisconnectMcpRequest,
|
|
81179
81239
|
zExtRequest
|
|
81180
81240
|
]).nullish()
|
|
81181
81241
|
});
|
|
@@ -81195,7 +81255,10 @@ Task description:
|
|
|
81195
81255
|
zWaitForTerminalExitResponse,
|
|
81196
81256
|
zKillTerminalResponse,
|
|
81197
81257
|
zCreateElicitationResponse,
|
|
81198
|
-
|
|
81258
|
+
zConnectMcpResponse,
|
|
81259
|
+
zDisconnectMcpResponse,
|
|
81260
|
+
zExtResponse,
|
|
81261
|
+
zMessageMcpResponse
|
|
81199
81262
|
])
|
|
81200
81263
|
}),
|
|
81201
81264
|
object$1({
|
|
@@ -120417,6 +120480,7 @@ ${this.stack.split("\n").slice(1).join("\n")}` : this.toString();
|
|
|
120417
120480
|
providers_set: "providers/set",
|
|
120418
120481
|
session_cancel: "session/cancel",
|
|
120419
120482
|
session_close: "session/close",
|
|
120483
|
+
session_delete: "session/delete",
|
|
120420
120484
|
session_fork: "session/fork",
|
|
120421
120485
|
session_list: "session/list",
|
|
120422
120486
|
session_load: "session/load",
|
|
@@ -120509,6 +120573,15 @@ ${this.stack.split("\n").slice(1).join("\n")}` : this.toString();
|
|
|
120509
120573
|
writable
|
|
120510
120574
|
};
|
|
120511
120575
|
}
|
|
120576
|
+
function emptyObjectResponse(response) {
|
|
120577
|
+
return response ?? {};
|
|
120578
|
+
}
|
|
120579
|
+
function rejectedPromise(error2) {
|
|
120580
|
+
const promise = Promise.reject(error2);
|
|
120581
|
+
promise.catch(() => {
|
|
120582
|
+
});
|
|
120583
|
+
return promise;
|
|
120584
|
+
}
|
|
120512
120585
|
class ClientSideConnection {
|
|
120513
120586
|
connection;
|
|
120514
120587
|
constructor(toClient, stream2) {
|
|
@@ -120517,7 +120590,8 @@ ${this.stack.split("\n").slice(1).join("\n")}` : this.toString();
|
|
|
120517
120590
|
switch (method) {
|
|
120518
120591
|
case CLIENT_METHODS.fs_write_text_file: {
|
|
120519
120592
|
const validatedParams = zWriteTextFileRequest.parse(params);
|
|
120520
|
-
|
|
120593
|
+
const result = await client.writeTextFile?.(validatedParams);
|
|
120594
|
+
return result ?? {};
|
|
120521
120595
|
}
|
|
120522
120596
|
case CLIENT_METHODS.fs_read_text_file: {
|
|
120523
120597
|
const validatedParams = zReadTextFileRequest.parse(params);
|
|
@@ -120583,92 +120657,95 @@ ${this.stack.split("\n").slice(1).join("\n")}` : this.toString();
|
|
|
120583
120657
|
};
|
|
120584
120658
|
this.connection = new Connection(requestHandler, notificationHandler, stream2);
|
|
120585
120659
|
}
|
|
120586
|
-
|
|
120587
|
-
return
|
|
120660
|
+
initialize(params) {
|
|
120661
|
+
return this.connection.sendRequest(AGENT_METHODS.initialize, params);
|
|
120588
120662
|
}
|
|
120589
|
-
|
|
120590
|
-
return
|
|
120663
|
+
newSession(params) {
|
|
120664
|
+
return this.connection.sendRequest(AGENT_METHODS.session_new, params);
|
|
120591
120665
|
}
|
|
120592
|
-
|
|
120593
|
-
return
|
|
120666
|
+
loadSession(params) {
|
|
120667
|
+
return this.connection.sendRequest(AGENT_METHODS.session_load, params, emptyObjectResponse);
|
|
120594
120668
|
}
|
|
120595
|
-
|
|
120596
|
-
return
|
|
120669
|
+
unstable_forkSession(params) {
|
|
120670
|
+
return this.connection.sendRequest(AGENT_METHODS.session_fork, params);
|
|
120597
120671
|
}
|
|
120598
|
-
|
|
120599
|
-
return
|
|
120672
|
+
listSessions(params) {
|
|
120673
|
+
return this.connection.sendRequest(AGENT_METHODS.session_list, params);
|
|
120600
120674
|
}
|
|
120601
|
-
|
|
120602
|
-
return
|
|
120675
|
+
unstable_deleteSession(params) {
|
|
120676
|
+
return this.connection.sendRequest(AGENT_METHODS.session_delete, params, emptyObjectResponse);
|
|
120603
120677
|
}
|
|
120604
|
-
|
|
120605
|
-
return
|
|
120678
|
+
resumeSession(params) {
|
|
120679
|
+
return this.connection.sendRequest(AGENT_METHODS.session_resume, params);
|
|
120606
120680
|
}
|
|
120607
|
-
|
|
120608
|
-
return
|
|
120681
|
+
closeSession(params) {
|
|
120682
|
+
return this.connection.sendRequest(AGENT_METHODS.session_close, params);
|
|
120609
120683
|
}
|
|
120610
|
-
|
|
120611
|
-
return
|
|
120684
|
+
setSessionMode(params) {
|
|
120685
|
+
return this.connection.sendRequest(AGENT_METHODS.session_set_mode, params, emptyObjectResponse);
|
|
120612
120686
|
}
|
|
120613
|
-
|
|
120614
|
-
return
|
|
120687
|
+
unstable_setSessionModel(params) {
|
|
120688
|
+
return this.connection.sendRequest(AGENT_METHODS.session_set_model, params, emptyObjectResponse);
|
|
120615
120689
|
}
|
|
120616
|
-
|
|
120617
|
-
return
|
|
120690
|
+
setSessionConfigOption(params) {
|
|
120691
|
+
return this.connection.sendRequest(AGENT_METHODS.session_set_config_option, params);
|
|
120618
120692
|
}
|
|
120619
|
-
|
|
120620
|
-
return
|
|
120693
|
+
authenticate(params) {
|
|
120694
|
+
return this.connection.sendRequest(AGENT_METHODS.authenticate, params, emptyObjectResponse);
|
|
120621
120695
|
}
|
|
120622
|
-
|
|
120623
|
-
return
|
|
120696
|
+
unstable_listProviders(params) {
|
|
120697
|
+
return this.connection.sendRequest(AGENT_METHODS.providers_list, params);
|
|
120624
120698
|
}
|
|
120625
|
-
|
|
120626
|
-
return
|
|
120699
|
+
unstable_setProvider(params) {
|
|
120700
|
+
return this.connection.sendRequest(AGENT_METHODS.providers_set, params, emptyObjectResponse);
|
|
120627
120701
|
}
|
|
120628
|
-
|
|
120629
|
-
return
|
|
120702
|
+
unstable_disableProvider(params) {
|
|
120703
|
+
return this.connection.sendRequest(AGENT_METHODS.providers_disable, params, emptyObjectResponse);
|
|
120630
120704
|
}
|
|
120631
|
-
|
|
120632
|
-
return
|
|
120705
|
+
unstable_logout(params) {
|
|
120706
|
+
return this.connection.sendRequest(AGENT_METHODS.logout, params, emptyObjectResponse);
|
|
120633
120707
|
}
|
|
120634
|
-
|
|
120635
|
-
return
|
|
120708
|
+
prompt(params) {
|
|
120709
|
+
return this.connection.sendRequest(AGENT_METHODS.session_prompt, params);
|
|
120636
120710
|
}
|
|
120637
|
-
|
|
120638
|
-
return
|
|
120711
|
+
cancel(params) {
|
|
120712
|
+
return this.connection.sendNotification(AGENT_METHODS.session_cancel, params);
|
|
120639
120713
|
}
|
|
120640
|
-
|
|
120641
|
-
return
|
|
120714
|
+
unstable_startNes(params) {
|
|
120715
|
+
return this.connection.sendRequest(AGENT_METHODS.nes_start, params);
|
|
120642
120716
|
}
|
|
120643
|
-
|
|
120644
|
-
return
|
|
120717
|
+
unstable_suggestNes(params) {
|
|
120718
|
+
return this.connection.sendRequest(AGENT_METHODS.nes_suggest, params);
|
|
120645
120719
|
}
|
|
120646
|
-
|
|
120647
|
-
return
|
|
120720
|
+
unstable_closeNes(params) {
|
|
120721
|
+
return this.connection.sendRequest(AGENT_METHODS.nes_close, params, emptyObjectResponse);
|
|
120648
120722
|
}
|
|
120649
|
-
|
|
120650
|
-
return
|
|
120723
|
+
unstable_didOpenDocument(params) {
|
|
120724
|
+
return this.connection.sendNotification(AGENT_METHODS.document_did_open, params);
|
|
120651
120725
|
}
|
|
120652
|
-
|
|
120653
|
-
return
|
|
120726
|
+
unstable_didChangeDocument(params) {
|
|
120727
|
+
return this.connection.sendNotification(AGENT_METHODS.document_did_change, params);
|
|
120654
120728
|
}
|
|
120655
|
-
|
|
120656
|
-
return
|
|
120729
|
+
unstable_didCloseDocument(params) {
|
|
120730
|
+
return this.connection.sendNotification(AGENT_METHODS.document_did_close, params);
|
|
120657
120731
|
}
|
|
120658
|
-
|
|
120659
|
-
return
|
|
120732
|
+
unstable_didSaveDocument(params) {
|
|
120733
|
+
return this.connection.sendNotification(AGENT_METHODS.document_did_save, params);
|
|
120660
120734
|
}
|
|
120661
|
-
|
|
120662
|
-
return
|
|
120735
|
+
unstable_didFocusDocument(params) {
|
|
120736
|
+
return this.connection.sendNotification(AGENT_METHODS.document_did_focus, params);
|
|
120663
120737
|
}
|
|
120664
|
-
|
|
120665
|
-
return
|
|
120738
|
+
unstable_acceptNes(params) {
|
|
120739
|
+
return this.connection.sendNotification(AGENT_METHODS.nes_accept, params);
|
|
120666
120740
|
}
|
|
120667
|
-
|
|
120668
|
-
return
|
|
120741
|
+
unstable_rejectNes(params) {
|
|
120742
|
+
return this.connection.sendNotification(AGENT_METHODS.nes_reject, params);
|
|
120669
120743
|
}
|
|
120670
|
-
|
|
120671
|
-
return
|
|
120744
|
+
extMethod(method, params) {
|
|
120745
|
+
return this.connection.sendRequest(method, params);
|
|
120746
|
+
}
|
|
120747
|
+
extNotification(method, params) {
|
|
120748
|
+
return this.connection.sendNotification(method, params);
|
|
120672
120749
|
}
|
|
120673
120750
|
get signal() {
|
|
120674
120751
|
return this.connection.signal;
|
|
@@ -120844,12 +120921,20 @@ ${this.stack.split("\n").slice(1).join("\n")}` : this.toString();
|
|
|
120844
120921
|
console.error("Got response to unknown request", response.id);
|
|
120845
120922
|
}
|
|
120846
120923
|
}
|
|
120847
|
-
sendRequest(method, params) {
|
|
120848
|
-
this.
|
|
120924
|
+
sendRequest(method, params, mapResponse) {
|
|
120925
|
+
if (this.abortController.signal.aborted) {
|
|
120926
|
+
return rejectedPromise(this.closedReason());
|
|
120927
|
+
}
|
|
120849
120928
|
const id2 = this.nextRequestId++;
|
|
120850
120929
|
const responsePromise = new Promise((resolve2, reject) => {
|
|
120851
120930
|
this.pendingResponses.set(id2, {
|
|
120852
|
-
resolve:
|
|
120931
|
+
resolve: (response) => {
|
|
120932
|
+
try {
|
|
120933
|
+
resolve2(mapResponse ? mapResponse(response) : response);
|
|
120934
|
+
} catch (error2) {
|
|
120935
|
+
reject(error2);
|
|
120936
|
+
}
|
|
120937
|
+
},
|
|
120853
120938
|
reject
|
|
120854
120939
|
});
|
|
120855
120940
|
});
|
|
@@ -120863,18 +120948,18 @@ ${this.stack.split("\n").slice(1).join("\n")}` : this.toString();
|
|
|
120863
120948
|
});
|
|
120864
120949
|
return responsePromise;
|
|
120865
120950
|
}
|
|
120866
|
-
|
|
120867
|
-
this.
|
|
120868
|
-
|
|
120951
|
+
sendNotification(method, params) {
|
|
120952
|
+
if (this.abortController.signal.aborted) {
|
|
120953
|
+
return rejectedPromise(this.closedReason());
|
|
120954
|
+
}
|
|
120955
|
+
return this.sendMessage({
|
|
120869
120956
|
jsonrpc: "2.0",
|
|
120870
120957
|
method,
|
|
120871
120958
|
params
|
|
120872
120959
|
});
|
|
120873
120960
|
}
|
|
120874
|
-
|
|
120875
|
-
|
|
120876
|
-
throw this.abortController.signal.reason ?? new Error("ACP connection closed");
|
|
120877
|
-
}
|
|
120961
|
+
closedReason() {
|
|
120962
|
+
return this.abortController.signal.reason ?? new Error("ACP connection closed");
|
|
120878
120963
|
}
|
|
120879
120964
|
async sendMessage(message) {
|
|
120880
120965
|
this.writeQueue = this.writeQueue.then(async () => {
|
|
@@ -121800,7 +121885,7 @@ ${this.stack.split("\n").slice(1).join("\n")}` : this.toString();
|
|
|
121800
121885
|
const BuiltinACPSetting = {
|
|
121801
121886
|
claude: {
|
|
121802
121887
|
packageName: "acp-extension-claude",
|
|
121803
|
-
version: "0.
|
|
121888
|
+
version: "0.38.0",
|
|
121804
121889
|
binName: "acp-extension-claude"
|
|
121805
121890
|
},
|
|
121806
121891
|
codex: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lody",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.1",
|
|
4
4
|
"description": "Lody Agent CLI tool for managing remote command execution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"node": ">=18.0.0"
|
|
21
21
|
},
|
|
22
22
|
"optionalDependencies": {
|
|
23
|
-
"acp-extension-claude": "0.
|
|
23
|
+
"acp-extension-claude": "0.38.0",
|
|
24
24
|
"acp-extension-codex": "0.15.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@agentclientprotocol/sdk": "^0.
|
|
27
|
+
"@agentclientprotocol/sdk": "^0.22.1",
|
|
28
28
|
"@better-auth/api-key": "1.5.5",
|
|
29
29
|
"@convex-dev/better-auth": "0.11.2",
|
|
30
30
|
"@loro-dev/flock-wasm": "^0.3.4",
|