@w6w/ui 0.2.59 → 0.2.60
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/StepBuilderModal.d.ts +16 -2
- package/dist/connection-app-meta-BXCIgekK.cjs +24 -0
- package/dist/connection-app-meta-BXCIgekK.cjs.map +1 -0
- package/dist/{connection-app-meta-Cl6mUAMF.js → connection-app-meta-CEkQSIlc.js} +3460 -3346
- package/dist/connection-app-meta-CEkQSIlc.js.map +1 -0
- package/dist/flow.cjs +1 -1
- package/dist/flow.mjs +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +221 -203
- package/dist/index.mjs.map +1 -1
- package/dist/provider.d.ts +12 -0
- package/package.json +1 -1
- package/src/styles/_execution-log.scss +16 -0
- package/src/styles.css +19 -0
- package/dist/connection-app-meta-CNEwLsL3.cjs +0 -24
- package/dist/connection-app-meta-CNEwLsL3.cjs.map +0 -1
- package/dist/connection-app-meta-Cl6mUAMF.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.60
|
|
4
|
+
|
|
5
|
+
- **Run agent** node: pick an agent and write the message it runs on (`@w6w/model` · agent).
|
|
6
|
+
- Clicking a For each iteration in the execution log shows that iteration's input and output.
|
|
7
|
+
- `StepBuilderModal` takes `setupOnly`: the picker finishes once an action and its connection are chosen, for hosts that configure the rest themselves (e.g. an agent's tools).
|
|
8
|
+
|
|
3
9
|
## 0.2.59
|
|
4
10
|
|
|
5
11
|
- The add-node dialog's Settings tab offers **Write to state** and **Run next nodes**, and a choice lands on the node as soon as it is added.
|
|
@@ -156,6 +156,16 @@ export interface StepBuilderModalProps {
|
|
|
156
156
|
* (e.g. binding a repository), not a runnable step.
|
|
157
157
|
*/
|
|
158
158
|
connectionOnly?: boolean;
|
|
159
|
+
/**
|
|
160
|
+
* Stop at "an action and its connection are chosen" — no Configure, no Test. The Setup tab's
|
|
161
|
+
* footer commits the pick through `onAdd`, labelled {@link StepBuilderModalProps.addLabel}. For a
|
|
162
|
+
* caller that binds an action as a capability rather than a configured step (an agent's tools:
|
|
163
|
+
* the model supplies the parameters at call time). A picked Function or Workflow is committed
|
|
164
|
+
* at once, without its inputs form.
|
|
165
|
+
*/
|
|
166
|
+
setupOnly?: boolean;
|
|
167
|
+
/** The commit button's label with {@link StepBuilderModalProps.setupOnly}. Defaults to "Add". */
|
|
168
|
+
addLabel?: string;
|
|
159
169
|
/**
|
|
160
170
|
* Fired once, on {@link AppConnectionOnlyConfig}'s footer button — never on
|
|
161
171
|
* selection alone. Only meaningful with {@link StepBuilderModalProps.connectionOnly}.
|
|
@@ -204,7 +214,7 @@ export declare function ConfigViewToggle({ view, onChange, disabled, views, cust
|
|
|
204
214
|
*
|
|
205
215
|
* Data + IO come from `useW6WApi()`, so mount it under `<W6WUIProvider>`.
|
|
206
216
|
*/
|
|
207
|
-
export declare function StepBuilderModal({ onClose, onDone, onAdd, onDraftChange, theme, appsOnly, callables, initialTab, title, workflowId, stepId, upstreamSteps, loop, initialApp, initialAction, initialConnection, initialWith, appsFilter, appsIds, connectionOnly, onConnected, excludeCallableIds, onOpenStep, stepIds, }: StepBuilderModalProps): import("react").JSX.Element;
|
|
217
|
+
export declare function StepBuilderModal({ onClose, onDone, onAdd, onDraftChange, theme, appsOnly, callables, initialTab, title, workflowId, stepId, upstreamSteps, loop, initialApp, initialAction, initialConnection, initialWith, appsFilter, appsIds, connectionOnly, setupOnly, addLabel, onConnected, excludeCallableIds, onOpenStep, stepIds, }: StepBuilderModalProps): import("react").JSX.Element;
|
|
208
218
|
/**
|
|
209
219
|
* Config form for a chosen internal node — its schema rendered through the same
|
|
210
220
|
* `ParamsForm` as app actions, seeded with the node's defaults. Emits the built
|
|
@@ -419,7 +429,7 @@ export declare function AppTriggerTestNote({ title, app }: {
|
|
|
419
429
|
title: string;
|
|
420
430
|
app: string;
|
|
421
431
|
}): import("react").JSX.Element;
|
|
422
|
-
export declare function AppStepConfig({ kind, onOpenStep, appId, app, onAdd, onClose, onDone, onDraftChange, onChangeApp, theme, workflowId, stepId, upstreamSteps, loop, initialAction, initialConnection, initialWith, }: {
|
|
432
|
+
export declare function AppStepConfig({ kind, onOpenStep, appId, app, onAdd, onClose, onDone, onDraftChange, onChangeApp, theme, workflowId, stepId, upstreamSteps, loop, initialAction, initialConnection, initialWith, setupOnly, addLabel, }: {
|
|
423
433
|
/**
|
|
424
434
|
* What the Setup tab picks: one of the app's actions, or (`"trigger"`, the
|
|
425
435
|
* Triggers tab) one of its triggers. Same account step, same picker, same
|
|
@@ -452,6 +462,10 @@ export declare function AppStepConfig({ kind, onOpenStep, appId, app, onAdd, onC
|
|
|
452
462
|
initialConnection?: string;
|
|
453
463
|
/** Pre-filled parameter values */
|
|
454
464
|
initialWith?: Record<string, unknown>;
|
|
465
|
+
/** See {@link StepBuilderModalProps.setupOnly}. */
|
|
466
|
+
setupOnly?: boolean;
|
|
467
|
+
/** See {@link StepBuilderModalProps.addLabel}. */
|
|
468
|
+
addLabel?: string;
|
|
455
469
|
}): import("react").JSX.Element;
|
|
456
470
|
/**
|
|
457
471
|
* {@link AppStepConfig}'s Setup tab, minus the Action and Configure/Test
|