@letta-ai/letta-code 0.34.72 → 0.34.73-app-server.0
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/channels-public.js +6 -1
- package/dist/channels-public.js.map +3 -3
- 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/schedules.js +19 -5
- package/dist/schedules.js.map +5 -4
- package/dist/types/agent/preloaded-skills.d.ts +4 -1
- package/dist/types/agent/preloaded-skills.d.ts.map +1 -1
- package/dist/types/agent/subagents/parent-transcript.d.ts.map +1 -1
- package/dist/types/cli/helpers/conversation-title.d.ts.map +1 -1
- package/dist/types/constants.d.ts +5 -0
- package/dist/types/constants.d.ts.map +1 -1
- package/dist/types/cron/scheduled-task-prompt.d.ts +2 -0
- package/dist/types/cron/scheduled-task-prompt.d.ts.map +1 -1
- package/dist/types/experiments/manager.d.ts.map +1 -1
- package/dist/types/experiments/types.d.ts +2 -1
- package/dist/types/experiments/types.d.ts.map +1 -1
- package/dist/types/mods/context.d.ts +1 -0
- package/dist/types/mods/context.d.ts.map +1 -1
- package/dist/types/queue/turn-queue-runtime.d.ts +0 -4
- package/dist/types/queue/turn-queue-runtime.d.ts.map +1 -1
- package/dist/types/telemetry/index.d.ts +1 -22
- package/dist/types/telemetry/index.d.ts.map +1 -1
- package/dist/types/tools/external-tool-background.d.ts.map +1 -1
- package/dist/types/tools/impl/skill.d.ts.map +1 -1
- package/dist/types/tools/workflow/sdk-spawner.d.ts.map +1 -1
- package/dist/types/types/agent-picker.d.ts +55 -0
- package/dist/types/types/agent-picker.d.ts.map +1 -0
- package/dist/types/types/list-memory-command.d.ts +9 -0
- package/dist/types/types/list-memory-command.d.ts.map +1 -0
- package/dist/types/types/protocol_v2.d.ts +6 -21
- package/dist/types/types/protocol_v2.d.ts.map +1 -1
- package/dist/types/utils/task-notifications.d.ts +2 -0
- package/dist/types/utils/task-notifications.d.ts.map +1 -1
- package/dist/types/websocket/listener/listener-constants.d.ts.map +1 -1
- package/dist/types/websocket/listener/protocol-outbound.d.ts +0 -1
- package/dist/types/websocket/listener/protocol-outbound.d.ts.map +1 -1
- package/dist/types/websocket/listener/types.d.ts +1 -0
- package/dist/types/websocket/listener/types.d.ts.map +1 -1
- package/letta.js +239266 -232870
- package/npm-shrinkwrap.json +52 -11
- package/package.json +2 -2
- package/scripts/isolated-unit-tests.json +0 -5
- package/scripts/source-file-size-baseline.json +8 -15
- package/dist/types/websocket/listener/constants.d.ts +0 -26
- package/dist/types/websocket/listener/constants.d.ts.map +0 -1
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.73-app-server.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"packages": {
|
|
6
6
|
"node_modules/@alcalzone/ansi-tokenize": {
|
|
@@ -1181,7 +1181,13 @@
|
|
|
1181
1181
|
"url": "https://opencollective.com/libvips"
|
|
1182
1182
|
}
|
|
1183
1183
|
},
|
|
1184
|
-
"node_modules/@letta-ai/letta-
|
|
1184
|
+
"node_modules/@letta-ai/letta-client": {
|
|
1185
|
+
"version": "1.12.1",
|
|
1186
|
+
"resolved": "https://registry.npmjs.org/@letta-ai/letta-client/-/letta-client-1.12.1.tgz",
|
|
1187
|
+
"integrity": "sha512-rYjXMXpkfssj7VBBX3qCp6mdpNRv6YPNrliYsjkhWoQDqGg3J9bsgIQ28ZhQTddabYxRUIwcdzuaizFx8pvZ7A==",
|
|
1188
|
+
"license": "Apache-2.0"
|
|
1189
|
+
},
|
|
1190
|
+
"node_modules/@letta-ai/letta-code/node_modules/@letta-ai/letta-agent-sdk": {
|
|
1185
1191
|
"version": "0.8.38",
|
|
1186
1192
|
"resolved": "https://registry.npmjs.org/@letta-ai/letta-agent-sdk/-/letta-agent-sdk-0.8.38.tgz",
|
|
1187
1193
|
"integrity": "sha512-ayMN6fNMRlj368RPRPDBVYQQDujxcawqEnsNmyefEgIm0j0q1+33VZpAUNfVAvB0Vivvx4FTQDx/E9Lbmpafhw==",
|
|
@@ -1197,11 +1203,46 @@
|
|
|
1197
1203
|
"@letta-ai/letta-code": ">=0.34.9 <0.35.0"
|
|
1198
1204
|
}
|
|
1199
1205
|
},
|
|
1200
|
-
"node_modules/@letta-ai/letta-
|
|
1201
|
-
"version": "
|
|
1202
|
-
"resolved": "https://registry.npmjs.org/@letta-ai/letta-
|
|
1203
|
-
"integrity": "sha512-
|
|
1204
|
-
"
|
|
1206
|
+
"node_modules/@letta-ai/letta-code/node_modules/@letta-ai/letta-code": {
|
|
1207
|
+
"version": "0.34.72",
|
|
1208
|
+
"resolved": "https://registry.npmjs.org/@letta-ai/letta-code/-/letta-code-0.34.72.tgz",
|
|
1209
|
+
"integrity": "sha512-04HHVp0DafdYGR3eAlKCRjGKJwhu140Q1eFiFPzfeyDZszKLSkAF8fKac3EuqrdPQ92uBTwa1ldH200Gb61Rxg==",
|
|
1210
|
+
"hasInstallScript": true,
|
|
1211
|
+
"license": "Apache-2.0",
|
|
1212
|
+
"peer": true,
|
|
1213
|
+
"dependencies": {
|
|
1214
|
+
"@cursor/sdk": "1.1.0",
|
|
1215
|
+
"@earendil-works/pi-ai": "^1.5.2",
|
|
1216
|
+
"@letta-ai/letta-agent-sdk": "0.8.38",
|
|
1217
|
+
"@letta-ai/letta-client": "^1.10.2",
|
|
1218
|
+
"@letta-ai/trajectory": "0.2.0",
|
|
1219
|
+
"@modelcontextprotocol/sdk": "1.32.2",
|
|
1220
|
+
"@pierre/diffs": "1.2.2",
|
|
1221
|
+
"@scarf/scarf": "^1.4.0",
|
|
1222
|
+
"@shikijs/langs": "4.0.2",
|
|
1223
|
+
"cron-parser": "^5.6.1",
|
|
1224
|
+
"cross-spawn": "^7.0.6",
|
|
1225
|
+
"glob": "^13.0.0",
|
|
1226
|
+
"ink": "5.2.1",
|
|
1227
|
+
"ink-link": "^4.1.0",
|
|
1228
|
+
"node-pty": "^1.1.0",
|
|
1229
|
+
"open": "^10.2.0",
|
|
1230
|
+
"react": "18.2.0",
|
|
1231
|
+
"sharp": "^0.35.5",
|
|
1232
|
+
"shiki": "^4.0.2",
|
|
1233
|
+
"strip-ansi": "^7.2.0",
|
|
1234
|
+
"ws": "^8.19.0"
|
|
1235
|
+
},
|
|
1236
|
+
"bin": {
|
|
1237
|
+
"letta": "letta.js"
|
|
1238
|
+
},
|
|
1239
|
+
"engines": {
|
|
1240
|
+
"bun": ">=1.3.2",
|
|
1241
|
+
"node": "^22.23.4 || ^24.22.1 || ^26.12.1"
|
|
1242
|
+
},
|
|
1243
|
+
"optionalDependencies": {
|
|
1244
|
+
"@vscode/ripgrep": "^1.17.0"
|
|
1245
|
+
}
|
|
1205
1246
|
},
|
|
1206
1247
|
"node_modules/@letta-ai/letta-code/node_modules/@pierre/diffs": {
|
|
1207
1248
|
"version": "1.2.2",
|
|
@@ -3315,9 +3356,9 @@
|
|
|
3315
3356
|
}
|
|
3316
3357
|
},
|
|
3317
3358
|
"node_modules/ip-address": {
|
|
3318
|
-
"version": "10.7.
|
|
3319
|
-
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.
|
|
3320
|
-
"integrity": "sha512-
|
|
3359
|
+
"version": "10.7.7",
|
|
3360
|
+
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.7.tgz",
|
|
3361
|
+
"integrity": "sha512-He15rAs4jip5AEAz7XM9L+S6Y8LBMIDj6YewbYuJfmDnOCKWb+3TLOGnHFBTAIW7wpm5ohtZ+Xyo5PEaG+O2vQ==",
|
|
3321
3362
|
"license": "MIT",
|
|
3322
3363
|
"engines": {
|
|
3323
3364
|
"node": ">= 12"
|
|
@@ -5091,7 +5132,7 @@
|
|
|
5091
5132
|
},
|
|
5092
5133
|
"": {
|
|
5093
5134
|
"name": "@letta-ai/letta-code",
|
|
5094
|
-
"version": "0.34.
|
|
5135
|
+
"version": "0.34.73-app-server.0",
|
|
5095
5136
|
"dependencies": {
|
|
5096
5137
|
"@cursor/sdk": "1.1.0",
|
|
5097
5138
|
"@earendil-works/pi-ai": "^1.5.2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@letta-ai/letta-code",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.73-app-server.0",
|
|
4
4
|
"lettaStartupLogProtocol": 1,
|
|
5
5
|
"lettaConfigDirProtocol": 1,
|
|
6
6
|
"description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
},
|
|
288
288
|
"lettaLifecycleProtocol": 1,
|
|
289
289
|
"lettaRuntimeGraphProtocol": 1,
|
|
290
|
-
"lettaRuntimeGraphSha512": "sha512-
|
|
290
|
+
"lettaRuntimeGraphSha512": "sha512-4Totb0VBAS7b/baVHFa3fw+t+qo+jjCNuit0x8n16c4OSxrykV/kC/9QquC0F97dFuvdpn9HGfnhlhFqpESKEA==",
|
|
291
291
|
"patchedDependencies": {
|
|
292
292
|
"@earendil-works/pi-ai@1.5.2": "patches/@earendil-works%2Fpi-ai@1.5.2.patch"
|
|
293
293
|
}
|
|
@@ -20,11 +20,6 @@
|
|
|
20
20
|
"timeoutMs": 30000,
|
|
21
21
|
"reason": "Builds Bun and Node child fixtures with Bun.build; running channel imports afterward in the same Bun process produces alias-resolution failures."
|
|
22
22
|
},
|
|
23
|
-
{
|
|
24
|
-
"path": "src/cli/tui-interrupt-queue-lifecycle.test.tsx",
|
|
25
|
-
"timeoutMs": 30000,
|
|
26
|
-
"reason": "Mounts the production TUI, which updates process-wide agent/tool context and settings; keep its proof agent out of later permission and mod tests."
|
|
27
|
-
},
|
|
28
23
|
{
|
|
29
24
|
"path": "scripts/unit-test-impact.test.cjs",
|
|
30
25
|
"timeoutMs": 15000,
|
|
@@ -1,24 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"src/agent/memory-git.ts": 1819,
|
|
3
3
|
"src/backend/local/local-store.ts": 3179,
|
|
4
|
-
"src/cli/
|
|
5
|
-
"src/cli/
|
|
6
|
-
"src/cli/app/use-approval-flow.ts": 1031,
|
|
7
|
-
"src/cli/app/use-configuration-handlers.ts": 1381,
|
|
8
|
-
"src/cli/app/use-conversation-loop.ts": 2540,
|
|
9
|
-
"src/cli/app/use-submit-handler.ts": 3638,
|
|
10
|
-
"src/cli/components/AgentSelector.tsx": 1032,
|
|
11
|
-
"src/cli/components/InputRich.tsx": 1945,
|
|
12
|
-
"src/cli/components/ModelSelector.tsx": 1177,
|
|
4
|
+
"src/cli/components/AgentSelector.tsx": 1026,
|
|
5
|
+
"src/cli/components/InputRich.tsx": 1930,
|
|
13
6
|
"src/cli/components/ProviderSelector.tsx": 1483,
|
|
14
7
|
"src/cli/helpers/accumulator.ts": 1384,
|
|
15
|
-
"src/cli/helpers/reflection-transcript.ts":
|
|
8
|
+
"src/cli/helpers/reflection-transcript.ts": 1554,
|
|
16
9
|
"src/cli/reflection-transcript.test.ts": 1081,
|
|
17
10
|
"src/cli/subcommands/mcp.ts": 1018,
|
|
18
11
|
"src/cli/subcommands/skills.ts": 1239,
|
|
19
|
-
"src/headless.ts":
|
|
12
|
+
"src/headless.ts": 4447,
|
|
20
13
|
"src/hooks/integration.test.ts": 1069,
|
|
21
|
-
"src/index.ts":
|
|
14
|
+
"src/index.ts": 2210,
|
|
22
15
|
"src/mods/learning-harness.ts": 2432,
|
|
23
16
|
"src/mods/mod-engine.test.ts": 2153,
|
|
24
17
|
"src/mods/mod-engine.ts": 1833,
|
|
@@ -30,8 +23,8 @@
|
|
|
30
23
|
"src/settings-manager.ts": 1711,
|
|
31
24
|
"src/tools/manager.ts": 2351,
|
|
32
25
|
"src/tools/tool-execution-context.test.ts": 1025,
|
|
33
|
-
"src/types/protocol_v2.ts":
|
|
34
|
-
"src/websocket/listen-client-concurrency.test.ts":
|
|
26
|
+
"src/types/protocol_v2.ts": 2117,
|
|
27
|
+
"src/websocket/listen-client-concurrency.test.ts": 2471,
|
|
35
28
|
"src/websocket/listener/commands/memory.ts": 1058,
|
|
36
|
-
"src/websocket/listener/protocol-inbound.ts":
|
|
29
|
+
"src/websocket/listener/protocol-inbound.ts": 2005
|
|
37
30
|
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const CLOUD_ENVIRONMENT_NOT_FOUND_CLOSE_REASON = "Environment not found";
|
|
2
|
-
export declare const MAX_RETRY_DURATION_MS: number;
|
|
3
|
-
export declare const INITIAL_RETRY_DELAY_MS = 1000;
|
|
4
|
-
export declare const MAX_RETRY_DELAY_MS = 30000;
|
|
5
|
-
export declare const MAX_RETRY_ATTEMPTS: number;
|
|
6
|
-
export declare const LISTENER_STREAM_OPEN_TIMEOUT_MS = 30000;
|
|
7
|
-
export declare const LISTENER_HANDSHAKE_TIMEOUT_MS = 30000;
|
|
8
|
-
export declare function getListenerSocketOptions(apiKey: string): {
|
|
9
|
-
headers: Record<string, string>;
|
|
10
|
-
handshakeTimeout: number;
|
|
11
|
-
};
|
|
12
|
-
export declare const LISTENER_HEARTBEAT_INTERVAL_MS = 30000;
|
|
13
|
-
export declare const LISTENER_PONG_TIMEOUT_MS = 90000;
|
|
14
|
-
export declare function isListenerPongStale(lastPongAt: number | null, now: number, timeoutMs: number): boolean;
|
|
15
|
-
export declare const SYSTEM_REMINDER_RE: RegExp;
|
|
16
|
-
export declare const LISTENER_STREAM_RESUME_POLICY: {
|
|
17
|
-
initialDelayMs: number;
|
|
18
|
-
maxAttempts: number;
|
|
19
|
-
maxDelayMs: number;
|
|
20
|
-
};
|
|
21
|
-
export declare const LLM_API_ERROR_MAX_RETRIES = 3;
|
|
22
|
-
export declare const CLOUD_API_DEPLOYMENT_RECOVERY_MAX_ATTEMPTS = 3;
|
|
23
|
-
export declare const EMPTY_RESPONSE_MAX_RETRIES = 2;
|
|
24
|
-
export declare const MAX_PRE_STREAM_RECOVERY = 2;
|
|
25
|
-
export declare const MAX_POST_STOP_APPROVAL_RECOVERY = 2;
|
|
26
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/websocket/listener/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wCAAwC,0BAA0B,CAAC;AAEhF,eAAO,MAAM,qBAAqB,QAAgB,CAAC;AACnD,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAC3C,eAAO,MAAM,kBAAkB,QAAQ,CAAC;AACxC,eAAO,MAAM,kBAAkB,QAE9B,CAAC;AACF,eAAO,MAAM,+BAA+B,QAAQ,CAAC;AAErD,eAAO,MAAM,6BAA6B,QAAQ,CAAC;AAEnD,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG;IACxD,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CASA;AAED,eAAO,MAAM,8BAA8B,QAAQ,CAAC;AACpD,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAE9C,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,GAChB,OAAO,CAKT;AAED,eAAO,MAAM,kBAAkB,QACkB,CAAC;AAElD,eAAO,MAAM,6BAA6B;;;;CAIzC,CAAC;AAEF,eAAO,MAAM,yBAAyB,IAAI,CAAC;AAC3C,eAAO,MAAM,0CAA0C,IAAI,CAAC;AAC5D,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAC5C,eAAO,MAAM,uBAAuB,IAAI,CAAC;AACzC,eAAO,MAAM,+BAA+B,IAAI,CAAC"}
|