@ai-matrx/api 0.1.2 → 0.1.3
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 +6 -0
- 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 +2 -2
- package/dist/agents.d.ts +2 -2
- package/dist/agents.js +1 -1
- package/dist/ai.cjs +8 -2
- package/dist/ai.d.cts +27 -3
- package/dist/ai.d.ts +27 -3
- package/dist/ai.js +7 -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 +32 -26
- package/dist/architecture.d.cts +48 -20
- package/dist/architecture.d.ts +48 -20
- package/dist/architecture.js +21 -16
- 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 +11 -11
- package/dist/chat.d.cts +2 -2
- package/dist/chat.d.ts +2 -2
- package/dist/chat.js +1 -1
- package/dist/{chunk-TSHL7Z53.js → chunk-6UOESA3L.js} +1 -1
- package/dist/{chunk-HER22VVH.cjs → chunk-DMJ3ZRN7.cjs} +1 -1
- package/dist/code.cjs +18 -6
- package/dist/code.d.cts +87 -4
- package/dist/code.d.ts +87 -4
- package/dist/code.js +12 -2
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +70 -4
- package/dist/communications.d.cts +253 -5
- package/dist/communications.d.ts +253 -5
- package/dist/communications.js +57 -2
- package/dist/computer.cjs +3 -3
- 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.d.cts +4 -2
- package/dist/data.d.ts +4 -2
- 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 +31 -25
- package/dist/files.d.cts +25 -13
- package/dist/files.d.ts +25 -13
- package/dist/files.js +11 -6
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-C2E-Cp19.d.ts → index-BUb7OxrB.d.ts} +2 -2
- package/dist/{index-wC2vtb70.d.cts → index-DCyEAVSW.d.cts} +2 -2
- package/dist/index.cjs +53 -53
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/integrations.cjs +253 -13
- package/dist/integrations.d.cts +756 -13
- package/dist/integrations.d.ts +756 -13
- package/dist/integrations.js +210 -10
- package/dist/intelligence.cjs +6 -6
- package/dist/intelligence.d.cts +11 -2
- package/dist/intelligence.d.ts +11 -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 +226 -72
- package/dist/marketing.d.cts +732 -3
- package/dist/marketing.d.ts +732 -3
- package/dist/marketing.js +129 -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 +30 -4
- package/dist/media.d.ts +30 -4
- package/dist/media.js +1 -1
- package/dist/platform.cjs +9 -3
- package/dist/platform.d.cts +29 -3
- package/dist/platform.d.ts +29 -3
- package/dist/platform.js +7 -2
- 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/web.cjs +26 -26
- package/dist/web.d.cts +3 -2
- package/dist/web.d.ts +3 -2
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +29 -12
- package/dist/workflows.d.cts +85 -3
- package/dist/workflows.d.ts +85 -3
- package/dist/workflows.js +16 -2
- package/package.json +2 -2
package/dist/architecture.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
1
|
+
import { openStream } from './chunk-6UOESA3L.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
3
|
import './chunk-VTZKJMSY.js';
|
|
4
4
|
|
|
@@ -107,6 +107,10 @@ var $reportProviderSessionFailure = { m: "POST", p: "/broker/provider-failures",
|
|
|
107
107
|
function reportProviderSessionFailure(api, args, options) {
|
|
108
108
|
return api.call($reportProviderSessionFailure, args, options);
|
|
109
109
|
}
|
|
110
|
+
var $reportProviderSessionUsage = { m: "POST", p: "/broker/usage", d: "aidream", a: "user", o: "required", n: "architecture.report_provider_session_usage" };
|
|
111
|
+
function reportProviderSessionUsage(api, args, options) {
|
|
112
|
+
return api.call($reportProviderSessionUsage, args, options);
|
|
113
|
+
}
|
|
110
114
|
var $anthropicMessages = { m: "POST", p: "/broker/gateway/anthropic/v1/messages", d: "aidream", a: "scoped", o: "required", s: "bytes", n: "architecture.anthropic_messages" };
|
|
111
115
|
function anthropicMessages(api, args, options) {
|
|
112
116
|
return api.send($anthropicMessages, args, options).then((x) => x.response);
|
|
@@ -663,17 +667,17 @@ var $extendSandbox = { m: "POST", p: "/sandboxes/{sandbox_id}/extend", d: "sandb
|
|
|
663
667
|
function extendSandbox(api, args, options) {
|
|
664
668
|
return api.call($extendSandbox, args, options);
|
|
665
669
|
}
|
|
666
|
-
var $
|
|
667
|
-
function
|
|
668
|
-
return api.call($
|
|
670
|
+
var $orchestratorProxyFs = { m: "GET", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs" };
|
|
671
|
+
function orchestratorProxyFs(api, args, options) {
|
|
672
|
+
return api.call($orchestratorProxyFs, args, options);
|
|
669
673
|
}
|
|
670
674
|
var $orchestratorProxyFsPost = { m: "POST", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs_post" };
|
|
671
675
|
function orchestratorProxyFsPost(api, args, options) {
|
|
672
676
|
return api.call($orchestratorProxyFsPost, args, options);
|
|
673
677
|
}
|
|
674
|
-
var $
|
|
675
|
-
function
|
|
676
|
-
return api.call($
|
|
678
|
+
var $orchestratorProxyFsPut = { m: "PUT", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs_put" };
|
|
679
|
+
function orchestratorProxyFsPut(api, args, options) {
|
|
680
|
+
return api.call($orchestratorProxyFsPut, args, options);
|
|
677
681
|
}
|
|
678
682
|
var $orchestratorProxyFsPatch = { m: "PATCH", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs_patch" };
|
|
679
683
|
function orchestratorProxyFsPatch(api, args, options) {
|
|
@@ -735,17 +739,17 @@ var $settleAgentPresence = { m: "POST", p: "/sandboxes/{sandbox_id}/agent-presen
|
|
|
735
739
|
function settleAgentPresence(api, args, options) {
|
|
736
740
|
return api.call($settleAgentPresence, args, options);
|
|
737
741
|
}
|
|
738
|
-
var $
|
|
739
|
-
function
|
|
740
|
-
return api.send($
|
|
742
|
+
var $orchestratorProxyToContainer = { m: "GET", p: "/sandboxes/{sandbox_id}/proxy/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "bytes", n: "architecture.orchestrator_proxy_to_container" };
|
|
743
|
+
function orchestratorProxyToContainer(api, args, options) {
|
|
744
|
+
return api.send($orchestratorProxyToContainer, args, options).then((x) => x.response);
|
|
741
745
|
}
|
|
742
746
|
var $orchestratorProxyToContainerPost = { m: "POST", p: "/sandboxes/{sandbox_id}/proxy/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "bytes", n: "architecture.orchestrator_proxy_to_container_post" };
|
|
743
747
|
function orchestratorProxyToContainerPost(api, args, options) {
|
|
744
748
|
return api.send($orchestratorProxyToContainerPost, args, options).then((x) => x.response);
|
|
745
749
|
}
|
|
746
|
-
var $
|
|
747
|
-
function
|
|
748
|
-
return api.send($
|
|
750
|
+
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" };
|
|
751
|
+
function orchestratorProxyToContainerPut(api, args, options) {
|
|
752
|
+
return api.send($orchestratorProxyToContainerPut, args, options).then((x) => x.response);
|
|
749
753
|
}
|
|
750
754
|
var $orchestratorProxyToContainerPatch = { m: "PATCH", p: "/sandboxes/{sandbox_id}/proxy/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "bytes", n: "architecture.orchestrator_proxy_to_container_patch" };
|
|
751
755
|
function orchestratorProxyToContainerPatch(api, args, options) {
|
|
@@ -842,6 +846,7 @@ var TABLE = {
|
|
|
842
846
|
"POST /compute-targets/resolve": $resolveComputeTarget,
|
|
843
847
|
"POST /broker/tokens": $mintToken,
|
|
844
848
|
"POST /broker/provider-failures": $reportProviderSessionFailure,
|
|
849
|
+
"POST /broker/usage": $reportProviderSessionUsage,
|
|
845
850
|
"POST /broker/gateway/anthropic/v1/messages/count_tokens": $anthropicCountTokens,
|
|
846
851
|
"GET /sandboxes/internal/default-browser-profile": $getDefaultBrowserProfileForUser,
|
|
847
852
|
"GET /admin/debug-traces/files": $listTraceFiles,
|
|
@@ -976,9 +981,9 @@ var TABLE = {
|
|
|
976
981
|
"POST /sandboxes/{sandbox_id}/complete": $sandboxComplete,
|
|
977
982
|
"POST /sandboxes/{sandbox_id}/error": $sandboxError,
|
|
978
983
|
"POST /sandboxes/{sandbox_id}/extend": $extendSandbox,
|
|
979
|
-
"GET /sandboxes/{sandbox_id}/fs/{path}": $
|
|
984
|
+
"GET /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFs,
|
|
980
985
|
"POST /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsPost,
|
|
981
|
-
"PUT /sandboxes/{sandbox_id}/fs/{path}": $
|
|
986
|
+
"PUT /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsPut,
|
|
982
987
|
"PATCH /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsPatch,
|
|
983
988
|
"DELETE /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsDelete,
|
|
984
989
|
"GET /sandboxes/{sandbox_id}/git/{path}": $orchestratorProxyGit,
|
|
@@ -1013,4 +1018,4 @@ function call(api, key, args, options) {
|
|
|
1013
1018
|
return api.call(TABLE[key], args, options);
|
|
1014
1019
|
}
|
|
1015
1020
|
|
|
1016
|
-
export { acceptAdapters, acceptFinding, addNormExceptionRoute, addSuppression, admitLifecycleOperation, agentBinding, anthropicCountTokens, anthropicMessages, apiSurface, batchUpdateIssueClasses, byCall, byConversation, call, cancelExecutionTree, claimSandbox, computeNextDueAt, conversationExecutions, createExample, createSandbox, createTask, createTrigger, databaseIdentity, databaseIdentityOnHostedBox, deleteExample, deleteNormExceptionRoute, deleteTask, deleteTrigger, deleteUserMemory, deleteUserVolume, destroySandbox, detailedHealthCheck, detailedHealthCheckOnHostedBox, dismissBatch, dismissFailure, execCommand, execCommandOnSandboxOrchestrator, executionEvents, executionTree, extendSandbox, failuresSince, falseReaps, fsList, fsMkdir, fsPatch, fsRead, fsStat, fsWrite, getCaptureHealth, getCodexUsage, getCodexUsageAllowance, getDefaultBrowserProfileForUser, getError, getErrorDetail, getExample, getFailureDetail, getFile, getIssueClass, getKindIncident, getRollup, getRun, getSandbox, getServerActions, getStats, getStatus, getSummary, getTask, getTraceFile, getUserPersistence, getWatchdogStatus, healthCheck, healthCheckOnHostedBox, healthCheckOnSandboxOrchestrator, heartbeatExecution, hostedSessionReady, issueAccessToken, issueClassStats, jsonrpcEndpoint, kindIncidentMetrics, lifecycleOperationStatus, listComputeTargets, listDuplicateSchedules, listErrors, listEventsForClass, listExamples, listFailures, listFiles, listIssueClasses, listKindIncidents, listNormExceptionsRoute, listProviders, listRecentEvents, listRuns, listSandboxes, listStuckRows, listSuppressions, listTasks, listTemplates, listTraceFiles, listTriggers, listUserMemory, livenessCheck, livenessCheckOnHostedBox, lockStorm, markFalseReap, migrateAll, migrateSandboxRoute, migrationStatusRoute, mintToken, openExecution, openOutages, openaiCodexResponses, operationEvents, operationEventsStream, operationStatus, operationsByLink, opsSummary, orchestratorProxyCredentials, orchestratorProxyCredentialsPost, orchestratorProxyFs, orchestratorProxyFsDelete,
|
|
1021
|
+
export { acceptAdapters, acceptFinding, addNormExceptionRoute, addSuppression, admitLifecycleOperation, agentBinding, anthropicCountTokens, anthropicMessages, apiSurface, batchUpdateIssueClasses, byCall, byConversation, call, cancelExecutionTree, claimSandbox, computeNextDueAt, conversationExecutions, createExample, createSandbox, createTask, createTrigger, databaseIdentity, databaseIdentityOnHostedBox, deleteExample, deleteNormExceptionRoute, deleteTask, deleteTrigger, deleteUserMemory, deleteUserVolume, destroySandbox, detailedHealthCheck, detailedHealthCheckOnHostedBox, dismissBatch, dismissFailure, execCommand, execCommandOnSandboxOrchestrator, executionEvents, executionTree, extendSandbox, failuresSince, falseReaps, fsList, fsMkdir, fsPatch, fsRead, fsStat, fsWrite, getCaptureHealth, getCodexUsage, getCodexUsageAllowance, getDefaultBrowserProfileForUser, getError, getErrorDetail, getExample, getFailureDetail, getFile, getIssueClass, getKindIncident, getRollup, getRun, getSandbox, getServerActions, getStats, getStatus, getSummary, getTask, getTraceFile, getUserPersistence, getWatchdogStatus, healthCheck, healthCheckOnHostedBox, healthCheckOnSandboxOrchestrator, heartbeatExecution, hostedSessionReady, issueAccessToken, issueClassStats, jsonrpcEndpoint, kindIncidentMetrics, lifecycleOperationStatus, listComputeTargets, listDuplicateSchedules, listErrors, listEventsForClass, listExamples, listFailures, listFiles, listIssueClasses, listKindIncidents, listNormExceptionsRoute, listProviders, listRecentEvents, listRuns, listSandboxes, listStuckRows, listSuppressions, listTasks, listTemplates, listTraceFiles, listTriggers, listUserMemory, livenessCheck, livenessCheckOnHostedBox, lockStorm, markFalseReap, migrateAll, migrateSandboxRoute, migrationStatusRoute, mintToken, openExecution, openOutages, openaiCodexResponses, operationEvents, operationEventsStream, operationStatus, operationsByLink, opsSummary, orchestratorProxyCredentials, orchestratorProxyCredentialsPost, orchestratorProxyFs, orchestratorProxyFsDelete, orchestratorProxyFsPatch, orchestratorProxyFsPost, orchestratorProxyFsPut, orchestratorProxyGit, orchestratorProxyGitPost, orchestratorProxyProcesses, orchestratorProxyProcessesGet, orchestratorProxySearch, orchestratorProxySearchPost, orchestratorProxyToContainer, orchestratorProxyToContainerDelete, orchestratorProxyToContainerHead, orchestratorProxyToContainerOptions, orchestratorProxyToContainerPatch, orchestratorProxyToContainerPost, orchestratorProxyToContainerPut, overview, patchTask, patchTrigger, platformEnvCensus, postPrune, postRun, previewFires, proxyExecStream, proxyPorts, putUserMemory, query, ragSearchAsKinds, rankLandscapeAsKinds, readinessCheck, reapExpiredNow, recentErrors, recentEvents, recentExecutions, recoverLifecycleOperation, refreshSandboxPlatformEnv, rejoinOperationStream, removeSuppression, replayBatch, replayOne, reportProviderSessionFailure, reportProviderSessionUsage, requestAccess, resetSandbox, resolveBatch, resolveComputeTarget, resolveError, resolveKindIncidents, resumeSandbox, root, runAction, runNow, sandboxAgentEnv, sandboxComplete, sandboxDiagnostics, sandboxError, sandboxHeartbeat, sandboxLogs, saveOutput, scrapeAsKind, scrapeManyAsKind, searchAsKinds, searchContent, searchExamples, searchPaths, servingCheck, servingCheckOnHostedBox, settleAgentPresence, settleExecution, signals, stats, streamText, sweepWatchdogOnce, systemCosts, systemInfo, tableReadAsKinds, takeOverExecution, topPatternsRoute, unclassified, updateExample, updateIssueClass, validateCron, versionCheck, versionCheckOnHostedBox, versionDrift, workerHealth, workflowExecutions };
|
package/dist/audio.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDMJ3ZRN7_cjs = require('./chunk-DMJ3ZRN7.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
require('./chunk-5WJLKYH6.cjs');
|
|
6
6
|
|
|
@@ -47,7 +47,7 @@ function textToSpeech(api, args, options) {
|
|
|
47
47
|
}
|
|
48
48
|
var $youtubeTranscript = { m: "POST", p: "/media/youtube/transcript", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "audio.youtube_transcript" };
|
|
49
49
|
function youtubeTranscript(api, args, options) {
|
|
50
|
-
return
|
|
50
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $youtubeTranscript, args, options);
|
|
51
51
|
}
|
|
52
52
|
var $getStatus = { m: "GET", p: "/wake-word/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.get_status" };
|
|
53
53
|
function getStatus(api, args, options) {
|
|
@@ -83,7 +83,7 @@ function configureWakeWord(api, args, options) {
|
|
|
83
83
|
}
|
|
84
84
|
var $eventStream = { m: "GET", p: "/wake-word/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "audio.event_stream" };
|
|
85
85
|
function eventStream(api, args, options) {
|
|
86
|
-
return
|
|
86
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $eventStream, args, options);
|
|
87
87
|
}
|
|
88
88
|
var $listModels = { m: "GET", p: "/wake-word/models", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_models" };
|
|
89
89
|
function listModels(api, args, options) {
|
|
@@ -95,7 +95,7 @@ function downloadOwwModel(api, args, options) {
|
|
|
95
95
|
}
|
|
96
96
|
var $downloadModelWithProgress = { m: "POST", p: "/wake-word/models/download-stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "audio.download_model_with_progress" };
|
|
97
97
|
function downloadModelWithProgress(api, args, options) {
|
|
98
|
-
return
|
|
98
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $downloadModelWithProgress, args, options);
|
|
99
99
|
}
|
|
100
100
|
var $ttsStatus = { m: "GET", p: "/tts/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.tts_status" };
|
|
101
101
|
function ttsStatus(api, args, options) {
|
package/dist/audio.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-DCyEAVSW.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import './credentials.cjs';
|
|
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 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ActionResponse */
|
package/dist/audio.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-BUb7OxrB.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import './credentials.js';
|
|
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 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ActionResponse */
|
package/dist/audio.js
CHANGED
package/dist/chat.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDMJ3ZRN7_cjs = require('./chunk-DMJ3ZRN7.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
require('./chunk-5WJLKYH6.cjs');
|
|
6
6
|
|
|
@@ -15,27 +15,27 @@ function conversationsWarmConversationPost(api, args, options) {
|
|
|
15
15
|
}
|
|
16
16
|
var $chat = { m: "POST", p: "/ai/manual", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "chat.chat" };
|
|
17
17
|
function chat(api, args, options) {
|
|
18
|
-
return
|
|
18
|
+
return chunkDMJ3ZRN7_cjs.openJsonOrStream(api, $chat, args, options);
|
|
19
19
|
}
|
|
20
20
|
var $chatPost = { m: "POST", p: "/ai/chat", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "chat.chat_post" };
|
|
21
21
|
function chatPost(api, args, options) {
|
|
22
|
-
return
|
|
22
|
+
return chunkDMJ3ZRN7_cjs.openJsonOrStream(api, $chatPost, args, options);
|
|
23
23
|
}
|
|
24
24
|
var $conversationsContinueConversation = { m: "POST", p: "/ai/conversation/{conversation_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_continue_conversation" };
|
|
25
25
|
function conversationsContinueConversation(api, args, options) {
|
|
26
|
-
return
|
|
26
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $conversationsContinueConversation, args, options);
|
|
27
27
|
}
|
|
28
28
|
var $conversationsContinueConversationPost = { m: "POST", p: "/ai/conversations/{conversation_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_continue_conversation_post" };
|
|
29
29
|
function conversationsContinueConversationPost(api, args, options) {
|
|
30
|
-
return
|
|
30
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $conversationsContinueConversationPost, args, options);
|
|
31
31
|
}
|
|
32
32
|
var $conversationsForkAndRun = { m: "POST", p: "/ai/conversation/{conversation_id}/fork-and-run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_fork_and_run" };
|
|
33
33
|
function conversationsForkAndRun(api, args, options) {
|
|
34
|
-
return
|
|
34
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $conversationsForkAndRun, args, options);
|
|
35
35
|
}
|
|
36
36
|
var $conversationsForkAndRunPost = { m: "POST", p: "/ai/conversations/{conversation_id}/fork-and-run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_fork_and_run_post" };
|
|
37
37
|
function conversationsForkAndRunPost(api, args, options) {
|
|
38
|
-
return
|
|
38
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $conversationsForkAndRunPost, args, options);
|
|
39
39
|
}
|
|
40
40
|
var $conversationsSubmitToolResults = { m: "POST", p: "/ai/conversation/{conversation_id}/tool_results", d: "aidream", a: "guest", o: "required", n: "chat.conversations_submit_tool_results" };
|
|
41
41
|
function conversationsSubmitToolResults(api, args, options) {
|
|
@@ -91,11 +91,11 @@ function conversationsCancelInboxItemDelete(api, args, options) {
|
|
|
91
91
|
}
|
|
92
92
|
var $conversationsResumeConversation = { m: "POST", p: "/ai/conversation/{conversation_id}/resume", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_resume_conversation" };
|
|
93
93
|
function conversationsResumeConversation(api, args, options) {
|
|
94
|
-
return
|
|
94
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $conversationsResumeConversation, args, options);
|
|
95
95
|
}
|
|
96
96
|
var $conversationsResumeConversationPost = { m: "POST", p: "/ai/conversations/{conversation_id}/resume", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_resume_conversation_post" };
|
|
97
97
|
function conversationsResumeConversationPost(api, args, options) {
|
|
98
|
-
return
|
|
98
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $conversationsResumeConversationPost, args, options);
|
|
99
99
|
}
|
|
100
100
|
var $conversationsGetConversationSandbox = { m: "GET", p: "/ai/conversation/{conversation_id}/sandbox", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_get_conversation_sandbox" };
|
|
101
101
|
function conversationsGetConversationSandbox(api, args, options) {
|
|
@@ -147,11 +147,11 @@ function warmHealthRoute(api, args, options) {
|
|
|
147
147
|
}
|
|
148
148
|
var $directChat = { m: "POST", p: "/ai/chat/direct-chat", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.direct_chat" };
|
|
149
149
|
function directChat(api, args, options) {
|
|
150
|
-
return
|
|
150
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $directChat, args, options);
|
|
151
151
|
}
|
|
152
152
|
var $promptExecution = { m: "POST", p: "/ai/chat/prompt-execution", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.prompt_execution" };
|
|
153
153
|
function promptExecution(api, args, options) {
|
|
154
|
-
return
|
|
154
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $promptExecution, args, options);
|
|
155
155
|
}
|
|
156
156
|
var $v2ChatV2 = { m: "POST", p: "/v2/ai/manual", d: "aidream", a: "guest", o: "required", n: "chat.v2_chat_v2" };
|
|
157
157
|
function v2ChatV2(api, args, options) {
|
package/dist/chat.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, J as JsonOrStream, N as NdjsonEvent, a as ApiStream } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, J as JsonOrStream, N as NdjsonEvent, a as ApiStream } from './index-DCyEAVSW.cjs';
|
|
2
2
|
import { JsonValue, ResponseFormatText, ResponseFormatJsonObject, ResponseFormatJsonSchema, TtsVoiceSpeaker, TtsDialogueTurn, MediaRef, ImageLora, CustomTool, CompactionSettings, DictionaryConfig, ContextAnchor, ChatMessageInput, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, LLMParams, ResourceContextPolicy, IdeState, SandboxBindingRequest, PageContext, CacheBypass, TextPart, ThinkingPart, ToolCallPart, ToolResultPart, UserImageMediaPart, UserAudioMediaPart, UserVideoMediaPart, UserDocumentMediaPart, UserYouTubeMediaPart, CodeExecPart, CodeResultPart, WebSearchPart, WebpageInputPart, NotesInputPart, TaskInputPart, AgentInputPart, ProjectInputPart, AgentAppInputPart, TranscriptInputPart, TranscriptSessionInputPart, WorkbookInputPart, DocumentInputPart, TableInputPart, ListInputPart, DataInputPart, ContextInputPart, RemarksInputPart, DecisionQuestionsPart, DecisionAnswersPart, SpeechScriptPart, AgentStartRequest, PromptStartRequest, ActionNeeded } from './schemas.cjs';
|
|
3
3
|
import './credentials.cjs';
|
|
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 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** What the chooser sends. Only `provider` plus one of `resource_ref` / */
|
package/dist/chat.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, J as JsonOrStream, N as NdjsonEvent, a as ApiStream } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, J as JsonOrStream, N as NdjsonEvent, a as ApiStream } from './index-BUb7OxrB.js';
|
|
2
2
|
import { JsonValue, ResponseFormatText, ResponseFormatJsonObject, ResponseFormatJsonSchema, TtsVoiceSpeaker, TtsDialogueTurn, MediaRef, ImageLora, CustomTool, CompactionSettings, DictionaryConfig, ContextAnchor, ChatMessageInput, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, LLMParams, ResourceContextPolicy, IdeState, SandboxBindingRequest, PageContext, CacheBypass, TextPart, ThinkingPart, ToolCallPart, ToolResultPart, UserImageMediaPart, UserAudioMediaPart, UserVideoMediaPart, UserDocumentMediaPart, UserYouTubeMediaPart, CodeExecPart, CodeResultPart, WebSearchPart, WebpageInputPart, NotesInputPart, TaskInputPart, AgentInputPart, ProjectInputPart, AgentAppInputPart, TranscriptInputPart, TranscriptSessionInputPart, WorkbookInputPart, DocumentInputPart, TableInputPart, ListInputPart, DataInputPart, ContextInputPart, RemarksInputPart, DecisionQuestionsPart, DecisionAnswersPart, SpeechScriptPart, AgentStartRequest, PromptStartRequest, ActionNeeded } from './schemas.js';
|
|
3
3
|
import './credentials.js';
|
|
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 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** What the chooser sends. Only `provider` plus one of `resource_ref` / */
|
package/dist/chat.js
CHANGED
|
@@ -729,7 +729,7 @@ async function* readMatrxSseStream(stream, options = {}) {
|
|
|
729
729
|
}
|
|
730
730
|
|
|
731
731
|
// src/deployments.generated.ts
|
|
732
|
-
var CONTRACT_SHA256 = "
|
|
732
|
+
var CONTRACT_SHA256 = "7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5";
|
|
733
733
|
var DEPLOYMENTS = {
|
|
734
734
|
"files": {
|
|
735
735
|
"app": "files-standalone",
|
|
@@ -731,7 +731,7 @@ async function* readMatrxSseStream(stream, options = {}) {
|
|
|
731
731
|
}
|
|
732
732
|
|
|
733
733
|
// src/deployments.generated.ts
|
|
734
|
-
var CONTRACT_SHA256 = "
|
|
734
|
+
var CONTRACT_SHA256 = "7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5";
|
|
735
735
|
var DEPLOYMENTS = {
|
|
736
736
|
"files": {
|
|
737
737
|
"app": "files-standalone",
|
package/dist/code.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDMJ3ZRN7_cjs = require('./chunk-DMJ3ZRN7.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
require('./chunk-5WJLKYH6.cjs');
|
|
6
6
|
|
|
@@ -47,7 +47,7 @@ function claudeManagedCapabilities(api, args, options) {
|
|
|
47
47
|
}
|
|
48
48
|
var $claudeManagedStream = { m: "POST", p: "/coding-sessions/claude/stream", d: "aidream", a: "user", o: "required", s: "ndjson", n: "code.claude_managed_stream" };
|
|
49
49
|
function claudeManagedStream(api, args, options) {
|
|
50
|
-
return
|
|
50
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $claudeManagedStream, args, options);
|
|
51
51
|
}
|
|
52
52
|
var $cancelClaudeManagedRuntime = { m: "POST", p: "/coding-sessions/claude/runtimes/{runtime_id}/cancel", d: "aidream", a: "user", o: "required", n: "code.cancel_claude_managed_runtime" };
|
|
53
53
|
function cancelClaudeManagedRuntime(api, args, options) {
|
|
@@ -59,7 +59,7 @@ function codexManagedCapabilities(api, args, options) {
|
|
|
59
59
|
}
|
|
60
60
|
var $codexManagedStream = { m: "POST", p: "/coding-sessions/codex/stream", d: "aidream", a: "user", o: "required", s: "ndjson", n: "code.codex_managed_stream" };
|
|
61
61
|
function codexManagedStream(api, args, options) {
|
|
62
|
-
return
|
|
62
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $codexManagedStream, args, options);
|
|
63
63
|
}
|
|
64
64
|
var $cancelCodexManagedRuntime = { m: "POST", p: "/coding-sessions/codex/runtimes/{runtime_id}/cancel", d: "aidream", a: "user", o: "required", n: "code.cancel_codex_managed_runtime" };
|
|
65
65
|
function cancelCodexManagedRuntime(api, args, options) {
|
|
@@ -81,6 +81,10 @@ var $ownPlanSubmitCode = { m: "POST", p: "/coding-sessions/own-plan/{provider}/c
|
|
|
81
81
|
function ownPlanSubmitCode(api, args, options) {
|
|
82
82
|
return api.call($ownPlanSubmitCode, args, options);
|
|
83
83
|
}
|
|
84
|
+
var $ownPlanCloudSend = { m: "POST", p: "/coding-sessions/own-plan/claude_code/cloud-send", d: "aidream", a: "user", o: "required", n: "code.own_plan_cloud_send" };
|
|
85
|
+
function ownPlanCloudSend(api, args, options) {
|
|
86
|
+
return api.call($ownPlanCloudSend, args, options);
|
|
87
|
+
}
|
|
84
88
|
var $ownPlanCancel = { m: "POST", p: "/coding-sessions/own-plan/{provider}/cancel", d: "aidream", a: "user", o: "required", n: "code.own_plan_cancel" };
|
|
85
89
|
function ownPlanCancel(api, args, options) {
|
|
86
90
|
return api.call($ownPlanCancel, args, options);
|
|
@@ -131,7 +135,7 @@ function claudeManagedCapabilitiesOnHostedBox(api, args, options) {
|
|
|
131
135
|
}
|
|
132
136
|
var $claudeManagedStreamOnHostedBox = { m: "POST", p: "/coding-sessions/claude/stream", d: "hosted-box", a: "user", o: "required", s: "ndjson", n: "code.claude_managed_stream" };
|
|
133
137
|
function claudeManagedStreamOnHostedBox(api, args, options) {
|
|
134
|
-
return
|
|
138
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $claudeManagedStreamOnHostedBox, args, options);
|
|
135
139
|
}
|
|
136
140
|
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" };
|
|
137
141
|
function cancelClaudeManagedRuntimeOnHostedBox(api, args, options) {
|
|
@@ -143,7 +147,7 @@ function codexManagedCapabilitiesOnHostedBox(api, args, options) {
|
|
|
143
147
|
}
|
|
144
148
|
var $codexManagedStreamOnHostedBox = { m: "POST", p: "/coding-sessions/codex/stream", d: "hosted-box", a: "user", o: "required", s: "ndjson", n: "code.codex_managed_stream" };
|
|
145
149
|
function codexManagedStreamOnHostedBox(api, args, options) {
|
|
146
|
-
return
|
|
150
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $codexManagedStreamOnHostedBox, args, options);
|
|
147
151
|
}
|
|
148
152
|
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" };
|
|
149
153
|
function cancelCodexManagedRuntimeOnHostedBox(api, args, options) {
|
|
@@ -165,6 +169,10 @@ var $ownPlanSubmitCodeOnHostedBox = { m: "POST", p: "/coding-sessions/own-plan/{
|
|
|
165
169
|
function ownPlanSubmitCodeOnHostedBox(api, args, options) {
|
|
166
170
|
return api.call($ownPlanSubmitCodeOnHostedBox, args, options);
|
|
167
171
|
}
|
|
172
|
+
var $ownPlanCloudSendOnHostedBox = { m: "POST", p: "/coding-sessions/own-plan/claude_code/cloud-send", d: "hosted-box", a: "user", o: "required", n: "code.own_plan_cloud_send" };
|
|
173
|
+
function ownPlanCloudSendOnHostedBox(api, args, options) {
|
|
174
|
+
return api.call($ownPlanCloudSendOnHostedBox, args, options);
|
|
175
|
+
}
|
|
168
176
|
var $ownPlanCancelOnHostedBox = { m: "POST", p: "/coding-sessions/own-plan/{provider}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.own_plan_cancel" };
|
|
169
177
|
function ownPlanCancelOnHostedBox(api, args, options) {
|
|
170
178
|
return api.call($ownPlanCancelOnHostedBox, args, options);
|
|
@@ -363,7 +371,7 @@ function runtimeResumable(api, args, options) {
|
|
|
363
371
|
}
|
|
364
372
|
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" };
|
|
365
373
|
function runtimeEvents(api, args, options) {
|
|
366
|
-
return
|
|
374
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $runtimeEvents, args, options);
|
|
367
375
|
}
|
|
368
376
|
var $getCodexUsageAllowance = { m: "GET", p: "/codex-usage/allowance", d: "matrx-local", a: "loopback_token", o: "exempt", n: "code.get_codex_usage_allowance" };
|
|
369
377
|
function getCodexUsageAllowance(api, args, options) {
|
|
@@ -391,6 +399,7 @@ var TABLE = {
|
|
|
391
399
|
"GET /coding-sessions/own-plan/{provider}": $ownPlanStatus,
|
|
392
400
|
"POST /coding-sessions/own-plan/{provider}/sign-in": $ownPlanSignInStart,
|
|
393
401
|
"POST /coding-sessions/own-plan/{provider}/code": $ownPlanSubmitCode,
|
|
402
|
+
"POST /coding-sessions/own-plan/claude_code/cloud-send": $ownPlanCloudSend,
|
|
394
403
|
"POST /coding-sessions/own-plan/{provider}/cancel": $ownPlanCancel,
|
|
395
404
|
"POST /coding-sessions/own-plan/{provider}/sign-out": $ownPlanSignOut,
|
|
396
405
|
"POST /coding-sessions/bridge @hosted-box": $codingSessionBridgeOnHostedBox,
|
|
@@ -410,6 +419,7 @@ var TABLE = {
|
|
|
410
419
|
"GET /coding-sessions/own-plan/{provider} @hosted-box": $ownPlanStatusOnHostedBox,
|
|
411
420
|
"POST /coding-sessions/own-plan/{provider}/sign-in @hosted-box": $ownPlanSignInStartOnHostedBox,
|
|
412
421
|
"POST /coding-sessions/own-plan/{provider}/code @hosted-box": $ownPlanSubmitCodeOnHostedBox,
|
|
422
|
+
"POST /coding-sessions/own-plan/claude_code/cloud-send @hosted-box": $ownPlanCloudSendOnHostedBox,
|
|
413
423
|
"POST /coding-sessions/own-plan/{provider}/cancel @hosted-box": $ownPlanCancelOnHostedBox,
|
|
414
424
|
"POST /coding-sessions/own-plan/{provider}/sign-out @hosted-box": $ownPlanSignOutOnHostedBox,
|
|
415
425
|
"GET /coding-session/status": $codingSessionDeliveryStatus,
|
|
@@ -518,6 +528,8 @@ exports.listCodingSessionIdentities = listCodingSessionIdentities;
|
|
|
518
528
|
exports.listCodingSessionIdentitiesOnHostedBox = listCodingSessionIdentitiesOnHostedBox;
|
|
519
529
|
exports.ownPlanCancel = ownPlanCancel;
|
|
520
530
|
exports.ownPlanCancelOnHostedBox = ownPlanCancelOnHostedBox;
|
|
531
|
+
exports.ownPlanCloudSend = ownPlanCloudSend;
|
|
532
|
+
exports.ownPlanCloudSendOnHostedBox = ownPlanCloudSendOnHostedBox;
|
|
521
533
|
exports.ownPlanSignInStart = ownPlanSignInStart;
|
|
522
534
|
exports.ownPlanSignInStartOnHostedBox = ownPlanSignInStartOnHostedBox;
|
|
523
535
|
exports.ownPlanSignOut = ownPlanSignOut;
|