@ai-matrx/api 0.1.10 → 0.1.12

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 (124) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/account.d.cts +2 -2
  3. package/dist/account.d.ts +2 -2
  4. package/dist/agents.cjs +34 -16
  5. package/dist/agents.d.cts +106 -12
  6. package/dist/agents.d.ts +106 -12
  7. package/dist/agents.js +22 -7
  8. package/dist/ai.cjs +3 -3
  9. package/dist/ai.d.cts +3 -3
  10. package/dist/ai.d.ts +3 -3
  11. package/dist/ai.js +2 -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 +74 -26
  17. package/dist/architecture.d.cts +246 -20
  18. package/dist/architecture.d.ts +246 -20
  19. package/dist/architecture.js +56 -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 +7 -15
  26. package/dist/chat.d.ts +7 -15
  27. package/dist/chat.js +1 -1
  28. package/dist/{chunk-FLANGLCG.js → chunk-ILLQUHLF.js} +41 -9
  29. package/dist/{chunk-SPASYIUH.cjs → chunk-U63KIQSS.cjs} +41 -7
  30. package/dist/code.cjs +18 -6
  31. package/dist/code.d.cts +35 -3
  32. package/dist/code.d.ts +35 -3
  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 +4 -4
  37. package/dist/communications.d.cts +2 -2
  38. package/dist/communications.d.ts +2 -2
  39. package/dist/communications.js +1 -1
  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 +43 -43
  45. package/dist/content.d.cts +133 -114
  46. package/dist/content.d.ts +133 -114
  47. package/dist/content.js +34 -34
  48. package/dist/crm.cjs +2 -2
  49. package/dist/crm.d.cts +20 -20
  50. package/dist/crm.d.ts +20 -20
  51. package/dist/crm.js +1 -1
  52. package/dist/data.cjs +73 -0
  53. package/dist/data.d.cts +466 -13
  54. package/dist/data.d.ts +466 -13
  55. package/dist/data.js +62 -1
  56. package/dist/education.cjs +4 -4
  57. package/dist/education.d.cts +2 -2
  58. package/dist/education.d.ts +2 -2
  59. package/dist/education.js +1 -1
  60. package/dist/files.cjs +21 -21
  61. package/dist/files.d.cts +14 -5
  62. package/dist/files.d.ts +14 -5
  63. package/dist/files.js +3 -3
  64. package/dist/human-resources.d.cts +2 -2
  65. package/dist/human-resources.d.ts +2 -2
  66. package/dist/{index-Gj30ybjE.d.cts → index-BSrN3TFD.d.cts} +5 -3
  67. package/dist/{index-Gj30ybjE.d.ts → index-BSrN3TFD.d.ts} +5 -3
  68. package/dist/index.cjs +77 -68
  69. package/dist/index.d.cts +2 -2
  70. package/dist/index.d.ts +2 -2
  71. package/dist/index.js +8 -3
  72. package/dist/integrations.cjs +113 -5
  73. package/dist/integrations.d.cts +389 -14
  74. package/dist/integrations.d.ts +389 -14
  75. package/dist/integrations.js +94 -4
  76. package/dist/intelligence.cjs +12 -6
  77. package/dist/intelligence.d.cts +69 -4
  78. package/dist/intelligence.d.ts +69 -4
  79. package/dist/intelligence.js +7 -2
  80. package/dist/knowledge.cjs +43 -43
  81. package/dist/knowledge.d.cts +4 -3
  82. package/dist/knowledge.d.ts +4 -3
  83. package/dist/knowledge.js +2 -2
  84. package/dist/legal.cjs +6 -6
  85. package/dist/legal.d.cts +2 -2
  86. package/dist/legal.d.ts +2 -2
  87. package/dist/legal.js +1 -1
  88. package/dist/marketing.cjs +134 -100
  89. package/dist/marketing.d.cts +151 -30
  90. package/dist/marketing.d.ts +151 -30
  91. package/dist/marketing.js +54 -26
  92. package/dist/masterwork.cjs +32 -32
  93. package/dist/masterwork.d.cts +2 -2
  94. package/dist/masterwork.d.ts +2 -2
  95. package/dist/masterwork.js +1 -1
  96. package/dist/media.cjs +11 -11
  97. package/dist/media.d.cts +11 -11
  98. package/dist/media.d.ts +11 -11
  99. package/dist/media.js +1 -1
  100. package/dist/platform.cjs +3 -3
  101. package/dist/platform.d.cts +2 -2
  102. package/dist/platform.d.ts +2 -2
  103. package/dist/platform.js +1 -1
  104. package/dist/publish.cjs +7 -7
  105. package/dist/publish.d.cts +4 -2
  106. package/dist/publish.d.ts +4 -2
  107. package/dist/publish.js +1 -1
  108. package/dist/schemas.d.cts +16 -3
  109. package/dist/schemas.d.ts +16 -3
  110. package/dist/stream.cjs +10 -10
  111. package/dist/stream.d.cts +1 -1
  112. package/dist/stream.d.ts +1 -1
  113. package/dist/stream.js +1 -1
  114. package/dist/types.d.cts +24167 -524
  115. package/dist/types.d.ts +24167 -524
  116. package/dist/web.cjs +26 -26
  117. package/dist/web.d.cts +29 -14
  118. package/dist/web.d.ts +29 -14
  119. package/dist/web.js +1 -1
  120. package/dist/workflows.cjs +19 -13
  121. package/dist/workflows.d.cts +39 -4
  122. package/dist/workflows.d.ts +39 -4
  123. package/dist/workflows.js +7 -2
  124. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { resilientFetch, isNetError, withRetry, isTransportFailure, AbortedError } from './chunk-PIPE5OML.js';
1
+ import { resilientFetch, isNetError, withRetry, isTransportFailure, AbortedError, TotalTimeoutError } from './chunk-PIPE5OML.js';
2
2
  import { isUuidShape } from '@ai-matrx/kit/uuid';
3
3
  import { credentialToHeaders, toCredentialsPort, MATRX_HEADERS } from '@ai-matrx/auth/credentials';
4
4
 
@@ -818,7 +818,7 @@ async function* readMatrxSseStream(stream, options = {}) {
818
818
  }
819
819
 
820
820
  // src/deployments.generated.ts
821
- var CONTRACT_SHA256 = "7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5";
821
+ var CONTRACT_SHA256 = "2516265e2f8f78e7709d9315a452303f8c16b9ff2cddf7e89ab0ef55a93eaf31";
822
822
  var DEPLOYMENTS = {
823
823
  "files": {
824
824
  "app": "files-standalone",
@@ -905,6 +905,16 @@ var DEPLOYMENTS = {
905
905
  }
906
906
  };
907
907
  var DOMAINS = ["account", "agents", "ai", "apps", "architecture", "audio", "chat", "code", "commerce", "communications", "computer", "content", "crm", "data", "education", "files", "human-resources", "integrations", "intelligence", "knowledge", "legal", "marketing", "masterwork", "media", "platform", "publish", "web", "workflows"];
908
+ var WIRE_FETCH_OPTION_KEYS = [
909
+ "redirect",
910
+ "cache",
911
+ "credentials",
912
+ "mode",
913
+ "keepalive",
914
+ "referrerPolicy",
915
+ "integrity",
916
+ "priority"
917
+ ];
908
918
  var SESSION_READY_TIMEOUT_MS = 3e3;
909
919
  var DEFAULT_CONNECT_TIMEOUT_MS = 15e3;
910
920
  function isBodyInit(body) {
@@ -928,6 +938,17 @@ async function waitForSessionReady(credentials, timeoutMs = SESSION_READY_TIMEOU
928
938
  function headerBag(headers) {
929
939
  return { ...headers ?? {} };
930
940
  }
941
+ function mergeHeaders(...layers) {
942
+ const out = {};
943
+ for (const layer of layers) {
944
+ for (const [name, value] of Object.entries(layer ?? {})) {
945
+ const lower = name.toLowerCase();
946
+ for (const existing of Object.keys(out)) if (existing.toLowerCase() === lower) delete out[existing];
947
+ out[name] = value;
948
+ }
949
+ }
950
+ return out;
951
+ }
931
952
  function hasHeader(headers, name) {
932
953
  const lower = name.toLowerCase();
933
954
  return Object.keys(headers).some((key) => key.toLowerCase() === lower);
@@ -994,7 +1015,7 @@ function sendWithXhr(url, init, signal, totalTimeoutMs, onUploadProgress) {
994
1015
  };
995
1016
  xhr.ontimeout = () => {
996
1017
  cleanup();
997
- reject(new DOMException(`Upload to ${url} exceeded ${totalTimeoutMs}ms`, "TimeoutError"));
1018
+ reject(new TotalTimeoutError(totalTimeoutMs ?? 0));
998
1019
  };
999
1020
  xhr.onabort = () => {
1000
1021
  cleanup();
@@ -1022,14 +1043,15 @@ async function sendOnWire(request, auth = {}) {
1022
1043
  request.url,
1023
1044
  { method, headers: merged, body },
1024
1045
  request.signal,
1025
- request.totalTimeoutMs ?? null,
1046
+ // An upload's deadline is its whole transfer: the total cap, else the call's deadline.
1047
+ request.totalTimeoutMs ?? request.connectTimeoutMs ?? null,
1026
1048
  request.onUploadProgress
1027
1049
  );
1028
1050
  }
1029
1051
  }
1030
1052
  return fetchWithMatrxProtocolFallback(
1031
1053
  request.url,
1032
- { method, headers: merged, ...body !== void 0 ? { body } : {} },
1054
+ { ...request.fetchOptions, method, headers: merged, ...body !== void 0 ? { body } : {} },
1033
1055
  {
1034
1056
  ...request.signal ? { signal: request.signal } : {},
1035
1057
  connectTimeoutMs: request.connectTimeoutMs ?? DEFAULT_CONNECT_TIMEOUT_MS,
@@ -1048,7 +1070,7 @@ async function sendOnWire(request, auth = {}) {
1048
1070
  const over = Object.fromEntries(
1049
1071
  Object.entries(request.overHeaders ?? {}).filter(([name]) => name.toLowerCase() !== "content-type")
1050
1072
  );
1051
- const firstHeaders = { ...headers, ...credentialHeaders, ...over };
1073
+ const firstHeaders = mergeHeaders(headers, credentialHeaders, over);
1052
1074
  const idempotent = method === "GET" || method === "HEAD";
1053
1075
  const attempts = Math.max(1, request.retryAttempts ?? 1);
1054
1076
  const first = idempotent && attempts > 1 && !request.stream ? await withRetry(() => attempt(firstHeaders), {
@@ -1059,8 +1081,11 @@ async function sendOnWire(request, auth = {}) {
1059
1081
  if (first.response.status !== 401 || !auth.refreshCredentials) return first;
1060
1082
  if (!await auth.refreshCredentials()) return first;
1061
1083
  await first.response.body?.cancel().catch(() => void 0);
1062
- const retryHeaders = { ...headers };
1063
- Object.assign(retryHeaders, auth.credentials ? credentialToHeaders(await auth.credentials.get()) : {}, over);
1084
+ const retryHeaders = mergeHeaders(
1085
+ headers,
1086
+ auth.credentials ? credentialToHeaders(await auth.credentials.get()) : {},
1087
+ over
1088
+ );
1064
1089
  return attempt(retryHeaders);
1065
1090
  }
1066
1091
 
@@ -1191,6 +1216,7 @@ function createApi(options = {}) {
1191
1216
  if (response.status === 204 || op.m === "HEAD") return void 0;
1192
1217
  const type = response.headers.get("content-type") ?? "";
1193
1218
  if (type.includes("json")) return await response.json();
1219
+ if (isBinaryType(type)) return new Uint8Array(await response.arrayBuffer());
1194
1220
  const text = await response.text();
1195
1221
  try {
1196
1222
  return JSON.parse(text);
@@ -1200,6 +1226,12 @@ function createApi(options = {}) {
1200
1226
  }
1201
1227
  };
1202
1228
  }
1229
+ function isBinaryType(contentType) {
1230
+ const type = contentType.split(";")[0]?.trim().toLowerCase() ?? "";
1231
+ if (!type) return false;
1232
+ if (type.startsWith("text/") || type.includes("json") || type.includes("xml") || type === "application/x-ndjson" || type === "application/javascript") return false;
1233
+ return type === "application/octet-stream" || type === "application/pdf" || type === "application/zip" || type === "application/gzip" || /^(image|audio|video|font)\//.test(type);
1234
+ }
1203
1235
  function wrapStream(response, requestId, controller, iterate) {
1204
1236
  return {
1205
1237
  response,
@@ -1246,4 +1278,4 @@ async function openJsonOrStream(api, op, args, options) {
1246
1278
  return { kind: "stream", stream: toStream(op, response, requestId, controller) };
1247
1279
  }
1248
1280
 
1249
- export { BackendApiError, CONTRACT_SHA256, DEFAULT_MATRX_NDJSON_READ_AHEAD, DEPLOYMENTS, DOMAINS, MATRX_AI_API_VERSION_DEFAULT, MatrxApiError, OrganizationContextError, StreamTransportError, V2_COVERED_AI_PATH_TEMPLATES, aiVersionPathOverrides, applyAiApiVersion, applyOrganizationContextHeader, assertOrganizationMatchesOperation, assertQueryOrganizationMatchesContext, createApi, createMatrxNdjsonFramer, createMatrxSseFramer, createOrganizationOperation, describeBackendFailure, extractMatrxErrorCode, extractMatrxErrorMessage, fetchWithMatrxProtocolFallback, getUserMessage, isCoveredAiPath, isGenericUserMessage, isStreamTransportLost, isV2Path, normalizeMatrxStreamEnvelope, openJsonOrStream, openStream, parseCallApiError, parseHttpError, parseHttpErrorBody, parseMatrxSseFrame, parsePersistedBackendError, parseStreamError, readMatrxNdjsonStream, readMatrxSseStream, requireOrganizationContext, sendOnWire, toV1FallbackUrl, toV2Path, unwrapUpstreamError };
1281
+ export { BackendApiError, CONTRACT_SHA256, DEFAULT_MATRX_NDJSON_READ_AHEAD, DEPLOYMENTS, DOMAINS, MATRX_AI_API_VERSION_DEFAULT, MatrxApiError, OrganizationContextError, StreamTransportError, V2_COVERED_AI_PATH_TEMPLATES, WIRE_FETCH_OPTION_KEYS, aiVersionPathOverrides, applyAiApiVersion, applyOrganizationContextHeader, assertOrganizationMatchesOperation, assertQueryOrganizationMatchesContext, createApi, createMatrxNdjsonFramer, createMatrxSseFramer, createOrganizationOperation, describeBackendFailure, extractMatrxErrorCode, extractMatrxErrorMessage, fetchWithMatrxProtocolFallback, getUserMessage, isBinaryType, isCoveredAiPath, isGenericUserMessage, isStreamTransportLost, isV2Path, normalizeMatrxStreamEnvelope, openJsonOrStream, openStream, parseCallApiError, parseHttpError, parseHttpErrorBody, parseMatrxSseFrame, parsePersistedBackendError, parseStreamError, readMatrxNdjsonStream, readMatrxSseStream, requireOrganizationContext, sendOnWire, toV1FallbackUrl, toV2Path, unwrapUpstreamError };
@@ -820,7 +820,7 @@ async function* readMatrxSseStream(stream, options = {}) {
820
820
  }
821
821
 
822
822
  // src/deployments.generated.ts
823
- var CONTRACT_SHA256 = "7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5";
823
+ var CONTRACT_SHA256 = "2516265e2f8f78e7709d9315a452303f8c16b9ff2cddf7e89ab0ef55a93eaf31";
824
824
  var DEPLOYMENTS = {
825
825
  "files": {
826
826
  "app": "files-standalone",
@@ -907,6 +907,16 @@ var DEPLOYMENTS = {
907
907
  }
908
908
  };
909
909
  var DOMAINS = ["account", "agents", "ai", "apps", "architecture", "audio", "chat", "code", "commerce", "communications", "computer", "content", "crm", "data", "education", "files", "human-resources", "integrations", "intelligence", "knowledge", "legal", "marketing", "masterwork", "media", "platform", "publish", "web", "workflows"];
910
+ var WIRE_FETCH_OPTION_KEYS = [
911
+ "redirect",
912
+ "cache",
913
+ "credentials",
914
+ "mode",
915
+ "keepalive",
916
+ "referrerPolicy",
917
+ "integrity",
918
+ "priority"
919
+ ];
910
920
  var SESSION_READY_TIMEOUT_MS = 3e3;
911
921
  var DEFAULT_CONNECT_TIMEOUT_MS = 15e3;
912
922
  function isBodyInit(body) {
@@ -930,6 +940,17 @@ async function waitForSessionReady(credentials, timeoutMs = SESSION_READY_TIMEOU
930
940
  function headerBag(headers) {
931
941
  return { ...headers ?? {} };
932
942
  }
943
+ function mergeHeaders(...layers) {
944
+ const out = {};
945
+ for (const layer of layers) {
946
+ for (const [name, value] of Object.entries(layer ?? {})) {
947
+ const lower = name.toLowerCase();
948
+ for (const existing of Object.keys(out)) if (existing.toLowerCase() === lower) delete out[existing];
949
+ out[name] = value;
950
+ }
951
+ }
952
+ return out;
953
+ }
933
954
  function hasHeader(headers, name) {
934
955
  const lower = name.toLowerCase();
935
956
  return Object.keys(headers).some((key) => key.toLowerCase() === lower);
@@ -996,7 +1017,7 @@ function sendWithXhr(url, init, signal, totalTimeoutMs, onUploadProgress) {
996
1017
  };
997
1018
  xhr.ontimeout = () => {
998
1019
  cleanup();
999
- reject(new DOMException(`Upload to ${url} exceeded ${totalTimeoutMs}ms`, "TimeoutError"));
1020
+ reject(new chunkPKYPPATQ_cjs.TotalTimeoutError(totalTimeoutMs ?? 0));
1000
1021
  };
1001
1022
  xhr.onabort = () => {
1002
1023
  cleanup();
@@ -1024,14 +1045,15 @@ async function sendOnWire(request, auth = {}) {
1024
1045
  request.url,
1025
1046
  { method, headers: merged, body },
1026
1047
  request.signal,
1027
- request.totalTimeoutMs ?? null,
1048
+ // An upload's deadline is its whole transfer: the total cap, else the call's deadline.
1049
+ request.totalTimeoutMs ?? request.connectTimeoutMs ?? null,
1028
1050
  request.onUploadProgress
1029
1051
  );
1030
1052
  }
1031
1053
  }
1032
1054
  return fetchWithMatrxProtocolFallback(
1033
1055
  request.url,
1034
- { method, headers: merged, ...body !== void 0 ? { body } : {} },
1056
+ { ...request.fetchOptions, method, headers: merged, ...body !== void 0 ? { body } : {} },
1035
1057
  {
1036
1058
  ...request.signal ? { signal: request.signal } : {},
1037
1059
  connectTimeoutMs: request.connectTimeoutMs ?? DEFAULT_CONNECT_TIMEOUT_MS,
@@ -1050,7 +1072,7 @@ async function sendOnWire(request, auth = {}) {
1050
1072
  const over = Object.fromEntries(
1051
1073
  Object.entries(request.overHeaders ?? {}).filter(([name]) => name.toLowerCase() !== "content-type")
1052
1074
  );
1053
- const firstHeaders = { ...headers, ...credentialHeaders, ...over };
1075
+ const firstHeaders = mergeHeaders(headers, credentialHeaders, over);
1054
1076
  const idempotent = method === "GET" || method === "HEAD";
1055
1077
  const attempts = Math.max(1, request.retryAttempts ?? 1);
1056
1078
  const first = idempotent && attempts > 1 && !request.stream ? await chunkPKYPPATQ_cjs.withRetry(() => attempt(firstHeaders), {
@@ -1061,8 +1083,11 @@ async function sendOnWire(request, auth = {}) {
1061
1083
  if (first.response.status !== 401 || !auth.refreshCredentials) return first;
1062
1084
  if (!await auth.refreshCredentials()) return first;
1063
1085
  await first.response.body?.cancel().catch(() => void 0);
1064
- const retryHeaders = { ...headers };
1065
- Object.assign(retryHeaders, auth.credentials ? credentials.credentialToHeaders(await auth.credentials.get()) : {}, over);
1086
+ const retryHeaders = mergeHeaders(
1087
+ headers,
1088
+ auth.credentials ? credentials.credentialToHeaders(await auth.credentials.get()) : {},
1089
+ over
1090
+ );
1066
1091
  return attempt(retryHeaders);
1067
1092
  }
1068
1093
 
@@ -1193,6 +1218,7 @@ function createApi(options = {}) {
1193
1218
  if (response.status === 204 || op.m === "HEAD") return void 0;
1194
1219
  const type = response.headers.get("content-type") ?? "";
1195
1220
  if (type.includes("json")) return await response.json();
1221
+ if (isBinaryType(type)) return new Uint8Array(await response.arrayBuffer());
1196
1222
  const text = await response.text();
1197
1223
  try {
1198
1224
  return JSON.parse(text);
@@ -1202,6 +1228,12 @@ function createApi(options = {}) {
1202
1228
  }
1203
1229
  };
1204
1230
  }
1231
+ function isBinaryType(contentType) {
1232
+ const type = contentType.split(";")[0]?.trim().toLowerCase() ?? "";
1233
+ if (!type) return false;
1234
+ if (type.startsWith("text/") || type.includes("json") || type.includes("xml") || type === "application/x-ndjson" || type === "application/javascript") return false;
1235
+ return type === "application/octet-stream" || type === "application/pdf" || type === "application/zip" || type === "application/gzip" || /^(image|audio|video|font)\//.test(type);
1236
+ }
1205
1237
  function wrapStream(response, requestId, controller, iterate) {
1206
1238
  return {
1207
1239
  response,
@@ -1258,6 +1290,7 @@ exports.MatrxApiError = MatrxApiError;
1258
1290
  exports.OrganizationContextError = OrganizationContextError;
1259
1291
  exports.StreamTransportError = StreamTransportError;
1260
1292
  exports.V2_COVERED_AI_PATH_TEMPLATES = V2_COVERED_AI_PATH_TEMPLATES;
1293
+ exports.WIRE_FETCH_OPTION_KEYS = WIRE_FETCH_OPTION_KEYS;
1261
1294
  exports.aiVersionPathOverrides = aiVersionPathOverrides;
1262
1295
  exports.applyAiApiVersion = applyAiApiVersion;
1263
1296
  exports.applyOrganizationContextHeader = applyOrganizationContextHeader;
@@ -1272,6 +1305,7 @@ exports.extractMatrxErrorCode = extractMatrxErrorCode;
1272
1305
  exports.extractMatrxErrorMessage = extractMatrxErrorMessage;
1273
1306
  exports.fetchWithMatrxProtocolFallback = fetchWithMatrxProtocolFallback;
1274
1307
  exports.getUserMessage = getUserMessage;
1308
+ exports.isBinaryType = isBinaryType;
1275
1309
  exports.isCoveredAiPath = isCoveredAiPath;
1276
1310
  exports.isGenericUserMessage = isGenericUserMessage;
1277
1311
  exports.isStreamTransportLost = isStreamTransportLost;
package/dist/code.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkSPASYIUH_cjs = require('./chunk-SPASYIUH.cjs');
3
+ var chunkU63KIQSS_cjs = require('./chunk-U63KIQSS.cjs');
4
4
  require('./chunk-PKYPPATQ.cjs');
5
5
 
6
6
  // src/generated/code.ts
@@ -46,7 +46,7 @@ function claudeManagedCapabilities(api, args, options) {
46
46
  }
47
47
  var $claudeManagedStream = { m: "POST", p: "/coding-sessions/claude/stream", d: "aidream", a: "user", o: "required", s: "ndjson", n: "code.claude_managed_stream" };
48
48
  function claudeManagedStream(api, args, options) {
49
- return chunkSPASYIUH_cjs.openStream(api, $claudeManagedStream, args, options);
49
+ return chunkU63KIQSS_cjs.openStream(api, $claudeManagedStream, args, options);
50
50
  }
51
51
  var $cancelClaudeManagedRuntime = { m: "POST", p: "/coding-sessions/claude/runtimes/{runtime_id}/cancel", d: "aidream", a: "user", o: "required", n: "code.cancel_claude_managed_runtime" };
52
52
  function cancelClaudeManagedRuntime(api, args, options) {
@@ -58,7 +58,7 @@ function codexManagedCapabilities(api, args, options) {
58
58
  }
59
59
  var $codexManagedStream = { m: "POST", p: "/coding-sessions/codex/stream", d: "aidream", a: "user", o: "required", s: "ndjson", n: "code.codex_managed_stream" };
60
60
  function codexManagedStream(api, args, options) {
61
- return chunkSPASYIUH_cjs.openStream(api, $codexManagedStream, args, options);
61
+ return chunkU63KIQSS_cjs.openStream(api, $codexManagedStream, args, options);
62
62
  }
63
63
  var $cancelCodexManagedRuntime = { m: "POST", p: "/coding-sessions/codex/runtimes/{runtime_id}/cancel", d: "aidream", a: "user", o: "required", n: "code.cancel_codex_managed_runtime" };
64
64
  function cancelCodexManagedRuntime(api, args, options) {
@@ -84,6 +84,10 @@ var $ownPlanCloudSend = { m: "POST", p: "/coding-sessions/own-plan/claude_code/c
84
84
  function ownPlanCloudSend(api, args, options) {
85
85
  return api.call($ownPlanCloudSend, args, options);
86
86
  }
87
+ var $ownPlanCloudSendStatus = { m: "GET", p: "/coding-sessions/own-plan/claude_code/cloud-send/{job_id}", d: "aidream", a: "user", o: "required", n: "code.own_plan_cloud_send_status" };
88
+ function ownPlanCloudSendStatus(api, args, options) {
89
+ return api.call($ownPlanCloudSendStatus, args, options);
90
+ }
87
91
  var $ownPlanCancel = { m: "POST", p: "/coding-sessions/own-plan/{provider}/cancel", d: "aidream", a: "user", o: "required", n: "code.own_plan_cancel" };
88
92
  function ownPlanCancel(api, args, options) {
89
93
  return api.call($ownPlanCancel, args, options);
@@ -134,7 +138,7 @@ function claudeManagedCapabilitiesOnHostedBox(api, args, options) {
134
138
  }
135
139
  var $claudeManagedStreamOnHostedBox = { m: "POST", p: "/coding-sessions/claude/stream", d: "hosted-box", a: "user", o: "required", s: "ndjson", n: "code.claude_managed_stream" };
136
140
  function claudeManagedStreamOnHostedBox(api, args, options) {
137
- return chunkSPASYIUH_cjs.openStream(api, $claudeManagedStreamOnHostedBox, args, options);
141
+ return chunkU63KIQSS_cjs.openStream(api, $claudeManagedStreamOnHostedBox, args, options);
138
142
  }
139
143
  var $cancelClaudeManagedRuntimeOnHostedBox = { m: "POST", p: "/coding-sessions/claude/runtimes/{runtime_id}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.cancel_claude_managed_runtime" };
140
144
  function cancelClaudeManagedRuntimeOnHostedBox(api, args, options) {
@@ -146,7 +150,7 @@ function codexManagedCapabilitiesOnHostedBox(api, args, options) {
146
150
  }
147
151
  var $codexManagedStreamOnHostedBox = { m: "POST", p: "/coding-sessions/codex/stream", d: "hosted-box", a: "user", o: "required", s: "ndjson", n: "code.codex_managed_stream" };
148
152
  function codexManagedStreamOnHostedBox(api, args, options) {
149
- return chunkSPASYIUH_cjs.openStream(api, $codexManagedStreamOnHostedBox, args, options);
153
+ return chunkU63KIQSS_cjs.openStream(api, $codexManagedStreamOnHostedBox, args, options);
150
154
  }
151
155
  var $cancelCodexManagedRuntimeOnHostedBox = { m: "POST", p: "/coding-sessions/codex/runtimes/{runtime_id}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.cancel_codex_managed_runtime" };
152
156
  function cancelCodexManagedRuntimeOnHostedBox(api, args, options) {
@@ -172,6 +176,10 @@ var $ownPlanCloudSendOnHostedBox = { m: "POST", p: "/coding-sessions/own-plan/cl
172
176
  function ownPlanCloudSendOnHostedBox(api, args, options) {
173
177
  return api.call($ownPlanCloudSendOnHostedBox, args, options);
174
178
  }
179
+ var $ownPlanCloudSendStatusOnHostedBox = { m: "GET", p: "/coding-sessions/own-plan/claude_code/cloud-send/{job_id}", d: "hosted-box", a: "user", o: "required", n: "code.own_plan_cloud_send_status" };
180
+ function ownPlanCloudSendStatusOnHostedBox(api, args, options) {
181
+ return api.call($ownPlanCloudSendStatusOnHostedBox, args, options);
182
+ }
175
183
  var $ownPlanCancelOnHostedBox = { m: "POST", p: "/coding-sessions/own-plan/{provider}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.own_plan_cancel" };
176
184
  function ownPlanCancelOnHostedBox(api, args, options) {
177
185
  return api.call($ownPlanCancelOnHostedBox, args, options);
@@ -370,7 +378,7 @@ function runtimeResumable(api, args, options) {
370
378
  }
371
379
  var $runtimeEvents = { m: "GET", p: "/coding-session/runtime/{runtime_id}/events", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "code.runtime_events" };
372
380
  function runtimeEvents(api, args, options) {
373
- return chunkSPASYIUH_cjs.openStream(api, $runtimeEvents, args, options);
381
+ return chunkU63KIQSS_cjs.openStream(api, $runtimeEvents, args, options);
374
382
  }
375
383
  var $getCodexUsageAllowance = { m: "GET", p: "/codex-usage/allowance", d: "matrx-local", a: "loopback_token", o: "exempt", n: "code.get_codex_usage_allowance" };
376
384
  function getCodexUsageAllowance(api, args, options) {
@@ -399,6 +407,7 @@ var TABLE = {
399
407
  "POST /coding-sessions/own-plan/{provider}/sign-in": $ownPlanSignInStart,
400
408
  "POST /coding-sessions/own-plan/{provider}/code": $ownPlanSubmitCode,
401
409
  "POST /coding-sessions/own-plan/claude_code/cloud-send": $ownPlanCloudSend,
410
+ "GET /coding-sessions/own-plan/claude_code/cloud-send/{job_id}": $ownPlanCloudSendStatus,
402
411
  "POST /coding-sessions/own-plan/{provider}/cancel": $ownPlanCancel,
403
412
  "POST /coding-sessions/own-plan/{provider}/sign-out": $ownPlanSignOut,
404
413
  "POST /coding-sessions/bridge @hosted-box": $codingSessionBridgeOnHostedBox,
@@ -419,6 +428,7 @@ var TABLE = {
419
428
  "POST /coding-sessions/own-plan/{provider}/sign-in @hosted-box": $ownPlanSignInStartOnHostedBox,
420
429
  "POST /coding-sessions/own-plan/{provider}/code @hosted-box": $ownPlanSubmitCodeOnHostedBox,
421
430
  "POST /coding-sessions/own-plan/claude_code/cloud-send @hosted-box": $ownPlanCloudSendOnHostedBox,
431
+ "GET /coding-sessions/own-plan/claude_code/cloud-send/{job_id} @hosted-box": $ownPlanCloudSendStatusOnHostedBox,
422
432
  "POST /coding-sessions/own-plan/{provider}/cancel @hosted-box": $ownPlanCancelOnHostedBox,
423
433
  "POST /coding-sessions/own-plan/{provider}/sign-out @hosted-box": $ownPlanSignOutOnHostedBox,
424
434
  "GET /coding-session/status": $codingSessionDeliveryStatus,
@@ -529,6 +539,8 @@ exports.ownPlanCancel = ownPlanCancel;
529
539
  exports.ownPlanCancelOnHostedBox = ownPlanCancelOnHostedBox;
530
540
  exports.ownPlanCloudSend = ownPlanCloudSend;
531
541
  exports.ownPlanCloudSendOnHostedBox = ownPlanCloudSendOnHostedBox;
542
+ exports.ownPlanCloudSendStatus = ownPlanCloudSendStatus;
543
+ exports.ownPlanCloudSendStatusOnHostedBox = ownPlanCloudSendStatusOnHostedBox;
532
544
  exports.ownPlanSignInStart = ownPlanSignInStart;
533
545
  exports.ownPlanSignInStartOnHostedBox = ownPlanSignInStartOnHostedBox;
534
546
  exports.ownPlanSignOut = ownPlanSignOut;
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-Gj30ybjE.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-BSrN3TFD.cjs';
2
2
  import { JsonValue } from './schemas.cjs';
3
3
  import '@ai-matrx/auth/credentials';
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 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
7
+ * CONTRACT_SHA256 2516265e2f8f78e7709d9315a452303f8c16b9ff2cddf7e89ab0ef55a93eaf31
8
8
  */
9
9
 
10
10
  /** Opaque, display-safe provider-account provenance. Never authorization. */
@@ -423,6 +423,8 @@ type CloudSendResult = {
423
423
  ok: boolean;
424
424
  detail: string;
425
425
  not_this_account?: boolean;
426
+ pending?: boolean;
427
+ job_id?: string | null;
426
428
  };
427
429
  /** CodexManagedAction */
428
430
  type CodexManagedAction = "start" | "resume";
@@ -681,6 +683,10 @@ type OwnPlanStatus = {
681
683
  account?: string | null;
682
684
  account_label?: string | null;
683
685
  account_key?: string | null;
686
+ answer_to_code?: string | null;
687
+ answer_to_code_at?: string | null;
688
+ box_protocol?: number | null;
689
+ box_updating?: boolean | null;
684
690
  };
685
691
  /** ProjectionStatus */
686
692
  type ProjectionStatus = "pending" | "projected" | "skipped" | "error";
@@ -932,6 +938,15 @@ type OwnPlanCloudSendResult = CloudSendResult;
932
938
  /** Own Plan Cloud Send */
933
939
  /** `POST /coding-sessions/own-plan/claude_code/cloud-send` · aidream · auth user · org required */
934
940
  declare function ownPlanCloudSend(api: Api, args: OwnPlanCloudSendArgs, options?: CallOptions): Promise<OwnPlanCloudSendResult>;
941
+ type OwnPlanCloudSendStatusArgs = {
942
+ path: {
943
+ job_id: string;
944
+ };
945
+ };
946
+ type OwnPlanCloudSendStatusResult = CloudSendResult;
947
+ /** Own Plan Cloud Send Status */
948
+ /** `GET /coding-sessions/own-plan/claude_code/cloud-send/{job_id}` · aidream · auth user · org required */
949
+ declare function ownPlanCloudSendStatus(api: Api, args: OwnPlanCloudSendStatusArgs, options?: CallOptions): Promise<OwnPlanCloudSendStatusResult>;
935
950
  type OwnPlanCancelArgs = {
936
951
  path: {
937
952
  provider: OwnPlanProvider;
@@ -1132,6 +1147,15 @@ type OwnPlanCloudSendOnHostedBoxResult = CloudSendResult;
1132
1147
  /** Own Plan Cloud Send */
1133
1148
  /** `POST /coding-sessions/own-plan/claude_code/cloud-send` · hosted-box · auth user · org required */
1134
1149
  declare function ownPlanCloudSendOnHostedBox(api: Api, args: OwnPlanCloudSendOnHostedBoxArgs, options?: CallOptions): Promise<OwnPlanCloudSendOnHostedBoxResult>;
1150
+ type OwnPlanCloudSendStatusOnHostedBoxArgs = {
1151
+ path: {
1152
+ job_id: string;
1153
+ };
1154
+ };
1155
+ type OwnPlanCloudSendStatusOnHostedBoxResult = CloudSendResult;
1156
+ /** Own Plan Cloud Send Status */
1157
+ /** `GET /coding-sessions/own-plan/claude_code/cloud-send/{job_id}` · hosted-box · auth user · org required */
1158
+ declare function ownPlanCloudSendStatusOnHostedBox(api: Api, args: OwnPlanCloudSendStatusOnHostedBoxArgs, options?: CallOptions): Promise<OwnPlanCloudSendStatusOnHostedBoxResult>;
1135
1159
  type OwnPlanCancelOnHostedBoxArgs = {
1136
1160
  path: {
1137
1161
  provider: OwnPlanProvider;
@@ -1768,6 +1792,10 @@ interface Operations {
1768
1792
  args: OwnPlanCloudSendArgs;
1769
1793
  result: OwnPlanCloudSendResult;
1770
1794
  };
1795
+ "GET /coding-sessions/own-plan/claude_code/cloud-send/{job_id}": {
1796
+ args: OwnPlanCloudSendStatusArgs;
1797
+ result: OwnPlanCloudSendStatusResult;
1798
+ };
1771
1799
  "POST /coding-sessions/own-plan/{provider}/cancel": {
1772
1800
  args: OwnPlanCancelArgs;
1773
1801
  result: OwnPlanCancelResult;
@@ -1848,6 +1876,10 @@ interface Operations {
1848
1876
  args: OwnPlanCloudSendOnHostedBoxArgs;
1849
1877
  result: OwnPlanCloudSendOnHostedBoxResult;
1850
1878
  };
1879
+ "GET /coding-sessions/own-plan/claude_code/cloud-send/{job_id} @hosted-box": {
1880
+ args: OwnPlanCloudSendStatusOnHostedBoxArgs;
1881
+ result: OwnPlanCloudSendStatusOnHostedBoxResult;
1882
+ };
1851
1883
  "POST /coding-sessions/own-plan/{provider}/cancel @hosted-box": {
1852
1884
  args: OwnPlanCancelOnHostedBoxArgs;
1853
1885
  result: OwnPlanCancelOnHostedBoxResult;
@@ -2056,4 +2088,4 @@ interface Operations {
2056
2088
  /** Path-keyed call, scoped to this domain only (never a global path map). */
2057
2089
  declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
2058
2090
 
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 };
2091
+ 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 OwnPlanCloudSendStatusArgs, type OwnPlanCloudSendStatusOnHostedBoxArgs, type OwnPlanCloudSendStatusOnHostedBoxResult, type OwnPlanCloudSendStatusResult, 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, ownPlanCloudSendStatus, ownPlanCloudSendStatusOnHostedBox, 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-Gj30ybjE.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-BSrN3TFD.js';
2
2
  import { JsonValue } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
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 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
7
+ * CONTRACT_SHA256 2516265e2f8f78e7709d9315a452303f8c16b9ff2cddf7e89ab0ef55a93eaf31
8
8
  */
9
9
 
10
10
  /** Opaque, display-safe provider-account provenance. Never authorization. */
@@ -423,6 +423,8 @@ type CloudSendResult = {
423
423
  ok: boolean;
424
424
  detail: string;
425
425
  not_this_account?: boolean;
426
+ pending?: boolean;
427
+ job_id?: string | null;
426
428
  };
427
429
  /** CodexManagedAction */
428
430
  type CodexManagedAction = "start" | "resume";
@@ -681,6 +683,10 @@ type OwnPlanStatus = {
681
683
  account?: string | null;
682
684
  account_label?: string | null;
683
685
  account_key?: string | null;
686
+ answer_to_code?: string | null;
687
+ answer_to_code_at?: string | null;
688
+ box_protocol?: number | null;
689
+ box_updating?: boolean | null;
684
690
  };
685
691
  /** ProjectionStatus */
686
692
  type ProjectionStatus = "pending" | "projected" | "skipped" | "error";
@@ -932,6 +938,15 @@ type OwnPlanCloudSendResult = CloudSendResult;
932
938
  /** Own Plan Cloud Send */
933
939
  /** `POST /coding-sessions/own-plan/claude_code/cloud-send` · aidream · auth user · org required */
934
940
  declare function ownPlanCloudSend(api: Api, args: OwnPlanCloudSendArgs, options?: CallOptions): Promise<OwnPlanCloudSendResult>;
941
+ type OwnPlanCloudSendStatusArgs = {
942
+ path: {
943
+ job_id: string;
944
+ };
945
+ };
946
+ type OwnPlanCloudSendStatusResult = CloudSendResult;
947
+ /** Own Plan Cloud Send Status */
948
+ /** `GET /coding-sessions/own-plan/claude_code/cloud-send/{job_id}` · aidream · auth user · org required */
949
+ declare function ownPlanCloudSendStatus(api: Api, args: OwnPlanCloudSendStatusArgs, options?: CallOptions): Promise<OwnPlanCloudSendStatusResult>;
935
950
  type OwnPlanCancelArgs = {
936
951
  path: {
937
952
  provider: OwnPlanProvider;
@@ -1132,6 +1147,15 @@ type OwnPlanCloudSendOnHostedBoxResult = CloudSendResult;
1132
1147
  /** Own Plan Cloud Send */
1133
1148
  /** `POST /coding-sessions/own-plan/claude_code/cloud-send` · hosted-box · auth user · org required */
1134
1149
  declare function ownPlanCloudSendOnHostedBox(api: Api, args: OwnPlanCloudSendOnHostedBoxArgs, options?: CallOptions): Promise<OwnPlanCloudSendOnHostedBoxResult>;
1150
+ type OwnPlanCloudSendStatusOnHostedBoxArgs = {
1151
+ path: {
1152
+ job_id: string;
1153
+ };
1154
+ };
1155
+ type OwnPlanCloudSendStatusOnHostedBoxResult = CloudSendResult;
1156
+ /** Own Plan Cloud Send Status */
1157
+ /** `GET /coding-sessions/own-plan/claude_code/cloud-send/{job_id}` · hosted-box · auth user · org required */
1158
+ declare function ownPlanCloudSendStatusOnHostedBox(api: Api, args: OwnPlanCloudSendStatusOnHostedBoxArgs, options?: CallOptions): Promise<OwnPlanCloudSendStatusOnHostedBoxResult>;
1135
1159
  type OwnPlanCancelOnHostedBoxArgs = {
1136
1160
  path: {
1137
1161
  provider: OwnPlanProvider;
@@ -1768,6 +1792,10 @@ interface Operations {
1768
1792
  args: OwnPlanCloudSendArgs;
1769
1793
  result: OwnPlanCloudSendResult;
1770
1794
  };
1795
+ "GET /coding-sessions/own-plan/claude_code/cloud-send/{job_id}": {
1796
+ args: OwnPlanCloudSendStatusArgs;
1797
+ result: OwnPlanCloudSendStatusResult;
1798
+ };
1771
1799
  "POST /coding-sessions/own-plan/{provider}/cancel": {
1772
1800
  args: OwnPlanCancelArgs;
1773
1801
  result: OwnPlanCancelResult;
@@ -1848,6 +1876,10 @@ interface Operations {
1848
1876
  args: OwnPlanCloudSendOnHostedBoxArgs;
1849
1877
  result: OwnPlanCloudSendOnHostedBoxResult;
1850
1878
  };
1879
+ "GET /coding-sessions/own-plan/claude_code/cloud-send/{job_id} @hosted-box": {
1880
+ args: OwnPlanCloudSendStatusOnHostedBoxArgs;
1881
+ result: OwnPlanCloudSendStatusOnHostedBoxResult;
1882
+ };
1851
1883
  "POST /coding-sessions/own-plan/{provider}/cancel @hosted-box": {
1852
1884
  args: OwnPlanCancelOnHostedBoxArgs;
1853
1885
  result: OwnPlanCancelOnHostedBoxResult;
@@ -2056,4 +2088,4 @@ interface Operations {
2056
2088
  /** Path-keyed call, scoped to this domain only (never a global path map). */
2057
2089
  declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
2058
2090
 
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 };
2091
+ 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 OwnPlanCloudSendStatusArgs, type OwnPlanCloudSendStatusOnHostedBoxArgs, type OwnPlanCloudSendStatusOnHostedBoxResult, type OwnPlanCloudSendStatusResult, 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, ownPlanCloudSendStatus, ownPlanCloudSendStatusOnHostedBox, 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 };