@ai-matrx/chat 0.3.32 → 0.4.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 (64) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/agents/components/ambient-assistant/intelligence-places.js +2 -2
  3. package/dist/agents/components/chat/ChatConversationRoom.d.ts +7 -1
  4. package/dist/agents/components/chat/ChatConversationRoom.js +8 -2
  5. package/dist/agents/components/chat/intelligence-places.js +7 -7
  6. package/dist/agents/components/inputs/smart-input/RunToolPicker.js +7 -13
  7. package/dist/agents/components/inputs/smart-input/composer/ComposerAgentPill.js +3 -2
  8. package/dist/agents/components/inputs/smart-input/composer/useComposerAgent.js +5 -5
  9. package/dist/agents/components/inputs/smart-input/composer/useComposerAgentFilter.js +3 -2
  10. package/dist/agents/components/run-controls/RunConfigOverrides.js +10 -16
  11. package/dist/agents/components/run-controls/panels/shared.d.ts +0 -1
  12. package/dist/agents/hooks/useAgentModelLabel.js +4 -3
  13. package/dist/agents/hooks/useDiffEnrichment.js +3 -5
  14. package/dist/agents/hooks/useModelControls.d.ts +5 -161
  15. package/dist/agents/identity/model-catalog.d.ts +37 -0
  16. package/dist/agents/identity/model-catalog.js +103 -0
  17. package/dist/agents/redux/agent-definition/selectors.d.ts +0 -237
  18. package/dist/agents/redux/agent-definition/thunks.d.ts +1 -1
  19. package/dist/agents/redux/agent-settings/agentSettingsSlice.d.ts +1 -1
  20. package/dist/agents/redux/agent-settings/agentSettingsSlice.js +4 -6
  21. package/dist/agents/redux/agent-settings/selectors.d.ts +1 -152
  22. package/dist/agents/redux/agent-settings/selectors.js +0 -39
  23. package/dist/agents/redux/agent-settings/useNormalizedControls.d.ts +8 -0
  24. package/dist/agents/redux/agent-settings/useNormalizedControls.js +24 -0
  25. package/dist/agents/redux/agent-shortcut-categories/selectors.d.ts +0 -50
  26. package/dist/agents/redux/agent-shortcuts/selectors.d.ts +0 -147
  27. package/dist/agents/redux/conversation-history/selectors.d.ts +0 -16
  28. package/dist/agents/redux/conversation-list/conversation-list.selectors.d.ts +0 -2
  29. package/dist/agents/redux/execution-system/active-requests/active-requests.selectors.d.ts +0 -54
  30. package/dist/agents/redux/execution-system/context-state/context-state.selectors.d.ts +0 -14
  31. package/dist/agents/redux/execution-system/conversations/conversations.selectors.d.ts +0 -5
  32. package/dist/agents/redux/execution-system/instance-context/instance-context.selectors.d.ts +0 -3
  33. package/dist/agents/redux/execution-system/instance-resources/instance-resources.selectors.d.ts +0 -8
  34. package/dist/agents/redux/execution-system/instance-ui-state/instance-ui-state.selectors.d.ts +0 -5
  35. package/dist/agents/redux/execution-system/instance-variable-values/instance-variable-values.selectors.d.ts +0 -7
  36. package/dist/agents/redux/execution-system/messages/messages.selectors.d.ts +0 -1
  37. package/dist/agents/redux/execution-system/observability/observability.selectors.d.ts +0 -7
  38. package/dist/agents/redux/execution-system/observational-memory/observational-memory.selectors.d.ts +0 -1
  39. package/dist/agents/redux/execution-system/selectors/aggregate.selectors.d.ts +0 -14
  40. package/dist/agents/redux/execution-system/thunks/execute-manual-instance.thunk.js +2 -2
  41. package/dist/agents/redux/execution-system/thunks/launch-agent-execution.thunk.js +10 -2
  42. package/dist/agents/redux/execution-system/utils/required-organization.d.ts +14 -0
  43. package/dist/agents/redux/execution-system/utils/required-organization.js +4 -0
  44. package/dist/agents/redux/model-registry.d.ts +6 -4
  45. package/dist/agents/redux/model-registry.js +23 -5
  46. package/dist/agents/redux/proposed-directives/proposedDirectivesSlice.d.ts +0 -1
  47. package/dist/agents/redux/tools/tools.selectors.d.ts +0 -1
  48. package/dist/agents/runtime/generation-job.js +4 -7
  49. package/dist/agents/runtime/get-model-capabilities.js +3 -3
  50. package/dist/agents/ui-first-tools/redux/agent-lists.selectors.d.ts +0 -2
  51. package/dist/host/db-types.d.ts +276 -9
  52. package/dist/store/create-chat-store.d.ts +0 -2
  53. package/dist/store/middlewares.d.ts +0 -5
  54. package/dist/store/slices.d.ts +0 -1
  55. package/dist/store/slices.js +0 -2
  56. package/dist/surfaces/redux/selectors.d.ts +0 -2
  57. package/dist/tool-call-visualization/intelligence-places.js +1 -1
  58. package/dist/tool-call-visualization/redux/selectors.d.ts +0 -1
  59. package/dist/voice-agent/intelligence-places.js +6 -6
  60. package/package.json +4 -4
  61. package/dist/agents/model-registry/modelRegistrySlice.d.ts +0 -691
  62. package/dist/agents/model-registry/modelRegistrySlice.js +0 -574
  63. package/dist/host/model-class.d.ts +0 -33
  64. package/dist/host/model-class.js +0 -21
@@ -47,7 +47,6 @@ export declare const selectActiveSurfaces: ((state: {
47
47
  proposedDirectives: import("../../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
48
48
  agentSettings: import("../../agents/redux/agent-settings/types.js").AgentSettingsState;
49
49
  conversationAttachments: import("../../agents/connectors/attachments.slice.js").AttachmentsSliceState;
50
- modelRegistry: import("../../agents/model-registry/modelRegistrySlice.js").ModelRegistryState;
51
50
  chatHost: import("../../store/chat-host.slice.js").ChatHostState;
52
51
  } & import("../../store/root-state.js").ChatHostReadSlices) => import("../services/surfaces.service.js").SurfaceWithStats[]) & {
53
52
  clearCache: () => void;
@@ -120,7 +119,6 @@ export declare const makeSelectBindingsForAgent: (agentId: string) => ((state: {
120
119
  proposedDirectives: import("../../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
121
120
  agentSettings: import("../../agents/redux/agent-settings/types.js").AgentSettingsState;
122
121
  conversationAttachments: import("../../agents/connectors/attachments.slice.js").AttachmentsSliceState;
123
- modelRegistry: import("../../agents/model-registry/modelRegistrySlice.js").ModelRegistryState;
124
122
  chatHost: import("../../store/chat-host.slice.js").ChatHostState;
125
123
  } & import("../../store/root-state.js").ChatHostReadSlices) => AgentSurfaceBinding[]) & {
126
124
  clearCache: () => void;
@@ -3,7 +3,7 @@ const K = MANDATE_KEYS;
3
3
  const TOOL_VIZ_PLACES = {
4
4
  feature: "tool_viz",
5
5
  label: "Tool displays",
6
- roots: ["features/tool-call-visualization", "packages/chat/src/tool-call-visualization"],
6
+ roots: ["features/tool-call-visualization", "apps/shared/chat/src/tool-call-visualization"],
7
7
  places: [
8
8
  {
9
9
  id: "component-generator",
@@ -64,7 +64,6 @@ export declare const selectOrderedToolLifecycles: (requestId: string) => ((state
64
64
  proposedDirectives: import("../../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
65
65
  agentSettings: import("../../agents/redux/agent-settings/types.js").AgentSettingsState;
66
66
  conversationAttachments: import("../../agents/connectors/attachments.slice.js").AttachmentsSliceState;
67
- modelRegistry: import("../../agents/model-registry/modelRegistrySlice.js").ModelRegistryState;
68
67
  chatHost: import("../../store/chat-host.slice.js").ChatHostState;
69
68
  } & import("../../store/root-state.js").ChatHostReadSlices) => ToolLifecycleEntry[]) & {
70
69
  clearCache: () => void;
@@ -9,7 +9,7 @@ const VOICE_PLACES = {
9
9
  // not pull into every page that shows the Intelligence icon.
10
10
  VOICE_COMMUNICATOR_MANDATE_KEY: MANDATE_KEYS.voice__communicator
11
11
  },
12
- roots: ["packages/chat/src/voice-agent", "app/(core)/voice", "app/(core)/chat/voice"],
12
+ roots: ["apps/shared/chat/src/voice-agent", "app/(core)/voice", "app/(core)/chat/voice"],
13
13
  places: [
14
14
  {
15
15
  id: "voice-chat",
@@ -19,7 +19,7 @@ const VOICE_PLACES = {
19
19
  mandateKeys: [MANDATE_KEYS.voice__intro],
20
20
  sources: [
21
21
  "app/(core)/chat/voice/page.tsx",
22
- "packages/chat/src/voice-agent/components/VoiceAgentSurface.tsx"
22
+ "apps/shared/chat/src/voice-agent/components/VoiceAgentSurface.tsx"
23
23
  ]
24
24
  },
25
25
  {
@@ -28,7 +28,7 @@ const VOICE_PLACES = {
28
28
  trigger: "Instructions editor",
29
29
  urlPattern: "/voice/playground",
30
30
  mandateKeys: [MANDATE_KEYS.voice__intro],
31
- sources: ["packages/chat/src/voice-agent/components/playground/InstructionsEditor.tsx"]
31
+ sources: ["apps/shared/chat/src/voice-agent/components/playground/InstructionsEditor.tsx"]
32
32
  },
33
33
  {
34
34
  id: "live-voice",
@@ -36,7 +36,7 @@ const VOICE_PLACES = {
36
36
  trigger: "Start a live session",
37
37
  urlPattern: "/chat/voice/gemini",
38
38
  mandateKeys: [MANDATE_KEYS.voice__gemini_live],
39
- sources: ["packages/chat/src/voice-agent/components/GoogleLiveSurface.tsx"]
39
+ sources: ["apps/shared/chat/src/voice-agent/components/GoogleLiveSurface.tsx"]
40
40
  },
41
41
  {
42
42
  id: "relay",
@@ -44,8 +44,8 @@ const VOICE_PLACES = {
44
44
  trigger: "Voice relay bar",
45
45
  mandateKeys: [MANDATE_KEYS.voice__communicator],
46
46
  sources: [
47
- "packages/chat/src/voice-agent/relay/VoiceRelayBar.tsx",
48
- "packages/chat/src/voice-agent/relay/VoiceRelayDock.tsx"
47
+ "apps/shared/chat/src/voice-agent/relay/VoiceRelayBar.tsx",
48
+ "apps/shared/chat/src/voice-agent/relay/VoiceRelayDock.tsx"
49
49
  ]
50
50
  }
51
51
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/chat",
3
- "version": "0.3.32",
3
+ "version": "0.4.0",
4
4
  "description": "THE one AI Matrx person-to-agent chat system: the full chat (running agents, conversations, tool calls, streaming, context, surfaces, voice) as per-module subpaths @ai-matrx/chat/<domain>/<module> over a host contract (/host, /host/react) whose only required value is a db; plus the kernel compatibility entries (., /external-store, /matrx, /react, /tools, styles.css, tokens.css) until P28.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -228,11 +228,11 @@
228
228
  "zod": "^4.6.5",
229
229
  "@ai-matrx/agents": "latest",
230
230
  "@ai-matrx/alchemy": "latest",
231
- "@ai-matrx/browser-audio": "latest",
232
- "@ai-matrx/content-ir": "latest",
233
- "@ai-matrx/content-ir-react": "latest",
234
231
  "@ai-matrx/associations": "latest",
235
232
  "@ai-matrx/canvas": "latest",
233
+ "@ai-matrx/content-ir": "latest",
234
+ "@ai-matrx/browser-audio": "latest",
235
+ "@ai-matrx/content-ir-react": "latest",
236
236
  "@ai-matrx/data": "latest",
237
237
  "@ai-matrx/design-system": "latest",
238
238
  "@ai-matrx/diff": "latest",