@oomol-lab/open-flow 0.1.0-beta.27 → 0.1.0-beta.28

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.
Files changed (49) hide show
  1. package/dist/browser/{createResourceDialog-BwI2JmPE.js → createResourceDialog-C2ZLGPla.js} +1 -1
  2. package/dist/browser/flow-authoring-node.d.ts +3 -2
  3. package/dist/browser/flow-authoring.js +933 -915
  4. package/dist/browser/flow-change-schema.d.ts +4 -0
  5. package/dist/browser/flow-change.d.ts +8 -7
  6. package/dist/browser/flow-change.js +1067 -1050
  7. package/dist/browser/flow-notifications.d.ts +6 -2
  8. package/dist/browser/{flowChanges-DhEjA0n5.js → flowChanges-Z49mslMz.js} +1096 -1014
  9. package/dist/browser/{flowWorkspace-zcweMsLS.js → flowWorkspace-DCaVDqtY.js} +40105 -43746
  10. package/dist/browser/host-conformance.js +7 -1
  11. package/dist/browser/{inputValues-C5ExCCf0.js → inputValues-CLnpqFAf.js} +1 -1
  12. package/dist/browser/{markdownContent-SIlWuHve.js → markdownContent-Bon8uhjM.js} +23 -23
  13. package/dist/browser/{switch-CyZ96-UF.js → switch-DuB8aovT.js} +5035 -513
  14. package/dist/browser/ui.css +1 -1
  15. package/dist/browser/workbench.css +1 -1
  16. package/dist/browser/workbench.js +890 -727
  17. package/dist/browser/{workbenchSelect-BUu7CjUA.js → workbenchSelect-DX9IFmX-.js} +1187 -1156
  18. package/dist/common/authoringExamples.d.ts +27 -0
  19. package/dist/common/control-api-conformance.js +838 -820
  20. package/dist/common/control-api-errors.d.ts +8 -0
  21. package/dist/common/control-api.d.ts +7 -3
  22. package/dist/common/control-api.js +1423 -1368
  23. package/dist/common/control-requests.d.ts +13 -6
  24. package/dist/common/control-requests.js +2034 -1510
  25. package/dist/common/cron-trigger.d.ts +2 -1
  26. package/dist/common/cron-trigger.js +27 -24
  27. package/dist/common/draftOperations.d.ts +14 -0
  28. package/dist/common/engine-contract.d.ts +2 -2
  29. package/dist/common/flow-encoding.d.ts +3 -0
  30. package/dist/common/flow-encoding.js +1067 -968
  31. package/dist/common/flow-notifications.d.ts +6 -2
  32. package/dist/common/flow-schema.d.ts +1 -2
  33. package/dist/common/flow-semantics.d.ts +2 -1
  34. package/dist/common/flow-semantics.js +7935 -7812
  35. package/dist/common/flowInspection.d.ts +16 -0
  36. package/dist/common/integration-trigger.d.ts +2 -2
  37. package/dist/common/integration-trigger.js +8 -8
  38. package/dist/common/mcp.d.ts +2 -1
  39. package/dist/common/mcp.js +138 -105
  40. package/dist/common/poll-trigger.d.ts +3 -0
  41. package/dist/common/poll-trigger.js +26 -22
  42. package/dist/common/provider-triggers.js +2704 -2599
  43. package/dist/common/runtime-contract.js +3 -3
  44. package/dist/common/scheduler.d.ts +4 -3
  45. package/dist/common/scheduler.js +1855 -1725
  46. package/dist/common/trigger-contract.d.ts +5 -0
  47. package/dist/common/webhook-trigger.d.ts +3 -3
  48. package/dist/common/webhook-trigger.js +64 -18
  49. package/package.json +1 -1
@@ -1,7 +1,11 @@
1
- export interface FlowCatalogEvent {
1
+ export type FlowCatalogEvent = {
2
2
  readonly kind: 'flows.changed';
3
3
  readonly version: 1;
4
- }
4
+ } | {
5
+ readonly kind: 'flow.created';
6
+ readonly flowId: string;
7
+ readonly version: 1;
8
+ };
5
9
  export type FlowChangeEvent = {
6
10
  readonly kind: 'draft.changed';
7
11
  readonly flowId: string;
@@ -1,5 +1,4 @@
1
- import type { JsonValue, PortDefinition, SchemaMismatch, TriggerNode } from '../browser/flow-change.js';
2
- export declare function triggerPayloadSchema(trigger: TriggerNode): JsonValue;
1
+ import type { JsonValue, PortDefinition, SchemaMismatch } from '../browser/flow-change.js';
3
2
  export declare function schemaObject(schema: JsonValue): Readonly<Record<string, JsonValue>> | undefined;
4
3
  export declare function schemaList(value: JsonValue | undefined): readonly JsonValue[] | undefined;
5
4
  export declare function matchesSchema(value: JsonValue, schema: JsonValue): boolean;
@@ -1,9 +1,10 @@
1
+ export { matchesTriggerOutputs, triggerOutputDefinitions, triggerOutputPorts } from './trigger-contract.js';
1
2
  import type { EngineContract } from './engine-contract.js';
2
3
  import type { RuntimeProgram } from './runtime-contract.js';
3
4
  import type { ConnectorCapability, FlowDocument, Graph, RevisionContent, SchemaMismatch } from '../browser/flow-change.js';
4
5
  export { availableOutputs, graphOrder, nodeInputPorts } from './flow-graph.js';
5
6
  export { validateModules } from './flow-modules.js';
6
- export { matchesSchema, triggerPayloadSchema, variableInputCompatible } from './flow-schema.js';
7
+ export { matchesSchema, variableInputCompatible } from './flow-schema.js';
7
8
  export { agentInput, agentToolInput, agentToolSchema } from './flow-agent.js';
8
9
  export interface SemanticClosure {
9
10
  readonly dependencies: {