@ai-matrx/api 0.1.21 → 0.1.23
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 +16 -2
- package/dist/account.d.cts +2 -2
- package/dist/account.d.ts +2 -2
- package/dist/agents.cjs +11 -11
- package/dist/agents.d.cts +132 -4
- package/dist/agents.d.ts +132 -4
- package/dist/agents.js +1 -1
- package/dist/ai.cjs +38 -2
- package/dist/ai.d.cts +118 -3
- package/dist/ai.d.ts +118 -3
- package/dist/ai.js +32 -2
- package/dist/apps.cjs +5 -5
- package/dist/apps.d.cts +2 -2
- package/dist/apps.d.ts +2 -2
- package/dist/apps.js +1 -1
- package/dist/architecture.cjs +25 -25
- package/dist/architecture.d.cts +35 -21
- package/dist/architecture.d.ts +35 -21
- package/dist/architecture.js +15 -15
- package/dist/audio.cjs +4 -4
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +1 -1
- package/dist/chat.cjs +21 -57
- package/dist/chat.d.cts +52 -108
- package/dist/chat.d.ts +52 -108
- package/dist/chat.js +10 -40
- package/dist/{chunk-ER7WV43R.js → chunk-E3PGCGP7.js} +1 -1
- package/dist/{chunk-SME66TWP.cjs → chunk-ZOZOF5DN.cjs} +1 -1
- package/dist/code.cjs +6 -6
- package/dist/code.d.cts +2 -2
- package/dist/code.d.ts +2 -2
- package/dist/code.js +1 -1
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +4 -4
- package/dist/communications.d.cts +2 -2
- package/dist/communications.d.ts +2 -2
- package/dist/communications.js +1 -1
- package/dist/computer.cjs +4 -4
- package/dist/computer.d.cts +2 -2
- package/dist/computer.d.ts +2 -2
- package/dist/computer.js +1 -1
- package/dist/content.cjs +4 -4
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +1 -1
- package/dist/crm.cjs +2 -2
- package/dist/crm.d.cts +2 -2
- package/dist/crm.d.ts +2 -2
- package/dist/crm.js +1 -1
- package/dist/data.cjs +3 -3
- package/dist/data.d.cts +2 -2
- package/dist/data.d.ts +2 -2
- package/dist/data.js +1 -1
- package/dist/education.cjs +4 -4
- package/dist/education.d.cts +2 -2
- package/dist/education.d.ts +2 -2
- package/dist/education.js +1 -1
- package/dist/files.cjs +20 -20
- package/dist/files.d.cts +2 -2
- package/dist/files.d.ts +2 -2
- package/dist/files.js +1 -1
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-BXLIDtlM.d.cts → index-BgjdVvrS.d.cts} +2 -2
- package/dist/{index-BXLIDtlM.d.ts → index-BgjdVvrS.d.ts} +2 -2
- package/dist/index.cjs +58 -58
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/integrations.cjs +28 -4
- package/dist/integrations.d.cts +87 -5
- package/dist/integrations.d.ts +87 -5
- package/dist/integrations.js +23 -3
- package/dist/intelligence.cjs +6 -6
- package/dist/intelligence.d.cts +6 -2
- package/dist/intelligence.d.ts +6 -2
- package/dist/intelligence.js +1 -1
- package/dist/knowledge.cjs +42 -42
- package/dist/knowledge.d.cts +2 -2
- package/dist/knowledge.d.ts +2 -2
- package/dist/knowledge.js +1 -1
- package/dist/legal.cjs +6 -6
- package/dist/legal.d.cts +2 -2
- package/dist/legal.d.ts +2 -2
- package/dist/legal.js +1 -1
- package/dist/marketing.cjs +128 -76
- package/dist/marketing.d.cts +448 -3
- package/dist/marketing.d.ts +448 -3
- package/dist/marketing.js +45 -2
- package/dist/masterwork.cjs +32 -32
- package/dist/masterwork.d.cts +2 -2
- package/dist/masterwork.d.ts +2 -2
- package/dist/masterwork.js +1 -1
- package/dist/media.cjs +11 -11
- package/dist/media.d.cts +2 -2
- package/dist/media.d.ts +2 -2
- package/dist/media.js +1 -1
- package/dist/platform.cjs +3 -3
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +1 -1
- package/dist/publish.cjs +7 -7
- package/dist/publish.d.cts +2 -2
- package/dist/publish.d.ts +2 -2
- package/dist/publish.js +1 -1
- package/dist/schemas.d.cts +3 -125
- package/dist/schemas.d.ts +3 -125
- package/dist/stream.cjs +10 -10
- package/dist/stream.d.cts +1 -1
- package/dist/stream.d.ts +1 -1
- package/dist/stream.js +1 -1
- package/dist/types.d.cts +518 -226
- package/dist/types.d.ts +518 -226
- package/dist/web.cjs +26 -26
- package/dist/web.d.cts +5 -2
- package/dist/web.d.ts +5 -2
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +13 -13
- package/dist/workflows.d.cts +2 -2
- package/dist/workflows.d.ts +2 -2
- package/dist/workflows.js +1 -1
- package/package.json +2 -2
package/dist/ai.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZOZOF5DN_cjs = require('./chunk-ZOZOF5DN.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/ai.ts
|
|
@@ -16,6 +16,30 @@ var $createEmbeddings = { m: "POST", p: "/ai/google/embeddings", d: "aidream", a
|
|
|
16
16
|
function createEmbeddings(api, args, options) {
|
|
17
17
|
return api.call($createEmbeddings, args, options);
|
|
18
18
|
}
|
|
19
|
+
var $getStatus = { m: "GET", p: "/ai-test-mode/status", d: "aidream", a: "user", o: "required", n: "ai.get_status" };
|
|
20
|
+
function getStatus(api, args, options) {
|
|
21
|
+
return api.call($getStatus, args, options);
|
|
22
|
+
}
|
|
23
|
+
var $listBaselines = { m: "GET", p: "/admin/ai-test-mode/baselines", d: "aidream", a: "admin", o: "exempt", n: "ai.list_baselines" };
|
|
24
|
+
function listBaselines(api, args, options) {
|
|
25
|
+
return api.call($listBaselines, args, options);
|
|
26
|
+
}
|
|
27
|
+
var $patchBaseline = { m: "PATCH", p: "/admin/ai-test-mode/baselines/{baseline_id}", d: "aidream", a: "admin", o: "exempt", n: "ai.patch_baseline" };
|
|
28
|
+
function patchBaseline(api, args, options) {
|
|
29
|
+
return api.call($patchBaseline, args, options);
|
|
30
|
+
}
|
|
31
|
+
var $deleteBaseline = { m: "DELETE", p: "/admin/ai-test-mode/baselines/{baseline_id}", d: "aidream", a: "admin", o: "exempt", n: "ai.delete_baseline" };
|
|
32
|
+
function deleteBaseline(api, args, options) {
|
|
33
|
+
return api.call($deleteBaseline, args, options);
|
|
34
|
+
}
|
|
35
|
+
var $putStandIn = { m: "PUT", p: "/admin/ai-test-mode/stand-ins/{mandate_key}", d: "aidream", a: "admin", o: "exempt", n: "ai.put_stand_in" };
|
|
36
|
+
function putStandIn(api, args, options) {
|
|
37
|
+
return api.call($putStandIn, args, options);
|
|
38
|
+
}
|
|
39
|
+
var $getReport = { m: "GET", p: "/admin/ai-test-mode/report", d: "aidream", a: "admin", o: "exempt", n: "ai.get_report" };
|
|
40
|
+
function getReport(api, args, options) {
|
|
41
|
+
return api.call($getReport, args, options);
|
|
42
|
+
}
|
|
19
43
|
var $syncRegisteredUsagesEndpoint = { m: "POST", p: "/agent-usage/sync", d: "aidream", a: "admin", o: "exempt", n: "ai.sync_registered_usages_endpoint" };
|
|
20
44
|
function syncRegisteredUsagesEndpoint(api, args, options) {
|
|
21
45
|
return api.call($syncRegisteredUsagesEndpoint, args, options);
|
|
@@ -54,7 +78,7 @@ function listModels(api, args, options) {
|
|
|
54
78
|
}
|
|
55
79
|
var $chatCompletions = { m: "POST", p: "/v1/chat/completions", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse_or_json", n: "ai.chat_completions" };
|
|
56
80
|
function chatCompletions(api, args, options) {
|
|
57
|
-
return
|
|
81
|
+
return chunkZOZOF5DN_cjs.openJsonOrStream(api, $chatCompletions, args, options);
|
|
58
82
|
}
|
|
59
83
|
var $audioSpeech = { m: "POST", p: "/v1/audio/speech", d: "matrx-local", a: "loopback_token", o: "exempt", n: "ai.audio_speech" };
|
|
60
84
|
function audioSpeech(api, args, options) {
|
|
@@ -76,6 +100,12 @@ var TABLE = {
|
|
|
76
100
|
"GET /ai-models": $getAllAiModels,
|
|
77
101
|
"POST /ai/latency/client-report": $clientLatencyReport,
|
|
78
102
|
"POST /ai/google/embeddings": $createEmbeddings,
|
|
103
|
+
"GET /ai-test-mode/status": $getStatus,
|
|
104
|
+
"GET /admin/ai-test-mode/baselines": $listBaselines,
|
|
105
|
+
"PATCH /admin/ai-test-mode/baselines/{baseline_id}": $patchBaseline,
|
|
106
|
+
"DELETE /admin/ai-test-mode/baselines/{baseline_id}": $deleteBaseline,
|
|
107
|
+
"PUT /admin/ai-test-mode/stand-ins/{mandate_key}": $putStandIn,
|
|
108
|
+
"GET /admin/ai-test-mode/report": $getReport,
|
|
79
109
|
"POST /agent-usage/sync": $syncRegisteredUsagesEndpoint,
|
|
80
110
|
"GET /agent-usage/registry": $registryDiffEndpoint,
|
|
81
111
|
"POST /agent-usage/scan": $runScanEndpoint,
|
|
@@ -101,10 +131,16 @@ exports.call = call;
|
|
|
101
131
|
exports.chatCompletions = chatCompletions;
|
|
102
132
|
exports.clientLatencyReport = clientLatencyReport;
|
|
103
133
|
exports.createEmbeddings = createEmbeddings;
|
|
134
|
+
exports.deleteBaseline = deleteBaseline;
|
|
104
135
|
exports.embeddings = embeddings;
|
|
105
136
|
exports.getAllAiModels = getAllAiModels;
|
|
137
|
+
exports.getReport = getReport;
|
|
138
|
+
exports.getStatus = getStatus;
|
|
106
139
|
exports.hfTokenAssist = hfTokenAssist;
|
|
140
|
+
exports.listBaselines = listBaselines;
|
|
107
141
|
exports.listModels = listModels;
|
|
142
|
+
exports.patchBaseline = patchBaseline;
|
|
143
|
+
exports.putStandIn = putStandIn;
|
|
108
144
|
exports.refreshProviderModels = refreshProviderModels;
|
|
109
145
|
exports.registryDiffEndpoint = registryDiffEndpoint;
|
|
110
146
|
exports.reloadCatalog = reloadCatalog;
|
package/dist/ai.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, J as JsonOrStream, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, J as JsonOrStream, S as SseEvent } from './index-BgjdVvrS.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 a7cc7154fd90de65bc0e3e819210f0337696cb50814b5a366e64ecb1b00412e4
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AgentUsageReportResponse */
|
|
@@ -60,6 +60,18 @@ type AvailabilityDriftSummary = {
|
|
|
60
60
|
};
|
|
61
61
|
write_failures?: string[];
|
|
62
62
|
};
|
|
63
|
+
/** BaselineList */
|
|
64
|
+
type BaselineList = {
|
|
65
|
+
baselines: {
|
|
66
|
+
[key: string]: JsonValue;
|
|
67
|
+
}[];
|
|
68
|
+
};
|
|
69
|
+
/** BaselinePatch */
|
|
70
|
+
type BaselinePatch = {
|
|
71
|
+
label?: string | null;
|
|
72
|
+
/** True pins this as the mandate's stand-in. */
|
|
73
|
+
stand_in?: boolean | null;
|
|
74
|
+
};
|
|
63
75
|
/** ClientLatencyReport */
|
|
64
76
|
type ClientLatencyReport = {
|
|
65
77
|
latency_id: string;
|
|
@@ -313,6 +325,24 @@ type SettingsProbeSkippedOffering = {
|
|
|
313
325
|
modality: string;
|
|
314
326
|
why: string;
|
|
315
327
|
};
|
|
328
|
+
/** StandInBody */
|
|
329
|
+
type StandInBody = {
|
|
330
|
+
label?: string | null;
|
|
331
|
+
/** The answer the step should return: any AiExecutionResult fields — usually `content` (kind instances) and/or `structured_output` and `final_text`. */
|
|
332
|
+
result: {
|
|
333
|
+
[key: string]: JsonValue;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
/** TestModeStatus */
|
|
337
|
+
type TestModeStatus = {
|
|
338
|
+
requested: "real" | "replay" | "stand_in";
|
|
339
|
+
effective: "real" | "replay" | "stand_in";
|
|
340
|
+
reason: string;
|
|
341
|
+
/** The server allows test modes AND this caller may use them. */
|
|
342
|
+
available: boolean;
|
|
343
|
+
server_reason: string;
|
|
344
|
+
modes?: string[];
|
|
345
|
+
};
|
|
316
346
|
/** An AVAILABLE offering the provider's own fresh list says it cannot serve. */
|
|
317
347
|
type UnservableOffering = {
|
|
318
348
|
offering_id: string;
|
|
@@ -344,6 +374,67 @@ type CreateEmbeddingsResult = EmbeddingResponse;
|
|
|
344
374
|
/** Create Embeddings */
|
|
345
375
|
/** `POST /ai/google/embeddings` · aidream · auth guest · org required */
|
|
346
376
|
declare function createEmbeddings(api: Api, args: CreateEmbeddingsArgs, options?: CallOptions): Promise<CreateEmbeddingsResult>;
|
|
377
|
+
type GetStatusArgs = {
|
|
378
|
+
[key: string]: never;
|
|
379
|
+
};
|
|
380
|
+
type GetStatusResult = TestModeStatus;
|
|
381
|
+
/** Get Status */
|
|
382
|
+
/** `GET /ai-test-mode/status` · aidream · auth user · org required */
|
|
383
|
+
declare function getStatus(api: Api, args?: GetStatusArgs, options?: CallOptions): Promise<GetStatusResult>;
|
|
384
|
+
type ListBaselinesArgs = {
|
|
385
|
+
query?: {
|
|
386
|
+
mandate_key?: string | null;
|
|
387
|
+
include_provider_calls?: boolean;
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
type ListBaselinesResult = BaselineList;
|
|
391
|
+
/** List Baselines */
|
|
392
|
+
/** `GET /admin/ai-test-mode/baselines` · aidream · auth admin · org exempt */
|
|
393
|
+
declare function listBaselines(api: Api, args?: ListBaselinesArgs, options?: CallOptions): Promise<ListBaselinesResult>;
|
|
394
|
+
type PatchBaselineArgs = {
|
|
395
|
+
path: {
|
|
396
|
+
baseline_id: string;
|
|
397
|
+
};
|
|
398
|
+
body: BaselinePatch;
|
|
399
|
+
};
|
|
400
|
+
type PatchBaselineResult = {
|
|
401
|
+
[key: string]: JsonValue;
|
|
402
|
+
};
|
|
403
|
+
/** Patch Baseline */
|
|
404
|
+
/** `PATCH /admin/ai-test-mode/baselines/{baseline_id}` · aidream · auth admin · org exempt */
|
|
405
|
+
declare function patchBaseline(api: Api, args: PatchBaselineArgs, options?: CallOptions): Promise<PatchBaselineResult>;
|
|
406
|
+
type DeleteBaselineArgs = {
|
|
407
|
+
path: {
|
|
408
|
+
baseline_id: string;
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
type DeleteBaselineResult = {
|
|
412
|
+
[key: string]: boolean;
|
|
413
|
+
};
|
|
414
|
+
/** Delete Baseline */
|
|
415
|
+
/** `DELETE /admin/ai-test-mode/baselines/{baseline_id}` · aidream · auth admin · org exempt */
|
|
416
|
+
declare function deleteBaseline(api: Api, args: DeleteBaselineArgs, options?: CallOptions): Promise<DeleteBaselineResult>;
|
|
417
|
+
type PutStandInArgs = {
|
|
418
|
+
path: {
|
|
419
|
+
mandate_key: string;
|
|
420
|
+
};
|
|
421
|
+
body: StandInBody;
|
|
422
|
+
};
|
|
423
|
+
type PutStandInResult = {
|
|
424
|
+
[key: string]: JsonValue;
|
|
425
|
+
};
|
|
426
|
+
/** Put Stand In */
|
|
427
|
+
/** `PUT /admin/ai-test-mode/stand-ins/{mandate_key}` · aidream · auth admin · org exempt */
|
|
428
|
+
declare function putStandIn(api: Api, args: PutStandInArgs, options?: CallOptions): Promise<PutStandInResult>;
|
|
429
|
+
type GetReportArgs = {
|
|
430
|
+
[key: string]: never;
|
|
431
|
+
};
|
|
432
|
+
type GetReportResult = {
|
|
433
|
+
[key: string]: JsonValue;
|
|
434
|
+
};
|
|
435
|
+
/** Get Report */
|
|
436
|
+
/** `GET /admin/ai-test-mode/report` · aidream · auth admin · org exempt */
|
|
437
|
+
declare function getReport(api: Api, args?: GetReportArgs, options?: CallOptions): Promise<GetReportResult>;
|
|
347
438
|
type SyncRegisteredUsagesEndpointArgs = {
|
|
348
439
|
[key: string]: never;
|
|
349
440
|
};
|
|
@@ -458,6 +549,30 @@ interface Operations {
|
|
|
458
549
|
args: CreateEmbeddingsArgs;
|
|
459
550
|
result: CreateEmbeddingsResult;
|
|
460
551
|
};
|
|
552
|
+
"GET /ai-test-mode/status": {
|
|
553
|
+
args: GetStatusArgs;
|
|
554
|
+
result: GetStatusResult;
|
|
555
|
+
};
|
|
556
|
+
"GET /admin/ai-test-mode/baselines": {
|
|
557
|
+
args: ListBaselinesArgs;
|
|
558
|
+
result: ListBaselinesResult;
|
|
559
|
+
};
|
|
560
|
+
"PATCH /admin/ai-test-mode/baselines/{baseline_id}": {
|
|
561
|
+
args: PatchBaselineArgs;
|
|
562
|
+
result: PatchBaselineResult;
|
|
563
|
+
};
|
|
564
|
+
"DELETE /admin/ai-test-mode/baselines/{baseline_id}": {
|
|
565
|
+
args: DeleteBaselineArgs;
|
|
566
|
+
result: DeleteBaselineResult;
|
|
567
|
+
};
|
|
568
|
+
"PUT /admin/ai-test-mode/stand-ins/{mandate_key}": {
|
|
569
|
+
args: PutStandInArgs;
|
|
570
|
+
result: PutStandInResult;
|
|
571
|
+
};
|
|
572
|
+
"GET /admin/ai-test-mode/report": {
|
|
573
|
+
args: GetReportArgs;
|
|
574
|
+
result: GetReportResult;
|
|
575
|
+
};
|
|
461
576
|
"POST /agent-usage/sync": {
|
|
462
577
|
args: SyncRegisteredUsagesEndpointArgs;
|
|
463
578
|
result: SyncRegisteredUsagesEndpointResult;
|
|
@@ -514,4 +629,4 @@ interface Operations {
|
|
|
514
629
|
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
515
630
|
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
516
631
|
|
|
517
|
-
export { type AgentUsageReportResponse, type AgentUsageRollupEntry, type AiCatalogReloadSummary, type AiModelsResponse, type AnalyzeRepoArgs, type AnalyzeRepoResult, type AnalyzeRequest_MatrxLocal, type AudioSpeechArgs, type AudioSpeechResult, type AudioTranscriptionsArgs, type AudioTranscriptionsResult, type AvailabilityDriftSummary, type ChatCompletionsArgs, type ChatCompletionsResult, type ClientLatencyReport, type ClientLatencyReportAck, type ClientLatencyReportArgs, type ClientLatencyReportResult, type CodeAgentUsage, type CreateEmbeddingsArgs, type CreateEmbeddingsResult, type EmbeddingPart, type EmbeddingRequest, type EmbeddingResponse, type EmbeddingsArgs, type EmbeddingsResult, type GetAllAiModelsArgs, type GetAllAiModelsResult, type HardwareInfo, type HfAssistRequest, type HfAssistResponse, type HfTokenAssistArgs, type HfTokenAssistResult, type ListModelsArgs, type ListModelsResult, type ModelFileEntry, type Operations, type ParameterFactsSummary, type ProviderModelsRefreshRequest, type ProviderModelsRefreshSummary, type ProviderRefreshResult, type QuarantinedRowSummary, type RefreshProviderModelsArgs, type RefreshProviderModelsResult, type RegistryDbRow, type RegistryDiffEndpointArgs, type RegistryDiffEndpointResult, type RegistryDiffResponse, type RegistrySyncReport, type ReloadCatalogArgs, type ReloadCatalogResult, type RepoAnalysisResult, type ReportEndpointArgs, type ReportEndpointResult, type RunScanEndpointArgs, type RunScanEndpointResult, type RunSettingsProbeArgs, type RunSettingsProbeResult, type ScanSummary, type SettingsProbeOutcome, type SettingsProbeRequest, type SettingsProbeResponse, type SettingsProbeSkippedOffering, type SyncRegisteredUsagesEndpointArgs, type SyncRegisteredUsagesEndpointResult, type UnservableOffering, analyzeRepo, audioSpeech, audioTranscriptions, call, chatCompletions, clientLatencyReport, createEmbeddings, embeddings, getAllAiModels, hfTokenAssist, listModels, refreshProviderModels, registryDiffEndpoint, reloadCatalog, reportEndpoint, runScanEndpoint, runSettingsProbe, syncRegisteredUsagesEndpoint };
|
|
632
|
+
export { type AgentUsageReportResponse, type AgentUsageRollupEntry, type AiCatalogReloadSummary, type AiModelsResponse, type AnalyzeRepoArgs, type AnalyzeRepoResult, type AnalyzeRequest_MatrxLocal, type AudioSpeechArgs, type AudioSpeechResult, type AudioTranscriptionsArgs, type AudioTranscriptionsResult, type AvailabilityDriftSummary, type BaselineList, type BaselinePatch, type ChatCompletionsArgs, type ChatCompletionsResult, type ClientLatencyReport, type ClientLatencyReportAck, type ClientLatencyReportArgs, type ClientLatencyReportResult, type CodeAgentUsage, type CreateEmbeddingsArgs, type CreateEmbeddingsResult, type DeleteBaselineArgs, type DeleteBaselineResult, type EmbeddingPart, type EmbeddingRequest, type EmbeddingResponse, type EmbeddingsArgs, type EmbeddingsResult, type GetAllAiModelsArgs, type GetAllAiModelsResult, type GetReportArgs, type GetReportResult, type GetStatusArgs, type GetStatusResult, type HardwareInfo, type HfAssistRequest, type HfAssistResponse, type HfTokenAssistArgs, type HfTokenAssistResult, type ListBaselinesArgs, type ListBaselinesResult, type ListModelsArgs, type ListModelsResult, type ModelFileEntry, type Operations, type ParameterFactsSummary, type PatchBaselineArgs, type PatchBaselineResult, type ProviderModelsRefreshRequest, type ProviderModelsRefreshSummary, type ProviderRefreshResult, type PutStandInArgs, type PutStandInResult, type QuarantinedRowSummary, type RefreshProviderModelsArgs, type RefreshProviderModelsResult, type RegistryDbRow, type RegistryDiffEndpointArgs, type RegistryDiffEndpointResult, type RegistryDiffResponse, type RegistrySyncReport, type ReloadCatalogArgs, type ReloadCatalogResult, type RepoAnalysisResult, type ReportEndpointArgs, type ReportEndpointResult, type RunScanEndpointArgs, type RunScanEndpointResult, type RunSettingsProbeArgs, type RunSettingsProbeResult, type ScanSummary, type SettingsProbeOutcome, type SettingsProbeRequest, type SettingsProbeResponse, type SettingsProbeSkippedOffering, type StandInBody, type SyncRegisteredUsagesEndpointArgs, type SyncRegisteredUsagesEndpointResult, type TestModeStatus, type UnservableOffering, analyzeRepo, audioSpeech, audioTranscriptions, call, chatCompletions, clientLatencyReport, createEmbeddings, deleteBaseline, embeddings, getAllAiModels, getReport, getStatus, hfTokenAssist, listBaselines, listModels, patchBaseline, putStandIn, refreshProviderModels, registryDiffEndpoint, reloadCatalog, reportEndpoint, runScanEndpoint, runSettingsProbe, syncRegisteredUsagesEndpoint };
|
package/dist/ai.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, J as JsonOrStream, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, J as JsonOrStream, S as SseEvent } from './index-BgjdVvrS.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 a7cc7154fd90de65bc0e3e819210f0337696cb50814b5a366e64ecb1b00412e4
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AgentUsageReportResponse */
|
|
@@ -60,6 +60,18 @@ type AvailabilityDriftSummary = {
|
|
|
60
60
|
};
|
|
61
61
|
write_failures?: string[];
|
|
62
62
|
};
|
|
63
|
+
/** BaselineList */
|
|
64
|
+
type BaselineList = {
|
|
65
|
+
baselines: {
|
|
66
|
+
[key: string]: JsonValue;
|
|
67
|
+
}[];
|
|
68
|
+
};
|
|
69
|
+
/** BaselinePatch */
|
|
70
|
+
type BaselinePatch = {
|
|
71
|
+
label?: string | null;
|
|
72
|
+
/** True pins this as the mandate's stand-in. */
|
|
73
|
+
stand_in?: boolean | null;
|
|
74
|
+
};
|
|
63
75
|
/** ClientLatencyReport */
|
|
64
76
|
type ClientLatencyReport = {
|
|
65
77
|
latency_id: string;
|
|
@@ -313,6 +325,24 @@ type SettingsProbeSkippedOffering = {
|
|
|
313
325
|
modality: string;
|
|
314
326
|
why: string;
|
|
315
327
|
};
|
|
328
|
+
/** StandInBody */
|
|
329
|
+
type StandInBody = {
|
|
330
|
+
label?: string | null;
|
|
331
|
+
/** The answer the step should return: any AiExecutionResult fields — usually `content` (kind instances) and/or `structured_output` and `final_text`. */
|
|
332
|
+
result: {
|
|
333
|
+
[key: string]: JsonValue;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
/** TestModeStatus */
|
|
337
|
+
type TestModeStatus = {
|
|
338
|
+
requested: "real" | "replay" | "stand_in";
|
|
339
|
+
effective: "real" | "replay" | "stand_in";
|
|
340
|
+
reason: string;
|
|
341
|
+
/** The server allows test modes AND this caller may use them. */
|
|
342
|
+
available: boolean;
|
|
343
|
+
server_reason: string;
|
|
344
|
+
modes?: string[];
|
|
345
|
+
};
|
|
316
346
|
/** An AVAILABLE offering the provider's own fresh list says it cannot serve. */
|
|
317
347
|
type UnservableOffering = {
|
|
318
348
|
offering_id: string;
|
|
@@ -344,6 +374,67 @@ type CreateEmbeddingsResult = EmbeddingResponse;
|
|
|
344
374
|
/** Create Embeddings */
|
|
345
375
|
/** `POST /ai/google/embeddings` · aidream · auth guest · org required */
|
|
346
376
|
declare function createEmbeddings(api: Api, args: CreateEmbeddingsArgs, options?: CallOptions): Promise<CreateEmbeddingsResult>;
|
|
377
|
+
type GetStatusArgs = {
|
|
378
|
+
[key: string]: never;
|
|
379
|
+
};
|
|
380
|
+
type GetStatusResult = TestModeStatus;
|
|
381
|
+
/** Get Status */
|
|
382
|
+
/** `GET /ai-test-mode/status` · aidream · auth user · org required */
|
|
383
|
+
declare function getStatus(api: Api, args?: GetStatusArgs, options?: CallOptions): Promise<GetStatusResult>;
|
|
384
|
+
type ListBaselinesArgs = {
|
|
385
|
+
query?: {
|
|
386
|
+
mandate_key?: string | null;
|
|
387
|
+
include_provider_calls?: boolean;
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
type ListBaselinesResult = BaselineList;
|
|
391
|
+
/** List Baselines */
|
|
392
|
+
/** `GET /admin/ai-test-mode/baselines` · aidream · auth admin · org exempt */
|
|
393
|
+
declare function listBaselines(api: Api, args?: ListBaselinesArgs, options?: CallOptions): Promise<ListBaselinesResult>;
|
|
394
|
+
type PatchBaselineArgs = {
|
|
395
|
+
path: {
|
|
396
|
+
baseline_id: string;
|
|
397
|
+
};
|
|
398
|
+
body: BaselinePatch;
|
|
399
|
+
};
|
|
400
|
+
type PatchBaselineResult = {
|
|
401
|
+
[key: string]: JsonValue;
|
|
402
|
+
};
|
|
403
|
+
/** Patch Baseline */
|
|
404
|
+
/** `PATCH /admin/ai-test-mode/baselines/{baseline_id}` · aidream · auth admin · org exempt */
|
|
405
|
+
declare function patchBaseline(api: Api, args: PatchBaselineArgs, options?: CallOptions): Promise<PatchBaselineResult>;
|
|
406
|
+
type DeleteBaselineArgs = {
|
|
407
|
+
path: {
|
|
408
|
+
baseline_id: string;
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
type DeleteBaselineResult = {
|
|
412
|
+
[key: string]: boolean;
|
|
413
|
+
};
|
|
414
|
+
/** Delete Baseline */
|
|
415
|
+
/** `DELETE /admin/ai-test-mode/baselines/{baseline_id}` · aidream · auth admin · org exempt */
|
|
416
|
+
declare function deleteBaseline(api: Api, args: DeleteBaselineArgs, options?: CallOptions): Promise<DeleteBaselineResult>;
|
|
417
|
+
type PutStandInArgs = {
|
|
418
|
+
path: {
|
|
419
|
+
mandate_key: string;
|
|
420
|
+
};
|
|
421
|
+
body: StandInBody;
|
|
422
|
+
};
|
|
423
|
+
type PutStandInResult = {
|
|
424
|
+
[key: string]: JsonValue;
|
|
425
|
+
};
|
|
426
|
+
/** Put Stand In */
|
|
427
|
+
/** `PUT /admin/ai-test-mode/stand-ins/{mandate_key}` · aidream · auth admin · org exempt */
|
|
428
|
+
declare function putStandIn(api: Api, args: PutStandInArgs, options?: CallOptions): Promise<PutStandInResult>;
|
|
429
|
+
type GetReportArgs = {
|
|
430
|
+
[key: string]: never;
|
|
431
|
+
};
|
|
432
|
+
type GetReportResult = {
|
|
433
|
+
[key: string]: JsonValue;
|
|
434
|
+
};
|
|
435
|
+
/** Get Report */
|
|
436
|
+
/** `GET /admin/ai-test-mode/report` · aidream · auth admin · org exempt */
|
|
437
|
+
declare function getReport(api: Api, args?: GetReportArgs, options?: CallOptions): Promise<GetReportResult>;
|
|
347
438
|
type SyncRegisteredUsagesEndpointArgs = {
|
|
348
439
|
[key: string]: never;
|
|
349
440
|
};
|
|
@@ -458,6 +549,30 @@ interface Operations {
|
|
|
458
549
|
args: CreateEmbeddingsArgs;
|
|
459
550
|
result: CreateEmbeddingsResult;
|
|
460
551
|
};
|
|
552
|
+
"GET /ai-test-mode/status": {
|
|
553
|
+
args: GetStatusArgs;
|
|
554
|
+
result: GetStatusResult;
|
|
555
|
+
};
|
|
556
|
+
"GET /admin/ai-test-mode/baselines": {
|
|
557
|
+
args: ListBaselinesArgs;
|
|
558
|
+
result: ListBaselinesResult;
|
|
559
|
+
};
|
|
560
|
+
"PATCH /admin/ai-test-mode/baselines/{baseline_id}": {
|
|
561
|
+
args: PatchBaselineArgs;
|
|
562
|
+
result: PatchBaselineResult;
|
|
563
|
+
};
|
|
564
|
+
"DELETE /admin/ai-test-mode/baselines/{baseline_id}": {
|
|
565
|
+
args: DeleteBaselineArgs;
|
|
566
|
+
result: DeleteBaselineResult;
|
|
567
|
+
};
|
|
568
|
+
"PUT /admin/ai-test-mode/stand-ins/{mandate_key}": {
|
|
569
|
+
args: PutStandInArgs;
|
|
570
|
+
result: PutStandInResult;
|
|
571
|
+
};
|
|
572
|
+
"GET /admin/ai-test-mode/report": {
|
|
573
|
+
args: GetReportArgs;
|
|
574
|
+
result: GetReportResult;
|
|
575
|
+
};
|
|
461
576
|
"POST /agent-usage/sync": {
|
|
462
577
|
args: SyncRegisteredUsagesEndpointArgs;
|
|
463
578
|
result: SyncRegisteredUsagesEndpointResult;
|
|
@@ -514,4 +629,4 @@ interface Operations {
|
|
|
514
629
|
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
515
630
|
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
516
631
|
|
|
517
|
-
export { type AgentUsageReportResponse, type AgentUsageRollupEntry, type AiCatalogReloadSummary, type AiModelsResponse, type AnalyzeRepoArgs, type AnalyzeRepoResult, type AnalyzeRequest_MatrxLocal, type AudioSpeechArgs, type AudioSpeechResult, type AudioTranscriptionsArgs, type AudioTranscriptionsResult, type AvailabilityDriftSummary, type ChatCompletionsArgs, type ChatCompletionsResult, type ClientLatencyReport, type ClientLatencyReportAck, type ClientLatencyReportArgs, type ClientLatencyReportResult, type CodeAgentUsage, type CreateEmbeddingsArgs, type CreateEmbeddingsResult, type EmbeddingPart, type EmbeddingRequest, type EmbeddingResponse, type EmbeddingsArgs, type EmbeddingsResult, type GetAllAiModelsArgs, type GetAllAiModelsResult, type HardwareInfo, type HfAssistRequest, type HfAssistResponse, type HfTokenAssistArgs, type HfTokenAssistResult, type ListModelsArgs, type ListModelsResult, type ModelFileEntry, type Operations, type ParameterFactsSummary, type ProviderModelsRefreshRequest, type ProviderModelsRefreshSummary, type ProviderRefreshResult, type QuarantinedRowSummary, type RefreshProviderModelsArgs, type RefreshProviderModelsResult, type RegistryDbRow, type RegistryDiffEndpointArgs, type RegistryDiffEndpointResult, type RegistryDiffResponse, type RegistrySyncReport, type ReloadCatalogArgs, type ReloadCatalogResult, type RepoAnalysisResult, type ReportEndpointArgs, type ReportEndpointResult, type RunScanEndpointArgs, type RunScanEndpointResult, type RunSettingsProbeArgs, type RunSettingsProbeResult, type ScanSummary, type SettingsProbeOutcome, type SettingsProbeRequest, type SettingsProbeResponse, type SettingsProbeSkippedOffering, type SyncRegisteredUsagesEndpointArgs, type SyncRegisteredUsagesEndpointResult, type UnservableOffering, analyzeRepo, audioSpeech, audioTranscriptions, call, chatCompletions, clientLatencyReport, createEmbeddings, embeddings, getAllAiModels, hfTokenAssist, listModels, refreshProviderModels, registryDiffEndpoint, reloadCatalog, reportEndpoint, runScanEndpoint, runSettingsProbe, syncRegisteredUsagesEndpoint };
|
|
632
|
+
export { type AgentUsageReportResponse, type AgentUsageRollupEntry, type AiCatalogReloadSummary, type AiModelsResponse, type AnalyzeRepoArgs, type AnalyzeRepoResult, type AnalyzeRequest_MatrxLocal, type AudioSpeechArgs, type AudioSpeechResult, type AudioTranscriptionsArgs, type AudioTranscriptionsResult, type AvailabilityDriftSummary, type BaselineList, type BaselinePatch, type ChatCompletionsArgs, type ChatCompletionsResult, type ClientLatencyReport, type ClientLatencyReportAck, type ClientLatencyReportArgs, type ClientLatencyReportResult, type CodeAgentUsage, type CreateEmbeddingsArgs, type CreateEmbeddingsResult, type DeleteBaselineArgs, type DeleteBaselineResult, type EmbeddingPart, type EmbeddingRequest, type EmbeddingResponse, type EmbeddingsArgs, type EmbeddingsResult, type GetAllAiModelsArgs, type GetAllAiModelsResult, type GetReportArgs, type GetReportResult, type GetStatusArgs, type GetStatusResult, type HardwareInfo, type HfAssistRequest, type HfAssistResponse, type HfTokenAssistArgs, type HfTokenAssistResult, type ListBaselinesArgs, type ListBaselinesResult, type ListModelsArgs, type ListModelsResult, type ModelFileEntry, type Operations, type ParameterFactsSummary, type PatchBaselineArgs, type PatchBaselineResult, type ProviderModelsRefreshRequest, type ProviderModelsRefreshSummary, type ProviderRefreshResult, type PutStandInArgs, type PutStandInResult, type QuarantinedRowSummary, type RefreshProviderModelsArgs, type RefreshProviderModelsResult, type RegistryDbRow, type RegistryDiffEndpointArgs, type RegistryDiffEndpointResult, type RegistryDiffResponse, type RegistrySyncReport, type ReloadCatalogArgs, type ReloadCatalogResult, type RepoAnalysisResult, type ReportEndpointArgs, type ReportEndpointResult, type RunScanEndpointArgs, type RunScanEndpointResult, type RunSettingsProbeArgs, type RunSettingsProbeResult, type ScanSummary, type SettingsProbeOutcome, type SettingsProbeRequest, type SettingsProbeResponse, type SettingsProbeSkippedOffering, type StandInBody, type SyncRegisteredUsagesEndpointArgs, type SyncRegisteredUsagesEndpointResult, type TestModeStatus, type UnservableOffering, analyzeRepo, audioSpeech, audioTranscriptions, call, chatCompletions, clientLatencyReport, createEmbeddings, deleteBaseline, embeddings, getAllAiModels, getReport, getStatus, hfTokenAssist, listBaselines, listModels, patchBaseline, putStandIn, refreshProviderModels, registryDiffEndpoint, reloadCatalog, reportEndpoint, runScanEndpoint, runSettingsProbe, syncRegisteredUsagesEndpoint };
|
package/dist/ai.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openJsonOrStream } from './chunk-
|
|
1
|
+
import { openJsonOrStream } from './chunk-E3PGCGP7.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
3
|
|
|
4
4
|
// src/generated/ai.ts
|
|
@@ -14,6 +14,30 @@ var $createEmbeddings = { m: "POST", p: "/ai/google/embeddings", d: "aidream", a
|
|
|
14
14
|
function createEmbeddings(api, args, options) {
|
|
15
15
|
return api.call($createEmbeddings, args, options);
|
|
16
16
|
}
|
|
17
|
+
var $getStatus = { m: "GET", p: "/ai-test-mode/status", d: "aidream", a: "user", o: "required", n: "ai.get_status" };
|
|
18
|
+
function getStatus(api, args, options) {
|
|
19
|
+
return api.call($getStatus, args, options);
|
|
20
|
+
}
|
|
21
|
+
var $listBaselines = { m: "GET", p: "/admin/ai-test-mode/baselines", d: "aidream", a: "admin", o: "exempt", n: "ai.list_baselines" };
|
|
22
|
+
function listBaselines(api, args, options) {
|
|
23
|
+
return api.call($listBaselines, args, options);
|
|
24
|
+
}
|
|
25
|
+
var $patchBaseline = { m: "PATCH", p: "/admin/ai-test-mode/baselines/{baseline_id}", d: "aidream", a: "admin", o: "exempt", n: "ai.patch_baseline" };
|
|
26
|
+
function patchBaseline(api, args, options) {
|
|
27
|
+
return api.call($patchBaseline, args, options);
|
|
28
|
+
}
|
|
29
|
+
var $deleteBaseline = { m: "DELETE", p: "/admin/ai-test-mode/baselines/{baseline_id}", d: "aidream", a: "admin", o: "exempt", n: "ai.delete_baseline" };
|
|
30
|
+
function deleteBaseline(api, args, options) {
|
|
31
|
+
return api.call($deleteBaseline, args, options);
|
|
32
|
+
}
|
|
33
|
+
var $putStandIn = { m: "PUT", p: "/admin/ai-test-mode/stand-ins/{mandate_key}", d: "aidream", a: "admin", o: "exempt", n: "ai.put_stand_in" };
|
|
34
|
+
function putStandIn(api, args, options) {
|
|
35
|
+
return api.call($putStandIn, args, options);
|
|
36
|
+
}
|
|
37
|
+
var $getReport = { m: "GET", p: "/admin/ai-test-mode/report", d: "aidream", a: "admin", o: "exempt", n: "ai.get_report" };
|
|
38
|
+
function getReport(api, args, options) {
|
|
39
|
+
return api.call($getReport, args, options);
|
|
40
|
+
}
|
|
17
41
|
var $syncRegisteredUsagesEndpoint = { m: "POST", p: "/agent-usage/sync", d: "aidream", a: "admin", o: "exempt", n: "ai.sync_registered_usages_endpoint" };
|
|
18
42
|
function syncRegisteredUsagesEndpoint(api, args, options) {
|
|
19
43
|
return api.call($syncRegisteredUsagesEndpoint, args, options);
|
|
@@ -74,6 +98,12 @@ var TABLE = {
|
|
|
74
98
|
"GET /ai-models": $getAllAiModels,
|
|
75
99
|
"POST /ai/latency/client-report": $clientLatencyReport,
|
|
76
100
|
"POST /ai/google/embeddings": $createEmbeddings,
|
|
101
|
+
"GET /ai-test-mode/status": $getStatus,
|
|
102
|
+
"GET /admin/ai-test-mode/baselines": $listBaselines,
|
|
103
|
+
"PATCH /admin/ai-test-mode/baselines/{baseline_id}": $patchBaseline,
|
|
104
|
+
"DELETE /admin/ai-test-mode/baselines/{baseline_id}": $deleteBaseline,
|
|
105
|
+
"PUT /admin/ai-test-mode/stand-ins/{mandate_key}": $putStandIn,
|
|
106
|
+
"GET /admin/ai-test-mode/report": $getReport,
|
|
77
107
|
"POST /agent-usage/sync": $syncRegisteredUsagesEndpoint,
|
|
78
108
|
"GET /agent-usage/registry": $registryDiffEndpoint,
|
|
79
109
|
"POST /agent-usage/scan": $runScanEndpoint,
|
|
@@ -92,4 +122,4 @@ function call(api, key, args, options) {
|
|
|
92
122
|
return api.call(TABLE[key], args, options);
|
|
93
123
|
}
|
|
94
124
|
|
|
95
|
-
export { analyzeRepo, audioSpeech, audioTranscriptions, call, chatCompletions, clientLatencyReport, createEmbeddings, embeddings, getAllAiModels, hfTokenAssist, listModels, refreshProviderModels, registryDiffEndpoint, reloadCatalog, reportEndpoint, runScanEndpoint, runSettingsProbe, syncRegisteredUsagesEndpoint };
|
|
125
|
+
export { analyzeRepo, audioSpeech, audioTranscriptions, call, chatCompletions, clientLatencyReport, createEmbeddings, deleteBaseline, embeddings, getAllAiModels, getReport, getStatus, hfTokenAssist, listBaselines, listModels, patchBaseline, putStandIn, refreshProviderModels, registryDiffEndpoint, reloadCatalog, reportEndpoint, runScanEndpoint, runSettingsProbe, syncRegisteredUsagesEndpoint };
|
package/dist/apps.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZOZOF5DN_cjs = require('./chunk-ZOZOF5DN.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/apps.ts
|
|
@@ -218,7 +218,7 @@ function getInstallStatus(api, args, options) {
|
|
|
218
218
|
}
|
|
219
219
|
var $streamInstallProgress = { m: "GET", p: "/capabilities/install/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "apps.stream_install_progress" };
|
|
220
220
|
function streamInstallProgress(api, args, options) {
|
|
221
|
-
return
|
|
221
|
+
return chunkZOZOF5DN_cjs.openStream(api, $streamInstallProgress, args, options);
|
|
222
222
|
}
|
|
223
223
|
var $tunnelStatus = { m: "GET", p: "/tunnel/status", d: "matrx-local", a: "public", o: "exempt", n: "apps.tunnel_status" };
|
|
224
224
|
function tunnelStatus(api, args, options) {
|
|
@@ -238,15 +238,15 @@ function getSetupStatus(api, args, options) {
|
|
|
238
238
|
}
|
|
239
239
|
var $runInstall = { m: "POST", p: "/setup/install", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.run_install" };
|
|
240
240
|
function runInstall(api, args, options) {
|
|
241
|
-
return
|
|
241
|
+
return chunkZOZOF5DN_cjs.openStream(api, $runInstall, args, options);
|
|
242
242
|
}
|
|
243
243
|
var $installTranscription = { m: "POST", p: "/setup/install-transcription", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.install_transcription" };
|
|
244
244
|
function installTranscription(api, args, options) {
|
|
245
|
-
return
|
|
245
|
+
return chunkZOZOF5DN_cjs.openStream(api, $installTranscription, args, options);
|
|
246
246
|
}
|
|
247
247
|
var $streamLogs = { m: "GET", p: "/setup/logs", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.stream_logs" };
|
|
248
248
|
function streamLogs(api, args, options) {
|
|
249
|
-
return
|
|
249
|
+
return chunkZOZOF5DN_cjs.openStream(api, $streamLogs, args, options);
|
|
250
250
|
}
|
|
251
251
|
var $debugState = { m: "GET", p: "/setup/debug", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.debug_state" };
|
|
252
252
|
function debugState(api, args, options) {
|
package/dist/apps.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-BgjdVvrS.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 a7cc7154fd90de65bc0e3e819210f0337696cb50814b5a366e64ecb1b00412e4
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ApiKeySetRequest */
|
package/dist/apps.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-BgjdVvrS.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 a7cc7154fd90de65bc0e3e819210f0337696cb50814b5a366e64ecb1b00412e4
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ApiKeySetRequest */
|
package/dist/apps.js
CHANGED