@ai-matrx/coding-sessions 0.1.104 → 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 +6 -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-BDZyqge-.js → index-dyTBAji7.js} +1 -1
- package/dist/ui/index.html +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @ai-matrx/coding-sessions
|
|
2
2
|
|
|
3
|
+
## 0.1.105
|
|
4
|
+
### Run inputs use the agents package's default humanizer
|
|
5
|
+
|
|
6
|
+
- `deriveRunInputs` is called without the removed `humanizeContextKey`; labels come from the variable's own label, else `humanizeIdentifier`.
|
|
7
|
+
- Consumer action: none.
|
|
8
|
+
|
|
3
9
|
## 0.1.104
|
|
4
10
|
|
|
5
11
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
package/dist/react/index.cjs
CHANGED
|
@@ -901,7 +901,6 @@ var import_react5 = require("react");
|
|
|
901
901
|
var import_agents = require("@ai-matrx/agents");
|
|
902
902
|
var import_catalog = require("@ai-matrx/agents/catalog");
|
|
903
903
|
var import_react6 = require("@ai-matrx/agents/catalog/react");
|
|
904
|
-
var import_context = require("@ai-matrx/agents/context");
|
|
905
904
|
var import_design_system4 = require("@ai-matrx/design-system");
|
|
906
905
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
907
906
|
var SIGNED_OUT_AGENTS = "Sign in to AI Matrx to use your agents";
|
|
@@ -980,7 +979,7 @@ function AgentField(props) {
|
|
|
980
979
|
(0, import_react5.useEffect)(() => {
|
|
981
980
|
onDetails?.(details);
|
|
982
981
|
}, [details, onDetails]);
|
|
983
|
-
const inputs = (0, import_react5.useMemo)(() => (0, import_agents.deriveRunInputs)(asRunInputVariables(details?.variables ?? [])
|
|
982
|
+
const inputs = (0, import_react5.useMemo)(() => (0, import_agents.deriveRunInputs)(asRunInputVariables(details?.variables ?? [])), [details]);
|
|
984
983
|
if (access === null) return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "cs-skeleton h-9 rounded-lg" });
|
|
985
984
|
if (!access.signedIn || !catalog) {
|
|
986
985
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("p", { className: "text-[12.5px] text-muted-foreground", children: SIGNED_OUT_AGENTS });
|
|
@@ -1065,7 +1064,7 @@ function AgentField(props) {
|
|
|
1065
1064
|
}
|
|
1066
1065
|
function missingRequiredVariable(details, selection) {
|
|
1067
1066
|
if (!details || !selection) return null;
|
|
1068
|
-
for (const input of (0, import_agents.deriveRunInputs)(asRunInputVariables(details.variables)
|
|
1067
|
+
for (const input of (0, import_agents.deriveRunInputs)(asRunInputVariables(details.variables))) {
|
|
1069
1068
|
if (!input.required) continue;
|
|
1070
1069
|
const value = selection.variables?.[input.name];
|
|
1071
1070
|
if (typeof value !== "string" || !value.trim()) return input.name;
|