@ai-matrx/agents 0.15.1 → 0.16.18

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 (51) hide show
  1. package/CHANGELOG.md +144 -0
  2. package/README.md +8 -4
  3. package/dist/catalog/index.cjs +82 -50
  4. package/dist/catalog/index.cjs.map +1 -1
  5. package/dist/catalog/index.d.cts +21 -10
  6. package/dist/catalog/index.d.ts +21 -10
  7. package/dist/catalog/index.js +82 -50
  8. package/dist/catalog/index.js.map +1 -1
  9. package/dist/catalog/native/index.cjs +2 -3
  10. package/dist/catalog/native/index.cjs.map +1 -1
  11. package/dist/catalog/native/index.d.cts +4 -5
  12. package/dist/catalog/native/index.d.ts +4 -5
  13. package/dist/catalog/native/index.js +2 -3
  14. package/dist/catalog/native/index.js.map +1 -1
  15. package/dist/catalog/react/index.cjs +6 -7
  16. package/dist/catalog/react/index.cjs.map +1 -1
  17. package/dist/catalog/react/index.d.cts +2 -9
  18. package/dist/catalog/react/index.d.ts +2 -9
  19. package/dist/catalog/react/index.js +6 -7
  20. package/dist/catalog/react/index.js.map +1 -1
  21. package/dist/content-transfer/index.cjs.map +1 -1
  22. package/dist/content-transfer/index.js.map +1 -1
  23. package/dist/content-transfer/react/index.cjs.map +1 -1
  24. package/dist/content-transfer/react/index.js.map +1 -1
  25. package/dist/mandates/index.cjs +2 -2
  26. package/dist/mandates/index.cjs.map +1 -1
  27. package/dist/mandates/index.d.cts +4 -4
  28. package/dist/mandates/index.d.ts +4 -4
  29. package/dist/mandates/index.js +2 -2
  30. package/dist/mandates/index.js.map +1 -1
  31. package/dist/{orchestra-BDXdut6Y.d.cts → orchestra-PbGGooqJ.d.cts} +50 -25
  32. package/dist/{orchestra-BDXdut6Y.d.ts → orchestra-PbGGooqJ.d.ts} +50 -25
  33. package/mandates/snapshots/keys.0.16.1.json +625 -0
  34. package/mandates/snapshots/keys.0.16.10.json +625 -0
  35. package/mandates/snapshots/keys.0.16.11.json +625 -0
  36. package/mandates/snapshots/keys.0.16.12.json +625 -0
  37. package/mandates/snapshots/keys.0.16.13.json +625 -0
  38. package/mandates/snapshots/keys.0.16.14.json +625 -0
  39. package/mandates/snapshots/keys.0.16.15.json +625 -0
  40. package/mandates/snapshots/keys.0.16.16.json +625 -0
  41. package/mandates/snapshots/keys.0.16.17.json +625 -0
  42. package/mandates/snapshots/keys.0.16.18.json +625 -0
  43. package/mandates/snapshots/keys.0.16.2.json +625 -0
  44. package/mandates/snapshots/keys.0.16.3.json +625 -0
  45. package/mandates/snapshots/keys.0.16.4.json +625 -0
  46. package/mandates/snapshots/keys.0.16.5.json +625 -0
  47. package/mandates/snapshots/keys.0.16.6.json +625 -0
  48. package/mandates/snapshots/keys.0.16.7.json +625 -0
  49. package/mandates/snapshots/keys.0.16.8.json +625 -0
  50. package/mandates/snapshots/keys.0.16.9.json +625 -0
  51. package/package.json +2 -1
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ComponentType, ReactNode } from 'react';
3
- import { x as AgentCatalogNavigate, z as AgentCatalogOpenPeek, q as AgentCatalog, A as AgentSummary, E as AgentCatalogState, g as AgentTab, j as AgentSortOption, I as AgentFavFilter, f as AgentArchFilter, n as AgentAccessFilter, i as AgentConsumerState, O as DefaultRowState } from '../../orchestra-BDXdut6Y.cjs';
4
- export { P as OrchestraBadge, a0 as orchestraDelegatesLine, a1 as orchestraDepthLine, a2 as orchestraLabel, a3 as orchestraModeLabel } from '../../orchestra-BDXdut6Y.cjs';
3
+ import { y as AgentCatalogNavigate, B as AgentCatalogOpenPeek, r as AgentCatalog, A as AgentSummary, F as AgentCatalogState, h as AgentTab, k as AgentSortOption, I as AgentFavFilter, g as AgentArchFilter, o as AgentAccessFilter, j as AgentConsumerState, O as DefaultRowState } from '../../orchestra-PbGGooqJ.cjs';
4
+ export { P as OrchestraBadge, a0 as orchestraDelegatesLine, a1 as orchestraDepthLine, a2 as orchestraLabel, a3 as orchestraModeLabel } from '../../orchestra-PbGGooqJ.cjs';
5
5
 
6
6
  /**
7
7
  * The anchor a row renders for cmd/ctrl-click. DEFAULT (web): a plain `<a>` —
@@ -491,9 +491,8 @@ declare function AgentSubView({ view, consumer, allCategories, allTags, search,
491
491
  /**
492
492
  * catalog/native/FavoriteAgentButton.tsx — the native twin of
493
493
  * `catalog/react/FavoriteAgentButton.tsx`. Same one write
494
- * (`catalog.setFavorite`, optimistic and rolled back by the store), same
495
- * ownership rule: a row you do not own cannot be favourited, and the control
496
- * says so instead of silently doing nothing.
494
+ * (`catalog.setFavorite` → `platform.user_entity_state`, optimistic and
495
+ * rolled back by the store). A star is per-person, so every row is starrable.
497
496
  */
498
497
  interface FavoriteAgentButtonProps {
499
498
  id: string;
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ComponentType, ReactNode } from 'react';
3
- import { x as AgentCatalogNavigate, z as AgentCatalogOpenPeek, q as AgentCatalog, A as AgentSummary, E as AgentCatalogState, g as AgentTab, j as AgentSortOption, I as AgentFavFilter, f as AgentArchFilter, n as AgentAccessFilter, i as AgentConsumerState, O as DefaultRowState } from '../../orchestra-BDXdut6Y.js';
4
- export { P as OrchestraBadge, a0 as orchestraDelegatesLine, a1 as orchestraDepthLine, a2 as orchestraLabel, a3 as orchestraModeLabel } from '../../orchestra-BDXdut6Y.js';
3
+ import { y as AgentCatalogNavigate, B as AgentCatalogOpenPeek, r as AgentCatalog, A as AgentSummary, F as AgentCatalogState, h as AgentTab, k as AgentSortOption, I as AgentFavFilter, g as AgentArchFilter, o as AgentAccessFilter, j as AgentConsumerState, O as DefaultRowState } from '../../orchestra-PbGGooqJ.js';
4
+ export { P as OrchestraBadge, a0 as orchestraDelegatesLine, a1 as orchestraDepthLine, a2 as orchestraLabel, a3 as orchestraModeLabel } from '../../orchestra-PbGGooqJ.js';
5
5
 
6
6
  /**
7
7
  * The anchor a row renders for cmd/ctrl-click. DEFAULT (web): a plain `<a>` —
@@ -491,9 +491,8 @@ declare function AgentSubView({ view, consumer, allCategories, allTags, search,
491
491
  /**
492
492
  * catalog/native/FavoriteAgentButton.tsx — the native twin of
493
493
  * `catalog/react/FavoriteAgentButton.tsx`. Same one write
494
- * (`catalog.setFavorite`, optimistic and rolled back by the store), same
495
- * ownership rule: a row you do not own cannot be favourited, and the control
496
- * says so instead of silently doing nothing.
494
+ * (`catalog.setFavorite` → `platform.user_entity_state`, optimistic and
495
+ * rolled back by the store). A star is per-person, so every row is starrable.
497
496
  */
498
497
  interface FavoriteAgentButtonProps {
499
498
  id: string;
@@ -1292,9 +1292,8 @@ function FavoriteAgentButton({
1292
1292
  const select = useCallback4((state) => state.byId[id], [id]);
1293
1293
  const record = useAgentCatalogState(select);
1294
1294
  const isFavorite2 = record?.isFavorite ?? false;
1295
- const isOwner = record?.isOwner ?? true;
1296
- const inert = Boolean(disabled) || !isOwner;
1297
- const title = isOwner ? isFavorite2 ? "Remove from favorites" : "Add to favorites" : "Shared \u2014 cannot favorite";
1295
+ const inert = Boolean(disabled);
1296
+ const title = isFavorite2 ? "Remove from favorites" : "Add to favorites";
1298
1297
  return /* @__PURE__ */ jsx4(
1299
1298
  Pressable2,
1300
1299
  {