@ai-matrx/api 0.1.2 → 0.1.3

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 (120) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/account.d.cts +2 -2
  3. package/dist/account.d.ts +2 -2
  4. package/dist/agents.cjs +11 -11
  5. package/dist/agents.d.cts +2 -2
  6. package/dist/agents.d.ts +2 -2
  7. package/dist/agents.js +1 -1
  8. package/dist/ai.cjs +8 -2
  9. package/dist/ai.d.cts +27 -3
  10. package/dist/ai.d.ts +27 -3
  11. package/dist/ai.js +7 -2
  12. package/dist/apps.cjs +5 -5
  13. package/dist/apps.d.cts +2 -2
  14. package/dist/apps.d.ts +2 -2
  15. package/dist/apps.js +1 -1
  16. package/dist/architecture.cjs +32 -26
  17. package/dist/architecture.d.cts +48 -20
  18. package/dist/architecture.d.ts +48 -20
  19. package/dist/architecture.js +21 -16
  20. package/dist/audio.cjs +4 -4
  21. package/dist/audio.d.cts +2 -2
  22. package/dist/audio.d.ts +2 -2
  23. package/dist/audio.js +1 -1
  24. package/dist/chat.cjs +11 -11
  25. package/dist/chat.d.cts +2 -2
  26. package/dist/chat.d.ts +2 -2
  27. package/dist/chat.js +1 -1
  28. package/dist/{chunk-TSHL7Z53.js → chunk-6UOESA3L.js} +1 -1
  29. package/dist/{chunk-HER22VVH.cjs → chunk-DMJ3ZRN7.cjs} +1 -1
  30. package/dist/code.cjs +18 -6
  31. package/dist/code.d.cts +87 -4
  32. package/dist/code.d.ts +87 -4
  33. package/dist/code.js +12 -2
  34. package/dist/commerce.d.cts +2 -2
  35. package/dist/commerce.d.ts +2 -2
  36. package/dist/communications.cjs +70 -4
  37. package/dist/communications.d.cts +253 -5
  38. package/dist/communications.d.ts +253 -5
  39. package/dist/communications.js +57 -2
  40. package/dist/computer.cjs +3 -3
  41. package/dist/computer.d.cts +2 -2
  42. package/dist/computer.d.ts +2 -2
  43. package/dist/computer.js +1 -1
  44. package/dist/content.cjs +4 -4
  45. package/dist/content.d.cts +2 -2
  46. package/dist/content.d.ts +2 -2
  47. package/dist/content.js +1 -1
  48. package/dist/crm.cjs +2 -2
  49. package/dist/crm.d.cts +2 -2
  50. package/dist/crm.d.ts +2 -2
  51. package/dist/crm.js +1 -1
  52. package/dist/data.d.cts +4 -2
  53. package/dist/data.d.ts +4 -2
  54. package/dist/education.cjs +4 -4
  55. package/dist/education.d.cts +2 -2
  56. package/dist/education.d.ts +2 -2
  57. package/dist/education.js +1 -1
  58. package/dist/files.cjs +31 -25
  59. package/dist/files.d.cts +25 -13
  60. package/dist/files.d.ts +25 -13
  61. package/dist/files.js +11 -6
  62. package/dist/human-resources.d.cts +2 -2
  63. package/dist/human-resources.d.ts +2 -2
  64. package/dist/{index-C2E-Cp19.d.ts → index-BUb7OxrB.d.ts} +2 -2
  65. package/dist/{index-wC2vtb70.d.cts → index-DCyEAVSW.d.cts} +2 -2
  66. package/dist/index.cjs +53 -53
  67. package/dist/index.d.cts +2 -2
  68. package/dist/index.d.ts +2 -2
  69. package/dist/index.js +2 -2
  70. package/dist/integrations.cjs +253 -13
  71. package/dist/integrations.d.cts +756 -13
  72. package/dist/integrations.d.ts +756 -13
  73. package/dist/integrations.js +210 -10
  74. package/dist/intelligence.cjs +6 -6
  75. package/dist/intelligence.d.cts +11 -2
  76. package/dist/intelligence.d.ts +11 -2
  77. package/dist/intelligence.js +1 -1
  78. package/dist/knowledge.cjs +42 -42
  79. package/dist/knowledge.d.cts +2 -2
  80. package/dist/knowledge.d.ts +2 -2
  81. package/dist/knowledge.js +1 -1
  82. package/dist/legal.cjs +6 -6
  83. package/dist/legal.d.cts +2 -2
  84. package/dist/legal.d.ts +2 -2
  85. package/dist/legal.js +1 -1
  86. package/dist/marketing.cjs +226 -72
  87. package/dist/marketing.d.cts +732 -3
  88. package/dist/marketing.d.ts +732 -3
  89. package/dist/marketing.js +129 -2
  90. package/dist/masterwork.cjs +32 -32
  91. package/dist/masterwork.d.cts +2 -2
  92. package/dist/masterwork.d.ts +2 -2
  93. package/dist/masterwork.js +1 -1
  94. package/dist/media.cjs +11 -11
  95. package/dist/media.d.cts +30 -4
  96. package/dist/media.d.ts +30 -4
  97. package/dist/media.js +1 -1
  98. package/dist/platform.cjs +9 -3
  99. package/dist/platform.d.cts +29 -3
  100. package/dist/platform.d.ts +29 -3
  101. package/dist/platform.js +7 -2
  102. package/dist/publish.cjs +7 -7
  103. package/dist/publish.d.cts +2 -2
  104. package/dist/publish.d.ts +2 -2
  105. package/dist/publish.js +1 -1
  106. package/dist/schemas.d.cts +1 -1
  107. package/dist/schemas.d.ts +1 -1
  108. package/dist/stream.cjs +10 -10
  109. package/dist/stream.d.cts +1 -1
  110. package/dist/stream.d.ts +1 -1
  111. package/dist/stream.js +1 -1
  112. package/dist/web.cjs +26 -26
  113. package/dist/web.d.cts +3 -2
  114. package/dist/web.d.ts +3 -2
  115. package/dist/web.js +1 -1
  116. package/dist/workflows.cjs +29 -12
  117. package/dist/workflows.d.cts +85 -3
  118. package/dist/workflows.d.ts +85 -3
  119. package/dist/workflows.js +16 -2
  120. package/package.json +2 -2
package/dist/code.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-wC2vtb70.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-DCyEAVSW.cjs';
2
2
  import { JsonValue } from './schemas.cjs';
3
3
  import './credentials.cjs';
4
4
 
5
5
  /**
6
6
  * GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
7
- * CONTRACT_SHA256 50a790edb39e682b46e0fa9e674faf5ce2a0ba7de2cd01930a497fca4c47844a
7
+ * CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
8
8
  */
9
9
 
10
10
  /** Opaque, display-safe provider-account provenance. Never authorization. */
@@ -250,6 +250,9 @@ type BridgeResponse = {
250
250
  hookSpecificOutput?: {
251
251
  [key: string]: JsonValue;
252
252
  } | null;
253
+ hook_top_level_output?: {
254
+ [key: string]: JsonValue;
255
+ } | null;
253
256
  };
254
257
  /** Which runtime can actually execute turns for a provider session. */
255
258
  type BridgeRuntimeKind = "matrx_local" | "matrx_sandbox" | "seeded";
@@ -409,6 +412,18 @@ type ClaudeManagedRestRequest = {
409
412
  /** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
410
413
  initiation?: ("user" | "auto") | null;
411
414
  };
415
+ /** Queue one agent-mail envelope into a Claude cloud session (agent messaging 4a). */
416
+ type CloudSendRequest = {
417
+ account: string;
418
+ cloud_session_id: string;
419
+ envelope: string;
420
+ };
421
+ /** CloudSendResult */
422
+ type CloudSendResult = {
423
+ ok: boolean;
424
+ detail: string;
425
+ not_this_account?: boolean;
426
+ };
412
427
  /** CodexManagedAction */
413
428
  type CodexManagedAction = "start" | "resume";
414
429
  /** CodexManagedCancelResponse */
@@ -590,6 +605,8 @@ type HostedRuntimeReadiness = {
590
605
  expires_at?: string | null;
591
606
  in_box?: InBoxCapabilities | null;
592
607
  active_runtime_ids?: string[];
608
+ capacity_ceiling?: number | null;
609
+ occupants?: SandboxOccupant[];
593
610
  };
594
611
  /** The in-box runtime's OWN verdict, forwarded verbatim. */
595
612
  type InBoxCapabilities = {
@@ -651,7 +668,7 @@ type OwnPlanCodeRequest = {
651
668
  /** OwnPlanProvider */
652
669
  type OwnPlanProvider = "claude_code" | "codex";
653
670
  /** OwnPlanState */
654
- type OwnPlanState = "unavailable" | "signed_out" | "awaiting_code" | "awaiting_browser" | "signed_in" | "signed_in_not_plan";
671
+ type OwnPlanState = "unavailable" | "starting" | "signed_out" | "awaiting_code" | "redeeming" | "awaiting_browser" | "signed_in" | "signed_in_not_plan";
655
672
  /** What the person's own-plan sign-in looks like right now, in this box. */
656
673
  type OwnPlanStatus = {
657
674
  provider: OwnPlanProvider;
@@ -661,6 +678,9 @@ type OwnPlanStatus = {
661
678
  user_code?: string | null;
662
679
  method?: string | null;
663
680
  detail?: string | null;
681
+ account?: string | null;
682
+ account_label?: string | null;
683
+ account_key?: string | null;
664
684
  };
665
685
  /** ProjectionStatus */
666
686
  type ProjectionStatus = "pending" | "projected" | "skipped" | "error";
@@ -694,6 +714,17 @@ type RawTranscriptSources = {
694
714
  conversation_id: string;
695
715
  sources: RawTranscriptSource[];
696
716
  };
717
+ /** One of the person's sandboxes holding a slot of the host's admission cap. */
718
+ type SandboxOccupant = {
719
+ row_id: string;
720
+ sandbox_id: string;
721
+ name?: string | null;
722
+ template?: string | null;
723
+ tier?: string | null;
724
+ status?: string | null;
725
+ organization_id?: string | null;
726
+ last_heartbeat_at?: string | null;
727
+ };
697
728
  /** SetCodingProjectOrganization */
698
729
  type SetCodingProjectOrganization = {
699
730
  project: string;
@@ -861,6 +892,9 @@ type OwnPlanStatusArgs = {
861
892
  path: {
862
893
  provider: OwnPlanProvider;
863
894
  };
895
+ query?: {
896
+ account?: string | null;
897
+ };
864
898
  };
865
899
  type OwnPlanStatusResult = OwnPlanStatus;
866
900
  /** Own Plan Status */
@@ -870,6 +904,9 @@ type OwnPlanSignInStartArgs = {
870
904
  path: {
871
905
  provider: OwnPlanProvider;
872
906
  };
907
+ query?: {
908
+ account?: string | null;
909
+ };
873
910
  };
874
911
  type OwnPlanSignInStartResult = OwnPlanStatus;
875
912
  /** Own Plan Sign In Start */
@@ -879,16 +916,29 @@ type OwnPlanSubmitCodeArgs = {
879
916
  path: {
880
917
  provider: OwnPlanProvider;
881
918
  };
919
+ query?: {
920
+ account?: string | null;
921
+ };
882
922
  body: OwnPlanCodeRequest;
883
923
  };
884
924
  type OwnPlanSubmitCodeResult = OwnPlanStatus;
885
925
  /** Own Plan Submit Code */
886
926
  /** `POST /coding-sessions/own-plan/{provider}/code` · aidream · auth user · org required */
887
927
  declare function ownPlanSubmitCode(api: Api, args: OwnPlanSubmitCodeArgs, options?: CallOptions): Promise<OwnPlanSubmitCodeResult>;
928
+ type OwnPlanCloudSendArgs = {
929
+ body: CloudSendRequest;
930
+ };
931
+ type OwnPlanCloudSendResult = CloudSendResult;
932
+ /** Own Plan Cloud Send */
933
+ /** `POST /coding-sessions/own-plan/claude_code/cloud-send` · aidream · auth user · org required */
934
+ declare function ownPlanCloudSend(api: Api, args: OwnPlanCloudSendArgs, options?: CallOptions): Promise<OwnPlanCloudSendResult>;
888
935
  type OwnPlanCancelArgs = {
889
936
  path: {
890
937
  provider: OwnPlanProvider;
891
938
  };
939
+ query?: {
940
+ account?: string | null;
941
+ };
892
942
  };
893
943
  type OwnPlanCancelResult = OwnPlanStatus;
894
944
  /** Own Plan Cancel */
@@ -898,6 +948,9 @@ type OwnPlanSignOutArgs = {
898
948
  path: {
899
949
  provider: OwnPlanProvider;
900
950
  };
951
+ query?: {
952
+ account?: string | null;
953
+ };
901
954
  };
902
955
  type OwnPlanSignOutResult = OwnPlanStatus;
903
956
  /** Own Plan Sign Out */
@@ -1039,6 +1092,9 @@ type OwnPlanStatusOnHostedBoxArgs = {
1039
1092
  path: {
1040
1093
  provider: OwnPlanProvider;
1041
1094
  };
1095
+ query?: {
1096
+ account?: string | null;
1097
+ };
1042
1098
  };
1043
1099
  type OwnPlanStatusOnHostedBoxResult = OwnPlanStatus;
1044
1100
  /** Own Plan Status */
@@ -1048,6 +1104,9 @@ type OwnPlanSignInStartOnHostedBoxArgs = {
1048
1104
  path: {
1049
1105
  provider: OwnPlanProvider;
1050
1106
  };
1107
+ query?: {
1108
+ account?: string | null;
1109
+ };
1051
1110
  };
1052
1111
  type OwnPlanSignInStartOnHostedBoxResult = OwnPlanStatus;
1053
1112
  /** Own Plan Sign In Start */
@@ -1057,16 +1116,29 @@ type OwnPlanSubmitCodeOnHostedBoxArgs = {
1057
1116
  path: {
1058
1117
  provider: OwnPlanProvider;
1059
1118
  };
1119
+ query?: {
1120
+ account?: string | null;
1121
+ };
1060
1122
  body: OwnPlanCodeRequest;
1061
1123
  };
1062
1124
  type OwnPlanSubmitCodeOnHostedBoxResult = OwnPlanStatus;
1063
1125
  /** Own Plan Submit Code */
1064
1126
  /** `POST /coding-sessions/own-plan/{provider}/code` · hosted-box · auth user · org required */
1065
1127
  declare function ownPlanSubmitCodeOnHostedBox(api: Api, args: OwnPlanSubmitCodeOnHostedBoxArgs, options?: CallOptions): Promise<OwnPlanSubmitCodeOnHostedBoxResult>;
1128
+ type OwnPlanCloudSendOnHostedBoxArgs = {
1129
+ body: CloudSendRequest;
1130
+ };
1131
+ type OwnPlanCloudSendOnHostedBoxResult = CloudSendResult;
1132
+ /** Own Plan Cloud Send */
1133
+ /** `POST /coding-sessions/own-plan/claude_code/cloud-send` · hosted-box · auth user · org required */
1134
+ declare function ownPlanCloudSendOnHostedBox(api: Api, args: OwnPlanCloudSendOnHostedBoxArgs, options?: CallOptions): Promise<OwnPlanCloudSendOnHostedBoxResult>;
1066
1135
  type OwnPlanCancelOnHostedBoxArgs = {
1067
1136
  path: {
1068
1137
  provider: OwnPlanProvider;
1069
1138
  };
1139
+ query?: {
1140
+ account?: string | null;
1141
+ };
1070
1142
  };
1071
1143
  type OwnPlanCancelOnHostedBoxResult = OwnPlanStatus;
1072
1144
  /** Own Plan Cancel */
@@ -1076,6 +1148,9 @@ type OwnPlanSignOutOnHostedBoxArgs = {
1076
1148
  path: {
1077
1149
  provider: OwnPlanProvider;
1078
1150
  };
1151
+ query?: {
1152
+ account?: string | null;
1153
+ };
1079
1154
  };
1080
1155
  type OwnPlanSignOutOnHostedBoxResult = OwnPlanStatus;
1081
1156
  /** Own Plan Sign Out */
@@ -1689,6 +1764,10 @@ interface Operations {
1689
1764
  args: OwnPlanSubmitCodeArgs;
1690
1765
  result: OwnPlanSubmitCodeResult;
1691
1766
  };
1767
+ "POST /coding-sessions/own-plan/claude_code/cloud-send": {
1768
+ args: OwnPlanCloudSendArgs;
1769
+ result: OwnPlanCloudSendResult;
1770
+ };
1692
1771
  "POST /coding-sessions/own-plan/{provider}/cancel": {
1693
1772
  args: OwnPlanCancelArgs;
1694
1773
  result: OwnPlanCancelResult;
@@ -1765,6 +1844,10 @@ interface Operations {
1765
1844
  args: OwnPlanSubmitCodeOnHostedBoxArgs;
1766
1845
  result: OwnPlanSubmitCodeOnHostedBoxResult;
1767
1846
  };
1847
+ "POST /coding-sessions/own-plan/claude_code/cloud-send @hosted-box": {
1848
+ args: OwnPlanCloudSendOnHostedBoxArgs;
1849
+ result: OwnPlanCloudSendOnHostedBoxResult;
1850
+ };
1768
1851
  "POST /coding-sessions/own-plan/{provider}/cancel @hosted-box": {
1769
1852
  args: OwnPlanCancelOnHostedBoxArgs;
1770
1853
  result: OwnPlanCancelOnHostedBoxResult;
@@ -1973,4 +2056,4 @@ interface Operations {
1973
2056
  /** Path-keyed call, scoped to this domain only (never a global path map). */
1974
2057
  declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
1975
2058
 
1976
- export { type AddRuntimeWorkspaceRootArgs, type AddRuntimeWorkspaceRootResult, type ApproveRuntimeFolderArgs, type ApproveRuntimeFolderResult, type BackupRawTranscriptArgs, type BackupRawTranscriptOnHostedBoxArgs, type BackupRawTranscriptOnHostedBoxResult, type BackupRawTranscriptResult, type BridgeAccountIdentity, type BridgeAccountIdentity_MatrxLocal, type BridgeAction, type BridgeAction_MatrxLocal, type BridgeCapabilities, type BridgeCapabilityReport, type BridgeCheckpoint, type BridgeConversation, type BridgeDiagnosis, type BridgeDispatchResult, type BridgeEntry, type BridgeHandoffResult, type BridgeHandoffState, type BridgeHealth, type BridgeHookEvent, type BridgeOperation, type BridgeOrigin, type BridgePinDivergence, type BridgeProjectionErrorGroup, type BridgeProjectionReceipt, type BridgeProvider, type BridgeRefusal, type BridgeRefusalCode, type BridgeReprojection, type BridgeRequest, type BridgeResponse, type BridgeRuntimeKind, type BridgeSeedPacket, type BridgeSeedRead, type BridgeSendResult, type BridgeSendState, type BridgeSendTarget, type BridgeSourceMetadata, type BridgeSourceMetadata_MatrxLocal, type CancelClaudeManagedRuntimeArgs, type CancelClaudeManagedRuntimeOnHostedBoxArgs, type CancelClaudeManagedRuntimeOnHostedBoxResult, type CancelClaudeManagedRuntimeResult, type CancelCodexManagedRuntimeArgs, type CancelCodexManagedRuntimeOnHostedBoxArgs, type CancelCodexManagedRuntimeOnHostedBoxResult, type CancelCodexManagedRuntimeResult, type CancelRuntimeSessionArgs, type CancelRuntimeSessionResult, type CapabilityVerdict, type ClaudeCaptureStatusArgs, type ClaudeCaptureStatusResult, type ClaudeHistoryImportRequest, type ClaudeHistoryPrepareRequest, type ClaudeHistoryPrepareSelection, type ClaudeHistorySelection, type ClaudeHistoryStatusArgs, type ClaudeHistoryStatusResult, type ClaudeLabelOperationArgs, type ClaudeLabelOperationResult, type ClaudeLabelStatusArgs, type ClaudeLabelStatusResult, type ClaudeManagedAction, type ClaudeManagedCancelResponse, type ClaudeManagedCapabilitiesArgs, type ClaudeManagedCapabilitiesOnHostedBoxArgs, type ClaudeManagedCapabilitiesOnHostedBoxResult, type ClaudeManagedCapabilitiesResponse, type ClaudeManagedCapabilitiesResult, type ClaudeManagedRestRequest, type ClaudeManagedStreamArgs, type ClaudeManagedStreamOnHostedBoxArgs, type ClaudeManagedStreamOnHostedBoxResult, type ClaudeManagedStreamResult, type ClaudeOverviewArgs, type ClaudeOverviewResult, type ClaudeSessionDiagnosisArgs, type ClaudeSessionDiagnosisResult, type ClaudeSessionReconcileArgs, type ClaudeSessionReconcileResult, type ClaudeSessionSyncTruthArgs, type ClaudeSessionSyncTruthResult, type CodexManagedAction, type CodexManagedCancelResponse, type CodexManagedCapabilitiesArgs, type CodexManagedCapabilitiesOnHostedBoxArgs, type CodexManagedCapabilitiesOnHostedBoxResult, type CodexManagedCapabilitiesResponse, type CodexManagedCapabilitiesResult, type CodexManagedRestRequest, type CodexManagedStreamArgs, type CodexManagedStreamOnHostedBoxArgs, type CodexManagedStreamOnHostedBoxResult, type CodexManagedStreamResult, type CodingProjectMoveReport, type CodingProjectOrganization, type CodingReplyResponder, type CodingReplyResponderArgs, type CodingReplyResponderOnHostedBoxArgs, type CodingReplyResponderOnHostedBoxResult, type CodingReplyResponderReport, type CodingReplyResponderResult, type CodingSessionArtifactsSessionArgs, type CodingSessionArtifactsSessionResult, type CodingSessionArtifactsSessionsArgs, type CodingSessionArtifactsSessionsResult, type CodingSessionArtifactsStatusArgs, type CodingSessionArtifactsStatusResult, type CodingSessionBridgeArgs, type CodingSessionBridgeOnHostedBoxArgs, type CodingSessionBridgeOnHostedBoxResult, type CodingSessionBridgeRestRequest, type CodingSessionBridgeResult, type CodingSessionConnectionOrganization, type CodingSessionDeliveryEnvelopesArgs, type CodingSessionDeliveryEnvelopesResult, type CodingSessionDeliveryStatusArgs, type CodingSessionDeliveryStatusResult, type CodingSessionDiagnosisArgs, type CodingSessionDiagnosisResult, type CodingSessionIdentity, type CodingSessionIdentityList, type CodingSessionOverviewArgs, type CodingSessionOverviewResult, type CodingSessionProviderReadinessArgs, type CodingSessionProviderReadinessResult, type CodingSessionUsageArgs, type CodingSessionUsageResult, type ConnectionOrganizationChoice, type DiscardCodingSessionDeliveryEnvelopeArgs, type DiscardCodingSessionDeliveryEnvelopeResult, type DiscardPendingClaudeHistoryArgs, type DiscardPendingClaudeHistoryResult, type DiscoverRuntimeWorkspacesArgs, type DiscoverRuntimeWorkspacesResult, type EntryFidelity, type GetCodexUsageAllowanceArgs, type GetCodexUsageAllowanceResult, type GetCodexUsageArgs, type GetCodexUsageResult, type HeldCodingProject, type HostedRuntimeReadiness, type HostedRuntimeStatusArgs, type HostedRuntimeStatusOnHostedBoxArgs, type HostedRuntimeStatusOnHostedBoxResult, type HostedRuntimeStatusResult, type ImportClaudeHistoryArgs, type ImportClaudeHistoryResult, type InBoxCapabilities, type KnownCodingProject, type ListClaudeHistoryScanArgs, type ListClaudeHistoryScanResult, type ListCodingSessionIdentitiesArgs, type ListCodingSessionIdentitiesOnHostedBoxArgs, type ListCodingSessionIdentitiesOnHostedBoxResult, type ListCodingSessionIdentitiesResult, type LocalBridgeReceipt, type LocalRuntimeFolderRequest, type LocalRuntimeStartRequest, type LocalRuntimeWorkspaceRootsResponse, type Operations, type OrganizationPickerOption, type OwnPlanCancelArgs, type OwnPlanCancelOnHostedBoxArgs, type OwnPlanCancelOnHostedBoxResult, type OwnPlanCancelResult, type OwnPlanCodeRequest, type OwnPlanProvider, type OwnPlanSignInStartArgs, type OwnPlanSignInStartOnHostedBoxArgs, type OwnPlanSignInStartOnHostedBoxResult, type OwnPlanSignInStartResult, type OwnPlanSignOutArgs, type OwnPlanSignOutOnHostedBoxArgs, type OwnPlanSignOutOnHostedBoxResult, type OwnPlanSignOutResult, type OwnPlanState, type OwnPlanStatus, type OwnPlanStatusArgs, type OwnPlanStatusOnHostedBoxArgs, type OwnPlanStatusOnHostedBoxResult, type OwnPlanStatusResult, type OwnPlanSubmitCodeArgs, type OwnPlanSubmitCodeOnHostedBoxArgs, type OwnPlanSubmitCodeOnHostedBoxResult, type OwnPlanSubmitCodeResult, type PersistCodingSessionHookArgs, type PersistCodingSessionHookResult, type PrepareClaudeHistorySelectionArgs, type PrepareClaudeHistorySelectionResult, type ProjectionStatus, type RawBackupPolicyAnswer, type RawTranscriptSource, type RawTranscriptSources, type ReadCodingSessionConnectionOrganizationArgs, type ReadCodingSessionConnectionOrganizationOnHostedBoxArgs, type ReadCodingSessionConnectionOrganizationOnHostedBoxResult, type ReadCodingSessionConnectionOrganizationResult, type ReadConnectionOrganizationArgs, type ReadConnectionOrganizationResult, type ReadRawBackupPolicyArgs, type ReadRawBackupPolicyOnHostedBoxArgs, type ReadRawBackupPolicyOnHostedBoxResult, type ReadRawBackupPolicyResult, type ReadRawTranscriptSourcesArgs, type ReadRawTranscriptSourcesOnHostedBoxArgs, type ReadRawTranscriptSourcesOnHostedBoxResult, type ReadRawTranscriptSourcesResult, type ReconcileClaudeCaptureArgs, type ReconcileClaudeCaptureResult, type RemoveRuntimeWorkspaceRootArgs, type RemoveRuntimeWorkspaceRootResult, type ResumeCodingSessionDeliveryArgs, type ResumeCodingSessionDeliveryResult, type RetryClaudeLabelPushIntentArgs, type RetryClaudeLabelPushIntentResult, type RetryCodingSessionDeliveryEnvelopeArgs, type RetryCodingSessionDeliveryEnvelopeResult, type RetryPendingClaudeHistoryArgs, type RetryPendingClaudeHistoryResult, type ReviewClaudeHistoryArgs, type ReviewClaudeHistoryResult, type RevokeRuntimeFolderArgs, type RevokeRuntimeFolderResult, type RuntimeApprovalsArgs, type RuntimeApprovalsResult, type RuntimeCapabilitiesArgs, type RuntimeCapabilitiesResult, type RuntimeEventsArgs, type RuntimeEventsResult, type RuntimeResumableArgs, type RuntimeResumableResult, type RuntimeStatusArgs, type RuntimeStatusResult, type SetCodingProjectOrganization, type SetCodingSessionConnectionOrganization, type StartRuntimeSessionArgs, type StartRuntimeSessionResult, type SyncClaudeEverythingArgs, type SyncClaudeEverythingResult, type SyncClaudeLabelsArgs, type SyncClaudeLabelsResult, type SyncCodingSessionArtifactsArgs, type SyncCodingSessionArtifactsResult, type VerifyClaudeLabelOperationArgs, type VerifyClaudeLabelOperationResult, type VerifyCodingSessionArtifactsArgs, type VerifyCodingSessionArtifactsResult, type WorkspaceDiscoveryNode, type WorkspaceDiscoveryResponse, type WriteCodingProjectOrganizationArgs, type WriteCodingProjectOrganizationOnHostedBoxArgs, type WriteCodingProjectOrganizationOnHostedBoxResult, type WriteCodingProjectOrganizationResult, type WriteCodingSessionConnectionOrganizationArgs, type WriteCodingSessionConnectionOrganizationOnHostedBoxArgs, type WriteCodingSessionConnectionOrganizationOnHostedBoxResult, type WriteCodingSessionConnectionOrganizationResult, type WriteConnectionOrganizationArgs, type WriteConnectionOrganizationResult, addRuntimeWorkspaceRoot, approveRuntimeFolder, backupRawTranscript, backupRawTranscriptOnHostedBox, call, cancelClaudeManagedRuntime, cancelClaudeManagedRuntimeOnHostedBox, cancelCodexManagedRuntime, cancelCodexManagedRuntimeOnHostedBox, cancelRuntimeSession, claudeCaptureStatus, claudeHistoryStatus, claudeLabelOperation, claudeLabelStatus, claudeManagedCapabilities, claudeManagedCapabilitiesOnHostedBox, claudeManagedStream, claudeManagedStreamOnHostedBox, claudeOverview, claudeSessionDiagnosis, claudeSessionReconcile, claudeSessionSyncTruth, codexManagedCapabilities, codexManagedCapabilitiesOnHostedBox, codexManagedStream, codexManagedStreamOnHostedBox, codingReplyResponder, codingReplyResponderOnHostedBox, codingSessionArtifactsSession, codingSessionArtifactsSessions, codingSessionArtifactsStatus, codingSessionBridge, codingSessionBridgeOnHostedBox, codingSessionDeliveryEnvelopes, codingSessionDeliveryStatus, codingSessionDiagnosis, codingSessionOverview, codingSessionProviderReadiness, codingSessionUsage, discardCodingSessionDeliveryEnvelope, discardPendingClaudeHistory, discoverRuntimeWorkspaces, getCodexUsage, getCodexUsageAllowance, hostedRuntimeStatus, hostedRuntimeStatusOnHostedBox, importClaudeHistory, listClaudeHistoryScan, listCodingSessionIdentities, listCodingSessionIdentitiesOnHostedBox, ownPlanCancel, ownPlanCancelOnHostedBox, ownPlanSignInStart, ownPlanSignInStartOnHostedBox, ownPlanSignOut, ownPlanSignOutOnHostedBox, ownPlanStatus, ownPlanStatusOnHostedBox, ownPlanSubmitCode, ownPlanSubmitCodeOnHostedBox, persistCodingSessionHook, prepareClaudeHistorySelection, readCodingSessionConnectionOrganization, readCodingSessionConnectionOrganizationOnHostedBox, readConnectionOrganization, readRawBackupPolicy, readRawBackupPolicyOnHostedBox, readRawTranscriptSources, readRawTranscriptSourcesOnHostedBox, reconcileClaudeCapture, removeRuntimeWorkspaceRoot, resumeCodingSessionDelivery, retryClaudeLabelPushIntent, retryCodingSessionDeliveryEnvelope, retryPendingClaudeHistory, reviewClaudeHistory, revokeRuntimeFolder, runtimeApprovals, runtimeCapabilities, runtimeEvents, runtimeResumable, runtimeStatus, startRuntimeSession, syncClaudeEverything, syncClaudeLabels, syncCodingSessionArtifacts, verifyClaudeLabelOperation, verifyCodingSessionArtifacts, writeCodingProjectOrganization, writeCodingProjectOrganizationOnHostedBox, writeCodingSessionConnectionOrganization, writeCodingSessionConnectionOrganizationOnHostedBox, writeConnectionOrganization };
2059
+ export { type AddRuntimeWorkspaceRootArgs, type AddRuntimeWorkspaceRootResult, type ApproveRuntimeFolderArgs, type ApproveRuntimeFolderResult, type BackupRawTranscriptArgs, type BackupRawTranscriptOnHostedBoxArgs, type BackupRawTranscriptOnHostedBoxResult, type BackupRawTranscriptResult, type BridgeAccountIdentity, type BridgeAccountIdentity_MatrxLocal, type BridgeAction, type BridgeAction_MatrxLocal, type BridgeCapabilities, type BridgeCapabilityReport, type BridgeCheckpoint, type BridgeConversation, type BridgeDiagnosis, type BridgeDispatchResult, type BridgeEntry, type BridgeHandoffResult, type BridgeHandoffState, type BridgeHealth, type BridgeHookEvent, type BridgeOperation, type BridgeOrigin, type BridgePinDivergence, type BridgeProjectionErrorGroup, type BridgeProjectionReceipt, type BridgeProvider, type BridgeRefusal, type BridgeRefusalCode, type BridgeReprojection, type BridgeRequest, type BridgeResponse, type BridgeRuntimeKind, type BridgeSeedPacket, type BridgeSeedRead, type BridgeSendResult, type BridgeSendState, type BridgeSendTarget, type BridgeSourceMetadata, type BridgeSourceMetadata_MatrxLocal, type CancelClaudeManagedRuntimeArgs, type CancelClaudeManagedRuntimeOnHostedBoxArgs, type CancelClaudeManagedRuntimeOnHostedBoxResult, type CancelClaudeManagedRuntimeResult, type CancelCodexManagedRuntimeArgs, type CancelCodexManagedRuntimeOnHostedBoxArgs, type CancelCodexManagedRuntimeOnHostedBoxResult, type CancelCodexManagedRuntimeResult, type CancelRuntimeSessionArgs, type CancelRuntimeSessionResult, type CapabilityVerdict, type ClaudeCaptureStatusArgs, type ClaudeCaptureStatusResult, type ClaudeHistoryImportRequest, type ClaudeHistoryPrepareRequest, type ClaudeHistoryPrepareSelection, type ClaudeHistorySelection, type ClaudeHistoryStatusArgs, type ClaudeHistoryStatusResult, type ClaudeLabelOperationArgs, type ClaudeLabelOperationResult, type ClaudeLabelStatusArgs, type ClaudeLabelStatusResult, type ClaudeManagedAction, type ClaudeManagedCancelResponse, type ClaudeManagedCapabilitiesArgs, type ClaudeManagedCapabilitiesOnHostedBoxArgs, type ClaudeManagedCapabilitiesOnHostedBoxResult, type ClaudeManagedCapabilitiesResponse, type ClaudeManagedCapabilitiesResult, type ClaudeManagedRestRequest, type ClaudeManagedStreamArgs, type ClaudeManagedStreamOnHostedBoxArgs, type ClaudeManagedStreamOnHostedBoxResult, type ClaudeManagedStreamResult, type ClaudeOverviewArgs, type ClaudeOverviewResult, type ClaudeSessionDiagnosisArgs, type ClaudeSessionDiagnosisResult, type ClaudeSessionReconcileArgs, type ClaudeSessionReconcileResult, type ClaudeSessionSyncTruthArgs, type ClaudeSessionSyncTruthResult, type CloudSendRequest, type CloudSendResult, type CodexManagedAction, type CodexManagedCancelResponse, type CodexManagedCapabilitiesArgs, type CodexManagedCapabilitiesOnHostedBoxArgs, type CodexManagedCapabilitiesOnHostedBoxResult, type CodexManagedCapabilitiesResponse, type CodexManagedCapabilitiesResult, type CodexManagedRestRequest, type CodexManagedStreamArgs, type CodexManagedStreamOnHostedBoxArgs, type CodexManagedStreamOnHostedBoxResult, type CodexManagedStreamResult, type CodingProjectMoveReport, type CodingProjectOrganization, type CodingReplyResponder, type CodingReplyResponderArgs, type CodingReplyResponderOnHostedBoxArgs, type CodingReplyResponderOnHostedBoxResult, type CodingReplyResponderReport, type CodingReplyResponderResult, type CodingSessionArtifactsSessionArgs, type CodingSessionArtifactsSessionResult, type CodingSessionArtifactsSessionsArgs, type CodingSessionArtifactsSessionsResult, type CodingSessionArtifactsStatusArgs, type CodingSessionArtifactsStatusResult, type CodingSessionBridgeArgs, type CodingSessionBridgeOnHostedBoxArgs, type CodingSessionBridgeOnHostedBoxResult, type CodingSessionBridgeRestRequest, type CodingSessionBridgeResult, type CodingSessionConnectionOrganization, type CodingSessionDeliveryEnvelopesArgs, type CodingSessionDeliveryEnvelopesResult, type CodingSessionDeliveryStatusArgs, type CodingSessionDeliveryStatusResult, type CodingSessionDiagnosisArgs, type CodingSessionDiagnosisResult, type CodingSessionIdentity, type CodingSessionIdentityList, type CodingSessionOverviewArgs, type CodingSessionOverviewResult, type CodingSessionProviderReadinessArgs, type CodingSessionProviderReadinessResult, type CodingSessionUsageArgs, type CodingSessionUsageResult, type ConnectionOrganizationChoice, type DiscardCodingSessionDeliveryEnvelopeArgs, type DiscardCodingSessionDeliveryEnvelopeResult, type DiscardPendingClaudeHistoryArgs, type DiscardPendingClaudeHistoryResult, type DiscoverRuntimeWorkspacesArgs, type DiscoverRuntimeWorkspacesResult, type EntryFidelity, type GetCodexUsageAllowanceArgs, type GetCodexUsageAllowanceResult, type GetCodexUsageArgs, type GetCodexUsageResult, type HeldCodingProject, type HostedRuntimeReadiness, type HostedRuntimeStatusArgs, type HostedRuntimeStatusOnHostedBoxArgs, type HostedRuntimeStatusOnHostedBoxResult, type HostedRuntimeStatusResult, type ImportClaudeHistoryArgs, type ImportClaudeHistoryResult, type InBoxCapabilities, type KnownCodingProject, type ListClaudeHistoryScanArgs, type ListClaudeHistoryScanResult, type ListCodingSessionIdentitiesArgs, type ListCodingSessionIdentitiesOnHostedBoxArgs, type ListCodingSessionIdentitiesOnHostedBoxResult, type ListCodingSessionIdentitiesResult, type LocalBridgeReceipt, type LocalRuntimeFolderRequest, type LocalRuntimeStartRequest, type LocalRuntimeWorkspaceRootsResponse, type Operations, type OrganizationPickerOption, type OwnPlanCancelArgs, type OwnPlanCancelOnHostedBoxArgs, type OwnPlanCancelOnHostedBoxResult, type OwnPlanCancelResult, type OwnPlanCloudSendArgs, type OwnPlanCloudSendOnHostedBoxArgs, type OwnPlanCloudSendOnHostedBoxResult, type OwnPlanCloudSendResult, type OwnPlanCodeRequest, type OwnPlanProvider, type OwnPlanSignInStartArgs, type OwnPlanSignInStartOnHostedBoxArgs, type OwnPlanSignInStartOnHostedBoxResult, type OwnPlanSignInStartResult, type OwnPlanSignOutArgs, type OwnPlanSignOutOnHostedBoxArgs, type OwnPlanSignOutOnHostedBoxResult, type OwnPlanSignOutResult, type OwnPlanState, type OwnPlanStatus, type OwnPlanStatusArgs, type OwnPlanStatusOnHostedBoxArgs, type OwnPlanStatusOnHostedBoxResult, type OwnPlanStatusResult, type OwnPlanSubmitCodeArgs, type OwnPlanSubmitCodeOnHostedBoxArgs, type OwnPlanSubmitCodeOnHostedBoxResult, type OwnPlanSubmitCodeResult, type PersistCodingSessionHookArgs, type PersistCodingSessionHookResult, type PrepareClaudeHistorySelectionArgs, type PrepareClaudeHistorySelectionResult, type ProjectionStatus, type RawBackupPolicyAnswer, type RawTranscriptSource, type RawTranscriptSources, type ReadCodingSessionConnectionOrganizationArgs, type ReadCodingSessionConnectionOrganizationOnHostedBoxArgs, type ReadCodingSessionConnectionOrganizationOnHostedBoxResult, type ReadCodingSessionConnectionOrganizationResult, type ReadConnectionOrganizationArgs, type ReadConnectionOrganizationResult, type ReadRawBackupPolicyArgs, type ReadRawBackupPolicyOnHostedBoxArgs, type ReadRawBackupPolicyOnHostedBoxResult, type ReadRawBackupPolicyResult, type ReadRawTranscriptSourcesArgs, type ReadRawTranscriptSourcesOnHostedBoxArgs, type ReadRawTranscriptSourcesOnHostedBoxResult, type ReadRawTranscriptSourcesResult, type ReconcileClaudeCaptureArgs, type ReconcileClaudeCaptureResult, type RemoveRuntimeWorkspaceRootArgs, type RemoveRuntimeWorkspaceRootResult, type ResumeCodingSessionDeliveryArgs, type ResumeCodingSessionDeliveryResult, type RetryClaudeLabelPushIntentArgs, type RetryClaudeLabelPushIntentResult, type RetryCodingSessionDeliveryEnvelopeArgs, type RetryCodingSessionDeliveryEnvelopeResult, type RetryPendingClaudeHistoryArgs, type RetryPendingClaudeHistoryResult, type ReviewClaudeHistoryArgs, type ReviewClaudeHistoryResult, type RevokeRuntimeFolderArgs, type RevokeRuntimeFolderResult, type RuntimeApprovalsArgs, type RuntimeApprovalsResult, type RuntimeCapabilitiesArgs, type RuntimeCapabilitiesResult, type RuntimeEventsArgs, type RuntimeEventsResult, type RuntimeResumableArgs, type RuntimeResumableResult, type RuntimeStatusArgs, type RuntimeStatusResult, type SandboxOccupant, type SetCodingProjectOrganization, type SetCodingSessionConnectionOrganization, type StartRuntimeSessionArgs, type StartRuntimeSessionResult, type SyncClaudeEverythingArgs, type SyncClaudeEverythingResult, type SyncClaudeLabelsArgs, type SyncClaudeLabelsResult, type SyncCodingSessionArtifactsArgs, type SyncCodingSessionArtifactsResult, type VerifyClaudeLabelOperationArgs, type VerifyClaudeLabelOperationResult, type VerifyCodingSessionArtifactsArgs, type VerifyCodingSessionArtifactsResult, type WorkspaceDiscoveryNode, type WorkspaceDiscoveryResponse, type WriteCodingProjectOrganizationArgs, type WriteCodingProjectOrganizationOnHostedBoxArgs, type WriteCodingProjectOrganizationOnHostedBoxResult, type WriteCodingProjectOrganizationResult, type WriteCodingSessionConnectionOrganizationArgs, type WriteCodingSessionConnectionOrganizationOnHostedBoxArgs, type WriteCodingSessionConnectionOrganizationOnHostedBoxResult, type WriteCodingSessionConnectionOrganizationResult, type WriteConnectionOrganizationArgs, type WriteConnectionOrganizationResult, addRuntimeWorkspaceRoot, approveRuntimeFolder, backupRawTranscript, backupRawTranscriptOnHostedBox, call, cancelClaudeManagedRuntime, cancelClaudeManagedRuntimeOnHostedBox, cancelCodexManagedRuntime, cancelCodexManagedRuntimeOnHostedBox, cancelRuntimeSession, claudeCaptureStatus, claudeHistoryStatus, claudeLabelOperation, claudeLabelStatus, claudeManagedCapabilities, claudeManagedCapabilitiesOnHostedBox, claudeManagedStream, claudeManagedStreamOnHostedBox, claudeOverview, claudeSessionDiagnosis, claudeSessionReconcile, claudeSessionSyncTruth, codexManagedCapabilities, codexManagedCapabilitiesOnHostedBox, codexManagedStream, codexManagedStreamOnHostedBox, codingReplyResponder, codingReplyResponderOnHostedBox, codingSessionArtifactsSession, codingSessionArtifactsSessions, codingSessionArtifactsStatus, codingSessionBridge, codingSessionBridgeOnHostedBox, codingSessionDeliveryEnvelopes, codingSessionDeliveryStatus, codingSessionDiagnosis, codingSessionOverview, codingSessionProviderReadiness, codingSessionUsage, discardCodingSessionDeliveryEnvelope, discardPendingClaudeHistory, discoverRuntimeWorkspaces, getCodexUsage, getCodexUsageAllowance, hostedRuntimeStatus, hostedRuntimeStatusOnHostedBox, importClaudeHistory, listClaudeHistoryScan, listCodingSessionIdentities, listCodingSessionIdentitiesOnHostedBox, ownPlanCancel, ownPlanCancelOnHostedBox, ownPlanCloudSend, ownPlanCloudSendOnHostedBox, ownPlanSignInStart, ownPlanSignInStartOnHostedBox, ownPlanSignOut, ownPlanSignOutOnHostedBox, ownPlanStatus, ownPlanStatusOnHostedBox, ownPlanSubmitCode, ownPlanSubmitCodeOnHostedBox, persistCodingSessionHook, prepareClaudeHistorySelection, readCodingSessionConnectionOrganization, readCodingSessionConnectionOrganizationOnHostedBox, readConnectionOrganization, readRawBackupPolicy, readRawBackupPolicyOnHostedBox, readRawTranscriptSources, readRawTranscriptSourcesOnHostedBox, reconcileClaudeCapture, removeRuntimeWorkspaceRoot, resumeCodingSessionDelivery, retryClaudeLabelPushIntent, retryCodingSessionDeliveryEnvelope, retryPendingClaudeHistory, reviewClaudeHistory, revokeRuntimeFolder, runtimeApprovals, runtimeCapabilities, runtimeEvents, runtimeResumable, runtimeStatus, startRuntimeSession, syncClaudeEverything, syncClaudeLabels, syncCodingSessionArtifacts, verifyClaudeLabelOperation, verifyCodingSessionArtifacts, writeCodingProjectOrganization, writeCodingProjectOrganizationOnHostedBox, writeCodingSessionConnectionOrganization, writeCodingSessionConnectionOrganizationOnHostedBox, writeConnectionOrganization };
package/dist/code.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-C2E-Cp19.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-BUb7OxrB.js';
2
2
  import { JsonValue } from './schemas.js';
3
3
  import './credentials.js';
4
4
 
5
5
  /**
6
6
  * GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
7
- * CONTRACT_SHA256 50a790edb39e682b46e0fa9e674faf5ce2a0ba7de2cd01930a497fca4c47844a
7
+ * CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
8
8
  */
9
9
 
10
10
  /** Opaque, display-safe provider-account provenance. Never authorization. */
@@ -250,6 +250,9 @@ type BridgeResponse = {
250
250
  hookSpecificOutput?: {
251
251
  [key: string]: JsonValue;
252
252
  } | null;
253
+ hook_top_level_output?: {
254
+ [key: string]: JsonValue;
255
+ } | null;
253
256
  };
254
257
  /** Which runtime can actually execute turns for a provider session. */
255
258
  type BridgeRuntimeKind = "matrx_local" | "matrx_sandbox" | "seeded";
@@ -409,6 +412,18 @@ type ClaudeManagedRestRequest = {
409
412
  /** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
410
413
  initiation?: ("user" | "auto") | null;
411
414
  };
415
+ /** Queue one agent-mail envelope into a Claude cloud session (agent messaging 4a). */
416
+ type CloudSendRequest = {
417
+ account: string;
418
+ cloud_session_id: string;
419
+ envelope: string;
420
+ };
421
+ /** CloudSendResult */
422
+ type CloudSendResult = {
423
+ ok: boolean;
424
+ detail: string;
425
+ not_this_account?: boolean;
426
+ };
412
427
  /** CodexManagedAction */
413
428
  type CodexManagedAction = "start" | "resume";
414
429
  /** CodexManagedCancelResponse */
@@ -590,6 +605,8 @@ type HostedRuntimeReadiness = {
590
605
  expires_at?: string | null;
591
606
  in_box?: InBoxCapabilities | null;
592
607
  active_runtime_ids?: string[];
608
+ capacity_ceiling?: number | null;
609
+ occupants?: SandboxOccupant[];
593
610
  };
594
611
  /** The in-box runtime's OWN verdict, forwarded verbatim. */
595
612
  type InBoxCapabilities = {
@@ -651,7 +668,7 @@ type OwnPlanCodeRequest = {
651
668
  /** OwnPlanProvider */
652
669
  type OwnPlanProvider = "claude_code" | "codex";
653
670
  /** OwnPlanState */
654
- type OwnPlanState = "unavailable" | "signed_out" | "awaiting_code" | "awaiting_browser" | "signed_in" | "signed_in_not_plan";
671
+ type OwnPlanState = "unavailable" | "starting" | "signed_out" | "awaiting_code" | "redeeming" | "awaiting_browser" | "signed_in" | "signed_in_not_plan";
655
672
  /** What the person's own-plan sign-in looks like right now, in this box. */
656
673
  type OwnPlanStatus = {
657
674
  provider: OwnPlanProvider;
@@ -661,6 +678,9 @@ type OwnPlanStatus = {
661
678
  user_code?: string | null;
662
679
  method?: string | null;
663
680
  detail?: string | null;
681
+ account?: string | null;
682
+ account_label?: string | null;
683
+ account_key?: string | null;
664
684
  };
665
685
  /** ProjectionStatus */
666
686
  type ProjectionStatus = "pending" | "projected" | "skipped" | "error";
@@ -694,6 +714,17 @@ type RawTranscriptSources = {
694
714
  conversation_id: string;
695
715
  sources: RawTranscriptSource[];
696
716
  };
717
+ /** One of the person's sandboxes holding a slot of the host's admission cap. */
718
+ type SandboxOccupant = {
719
+ row_id: string;
720
+ sandbox_id: string;
721
+ name?: string | null;
722
+ template?: string | null;
723
+ tier?: string | null;
724
+ status?: string | null;
725
+ organization_id?: string | null;
726
+ last_heartbeat_at?: string | null;
727
+ };
697
728
  /** SetCodingProjectOrganization */
698
729
  type SetCodingProjectOrganization = {
699
730
  project: string;
@@ -861,6 +892,9 @@ type OwnPlanStatusArgs = {
861
892
  path: {
862
893
  provider: OwnPlanProvider;
863
894
  };
895
+ query?: {
896
+ account?: string | null;
897
+ };
864
898
  };
865
899
  type OwnPlanStatusResult = OwnPlanStatus;
866
900
  /** Own Plan Status */
@@ -870,6 +904,9 @@ type OwnPlanSignInStartArgs = {
870
904
  path: {
871
905
  provider: OwnPlanProvider;
872
906
  };
907
+ query?: {
908
+ account?: string | null;
909
+ };
873
910
  };
874
911
  type OwnPlanSignInStartResult = OwnPlanStatus;
875
912
  /** Own Plan Sign In Start */
@@ -879,16 +916,29 @@ type OwnPlanSubmitCodeArgs = {
879
916
  path: {
880
917
  provider: OwnPlanProvider;
881
918
  };
919
+ query?: {
920
+ account?: string | null;
921
+ };
882
922
  body: OwnPlanCodeRequest;
883
923
  };
884
924
  type OwnPlanSubmitCodeResult = OwnPlanStatus;
885
925
  /** Own Plan Submit Code */
886
926
  /** `POST /coding-sessions/own-plan/{provider}/code` · aidream · auth user · org required */
887
927
  declare function ownPlanSubmitCode(api: Api, args: OwnPlanSubmitCodeArgs, options?: CallOptions): Promise<OwnPlanSubmitCodeResult>;
928
+ type OwnPlanCloudSendArgs = {
929
+ body: CloudSendRequest;
930
+ };
931
+ type OwnPlanCloudSendResult = CloudSendResult;
932
+ /** Own Plan Cloud Send */
933
+ /** `POST /coding-sessions/own-plan/claude_code/cloud-send` · aidream · auth user · org required */
934
+ declare function ownPlanCloudSend(api: Api, args: OwnPlanCloudSendArgs, options?: CallOptions): Promise<OwnPlanCloudSendResult>;
888
935
  type OwnPlanCancelArgs = {
889
936
  path: {
890
937
  provider: OwnPlanProvider;
891
938
  };
939
+ query?: {
940
+ account?: string | null;
941
+ };
892
942
  };
893
943
  type OwnPlanCancelResult = OwnPlanStatus;
894
944
  /** Own Plan Cancel */
@@ -898,6 +948,9 @@ type OwnPlanSignOutArgs = {
898
948
  path: {
899
949
  provider: OwnPlanProvider;
900
950
  };
951
+ query?: {
952
+ account?: string | null;
953
+ };
901
954
  };
902
955
  type OwnPlanSignOutResult = OwnPlanStatus;
903
956
  /** Own Plan Sign Out */
@@ -1039,6 +1092,9 @@ type OwnPlanStatusOnHostedBoxArgs = {
1039
1092
  path: {
1040
1093
  provider: OwnPlanProvider;
1041
1094
  };
1095
+ query?: {
1096
+ account?: string | null;
1097
+ };
1042
1098
  };
1043
1099
  type OwnPlanStatusOnHostedBoxResult = OwnPlanStatus;
1044
1100
  /** Own Plan Status */
@@ -1048,6 +1104,9 @@ type OwnPlanSignInStartOnHostedBoxArgs = {
1048
1104
  path: {
1049
1105
  provider: OwnPlanProvider;
1050
1106
  };
1107
+ query?: {
1108
+ account?: string | null;
1109
+ };
1051
1110
  };
1052
1111
  type OwnPlanSignInStartOnHostedBoxResult = OwnPlanStatus;
1053
1112
  /** Own Plan Sign In Start */
@@ -1057,16 +1116,29 @@ type OwnPlanSubmitCodeOnHostedBoxArgs = {
1057
1116
  path: {
1058
1117
  provider: OwnPlanProvider;
1059
1118
  };
1119
+ query?: {
1120
+ account?: string | null;
1121
+ };
1060
1122
  body: OwnPlanCodeRequest;
1061
1123
  };
1062
1124
  type OwnPlanSubmitCodeOnHostedBoxResult = OwnPlanStatus;
1063
1125
  /** Own Plan Submit Code */
1064
1126
  /** `POST /coding-sessions/own-plan/{provider}/code` · hosted-box · auth user · org required */
1065
1127
  declare function ownPlanSubmitCodeOnHostedBox(api: Api, args: OwnPlanSubmitCodeOnHostedBoxArgs, options?: CallOptions): Promise<OwnPlanSubmitCodeOnHostedBoxResult>;
1128
+ type OwnPlanCloudSendOnHostedBoxArgs = {
1129
+ body: CloudSendRequest;
1130
+ };
1131
+ type OwnPlanCloudSendOnHostedBoxResult = CloudSendResult;
1132
+ /** Own Plan Cloud Send */
1133
+ /** `POST /coding-sessions/own-plan/claude_code/cloud-send` · hosted-box · auth user · org required */
1134
+ declare function ownPlanCloudSendOnHostedBox(api: Api, args: OwnPlanCloudSendOnHostedBoxArgs, options?: CallOptions): Promise<OwnPlanCloudSendOnHostedBoxResult>;
1066
1135
  type OwnPlanCancelOnHostedBoxArgs = {
1067
1136
  path: {
1068
1137
  provider: OwnPlanProvider;
1069
1138
  };
1139
+ query?: {
1140
+ account?: string | null;
1141
+ };
1070
1142
  };
1071
1143
  type OwnPlanCancelOnHostedBoxResult = OwnPlanStatus;
1072
1144
  /** Own Plan Cancel */
@@ -1076,6 +1148,9 @@ type OwnPlanSignOutOnHostedBoxArgs = {
1076
1148
  path: {
1077
1149
  provider: OwnPlanProvider;
1078
1150
  };
1151
+ query?: {
1152
+ account?: string | null;
1153
+ };
1079
1154
  };
1080
1155
  type OwnPlanSignOutOnHostedBoxResult = OwnPlanStatus;
1081
1156
  /** Own Plan Sign Out */
@@ -1689,6 +1764,10 @@ interface Operations {
1689
1764
  args: OwnPlanSubmitCodeArgs;
1690
1765
  result: OwnPlanSubmitCodeResult;
1691
1766
  };
1767
+ "POST /coding-sessions/own-plan/claude_code/cloud-send": {
1768
+ args: OwnPlanCloudSendArgs;
1769
+ result: OwnPlanCloudSendResult;
1770
+ };
1692
1771
  "POST /coding-sessions/own-plan/{provider}/cancel": {
1693
1772
  args: OwnPlanCancelArgs;
1694
1773
  result: OwnPlanCancelResult;
@@ -1765,6 +1844,10 @@ interface Operations {
1765
1844
  args: OwnPlanSubmitCodeOnHostedBoxArgs;
1766
1845
  result: OwnPlanSubmitCodeOnHostedBoxResult;
1767
1846
  };
1847
+ "POST /coding-sessions/own-plan/claude_code/cloud-send @hosted-box": {
1848
+ args: OwnPlanCloudSendOnHostedBoxArgs;
1849
+ result: OwnPlanCloudSendOnHostedBoxResult;
1850
+ };
1768
1851
  "POST /coding-sessions/own-plan/{provider}/cancel @hosted-box": {
1769
1852
  args: OwnPlanCancelOnHostedBoxArgs;
1770
1853
  result: OwnPlanCancelOnHostedBoxResult;
@@ -1973,4 +2056,4 @@ interface Operations {
1973
2056
  /** Path-keyed call, scoped to this domain only (never a global path map). */
1974
2057
  declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
1975
2058
 
1976
- export { type AddRuntimeWorkspaceRootArgs, type AddRuntimeWorkspaceRootResult, type ApproveRuntimeFolderArgs, type ApproveRuntimeFolderResult, type BackupRawTranscriptArgs, type BackupRawTranscriptOnHostedBoxArgs, type BackupRawTranscriptOnHostedBoxResult, type BackupRawTranscriptResult, type BridgeAccountIdentity, type BridgeAccountIdentity_MatrxLocal, type BridgeAction, type BridgeAction_MatrxLocal, type BridgeCapabilities, type BridgeCapabilityReport, type BridgeCheckpoint, type BridgeConversation, type BridgeDiagnosis, type BridgeDispatchResult, type BridgeEntry, type BridgeHandoffResult, type BridgeHandoffState, type BridgeHealth, type BridgeHookEvent, type BridgeOperation, type BridgeOrigin, type BridgePinDivergence, type BridgeProjectionErrorGroup, type BridgeProjectionReceipt, type BridgeProvider, type BridgeRefusal, type BridgeRefusalCode, type BridgeReprojection, type BridgeRequest, type BridgeResponse, type BridgeRuntimeKind, type BridgeSeedPacket, type BridgeSeedRead, type BridgeSendResult, type BridgeSendState, type BridgeSendTarget, type BridgeSourceMetadata, type BridgeSourceMetadata_MatrxLocal, type CancelClaudeManagedRuntimeArgs, type CancelClaudeManagedRuntimeOnHostedBoxArgs, type CancelClaudeManagedRuntimeOnHostedBoxResult, type CancelClaudeManagedRuntimeResult, type CancelCodexManagedRuntimeArgs, type CancelCodexManagedRuntimeOnHostedBoxArgs, type CancelCodexManagedRuntimeOnHostedBoxResult, type CancelCodexManagedRuntimeResult, type CancelRuntimeSessionArgs, type CancelRuntimeSessionResult, type CapabilityVerdict, type ClaudeCaptureStatusArgs, type ClaudeCaptureStatusResult, type ClaudeHistoryImportRequest, type ClaudeHistoryPrepareRequest, type ClaudeHistoryPrepareSelection, type ClaudeHistorySelection, type ClaudeHistoryStatusArgs, type ClaudeHistoryStatusResult, type ClaudeLabelOperationArgs, type ClaudeLabelOperationResult, type ClaudeLabelStatusArgs, type ClaudeLabelStatusResult, type ClaudeManagedAction, type ClaudeManagedCancelResponse, type ClaudeManagedCapabilitiesArgs, type ClaudeManagedCapabilitiesOnHostedBoxArgs, type ClaudeManagedCapabilitiesOnHostedBoxResult, type ClaudeManagedCapabilitiesResponse, type ClaudeManagedCapabilitiesResult, type ClaudeManagedRestRequest, type ClaudeManagedStreamArgs, type ClaudeManagedStreamOnHostedBoxArgs, type ClaudeManagedStreamOnHostedBoxResult, type ClaudeManagedStreamResult, type ClaudeOverviewArgs, type ClaudeOverviewResult, type ClaudeSessionDiagnosisArgs, type ClaudeSessionDiagnosisResult, type ClaudeSessionReconcileArgs, type ClaudeSessionReconcileResult, type ClaudeSessionSyncTruthArgs, type ClaudeSessionSyncTruthResult, type CodexManagedAction, type CodexManagedCancelResponse, type CodexManagedCapabilitiesArgs, type CodexManagedCapabilitiesOnHostedBoxArgs, type CodexManagedCapabilitiesOnHostedBoxResult, type CodexManagedCapabilitiesResponse, type CodexManagedCapabilitiesResult, type CodexManagedRestRequest, type CodexManagedStreamArgs, type CodexManagedStreamOnHostedBoxArgs, type CodexManagedStreamOnHostedBoxResult, type CodexManagedStreamResult, type CodingProjectMoveReport, type CodingProjectOrganization, type CodingReplyResponder, type CodingReplyResponderArgs, type CodingReplyResponderOnHostedBoxArgs, type CodingReplyResponderOnHostedBoxResult, type CodingReplyResponderReport, type CodingReplyResponderResult, type CodingSessionArtifactsSessionArgs, type CodingSessionArtifactsSessionResult, type CodingSessionArtifactsSessionsArgs, type CodingSessionArtifactsSessionsResult, type CodingSessionArtifactsStatusArgs, type CodingSessionArtifactsStatusResult, type CodingSessionBridgeArgs, type CodingSessionBridgeOnHostedBoxArgs, type CodingSessionBridgeOnHostedBoxResult, type CodingSessionBridgeRestRequest, type CodingSessionBridgeResult, type CodingSessionConnectionOrganization, type CodingSessionDeliveryEnvelopesArgs, type CodingSessionDeliveryEnvelopesResult, type CodingSessionDeliveryStatusArgs, type CodingSessionDeliveryStatusResult, type CodingSessionDiagnosisArgs, type CodingSessionDiagnosisResult, type CodingSessionIdentity, type CodingSessionIdentityList, type CodingSessionOverviewArgs, type CodingSessionOverviewResult, type CodingSessionProviderReadinessArgs, type CodingSessionProviderReadinessResult, type CodingSessionUsageArgs, type CodingSessionUsageResult, type ConnectionOrganizationChoice, type DiscardCodingSessionDeliveryEnvelopeArgs, type DiscardCodingSessionDeliveryEnvelopeResult, type DiscardPendingClaudeHistoryArgs, type DiscardPendingClaudeHistoryResult, type DiscoverRuntimeWorkspacesArgs, type DiscoverRuntimeWorkspacesResult, type EntryFidelity, type GetCodexUsageAllowanceArgs, type GetCodexUsageAllowanceResult, type GetCodexUsageArgs, type GetCodexUsageResult, type HeldCodingProject, type HostedRuntimeReadiness, type HostedRuntimeStatusArgs, type HostedRuntimeStatusOnHostedBoxArgs, type HostedRuntimeStatusOnHostedBoxResult, type HostedRuntimeStatusResult, type ImportClaudeHistoryArgs, type ImportClaudeHistoryResult, type InBoxCapabilities, type KnownCodingProject, type ListClaudeHistoryScanArgs, type ListClaudeHistoryScanResult, type ListCodingSessionIdentitiesArgs, type ListCodingSessionIdentitiesOnHostedBoxArgs, type ListCodingSessionIdentitiesOnHostedBoxResult, type ListCodingSessionIdentitiesResult, type LocalBridgeReceipt, type LocalRuntimeFolderRequest, type LocalRuntimeStartRequest, type LocalRuntimeWorkspaceRootsResponse, type Operations, type OrganizationPickerOption, type OwnPlanCancelArgs, type OwnPlanCancelOnHostedBoxArgs, type OwnPlanCancelOnHostedBoxResult, type OwnPlanCancelResult, type OwnPlanCodeRequest, type OwnPlanProvider, type OwnPlanSignInStartArgs, type OwnPlanSignInStartOnHostedBoxArgs, type OwnPlanSignInStartOnHostedBoxResult, type OwnPlanSignInStartResult, type OwnPlanSignOutArgs, type OwnPlanSignOutOnHostedBoxArgs, type OwnPlanSignOutOnHostedBoxResult, type OwnPlanSignOutResult, type OwnPlanState, type OwnPlanStatus, type OwnPlanStatusArgs, type OwnPlanStatusOnHostedBoxArgs, type OwnPlanStatusOnHostedBoxResult, type OwnPlanStatusResult, type OwnPlanSubmitCodeArgs, type OwnPlanSubmitCodeOnHostedBoxArgs, type OwnPlanSubmitCodeOnHostedBoxResult, type OwnPlanSubmitCodeResult, type PersistCodingSessionHookArgs, type PersistCodingSessionHookResult, type PrepareClaudeHistorySelectionArgs, type PrepareClaudeHistorySelectionResult, type ProjectionStatus, type RawBackupPolicyAnswer, type RawTranscriptSource, type RawTranscriptSources, type ReadCodingSessionConnectionOrganizationArgs, type ReadCodingSessionConnectionOrganizationOnHostedBoxArgs, type ReadCodingSessionConnectionOrganizationOnHostedBoxResult, type ReadCodingSessionConnectionOrganizationResult, type ReadConnectionOrganizationArgs, type ReadConnectionOrganizationResult, type ReadRawBackupPolicyArgs, type ReadRawBackupPolicyOnHostedBoxArgs, type ReadRawBackupPolicyOnHostedBoxResult, type ReadRawBackupPolicyResult, type ReadRawTranscriptSourcesArgs, type ReadRawTranscriptSourcesOnHostedBoxArgs, type ReadRawTranscriptSourcesOnHostedBoxResult, type ReadRawTranscriptSourcesResult, type ReconcileClaudeCaptureArgs, type ReconcileClaudeCaptureResult, type RemoveRuntimeWorkspaceRootArgs, type RemoveRuntimeWorkspaceRootResult, type ResumeCodingSessionDeliveryArgs, type ResumeCodingSessionDeliveryResult, type RetryClaudeLabelPushIntentArgs, type RetryClaudeLabelPushIntentResult, type RetryCodingSessionDeliveryEnvelopeArgs, type RetryCodingSessionDeliveryEnvelopeResult, type RetryPendingClaudeHistoryArgs, type RetryPendingClaudeHistoryResult, type ReviewClaudeHistoryArgs, type ReviewClaudeHistoryResult, type RevokeRuntimeFolderArgs, type RevokeRuntimeFolderResult, type RuntimeApprovalsArgs, type RuntimeApprovalsResult, type RuntimeCapabilitiesArgs, type RuntimeCapabilitiesResult, type RuntimeEventsArgs, type RuntimeEventsResult, type RuntimeResumableArgs, type RuntimeResumableResult, type RuntimeStatusArgs, type RuntimeStatusResult, type SetCodingProjectOrganization, type SetCodingSessionConnectionOrganization, type StartRuntimeSessionArgs, type StartRuntimeSessionResult, type SyncClaudeEverythingArgs, type SyncClaudeEverythingResult, type SyncClaudeLabelsArgs, type SyncClaudeLabelsResult, type SyncCodingSessionArtifactsArgs, type SyncCodingSessionArtifactsResult, type VerifyClaudeLabelOperationArgs, type VerifyClaudeLabelOperationResult, type VerifyCodingSessionArtifactsArgs, type VerifyCodingSessionArtifactsResult, type WorkspaceDiscoveryNode, type WorkspaceDiscoveryResponse, type WriteCodingProjectOrganizationArgs, type WriteCodingProjectOrganizationOnHostedBoxArgs, type WriteCodingProjectOrganizationOnHostedBoxResult, type WriteCodingProjectOrganizationResult, type WriteCodingSessionConnectionOrganizationArgs, type WriteCodingSessionConnectionOrganizationOnHostedBoxArgs, type WriteCodingSessionConnectionOrganizationOnHostedBoxResult, type WriteCodingSessionConnectionOrganizationResult, type WriteConnectionOrganizationArgs, type WriteConnectionOrganizationResult, addRuntimeWorkspaceRoot, approveRuntimeFolder, backupRawTranscript, backupRawTranscriptOnHostedBox, call, cancelClaudeManagedRuntime, cancelClaudeManagedRuntimeOnHostedBox, cancelCodexManagedRuntime, cancelCodexManagedRuntimeOnHostedBox, cancelRuntimeSession, claudeCaptureStatus, claudeHistoryStatus, claudeLabelOperation, claudeLabelStatus, claudeManagedCapabilities, claudeManagedCapabilitiesOnHostedBox, claudeManagedStream, claudeManagedStreamOnHostedBox, claudeOverview, claudeSessionDiagnosis, claudeSessionReconcile, claudeSessionSyncTruth, codexManagedCapabilities, codexManagedCapabilitiesOnHostedBox, codexManagedStream, codexManagedStreamOnHostedBox, codingReplyResponder, codingReplyResponderOnHostedBox, codingSessionArtifactsSession, codingSessionArtifactsSessions, codingSessionArtifactsStatus, codingSessionBridge, codingSessionBridgeOnHostedBox, codingSessionDeliveryEnvelopes, codingSessionDeliveryStatus, codingSessionDiagnosis, codingSessionOverview, codingSessionProviderReadiness, codingSessionUsage, discardCodingSessionDeliveryEnvelope, discardPendingClaudeHistory, discoverRuntimeWorkspaces, getCodexUsage, getCodexUsageAllowance, hostedRuntimeStatus, hostedRuntimeStatusOnHostedBox, importClaudeHistory, listClaudeHistoryScan, listCodingSessionIdentities, listCodingSessionIdentitiesOnHostedBox, ownPlanCancel, ownPlanCancelOnHostedBox, ownPlanSignInStart, ownPlanSignInStartOnHostedBox, ownPlanSignOut, ownPlanSignOutOnHostedBox, ownPlanStatus, ownPlanStatusOnHostedBox, ownPlanSubmitCode, ownPlanSubmitCodeOnHostedBox, persistCodingSessionHook, prepareClaudeHistorySelection, readCodingSessionConnectionOrganization, readCodingSessionConnectionOrganizationOnHostedBox, readConnectionOrganization, readRawBackupPolicy, readRawBackupPolicyOnHostedBox, readRawTranscriptSources, readRawTranscriptSourcesOnHostedBox, reconcileClaudeCapture, removeRuntimeWorkspaceRoot, resumeCodingSessionDelivery, retryClaudeLabelPushIntent, retryCodingSessionDeliveryEnvelope, retryPendingClaudeHistory, reviewClaudeHistory, revokeRuntimeFolder, runtimeApprovals, runtimeCapabilities, runtimeEvents, runtimeResumable, runtimeStatus, startRuntimeSession, syncClaudeEverything, syncClaudeLabels, syncCodingSessionArtifacts, verifyClaudeLabelOperation, verifyCodingSessionArtifacts, writeCodingProjectOrganization, writeCodingProjectOrganizationOnHostedBox, writeCodingSessionConnectionOrganization, writeCodingSessionConnectionOrganizationOnHostedBox, writeConnectionOrganization };
2059
+ export { type AddRuntimeWorkspaceRootArgs, type AddRuntimeWorkspaceRootResult, type ApproveRuntimeFolderArgs, type ApproveRuntimeFolderResult, type BackupRawTranscriptArgs, type BackupRawTranscriptOnHostedBoxArgs, type BackupRawTranscriptOnHostedBoxResult, type BackupRawTranscriptResult, type BridgeAccountIdentity, type BridgeAccountIdentity_MatrxLocal, type BridgeAction, type BridgeAction_MatrxLocal, type BridgeCapabilities, type BridgeCapabilityReport, type BridgeCheckpoint, type BridgeConversation, type BridgeDiagnosis, type BridgeDispatchResult, type BridgeEntry, type BridgeHandoffResult, type BridgeHandoffState, type BridgeHealth, type BridgeHookEvent, type BridgeOperation, type BridgeOrigin, type BridgePinDivergence, type BridgeProjectionErrorGroup, type BridgeProjectionReceipt, type BridgeProvider, type BridgeRefusal, type BridgeRefusalCode, type BridgeReprojection, type BridgeRequest, type BridgeResponse, type BridgeRuntimeKind, type BridgeSeedPacket, type BridgeSeedRead, type BridgeSendResult, type BridgeSendState, type BridgeSendTarget, type BridgeSourceMetadata, type BridgeSourceMetadata_MatrxLocal, type CancelClaudeManagedRuntimeArgs, type CancelClaudeManagedRuntimeOnHostedBoxArgs, type CancelClaudeManagedRuntimeOnHostedBoxResult, type CancelClaudeManagedRuntimeResult, type CancelCodexManagedRuntimeArgs, type CancelCodexManagedRuntimeOnHostedBoxArgs, type CancelCodexManagedRuntimeOnHostedBoxResult, type CancelCodexManagedRuntimeResult, type CancelRuntimeSessionArgs, type CancelRuntimeSessionResult, type CapabilityVerdict, type ClaudeCaptureStatusArgs, type ClaudeCaptureStatusResult, type ClaudeHistoryImportRequest, type ClaudeHistoryPrepareRequest, type ClaudeHistoryPrepareSelection, type ClaudeHistorySelection, type ClaudeHistoryStatusArgs, type ClaudeHistoryStatusResult, type ClaudeLabelOperationArgs, type ClaudeLabelOperationResult, type ClaudeLabelStatusArgs, type ClaudeLabelStatusResult, type ClaudeManagedAction, type ClaudeManagedCancelResponse, type ClaudeManagedCapabilitiesArgs, type ClaudeManagedCapabilitiesOnHostedBoxArgs, type ClaudeManagedCapabilitiesOnHostedBoxResult, type ClaudeManagedCapabilitiesResponse, type ClaudeManagedCapabilitiesResult, type ClaudeManagedRestRequest, type ClaudeManagedStreamArgs, type ClaudeManagedStreamOnHostedBoxArgs, type ClaudeManagedStreamOnHostedBoxResult, type ClaudeManagedStreamResult, type ClaudeOverviewArgs, type ClaudeOverviewResult, type ClaudeSessionDiagnosisArgs, type ClaudeSessionDiagnosisResult, type ClaudeSessionReconcileArgs, type ClaudeSessionReconcileResult, type ClaudeSessionSyncTruthArgs, type ClaudeSessionSyncTruthResult, type CloudSendRequest, type CloudSendResult, type CodexManagedAction, type CodexManagedCancelResponse, type CodexManagedCapabilitiesArgs, type CodexManagedCapabilitiesOnHostedBoxArgs, type CodexManagedCapabilitiesOnHostedBoxResult, type CodexManagedCapabilitiesResponse, type CodexManagedCapabilitiesResult, type CodexManagedRestRequest, type CodexManagedStreamArgs, type CodexManagedStreamOnHostedBoxArgs, type CodexManagedStreamOnHostedBoxResult, type CodexManagedStreamResult, type CodingProjectMoveReport, type CodingProjectOrganization, type CodingReplyResponder, type CodingReplyResponderArgs, type CodingReplyResponderOnHostedBoxArgs, type CodingReplyResponderOnHostedBoxResult, type CodingReplyResponderReport, type CodingReplyResponderResult, type CodingSessionArtifactsSessionArgs, type CodingSessionArtifactsSessionResult, type CodingSessionArtifactsSessionsArgs, type CodingSessionArtifactsSessionsResult, type CodingSessionArtifactsStatusArgs, type CodingSessionArtifactsStatusResult, type CodingSessionBridgeArgs, type CodingSessionBridgeOnHostedBoxArgs, type CodingSessionBridgeOnHostedBoxResult, type CodingSessionBridgeRestRequest, type CodingSessionBridgeResult, type CodingSessionConnectionOrganization, type CodingSessionDeliveryEnvelopesArgs, type CodingSessionDeliveryEnvelopesResult, type CodingSessionDeliveryStatusArgs, type CodingSessionDeliveryStatusResult, type CodingSessionDiagnosisArgs, type CodingSessionDiagnosisResult, type CodingSessionIdentity, type CodingSessionIdentityList, type CodingSessionOverviewArgs, type CodingSessionOverviewResult, type CodingSessionProviderReadinessArgs, type CodingSessionProviderReadinessResult, type CodingSessionUsageArgs, type CodingSessionUsageResult, type ConnectionOrganizationChoice, type DiscardCodingSessionDeliveryEnvelopeArgs, type DiscardCodingSessionDeliveryEnvelopeResult, type DiscardPendingClaudeHistoryArgs, type DiscardPendingClaudeHistoryResult, type DiscoverRuntimeWorkspacesArgs, type DiscoverRuntimeWorkspacesResult, type EntryFidelity, type GetCodexUsageAllowanceArgs, type GetCodexUsageAllowanceResult, type GetCodexUsageArgs, type GetCodexUsageResult, type HeldCodingProject, type HostedRuntimeReadiness, type HostedRuntimeStatusArgs, type HostedRuntimeStatusOnHostedBoxArgs, type HostedRuntimeStatusOnHostedBoxResult, type HostedRuntimeStatusResult, type ImportClaudeHistoryArgs, type ImportClaudeHistoryResult, type InBoxCapabilities, type KnownCodingProject, type ListClaudeHistoryScanArgs, type ListClaudeHistoryScanResult, type ListCodingSessionIdentitiesArgs, type ListCodingSessionIdentitiesOnHostedBoxArgs, type ListCodingSessionIdentitiesOnHostedBoxResult, type ListCodingSessionIdentitiesResult, type LocalBridgeReceipt, type LocalRuntimeFolderRequest, type LocalRuntimeStartRequest, type LocalRuntimeWorkspaceRootsResponse, type Operations, type OrganizationPickerOption, type OwnPlanCancelArgs, type OwnPlanCancelOnHostedBoxArgs, type OwnPlanCancelOnHostedBoxResult, type OwnPlanCancelResult, type OwnPlanCloudSendArgs, type OwnPlanCloudSendOnHostedBoxArgs, type OwnPlanCloudSendOnHostedBoxResult, type OwnPlanCloudSendResult, type OwnPlanCodeRequest, type OwnPlanProvider, type OwnPlanSignInStartArgs, type OwnPlanSignInStartOnHostedBoxArgs, type OwnPlanSignInStartOnHostedBoxResult, type OwnPlanSignInStartResult, type OwnPlanSignOutArgs, type OwnPlanSignOutOnHostedBoxArgs, type OwnPlanSignOutOnHostedBoxResult, type OwnPlanSignOutResult, type OwnPlanState, type OwnPlanStatus, type OwnPlanStatusArgs, type OwnPlanStatusOnHostedBoxArgs, type OwnPlanStatusOnHostedBoxResult, type OwnPlanStatusResult, type OwnPlanSubmitCodeArgs, type OwnPlanSubmitCodeOnHostedBoxArgs, type OwnPlanSubmitCodeOnHostedBoxResult, type OwnPlanSubmitCodeResult, type PersistCodingSessionHookArgs, type PersistCodingSessionHookResult, type PrepareClaudeHistorySelectionArgs, type PrepareClaudeHistorySelectionResult, type ProjectionStatus, type RawBackupPolicyAnswer, type RawTranscriptSource, type RawTranscriptSources, type ReadCodingSessionConnectionOrganizationArgs, type ReadCodingSessionConnectionOrganizationOnHostedBoxArgs, type ReadCodingSessionConnectionOrganizationOnHostedBoxResult, type ReadCodingSessionConnectionOrganizationResult, type ReadConnectionOrganizationArgs, type ReadConnectionOrganizationResult, type ReadRawBackupPolicyArgs, type ReadRawBackupPolicyOnHostedBoxArgs, type ReadRawBackupPolicyOnHostedBoxResult, type ReadRawBackupPolicyResult, type ReadRawTranscriptSourcesArgs, type ReadRawTranscriptSourcesOnHostedBoxArgs, type ReadRawTranscriptSourcesOnHostedBoxResult, type ReadRawTranscriptSourcesResult, type ReconcileClaudeCaptureArgs, type ReconcileClaudeCaptureResult, type RemoveRuntimeWorkspaceRootArgs, type RemoveRuntimeWorkspaceRootResult, type ResumeCodingSessionDeliveryArgs, type ResumeCodingSessionDeliveryResult, type RetryClaudeLabelPushIntentArgs, type RetryClaudeLabelPushIntentResult, type RetryCodingSessionDeliveryEnvelopeArgs, type RetryCodingSessionDeliveryEnvelopeResult, type RetryPendingClaudeHistoryArgs, type RetryPendingClaudeHistoryResult, type ReviewClaudeHistoryArgs, type ReviewClaudeHistoryResult, type RevokeRuntimeFolderArgs, type RevokeRuntimeFolderResult, type RuntimeApprovalsArgs, type RuntimeApprovalsResult, type RuntimeCapabilitiesArgs, type RuntimeCapabilitiesResult, type RuntimeEventsArgs, type RuntimeEventsResult, type RuntimeResumableArgs, type RuntimeResumableResult, type RuntimeStatusArgs, type RuntimeStatusResult, type SandboxOccupant, type SetCodingProjectOrganization, type SetCodingSessionConnectionOrganization, type StartRuntimeSessionArgs, type StartRuntimeSessionResult, type SyncClaudeEverythingArgs, type SyncClaudeEverythingResult, type SyncClaudeLabelsArgs, type SyncClaudeLabelsResult, type SyncCodingSessionArtifactsArgs, type SyncCodingSessionArtifactsResult, type VerifyClaudeLabelOperationArgs, type VerifyClaudeLabelOperationResult, type VerifyCodingSessionArtifactsArgs, type VerifyCodingSessionArtifactsResult, type WorkspaceDiscoveryNode, type WorkspaceDiscoveryResponse, type WriteCodingProjectOrganizationArgs, type WriteCodingProjectOrganizationOnHostedBoxArgs, type WriteCodingProjectOrganizationOnHostedBoxResult, type WriteCodingProjectOrganizationResult, type WriteCodingSessionConnectionOrganizationArgs, type WriteCodingSessionConnectionOrganizationOnHostedBoxArgs, type WriteCodingSessionConnectionOrganizationOnHostedBoxResult, type WriteCodingSessionConnectionOrganizationResult, type WriteConnectionOrganizationArgs, type WriteConnectionOrganizationResult, addRuntimeWorkspaceRoot, approveRuntimeFolder, backupRawTranscript, backupRawTranscriptOnHostedBox, call, cancelClaudeManagedRuntime, cancelClaudeManagedRuntimeOnHostedBox, cancelCodexManagedRuntime, cancelCodexManagedRuntimeOnHostedBox, cancelRuntimeSession, claudeCaptureStatus, claudeHistoryStatus, claudeLabelOperation, claudeLabelStatus, claudeManagedCapabilities, claudeManagedCapabilitiesOnHostedBox, claudeManagedStream, claudeManagedStreamOnHostedBox, claudeOverview, claudeSessionDiagnosis, claudeSessionReconcile, claudeSessionSyncTruth, codexManagedCapabilities, codexManagedCapabilitiesOnHostedBox, codexManagedStream, codexManagedStreamOnHostedBox, codingReplyResponder, codingReplyResponderOnHostedBox, codingSessionArtifactsSession, codingSessionArtifactsSessions, codingSessionArtifactsStatus, codingSessionBridge, codingSessionBridgeOnHostedBox, codingSessionDeliveryEnvelopes, codingSessionDeliveryStatus, codingSessionDiagnosis, codingSessionOverview, codingSessionProviderReadiness, codingSessionUsage, discardCodingSessionDeliveryEnvelope, discardPendingClaudeHistory, discoverRuntimeWorkspaces, getCodexUsage, getCodexUsageAllowance, hostedRuntimeStatus, hostedRuntimeStatusOnHostedBox, importClaudeHistory, listClaudeHistoryScan, listCodingSessionIdentities, listCodingSessionIdentitiesOnHostedBox, ownPlanCancel, ownPlanCancelOnHostedBox, ownPlanCloudSend, ownPlanCloudSendOnHostedBox, ownPlanSignInStart, ownPlanSignInStartOnHostedBox, ownPlanSignOut, ownPlanSignOutOnHostedBox, ownPlanStatus, ownPlanStatusOnHostedBox, ownPlanSubmitCode, ownPlanSubmitCodeOnHostedBox, persistCodingSessionHook, prepareClaudeHistorySelection, readCodingSessionConnectionOrganization, readCodingSessionConnectionOrganizationOnHostedBox, readConnectionOrganization, readRawBackupPolicy, readRawBackupPolicyOnHostedBox, readRawTranscriptSources, readRawTranscriptSourcesOnHostedBox, reconcileClaudeCapture, removeRuntimeWorkspaceRoot, resumeCodingSessionDelivery, retryClaudeLabelPushIntent, retryCodingSessionDeliveryEnvelope, retryPendingClaudeHistory, reviewClaudeHistory, revokeRuntimeFolder, runtimeApprovals, runtimeCapabilities, runtimeEvents, runtimeResumable, runtimeStatus, startRuntimeSession, syncClaudeEverything, syncClaudeLabels, syncCodingSessionArtifacts, verifyClaudeLabelOperation, verifyCodingSessionArtifacts, writeCodingProjectOrganization, writeCodingProjectOrganizationOnHostedBox, writeCodingSessionConnectionOrganization, writeCodingSessionConnectionOrganizationOnHostedBox, writeConnectionOrganization };
package/dist/code.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-TSHL7Z53.js';
1
+ import { openStream } from './chunk-6UOESA3L.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
  import './chunk-VTZKJMSY.js';
4
4
 
@@ -79,6 +79,10 @@ var $ownPlanSubmitCode = { m: "POST", p: "/coding-sessions/own-plan/{provider}/c
79
79
  function ownPlanSubmitCode(api, args, options) {
80
80
  return api.call($ownPlanSubmitCode, args, options);
81
81
  }
82
+ var $ownPlanCloudSend = { m: "POST", p: "/coding-sessions/own-plan/claude_code/cloud-send", d: "aidream", a: "user", o: "required", n: "code.own_plan_cloud_send" };
83
+ function ownPlanCloudSend(api, args, options) {
84
+ return api.call($ownPlanCloudSend, args, options);
85
+ }
82
86
  var $ownPlanCancel = { m: "POST", p: "/coding-sessions/own-plan/{provider}/cancel", d: "aidream", a: "user", o: "required", n: "code.own_plan_cancel" };
83
87
  function ownPlanCancel(api, args, options) {
84
88
  return api.call($ownPlanCancel, args, options);
@@ -163,6 +167,10 @@ var $ownPlanSubmitCodeOnHostedBox = { m: "POST", p: "/coding-sessions/own-plan/{
163
167
  function ownPlanSubmitCodeOnHostedBox(api, args, options) {
164
168
  return api.call($ownPlanSubmitCodeOnHostedBox, args, options);
165
169
  }
170
+ var $ownPlanCloudSendOnHostedBox = { m: "POST", p: "/coding-sessions/own-plan/claude_code/cloud-send", d: "hosted-box", a: "user", o: "required", n: "code.own_plan_cloud_send" };
171
+ function ownPlanCloudSendOnHostedBox(api, args, options) {
172
+ return api.call($ownPlanCloudSendOnHostedBox, args, options);
173
+ }
166
174
  var $ownPlanCancelOnHostedBox = { m: "POST", p: "/coding-sessions/own-plan/{provider}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.own_plan_cancel" };
167
175
  function ownPlanCancelOnHostedBox(api, args, options) {
168
176
  return api.call($ownPlanCancelOnHostedBox, args, options);
@@ -389,6 +397,7 @@ var TABLE = {
389
397
  "GET /coding-sessions/own-plan/{provider}": $ownPlanStatus,
390
398
  "POST /coding-sessions/own-plan/{provider}/sign-in": $ownPlanSignInStart,
391
399
  "POST /coding-sessions/own-plan/{provider}/code": $ownPlanSubmitCode,
400
+ "POST /coding-sessions/own-plan/claude_code/cloud-send": $ownPlanCloudSend,
392
401
  "POST /coding-sessions/own-plan/{provider}/cancel": $ownPlanCancel,
393
402
  "POST /coding-sessions/own-plan/{provider}/sign-out": $ownPlanSignOut,
394
403
  "POST /coding-sessions/bridge @hosted-box": $codingSessionBridgeOnHostedBox,
@@ -408,6 +417,7 @@ var TABLE = {
408
417
  "GET /coding-sessions/own-plan/{provider} @hosted-box": $ownPlanStatusOnHostedBox,
409
418
  "POST /coding-sessions/own-plan/{provider}/sign-in @hosted-box": $ownPlanSignInStartOnHostedBox,
410
419
  "POST /coding-sessions/own-plan/{provider}/code @hosted-box": $ownPlanSubmitCodeOnHostedBox,
420
+ "POST /coding-sessions/own-plan/claude_code/cloud-send @hosted-box": $ownPlanCloudSendOnHostedBox,
411
421
  "POST /coding-sessions/own-plan/{provider}/cancel @hosted-box": $ownPlanCancelOnHostedBox,
412
422
  "POST /coding-sessions/own-plan/{provider}/sign-out @hosted-box": $ownPlanSignOutOnHostedBox,
413
423
  "GET /coding-session/status": $codingSessionDeliveryStatus,
@@ -464,4 +474,4 @@ function call(api, key, args, options) {
464
474
  return api.call(TABLE[key], args, options);
465
475
  }
466
476
 
467
- export { addRuntimeWorkspaceRoot, approveRuntimeFolder, backupRawTranscript, backupRawTranscriptOnHostedBox, call, cancelClaudeManagedRuntime, cancelClaudeManagedRuntimeOnHostedBox, cancelCodexManagedRuntime, cancelCodexManagedRuntimeOnHostedBox, cancelRuntimeSession, claudeCaptureStatus, claudeHistoryStatus, claudeLabelOperation, claudeLabelStatus, claudeManagedCapabilities, claudeManagedCapabilitiesOnHostedBox, claudeManagedStream, claudeManagedStreamOnHostedBox, claudeOverview, claudeSessionDiagnosis, claudeSessionReconcile, claudeSessionSyncTruth, codexManagedCapabilities, codexManagedCapabilitiesOnHostedBox, codexManagedStream, codexManagedStreamOnHostedBox, codingReplyResponder, codingReplyResponderOnHostedBox, codingSessionArtifactsSession, codingSessionArtifactsSessions, codingSessionArtifactsStatus, codingSessionBridge, codingSessionBridgeOnHostedBox, codingSessionDeliveryEnvelopes, codingSessionDeliveryStatus, codingSessionDiagnosis, codingSessionOverview, codingSessionProviderReadiness, codingSessionUsage, discardCodingSessionDeliveryEnvelope, discardPendingClaudeHistory, discoverRuntimeWorkspaces, getCodexUsage, getCodexUsageAllowance, hostedRuntimeStatus, hostedRuntimeStatusOnHostedBox, importClaudeHistory, listClaudeHistoryScan, listCodingSessionIdentities, listCodingSessionIdentitiesOnHostedBox, ownPlanCancel, ownPlanCancelOnHostedBox, ownPlanSignInStart, ownPlanSignInStartOnHostedBox, ownPlanSignOut, ownPlanSignOutOnHostedBox, ownPlanStatus, ownPlanStatusOnHostedBox, ownPlanSubmitCode, ownPlanSubmitCodeOnHostedBox, persistCodingSessionHook, prepareClaudeHistorySelection, readCodingSessionConnectionOrganization, readCodingSessionConnectionOrganizationOnHostedBox, readConnectionOrganization, readRawBackupPolicy, readRawBackupPolicyOnHostedBox, readRawTranscriptSources, readRawTranscriptSourcesOnHostedBox, reconcileClaudeCapture, removeRuntimeWorkspaceRoot, resumeCodingSessionDelivery, retryClaudeLabelPushIntent, retryCodingSessionDeliveryEnvelope, retryPendingClaudeHistory, reviewClaudeHistory, revokeRuntimeFolder, runtimeApprovals, runtimeCapabilities, runtimeEvents, runtimeResumable, runtimeStatus, startRuntimeSession, syncClaudeEverything, syncClaudeLabels, syncCodingSessionArtifacts, verifyClaudeLabelOperation, verifyCodingSessionArtifacts, writeCodingProjectOrganization, writeCodingProjectOrganizationOnHostedBox, writeCodingSessionConnectionOrganization, writeCodingSessionConnectionOrganizationOnHostedBox, writeConnectionOrganization };
477
+ export { addRuntimeWorkspaceRoot, approveRuntimeFolder, backupRawTranscript, backupRawTranscriptOnHostedBox, call, cancelClaudeManagedRuntime, cancelClaudeManagedRuntimeOnHostedBox, cancelCodexManagedRuntime, cancelCodexManagedRuntimeOnHostedBox, cancelRuntimeSession, claudeCaptureStatus, claudeHistoryStatus, claudeLabelOperation, claudeLabelStatus, claudeManagedCapabilities, claudeManagedCapabilitiesOnHostedBox, claudeManagedStream, claudeManagedStreamOnHostedBox, claudeOverview, claudeSessionDiagnosis, claudeSessionReconcile, claudeSessionSyncTruth, codexManagedCapabilities, codexManagedCapabilitiesOnHostedBox, codexManagedStream, codexManagedStreamOnHostedBox, codingReplyResponder, codingReplyResponderOnHostedBox, codingSessionArtifactsSession, codingSessionArtifactsSessions, codingSessionArtifactsStatus, codingSessionBridge, codingSessionBridgeOnHostedBox, codingSessionDeliveryEnvelopes, codingSessionDeliveryStatus, codingSessionDiagnosis, codingSessionOverview, codingSessionProviderReadiness, codingSessionUsage, discardCodingSessionDeliveryEnvelope, discardPendingClaudeHistory, discoverRuntimeWorkspaces, getCodexUsage, getCodexUsageAllowance, hostedRuntimeStatus, hostedRuntimeStatusOnHostedBox, importClaudeHistory, listClaudeHistoryScan, listCodingSessionIdentities, listCodingSessionIdentitiesOnHostedBox, ownPlanCancel, ownPlanCancelOnHostedBox, ownPlanCloudSend, ownPlanCloudSendOnHostedBox, ownPlanSignInStart, ownPlanSignInStartOnHostedBox, ownPlanSignOut, ownPlanSignOutOnHostedBox, ownPlanStatus, ownPlanStatusOnHostedBox, ownPlanSubmitCode, ownPlanSubmitCodeOnHostedBox, persistCodingSessionHook, prepareClaudeHistorySelection, readCodingSessionConnectionOrganization, readCodingSessionConnectionOrganizationOnHostedBox, readConnectionOrganization, readRawBackupPolicy, readRawBackupPolicyOnHostedBox, readRawTranscriptSources, readRawTranscriptSourcesOnHostedBox, reconcileClaudeCapture, removeRuntimeWorkspaceRoot, resumeCodingSessionDelivery, retryClaudeLabelPushIntent, retryCodingSessionDeliveryEnvelope, retryPendingClaudeHistory, reviewClaudeHistory, revokeRuntimeFolder, runtimeApprovals, runtimeCapabilities, runtimeEvents, runtimeResumable, runtimeStatus, startRuntimeSession, syncClaudeEverything, syncClaudeLabels, syncCodingSessionArtifacts, verifyClaudeLabelOperation, verifyCodingSessionArtifacts, writeCodingProjectOrganization, writeCodingProjectOrganizationOnHostedBox, writeCodingSessionConnectionOrganization, writeCodingSessionConnectionOrganizationOnHostedBox, writeConnectionOrganization };
@@ -1,9 +1,9 @@
1
- import { A as Api, C as CallOptions } from './index-wC2vtb70.cjs';
1
+ import { A as Api, C as CallOptions } from './index-DCyEAVSW.cjs';
2
2
  import './credentials.cjs';
3
3
 
4
4
  /**
5
5
  * GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
6
- * CONTRACT_SHA256 50a790edb39e682b46e0fa9e674faf5ce2a0ba7de2cd01930a497fca4c47844a
6
+ * CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
7
7
  */
8
8
 
9
9
  /** EbayOAuthConnectResponse */
@@ -1,9 +1,9 @@
1
- import { A as Api, C as CallOptions } from './index-C2E-Cp19.js';
1
+ import { A as Api, C as CallOptions } from './index-BUb7OxrB.js';
2
2
  import './credentials.js';
3
3
 
4
4
  /**
5
5
  * GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
6
- * CONTRACT_SHA256 50a790edb39e682b46e0fa9e674faf5ce2a0ba7de2cd01930a497fca4c47844a
6
+ * CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
7
7
  */
8
8
 
9
9
  /** EbayOAuthConnectResponse */