@ai-matrx/agents 0.13.1 → 0.13.3
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 +14 -0
- package/dist/content-transfer/index.cjs +25 -1
- 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 +25 -1
- package/dist/content-transfer/index.js.map +1 -1
- package/dist/content-transfer/react/index.cjs +25 -1
- 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 +25 -1
- package/dist/content-transfer/react/index.js.map +1 -1
- package/dist/mandates/index.cjs +30 -4
- package/dist/mandates/index.cjs.map +1 -1
- package/dist/mandates/index.d.cts +33 -7
- package/dist/mandates/index.d.ts +33 -7
- package/dist/mandates/index.js +30 -4
- package/dist/mandates/index.js.map +1 -1
- package/mandates/snapshots/keys.0.13.2.json +522 -0
- package/mandates/snapshots/keys.0.13.3.json +523 -0
- package/package.json +3 -3
|
@@ -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. */
|
|
@@ -50,6 +50,7 @@ var MANDATE_KEYS = {
|
|
|
50
50
|
commerce_intake__research_product: "commerce_intake.research_product",
|
|
51
51
|
commerce_intake__segment_photos: "commerce_intake.segment_photos",
|
|
52
52
|
commerce_intake__verify_enrichment: "commerce_intake.verify_enrichment",
|
|
53
|
+
content_gate__section_relevance_decision: "content_gate.section_relevance_decision",
|
|
53
54
|
content_ir__component_artisan: "content_ir.component_artisan",
|
|
54
55
|
content_ir__kind_architect: "content_ir.kind_architect",
|
|
55
56
|
content_ir__kind_component_builder: "content_ir.kind_component_builder",
|
|
@@ -163,6 +164,7 @@ var MANDATE_KEYS = {
|
|
|
163
164
|
extend__browser_chat: "extend.browser_chat",
|
|
164
165
|
extend__pattern_from_data: "extend.pattern_from_data",
|
|
165
166
|
extend__structured_extractor: "extend.structured_extractor",
|
|
167
|
+
feedback__item_triage_decision: "feedback.item_triage_decision",
|
|
166
168
|
flashcards__enrich_card: "flashcards.enrich_card",
|
|
167
169
|
flashcards__expand_card: "flashcards.expand_card",
|
|
168
170
|
flashcards__generate_cards: "flashcards.generate_cards",
|
|
@@ -207,6 +209,9 @@ var MANDATE_KEYS = {
|
|
|
207
209
|
knowledge__qa_generator: "knowledge.qa_generator",
|
|
208
210
|
knowledge__section_summarizer: "knowledge.section_summarizer",
|
|
209
211
|
local__cloud_chat: "local.cloud_chat",
|
|
212
|
+
mandate_outcome__goal_clause_extraction: "mandate_outcome.goal_clause_extraction",
|
|
213
|
+
mandate_outcome__goal_fitness_decision: "mandate_outcome.goal_fitness_decision",
|
|
214
|
+
mandates__holder_draft: "mandates.holder_draft",
|
|
210
215
|
marketing__endowment_analysis: "marketing.endowment_analysis",
|
|
211
216
|
marketing__endowment_portfolio: "marketing.endowment_portfolio",
|
|
212
217
|
marketing__image_prompt: "marketing.image_prompt",
|
|
@@ -263,6 +268,7 @@ var MANDATE_KEYS = {
|
|
|
263
268
|
masterwork__understudy: "masterwork.understudy",
|
|
264
269
|
masterwork__unfolding_judge: "masterwork.unfolding_judge",
|
|
265
270
|
media__youtube_analyzer: "media.youtube_analyzer",
|
|
271
|
+
media_catalog__item_vetting_decision: "media_catalog.item_vetting_decision",
|
|
266
272
|
meet__live_intelligence: "meet.live_intelligence",
|
|
267
273
|
meet__live_notes: "meet.live_notes",
|
|
268
274
|
meet__wrap_up: "meet.wrap_up",
|
|
@@ -287,7 +293,10 @@ var MANDATE_KEYS = {
|
|
|
287
293
|
observability__tool_trace_pattern_detection: "observability.tool_trace_pattern_detection",
|
|
288
294
|
observability__tool_trace_triage: "observability.tool_trace_triage",
|
|
289
295
|
orchestras__role_describer: "orchestras.role_describer",
|
|
296
|
+
orchestration__tool_failure_standoff_decision: "orchestration.tool_failure_standoff_decision",
|
|
290
297
|
pdf__content_cleaner: "pdf.content_cleaner",
|
|
298
|
+
personal_staff__escalation: "personal_staff.escalation",
|
|
299
|
+
personal_staff__front_line: "personal_staff.front_line",
|
|
291
300
|
podcast__audience_adapter: "podcast.audience_adapter",
|
|
292
301
|
podcast__audio_dialogue: "podcast.audio_dialogue",
|
|
293
302
|
podcast__audio_english: "podcast.audio_english",
|
|
@@ -342,6 +351,7 @@ var MANDATE_KEYS = {
|
|
|
342
351
|
research__report: "research.report",
|
|
343
352
|
research__report_updater: "research.report_updater",
|
|
344
353
|
research__source_authority: "research.source_authority",
|
|
354
|
+
research__source_triage_decision: "research.source_triage_decision",
|
|
345
355
|
research__structured_page_summary: "research.structured_page_summary",
|
|
346
356
|
research__suggest_setup: "research.suggest_setup",
|
|
347
357
|
research__tag_consolidation: "research.tag_consolidation",
|
|
@@ -356,6 +366,7 @@ var MANDATE_KEYS = {
|
|
|
356
366
|
research_client__output_slides: "research_client.output_slides",
|
|
357
367
|
scraper__fact_check: "scraper.fact_check",
|
|
358
368
|
scraper__keyword_analysis: "scraper.keyword_analysis",
|
|
369
|
+
scraper__page_fetch_verdict: "scraper.page_fetch_verdict",
|
|
359
370
|
seo__ai_visibility_decision_analyst: "seo.ai_visibility_decision_analyst",
|
|
360
371
|
seo__backlink_context_assessor: "seo.backlink_context_assessor",
|
|
361
372
|
seo__backlink_work_planner: "seo.backlink_work_planner",
|
|
@@ -438,7 +449,19 @@ var MANDATE_KEYS = {
|
|
|
438
449
|
workflow__steward__data: "workflow.steward.data",
|
|
439
450
|
workflow__steward__decision: "workflow.steward.decision",
|
|
440
451
|
workflow__steward__user_input: "workflow.steward.user_input",
|
|
441
|
-
workflow__wizard__agent_run: "workflow.wizard.agent_run"
|
|
452
|
+
workflow__wizard__agent_run: "workflow.wizard.agent_run",
|
|
453
|
+
/**
|
|
454
|
+
* @deprecated retiring since 0.13.2 — no longer declared in
|
|
455
|
+
* aidream. It leaves this union once no snapshot within the last
|
|
456
|
+
* 3 published versions still carries it as active.
|
|
457
|
+
*/
|
|
458
|
+
personal_staff__chief: "personal_staff.chief",
|
|
459
|
+
/**
|
|
460
|
+
* @deprecated retiring since 0.13.2 — no longer declared in
|
|
461
|
+
* aidream. It leaves this union once no snapshot within the last
|
|
462
|
+
* 3 published versions still carries it as active.
|
|
463
|
+
*/
|
|
464
|
+
personal_staff__senior: "personal_staff.senior"
|
|
442
465
|
};
|
|
443
466
|
var ALL_MANDATE_KEYS = Object.values(MANDATE_KEYS);
|
|
444
467
|
|
|
@@ -1339,6 +1362,7 @@ function createMatrxContentTransferAdapter(options) {
|
|
|
1339
1362
|
organization_id: organizationId(),
|
|
1340
1363
|
source_app: options.sourceApp,
|
|
1341
1364
|
source_feature: `mandate:${MANDATE_KEYS.alchemy__prepare_content}`,
|
|
1365
|
+
initiation: options.initiation ?? "user",
|
|
1342
1366
|
user_input: input.instruction,
|
|
1343
1367
|
variables: {
|
|
1344
1368
|
prepared_content: preparedContent,
|