@letta-ai/letta-code 0.30.31 → 0.31.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.
Files changed (80) hide show
  1. package/dist/agent-presets-agent-presets.js +11 -0
  2. package/dist/agent-presets-agent-presets.js.map +9 -0
  3. package/dist/agent-presets-personality-asset-content.js +42 -0
  4. package/dist/agent-presets-personality-asset-content.js.map +10 -0
  5. package/dist/agent-presets.js +17 -2
  6. package/dist/agent-presets.js.map +3 -3
  7. package/dist/channels-public.js +16 -1
  8. package/dist/channels-public.js.map +5 -4
  9. package/dist/gateway-core.js +15 -7
  10. package/dist/gateway-core.js.map +3 -3
  11. package/dist/mcp-client.js +2 -2
  12. package/dist/mcp-client.js.map +1 -1
  13. package/dist/types/agent/create-agent-request.d.ts +3 -0
  14. package/dist/types/agent/create-agent-request.d.ts.map +1 -1
  15. package/dist/types/agent/model.d.ts.map +1 -1
  16. package/dist/types/agent/personality-asset-content.d.ts +3 -0
  17. package/dist/types/agent/personality-asset-content.d.ts.map +1 -0
  18. package/dist/types/agent/skills.d.ts.map +1 -1
  19. package/dist/types/backend/api/ephemeral-conversations.d.ts +15 -0
  20. package/dist/types/backend/api/ephemeral-conversations.d.ts.map +1 -0
  21. package/dist/types/channels/gateway-core.d.ts.map +1 -1
  22. package/dist/types/channels/route-thread-key.d.ts +20 -0
  23. package/dist/types/channels/route-thread-key.d.ts.map +1 -0
  24. package/dist/types/channels-public.d.ts +1 -0
  25. package/dist/types/channels-public.d.ts.map +1 -1
  26. package/dist/types/providers/byok-providers.d.ts.map +1 -1
  27. package/dist/types/tools/impl/exec-command.d.ts.map +1 -1
  28. package/dist/types/tools/impl/shell-runner.d.ts +1 -0
  29. package/dist/types/tools/impl/shell-runner.d.ts.map +1 -1
  30. package/dist/types/tools/impl/skill.d.ts.map +1 -1
  31. package/dist/types/tools/toolset.d.ts +1 -1
  32. package/dist/types/tools/toolset.d.ts.map +1 -1
  33. package/dist/types/types/external-tool-protocol.d.ts +2 -2
  34. package/dist/types/types/external-tool-protocol.d.ts.map +1 -1
  35. package/dist/types/types/protocol_v2.d.ts +30 -190
  36. package/dist/types/types/protocol_v2.d.ts.map +1 -1
  37. package/dist/types/types/runtime-scope.d.ts +4 -2
  38. package/dist/types/types/runtime-scope.d.ts.map +1 -1
  39. package/dist/types/types/runtime-start-protocol.d.ts +21 -0
  40. package/dist/types/types/runtime-start-protocol.d.ts.map +1 -0
  41. package/dist/types/types/schedule-protocol.d.ts +151 -1
  42. package/dist/types/types/schedule-protocol.d.ts.map +1 -1
  43. package/dist/types/utils/frontmatter.d.ts.map +1 -1
  44. package/dist/types/websocket/listener/cwd-change.d.ts.map +1 -1
  45. package/dist/types/websocket/listener/protocol-outbound.d.ts +1 -1
  46. package/dist/types/websocket/listener/protocol-outbound.d.ts.map +1 -1
  47. package/dist/types/websocket/listener/scope.d.ts +1 -1
  48. package/dist/types/websocket/listener/scope.d.ts.map +1 -1
  49. package/letta.js +1230 -511
  50. package/package.json +5 -3
  51. package/scripts/builtin-skills-watch/agent-watch.test.ts +104 -0
  52. package/scripts/builtin-skills-watch/agent-watch.ts +337 -0
  53. package/scripts/builtin-skills-watch/aggregate-results.test.ts +79 -0
  54. package/scripts/builtin-skills-watch/aggregate-results.ts +326 -0
  55. package/scripts/builtin-skills-watch/analysis.test.ts +70 -0
  56. package/scripts/builtin-skills-watch/analysis.ts +228 -0
  57. package/scripts/builtin-skills-watch/evidence.test.ts +114 -0
  58. package/scripts/builtin-skills-watch/evidence.ts +145 -0
  59. package/scripts/builtin-skills-watch/github.ts +161 -0
  60. package/scripts/builtin-skills-watch/tracker.test.ts +249 -0
  61. package/scripts/builtin-skills-watch/tracker.ts +506 -0
  62. package/scripts/builtin-skills-watch/update-tracker.test.ts +234 -0
  63. package/scripts/builtin-skills-watch/update-tracker.ts +508 -0
  64. package/scripts/claude-watch/release-source.test.ts +16 -4
  65. package/scripts/claude-watch/release-source.ts +41 -2
  66. package/scripts/codex-watch/agent-watch.ts +8 -5
  67. package/scripts/codex-watch/release-analysis.test.ts +21 -27
  68. package/scripts/codex-watch/release-analysis.ts +30 -10
  69. package/scripts/codex-watch/tracker.test.ts +12 -33
  70. package/scripts/codex-watch/tracker.ts +30 -22
  71. package/scripts/pi-ai-watch/agent-watch.ts +9 -14
  72. package/scripts/pi-ai-watch/release-analysis.test.ts +24 -18
  73. package/scripts/pi-ai-watch/release-analysis.ts +85 -45
  74. package/scripts/pi-ai-watch/tracker.test.ts +25 -18
  75. package/scripts/pi-ai-watch/tracker.ts +7 -19
  76. package/scripts/pi-ai-watch/update-tracker.ts +2 -2
  77. package/scripts/source-file-size-baseline.json +3 -3
  78. package/skills/dispatching-coding-agents/SKILL.md +16 -7
  79. package/skills/self-configuration/SKILL.md +20 -1
  80. package/skills/syncing-memory-filesystem/SKILL.md +118 -226
@@ -17,8 +17,9 @@ import type { ConversationForkBody } from "./conversation-fork-protocol";
17
17
  import type * as CwdProtocol from "./cwd-protocol";
18
18
  import type { ExternalToolCallRequestMessage, ExternalToolCallResponseCommand, RuntimeExternalToolsUpdateCommand, RuntimeExternalToolsUpdateResponseMessage, RuntimeStartExternalToolsGroup } from "./external-tool-protocol";
19
19
  import type { LoopState } from "./loop-status-protocol";
20
- import type { RuntimeScope } from "./runtime-scope";
21
- import type { CronRunLogPage, CronTask } from "./schedule-protocol";
20
+ import type { AgentRuntimeScope, ConversationRuntimeScope } from "./runtime-scope";
21
+ import type { RuntimeStartClientInfo, RuntimeStartCreateAgentOptions, RuntimeStartCreateConversationOptions } from "./runtime-start-protocol";
22
+ import type { CronProtocolCommand, CronProtocolResponseMessage } from "./schedule-protocol";
22
23
  import type * as TeleportProtocol from "./teleport-protocol";
23
24
  export type * from "./approval-classification-protocol";
24
25
  export type * from "./background-process-protocol";
@@ -26,6 +27,7 @@ export type * from "./cwd-protocol";
26
27
  export type * from "./external-tool-protocol";
27
28
  export type * from "./loop-status-protocol";
28
29
  export type * from "./runtime-scope";
30
+ export type * from "./runtime-start-protocol";
29
31
  export type * from "./schedule-protocol";
30
32
  export type * from "./teleport-protocol";
31
33
  export type DmPolicy = "pairing" | "allowlist" | "open";
@@ -44,7 +46,7 @@ export interface ExperimentSnapshot {
44
46
  * Base envelope shared by all v2 websocket messages.
45
47
  */
46
48
  export interface RuntimeEnvelope {
47
- runtime: RuntimeScope;
49
+ runtime: ConversationRuntimeScope;
48
50
  event_seq: number;
49
51
  emitted_at: string;
50
52
  idempotency_key: string;
@@ -520,13 +522,13 @@ export interface InputCommand {
520
522
  type: "input";
521
523
  /** Correlates acknowledgement without waiting for the turn to finish. */
522
524
  request_id?: string;
523
- runtime: RuntimeScope;
525
+ runtime: ConversationRuntimeScope;
524
526
  payload: InputPayload;
525
527
  }
526
528
  export interface InputAcceptedResponseMessage {
527
529
  type: "input_accepted";
528
530
  request_id: string;
529
- runtime: RuntimeScope;
531
+ runtime: ConversationRuntimeScope;
530
532
  accepted: boolean;
531
533
  disposition?: "started" | "queued";
532
534
  error?: string;
@@ -539,19 +541,19 @@ export interface ChangeDeviceStatePayload {
539
541
  }
540
542
  export interface ChangeDeviceStateCommand {
541
543
  type: "change_device_state";
542
- runtime: RuntimeScope;
544
+ runtime: ConversationRuntimeScope;
543
545
  payload: ChangeDeviceStatePayload;
544
546
  }
545
547
  export interface AbortMessageCommand {
546
548
  type: "abort_message";
547
- runtime: RuntimeScope;
549
+ runtime: ConversationRuntimeScope;
548
550
  /** When provided, app-server sends abort_message_response on the control channel. */
549
551
  request_id?: string;
550
552
  run_id?: string | null;
551
553
  }
552
554
  export interface SyncCommand {
553
555
  type: "sync";
554
- runtime: RuntimeScope;
556
+ runtime: ConversationRuntimeScope;
555
557
  /** When provided, app-server sends sync_response after replaying state. */
556
558
  request_id?: string;
557
559
  /**
@@ -566,27 +568,6 @@ export interface SyncCommand {
566
568
  */
567
569
  force_device_status?: boolean;
568
570
  }
569
- export interface RuntimeStartCreateAgentOptions {
570
- /** Body forwarded to the Letta agents create API. */
571
- body: AgentCreateParams;
572
- /** Whether to pin the created agent globally. Defaults to true. */
573
- pin_global?: boolean;
574
- /**
575
- * Whether to set up the memory filesystem for the created agent (tag
576
- * stamp + settings + repo clone). Defaults to true; false creates a
577
- * worker-style agent whose memory scope is provided per session.
578
- */
579
- memfs?: boolean;
580
- }
581
- export interface RuntimeStartCreateConversationOptions {
582
- /** Body forwarded to the Letta conversations create API. */
583
- body?: Omit<ConversationCreateParams, "agent_id">;
584
- }
585
- export interface RuntimeStartClientInfo {
586
- name: string;
587
- title?: string;
588
- version?: string;
589
- }
590
571
  export interface RuntimeStartCommand {
591
572
  type: "runtime_start";
592
573
  /** Echoed back in the response for request correlation. */
@@ -597,7 +578,7 @@ export interface RuntimeStartCommand {
597
578
  create_agent?: RuntimeStartCreateAgentOptions;
598
579
  /** Existing conversation to start/resume. Mutually exclusive with create_conversation. */
599
580
  conversation_id?: string;
600
- /** Create a new conversation for the resolved agent before starting the runtime. */
581
+ /** Create a new conversation. Without an agent, body must provide model and system. */
601
582
  create_conversation?: RuntimeStartCreateConversationOptions;
602
583
  /** Canonical source tags to merge. Matching legacy summary prefixes are removed. */
603
584
  conversation_source_tags?: readonly string[];
@@ -664,7 +645,7 @@ export interface TerminalExitedMessage {
664
645
  export interface AbortMessageResponseMessage {
665
646
  type: "abort_message_response";
666
647
  request_id: string;
667
- runtime: RuntimeScope;
648
+ runtime: ConversationRuntimeScope;
668
649
  /** True when an active turn or pending approval was interrupted. */
669
650
  aborted: boolean;
670
651
  success: boolean;
@@ -673,7 +654,7 @@ export interface AbortMessageResponseMessage {
673
654
  export interface SyncResponseMessage {
674
655
  type: "sync_response";
675
656
  request_id: string;
676
- runtime: RuntimeScope;
657
+ runtime: ConversationRuntimeScope;
677
658
  success: boolean;
678
659
  error?: string;
679
660
  }
@@ -1270,8 +1251,8 @@ export interface UpdateModelCommand {
1270
1251
  type: "update_model";
1271
1252
  /** Echoed back in the response for request correlation. */
1272
1253
  request_id: string;
1273
- /** Runtime scope — identifies which agent + conversation this targets */
1274
- runtime: RuntimeScope;
1254
+ /** Runtime scope — identifies which conversation this targets. */
1255
+ runtime: ConversationRuntimeScope;
1275
1256
  payload: UpdateModelPayload;
1276
1257
  }
1277
1258
  export interface ListModelsResponseModelEntry {
@@ -1299,7 +1280,7 @@ export interface UpdateModelResponseMessage {
1299
1280
  type: "update_model_response";
1300
1281
  request_id: string;
1301
1282
  success: boolean;
1302
- runtime?: RuntimeScope;
1283
+ runtime?: ConversationRuntimeScope;
1303
1284
  applied_to?: "agent" | "conversation";
1304
1285
  model_id?: string;
1305
1286
  model_handle?: string;
@@ -1310,8 +1291,8 @@ export interface UpdateToolsetCommand {
1310
1291
  type: "update_toolset";
1311
1292
  /** Echoed back in the response for request correlation. */
1312
1293
  request_id: string;
1313
- /** Runtime scope — identifies which agent + conversation this targets */
1314
- runtime: RuntimeScope;
1294
+ /** Runtime scope — identifies which conversation this targets. */
1295
+ runtime: ConversationRuntimeScope;
1315
1296
  /** The toolset preference to apply (e.g. "auto", "default", "codex", "gemini") */
1316
1297
  toolset_preference: ToolsetPreference;
1317
1298
  }
@@ -1319,92 +1300,11 @@ export interface UpdateToolsetResponseMessage {
1319
1300
  type: "update_toolset_response";
1320
1301
  request_id: string;
1321
1302
  success: boolean;
1322
- runtime?: RuntimeScope;
1303
+ runtime?: ConversationRuntimeScope;
1323
1304
  current_toolset?: ToolsetName;
1324
1305
  current_toolset_preference?: ToolsetPreference;
1325
1306
  error?: string;
1326
1307
  }
1327
- export interface CronListCommand {
1328
- type: "cron_list";
1329
- /** Echoed back in the response for request correlation. */
1330
- request_id: string;
1331
- /** Optional agent filter. */
1332
- agent_id?: string;
1333
- /** Optional conversation filter. */
1334
- conversation_id?: string;
1335
- }
1336
- export interface CronAddCommand {
1337
- type: "cron_add";
1338
- /** Echoed back in the response for request correlation. */
1339
- request_id: string;
1340
- agent_id: string;
1341
- /**
1342
- * Conversation target for scheduled fires.
1343
- * - omitted/"new": create a fresh conversation for every fire
1344
- * - "default": agent default conversation
1345
- * - any other string: existing conversation id
1346
- */
1347
- conversation_id?: string;
1348
- name: string;
1349
- description: string;
1350
- cron: string;
1351
- timezone?: string;
1352
- recurring: boolean;
1353
- prompt: string;
1354
- /** Optional ISO timestamp for one-shot tasks. */
1355
- scheduled_for?: string | null;
1356
- }
1357
- export interface CronGetCommand {
1358
- type: "cron_get";
1359
- /** Echoed back in the response for request correlation. */
1360
- request_id: string;
1361
- task_id: string;
1362
- }
1363
- export interface CronRunsCommand {
1364
- type: "cron_runs";
1365
- /** Echoed back in the response for request correlation. */
1366
- request_id: string;
1367
- task_id: string;
1368
- /** Maximum run-log entries to return. */
1369
- limit?: number;
1370
- /** Page offset for run-log entries. */
1371
- offset?: number;
1372
- /** Optional run id filter. */
1373
- run_id?: string;
1374
- }
1375
- export interface CronTriggerCommand {
1376
- type: "cron_trigger";
1377
- /** Echoed back in the response for request correlation. */
1378
- request_id: string;
1379
- task_id: string;
1380
- }
1381
- export interface CronUpdateCommand {
1382
- type: "cron_update";
1383
- /** Echoed back in the response for request correlation. */
1384
- request_id: string;
1385
- task_id: string;
1386
- name?: string;
1387
- description?: string;
1388
- conversation_id?: string;
1389
- cron?: string;
1390
- timezone?: string;
1391
- recurring?: boolean;
1392
- prompt?: string;
1393
- /** Optional ISO timestamp for one-shot tasks. */
1394
- scheduled_for?: string | null;
1395
- }
1396
- export interface CronDeleteCommand {
1397
- type: "cron_delete";
1398
- /** Echoed back in the response for request correlation. */
1399
- request_id: string;
1400
- task_id: string;
1401
- }
1402
- export interface CronDeleteAllCommand {
1403
- type: "cron_delete_all";
1404
- /** Echoed back in the response for request correlation. */
1405
- request_id: string;
1406
- agent_id: string;
1407
- }
1408
1308
  export interface SkillEnableCommand {
1409
1309
  type: "skill_enable";
1410
1310
  /** Echoed back in the response for request correlation. */
@@ -1562,13 +1462,13 @@ export interface GetReflectionSettingsCommand {
1562
1462
  type: "get_reflection_settings";
1563
1463
  /** Echoed back in the response for request correlation. */
1564
1464
  request_id: string;
1565
- runtime: RuntimeScope;
1465
+ runtime: AgentRuntimeScope;
1566
1466
  }
1567
1467
  export interface SetReflectionSettingsCommand {
1568
1468
  type: "set_reflection_settings";
1569
1469
  /** Echoed back in the response for request correlation. */
1570
1470
  request_id: string;
1571
- runtime: RuntimeScope;
1471
+ runtime: AgentRuntimeScope;
1572
1472
  settings: {
1573
1473
  trigger: ReflectionTriggerMode;
1574
1474
  step_count: number;
@@ -1623,7 +1523,7 @@ export interface ChannelAccountBindCommand {
1623
1523
  request_id: string;
1624
1524
  channel_id: ChannelId;
1625
1525
  account_id: string;
1626
- runtime: RuntimeScope;
1526
+ runtime: AgentRuntimeScope;
1627
1527
  }
1628
1528
  export interface ChannelAccountUnbindCommand {
1629
1529
  type: "channel_account_unbind";
@@ -1689,7 +1589,7 @@ export interface ChannelPairingBindCommand {
1689
1589
  request_id: string;
1690
1590
  channel_id: ChannelId;
1691
1591
  account_id?: string;
1692
- runtime: RuntimeScope;
1592
+ runtime: AgentRuntimeScope;
1693
1593
  code: string;
1694
1594
  }
1695
1595
  export interface ChannelRoutesListCommand {
@@ -1711,7 +1611,7 @@ export interface ChannelTargetBindCommand {
1711
1611
  request_id: string;
1712
1612
  channel_id: ChannelId;
1713
1613
  account_id?: string;
1714
- runtime: RuntimeScope;
1614
+ runtime: AgentRuntimeScope;
1715
1615
  target_id: string;
1716
1616
  }
1717
1617
  export interface ChannelRouteRemoveCommand {
@@ -1727,67 +1627,7 @@ export interface ChannelRouteUpdateCommand {
1727
1627
  channel_id: ChannelId;
1728
1628
  account_id?: string;
1729
1629
  chat_id: string;
1730
- runtime: RuntimeScope;
1731
- }
1732
- export interface CronListResponseMessage {
1733
- type: "cron_list_response";
1734
- request_id: string;
1735
- tasks: CronTask[];
1736
- success: boolean;
1737
- error?: string;
1738
- }
1739
- export interface CronAddResponseMessage {
1740
- type: "cron_add_response";
1741
- request_id: string;
1742
- success: boolean;
1743
- task?: CronTask;
1744
- warning?: string;
1745
- error?: string;
1746
- }
1747
- export interface CronGetResponseMessage {
1748
- type: "cron_get_response";
1749
- request_id: string;
1750
- success: boolean;
1751
- found: boolean;
1752
- task: CronTask | null;
1753
- error?: string;
1754
- }
1755
- export interface CronRunsResponseMessage {
1756
- type: "cron_runs_response";
1757
- request_id: string;
1758
- success: boolean;
1759
- page?: CronRunLogPage;
1760
- error?: string;
1761
- }
1762
- export interface CronTriggerResponseMessage {
1763
- type: "cron_trigger_response";
1764
- request_id: string;
1765
- success: boolean;
1766
- found: boolean;
1767
- task?: CronTask;
1768
- error?: string;
1769
- }
1770
- export interface CronUpdateResponseMessage {
1771
- type: "cron_update_response";
1772
- request_id: string;
1773
- success: boolean;
1774
- task?: CronTask;
1775
- error?: string;
1776
- }
1777
- export interface CronDeleteResponseMessage {
1778
- type: "cron_delete_response";
1779
- request_id: string;
1780
- success: boolean;
1781
- found: boolean;
1782
- error?: string;
1783
- }
1784
- export interface CronDeleteAllResponseMessage {
1785
- type: "cron_delete_all_response";
1786
- request_id: string;
1787
- success: boolean;
1788
- agent_id: string;
1789
- deleted: number;
1790
- error?: string;
1630
+ runtime: AgentRuntimeScope;
1791
1631
  }
1792
1632
  export interface CronsUpdatedMessage {
1793
1633
  type: "crons_updated";
@@ -1904,7 +1744,7 @@ export interface RuntimeStartResponseMessage {
1904
1744
  type: "runtime_start_response";
1905
1745
  request_id: string;
1906
1746
  success: boolean;
1907
- runtime: RuntimeScope | null;
1747
+ runtime: ConversationRuntimeScope | null;
1908
1748
  agent: AgentState | null;
1909
1749
  conversation: Conversation | null;
1910
1750
  created: {
@@ -2143,7 +1983,7 @@ export interface ExecuteCommandCommand {
2143
1983
  /** Correlation id (echoed in the response stream deltas) */
2144
1984
  request_id: string;
2145
1985
  /** Runtime scope — identifies which agent + conversation this targets */
2146
- runtime: RuntimeScope;
1986
+ runtime: AgentRuntimeScope;
2147
1987
  /** Optional command arguments (everything after the command name). */
2148
1988
  args?: string;
2149
1989
  }
@@ -2162,7 +2002,7 @@ export interface RemoveQueueItemCommand {
2162
2002
  /** Correlation id (echoed back in the response for request correlation). */
2163
2003
  request_id: string;
2164
2004
  /** Runtime scope — identifies which agent + conversation this targets. */
2165
- runtime: RuntimeScope;
2005
+ runtime: AgentRuntimeScope;
2166
2006
  /** The queue item ID to remove. */
2167
2007
  item_id: string;
2168
2008
  }
@@ -2265,9 +2105,9 @@ export interface RemoveQueueItemResponse {
2265
2105
  success: boolean;
2266
2106
  item_id: string;
2267
2107
  }
2268
- export type WsProtocolCommand = InputCommand | ChangeDeviceStateCommand | AbortMessageCommand | SyncCommand | RuntimeStartCommand | TeleportProtocol.TeleportProtocolCommand | RuntimeExternalToolsUpdateCommand | ExternalToolCallResponseCommand | TerminalSpawnCommand | TerminalInputCommand | TerminalResizeCommand | TerminalKillCommand | SearchFilesCommand | GrepInFilesCommand | ListInDirectoryCommand | GetTreeCommand | ReadFileCommand | WriteFileCommand | WatchFileCommand | UnwatchFileCommand | EditFileCommand | FileOpsCommand | ListMemoryCommand | MemoryHistoryCommand | MemoryFileAtRefCommand | MemoryCommitDiffCommand | ReadMemoryFileCommand | WriteMemoryFileCommand | DeleteMemoryFileCommand | EnableMemfsCommand | ListModelsCommand | ListConnectProvidersCommand | ConnectProviderCommand | DisconnectProviderCommand | ChatGPTUsageReadCommand | UpdateModelCommand | UpdateToolsetCommand | CronListCommand | CronAddCommand | CronGetCommand | CronRunsCommand | CronTriggerCommand | CronUpdateCommand | CronDeleteCommand | CronDeleteAllCommand | SkillEnableCommand | SkillDisableCommand | CreateAgentCommand | AppServerInfoCommand | AgentListCommand | AgentRetrieveCommand | AgentCreateCommand | AgentUpdateCommand | AgentDeleteCommand | ConversationListCommand | ConversationRetrieveCommand | ConversationCreateCommand | ConversationUpdateCommand | ConversationRecompileCommand | ConversationForkCommand | ConversationMessagesListCommand | ConversationCompactCommand | CwdProtocol.SetBootWorkingDirectoryCommand | CwdProtocol.GetCwdMapCommand | GetReflectionSettingsCommand | SetReflectionSettingsCommand | GetExperimentsCommand | SetExperimentCommand | ChannelsListCommand | ChannelAccountsListCommand | ChannelAccountCreateCommand | ChannelAccountUpdateCommand | ChannelAccountBindCommand | ChannelAccountUnbindCommand | ChannelAccountDeleteCommand | ChannelAccountStartCommand | ChannelAccountStopCommand | ChannelGetConfigCommand | ChannelSetConfigCommand | ChannelStartCommand | ChannelStopCommand | ChannelPairingsListCommand | ChannelPairingBindCommand | ChannelRoutesListCommand | ChannelTargetsListCommand | ChannelTargetBindCommand | ChannelRouteRemoveCommand | ChannelRouteUpdateCommand | ExecuteCommandCommand | RemoveQueueItemCommand | SearchBranchesCommand | CheckoutBranchCommand | SecretListCommand | SecretApplyCommand;
2108
+ export type WsProtocolCommand = InputCommand | ChangeDeviceStateCommand | AbortMessageCommand | SyncCommand | RuntimeStartCommand | TeleportProtocol.TeleportProtocolCommand | RuntimeExternalToolsUpdateCommand | ExternalToolCallResponseCommand | TerminalSpawnCommand | TerminalInputCommand | TerminalResizeCommand | TerminalKillCommand | SearchFilesCommand | GrepInFilesCommand | ListInDirectoryCommand | GetTreeCommand | ReadFileCommand | WriteFileCommand | WatchFileCommand | UnwatchFileCommand | EditFileCommand | FileOpsCommand | ListMemoryCommand | MemoryHistoryCommand | MemoryFileAtRefCommand | MemoryCommitDiffCommand | ReadMemoryFileCommand | WriteMemoryFileCommand | DeleteMemoryFileCommand | EnableMemfsCommand | ListModelsCommand | ListConnectProvidersCommand | ConnectProviderCommand | DisconnectProviderCommand | ChatGPTUsageReadCommand | UpdateModelCommand | UpdateToolsetCommand | CronProtocolCommand | SkillEnableCommand | SkillDisableCommand | CreateAgentCommand | AppServerInfoCommand | AgentListCommand | AgentRetrieveCommand | AgentCreateCommand | AgentUpdateCommand | AgentDeleteCommand | ConversationListCommand | ConversationRetrieveCommand | ConversationCreateCommand | ConversationUpdateCommand | ConversationRecompileCommand | ConversationForkCommand | ConversationMessagesListCommand | ConversationCompactCommand | CwdProtocol.SetBootWorkingDirectoryCommand | CwdProtocol.GetCwdMapCommand | GetReflectionSettingsCommand | SetReflectionSettingsCommand | GetExperimentsCommand | SetExperimentCommand | ChannelsListCommand | ChannelAccountsListCommand | ChannelAccountCreateCommand | ChannelAccountUpdateCommand | ChannelAccountBindCommand | ChannelAccountUnbindCommand | ChannelAccountDeleteCommand | ChannelAccountStartCommand | ChannelAccountStopCommand | ChannelGetConfigCommand | ChannelSetConfigCommand | ChannelStartCommand | ChannelStopCommand | ChannelPairingsListCommand | ChannelPairingBindCommand | ChannelRoutesListCommand | ChannelTargetsListCommand | ChannelTargetBindCommand | ChannelRouteRemoveCommand | ChannelRouteUpdateCommand | ExecuteCommandCommand | RemoveQueueItemCommand | SearchBranchesCommand | CheckoutBranchCommand | SecretListCommand | SecretApplyCommand;
2269
2109
  export type WsProtocolCommandType = WsProtocolCommand["type"];
2270
- export type WsProtocolMessage = ControlRequest | InputAcceptedResponseMessage | TeleportProtocol.TeleportProtocolMessage | ExecuteCommandResponseMessage | DeviceStatusUpdateMessage | LoopStatusUpdateMessage | QueueUpdateMessage | StreamDeltaMessage | TurnFinishedMessage | SubagentStateUpdateMessage | ExternalToolCallRequestMessage | AbortMessageResponseMessage | SyncResponseMessage | RuntimeExternalToolsUpdateResponseMessage | TerminalOutputMessage | TerminalSpawnedMessage | TerminalExitedMessage | SearchFilesResponseMessage | GrepInFilesResponseMessage | ListInDirectoryResponseMessage | GetTreeResponseMessage | ReadFileResponseMessage | WriteFileResponseMessage | FileOpsCommand | EditFileResponseMessage | FileChangedMessage | ListMemoryResponseMessage | MemoryHistoryResponseMessage | MemoryFileAtRefResponseMessage | MemoryCommitDiffResponseMessage | ReadMemoryFileResponseMessage | WriteMemoryFileResponseMessage | DeleteMemoryFileResponseMessage | EnableMemfsResponseMessage | MemoryUpdatedMessage | ListModelsResponseMessage | ListConnectProvidersResponseMessage | ConnectProviderResponseMessage | DisconnectProviderResponseMessage | ChatGPTUsageReadResponseMessage | UpdateModelResponseMessage | UpdateToolsetResponseMessage | CronListResponseMessage | CronAddResponseMessage | CronGetResponseMessage | CronRunsResponseMessage | CronTriggerResponseMessage | CronUpdateResponseMessage | CronDeleteResponseMessage | CronDeleteAllResponseMessage | CronsUpdatedMessage | SkillEnableResponseMessage | SkillDisableResponseMessage | SkillsUpdatedMessage | CreateAgentResponseMessage | AppServerInfoResponseMessage | AgentListResponseMessage | AgentRetrieveResponseMessage | AgentCreateResponseMessage | AgentUpdateResponseMessage | AgentDeleteResponseMessage | ConversationListResponseMessage | ConversationRetrieveResponseMessage | ConversationCreateResponseMessage | ConversationUpdateResponseMessage | ConversationRecompileResponseMessage | ConversationForkResponseMessage | ConversationMessagesListResponseMessage | ConversationCompactResponseMessage | RuntimeStartResponseMessage | GetExperimentsResponseMessage | SetExperimentResponseMessage | GetReflectionSettingsResponseMessage | SetReflectionSettingsResponseMessage | ChannelsListResponseMessage | ChannelAccountsListResponseMessage | ChannelAccountCreateResponseMessage | ChannelAccountUpdateResponseMessage | ChannelAccountBindResponseMessage | ChannelAccountUnbindResponseMessage | ChannelAccountDeleteResponseMessage | ChannelAccountStartResponseMessage | ChannelAccountStopResponseMessage | ChannelGetConfigResponseMessage | ChannelSetConfigResponseMessage | ChannelStartResponseMessage | ChannelStopResponseMessage | ChannelPairingsListResponseMessage | ChannelPairingBindResponseMessage | ChannelRoutesListResponseMessage | ChannelTargetsListResponseMessage | ChannelTargetBindResponseMessage | ChannelRouteRemoveResponseMessage | ChannelRouteUpdateResponseMessage | ChannelsUpdatedMessage | ChannelAccountsUpdatedMessage | ChannelPairingsUpdatedMessage | ChannelRoutesUpdatedMessage | ChannelTargetsUpdatedMessage | CwdProtocol.SetBootWorkingDirectoryResponseMessage | CwdProtocol.GetCwdMapResponseMessage | SearchBranchesResponse | CheckoutBranchResponse | SecretListResponse | SecretApplyResponse | RemoveQueueItemResponse;
2110
+ export type WsProtocolMessage = ControlRequest | InputAcceptedResponseMessage | TeleportProtocol.TeleportProtocolMessage | ExecuteCommandResponseMessage | DeviceStatusUpdateMessage | LoopStatusUpdateMessage | QueueUpdateMessage | StreamDeltaMessage | TurnFinishedMessage | SubagentStateUpdateMessage | ExternalToolCallRequestMessage | AbortMessageResponseMessage | SyncResponseMessage | RuntimeExternalToolsUpdateResponseMessage | TerminalOutputMessage | TerminalSpawnedMessage | TerminalExitedMessage | SearchFilesResponseMessage | GrepInFilesResponseMessage | ListInDirectoryResponseMessage | GetTreeResponseMessage | ReadFileResponseMessage | WriteFileResponseMessage | FileOpsCommand | EditFileResponseMessage | FileChangedMessage | ListMemoryResponseMessage | MemoryHistoryResponseMessage | MemoryFileAtRefResponseMessage | MemoryCommitDiffResponseMessage | ReadMemoryFileResponseMessage | WriteMemoryFileResponseMessage | DeleteMemoryFileResponseMessage | EnableMemfsResponseMessage | MemoryUpdatedMessage | ListModelsResponseMessage | ListConnectProvidersResponseMessage | ConnectProviderResponseMessage | DisconnectProviderResponseMessage | ChatGPTUsageReadResponseMessage | UpdateModelResponseMessage | UpdateToolsetResponseMessage | CronProtocolResponseMessage | CronsUpdatedMessage | SkillEnableResponseMessage | SkillDisableResponseMessage | SkillsUpdatedMessage | CreateAgentResponseMessage | AppServerInfoResponseMessage | AgentListResponseMessage | AgentRetrieveResponseMessage | AgentCreateResponseMessage | AgentUpdateResponseMessage | AgentDeleteResponseMessage | ConversationListResponseMessage | ConversationRetrieveResponseMessage | ConversationCreateResponseMessage | ConversationUpdateResponseMessage | ConversationRecompileResponseMessage | ConversationForkResponseMessage | ConversationMessagesListResponseMessage | ConversationCompactResponseMessage | RuntimeStartResponseMessage | GetExperimentsResponseMessage | SetExperimentResponseMessage | GetReflectionSettingsResponseMessage | SetReflectionSettingsResponseMessage | ChannelsListResponseMessage | ChannelAccountsListResponseMessage | ChannelAccountCreateResponseMessage | ChannelAccountUpdateResponseMessage | ChannelAccountBindResponseMessage | ChannelAccountUnbindResponseMessage | ChannelAccountDeleteResponseMessage | ChannelAccountStartResponseMessage | ChannelAccountStopResponseMessage | ChannelGetConfigResponseMessage | ChannelSetConfigResponseMessage | ChannelStartResponseMessage | ChannelStopResponseMessage | ChannelPairingsListResponseMessage | ChannelPairingBindResponseMessage | ChannelRoutesListResponseMessage | ChannelTargetsListResponseMessage | ChannelTargetBindResponseMessage | ChannelRouteRemoveResponseMessage | ChannelRouteUpdateResponseMessage | ChannelsUpdatedMessage | ChannelAccountsUpdatedMessage | ChannelPairingsUpdatedMessage | ChannelRoutesUpdatedMessage | ChannelTargetsUpdatedMessage | CwdProtocol.SetBootWorkingDirectoryResponseMessage | CwdProtocol.GetCwdMapResponseMessage | SearchBranchesResponse | CheckoutBranchResponse | SecretListResponse | SecretApplyResponse | RemoveQueueItemResponse;
2271
2111
  export type WsProtocolMessageType = WsProtocolMessage["type"];
2272
2112
  export type { StopReasonType };
2273
2113
  //# sourceMappingURL=protocol_v2.d.ts.map