@ai-matrx/api 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/account.d.cts +2 -2
- package/dist/account.d.ts +2 -2
- package/dist/agents.cjs +11 -12
- package/dist/agents.d.cts +2 -2
- package/dist/agents.d.ts +2 -2
- package/dist/agents.js +1 -2
- package/dist/ai.cjs +2 -3
- package/dist/ai.d.cts +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +1 -2
- package/dist/apps.cjs +5 -6
- package/dist/apps.d.cts +2 -2
- package/dist/apps.d.ts +2 -2
- package/dist/apps.js +1 -2
- package/dist/architecture.cjs +10 -11
- package/dist/architecture.d.cts +2 -2
- package/dist/architecture.d.ts +2 -2
- package/dist/architecture.js +1 -2
- package/dist/audio.cjs +4 -5
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +1 -2
- package/dist/chat.cjs +11 -12
- package/dist/chat.d.cts +2 -2
- package/dist/chat.d.ts +2 -2
- package/dist/chat.js +1 -2
- package/dist/{chunk-6UOESA3L.js → chunk-2FJPWNXG.js} +1 -3
- package/dist/chunk-7MZPBCFV.js +1 -0
- package/dist/chunk-MVXD6WI6.cjs +22 -0
- package/dist/{chunk-DMJ3ZRN7.cjs → chunk-UO3H55R3.cjs} +5 -7
- package/dist/code.cjs +6 -7
- package/dist/code.d.cts +2 -2
- package/dist/code.d.ts +2 -2
- package/dist/code.js +1 -2
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +4 -5
- package/dist/communications.d.cts +2 -2
- package/dist/communications.d.ts +2 -2
- package/dist/communications.js +1 -2
- package/dist/computer.cjs +3 -4
- package/dist/computer.d.cts +2 -2
- package/dist/computer.d.ts +2 -2
- package/dist/computer.js +1 -2
- package/dist/content.cjs +4 -5
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +1 -2
- package/dist/credentials.cjs +5 -5
- package/dist/credentials.d.cts +1 -82
- package/dist/credentials.d.ts +1 -82
- package/dist/credentials.js +1 -1
- package/dist/crm.cjs +2 -3
- package/dist/crm.d.cts +2 -2
- package/dist/crm.d.ts +2 -2
- package/dist/crm.js +1 -2
- package/dist/data.d.cts +2 -2
- package/dist/data.d.ts +2 -2
- package/dist/education.cjs +4 -5
- package/dist/education.d.cts +2 -2
- package/dist/education.d.ts +2 -2
- package/dist/education.js +1 -2
- package/dist/files.cjs +20 -21
- package/dist/files.d.cts +2 -2
- package/dist/files.d.ts +2 -2
- package/dist/files.js +1 -2
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-BUb7OxrB.d.ts → index-Xx6L_pWk.d.cts} +1 -1
- package/dist/{index-DCyEAVSW.d.cts → index-Xx6L_pWk.d.ts} +1 -1
- package/dist/index.cjs +73 -74
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -6
- package/dist/integrations.cjs +3 -4
- package/dist/integrations.d.cts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/integrations.js +1 -2
- package/dist/intelligence.cjs +6 -7
- package/dist/intelligence.d.cts +2 -2
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +1 -2
- package/dist/knowledge.cjs +42 -43
- package/dist/knowledge.d.cts +2 -2
- package/dist/knowledge.d.ts +2 -2
- package/dist/knowledge.js +1 -2
- package/dist/legal.cjs +6 -7
- package/dist/legal.d.cts +2 -2
- package/dist/legal.d.ts +2 -2
- package/dist/legal.js +1 -2
- package/dist/marketing.cjs +76 -77
- package/dist/marketing.d.cts +2 -2
- package/dist/marketing.d.ts +2 -2
- package/dist/marketing.js +1 -2
- package/dist/masterwork.cjs +32 -33
- package/dist/masterwork.d.cts +2 -2
- package/dist/masterwork.d.ts +2 -2
- package/dist/masterwork.js +1 -2
- package/dist/media.cjs +11 -12
- package/dist/media.d.cts +2 -2
- package/dist/media.d.ts +2 -2
- package/dist/media.js +1 -2
- package/dist/platform.cjs +3 -4
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +1 -2
- package/dist/publish.cjs +7 -8
- package/dist/publish.d.cts +2 -2
- package/dist/publish.d.ts +2 -2
- package/dist/publish.js +1 -2
- package/dist/stream.cjs +10 -11
- package/dist/stream.d.cts +2 -2
- package/dist/stream.d.ts +2 -2
- package/dist/stream.js +1 -2
- package/dist/web.cjs +26 -27
- package/dist/web.d.cts +2 -2
- package/dist/web.d.ts +2 -2
- package/dist/web.js +1 -2
- package/dist/workflows.cjs +13 -14
- package/dist/workflows.d.cts +2 -2
- package/dist/workflows.d.ts +2 -2
- package/dist/workflows.js +1 -2
- package/package.json +4 -4
- package/dist/chunk-5WJLKYH6.cjs +0 -48
- package/dist/chunk-VTZKJMSY.js +0 -43
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/api
|
|
2
2
|
|
|
3
|
+
## 0.1.7
|
|
4
|
+
|
|
5
|
+
**Fix: `@ai-matrx/api/credentials` types.** 0.1.6 re-exported auth's credentials with a bare
|
|
6
|
+
`export *` of an external sibling, which built an EMPTY `dist/credentials.d.ts`. The names are
|
|
7
|
+
now re-exported by name (`MATRX_HEADERS`, `API_KEY_PREFIX`, `credentialToHeaders`,
|
|
8
|
+
`toCredentialsPort` and the four types), so types and the publish-time sibling-import guard see them.
|
|
9
|
+
|
|
10
|
+
## 0.1.6
|
|
11
|
+
|
|
12
|
+
**Un-bundled (Wave 0 W14).** `@ai-matrx/auth` is now a real dependency (packed as `latest`)
|
|
13
|
+
and every `@ai-matrx/*` sibling is external at build. 0.1.5 carried an inlined copy of
|
|
14
|
+
`auth/src/credentials.ts`; this version imports `@ai-matrx/auth/credentials`, so a credentials
|
|
15
|
+
fix in auth reaches api consumers without an api release. Same names; no consumer action.
|
|
16
|
+
|
|
3
17
|
## 0.1.5
|
|
4
18
|
|
|
5
19
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
package/dist/account.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions } from './index-Xx6L_pWk.cjs';
|
|
2
2
|
import { JsonValue, UserAnalysisPreferencesResponse } from './schemas.cjs';
|
|
3
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/account.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions } from './index-Xx6L_pWk.js';
|
|
2
2
|
import { JsonValue, UserAnalysisPreferencesResponse } from './schemas.js';
|
|
3
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/agents.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
|
-
require('./chunk-5WJLKYH6.cjs');
|
|
6
5
|
|
|
7
6
|
// src/generated/agents.ts
|
|
8
7
|
var $warmAgent = { m: "POST", p: "/ai/agents/{agent_id}/warm", d: "aidream", a: "public", o: "required", n: "agents.warm_agent" };
|
|
@@ -47,15 +46,15 @@ function getToolById(api, args, options) {
|
|
|
47
46
|
}
|
|
48
47
|
var $agentsStartAgent = { m: "POST", p: "/ai/agent/{agent_id}", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "agents.agents_start_agent" };
|
|
49
48
|
function agentsStartAgent(api, args, options) {
|
|
50
|
-
return
|
|
49
|
+
return chunkUO3H55R3_cjs.openJsonOrStream(api, $agentsStartAgent, args, options);
|
|
51
50
|
}
|
|
52
51
|
var $agentsStartAgentPost = { m: "POST", p: "/ai/agents/{agent_id}", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "agents.agents_start_agent_post" };
|
|
53
52
|
function agentsStartAgentPost(api, args, options) {
|
|
54
|
-
return
|
|
53
|
+
return chunkUO3H55R3_cjs.openJsonOrStream(api, $agentsStartAgentPost, args, options);
|
|
55
54
|
}
|
|
56
55
|
var $startMandatedAgent = { m: "POST", p: "/ai/mandates/{mandate_key}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.start_mandated_agent" };
|
|
57
56
|
function startMandatedAgent(api, args, options) {
|
|
58
|
-
return
|
|
57
|
+
return chunkUO3H55R3_cjs.openStream(api, $startMandatedAgent, args, options);
|
|
59
58
|
}
|
|
60
59
|
var $invalidateAgentCache = { m: "POST", p: "/ai/agents/{agent_id}/invalidate-cache", d: "aidream", a: "guest", o: "required", n: "agents.invalidate_agent_cache" };
|
|
61
60
|
function invalidateAgentCache(api, args, options) {
|
|
@@ -63,7 +62,7 @@ function invalidateAgentCache(api, args, options) {
|
|
|
63
62
|
}
|
|
64
63
|
var $mockStream = { m: "POST", p: "/ai/mock-stream/{scenario}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.mock_stream" };
|
|
65
64
|
function mockStream(api, args, options) {
|
|
66
|
-
return
|
|
65
|
+
return chunkUO3H55R3_cjs.openStream(api, $mockStream, args, options);
|
|
67
66
|
}
|
|
68
67
|
var $listScenarios = { m: "GET", p: "/ai/mock-stream/scenarios", d: "aidream", a: "guest", o: "optional", n: "agents.list_scenarios" };
|
|
69
68
|
function listScenarios(api, args, options) {
|
|
@@ -79,11 +78,11 @@ function getUserPromptsAndBuiltins(api, args, options) {
|
|
|
79
78
|
}
|
|
80
79
|
var $startPrompt = { m: "POST", p: "/ai/prompts/{prompt_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.start_prompt" };
|
|
81
80
|
function startPrompt(api, args, options) {
|
|
82
|
-
return
|
|
81
|
+
return chunkUO3H55R3_cjs.openStream(api, $startPrompt, args, options);
|
|
83
82
|
}
|
|
84
83
|
var $startAgentBlocks = { m: "POST", p: "/ai/agents-blocks/{agent_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.start_agent_blocks" };
|
|
85
84
|
function startAgentBlocks(api, args, options) {
|
|
86
|
-
return
|
|
85
|
+
return chunkUO3H55R3_cjs.openStream(api, $startAgentBlocks, args, options);
|
|
87
86
|
}
|
|
88
87
|
var $previewContext = { m: "POST", p: "/ai/context/preview", d: "aidream", a: "guest", o: "required", n: "agents.preview_context" };
|
|
89
88
|
function previewContext(api, args, options) {
|
|
@@ -227,11 +226,11 @@ function judgeFirstRuns(api, args, options) {
|
|
|
227
226
|
}
|
|
228
227
|
var $agentFromChat = { m: "POST", p: "/agent-studio/from-chat", d: "aidream", a: "user", o: "required", s: "ndjson", n: "agents.agent_from_chat" };
|
|
229
228
|
function agentFromChat(api, args, options) {
|
|
230
|
-
return
|
|
229
|
+
return chunkUO3H55R3_cjs.openStream(api, $agentFromChat, args, options);
|
|
231
230
|
}
|
|
232
231
|
var $adminAgentFromChat = { m: "POST", p: "/admin/agent-studio/from-chat", d: "aidream", a: "admin", o: "exempt", s: "ndjson", n: "agents.admin_agent_from_chat" };
|
|
233
232
|
function adminAgentFromChat(api, args, options) {
|
|
234
|
-
return
|
|
233
|
+
return chunkUO3H55R3_cjs.openStream(api, $adminAgentFromChat, args, options);
|
|
235
234
|
}
|
|
236
235
|
var $adminToolsListTools = { m: "GET", p: "/admin/tools", d: "aidream", a: "admin", o: "exempt", n: "agents.admin_tools_list_tools" };
|
|
237
236
|
function adminToolsListTools(api, args, options) {
|
|
@@ -267,7 +266,7 @@ function getOrCreateTestSession(api, args, options) {
|
|
|
267
266
|
}
|
|
268
267
|
var $executeToolTest = { m: "POST", p: "/tools/test/execute", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.execute_tool_test" };
|
|
269
268
|
function executeToolTest(api, args, options) {
|
|
270
|
-
return
|
|
269
|
+
return chunkUO3H55R3_cjs.openStream(api, $executeToolTest, args, options);
|
|
271
270
|
}
|
|
272
271
|
var $getDbSurfaceManifest = { m: "GET", p: "/surfaces/{client_name}/{surface_name}/manifest", d: "aidream", a: "guest", o: "exempt", n: "agents.get_db_surface_manifest" };
|
|
273
272
|
function getDbSurfaceManifest(api, args, options) {
|
|
@@ -299,7 +298,7 @@ function previewVariableBinding(api, args, options) {
|
|
|
299
298
|
}
|
|
300
299
|
var $runMatrixBattle = { m: "POST", p: "/agent-battles/{set_id}/run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.run_matrix_battle" };
|
|
301
300
|
function runMatrixBattle(api, args, options) {
|
|
302
|
-
return
|
|
301
|
+
return chunkUO3H55R3_cjs.openStream(api, $runMatrixBattle, args, options);
|
|
303
302
|
}
|
|
304
303
|
var $cancelMatrixBattle = { m: "POST", p: "/agent-battles/{set_id}/cancel", d: "aidream", a: "guest", o: "required", n: "agents.cancel_matrix_battle" };
|
|
305
304
|
function cancelMatrixBattle(api, args, options) {
|
package/dist/agents.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, J as JsonOrStream } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, J as JsonOrStream } from './index-Xx6L_pWk.cjs';
|
|
2
2
|
import { JsonValue, ContextAnchor, 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, LLMParams, AgentStartRequest, DirectiveItemApplied, DirectiveItemFailed, PageContext, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, ActionNeeded, PromptStartRequest } from './schemas.cjs';
|
|
3
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/agents.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, J as JsonOrStream } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, J as JsonOrStream } from './index-Xx6L_pWk.js';
|
|
2
2
|
import { JsonValue, ContextAnchor, 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, LLMParams, AgentStartRequest, DirectiveItemApplied, DirectiveItemFailed, PageContext, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, ActionNeeded, PromptStartRequest } from './schemas.js';
|
|
3
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/agents.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { openJsonOrStream, openStream } from './chunk-
|
|
1
|
+
import { openJsonOrStream, openStream } from './chunk-2FJPWNXG.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
|
-
import './chunk-VTZKJMSY.js';
|
|
4
3
|
|
|
5
4
|
// src/generated/agents.ts
|
|
6
5
|
var $warmAgent = { m: "POST", p: "/ai/agents/{agent_id}/warm", d: "aidream", a: "public", o: "required", n: "agents.warm_agent" };
|
package/dist/ai.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
|
-
require('./chunk-5WJLKYH6.cjs');
|
|
6
5
|
|
|
7
6
|
// src/generated/ai.ts
|
|
8
7
|
var $getAllAiModels = { m: "GET", p: "/ai-models", d: "aidream", a: "guest", o: "optional", n: "ai.get_all_ai_models" };
|
|
@@ -55,7 +54,7 @@ function listModels(api, args, options) {
|
|
|
55
54
|
}
|
|
56
55
|
var $chatCompletions = { m: "POST", p: "/v1/chat/completions", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse_or_json", n: "ai.chat_completions" };
|
|
57
56
|
function chatCompletions(api, args, options) {
|
|
58
|
-
return
|
|
57
|
+
return chunkUO3H55R3_cjs.openJsonOrStream(api, $chatCompletions, args, options);
|
|
59
58
|
}
|
|
60
59
|
var $audioSpeech = { m: "POST", p: "/v1/audio/speech", d: "matrx-local", a: "loopback_token", o: "exempt", n: "ai.audio_speech" };
|
|
61
60
|
function audioSpeech(api, args, options) {
|
package/dist/ai.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-Xx6L_pWk.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/ai.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-Xx6L_pWk.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { openJsonOrStream } from './chunk-
|
|
1
|
+
import { openJsonOrStream } from './chunk-2FJPWNXG.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
|
-
import './chunk-VTZKJMSY.js';
|
|
4
3
|
|
|
5
4
|
// src/generated/ai.ts
|
|
6
5
|
var $getAllAiModels = { m: "GET", p: "/ai-models", d: "aidream", a: "guest", o: "optional", n: "ai.get_all_ai_models" };
|
package/dist/apps.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
|
-
require('./chunk-5WJLKYH6.cjs');
|
|
6
5
|
|
|
7
6
|
// src/generated/apps.ts
|
|
8
7
|
var $getAppCatalog = { m: "GET", p: "/catalogs/{app}", d: "aidream", a: "guest", o: "optional", n: "apps.get_app_catalog" };
|
|
@@ -219,7 +218,7 @@ function getInstallStatus(api, args, options) {
|
|
|
219
218
|
}
|
|
220
219
|
var $streamInstallProgress = { m: "GET", p: "/capabilities/install/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "apps.stream_install_progress" };
|
|
221
220
|
function streamInstallProgress(api, args, options) {
|
|
222
|
-
return
|
|
221
|
+
return chunkUO3H55R3_cjs.openStream(api, $streamInstallProgress, args, options);
|
|
223
222
|
}
|
|
224
223
|
var $tunnelStatus = { m: "GET", p: "/tunnel/status", d: "matrx-local", a: "public", o: "exempt", n: "apps.tunnel_status" };
|
|
225
224
|
function tunnelStatus(api, args, options) {
|
|
@@ -239,15 +238,15 @@ function getSetupStatus(api, args, options) {
|
|
|
239
238
|
}
|
|
240
239
|
var $runInstall = { m: "POST", p: "/setup/install", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.run_install" };
|
|
241
240
|
function runInstall(api, args, options) {
|
|
242
|
-
return
|
|
241
|
+
return chunkUO3H55R3_cjs.openStream(api, $runInstall, args, options);
|
|
243
242
|
}
|
|
244
243
|
var $installTranscription = { m: "POST", p: "/setup/install-transcription", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.install_transcription" };
|
|
245
244
|
function installTranscription(api, args, options) {
|
|
246
|
-
return
|
|
245
|
+
return chunkUO3H55R3_cjs.openStream(api, $installTranscription, args, options);
|
|
247
246
|
}
|
|
248
247
|
var $streamLogs = { m: "GET", p: "/setup/logs", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.stream_logs" };
|
|
249
248
|
function streamLogs(api, args, options) {
|
|
250
|
-
return
|
|
249
|
+
return chunkUO3H55R3_cjs.openStream(api, $streamLogs, args, options);
|
|
251
250
|
}
|
|
252
251
|
var $debugState = { m: "GET", p: "/setup/debug", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.debug_state" };
|
|
253
252
|
function debugState(api, args, options) {
|
package/dist/apps.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-Xx6L_pWk.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/apps.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-Xx6L_pWk.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/apps.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
1
|
+
import { openStream } from './chunk-2FJPWNXG.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
|
-
import './chunk-VTZKJMSY.js';
|
|
4
3
|
|
|
5
4
|
// src/generated/apps.ts
|
|
6
5
|
var $getAppCatalog = { m: "GET", p: "/catalogs/{app}", d: "aidream", a: "guest", o: "optional", n: "apps.get_app_catalog" };
|
package/dist/architecture.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
|
-
require('./chunk-5WJLKYH6.cjs');
|
|
6
5
|
|
|
7
6
|
// src/generated/architecture.ts
|
|
8
7
|
var $healthCheck = { m: "GET", p: "/health", d: "aidream", a: "public", o: "exempt", n: "architecture.health_check" };
|
|
@@ -35,27 +34,27 @@ function servingCheck(api, args, options) {
|
|
|
35
34
|
}
|
|
36
35
|
var $searchAsKinds = { m: "POST", p: "/search-kinds/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.search_as_kinds" };
|
|
37
36
|
function searchAsKinds(api, args, options) {
|
|
38
|
-
return
|
|
37
|
+
return chunkUO3H55R3_cjs.openStream(api, $searchAsKinds, args, options);
|
|
39
38
|
}
|
|
40
39
|
var $rankLandscapeAsKinds = { m: "POST", p: "/rank-kinds/landscape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.rank_landscape_as_kinds" };
|
|
41
40
|
function rankLandscapeAsKinds(api, args, options) {
|
|
42
|
-
return
|
|
41
|
+
return chunkUO3H55R3_cjs.openStream(api, $rankLandscapeAsKinds, args, options);
|
|
43
42
|
}
|
|
44
43
|
var $ragSearchAsKinds = { m: "POST", p: "/rag-kinds/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.rag_search_as_kinds" };
|
|
45
44
|
function ragSearchAsKinds(api, args, options) {
|
|
46
|
-
return
|
|
45
|
+
return chunkUO3H55R3_cjs.openStream(api, $ragSearchAsKinds, args, options);
|
|
47
46
|
}
|
|
48
47
|
var $tableReadAsKinds = { m: "POST", p: "/table-kinds/read", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.table_read_as_kinds" };
|
|
49
48
|
function tableReadAsKinds(api, args, options) {
|
|
50
|
-
return
|
|
49
|
+
return chunkUO3H55R3_cjs.openStream(api, $tableReadAsKinds, args, options);
|
|
51
50
|
}
|
|
52
51
|
var $scrapeAsKind = { m: "POST", p: "/scraper-kinds/scrape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.scrape_as_kind" };
|
|
53
52
|
function scrapeAsKind(api, args, options) {
|
|
54
|
-
return
|
|
53
|
+
return chunkUO3H55R3_cjs.openStream(api, $scrapeAsKind, args, options);
|
|
55
54
|
}
|
|
56
55
|
var $scrapeManyAsKind = { m: "POST", p: "/scraper-kinds/scrape-many", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.scrape_many_as_kind" };
|
|
57
56
|
function scrapeManyAsKind(api, args, options) {
|
|
58
|
-
return
|
|
57
|
+
return chunkUO3H55R3_cjs.openStream(api, $scrapeManyAsKind, args, options);
|
|
59
58
|
}
|
|
60
59
|
var $saveOutput = { m: "POST", p: "/kind-outputs/save", d: "aidream", a: "guest", o: "required", n: "architecture.save_output" };
|
|
61
60
|
function saveOutput(api, args, options) {
|
|
@@ -79,7 +78,7 @@ function operationStatus(api, args, options) {
|
|
|
79
78
|
}
|
|
80
79
|
var $rejoinOperationStream = { m: "POST", p: "/runtime/operations/{request_id}/rejoin", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.rejoin_operation_stream" };
|
|
81
80
|
function rejoinOperationStream(api, args, options) {
|
|
82
|
-
return
|
|
81
|
+
return chunkUO3H55R3_cjs.openStream(api, $rejoinOperationStream, args, options);
|
|
83
82
|
}
|
|
84
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" };
|
|
85
84
|
function operationsByLink(api, args, options) {
|
|
@@ -91,7 +90,7 @@ function operationEvents(api, args, options) {
|
|
|
91
90
|
}
|
|
92
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" };
|
|
93
92
|
function operationEventsStream(api, args, options) {
|
|
94
|
-
return
|
|
93
|
+
return chunkUO3H55R3_cjs.openStream(api, $operationEventsStream, args, options);
|
|
95
94
|
}
|
|
96
95
|
var $listComputeTargets = { m: "GET", p: "/compute-targets/", d: "aidream", a: "user", o: "required", n: "architecture.list_compute_targets" };
|
|
97
96
|
function listComputeTargets(api, args, options) {
|
|
@@ -691,7 +690,7 @@ function orchestratorProxyFsDelete(api, args, options) {
|
|
|
691
690
|
}
|
|
692
691
|
var $proxyExecStream = { m: "POST", p: "/sandboxes/{sandbox_id}/exec/stream", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "sse", n: "architecture.proxy_exec_stream" };
|
|
693
692
|
function proxyExecStream(api, args, options) {
|
|
694
|
-
return
|
|
693
|
+
return chunkUO3H55R3_cjs.openStream(api, $proxyExecStream, args, options);
|
|
695
694
|
}
|
|
696
695
|
var $orchestratorProxyGit = { m: "GET", p: "/sandboxes/{sandbox_id}/git/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_git" };
|
|
697
696
|
function orchestratorProxyGit(api, args, options) {
|
package/dist/architecture.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-Xx6L_pWk.cjs';
|
|
2
2
|
import { JsonValue, ComputeNextDueResponse, SandboxBindingRequest, RunNowResponse, ValidateCronRequest, ValidateCronResponse, DirectiveItemApplied, DirectiveItemFailed } from './schemas.cjs';
|
|
3
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/architecture.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-Xx6L_pWk.js';
|
|
2
2
|
import { JsonValue, ComputeNextDueResponse, SandboxBindingRequest, RunNowResponse, ValidateCronRequest, ValidateCronResponse, DirectiveItemApplied, DirectiveItemFailed } from './schemas.js';
|
|
3
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/architecture.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
1
|
+
import { openStream } from './chunk-2FJPWNXG.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
|
-
import './chunk-VTZKJMSY.js';
|
|
4
3
|
|
|
5
4
|
// src/generated/architecture.ts
|
|
6
5
|
var $healthCheck = { m: "GET", p: "/health", d: "aidream", a: "public", o: "exempt", n: "architecture.health_check" };
|
package/dist/audio.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
|
-
require('./chunk-5WJLKYH6.cjs');
|
|
6
5
|
|
|
7
6
|
// src/generated/audio.ts
|
|
8
7
|
var $createRecordingJournalChunk = { m: "POST", p: "/audio/recording-journal/chunks", d: "aidream", a: "guest", o: "required", n: "audio.create_recording_journal_chunk" };
|
|
@@ -47,7 +46,7 @@ function textToSpeech(api, args, options) {
|
|
|
47
46
|
}
|
|
48
47
|
var $youtubeTranscript = { m: "POST", p: "/media/youtube/transcript", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "audio.youtube_transcript" };
|
|
49
48
|
function youtubeTranscript(api, args, options) {
|
|
50
|
-
return
|
|
49
|
+
return chunkUO3H55R3_cjs.openStream(api, $youtubeTranscript, args, options);
|
|
51
50
|
}
|
|
52
51
|
var $getStatus = { m: "GET", p: "/wake-word/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.get_status" };
|
|
53
52
|
function getStatus(api, args, options) {
|
|
@@ -83,7 +82,7 @@ function configureWakeWord(api, args, options) {
|
|
|
83
82
|
}
|
|
84
83
|
var $eventStream = { m: "GET", p: "/wake-word/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "audio.event_stream" };
|
|
85
84
|
function eventStream(api, args, options) {
|
|
86
|
-
return
|
|
85
|
+
return chunkUO3H55R3_cjs.openStream(api, $eventStream, args, options);
|
|
87
86
|
}
|
|
88
87
|
var $listModels = { m: "GET", p: "/wake-word/models", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_models" };
|
|
89
88
|
function listModels(api, args, options) {
|
|
@@ -95,7 +94,7 @@ function downloadOwwModel(api, args, options) {
|
|
|
95
94
|
}
|
|
96
95
|
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
96
|
function downloadModelWithProgress(api, args, options) {
|
|
98
|
-
return
|
|
97
|
+
return chunkUO3H55R3_cjs.openStream(api, $downloadModelWithProgress, args, options);
|
|
99
98
|
}
|
|
100
99
|
var $ttsStatus = { m: "GET", p: "/tts/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.tts_status" };
|
|
101
100
|
function ttsStatus(api, args, options) {
|
package/dist/audio.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-Xx6L_pWk.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/audio.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-Xx6L_pWk.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/audio.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
1
|
+
import { openStream } from './chunk-2FJPWNXG.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
|
-
import './chunk-VTZKJMSY.js';
|
|
4
3
|
|
|
5
4
|
// src/generated/audio.ts
|
|
6
5
|
var $createRecordingJournalChunk = { m: "POST", p: "/audio/recording-journal/chunks", d: "aidream", a: "guest", o: "required", n: "audio.create_recording_journal_chunk" };
|
package/dist/chat.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
|
-
require('./chunk-5WJLKYH6.cjs');
|
|
6
5
|
|
|
7
6
|
// src/generated/chat.ts
|
|
8
7
|
var $conversationsWarmConversation = { m: "POST", p: "/ai/conversation/{conversation_id}/warm", d: "aidream", a: "user", o: "required", n: "chat.conversations_warm_conversation" };
|
|
@@ -15,27 +14,27 @@ function conversationsWarmConversationPost(api, args, options) {
|
|
|
15
14
|
}
|
|
16
15
|
var $chat = { m: "POST", p: "/ai/manual", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "chat.chat" };
|
|
17
16
|
function chat(api, args, options) {
|
|
18
|
-
return
|
|
17
|
+
return chunkUO3H55R3_cjs.openJsonOrStream(api, $chat, args, options);
|
|
19
18
|
}
|
|
20
19
|
var $chatPost = { m: "POST", p: "/ai/chat", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "chat.chat_post" };
|
|
21
20
|
function chatPost(api, args, options) {
|
|
22
|
-
return
|
|
21
|
+
return chunkUO3H55R3_cjs.openJsonOrStream(api, $chatPost, args, options);
|
|
23
22
|
}
|
|
24
23
|
var $conversationsContinueConversation = { m: "POST", p: "/ai/conversation/{conversation_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_continue_conversation" };
|
|
25
24
|
function conversationsContinueConversation(api, args, options) {
|
|
26
|
-
return
|
|
25
|
+
return chunkUO3H55R3_cjs.openStream(api, $conversationsContinueConversation, args, options);
|
|
27
26
|
}
|
|
28
27
|
var $conversationsContinueConversationPost = { m: "POST", p: "/ai/conversations/{conversation_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_continue_conversation_post" };
|
|
29
28
|
function conversationsContinueConversationPost(api, args, options) {
|
|
30
|
-
return
|
|
29
|
+
return chunkUO3H55R3_cjs.openStream(api, $conversationsContinueConversationPost, args, options);
|
|
31
30
|
}
|
|
32
31
|
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
32
|
function conversationsForkAndRun(api, args, options) {
|
|
34
|
-
return
|
|
33
|
+
return chunkUO3H55R3_cjs.openStream(api, $conversationsForkAndRun, args, options);
|
|
35
34
|
}
|
|
36
35
|
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
36
|
function conversationsForkAndRunPost(api, args, options) {
|
|
38
|
-
return
|
|
37
|
+
return chunkUO3H55R3_cjs.openStream(api, $conversationsForkAndRunPost, args, options);
|
|
39
38
|
}
|
|
40
39
|
var $conversationsSubmitToolResults = { m: "POST", p: "/ai/conversation/{conversation_id}/tool_results", d: "aidream", a: "guest", o: "required", n: "chat.conversations_submit_tool_results" };
|
|
41
40
|
function conversationsSubmitToolResults(api, args, options) {
|
|
@@ -91,11 +90,11 @@ function conversationsCancelInboxItemDelete(api, args, options) {
|
|
|
91
90
|
}
|
|
92
91
|
var $conversationsResumeConversation = { m: "POST", p: "/ai/conversation/{conversation_id}/resume", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_resume_conversation" };
|
|
93
92
|
function conversationsResumeConversation(api, args, options) {
|
|
94
|
-
return
|
|
93
|
+
return chunkUO3H55R3_cjs.openStream(api, $conversationsResumeConversation, args, options);
|
|
95
94
|
}
|
|
96
95
|
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
96
|
function conversationsResumeConversationPost(api, args, options) {
|
|
98
|
-
return
|
|
97
|
+
return chunkUO3H55R3_cjs.openStream(api, $conversationsResumeConversationPost, args, options);
|
|
99
98
|
}
|
|
100
99
|
var $conversationsGetConversationSandbox = { m: "GET", p: "/ai/conversation/{conversation_id}/sandbox", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_get_conversation_sandbox" };
|
|
101
100
|
function conversationsGetConversationSandbox(api, args, options) {
|
|
@@ -147,11 +146,11 @@ function warmHealthRoute(api, args, options) {
|
|
|
147
146
|
}
|
|
148
147
|
var $directChat = { m: "POST", p: "/ai/chat/direct-chat", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.direct_chat" };
|
|
149
148
|
function directChat(api, args, options) {
|
|
150
|
-
return
|
|
149
|
+
return chunkUO3H55R3_cjs.openStream(api, $directChat, args, options);
|
|
151
150
|
}
|
|
152
151
|
var $promptExecution = { m: "POST", p: "/ai/chat/prompt-execution", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.prompt_execution" };
|
|
153
152
|
function promptExecution(api, args, options) {
|
|
154
|
-
return
|
|
153
|
+
return chunkUO3H55R3_cjs.openStream(api, $promptExecution, args, options);
|
|
155
154
|
}
|
|
156
155
|
var $v2ChatV2 = { m: "POST", p: "/v2/ai/manual", d: "aidream", a: "guest", o: "required", n: "chat.v2_chat_v2" };
|
|
157
156
|
function v2ChatV2(api, args, options) {
|
package/dist/chat.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-Xx6L_pWk.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
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/chat.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-Xx6L_pWk.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
|
-
import '
|
|
3
|
+
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
package/dist/chat.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { openJsonOrStream, openStream } from './chunk-
|
|
1
|
+
import { openJsonOrStream, openStream } from './chunk-2FJPWNXG.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
|
-
import './chunk-VTZKJMSY.js';
|
|
4
3
|
|
|
5
4
|
// src/generated/chat.ts
|
|
6
5
|
var $conversationsWarmConversation = { m: "POST", p: "/ai/conversation/{conversation_id}/warm", d: "aidream", a: "user", o: "required", n: "chat.conversations_warm_conversation" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { withRetry, isTransportFailure, resilientFetch } from './chunk-KIEAFMKB.js';
|
|
2
|
-
import { toCredentialsPort, MATRX_HEADERS, credentialToHeaders } from './chunk-VTZKJMSY.js';
|
|
3
2
|
import { isUuidShape } from '@ai-matrx/kit/uuid';
|
|
3
|
+
import { toCredentialsPort, MATRX_HEADERS, credentialToHeaders } from '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
// src/core/backend-errors.ts
|
|
6
6
|
var BackendApiError = class extends Error {
|
|
@@ -816,8 +816,6 @@ var DEPLOYMENTS = {
|
|
|
816
816
|
}
|
|
817
817
|
};
|
|
818
818
|
var DOMAINS = ["account", "agents", "ai", "apps", "architecture", "audio", "chat", "code", "commerce", "communications", "computer", "content", "crm", "data", "education", "files", "human-resources", "integrations", "intelligence", "knowledge", "legal", "marketing", "masterwork", "media", "platform", "publish", "web", "workflows"];
|
|
819
|
-
|
|
820
|
-
// src/api.ts
|
|
821
819
|
var DEFAULT_CONNECT_TIMEOUT_MS = 15e3;
|
|
822
820
|
function defaultRequestId() {
|
|
823
821
|
const c = globalThis.crypto;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { API_KEY_PREFIX, MATRX_HEADERS, credentialToHeaders, toCredentialsPort } from '@ai-matrx/auth/credentials';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var credentials = require('@ai-matrx/auth/credentials');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "API_KEY_PREFIX", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return credentials.API_KEY_PREFIX; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "MATRX_HEADERS", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return credentials.MATRX_HEADERS; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "credentialToHeaders", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return credentials.credentialToHeaders; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "toCredentialsPort", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return credentials.toCredentialsPort; }
|
|
22
|
+
});
|