@ai-matrx/coding-sessions 0.1.103 → 0.1.105
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.
- package/CHANGELOG.md +12 -0
- package/dist/react/index.cjs +2 -3
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +2 -3
- package/dist/react/index.js.map +1 -1
- package/dist/ui/assets/index-dyTBAji7.js +71 -0
- package/dist/ui/index.html +1 -1
- package/package.json +3 -3
- package/dist/ui/assets/index-D0SJZ4vf.js +0 -71
package/dist/react/index.js
CHANGED
|
@@ -908,7 +908,6 @@ import {
|
|
|
908
908
|
createAgentCatalog
|
|
909
909
|
} from "@ai-matrx/agents/catalog";
|
|
910
910
|
import { AgentCatalogProvider, AgentListDropdown } from "@ai-matrx/agents/catalog/react";
|
|
911
|
-
import { humanizeContextKey } from "@ai-matrx/agents/context";
|
|
912
911
|
import {
|
|
913
912
|
Button,
|
|
914
913
|
Dialog,
|
|
@@ -1009,7 +1008,7 @@ function AgentField(props) {
|
|
|
1009
1008
|
useEffect2(() => {
|
|
1010
1009
|
onDetails?.(details);
|
|
1011
1010
|
}, [details, onDetails]);
|
|
1012
|
-
const inputs = useMemo2(() => deriveRunInputs(asRunInputVariables(details?.variables ?? [])
|
|
1011
|
+
const inputs = useMemo2(() => deriveRunInputs(asRunInputVariables(details?.variables ?? [])), [details]);
|
|
1013
1012
|
if (access === null) return /* @__PURE__ */ jsx5("div", { className: "cs-skeleton h-9 rounded-lg" });
|
|
1014
1013
|
if (!access.signedIn || !catalog) {
|
|
1015
1014
|
return /* @__PURE__ */ jsx5("p", { className: "text-[12.5px] text-muted-foreground", children: SIGNED_OUT_AGENTS });
|
|
@@ -1094,7 +1093,7 @@ function AgentField(props) {
|
|
|
1094
1093
|
}
|
|
1095
1094
|
function missingRequiredVariable(details, selection) {
|
|
1096
1095
|
if (!details || !selection) return null;
|
|
1097
|
-
for (const input of deriveRunInputs(asRunInputVariables(details.variables)
|
|
1096
|
+
for (const input of deriveRunInputs(asRunInputVariables(details.variables))) {
|
|
1098
1097
|
if (!input.required) continue;
|
|
1099
1098
|
const value = selection.variables?.[input.name];
|
|
1100
1099
|
if (typeof value !== "string" || !value.trim()) return input.name;
|