@ai-matrx/agents 0.59.155 → 0.59.156

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 CHANGED
@@ -4,11 +4,21 @@
4
4
 
5
5
  - **`toolPriceText` returns null for a zero-cost tool instead of "Free" (2026-10-18, law 14: no "Free").** Positive hints still read "N pts". Consumer action: none (callers already handle null).
6
6
 
7
- ## 0.59.155
7
+ ## 0.59.156
8
8
 
9
9
  UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
10
10
  Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/matrx-agents/src`.
11
11
 
12
+ ## 0.59.155
13
+
14
+ Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff a984f50dbf 6f06fc0b08 -- apps/shared/matrx-agents/src`
15
+ has no shipped-source changes outside tests, fixtures and docs). No consumer action required.
16
+
17
+ ## 0.59.154
18
+
19
+ Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff 866fd4afa5 a984f50dbf -- apps/shared/matrx-agents/src`
20
+ has no shipped-source changes outside tests, fixtures and docs). No consumer action required.
21
+
12
22
  ## 0.59.153
13
23
 
14
24
  Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff c1a12e82cd 866fd4afa5 -- apps/shared/matrx-agents/src`
@@ -695,7 +695,7 @@ var MANDATE_KEYS = {
695
695
  workflow__steward__user_input: "workflow.steward.user_input",
696
696
  workflow__wizard__agent_run: "workflow.wizard.agent_run",
697
697
  /**
698
- * @deprecated retiring since 0.59.155 — no longer declared in
698
+ * @deprecated retiring since 0.59.156 — no longer declared in
699
699
  * aidream. It leaves this union once no snapshot within the last
700
700
  * 3 published versions still carries it as active.
701
701
  */
@@ -672,7 +672,7 @@ var MANDATE_KEYS = {
672
672
  workflow__steward__user_input: "workflow.steward.user_input",
673
673
  workflow__wizard__agent_run: "workflow.wizard.agent_run",
674
674
  /**
675
- * @deprecated retiring since 0.59.155 — no longer declared in
675
+ * @deprecated retiring since 0.59.156 — no longer declared in
676
676
  * aidream. It leaves this union once no snapshot within the last
677
677
  * 3 published versions still carries it as active.
678
678
  */
@@ -648,7 +648,7 @@ var MANDATE_KEYS = {
648
648
  workflow__steward__user_input: "workflow.steward.user_input",
649
649
  workflow__wizard__agent_run: "workflow.wizard.agent_run",
650
650
  /**
651
- * @deprecated retiring since 0.59.155 — no longer declared in
651
+ * @deprecated retiring since 0.59.156 — no longer declared in
652
652
  * aidream. It leaves this union once no snapshot within the last
653
653
  * 3 published versions still carries it as active.
654
654
  */
@@ -620,7 +620,7 @@ var MANDATE_KEYS = {
620
620
  workflow__steward__user_input: "workflow.steward.user_input",
621
621
  workflow__wizard__agent_run: "workflow.wizard.agent_run",
622
622
  /**
623
- * @deprecated retiring since 0.59.155 — no longer declared in
623
+ * @deprecated retiring since 0.59.156 — no longer declared in
624
624
  * aidream. It leaves this union once no snapshot within the last
625
625
  * 3 published versions still carries it as active.
626
626
  */
@@ -47,9 +47,9 @@ module.exports = __toCommonJS(mandates_exports);
47
47
 
48
48
  // mandates/keys.generated.ts
49
49
  var MANDATE_KEYS_META = {
50
- aidreamRevision: "6f06fc0b082c233fe6a82aaf3c673f247cc8ea33",
50
+ aidreamRevision: "f8faa6382e12a7fd01b501b346fee21c4c31364f",
51
51
  generatorVersion: "1.0.0",
52
- packageVersion: "0.59.155",
52
+ packageVersion: "0.59.156",
53
53
  retireWindow: 3
54
54
  };
55
55
  var MANDATE_KEYS = {
@@ -658,7 +658,7 @@ var MANDATE_KEYS = {
658
658
  workflow__steward__user_input: "workflow.steward.user_input",
659
659
  workflow__wizard__agent_run: "workflow.wizard.agent_run",
660
660
  /**
661
- * @deprecated retiring since 0.59.155 — no longer declared in
661
+ * @deprecated retiring since 0.59.156 — no longer declared in
662
662
  * aidream. It leaves this union once no snapshot within the last
663
663
  * 3 published versions still carries it as active.
664
664
  */
@@ -684,7 +684,7 @@ var MANDATE_KEYS = {
684
684
  };
685
685
  var ALL_MANDATE_KEYS = Object.values(MANDATE_KEYS);
686
686
  var RETIRING_MANDATE_KEYS = {
687
- "brand_discovery.offering_roles": "0.59.155",
687
+ "brand_discovery.offering_roles": "0.59.156",
688
688
  "pdf.content_cleaner": "0.59.0",
689
689
  "sms.owner_beta": "0.59.0",
690
690
  "voice.owner_beta": "0.59.0"
@@ -6,9 +6,9 @@
6
6
  * from the IN-PROCESS mandate declarations — the same `declared_mandates()` the
7
7
  * boot sync writes to the database from. There is no hand list anywhere.
8
8
  *
9
- * aidream revision: 6f06fc0b082c233fe6a82aaf3c673f247cc8ea33
9
+ * aidream revision: f8faa6382e12a7fd01b501b346fee21c4c31364f
10
10
  * generator version: 1.0.0
11
- * package version: 0.59.155
11
+ * package version: 0.59.156
12
12
  * active keys: 604
13
13
  * retiring keys: 4
14
14
  *
@@ -19,9 +19,9 @@
19
19
  */
20
20
  /** Where this module came from — surfaced so a report can name the exact build. */
21
21
  declare const MANDATE_KEYS_META: {
22
- readonly aidreamRevision: "6f06fc0b082c233fe6a82aaf3c673f247cc8ea33";
22
+ readonly aidreamRevision: "f8faa6382e12a7fd01b501b346fee21c4c31364f";
23
23
  readonly generatorVersion: "1.0.0";
24
- readonly packageVersion: "0.59.155";
24
+ readonly packageVersion: "0.59.156";
25
25
  readonly retireWindow: 3;
26
26
  };
27
27
  /** Every declared mandate key, by THE IDENTIFIER RULE. */
@@ -631,7 +631,7 @@ declare const MANDATE_KEYS: {
631
631
  readonly workflow__steward__user_input: "workflow.steward.user_input";
632
632
  readonly workflow__wizard__agent_run: "workflow.wizard.agent_run";
633
633
  /**
634
- * @deprecated retiring since 0.59.155 — no longer declared in
634
+ * @deprecated retiring since 0.59.156 — no longer declared in
635
635
  * aidream. It leaves this union once no snapshot within the last
636
636
  * 3 published versions still carries it as active.
637
637
  */
@@ -661,7 +661,7 @@ type MandateKey = (typeof MANDATE_KEYS)[keyof typeof MANDATE_KEYS];
661
661
  declare const ALL_MANDATE_KEYS: readonly MandateKey[];
662
662
  /** Keys still in the union but no longer declared (two-phase retire, phase 1). */
663
663
  declare const RETIRING_MANDATE_KEYS: {
664
- readonly "brand_discovery.offering_roles": "0.59.155";
664
+ readonly "brand_discovery.offering_roles": "0.59.156";
665
665
  readonly "pdf.content_cleaner": "0.59.0";
666
666
  readonly "sms.owner_beta": "0.59.0";
667
667
  readonly "voice.owner_beta": "0.59.0";
@@ -6,9 +6,9 @@
6
6
  * from the IN-PROCESS mandate declarations — the same `declared_mandates()` the
7
7
  * boot sync writes to the database from. There is no hand list anywhere.
8
8
  *
9
- * aidream revision: 6f06fc0b082c233fe6a82aaf3c673f247cc8ea33
9
+ * aidream revision: f8faa6382e12a7fd01b501b346fee21c4c31364f
10
10
  * generator version: 1.0.0
11
- * package version: 0.59.155
11
+ * package version: 0.59.156
12
12
  * active keys: 604
13
13
  * retiring keys: 4
14
14
  *
@@ -19,9 +19,9 @@
19
19
  */
20
20
  /** Where this module came from — surfaced so a report can name the exact build. */
21
21
  declare const MANDATE_KEYS_META: {
22
- readonly aidreamRevision: "6f06fc0b082c233fe6a82aaf3c673f247cc8ea33";
22
+ readonly aidreamRevision: "f8faa6382e12a7fd01b501b346fee21c4c31364f";
23
23
  readonly generatorVersion: "1.0.0";
24
- readonly packageVersion: "0.59.155";
24
+ readonly packageVersion: "0.59.156";
25
25
  readonly retireWindow: 3;
26
26
  };
27
27
  /** Every declared mandate key, by THE IDENTIFIER RULE. */
@@ -631,7 +631,7 @@ declare const MANDATE_KEYS: {
631
631
  readonly workflow__steward__user_input: "workflow.steward.user_input";
632
632
  readonly workflow__wizard__agent_run: "workflow.wizard.agent_run";
633
633
  /**
634
- * @deprecated retiring since 0.59.155 — no longer declared in
634
+ * @deprecated retiring since 0.59.156 — no longer declared in
635
635
  * aidream. It leaves this union once no snapshot within the last
636
636
  * 3 published versions still carries it as active.
637
637
  */
@@ -661,7 +661,7 @@ type MandateKey = (typeof MANDATE_KEYS)[keyof typeof MANDATE_KEYS];
661
661
  declare const ALL_MANDATE_KEYS: readonly MandateKey[];
662
662
  /** Keys still in the union but no longer declared (two-phase retire, phase 1). */
663
663
  declare const RETIRING_MANDATE_KEYS: {
664
- readonly "brand_discovery.offering_roles": "0.59.155";
664
+ readonly "brand_discovery.offering_roles": "0.59.156";
665
665
  readonly "pdf.content_cleaner": "0.59.0";
666
666
  readonly "sms.owner_beta": "0.59.0";
667
667
  readonly "voice.owner_beta": "0.59.0";
@@ -1,8 +1,8 @@
1
1
  // mandates/keys.generated.ts
2
2
  var MANDATE_KEYS_META = {
3
- aidreamRevision: "6f06fc0b082c233fe6a82aaf3c673f247cc8ea33",
3
+ aidreamRevision: "f8faa6382e12a7fd01b501b346fee21c4c31364f",
4
4
  generatorVersion: "1.0.0",
5
- packageVersion: "0.59.155",
5
+ packageVersion: "0.59.156",
6
6
  retireWindow: 3
7
7
  };
8
8
  var MANDATE_KEYS = {
@@ -611,7 +611,7 @@ var MANDATE_KEYS = {
611
611
  workflow__steward__user_input: "workflow.steward.user_input",
612
612
  workflow__wizard__agent_run: "workflow.wizard.agent_run",
613
613
  /**
614
- * @deprecated retiring since 0.59.155 — no longer declared in
614
+ * @deprecated retiring since 0.59.156 — no longer declared in
615
615
  * aidream. It leaves this union once no snapshot within the last
616
616
  * 3 published versions still carries it as active.
617
617
  */
@@ -637,7 +637,7 @@ var MANDATE_KEYS = {
637
637
  };
638
638
  var ALL_MANDATE_KEYS = Object.values(MANDATE_KEYS);
639
639
  var RETIRING_MANDATE_KEYS = {
640
- "brand_discovery.offering_roles": "0.59.155",
640
+ "brand_discovery.offering_roles": "0.59.156",
641
641
  "pdf.content_cleaner": "0.59.0",
642
642
  "sms.owner_beta": "0.59.0",
643
643
  "voice.owner_beta": "0.59.0"
@@ -188,6 +188,9 @@ var FEATURE_KEYS = [
188
188
  // Anthropic removed it on Sonnet 5 / Opus 5 / Fable / 4.6-4.8; older Claude
189
189
  // models keep it. Read by features/agents/message-flags (the Prefill flag).
190
190
  "assistant_prefill",
191
+ // The model rejects two user-role turns in a row (probe-proven). The server then
192
+ // places its per-turn host block at the end of the system message.
193
+ "strict_role_alternation",
191
194
  // Extraction family (GLiNER2 / fastino models)
192
195
  "ner",
193
196
  "classification",
@@ -2,7 +2,7 @@ declare const CONTENT_TYPES: readonly ["text", "image", "audio", "video", "docum
2
2
  type ContentType = (typeof CONTENT_TYPES)[number];
3
3
  declare const INTERACTION_MODES: readonly ["turn", "single", "extraction", "realtime", "embedding", "agent", "decision", "adapter", "detection"];
4
4
  type InteractionMode = (typeof INTERACTION_MODES)[number];
5
- declare const FEATURE_KEYS: readonly ["streaming", "function_calling", "tool_calling", "thinking", "structured_output", "json_mode", "web_search", "x_search", "vision", "code_execution", "computer_use", "multi_turn", "system_prompt", "embeddings", "dimension_reduction", "fine_tuning", "batch_api", "prompt_caching", "context_caching", "context_management", "partial_mode", "assistant_prefill", "ner", "classification", "structured_extraction", "relation_extraction", "pii_detection", "image_generation", "image_editing", "inpainting", "image_to_video", "video_generation", "video_editing", "audio_generation", "conversational_editing", "stateful_editing", "dialogue", "file_search", "mcp", "background_execution", "collaborative_planning", "visualization", "citations", "sandboxed_execution", "live_api", "url_context", "grounding_maps", "multimodal_embedding", "music_generation", "real_time_translation", "long_decode"];
5
+ declare const FEATURE_KEYS: readonly ["streaming", "function_calling", "tool_calling", "thinking", "structured_output", "json_mode", "web_search", "x_search", "vision", "code_execution", "computer_use", "multi_turn", "system_prompt", "embeddings", "dimension_reduction", "fine_tuning", "batch_api", "prompt_caching", "context_caching", "context_management", "partial_mode", "assistant_prefill", "strict_role_alternation", "ner", "classification", "structured_extraction", "relation_extraction", "pii_detection", "image_generation", "image_editing", "inpainting", "image_to_video", "video_generation", "video_editing", "audio_generation", "conversational_editing", "stateful_editing", "dialogue", "file_search", "mcp", "background_execution", "collaborative_planning", "visualization", "citations", "sandboxed_execution", "live_api", "url_context", "grounding_maps", "multimodal_embedding", "music_generation", "real_time_translation", "long_decode"];
6
6
  type FeatureKey = (typeof FEATURE_KEYS)[number];
7
7
  interface ModelCapabilities {
8
8
  input: ContentType[];
@@ -2,7 +2,7 @@ declare const CONTENT_TYPES: readonly ["text", "image", "audio", "video", "docum
2
2
  type ContentType = (typeof CONTENT_TYPES)[number];
3
3
  declare const INTERACTION_MODES: readonly ["turn", "single", "extraction", "realtime", "embedding", "agent", "decision", "adapter", "detection"];
4
4
  type InteractionMode = (typeof INTERACTION_MODES)[number];
5
- declare const FEATURE_KEYS: readonly ["streaming", "function_calling", "tool_calling", "thinking", "structured_output", "json_mode", "web_search", "x_search", "vision", "code_execution", "computer_use", "multi_turn", "system_prompt", "embeddings", "dimension_reduction", "fine_tuning", "batch_api", "prompt_caching", "context_caching", "context_management", "partial_mode", "assistant_prefill", "ner", "classification", "structured_extraction", "relation_extraction", "pii_detection", "image_generation", "image_editing", "inpainting", "image_to_video", "video_generation", "video_editing", "audio_generation", "conversational_editing", "stateful_editing", "dialogue", "file_search", "mcp", "background_execution", "collaborative_planning", "visualization", "citations", "sandboxed_execution", "live_api", "url_context", "grounding_maps", "multimodal_embedding", "music_generation", "real_time_translation", "long_decode"];
5
+ declare const FEATURE_KEYS: readonly ["streaming", "function_calling", "tool_calling", "thinking", "structured_output", "json_mode", "web_search", "x_search", "vision", "code_execution", "computer_use", "multi_turn", "system_prompt", "embeddings", "dimension_reduction", "fine_tuning", "batch_api", "prompt_caching", "context_caching", "context_management", "partial_mode", "assistant_prefill", "strict_role_alternation", "ner", "classification", "structured_extraction", "relation_extraction", "pii_detection", "image_generation", "image_editing", "inpainting", "image_to_video", "video_generation", "video_editing", "audio_generation", "conversational_editing", "stateful_editing", "dialogue", "file_search", "mcp", "background_execution", "collaborative_planning", "visualization", "citations", "sandboxed_execution", "live_api", "url_context", "grounding_maps", "multimodal_embedding", "music_generation", "real_time_translation", "long_decode"];
6
6
  type FeatureKey = (typeof FEATURE_KEYS)[number];
7
7
  interface ModelCapabilities {
8
8
  input: ContentType[];
@@ -49,6 +49,9 @@ var FEATURE_KEYS = [
49
49
  // Anthropic removed it on Sonnet 5 / Opus 5 / Fable / 4.6-4.8; older Claude
50
50
  // models keep it. Read by features/agents/message-flags (the Prefill flag).
51
51
  "assistant_prefill",
52
+ // The model rejects two user-role turns in a row (probe-proven). The server then
53
+ // places its per-turn host block at the end of the system message.
54
+ "strict_role_alternation",
52
55
  // Extraction family (GLiNER2 / fastino models)
53
56
  "ner",
54
57
  "classification",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/agents",
3
- "version": "0.59.155",
3
+ "version": "0.59.156",
4
4
  "description": "Portable AI Matrx agent stream protocol, event projection, and safe result-presentation primitives.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -489,13 +489,13 @@
489
489
  "sideEffects": false,
490
490
  "dependencies": {
491
491
  "@ai-matrx/alchemy": "latest",
492
- "@ai-matrx/associations": "latest",
493
492
  "@ai-matrx/content-ir": "latest",
493
+ "@ai-matrx/associations": "latest",
494
494
  "@ai-matrx/data": "latest",
495
+ "@ai-matrx/api": "latest",
495
496
  "@ai-matrx/design-system": "latest",
496
497
  "@ai-matrx/icons": "latest",
497
- "@ai-matrx/kit": "latest",
498
- "@ai-matrx/api": "latest"
498
+ "@ai-matrx/kit": "latest"
499
499
  },
500
500
  "peerDependencies": {
501
501
  "react": ">=18.0.0",
@@ -540,5 +540,5 @@
540
540
  "verify:tarball": "node ./scripts/verify-tarball.mjs",
541
541
  "typegen:self-test": "node scripts/typegen/drop-guard.self-test.mjs && node scripts/typegen/check-api-types-fresh.mjs --self-test"
542
542
  },
543
- "gitHead": "6f06fc0b082c233fe6a82aaf3c673f247cc8ea33"
543
+ "gitHead": "f8faa6382e12a7fd01b501b346fee21c4c31364f"
544
544
  }