@ai-matrx/agents 0.38.4 → 0.41.0

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/catalog/index.cjs +3 -1
  3. package/dist/catalog/index.cjs.map +1 -1
  4. package/dist/catalog/index.d.cts +2 -2
  5. package/dist/catalog/index.d.ts +2 -2
  6. package/dist/catalog/index.js +3 -1
  7. package/dist/catalog/index.js.map +1 -1
  8. package/dist/catalog/native/index.cjs +4 -1
  9. package/dist/catalog/native/index.cjs.map +1 -1
  10. package/dist/catalog/native/index.d.cts +8 -3
  11. package/dist/catalog/native/index.d.ts +8 -3
  12. package/dist/catalog/native/index.js +4 -1
  13. package/dist/catalog/native/index.js.map +1 -1
  14. package/dist/catalog/react/index.cjs +1 -0
  15. package/dist/catalog/react/index.cjs.map +1 -1
  16. package/dist/catalog/react/index.d.cts +13 -1
  17. package/dist/catalog/react/index.d.ts +13 -1
  18. package/dist/catalog/react/index.js +1 -0
  19. package/dist/catalog/react/index.js.map +1 -1
  20. package/dist/content-transfer/index.cjs.map +1 -1
  21. package/dist/content-transfer/index.js.map +1 -1
  22. package/dist/content-transfer/react/index.cjs.map +1 -1
  23. package/dist/content-transfer/react/index.js.map +1 -1
  24. package/dist/context/index.cjs +0 -25
  25. package/dist/context/index.cjs.map +1 -1
  26. package/dist/context/index.d.cts +2 -17
  27. package/dist/context/index.d.ts +2 -17
  28. package/dist/context/index.js +0 -25
  29. package/dist/context/index.js.map +1 -1
  30. package/dist/context/react/index.cjs +280 -98
  31. package/dist/context/react/index.cjs.map +1 -1
  32. package/dist/context/react/index.d.cts +134 -16
  33. package/dist/context/react/index.d.ts +134 -16
  34. package/dist/context/react/index.js +283 -101
  35. package/dist/context/react/index.js.map +1 -1
  36. package/dist/index.cjs +6 -3
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.d.cts +9 -6
  39. package/dist/index.d.ts +9 -6
  40. package/dist/index.js +6 -3
  41. package/dist/index.js.map +1 -1
  42. package/dist/{keys.generated-DxG5tgWt.d.cts → keys.generated-ClN6zfUo.d.cts} +4 -4
  43. package/dist/{keys.generated-DxG5tgWt.d.ts → keys.generated-ClN6zfUo.d.ts} +4 -4
  44. package/dist/mandates/index.cjs +2 -2
  45. package/dist/mandates/index.cjs.map +1 -1
  46. package/dist/mandates/index.d.cts +2 -2
  47. package/dist/mandates/index.d.ts +2 -2
  48. package/dist/mandates/index.js +2 -2
  49. package/dist/mandates/index.js.map +1 -1
  50. package/dist/matrx/index.d.cts +1 -1
  51. package/dist/matrx/index.d.ts +1 -1
  52. package/dist/{orchestra-zpGHwOag.d.cts → orchestra-CiaTu58J.d.cts} +7 -0
  53. package/dist/{orchestra-zpGHwOag.d.ts → orchestra-CiaTu58J.d.ts} +7 -0
  54. package/mandates/snapshots/keys.0.39.0.json +653 -0
  55. package/mandates/snapshots/keys.0.40.0.json +653 -0
  56. package/mandates/snapshots/keys.0.41.0.json +653 -0
  57. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.41.0
4
+ ### The transitional humanizer names are gone
5
+
6
+ - `./context` no longer exports `humanizeContextKey` or `CONTEXT_KEY_ACRONYMS`; THE humanizer is `@ai-matrx/kit/text-case` `humanizeIdentifier` / `IDENTIFIER_ACRONYMS` (the corpus `humanize_cases` still runs against it here).
7
+ - Consumer action: import `humanizeIdentifier` from `@ai-matrx/kit/text-case` (matrx-frontend already does).
8
+ - `ContextRulesTable`: a level heading's section yields width first, so a narrow popover keeps the page's own name readable ("Marketing › Marketing Brand Co…", never "Ma… › Marketing…").
9
+ - `ContextRulesTable` gains `renderRowLead` / `renderRowTrail`: host slots inside a row's Item cell (a status mark, an admin's machine name), so an inspector renders through the same table instead of its own list.
10
+
11
+ ## 0.40.0
12
+ ### Catalog rows carry the agent's class pin
13
+
14
+ - `AgentSummary.offeringId` — the agent's class pin (`settings.offering_id`) when the list/search read carries an `offering_id` column: a uuid, or `null` for no pin. ABSENT when the read does not carry the column (class unknown — never guessed).
15
+ - `renderModelRef` receives `offeringId` (same three states) so a host can name the class beside the model ("Qwen3.8 27B · Matrx Lightning"). Web and native detail cards pass it.
16
+ - Consumer action: optional — read `offeringId` in your `renderModelRef` and name the class when it is not `undefined`. Nothing changes until `agx_get_list_full` / `agx_search` return `offering_id`.
17
+
18
+ ### Variables carry the person's label; one humanizer
19
+
20
+ - `RunInputVariable.label` — what the person called the variable ("Normal Text"); `name` stays the `{{normal_text}}` key. `variableRunLabel` returns the label first, then a reference role's ask, then the key through THE humanizer; its `formatName` argument (and `deriveRunInputs`'s) is now optional and defaults to `@ai-matrx/kit/text-case` `humanizeIdentifier`.
21
+ - `./context` `humanizeContextKey` / `CONTEXT_KEY_ACRONYMS` are now kit's `humanizeIdentifier` / `IDENTIFIER_ACRONYMS` (transitional names, deleted once matrx-frontend imports kit). The corpus case `myValue_ID` now reads "My Value ID" (camelCase splits — the Python twin changed with it).
22
+ - Consumer action: pass `label` through every variable definition you build; drop the `formatText` argument to `variableRunLabel`.
23
+
24
+ ## 0.39.0
25
+ ### Context rules: one hierarchy, a switch per level
26
+
27
+ - `./context/react` adds the hierarchy (`buildContextLevels`, `placeByOrigin`, `includeChanges`, `ContextHierarchy`): rows sit under levels (a page by its section and name, "Attached", "AI Matrx") and the host's declared groups, each heading with an Include switch, its included count and chars.
28
+ - `ContextRulesTable`, `ContextRulesChip` and `ContextRulesPanelBody` take `hierarchy` and `onSetInclude`. A level or group switch is the person's per-value include rules for every value in it, in one call (no new rule kind — the server gate and receipt are unchanged). A host master switch (`hierarchy.masters`, the page on/off) sits on its level and replaces the chip header's page switch.
29
+ - The platform's own values read "AI Matrx", never "System".
30
+ - Consumer action: none required; pass `hierarchy` + `onSetInclude` to get the levels and their switches.
31
+
3
32
  ## 0.38.4
4
33
 
5
34
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -251,7 +251,9 @@ function toAgentSummary(raw) {
251
251
  isOwner: boolOrNull(raw["is_owner"]),
252
252
  accessLevel: str(raw["access_level"]),
253
253
  sharedByEmail: str(raw["shared_by_email"]),
254
- orchestra: orchestraBadge(raw["orchestra"])
254
+ orchestra: orchestraBadge(raw["orchestra"]),
255
+ // Present only when the read carries the column: absent ≠ "no pin".
256
+ ..."offering_id" in raw ? { offeringId: str(raw["offering_id"]) } : {}
255
257
  };
256
258
  }
257
259