@solidxai/core-ui 0.1.21-beta.5 → 0.1.22-beta.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 (106) hide show
  1. package/dist/components/core/card/SolidCardViewConfigure.js +1 -1
  2. package/dist/components/core/card/SolidCardViewConfigure.js.map +1 -1
  3. package/dist/components/core/card/SolidCardViewConfigure.tsx +1 -1
  4. package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
  5. package/dist/components/core/form/SolidFormView.js +3 -2
  6. package/dist/components/core/form/SolidFormView.js.map +1 -1
  7. package/dist/components/core/form/SolidFormView.tsx +3 -1
  8. package/dist/components/core/form/fields/ISolidField.d.ts +1 -0
  9. package/dist/components/core/form/fields/ISolidField.d.ts.map +1 -1
  10. package/dist/components/core/form/fields/ISolidField.js.map +1 -1
  11. package/dist/components/core/form/fields/ISolidField.tsx +1 -0
  12. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
  13. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +1 -1
  14. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
  15. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +1 -0
  16. package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
  17. package/dist/components/core/kanban/SolidKanbanView.js +20 -17
  18. package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
  19. package/dist/components/core/kanban/SolidKanbanView.tsx +3 -2
  20. package/dist/components/core/kanban/SolidKanbanViewConfigure.js +1 -1
  21. package/dist/components/core/kanban/SolidKanbanViewConfigure.js.map +1 -1
  22. package/dist/components/core/kanban/SolidKanbanViewConfigure.tsx +1 -1
  23. package/dist/components/core/solid-agent/SolidAgent.module.css +11 -0
  24. package/dist/components/core/solid-agent/SolidAgentChat.d.ts.map +1 -1
  25. package/dist/components/core/solid-agent/SolidAgentChat.js +16 -6
  26. package/dist/components/core/solid-agent/SolidAgentChat.js.map +1 -1
  27. package/dist/components/core/solid-agent/SolidAgentChat.tsx +20 -4
  28. package/dist/components/core/solid-agent/SolidAgentMarkdown.d.ts +7 -3
  29. package/dist/components/core/solid-agent/SolidAgentMarkdown.d.ts.map +1 -1
  30. package/dist/components/core/solid-agent/SolidAgentMarkdown.js +17 -12
  31. package/dist/components/core/solid-agent/SolidAgentMarkdown.js.map +1 -1
  32. package/dist/components/core/solid-agent/SolidAgentMarkdown.tsx +18 -11
  33. package/dist/components/core/solid-agent/agentMarkdown.d.ts +20 -0
  34. package/dist/components/core/solid-agent/agentMarkdown.d.ts.map +1 -0
  35. package/dist/components/core/solid-agent/agentMarkdown.js +140 -0
  36. package/dist/components/core/solid-agent/agentMarkdown.js.map +1 -0
  37. package/dist/components/core/solid-agent/agentMarkdown.ts +140 -0
  38. package/dist/components/core/solid-agent/client/agentRuntime.d.ts.map +1 -1
  39. package/dist/components/core/solid-agent/client/agentRuntime.js +22 -14
  40. package/dist/components/core/solid-agent/client/agentRuntime.js.map +1 -1
  41. package/dist/components/core/solid-agent/client/agentRuntime.ts +8 -1
  42. package/dist/components/core/solid-agent/client/agentSocket.d.ts.map +1 -1
  43. package/dist/components/core/solid-agent/client/agentSocket.js +4 -4
  44. package/dist/components/core/solid-agent/client/agentSocket.js.map +1 -1
  45. package/dist/components/core/solid-agent/client/agentSocket.ts +5 -2
  46. package/dist/components/core/solid-agent/embed/AgentEmbeddingPanel.js +1 -1
  47. package/dist/components/core/solid-agent/embed/AgentEmbeddingPanel.js.map +1 -1
  48. package/dist/components/core/solid-agent/embed/AgentEmbeddingPanel.tsx +1 -1
  49. package/dist/components/core/solid-agent/embed/agentEmbedProtocol.d.ts.map +1 -1
  50. package/dist/components/core/solid-agent/embed/agentEmbedProtocol.js +2 -0
  51. package/dist/components/core/solid-agent/embed/agentEmbedProtocol.js.map +1 -1
  52. package/dist/components/core/solid-agent/embed/agentEmbedProtocol.ts +1 -0
  53. package/dist/components/core/solid-agent/embed/agentEmbedSamples.js +7 -7
  54. package/dist/components/core/solid-agent/embed/agentEmbedSamples.js.map +1 -1
  55. package/dist/components/core/solid-agent/embed/agentEmbedSamples.ts +24 -24
  56. package/dist/components/core/solid-agent/thread/inlineWidget.d.ts +1 -2
  57. package/dist/components/core/solid-agent/thread/inlineWidget.d.ts.map +1 -1
  58. package/dist/components/core/solid-agent/thread/inlineWidget.js +82 -42
  59. package/dist/components/core/solid-agent/thread/inlineWidget.js.map +1 -1
  60. package/dist/components/core/solid-agent/thread/inlineWidget.ts +69 -39
  61. package/dist/components/core/solid-agent/types.d.ts +4 -0
  62. package/dist/components/core/solid-agent/types.d.ts.map +1 -1
  63. package/dist/components/core/solid-agent/types.js.map +1 -1
  64. package/dist/components/core/solid-agent/types.ts +4 -0
  65. package/dist/components/core/solid-agent/widgets/SolidDiffListChatWidget.d.ts.map +1 -1
  66. package/dist/components/core/solid-agent/widgets/SolidDiffListChatWidget.js +12 -3
  67. package/dist/components/core/solid-agent/widgets/SolidDiffListChatWidget.js.map +1 -1
  68. package/dist/components/core/solid-agent/widgets/SolidDiffListChatWidget.tsx +13 -4
  69. package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.d.ts +3 -2
  70. package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.d.ts.map +1 -1
  71. package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.js +7 -3
  72. package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.js.map +1 -1
  73. package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.tsx +19 -3
  74. package/dist/components/core/solid-agent/widgets/solidChatWidgets.module.css +3 -0
  75. package/dist/components/shad-cn-ui/SolidDialog.js +1 -1
  76. package/dist/components/shad-cn-ui/SolidDialog.js.map +1 -1
  77. package/dist/components/shad-cn-ui/SolidDialog.tsx +1 -1
  78. package/dist/redux/api/solidEntityApi.d.ts +1 -0
  79. package/dist/redux/api/solidEntityApi.d.ts.map +1 -1
  80. package/dist/redux/api/solidEntityApi.js +14 -0
  81. package/dist/redux/api/solidEntityApi.js.map +1 -1
  82. package/dist/redux/api/solidEntityApi.tsx +8 -0
  83. package/dist/redux/api/solidMenuApi.d.ts +11 -11
  84. package/dist/redux/api/solidMenuApi.d.ts.map +1 -1
  85. package/dist/redux/api/solidMenuApi.js +2 -0
  86. package/dist/redux/api/solidMenuApi.js.map +1 -1
  87. package/dist/redux/api/solidMenuApi.ts +2 -0
  88. package/dist/redux/features/agentSlice.d.ts +3 -1
  89. package/dist/redux/features/agentSlice.d.ts.map +1 -1
  90. package/dist/redux/features/agentSlice.js +7 -4
  91. package/dist/redux/features/agentSlice.js.map +1 -1
  92. package/dist/redux/features/agentSlice.ts +9 -3
  93. package/dist/redux/store/defaultStoreConfig.d.ts +8 -8
  94. package/dist/resources/stylesheets/_main.scss +41 -16
  95. package/dist/routes/AppEventListener.d.ts.map +1 -1
  96. package/dist/routes/AppEventListener.js +16 -0
  97. package/dist/routes/AppEventListener.js.map +1 -1
  98. package/dist/routes/AppEventListener.tsx +16 -0
  99. package/dist/routes/pages/admin/core/AgentRegistryEditorPage.js +4 -4
  100. package/dist/routes/pages/admin/core/AgentRegistryEditorPage.js.map +1 -1
  101. package/dist/routes/pages/admin/core/AgentRegistryEditorPage.tsx +4 -4
  102. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.d.ts.map +1 -1
  103. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.js +3 -0
  104. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.js.map +1 -1
  105. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.tsx +3 -0
  106. package/package.json +1 -1
@@ -162,8 +162,8 @@ const agentRoleApi = createSolidEntityApi("agentRole");
162
162
  const agentSecretApi = createSolidEntityApi("agentSecret");
163
163
  const jobApi = createSolidEntityApi("agentJob");
164
164
 
165
- const skillFields = ["id", "name", "iconName", "description"];
166
- const toolFields = [...skillFields, "type", "status", "lastLoadError"];
165
+ const skillFields = ["id", "name", "iconName", "description", "type"];
166
+ const toolFields = [...skillFields, "status", "lastLoadError"];
167
167
 
168
168
  function fieldsQuery(fields: string[]): string {
169
169
  return fields.map((name) => `fields=${encodeURIComponent(name)}`).join("&");
@@ -332,7 +332,7 @@ function LinkPicker({ label, description, options, selected, onAdd, onRemove, cr
332
332
  <SolidDropdownMenuTrigger asChild><button type="button" className="agent-editor__resource-menu-trigger" aria-label={`Actions for ${item.name ?? item.displayName ?? item.key}`}><Ellipsis size={18} /></button></SolidDropdownMenuTrigger>
333
333
  <SolidDropdownMenuContent className="agent-editor__resource-menu">
334
334
  <SolidDropdownMenuItem onSelect={() => onView(item)}><Eye size={16} /> View</SolidDropdownMenuItem>
335
- <SolidDropdownMenuItem asChild><a href={editUrlFor(item)} target="_blank" rel="noopener noreferrer"><Pencil size={16} /> Edit</a></SolidDropdownMenuItem>
335
+ {item.type !== "solidx" && <SolidDropdownMenuItem asChild><a href={editUrlFor(item)} target="_blank" rel="noopener noreferrer"><Pencil size={16} /> Edit</a></SolidDropdownMenuItem>}
336
336
  <SolidDropdownMenuItem className="agent-editor__resource-delete" onSelect={() => onRemove(item.id)}><Trash2 size={16} /> Delete</SolidDropdownMenuItem>
337
337
  </SolidDropdownMenuContent>
338
338
  </SolidDropdownMenu> : <button type="button" aria-label={`Remove ${item.name ?? item.displayName ?? item.key}`} onClick={() => onRemove(item.id)}><Trash2 size={16} /></button>}
@@ -673,7 +673,7 @@ export function AgentRegistryEditorPage() {
673
673
  setSecretEnvVarError("Use a valid environment variable name (letters, numbers, and underscores; it cannot start with a number).");
674
674
  return;
675
675
  }
676
- if (["APP_ENCRYPTION_KEY", "DATABASE_URL", "AGENTHUB_MANAGER_INTERNAL_TOKEN", "AGENTHUB_BRIDGE_PROCESS_KEY"].includes(value)) {
676
+ if (["APP_ENCRYPTION_KEY", "DATABASE_URL", "AGENT_HUB_MANAGER_INTERNAL_TOKEN", "AGENT_HUB_BRIDGE_PROCESS_KEY"].includes(value)) {
677
677
  setSecretEnvVarError("This environment variable name is reserved by AgentHub.");
678
678
  return;
679
679
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DatasourceIntrospectionPage.d.ts","sourceRoot":"","sources":["../../../../../src/routes/pages/admin/core/DatasourceIntrospectionPage.tsx"],"names":[],"mappings":"AAyDA,OAAO,mCAAmC,CAAC;AAqsB3C,wBAAgB,2BAA2B,4CAo+E1C"}
1
+ {"version":3,"file":"DatasourceIntrospectionPage.d.ts","sourceRoot":"","sources":["../../../../../src/routes/pages/admin/core/DatasourceIntrospectionPage.tsx"],"names":[],"mappings":"AA0DA,OAAO,mCAAmC,CAAC;AAqsB3C,wBAAgB,2BAA2B,4CAs+E1C"}
@@ -79,6 +79,7 @@ import { waitForBackendAvailability } from "../../../../helpers/waitForBackendAv
79
79
  import { SolidButton, SolidCheckbox, SolidDialog, SolidDialogBody, SolidDialogClose, SolidDialogDescription, SolidDialogFooter, SolidDialogHeader, SolidDialogSeparator, SolidDialogTitle, SolidInput, SolidSelect, SolidSpinner, SolidSwitch, SolidTabGroup, SolidTextarea, } from "../../../../components/shad-cn-ui";
80
80
  import { datasourceIntrospectionApi, useApplyDatasourceIntrospectionMappingMutation, useCreateDatasourceIntrospectionMigrationArtifactsMutation, useGenerateDatasourceIntrospectionCodeMutation, useGetDatasourceIntrospectionBootstrapQuery, useGetDatasourceIntrospectionTablesQuery, usePreviewDatasourceIntrospectionMappingMutation, useRunDatasourceIntrospectionMigrationMutation, } from "../../../../redux/api/datasourceIntrospectionApi";
81
81
  import { modelsApi } from "../../../../redux/api/modelApi";
82
+ import { solidMenusApi } from "../../../../redux/api/solidMenuApi";
82
83
  import "./DatasourceIntrospectionPage.css";
83
84
  function providerLabel(type) {
84
85
  if (type === "postgres")
@@ -1588,6 +1589,8 @@ export function DatasourceIntrospectionPage() {
1588
1589
  case 2:
1589
1590
  response = _b.sent();
1590
1591
  setRunMigrationOutput(response.output || response.message || "");
1592
+ // Seeding creates menu entries; refresh the mounted sidebar's cached menu.
1593
+ dispatch(solidMenusApi.util.invalidateTags(["SolidMenu"]));
1591
1594
  setRunMigrationCompleted(true);
1592
1595
  dispatch(showToast({
1593
1596
  severity: "success",