@ai-matrx/api 0.1.28 → 0.1.30
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 +32 -1
- 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 +2 -2
- package/dist/ai.d.cts +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +1 -1
- 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 +12 -12
- package/dist/architecture.d.cts +2 -2
- package/dist/architecture.d.ts +2 -2
- package/dist/architecture.js +1 -1
- package/dist/audio.cjs +39 -39
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +2 -2
- package/dist/chat.cjs +11 -11
- package/dist/chat.d.cts +14 -2
- package/dist/chat.d.ts +14 -2
- package/dist/chat.js +1 -1
- package/dist/{chunk-IAB7JCVA.js → chunk-35BH3TJW.js} +1 -1
- package/dist/{chunk-BI6C3CD7.cjs → chunk-FFXB3EDM.cjs} +3 -3
- package/dist/{chunk-Z2UOMPC4.js → chunk-I4AWZ7GN.js} +1 -1
- package/dist/{chunk-G3OJBGCU.cjs → chunk-ILAZVNEL.cjs} +1 -1
- package/dist/{chunk-BIHYNQOU.js → chunk-KZD6TVJ4.js} +1 -1
- package/dist/{chunk-VGXUUEFE.cjs → chunk-NH7VE36B.cjs} +4 -4
- package/dist/{chunk-QCDALTHR.js → chunk-RIIIDGZJ.js} +1 -1
- package/dist/{chunk-Q6BD7FVP.cjs → chunk-VU3BK4NY.cjs} +37 -37
- package/dist/code.cjs +6 -6
- package/dist/code.d.cts +2 -2
- package/dist/code.d.ts +2 -2
- package/dist/code.js +1 -1
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +4 -4
- package/dist/communications.d.cts +4 -2
- package/dist/communications.d.ts +4 -2
- package/dist/communications.js +1 -1
- package/dist/computer.cjs +4 -4
- package/dist/computer.d.cts +2 -2
- package/dist/computer.d.ts +2 -2
- package/dist/computer.js +1 -1
- package/dist/content.cjs +4 -4
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +1 -1
- package/dist/crm.cjs +2 -2
- package/dist/crm.d.cts +2 -2
- package/dist/crm.d.ts +2 -2
- package/dist/crm.js +1 -1
- package/dist/data.cjs +4 -4
- package/dist/data.d.cts +2 -2
- package/dist/data.d.ts +2 -2
- package/dist/data.js +1 -1
- package/dist/education.cjs +4 -4
- package/dist/education.d.cts +2 -2
- package/dist/education.d.ts +2 -2
- package/dist/education.js +1 -1
- package/dist/files.cjs +228 -228
- package/dist/files.d.cts +2 -2
- package/dist/files.d.ts +2 -2
- 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-DyDNKgdB.d.cts → index-B6p8TJkh.d.cts} +2 -2
- package/dist/{index-DyDNKgdB.d.ts → index-B6p8TJkh.d.ts} +2 -2
- package/dist/index.cjs +86 -64
- package/dist/index.d.cts +15 -4
- package/dist/index.d.ts +15 -4
- package/dist/index.js +30 -8
- package/dist/integrations.cjs +5 -5
- package/dist/integrations.d.cts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/integrations.js +1 -1
- package/dist/intelligence.cjs +16 -9
- package/dist/intelligence.d.cts +4 -3
- package/dist/intelligence.d.ts +4 -3
- package/dist/intelligence.js +11 -4
- package/dist/{keys.generated-DE-t9kzx.d.ts → keys.generated-B0M-0PPo.d.cts} +11 -4
- package/dist/{keys.generated-DE-t9kzx.d.cts → keys.generated-B0M-0PPo.d.ts} +11 -4
- 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 +78 -78
- package/dist/marketing.d.cts +2 -2
- package/dist/marketing.d.ts +2 -2
- package/dist/marketing.js +1 -1
- package/dist/masterwork.cjs +32 -32
- package/dist/masterwork.d.cts +2 -2
- package/dist/masterwork.d.ts +2 -2
- package/dist/masterwork.js +1 -1
- package/dist/media.cjs +11 -11
- package/dist/media.d.cts +2 -2
- package/dist/media.d.ts +2 -2
- package/dist/media.js +1 -1
- package/dist/platform.cjs +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 +1 -1
- package/dist/schemas.d.ts +1 -1
- package/dist/stream.cjs +10 -10
- package/dist/stream.d.cts +1 -1
- package/dist/stream.d.ts +1 -1
- package/dist/stream.js +1 -1
- package/dist/types.d.cts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/web.cjs +26 -26
- package/dist/web.d.cts +2 -2
- package/dist/web.d.ts +2 -2
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +13 -13
- package/dist/workflows.d.cts +14 -2
- package/dist/workflows.d.ts +14 -2
- package/dist/workflows.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,13 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
### Unreleased
|
|
4
4
|
|
|
5
|
+
- **Warm-up retries transient failures.** `createWarmup` re-sends a batch that failed with a network error or 408/425/429/5xx (not 501) after 2s, 8s and 30s while the scope is unchanged — a server rollover is exactly when a warm-up matters. New option `retryDelaysMs` (its length is the budget; `[]` disables). Refusals never retry. Consumer action: none.
|
|
5
6
|
- **Removed** the deprecated aliases `ENDPOINTS.ai.chat` (use `ENDPOINTS.ai.manual`) and `ENDPOINTS.utilities.pdfExtractText` (use `ENDPOINTS.pdf.extractText`); no importer existed. Added `FEATURE.md`. Consumer action: none.
|
|
6
7
|
|
|
7
|
-
## 0.1.
|
|
8
|
+
## 0.1.30
|
|
8
9
|
|
|
9
10
|
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
10
11
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/api/src`.
|
|
11
12
|
|
|
13
|
+
## 0.1.29
|
|
14
|
+
|
|
15
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
16
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
17
|
+
Diff: `git diff 6638270587 fab8a30b0b -- apps/shared/api/src`
|
|
18
|
+
|
|
19
|
+
Changed shipped source files (1):
|
|
20
|
+
- `apps/shared/api/src/core/warm.ts`
|
|
21
|
+
|
|
22
|
+
## 0.1.28
|
|
23
|
+
|
|
24
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
25
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
26
|
+
Diff: `git diff 3702c2122e 6638270587 -- apps/shared/api/src`
|
|
27
|
+
|
|
28
|
+
Changed shipped source files (31):
|
|
29
|
+
- `apps/shared/api/src/deployments.generated.ts`
|
|
30
|
+
- `apps/shared/api/src/generated/account.ts`
|
|
31
|
+
- `apps/shared/api/src/generated/agents.ts`
|
|
32
|
+
- `apps/shared/api/src/generated/ai.ts`
|
|
33
|
+
- `apps/shared/api/src/generated/apps.ts`
|
|
34
|
+
- `apps/shared/api/src/generated/architecture.ts`
|
|
35
|
+
- `apps/shared/api/src/generated/audio.ts`
|
|
36
|
+
- `apps/shared/api/src/generated/chat.ts`
|
|
37
|
+
- `apps/shared/api/src/generated/code.ts`
|
|
38
|
+
- `apps/shared/api/src/generated/commerce.ts`
|
|
39
|
+
- `apps/shared/api/src/generated/communications.ts`
|
|
40
|
+
- `apps/shared/api/src/generated/computer.ts`
|
|
41
|
+
- ...and 19 more
|
|
42
|
+
|
|
12
43
|
## 0.1.27
|
|
13
44
|
|
|
14
45
|
Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff 967a33b7f1 3702c2122e -- apps/shared/api/src`
|
package/dist/account.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions } from './index-B6p8TJkh.cjs';
|
|
2
2
|
import { JsonValue, UserAnalysisPreferencesResponse } 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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** Result of opening, completing, or re-minting an action request. */
|
package/dist/account.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions } from './index-B6p8TJkh.js';
|
|
2
2
|
import { JsonValue, UserAnalysisPreferencesResponse } 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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** Result of opening, completing, or re-minting an action request. */
|
package/dist/agents.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkILAZVNEL_cjs = require('./chunk-ILAZVNEL.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/agents.ts
|
|
@@ -50,15 +50,15 @@ function resolvePromptBlocks(api, args, options) {
|
|
|
50
50
|
}
|
|
51
51
|
var $agentsStartAgent = { m: "POST", p: "/ai/agent/{agent_id}", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "agents.agents_start_agent" };
|
|
52
52
|
function agentsStartAgent(api, args, options) {
|
|
53
|
-
return
|
|
53
|
+
return chunkILAZVNEL_cjs.openJsonOrStream(api, $agentsStartAgent, args, options);
|
|
54
54
|
}
|
|
55
55
|
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" };
|
|
56
56
|
function agentsStartAgentPost(api, args, options) {
|
|
57
|
-
return
|
|
57
|
+
return chunkILAZVNEL_cjs.openJsonOrStream(api, $agentsStartAgentPost, args, options);
|
|
58
58
|
}
|
|
59
59
|
var $startMandatedAgent = { m: "POST", p: "/ai/mandates/{mandate_key}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.start_mandated_agent" };
|
|
60
60
|
function startMandatedAgent(api, args, options) {
|
|
61
|
-
return
|
|
61
|
+
return chunkILAZVNEL_cjs.openStream(api, $startMandatedAgent, args, options);
|
|
62
62
|
}
|
|
63
63
|
var $invalidateAgentCache = { m: "POST", p: "/ai/agents/{agent_id}/invalidate-cache", d: "aidream", a: "guest", o: "required", n: "agents.invalidate_agent_cache" };
|
|
64
64
|
function invalidateAgentCache(api, args, options) {
|
|
@@ -66,7 +66,7 @@ function invalidateAgentCache(api, args, options) {
|
|
|
66
66
|
}
|
|
67
67
|
var $mockStream = { m: "POST", p: "/ai/mock-stream/{scenario}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.mock_stream" };
|
|
68
68
|
function mockStream(api, args, options) {
|
|
69
|
-
return
|
|
69
|
+
return chunkILAZVNEL_cjs.openStream(api, $mockStream, args, options);
|
|
70
70
|
}
|
|
71
71
|
var $listScenarios = { m: "GET", p: "/ai/mock-stream/scenarios", d: "aidream", a: "guest", o: "optional", n: "agents.list_scenarios" };
|
|
72
72
|
function listScenarios(api, args, options) {
|
|
@@ -82,11 +82,11 @@ function getUserPromptsAndBuiltins(api, args, options) {
|
|
|
82
82
|
}
|
|
83
83
|
var $startPrompt = { m: "POST", p: "/ai/prompts/{prompt_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.start_prompt" };
|
|
84
84
|
function startPrompt(api, args, options) {
|
|
85
|
-
return
|
|
85
|
+
return chunkILAZVNEL_cjs.openStream(api, $startPrompt, args, options);
|
|
86
86
|
}
|
|
87
87
|
var $startAgentBlocks = { m: "POST", p: "/ai/agents-blocks/{agent_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.start_agent_blocks" };
|
|
88
88
|
function startAgentBlocks(api, args, options) {
|
|
89
|
-
return
|
|
89
|
+
return chunkILAZVNEL_cjs.openStream(api, $startAgentBlocks, args, options);
|
|
90
90
|
}
|
|
91
91
|
var $previewContext = { m: "POST", p: "/ai/context/preview", d: "aidream", a: "guest", o: "required", n: "agents.preview_context" };
|
|
92
92
|
function previewContext(api, args, options) {
|
|
@@ -230,7 +230,7 @@ function judgeFirstRuns(api, args, options) {
|
|
|
230
230
|
}
|
|
231
231
|
var $agentFromChat = { m: "POST", p: "/agent-studio/from-chat", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.agent_from_chat" };
|
|
232
232
|
function agentFromChat(api, args, options) {
|
|
233
|
-
return
|
|
233
|
+
return chunkILAZVNEL_cjs.openStream(api, $agentFromChat, args, options);
|
|
234
234
|
}
|
|
235
235
|
var $importPreview = { m: "POST", p: "/agent-studio/import/preview", d: "aidream", a: "guest", o: "required", n: "agents.import_preview" };
|
|
236
236
|
function importPreview(api, args, options) {
|
|
@@ -242,7 +242,7 @@ function importDraft(api, args, options) {
|
|
|
242
242
|
}
|
|
243
243
|
var $adminAgentFromChat = { m: "POST", p: "/admin/agent-studio/from-chat", d: "aidream", a: "admin", o: "exempt", s: "ndjson", n: "agents.admin_agent_from_chat" };
|
|
244
244
|
function adminAgentFromChat(api, args, options) {
|
|
245
|
-
return
|
|
245
|
+
return chunkILAZVNEL_cjs.openStream(api, $adminAgentFromChat, args, options);
|
|
246
246
|
}
|
|
247
247
|
var $adminToolsListTools = { m: "GET", p: "/admin/tools", d: "aidream", a: "admin", o: "exempt", n: "agents.admin_tools_list_tools" };
|
|
248
248
|
function adminToolsListTools(api, args, options) {
|
|
@@ -278,7 +278,7 @@ function getOrCreateTestSession(api, args, options) {
|
|
|
278
278
|
}
|
|
279
279
|
var $executeToolTest = { m: "POST", p: "/tools/test/execute", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.execute_tool_test" };
|
|
280
280
|
function executeToolTest(api, args, options) {
|
|
281
|
-
return
|
|
281
|
+
return chunkILAZVNEL_cjs.openStream(api, $executeToolTest, args, options);
|
|
282
282
|
}
|
|
283
283
|
var $getDbSurfaceManifest = { m: "GET", p: "/surfaces/{client_name}/{surface_name}/manifest", d: "aidream", a: "guest", o: "exempt", n: "agents.get_db_surface_manifest" };
|
|
284
284
|
function getDbSurfaceManifest(api, args, options) {
|
|
@@ -310,7 +310,7 @@ function previewVariableBinding(api, args, options) {
|
|
|
310
310
|
}
|
|
311
311
|
var $runMatrixBattle = { m: "POST", p: "/agent-battles/{set_id}/run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "agents.run_matrix_battle" };
|
|
312
312
|
function runMatrixBattle(api, args, options) {
|
|
313
|
-
return
|
|
313
|
+
return chunkILAZVNEL_cjs.openStream(api, $runMatrixBattle, args, options);
|
|
314
314
|
}
|
|
315
315
|
var $cancelMatrixBattle = { m: "POST", p: "/agent-battles/{set_id}/cancel", d: "aidream", a: "guest", o: "required", n: "agents.cancel_matrix_battle" };
|
|
316
316
|
function cancelMatrixBattle(api, args, options) {
|
package/dist/agents.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-B6p8TJkh.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, HostTurn, MandateTestHolder, ResourceContextPolicy, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, IdeState, SandboxBindingRequest, PageContext, ChatMessageInput, CacheBypass, DirectiveItemApplied, DirectiveItemFailed, 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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AgentBlocksStartRequest */
|
package/dist/agents.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-B6p8TJkh.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, HostTurn, MandateTestHolder, ResourceContextPolicy, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, IdeState, SandboxBindingRequest, PageContext, ChatMessageInput, CacheBypass, DirectiveItemApplied, DirectiveItemFailed, 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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AgentBlocksStartRequest */
|
package/dist/agents.js
CHANGED
package/dist/ai.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkILAZVNEL_cjs = require('./chunk-ILAZVNEL.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/ai.ts
|
|
@@ -78,7 +78,7 @@ function listModels(api, args, options) {
|
|
|
78
78
|
}
|
|
79
79
|
var $chatCompletions = { m: "POST", p: "/v1/chat/completions", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse_or_json", n: "ai.chat_completions" };
|
|
80
80
|
function chatCompletions(api, args, options) {
|
|
81
|
-
return
|
|
81
|
+
return chunkILAZVNEL_cjs.openJsonOrStream(api, $chatCompletions, args, options);
|
|
82
82
|
}
|
|
83
83
|
var $audioSpeech = { m: "POST", p: "/v1/audio/speech", d: "matrx-local", a: "loopback_token", o: "exempt", n: "ai.audio_speech" };
|
|
84
84
|
function audioSpeech(api, args, options) {
|
package/dist/ai.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, J as JsonOrStream, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, J as JsonOrStream, S as SseEvent } from './index-B6p8TJkh.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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AgentUsageReportResponse */
|
package/dist/ai.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, J as JsonOrStream, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, J as JsonOrStream, S as SseEvent } from './index-B6p8TJkh.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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AgentUsageReportResponse */
|
package/dist/ai.js
CHANGED
package/dist/apps.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkILAZVNEL_cjs = require('./chunk-ILAZVNEL.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/apps.ts
|
|
@@ -218,7 +218,7 @@ function getInstallStatus(api, args, options) {
|
|
|
218
218
|
}
|
|
219
219
|
var $streamInstallProgress = { m: "GET", p: "/capabilities/install/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "apps.stream_install_progress" };
|
|
220
220
|
function streamInstallProgress(api, args, options) {
|
|
221
|
-
return
|
|
221
|
+
return chunkILAZVNEL_cjs.openStream(api, $streamInstallProgress, args, options);
|
|
222
222
|
}
|
|
223
223
|
var $tunnelStatus = { m: "GET", p: "/tunnel/status", d: "matrx-local", a: "public", o: "exempt", n: "apps.tunnel_status" };
|
|
224
224
|
function tunnelStatus(api, args, options) {
|
|
@@ -238,15 +238,15 @@ function getSetupStatus(api, args, options) {
|
|
|
238
238
|
}
|
|
239
239
|
var $runInstall = { m: "POST", p: "/setup/install", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.run_install" };
|
|
240
240
|
function runInstall(api, args, options) {
|
|
241
|
-
return
|
|
241
|
+
return chunkILAZVNEL_cjs.openStream(api, $runInstall, args, options);
|
|
242
242
|
}
|
|
243
243
|
var $installTranscription = { m: "POST", p: "/setup/install-transcription", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.install_transcription" };
|
|
244
244
|
function installTranscription(api, args, options) {
|
|
245
|
-
return
|
|
245
|
+
return chunkILAZVNEL_cjs.openStream(api, $installTranscription, args, options);
|
|
246
246
|
}
|
|
247
247
|
var $streamLogs = { m: "GET", p: "/setup/logs", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.stream_logs" };
|
|
248
248
|
function streamLogs(api, args, options) {
|
|
249
|
-
return
|
|
249
|
+
return chunkILAZVNEL_cjs.openStream(api, $streamLogs, args, options);
|
|
250
250
|
}
|
|
251
251
|
var $debugState = { m: "GET", p: "/setup/debug", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.debug_state" };
|
|
252
252
|
function debugState(api, args, options) {
|
package/dist/apps.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-B6p8TJkh.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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ApiKeySetRequest */
|
package/dist/apps.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-B6p8TJkh.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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ApiKeySetRequest */
|
package/dist/apps.js
CHANGED
package/dist/architecture.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkILAZVNEL_cjs = require('./chunk-ILAZVNEL.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/architecture.ts
|
|
@@ -38,35 +38,35 @@ function servingCheck(api, args, options) {
|
|
|
38
38
|
}
|
|
39
39
|
var $searchAsKinds = { m: "POST", p: "/search-kinds/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.search_as_kinds" };
|
|
40
40
|
function searchAsKinds(api, args, options) {
|
|
41
|
-
return
|
|
41
|
+
return chunkILAZVNEL_cjs.openStream(api, $searchAsKinds, args, options);
|
|
42
42
|
}
|
|
43
43
|
var $placeReviews = { m: "POST", p: "/search-kinds/place-reviews", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.place_reviews" };
|
|
44
44
|
function placeReviews(api, args, options) {
|
|
45
|
-
return
|
|
45
|
+
return chunkILAZVNEL_cjs.openStream(api, $placeReviews, args, options);
|
|
46
46
|
}
|
|
47
47
|
var $searchByImage = { m: "POST", p: "/search-kinds/image", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.search_by_image" };
|
|
48
48
|
function searchByImage(api, args, options) {
|
|
49
|
-
return
|
|
49
|
+
return chunkILAZVNEL_cjs.openStream(api, $searchByImage, args, options);
|
|
50
50
|
}
|
|
51
51
|
var $rankLandscapeAsKinds = { m: "POST", p: "/rank-kinds/landscape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.rank_landscape_as_kinds" };
|
|
52
52
|
function rankLandscapeAsKinds(api, args, options) {
|
|
53
|
-
return
|
|
53
|
+
return chunkILAZVNEL_cjs.openStream(api, $rankLandscapeAsKinds, args, options);
|
|
54
54
|
}
|
|
55
55
|
var $ragSearchAsKinds = { m: "POST", p: "/rag-kinds/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.rag_search_as_kinds" };
|
|
56
56
|
function ragSearchAsKinds(api, args, options) {
|
|
57
|
-
return
|
|
57
|
+
return chunkILAZVNEL_cjs.openStream(api, $ragSearchAsKinds, args, options);
|
|
58
58
|
}
|
|
59
59
|
var $tableReadAsKinds = { m: "POST", p: "/table-kinds/read", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.table_read_as_kinds" };
|
|
60
60
|
function tableReadAsKinds(api, args, options) {
|
|
61
|
-
return
|
|
61
|
+
return chunkILAZVNEL_cjs.openStream(api, $tableReadAsKinds, args, options);
|
|
62
62
|
}
|
|
63
63
|
var $scrapeAsKind = { m: "POST", p: "/scraper-kinds/scrape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.scrape_as_kind" };
|
|
64
64
|
function scrapeAsKind(api, args, options) {
|
|
65
|
-
return
|
|
65
|
+
return chunkILAZVNEL_cjs.openStream(api, $scrapeAsKind, args, options);
|
|
66
66
|
}
|
|
67
67
|
var $scrapeManyAsKind = { m: "POST", p: "/scraper-kinds/scrape-many", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.scrape_many_as_kind" };
|
|
68
68
|
function scrapeManyAsKind(api, args, options) {
|
|
69
|
-
return
|
|
69
|
+
return chunkILAZVNEL_cjs.openStream(api, $scrapeManyAsKind, args, options);
|
|
70
70
|
}
|
|
71
71
|
var $saveOutput = { m: "POST", p: "/kind-outputs/save", d: "aidream", a: "guest", o: "required", n: "architecture.save_output" };
|
|
72
72
|
function saveOutput(api, args, options) {
|
|
@@ -90,7 +90,7 @@ function operationStatus(api, args, options) {
|
|
|
90
90
|
}
|
|
91
91
|
var $rejoinOperationStream = { m: "POST", p: "/runtime/operations/{request_id}/rejoin", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.rejoin_operation_stream" };
|
|
92
92
|
function rejoinOperationStream(api, args, options) {
|
|
93
|
-
return
|
|
93
|
+
return chunkILAZVNEL_cjs.openStream(api, $rejoinOperationStream, args, options);
|
|
94
94
|
}
|
|
95
95
|
var $operationsByLink = { m: "GET", p: "/runtime/operations/by-link/{link_kind}/{link_id}", d: "aidream", a: "guest", o: "optional", n: "architecture.operations_by_link" };
|
|
96
96
|
function operationsByLink(api, args, options) {
|
|
@@ -102,7 +102,7 @@ function operationEvents(api, args, options) {
|
|
|
102
102
|
}
|
|
103
103
|
var $operationEventsStream = { m: "GET", p: "/runtime/executions/{execution_id}/events/stream", d: "aidream", a: "guest", o: "optional", s: "sse", n: "architecture.operation_events_stream" };
|
|
104
104
|
function operationEventsStream(api, args, options) {
|
|
105
|
-
return
|
|
105
|
+
return chunkILAZVNEL_cjs.openStream(api, $operationEventsStream, args, options);
|
|
106
106
|
}
|
|
107
107
|
var $listComputeTargets = { m: "GET", p: "/compute-targets/", d: "aidream", a: "user", o: "required", n: "architecture.list_compute_targets" };
|
|
108
108
|
function listComputeTargets(api, args, options) {
|
|
@@ -762,7 +762,7 @@ function orchestratorProxyFsDelete(api, args, options) {
|
|
|
762
762
|
}
|
|
763
763
|
var $proxyExecStream = { m: "POST", p: "/sandboxes/{sandbox_id}/exec/stream", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "sse", n: "architecture.proxy_exec_stream" };
|
|
764
764
|
function proxyExecStream(api, args, options) {
|
|
765
|
-
return
|
|
765
|
+
return chunkILAZVNEL_cjs.openStream(api, $proxyExecStream, args, options);
|
|
766
766
|
}
|
|
767
767
|
var $orchestratorProxyGitGet = { m: "GET", p: "/sandboxes/{sandbox_id}/git/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_git_get" };
|
|
768
768
|
function orchestratorProxyGitGet(api, args, options) {
|
package/dist/architecture.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-B6p8TJkh.cjs';
|
|
2
2
|
import { JsonValue, ComputeNextDueResponse, SandboxBindingRequest, RunNowResponse, ValidateCronRequest, ValidateCronResponse, DirectiveItemApplied, DirectiveItemFailed } 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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** Authoritative list of every route the orchestrator serves. */
|
package/dist/architecture.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-B6p8TJkh.js';
|
|
2
2
|
import { JsonValue, ComputeNextDueResponse, SandboxBindingRequest, RunNowResponse, ValidateCronRequest, ValidateCronResponse, DirectiveItemApplied, DirectiveItemFailed } 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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** Authoritative list of every route the orchestrator serves. */
|
package/dist/architecture.js
CHANGED