@ai-matrx/api 0.1.22 → 0.1.24
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 +36 -3
- 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 +8 -2
- package/dist/agents.d.ts +8 -2
- 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 +23 -11
- package/dist/chat.d.cts +59 -3
- package/dist/chat.d.ts +59 -3
- package/dist/chat.js +12 -2
- package/dist/{chunk-3M4Y376I.js → chunk-E3PGCGP7.js} +1 -1
- package/dist/{chunk-FSXBRXRX.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-oZNMwcTG.d.cts → index-BgjdVvrS.d.cts} +2 -2
- package/dist/{index-oZNMwcTG.d.ts → index-BgjdVvrS.d.ts} +2 -2
- package/dist/index.cjs +59 -67
- package/dist/index.d.cts +3 -11
- package/dist/index.d.ts +3 -11
- package/dist/index.js +3 -11
- 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 +1 -1
- package/dist/schemas.d.ts +1 -1
- 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 +516 -20
- package/dist/types.d.ts +516 -20
- 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.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
package/dist/architecture.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/architecture.ts
|
|
@@ -34,27 +34,27 @@ function servingCheck(api, args, options) {
|
|
|
34
34
|
}
|
|
35
35
|
var $searchAsKinds = { m: "POST", p: "/search-kinds/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.search_as_kinds" };
|
|
36
36
|
function searchAsKinds(api, args, options) {
|
|
37
|
-
return
|
|
37
|
+
return chunkZOZOF5DN_cjs.openStream(api, $searchAsKinds, args, options);
|
|
38
38
|
}
|
|
39
39
|
var $rankLandscapeAsKinds = { m: "POST", p: "/rank-kinds/landscape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.rank_landscape_as_kinds" };
|
|
40
40
|
function rankLandscapeAsKinds(api, args, options) {
|
|
41
|
-
return
|
|
41
|
+
return chunkZOZOF5DN_cjs.openStream(api, $rankLandscapeAsKinds, args, options);
|
|
42
42
|
}
|
|
43
43
|
var $ragSearchAsKinds = { m: "POST", p: "/rag-kinds/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.rag_search_as_kinds" };
|
|
44
44
|
function ragSearchAsKinds(api, args, options) {
|
|
45
|
-
return
|
|
45
|
+
return chunkZOZOF5DN_cjs.openStream(api, $ragSearchAsKinds, args, options);
|
|
46
46
|
}
|
|
47
47
|
var $tableReadAsKinds = { m: "POST", p: "/table-kinds/read", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.table_read_as_kinds" };
|
|
48
48
|
function tableReadAsKinds(api, args, options) {
|
|
49
|
-
return
|
|
49
|
+
return chunkZOZOF5DN_cjs.openStream(api, $tableReadAsKinds, args, options);
|
|
50
50
|
}
|
|
51
51
|
var $scrapeAsKind = { m: "POST", p: "/scraper-kinds/scrape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.scrape_as_kind" };
|
|
52
52
|
function scrapeAsKind(api, args, options) {
|
|
53
|
-
return
|
|
53
|
+
return chunkZOZOF5DN_cjs.openStream(api, $scrapeAsKind, args, options);
|
|
54
54
|
}
|
|
55
55
|
var $scrapeManyAsKind = { m: "POST", p: "/scraper-kinds/scrape-many", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.scrape_many_as_kind" };
|
|
56
56
|
function scrapeManyAsKind(api, args, options) {
|
|
57
|
-
return
|
|
57
|
+
return chunkZOZOF5DN_cjs.openStream(api, $scrapeManyAsKind, args, options);
|
|
58
58
|
}
|
|
59
59
|
var $saveOutput = { m: "POST", p: "/kind-outputs/save", d: "aidream", a: "guest", o: "required", n: "architecture.save_output" };
|
|
60
60
|
function saveOutput(api, args, options) {
|
|
@@ -78,7 +78,7 @@ function operationStatus(api, args, options) {
|
|
|
78
78
|
}
|
|
79
79
|
var $rejoinOperationStream = { m: "POST", p: "/runtime/operations/{request_id}/rejoin", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.rejoin_operation_stream" };
|
|
80
80
|
function rejoinOperationStream(api, args, options) {
|
|
81
|
-
return
|
|
81
|
+
return chunkZOZOF5DN_cjs.openStream(api, $rejoinOperationStream, args, options);
|
|
82
82
|
}
|
|
83
83
|
var $operationsByLink = { m: "GET", p: "/runtime/operations/by-link/{link_kind}/{link_id}", d: "aidream", a: "guest", o: "optional", n: "architecture.operations_by_link" };
|
|
84
84
|
function operationsByLink(api, args, options) {
|
|
@@ -90,7 +90,7 @@ function operationEvents(api, args, options) {
|
|
|
90
90
|
}
|
|
91
91
|
var $operationEventsStream = { m: "GET", p: "/runtime/executions/{execution_id}/events/stream", d: "aidream", a: "guest", o: "optional", s: "sse", n: "architecture.operation_events_stream" };
|
|
92
92
|
function operationEventsStream(api, args, options) {
|
|
93
|
-
return
|
|
93
|
+
return chunkZOZOF5DN_cjs.openStream(api, $operationEventsStream, args, options);
|
|
94
94
|
}
|
|
95
95
|
var $listComputeTargets = { m: "GET", p: "/compute-targets/", d: "aidream", a: "user", o: "required", n: "architecture.list_compute_targets" };
|
|
96
96
|
function listComputeTargets(api, args, options) {
|
|
@@ -704,14 +704,14 @@ var $orchestratorProxyFsGet = { m: "GET", p: "/sandboxes/{sandbox_id}/fs/{path}"
|
|
|
704
704
|
function orchestratorProxyFsGet(api, args, options) {
|
|
705
705
|
return api.call($orchestratorProxyFsGet, args, options);
|
|
706
706
|
}
|
|
707
|
-
var $
|
|
708
|
-
function orchestratorProxyFsPost(api, args, options) {
|
|
709
|
-
return api.call($orchestratorProxyFsPost, args, options);
|
|
710
|
-
}
|
|
711
|
-
var $orchestratorProxyFs = { m: "PUT", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs" };
|
|
707
|
+
var $orchestratorProxyFs = { m: "POST", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs" };
|
|
712
708
|
function orchestratorProxyFs(api, args, options) {
|
|
713
709
|
return api.call($orchestratorProxyFs, args, options);
|
|
714
710
|
}
|
|
711
|
+
var $orchestratorProxyFsPut = { m: "PUT", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs_put" };
|
|
712
|
+
function orchestratorProxyFsPut(api, args, options) {
|
|
713
|
+
return api.call($orchestratorProxyFsPut, args, options);
|
|
714
|
+
}
|
|
715
715
|
var $orchestratorProxyFsPatch = { m: "PATCH", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs_patch" };
|
|
716
716
|
function orchestratorProxyFsPatch(api, args, options) {
|
|
717
717
|
return api.call($orchestratorProxyFsPatch, args, options);
|
|
@@ -722,7 +722,7 @@ function orchestratorProxyFsDelete(api, args, options) {
|
|
|
722
722
|
}
|
|
723
723
|
var $proxyExecStream = { m: "POST", p: "/sandboxes/{sandbox_id}/exec/stream", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "sse", n: "architecture.proxy_exec_stream" };
|
|
724
724
|
function proxyExecStream(api, args, options) {
|
|
725
|
-
return
|
|
725
|
+
return chunkZOZOF5DN_cjs.openStream(api, $proxyExecStream, args, options);
|
|
726
726
|
}
|
|
727
727
|
var $orchestratorProxyGit = { m: "GET", p: "/sandboxes/{sandbox_id}/git/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_git" };
|
|
728
728
|
function orchestratorProxyGit(api, args, options) {
|
|
@@ -776,9 +776,9 @@ var $orchestratorProxyToContainerGet = { m: "GET", p: "/sandboxes/{sandbox_id}/p
|
|
|
776
776
|
function orchestratorProxyToContainerGet(api, args, options) {
|
|
777
777
|
return api.send($orchestratorProxyToContainerGet, args, options).then((x) => x.response);
|
|
778
778
|
}
|
|
779
|
-
var $
|
|
780
|
-
function
|
|
781
|
-
return api.send($
|
|
779
|
+
var $orchestratorProxyToContainer = { m: "POST", p: "/sandboxes/{sandbox_id}/proxy/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "bytes", n: "architecture.orchestrator_proxy_to_container" };
|
|
780
|
+
function orchestratorProxyToContainer(api, args, options) {
|
|
781
|
+
return api.send($orchestratorProxyToContainer, args, options).then((x) => x.response);
|
|
782
782
|
}
|
|
783
783
|
var $orchestratorProxyToContainerPut = { m: "PUT", p: "/sandboxes/{sandbox_id}/proxy/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "bytes", n: "architecture.orchestrator_proxy_to_container_put" };
|
|
784
784
|
function orchestratorProxyToContainerPut(api, args, options) {
|
|
@@ -792,9 +792,9 @@ var $orchestratorProxyToContainerDelete = { m: "DELETE", p: "/sandboxes/{sandbox
|
|
|
792
792
|
function orchestratorProxyToContainerDelete(api, args, options) {
|
|
793
793
|
return api.send($orchestratorProxyToContainerDelete, args, options).then((x) => x.response);
|
|
794
794
|
}
|
|
795
|
-
var $
|
|
796
|
-
function
|
|
797
|
-
return api.send($
|
|
795
|
+
var $orchestratorProxyToContainerHead = { m: "HEAD", p: "/sandboxes/{sandbox_id}/proxy/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "bytes", n: "architecture.orchestrator_proxy_to_container_head" };
|
|
796
|
+
function orchestratorProxyToContainerHead(api, args, options) {
|
|
797
|
+
return api.send($orchestratorProxyToContainerHead, args, options).then((x) => x.response);
|
|
798
798
|
}
|
|
799
799
|
var $orchestratorProxyToContainerOptions = { m: "OPTIONS", p: "/sandboxes/{sandbox_id}/proxy/{path}", d: "sandbox-orchestrator", a: "public", o: "exempt", s: "bytes", n: "architecture.orchestrator_proxy_to_container_options" };
|
|
800
800
|
function orchestratorProxyToContainerOptions(api, args, options) {
|
|
@@ -1023,8 +1023,8 @@ var TABLE = {
|
|
|
1023
1023
|
"POST /sandboxes/{sandbox_id}/error": $sandboxError,
|
|
1024
1024
|
"POST /sandboxes/{sandbox_id}/extend": $extendSandbox,
|
|
1025
1025
|
"GET /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsGet,
|
|
1026
|
-
"POST /sandboxes/{sandbox_id}/fs/{path}": $
|
|
1027
|
-
"PUT /sandboxes/{sandbox_id}/fs/{path}": $
|
|
1026
|
+
"POST /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFs,
|
|
1027
|
+
"PUT /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsPut,
|
|
1028
1028
|
"PATCH /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsPatch,
|
|
1029
1029
|
"DELETE /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsDelete,
|
|
1030
1030
|
"GET /sandboxes/{sandbox_id}/git/{path}": $orchestratorProxyGit,
|
|
@@ -1186,7 +1186,7 @@ exports.orchestratorProxyFs = orchestratorProxyFs;
|
|
|
1186
1186
|
exports.orchestratorProxyFsDelete = orchestratorProxyFsDelete;
|
|
1187
1187
|
exports.orchestratorProxyFsGet = orchestratorProxyFsGet;
|
|
1188
1188
|
exports.orchestratorProxyFsPatch = orchestratorProxyFsPatch;
|
|
1189
|
-
exports.
|
|
1189
|
+
exports.orchestratorProxyFsPut = orchestratorProxyFsPut;
|
|
1190
1190
|
exports.orchestratorProxyGit = orchestratorProxyGit;
|
|
1191
1191
|
exports.orchestratorProxyGitPost = orchestratorProxyGitPost;
|
|
1192
1192
|
exports.orchestratorProxyProcesses = orchestratorProxyProcesses;
|
|
@@ -1196,9 +1196,9 @@ exports.orchestratorProxySearchPost = orchestratorProxySearchPost;
|
|
|
1196
1196
|
exports.orchestratorProxyToContainer = orchestratorProxyToContainer;
|
|
1197
1197
|
exports.orchestratorProxyToContainerDelete = orchestratorProxyToContainerDelete;
|
|
1198
1198
|
exports.orchestratorProxyToContainerGet = orchestratorProxyToContainerGet;
|
|
1199
|
+
exports.orchestratorProxyToContainerHead = orchestratorProxyToContainerHead;
|
|
1199
1200
|
exports.orchestratorProxyToContainerOptions = orchestratorProxyToContainerOptions;
|
|
1200
1201
|
exports.orchestratorProxyToContainerPatch = orchestratorProxyToContainerPatch;
|
|
1201
|
-
exports.orchestratorProxyToContainerPost = orchestratorProxyToContainerPost;
|
|
1202
1202
|
exports.orchestratorProxyToContainerPut = orchestratorProxyToContainerPut;
|
|
1203
1203
|
exports.overview = overview;
|
|
1204
1204
|
exports.patchTask = patchTask;
|