@hostwebhook/node-types 1.51.0 → 1.52.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/dist/ui.js +9 -1
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -28,7 +28,15 @@ exports.NODE_UI = {
|
|
|
28
28
|
aggregator: { fromNodes: true, toNodes: true, special: { loopBackAllowed: true } },
|
|
29
29
|
cache: { fromNodes: true, toNodes: true },
|
|
30
30
|
code: { fromNodes: true, toNodes: true, special: { loopBackAllowed: true } },
|
|
31
|
-
|
|
31
|
+
// AI Node: in classifier mode (entity.outputMode === 'classifier') the
|
|
32
|
+
// node fans out to N output handles — one per category in
|
|
33
|
+
// `entity.categories[]` plus an optional synthesized "Other" handle
|
|
34
|
+
// (controlled by `entity.includeOtherBranch`). Wiring lives in
|
|
35
|
+
// `categories[].outputNodes` + `otherOutputNodes`, mirroring
|
|
36
|
+
// ConditionalNode's `branches[]` + `elseOutputNodes`. In any other
|
|
37
|
+
// outputMode the node falls back to the single right-out handle
|
|
38
|
+
// NodeShell renders when no dynamic outputs materialize.
|
|
39
|
+
ai: { fromNodes: true, toNodes: true, outputHandles: ['right'], special: { loopBackAllowed: true, connectModal: 'output-group', outputGroups: { field: 'categories', nameField: 'name', summaryField: 'description', label: 'category', elseField: 'otherOutputNodes' } } },
|
|
32
40
|
markdown: { fromNodes: true, toNodes: true, special: { loopBackAllowed: true } },
|
|
33
41
|
fileTransform: { fromNodes: true, toNodes: true },
|
|
34
42
|
limit: { fromNodes: true, toNodes: true, special: { loopBackAllowed: true } },
|
package/package.json
CHANGED