@ai-matrx/api 0.1.5 → 0.1.7

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 (126) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/account.d.cts +2 -2
  3. package/dist/account.d.ts +2 -2
  4. package/dist/agents.cjs +11 -12
  5. package/dist/agents.d.cts +2 -2
  6. package/dist/agents.d.ts +2 -2
  7. package/dist/agents.js +1 -2
  8. package/dist/ai.cjs +2 -3
  9. package/dist/ai.d.cts +2 -2
  10. package/dist/ai.d.ts +2 -2
  11. package/dist/ai.js +1 -2
  12. package/dist/apps.cjs +5 -6
  13. package/dist/apps.d.cts +2 -2
  14. package/dist/apps.d.ts +2 -2
  15. package/dist/apps.js +1 -2
  16. package/dist/architecture.cjs +10 -11
  17. package/dist/architecture.d.cts +2 -2
  18. package/dist/architecture.d.ts +2 -2
  19. package/dist/architecture.js +1 -2
  20. package/dist/audio.cjs +4 -5
  21. package/dist/audio.d.cts +2 -2
  22. package/dist/audio.d.ts +2 -2
  23. package/dist/audio.js +1 -2
  24. package/dist/chat.cjs +11 -12
  25. package/dist/chat.d.cts +2 -2
  26. package/dist/chat.d.ts +2 -2
  27. package/dist/chat.js +1 -2
  28. package/dist/{chunk-6UOESA3L.js → chunk-2FJPWNXG.js} +1 -3
  29. package/dist/chunk-7MZPBCFV.js +1 -0
  30. package/dist/chunk-MVXD6WI6.cjs +22 -0
  31. package/dist/{chunk-DMJ3ZRN7.cjs → chunk-UO3H55R3.cjs} +5 -7
  32. package/dist/code.cjs +6 -7
  33. package/dist/code.d.cts +2 -2
  34. package/dist/code.d.ts +2 -2
  35. package/dist/code.js +1 -2
  36. package/dist/commerce.d.cts +2 -2
  37. package/dist/commerce.d.ts +2 -2
  38. package/dist/communications.cjs +4 -5
  39. package/dist/communications.d.cts +2 -2
  40. package/dist/communications.d.ts +2 -2
  41. package/dist/communications.js +1 -2
  42. package/dist/computer.cjs +3 -4
  43. package/dist/computer.d.cts +2 -2
  44. package/dist/computer.d.ts +2 -2
  45. package/dist/computer.js +1 -2
  46. package/dist/content.cjs +4 -5
  47. package/dist/content.d.cts +2 -2
  48. package/dist/content.d.ts +2 -2
  49. package/dist/content.js +1 -2
  50. package/dist/credentials.cjs +5 -5
  51. package/dist/credentials.d.cts +1 -82
  52. package/dist/credentials.d.ts +1 -82
  53. package/dist/credentials.js +1 -1
  54. package/dist/crm.cjs +2 -3
  55. package/dist/crm.d.cts +2 -2
  56. package/dist/crm.d.ts +2 -2
  57. package/dist/crm.js +1 -2
  58. package/dist/data.d.cts +2 -2
  59. package/dist/data.d.ts +2 -2
  60. package/dist/education.cjs +4 -5
  61. package/dist/education.d.cts +2 -2
  62. package/dist/education.d.ts +2 -2
  63. package/dist/education.js +1 -2
  64. package/dist/files.cjs +20 -21
  65. package/dist/files.d.cts +2 -2
  66. package/dist/files.d.ts +2 -2
  67. package/dist/files.js +1 -2
  68. package/dist/human-resources.d.cts +2 -2
  69. package/dist/human-resources.d.ts +2 -2
  70. package/dist/{index-BUb7OxrB.d.ts → index-Xx6L_pWk.d.cts} +1 -1
  71. package/dist/{index-DCyEAVSW.d.cts → index-Xx6L_pWk.d.ts} +1 -1
  72. package/dist/index.cjs +73 -74
  73. package/dist/index.d.cts +5 -5
  74. package/dist/index.d.ts +5 -5
  75. package/dist/index.js +4 -6
  76. package/dist/integrations.cjs +3 -4
  77. package/dist/integrations.d.cts +2 -2
  78. package/dist/integrations.d.ts +2 -2
  79. package/dist/integrations.js +1 -2
  80. package/dist/intelligence.cjs +6 -7
  81. package/dist/intelligence.d.cts +2 -2
  82. package/dist/intelligence.d.ts +2 -2
  83. package/dist/intelligence.js +1 -2
  84. package/dist/knowledge.cjs +42 -43
  85. package/dist/knowledge.d.cts +2 -2
  86. package/dist/knowledge.d.ts +2 -2
  87. package/dist/knowledge.js +1 -2
  88. package/dist/legal.cjs +6 -7
  89. package/dist/legal.d.cts +2 -2
  90. package/dist/legal.d.ts +2 -2
  91. package/dist/legal.js +1 -2
  92. package/dist/marketing.cjs +76 -77
  93. package/dist/marketing.d.cts +2 -2
  94. package/dist/marketing.d.ts +2 -2
  95. package/dist/marketing.js +1 -2
  96. package/dist/masterwork.cjs +32 -33
  97. package/dist/masterwork.d.cts +2 -2
  98. package/dist/masterwork.d.ts +2 -2
  99. package/dist/masterwork.js +1 -2
  100. package/dist/media.cjs +11 -12
  101. package/dist/media.d.cts +2 -2
  102. package/dist/media.d.ts +2 -2
  103. package/dist/media.js +1 -2
  104. package/dist/platform.cjs +3 -4
  105. package/dist/platform.d.cts +2 -2
  106. package/dist/platform.d.ts +2 -2
  107. package/dist/platform.js +1 -2
  108. package/dist/publish.cjs +7 -8
  109. package/dist/publish.d.cts +2 -2
  110. package/dist/publish.d.ts +2 -2
  111. package/dist/publish.js +1 -2
  112. package/dist/stream.cjs +10 -11
  113. package/dist/stream.d.cts +2 -2
  114. package/dist/stream.d.ts +2 -2
  115. package/dist/stream.js +1 -2
  116. package/dist/web.cjs +26 -27
  117. package/dist/web.d.cts +2 -2
  118. package/dist/web.d.ts +2 -2
  119. package/dist/web.js +1 -2
  120. package/dist/workflows.cjs +13 -14
  121. package/dist/workflows.d.cts +2 -2
  122. package/dist/workflows.d.ts +2 -2
  123. package/dist/workflows.js +1 -2
  124. package/package.json +4 -4
  125. package/dist/chunk-5WJLKYH6.cjs +0 -48
  126. package/dist/chunk-VTZKJMSY.js +0 -43
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { M as MatrxStreamEnvelope, b as MatrxNdjsonIssue, c as MatrxStreamEnvelopeObservation, d as MatrxSseFrame } from './index-DCyEAVSW.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-DCyEAVSW.cjs';
3
- import { CredentialsPort } from './credentials.cjs';
4
- export { API_KEY_PREFIX, CredentialsSetting, MATRX_HEADERS, MatrxCredential, MatrxCredentialKind, credentialToHeaders, toCredentialsPort } from './credentials.cjs';
1
+ import { M as MatrxStreamEnvelope, b as MatrxNdjsonIssue, c as MatrxStreamEnvelopeObservation, d as MatrxSseFrame } from './index-Xx6L_pWk.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-Xx6L_pWk.cjs';
3
+ import { CredentialsPort } from '@ai-matrx/auth/credentials';
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';
6
6
  export { AbortedError, ConnectTimeoutError, HeartbeatTimeoutError, HttpError, NetError, NetErrorCode, NetworkError, OfflineError, ResilientFetchResult, RetryOptions, StreamMonitorOptions, TotalTimeoutError, extractErrorMessage, isNetError, isTransportFailure, monitorStream, resilientFetch, toNetError, withRetry } from './net.cjs';
7
7
 
@@ -2066,4 +2066,4 @@ interface ProviderUsageReporter {
2066
2066
  }
2067
2067
  declare function createProviderUsageReporter(options: ProviderUsageReporterOptions): ProviderUsageReporter;
2068
2068
 
2069
- export { type ApiTargetLogContext, BackendApiError, type BackendApiErrorData, type BackendErrorCode, type BackendFailureExplanation, type CreateMatrxTransportOptions, type CreateWarmupOptions, CredentialsPort, type EndpointOverrideConfig, type ExecuteMatrxCallHooks, type ExecuteMatrxCallRequest, type FollowRuntimeOperationOptions, type FollowRuntimeOperationToEndOptions, type FollowRuntimeOperationToEndResult, type FollowServerJobOptions, type FollowUnavailableRejoinOptions, type JsonRequestOptions, MATRX_AI_API_VERSION_DEFAULT, MATRX_LIVE_STREAM_UNAVAILABLE, MATRX_RESUME_CONFLICT, MATRX_RUN_IN_PROGRESS, MATRX_UI_ONLY_BODY_FIELDS, type MatrxAiApiVersion, MatrxApiError, type MatrxCallError, type MatrxCallResult, type MatrxCallScope, type MatrxChatMessage, type MatrxClientSessionProvider, type MatrxConversationStart, type MatrxEphemeralConversation, type MatrxFollowedOutcome, type MatrxHttpErrorLike, type MatrxHttpMethod, type MatrxJsonObject, type MatrxJsonValue, type MatrxLiveRunRejoin, type MatrxLiveStreamUnavailable, type MatrxOperationEventsPage, type MatrxOperationFollowEvent, type MatrxOperationStatusResponse, type MatrxOperationsByLinkResponse, type MatrxProtocolDowngrade, type MatrxProtocolFallbackOptions, type MatrxQueryParams, type MatrxRequestInfo, type MatrxRunHandle, type MatrxRunPickup, type MatrxRunPickupSettlement, type MatrxRuntimeExecutionStatus, type MatrxRuntimeOperationEvent, type MatrxRuntimeOperationView, type MatrxStoredConversationContinue, type MatrxStoredConversationCreate, type MatrxStreamCallOptions, type MatrxStreamCursorStamp, type MatrxStreamIds, type MatrxStreamParse, type MatrxTransport, type MatrxTransportDiagnostics, type MatrxTransportRequest, type MatrxTransportTarget, OrganizationContextError, type OrganizationContextErrorCode, type OrganizationOperation, type ParseMatrxNdjsonResponseHooks, type ProviderSessionFailure, type ProviderSessionFailureVerdict, type ProviderSessionUsage, type ProviderSessionUsageReceipt, type ProviderUsageReporter, type ProviderUsageReporterOptions, type ProviderUsageSendResult, type QueryValue, RUN_OUTPUT_KINDS, RUN_STREAM_LIFETIME_BACKSTOP_MS, RUN_WAIT_KNOB_FEATURE, ResilientFetchOptions, type ResumeOrRejoinOptions, type ResumeOrRejoinOutcome, type RunOutputKind, type RunWait, type RunWaitKnobReader, type SendMatrxRequestOptions, type ServerJobFinalStatus, type ServerJobOutcome, type ServerJobPath, type ServerJobStatus, type ServerJobTarget, type SettleRunPickupOptions, type StreamReplayCursor, type StreamReplayCursorOptions, type StreamRequestOptions, StreamTransportError, TERMINAL_MATRX_RUNTIME_STATUSES, type UpstreamErrorPayload, V2_COVERED_AI_PATH_TEMPLATES, WARM_PATH, type WarmItem, type WarmReason, type Warmup, aiVersionPathOverrides, applyAiApiVersion, applyDesktopTargetToRequestBody, applyOrganizationContextHeader, assertOrganizationMatchesOperation, assertQueryOrganizationMatchesContext, bareStatusSentence, buildMatrxRequestBody, buildMatrxRequestUrl, buildQuery, buildSafeRequestLog, continueEphemeralConversationStart, continueStoredConversationStart, createMatrxTransport, createOrganizationOperation, createProviderUsageReporter, createStreamReplayCursor, createWarmup, describeBackendFailure, encodePathSegment, executeMatrxCall, extractMatrxErrorCode, extractMatrxErrorMessage, fetchWithMatrxProtocolFallback, followRuntimeOperationEvents, followRuntimeOperationToEnd, followServerJob, followUnavailableRejoin, followWorkflowRunEvents, getRuntimeOperationStatus, getRuntimeOperationsByLink, getUserMessage, honestTransportMessage, isBareTransportCode, isCoveredAiPath, isEmptyProviderUsage, isGenericUserMessage, isJobOutputKind, isLiveStreamUnavailable, isResumeConflict, isServerJobSettled, isStreamTransportLost, isV2Path, listRuntimeOperationEvents, logApiTarget, mintMatrxConversationId, newEphemeralConversationStart, newStoredConversationStart, normalizeMatrxError, openMatrxStream, parseCallApiError, parseHttpError, parseHttpErrorBody, parseMatrxNdjsonResponse, parsePersistedBackendError, parseStreamError, pickServerJobOperation, preconnectServer, providerSessionFailureBody, providerSessionUsageBody, readConversationOrganizationId, readLiveRunRejoin, readLiveRunRequestId, readLiveStreamUnavailable, readMatrxErrorCode, readMatrxErrorCodeFromMessage, readMatrxJsonResponse, readStreamCursor, redactUrlForRequestLog, rejoinRuntimeOperation, reportProviderSessionFailure, reportProviderSessionUsage, requestJson, requestStream, requireOrganizationContext, resetPreconnectedForTests, resolveEndpointPath, resolveRunWaitWith, resumeOrRejoin, runJobLabel, runOutputKindFromModalities, runWaitKnobKey, runWaitTimeoutMessage, runtimeOperationRejoinPath, sendMatrxRequest, serverJobRejoinHandle, settleRunPickup, shouldReportMatrxCallError, streamErrorText, toRunHandle, toV1FallbackUrl, toV2Path, unwrapUpstreamError, withRunOrganization };
2069
+ export { type ApiTargetLogContext, BackendApiError, type BackendApiErrorData, type BackendErrorCode, type BackendFailureExplanation, type CreateMatrxTransportOptions, type CreateWarmupOptions, type EndpointOverrideConfig, type ExecuteMatrxCallHooks, type ExecuteMatrxCallRequest, type FollowRuntimeOperationOptions, type FollowRuntimeOperationToEndOptions, type FollowRuntimeOperationToEndResult, type FollowServerJobOptions, type FollowUnavailableRejoinOptions, type JsonRequestOptions, MATRX_AI_API_VERSION_DEFAULT, MATRX_LIVE_STREAM_UNAVAILABLE, MATRX_RESUME_CONFLICT, MATRX_RUN_IN_PROGRESS, MATRX_UI_ONLY_BODY_FIELDS, type MatrxAiApiVersion, MatrxApiError, type MatrxCallError, type MatrxCallResult, type MatrxCallScope, type MatrxChatMessage, type MatrxClientSessionProvider, type MatrxConversationStart, type MatrxEphemeralConversation, type MatrxFollowedOutcome, type MatrxHttpErrorLike, type MatrxHttpMethod, type MatrxJsonObject, type MatrxJsonValue, type MatrxLiveRunRejoin, type MatrxLiveStreamUnavailable, type MatrxOperationEventsPage, type MatrxOperationFollowEvent, type MatrxOperationStatusResponse, type MatrxOperationsByLinkResponse, type MatrxProtocolDowngrade, type MatrxProtocolFallbackOptions, type MatrxQueryParams, type MatrxRequestInfo, type MatrxRunHandle, type MatrxRunPickup, type MatrxRunPickupSettlement, type MatrxRuntimeExecutionStatus, type MatrxRuntimeOperationEvent, type MatrxRuntimeOperationView, type MatrxStoredConversationContinue, type MatrxStoredConversationCreate, type MatrxStreamCallOptions, type MatrxStreamCursorStamp, type MatrxStreamIds, type MatrxStreamParse, type MatrxTransport, type MatrxTransportDiagnostics, type MatrxTransportRequest, type MatrxTransportTarget, OrganizationContextError, type OrganizationContextErrorCode, type OrganizationOperation, type ParseMatrxNdjsonResponseHooks, type ProviderSessionFailure, type ProviderSessionFailureVerdict, type ProviderSessionUsage, type ProviderSessionUsageReceipt, type ProviderUsageReporter, type ProviderUsageReporterOptions, type ProviderUsageSendResult, type QueryValue, RUN_OUTPUT_KINDS, RUN_STREAM_LIFETIME_BACKSTOP_MS, RUN_WAIT_KNOB_FEATURE, ResilientFetchOptions, type ResumeOrRejoinOptions, type ResumeOrRejoinOutcome, type RunOutputKind, type RunWait, type RunWaitKnobReader, type SendMatrxRequestOptions, type ServerJobFinalStatus, type ServerJobOutcome, type ServerJobPath, type ServerJobStatus, type ServerJobTarget, type SettleRunPickupOptions, type StreamReplayCursor, type StreamReplayCursorOptions, type StreamRequestOptions, StreamTransportError, TERMINAL_MATRX_RUNTIME_STATUSES, type UpstreamErrorPayload, V2_COVERED_AI_PATH_TEMPLATES, WARM_PATH, type WarmItem, type WarmReason, type Warmup, aiVersionPathOverrides, applyAiApiVersion, applyDesktopTargetToRequestBody, applyOrganizationContextHeader, assertOrganizationMatchesOperation, assertQueryOrganizationMatchesContext, bareStatusSentence, buildMatrxRequestBody, buildMatrxRequestUrl, buildQuery, buildSafeRequestLog, continueEphemeralConversationStart, continueStoredConversationStart, createMatrxTransport, createOrganizationOperation, createProviderUsageReporter, createStreamReplayCursor, createWarmup, describeBackendFailure, encodePathSegment, executeMatrxCall, extractMatrxErrorCode, extractMatrxErrorMessage, fetchWithMatrxProtocolFallback, followRuntimeOperationEvents, followRuntimeOperationToEnd, followServerJob, followUnavailableRejoin, followWorkflowRunEvents, getRuntimeOperationStatus, getRuntimeOperationsByLink, getUserMessage, honestTransportMessage, isBareTransportCode, isCoveredAiPath, isEmptyProviderUsage, isGenericUserMessage, isJobOutputKind, isLiveStreamUnavailable, isResumeConflict, isServerJobSettled, isStreamTransportLost, isV2Path, listRuntimeOperationEvents, logApiTarget, mintMatrxConversationId, newEphemeralConversationStart, newStoredConversationStart, normalizeMatrxError, openMatrxStream, parseCallApiError, parseHttpError, parseHttpErrorBody, parseMatrxNdjsonResponse, parsePersistedBackendError, parseStreamError, pickServerJobOperation, preconnectServer, providerSessionFailureBody, providerSessionUsageBody, readConversationOrganizationId, readLiveRunRejoin, readLiveRunRequestId, readLiveStreamUnavailable, readMatrxErrorCode, readMatrxErrorCodeFromMessage, readMatrxJsonResponse, readStreamCursor, redactUrlForRequestLog, rejoinRuntimeOperation, reportProviderSessionFailure, reportProviderSessionUsage, requestJson, requestStream, requireOrganizationContext, resetPreconnectedForTests, resolveEndpointPath, resolveRunWaitWith, resumeOrRejoin, runJobLabel, runOutputKindFromModalities, runWaitKnobKey, runWaitTimeoutMessage, runtimeOperationRejoinPath, sendMatrxRequest, serverJobRejoinHandle, settleRunPickup, shouldReportMatrxCallError, streamErrorText, toRunHandle, toV1FallbackUrl, toV2Path, unwrapUpstreamError, withRunOrganization };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { M as MatrxStreamEnvelope, b as MatrxNdjsonIssue, c as MatrxStreamEnvelopeObservation, d as MatrxSseFrame } from './index-BUb7OxrB.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-BUb7OxrB.js';
3
- import { CredentialsPort } from './credentials.js';
4
- export { API_KEY_PREFIX, CredentialsSetting, MATRX_HEADERS, MatrxCredential, MatrxCredentialKind, credentialToHeaders, toCredentialsPort } from './credentials.js';
1
+ import { M as MatrxStreamEnvelope, b as MatrxNdjsonIssue, c as MatrxStreamEnvelopeObservation, d as MatrxSseFrame } from './index-Xx6L_pWk.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-Xx6L_pWk.js';
3
+ import { CredentialsPort } from '@ai-matrx/auth/credentials';
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';
6
6
  export { AbortedError, ConnectTimeoutError, HeartbeatTimeoutError, HttpError, NetError, NetErrorCode, NetworkError, OfflineError, ResilientFetchResult, RetryOptions, StreamMonitorOptions, TotalTimeoutError, extractErrorMessage, isNetError, isTransportFailure, monitorStream, resilientFetch, toNetError, withRetry } from './net.js';
7
7
 
@@ -2066,4 +2066,4 @@ interface ProviderUsageReporter {
2066
2066
  }
2067
2067
  declare function createProviderUsageReporter(options: ProviderUsageReporterOptions): ProviderUsageReporter;
2068
2068
 
2069
- export { type ApiTargetLogContext, BackendApiError, type BackendApiErrorData, type BackendErrorCode, type BackendFailureExplanation, type CreateMatrxTransportOptions, type CreateWarmupOptions, CredentialsPort, type EndpointOverrideConfig, type ExecuteMatrxCallHooks, type ExecuteMatrxCallRequest, type FollowRuntimeOperationOptions, type FollowRuntimeOperationToEndOptions, type FollowRuntimeOperationToEndResult, type FollowServerJobOptions, type FollowUnavailableRejoinOptions, type JsonRequestOptions, MATRX_AI_API_VERSION_DEFAULT, MATRX_LIVE_STREAM_UNAVAILABLE, MATRX_RESUME_CONFLICT, MATRX_RUN_IN_PROGRESS, MATRX_UI_ONLY_BODY_FIELDS, type MatrxAiApiVersion, MatrxApiError, type MatrxCallError, type MatrxCallResult, type MatrxCallScope, type MatrxChatMessage, type MatrxClientSessionProvider, type MatrxConversationStart, type MatrxEphemeralConversation, type MatrxFollowedOutcome, type MatrxHttpErrorLike, type MatrxHttpMethod, type MatrxJsonObject, type MatrxJsonValue, type MatrxLiveRunRejoin, type MatrxLiveStreamUnavailable, type MatrxOperationEventsPage, type MatrxOperationFollowEvent, type MatrxOperationStatusResponse, type MatrxOperationsByLinkResponse, type MatrxProtocolDowngrade, type MatrxProtocolFallbackOptions, type MatrxQueryParams, type MatrxRequestInfo, type MatrxRunHandle, type MatrxRunPickup, type MatrxRunPickupSettlement, type MatrxRuntimeExecutionStatus, type MatrxRuntimeOperationEvent, type MatrxRuntimeOperationView, type MatrxStoredConversationContinue, type MatrxStoredConversationCreate, type MatrxStreamCallOptions, type MatrxStreamCursorStamp, type MatrxStreamIds, type MatrxStreamParse, type MatrxTransport, type MatrxTransportDiagnostics, type MatrxTransportRequest, type MatrxTransportTarget, OrganizationContextError, type OrganizationContextErrorCode, type OrganizationOperation, type ParseMatrxNdjsonResponseHooks, type ProviderSessionFailure, type ProviderSessionFailureVerdict, type ProviderSessionUsage, type ProviderSessionUsageReceipt, type ProviderUsageReporter, type ProviderUsageReporterOptions, type ProviderUsageSendResult, type QueryValue, RUN_OUTPUT_KINDS, RUN_STREAM_LIFETIME_BACKSTOP_MS, RUN_WAIT_KNOB_FEATURE, ResilientFetchOptions, type ResumeOrRejoinOptions, type ResumeOrRejoinOutcome, type RunOutputKind, type RunWait, type RunWaitKnobReader, type SendMatrxRequestOptions, type ServerJobFinalStatus, type ServerJobOutcome, type ServerJobPath, type ServerJobStatus, type ServerJobTarget, type SettleRunPickupOptions, type StreamReplayCursor, type StreamReplayCursorOptions, type StreamRequestOptions, StreamTransportError, TERMINAL_MATRX_RUNTIME_STATUSES, type UpstreamErrorPayload, V2_COVERED_AI_PATH_TEMPLATES, WARM_PATH, type WarmItem, type WarmReason, type Warmup, aiVersionPathOverrides, applyAiApiVersion, applyDesktopTargetToRequestBody, applyOrganizationContextHeader, assertOrganizationMatchesOperation, assertQueryOrganizationMatchesContext, bareStatusSentence, buildMatrxRequestBody, buildMatrxRequestUrl, buildQuery, buildSafeRequestLog, continueEphemeralConversationStart, continueStoredConversationStart, createMatrxTransport, createOrganizationOperation, createProviderUsageReporter, createStreamReplayCursor, createWarmup, describeBackendFailure, encodePathSegment, executeMatrxCall, extractMatrxErrorCode, extractMatrxErrorMessage, fetchWithMatrxProtocolFallback, followRuntimeOperationEvents, followRuntimeOperationToEnd, followServerJob, followUnavailableRejoin, followWorkflowRunEvents, getRuntimeOperationStatus, getRuntimeOperationsByLink, getUserMessage, honestTransportMessage, isBareTransportCode, isCoveredAiPath, isEmptyProviderUsage, isGenericUserMessage, isJobOutputKind, isLiveStreamUnavailable, isResumeConflict, isServerJobSettled, isStreamTransportLost, isV2Path, listRuntimeOperationEvents, logApiTarget, mintMatrxConversationId, newEphemeralConversationStart, newStoredConversationStart, normalizeMatrxError, openMatrxStream, parseCallApiError, parseHttpError, parseHttpErrorBody, parseMatrxNdjsonResponse, parsePersistedBackendError, parseStreamError, pickServerJobOperation, preconnectServer, providerSessionFailureBody, providerSessionUsageBody, readConversationOrganizationId, readLiveRunRejoin, readLiveRunRequestId, readLiveStreamUnavailable, readMatrxErrorCode, readMatrxErrorCodeFromMessage, readMatrxJsonResponse, readStreamCursor, redactUrlForRequestLog, rejoinRuntimeOperation, reportProviderSessionFailure, reportProviderSessionUsage, requestJson, requestStream, requireOrganizationContext, resetPreconnectedForTests, resolveEndpointPath, resolveRunWaitWith, resumeOrRejoin, runJobLabel, runOutputKindFromModalities, runWaitKnobKey, runWaitTimeoutMessage, runtimeOperationRejoinPath, sendMatrxRequest, serverJobRejoinHandle, settleRunPickup, shouldReportMatrxCallError, streamErrorText, toRunHandle, toV1FallbackUrl, toV2Path, unwrapUpstreamError, withRunOrganization };
2069
+ export { type ApiTargetLogContext, BackendApiError, type BackendApiErrorData, type BackendErrorCode, type BackendFailureExplanation, type CreateMatrxTransportOptions, type CreateWarmupOptions, type EndpointOverrideConfig, type ExecuteMatrxCallHooks, type ExecuteMatrxCallRequest, type FollowRuntimeOperationOptions, type FollowRuntimeOperationToEndOptions, type FollowRuntimeOperationToEndResult, type FollowServerJobOptions, type FollowUnavailableRejoinOptions, type JsonRequestOptions, MATRX_AI_API_VERSION_DEFAULT, MATRX_LIVE_STREAM_UNAVAILABLE, MATRX_RESUME_CONFLICT, MATRX_RUN_IN_PROGRESS, MATRX_UI_ONLY_BODY_FIELDS, type MatrxAiApiVersion, MatrxApiError, type MatrxCallError, type MatrxCallResult, type MatrxCallScope, type MatrxChatMessage, type MatrxClientSessionProvider, type MatrxConversationStart, type MatrxEphemeralConversation, type MatrxFollowedOutcome, type MatrxHttpErrorLike, type MatrxHttpMethod, type MatrxJsonObject, type MatrxJsonValue, type MatrxLiveRunRejoin, type MatrxLiveStreamUnavailable, type MatrxOperationEventsPage, type MatrxOperationFollowEvent, type MatrxOperationStatusResponse, type MatrxOperationsByLinkResponse, type MatrxProtocolDowngrade, type MatrxProtocolFallbackOptions, type MatrxQueryParams, type MatrxRequestInfo, type MatrxRunHandle, type MatrxRunPickup, type MatrxRunPickupSettlement, type MatrxRuntimeExecutionStatus, type MatrxRuntimeOperationEvent, type MatrxRuntimeOperationView, type MatrxStoredConversationContinue, type MatrxStoredConversationCreate, type MatrxStreamCallOptions, type MatrxStreamCursorStamp, type MatrxStreamIds, type MatrxStreamParse, type MatrxTransport, type MatrxTransportDiagnostics, type MatrxTransportRequest, type MatrxTransportTarget, OrganizationContextError, type OrganizationContextErrorCode, type OrganizationOperation, type ParseMatrxNdjsonResponseHooks, type ProviderSessionFailure, type ProviderSessionFailureVerdict, type ProviderSessionUsage, type ProviderSessionUsageReceipt, type ProviderUsageReporter, type ProviderUsageReporterOptions, type ProviderUsageSendResult, type QueryValue, RUN_OUTPUT_KINDS, RUN_STREAM_LIFETIME_BACKSTOP_MS, RUN_WAIT_KNOB_FEATURE, ResilientFetchOptions, type ResumeOrRejoinOptions, type ResumeOrRejoinOutcome, type RunOutputKind, type RunWait, type RunWaitKnobReader, type SendMatrxRequestOptions, type ServerJobFinalStatus, type ServerJobOutcome, type ServerJobPath, type ServerJobStatus, type ServerJobTarget, type SettleRunPickupOptions, type StreamReplayCursor, type StreamReplayCursorOptions, type StreamRequestOptions, StreamTransportError, TERMINAL_MATRX_RUNTIME_STATUSES, type UpstreamErrorPayload, V2_COVERED_AI_PATH_TEMPLATES, WARM_PATH, type WarmItem, type WarmReason, type Warmup, aiVersionPathOverrides, applyAiApiVersion, applyDesktopTargetToRequestBody, applyOrganizationContextHeader, assertOrganizationMatchesOperation, assertQueryOrganizationMatchesContext, bareStatusSentence, buildMatrxRequestBody, buildMatrxRequestUrl, buildQuery, buildSafeRequestLog, continueEphemeralConversationStart, continueStoredConversationStart, createMatrxTransport, createOrganizationOperation, createProviderUsageReporter, createStreamReplayCursor, createWarmup, describeBackendFailure, encodePathSegment, executeMatrxCall, extractMatrxErrorCode, extractMatrxErrorMessage, fetchWithMatrxProtocolFallback, followRuntimeOperationEvents, followRuntimeOperationToEnd, followServerJob, followUnavailableRejoin, followWorkflowRunEvents, getRuntimeOperationStatus, getRuntimeOperationsByLink, getUserMessage, honestTransportMessage, isBareTransportCode, isCoveredAiPath, isEmptyProviderUsage, isGenericUserMessage, isJobOutputKind, isLiveStreamUnavailable, isResumeConflict, isServerJobSettled, isStreamTransportLost, isV2Path, listRuntimeOperationEvents, logApiTarget, mintMatrxConversationId, newEphemeralConversationStart, newStoredConversationStart, normalizeMatrxError, openMatrxStream, parseCallApiError, parseHttpError, parseHttpErrorBody, parseMatrxNdjsonResponse, parsePersistedBackendError, parseStreamError, pickServerJobOperation, preconnectServer, providerSessionFailureBody, providerSessionUsageBody, readConversationOrganizationId, readLiveRunRejoin, readLiveRunRequestId, readLiveStreamUnavailable, readMatrxErrorCode, readMatrxErrorCodeFromMessage, readMatrxJsonResponse, readStreamCursor, redactUrlForRequestLog, rejoinRuntimeOperation, reportProviderSessionFailure, reportProviderSessionUsage, requestJson, requestStream, requireOrganizationContext, resetPreconnectedForTests, resolveEndpointPath, resolveRunWaitWith, resumeOrRejoin, runJobLabel, runOutputKindFromModalities, runWaitKnobKey, runWaitTimeoutMessage, runtimeOperationRejoinPath, sendMatrxRequest, serverJobRejoinHandle, settleRunPickup, shouldReportMatrxCallError, streamErrorText, toRunHandle, toV1FallbackUrl, toV2Path, unwrapUpstreamError, withRunOrganization };
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  export { monitorStream } from './chunk-YTEOFGFC.js';
2
- import { OrganizationContextError, BackendApiError, parseHttpError, MatrxApiError, applyOrganizationContextHeader, extractMatrxErrorCode, extractMatrxErrorMessage, readMatrxNdjsonStream, readMatrxSseStream, requireOrganizationContext, StreamTransportError } from './chunk-6UOESA3L.js';
3
- 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-6UOESA3L.js';
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-2FJPWNXG.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-2FJPWNXG.js';
4
5
  import { resilientFetch, isNetError, extractErrorMessage } from './chunk-KIEAFMKB.js';
5
6
  export { AbortedError, ConnectTimeoutError, HeartbeatTimeoutError, HttpError, NetError, NetworkError, OfflineError, TotalTimeoutError, extractErrorMessage, isNetError, isTransportFailure, resilientFetch, toNetError, withRetry } from './chunk-KIEAFMKB.js';
6
- import { credentialToHeaders } from './chunk-VTZKJMSY.js';
7
- export { API_KEY_PREFIX, MATRX_HEADERS, credentialToHeaders, toCredentialsPort } from './chunk-VTZKJMSY.js';
7
+ import { credentialToHeaders } from '@ai-matrx/auth/credentials';
8
8
  import { formatDurationSeconds } from '@ai-matrx/kit/format';
9
9
 
10
10
  // src/core/protocol.ts
@@ -330,8 +330,6 @@ async function readMatrxJsonResponse(response) {
330
330
  if (response.status === 204) return null;
331
331
  return await response.json();
332
332
  }
333
-
334
- // src/core/client.ts
335
333
  function classifyStatus(status) {
336
334
  return status >= 400 && status < 500 ? "validation_error" : "http_error";
337
335
  }
@@ -1,8 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkDMJ3ZRN7_cjs = require('./chunk-DMJ3ZRN7.cjs');
3
+ var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
- require('./chunk-5WJLKYH6.cjs');
6
5
 
7
6
  // src/generated/integrations.ts
8
7
  var $ebayAccountDeletionChallenge = { m: "GET", p: "/ebay/account-deletion", d: "aidream", a: "guest", o: "optional", n: "integrations.ebay_account_deletion_challenge" };
@@ -3563,11 +3562,11 @@ function bingIntegrationsDisconnect(api, args, options) {
3563
3562
  }
3564
3563
  var $importNotionZip = { m: "POST", p: "/notion-import/zip", d: "aidream", a: "user", o: "required", s: "ndjson", n: "integrations.import_notion_zip" };
3565
3564
  function importNotionZip(api, args, options) {
3566
- return chunkDMJ3ZRN7_cjs.openStream(api, $importNotionZip, args, options);
3565
+ return chunkUO3H55R3_cjs.openStream(api, $importNotionZip, args, options);
3567
3566
  }
3568
3567
  var $importNotionConnected = { m: "POST", p: "/notion-import/connected", d: "aidream", a: "user", o: "required", s: "ndjson", n: "integrations.import_notion_connected" };
3569
3568
  function importNotionConnected(api, args, options) {
3570
- return chunkDMJ3ZRN7_cjs.openStream(api, $importNotionConnected, args, options);
3569
+ return chunkUO3H55R3_cjs.openStream(api, $importNotionConnected, args, options);
3571
3570
  }
3572
3571
  var TABLE = {
3573
3572
  "GET /ebay/account-deletion": $ebayAccountDeletionChallenge,
@@ -1,6 +1,6 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DCyEAVSW.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.cjs';
2
2
  import { JsonValue, CalendarLocalRefreshResult, CalendarCreateResult, CalendarEventAttendee, StorageImportResult } from './schemas.cjs';
3
- import './credentials.cjs';
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.
@@ -1,6 +1,6 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BUb7OxrB.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.js';
2
2
  import { JsonValue, CalendarLocalRefreshResult, CalendarCreateResult, CalendarEventAttendee, StorageImportResult } from './schemas.js';
3
- import './credentials.js';
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.
@@ -1,6 +1,5 @@
1
- import { openStream } from './chunk-6UOESA3L.js';
1
+ import { openStream } from './chunk-2FJPWNXG.js';
2
2
  import './chunk-KIEAFMKB.js';
3
- import './chunk-VTZKJMSY.js';
4
3
 
5
4
  // src/generated/integrations.ts
6
5
  var $ebayAccountDeletionChallenge = { m: "GET", p: "/ebay/account-deletion", d: "aidream", a: "guest", o: "optional", n: "integrations.ebay_account_deletion_challenge" };
@@ -1,8 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkDMJ3ZRN7_cjs = require('./chunk-DMJ3ZRN7.cjs');
3
+ var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
- require('./chunk-5WJLKYH6.cjs');
6
5
 
7
6
  // src/intelligence/keys.generated.ts
8
7
  var MANDATE_KEYS_META = {
@@ -705,7 +704,7 @@ function getAgentCalibration(api, args, options) {
705
704
  }
706
705
  var $createDecision = { m: "POST", p: "/ai/decisions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "intelligence.create_decision" };
707
706
  function createDecision(api, args, options) {
708
- return chunkDMJ3ZRN7_cjs.openStream(api, $createDecision, args, options);
707
+ return chunkUO3H55R3_cjs.openStream(api, $createDecision, args, options);
709
708
  }
710
709
  var $readDecision = { m: "GET", p: "/ai/decisions/{execution_id}", d: "aidream", a: "guest", o: "required", n: "intelligence.read_decision" };
711
710
  function readDecision(api, args, options) {
@@ -849,11 +848,11 @@ function triggerDrain(api, args, options) {
849
848
  }
850
849
  var $runInitial = { m: "POST", p: "/agent-iteration/run-initial", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "intelligence.run_initial" };
851
850
  function runInitial(api, args, options) {
852
- return chunkDMJ3ZRN7_cjs.openStream(api, $runInitial, args, options);
851
+ return chunkUO3H55R3_cjs.openStream(api, $runInitial, args, options);
853
852
  }
854
853
  var $runFeedback = { m: "POST", p: "/agent-iteration/feedback", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "intelligence.run_feedback" };
855
854
  function runFeedback(api, args, options) {
856
- return chunkDMJ3ZRN7_cjs.openStream(api, $runFeedback, args, options);
855
+ return chunkUO3H55R3_cjs.openStream(api, $runFeedback, args, options);
857
856
  }
858
857
  var $commitChoice = { m: "POST", p: "/agent-iteration/commit-choice", d: "aidream", a: "guest", o: "required", n: "intelligence.commit_choice" };
859
858
  function commitChoice(api, args, options) {
@@ -1009,7 +1008,7 @@ function getMandateRun(api, args, options) {
1009
1008
  }
1010
1009
  var $replayMandateRun = { m: "POST", p: "/mandates/runs/{conversation_id}/replay", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "intelligence.replay_mandate_run" };
1011
1010
  function replayMandateRun(api, args, options) {
1012
- return chunkDMJ3ZRN7_cjs.openStream(api, $replayMandateRun, args, options);
1011
+ return chunkUO3H55R3_cjs.openStream(api, $replayMandateRun, args, options);
1013
1012
  }
1014
1013
  var $getMandateRunResult = { m: "GET", p: "/mandates/runs/{request_id}/result", d: "aidream", a: "guest", o: "optional", n: "intelligence.get_mandate_run_result" };
1015
1014
  function getMandateRunResult(api, args, options) {
@@ -1017,7 +1016,7 @@ function getMandateRunResult(api, args, options) {
1017
1016
  }
1018
1017
  var $answerMandateRun = { m: "POST", p: "/mandates/runs/{request_id}/answer", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "intelligence.answer_mandate_run" };
1019
1018
  function answerMandateRun(api, args, options) {
1020
- return chunkDMJ3ZRN7_cjs.openStream(api, $answerMandateRun, args, options);
1019
+ return chunkUO3H55R3_cjs.openStream(api, $answerMandateRun, args, options);
1021
1020
  }
1022
1021
  var $getMandateRuns = { m: "GET", p: "/mandates/{mandate_key}/runs", d: "aidream", a: "guest", o: "optional", n: "intelligence.get_mandate_runs" };
1023
1022
  function getMandateRuns(api, args, options) {
@@ -1,6 +1,6 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DCyEAVSW.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.cjs';
2
2
  import { JsonValue, MandateTestHolder } from './schemas.cjs';
3
- import './credentials.cjs';
3
+ import '@ai-matrx/auth/credentials';
4
4
 
5
5
  /**
6
6
  * GENERATED — DO NOT EDIT. Regenerate with:
@@ -1,6 +1,6 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BUb7OxrB.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.js';
2
2
  import { JsonValue, MandateTestHolder } from './schemas.js';
3
- import './credentials.js';
3
+ import '@ai-matrx/auth/credentials';
4
4
 
5
5
  /**
6
6
  * GENERATED — DO NOT EDIT. Regenerate with:
@@ -1,6 +1,5 @@
1
- import { openStream } from './chunk-6UOESA3L.js';
1
+ import { openStream } from './chunk-2FJPWNXG.js';
2
2
  import './chunk-KIEAFMKB.js';
3
- import './chunk-VTZKJMSY.js';
4
3
 
5
4
  // src/intelligence/keys.generated.ts
6
5
  var MANDATE_KEYS_META = {
@@ -1,8 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkDMJ3ZRN7_cjs = require('./chunk-DMJ3ZRN7.cjs');
3
+ var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
- require('./chunk-5WJLKYH6.cjs');
6
5
 
7
6
  // src/generated/knowledge.ts
8
7
  var $getSetupFacts = { m: "GET", p: "/news/setup/facts", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_setup_facts" };
@@ -11,7 +10,7 @@ function getSetupFacts(api, args, options) {
11
10
  }
12
11
  var $proposeSetup = { m: "POST", p: "/news/setup/propose", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.propose_setup" };
13
12
  function proposeSetup(api, args, options) {
14
- return chunkDMJ3ZRN7_cjs.openStream(api, $proposeSetup, args, options);
13
+ return chunkUO3H55R3_cjs.openStream(api, $proposeSetup, args, options);
15
14
  }
16
15
  var $resumeCostPause = { m: "POST", p: "/news/cost/resume", d: "aidream", a: "guest", o: "required", n: "knowledge.resume_cost_pause" };
17
16
  function resumeCostPause(api, args, options) {
@@ -35,7 +34,7 @@ function processYoutubeVideo(api, args, options) {
35
34
  }
36
35
  var $streamYoutubeVideoAnalysis = { m: "POST", p: "/research/youtube/videos/{video_id}/process/stream", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.stream_youtube_video_analysis" };
37
36
  function streamYoutubeVideoAnalysis(api, args, options) {
38
- return chunkDMJ3ZRN7_cjs.openStream(api, $streamYoutubeVideoAnalysis, args, options);
37
+ return chunkUO3H55R3_cjs.openStream(api, $streamYoutubeVideoAnalysis, args, options);
39
38
  }
40
39
  var $enrichYoutubeVideoComments = { m: "POST", p: "/research/youtube/videos/{video_id}/comments", d: "aidream", a: "guest", o: "required", n: "knowledge.enrich_youtube_video_comments" };
41
40
  function enrichYoutubeVideoComments(api, args, options) {
@@ -71,7 +70,7 @@ function findSourcesByUrl(api, args, options) {
71
70
  }
72
71
  var $suggestSetup = { m: "POST", p: "/research/suggest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.suggest_setup" };
73
72
  function suggestSetup(api, args, options) {
74
- return chunkDMJ3ZRN7_cjs.openStream(api, $suggestSetup, args, options);
73
+ return chunkUO3H55R3_cjs.openStream(api, $suggestSetup, args, options);
75
74
  }
76
75
  var $listTopics = { m: "GET", p: "/research/projects/{project_id}/topics", d: "aidream", a: "guest", o: "optional", n: "knowledge.list_topics" };
77
76
  function listTopics(api, args, options) {
@@ -127,15 +126,15 @@ function reorderKeywords(api, args, options) {
127
126
  }
128
127
  var $triggerSearch = { m: "POST", p: "/research/topics/{topic_id}/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.trigger_search" };
129
128
  function triggerSearch(api, args, options) {
130
- return chunkDMJ3ZRN7_cjs.openStream(api, $triggerSearch, args, options);
129
+ return chunkUO3H55R3_cjs.openStream(api, $triggerSearch, args, options);
131
130
  }
132
131
  var $triggerScrape = { m: "POST", p: "/research/topics/{topic_id}/scrape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.trigger_scrape" };
133
132
  function triggerScrape(api, args, options) {
134
- return chunkDMJ3ZRN7_cjs.openStream(api, $triggerScrape, args, options);
133
+ return chunkUO3H55R3_cjs.openStream(api, $triggerScrape, args, options);
135
134
  }
136
135
  var $rescrapeSource = { m: "POST", p: "/research/topics/{topic_id}/sources/{source_id}/rescrape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.rescrape_source" };
137
136
  function rescrapeSource(api, args, options) {
138
- return chunkDMJ3ZRN7_cjs.openStream(api, $rescrapeSource, args, options);
137
+ return chunkUO3H55R3_cjs.openStream(api, $rescrapeSource, args, options);
139
138
  }
140
139
  var $getSources = { m: "GET", p: "/research/topics/{topic_id}/sources", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_sources" };
141
140
  function getSources(api, args, options) {
@@ -167,27 +166,27 @@ function editContent(api, args, options) {
167
166
  }
168
167
  var $analyzeSource = { m: "POST", p: "/research/topics/{topic_id}/sources/{source_id}/analyze", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.analyze_source" };
169
168
  function analyzeSource(api, args, options) {
170
- return chunkDMJ3ZRN7_cjs.openStream(api, $analyzeSource, args, options);
169
+ return chunkUO3H55R3_cjs.openStream(api, $analyzeSource, args, options);
171
170
  }
172
171
  var $retryAnalysis = { m: "POST", p: "/research/topics/{topic_id}/analyses/{analysis_id}/retry", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.retry_analysis" };
173
172
  function retryAnalysis(api, args, options) {
174
- return chunkDMJ3ZRN7_cjs.openStream(api, $retryAnalysis, args, options);
173
+ return chunkUO3H55R3_cjs.openStream(api, $retryAnalysis, args, options);
175
174
  }
176
175
  var $retryAllFailedAnalyses = { m: "POST", p: "/research/topics/{topic_id}/retry-failed", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.retry_all_failed_analyses" };
177
176
  function retryAllFailedAnalyses(api, args, options) {
178
- return chunkDMJ3ZRN7_cjs.openStream(api, $retryAllFailedAnalyses, args, options);
177
+ return chunkUO3H55R3_cjs.openStream(api, $retryAllFailedAnalyses, args, options);
179
178
  }
180
179
  var $analyzeAll = { m: "POST", p: "/research/topics/{topic_id}/analyze-all", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.analyze_all" };
181
180
  function analyzeAll(api, args, options) {
182
- return chunkDMJ3ZRN7_cjs.openStream(api, $analyzeAll, args, options);
181
+ return chunkUO3H55R3_cjs.openStream(api, $analyzeAll, args, options);
183
182
  }
184
183
  var $rankSourceAuthority = { m: "POST", p: "/research/topics/{topic_id}/sources/rank-authority", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.rank_source_authority" };
185
184
  function rankSourceAuthority(api, args, options) {
186
- return chunkDMJ3ZRN7_cjs.openStream(api, $rankSourceAuthority, args, options);
185
+ return chunkUO3H55R3_cjs.openStream(api, $rankSourceAuthority, args, options);
187
186
  }
188
187
  var $generateTagSuggestions = { m: "POST", p: "/research/topics/{topic_id}/generate-tag-suggestions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.generate_tag_suggestions" };
189
188
  function generateTagSuggestions(api, args, options) {
190
- return chunkDMJ3ZRN7_cjs.openStream(api, $generateTagSuggestions, args, options);
189
+ return chunkUO3H55R3_cjs.openStream(api, $generateTagSuggestions, args, options);
191
190
  }
192
191
  var $applyTagSuggestionsRoute = { m: "POST", p: "/research/topics/{topic_id}/apply-tag-suggestions", d: "aidream", a: "guest", o: "required", n: "knowledge.apply_tag_suggestions_route" };
193
192
  function applyTagSuggestionsRoute(api, args, options) {
@@ -211,19 +210,19 @@ function promoteTopicExperts(api, args, options) {
211
210
  }
212
211
  var $scoreSources = { m: "POST", p: "/research/topics/{topic_id}/score-sources", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.score_sources" };
213
212
  function scoreSources(api, args, options) {
214
- return chunkDMJ3ZRN7_cjs.openStream(api, $scoreSources, args, options);
213
+ return chunkUO3H55R3_cjs.openStream(api, $scoreSources, args, options);
215
214
  }
216
215
  var $runAutoTag = { m: "POST", p: "/research/topics/{topic_id}/auto-tag", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.run_auto_tag" };
217
216
  function runAutoTag(api, args, options) {
218
- return chunkDMJ3ZRN7_cjs.openStream(api, $runAutoTag, args, options);
217
+ return chunkUO3H55R3_cjs.openStream(api, $runAutoTag, args, options);
219
218
  }
220
219
  var $runAutoConsolidate = { m: "POST", p: "/research/topics/{topic_id}/auto-consolidate", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.run_auto_consolidate" };
221
220
  function runAutoConsolidate(api, args, options) {
222
- return chunkDMJ3ZRN7_cjs.openStream(api, $runAutoConsolidate, args, options);
221
+ return chunkUO3H55R3_cjs.openStream(api, $runAutoConsolidate, args, options);
223
222
  }
224
223
  var $synthesize = { m: "POST", p: "/research/topics/{topic_id}/synthesize", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.synthesize" };
225
224
  function synthesize(api, args, options) {
226
- return chunkDMJ3ZRN7_cjs.openStream(api, $synthesize, args, options);
225
+ return chunkUO3H55R3_cjs.openStream(api, $synthesize, args, options);
227
226
  }
228
227
  var $getSynthesis = { m: "GET", p: "/research/topics/{topic_id}/synthesis", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_synthesis" };
229
228
  function getSynthesis(api, args, options) {
@@ -243,7 +242,7 @@ function setTopicRefreshSchedule(api, args, options) {
243
242
  }
244
243
  var $runPipeline = { m: "POST", p: "/research/topics/{topic_id}/run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.run_pipeline" };
245
244
  function runPipeline(api, args, options) {
246
- return chunkDMJ3ZRN7_cjs.openStream(api, $runPipeline, args, options);
245
+ return chunkUO3H55R3_cjs.openStream(api, $runPipeline, args, options);
247
246
  }
248
247
  var $getTags = { m: "GET", p: "/research/topics/{topic_id}/tags", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_tags" };
249
248
  function getTags(api, args, options) {
@@ -267,11 +266,11 @@ function assignTagsToSource(api, args, options) {
267
266
  }
268
267
  var $consolidateTag = { m: "POST", p: "/research/topics/{topic_id}/tags/{tag_id}/consolidate", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.consolidate_tag" };
269
268
  function consolidateTag(api, args, options) {
270
- return chunkDMJ3ZRN7_cjs.openStream(api, $consolidateTag, args, options);
269
+ return chunkUO3H55R3_cjs.openStream(api, $consolidateTag, args, options);
271
270
  }
272
271
  var $suggestTags = { m: "POST", p: "/research/topics/{topic_id}/sources/{source_id}/suggest-tags", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.suggest_tags" };
273
272
  function suggestTags(api, args, options) {
274
- return chunkDMJ3ZRN7_cjs.openStream(api, $suggestTags, args, options);
273
+ return chunkUO3H55R3_cjs.openStream(api, $suggestTags, args, options);
275
274
  }
276
275
  var $getDocument = { m: "GET", p: "/research/topics/{topic_id}/document", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_document" };
277
276
  function getDocument(api, args, options) {
@@ -279,7 +278,7 @@ function getDocument(api, args, options) {
279
278
  }
280
279
  var $generateDocument = { m: "POST", p: "/research/topics/{topic_id}/document", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.generate_document" };
281
280
  function generateDocument(api, args, options) {
282
- return chunkDMJ3ZRN7_cjs.openStream(api, $generateDocument, args, options);
281
+ return chunkUO3H55R3_cjs.openStream(api, $generateDocument, args, options);
283
282
  }
284
283
  var $getDocumentVersions = { m: "GET", p: "/research/topics/{topic_id}/document/versions", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_document_versions" };
285
284
  function getDocumentVersions(api, args, options) {
@@ -335,7 +334,7 @@ function exportDocument(api, args, options) {
335
334
  }
336
335
  var $runExtractionStream = { m: "POST", p: "/page-extraction/runs/stream", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.run_extraction_stream" };
337
336
  function runExtractionStream(api, args, options) {
338
- return chunkDMJ3ZRN7_cjs.openStream(api, $runExtractionStream, args, options);
337
+ return chunkUO3H55R3_cjs.openStream(api, $runExtractionStream, args, options);
339
338
  }
340
339
  var $retryPageRun = { m: "POST", p: "/page-extraction/page-runs/{page_run_id}/retry", d: "aidream", a: "guest", o: "required", n: "knowledge.retry_page_run" };
341
340
  function retryPageRun(api, args, options) {
@@ -347,11 +346,11 @@ function cancelRun(api, args, options) {
347
346
  }
348
347
  var $indexRunIntoRag = { m: "POST", p: "/page-extraction/runs/{run_id}/index", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.index_run_into_rag" };
349
348
  function indexRunIntoRag(api, args, options) {
350
- return chunkDMJ3ZRN7_cjs.openStream(api, $indexRunIntoRag, args, options);
349
+ return chunkUO3H55R3_cjs.openStream(api, $indexRunIntoRag, args, options);
351
350
  }
352
351
  var $knowledgeSearch = { m: "POST", p: "/knowledge/search", d: "aidream", a: "guest", o: "optional", s: "ndjson", n: "knowledge.knowledge_search" };
353
352
  function knowledgeSearch(api, args, options) {
354
- return chunkDMJ3ZRN7_cjs.openStream(api, $knowledgeSearch, args, options);
353
+ return chunkUO3H55R3_cjs.openStream(api, $knowledgeSearch, args, options);
355
354
  }
356
355
  var $knowledgeView = { m: "POST", p: "/knowledge/view", d: "aidream", a: "guest", o: "required", n: "knowledge.knowledge_view" };
357
356
  function knowledgeView(api, args, options) {
@@ -359,27 +358,27 @@ function knowledgeView(api, args, options) {
359
358
  }
360
359
  var $ragSearchEndpoint = { m: "POST", p: "/rag/search", d: "aidream", a: "guest", o: "optional", s: "ndjson", n: "knowledge.rag_search_endpoint" };
361
360
  function ragSearchEndpoint(api, args, options) {
362
- return chunkDMJ3ZRN7_cjs.openStream(api, $ragSearchEndpoint, args, options);
361
+ return chunkUO3H55R3_cjs.openStream(api, $ragSearchEndpoint, args, options);
363
362
  }
364
363
  var $ragSearchStream = { m: "POST", p: "/rag/search/stream", d: "aidream", a: "guest", o: "optional", s: "ndjson", n: "knowledge.rag_search_stream" };
365
364
  function ragSearchStream(api, args, options) {
366
- return chunkDMJ3ZRN7_cjs.openStream(api, $ragSearchStream, args, options);
365
+ return chunkUO3H55R3_cjs.openStream(api, $ragSearchStream, args, options);
367
366
  }
368
367
  var $ragIngestEndpoint = { m: "POST", p: "/rag/ingest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.rag_ingest_endpoint" };
369
368
  function ragIngestEndpoint(api, args, options) {
370
- return chunkDMJ3ZRN7_cjs.openStream(api, $ragIngestEndpoint, args, options);
369
+ return chunkUO3H55R3_cjs.openStream(api, $ragIngestEndpoint, args, options);
371
370
  }
372
371
  var $ragIngestConversation = { m: "POST", p: "/rag/conversations/{conversation_id}/ingest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.rag_ingest_conversation" };
373
372
  function ragIngestConversation(api, args, options) {
374
- return chunkDMJ3ZRN7_cjs.openStream(api, $ragIngestConversation, args, options);
373
+ return chunkUO3H55R3_cjs.openStream(api, $ragIngestConversation, args, options);
375
374
  }
376
375
  var $ragIngestStream = { m: "POST", p: "/rag/ingest/stream", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.rag_ingest_stream" };
377
376
  function ragIngestStream(api, args, options) {
378
- return chunkDMJ3ZRN7_cjs.openStream(api, $ragIngestStream, args, options);
377
+ return chunkUO3H55R3_cjs.openStream(api, $ragIngestStream, args, options);
379
378
  }
380
379
  var $ragVerifyEndpoint = { m: "POST", p: "/rag/verify", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.rag_verify_endpoint" };
381
380
  function ragVerifyEndpoint(api, args, options) {
382
- return chunkDMJ3ZRN7_cjs.openStream(api, $ragVerifyEndpoint, args, options);
381
+ return chunkUO3H55R3_cjs.openStream(api, $ragVerifyEndpoint, args, options);
383
382
  }
384
383
  var $ragHealth = { m: "GET", p: "/rag/health", d: "aidream", a: "guest", o: "optional", n: "knowledge.rag_health" };
385
384
  function ragHealth(api, args, options) {
@@ -439,7 +438,7 @@ function unsubscribeLibraryEp(api, args, options) {
439
438
  }
440
439
  var $ingestLibraryStoreDocument = { m: "POST", p: "/rag/library/stores/{store_id}/ingest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.ingest_library_store_document" };
441
440
  function ingestLibraryStoreDocument(api, args, options) {
442
- return chunkDMJ3ZRN7_cjs.openStream(api, $ingestLibraryStoreDocument, args, options);
441
+ return chunkUO3H55R3_cjs.openStream(api, $ingestLibraryStoreDocument, args, options);
443
442
  }
444
443
  var $listLibraryDocuments = { m: "GET", p: "/rag/library", d: "aidream", a: "guest", o: "optional", n: "knowledge.list_library_documents" };
445
444
  function listLibraryDocuments(api, args, options) {
@@ -475,7 +474,7 @@ function bulkDeleteLibraryDocuments(api, args, options) {
475
474
  }
476
475
  var $reprocessLibraryDocument = { m: "POST", p: "/rag/library/{processed_document_id}/reprocess", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.reprocess_library_document" };
477
476
  function reprocessLibraryDocument(api, args, options) {
478
- return chunkDMJ3ZRN7_cjs.openStream(api, $reprocessLibraryDocument, args, options);
477
+ return chunkUO3H55R3_cjs.openStream(api, $reprocessLibraryDocument, args, options);
479
478
  }
480
479
  var $testSearchLibraryDocument = { m: "POST", p: "/rag/library/{processed_document_id}/test-search", d: "aidream", a: "guest", o: "optional", n: "knowledge.test_search_library_document" };
481
480
  function testSearchLibraryDocument(api, args, options) {
@@ -503,23 +502,23 @@ function getLibraryStagesStatus(api, args, options) {
503
502
  }
504
503
  var $stageExtract = { m: "POST", p: "/rag/library/{processed_document_id}/extract", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.stage_extract" };
505
504
  function stageExtract(api, args, options) {
506
- return chunkDMJ3ZRN7_cjs.openStream(api, $stageExtract, args, options);
505
+ return chunkUO3H55R3_cjs.openStream(api, $stageExtract, args, options);
507
506
  }
508
507
  var $stageClean = { m: "POST", p: "/rag/library/{processed_document_id}/clean", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.stage_clean" };
509
508
  function stageClean(api, args, options) {
510
- return chunkDMJ3ZRN7_cjs.openStream(api, $stageClean, args, options);
509
+ return chunkUO3H55R3_cjs.openStream(api, $stageClean, args, options);
511
510
  }
512
511
  var $stageChunk = { m: "POST", p: "/rag/library/{processed_document_id}/chunk", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.stage_chunk" };
513
512
  function stageChunk(api, args, options) {
514
- return chunkDMJ3ZRN7_cjs.openStream(api, $stageChunk, args, options);
513
+ return chunkUO3H55R3_cjs.openStream(api, $stageChunk, args, options);
515
514
  }
516
515
  var $stageEmbed = { m: "POST", p: "/rag/library/{processed_document_id}/embed", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.stage_embed" };
517
516
  function stageEmbed(api, args, options) {
518
- return chunkDMJ3ZRN7_cjs.openStream(api, $stageEmbed, args, options);
517
+ return chunkUO3H55R3_cjs.openStream(api, $stageEmbed, args, options);
519
518
  }
520
519
  var $stageRunAll = { m: "POST", p: "/rag/library/{processed_document_id}/run-all", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.stage_run_all" };
521
520
  function stageRunAll(api, args, options) {
522
- return chunkDMJ3ZRN7_cjs.openStream(api, $stageRunAll, args, options);
521
+ return chunkUO3H55R3_cjs.openStream(api, $stageRunAll, args, options);
523
522
  }
524
523
  var $prepareDerivationRebuild = { m: "POST", p: "/rag/library/{processed_document_id}/derive/{kind}/rebuild-preview", d: "aidream", a: "guest", o: "required", n: "knowledge.prepare_derivation_rebuild" };
525
524
  function prepareDerivationRebuild(api, args, options) {
@@ -527,7 +526,7 @@ function prepareDerivationRebuild(api, args, options) {
527
526
  }
528
527
  var $deriveStream = { m: "POST", p: "/rag/library/{processed_document_id}/derive/{kind}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.derive_stream" };
529
528
  function deriveStream(api, args, options) {
530
- return chunkDMJ3ZRN7_cjs.openStream(api, $deriveStream, args, options);
529
+ return chunkUO3H55R3_cjs.openStream(api, $deriveStream, args, options);
531
530
  }
532
531
  var $listDerivations = { m: "GET", p: "/rag/library/{processed_document_id}/derivations", d: "aidream", a: "guest", o: "optional", n: "knowledge.list_derivations" };
533
532
  function listDerivations(api, args, options) {
@@ -543,7 +542,7 @@ function cancelDeriveRun(api, args, options) {
543
542
  }
544
543
  var $triggerSweep = { m: "POST", p: "/rag/sweeps", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.trigger_sweep" };
545
544
  function triggerSweep(api, args, options) {
546
- return chunkDMJ3ZRN7_cjs.openStream(api, $triggerSweep, args, options);
545
+ return chunkUO3H55R3_cjs.openStream(api, $triggerSweep, args, options);
547
546
  }
548
547
  var $overview = { m: "GET", p: "/rag/admin/overview", d: "aidream", a: "admin", o: "exempt", n: "knowledge.overview" };
549
548
  function overview(api, args, options) {
@@ -631,7 +630,7 @@ function adminSearchLabDiagnose(api, args, options) {
631
630
  }
632
631
  var $adminSearchLabDiagnoseStream = { m: "POST", p: "/admin/rag/search-lab/diagnose/stream", d: "aidream", a: "admin", o: "exempt", s: "ndjson", n: "knowledge.admin_search_lab_diagnose_stream" };
633
632
  function adminSearchLabDiagnoseStream(api, args, options) {
634
- return chunkDMJ3ZRN7_cjs.openStream(api, $adminSearchLabDiagnoseStream, args, options);
633
+ return chunkUO3H55R3_cjs.openStream(api, $adminSearchLabDiagnoseStream, args, options);
635
634
  }
636
635
  var $getGraph = { m: "GET", p: "/kg/graph", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_graph" };
637
636
  function getGraph(api, args, options) {
@@ -655,7 +654,7 @@ function diagnoseEndpoint(api, args, options) {
655
654
  }
656
655
  var $diagnoseStreamEndpoint = { m: "POST", p: "/rag/search-lab/diagnose/stream", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.diagnose_stream_endpoint" };
657
656
  function diagnoseStreamEndpoint(api, args, options) {
658
- return chunkDMJ3ZRN7_cjs.openStream(api, $diagnoseStreamEndpoint, args, options);
657
+ return chunkUO3H55R3_cjs.openStream(api, $diagnoseStreamEndpoint, args, options);
659
658
  }
660
659
  var $agentToolSearchEndpoint = { m: "POST", p: "/rag/search-lab/tool/search", d: "aidream", a: "guest", o: "required", n: "knowledge.agent_tool_search_endpoint" };
661
660
  function agentToolSearchEndpoint(api, args, options) {
@@ -679,7 +678,7 @@ function readExport(api, args, options) {
679
678
  }
680
679
  var $indexExport = { m: "POST", p: "/media/libraries/{library_id}/index", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.index_export" };
681
680
  function indexExport(api, args, options) {
682
- return chunkDMJ3ZRN7_cjs.openStream(api, $indexExport, args, options);
681
+ return chunkUO3H55R3_cjs.openStream(api, $indexExport, args, options);
683
682
  }
684
683
  var $listItems = { m: "GET", p: "/media/libraries/{library_id}/items", d: "aidream", a: "guest", o: "optional", n: "knowledge.list_items" };
685
684
  function listItems(api, args, options) {
@@ -1,6 +1,6 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DCyEAVSW.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.cjs';
2
2
  import { JsonValue, ResourcePromotion } from './schemas.cjs';
3
- import './credentials.cjs';
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.
@@ -1,6 +1,6 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BUb7OxrB.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.js';
2
2
  import { JsonValue, ResourcePromotion } from './schemas.js';
3
- import './credentials.js';
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.
package/dist/knowledge.js CHANGED
@@ -1,6 +1,5 @@
1
- import { openStream } from './chunk-6UOESA3L.js';
1
+ import { openStream } from './chunk-2FJPWNXG.js';
2
2
  import './chunk-KIEAFMKB.js';
3
- import './chunk-VTZKJMSY.js';
4
3
 
5
4
  // src/generated/knowledge.ts
6
5
  var $getSetupFacts = { m: "GET", p: "/news/setup/facts", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_setup_facts" };