@ai-matrx/api 0.1.30 → 0.1.32
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 +43 -1
- package/dist/account.d.cts +8 -8
- package/dist/account.d.ts +8 -8
- package/dist/agents.cjs +160 -12
- package/dist/agents.d.cts +821 -15
- package/dist/agents.d.ts +821 -15
- package/dist/agents.js +127 -4
- package/dist/ai.cjs +26 -2
- package/dist/ai.d.cts +76 -3
- package/dist/ai.d.ts +76 -3
- package/dist/ai.js +22 -2
- package/dist/apps.cjs +5 -11
- package/dist/apps.d.cts +3 -49
- package/dist/apps.d.ts +3 -49
- package/dist/apps.js +2 -7
- package/dist/architecture.cjs +96 -42
- package/dist/architecture.d.cts +269 -43
- package/dist/architecture.d.ts +269 -43
- package/dist/architecture.js +73 -28
- package/dist/audio.cjs +39 -39
- package/dist/audio.d.cts +15 -3
- package/dist/audio.d.ts +15 -3
- package/dist/audio.js +2 -2
- package/dist/chat.cjs +11 -11
- package/dist/chat.d.cts +7 -2
- package/dist/chat.d.ts +7 -2
- package/dist/chat.js +1 -1
- package/dist/{chunk-ILAZVNEL.cjs → chunk-27ZEEIXM.cjs} +1 -1
- package/dist/{chunk-35BH3TJW.js → chunk-5TRUQNVW.js} +1 -1
- package/dist/{chunk-RIIIDGZJ.js → chunk-DKJGWA5L.js} +1 -1
- package/dist/{chunk-I4AWZ7GN.js → chunk-LYHAZQX5.js} +1 -1
- package/dist/{chunk-FFXB3EDM.cjs → chunk-LYRANVIS.cjs} +3 -3
- package/dist/{chunk-VU3BK4NY.cjs → chunk-TMEGWPWE.cjs} +37 -37
- package/dist/{chunk-NH7VE36B.cjs → chunk-VK5BH6FK.cjs} +4 -4
- package/dist/{chunk-KZD6TVJ4.js → chunk-X75SKCDS.js} +1 -1
- package/dist/code.cjs +6 -6
- package/dist/code.d.cts +4 -2
- package/dist/code.d.ts +4 -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 +8 -2
- package/dist/crm.d.cts +26 -3
- package/dist/crm.d.ts +26 -3
- package/dist/crm.js +7 -2
- package/dist/data.cjs +22 -4
- package/dist/data.d.cts +185 -3
- package/dist/data.d.ts +185 -3
- package/dist/data.js +17 -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 +228 -228
- package/dist/files.d.cts +8 -8
- package/dist/files.d.ts +8 -8
- package/dist/files.js +2 -2
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-B6p8TJkh.d.cts → index-A1nOdg4F.d.cts} +2 -2
- package/dist/{index-B6p8TJkh.d.ts → index-A1nOdg4F.d.ts} +2 -2
- package/dist/index.cjs +69 -59
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +13 -3
- package/dist/integrations.cjs +35 -5
- package/dist/integrations.d.cts +97 -3
- package/dist/integrations.d.ts +97 -3
- package/dist/integrations.js +27 -2
- package/dist/intelligence.cjs +19 -8
- package/dist/intelligence.d.cts +98 -28
- package/dist/intelligence.d.ts +98 -28
- package/dist/intelligence.js +13 -4
- package/dist/knowledge.cjs +42 -42
- package/dist/knowledge.d.cts +11 -11
- package/dist/knowledge.d.ts +11 -11
- 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 +194 -78
- package/dist/marketing.d.cts +601 -7
- package/dist/marketing.d.ts +601 -7
- package/dist/marketing.js +98 -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 +34 -11
- package/dist/media.d.cts +61 -3
- package/dist/media.d.ts +61 -3
- package/dist/media.js +21 -2
- package/dist/platform.cjs +27 -27
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +2 -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/recording.cjs +17 -17
- package/dist/recording.js +4 -4
- package/dist/schemas.d.cts +45 -3
- package/dist/schemas.d.ts +45 -3
- 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 +1958 -75
- package/dist/types.d.ts +1958 -75
- package/dist/web.cjs +61 -26
- package/dist/web.d.cts +111 -3
- package/dist/web.d.ts +111 -3
- package/dist/web.js +31 -2
- package/dist/workflows.cjs +13 -13
- package/dist/workflows.d.cts +32 -2
- package/dist/workflows.d.ts +32 -2
- package/dist/workflows.js +1 -1
- package/package.json +4 -4
package/dist/chat.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk27ZEEIXM_cjs = require('./chunk-27ZEEIXM.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/chat.ts
|
|
@@ -14,27 +14,27 @@ function conversationsWarmConversationPost(api, args, options) {
|
|
|
14
14
|
}
|
|
15
15
|
var $chat = { m: "POST", p: "/ai/manual", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "chat.chat" };
|
|
16
16
|
function chat(api, args, options) {
|
|
17
|
-
return
|
|
17
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $chat, args, options);
|
|
18
18
|
}
|
|
19
19
|
var $chatPost = { m: "POST", p: "/ai/chat", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "chat.chat_post" };
|
|
20
20
|
function chatPost(api, args, options) {
|
|
21
|
-
return
|
|
21
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $chatPost, args, options);
|
|
22
22
|
}
|
|
23
23
|
var $conversationsContinueConversation = { m: "POST", p: "/ai/conversation/{conversation_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_continue_conversation" };
|
|
24
24
|
function conversationsContinueConversation(api, args, options) {
|
|
25
|
-
return
|
|
25
|
+
return chunk27ZEEIXM_cjs.openStream(api, $conversationsContinueConversation, args, options);
|
|
26
26
|
}
|
|
27
27
|
var $conversationsContinueConversationPost = { m: "POST", p: "/ai/conversations/{conversation_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_continue_conversation_post" };
|
|
28
28
|
function conversationsContinueConversationPost(api, args, options) {
|
|
29
|
-
return
|
|
29
|
+
return chunk27ZEEIXM_cjs.openStream(api, $conversationsContinueConversationPost, args, options);
|
|
30
30
|
}
|
|
31
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" };
|
|
32
32
|
function conversationsForkAndRun(api, args, options) {
|
|
33
|
-
return
|
|
33
|
+
return chunk27ZEEIXM_cjs.openStream(api, $conversationsForkAndRun, args, options);
|
|
34
34
|
}
|
|
35
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" };
|
|
36
36
|
function conversationsForkAndRunPost(api, args, options) {
|
|
37
|
-
return
|
|
37
|
+
return chunk27ZEEIXM_cjs.openStream(api, $conversationsForkAndRunPost, args, options);
|
|
38
38
|
}
|
|
39
39
|
var $conversationsSubmitToolResults = { m: "POST", p: "/ai/conversation/{conversation_id}/tool_results", d: "aidream", a: "guest", o: "required", n: "chat.conversations_submit_tool_results" };
|
|
40
40
|
function conversationsSubmitToolResults(api, args, options) {
|
|
@@ -90,11 +90,11 @@ function conversationsCancelInboxItemDelete(api, args, options) {
|
|
|
90
90
|
}
|
|
91
91
|
var $conversationsResumeConversation = { m: "POST", p: "/ai/conversation/{conversation_id}/resume", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_resume_conversation" };
|
|
92
92
|
function conversationsResumeConversation(api, args, options) {
|
|
93
|
-
return
|
|
93
|
+
return chunk27ZEEIXM_cjs.openStream(api, $conversationsResumeConversation, args, options);
|
|
94
94
|
}
|
|
95
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" };
|
|
96
96
|
function conversationsResumeConversationPost(api, args, options) {
|
|
97
|
-
return
|
|
97
|
+
return chunk27ZEEIXM_cjs.openStream(api, $conversationsResumeConversationPost, args, options);
|
|
98
98
|
}
|
|
99
99
|
var $conversationsGetConversationSandbox = { m: "GET", p: "/ai/conversation/{conversation_id}/sandbox", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_get_conversation_sandbox" };
|
|
100
100
|
function conversationsGetConversationSandbox(api, args, options) {
|
|
@@ -146,11 +146,11 @@ function warmHealthRoute(api, args, options) {
|
|
|
146
146
|
}
|
|
147
147
|
var $directChat = { m: "POST", p: "/ai/chat/direct-chat", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.direct_chat" };
|
|
148
148
|
function directChat(api, args, options) {
|
|
149
|
-
return
|
|
149
|
+
return chunk27ZEEIXM_cjs.openStream(api, $directChat, args, options);
|
|
150
150
|
}
|
|
151
151
|
var $promptExecution = { m: "POST", p: "/ai/chat/prompt-execution", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.prompt_execution" };
|
|
152
152
|
function promptExecution(api, args, options) {
|
|
153
|
-
return
|
|
153
|
+
return chunk27ZEEIXM_cjs.openStream(api, $promptExecution, args, options);
|
|
154
154
|
}
|
|
155
155
|
var $readSessionOffer = { m: "GET", p: "/ai/sessions/offers/{offer_id}", d: "aidream", a: "guest", o: "required", n: "chat.read_session_offer" };
|
|
156
156
|
function readSessionOffer(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-A1nOdg4F.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, HostTurn, ActionNeeded } 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 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** What the chooser sends. Only `provider` plus one of `resource_ref` / */
|
|
@@ -103,6 +103,7 @@ type ChatRequest = {
|
|
|
103
103
|
stop_sequences?: string[] | null;
|
|
104
104
|
stream?: boolean;
|
|
105
105
|
store: boolean;
|
|
106
|
+
extended_prompt_cache?: boolean | null;
|
|
106
107
|
previous_interaction_id?: string | null;
|
|
107
108
|
task?: ("text_to_video" | "image_to_video" | "reference_to_video" | "edit") | null;
|
|
108
109
|
verbosity?: ("low" | "medium" | "high") | null;
|
|
@@ -213,6 +214,10 @@ type ChatRequest = {
|
|
|
213
214
|
variable_definitions?: {
|
|
214
215
|
[key: string]: unknown;
|
|
215
216
|
}[] | null;
|
|
217
|
+
/** THE VARIABLE RULE, ephemeral runs: the carried system instruction and leading messages are turn 1's filled result (the `first_turn_filled` stream event). The server runs no first-turn pass — no values */
|
|
218
|
+
first_turn_filled?: boolean;
|
|
219
|
+
/** Opaque seal from the `first_turn_filled` event (its `wire_swaps`), sent back unchanged with first_turn_filled. It carries what turn 1 resolved but never wrote into the prompt (hidden pick-list text, d */
|
|
220
|
+
wire_swaps?: string | null;
|
|
216
221
|
ide_state?: IdeState | null;
|
|
217
222
|
sandbox?: SandboxBindingRequest | null;
|
|
218
223
|
context?: {
|
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-A1nOdg4F.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, HostTurn, ActionNeeded } 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 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** What the chooser sends. Only `provider` plus one of `resource_ref` / */
|
|
@@ -103,6 +103,7 @@ type ChatRequest = {
|
|
|
103
103
|
stop_sequences?: string[] | null;
|
|
104
104
|
stream?: boolean;
|
|
105
105
|
store: boolean;
|
|
106
|
+
extended_prompt_cache?: boolean | null;
|
|
106
107
|
previous_interaction_id?: string | null;
|
|
107
108
|
task?: ("text_to_video" | "image_to_video" | "reference_to_video" | "edit") | null;
|
|
108
109
|
verbosity?: ("low" | "medium" | "high") | null;
|
|
@@ -213,6 +214,10 @@ type ChatRequest = {
|
|
|
213
214
|
variable_definitions?: {
|
|
214
215
|
[key: string]: unknown;
|
|
215
216
|
}[] | null;
|
|
217
|
+
/** THE VARIABLE RULE, ephemeral runs: the carried system instruction and leading messages are turn 1's filled result (the `first_turn_filled` stream event). The server runs no first-turn pass — no values */
|
|
218
|
+
first_turn_filled?: boolean;
|
|
219
|
+
/** Opaque seal from the `first_turn_filled` event (its `wire_swaps`), sent back unchanged with first_turn_filled. It carries what turn 1 resolved but never wrote into the prompt (hidden pick-list text, d */
|
|
220
|
+
wire_swaps?: string | null;
|
|
216
221
|
ide_state?: IdeState | null;
|
|
217
222
|
sandbox?: SandboxBindingRequest | null;
|
|
218
223
|
context?: {
|
package/dist/chat.js
CHANGED
|
@@ -737,7 +737,7 @@ async function* readMatrxSseStream(stream, options = {}) {
|
|
|
737
737
|
}
|
|
738
738
|
|
|
739
739
|
// src/deployments.generated.ts
|
|
740
|
-
var CONTRACT_SHA256 = "
|
|
740
|
+
var CONTRACT_SHA256 = "c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640";
|
|
741
741
|
var DEPLOYMENTS = {
|
|
742
742
|
"files": {
|
|
743
743
|
"app": "files-standalone",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
1
|
+
import { openStream } from './chunk-X75SKCDS.js';
|
|
2
2
|
|
|
3
3
|
// src/generated/audio.ts
|
|
4
4
|
var $createRecordingJournalChunk = { m: "POST", p: "/audio/recording-journal/chunks", d: "aidream", a: "guest", o: "required", n: "audio.create_recording_journal_chunk" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openJsonOrStream, openStream } from './chunk-
|
|
1
|
+
import { openJsonOrStream, openStream } from './chunk-X75SKCDS.js';
|
|
2
2
|
|
|
3
3
|
// src/generated/files.ts
|
|
4
4
|
var $compressPdf = { m: "POST", p: "/utilities/pdf/compress", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.compress_pdf" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk27ZEEIXM_cjs = require('./chunk-27ZEEIXM.cjs');
|
|
4
4
|
|
|
5
5
|
// src/generated/platform.ts
|
|
6
6
|
var $initiateOauth = { m: "GET", p: "/auth/aimatrx", d: "aidream", a: "public", o: "exempt", n: "platform.initiate_oauth" };
|
|
@@ -45,7 +45,7 @@ function getAppConfig(api, args, options) {
|
|
|
45
45
|
}
|
|
46
46
|
var $publishDictionary = { m: "POST", p: "/dictionary/publish", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "platform.publish_dictionary" };
|
|
47
47
|
function publishDictionary(api, args, options) {
|
|
48
|
-
return
|
|
48
|
+
return chunk27ZEEIXM_cjs.openStream(api, $publishDictionary, args, options);
|
|
49
49
|
}
|
|
50
50
|
var $listPublications = { m: "GET", p: "/dictionary/publications", d: "aidream", a: "guest", o: "exempt", n: "platform.list_publications" };
|
|
51
51
|
function listPublications(api, args, options) {
|
|
@@ -69,7 +69,7 @@ function getCheck(api, args, options) {
|
|
|
69
69
|
}
|
|
70
70
|
var $runCheck = { m: "POST", p: "/proof-runs/checks/{slug}/run", d: "aidream", a: "admin", o: "required", s: "ndjson", n: "platform.run_check" };
|
|
71
71
|
function runCheck(api, args, options) {
|
|
72
|
-
return
|
|
72
|
+
return chunk27ZEEIXM_cjs.openStream(api, $runCheck, args, options);
|
|
73
73
|
}
|
|
74
74
|
var $listRecentRuns = { m: "GET", p: "/proof-runs/runs", d: "aidream", a: "admin", o: "optional", n: "platform.list_recent_runs" };
|
|
75
75
|
function listRecentRuns(api, args, options) {
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk27ZEEIXM_cjs = require('./chunk-27ZEEIXM.cjs');
|
|
4
4
|
|
|
5
5
|
// src/generated/files.ts
|
|
6
6
|
var $compressPdf = { m: "POST", p: "/utilities/pdf/compress", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.compress_pdf" };
|
|
7
7
|
function compressPdf(api, args, options) {
|
|
8
|
-
return
|
|
8
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $compressPdf, args, options);
|
|
9
9
|
}
|
|
10
10
|
var $extractTextFromPdf = { m: "POST", p: "/utilities/pdf/extract-text", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_text_from_pdf" };
|
|
11
11
|
function extractTextFromPdf(api, args, options) {
|
|
12
|
-
return
|
|
12
|
+
return chunk27ZEEIXM_cjs.openStream(api, $extractTextFromPdf, args, options);
|
|
13
13
|
}
|
|
14
14
|
var $extractPages = { m: "POST", p: "/utilities/pdf/extract-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.extract_pages" };
|
|
15
15
|
function extractPages(api, args, options) {
|
|
16
|
-
return
|
|
16
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $extractPages, args, options);
|
|
17
17
|
}
|
|
18
18
|
var $cropPages = { m: "POST", p: "/utilities/pdf/crop-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.crop_pages" };
|
|
19
19
|
function cropPages(api, args, options) {
|
|
20
|
-
return
|
|
20
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $cropPages, args, options);
|
|
21
21
|
}
|
|
22
22
|
var $rotatePages = { m: "POST", p: "/utilities/pdf/rotate-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.rotate_pages" };
|
|
23
23
|
function rotatePages(api, args, options) {
|
|
24
|
-
return
|
|
24
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $rotatePages, args, options);
|
|
25
25
|
}
|
|
26
26
|
var $deletePages = { m: "POST", p: "/utilities/pdf/delete-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.delete_pages" };
|
|
27
27
|
function deletePages(api, args, options) {
|
|
28
|
-
return
|
|
28
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $deletePages, args, options);
|
|
29
29
|
}
|
|
30
30
|
var $mergePdfs = { m: "POST", p: "/utilities/pdf/merge", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.merge_pdfs" };
|
|
31
31
|
function mergePdfs(api, args, options) {
|
|
32
|
-
return
|
|
32
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $mergePdfs, args, options);
|
|
33
33
|
}
|
|
34
34
|
var $splitPdf = { m: "POST", p: "/utilities/pdf/split", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.split_pdf" };
|
|
35
35
|
function splitPdf(api, args, options) {
|
|
36
|
-
return
|
|
36
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $splitPdf, args, options);
|
|
37
37
|
}
|
|
38
38
|
var $reorderPages = { m: "POST", p: "/utilities/pdf/reorder-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.reorder_pages" };
|
|
39
39
|
function reorderPages(api, args, options) {
|
|
40
|
-
return
|
|
40
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $reorderPages, args, options);
|
|
41
41
|
}
|
|
42
42
|
var $insertPages = { m: "POST", p: "/utilities/pdf/insert-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.insert_pages" };
|
|
43
43
|
function insertPages(api, args, options) {
|
|
44
|
-
return
|
|
44
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $insertPages, args, options);
|
|
45
45
|
}
|
|
46
46
|
var $duplicatePages = { m: "POST", p: "/utilities/pdf/duplicate-pages", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.duplicate_pages" };
|
|
47
47
|
function duplicatePages(api, args, options) {
|
|
48
|
-
return
|
|
48
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $duplicatePages, args, options);
|
|
49
49
|
}
|
|
50
50
|
var $renderPage = { m: "POST", p: "/utilities/pdf/render-page", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.render_page" };
|
|
51
51
|
function renderPage(api, args, options) {
|
|
52
|
-
return
|
|
52
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $renderPage, args, options);
|
|
53
53
|
}
|
|
54
54
|
var $renderAllPages = { m: "POST", p: "/utilities/pdf/render-all", d: "aidream", a: "guest", o: "required", s: "bytes", n: "files.render_all_pages" };
|
|
55
55
|
function renderAllPages(api, args, options) {
|
|
@@ -57,7 +57,7 @@ function renderAllPages(api, args, options) {
|
|
|
57
57
|
}
|
|
58
58
|
var $renderThumbnail = { m: "POST", p: "/utilities/pdf/render-thumbnail", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.render_thumbnail" };
|
|
59
59
|
function renderThumbnail(api, args, options) {
|
|
60
|
-
return
|
|
60
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $renderThumbnail, args, options);
|
|
61
61
|
}
|
|
62
62
|
var $studioPresets = { m: "GET", p: "/utilities/pdf/studio/presets", d: "aidream", a: "guest", o: "optional", n: "files.studio_presets" };
|
|
63
63
|
function studioPresets(api, args, options) {
|
|
@@ -69,19 +69,19 @@ function studioRender(api, args, options) {
|
|
|
69
69
|
}
|
|
70
70
|
var $detectRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/detect-repeated-regions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.detect_repeated_regions_endpoint" };
|
|
71
71
|
function detectRepeatedRegionsEndpoint(api, args, options) {
|
|
72
|
-
return
|
|
72
|
+
return chunk27ZEEIXM_cjs.openStream(api, $detectRepeatedRegionsEndpoint, args, options);
|
|
73
73
|
}
|
|
74
74
|
var $stripRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/strip-repeated-regions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.strip_repeated_regions_endpoint" };
|
|
75
75
|
function stripRepeatedRegionsEndpoint(api, args, options) {
|
|
76
|
-
return
|
|
76
|
+
return chunk27ZEEIXM_cjs.openStream(api, $stripRepeatedRegionsEndpoint, args, options);
|
|
77
77
|
}
|
|
78
78
|
var $classifyPagesEndpoint = { m: "POST", p: "/utilities/pdf/classify-pages", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.classify_pages_endpoint" };
|
|
79
79
|
function classifyPagesEndpoint(api, args, options) {
|
|
80
|
-
return
|
|
80
|
+
return chunk27ZEEIXM_cjs.openStream(api, $classifyPagesEndpoint, args, options);
|
|
81
81
|
}
|
|
82
82
|
var $extractReadingOrderEndpoint = { m: "POST", p: "/utilities/pdf/extract-reading-order", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_reading_order_endpoint" };
|
|
83
83
|
function extractReadingOrderEndpoint(api, args, options) {
|
|
84
|
-
return
|
|
84
|
+
return chunk27ZEEIXM_cjs.openStream(api, $extractReadingOrderEndpoint, args, options);
|
|
85
85
|
}
|
|
86
86
|
var $redactPatternsCatalog = { m: "GET", p: "/utilities/pdf/redact/patterns", d: "aidream", a: "guest", o: "optional", n: "files.redact_patterns_catalog" };
|
|
87
87
|
function redactPatternsCatalog(api, args, options) {
|
|
@@ -89,55 +89,55 @@ function redactPatternsCatalog(api, args, options) {
|
|
|
89
89
|
}
|
|
90
90
|
var $redactRegionsEndpoint = { m: "POST", p: "/utilities/pdf/redact-regions", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.redact_regions_endpoint" };
|
|
91
91
|
function redactRegionsEndpoint(api, args, options) {
|
|
92
|
-
return
|
|
92
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $redactRegionsEndpoint, args, options);
|
|
93
93
|
}
|
|
94
94
|
var $redactPatternEndpoint = { m: "POST", p: "/utilities/pdf/redact-pattern", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.redact_pattern_endpoint" };
|
|
95
95
|
function redactPatternEndpoint(api, args, options) {
|
|
96
|
-
return
|
|
96
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $redactPatternEndpoint, args, options);
|
|
97
97
|
}
|
|
98
98
|
var $redactRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/redact-repeated-regions", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.redact_repeated_regions_endpoint" };
|
|
99
99
|
function redactRepeatedRegionsEndpoint(api, args, options) {
|
|
100
|
-
return
|
|
100
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $redactRepeatedRegionsEndpoint, args, options);
|
|
101
101
|
}
|
|
102
102
|
var $stripMetadataEndpoint = { m: "POST", p: "/utilities/pdf/strip-metadata", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.strip_metadata_endpoint" };
|
|
103
103
|
function stripMetadataEndpoint(api, args, options) {
|
|
104
|
-
return
|
|
104
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $stripMetadataEndpoint, args, options);
|
|
105
105
|
}
|
|
106
106
|
var $scrubEndpoint = { m: "POST", p: "/utilities/pdf/scrub", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.scrub_endpoint" };
|
|
107
107
|
function scrubEndpoint(api, args, options) {
|
|
108
|
-
return
|
|
108
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $scrubEndpoint, args, options);
|
|
109
109
|
}
|
|
110
110
|
var $flattenAnnotationsEndpoint = { m: "POST", p: "/utilities/pdf/flatten-annotations", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.flatten_annotations_endpoint" };
|
|
111
111
|
function flattenAnnotationsEndpoint(api, args, options) {
|
|
112
|
-
return
|
|
112
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $flattenAnnotationsEndpoint, args, options);
|
|
113
113
|
}
|
|
114
114
|
var $extractTextRemote = { m: "POST", p: "/utilities/pdf/extract-text-remote", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_text_remote" };
|
|
115
115
|
function extractTextRemote(api, args, options) {
|
|
116
|
-
return
|
|
116
|
+
return chunk27ZEEIXM_cjs.openStream(api, $extractTextRemote, args, options);
|
|
117
117
|
}
|
|
118
118
|
var $extractTables = { m: "POST", p: "/utilities/pdf/extract-tables", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_tables" };
|
|
119
119
|
function extractTables(api, args, options) {
|
|
120
|
-
return
|
|
120
|
+
return chunk27ZEEIXM_cjs.openStream(api, $extractTables, args, options);
|
|
121
121
|
}
|
|
122
122
|
var $processWithAi = { m: "POST", p: "/utilities/pdf/process-with-ai", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.process_with_ai" };
|
|
123
123
|
function processWithAi(api, args, options) {
|
|
124
|
-
return
|
|
124
|
+
return chunk27ZEEIXM_cjs.openStream(api, $processWithAi, args, options);
|
|
125
125
|
}
|
|
126
126
|
var $fullPipeline = { m: "POST", p: "/utilities/pdf/full-pipeline", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.full_pipeline" };
|
|
127
127
|
function fullPipeline(api, args, options) {
|
|
128
|
-
return
|
|
128
|
+
return chunk27ZEEIXM_cjs.openStream(api, $fullPipeline, args, options);
|
|
129
129
|
}
|
|
130
130
|
var $batchExtract = { m: "POST", p: "/utilities/pdf/batch-extract", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.batch_extract" };
|
|
131
131
|
function batchExtract(api, args, options) {
|
|
132
|
-
return
|
|
132
|
+
return chunk27ZEEIXM_cjs.openStream(api, $batchExtract, args, options);
|
|
133
133
|
}
|
|
134
134
|
var $pdfFromImages = { m: "POST", p: "/utilities/pdf/from-images", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.pdf_from_images" };
|
|
135
135
|
function pdfFromImages(api, args, options) {
|
|
136
|
-
return
|
|
136
|
+
return chunk27ZEEIXM_cjs.openStream(api, $pdfFromImages, args, options);
|
|
137
137
|
}
|
|
138
138
|
var $cleanDocumentContent = { m: "POST", p: "/utilities/pdf/clean-content/{doc_id}", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "files.clean_document_content" };
|
|
139
139
|
function cleanDocumentContent(api, args, options) {
|
|
140
|
-
return
|
|
140
|
+
return chunk27ZEEIXM_cjs.openJsonOrStream(api, $cleanDocumentContent, args, options);
|
|
141
141
|
}
|
|
142
142
|
var $listDocuments = { m: "GET", p: "/utilities/pdf/documents", d: "aidream", a: "guest", o: "optional", n: "files.list_documents" };
|
|
143
143
|
function listDocuments(api, args, options) {
|
|
@@ -405,15 +405,15 @@ function getFileLineageSummary(api, args, options) {
|
|
|
405
405
|
}
|
|
406
406
|
var $ingestFileForRag = { m: "POST", p: "/files/{file_id}/ingest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.ingest_file_for_rag" };
|
|
407
407
|
function ingestFileForRag(api, args, options) {
|
|
408
|
-
return
|
|
408
|
+
return chunk27ZEEIXM_cjs.openStream(api, $ingestFileForRag, args, options);
|
|
409
409
|
}
|
|
410
410
|
var $ingestFileForRagStream = { m: "POST", p: "/files/{file_id}/ingest/stream", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.ingest_file_for_rag_stream" };
|
|
411
411
|
function ingestFileForRagStream(api, args, options) {
|
|
412
|
-
return
|
|
412
|
+
return chunk27ZEEIXM_cjs.openStream(api, $ingestFileForRagStream, args, options);
|
|
413
413
|
}
|
|
414
414
|
var $refreshFileRag = { m: "POST", p: "/files/{file_id}/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.refresh_file_rag" };
|
|
415
415
|
function refreshFileRag(api, args, options) {
|
|
416
|
-
return
|
|
416
|
+
return chunk27ZEEIXM_cjs.openStream(api, $refreshFileRag, args, options);
|
|
417
417
|
}
|
|
418
418
|
var $versionsListVersions = { m: "GET", p: "/files/{file_id}/versions", d: "aidream", a: "guest", o: "required", n: "files.versions_list_versions" };
|
|
419
419
|
function versionsListVersions(api, args, options) {
|
|
@@ -545,7 +545,7 @@ function fetchAnalysis(api, args, options) {
|
|
|
545
545
|
}
|
|
546
546
|
var $refreshAnalysis = { m: "POST", p: "/files/{file_id}/analysis/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.refresh_analysis" };
|
|
547
547
|
function refreshAnalysis(api, args, options) {
|
|
548
|
-
return
|
|
548
|
+
return chunk27ZEEIXM_cjs.openStream(api, $refreshAnalysis, args, options);
|
|
549
549
|
}
|
|
550
550
|
var $redactMask = { m: "POST", p: "/files/{file_id}/redact/mask", d: "aidream", a: "guest", o: "required", n: "files.redact_mask" };
|
|
551
551
|
function redactMask(api, args, options) {
|
|
@@ -653,7 +653,7 @@ function listOverridesEndpoint(api, args, options) {
|
|
|
653
653
|
}
|
|
654
654
|
var $searchEndpoint = { m: "POST", p: "/files/{file_id}/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.search_endpoint" };
|
|
655
655
|
function searchEndpoint(api, args, options) {
|
|
656
|
-
return
|
|
656
|
+
return chunk27ZEEIXM_cjs.openStream(api, $searchEndpoint, args, options);
|
|
657
657
|
}
|
|
658
658
|
var $extractRegionEndpoint = { m: "POST", p: "/files/{file_id}/regions/extract", d: "aidream", a: "guest", o: "required", n: "files.extract_region_endpoint" };
|
|
659
659
|
function extractRegionEndpoint(api, args, options) {
|
|
@@ -881,7 +881,7 @@ function searchSemantic(api, args, options) {
|
|
|
881
881
|
}
|
|
882
882
|
var $downloadStream = { m: "GET", p: "/downloads/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "files.download_stream" };
|
|
883
883
|
function downloadStream(api, args, options) {
|
|
884
|
-
return
|
|
884
|
+
return chunk27ZEEIXM_cjs.openStream(api, $downloadStream, args, options);
|
|
885
885
|
}
|
|
886
886
|
var $listDownloads = { m: "GET", p: "/downloads", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.list_downloads" };
|
|
887
887
|
function listDownloads(api, args, options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk27ZEEIXM_cjs = require('./chunk-27ZEEIXM.cjs');
|
|
4
4
|
|
|
5
5
|
// src/generated/audio.ts
|
|
6
6
|
var $createRecordingJournalChunk = { m: "POST", p: "/audio/recording-journal/chunks", d: "aidream", a: "guest", o: "required", n: "audio.create_recording_journal_chunk" };
|
|
@@ -45,7 +45,7 @@ function textToSpeech(api, args, options) {
|
|
|
45
45
|
}
|
|
46
46
|
var $youtubeTranscript = { m: "POST", p: "/media/youtube/transcript", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "audio.youtube_transcript" };
|
|
47
47
|
function youtubeTranscript(api, args, options) {
|
|
48
|
-
return
|
|
48
|
+
return chunk27ZEEIXM_cjs.openStream(api, $youtubeTranscript, args, options);
|
|
49
49
|
}
|
|
50
50
|
var $getStatus = { m: "GET", p: "/wake-word/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.get_status" };
|
|
51
51
|
function getStatus(api, args, options) {
|
|
@@ -81,7 +81,7 @@ function configureWakeWord(api, args, options) {
|
|
|
81
81
|
}
|
|
82
82
|
var $eventStream = { m: "GET", p: "/wake-word/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "audio.event_stream" };
|
|
83
83
|
function eventStream(api, args, options) {
|
|
84
|
-
return
|
|
84
|
+
return chunk27ZEEIXM_cjs.openStream(api, $eventStream, args, options);
|
|
85
85
|
}
|
|
86
86
|
var $listModels = { m: "GET", p: "/wake-word/models", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_models" };
|
|
87
87
|
function listModels(api, args, options) {
|
|
@@ -93,7 +93,7 @@ function downloadOwwModel(api, args, options) {
|
|
|
93
93
|
}
|
|
94
94
|
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" };
|
|
95
95
|
function downloadModelWithProgress(api, args, options) {
|
|
96
|
-
return
|
|
96
|
+
return chunk27ZEEIXM_cjs.openStream(api, $downloadModelWithProgress, args, options);
|
|
97
97
|
}
|
|
98
98
|
var $ttsStatus = { m: "GET", p: "/tts/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.tts_status" };
|
|
99
99
|
function ttsStatus(api, args, options) {
|
|
@@ -735,7 +735,7 @@ async function* readMatrxSseStream(stream, options = {}) {
|
|
|
735
735
|
}
|
|
736
736
|
|
|
737
737
|
// src/deployments.generated.ts
|
|
738
|
-
var CONTRACT_SHA256 = "
|
|
738
|
+
var CONTRACT_SHA256 = "c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640";
|
|
739
739
|
var DEPLOYMENTS = {
|
|
740
740
|
"files": {
|
|
741
741
|
"app": "files-standalone",
|
package/dist/code.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk27ZEEIXM_cjs = require('./chunk-27ZEEIXM.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/code.ts
|
|
@@ -46,7 +46,7 @@ function claudeManagedCapabilities(api, args, options) {
|
|
|
46
46
|
}
|
|
47
47
|
var $claudeManagedStream = { m: "POST", p: "/coding-sessions/claude/stream", d: "aidream", a: "user", o: "required", s: "ndjson", n: "code.claude_managed_stream" };
|
|
48
48
|
function claudeManagedStream(api, args, options) {
|
|
49
|
-
return
|
|
49
|
+
return chunk27ZEEIXM_cjs.openStream(api, $claudeManagedStream, args, options);
|
|
50
50
|
}
|
|
51
51
|
var $cancelClaudeManagedRuntime = { m: "POST", p: "/coding-sessions/claude/runtimes/{runtime_id}/cancel", d: "aidream", a: "user", o: "required", n: "code.cancel_claude_managed_runtime" };
|
|
52
52
|
function cancelClaudeManagedRuntime(api, args, options) {
|
|
@@ -58,7 +58,7 @@ function codexManagedCapabilities(api, args, options) {
|
|
|
58
58
|
}
|
|
59
59
|
var $codexManagedStream = { m: "POST", p: "/coding-sessions/codex/stream", d: "aidream", a: "user", o: "required", s: "ndjson", n: "code.codex_managed_stream" };
|
|
60
60
|
function codexManagedStream(api, args, options) {
|
|
61
|
-
return
|
|
61
|
+
return chunk27ZEEIXM_cjs.openStream(api, $codexManagedStream, args, options);
|
|
62
62
|
}
|
|
63
63
|
var $cancelCodexManagedRuntime = { m: "POST", p: "/coding-sessions/codex/runtimes/{runtime_id}/cancel", d: "aidream", a: "user", o: "required", n: "code.cancel_codex_managed_runtime" };
|
|
64
64
|
function cancelCodexManagedRuntime(api, args, options) {
|
|
@@ -138,7 +138,7 @@ function claudeManagedCapabilitiesOnHostedBox(api, args, options) {
|
|
|
138
138
|
}
|
|
139
139
|
var $claudeManagedStreamOnHostedBox = { m: "POST", p: "/coding-sessions/claude/stream", d: "hosted-box", a: "user", o: "required", s: "ndjson", n: "code.claude_managed_stream" };
|
|
140
140
|
function claudeManagedStreamOnHostedBox(api, args, options) {
|
|
141
|
-
return
|
|
141
|
+
return chunk27ZEEIXM_cjs.openStream(api, $claudeManagedStreamOnHostedBox, args, options);
|
|
142
142
|
}
|
|
143
143
|
var $cancelClaudeManagedRuntimeOnHostedBox = { m: "POST", p: "/coding-sessions/claude/runtimes/{runtime_id}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.cancel_claude_managed_runtime" };
|
|
144
144
|
function cancelClaudeManagedRuntimeOnHostedBox(api, args, options) {
|
|
@@ -150,7 +150,7 @@ function codexManagedCapabilitiesOnHostedBox(api, args, options) {
|
|
|
150
150
|
}
|
|
151
151
|
var $codexManagedStreamOnHostedBox = { m: "POST", p: "/coding-sessions/codex/stream", d: "hosted-box", a: "user", o: "required", s: "ndjson", n: "code.codex_managed_stream" };
|
|
152
152
|
function codexManagedStreamOnHostedBox(api, args, options) {
|
|
153
|
-
return
|
|
153
|
+
return chunk27ZEEIXM_cjs.openStream(api, $codexManagedStreamOnHostedBox, args, options);
|
|
154
154
|
}
|
|
155
155
|
var $cancelCodexManagedRuntimeOnHostedBox = { m: "POST", p: "/coding-sessions/codex/runtimes/{runtime_id}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.cancel_codex_managed_runtime" };
|
|
156
156
|
function cancelCodexManagedRuntimeOnHostedBox(api, args, options) {
|
|
@@ -378,7 +378,7 @@ function runtimeResumable(api, args, options) {
|
|
|
378
378
|
}
|
|
379
379
|
var $runtimeEvents = { m: "GET", p: "/coding-session/runtime/{runtime_id}/events", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "code.runtime_events" };
|
|
380
380
|
function runtimeEvents(api, args, options) {
|
|
381
|
-
return
|
|
381
|
+
return chunk27ZEEIXM_cjs.openStream(api, $runtimeEvents, args, options);
|
|
382
382
|
}
|
|
383
383
|
var $getCodexUsageAllowance = { m: "GET", p: "/codex-usage/allowance", d: "matrx-local", a: "loopback_token", o: "exempt", n: "code.get_codex_usage_allowance" };
|
|
384
384
|
function getCodexUsageAllowance(api, args, options) {
|
package/dist/code.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-A1nOdg4F.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 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** Opaque, display-safe provider-account provenance. Never authorization. */
|
|
@@ -453,6 +453,8 @@ type CodexManagedRestRequest = {
|
|
|
453
453
|
turn_timeout_seconds?: number;
|
|
454
454
|
max_budget_usd?: number | null;
|
|
455
455
|
billing?: "platform" | "own_plan";
|
|
456
|
+
hosted_runtime_id?: string | null;
|
|
457
|
+
hosted_project_key?: string | null;
|
|
456
458
|
/** Organization context for the request; omitted to use the authenticated context. */
|
|
457
459
|
organization_id?: string | null;
|
|
458
460
|
/** Optional associated project selected by the caller. */
|
package/dist/code.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-A1nOdg4F.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 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** Opaque, display-safe provider-account provenance. Never authorization. */
|
|
@@ -453,6 +453,8 @@ type CodexManagedRestRequest = {
|
|
|
453
453
|
turn_timeout_seconds?: number;
|
|
454
454
|
max_budget_usd?: number | null;
|
|
455
455
|
billing?: "platform" | "own_plan";
|
|
456
|
+
hosted_runtime_id?: string | null;
|
|
457
|
+
hosted_project_key?: string | null;
|
|
456
458
|
/** Organization context for the request; omitted to use the authenticated context. */
|
|
457
459
|
organization_id?: string | null;
|
|
458
460
|
/** Optional associated project selected by the caller. */
|
package/dist/code.js
CHANGED
package/dist/commerce.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions } from './index-A1nOdg4F.cjs';
|
|
2
2
|
import '@ai-matrx/auth/credentials';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
6
|
-
* CONTRACT_SHA256
|
|
6
|
+
* CONTRACT_SHA256 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/** EbayOAuthConnectResponse */
|
package/dist/commerce.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions } from './index-A1nOdg4F.js';
|
|
2
2
|
import '@ai-matrx/auth/credentials';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
6
|
-
* CONTRACT_SHA256
|
|
6
|
+
* CONTRACT_SHA256 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/** EbayOAuthConnectResponse */
|