@ai-matrx/agents 0.38.3 → 0.40.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.
- package/CHANGELOG.md +27 -0
- package/dist/catalog/index.cjs +3 -1
- package/dist/catalog/index.cjs.map +1 -1
- package/dist/catalog/index.d.cts +2 -2
- package/dist/catalog/index.d.ts +2 -2
- package/dist/catalog/index.js +3 -1
- package/dist/catalog/index.js.map +1 -1
- package/dist/catalog/native/index.cjs +4 -1
- package/dist/catalog/native/index.cjs.map +1 -1
- package/dist/catalog/native/index.d.cts +8 -3
- package/dist/catalog/native/index.d.ts +8 -3
- package/dist/catalog/native/index.js +4 -1
- package/dist/catalog/native/index.js.map +1 -1
- package/dist/catalog/react/index.cjs +1 -0
- package/dist/catalog/react/index.cjs.map +1 -1
- package/dist/catalog/react/index.d.cts +13 -1
- package/dist/catalog/react/index.d.ts +13 -1
- package/dist/catalog/react/index.js +1 -0
- package/dist/catalog/react/index.js.map +1 -1
- package/dist/content-transfer/index.cjs.map +1 -1
- package/dist/content-transfer/index.js.map +1 -1
- package/dist/content-transfer/react/index.cjs.map +1 -1
- package/dist/content-transfer/react/index.js.map +1 -1
- package/dist/context/index.cjs +3 -23
- package/dist/context/index.cjs.map +1 -1
- package/dist/context/index.d.cts +10 -13
- package/dist/context/index.d.ts +10 -13
- package/dist/context/index.js +5 -23
- package/dist/context/index.js.map +1 -1
- package/dist/context/react/index.cjs +263 -97
- package/dist/context/react/index.cjs.map +1 -1
- package/dist/context/react/index.d.cts +140 -15
- package/dist/context/react/index.d.ts +140 -15
- package/dist/context/react/index.js +266 -100
- package/dist/context/react/index.js.map +1 -1
- package/dist/generated/api-types.cjs.map +1 -1
- package/dist/generated/api-types.d.cts +1 -1
- package/dist/generated/api-types.d.ts +1 -1
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -6
- package/dist/index.d.ts +9 -6
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/{keys.generated-BdQt09qH.d.cts → keys.generated-myjGAtI0.d.cts} +4 -4
- package/dist/{keys.generated-BdQt09qH.d.ts → keys.generated-myjGAtI0.d.ts} +4 -4
- package/dist/mandates/index.cjs +2 -2
- package/dist/mandates/index.cjs.map +1 -1
- package/dist/mandates/index.d.cts +2 -2
- package/dist/mandates/index.d.ts +2 -2
- package/dist/mandates/index.js +2 -2
- package/dist/mandates/index.js.map +1 -1
- package/dist/matrx/index.d.cts +1 -1
- package/dist/matrx/index.d.ts +1 -1
- package/dist/{orchestra-zpGHwOag.d.cts → orchestra-CiaTu58J.d.cts} +7 -0
- package/dist/{orchestra-zpGHwOag.d.ts → orchestra-CiaTu58J.d.ts} +7 -0
- package/generated/api-types.ts +1 -1
- package/mandates/snapshots/keys.0.38.4.json +653 -0
- package/mandates/snapshots/keys.0.39.0.json +653 -0
- package/mandates/snapshots/keys.0.40.0.json +653 -0
- package/package.json +4 -4
|
@@ -36606,7 +36606,7 @@ interface paths {
|
|
|
36606
36606
|
* subgraph child runs (hidden by default so fan-outs don't flood the list).
|
|
36607
36607
|
*
|
|
36608
36608
|
* 🚨 A LIST IS DECIDED BY ACCESS, NEVER BY THE SELECTED ORGANIZATION
|
|
36609
|
-
* (common-docs/policies/access-
|
|
36609
|
+
* (common-docs/policies/access-ladder.md).
|
|
36610
36610
|
*/
|
|
36611
36611
|
get: operations["list_runs_runs_get"];
|
|
36612
36612
|
put?: never;
|
|
@@ -36606,7 +36606,7 @@ interface paths {
|
|
|
36606
36606
|
* subgraph child runs (hidden by default so fan-outs don't flood the list).
|
|
36607
36607
|
*
|
|
36608
36608
|
* 🚨 A LIST IS DECIDED BY ACCESS, NEVER BY THE SELECTED ORGANIZATION
|
|
36609
|
-
* (common-docs/policies/access-
|
|
36609
|
+
* (common-docs/policies/access-ladder.md).
|
|
36610
36610
|
*/
|
|
36611
36611
|
get: operations["list_runs_runs_get"];
|
|
36612
36612
|
put?: never;
|
package/dist/index.cjs
CHANGED
|
@@ -3459,6 +3459,7 @@ function referenceRoleCaption(role, name) {
|
|
|
3459
3459
|
}
|
|
3460
3460
|
|
|
3461
3461
|
// variables/run-inputs.ts
|
|
3462
|
+
var import_text_case = require("@ai-matrx/kit/text-case");
|
|
3462
3463
|
var MEDIA_KINDS = ["image", "video", "audio", "document", "youtube"];
|
|
3463
3464
|
function isControlVariable(def) {
|
|
3464
3465
|
return typeof def.control?.key === "string" && def.control.key.length > 0;
|
|
@@ -3481,16 +3482,18 @@ function roleOf(variable) {
|
|
|
3481
3482
|
const roled = type === "image" || type === "video" || type === "audio";
|
|
3482
3483
|
return roled && isReferenceRole(role) ? role : null;
|
|
3483
3484
|
}
|
|
3484
|
-
function variableRunLabel(variable, formatName) {
|
|
3485
|
+
function variableRunLabel(variable, formatName = import_text_case.humanizeIdentifier) {
|
|
3486
|
+
const own = (variable.label ?? "").trim();
|
|
3487
|
+
if (own !== "") return own;
|
|
3485
3488
|
const role = roleOf(variable);
|
|
3486
|
-
return role ? IMAGE_ROLE_META[role].ask : formatName(variable.name);
|
|
3489
|
+
return role ? IMAGE_ROLE_META[role].ask : formatName(variable.name) || variable.name;
|
|
3487
3490
|
}
|
|
3488
3491
|
function variableRunHint(variable) {
|
|
3489
3492
|
if (variable.helpText) return variable.helpText;
|
|
3490
3493
|
const role = roleOf(variable);
|
|
3491
3494
|
return role ? IMAGE_ROLE_META[role].explanation : void 0;
|
|
3492
3495
|
}
|
|
3493
|
-
function deriveRunInputs(defs, formatName) {
|
|
3496
|
+
function deriveRunInputs(defs, formatName = import_text_case.humanizeIdentifier) {
|
|
3494
3497
|
return orderVariablesForForm([...defs ?? []]).map((variable) => {
|
|
3495
3498
|
const type = variable.customComponent?.type ?? "textarea";
|
|
3496
3499
|
const options = variable.customComponent?.options ?? void 0;
|