@ixo/editor 6.16.0 → 6.17.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.
@@ -1185,7 +1185,7 @@
1185
1185
  "hasDynamicEvents": true,
1186
1186
  "hasDynamicOutputSchema": true,
1187
1187
  "eligibleForEventTrigger": false,
1188
- "hasCustomInputValidation": false,
1188
+ "hasCustomInputValidation": true,
1189
1189
  "can": "collection/lifecycle",
1190
1190
  "requiredCapability": "flow/block/execute",
1191
1191
  "inputSchema": {
@@ -7439,6 +7439,21 @@ registerAction({
7439
7439
  intents: { type: "object", description: "create/updateIntents \u2014 intent configuration." }
7440
7440
  }
7441
7441
  },
7442
+ // Mirrors run()'s throw-preamble: `operation` selects the branch, `create`
7443
+ // needs the entity + protocol DIDs, and every other op targets an existing
7444
+ // collection so it needs `collectionId`. Per-op value validity (state enum,
7445
+ // quota vs count, at-least-one-date) stays with run().
7446
+ getMissingInputs: (inputs) => {
7447
+ const operation = String(inputs?.operation || "").trim();
7448
+ if (!operation) return ["operation"];
7449
+ if (operation === "create") {
7450
+ const missing = [];
7451
+ if (!String(inputs?.entity || "").trim()) missing.push("entity");
7452
+ if (!String(inputs?.protocol || "").trim()) missing.push("protocol");
7453
+ return missing;
7454
+ }
7455
+ return String(inputs?.collectionId || "").trim() ? [] : ["collectionId"];
7456
+ },
7442
7457
  run: async (inputs, ctx) => {
7443
7458
  const service = ctx.services.collection;
7444
7459
  if (!service) {
@@ -14892,6 +14907,8 @@ async function callConfiguredExecutor(command, context, options) {
14892
14907
  return options.executor.assignActor?.(command, context);
14893
14908
  case "execute_action":
14894
14909
  return options.executor.executeAction?.(command, context);
14910
+ case "notify_actor":
14911
+ return options.executor.notifyActor?.(command, context);
14895
14912
  case "diagnose_blocker":
14896
14913
  return options.executor.diagnoseBlocker?.(command, context);
14897
14914
  default:
@@ -15204,4 +15221,4 @@ export {
15204
15221
  executeQueuedFlowAgentCoreCommands,
15205
15222
  FlowAgentService
15206
15223
  };
15207
- //# sourceMappingURL=chunk-TFY73KIE.js.map
15224
+ //# sourceMappingURL=chunk-7GS4HTDO.js.map