@ai-matrx/agents 0.13.0 → 0.13.2
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 +12 -0
- package/dist/content-transfer/index.cjs +1 -0
- package/dist/content-transfer/index.cjs.map +1 -1
- package/dist/content-transfer/index.d.cts +9 -0
- package/dist/content-transfer/index.d.ts +9 -0
- package/dist/content-transfer/index.js +1 -0
- package/dist/content-transfer/index.js.map +1 -1
- package/dist/content-transfer/react/index.cjs +1 -0
- package/dist/content-transfer/react/index.cjs.map +1 -1
- package/dist/content-transfer/react/index.d.cts +9 -0
- package/dist/content-transfer/react/index.d.ts +9 -0
- package/dist/content-transfer/react/index.js +1 -0
- package/dist/content-transfer/react/index.js.map +1 -1
- package/dist/mandates/index.cjs +2 -2
- package/dist/mandates/index.cjs.map +1 -1
- package/dist/mandates/index.d.cts +4 -4
- package/dist/mandates/index.d.ts +4 -4
- package/dist/mandates/index.js +2 -2
- package/dist/mandates/index.js.map +1 -1
- package/mandates/snapshots/keys.0.13.0.json +509 -0
- package/mandates/snapshots/keys.0.13.1.json +509 -0
- package/mandates/snapshots/keys.0.13.2.json +509 -0
- package/package.json +1 -1
|
@@ -110,6 +110,15 @@ interface MatrxContentTransferAdapterOptions {
|
|
|
110
110
|
supabase: MatrxContentTransferSupabase;
|
|
111
111
|
organizationId: string | (() => string);
|
|
112
112
|
sourceApp: "matrx-frontend" | "dashboard";
|
|
113
|
+
/**
|
|
114
|
+
* Interactivity attestation for the preparation run. `launch()` is the
|
|
115
|
+
* Alchemy door a person opens by hand, so "user" is the default and the
|
|
116
|
+
* server classes the conversation `origin_class = 'human'`; an embedder that
|
|
117
|
+
* fires a transfer from client code with no gesture behind it passes "auto".
|
|
118
|
+
* Omitting the field entirely is what left these runs reading as unattested
|
|
119
|
+
* API traffic (census 2026-09-20).
|
|
120
|
+
*/
|
|
121
|
+
initiation?: "user" | "auto";
|
|
113
122
|
/** The original NDJSON stream, exposed without consuming it twice. */
|
|
114
123
|
onStreamEvent?: (event: MatrxStreamEnvelope) => void;
|
|
115
124
|
/** Durable runtime lifecycle events emitted during recovery. */
|
|
@@ -110,6 +110,15 @@ interface MatrxContentTransferAdapterOptions {
|
|
|
110
110
|
supabase: MatrxContentTransferSupabase;
|
|
111
111
|
organizationId: string | (() => string);
|
|
112
112
|
sourceApp: "matrx-frontend" | "dashboard";
|
|
113
|
+
/**
|
|
114
|
+
* Interactivity attestation for the preparation run. `launch()` is the
|
|
115
|
+
* Alchemy door a person opens by hand, so "user" is the default and the
|
|
116
|
+
* server classes the conversation `origin_class = 'human'`; an embedder that
|
|
117
|
+
* fires a transfer from client code with no gesture behind it passes "auto".
|
|
118
|
+
* Omitting the field entirely is what left these runs reading as unattested
|
|
119
|
+
* API traffic (census 2026-09-20).
|
|
120
|
+
*/
|
|
121
|
+
initiation?: "user" | "auto";
|
|
113
122
|
/** The original NDJSON stream, exposed without consuming it twice. */
|
|
114
123
|
onStreamEvent?: (event: MatrxStreamEnvelope) => void;
|
|
115
124
|
/** Durable runtime lifecycle events emitted during recovery. */
|
|
@@ -1494,6 +1494,7 @@ function createMatrxContentTransferAdapter(options) {
|
|
|
1494
1494
|
organization_id: organizationId(),
|
|
1495
1495
|
source_app: options.sourceApp,
|
|
1496
1496
|
source_feature: `mandate:${MANDATE_KEYS.alchemy__prepare_content}`,
|
|
1497
|
+
initiation: options.initiation ?? "user",
|
|
1497
1498
|
user_input: input.instruction,
|
|
1498
1499
|
variables: {
|
|
1499
1500
|
prepared_content: preparedContent,
|