@ai-matrx/api 0.1.8 → 0.1.9

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 +1 -1
  3. package/dist/account.d.ts +1 -1
  4. package/dist/agents.cjs +11 -11
  5. package/dist/agents.d.cts +1 -1
  6. package/dist/agents.d.ts +1 -1
  7. package/dist/agents.js +1 -1
  8. package/dist/ai.cjs +2 -2
  9. package/dist/ai.d.cts +1 -1
  10. package/dist/ai.d.ts +1 -1
  11. package/dist/ai.js +1 -1
  12. package/dist/apps.cjs +5 -5
  13. package/dist/apps.d.cts +1 -1
  14. package/dist/apps.d.ts +1 -1
  15. package/dist/apps.js +1 -1
  16. package/dist/architecture.cjs +10 -10
  17. package/dist/architecture.d.cts +1 -1
  18. package/dist/architecture.d.ts +1 -1
  19. package/dist/architecture.js +1 -1
  20. package/dist/audio.cjs +4 -4
  21. package/dist/audio.d.cts +1 -1
  22. package/dist/audio.d.ts +1 -1
  23. package/dist/audio.js +1 -1
  24. package/dist/chat.cjs +11 -11
  25. package/dist/chat.d.cts +1 -1
  26. package/dist/chat.d.ts +1 -1
  27. package/dist/chat.js +1 -1
  28. package/dist/{chunk-5BBHAAIG.js → chunk-PIVTHTVR.js} +13 -4
  29. package/dist/{chunk-NMBDYPFZ.cjs → chunk-PMGKZ4FT.cjs} +13 -4
  30. package/dist/code.cjs +6 -6
  31. package/dist/code.d.cts +1 -1
  32. package/dist/code.d.ts +1 -1
  33. package/dist/code.js +1 -1
  34. package/dist/commerce.d.cts +1 -1
  35. package/dist/commerce.d.ts +1 -1
  36. package/dist/communications.cjs +4 -4
  37. package/dist/communications.d.cts +1 -1
  38. package/dist/communications.d.ts +1 -1
  39. package/dist/communications.js +1 -1
  40. package/dist/computer.cjs +3 -3
  41. package/dist/computer.d.cts +1 -1
  42. package/dist/computer.d.ts +1 -1
  43. package/dist/computer.js +1 -1
  44. package/dist/content.cjs +4 -4
  45. package/dist/content.d.cts +1 -1
  46. package/dist/content.d.ts +1 -1
  47. package/dist/content.js +1 -1
  48. package/dist/crm.cjs +2 -2
  49. package/dist/crm.d.cts +1 -1
  50. package/dist/crm.d.ts +1 -1
  51. package/dist/crm.js +1 -1
  52. package/dist/data.d.cts +1 -1
  53. package/dist/data.d.ts +1 -1
  54. package/dist/education.cjs +4 -4
  55. package/dist/education.d.cts +1 -1
  56. package/dist/education.d.ts +1 -1
  57. package/dist/education.js +1 -1
  58. package/dist/files.cjs +20 -20
  59. package/dist/files.d.cts +1 -1
  60. package/dist/files.d.ts +1 -1
  61. package/dist/files.js +1 -1
  62. package/dist/human-resources.d.cts +1 -1
  63. package/dist/human-resources.d.ts +1 -1
  64. package/dist/{index-D_ZjxGwP.d.cts → index-C3ZlP3BI.d.cts} +8 -1
  65. package/dist/{index-D_ZjxGwP.d.ts → index-C3ZlP3BI.d.ts} +8 -1
  66. package/dist/index.cjs +53 -53
  67. package/dist/index.d.cts +12 -12
  68. package/dist/index.d.ts +12 -12
  69. package/dist/index.js +2 -2
  70. package/dist/integrations.cjs +3 -3
  71. package/dist/integrations.d.cts +1 -1
  72. package/dist/integrations.d.ts +1 -1
  73. package/dist/integrations.js +1 -1
  74. package/dist/intelligence.cjs +6 -6
  75. package/dist/intelligence.d.cts +1 -1
  76. package/dist/intelligence.d.ts +1 -1
  77. package/dist/intelligence.js +1 -1
  78. package/dist/knowledge.cjs +42 -42
  79. package/dist/knowledge.d.cts +1 -1
  80. package/dist/knowledge.d.ts +1 -1
  81. package/dist/knowledge.js +1 -1
  82. package/dist/legal.cjs +6 -6
  83. package/dist/legal.d.cts +1 -1
  84. package/dist/legal.d.ts +1 -1
  85. package/dist/legal.js +1 -1
  86. package/dist/marketing.cjs +76 -76
  87. package/dist/marketing.d.cts +1 -1
  88. package/dist/marketing.d.ts +1 -1
  89. package/dist/marketing.js +1 -1
  90. package/dist/masterwork.cjs +32 -32
  91. package/dist/masterwork.d.cts +1 -1
  92. package/dist/masterwork.d.ts +1 -1
  93. package/dist/masterwork.js +1 -1
  94. package/dist/media.cjs +11 -11
  95. package/dist/media.d.cts +1 -1
  96. package/dist/media.d.ts +1 -1
  97. package/dist/media.js +1 -1
  98. package/dist/net.d.cts +1 -1
  99. package/dist/net.d.ts +1 -1
  100. package/dist/platform.cjs +3 -3
  101. package/dist/platform.d.cts +1 -1
  102. package/dist/platform.d.ts +1 -1
  103. package/dist/platform.js +1 -1
  104. package/dist/publish.cjs +7 -7
  105. package/dist/publish.d.cts +1 -1
  106. package/dist/publish.d.ts +1 -1
  107. package/dist/publish.js +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 +1 -1
  114. package/dist/web.d.ts +1 -1
  115. package/dist/web.js +1 -1
  116. package/dist/workflows.cjs +13 -13
  117. package/dist/workflows.d.cts +1 -1
  118. package/dist/workflows.d.ts +1 -1
  119. package/dist/workflows.js +1 -1
  120. package/package.json +4 -4
package/dist/index.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var chunkFNIYADWI_cjs = require('./chunk-FNIYADWI.cjs');
4
4
  var chunkMVXD6WI6_cjs = require('./chunk-MVXD6WI6.cjs');
5
- var chunkNMBDYPFZ_cjs = require('./chunk-NMBDYPFZ.cjs');
5
+ var chunkPMGKZ4FT_cjs = require('./chunk-PMGKZ4FT.cjs');
6
6
  var chunk2SXAAKGV_cjs = require('./chunk-2SXAAKGV.cjs');
7
7
  var credentials = require('@ai-matrx/auth/credentials');
8
8
  var format = require('@ai-matrx/kit/format');
@@ -128,7 +128,7 @@ function buildMatrxRequestBody(body, scope) {
128
128
  }
129
129
  const bodyOrganizationId = base.organization_id;
130
130
  if (scope.organization_id !== void 0 && bodyOrganizationId !== void 0 && (typeof bodyOrganizationId !== "string" || bodyOrganizationId.trim() !== scope.organization_id)) {
131
- throw new chunkNMBDYPFZ_cjs.OrganizationContextError(
131
+ throw new chunkPMGKZ4FT_cjs.OrganizationContextError(
132
132
  "organization_context_mismatch",
133
133
  "Request body organization_id must match the request context organization."
134
134
  );
@@ -200,14 +200,14 @@ function parseMatrxNdjsonResponse(response, signal, hooks = {}) {
200
200
  };
201
201
  async function* events() {
202
202
  if (!response.body) {
203
- throw new chunkNMBDYPFZ_cjs.BackendApiError({
203
+ throw new chunkPMGKZ4FT_cjs.BackendApiError({
204
204
  code: "internal_error",
205
205
  detail: "Response has no body",
206
206
  userMessage: "No response received from server"
207
207
  });
208
208
  }
209
209
  try {
210
- for await (const envelope of chunkNMBDYPFZ_cjs.readMatrxNdjsonStream(response.body, {
210
+ for await (const envelope of chunkPMGKZ4FT_cjs.readMatrxNdjsonStream(response.body, {
211
211
  ...signal ? { signal } : {},
212
212
  ...hooks.onMalformedLine ? { onMalformedLine: hooks.onMalformedLine } : {},
213
213
  ...hooks.onUnknownEnvelope ? { onUnknownEnvelope: hooks.onUnknownEnvelope } : {}
@@ -219,7 +219,7 @@ function parseMatrxNdjsonResponse(response, signal, hooks = {}) {
219
219
  if (signal?.aborted || error instanceof Error && error.name === "AbortError") {
220
220
  return;
221
221
  }
222
- const transportError = error instanceof chunkNMBDYPFZ_cjs.BackendApiError ? error : new chunkNMBDYPFZ_cjs.StreamTransportError({
222
+ const transportError = error instanceof chunkPMGKZ4FT_cjs.BackendApiError ? error : new chunkPMGKZ4FT_cjs.StreamTransportError({
223
223
  detail: error instanceof Error ? error.message : "The response stream ended unexpectedly.",
224
224
  details: error,
225
225
  ...ids.requestId ? { requestId: ids.requestId } : {}
@@ -236,7 +236,7 @@ async function httpErrorFrom(response) {
236
236
  const serverDetail = await response.json().catch(() => void 0);
237
237
  return {
238
238
  type: response.status >= 400 && response.status < 500 ? "validation_error" : "http_error",
239
- message: chunkNMBDYPFZ_cjs.extractMatrxErrorMessage(serverDetail) ?? bareStatusSentence(response.status),
239
+ message: chunkPMGKZ4FT_cjs.extractMatrxErrorMessage(serverDetail) ?? bareStatusSentence(response.status),
240
240
  status: response.status,
241
241
  serverDetail
242
242
  };
@@ -312,7 +312,7 @@ async function sendMatrxRequest(url, init = {}, options = {}) {
312
312
  return await fetch(url, { ...init, signal: controller.signal });
313
313
  } catch (error) {
314
314
  if (timedOut) {
315
- throw new chunkNMBDYPFZ_cjs.BackendApiError({
315
+ throw new chunkPMGKZ4FT_cjs.BackendApiError({
316
316
  code: "request_timeout",
317
317
  detail: `${init.method ?? "GET"} ${url} exceeded ${options.timeoutMs}ms`,
318
318
  userMessage: "The request timed out \u2014 please retry.",
@@ -326,7 +326,7 @@ async function sendMatrxRequest(url, init = {}, options = {}) {
326
326
  }
327
327
  }
328
328
  async function readMatrxJsonResponse(response) {
329
- if (!response.ok) throw await chunkNMBDYPFZ_cjs.parseHttpError(response);
329
+ if (!response.ok) throw await chunkPMGKZ4FT_cjs.parseHttpError(response);
330
330
  if (response.status === 204) return null;
331
331
  return await response.json();
332
332
  }
@@ -334,7 +334,7 @@ function classifyStatus(status) {
334
334
  return status >= 400 && status < 500 ? "validation_error" : "http_error";
335
335
  }
336
336
  function normalizeMatrxError(err) {
337
- if (err instanceof chunkNMBDYPFZ_cjs.OrganizationContextError) {
337
+ if (err instanceof chunkPMGKZ4FT_cjs.OrganizationContextError) {
338
338
  return {
339
339
  type: "validation_error",
340
340
  message: err.message,
@@ -346,7 +346,7 @@ function normalizeMatrxError(err) {
346
346
  if (err instanceof DOMException && err.name === "AbortError") {
347
347
  return { type: "abort_error", message: "Request was cancelled." };
348
348
  }
349
- if (err instanceof chunkNMBDYPFZ_cjs.MatrxApiError) {
349
+ if (err instanceof chunkPMGKZ4FT_cjs.MatrxApiError) {
350
350
  return {
351
351
  type: classifyStatus(err.status),
352
352
  message: honestTransportMessage(err.message, err.status),
@@ -356,7 +356,7 @@ function normalizeMatrxError(err) {
356
356
  name: err.name
357
357
  };
358
358
  }
359
- if (err instanceof chunkNMBDYPFZ_cjs.BackendApiError) {
359
+ if (err instanceof chunkPMGKZ4FT_cjs.BackendApiError) {
360
360
  return {
361
361
  type: "network_error",
362
362
  message: honestTransportMessage(
@@ -454,9 +454,9 @@ function createMatrxTransport(options) {
454
454
  };
455
455
  const resolveOrganizationId = (callOrganizationId) => {
456
456
  if (organizationId === void 0) return null;
457
- if (callOrganizationId !== null) return chunkNMBDYPFZ_cjs.requireOrganizationContext(callOrganizationId);
457
+ if (callOrganizationId !== null) return chunkPMGKZ4FT_cjs.requireOrganizationContext(callOrganizationId);
458
458
  const candidate = typeof organizationId === "function" ? organizationId() : organizationId;
459
- return chunkNMBDYPFZ_cjs.requireOrganizationContext(candidate);
459
+ return chunkPMGKZ4FT_cjs.requireOrganizationContext(candidate);
460
460
  };
461
461
  return {
462
462
  async fetch(path, init) {
@@ -473,7 +473,7 @@ function createMatrxTransport(options) {
473
473
  };
474
474
  const orgId = resolveOrganizationId(callOrganizationId);
475
475
  if (orgId !== null) {
476
- headers = chunkNMBDYPFZ_cjs.applyOrganizationContextHeader(headers, orgId);
476
+ headers = chunkPMGKZ4FT_cjs.applyOrganizationContextHeader(headers, orgId);
477
477
  }
478
478
  const info = {
479
479
  url,
@@ -506,11 +506,11 @@ function createMatrxTransport(options) {
506
506
  }
507
507
  if (!response.ok && !expectedErrorStatuses?.includes(response.status)) {
508
508
  const serverDetail = await response.clone().json().catch(() => void 0);
509
- const code = chunkNMBDYPFZ_cjs.extractMatrxErrorCode(serverDetail);
509
+ const code = chunkPMGKZ4FT_cjs.extractMatrxErrorCode(serverDetail);
510
510
  diagnostics?.onError?.(
511
511
  {
512
512
  type: classifyStatus(response.status),
513
- message: chunkNMBDYPFZ_cjs.extractMatrxErrorMessage(serverDetail) ?? `HTTP ${response.status}`,
513
+ message: chunkPMGKZ4FT_cjs.extractMatrxErrorMessage(serverDetail) ?? `HTTP ${response.status}`,
514
514
  status: response.status,
515
515
  serverDetail,
516
516
  ...code ? { code } : {}
@@ -840,7 +840,7 @@ async function readServerDetail(response) {
840
840
  }
841
841
  }
842
842
  async function throwApiError(path, response) {
843
- throw new chunkNMBDYPFZ_cjs.MatrxApiError({
843
+ throw new chunkPMGKZ4FT_cjs.MatrxApiError({
844
844
  status: response.status,
845
845
  path,
846
846
  serverDetail: await readServerDetail(response)
@@ -861,7 +861,7 @@ function toRunHandle(response, options) {
861
861
  return {
862
862
  requestId: response.headers.get("X-Request-ID"),
863
863
  conversationId: response.headers.get("X-Conversation-ID"),
864
- events: chunkNMBDYPFZ_cjs.readMatrxNdjsonStream(response.body, {
864
+ events: chunkPMGKZ4FT_cjs.readMatrxNdjsonStream(response.body, {
865
865
  ...options.signal ? { signal: options.signal } : {},
866
866
  ...options.maxReadAhead !== void 0 ? { maxReadAhead: options.maxReadAhead } : {},
867
867
  ...options.onMalformedLine ? { onMalformedLine: options.onMalformedLine } : {},
@@ -884,7 +884,7 @@ async function requestStream(transport, path, options) {
884
884
  });
885
885
  if (!response.ok) return throwApiError(path, response);
886
886
  if (!response.body) {
887
- throw new chunkNMBDYPFZ_cjs.MatrxApiError({
887
+ throw new chunkPMGKZ4FT_cjs.MatrxApiError({
888
888
  status: response.status,
889
889
  path,
890
890
  serverDetail: { code: "missing_response_body" },
@@ -944,7 +944,7 @@ async function getRuntimeOperationStatus(transport, requestId, options = {}) {
944
944
  { method: "GET", ...options.signal ? { signal: options.signal } : {} }
945
945
  );
946
946
  } catch (error) {
947
- if (error instanceof chunkNMBDYPFZ_cjs.MatrxApiError && error.status === 404) return null;
947
+ if (error instanceof chunkPMGKZ4FT_cjs.MatrxApiError && error.status === 404) return null;
948
948
  throw error;
949
949
  }
950
950
  }
@@ -959,7 +959,7 @@ async function getRuntimeOperationsByLink(transport, linkKind, linkId, options =
959
959
  { method: "GET", ...options.signal ? { signal: options.signal } : {} }
960
960
  );
961
961
  } catch (error) {
962
- if (error instanceof chunkNMBDYPFZ_cjs.MatrxApiError && error.status === 404) return null;
962
+ if (error instanceof chunkPMGKZ4FT_cjs.MatrxApiError && error.status === 404) return null;
963
963
  throw error;
964
964
  }
965
965
  }
@@ -1000,7 +1000,7 @@ async function* followRuntimeOperationEvents(transport, executionId, options = {
1000
1000
  ...options.signal ? { signal: options.signal } : {}
1001
1001
  }
1002
1002
  );
1003
- const frames = chunkNMBDYPFZ_cjs.readMatrxSseStream(
1003
+ const frames = chunkPMGKZ4FT_cjs.readMatrxSseStream(
1004
1004
  response.body,
1005
1005
  options.onIncomplete ? { onIncomplete: options.onIncomplete } : {}
1006
1006
  );
@@ -1203,7 +1203,7 @@ async function openMatrxStream(transport, path, options = {}) {
1203
1203
  return toRunHandle(response, options);
1204
1204
  }
1205
1205
  function withRunOrganization(transport, organizationId) {
1206
- const orgId = chunkNMBDYPFZ_cjs.requireOrganizationContext(organizationId);
1206
+ const orgId = chunkPMGKZ4FT_cjs.requireOrganizationContext(organizationId);
1207
1207
  return {
1208
1208
  fetch: (path, init) => transport.fetch(path, {
1209
1209
  ...init,
@@ -1230,7 +1230,7 @@ async function followWorkflowRunEvents(transport, runId, options) {
1230
1230
  throw error;
1231
1231
  }
1232
1232
  try {
1233
- for await (const frame of chunkNMBDYPFZ_cjs.readMatrxSseStream(
1233
+ for await (const frame of chunkPMGKZ4FT_cjs.readMatrxSseStream(
1234
1234
  response.body
1235
1235
  )) {
1236
1236
  if (frame.event === "end") return { ended: true };
@@ -1276,7 +1276,7 @@ async function resumeOrRejoin(transport, resumeCall, options) {
1276
1276
  } catch (error) {
1277
1277
  const target = readLiveRunRejoin(error);
1278
1278
  if (!target) {
1279
- if (error instanceof chunkNMBDYPFZ_cjs.MatrxApiError && isResumeConflict(error)) {
1279
+ if (error instanceof chunkPMGKZ4FT_cjs.MatrxApiError && isResumeConflict(error)) {
1280
1280
  return { kind: "resume_conflict", error };
1281
1281
  }
1282
1282
  throw error;
@@ -1692,7 +1692,7 @@ async function reportProviderSessionUsage(transport, usage, options = {}) {
1692
1692
  });
1693
1693
  return "ok";
1694
1694
  } catch (error) {
1695
- if (error instanceof chunkNMBDYPFZ_cjs.MatrxApiError) {
1695
+ if (error instanceof chunkPMGKZ4FT_cjs.MatrxApiError) {
1696
1696
  const status = error.status;
1697
1697
  if (status >= 400 && status < 500 && status !== 401 && status !== 408 && status !== 425 && status !== 429) {
1698
1698
  console.warn(`[provider-usage] server refused ${usage.provider} usage ${usage.usage_id} (${status})`);
@@ -2396,111 +2396,111 @@ Object.defineProperty(exports, "toCredentialsPort", {
2396
2396
  });
2397
2397
  Object.defineProperty(exports, "BackendApiError", {
2398
2398
  enumerable: true,
2399
- get: function () { return chunkNMBDYPFZ_cjs.BackendApiError; }
2399
+ get: function () { return chunkPMGKZ4FT_cjs.BackendApiError; }
2400
2400
  });
2401
2401
  Object.defineProperty(exports, "CONTRACT_SHA256", {
2402
2402
  enumerable: true,
2403
- get: function () { return chunkNMBDYPFZ_cjs.CONTRACT_SHA256; }
2403
+ get: function () { return chunkPMGKZ4FT_cjs.CONTRACT_SHA256; }
2404
2404
  });
2405
2405
  Object.defineProperty(exports, "DEPLOYMENTS", {
2406
2406
  enumerable: true,
2407
- get: function () { return chunkNMBDYPFZ_cjs.DEPLOYMENTS; }
2407
+ get: function () { return chunkPMGKZ4FT_cjs.DEPLOYMENTS; }
2408
2408
  });
2409
2409
  Object.defineProperty(exports, "DOMAINS", {
2410
2410
  enumerable: true,
2411
- get: function () { return chunkNMBDYPFZ_cjs.DOMAINS; }
2411
+ get: function () { return chunkPMGKZ4FT_cjs.DOMAINS; }
2412
2412
  });
2413
2413
  Object.defineProperty(exports, "MatrxApiError", {
2414
2414
  enumerable: true,
2415
- get: function () { return chunkNMBDYPFZ_cjs.MatrxApiError; }
2415
+ get: function () { return chunkPMGKZ4FT_cjs.MatrxApiError; }
2416
2416
  });
2417
2417
  Object.defineProperty(exports, "OrganizationContextError", {
2418
2418
  enumerable: true,
2419
- get: function () { return chunkNMBDYPFZ_cjs.OrganizationContextError; }
2419
+ get: function () { return chunkPMGKZ4FT_cjs.OrganizationContextError; }
2420
2420
  });
2421
2421
  Object.defineProperty(exports, "StreamTransportError", {
2422
2422
  enumerable: true,
2423
- get: function () { return chunkNMBDYPFZ_cjs.StreamTransportError; }
2423
+ get: function () { return chunkPMGKZ4FT_cjs.StreamTransportError; }
2424
2424
  });
2425
2425
  Object.defineProperty(exports, "applyOrganizationContextHeader", {
2426
2426
  enumerable: true,
2427
- get: function () { return chunkNMBDYPFZ_cjs.applyOrganizationContextHeader; }
2427
+ get: function () { return chunkPMGKZ4FT_cjs.applyOrganizationContextHeader; }
2428
2428
  });
2429
2429
  Object.defineProperty(exports, "assertOrganizationMatchesOperation", {
2430
2430
  enumerable: true,
2431
- get: function () { return chunkNMBDYPFZ_cjs.assertOrganizationMatchesOperation; }
2431
+ get: function () { return chunkPMGKZ4FT_cjs.assertOrganizationMatchesOperation; }
2432
2432
  });
2433
2433
  Object.defineProperty(exports, "assertQueryOrganizationMatchesContext", {
2434
2434
  enumerable: true,
2435
- get: function () { return chunkNMBDYPFZ_cjs.assertQueryOrganizationMatchesContext; }
2435
+ get: function () { return chunkPMGKZ4FT_cjs.assertQueryOrganizationMatchesContext; }
2436
2436
  });
2437
2437
  Object.defineProperty(exports, "createApi", {
2438
2438
  enumerable: true,
2439
- get: function () { return chunkNMBDYPFZ_cjs.createApi; }
2439
+ get: function () { return chunkPMGKZ4FT_cjs.createApi; }
2440
2440
  });
2441
2441
  Object.defineProperty(exports, "createOrganizationOperation", {
2442
2442
  enumerable: true,
2443
- get: function () { return chunkNMBDYPFZ_cjs.createOrganizationOperation; }
2443
+ get: function () { return chunkPMGKZ4FT_cjs.createOrganizationOperation; }
2444
2444
  });
2445
2445
  Object.defineProperty(exports, "describeBackendFailure", {
2446
2446
  enumerable: true,
2447
- get: function () { return chunkNMBDYPFZ_cjs.describeBackendFailure; }
2447
+ get: function () { return chunkPMGKZ4FT_cjs.describeBackendFailure; }
2448
2448
  });
2449
2449
  Object.defineProperty(exports, "extractMatrxErrorCode", {
2450
2450
  enumerable: true,
2451
- get: function () { return chunkNMBDYPFZ_cjs.extractMatrxErrorCode; }
2451
+ get: function () { return chunkPMGKZ4FT_cjs.extractMatrxErrorCode; }
2452
2452
  });
2453
2453
  Object.defineProperty(exports, "extractMatrxErrorMessage", {
2454
2454
  enumerable: true,
2455
- get: function () { return chunkNMBDYPFZ_cjs.extractMatrxErrorMessage; }
2455
+ get: function () { return chunkPMGKZ4FT_cjs.extractMatrxErrorMessage; }
2456
2456
  });
2457
2457
  Object.defineProperty(exports, "getUserMessage", {
2458
2458
  enumerable: true,
2459
- get: function () { return chunkNMBDYPFZ_cjs.getUserMessage; }
2459
+ get: function () { return chunkPMGKZ4FT_cjs.getUserMessage; }
2460
2460
  });
2461
2461
  Object.defineProperty(exports, "isGenericUserMessage", {
2462
2462
  enumerable: true,
2463
- get: function () { return chunkNMBDYPFZ_cjs.isGenericUserMessage; }
2463
+ get: function () { return chunkPMGKZ4FT_cjs.isGenericUserMessage; }
2464
2464
  });
2465
2465
  Object.defineProperty(exports, "isStreamTransportLost", {
2466
2466
  enumerable: true,
2467
- get: function () { return chunkNMBDYPFZ_cjs.isStreamTransportLost; }
2467
+ get: function () { return chunkPMGKZ4FT_cjs.isStreamTransportLost; }
2468
2468
  });
2469
2469
  Object.defineProperty(exports, "openJsonOrStream", {
2470
2470
  enumerable: true,
2471
- get: function () { return chunkNMBDYPFZ_cjs.openJsonOrStream; }
2471
+ get: function () { return chunkPMGKZ4FT_cjs.openJsonOrStream; }
2472
2472
  });
2473
2473
  Object.defineProperty(exports, "openStream", {
2474
2474
  enumerable: true,
2475
- get: function () { return chunkNMBDYPFZ_cjs.openStream; }
2475
+ get: function () { return chunkPMGKZ4FT_cjs.openStream; }
2476
2476
  });
2477
2477
  Object.defineProperty(exports, "parseCallApiError", {
2478
2478
  enumerable: true,
2479
- get: function () { return chunkNMBDYPFZ_cjs.parseCallApiError; }
2479
+ get: function () { return chunkPMGKZ4FT_cjs.parseCallApiError; }
2480
2480
  });
2481
2481
  Object.defineProperty(exports, "parseHttpError", {
2482
2482
  enumerable: true,
2483
- get: function () { return chunkNMBDYPFZ_cjs.parseHttpError; }
2483
+ get: function () { return chunkPMGKZ4FT_cjs.parseHttpError; }
2484
2484
  });
2485
2485
  Object.defineProperty(exports, "parseHttpErrorBody", {
2486
2486
  enumerable: true,
2487
- get: function () { return chunkNMBDYPFZ_cjs.parseHttpErrorBody; }
2487
+ get: function () { return chunkPMGKZ4FT_cjs.parseHttpErrorBody; }
2488
2488
  });
2489
2489
  Object.defineProperty(exports, "parsePersistedBackendError", {
2490
2490
  enumerable: true,
2491
- get: function () { return chunkNMBDYPFZ_cjs.parsePersistedBackendError; }
2491
+ get: function () { return chunkPMGKZ4FT_cjs.parsePersistedBackendError; }
2492
2492
  });
2493
2493
  Object.defineProperty(exports, "parseStreamError", {
2494
2494
  enumerable: true,
2495
- get: function () { return chunkNMBDYPFZ_cjs.parseStreamError; }
2495
+ get: function () { return chunkPMGKZ4FT_cjs.parseStreamError; }
2496
2496
  });
2497
2497
  Object.defineProperty(exports, "requireOrganizationContext", {
2498
2498
  enumerable: true,
2499
- get: function () { return chunkNMBDYPFZ_cjs.requireOrganizationContext; }
2499
+ get: function () { return chunkPMGKZ4FT_cjs.requireOrganizationContext; }
2500
2500
  });
2501
2501
  Object.defineProperty(exports, "unwrapUpstreamError", {
2502
2502
  enumerable: true,
2503
- get: function () { return chunkNMBDYPFZ_cjs.unwrapUpstreamError; }
2503
+ get: function () { return chunkPMGKZ4FT_cjs.unwrapUpstreamError; }
2504
2504
  });
2505
2505
  Object.defineProperty(exports, "AbortedError", {
2506
2506
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { M as MatrxStreamEnvelope, b as MatrxNdjsonIssue, c as MatrxStreamEnvelopeObservation, d as MatrxSseFrame } from './index-D_ZjxGwP.cjs';
2
- export { A as Api, e as ApiRequestInfo, a as ApiStream, f as AuthTier, g as CONTRACT_SHA256, C as CallOptions, h as CreateApiOptions, D as DEPLOYMENTS, i as DOMAINS, j as DeploymentName, E as Environment, H as HttpMethod, J as JsonOrStream, N as NdjsonEvent, O as OperationArgs, k as OperationDescriptor, l as OrgRule, S as SseEvent, m as StreamKind, n as createApi, o as openJsonOrStream, p as openStream } from './index-D_ZjxGwP.cjs';
1
+ import { M as MatrxStreamEnvelope, b as MatrxNdjsonIssue, c as MatrxStreamEnvelopeObservation, d as MatrxSseFrame } from './index-C3ZlP3BI.cjs';
2
+ export { A as Api, e as ApiRequestInfo, a as ApiStream, f as AuthTier, g as CONTRACT_SHA256, C as CallOptions, h as CreateApiOptions, D as DEPLOYMENTS, i as DOMAINS, j as DeploymentName, E as Environment, H as HttpMethod, J as JsonOrStream, N as NdjsonEvent, O as OperationArgs, k as OperationDescriptor, l as OrgRule, S as SseEvent, m as StreamKind, n as createApi, o as openJsonOrStream, p as openStream } from './index-C3ZlP3BI.cjs';
3
3
  import { CredentialsPort } from '@ai-matrx/auth/credentials';
4
4
  export { API_KEY_PREFIX, CredentialsPort, CredentialsSetting, MATRX_HEADERS, MatrxCredential, MatrxCredentialKind, credentialToHeaders, toCredentialsPort } from '@ai-matrx/auth/credentials';
5
5
  import { ResilientFetchOptions } from './net.cjs';
@@ -7,7 +7,7 @@ export { AbortedError, ConnectTimeoutError, HeartbeatTimeoutError, HttpError, Ne
7
7
  import { g as MandateKey, b as DynamicMandateKey } from './keys.generated-CK_C5UXG.cjs';
8
8
 
9
9
  /**
10
- * `@ai-matrx/agents/matrx` — the Matrx transport port.
10
+ * `@ai-matrx/api` — the Matrx transport port.
11
11
  *
12
12
  * The ONE seam between this package's wire semantics and a host's connection
13
13
  * policy. This package owns WHAT is said to the AI Matrx server — paths,
@@ -100,7 +100,7 @@ declare function extractMatrxErrorMessage(serverDetail: unknown): string | undef
100
100
  declare function extractMatrxErrorCode(serverDetail: unknown): string | null;
101
101
 
102
102
  /**
103
- * `@ai-matrx/agents/matrx` — the AI Matrx server's error model, as every
103
+ * `@ai-matrx/api` — the AI Matrx server's error model, as every
104
104
  * client reads it: `BackendApiError` (the server's `APIError` body),
105
105
  * `StreamTransportError` (the socket died mid-run; the run may still finish
106
106
  * and is reattachable), parsing of HTTP / stream / persisted errors, and the
@@ -429,7 +429,7 @@ declare function aiVersionPathOverrides(version: MatrxAiApiVersion): Record<stri
429
429
  * - **timeouts** — connect 15s (for a non-streaming FastAPI handler this is
430
430
  * effectively time-to-response), total UNCAPPED (the port cannot tell a JSON
431
431
  * call from a long-lived NDJSON/SSE stream; the connect timeout is the JSON
432
- * guard), via `@ai-matrx/data/net`'s `resilientFetch`;
432
+ * guard), via `@ai-matrx/api/net`'s `resilientFetch`;
433
433
  * - **protocol** — the AI API version transform (`applyAiApiVersion`, default
434
434
  * v2) + the loud v2 → v1 transport fallback (`./protocol`);
435
435
  * - **credentials** — read fresh from the injected `CredentialsPort` on EVERY
@@ -584,7 +584,7 @@ interface CreateMatrxTransportOptions {
584
584
  declare function createMatrxTransport(options: CreateMatrxTransportOptions): MatrxTransport;
585
585
 
586
586
  /**
587
- * `@ai-matrx/agents/matrx` — THE request pipeline every typed Matrx server call
587
+ * `@ai-matrx/api` — THE request pipeline every typed Matrx server call
588
588
  * rides (chat package independence P9b). One implementation for every client:
589
589
  * matrx-frontend's `lib/api` `callApi` and the chat package's bare-host default
590
590
  * both build on it, and supply only their host facts — where the server is,
@@ -815,7 +815,7 @@ declare function applyOrganizationContextHeader(headers: Record<string, string>,
815
815
  */
816
816
  declare function assertQueryOrganizationMatchesContext(queryParams: Record<string, string | number | boolean> | undefined, organizationId: string): void;
817
817
 
818
- /** `@ai-matrx/agents/matrx` — moved from matrx-frontend `lib/api/log-api-target.ts` (chat-package independence P9). */
818
+ /** `@ai-matrx/api` — moved from matrx-frontend `lib/api/log-api-target.ts` (chat-package independence P9). */
819
819
  /**
820
820
  * lib/api/log-api-target.ts
821
821
  *
@@ -860,7 +860,7 @@ interface ApiTargetLogContext {
860
860
  declare function logApiTarget(url: string, context: ApiTargetLogContext): void;
861
861
 
862
862
  /**
863
- * `@ai-matrx/agents/matrx` — the single primitive that transforms a server
863
+ * `@ai-matrx/api` — the single primitive that transforms a server
864
864
  * endpoint PATH (never the base URL) before it is sent: an exact per-path
865
865
  * override, else a global version prefix. Moved from matrx-frontend
866
866
  * `lib/api/resolve-endpoint-path.ts` (chat-package independence P9).
@@ -906,7 +906,7 @@ declare function resolveEndpointPath(canonicalPath: string, config?: EndpointOve
906
906
  declare function applyDesktopTargetToRequestBody(body: unknown, targetInstanceId: string | null | undefined): void;
907
907
 
908
908
  /**
909
- * `@ai-matrx/agents/matrx` — moved from matrx-frontend `lib/api/run-wait.ts` (chat-package
909
+ * `@ai-matrx/api` — moved from matrx-frontend `lib/api/run-wait.ts` (chat-package
910
910
  * independence P9). The knob read is injected (`resolveRunWaitWith`); the host wraps it.
911
911
  */
912
912
  /**
@@ -991,7 +991,7 @@ declare function runJobLabel(kind: RunOutputKind, modelLabel: string | null): st
991
991
  declare function runWaitTimeoutMessage(kind: RunOutputKind, modelLabel: string | null, seconds: number | null): string;
992
992
 
993
993
  /**
994
- * `@ai-matrx/agents/matrx` — the client warm-up primitive.
994
+ * `@ai-matrx/api` — the client warm-up primitive.
995
995
  *
996
996
  * Contract: common-docs `systems/architecture/warm-cache/CONTRACT.md`.
997
997
  *
@@ -1063,7 +1063,7 @@ declare function preconnectServer(baseUrl: string | null | undefined): void;
1063
1063
  declare function resetPreconnectedForTests(): void;
1064
1064
 
1065
1065
  /**
1066
- * Internal request plumbing for `@ai-matrx/agents/matrx`. Not part of the
1066
+ * Internal request plumbing for `@ai-matrx/api`. Not part of the
1067
1067
  * public surface — `matrx/index.ts` deliberately does not re-export this
1068
1068
  * module. Everything here is pure: no globals, no work at import time.
1069
1069
  */
@@ -2369,7 +2369,7 @@ declare function listUserPendingToolCalls(transport: MatrxTransport, options?: {
2369
2369
  }): Promise<MatrxPendingCallSummary[]>;
2370
2370
 
2371
2371
  /**
2372
- * `@ai-matrx/agents/matrx` — every AI Matrx server endpoint path, by feature
2372
+ * `@ai-matrx/api` — every AI Matrx server endpoint path, by feature
2373
2373
  * area (matching the server's router structure). Paths only, rooted at the
2374
2374
  * host (`/ai/...`, `/health`); the HOST owns the base URL.
2375
2375
  *
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { M as MatrxStreamEnvelope, b as MatrxNdjsonIssue, c as MatrxStreamEnvelopeObservation, d as MatrxSseFrame } from './index-D_ZjxGwP.js';
2
- export { A as Api, e as ApiRequestInfo, a as ApiStream, f as AuthTier, g as CONTRACT_SHA256, C as CallOptions, h as CreateApiOptions, D as DEPLOYMENTS, i as DOMAINS, j as DeploymentName, E as Environment, H as HttpMethod, J as JsonOrStream, N as NdjsonEvent, O as OperationArgs, k as OperationDescriptor, l as OrgRule, S as SseEvent, m as StreamKind, n as createApi, o as openJsonOrStream, p as openStream } from './index-D_ZjxGwP.js';
1
+ import { M as MatrxStreamEnvelope, b as MatrxNdjsonIssue, c as MatrxStreamEnvelopeObservation, d as MatrxSseFrame } from './index-C3ZlP3BI.js';
2
+ export { A as Api, e as ApiRequestInfo, a as ApiStream, f as AuthTier, g as CONTRACT_SHA256, C as CallOptions, h as CreateApiOptions, D as DEPLOYMENTS, i as DOMAINS, j as DeploymentName, E as Environment, H as HttpMethod, J as JsonOrStream, N as NdjsonEvent, O as OperationArgs, k as OperationDescriptor, l as OrgRule, S as SseEvent, m as StreamKind, n as createApi, o as openJsonOrStream, p as openStream } from './index-C3ZlP3BI.js';
3
3
  import { CredentialsPort } from '@ai-matrx/auth/credentials';
4
4
  export { API_KEY_PREFIX, CredentialsPort, CredentialsSetting, MATRX_HEADERS, MatrxCredential, MatrxCredentialKind, credentialToHeaders, toCredentialsPort } from '@ai-matrx/auth/credentials';
5
5
  import { ResilientFetchOptions } from './net.js';
@@ -7,7 +7,7 @@ export { AbortedError, ConnectTimeoutError, HeartbeatTimeoutError, HttpError, Ne
7
7
  import { g as MandateKey, b as DynamicMandateKey } from './keys.generated-CK_C5UXG.js';
8
8
 
9
9
  /**
10
- * `@ai-matrx/agents/matrx` — the Matrx transport port.
10
+ * `@ai-matrx/api` — the Matrx transport port.
11
11
  *
12
12
  * The ONE seam between this package's wire semantics and a host's connection
13
13
  * policy. This package owns WHAT is said to the AI Matrx server — paths,
@@ -100,7 +100,7 @@ declare function extractMatrxErrorMessage(serverDetail: unknown): string | undef
100
100
  declare function extractMatrxErrorCode(serverDetail: unknown): string | null;
101
101
 
102
102
  /**
103
- * `@ai-matrx/agents/matrx` — the AI Matrx server's error model, as every
103
+ * `@ai-matrx/api` — the AI Matrx server's error model, as every
104
104
  * client reads it: `BackendApiError` (the server's `APIError` body),
105
105
  * `StreamTransportError` (the socket died mid-run; the run may still finish
106
106
  * and is reattachable), parsing of HTTP / stream / persisted errors, and the
@@ -429,7 +429,7 @@ declare function aiVersionPathOverrides(version: MatrxAiApiVersion): Record<stri
429
429
  * - **timeouts** — connect 15s (for a non-streaming FastAPI handler this is
430
430
  * effectively time-to-response), total UNCAPPED (the port cannot tell a JSON
431
431
  * call from a long-lived NDJSON/SSE stream; the connect timeout is the JSON
432
- * guard), via `@ai-matrx/data/net`'s `resilientFetch`;
432
+ * guard), via `@ai-matrx/api/net`'s `resilientFetch`;
433
433
  * - **protocol** — the AI API version transform (`applyAiApiVersion`, default
434
434
  * v2) + the loud v2 → v1 transport fallback (`./protocol`);
435
435
  * - **credentials** — read fresh from the injected `CredentialsPort` on EVERY
@@ -584,7 +584,7 @@ interface CreateMatrxTransportOptions {
584
584
  declare function createMatrxTransport(options: CreateMatrxTransportOptions): MatrxTransport;
585
585
 
586
586
  /**
587
- * `@ai-matrx/agents/matrx` — THE request pipeline every typed Matrx server call
587
+ * `@ai-matrx/api` — THE request pipeline every typed Matrx server call
588
588
  * rides (chat package independence P9b). One implementation for every client:
589
589
  * matrx-frontend's `lib/api` `callApi` and the chat package's bare-host default
590
590
  * both build on it, and supply only their host facts — where the server is,
@@ -815,7 +815,7 @@ declare function applyOrganizationContextHeader(headers: Record<string, string>,
815
815
  */
816
816
  declare function assertQueryOrganizationMatchesContext(queryParams: Record<string, string | number | boolean> | undefined, organizationId: string): void;
817
817
 
818
- /** `@ai-matrx/agents/matrx` — moved from matrx-frontend `lib/api/log-api-target.ts` (chat-package independence P9). */
818
+ /** `@ai-matrx/api` — moved from matrx-frontend `lib/api/log-api-target.ts` (chat-package independence P9). */
819
819
  /**
820
820
  * lib/api/log-api-target.ts
821
821
  *
@@ -860,7 +860,7 @@ interface ApiTargetLogContext {
860
860
  declare function logApiTarget(url: string, context: ApiTargetLogContext): void;
861
861
 
862
862
  /**
863
- * `@ai-matrx/agents/matrx` — the single primitive that transforms a server
863
+ * `@ai-matrx/api` — the single primitive that transforms a server
864
864
  * endpoint PATH (never the base URL) before it is sent: an exact per-path
865
865
  * override, else a global version prefix. Moved from matrx-frontend
866
866
  * `lib/api/resolve-endpoint-path.ts` (chat-package independence P9).
@@ -906,7 +906,7 @@ declare function resolveEndpointPath(canonicalPath: string, config?: EndpointOve
906
906
  declare function applyDesktopTargetToRequestBody(body: unknown, targetInstanceId: string | null | undefined): void;
907
907
 
908
908
  /**
909
- * `@ai-matrx/agents/matrx` — moved from matrx-frontend `lib/api/run-wait.ts` (chat-package
909
+ * `@ai-matrx/api` — moved from matrx-frontend `lib/api/run-wait.ts` (chat-package
910
910
  * independence P9). The knob read is injected (`resolveRunWaitWith`); the host wraps it.
911
911
  */
912
912
  /**
@@ -991,7 +991,7 @@ declare function runJobLabel(kind: RunOutputKind, modelLabel: string | null): st
991
991
  declare function runWaitTimeoutMessage(kind: RunOutputKind, modelLabel: string | null, seconds: number | null): string;
992
992
 
993
993
  /**
994
- * `@ai-matrx/agents/matrx` — the client warm-up primitive.
994
+ * `@ai-matrx/api` — the client warm-up primitive.
995
995
  *
996
996
  * Contract: common-docs `systems/architecture/warm-cache/CONTRACT.md`.
997
997
  *
@@ -1063,7 +1063,7 @@ declare function preconnectServer(baseUrl: string | null | undefined): void;
1063
1063
  declare function resetPreconnectedForTests(): void;
1064
1064
 
1065
1065
  /**
1066
- * Internal request plumbing for `@ai-matrx/agents/matrx`. Not part of the
1066
+ * Internal request plumbing for `@ai-matrx/api`. Not part of the
1067
1067
  * public surface — `matrx/index.ts` deliberately does not re-export this
1068
1068
  * module. Everything here is pure: no globals, no work at import time.
1069
1069
  */
@@ -2369,7 +2369,7 @@ declare function listUserPendingToolCalls(transport: MatrxTransport, options?: {
2369
2369
  }): Promise<MatrxPendingCallSummary[]>;
2370
2370
 
2371
2371
  /**
2372
- * `@ai-matrx/agents/matrx` — every AI Matrx server endpoint path, by feature
2372
+ * `@ai-matrx/api` — every AI Matrx server endpoint path, by feature
2373
2373
  * area (matching the server's router structure). Paths only, rooted at the
2374
2374
  * host (`/ai/...`, `/health`); the HOST owns the base URL.
2375
2375
  *
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export { monitorStream } from './chunk-YTEOFGFC.js';
2
2
  export { API_KEY_PREFIX, MATRX_HEADERS, credentialToHeaders, toCredentialsPort } from './chunk-7MZPBCFV.js';
3
- import { OrganizationContextError, BackendApiError, parseHttpError, MatrxApiError, applyOrganizationContextHeader, extractMatrxErrorCode, extractMatrxErrorMessage, readMatrxNdjsonStream, readMatrxSseStream, requireOrganizationContext, StreamTransportError } from './chunk-5BBHAAIG.js';
4
- export { BackendApiError, CONTRACT_SHA256, DEPLOYMENTS, DOMAINS, MatrxApiError, OrganizationContextError, StreamTransportError, applyOrganizationContextHeader, assertOrganizationMatchesOperation, assertQueryOrganizationMatchesContext, createApi, createOrganizationOperation, describeBackendFailure, extractMatrxErrorCode, extractMatrxErrorMessage, getUserMessage, isGenericUserMessage, isStreamTransportLost, openJsonOrStream, openStream, parseCallApiError, parseHttpError, parseHttpErrorBody, parsePersistedBackendError, parseStreamError, requireOrganizationContext, unwrapUpstreamError } from './chunk-5BBHAAIG.js';
3
+ import { OrganizationContextError, BackendApiError, parseHttpError, MatrxApiError, applyOrganizationContextHeader, extractMatrxErrorCode, extractMatrxErrorMessage, readMatrxNdjsonStream, readMatrxSseStream, requireOrganizationContext, StreamTransportError } from './chunk-PIVTHTVR.js';
4
+ export { BackendApiError, CONTRACT_SHA256, DEPLOYMENTS, DOMAINS, MatrxApiError, OrganizationContextError, StreamTransportError, applyOrganizationContextHeader, assertOrganizationMatchesOperation, assertQueryOrganizationMatchesContext, createApi, createOrganizationOperation, describeBackendFailure, extractMatrxErrorCode, extractMatrxErrorMessage, getUserMessage, isGenericUserMessage, isStreamTransportLost, openJsonOrStream, openStream, parseCallApiError, parseHttpError, parseHttpErrorBody, parsePersistedBackendError, parseStreamError, requireOrganizationContext, unwrapUpstreamError } from './chunk-PIVTHTVR.js';
5
5
  import { resilientFetch, isNetError, extractErrorMessage } from './chunk-KIEAFMKB.js';
6
6
  export { AbortedError, ConnectTimeoutError, HeartbeatTimeoutError, HttpError, NetError, NetworkError, OfflineError, TotalTimeoutError, extractErrorMessage, isNetError, isTransportFailure, resilientFetch, toNetError, withRetry } from './chunk-KIEAFMKB.js';
7
7
  import { credentialToHeaders } from '@ai-matrx/auth/credentials';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkNMBDYPFZ_cjs = require('./chunk-NMBDYPFZ.cjs');
3
+ var chunkPMGKZ4FT_cjs = require('./chunk-PMGKZ4FT.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
5
 
6
6
  // src/generated/integrations.ts
@@ -3562,11 +3562,11 @@ function bingIntegrationsDisconnect(api, args, options) {
3562
3562
  }
3563
3563
  var $importNotionZip = { m: "POST", p: "/notion-import/zip", d: "aidream", a: "user", o: "required", s: "ndjson", n: "integrations.import_notion_zip" };
3564
3564
  function importNotionZip(api, args, options) {
3565
- return chunkNMBDYPFZ_cjs.openStream(api, $importNotionZip, args, options);
3565
+ return chunkPMGKZ4FT_cjs.openStream(api, $importNotionZip, args, options);
3566
3566
  }
3567
3567
  var $importNotionConnected = { m: "POST", p: "/notion-import/connected", d: "aidream", a: "user", o: "required", s: "ndjson", n: "integrations.import_notion_connected" };
3568
3568
  function importNotionConnected(api, args, options) {
3569
- return chunkNMBDYPFZ_cjs.openStream(api, $importNotionConnected, args, options);
3569
+ return chunkPMGKZ4FT_cjs.openStream(api, $importNotionConnected, args, options);
3570
3570
  }
3571
3571
  var TABLE = {
3572
3572
  "GET /ebay/account-deletion": $ebayAccountDeletionChallenge,
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-D_ZjxGwP.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-C3ZlP3BI.cjs';
2
2
  import { JsonValue, CalendarLocalRefreshResult, CalendarCreateResult, CalendarEventAttendee, StorageImportResult } from './schemas.cjs';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-D_ZjxGwP.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-C3ZlP3BI.js';
2
2
  import { JsonValue, CalendarLocalRefreshResult, CalendarCreateResult, CalendarEventAttendee, StorageImportResult } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-5BBHAAIG.js';
1
+ import { openStream } from './chunk-PIVTHTVR.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/integrations.ts