@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
|
@@ -41,6 +41,15 @@ interface MatrxContentTransferAdapterOptions {
|
|
|
41
41
|
supabase: MatrxContentTransferSupabase;
|
|
42
42
|
organizationId: string | (() => string);
|
|
43
43
|
sourceApp: "matrx-frontend" | "dashboard";
|
|
44
|
+
/**
|
|
45
|
+
* Interactivity attestation for the preparation run. `launch()` is the
|
|
46
|
+
* Alchemy door a person opens by hand, so "user" is the default and the
|
|
47
|
+
* server classes the conversation `origin_class = 'human'`; an embedder that
|
|
48
|
+
* fires a transfer from client code with no gesture behind it passes "auto".
|
|
49
|
+
* Omitting the field entirely is what left these runs reading as unattested
|
|
50
|
+
* API traffic (census 2026-09-20).
|
|
51
|
+
*/
|
|
52
|
+
initiation?: "user" | "auto";
|
|
44
53
|
/** The original NDJSON stream, exposed without consuming it twice. */
|
|
45
54
|
onStreamEvent?: (event: MatrxStreamEnvelope) => void;
|
|
46
55
|
/** Durable runtime lifecycle events emitted during recovery. */
|
|
@@ -41,6 +41,15 @@ interface MatrxContentTransferAdapterOptions {
|
|
|
41
41
|
supabase: MatrxContentTransferSupabase;
|
|
42
42
|
organizationId: string | (() => string);
|
|
43
43
|
sourceApp: "matrx-frontend" | "dashboard";
|
|
44
|
+
/**
|
|
45
|
+
* Interactivity attestation for the preparation run. `launch()` is the
|
|
46
|
+
* Alchemy door a person opens by hand, so "user" is the default and the
|
|
47
|
+
* server classes the conversation `origin_class = 'human'`; an embedder that
|
|
48
|
+
* fires a transfer from client code with no gesture behind it passes "auto".
|
|
49
|
+
* Omitting the field entirely is what left these runs reading as unattested
|
|
50
|
+
* API traffic (census 2026-09-20).
|
|
51
|
+
*/
|
|
52
|
+
initiation?: "user" | "auto";
|
|
44
53
|
/** The original NDJSON stream, exposed without consuming it twice. */
|
|
45
54
|
onStreamEvent?: (event: MatrxStreamEnvelope) => void;
|
|
46
55
|
/** Durable runtime lifecycle events emitted during recovery. */
|
|
@@ -1339,6 +1339,7 @@ function createMatrxContentTransferAdapter(options) {
|
|
|
1339
1339
|
organization_id: organizationId(),
|
|
1340
1340
|
source_app: options.sourceApp,
|
|
1341
1341
|
source_feature: `mandate:${MANDATE_KEYS.alchemy__prepare_content}`,
|
|
1342
|
+
initiation: options.initiation ?? "user",
|
|
1342
1343
|
user_input: input.instruction,
|
|
1343
1344
|
variables: {
|
|
1344
1345
|
prepared_content: preparedContent,
|