@letta-ai/letta-code 0.34.22 → 0.34.23
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/mcp-client.js +2 -2
- package/dist/mcp-client.js.map +1 -1
- package/dist/mcp-oauth.js +2 -2
- package/dist/mcp-oauth.js.map +1 -1
- package/dist/types/tools/impl/external-coding-agent-task.d.ts +9 -0
- package/dist/types/tools/impl/external-coding-agent-task.d.ts.map +1 -1
- package/letta.js +9 -5
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
|
@@ -16,6 +16,15 @@ export declare function trackExternalFollowupCompletion(args: {
|
|
|
16
16
|
captureReservation?: NativeSessionCaptureReservation;
|
|
17
17
|
toolCallId?: string;
|
|
18
18
|
publishResult?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Set to false when this follow-up runs on a remote worker rather than on
|
|
21
|
+
* the caller's own machine: the notice belongs to the caller's conversation
|
|
22
|
+
* and must be delivered there, not emitted locally against a parent runtime
|
|
23
|
+
* this machine only holds as a sideband control scope.
|
|
24
|
+
*/
|
|
25
|
+
emitCompletionNotification?: boolean;
|
|
26
|
+
/** False for remote workers, which must never become the parent's harness. */
|
|
27
|
+
claimsParentRuntime?: boolean;
|
|
19
28
|
}): SpawnBackgroundSubagentTaskResult;
|
|
20
29
|
export declare function spawnExternalCodingAgentFollowup(args: {
|
|
21
30
|
agentId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-coding-agent-task.d.ts","sourceRoot":"","sources":["../../../../src/tools/impl/external-coding-agent-task.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAEL,KAAK,uBAAuB,EAG7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,KAAK,+BAA+B,EAErC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,QAAQ,CAAC;AAEhB,wBAAgB,+BAA+B,CAAC,IAAI,EAAE;IACpD,IAAI,EAAE,uBAAuB,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,cAAc,EAAE,MAAM,CAAC;QACvB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC9B,CAAC;IACF,UAAU,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IACpC,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,kBAAkB,CAAC,EAAE,+BAA+B,CAAC;IACrD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"external-coding-agent-task.d.ts","sourceRoot":"","sources":["../../../../src/tools/impl/external-coding-agent-task.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAEL,KAAK,uBAAuB,EAG7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,KAAK,+BAA+B,EAErC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,QAAQ,CAAC;AAEhB,wBAAgB,+BAA+B,CAAC,IAAI,EAAE;IACpD,IAAI,EAAE,uBAAuB,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,cAAc,EAAE,MAAM,CAAC;QACvB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC9B,CAAC;IACF,UAAU,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IACpC,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,kBAAkB,CAAC,EAAE,+BAA+B,CAAC;IACrD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;OAKG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,8EAA8E;IAC9E,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,GAAG,iCAAiC,CA4DpC;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE;IACrD,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,cAAc,EAAE,MAAM,CAAC;QACvB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC9B,CAAC;CACH,GAAG,iCAAiC,CA2BpC"}
|
package/letta.js
CHANGED
|
@@ -5967,7 +5967,7 @@ var package_default;
|
|
|
5967
5967
|
var init_package = __esm(() => {
|
|
5968
5968
|
package_default = {
|
|
5969
5969
|
name: "@letta-ai/letta-code",
|
|
5970
|
-
version: "0.34.
|
|
5970
|
+
version: "0.34.23",
|
|
5971
5971
|
lettaStartupLogProtocol: 1,
|
|
5972
5972
|
description: "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
|
|
5973
5973
|
type: "module",
|
|
@@ -210919,7 +210919,7 @@ var init_mcp_client = __esm(() => {
|
|
|
210919
210919
|
init_streamableHttp();
|
|
210920
210920
|
DEFAULT_CLIENT_INFO = {
|
|
210921
210921
|
name: "letta-code",
|
|
210922
|
-
version: "0.34.
|
|
210922
|
+
version: "0.34.23"
|
|
210923
210923
|
};
|
|
210924
210924
|
});
|
|
210925
210925
|
|
|
@@ -243307,7 +243307,7 @@ class CodexAppServerClient {
|
|
|
243307
243307
|
await this.request("initialize", {
|
|
243308
243308
|
clientInfo: {
|
|
243309
243309
|
name: "letta-code",
|
|
243310
|
-
version: "0.34.
|
|
243310
|
+
version: "0.34.23"
|
|
243311
243311
|
},
|
|
243312
243312
|
capabilities: null
|
|
243313
243313
|
});
|
|
@@ -250694,6 +250694,8 @@ function trackExternalFollowupCompletion(args) {
|
|
|
250694
250694
|
existingAgentId: args.agentId,
|
|
250695
250695
|
toolCallId: args.toolCallId,
|
|
250696
250696
|
publishResult: args.publishResult,
|
|
250697
|
+
emitCompletionNotification: args.emitCompletionNotification,
|
|
250698
|
+
claimsParentRuntime: args.claimsParentRuntime,
|
|
250697
250699
|
parentScope: args.parentScope,
|
|
250698
250700
|
actingUserId: args.parentScope.actingUserId,
|
|
250699
250701
|
deps: {
|
|
@@ -463945,7 +463947,9 @@ async function handleSubagentMessageCommand(command, parent, deps = {}) {
|
|
|
463945
463947
|
interrupt: receipt.interrupt,
|
|
463946
463948
|
captureReservation,
|
|
463947
463949
|
toolCallId: command.tool_call_id,
|
|
463948
|
-
publishResult: true
|
|
463950
|
+
publishResult: true,
|
|
463951
|
+
emitCompletionNotification: false,
|
|
463952
|
+
claimsParentRuntime: false
|
|
463949
463953
|
});
|
|
463950
463954
|
} catch (error5) {
|
|
463951
463955
|
await receipt.interrupt().catch(() => {
|
|
@@ -537155,4 +537159,4 @@ function registerBunOAuthFlows() {
|
|
|
537155
537159
|
registerBunOAuthFlows();
|
|
537156
537160
|
await init_src5().then(() => exports_src2);
|
|
537157
537161
|
|
|
537158
|
-
//# debugId=
|
|
537162
|
+
//# debugId=B74D7424006F358464756E2164756E21
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@letta-ai/letta-code",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.23",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"packages": {
|
|
6
6
|
"node_modules/@alcalzone/ansi-tokenize": {
|
|
@@ -5456,7 +5456,7 @@
|
|
|
5456
5456
|
},
|
|
5457
5457
|
"": {
|
|
5458
5458
|
"name": "@letta-ai/letta-code",
|
|
5459
|
-
"version": "0.34.
|
|
5459
|
+
"version": "0.34.23",
|
|
5460
5460
|
"dependencies": {
|
|
5461
5461
|
"@earendil-works/pi-ai": "^0.99.1",
|
|
5462
5462
|
"@janhapke/sharp-electron": "0.35.3-electron.1",
|
package/package.json
CHANGED