@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.
@@ -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,