@ai-matrx/api 0.1.19 → 0.1.21
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 +12 -0
- package/dist/account.d.cts +1 -1
- package/dist/account.d.ts +1 -1
- package/dist/agents.cjs +12 -12
- package/dist/agents.d.cts +1 -1
- package/dist/agents.d.ts +1 -1
- package/dist/agents.js +2 -2
- package/dist/ai.cjs +3 -3
- package/dist/ai.d.cts +1 -1
- package/dist/ai.d.ts +1 -1
- package/dist/ai.js +2 -2
- package/dist/apps.cjs +6 -6
- package/dist/apps.d.cts +1 -1
- package/dist/apps.d.ts +1 -1
- package/dist/apps.js +2 -2
- package/dist/architecture.cjs +11 -11
- package/dist/architecture.d.cts +1 -1
- package/dist/architecture.d.ts +1 -1
- package/dist/architecture.js +2 -2
- package/dist/audio.cjs +5 -5
- package/dist/audio.d.cts +1 -1
- package/dist/audio.d.ts +1 -1
- package/dist/audio.js +2 -2
- package/dist/chat.cjs +12 -12
- package/dist/chat.d.cts +1 -1
- package/dist/chat.d.ts +1 -1
- package/dist/chat.js +2 -2
- package/dist/{chunk-PKYPPATQ.cjs → chunk-2SXAAKGV.cjs} +45 -100
- package/dist/{chunk-JRPLPAIX.js → chunk-ER7WV43R.js} +4 -88
- package/dist/chunk-FNIYADWI.cjs +59 -0
- package/dist/{chunk-PIPE5OML.js → chunk-KIEAFMKB.js} +46 -100
- package/dist/{chunk-EV7AXV2X.cjs → chunk-SME66TWP.cjs} +7 -100
- package/dist/chunk-YTEOFGFC.js +57 -0
- package/dist/code.cjs +7 -7
- package/dist/code.d.cts +1 -1
- package/dist/code.d.ts +1 -1
- package/dist/code.js +2 -2
- package/dist/commerce.d.cts +1 -1
- package/dist/commerce.d.ts +1 -1
- package/dist/communications.cjs +5 -5
- package/dist/communications.d.cts +1 -1
- package/dist/communications.d.ts +1 -1
- package/dist/communications.js +2 -2
- package/dist/computer.cjs +5 -5
- package/dist/computer.d.cts +1 -1
- package/dist/computer.d.ts +1 -1
- package/dist/computer.js +2 -2
- package/dist/content.cjs +5 -5
- package/dist/content.d.cts +1 -1
- package/dist/content.d.ts +1 -1
- package/dist/content.js +2 -2
- package/dist/crm.cjs +3 -3
- package/dist/crm.d.cts +1 -1
- package/dist/crm.d.ts +1 -1
- package/dist/crm.js +2 -2
- package/dist/data.cjs +4 -4
- package/dist/data.d.cts +1 -1
- package/dist/data.d.ts +1 -1
- package/dist/data.js +2 -2
- package/dist/education.cjs +5 -5
- package/dist/education.d.cts +1 -1
- package/dist/education.d.ts +1 -1
- package/dist/education.js +2 -2
- package/dist/files.cjs +21 -21
- package/dist/files.d.cts +1 -1
- package/dist/files.d.ts +1 -1
- package/dist/files.js +2 -2
- package/dist/human-resources.d.cts +1 -1
- package/dist/human-resources.d.ts +1 -1
- package/dist/{index-YFW4xNti.d.cts → index-BXLIDtlM.d.cts} +1 -1
- package/dist/{index-YFW4xNti.d.ts → index-BXLIDtlM.d.ts} +1 -1
- package/dist/index.cjs +86 -129
- package/dist/index.d.cts +8 -123
- package/dist/index.d.ts +8 -123
- package/dist/index.js +8 -15
- package/dist/integrations.cjs +4 -4
- package/dist/integrations.d.cts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/integrations.js +2 -2
- package/dist/intelligence.cjs +11 -8
- package/dist/intelligence.d.cts +2 -2
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +6 -3
- package/dist/{keys.generated-BCPbimdi.d.cts → keys.generated-DE-t9kzx.d.cts} +6 -3
- package/dist/{keys.generated-BCPbimdi.d.ts → keys.generated-DE-t9kzx.d.ts} +6 -3
- package/dist/knowledge.cjs +43 -43
- package/dist/knowledge.d.cts +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.js +2 -2
- package/dist/legal.cjs +7 -7
- package/dist/legal.d.cts +1 -1
- package/dist/legal.d.ts +1 -1
- package/dist/legal.js +2 -2
- package/dist/marketing.cjs +77 -77
- package/dist/marketing.d.cts +1 -1
- package/dist/marketing.d.ts +1 -1
- package/dist/marketing.js +2 -2
- package/dist/masterwork.cjs +33 -33
- package/dist/masterwork.d.cts +1 -1
- package/dist/masterwork.d.ts +1 -1
- package/dist/masterwork.js +2 -2
- package/dist/media.cjs +12 -12
- package/dist/media.d.cts +1 -1
- package/dist/media.d.ts +1 -1
- package/dist/media.js +2 -2
- package/dist/net.cjs +20 -19
- package/dist/net.js +2 -1
- package/dist/platform.cjs +4 -4
- package/dist/platform.d.cts +1 -1
- package/dist/platform.d.ts +1 -1
- package/dist/platform.js +2 -2
- package/dist/publish.cjs +8 -8
- package/dist/publish.d.cts +1 -1
- package/dist/publish.d.ts +1 -1
- package/dist/publish.js +2 -2
- package/dist/stream.cjs +11 -11
- package/dist/stream.d.cts +1 -1
- package/dist/stream.d.ts +1 -1
- package/dist/stream.js +2 -2
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/web.cjs +27 -27
- package/dist/web.d.cts +1 -1
- package/dist/web.d.ts +1 -1
- package/dist/web.js +2 -2
- package/dist/workflows.cjs +14 -14
- package/dist/workflows.d.cts +1 -1
- package/dist/workflows.d.ts +1 -1
- package/dist/workflows.js +2 -2
- package/package.json +2 -2
|
@@ -1,92 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2SXAAKGV_cjs = require('./chunk-2SXAAKGV.cjs');
|
|
4
4
|
var uuid = require('@ai-matrx/kit/uuid');
|
|
5
5
|
var credentials = require('@ai-matrx/auth/credentials');
|
|
6
6
|
|
|
7
|
-
// src/core/protocol.ts
|
|
8
|
-
var MATRX_AI_API_VERSION_DEFAULT = "v2";
|
|
9
|
-
var V2_COVERED_AI_PATH_TEMPLATES = [
|
|
10
|
-
"/ai/manual",
|
|
11
|
-
"/ai/chat",
|
|
12
|
-
"/ai/agents/{agent_id}",
|
|
13
|
-
"/ai/agent/{agent_id}",
|
|
14
|
-
// singular alias — behaves identically
|
|
15
|
-
"/ai/conversations/{conversation_id}",
|
|
16
|
-
"/ai/conversation/{conversation_id}",
|
|
17
|
-
// singular alias
|
|
18
|
-
"/ai/prompts/{prompt_id}",
|
|
19
|
-
// saved-prompt execution
|
|
20
|
-
"/ai/mandates/{mandate_key}"
|
|
21
|
-
// THE MANDATE DOOR — `/v2` sibling exists (routers/v2.py)
|
|
22
|
-
];
|
|
23
|
-
function toV2Path(path) {
|
|
24
|
-
const withLead = path.startsWith("/") ? path : `/${path}`;
|
|
25
|
-
if (withLead.startsWith("/api/")) {
|
|
26
|
-
const rest = withLead.slice("/api".length);
|
|
27
|
-
return rest.startsWith("/v2/") ? withLead : `/api/v2${rest}`;
|
|
28
|
-
}
|
|
29
|
-
return withLead.startsWith("/v2/") ? withLead : `/v2${withLead}`;
|
|
30
|
-
}
|
|
31
|
-
var COVERED_INTERPOLATED_PATH = [
|
|
32
|
-
/^(?:\/api)?\/ai\/manual$/,
|
|
33
|
-
/^(?:\/api)?\/ai\/chat$/,
|
|
34
|
-
/^(?:\/api)?\/ai\/agents\/[^/]+$/,
|
|
35
|
-
/^(?:\/api)?\/ai\/agent\/[^/]+$/,
|
|
36
|
-
/^(?:\/api)?\/ai\/conversations\/[^/]+$/,
|
|
37
|
-
/^(?:\/api)?\/ai\/conversation\/[^/]+$/,
|
|
38
|
-
/^(?:\/api)?\/ai\/prompts\/[^/]+$/,
|
|
39
|
-
// `/warm` etc. deliberately don't match
|
|
40
|
-
/^(?:\/api)?\/ai\/mandates\/[^/]+$/
|
|
41
|
-
// the mandate door
|
|
42
|
-
];
|
|
43
|
-
function isCoveredAiPath(path) {
|
|
44
|
-
return COVERED_INTERPOLATED_PATH.some((re) => re.test(path));
|
|
45
|
-
}
|
|
46
|
-
function isV2Path(pathOrUrl) {
|
|
47
|
-
return /\/v2\/ai\//.test(pathOrUrl);
|
|
48
|
-
}
|
|
49
|
-
function toV1FallbackUrl(url) {
|
|
50
|
-
return url.replace(/\/v2\/ai\//, "/ai/");
|
|
51
|
-
}
|
|
52
|
-
function applyAiApiVersion(path, version) {
|
|
53
|
-
if (version !== "v2") return path;
|
|
54
|
-
return isCoveredAiPath(path) ? toV2Path(path) : path;
|
|
55
|
-
}
|
|
56
|
-
async function fetchWithMatrxProtocolFallback(url, init, opts = {}) {
|
|
57
|
-
const { onDowngrade, ...fetchOpts } = opts;
|
|
58
|
-
const logDowngrade = (reason, status2) => {
|
|
59
|
-
console.warn(
|
|
60
|
-
`[matrx] ai_v2_downgrade \u2192 retrying on v1. v2=${url} reason=${reason}`
|
|
61
|
-
);
|
|
62
|
-
onDowngrade?.({ url, reason, ...status2 !== void 0 ? { status: status2 } : {} });
|
|
63
|
-
};
|
|
64
|
-
if (!isV2Path(url)) return chunkPKYPPATQ_cjs.resilientFetch(url, init, fetchOpts);
|
|
65
|
-
let result;
|
|
66
|
-
try {
|
|
67
|
-
result = await chunkPKYPPATQ_cjs.resilientFetch(url, init, fetchOpts);
|
|
68
|
-
} catch (err) {
|
|
69
|
-
const isAbort = chunkPKYPPATQ_cjs.isNetError(err) && err.code === "aborted" || err instanceof Error && err.name === "AbortError";
|
|
70
|
-
if (isAbort) throw err;
|
|
71
|
-
logDowngrade(String(err));
|
|
72
|
-
return chunkPKYPPATQ_cjs.resilientFetch(toV1FallbackUrl(url), init, fetchOpts);
|
|
73
|
-
}
|
|
74
|
-
const status = result.response.status;
|
|
75
|
-
if (status === 404 || status === 405 || status >= 500) {
|
|
76
|
-
logDowngrade(`HTTP ${status}`, status);
|
|
77
|
-
return chunkPKYPPATQ_cjs.resilientFetch(toV1FallbackUrl(url), init, fetchOpts);
|
|
78
|
-
}
|
|
79
|
-
return result;
|
|
80
|
-
}
|
|
81
|
-
function aiVersionPathOverrides(version) {
|
|
82
|
-
if (version !== "v2") return {};
|
|
83
|
-
const map = {};
|
|
84
|
-
for (const template of V2_COVERED_AI_PATH_TEMPLATES) {
|
|
85
|
-
map[template] = toV2Path(template);
|
|
86
|
-
}
|
|
87
|
-
return map;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
7
|
// src/core/backend-errors.ts
|
|
91
8
|
var BackendApiError = class extends Error {
|
|
92
9
|
/** Machine-readable error code */
|
|
@@ -1017,7 +934,7 @@ function sendWithXhr(url, init, signal, totalTimeoutMs, onUploadProgress) {
|
|
|
1017
934
|
};
|
|
1018
935
|
xhr.ontimeout = () => {
|
|
1019
936
|
cleanup();
|
|
1020
|
-
reject(new
|
|
937
|
+
reject(new chunk2SXAAKGV_cjs.TotalTimeoutError(totalTimeoutMs ?? 0));
|
|
1021
938
|
};
|
|
1022
939
|
xhr.onabort = () => {
|
|
1023
940
|
cleanup();
|
|
@@ -1037,7 +954,7 @@ async function sendOnWire(request, auth = {}) {
|
|
|
1037
954
|
await waitForSessionReady(auth.credentials, auth.readyTimeoutMs);
|
|
1038
955
|
const credentialHeaders = auth.credentials ? credentials.credentialToHeaders(await auth.credentials.get()) : {};
|
|
1039
956
|
const attempt = (sendHeaders) => {
|
|
1040
|
-
if (request.signal?.aborted) return Promise.reject(new
|
|
957
|
+
if (request.signal?.aborted) return Promise.reject(new chunk2SXAAKGV_cjs.AbortedError(request.signal.reason));
|
|
1041
958
|
const merged = { ...sendHeaders };
|
|
1042
959
|
if (request.onUploadProgress && body !== void 0) {
|
|
1043
960
|
if (typeof XMLHttpRequest !== "undefined" && !(typeof ReadableStream !== "undefined" && body instanceof ReadableStream)) {
|
|
@@ -1051,15 +968,14 @@ async function sendOnWire(request, auth = {}) {
|
|
|
1051
968
|
);
|
|
1052
969
|
}
|
|
1053
970
|
}
|
|
1054
|
-
return
|
|
971
|
+
return chunk2SXAAKGV_cjs.resilientFetch(
|
|
1055
972
|
request.url,
|
|
1056
973
|
{ ...request.fetchOptions, method, headers: merged, ...body !== void 0 ? { body } : {} },
|
|
1057
974
|
{
|
|
1058
975
|
...request.signal ? { signal: request.signal } : {},
|
|
1059
976
|
connectTimeoutMs: request.connectTimeoutMs ?? DEFAULT_CONNECT_TIMEOUT_MS,
|
|
1060
977
|
totalTimeoutMs: request.totalTimeoutMs !== void 0 ? request.totalTimeoutMs : null,
|
|
1061
|
-
throwOnHttpError: false
|
|
1062
|
-
...request.onProtocolDowngrade ? { onDowngrade: request.onProtocolDowngrade } : {}
|
|
978
|
+
throwOnHttpError: false
|
|
1063
979
|
}
|
|
1064
980
|
).then((result) => {
|
|
1065
981
|
if (request.onUploadProgress && body !== void 0) {
|
|
@@ -1075,9 +991,9 @@ async function sendOnWire(request, auth = {}) {
|
|
|
1075
991
|
const firstHeaders = mergeHeaders(headers, credentialHeaders, over);
|
|
1076
992
|
const idempotent = method === "GET" || method === "HEAD";
|
|
1077
993
|
const attempts = Math.max(1, request.retryAttempts ?? 1);
|
|
1078
|
-
const first = idempotent && attempts > 1 && !request.stream ? await
|
|
994
|
+
const first = idempotent && attempts > 1 && !request.stream ? await chunk2SXAAKGV_cjs.withRetry(() => attempt(firstHeaders), {
|
|
1079
995
|
attempts,
|
|
1080
|
-
retryOn:
|
|
996
|
+
retryOn: chunk2SXAAKGV_cjs.isTransportFailure,
|
|
1081
997
|
...request.signal ? { signal: request.signal } : {}
|
|
1082
998
|
}) : await attempt(firstHeaders);
|
|
1083
999
|
if (first.response.status !== 401 || !auth.refreshCredentials) return first;
|
|
@@ -1285,14 +1201,10 @@ exports.CONTRACT_SHA256 = CONTRACT_SHA256;
|
|
|
1285
1201
|
exports.DEFAULT_MATRX_NDJSON_READ_AHEAD = DEFAULT_MATRX_NDJSON_READ_AHEAD;
|
|
1286
1202
|
exports.DEPLOYMENTS = DEPLOYMENTS;
|
|
1287
1203
|
exports.DOMAINS = DOMAINS;
|
|
1288
|
-
exports.MATRX_AI_API_VERSION_DEFAULT = MATRX_AI_API_VERSION_DEFAULT;
|
|
1289
1204
|
exports.MatrxApiError = MatrxApiError;
|
|
1290
1205
|
exports.OrganizationContextError = OrganizationContextError;
|
|
1291
1206
|
exports.StreamTransportError = StreamTransportError;
|
|
1292
|
-
exports.V2_COVERED_AI_PATH_TEMPLATES = V2_COVERED_AI_PATH_TEMPLATES;
|
|
1293
1207
|
exports.WIRE_FETCH_OPTION_KEYS = WIRE_FETCH_OPTION_KEYS;
|
|
1294
|
-
exports.aiVersionPathOverrides = aiVersionPathOverrides;
|
|
1295
|
-
exports.applyAiApiVersion = applyAiApiVersion;
|
|
1296
1208
|
exports.applyOrganizationContextHeader = applyOrganizationContextHeader;
|
|
1297
1209
|
exports.assertOrganizationMatchesOperation = assertOrganizationMatchesOperation;
|
|
1298
1210
|
exports.assertQueryOrganizationMatchesContext = assertQueryOrganizationMatchesContext;
|
|
@@ -1303,13 +1215,10 @@ exports.createOrganizationOperation = createOrganizationOperation;
|
|
|
1303
1215
|
exports.describeBackendFailure = describeBackendFailure;
|
|
1304
1216
|
exports.extractMatrxErrorCode = extractMatrxErrorCode;
|
|
1305
1217
|
exports.extractMatrxErrorMessage = extractMatrxErrorMessage;
|
|
1306
|
-
exports.fetchWithMatrxProtocolFallback = fetchWithMatrxProtocolFallback;
|
|
1307
1218
|
exports.getUserMessage = getUserMessage;
|
|
1308
1219
|
exports.isBinaryType = isBinaryType;
|
|
1309
|
-
exports.isCoveredAiPath = isCoveredAiPath;
|
|
1310
1220
|
exports.isGenericUserMessage = isGenericUserMessage;
|
|
1311
1221
|
exports.isStreamTransportLost = isStreamTransportLost;
|
|
1312
|
-
exports.isV2Path = isV2Path;
|
|
1313
1222
|
exports.normalizeMatrxStreamEnvelope = normalizeMatrxStreamEnvelope;
|
|
1314
1223
|
exports.openJsonOrStream = openJsonOrStream;
|
|
1315
1224
|
exports.openStream = openStream;
|
|
@@ -1323,6 +1232,4 @@ exports.readMatrxNdjsonStream = readMatrxNdjsonStream;
|
|
|
1323
1232
|
exports.readMatrxSseStream = readMatrxSseStream;
|
|
1324
1233
|
exports.requireOrganizationContext = requireOrganizationContext;
|
|
1325
1234
|
exports.sendOnWire = sendOnWire;
|
|
1326
|
-
exports.toV1FallbackUrl = toV1FallbackUrl;
|
|
1327
|
-
exports.toV2Path = toV2Path;
|
|
1328
1235
|
exports.unwrapUpstreamError = unwrapUpstreamError;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { TotalTimeoutError, HeartbeatTimeoutError } from './chunk-KIEAFMKB.js';
|
|
2
|
+
|
|
3
|
+
// src/net/stream-monitor.ts
|
|
4
|
+
var DEFAULTS = {
|
|
5
|
+
heartbeatTimeoutMs: 3e4,
|
|
6
|
+
maxLifetimeMs: 6e5
|
|
7
|
+
};
|
|
8
|
+
async function* monitorStream(source, opts = {}) {
|
|
9
|
+
const heartbeatTimeoutMs = opts.heartbeatTimeoutMs ?? DEFAULTS.heartbeatTimeoutMs;
|
|
10
|
+
const maxLifetimeMs = opts.maxLifetimeMs ?? DEFAULTS.maxLifetimeMs;
|
|
11
|
+
const abort = opts.abortController;
|
|
12
|
+
const startedAt = Date.now();
|
|
13
|
+
const iter = source[Symbol.asyncIterator]();
|
|
14
|
+
while (true) {
|
|
15
|
+
const elapsed = Date.now() - startedAt;
|
|
16
|
+
const remainingLifetime = maxLifetimeMs - elapsed;
|
|
17
|
+
if (remainingLifetime <= 0) {
|
|
18
|
+
abort?.abort("total-timeout");
|
|
19
|
+
throw new TotalTimeoutError(maxLifetimeMs);
|
|
20
|
+
}
|
|
21
|
+
const deadline = Math.min(heartbeatTimeoutMs, remainingLifetime);
|
|
22
|
+
let timer = null;
|
|
23
|
+
let timedOutKind = null;
|
|
24
|
+
const timeoutPromise = new Promise((_, reject) => {
|
|
25
|
+
timer = setTimeout(() => {
|
|
26
|
+
timedOutKind = deadline === remainingLifetime ? "total" : "heartbeat";
|
|
27
|
+
abort?.abort(
|
|
28
|
+
timedOutKind === "total" ? "total-timeout" : "heartbeat-timeout"
|
|
29
|
+
);
|
|
30
|
+
reject(
|
|
31
|
+
timedOutKind === "total" ? new TotalTimeoutError(maxLifetimeMs) : new HeartbeatTimeoutError(heartbeatTimeoutMs)
|
|
32
|
+
);
|
|
33
|
+
}, deadline);
|
|
34
|
+
});
|
|
35
|
+
let result;
|
|
36
|
+
try {
|
|
37
|
+
result = await Promise.race([iter.next(), timeoutPromise]);
|
|
38
|
+
} catch (err) {
|
|
39
|
+
if (timer !== null) clearTimeout(timer);
|
|
40
|
+
try {
|
|
41
|
+
const cleanup = iter.return?.(void 0);
|
|
42
|
+
if (cleanup) {
|
|
43
|
+
void Promise.resolve(cleanup).catch(() => {
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
} catch {
|
|
47
|
+
}
|
|
48
|
+
throw err;
|
|
49
|
+
}
|
|
50
|
+
if (timer !== null) clearTimeout(timer);
|
|
51
|
+
if (result.done) return;
|
|
52
|
+
opts.onHeartbeat?.(Date.now());
|
|
53
|
+
yield result.value;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export { monitorStream };
|
package/dist/code.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkSME66TWP_cjs = require('./chunk-SME66TWP.cjs');
|
|
4
|
+
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/code.ts
|
|
7
7
|
var $codingSessionBridge = { m: "POST", p: "/coding-sessions/bridge", d: "aidream", a: "user", o: "exempt", n: "code.coding_session_bridge" };
|
|
@@ -46,7 +46,7 @@ function claudeManagedCapabilities(api, args, options) {
|
|
|
46
46
|
}
|
|
47
47
|
var $claudeManagedStream = { m: "POST", p: "/coding-sessions/claude/stream", d: "aidream", a: "user", o: "required", s: "ndjson", n: "code.claude_managed_stream" };
|
|
48
48
|
function claudeManagedStream(api, args, options) {
|
|
49
|
-
return
|
|
49
|
+
return chunkSME66TWP_cjs.openStream(api, $claudeManagedStream, args, options);
|
|
50
50
|
}
|
|
51
51
|
var $cancelClaudeManagedRuntime = { m: "POST", p: "/coding-sessions/claude/runtimes/{runtime_id}/cancel", d: "aidream", a: "user", o: "required", n: "code.cancel_claude_managed_runtime" };
|
|
52
52
|
function cancelClaudeManagedRuntime(api, args, options) {
|
|
@@ -58,7 +58,7 @@ function codexManagedCapabilities(api, args, options) {
|
|
|
58
58
|
}
|
|
59
59
|
var $codexManagedStream = { m: "POST", p: "/coding-sessions/codex/stream", d: "aidream", a: "user", o: "required", s: "ndjson", n: "code.codex_managed_stream" };
|
|
60
60
|
function codexManagedStream(api, args, options) {
|
|
61
|
-
return
|
|
61
|
+
return chunkSME66TWP_cjs.openStream(api, $codexManagedStream, args, options);
|
|
62
62
|
}
|
|
63
63
|
var $cancelCodexManagedRuntime = { m: "POST", p: "/coding-sessions/codex/runtimes/{runtime_id}/cancel", d: "aidream", a: "user", o: "required", n: "code.cancel_codex_managed_runtime" };
|
|
64
64
|
function cancelCodexManagedRuntime(api, args, options) {
|
|
@@ -138,7 +138,7 @@ function claudeManagedCapabilitiesOnHostedBox(api, args, options) {
|
|
|
138
138
|
}
|
|
139
139
|
var $claudeManagedStreamOnHostedBox = { m: "POST", p: "/coding-sessions/claude/stream", d: "hosted-box", a: "user", o: "required", s: "ndjson", n: "code.claude_managed_stream" };
|
|
140
140
|
function claudeManagedStreamOnHostedBox(api, args, options) {
|
|
141
|
-
return
|
|
141
|
+
return chunkSME66TWP_cjs.openStream(api, $claudeManagedStreamOnHostedBox, args, options);
|
|
142
142
|
}
|
|
143
143
|
var $cancelClaudeManagedRuntimeOnHostedBox = { m: "POST", p: "/coding-sessions/claude/runtimes/{runtime_id}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.cancel_claude_managed_runtime" };
|
|
144
144
|
function cancelClaudeManagedRuntimeOnHostedBox(api, args, options) {
|
|
@@ -150,7 +150,7 @@ function codexManagedCapabilitiesOnHostedBox(api, args, options) {
|
|
|
150
150
|
}
|
|
151
151
|
var $codexManagedStreamOnHostedBox = { m: "POST", p: "/coding-sessions/codex/stream", d: "hosted-box", a: "user", o: "required", s: "ndjson", n: "code.codex_managed_stream" };
|
|
152
152
|
function codexManagedStreamOnHostedBox(api, args, options) {
|
|
153
|
-
return
|
|
153
|
+
return chunkSME66TWP_cjs.openStream(api, $codexManagedStreamOnHostedBox, args, options);
|
|
154
154
|
}
|
|
155
155
|
var $cancelCodexManagedRuntimeOnHostedBox = { m: "POST", p: "/coding-sessions/codex/runtimes/{runtime_id}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.cancel_codex_managed_runtime" };
|
|
156
156
|
function cancelCodexManagedRuntimeOnHostedBox(api, args, options) {
|
|
@@ -378,7 +378,7 @@ function runtimeResumable(api, args, options) {
|
|
|
378
378
|
}
|
|
379
379
|
var $runtimeEvents = { m: "GET", p: "/coding-session/runtime/{runtime_id}/events", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "code.runtime_events" };
|
|
380
380
|
function runtimeEvents(api, args, options) {
|
|
381
|
-
return
|
|
381
|
+
return chunkSME66TWP_cjs.openStream(api, $runtimeEvents, args, options);
|
|
382
382
|
}
|
|
383
383
|
var $getCodexUsageAllowance = { m: "GET", p: "/codex-usage/allowance", d: "matrx-local", a: "loopback_token", o: "exempt", n: "code.get_codex_usage_allowance" };
|
|
384
384
|
function getCodexUsageAllowance(api, args, options) {
|
package/dist/code.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-BXLIDtlM.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
package/dist/code.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-BXLIDtlM.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
package/dist/code.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { openStream } from './chunk-ER7WV43R.js';
|
|
2
|
+
import './chunk-KIEAFMKB.js';
|
|
3
3
|
|
|
4
4
|
// src/generated/code.ts
|
|
5
5
|
var $codingSessionBridge = { m: "POST", p: "/coding-sessions/bridge", d: "aidream", a: "user", o: "exempt", n: "code.coding_session_bridge" };
|
package/dist/commerce.d.cts
CHANGED
package/dist/commerce.d.ts
CHANGED
package/dist/communications.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkSME66TWP_cjs = require('./chunk-SME66TWP.cjs');
|
|
4
|
+
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/communications.ts
|
|
7
7
|
var $conversationRelayPreparation = { m: "POST", p: "/communications/voice/conversation-relay/session-reference", d: "aidream", a: "scoped", o: "required", n: "communications.conversation_relay_preparation" };
|
|
@@ -102,7 +102,7 @@ function agentStop(api, args, options) {
|
|
|
102
102
|
}
|
|
103
103
|
var $intelligenceAsk = { m: "POST", p: "/v1/meet/intelligence/ask", d: "aidream", a: "scoped", o: "required", s: "ndjson", n: "communications.intelligence_ask" };
|
|
104
104
|
function intelligenceAsk(api, args, options) {
|
|
105
|
-
return
|
|
105
|
+
return chunkSME66TWP_cjs.openStream(api, $intelligenceAsk, args, options);
|
|
106
106
|
}
|
|
107
107
|
var $meetingRecord = { m: "GET", p: "/v1/meet/record", d: "aidream", a: "scoped", o: "required", n: "communications.meeting_record" };
|
|
108
108
|
function meetingRecord(api, args, options) {
|
|
@@ -142,11 +142,11 @@ function meetingGoogleCalendar(api, args, options) {
|
|
|
142
142
|
}
|
|
143
143
|
var $meetingBrief = { m: "POST", p: "/v1/meet/meetings/{meeting_id}/brief", d: "aidream", a: "user", o: "required", s: "ndjson", n: "communications.meeting_brief" };
|
|
144
144
|
function meetingBrief(api, args, options) {
|
|
145
|
-
return
|
|
145
|
+
return chunkSME66TWP_cjs.openStream(api, $meetingBrief, args, options);
|
|
146
146
|
}
|
|
147
147
|
var $agendaDraft = { m: "POST", p: "/v1/meet/agenda-draft", d: "aidream", a: "user", o: "required", s: "ndjson", n: "communications.agenda_draft" };
|
|
148
148
|
function agendaDraft(api, args, options) {
|
|
149
|
-
return
|
|
149
|
+
return chunkSME66TWP_cjs.openStream(api, $agendaDraft, args, options);
|
|
150
150
|
}
|
|
151
151
|
var $meetingModerate = { m: "POST", p: "/v1/meet/moderate", d: "aidream", a: "scoped", o: "required", n: "communications.meeting_moderate" };
|
|
152
152
|
function meetingModerate(api, args, options) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BXLIDtlM.cjs';
|
|
2
2
|
import { JsonValue, CalendarCreateResult } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
package/dist/communications.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BXLIDtlM.js';
|
|
2
2
|
import { JsonValue, CalendarCreateResult } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
package/dist/communications.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { openStream } from './chunk-ER7WV43R.js';
|
|
2
|
+
import './chunk-KIEAFMKB.js';
|
|
3
3
|
|
|
4
4
|
// src/generated/communications.ts
|
|
5
5
|
var $conversationRelayPreparation = { m: "POST", p: "/communications/voice/conversation-relay/session-reference", d: "aidream", a: "scoped", o: "required", n: "communications.conversation_relay_preparation" };
|
package/dist/computer.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkSME66TWP_cjs = require('./chunk-SME66TWP.cjs');
|
|
4
|
+
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/computer.ts
|
|
7
7
|
var $localProxyProxyToLocalPc = { m: "GET", p: "/local-proxy/{app_instance_id}/{path}", d: "aidream", a: "guest", o: "required", n: "computer.local_proxy_proxy_to_local_pc" };
|
|
@@ -50,11 +50,11 @@ function getAccessLogs(api, args, options) {
|
|
|
50
50
|
}
|
|
51
51
|
var $streamSystemLog = { m: "GET", p: "/logs/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "computer.stream_system_log" };
|
|
52
52
|
function streamSystemLog(api, args, options) {
|
|
53
|
-
return
|
|
53
|
+
return chunkSME66TWP_cjs.openStream(api, $streamSystemLog, args, options);
|
|
54
54
|
}
|
|
55
55
|
var $streamAccessLog = { m: "GET", p: "/logs/access/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "computer.stream_access_log" };
|
|
56
56
|
function streamAccessLog(api, args, options) {
|
|
57
|
-
return
|
|
57
|
+
return chunkSME66TWP_cjs.openStream(api, $streamAccessLog, args, options);
|
|
58
58
|
}
|
|
59
59
|
var $pushNotification = { m: "POST", p: "/notify", d: "matrx-local", a: "loopback_token", o: "exempt", n: "computer.push_notification" };
|
|
60
60
|
function pushNotification(api, args, options) {
|
|
@@ -90,7 +90,7 @@ function messages(api, args, options) {
|
|
|
90
90
|
}
|
|
91
91
|
var $events = { m: "GET", p: "/personal-messaging/beeper/events", d: "matrx-local", a: "loopback_token", o: "exempt", s: "ndjson", n: "computer.events" };
|
|
92
92
|
function events(api, args, options) {
|
|
93
|
-
return
|
|
93
|
+
return chunkSME66TWP_cjs.openStream(api, $events, args, options);
|
|
94
94
|
}
|
|
95
95
|
var $message = { m: "GET", p: "/personal-messaging/beeper/message", d: "matrx-local", a: "loopback_token", o: "exempt", n: "computer.message" };
|
|
96
96
|
function message(api, args, options) {
|
package/dist/computer.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-BXLIDtlM.cjs';
|
|
2
2
|
import { TextPart } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
package/dist/computer.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-BXLIDtlM.js';
|
|
2
2
|
import { TextPart } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
package/dist/computer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { openStream } from './chunk-ER7WV43R.js';
|
|
2
|
+
import './chunk-KIEAFMKB.js';
|
|
3
3
|
|
|
4
4
|
// src/generated/computer.ts
|
|
5
5
|
var $localProxyProxyToLocalPc = { m: "GET", p: "/local-proxy/{app_instance_id}/{path}", d: "aidream", a: "guest", o: "required", n: "computer.local_proxy_proxy_to_local_pc" };
|
package/dist/content.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkSME66TWP_cjs = require('./chunk-SME66TWP.cjs');
|
|
4
|
+
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/content.ts
|
|
7
7
|
var $esignOutsiderOpen = { m: "POST", p: "/esign/signing/outsider/open", d: "aidream", a: "scoped", o: "exempt", n: "content.esign_outsider_open" };
|
|
@@ -122,15 +122,15 @@ function processBlocks(api, args, options) {
|
|
|
122
122
|
}
|
|
123
123
|
var $processBlocksStream = { m: "POST", p: "/utilities/block-processing/process/stream", d: "aidream", a: "guest", o: "exempt", s: "ndjson", n: "content.process_blocks_stream" };
|
|
124
124
|
function processBlocksStream(api, args, options) {
|
|
125
|
-
return
|
|
125
|
+
return chunkSME66TWP_cjs.openStream(api, $processBlocksStream, args, options);
|
|
126
126
|
}
|
|
127
127
|
var $simulateProviderRetryStream = { m: "POST", p: "/utilities/block-processing/simulate/provider-retry", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "content.simulate_provider_retry_stream" };
|
|
128
128
|
function simulateProviderRetryStream(api, args, options) {
|
|
129
|
-
return
|
|
129
|
+
return chunkSME66TWP_cjs.openStream(api, $simulateProviderRetryStream, args, options);
|
|
130
130
|
}
|
|
131
131
|
var $processFile = { m: "POST", p: "/content-processing/{cld_file_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "content.process_file" };
|
|
132
132
|
function processFile(api, args, options) {
|
|
133
|
-
return
|
|
133
|
+
return chunkSME66TWP_cjs.openStream(api, $processFile, args, options);
|
|
134
134
|
}
|
|
135
135
|
var $generateOffice = { m: "POST", p: "/office/generate", d: "aidream", a: "guest", o: "required", n: "content.generate_office" };
|
|
136
136
|
function generateOffice(api, args, options) {
|
package/dist/content.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BXLIDtlM.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
package/dist/content.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BXLIDtlM.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
package/dist/content.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { openStream } from './chunk-ER7WV43R.js';
|
|
2
|
+
import './chunk-KIEAFMKB.js';
|
|
3
3
|
|
|
4
4
|
// src/generated/content.ts
|
|
5
5
|
var $esignOutsiderOpen = { m: "POST", p: "/esign/signing/outsider/open", d: "aidream", a: "scoped", o: "exempt", n: "content.esign_outsider_open" };
|
package/dist/crm.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkSME66TWP_cjs = require('./chunk-SME66TWP.cjs');
|
|
4
|
+
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/crm.ts
|
|
7
7
|
var $listSendingIdentities = { m: "GET", p: "/sending-identities", d: "aidream", a: "user", o: "optional", n: "crm.list_sending_identities" };
|
|
@@ -130,7 +130,7 @@ function mediaResearchPreviewDoor(api, args, options) {
|
|
|
130
130
|
}
|
|
131
131
|
var $mediaResearchRunDoor = { m: "POST", p: "/crm/outreach-lists/{list_id}/media-research/run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "crm.media_research_run_door" };
|
|
132
132
|
function mediaResearchRunDoor(api, args, options) {
|
|
133
|
-
return
|
|
133
|
+
return chunkSME66TWP_cjs.openStream(api, $mediaResearchRunDoor, args, options);
|
|
134
134
|
}
|
|
135
135
|
var $previewBulkEnrichment = { m: "POST", p: "/crm/enrichment/bulk/preview", d: "aidream", a: "guest", o: "required", n: "crm.preview_bulk_enrichment" };
|
|
136
136
|
function previewBulkEnrichment(api, args, options) {
|
package/dist/crm.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BXLIDtlM.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
package/dist/crm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BXLIDtlM.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
package/dist/crm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { openStream } from './chunk-ER7WV43R.js';
|
|
2
|
+
import './chunk-KIEAFMKB.js';
|
|
3
3
|
|
|
4
4
|
// src/generated/crm.ts
|
|
5
5
|
var $listSendingIdentities = { m: "GET", p: "/sending-identities", d: "aidream", a: "user", o: "optional", n: "crm.list_sending_identities" };
|
package/dist/data.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkSME66TWP_cjs = require('./chunk-SME66TWP.cjs');
|
|
4
|
+
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/data.ts
|
|
7
7
|
var $schemaManifest = { m: "GET", p: "/schema/manifest", d: "aidream", a: "public", o: "exempt", n: "data.schema_manifest" };
|
|
@@ -186,7 +186,7 @@ function listSources(api, args, options) {
|
|
|
186
186
|
}
|
|
187
187
|
var $fetch = { m: "POST", p: "/data-sources/fetch", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "data.fetch" };
|
|
188
188
|
function fetch(api, args, options) {
|
|
189
|
-
return
|
|
189
|
+
return chunkSME66TWP_cjs.openStream(api, $fetch, args, options);
|
|
190
190
|
}
|
|
191
191
|
var $getJob = { m: "GET", p: "/data-sources/jobs/{job_id}", d: "aidream", a: "guest", o: "required", n: "data.get_job" };
|
|
192
192
|
function getJob(api, args, options) {
|
|
@@ -198,7 +198,7 @@ function getJobChanges(api, args, options) {
|
|
|
198
198
|
}
|
|
199
199
|
var $refresh = { m: "POST", p: "/data-sources/tables/{table_id}/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "data.refresh" };
|
|
200
200
|
function refresh(api, args, options) {
|
|
201
|
-
return
|
|
201
|
+
return chunkSME66TWP_cjs.openStream(api, $refresh, args, options);
|
|
202
202
|
}
|
|
203
203
|
var $unlockPage = { m: "POST", p: "/data-sources/unlock", d: "aidream", a: "user", o: "required", n: "data.unlock_page" };
|
|
204
204
|
function unlockPage(api, args, options) {
|
package/dist/data.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BXLIDtlM.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
package/dist/data.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BXLIDtlM.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
package/dist/data.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { openStream } from './chunk-ER7WV43R.js';
|
|
2
|
+
import './chunk-KIEAFMKB.js';
|
|
3
3
|
|
|
4
4
|
// src/generated/data.ts
|
|
5
5
|
var $schemaManifest = { m: "GET", p: "/schema/manifest", d: "aidream", a: "public", o: "exempt", n: "data.schema_manifest" };
|
package/dist/education.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkSME66TWP_cjs = require('./chunk-SME66TWP.cjs');
|
|
4
|
+
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/education.ts
|
|
7
7
|
var $sourceCard = { m: "POST", p: "/education/images/source-card", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.source_card" };
|
|
8
8
|
function sourceCard(api, args, options) {
|
|
9
|
-
return
|
|
9
|
+
return chunkSME66TWP_cjs.openStream(api, $sourceCard, args, options);
|
|
10
10
|
}
|
|
11
11
|
var $generateCard = { m: "POST", p: "/education/images/generate-card", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.generate_card" };
|
|
12
12
|
function generateCard(api, args, options) {
|
|
13
|
-
return
|
|
13
|
+
return chunkSME66TWP_cjs.openStream(api, $generateCard, args, options);
|
|
14
14
|
}
|
|
15
15
|
var $sourceSet = { m: "POST", p: "/education/images/source-set", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.source_set" };
|
|
16
16
|
function sourceSet(api, args, options) {
|
|
17
|
-
return
|
|
17
|
+
return chunkSME66TWP_cjs.openStream(api, $sourceSet, args, options);
|
|
18
18
|
}
|
|
19
19
|
var TABLE = {};
|
|
20
20
|
function call(api, key, args, options) {
|
package/dist/education.d.cts
CHANGED