@oomol-lab/open-flow 0.1.0-beta.60 → 0.1.0-beta.61
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/README.md +14 -1
- package/dist/browser/{createResourceDialog-B7ThMSeA.js → createResourceDialog-D71fO68i.js} +2 -2
- package/dist/browser/{flowChanges-Cbl6Izr-.js → flowChanges-DSA0FxxN.js} +3389 -3290
- package/dist/browser/{flowWorkspace-BdbsnUDs.js → flowWorkspace-0sUJ5JhQ.js} +41 -49
- package/dist/browser/{icons-D70mz3qW.js → icons-DVJvrj1H.js} +10503 -10503
- package/dist/browser/preview.js +687 -718
- package/dist/browser/ui.css +697 -1
- package/dist/browser/ui.d.ts +45 -0
- package/dist/browser/ui.js +6243 -740
- package/dist/browser/workbench.js +6 -64
- package/dist/browser/{workbenchSelect-gB45mZY7.js → workbenchSelect-cr4-mKq3.js} +1 -1
- package/dist/command/index.d.ts +6 -0
- package/dist/command/index.js +84 -0
- package/dist/command/licenses.md +191 -0
- package/dist/common/authoring.d.ts +1 -1
- package/dist/common/control-api-conformance.js +3675 -3585
- package/dist/common/control-api-errors.d.ts +4 -0
- package/dist/common/control-api.d.ts +30 -9
- package/dist/common/control-api.js +4259 -3789
- package/dist/common/mcp.d.ts +61 -0
- package/dist/common/mcp.js +342 -232
- package/dist/common/publicationResources.d.ts +29 -0
- package/package.json +5 -1
- package/skills/open-flow/SKILL.md +2 -1
- package/skills/open-flow/references/flow-authoring.md +32 -0
|
@@ -9,7 +9,8 @@ Use `<!-- agentic:var flowCommand -->` to operate the selected deployment.
|
|
|
9
9
|
Consult the references relevant to the task:
|
|
10
10
|
|
|
11
11
|
- [Flow capabilities and examples](references/flow-authoring.md): inspect, edit,
|
|
12
|
-
connect, validate, run and publish;
|
|
12
|
+
connect, validate, run and publish; published resources, Flow enable/disable,
|
|
13
|
+
concurrency and Run diagnostics.
|
|
13
14
|
- [n8n conversion](references/flow-n8n-conversion.md): represent collections,
|
|
14
15
|
branches, provider operations and state while preserving source behavior.
|
|
15
16
|
|
|
@@ -326,6 +326,7 @@ large results without requiring the whole value in one response.
|
|
|
326
326
|
```bash
|
|
327
327
|
<!-- agentic:var flowCommand --> publish FLOW_ID --expected-revision REVISION --expected-publication PUBLICATION_OR_NONE --idempotency-key PUBLISH_KEY --json
|
|
328
328
|
<!-- agentic:var flowCommand --> enable FLOW_ID --expected-publication PUBLICATION --json
|
|
329
|
+
<!-- agentic:var flowCommand --> disable FLOW_ID --expected-publication PUBLICATION --json
|
|
329
330
|
<!-- agentic:var flowCommand --> workbench FLOW_ID --json
|
|
330
331
|
<!-- agentic:var flowCommand --> open FLOW_ID
|
|
331
332
|
```
|
|
@@ -334,10 +335,41 @@ large results without requiring the whole value in one response.
|
|
|
334
335
|
are for a requested release or automatic execution, and are unnecessary for a
|
|
335
336
|
Draft test Run. `publications wait` follows an accepted pending publication.
|
|
336
337
|
|
|
338
|
+
Flow is the only manual enable/disable unit: its switch controls all current Live
|
|
339
|
+
Triggers together. Individual Triggers have no pause/resume operation. Disabling
|
|
340
|
+
a Flow blocks new production admission without cancelling already accepted Runs.
|
|
341
|
+
Use the observed Live publication ID for `--expected-publication`; if it changed,
|
|
342
|
+
read the current state before deciding whether to apply the switch to that version.
|
|
343
|
+
The MCP equivalent is `flow_set_enabled({ flowId, expectedPublicationId, enabled })`.
|
|
344
|
+
|
|
337
345
|
`workbench` returns a URL; `open` opens the system browser. Browser authentication
|
|
338
346
|
belongs to the host. An open Workbench receives Revision notifications, so a CLI
|
|
339
347
|
edit does not require a page reload.
|
|
340
348
|
|
|
349
|
+
### Inspect published resources
|
|
350
|
+
|
|
351
|
+
```bash
|
|
352
|
+
<!-- agentic:var flowCommand --> resources FLOW_ID --json
|
|
353
|
+
<!-- agentic:var flowCommand --> resources FLOW_ID RESOURCE_ID --json
|
|
354
|
+
<!-- agentic:var flowCommand --> publications list FLOW_ID --json
|
|
355
|
+
<!-- agentic:var flowCommand --> resources FLOW_ID --publication PUBLICATION_ID --json
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
`resources` defaults to the current Live publication and returns its managed
|
|
359
|
+
Trigger resources, runtime health and Webhook URLs. The response's `enabled`
|
|
360
|
+
describes the Flow switch; healthy resources can belong to a disabled Flow.
|
|
361
|
+
Use a returned `resourceId` for detail, and pin `publicationId` when subsequent
|
|
362
|
+
reads must refer to the same publication. Configuration comes from the fixed
|
|
363
|
+
published Revision, so unpublished Draft edits do not appear here.
|
|
364
|
+
|
|
365
|
+
Historical results contain configuration only, without runtime state, `enabled`
|
|
366
|
+
or callable URLs. Querying history does not reactivate it; restoring a historical
|
|
367
|
+
version requires an authorized rollback. Manual entry nodes are read through
|
|
368
|
+
`read` and are not managed resources. `trigger search` and `trigger show` discover
|
|
369
|
+
provider Trigger definitions; use `resources` to inspect a Flow's published Triggers.
|
|
370
|
+
MCP equivalents are `flow_resources({ flowId, publicationId? })` and
|
|
371
|
+
`flow_resource_get({ flowId, resourceId, publicationId? })`.
|
|
372
|
+
|
|
341
373
|
## Recover without losing another change or repeating an effect
|
|
342
374
|
|
|
343
375
|
- **Revision conflict:** another writer changed the Draft. Read the latest
|