@letta-ai/letta-code 0.34.62 → 0.34.64
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 +2 -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/types/agent/subagents/remote-turn-wait.d.ts.map +1 -1
- package/dist/types/backend/api/agent-message.d.ts +2 -0
- package/dist/types/backend/api/agent-message.d.ts.map +1 -1
- package/dist/types/backend/api/metadata.d.ts +0 -12
- package/dist/types/backend/api/metadata.d.ts.map +1 -1
- package/dist/types/backend/api/unified-mcp.d.ts.map +1 -1
- package/dist/types/backend/local/local-backend.d.ts.map +1 -1
- package/dist/types/backend/local/local-message-list-options.d.ts +7 -0
- package/dist/types/backend/local/local-message-list-options.d.ts.map +1 -0
- package/dist/types/backend/local/local-store.d.ts +2 -0
- package/dist/types/backend/local/local-store.d.ts.map +1 -1
- package/dist/types/backend/local/local-transcript-history.d.ts +8 -0
- package/dist/types/backend/local/local-transcript-history.d.ts.map +1 -1
- package/dist/types/backend/local/local-transcript.d.ts +1 -0
- package/dist/types/backend/local/local-transcript.d.ts.map +1 -1
- package/dist/types/backend/local/system-prompt-compilation.d.ts +2 -1
- package/dist/types/backend/local/system-prompt-compilation.d.ts.map +1 -1
- package/dist/types/channels/xml.d.ts +5 -0
- package/dist/types/channels/xml.d.ts.map +1 -1
- package/dist/types/channels-public.d.ts +1 -0
- package/dist/types/channels-public.d.ts.map +1 -1
- package/dist/types/queue/queue-runtime.d.ts +1 -1
- package/dist/types/queue/queue-runtime.d.ts.map +1 -1
- package/dist/types/queue/turn-queue-runtime.d.ts +4 -0
- package/dist/types/queue/turn-queue-runtime.d.ts.map +1 -1
- package/dist/types/reminders/engine.d.ts +3 -3
- package/dist/types/reminders/engine.d.ts.map +1 -1
- package/dist/types/tools/external-tool-background.d.ts.map +1 -1
- package/dist/types/tools/impl/claude-steer-timeouts.d.ts +5 -0
- package/dist/types/tools/impl/claude-steer-timeouts.d.ts.map +1 -1
- package/dist/types/tools/impl/external-coding-agent.d.ts +1 -1
- package/dist/types/tools/impl/external-coding-agent.d.ts.map +1 -1
- package/dist/types/tools/impl/external-fork-context.d.ts +6 -0
- package/dist/types/tools/impl/external-fork-context.d.ts.map +1 -1
- package/dist/types/tools/impl/monitor-script.d.ts +1 -0
- package/dist/types/tools/impl/monitor-script.d.ts.map +1 -1
- package/dist/types/tools/impl/monitor.d.ts +1 -0
- package/dist/types/tools/impl/monitor.d.ts.map +1 -1
- package/dist/types/tools/impl/remote-connect-retry.d.ts +4 -0
- package/dist/types/tools/impl/remote-connect-retry.d.ts.map +1 -0
- package/dist/types/tools/impl/remote-external-coding-agent.d.ts.map +1 -1
- package/dist/types/tools/impl/remote-follow-up-retry.d.ts +9 -0
- package/dist/types/tools/impl/remote-follow-up-retry.d.ts.map +1 -0
- package/dist/types/tools/impl/task.d.ts.map +1 -1
- package/dist/types/tools/impl/watch-pr.d.ts.map +1 -1
- package/dist/types/utils/message-queue-bridge.d.ts +1 -1
- package/dist/types/utils/message-queue-bridge.d.ts.map +1 -1
- package/dist/types/utils/task-notifications.d.ts +6 -0
- package/dist/types/utils/task-notifications.d.ts.map +1 -1
- package/letta.js +376 -253
- package/npm-shrinkwrap.json +18 -14
- package/package.json +2 -2
- package/scripts/source-file-size-baseline.json +2 -2
- package/skills/image-generation/SKILL.md +2 -0
- package/skills/self-configuration/SKILL.md +7 -5
|
@@ -11,7 +11,7 @@ import type { MessageCreate } from "@letta-ai/letta-client/resources/agents/agen
|
|
|
11
11
|
export type QueuedMessage = {
|
|
12
12
|
kind: "user" | "task_notification";
|
|
13
13
|
text: string;
|
|
14
|
-
/**
|
|
14
|
+
/** Complete model-facing notification parts; text remains the display fallback. */
|
|
15
15
|
content?: MessageCreate["content"];
|
|
16
16
|
/** Preserve scheduled origin even when its prompt is rendered as user text. */
|
|
17
17
|
source?: "cron";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-queue-bridge.d.ts","sourceRoot":"","sources":["../../../src/utils/message-queue-bridge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAEpF;;;;;;;;GAQG;AAEH,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,GAAG,mBAAmB,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,
|
|
1
|
+
{"version":3,"file":"message-queue-bridge.d.ts","sourceRoot":"","sources":["../../../src/utils/message-queue-bridge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAEpF;;;;;;;;GAQG;AAEH,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,GAAG,mBAAmB,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACnC,+EAA+E;IAC/E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uEAAuE;IACvE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4EAA4E;IAC5E,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,UAAU,GAAG,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;AAQnD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,UAAU,GAAG,IAAI,GAAG,IAAI,CAQhE;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CAS9D;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,OAAO,CAEhD;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { QueuedMessage } from "./message-queue-bridge";
|
|
1
2
|
/**
|
|
2
3
|
* Task Notification Formatting
|
|
3
4
|
*
|
|
@@ -41,9 +42,14 @@ export declare function resolveNotificationScope(parentScope?: {
|
|
|
41
42
|
* Format a single notification as XML string for queueing.
|
|
42
43
|
*/
|
|
43
44
|
export declare function formatTaskNotification(notification: TaskNotification): string;
|
|
45
|
+
/** Optional deployment-owned guidance for subagent receipts and results. */
|
|
46
|
+
export declare function subagentResultReminder(): string;
|
|
47
|
+
/** Preserve the display text while sending the XML and transcript as separate parts. */
|
|
48
|
+
export declare function taskNotificationMessage(text: string): Pick<QueuedMessage, "text" | "content">;
|
|
44
49
|
export declare function formatMonitorEventNotification(notification: {
|
|
45
50
|
taskId: string;
|
|
46
51
|
event: string;
|
|
52
|
+
description?: string;
|
|
47
53
|
}): string;
|
|
48
54
|
export declare function extractTaskNotificationsForDisplay(message: string): {
|
|
49
55
|
notifications: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-notifications.d.ts","sourceRoot":"","sources":["../../../src/utils/task-notifications.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"task-notifications.d.ts","sourceRoot":"","sources":["../../../src/utils/task-notifications.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAGlE;;;;;GAKG;AAMH,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,IA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