@ai-matrx/api 0.1.29 → 0.1.31
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 +31 -1
- package/dist/account.d.cts +8 -8
- package/dist/account.d.ts +8 -8
- package/dist/agents.cjs +82 -12
- package/dist/agents.d.cts +384 -6
- package/dist/agents.d.ts +384 -6
- package/dist/agents.js +62 -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 +78 -42
- package/dist/architecture.d.cts +169 -41
- package/dist/architecture.d.ts +169 -41
- package/dist/architecture.js +58 -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 +19 -2
- package/dist/chat.d.ts +19 -2
- package/dist/chat.js +1 -1
- package/dist/{chunk-G3OJBGCU.cjs → chunk-45PIBJ3K.cjs} +1 -1
- package/dist/{chunk-Z2UOMPC4.js → chunk-7GMHDVF5.js} +1 -1
- package/dist/{chunk-BI6C3CD7.cjs → chunk-BO5HWECS.cjs} +3 -3
- package/dist/{chunk-VGXUUEFE.cjs → chunk-FHHE5FNM.cjs} +4 -4
- package/dist/{chunk-IAB7JCVA.js → chunk-MY5RKVCY.js} +1 -1
- package/dist/{chunk-Q6BD7FVP.cjs → chunk-QDFU72YV.cjs} +37 -37
- package/dist/{chunk-BIHYNQOU.js → chunk-YK5KJICX.js} +1 -1
- package/dist/{chunk-QCDALTHR.js → chunk-YRZAOYRE.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 +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 +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 +183 -3
- package/dist/data.d.ts +183 -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-DyDNKgdB.d.cts → index-BneRZdQz.d.cts} +2 -2
- package/dist/{index-DyDNKgdB.d.ts → index-BneRZdQz.d.ts} +2 -2
- package/dist/index.cjs +58 -58
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- 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 +29 -11
- package/dist/intelligence.d.cts +100 -29
- package/dist/intelligence.d.ts +100 -29
- package/dist/intelligence.js +23 -7
- 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 +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 +1589 -75
- package/dist/types.d.ts +1589 -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 +44 -2
- package/dist/workflows.d.ts +44 -2
- package/dist/workflows.js +1 -1
- package/package.json +2 -2
package/dist/workflows.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-BneRZdQz.js';
|
|
2
2
|
import { JsonValue, HostTurn, ClientContext, UserOverrides, ContextAnchor, RunNowResponse, ComputeNextDueResponse, ValidateCronRequest, ValidateCronResponse } 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 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AddEdgeOp */
|
|
@@ -1917,6 +1917,18 @@ type ResumeQueuedRunResponse = {
|
|
|
1917
1917
|
};
|
|
1918
1918
|
/** ResumeRunRequest */
|
|
1919
1919
|
type ResumeRunRequest = {
|
|
1920
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1921
|
+
organization_id?: string | null;
|
|
1922
|
+
/** Optional associated project selected by the caller. */
|
|
1923
|
+
project_id?: string | null;
|
|
1924
|
+
/** Optional associated task selected by the caller. */
|
|
1925
|
+
task_id?: string | null;
|
|
1926
|
+
/** Stable application slug that initiated the request. */
|
|
1927
|
+
source_app?: string | null;
|
|
1928
|
+
/** Stable feature slug within the source application. */
|
|
1929
|
+
source_feature?: string | null;
|
|
1930
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1931
|
+
initiation?: ("user" | "auto") | null;
|
|
1920
1932
|
/** The interrupt checkpoint to resume from. REQUIRED for an 'interrupted' run; omitted for an 'awaiting_input' run (a start-time park has no checkpoint — supply the missing values in `inputs` instead and */
|
|
1921
1933
|
checkpoint_id?: string | null;
|
|
1922
1934
|
resume_value?: {
|
|
@@ -2035,6 +2047,12 @@ type RunFormSchema = {
|
|
|
2035
2047
|
variables?: RunFormVariable[];
|
|
2036
2048
|
/** THE compiled input surface: name-unique, kind-addressed, one sourcing rule each. Values come back as RunWorkflowRequest.inputs[name]. */
|
|
2037
2049
|
inputs?: ServedInput[];
|
|
2050
|
+
/** What one run is called: 'Lookup', 'Report'. */
|
|
2051
|
+
display_noun?: string;
|
|
2052
|
+
/** The button's verb phrase: 'Check backlinks'. */
|
|
2053
|
+
submit_label?: string;
|
|
2054
|
+
/** 'simple' = one box + Tools reveal; 'form' = stacked fields. */
|
|
2055
|
+
layout?: "simple" | "form";
|
|
2038
2056
|
[key: string]: unknown;
|
|
2039
2057
|
};
|
|
2040
2058
|
/** One declared run variable (Definition.variables) surfaced on the run */
|
|
@@ -2254,6 +2272,26 @@ type SchemaReport = {
|
|
|
2254
2272
|
};
|
|
2255
2273
|
/** One entry of the SERVED compiled input surface (INPUT-SURFACE.md) — */
|
|
2256
2274
|
type ServedInput = {
|
|
2275
|
+
/** This input is THE box (at most one). */
|
|
2276
|
+
primary?: boolean;
|
|
2277
|
+
/** True: behind the Tools reveal; False: always visible; None: inferred (optional, or required with a default, goes behind Tools). */
|
|
2278
|
+
advanced?: boolean | null;
|
|
2279
|
+
/** Tools-bar group label, e.g. 'Location'. */
|
|
2280
|
+
group?: string;
|
|
2281
|
+
/** Sort key within its zone. */
|
|
2282
|
+
order?: number | null;
|
|
2283
|
+
/** Options as chips or a select; empty = chips up to six. */
|
|
2284
|
+
choice_style?: "" | "chips" | "select";
|
|
2285
|
+
/** A short choice attached to the primary box as a scope picker. */
|
|
2286
|
+
inline?: boolean;
|
|
2287
|
+
/** One realistic value; never a default. */
|
|
2288
|
+
example?: string;
|
|
2289
|
+
/** Friendly words for machine option values. */
|
|
2290
|
+
option_labels?: {
|
|
2291
|
+
[key: string]: string;
|
|
2292
|
+
};
|
|
2293
|
+
/** What the primary box accepts; drives smart detection. */
|
|
2294
|
+
detect?: ("handle" | "url" | "domain" | "keyword" | "email" | "person_name" | "phone")[];
|
|
2257
2295
|
name: string;
|
|
2258
2296
|
kind: string;
|
|
2259
2297
|
sourcing: "ask" | "require" | "optional";
|
|
@@ -3531,6 +3569,9 @@ type GetRunArgs = {
|
|
|
3531
3569
|
path: {
|
|
3532
3570
|
run_id: string;
|
|
3533
3571
|
};
|
|
3572
|
+
query?: {
|
|
3573
|
+
debug_view?: string | null;
|
|
3574
|
+
};
|
|
3534
3575
|
};
|
|
3535
3576
|
type GetRunResult = RunRecord;
|
|
3536
3577
|
/** Get Run */
|
|
@@ -3687,6 +3728,7 @@ type StreamRunDebugArgs = {
|
|
|
3687
3728
|
};
|
|
3688
3729
|
query?: {
|
|
3689
3730
|
node_id?: string | null;
|
|
3731
|
+
debug_view?: string | null;
|
|
3690
3732
|
};
|
|
3691
3733
|
};
|
|
3692
3734
|
type StreamRunDebugResult = unknown;
|
package/dist/workflows.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/api",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.31",
|
|
4
4
|
"description": "The one way every app talks to every AI Matrx server: generated from the server contract, split by domain so an app loads only the requests it calls. Transport, five credential kinds, organization binding, streams, job follow. No screens, app state or database code.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -439,5 +439,5 @@
|
|
|
439
439
|
"check:sections": "node scripts/section-probe.mjs \"$PWD\"",
|
|
440
440
|
"verify:tarball": "node scripts/verify-tarball.mjs"
|
|
441
441
|
},
|
|
442
|
-
"gitHead": "
|
|
442
|
+
"gitHead": "e14cf17c469175dafc5830e440775f459e0a0c29"
|
|
443
443
|
}
|