@ai-matrx/chat 0.5.18 → 0.6.1

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 (99) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/agents/components/identity-refs/AiIdentityRef.d.ts +33 -0
  3. package/dist/agents/components/identity-refs/AiIdentityRef.js +138 -0
  4. package/dist/agents/components/inputs/resources/RenderedArtifactChip.d.ts +8 -0
  5. package/dist/agents/components/inputs/resources/RenderedArtifactChip.js +109 -0
  6. package/dist/agents/components/inputs/resources/SmartAgentResourceChips.js +20 -0
  7. package/dist/agents/components/inputs/resources/useAttachRenderedArtifact.js +31 -6
  8. package/dist/agents/components/inputs/smart-input/QuicksetPanel.js +5 -9
  9. package/dist/agents/components/inputs/smart-input/RunSkillPicker.js +1 -1
  10. package/dist/agents/components/inputs/smart-input/RunToolPicker.js +6 -11
  11. package/dist/agents/components/inputs/smart-input/ShapeChipsRow.js +1 -1
  12. package/dist/agents/components/inputs/smart-input/composer/ComposerEffortPill.js +1 -1
  13. package/dist/agents/components/inputs/smart-input/composer/ComposerOutput.js +1 -1
  14. package/dist/agents/components/inputs/smart-input/composer/ComposerPlusMenu.js +1 -1
  15. package/dist/agents/components/inputs/smart-input/composer/useComposerAgent.js +1 -1
  16. package/dist/agents/components/inputs/smart-input/composer/useRunControlCounts.d.ts +3 -0
  17. package/dist/agents/components/inputs/smart-input/composer/useRunControlCounts.js +54 -0
  18. package/dist/agents/components/model-tiers/ModelTierIdentityList.js +1 -1
  19. package/dist/agents/components/run-controls/RunConfigOverrides.js +1 -1
  20. package/dist/agents/components/run-controls/RunInputCapabilities.js +1 -1
  21. package/dist/agents/components/run-controls/panels/shared.d.ts +0 -2
  22. package/dist/agents/hooks/useDiffEnrichment.js +3 -6
  23. package/dist/agents/identity/agent-catalog-lists.js +2 -1
  24. package/dist/agents/identity/agent-identity.js +2 -1
  25. package/dist/agents/identity/model-catalog.d.ts +9 -0
  26. package/dist/agents/identity/model-catalog.js +25 -0
  27. package/dist/agents/identity/preferred-chat-model.d.ts +9 -0
  28. package/dist/agents/identity/preferred-chat-model.js +33 -0
  29. package/dist/agents/identity/settings-store.d.ts +10 -0
  30. package/dist/agents/identity/settings-store.js +49 -0
  31. package/dist/agents/identity/skill-catalog.d.ts +27 -0
  32. package/dist/agents/identity/skill-catalog.js +100 -0
  33. package/dist/agents/identity/tool-catalog.d.ts +15 -0
  34. package/dist/agents/identity/tool-catalog.js +67 -0
  35. package/dist/agents/redux/agent-definition/cache-bust-middleware.d.ts +0 -1
  36. package/dist/agents/redux/agent-definition/cache-bust-middleware.js +1 -13
  37. package/dist/agents/redux/agent-definition/selectors.d.ts +12 -546
  38. package/dist/agents/redux/agent-settings/internal-utils.d.ts +2 -123
  39. package/dist/agents/redux/agent-settings/internal-utils.js +1 -315
  40. package/dist/agents/redux/agent-settings/settings-catalogue.d.ts +2 -78
  41. package/dist/agents/redux/agent-settings/settings-catalogue.js +1 -176
  42. package/dist/agents/redux/agent-settings/types.d.ts +2 -148
  43. package/dist/agents/redux/agent-settings/types.js +1 -0
  44. package/dist/agents/redux/agent-settings/ui-gates.d.ts +2 -54
  45. package/dist/agents/redux/agent-settings/ui-gates.js +1 -38
  46. package/dist/agents/redux/agent-shortcut-categories/selectors.d.ts +0 -100
  47. package/dist/agents/redux/agent-shortcuts/selectors.d.ts +0 -294
  48. package/dist/agents/redux/conversation-history/selectors.d.ts +0 -32
  49. package/dist/agents/redux/conversation-list/conversation-list.selectors.d.ts +0 -4
  50. package/dist/agents/redux/execution-system/active-requests/active-requests.selectors.d.ts +0 -108
  51. package/dist/agents/redux/execution-system/context-state/context-state.selectors.d.ts +0 -28
  52. package/dist/agents/redux/execution-system/conversations/conversations.selectors.d.ts +0 -10
  53. package/dist/agents/redux/execution-system/instance-context/instance-context.selectors.d.ts +0 -6
  54. package/dist/agents/redux/execution-system/instance-model-overrides/launch-model-overrides.js +1 -1
  55. package/dist/agents/redux/execution-system/instance-resources/instance-resources.selectors.d.ts +0 -16
  56. package/dist/agents/redux/execution-system/instance-ui-state/instance-ui-state.selectors.d.ts +0 -10
  57. package/dist/agents/redux/execution-system/instance-variable-values/instance-variable-values.selectors.d.ts +0 -14
  58. package/dist/agents/redux/execution-system/messages/messages.selectors.d.ts +0 -2
  59. package/dist/agents/redux/execution-system/observability/observability.selectors.d.ts +0 -14
  60. package/dist/agents/redux/execution-system/observational-memory/observational-memory.selectors.d.ts +0 -2
  61. package/dist/agents/redux/execution-system/selectors/aggregate.selectors.d.ts +0 -28
  62. package/dist/agents/redux/execution-system/thunks/process-stream.js +2 -5
  63. package/dist/agents/redux/execution-system/utils/loaded-skill-sources.d.ts +1 -1
  64. package/dist/agents/redux/execution-system/utils/loaded-skill-sources.js +3 -3
  65. package/dist/agents/redux/proposed-directives/proposedDirectivesSlice.d.ts +0 -2
  66. package/dist/agents/ui-first-tools/redux/agent-lists.selectors.d.ts +0 -4
  67. package/dist/agents/utils/renderedArtifactContext.d.ts +55 -17
  68. package/dist/agents/utils/renderedArtifactContext.js +83 -2
  69. package/dist/conversation/utils/frame-print.d.ts +10 -5
  70. package/dist/conversation/utils/frame-print.js +65 -27
  71. package/dist/host/frame-print.d.ts +10 -0
  72. package/dist/host/frame-print.js +9 -0
  73. package/dist/host/ui-slots.d.ts +0 -46
  74. package/dist/host/ui-slots.js +0 -33
  75. package/dist/store/create-chat-store.d.ts +0 -4
  76. package/dist/store/middlewares.d.ts +0 -10
  77. package/dist/store/slices.d.ts +0 -2
  78. package/dist/store/slices.js +0 -4
  79. package/dist/surfaces/redux/selectors.d.ts +0 -4
  80. package/dist/tool-call-visualization/redux/selectors.d.ts +0 -2
  81. package/dist/ui/chat-default-model-knob.d.ts +1 -1
  82. package/dist/ui/chat-default-model-knob.js +1 -1
  83. package/package.json +5 -5
  84. package/dist/agents/components/model/AgentModelPanel.d.ts +0 -4
  85. package/dist/agents/components/model/AgentModelPanel.js +0 -9
  86. package/dist/agents/redux/agent-settings/agentSettingsSlice.d.ts +0 -1015
  87. package/dist/agents/redux/agent-settings/agentSettingsSlice.js +0 -659
  88. package/dist/agents/redux/agent-settings/selectors.d.ts +0 -10057
  89. package/dist/agents/redux/agent-settings/selectors.js +0 -234
  90. package/dist/agents/redux/agent-settings/useNormalizedControls.d.ts +0 -8
  91. package/dist/agents/redux/agent-settings/useNormalizedControls.js +0 -24
  92. package/dist/agents/redux/tools/tools.selectors.d.ts +0 -529
  93. package/dist/agents/redux/tools/tools.selectors.js +0 -24
  94. package/dist/agents/redux/tools/tools.slice.d.ts +0 -12
  95. package/dist/agents/redux/tools/tools.slice.js +0 -37
  96. package/dist/agents/redux/tools/tools.thunks.d.ts +0 -125
  97. package/dist/agents/redux/tools/tools.thunks.js +0 -45
  98. package/dist/host/defaults/setting-control-input.d.ts +0 -11
  99. package/dist/host/defaults/setting-control-input.js +0 -91
@@ -8,7 +8,6 @@ import { reportUnregisteredHostSlot as reportUnregistered } from "./diagnostics.
8
8
  import { DefaultWebpageSnapshotView } from "./defaults/webpage-snapshot-view.js";
9
9
  import { DefaultWorkspaceGate } from "./defaults/workspace-gate.js";
10
10
  import { DefaultFullScreenOverlay, DefaultWindowPanel } from "./defaults/window-panel.js";
11
- import { DefaultSettingControlInput } from "./defaults/setting-control-input.js";
12
11
  import { DefaultResourcePickerMenu } from "./defaults/resource-picker-menu.js";
13
12
  import { captureReactRenderError } from "./diagnostics.js";
14
13
  import {
@@ -145,7 +144,6 @@ const STAND_INS = {
145
144
  noteBrowserActivity: noopThunk,
146
145
  adoptCloudBrowserRunFromStream: noopThunk,
147
146
  receivedFsChange: () => void 0,
148
- applySkillStreamEvent: () => void 0,
149
147
  studioDocumentContentChanged: () => void 0,
150
148
  selectHtmlPageArtifactForMessage: () => void 0,
151
149
  selectEditorState: () => null,
@@ -168,8 +166,6 @@ const STAND_INS = {
168
166
  notesGetById: async () => null,
169
167
  convertMarkdownToHtml: (markdown) => `<pre>${String(markdown ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;")}</pre>`,
170
168
  compileStoredComponent: () => ({ Component: null, error: "This host cannot compile tool renderers.", unresolvedImports: [] }),
171
- useModelFull: () => null,
172
- useModelOptions: () => NONE,
173
169
  useAuthGuardedAction: (action) => action,
174
170
  readOf: (read) => ({
175
171
  status: read?.isLoading ? "loading" : read?.error ? "error" : "ready",
@@ -195,7 +191,6 @@ const STAND_INS = {
195
191
  answerPreviewText: (text) => String(text ?? ""),
196
192
  beginPlaybackSession: () => ({ id: "", update: () => void 0, end: () => void 0 }),
197
193
  useCanvasOpenGuard: () => ({ ensureCanvasReachable: async () => true }),
198
- useSkills: () => ({ skills: NONE, grouped: {}, count: 0, loading: false, error: null, reload: async () => void 0 }),
199
194
  usePickListForSelection: () => ({ items: NONE, groups: NONE, loading: false, unavailable: true, error: null, retry: () => void 0 }),
200
195
  useOutputFeedback: () => ({ verdict: null, isLoaded: true })
201
196
  };
@@ -270,7 +265,6 @@ const summarizeContextCell = slotFn(
270
265
  (cell) => typeof cell === "string" ? cell : JSON.stringify(cell ?? null)
271
266
  );
272
267
  const useEntityTitles = slotFn("useEntityTitles", () => ({ titleFor: () => void 0 }));
273
- const loadedSkills = slotFn("loadedSkills", () => ({ status: "idle", skills: [] }));
274
268
  const traceWarRoomRenderPath = slotFn("traceWarRoomRenderPath", () => void 0);
275
269
  const isWarRoomThreadAgentSurface = slotFn("isWarRoomThreadAgentSurface", () => false);
276
270
  const useOpenCloudBrowserCanvas = slotFn("useOpenCloudBrowserCanvas", () => () => void 0);
@@ -287,7 +281,6 @@ const SmartInputMessageTemplatePicker = slotComponent(
287
281
  optionalWidget("SmartInputMessageTemplatePicker")
288
282
  );
289
283
  const flattenResourcePickerItems = slotFn("flattenResourcePickerItems", defaultResourcePickerItems);
290
- const useRunControlCounts = slotFn("useRunControlCounts", () => ({}));
291
284
  const useAttachResourcePicker = slotFn("useAttachResourcePicker", () => (_options) => void 0);
292
285
  const usePopoutContainer = slotFn("usePopoutContainer", () => void 0);
293
286
  const useUrlSync = slotFn("useUrlSync", () => void 0);
@@ -396,7 +389,6 @@ const loadProjectsWithTasks = slotFn("loadProjectsWithTasks");
396
389
  const humanLines = slotFn("humanLines");
397
390
  const useCanvasOpenGuard = slotFn("useCanvasOpenGuard");
398
391
  const useRegisterChatAttachTarget = slotFn("useRegisterChatAttachTarget", () => void 0);
399
- const useSkills = slotFn("useSkills");
400
392
  const useAutoLabel = slotFn("useAutoLabel", () => void 0);
401
393
  const generateLabelFromContent = slotFn("generateLabelFromContent");
402
394
  const usePickListForSelection = slotFn("usePickListForSelection");
@@ -425,8 +417,6 @@ const selectActiveSandboxProxyUrl = slotFn("selectActiveSandboxProxyUrl");
425
417
  const selectEditorMode = slotFn("selectEditorMode");
426
418
  const receivedFsChange = slotFn("receivedFsChange");
427
419
  const loadCodeEditHistoryThunk = slotFn("loadCodeEditHistoryThunk");
428
- const applySkillStreamEvent = slotFn("applySkillStreamEvent");
429
- const isSkillStreamEvent = slotFn("isSkillStreamEvent", () => false);
430
420
  const materializeMessageArtifacts = slotFn("materializeMessageArtifacts");
431
421
  const reconcileMessagesArtifacts = slotFn("reconcileMessagesArtifacts", async () => void 0);
432
422
  const noteBrowserActivity = slotFn("noteBrowserActivity");
@@ -452,8 +442,6 @@ const selectContentBlocksByScopeRef = slotFn("selectContentBlocksByScopeRef");
452
442
  const selectActiveContentBlocks = slotFn("selectActiveContentBlocks");
453
443
  const LibraryPreviewPage = slotComponent("LibraryPreviewPage", unregisteredWidget("LibraryPreviewPage"));
454
444
  const NoteVersionHistoryPanel = slotComponent("NoteVersionHistoryPanel", unregisteredWidget("NoteVersionHistoryPanel"));
455
- const useModelFull = slotFn("useModelFull");
456
- const useModelOptions = slotFn("useModelOptions");
457
445
  const useOrganizationRequired = slotFn("useOrganizationRequired");
458
446
  const useAuthGuardedAction = slotFn("useAuthGuardedAction");
459
447
  const readOf = slotFn("readOf");
@@ -477,8 +465,6 @@ const ensureOrgAvailability = slotFn("ensureOrgAvailability");
477
465
  const requireAuthenticatedSupabaseSession = slotFn("requireAuthenticatedSupabaseSession");
478
466
  const notifyPrintOutcome = slotFn("notifyPrintOutcome");
479
467
  const awaitEffectiveOrganizationId = slotFn("awaitEffectiveOrganizationId");
480
- const getAgentCatalog = slotFn("getAgentCatalog");
481
- const resolvePreferredChatModel = slotFn("resolvePreferredChatModel", async () => null);
482
468
  const publishedToWebPatch = slotFn("publishedToWebPatch");
483
469
  const isUuidValue = slotFn("isUuidValue");
484
470
  const AgentOptionsMenu = slotComponent("AgentOptionsMenu");
@@ -486,13 +472,8 @@ const AgentSaveStatus = slotComponent("AgentSaveStatus");
486
472
  const AgentSaveTapButton = slotComponent("AgentSaveTapButton");
487
473
  const AgentPeekDuplicateButton = slotComponent("AgentPeekDuplicateButton");
488
474
  const CreatorRunPanel = slotComponent("CreatorRunPanel");
489
- const AgentSettingsCore = slotComponent("AgentSettingsCore", unregisteredWidget("AgentSettingsCore"));
490
- const SettingControlInput = slotComponent("SettingControlInput", (props) => createElement(DefaultSettingControlInput, props));
491
- const InputCapabilitiesEditor = slotComponent("InputCapabilitiesEditor", unregisteredWidget("InputCapabilitiesEditor"));
492
475
  const CustomDataBindingSummary = slotComponent("CustomDataBindingSummary", unregisteredWidget("CustomDataBindingSummary"));
493
476
  const CustomDataBindingPreview = slotComponent("CustomDataBindingPreview", unregisteredWidget("CustomDataBindingPreview"));
494
- const AiModelRef = slotComponent("AiModelRef", unregisteredWidget("AiModelRef"));
495
- const AiToolRef = slotComponent("AiToolRef", unregisteredWidget("AiToolRef"));
496
477
  const TextInputDialog = slotComponent("TextInputDialog", withPackageDefault(PackageTextInputDialog));
497
478
  const ProInput = slotComponent("ProInput", (props) => createElement("input", { ...props, "data-chat-slot-fallback": "input" }));
498
479
  const MatrxDynamicPanelHost = slotComponent("MatrxDynamicPanelHost", unregisteredWidget("MatrxDynamicPanelHost"));
@@ -518,9 +499,6 @@ export {
518
499
  AgentPeekDuplicateButton,
519
500
  AgentSaveStatus,
520
501
  AgentSaveTapButton,
521
- AgentSettingsCore,
522
- AiModelRef,
523
- AiToolRef,
524
502
  AnswerTextPreview,
525
503
  AnswerValueView,
526
504
  AppLink,
@@ -564,7 +542,6 @@ export {
564
542
  HtmlPreviewFullScreenEditor,
565
543
  IconButton,
566
544
  InfoHint,
567
- InputCapabilitiesEditor,
568
545
  ItemMenu,
569
546
  ItemRow,
570
547
  JsonInspector,
@@ -604,7 +581,6 @@ export {
604
581
  SearchGroup,
605
582
  SearchGroupTrigger,
606
583
  ServerNotes,
607
- SettingControlInput,
608
584
  ShareButton,
609
585
  ShareModal,
610
586
  SimpleTerminal,
@@ -629,7 +605,6 @@ export {
629
605
  adoptCloudBrowserRunFromStream,
630
606
  announceComingSoon,
631
607
  answerPreviewText,
632
- applySkillStreamEvent,
633
608
  attachConversationResource,
634
609
  awaitEffectiveOrganizationId,
635
610
  beginPlaybackSession,
@@ -659,7 +634,6 @@ export {
659
634
  flattenResourcePickerItems,
660
635
  fromGlobalOwnershipRecord,
661
636
  generateLabelFromContent,
662
- getAgentCatalog,
663
637
  getCachedEntityTitle,
664
638
  getSurfaceManifest,
665
639
  hostFn,
@@ -668,12 +642,10 @@ export {
668
642
  invalidateCanvasItemCache,
669
643
  invalidateMandateCatalogueCache,
670
644
  isHostSlotRegistered,
671
- isSkillStreamEvent,
672
645
  isUuidValue,
673
646
  isWarRoomThreadAgentSurface,
674
647
  loadCodeEditHistoryThunk,
675
648
  loadProjectsWithTasks,
676
- loadedSkills,
677
649
  materializeMessageArtifacts,
678
650
  noteBrowserActivity,
679
651
  notesCreate,
@@ -700,7 +672,6 @@ export {
700
672
  resolveEntityToken,
701
673
  resolveGmailSendConnection,
702
674
  resolvePdfSurfaceIds,
703
- resolvePreferredChatModel,
704
675
  resolveSystemOrgId,
705
676
  saveNoteField,
706
677
  saveOutputFeedback,
@@ -742,8 +713,6 @@ export {
742
713
  useHtmlPreviewState,
743
714
  useKnowledgeAttachSearch,
744
715
  useLoginHref,
745
- useModelFull,
746
- useModelOptions,
747
716
  useOpenCloudBrowserCanvas,
748
717
  useOrganizationRequired,
749
718
  useOutputFeedback,
@@ -754,8 +723,6 @@ export {
754
723
  usePopoutContainer,
755
724
  useRecordAndTranscribe,
756
725
  useRegisterChatAttachTarget,
757
- useRunControlCounts,
758
- useSkills,
759
726
  useTablesEverywhere,
760
727
  useUrlSync
761
728
  };
@@ -17,7 +17,6 @@ export declare function createChatStore(preloadedState?: Partial<ChatState>, opt
17
17
  agentShortcut: import("../agents/redux/agent-shortcuts/types.js").AgentShortcutSliceState;
18
18
  agentShortcutCategory: import("../agents/redux/agent-shortcut-categories/types.js").AgentShortcutCategorySliceState;
19
19
  surfaceUserState: import("../surfaces/redux/userStateSlice.js").SurfaceUserStateSlice;
20
- tools: import("../agents/redux/tools/tools.slice.js").ToolsSliceState;
21
20
  conversations: import("../agents/redux/execution-system/conversations/conversations.slice.js").ConversationsState;
22
21
  chatIncognito: import("../agents/redux/chat/chat-incognito.slice.js").ChatIncognitoState;
23
22
  chatRoute: import("../agents/redux/chat/chat-route.slice.js").ChatRouteState;
@@ -49,7 +48,6 @@ export declare function createChatStore(preloadedState?: Partial<ChatState>, opt
49
48
  agentAssistantMarkdownDraft: import("../agents/redux/agent-assistant-markdown-draft.slice.js").AgentAssistantMarkdownDraftState;
50
49
  mcp: import("../agents/redux/mcp/mcp.slice.js").McpSliceState;
51
50
  proposedDirectives: import("../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
52
- agentSettings: import("../agents/redux/agent-settings/types.js").AgentSettingsState;
53
51
  conversationAttachments: import("../agents/connectors/attachments.slice.js").AttachmentsSliceState;
54
52
  chatHost: import("./chat-host.slice.js").ChatHostState;
55
53
  hostConversations: import("../agents/redux/execution-system/host-conversations/host-conversations.slice.js").HostConversationsState;
@@ -63,7 +61,6 @@ export declare function createChatStore(preloadedState?: Partial<ChatState>, opt
63
61
  agentShortcut: import("../agents/redux/agent-shortcuts/types.js").AgentShortcutSliceState;
64
62
  agentShortcutCategory: import("../agents/redux/agent-shortcut-categories/types.js").AgentShortcutCategorySliceState;
65
63
  surfaceUserState: import("../surfaces/redux/userStateSlice.js").SurfaceUserStateSlice;
66
- tools: import("../agents/redux/tools/tools.slice.js").ToolsSliceState;
67
64
  conversations: import("../agents/redux/execution-system/conversations/conversations.slice.js").ConversationsState;
68
65
  chatIncognito: import("../agents/redux/chat/chat-incognito.slice.js").ChatIncognitoState;
69
66
  chatRoute: import("../agents/redux/chat/chat-route.slice.js").ChatRouteState;
@@ -95,7 +92,6 @@ export declare function createChatStore(preloadedState?: Partial<ChatState>, opt
95
92
  agentAssistantMarkdownDraft: import("../agents/redux/agent-assistant-markdown-draft.slice.js").AgentAssistantMarkdownDraftState;
96
93
  mcp: import("../agents/redux/mcp/mcp.slice.js").McpSliceState;
97
94
  proposedDirectives: import("../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
98
- agentSettings: import("../agents/redux/agent-settings/types.js").AgentSettingsState;
99
95
  conversationAttachments: import("../agents/connectors/attachments.slice.js").AttachmentsSliceState;
100
96
  chatHost: import("./chat-host.slice.js").ChatHostState;
101
97
  hostConversations: import("../agents/redux/execution-system/host-conversations/host-conversations.slice.js").HostConversationsState;
@@ -7,7 +7,6 @@ export declare function chatMiddlewares(): readonly [Middleware<{}, any, import(
7
7
  agentShortcut: import("../agents/redux/agent-shortcuts/types.js").AgentShortcutSliceState;
8
8
  agentShortcutCategory: import("../agents/redux/agent-shortcut-categories/types.js").AgentShortcutCategorySliceState;
9
9
  surfaceUserState: import("../surfaces/redux/userStateSlice.js").SurfaceUserStateSlice;
10
- tools: import("../agents/redux/tools/tools.slice.js").ToolsSliceState;
11
10
  conversations: import("../agents/redux/execution-system/conversations/conversations.slice.js").ConversationsState;
12
11
  chatIncognito: import("../agents/redux/chat/chat-incognito.slice.js").ChatIncognitoState;
13
12
  chatRoute: import("../agents/redux/chat/chat-route.slice.js").ChatRouteState;
@@ -39,7 +38,6 @@ export declare function chatMiddlewares(): readonly [Middleware<{}, any, import(
39
38
  agentAssistantMarkdownDraft: import("../agents/redux/agent-assistant-markdown-draft.slice.js").AgentAssistantMarkdownDraftState;
40
39
  mcp: import("../agents/redux/mcp/mcp.slice.js").McpSliceState;
41
40
  proposedDirectives: import("../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
42
- agentSettings: import("../agents/redux/agent-settings/types.js").AgentSettingsState;
43
41
  conversationAttachments: import("../agents/connectors/attachments.slice.js").AttachmentsSliceState;
44
42
  chatHost: import("./chat-host.slice.js").ChatHostState;
45
43
  hostConversations: import("../agents/redux/execution-system/host-conversations/host-conversations.slice.js").HostConversationsState;
@@ -51,7 +49,6 @@ export declare function chatMiddlewares(): readonly [Middleware<{}, any, import(
51
49
  agentShortcut: import("../agents/redux/agent-shortcuts/types.js").AgentShortcutSliceState;
52
50
  agentShortcutCategory: import("../agents/redux/agent-shortcut-categories/types.js").AgentShortcutCategorySliceState;
53
51
  surfaceUserState: import("../surfaces/redux/userStateSlice.js").SurfaceUserStateSlice;
54
- tools: import("../agents/redux/tools/tools.slice.js").ToolsSliceState;
55
52
  conversations: import("../agents/redux/execution-system/conversations/conversations.slice.js").ConversationsState;
56
53
  chatIncognito: import("../agents/redux/chat/chat-incognito.slice.js").ChatIncognitoState;
57
54
  chatRoute: import("../agents/redux/chat/chat-route.slice.js").ChatRouteState;
@@ -83,7 +80,6 @@ export declare function chatMiddlewares(): readonly [Middleware<{}, any, import(
83
80
  agentAssistantMarkdownDraft: import("../agents/redux/agent-assistant-markdown-draft.slice.js").AgentAssistantMarkdownDraftState;
84
81
  mcp: import("../agents/redux/mcp/mcp.slice.js").McpSliceState;
85
82
  proposedDirectives: import("../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
86
- agentSettings: import("../agents/redux/agent-settings/types.js").AgentSettingsState;
87
83
  conversationAttachments: import("../agents/connectors/attachments.slice.js").AttachmentsSliceState;
88
84
  chatHost: import("./chat-host.slice.js").ChatHostState;
89
85
  hostConversations: import("../agents/redux/execution-system/host-conversations/host-conversations.slice.js").HostConversationsState;
@@ -95,7 +91,6 @@ export declare function chatMiddlewares(): readonly [Middleware<{}, any, import(
95
91
  agentShortcut: import("../agents/redux/agent-shortcuts/types.js").AgentShortcutSliceState;
96
92
  agentShortcutCategory: import("../agents/redux/agent-shortcut-categories/types.js").AgentShortcutCategorySliceState;
97
93
  surfaceUserState: import("../surfaces/redux/userStateSlice.js").SurfaceUserStateSlice;
98
- tools: import("../agents/redux/tools/tools.slice.js").ToolsSliceState;
99
94
  conversations: import("../agents/redux/execution-system/conversations/conversations.slice.js").ConversationsState;
100
95
  chatIncognito: import("../agents/redux/chat/chat-incognito.slice.js").ChatIncognitoState;
101
96
  chatRoute: import("../agents/redux/chat/chat-route.slice.js").ChatRouteState;
@@ -127,7 +122,6 @@ export declare function chatMiddlewares(): readonly [Middleware<{}, any, import(
127
122
  agentAssistantMarkdownDraft: import("../agents/redux/agent-assistant-markdown-draft.slice.js").AgentAssistantMarkdownDraftState;
128
123
  mcp: import("../agents/redux/mcp/mcp.slice.js").McpSliceState;
129
124
  proposedDirectives: import("../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
130
- agentSettings: import("../agents/redux/agent-settings/types.js").AgentSettingsState;
131
125
  conversationAttachments: import("../agents/connectors/attachments.slice.js").AttachmentsSliceState;
132
126
  chatHost: import("./chat-host.slice.js").ChatHostState;
133
127
  hostConversations: import("../agents/redux/execution-system/host-conversations/host-conversations.slice.js").HostConversationsState;
@@ -139,7 +133,6 @@ export declare function chatMiddlewares(): readonly [Middleware<{}, any, import(
139
133
  agentShortcut: import("../agents/redux/agent-shortcuts/types.js").AgentShortcutSliceState;
140
134
  agentShortcutCategory: import("../agents/redux/agent-shortcut-categories/types.js").AgentShortcutCategorySliceState;
141
135
  surfaceUserState: import("../surfaces/redux/userStateSlice.js").SurfaceUserStateSlice;
142
- tools: import("../agents/redux/tools/tools.slice.js").ToolsSliceState;
143
136
  conversations: import("../agents/redux/execution-system/conversations/conversations.slice.js").ConversationsState;
144
137
  chatIncognito: import("../agents/redux/chat/chat-incognito.slice.js").ChatIncognitoState;
145
138
  chatRoute: import("../agents/redux/chat/chat-route.slice.js").ChatRouteState;
@@ -171,7 +164,6 @@ export declare function chatMiddlewares(): readonly [Middleware<{}, any, import(
171
164
  agentAssistantMarkdownDraft: import("../agents/redux/agent-assistant-markdown-draft.slice.js").AgentAssistantMarkdownDraftState;
172
165
  mcp: import("../agents/redux/mcp/mcp.slice.js").McpSliceState;
173
166
  proposedDirectives: import("../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
174
- agentSettings: import("../agents/redux/agent-settings/types.js").AgentSettingsState;
175
167
  conversationAttachments: import("../agents/connectors/attachments.slice.js").AttachmentsSliceState;
176
168
  chatHost: import("./chat-host.slice.js").ChatHostState;
177
169
  hostConversations: import("../agents/redux/execution-system/host-conversations/host-conversations.slice.js").HostConversationsState;
@@ -183,7 +175,6 @@ export declare function chatMiddlewares(): readonly [Middleware<{}, any, import(
183
175
  agentShortcut: import("../agents/redux/agent-shortcuts/types.js").AgentShortcutSliceState;
184
176
  agentShortcutCategory: import("../agents/redux/agent-shortcut-categories/types.js").AgentShortcutCategorySliceState;
185
177
  surfaceUserState: import("../surfaces/redux/userStateSlice.js").SurfaceUserStateSlice;
186
- tools: import("../agents/redux/tools/tools.slice.js").ToolsSliceState;
187
178
  conversations: import("../agents/redux/execution-system/conversations/conversations.slice.js").ConversationsState;
188
179
  chatIncognito: import("../agents/redux/chat/chat-incognito.slice.js").ChatIncognitoState;
189
180
  chatRoute: import("../agents/redux/chat/chat-route.slice.js").ChatRouteState;
@@ -215,7 +206,6 @@ export declare function chatMiddlewares(): readonly [Middleware<{}, any, import(
215
206
  agentAssistantMarkdownDraft: import("../agents/redux/agent-assistant-markdown-draft.slice.js").AgentAssistantMarkdownDraftState;
216
207
  mcp: import("../agents/redux/mcp/mcp.slice.js").McpSliceState;
217
208
  proposedDirectives: import("../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
218
- agentSettings: import("../agents/redux/agent-settings/types.js").AgentSettingsState;
219
209
  conversationAttachments: import("../agents/connectors/attachments.slice.js").AttachmentsSliceState;
220
210
  chatHost: import("./chat-host.slice.js").ChatHostState;
221
211
  hostConversations: import("../agents/redux/execution-system/host-conversations/host-conversations.slice.js").HostConversationsState;
@@ -6,7 +6,6 @@ export declare const chatReducers: {
6
6
  agentShortcut: import("redux").Reducer<import("../agents/redux/agent-shortcuts/types.js").AgentShortcutSliceState>;
7
7
  agentShortcutCategory: import("redux").Reducer<import("../agents/redux/agent-shortcut-categories/types.js").AgentShortcutCategorySliceState>;
8
8
  surfaceUserState: import("redux").Reducer<import("../surfaces/redux/userStateSlice.js").SurfaceUserStateSlice>;
9
- tools: import("redux").Reducer<import("../agents/redux/tools/tools.slice.js").ToolsSliceState>;
10
9
  conversations: import("redux").Reducer<import("../agents/redux/execution-system/conversations/conversations.slice.js").ConversationsState>;
11
10
  chatIncognito: import("redux").Reducer<import("../agents/redux/chat/chat-incognito.slice.js").ChatIncognitoState>;
12
11
  chatRoute: import("redux").Reducer<import("../agents/redux/chat/chat-route.slice.js").ChatRouteState>;
@@ -38,7 +37,6 @@ export declare const chatReducers: {
38
37
  agentAssistantMarkdownDraft: import("redux").Reducer<import("../agents/redux/agent-assistant-markdown-draft.slice.js").AgentAssistantMarkdownDraftState>;
39
38
  mcp: import("redux").Reducer<import("../agents/redux/mcp/mcp.slice.js").McpSliceState>;
40
39
  proposedDirectives: import("redux").Reducer<import("../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState>;
41
- agentSettings: import("redux").Reducer<import("../agents/redux/agent-settings/types.js").AgentSettingsState>;
42
40
  conversationAttachments: import("redux").Reducer<import("../agents/connectors/attachments.slice.js").AttachmentsSliceState>;
43
41
  chatHost: import("redux").Reducer<import("./chat-host.slice.js").ChatHostState>;
44
42
  hostConversations: import("redux").Reducer<import("../agents/redux/execution-system/host-conversations/host-conversations.slice.js").HostConversationsState>;
@@ -5,7 +5,6 @@ import { conversationHistoryReducer } from "../agents/redux/conversation-history
5
5
  import agentShortcutReducer from "../agents/redux/agent-shortcuts/slice.js";
6
6
  import agentShortcutCategoryReducer from "../agents/redux/agent-shortcut-categories/slice.js";
7
7
  import { surfaceUserStateReducer } from "../surfaces/redux/userStateSlice.js";
8
- import toolsReducer from "../agents/redux/tools/tools.slice.js";
9
8
  import mcpReducer from "../agents/redux/mcp/mcp.slice.js";
10
9
  import { default as instanceUIStateReducer } from "../agents/redux/execution-system/instance-ui-state/instance-ui-state.slice.js";
11
10
  import { default as instanceClientToolsReducer } from "../agents/redux/execution-system/instance-client-tools/instance-client-tools.slice.js";
@@ -37,7 +36,6 @@ import { agentSurfaceBindingsReducer } from "../surfaces/redux/agentSurfaceBindi
37
36
  import { surfaceConfigReducer } from "../surfaces/redux/surfaceConfigSlice.js";
38
37
  import agentAssistantMarkdownDraftReducer from "../agents/redux/agent-assistant-markdown-draft.slice.js";
39
38
  import proposedDirectivesReducer from "../agents/redux/proposed-directives/proposedDirectivesSlice.js";
40
- import agentSettingsReducer from "../agents/redux/agent-settings/agentSettingsSlice.js";
41
39
  import conversationAttachmentsReducer from "../agents/connectors/attachments.slice.js";
42
40
  import { chatHostReducer } from "./chat-host.slice.js";
43
41
  import { hostConversationsReducer } from "../agents/redux/execution-system/host-conversations/host-conversations.slice.js";
@@ -49,7 +47,6 @@ const chatReducers = {
49
47
  agentShortcut: agentShortcutReducer,
50
48
  agentShortcutCategory: agentShortcutCategoryReducer,
51
49
  surfaceUserState: surfaceUserStateReducer,
52
- tools: toolsReducer,
53
50
  conversations: conversationsReducer,
54
51
  chatIncognito: chatIncognitoReducer,
55
52
  chatRoute: chatRouteReducer,
@@ -85,7 +82,6 @@ const chatReducers = {
85
82
  // Agent-proposed actions awaiting approval (the `ask` apply policy); package-owned since P17b.
86
83
  proposedDirectives: proposedDirectivesReducer,
87
84
  // Agent/prompt settings (builder defaults, chat overrides); package-owned since P17.
88
- agentSettings: agentSettingsReducer,
89
85
  // What is attached to each chat (connector picks); package-owned since P17.
90
86
  conversationAttachments: conversationAttachmentsReducer,
91
87
  // The AI model catalogue every picker and label reads; package-owned since P17b.
@@ -13,7 +13,6 @@ export declare const selectActiveSurfaces: ((state: {
13
13
  agentShortcut: import("../../agents/redux/agent-shortcuts/types.js").AgentShortcutSliceState;
14
14
  agentShortcutCategory: import("../../agents/redux/agent-shortcut-categories/types.js").AgentShortcutCategorySliceState;
15
15
  surfaceUserState: import("./userStateSlice.js").SurfaceUserStateSlice;
16
- tools: import("../../agents/redux/tools/tools.slice.js").ToolsSliceState;
17
16
  conversations: import("../../agents/redux/execution-system/conversations/conversations.slice.js").ConversationsState;
18
17
  chatIncognito: import("../../agents/redux/chat/chat-incognito.slice.js").ChatIncognitoState;
19
18
  chatRoute: import("../../agents/redux/chat/chat-route.slice.js").ChatRouteState;
@@ -45,7 +44,6 @@ export declare const selectActiveSurfaces: ((state: {
45
44
  agentAssistantMarkdownDraft: import("../../agents/redux/agent-assistant-markdown-draft.slice.js").AgentAssistantMarkdownDraftState;
46
45
  mcp: import("../../agents/redux/mcp/mcp.slice.js").McpSliceState;
47
46
  proposedDirectives: import("../../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
48
- agentSettings: import("../../agents/redux/agent-settings/types.js").AgentSettingsState;
49
47
  conversationAttachments: import("../../agents/connectors/attachments.slice.js").AttachmentsSliceState;
50
48
  chatHost: import("../../store/chat-host.slice.js").ChatHostState;
51
49
  hostConversations: import("../../agents/redux/execution-system/host-conversations/host-conversations.slice.js").HostConversationsState;
@@ -86,7 +84,6 @@ export declare const makeSelectBindingsForAgent: (agentId: string) => ((state: {
86
84
  agentShortcut: import("../../agents/redux/agent-shortcuts/types.js").AgentShortcutSliceState;
87
85
  agentShortcutCategory: import("../../agents/redux/agent-shortcut-categories/types.js").AgentShortcutCategorySliceState;
88
86
  surfaceUserState: import("./userStateSlice.js").SurfaceUserStateSlice;
89
- tools: import("../../agents/redux/tools/tools.slice.js").ToolsSliceState;
90
87
  conversations: import("../../agents/redux/execution-system/conversations/conversations.slice.js").ConversationsState;
91
88
  chatIncognito: import("../../agents/redux/chat/chat-incognito.slice.js").ChatIncognitoState;
92
89
  chatRoute: import("../../agents/redux/chat/chat-route.slice.js").ChatRouteState;
@@ -118,7 +115,6 @@ export declare const makeSelectBindingsForAgent: (agentId: string) => ((state: {
118
115
  agentAssistantMarkdownDraft: import("../../agents/redux/agent-assistant-markdown-draft.slice.js").AgentAssistantMarkdownDraftState;
119
116
  mcp: import("../../agents/redux/mcp/mcp.slice.js").McpSliceState;
120
117
  proposedDirectives: import("../../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
121
- agentSettings: import("../../agents/redux/agent-settings/types.js").AgentSettingsState;
122
118
  conversationAttachments: import("../../agents/connectors/attachments.slice.js").AttachmentsSliceState;
123
119
  chatHost: import("../../store/chat-host.slice.js").ChatHostState;
124
120
  hostConversations: import("../../agents/redux/execution-system/host-conversations/host-conversations.slice.js").HostConversationsState;
@@ -30,7 +30,6 @@ export declare const selectOrderedToolLifecycles: (requestId: string) => ((state
30
30
  agentShortcut: import("../../agents/redux/agent-shortcuts/types.js").AgentShortcutSliceState;
31
31
  agentShortcutCategory: import("../../agents/redux/agent-shortcut-categories/types.js").AgentShortcutCategorySliceState;
32
32
  surfaceUserState: import("../../surfaces/redux/userStateSlice.js").SurfaceUserStateSlice;
33
- tools: import("../../agents/redux/tools/tools.slice.js").ToolsSliceState;
34
33
  conversations: import("../../agents/redux/execution-system/conversations/conversations.slice.js").ConversationsState;
35
34
  chatIncognito: import("../../agents/redux/chat/chat-incognito.slice.js").ChatIncognitoState;
36
35
  chatRoute: import("../../agents/redux/chat/chat-route.slice.js").ChatRouteState;
@@ -62,7 +61,6 @@ export declare const selectOrderedToolLifecycles: (requestId: string) => ((state
62
61
  agentAssistantMarkdownDraft: import("../../agents/redux/agent-assistant-markdown-draft.slice.js").AgentAssistantMarkdownDraftState;
63
62
  mcp: import("../../agents/redux/mcp/mcp.slice.js").McpSliceState;
64
63
  proposedDirectives: import("../../agents/redux/proposed-directives/proposedDirectivesSlice.js").ProposedDirectivesState;
65
- agentSettings: import("../../agents/redux/agent-settings/types.js").AgentSettingsState;
66
64
  conversationAttachments: import("../../agents/connectors/attachments.slice.js").AttachmentsSliceState;
67
65
  chatHost: import("../../store/chat-host.slice.js").ChatHostState;
68
66
  hostConversations: import("../../agents/redux/execution-system/host-conversations/host-conversations.slice.js").HostConversationsState;
@@ -1,3 +1,3 @@
1
1
  /** The feature knob holding a person's preferred chat model (`agents.model_prefs.chat_default_model`). */
2
- export declare const CHAT_DEFAULT_MODEL_KNOB = "agents.model_prefs.chat_default_model";
2
+ export { CHAT_DEFAULT_MODEL_KNOB } from "@ai-matrx/agents/models";
3
3
  export declare function isBasicWorkMandate(mandateKey: string | undefined): boolean;
@@ -1,4 +1,4 @@
1
- const CHAT_DEFAULT_MODEL_KNOB = "agents.model_prefs.chat_default_model";
1
+ import { CHAT_DEFAULT_MODEL_KNOB } from "@ai-matrx/agents/models";
2
2
  import { MANDATE_KEYS } from "@ai-matrx/agents/mandates";
3
3
  const BASIC_WORK_MANDATE_KEYS = /* @__PURE__ */ new Set([
4
4
  MANDATE_KEYS.chat__default_new_chat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/chat",
3
- "version": "0.5.18",
3
+ "version": "0.6.1",
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. One chat, one renderer: the old kernel entries (., /external-store, /matrx, /react, /tools, styles.css, tokens.css) are retired.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -166,13 +166,12 @@
166
166
  "server-only": "^0.0.1",
167
167
  "uuid": "^14.0.2",
168
168
  "zod": "^4.6.5",
169
- "@ai-matrx/agents": "latest",
170
- "@ai-matrx/alchemy": "latest",
171
169
  "@ai-matrx/associations": "latest",
172
170
  "@ai-matrx/browser-audio": "latest",
173
171
  "@ai-matrx/canvas": "latest",
174
172
  "@ai-matrx/content-ir": "latest",
175
173
  "@ai-matrx/content-ir-react": "latest",
174
+ "@ai-matrx/alchemy": "latest",
176
175
  "@ai-matrx/data": "latest",
177
176
  "@ai-matrx/design-system": "latest",
178
177
  "@ai-matrx/diff": "latest",
@@ -184,7 +183,8 @@
184
183
  "@ai-matrx/records": "latest",
185
184
  "@ai-matrx/records-ui": "latest",
186
185
  "@ai-matrx/rich-content": "latest",
187
- "@ai-matrx/rich-editor": "latest"
186
+ "@ai-matrx/rich-editor": "latest",
187
+ "@ai-matrx/agents": "latest"
188
188
  },
189
189
  "devDependencies": {
190
190
  "@arethetypeswrong/cli": "^0.18.5",
@@ -300,5 +300,5 @@
300
300
  "check:side-panel-bundle": "node ./scripts/check-side-panel-bundle.mjs",
301
301
  "check:side-effects": "node ../scripts/check-side-effects-listed.mjs . && node ../scripts/check-side-effects-listed.mjs --self-test"
302
302
  },
303
- "gitHead": "ded4f1f1eb83b1d00da17c7fc7482f9647010157"
303
+ "gitHead": "f891cf7d6f77d82f035823fda1565422baa3d62e"
304
304
  }
@@ -1,4 +0,0 @@
1
- export interface AgentModelPanelProps {
2
- agentId: string;
3
- }
4
- export declare function AgentModelPanel({ agentId }: AgentModelPanelProps): import("react").JSX.Element;
@@ -1,9 +0,0 @@
1
- "use client";
2
- import { jsx } from "react/jsx-runtime";
3
- import { AgentSettingsCore } from "../../../host/ui-slots.js";
4
- function AgentModelPanel({ agentId }) {
5
- return /* @__PURE__ */ jsx("div", { className: "flex flex-col h-full min-h-0", children: /* @__PURE__ */ jsx("div", { className: "flex-1 min-h-0 overflow-hidden px-4", children: /* @__PURE__ */ jsx(AgentSettingsCore, { agentId }) }) });
6
- }
7
- export {
8
- AgentModelPanel
9
- };