@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.
- package/CHANGELOG.md +14 -0
- package/dist/account.d.cts +2 -2
- package/dist/account.d.ts +2 -2
- package/dist/agents.cjs +11 -12
- package/dist/agents.d.cts +2 -2
- package/dist/agents.d.ts +2 -2
- package/dist/agents.js +1 -2
- package/dist/ai.cjs +2 -3
- package/dist/ai.d.cts +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +1 -2
- package/dist/apps.cjs +5 -6
- package/dist/apps.d.cts +2 -2
- package/dist/apps.d.ts +2 -2
- package/dist/apps.js +1 -2
- package/dist/architecture.cjs +10 -11
- package/dist/architecture.d.cts +2 -2
- package/dist/architecture.d.ts +2 -2
- package/dist/architecture.js +1 -2
- package/dist/audio.cjs +4 -5
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +1 -2
- package/dist/chat.cjs +11 -12
- package/dist/chat.d.cts +2 -2
- package/dist/chat.d.ts +2 -2
- package/dist/chat.js +1 -2
- package/dist/{chunk-6UOESA3L.js → chunk-2FJPWNXG.js} +1 -3
- package/dist/chunk-7MZPBCFV.js +1 -0
- package/dist/chunk-MVXD6WI6.cjs +22 -0
- package/dist/{chunk-DMJ3ZRN7.cjs → chunk-UO3H55R3.cjs} +5 -7
- package/dist/code.cjs +6 -7
- package/dist/code.d.cts +2 -2
- package/dist/code.d.ts +2 -2
- package/dist/code.js +1 -2
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +4 -5
- package/dist/communications.d.cts +2 -2
- package/dist/communications.d.ts +2 -2
- package/dist/communications.js +1 -2
- package/dist/computer.cjs +3 -4
- package/dist/computer.d.cts +2 -2
- package/dist/computer.d.ts +2 -2
- package/dist/computer.js +1 -2
- package/dist/content.cjs +4 -5
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +1 -2
- package/dist/credentials.cjs +5 -5
- package/dist/credentials.d.cts +1 -82
- package/dist/credentials.d.ts +1 -82
- package/dist/credentials.js +1 -1
- package/dist/crm.cjs +2 -3
- package/dist/crm.d.cts +2 -2
- package/dist/crm.d.ts +2 -2
- package/dist/crm.js +1 -2
- package/dist/data.d.cts +2 -2
- package/dist/data.d.ts +2 -2
- package/dist/education.cjs +4 -5
- package/dist/education.d.cts +2 -2
- package/dist/education.d.ts +2 -2
- package/dist/education.js +1 -2
- package/dist/files.cjs +20 -21
- package/dist/files.d.cts +2 -2
- package/dist/files.d.ts +2 -2
- package/dist/files.js +1 -2
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-BUb7OxrB.d.ts → index-Xx6L_pWk.d.cts} +1 -1
- package/dist/{index-DCyEAVSW.d.cts → index-Xx6L_pWk.d.ts} +1 -1
- package/dist/index.cjs +73 -74
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -6
- package/dist/integrations.cjs +3 -4
- package/dist/integrations.d.cts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/integrations.js +1 -2
- package/dist/intelligence.cjs +6 -7
- package/dist/intelligence.d.cts +2 -2
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +1 -2
- package/dist/knowledge.cjs +42 -43
- package/dist/knowledge.d.cts +2 -2
- package/dist/knowledge.d.ts +2 -2
- package/dist/knowledge.js +1 -2
- package/dist/legal.cjs +6 -7
- package/dist/legal.d.cts +2 -2
- package/dist/legal.d.ts +2 -2
- package/dist/legal.js +1 -2
- package/dist/marketing.cjs +76 -77
- package/dist/marketing.d.cts +2 -2
- package/dist/marketing.d.ts +2 -2
- package/dist/marketing.js +1 -2
- package/dist/masterwork.cjs +32 -33
- package/dist/masterwork.d.cts +2 -2
- package/dist/masterwork.d.ts +2 -2
- package/dist/masterwork.js +1 -2
- package/dist/media.cjs +11 -12
- package/dist/media.d.cts +2 -2
- package/dist/media.d.ts +2 -2
- package/dist/media.js +1 -2
- package/dist/platform.cjs +3 -4
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +1 -2
- package/dist/publish.cjs +7 -8
- package/dist/publish.d.cts +2 -2
- package/dist/publish.d.ts +2 -2
- package/dist/publish.js +1 -2
- package/dist/stream.cjs +10 -11
- package/dist/stream.d.cts +2 -2
- package/dist/stream.d.ts +2 -2
- package/dist/stream.js +1 -2
- package/dist/web.cjs +26 -27
- package/dist/web.d.cts +2 -2
- package/dist/web.d.ts +2 -2
- package/dist/web.js +1 -2
- package/dist/workflows.cjs +13 -14
- package/dist/workflows.d.cts +2 -2
- package/dist/workflows.d.ts +2 -2
- package/dist/workflows.js +1 -2
- package/package.json +4 -4
- package/dist/chunk-5WJLKYH6.cjs +0 -48
- package/dist/chunk-VTZKJMSY.js +0 -43
package/dist/education.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
2
|
-
import '
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.cjs';
|
|
2
|
+
import '@ai-matrx/auth/credentials';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/education.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
2
|
-
import '
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.js';
|
|
2
|
+
import '@ai-matrx/auth/credentials';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/education.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
1
|
+
import { openStream } from './chunk-2FJPWNXG.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
|
-
import './chunk-VTZKJMSY.js';
|
|
4
3
|
|
|
5
4
|
// src/generated/education.ts
|
|
6
5
|
var $sourceCard = { m: "POST", p: "/education/images/source-card", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.source_card" };
|
package/dist/files.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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/files.ts
|
|
8
7
|
var $compressPdf = { m: "POST", p: "/utilities/pdf/compress", d: "aidream", a: "guest", o: "required", n: "files.compress_pdf" };
|
|
@@ -11,7 +10,7 @@ function compressPdf(api, args, options) {
|
|
|
11
10
|
}
|
|
12
11
|
var $extractTextFromPdf = { m: "POST", p: "/utilities/pdf/extract-text", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_text_from_pdf" };
|
|
13
12
|
function extractTextFromPdf(api, args, options) {
|
|
14
|
-
return
|
|
13
|
+
return chunkUO3H55R3_cjs.openStream(api, $extractTextFromPdf, args, options);
|
|
15
14
|
}
|
|
16
15
|
var $extractPages = { m: "POST", p: "/utilities/pdf/extract-pages", d: "aidream", a: "guest", o: "required", n: "files.extract_pages" };
|
|
17
16
|
function extractPages(api, args, options) {
|
|
@@ -35,7 +34,7 @@ function mergePdfs(api, args, options) {
|
|
|
35
34
|
}
|
|
36
35
|
var $splitPdf = { m: "POST", p: "/utilities/pdf/split", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.split_pdf" };
|
|
37
36
|
function splitPdf(api, args, options) {
|
|
38
|
-
return
|
|
37
|
+
return chunkUO3H55R3_cjs.openJsonOrStream(api, $splitPdf, args, options);
|
|
39
38
|
}
|
|
40
39
|
var $reorderPages = { m: "POST", p: "/utilities/pdf/reorder-pages", d: "aidream", a: "guest", o: "required", n: "files.reorder_pages" };
|
|
41
40
|
function reorderPages(api, args, options) {
|
|
@@ -71,19 +70,19 @@ function studioRender(api, args, options) {
|
|
|
71
70
|
}
|
|
72
71
|
var $detectRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/detect-repeated-regions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.detect_repeated_regions_endpoint" };
|
|
73
72
|
function detectRepeatedRegionsEndpoint(api, args, options) {
|
|
74
|
-
return
|
|
73
|
+
return chunkUO3H55R3_cjs.openStream(api, $detectRepeatedRegionsEndpoint, args, options);
|
|
75
74
|
}
|
|
76
75
|
var $stripRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/strip-repeated-regions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.strip_repeated_regions_endpoint" };
|
|
77
76
|
function stripRepeatedRegionsEndpoint(api, args, options) {
|
|
78
|
-
return
|
|
77
|
+
return chunkUO3H55R3_cjs.openStream(api, $stripRepeatedRegionsEndpoint, args, options);
|
|
79
78
|
}
|
|
80
79
|
var $classifyPagesEndpoint = { m: "POST", p: "/utilities/pdf/classify-pages", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.classify_pages_endpoint" };
|
|
81
80
|
function classifyPagesEndpoint(api, args, options) {
|
|
82
|
-
return
|
|
81
|
+
return chunkUO3H55R3_cjs.openStream(api, $classifyPagesEndpoint, args, options);
|
|
83
82
|
}
|
|
84
83
|
var $extractReadingOrderEndpoint = { m: "POST", p: "/utilities/pdf/extract-reading-order", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_reading_order_endpoint" };
|
|
85
84
|
function extractReadingOrderEndpoint(api, args, options) {
|
|
86
|
-
return
|
|
85
|
+
return chunkUO3H55R3_cjs.openStream(api, $extractReadingOrderEndpoint, args, options);
|
|
87
86
|
}
|
|
88
87
|
var $redactPatternsCatalog = { m: "GET", p: "/utilities/pdf/redact/patterns", d: "aidream", a: "guest", o: "optional", n: "files.redact_patterns_catalog" };
|
|
89
88
|
function redactPatternsCatalog(api, args, options) {
|
|
@@ -115,31 +114,31 @@ function flattenAnnotationsEndpoint(api, args, options) {
|
|
|
115
114
|
}
|
|
116
115
|
var $extractTextRemote = { m: "POST", p: "/utilities/pdf/extract-text-remote", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_text_remote" };
|
|
117
116
|
function extractTextRemote(api, args, options) {
|
|
118
|
-
return
|
|
117
|
+
return chunkUO3H55R3_cjs.openStream(api, $extractTextRemote, args, options);
|
|
119
118
|
}
|
|
120
119
|
var $extractTables = { m: "POST", p: "/utilities/pdf/extract-tables", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_tables" };
|
|
121
120
|
function extractTables(api, args, options) {
|
|
122
|
-
return
|
|
121
|
+
return chunkUO3H55R3_cjs.openStream(api, $extractTables, args, options);
|
|
123
122
|
}
|
|
124
123
|
var $processWithAi = { m: "POST", p: "/utilities/pdf/process-with-ai", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.process_with_ai" };
|
|
125
124
|
function processWithAi(api, args, options) {
|
|
126
|
-
return
|
|
125
|
+
return chunkUO3H55R3_cjs.openStream(api, $processWithAi, args, options);
|
|
127
126
|
}
|
|
128
127
|
var $fullPipeline = { m: "POST", p: "/utilities/pdf/full-pipeline", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.full_pipeline" };
|
|
129
128
|
function fullPipeline(api, args, options) {
|
|
130
|
-
return
|
|
129
|
+
return chunkUO3H55R3_cjs.openStream(api, $fullPipeline, args, options);
|
|
131
130
|
}
|
|
132
131
|
var $batchExtract = { m: "POST", p: "/utilities/pdf/batch-extract", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.batch_extract" };
|
|
133
132
|
function batchExtract(api, args, options) {
|
|
134
|
-
return
|
|
133
|
+
return chunkUO3H55R3_cjs.openStream(api, $batchExtract, args, options);
|
|
135
134
|
}
|
|
136
135
|
var $pdfFromImages = { m: "POST", p: "/utilities/pdf/from-images", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.pdf_from_images" };
|
|
137
136
|
function pdfFromImages(api, args, options) {
|
|
138
|
-
return
|
|
137
|
+
return chunkUO3H55R3_cjs.openStream(api, $pdfFromImages, args, options);
|
|
139
138
|
}
|
|
140
139
|
var $cleanDocumentContent = { m: "POST", p: "/utilities/pdf/clean-content/{doc_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.clean_document_content" };
|
|
141
140
|
function cleanDocumentContent(api, args, options) {
|
|
142
|
-
return
|
|
141
|
+
return chunkUO3H55R3_cjs.openStream(api, $cleanDocumentContent, args, options);
|
|
143
142
|
}
|
|
144
143
|
var $listDocuments = { m: "GET", p: "/utilities/pdf/documents", d: "aidream", a: "guest", o: "optional", n: "files.list_documents" };
|
|
145
144
|
function listDocuments(api, args, options) {
|
|
@@ -407,15 +406,15 @@ function getFileLineageSummary(api, args, options) {
|
|
|
407
406
|
}
|
|
408
407
|
var $ingestFileForRag = { m: "POST", p: "/files/{file_id}/ingest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.ingest_file_for_rag" };
|
|
409
408
|
function ingestFileForRag(api, args, options) {
|
|
410
|
-
return
|
|
409
|
+
return chunkUO3H55R3_cjs.openStream(api, $ingestFileForRag, args, options);
|
|
411
410
|
}
|
|
412
411
|
var $ingestFileForRagStream = { m: "POST", p: "/files/{file_id}/ingest/stream", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.ingest_file_for_rag_stream" };
|
|
413
412
|
function ingestFileForRagStream(api, args, options) {
|
|
414
|
-
return
|
|
413
|
+
return chunkUO3H55R3_cjs.openStream(api, $ingestFileForRagStream, args, options);
|
|
415
414
|
}
|
|
416
415
|
var $refreshFileRag = { m: "POST", p: "/files/{file_id}/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.refresh_file_rag" };
|
|
417
416
|
function refreshFileRag(api, args, options) {
|
|
418
|
-
return
|
|
417
|
+
return chunkUO3H55R3_cjs.openStream(api, $refreshFileRag, args, options);
|
|
419
418
|
}
|
|
420
419
|
var $versionsListVersions = { m: "GET", p: "/files/{file_id}/versions", d: "aidream", a: "guest", o: "required", n: "files.versions_list_versions" };
|
|
421
420
|
function versionsListVersions(api, args, options) {
|
|
@@ -547,7 +546,7 @@ function fetchAnalysis(api, args, options) {
|
|
|
547
546
|
}
|
|
548
547
|
var $refreshAnalysis = { m: "POST", p: "/files/{file_id}/analysis/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.refresh_analysis" };
|
|
549
548
|
function refreshAnalysis(api, args, options) {
|
|
550
|
-
return
|
|
549
|
+
return chunkUO3H55R3_cjs.openStream(api, $refreshAnalysis, args, options);
|
|
551
550
|
}
|
|
552
551
|
var $redactMask = { m: "POST", p: "/files/{file_id}/redact/mask", d: "aidream", a: "guest", o: "required", n: "files.redact_mask" };
|
|
553
552
|
function redactMask(api, args, options) {
|
|
@@ -655,7 +654,7 @@ function listOverridesEndpoint(api, args, options) {
|
|
|
655
654
|
}
|
|
656
655
|
var $searchEndpoint = { m: "POST", p: "/files/{file_id}/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.search_endpoint" };
|
|
657
656
|
function searchEndpoint(api, args, options) {
|
|
658
|
-
return
|
|
657
|
+
return chunkUO3H55R3_cjs.openStream(api, $searchEndpoint, args, options);
|
|
659
658
|
}
|
|
660
659
|
var $extractRegionEndpoint = { m: "POST", p: "/files/{file_id}/regions/extract", d: "aidream", a: "guest", o: "required", n: "files.extract_region_endpoint" };
|
|
661
660
|
function extractRegionEndpoint(api, args, options) {
|
|
@@ -883,7 +882,7 @@ function searchSemantic(api, args, options) {
|
|
|
883
882
|
}
|
|
884
883
|
var $downloadStream = { m: "GET", p: "/downloads/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "files.download_stream" };
|
|
885
884
|
function downloadStream(api, args, options) {
|
|
886
|
-
return
|
|
885
|
+
return chunkUO3H55R3_cjs.openStream(api, $downloadStream, args, options);
|
|
887
886
|
}
|
|
888
887
|
var $listDownloads = { m: "GET", p: "/downloads", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.list_downloads" };
|
|
889
888
|
function listDownloads(api, args, options) {
|
package/dist/files.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent, J as JsonOrStream } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent, J as JsonOrStream } from './index-Xx6L_pWk.cjs';
|
|
2
2
|
import { JsonValue, Asset, MediaRef, UserAnalysisPreferencesResponse, StorageImportResult } from './schemas.cjs';
|
|
3
|
-
import '
|
|
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/files.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent, J as JsonOrStream } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent, J as JsonOrStream } from './index-Xx6L_pWk.js';
|
|
2
2
|
import { JsonValue, Asset, MediaRef, UserAnalysisPreferencesResponse, StorageImportResult } from './schemas.js';
|
|
3
|
-
import '
|
|
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/files.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { openStream, openJsonOrStream } from './chunk-
|
|
1
|
+
import { openStream, openJsonOrStream } from './chunk-2FJPWNXG.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
|
-
import './chunk-VTZKJMSY.js';
|
|
4
3
|
|
|
5
4
|
// src/generated/files.ts
|
|
6
5
|
var $compressPdf = { m: "POST", p: "/utilities/pdf/compress", d: "aidream", a: "guest", o: "required", n: "files.compress_pdf" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions } from './index-Xx6L_pWk.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
|
-
import '
|
|
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 } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions } from './index-Xx6L_pWk.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
|
-
import '
|
|
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/index.cjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkFNIYADWI_cjs = require('./chunk-FNIYADWI.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkMVXD6WI6_cjs = require('./chunk-MVXD6WI6.cjs');
|
|
5
|
+
var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
|
|
5
6
|
var chunk2SXAAKGV_cjs = require('./chunk-2SXAAKGV.cjs');
|
|
6
|
-
var
|
|
7
|
+
var credentials = require('@ai-matrx/auth/credentials');
|
|
7
8
|
var format = require('@ai-matrx/kit/format');
|
|
8
9
|
|
|
9
10
|
// src/core/protocol.ts
|
|
@@ -127,7 +128,7 @@ function buildMatrxRequestBody(body, scope) {
|
|
|
127
128
|
}
|
|
128
129
|
const bodyOrganizationId = base.organization_id;
|
|
129
130
|
if (scope.organization_id !== void 0 && bodyOrganizationId !== void 0 && (typeof bodyOrganizationId !== "string" || bodyOrganizationId.trim() !== scope.organization_id)) {
|
|
130
|
-
throw new
|
|
131
|
+
throw new chunkUO3H55R3_cjs.OrganizationContextError(
|
|
131
132
|
"organization_context_mismatch",
|
|
132
133
|
"Request body organization_id must match the request context organization."
|
|
133
134
|
);
|
|
@@ -199,14 +200,14 @@ function parseMatrxNdjsonResponse(response, signal, hooks = {}) {
|
|
|
199
200
|
};
|
|
200
201
|
async function* events() {
|
|
201
202
|
if (!response.body) {
|
|
202
|
-
throw new
|
|
203
|
+
throw new chunkUO3H55R3_cjs.BackendApiError({
|
|
203
204
|
code: "internal_error",
|
|
204
205
|
detail: "Response has no body",
|
|
205
206
|
userMessage: "No response received from server"
|
|
206
207
|
});
|
|
207
208
|
}
|
|
208
209
|
try {
|
|
209
|
-
for await (const envelope of
|
|
210
|
+
for await (const envelope of chunkUO3H55R3_cjs.readMatrxNdjsonStream(response.body, {
|
|
210
211
|
...signal ? { signal } : {},
|
|
211
212
|
...hooks.onMalformedLine ? { onMalformedLine: hooks.onMalformedLine } : {},
|
|
212
213
|
...hooks.onUnknownEnvelope ? { onUnknownEnvelope: hooks.onUnknownEnvelope } : {}
|
|
@@ -218,7 +219,7 @@ function parseMatrxNdjsonResponse(response, signal, hooks = {}) {
|
|
|
218
219
|
if (signal?.aborted || error instanceof Error && error.name === "AbortError") {
|
|
219
220
|
return;
|
|
220
221
|
}
|
|
221
|
-
const transportError = error instanceof
|
|
222
|
+
const transportError = error instanceof chunkUO3H55R3_cjs.BackendApiError ? error : new chunkUO3H55R3_cjs.StreamTransportError({
|
|
222
223
|
detail: error instanceof Error ? error.message : "The response stream ended unexpectedly.",
|
|
223
224
|
details: error,
|
|
224
225
|
...ids.requestId ? { requestId: ids.requestId } : {}
|
|
@@ -235,7 +236,7 @@ async function httpErrorFrom(response) {
|
|
|
235
236
|
const serverDetail = await response.json().catch(() => void 0);
|
|
236
237
|
return {
|
|
237
238
|
type: response.status >= 400 && response.status < 500 ? "validation_error" : "http_error",
|
|
238
|
-
message:
|
|
239
|
+
message: chunkUO3H55R3_cjs.extractMatrxErrorMessage(serverDetail) ?? bareStatusSentence(response.status),
|
|
239
240
|
status: response.status,
|
|
240
241
|
serverDetail
|
|
241
242
|
};
|
|
@@ -311,7 +312,7 @@ async function sendMatrxRequest(url, init = {}, options = {}) {
|
|
|
311
312
|
return await fetch(url, { ...init, signal: controller.signal });
|
|
312
313
|
} catch (error) {
|
|
313
314
|
if (timedOut) {
|
|
314
|
-
throw new
|
|
315
|
+
throw new chunkUO3H55R3_cjs.BackendApiError({
|
|
315
316
|
code: "request_timeout",
|
|
316
317
|
detail: `${init.method ?? "GET"} ${url} exceeded ${options.timeoutMs}ms`,
|
|
317
318
|
userMessage: "The request timed out \u2014 please retry.",
|
|
@@ -325,17 +326,15 @@ async function sendMatrxRequest(url, init = {}, options = {}) {
|
|
|
325
326
|
}
|
|
326
327
|
}
|
|
327
328
|
async function readMatrxJsonResponse(response) {
|
|
328
|
-
if (!response.ok) throw await
|
|
329
|
+
if (!response.ok) throw await chunkUO3H55R3_cjs.parseHttpError(response);
|
|
329
330
|
if (response.status === 204) return null;
|
|
330
331
|
return await response.json();
|
|
331
332
|
}
|
|
332
|
-
|
|
333
|
-
// src/core/client.ts
|
|
334
333
|
function classifyStatus(status) {
|
|
335
334
|
return status >= 400 && status < 500 ? "validation_error" : "http_error";
|
|
336
335
|
}
|
|
337
336
|
function normalizeMatrxError(err) {
|
|
338
|
-
if (err instanceof
|
|
337
|
+
if (err instanceof chunkUO3H55R3_cjs.OrganizationContextError) {
|
|
339
338
|
return {
|
|
340
339
|
type: "validation_error",
|
|
341
340
|
message: err.message,
|
|
@@ -347,7 +346,7 @@ function normalizeMatrxError(err) {
|
|
|
347
346
|
if (err instanceof DOMException && err.name === "AbortError") {
|
|
348
347
|
return { type: "abort_error", message: "Request was cancelled." };
|
|
349
348
|
}
|
|
350
|
-
if (err instanceof
|
|
349
|
+
if (err instanceof chunkUO3H55R3_cjs.MatrxApiError) {
|
|
351
350
|
return {
|
|
352
351
|
type: classifyStatus(err.status),
|
|
353
352
|
message: honestTransportMessage(err.message, err.status),
|
|
@@ -357,7 +356,7 @@ function normalizeMatrxError(err) {
|
|
|
357
356
|
name: err.name
|
|
358
357
|
};
|
|
359
358
|
}
|
|
360
|
-
if (err instanceof
|
|
359
|
+
if (err instanceof chunkUO3H55R3_cjs.BackendApiError) {
|
|
361
360
|
return {
|
|
362
361
|
type: "network_error",
|
|
363
362
|
message: honestTransportMessage(
|
|
@@ -434,7 +433,7 @@ function createMatrxTransport(options) {
|
|
|
434
433
|
const {
|
|
435
434
|
baseUrl,
|
|
436
435
|
resolveTarget,
|
|
437
|
-
credentials,
|
|
436
|
+
credentials: credentials$1,
|
|
438
437
|
organizationId,
|
|
439
438
|
aiApiVersion,
|
|
440
439
|
connectTimeoutMs = PRODUCTION_CONNECT_TIMEOUT_MS,
|
|
@@ -455,9 +454,9 @@ function createMatrxTransport(options) {
|
|
|
455
454
|
};
|
|
456
455
|
const resolveOrganizationId = (callOrganizationId) => {
|
|
457
456
|
if (organizationId === void 0) return null;
|
|
458
|
-
if (callOrganizationId !== null) return
|
|
457
|
+
if (callOrganizationId !== null) return chunkUO3H55R3_cjs.requireOrganizationContext(callOrganizationId);
|
|
459
458
|
const candidate = typeof organizationId === "function" ? organizationId() : organizationId;
|
|
460
|
-
return
|
|
459
|
+
return chunkUO3H55R3_cjs.requireOrganizationContext(candidate);
|
|
461
460
|
};
|
|
462
461
|
return {
|
|
463
462
|
async fetch(path, init) {
|
|
@@ -465,7 +464,7 @@ function createMatrxTransport(options) {
|
|
|
465
464
|
const callOrganizationId = readOrganizationHeader(init.headers);
|
|
466
465
|
const versionedPath = applyAiApiVersion(path, resolveVersion());
|
|
467
466
|
const url = `${target.baseUrl}${versionedPath}`;
|
|
468
|
-
const credentialHeaders = credentials ?
|
|
467
|
+
const credentialHeaders = credentials$1 ? credentials.credentialToHeaders(await credentials$1.get()) : {};
|
|
469
468
|
const policyHeaders = stripContentType(target.policyHeaders ?? {});
|
|
470
469
|
let headers = {
|
|
471
470
|
...init.headers,
|
|
@@ -474,7 +473,7 @@ function createMatrxTransport(options) {
|
|
|
474
473
|
};
|
|
475
474
|
const orgId = resolveOrganizationId(callOrganizationId);
|
|
476
475
|
if (orgId !== null) {
|
|
477
|
-
headers =
|
|
476
|
+
headers = chunkUO3H55R3_cjs.applyOrganizationContextHeader(headers, orgId);
|
|
478
477
|
}
|
|
479
478
|
const info = {
|
|
480
479
|
url,
|
|
@@ -507,11 +506,11 @@ function createMatrxTransport(options) {
|
|
|
507
506
|
}
|
|
508
507
|
if (!response.ok && !expectedErrorStatuses?.includes(response.status)) {
|
|
509
508
|
const serverDetail = await response.clone().json().catch(() => void 0);
|
|
510
|
-
const code =
|
|
509
|
+
const code = chunkUO3H55R3_cjs.extractMatrxErrorCode(serverDetail);
|
|
511
510
|
diagnostics?.onError?.(
|
|
512
511
|
{
|
|
513
512
|
type: classifyStatus(response.status),
|
|
514
|
-
message:
|
|
513
|
+
message: chunkUO3H55R3_cjs.extractMatrxErrorMessage(serverDetail) ?? `HTTP ${response.status}`,
|
|
515
514
|
status: response.status,
|
|
516
515
|
serverDetail,
|
|
517
516
|
...code ? { code } : {}
|
|
@@ -841,7 +840,7 @@ async function readServerDetail(response) {
|
|
|
841
840
|
}
|
|
842
841
|
}
|
|
843
842
|
async function throwApiError(path, response) {
|
|
844
|
-
throw new
|
|
843
|
+
throw new chunkUO3H55R3_cjs.MatrxApiError({
|
|
845
844
|
status: response.status,
|
|
846
845
|
path,
|
|
847
846
|
serverDetail: await readServerDetail(response)
|
|
@@ -862,7 +861,7 @@ function toRunHandle(response, options) {
|
|
|
862
861
|
return {
|
|
863
862
|
requestId: response.headers.get("X-Request-ID"),
|
|
864
863
|
conversationId: response.headers.get("X-Conversation-ID"),
|
|
865
|
-
events:
|
|
864
|
+
events: chunkUO3H55R3_cjs.readMatrxNdjsonStream(response.body, {
|
|
866
865
|
...options.signal ? { signal: options.signal } : {},
|
|
867
866
|
...options.maxReadAhead !== void 0 ? { maxReadAhead: options.maxReadAhead } : {},
|
|
868
867
|
...options.onMalformedLine ? { onMalformedLine: options.onMalformedLine } : {},
|
|
@@ -885,7 +884,7 @@ async function requestStream(transport, path, options) {
|
|
|
885
884
|
});
|
|
886
885
|
if (!response.ok) return throwApiError(path, response);
|
|
887
886
|
if (!response.body) {
|
|
888
|
-
throw new
|
|
887
|
+
throw new chunkUO3H55R3_cjs.MatrxApiError({
|
|
889
888
|
status: response.status,
|
|
890
889
|
path,
|
|
891
890
|
serverDetail: { code: "missing_response_body" },
|
|
@@ -945,7 +944,7 @@ async function getRuntimeOperationStatus(transport, requestId, options = {}) {
|
|
|
945
944
|
{ method: "GET", ...options.signal ? { signal: options.signal } : {} }
|
|
946
945
|
);
|
|
947
946
|
} catch (error) {
|
|
948
|
-
if (error instanceof
|
|
947
|
+
if (error instanceof chunkUO3H55R3_cjs.MatrxApiError && error.status === 404) return null;
|
|
949
948
|
throw error;
|
|
950
949
|
}
|
|
951
950
|
}
|
|
@@ -960,7 +959,7 @@ async function getRuntimeOperationsByLink(transport, linkKind, linkId, options =
|
|
|
960
959
|
{ method: "GET", ...options.signal ? { signal: options.signal } : {} }
|
|
961
960
|
);
|
|
962
961
|
} catch (error) {
|
|
963
|
-
if (error instanceof
|
|
962
|
+
if (error instanceof chunkUO3H55R3_cjs.MatrxApiError && error.status === 404) return null;
|
|
964
963
|
throw error;
|
|
965
964
|
}
|
|
966
965
|
}
|
|
@@ -1001,7 +1000,7 @@ async function* followRuntimeOperationEvents(transport, executionId, options = {
|
|
|
1001
1000
|
...options.signal ? { signal: options.signal } : {}
|
|
1002
1001
|
}
|
|
1003
1002
|
);
|
|
1004
|
-
const frames =
|
|
1003
|
+
const frames = chunkUO3H55R3_cjs.readMatrxSseStream(
|
|
1005
1004
|
response.body,
|
|
1006
1005
|
options.onIncomplete ? { onIncomplete: options.onIncomplete } : {}
|
|
1007
1006
|
);
|
|
@@ -1204,7 +1203,7 @@ async function openMatrxStream(transport, path, options = {}) {
|
|
|
1204
1203
|
return toRunHandle(response, options);
|
|
1205
1204
|
}
|
|
1206
1205
|
function withRunOrganization(transport, organizationId) {
|
|
1207
|
-
const orgId =
|
|
1206
|
+
const orgId = chunkUO3H55R3_cjs.requireOrganizationContext(organizationId);
|
|
1208
1207
|
return {
|
|
1209
1208
|
fetch: (path, init) => transport.fetch(path, {
|
|
1210
1209
|
...init,
|
|
@@ -1231,7 +1230,7 @@ async function followWorkflowRunEvents(transport, runId, options) {
|
|
|
1231
1230
|
throw error;
|
|
1232
1231
|
}
|
|
1233
1232
|
try {
|
|
1234
|
-
for await (const frame of
|
|
1233
|
+
for await (const frame of chunkUO3H55R3_cjs.readMatrxSseStream(
|
|
1235
1234
|
response.body
|
|
1236
1235
|
)) {
|
|
1237
1236
|
if (frame.event === "end") return { ended: true };
|
|
@@ -1277,7 +1276,7 @@ async function resumeOrRejoin(transport, resumeCall, options) {
|
|
|
1277
1276
|
} catch (error) {
|
|
1278
1277
|
const target = readLiveRunRejoin(error);
|
|
1279
1278
|
if (!target) {
|
|
1280
|
-
if (error instanceof
|
|
1279
|
+
if (error instanceof chunkUO3H55R3_cjs.MatrxApiError && isResumeConflict(error)) {
|
|
1281
1280
|
return { kind: "resume_conflict", error };
|
|
1282
1281
|
}
|
|
1283
1282
|
throw error;
|
|
@@ -1693,7 +1692,7 @@ async function reportProviderSessionUsage(transport, usage, options = {}) {
|
|
|
1693
1692
|
});
|
|
1694
1693
|
return "ok";
|
|
1695
1694
|
} catch (error) {
|
|
1696
|
-
if (error instanceof
|
|
1695
|
+
if (error instanceof chunkUO3H55R3_cjs.MatrxApiError) {
|
|
1697
1696
|
const status = error.status;
|
|
1698
1697
|
if (status >= 400 && status < 500 && status !== 401 && status !== 408 && status !== 425 && status !== 429) {
|
|
1699
1698
|
console.warn(`[provider-usage] server refused ${usage.provider} usage ${usage.usage_id} (${status})`);
|
|
@@ -1746,113 +1745,129 @@ Object.defineProperty(exports, "monitorStream", {
|
|
|
1746
1745
|
enumerable: true,
|
|
1747
1746
|
get: function () { return chunkFNIYADWI_cjs.monitorStream; }
|
|
1748
1747
|
});
|
|
1748
|
+
Object.defineProperty(exports, "API_KEY_PREFIX", {
|
|
1749
|
+
enumerable: true,
|
|
1750
|
+
get: function () { return chunkMVXD6WI6_cjs.API_KEY_PREFIX; }
|
|
1751
|
+
});
|
|
1752
|
+
Object.defineProperty(exports, "MATRX_HEADERS", {
|
|
1753
|
+
enumerable: true,
|
|
1754
|
+
get: function () { return chunkMVXD6WI6_cjs.MATRX_HEADERS; }
|
|
1755
|
+
});
|
|
1756
|
+
Object.defineProperty(exports, "credentialToHeaders", {
|
|
1757
|
+
enumerable: true,
|
|
1758
|
+
get: function () { return chunkMVXD6WI6_cjs.credentialToHeaders; }
|
|
1759
|
+
});
|
|
1760
|
+
Object.defineProperty(exports, "toCredentialsPort", {
|
|
1761
|
+
enumerable: true,
|
|
1762
|
+
get: function () { return chunkMVXD6WI6_cjs.toCredentialsPort; }
|
|
1763
|
+
});
|
|
1749
1764
|
Object.defineProperty(exports, "BackendApiError", {
|
|
1750
1765
|
enumerable: true,
|
|
1751
|
-
get: function () { return
|
|
1766
|
+
get: function () { return chunkUO3H55R3_cjs.BackendApiError; }
|
|
1752
1767
|
});
|
|
1753
1768
|
Object.defineProperty(exports, "CONTRACT_SHA256", {
|
|
1754
1769
|
enumerable: true,
|
|
1755
|
-
get: function () { return
|
|
1770
|
+
get: function () { return chunkUO3H55R3_cjs.CONTRACT_SHA256; }
|
|
1756
1771
|
});
|
|
1757
1772
|
Object.defineProperty(exports, "DEPLOYMENTS", {
|
|
1758
1773
|
enumerable: true,
|
|
1759
|
-
get: function () { return
|
|
1774
|
+
get: function () { return chunkUO3H55R3_cjs.DEPLOYMENTS; }
|
|
1760
1775
|
});
|
|
1761
1776
|
Object.defineProperty(exports, "DOMAINS", {
|
|
1762
1777
|
enumerable: true,
|
|
1763
|
-
get: function () { return
|
|
1778
|
+
get: function () { return chunkUO3H55R3_cjs.DOMAINS; }
|
|
1764
1779
|
});
|
|
1765
1780
|
Object.defineProperty(exports, "MatrxApiError", {
|
|
1766
1781
|
enumerable: true,
|
|
1767
|
-
get: function () { return
|
|
1782
|
+
get: function () { return chunkUO3H55R3_cjs.MatrxApiError; }
|
|
1768
1783
|
});
|
|
1769
1784
|
Object.defineProperty(exports, "OrganizationContextError", {
|
|
1770
1785
|
enumerable: true,
|
|
1771
|
-
get: function () { return
|
|
1786
|
+
get: function () { return chunkUO3H55R3_cjs.OrganizationContextError; }
|
|
1772
1787
|
});
|
|
1773
1788
|
Object.defineProperty(exports, "StreamTransportError", {
|
|
1774
1789
|
enumerable: true,
|
|
1775
|
-
get: function () { return
|
|
1790
|
+
get: function () { return chunkUO3H55R3_cjs.StreamTransportError; }
|
|
1776
1791
|
});
|
|
1777
1792
|
Object.defineProperty(exports, "applyOrganizationContextHeader", {
|
|
1778
1793
|
enumerable: true,
|
|
1779
|
-
get: function () { return
|
|
1794
|
+
get: function () { return chunkUO3H55R3_cjs.applyOrganizationContextHeader; }
|
|
1780
1795
|
});
|
|
1781
1796
|
Object.defineProperty(exports, "assertOrganizationMatchesOperation", {
|
|
1782
1797
|
enumerable: true,
|
|
1783
|
-
get: function () { return
|
|
1798
|
+
get: function () { return chunkUO3H55R3_cjs.assertOrganizationMatchesOperation; }
|
|
1784
1799
|
});
|
|
1785
1800
|
Object.defineProperty(exports, "assertQueryOrganizationMatchesContext", {
|
|
1786
1801
|
enumerable: true,
|
|
1787
|
-
get: function () { return
|
|
1802
|
+
get: function () { return chunkUO3H55R3_cjs.assertQueryOrganizationMatchesContext; }
|
|
1788
1803
|
});
|
|
1789
1804
|
Object.defineProperty(exports, "createApi", {
|
|
1790
1805
|
enumerable: true,
|
|
1791
|
-
get: function () { return
|
|
1806
|
+
get: function () { return chunkUO3H55R3_cjs.createApi; }
|
|
1792
1807
|
});
|
|
1793
1808
|
Object.defineProperty(exports, "createOrganizationOperation", {
|
|
1794
1809
|
enumerable: true,
|
|
1795
|
-
get: function () { return
|
|
1810
|
+
get: function () { return chunkUO3H55R3_cjs.createOrganizationOperation; }
|
|
1796
1811
|
});
|
|
1797
1812
|
Object.defineProperty(exports, "describeBackendFailure", {
|
|
1798
1813
|
enumerable: true,
|
|
1799
|
-
get: function () { return
|
|
1814
|
+
get: function () { return chunkUO3H55R3_cjs.describeBackendFailure; }
|
|
1800
1815
|
});
|
|
1801
1816
|
Object.defineProperty(exports, "extractMatrxErrorCode", {
|
|
1802
1817
|
enumerable: true,
|
|
1803
|
-
get: function () { return
|
|
1818
|
+
get: function () { return chunkUO3H55R3_cjs.extractMatrxErrorCode; }
|
|
1804
1819
|
});
|
|
1805
1820
|
Object.defineProperty(exports, "extractMatrxErrorMessage", {
|
|
1806
1821
|
enumerable: true,
|
|
1807
|
-
get: function () { return
|
|
1822
|
+
get: function () { return chunkUO3H55R3_cjs.extractMatrxErrorMessage; }
|
|
1808
1823
|
});
|
|
1809
1824
|
Object.defineProperty(exports, "getUserMessage", {
|
|
1810
1825
|
enumerable: true,
|
|
1811
|
-
get: function () { return
|
|
1826
|
+
get: function () { return chunkUO3H55R3_cjs.getUserMessage; }
|
|
1812
1827
|
});
|
|
1813
1828
|
Object.defineProperty(exports, "isGenericUserMessage", {
|
|
1814
1829
|
enumerable: true,
|
|
1815
|
-
get: function () { return
|
|
1830
|
+
get: function () { return chunkUO3H55R3_cjs.isGenericUserMessage; }
|
|
1816
1831
|
});
|
|
1817
1832
|
Object.defineProperty(exports, "isStreamTransportLost", {
|
|
1818
1833
|
enumerable: true,
|
|
1819
|
-
get: function () { return
|
|
1834
|
+
get: function () { return chunkUO3H55R3_cjs.isStreamTransportLost; }
|
|
1820
1835
|
});
|
|
1821
1836
|
Object.defineProperty(exports, "openJsonOrStream", {
|
|
1822
1837
|
enumerable: true,
|
|
1823
|
-
get: function () { return
|
|
1838
|
+
get: function () { return chunkUO3H55R3_cjs.openJsonOrStream; }
|
|
1824
1839
|
});
|
|
1825
1840
|
Object.defineProperty(exports, "openStream", {
|
|
1826
1841
|
enumerable: true,
|
|
1827
|
-
get: function () { return
|
|
1842
|
+
get: function () { return chunkUO3H55R3_cjs.openStream; }
|
|
1828
1843
|
});
|
|
1829
1844
|
Object.defineProperty(exports, "parseCallApiError", {
|
|
1830
1845
|
enumerable: true,
|
|
1831
|
-
get: function () { return
|
|
1846
|
+
get: function () { return chunkUO3H55R3_cjs.parseCallApiError; }
|
|
1832
1847
|
});
|
|
1833
1848
|
Object.defineProperty(exports, "parseHttpError", {
|
|
1834
1849
|
enumerable: true,
|
|
1835
|
-
get: function () { return
|
|
1850
|
+
get: function () { return chunkUO3H55R3_cjs.parseHttpError; }
|
|
1836
1851
|
});
|
|
1837
1852
|
Object.defineProperty(exports, "parseHttpErrorBody", {
|
|
1838
1853
|
enumerable: true,
|
|
1839
|
-
get: function () { return
|
|
1854
|
+
get: function () { return chunkUO3H55R3_cjs.parseHttpErrorBody; }
|
|
1840
1855
|
});
|
|
1841
1856
|
Object.defineProperty(exports, "parsePersistedBackendError", {
|
|
1842
1857
|
enumerable: true,
|
|
1843
|
-
get: function () { return
|
|
1858
|
+
get: function () { return chunkUO3H55R3_cjs.parsePersistedBackendError; }
|
|
1844
1859
|
});
|
|
1845
1860
|
Object.defineProperty(exports, "parseStreamError", {
|
|
1846
1861
|
enumerable: true,
|
|
1847
|
-
get: function () { return
|
|
1862
|
+
get: function () { return chunkUO3H55R3_cjs.parseStreamError; }
|
|
1848
1863
|
});
|
|
1849
1864
|
Object.defineProperty(exports, "requireOrganizationContext", {
|
|
1850
1865
|
enumerable: true,
|
|
1851
|
-
get: function () { return
|
|
1866
|
+
get: function () { return chunkUO3H55R3_cjs.requireOrganizationContext; }
|
|
1852
1867
|
});
|
|
1853
1868
|
Object.defineProperty(exports, "unwrapUpstreamError", {
|
|
1854
1869
|
enumerable: true,
|
|
1855
|
-
get: function () { return
|
|
1870
|
+
get: function () { return chunkUO3H55R3_cjs.unwrapUpstreamError; }
|
|
1856
1871
|
});
|
|
1857
1872
|
Object.defineProperty(exports, "AbortedError", {
|
|
1858
1873
|
enumerable: true,
|
|
@@ -1910,22 +1925,6 @@ Object.defineProperty(exports, "withRetry", {
|
|
|
1910
1925
|
enumerable: true,
|
|
1911
1926
|
get: function () { return chunk2SXAAKGV_cjs.withRetry; }
|
|
1912
1927
|
});
|
|
1913
|
-
Object.defineProperty(exports, "API_KEY_PREFIX", {
|
|
1914
|
-
enumerable: true,
|
|
1915
|
-
get: function () { return chunk5WJLKYH6_cjs.API_KEY_PREFIX; }
|
|
1916
|
-
});
|
|
1917
|
-
Object.defineProperty(exports, "MATRX_HEADERS", {
|
|
1918
|
-
enumerable: true,
|
|
1919
|
-
get: function () { return chunk5WJLKYH6_cjs.MATRX_HEADERS; }
|
|
1920
|
-
});
|
|
1921
|
-
Object.defineProperty(exports, "credentialToHeaders", {
|
|
1922
|
-
enumerable: true,
|
|
1923
|
-
get: function () { return chunk5WJLKYH6_cjs.credentialToHeaders; }
|
|
1924
|
-
});
|
|
1925
|
-
Object.defineProperty(exports, "toCredentialsPort", {
|
|
1926
|
-
enumerable: true,
|
|
1927
|
-
get: function () { return chunk5WJLKYH6_cjs.toCredentialsPort; }
|
|
1928
|
-
});
|
|
1929
1928
|
exports.MATRX_AI_API_VERSION_DEFAULT = MATRX_AI_API_VERSION_DEFAULT;
|
|
1930
1929
|
exports.MATRX_LIVE_STREAM_UNAVAILABLE = MATRX_LIVE_STREAM_UNAVAILABLE;
|
|
1931
1930
|
exports.MATRX_RESUME_CONFLICT = MATRX_RESUME_CONFLICT;
|