@powerhousedao/workflow 6.2.3-dev.95 → 6.2.3-dev.96

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 (62) hide show
  1. package/dist/browser/{BlockSelector-DFzzAWXh.js → BlockSelector-CEdYUqjx.js} +38 -37
  2. package/dist/browser/BlockSelector-CEdYUqjx.js.map +1 -0
  3. package/dist/browser/{connection-form-O02M1hkC.js → connection-form-Biksq2jW.js} +4 -4
  4. package/dist/browser/{connection-form-O02M1hkC.js.map → connection-form-Biksq2jW.js.map} +1 -1
  5. package/dist/browser/{connection-PaKXHYz9.js → connection-ilYFCRUK.js} +2 -2
  6. package/dist/browser/{connection-PaKXHYz9.js.map → connection-ilYFCRUK.js.map} +1 -1
  7. package/dist/browser/{data-tree-DKS0EQys.js → data-tree-Cq-s6bJp.js} +2 -2
  8. package/dist/browser/{data-tree-DKS0EQys.js.map → data-tree-Cq-s6bJp.js.map} +1 -1
  9. package/dist/browser/document-models/connection/index.js +1 -1
  10. package/dist/browser/document-models/workflow/index.js +1 -1
  11. package/dist/browser/{editor-gCkAwv09.js → editor-CIqKi7XK.js} +6 -6
  12. package/dist/browser/{editor-gCkAwv09.js.map → editor-CIqKi7XK.js.map} +1 -1
  13. package/dist/browser/{editor-BPF_SXdt.js → editor-DYjoPfta.js} +8 -8
  14. package/dist/browser/{editor-BPF_SXdt.js.map → editor-DYjoPfta.js.map} +1 -1
  15. package/dist/browser/{editor-xBTKbbNO.js → editor-GeRXGdie.js} +6 -6
  16. package/dist/browser/{editor-xBTKbbNO.js.map → editor-GeRXGdie.js.map} +1 -1
  17. package/dist/browser/editors/connection-editor/module.js +1 -1
  18. package/dist/browser/editors/runtime/index.js +1 -1
  19. package/dist/browser/editors/workflow-editor/module.js +1 -1
  20. package/dist/browser/editors/workflow-studio/module.js +1 -1
  21. package/dist/browser/index.js +127 -87
  22. package/dist/browser/index.js.map +1 -1
  23. package/dist/browser/{runtime-queries-C5bqAgQy.js → runtime-queries-FmEzElOY.js} +39 -20
  24. package/dist/browser/runtime-queries-FmEzElOY.js.map +1 -0
  25. package/dist/browser/{trigger-text-BfIu-QcC.js → trigger-text-DH6HIeoa.js} +4 -4
  26. package/dist/browser/{trigger-text-BfIu-QcC.js.map → trigger-text-DH6HIeoa.js.map} +1 -1
  27. package/dist/browser/{workflow-BFdnSGRD.js → workflow-2gR2JXUS.js} +2 -2
  28. package/dist/browser/{workflow-BFdnSGRD.js.map → workflow-2gR2JXUS.js.map} +1 -1
  29. package/dist/node/pieces/ai/descriptor.json +1 -1
  30. package/dist/node/pieces/ai/package.json +1 -1
  31. package/dist/node/pieces/reactor/descriptor.json +1 -1
  32. package/dist/node/pieces/reactor/package.json +1 -1
  33. package/dist/powerhouse.manifest.json +2 -2
  34. package/dist/types/ai/runtime.d.ts +13 -0
  35. package/dist/types/ai/runtime.d.ts.map +1 -0
  36. package/dist/types/ai/tools.d.ts +6 -2
  37. package/dist/types/ai/tools.d.ts.map +1 -1
  38. package/dist/types/ai/workflow-tools.d.ts.map +1 -1
  39. package/dist/types/editors/workflow-editor/runtime-api.d.ts +13 -12
  40. package/dist/types/editors/workflow-editor/runtime-api.d.ts.map +1 -1
  41. package/dist/types/editors/workflow-editor/runtime-client.d.ts +8 -2
  42. package/dist/types/editors/workflow-editor/runtime-client.d.ts.map +1 -1
  43. package/dist/types/editors/workflow-editor/runtime-context.d.ts +1 -1
  44. package/dist/types/editors/workflow-editor/runtime-context.d.ts.map +1 -1
  45. package/dist/types/editors/workflow-editor/use-workflow-runtime.d.ts +13 -0
  46. package/dist/types/editors/workflow-editor/use-workflow-runtime.d.ts.map +1 -0
  47. package/dist/types/editors/workflow-editor/use-workflow-runtime.test.d.ts +2 -0
  48. package/dist/types/editors/workflow-editor/use-workflow-runtime.test.d.ts.map +1 -0
  49. package/dist/types/scripts/ui-stack.d.ts.map +1 -1
  50. package/dist/types/test/switchboards.d.ts +20 -0
  51. package/dist/types/test/switchboards.d.ts.map +1 -0
  52. package/package.json +11 -11
  53. package/dist/browser/BlockSelector-DFzzAWXh.js.map +0 -1
  54. package/dist/browser/runtime-queries-C5bqAgQy.js.map +0 -1
  55. package/dist/types/ai/runtime-url.d.ts +0 -2
  56. package/dist/types/ai/runtime-url.d.ts.map +0 -1
  57. package/dist/types/ai/runtime-url.test.d.ts +0 -2
  58. package/dist/types/ai/runtime-url.test.d.ts.map +0 -1
  59. package/dist/types/editors/workflow-editor/use-runtime-url.d.ts +0 -2
  60. package/dist/types/editors/workflow-editor/use-runtime-url.d.ts.map +0 -1
  61. package/dist/types/test/drive-window.d.ts +0 -6
  62. package/dist/types/test/drive-window.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { a as utils, d as isConnectionDocument, l as assertIsConnectionDocument, t as Connection } from "./module-DJz6oTX0.js";
2
- import { useDocumentById, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useSelectedDocument } from "@powerhousedao/reactor-browser";
3
2
  import { PHDocumentController, createBaseState, defaultBaseState } from "document-model";
3
+ import { useDocumentById, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useSelectedDocument } from "@powerhousedao/reactor-browser";
4
4
  //#region document-models/connection/v1/gen/controller.ts
5
5
  /**
6
6
  * WARNING: DO NOT EDIT
@@ -87,4 +87,4 @@ function useConnectionDocumentsInSelectedFolder() {
87
87
  //#endregion
88
88
  export { createConnectionDocument as a, defaultLocalState as c, useSelectedConnectionDocument as i, defaultPHState as l, useConnectionDocumentsInSelectedDrive as n, createState$1 as o, useConnectionDocumentsInSelectedFolder as r, defaultGlobalState as s, useConnectionDocumentById as t, ConnectionController as u };
89
89
 
90
- //# sourceMappingURL=connection-PaKXHYz9.js.map
90
+ //# sourceMappingURL=connection-ilYFCRUK.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connection-PaKXHYz9.js","names":["createState"],"sources":["../../document-models/connection/v1/gen/controller.ts","../../document-models/connection/v1/gen/ph-factories.ts","../../document-models/connection/v1/hooks.ts"],"sourcesContent":["/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport { PHDocumentController } from \"document-model\";\nimport { Connection } from \"../module.js\";\nimport type { ConnectionAction, ConnectionPHState } from \"./types.js\";\n\nexport const ConnectionController = PHDocumentController.forDocumentModel<\n ConnectionPHState,\n ConnectionAction\n>(Connection);\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n * Factory methods for creating ConnectionDocument instances\n */\nimport type { PHAuthState, PHBaseState, PHDocumentState } from \"document-model\";\nimport { createBaseState, defaultBaseState } from \"document-model\";\nimport type {\n ConnectionDocument,\n ConnectionGlobalState,\n ConnectionLocalState,\n ConnectionPHState,\n} from \"./types.js\";\nimport { utils } from \"./utils.js\";\n\nexport function defaultGlobalState(): ConnectionGlobalState {\n return {\n name: \"\",\n connectorId: \"\",\n authType: \"NONE\",\n config: {},\n secretRefs: [],\n status: \"UNCONFIGURED\",\n lastCheckedAt: null,\n lastError: null,\n accountLabel: null,\n };\n}\n\nexport function defaultLocalState(): ConnectionLocalState {\n return {};\n}\n\nexport function defaultPHState(): ConnectionPHState {\n return {\n ...defaultBaseState(),\n global: defaultGlobalState(),\n local: defaultLocalState(),\n };\n}\n\nexport function createGlobalState(\n state?: Partial<ConnectionGlobalState>,\n): ConnectionGlobalState {\n return {\n ...defaultGlobalState(),\n ...(state || {}),\n };\n}\n\nexport function createLocalState(\n state?: Partial<ConnectionLocalState>,\n): ConnectionLocalState {\n return {\n ...defaultLocalState(),\n ...(state || {}),\n } as ConnectionLocalState;\n}\n\nexport function createState(\n baseState?: Partial<PHBaseState>,\n globalState?: Partial<ConnectionGlobalState>,\n localState?: Partial<ConnectionLocalState>,\n): ConnectionPHState {\n return {\n ...createBaseState(baseState?.auth, baseState?.document),\n global: createGlobalState(globalState),\n local: createLocalState(localState),\n };\n}\n\n/**\n * Creates a ConnectionDocument with custom global and local state\n * This properly handles the PHBaseState requirements while allowing\n * document-specific state to be set.\n */\nexport function createConnectionDocument(\n state?: Partial<{\n auth?: Partial<PHAuthState>;\n document?: Partial<PHDocumentState>;\n global?: Partial<ConnectionGlobalState>;\n local?: Partial<ConnectionLocalState>;\n }>,\n): ConnectionDocument {\n const document = utils.createDocument(\n createState(\n createBaseState(state?.auth, { version: 1, ...state?.document }),\n state?.global,\n state?.local,\n ),\n );\n\n return document;\n}\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentDispatch } from \"@powerhousedao/reactor-browser\";\nimport {\n useDocumentById,\n useDocumentsInSelectedDrive,\n useDocumentsInSelectedFolder,\n useSelectedDocument,\n} from \"@powerhousedao/reactor-browser\";\nimport type {\n ConnectionAction,\n ConnectionDocument,\n} from \"document-models/connection/v1\";\nimport {\n assertIsConnectionDocument,\n isConnectionDocument,\n} from \"./gen/document-schema.js\";\n\n/** Hook to get a Connection document by its id */\nexport function useConnectionDocumentById(\n documentId: string | null | undefined,\n):\n | [ConnectionDocument, DocumentDispatch<ConnectionAction>]\n | [undefined, undefined] {\n const [document, dispatch] = useDocumentById(documentId);\n if (!isConnectionDocument(document)) return [undefined, undefined];\n return [document, dispatch];\n}\n\n/** Hook to get the selected Connection document */\nexport function useSelectedConnectionDocument(): [\n ConnectionDocument,\n DocumentDispatch<ConnectionAction>,\n] {\n const [document, dispatch] = useSelectedDocument();\n\n assertIsConnectionDocument(document);\n return [document, dispatch] as const;\n}\n\n/** Hook to get all Connection documents in the selected drive */\nexport function useConnectionDocumentsInSelectedDrive() {\n const documentsInSelectedDrive = useDocumentsInSelectedDrive();\n return documentsInSelectedDrive?.filter(isConnectionDocument);\n}\n\n/** Hook to get all Connection documents in the selected folder */\nexport function useConnectionDocumentsInSelectedFolder() {\n const documentsInSelectedFolder = useDocumentsInSelectedFolder();\n return documentsInSelectedFolder?.filter(isConnectionDocument);\n}\n"],"mappings":";;;;;;;;AAQA,MAAa,uBAAuB,qBAAqB,iBAGvD,UAAU;;;ACIZ,SAAgB,qBAA4C;CAC1D,OAAO;EACL,MAAM;EACN,aAAa;EACb,UAAU;EACV,QAAQ,CAAC;EACT,YAAY,CAAC;EACb,QAAQ;EACR,eAAe;EACf,WAAW;EACX,cAAc;CAChB;AACF;AAEA,SAAgB,oBAA0C;CACxD,OAAO,CAAC;AACV;AAEA,SAAgB,iBAAoC;CAClD,OAAO;EACL,GAAG,iBAAiB;EACpB,QAAQ,mBAAmB;EAC3B,OAAO,kBAAkB;CAC3B;AACF;AAEA,SAAgB,kBACd,OACuB;CACvB,OAAO;EACL,GAAG,mBAAmB;EACtB,GAAI,SAAS,CAAC;CAChB;AACF;AAEA,SAAgB,iBACd,OACsB;CACtB,OAAO;EACL,GAAG,kBAAkB;EACrB,GAAI,SAAS,CAAC;CAChB;AACF;AAEA,SAAgBA,cACd,WACA,aACA,YACmB;CACnB,OAAO;EACL,GAAG,gBAAgB,WAAW,MAAM,WAAW,QAAQ;EACvD,QAAQ,kBAAkB,WAAW;EACrC,OAAO,iBAAiB,UAAU;CACpC;AACF;;;;;;AAOA,SAAgB,yBACd,OAMoB;CASpB,OARiB,MAAM,eACrBA,cACE,gBAAgB,OAAO,MAAM;EAAE,SAAS;EAAG,GAAG,OAAO;CAAS,CAAC,GAC/D,OAAO,QACP,OAAO,KACT,CAGY;AAChB;;;;ACxEA,SAAgB,0BACd,YAGyB;CACzB,MAAM,CAAC,UAAU,YAAY,gBAAgB,UAAU;CACvD,IAAI,CAAC,qBAAqB,QAAQ,GAAG,OAAO,CAAC,KAAA,GAAW,KAAA,CAAS;CACjE,OAAO,CAAC,UAAU,QAAQ;AAC5B;;AAGA,SAAgB,gCAGd;CACA,MAAM,CAAC,UAAU,YAAY,oBAAoB;CAEjD,2BAA2B,QAAQ;CACnC,OAAO,CAAC,UAAU,QAAQ;AAC5B;;AAGA,SAAgB,wCAAwC;CAEtD,OADiC,4BACH,CAAC,EAAE,OAAO,oBAAoB;AAC9D;;AAGA,SAAgB,yCAAyC;CAEvD,OADkC,6BACH,CAAC,EAAE,OAAO,oBAAoB;AAC/D"}
1
+ {"version":3,"file":"connection-ilYFCRUK.js","names":["createState"],"sources":["../../document-models/connection/v1/gen/controller.ts","../../document-models/connection/v1/gen/ph-factories.ts","../../document-models/connection/v1/hooks.ts"],"sourcesContent":["/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport { PHDocumentController } from \"document-model\";\nimport { Connection } from \"../module.js\";\nimport type { ConnectionAction, ConnectionPHState } from \"./types.js\";\n\nexport const ConnectionController = PHDocumentController.forDocumentModel<\n ConnectionPHState,\n ConnectionAction\n>(Connection);\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n * Factory methods for creating ConnectionDocument instances\n */\nimport type { PHAuthState, PHBaseState, PHDocumentState } from \"document-model\";\nimport { createBaseState, defaultBaseState } from \"document-model\";\nimport type {\n ConnectionDocument,\n ConnectionGlobalState,\n ConnectionLocalState,\n ConnectionPHState,\n} from \"./types.js\";\nimport { utils } from \"./utils.js\";\n\nexport function defaultGlobalState(): ConnectionGlobalState {\n return {\n name: \"\",\n connectorId: \"\",\n authType: \"NONE\",\n config: {},\n secretRefs: [],\n status: \"UNCONFIGURED\",\n lastCheckedAt: null,\n lastError: null,\n accountLabel: null,\n };\n}\n\nexport function defaultLocalState(): ConnectionLocalState {\n return {};\n}\n\nexport function defaultPHState(): ConnectionPHState {\n return {\n ...defaultBaseState(),\n global: defaultGlobalState(),\n local: defaultLocalState(),\n };\n}\n\nexport function createGlobalState(\n state?: Partial<ConnectionGlobalState>,\n): ConnectionGlobalState {\n return {\n ...defaultGlobalState(),\n ...(state || {}),\n };\n}\n\nexport function createLocalState(\n state?: Partial<ConnectionLocalState>,\n): ConnectionLocalState {\n return {\n ...defaultLocalState(),\n ...(state || {}),\n } as ConnectionLocalState;\n}\n\nexport function createState(\n baseState?: Partial<PHBaseState>,\n globalState?: Partial<ConnectionGlobalState>,\n localState?: Partial<ConnectionLocalState>,\n): ConnectionPHState {\n return {\n ...createBaseState(baseState?.auth, baseState?.document),\n global: createGlobalState(globalState),\n local: createLocalState(localState),\n };\n}\n\n/**\n * Creates a ConnectionDocument with custom global and local state\n * This properly handles the PHBaseState requirements while allowing\n * document-specific state to be set.\n */\nexport function createConnectionDocument(\n state?: Partial<{\n auth?: Partial<PHAuthState>;\n document?: Partial<PHDocumentState>;\n global?: Partial<ConnectionGlobalState>;\n local?: Partial<ConnectionLocalState>;\n }>,\n): ConnectionDocument {\n const document = utils.createDocument(\n createState(\n createBaseState(state?.auth, { version: 1, ...state?.document }),\n state?.global,\n state?.local,\n ),\n );\n\n return document;\n}\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentDispatch } from \"@powerhousedao/reactor-browser\";\nimport {\n useDocumentById,\n useDocumentsInSelectedDrive,\n useDocumentsInSelectedFolder,\n useSelectedDocument,\n} from \"@powerhousedao/reactor-browser\";\nimport type {\n ConnectionAction,\n ConnectionDocument,\n} from \"document-models/connection/v1\";\nimport {\n assertIsConnectionDocument,\n isConnectionDocument,\n} from \"./gen/document-schema.js\";\n\n/** Hook to get a Connection document by its id */\nexport function useConnectionDocumentById(\n documentId: string | null | undefined,\n):\n | [ConnectionDocument, DocumentDispatch<ConnectionAction>]\n | [undefined, undefined] {\n const [document, dispatch] = useDocumentById(documentId);\n if (!isConnectionDocument(document)) return [undefined, undefined];\n return [document, dispatch];\n}\n\n/** Hook to get the selected Connection document */\nexport function useSelectedConnectionDocument(): [\n ConnectionDocument,\n DocumentDispatch<ConnectionAction>,\n] {\n const [document, dispatch] = useSelectedDocument();\n\n assertIsConnectionDocument(document);\n return [document, dispatch] as const;\n}\n\n/** Hook to get all Connection documents in the selected drive */\nexport function useConnectionDocumentsInSelectedDrive() {\n const documentsInSelectedDrive = useDocumentsInSelectedDrive();\n return documentsInSelectedDrive?.filter(isConnectionDocument);\n}\n\n/** Hook to get all Connection documents in the selected folder */\nexport function useConnectionDocumentsInSelectedFolder() {\n const documentsInSelectedFolder = useDocumentsInSelectedFolder();\n return documentsInSelectedFolder?.filter(isConnectionDocument);\n}\n"],"mappings":";;;;;;;;AAQA,MAAa,uBAAuB,qBAAqB,iBAGvD,UAAU;;;ACIZ,SAAgB,qBAA4C;CAC1D,OAAO;EACL,MAAM;EACN,aAAa;EACb,UAAU;EACV,QAAQ,CAAC;EACT,YAAY,CAAC;EACb,QAAQ;EACR,eAAe;EACf,WAAW;EACX,cAAc;CAChB;AACF;AAEA,SAAgB,oBAA0C;CACxD,OAAO,CAAC;AACV;AAEA,SAAgB,iBAAoC;CAClD,OAAO;EACL,GAAG,iBAAiB;EACpB,QAAQ,mBAAmB;EAC3B,OAAO,kBAAkB;CAC3B;AACF;AAEA,SAAgB,kBACd,OACuB;CACvB,OAAO;EACL,GAAG,mBAAmB;EACtB,GAAI,SAAS,CAAC;CAChB;AACF;AAEA,SAAgB,iBACd,OACsB;CACtB,OAAO;EACL,GAAG,kBAAkB;EACrB,GAAI,SAAS,CAAC;CAChB;AACF;AAEA,SAAgBA,cACd,WACA,aACA,YACmB;CACnB,OAAO;EACL,GAAG,gBAAgB,WAAW,MAAM,WAAW,QAAQ;EACvD,QAAQ,kBAAkB,WAAW;EACrC,OAAO,iBAAiB,UAAU;CACpC;AACF;;;;;;AAOA,SAAgB,yBACd,OAMoB;CASpB,OARiB,MAAM,eACrBA,cACE,gBAAgB,OAAO,MAAM;EAAE,SAAS;EAAG,GAAG,OAAO;CAAS,CAAC,GAC/D,OAAO,QACP,OAAO,KACT,CAGY;AAChB;;;;ACxEA,SAAgB,0BACd,YAGyB;CACzB,MAAM,CAAC,UAAU,YAAY,gBAAgB,UAAU;CACvD,IAAI,CAAC,qBAAqB,QAAQ,GAAG,OAAO,CAAC,KAAA,GAAW,KAAA,CAAS;CACjE,OAAO,CAAC,UAAU,QAAQ;AAC5B;;AAGA,SAAgB,gCAGd;CACA,MAAM,CAAC,UAAU,YAAY,oBAAoB;CAEjD,2BAA2B,QAAQ;CACnC,OAAO,CAAC,UAAU,QAAQ;AAC5B;;AAGA,SAAgB,wCAAwC;CAEtD,OADiC,4BACH,CAAC,EAAE,OAAO,oBAAoB;AAC9D;;AAGA,SAAgB,yCAAyC;CAEvD,OADkC,6BACH,CAAC,EAAE,OAAO,oBAAoB;AAC/D"}
@@ -1,4 +1,4 @@
1
- import { Wt as Icon } from "./BlockSelector-DFzzAWXh.js";
1
+ import { Wt as Icon } from "./BlockSelector-CEdYUqjx.js";
2
2
  import { useState } from "react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { JsonView } from "@uiw/react-json-view";
@@ -73,4 +73,4 @@ function DataTree(props) {
73
73
  //#endregion
74
74
  export { DataTree as default };
75
75
 
76
- //# sourceMappingURL=data-tree-DKS0EQys.js.map
76
+ //# sourceMappingURL=data-tree-Cq-s6bJp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-tree-DKS0EQys.js","names":[],"sources":["../../editors/shared/data-tree.tsx"],"sourcesContent":["// The tree half of DataViewer, split out so @uiw/react-json-view loads only\n// when a run's data is first shown.\nimport { JsonView } from \"@uiw/react-json-view\";\nimport { useState } from \"react\";\nimport { Icon } from \"./icons.js\";\n\nfunction CopyButton(props: {\n text: string;\n label: string;\n icon: \"braces\" | \"copy\";\n // The hover group that reveals it.\n group: \"key\" | \"value\";\n}) {\n const [copied, setCopied] = useState(false);\n return (\n <button\n type=\"button\"\n title={props.label}\n aria-label={props.label}\n // Takes no space until hovered, so the colons stay aligned.\n className={`ml-1 hidden h-4 w-4 items-center justify-center rounded align-middle text-muted-foreground hover:bg-accent hover:text-foreground ${props.group === \"key\" ? \"group-hover/key:inline-flex\" : \"group-hover/value:inline-flex\"}`}\n onClick={(event) => {\n event.stopPropagation();\n void navigator.clipboard.writeText(props.text).then(() => {\n setCopied(true);\n setTimeout(() => setCopied(false), 1500);\n });\n }}\n >\n <Icon name={copied ? \"check\" : props.icon} className=\"h-3 w-3\" />\n </button>\n );\n}\n\n// Short lists and small objects open by default at any depth.\nfunction smallNode(value: unknown): boolean {\n if (typeof value !== \"object\" || value === null) return true;\n return Object.keys(value).length <= 5;\n}\n\nexport default function DataTree(props: { value: object; root?: string }) {\n return (\n <JsonView\n className=\"wf-data-tree\"\n value={props.value}\n shouldExpandNodeInitially={(_expanded, { value, level }) =>\n level <= 2 || smallNode(value)\n }\n displayDataTypes={false}\n displayObjectSize\n enableClipboard={false}\n highlightUpdates={false}\n shortenTextAfterLength={80}\n indentWidth={16}\n >\n {/* Keys read as labels, not JSON strings. */}\n <JsonView.Quote render={() => <span hidden />} />\n <JsonView.Colon style={{ marginRight: \"0.75ch\" }} />\n <JsonView.KeyName\n render={({ children, ...rest }, { keys }) => (\n <span {...rest} className=\"group/key\">\n {children}\n {props.root && keys && keys.length > 0 ? (\n <CopyButton\n text={`{{${props.root}.${keys.join(\".\")}}}`}\n label={`Copy {{${props.root}.${keys.join(\".\")}}}`}\n icon=\"braces\"\n group=\"key\"\n />\n ) : null}\n </span>\n )}\n />\n <JsonView.String\n render={({ children, ...rest }, { value }) =>\n value === \"\" ? (\n <span\n {...rest}\n className=\"rounded bg-muted px-1 font-sans text-[11px] text-muted-foreground\"\n >\n empty\n </span>\n ) : (\n // Long values wrap, and the copy button takes the full value.\n <span className=\"group/value\">\n <span {...rest}>{children}</span>\n {typeof value === \"string\" ? (\n <CopyButton\n text={value}\n label=\"Copy value\"\n icon=\"copy\"\n group=\"value\"\n />\n ) : null}\n </span>\n )\n }\n />\n </JsonView>\n );\n}\n"],"mappings":";;;;;AAMA,SAAS,WAAW,OAMjB;CACD,MAAM,CAAC,QAAQ,aAAa,SAAS,KAAK;CAC1C,OACE,oBAAC,UAAD;EACE,MAAK;EACL,OAAO,MAAM;EACb,cAAY,MAAM;EAElB,WAAW,oIAAoI,MAAM,UAAU,QAAQ,gCAAgC;EACvM,UAAU,UAAU;GAClB,MAAM,gBAAgB;GACtB,UAAe,UAAU,UAAU,MAAM,IAAI,CAAC,CAAC,WAAW;IACxD,UAAU,IAAI;IACd,iBAAiB,UAAU,KAAK,GAAG,IAAI;GACzC,CAAC;EACH;EAEA,UAAA,oBAAC,MAAD;GAAM,MAAM,SAAS,UAAU,MAAM;GAAM,WAAU;EAAW,CAAA;CAC1D,CAAA;AAEZ;AAGA,SAAS,UAAU,OAAyB;CAC1C,IAAI,OAAO,UAAU,YAAY,UAAU,MAAM,OAAO;CACxD,OAAO,OAAO,KAAK,KAAK,CAAC,CAAC,UAAU;AACtC;AAEA,SAAwB,SAAS,OAAyC;CACxE,OACE,qBAAC,UAAD;EACE,WAAU;EACV,OAAO,MAAM;EACb,4BAA4B,WAAW,EAAE,OAAO,YAC9C,SAAS,KAAK,UAAU,KAAK;EAE/B,kBAAkB;EAClB,mBAAA;EACA,iBAAiB;EACjB,kBAAkB;EAClB,wBAAwB;EACxB,aAAa;EAXf,UAAA;GAcE,oBAAC,SAAS,OAAV,EAAgB,cAAc,oBAAC,QAAD,EAAM,QAAA,KAAQ,CAAA,EAAI,CAAA;GAChD,oBAAC,SAAS,OAAV,EAAgB,OAAO,EAAE,aAAa,SAAS,EAAI,CAAA;GACnD,oBAAC,SAAS,SAAV,EACE,SAAS,EAAE,UAAU,GAAG,QAAQ,EAAE,WAChC,qBAAC,QAAD;IAAM,GAAI;IAAM,WAAU;IAA1B,UAAA,CACG,UACA,MAAM,QAAQ,QAAQ,KAAK,SAAS,IACnC,oBAAC,YAAD;KACE,MAAM,KAAK,MAAM,KAAK,GAAG,KAAK,KAAK,GAAG,EAAE;KACxC,OAAO,UAAU,MAAM,KAAK,GAAG,KAAK,KAAK,GAAG,EAAE;KAC9C,MAAK;KACL,OAAM;IACP,CAAA,IACC,IACA;GAET,CAAA,EAAA,CAAA;GACD,oBAAC,SAAS,QAAV,EACE,SAAS,EAAE,UAAU,GAAG,QAAQ,EAAE,YAChC,UAAU,KACR,oBAAC,QAAD;IACE,GAAI;IACJ,WAAU;IACX,UAAA;GAEK,CAAA,IAGN,qBAAC,QAAD;IAAM,WAAU;IAAhB,UAAA,CACE,oBAAC,QAAD;KAAM,GAAI;KAAO;IAAe,CAAA,GAC/B,OAAO,UAAU,WAChB,oBAAC,YAAD;KACE,MAAM;KACN,OAAM;KACN,MAAK;KACL,OAAM;IACP,CAAA,IACC,IACA;GAGX,CAAA,EAAA,CAAA;EACO;;AAEd"}
1
+ {"version":3,"file":"data-tree-Cq-s6bJp.js","names":[],"sources":["../../editors/shared/data-tree.tsx"],"sourcesContent":["// The tree half of DataViewer, split out so @uiw/react-json-view loads only\n// when a run's data is first shown.\nimport { JsonView } from \"@uiw/react-json-view\";\nimport { useState } from \"react\";\nimport { Icon } from \"./icons.js\";\n\nfunction CopyButton(props: {\n text: string;\n label: string;\n icon: \"braces\" | \"copy\";\n // The hover group that reveals it.\n group: \"key\" | \"value\";\n}) {\n const [copied, setCopied] = useState(false);\n return (\n <button\n type=\"button\"\n title={props.label}\n aria-label={props.label}\n // Takes no space until hovered, so the colons stay aligned.\n className={`ml-1 hidden h-4 w-4 items-center justify-center rounded align-middle text-muted-foreground hover:bg-accent hover:text-foreground ${props.group === \"key\" ? \"group-hover/key:inline-flex\" : \"group-hover/value:inline-flex\"}`}\n onClick={(event) => {\n event.stopPropagation();\n void navigator.clipboard.writeText(props.text).then(() => {\n setCopied(true);\n setTimeout(() => setCopied(false), 1500);\n });\n }}\n >\n <Icon name={copied ? \"check\" : props.icon} className=\"h-3 w-3\" />\n </button>\n );\n}\n\n// Short lists and small objects open by default at any depth.\nfunction smallNode(value: unknown): boolean {\n if (typeof value !== \"object\" || value === null) return true;\n return Object.keys(value).length <= 5;\n}\n\nexport default function DataTree(props: { value: object; root?: string }) {\n return (\n <JsonView\n className=\"wf-data-tree\"\n value={props.value}\n shouldExpandNodeInitially={(_expanded, { value, level }) =>\n level <= 2 || smallNode(value)\n }\n displayDataTypes={false}\n displayObjectSize\n enableClipboard={false}\n highlightUpdates={false}\n shortenTextAfterLength={80}\n indentWidth={16}\n >\n {/* Keys read as labels, not JSON strings. */}\n <JsonView.Quote render={() => <span hidden />} />\n <JsonView.Colon style={{ marginRight: \"0.75ch\" }} />\n <JsonView.KeyName\n render={({ children, ...rest }, { keys }) => (\n <span {...rest} className=\"group/key\">\n {children}\n {props.root && keys && keys.length > 0 ? (\n <CopyButton\n text={`{{${props.root}.${keys.join(\".\")}}}`}\n label={`Copy {{${props.root}.${keys.join(\".\")}}}`}\n icon=\"braces\"\n group=\"key\"\n />\n ) : null}\n </span>\n )}\n />\n <JsonView.String\n render={({ children, ...rest }, { value }) =>\n value === \"\" ? (\n <span\n {...rest}\n className=\"rounded bg-muted px-1 font-sans text-[11px] text-muted-foreground\"\n >\n empty\n </span>\n ) : (\n // Long values wrap, and the copy button takes the full value.\n <span className=\"group/value\">\n <span {...rest}>{children}</span>\n {typeof value === \"string\" ? (\n <CopyButton\n text={value}\n label=\"Copy value\"\n icon=\"copy\"\n group=\"value\"\n />\n ) : null}\n </span>\n )\n }\n />\n </JsonView>\n );\n}\n"],"mappings":";;;;;AAMA,SAAS,WAAW,OAMjB;CACD,MAAM,CAAC,QAAQ,aAAa,SAAS,KAAK;CAC1C,OACE,oBAAC,UAAD;EACE,MAAK;EACL,OAAO,MAAM;EACb,cAAY,MAAM;EAElB,WAAW,oIAAoI,MAAM,UAAU,QAAQ,gCAAgC;EACvM,UAAU,UAAU;GAClB,MAAM,gBAAgB;GACtB,UAAe,UAAU,UAAU,MAAM,IAAI,CAAC,CAAC,WAAW;IACxD,UAAU,IAAI;IACd,iBAAiB,UAAU,KAAK,GAAG,IAAI;GACzC,CAAC;EACH;EAEA,UAAA,oBAAC,MAAD;GAAM,MAAM,SAAS,UAAU,MAAM;GAAM,WAAU;EAAW,CAAA;CAC1D,CAAA;AAEZ;AAGA,SAAS,UAAU,OAAyB;CAC1C,IAAI,OAAO,UAAU,YAAY,UAAU,MAAM,OAAO;CACxD,OAAO,OAAO,KAAK,KAAK,CAAC,CAAC,UAAU;AACtC;AAEA,SAAwB,SAAS,OAAyC;CACxE,OACE,qBAAC,UAAD;EACE,WAAU;EACV,OAAO,MAAM;EACb,4BAA4B,WAAW,EAAE,OAAO,YAC9C,SAAS,KAAK,UAAU,KAAK;EAE/B,kBAAkB;EAClB,mBAAA;EACA,iBAAiB;EACjB,kBAAkB;EAClB,wBAAwB;EACxB,aAAa;EAXf,UAAA;GAcE,oBAAC,SAAS,OAAV,EAAgB,cAAc,oBAAC,QAAD,EAAM,QAAA,KAAQ,CAAA,EAAI,CAAA;GAChD,oBAAC,SAAS,OAAV,EAAgB,OAAO,EAAE,aAAa,SAAS,EAAI,CAAA;GACnD,oBAAC,SAAS,SAAV,EACE,SAAS,EAAE,UAAU,GAAG,QAAQ,EAAE,WAChC,qBAAC,QAAD;IAAM,GAAI;IAAM,WAAU;IAA1B,UAAA,CACG,UACA,MAAM,QAAQ,QAAQ,KAAK,SAAS,IACnC,oBAAC,YAAD;KACE,MAAM,KAAK,MAAM,KAAK,GAAG,KAAK,KAAK,GAAG,EAAE;KACxC,OAAO,UAAU,MAAM,KAAK,GAAG,KAAK,KAAK,GAAG,EAAE;KAC9C,MAAK;KACL,OAAM;IACP,CAAA,IACC,IACA;GAET,CAAA,EAAA,CAAA;GACD,oBAAC,SAAS,QAAV,EACE,SAAS,EAAE,UAAU,GAAG,QAAQ,EAAE,YAChC,UAAU,KACR,oBAAC,QAAD;IACE,GAAI;IACJ,WAAU;IACX,UAAA;GAEK,CAAA,IAGN,qBAAC,QAAD;IAAM,WAAU;IAAhB,UAAA,CACE,oBAAC,QAAD;KAAM,GAAI;KAAO;IAAe,CAAA,GAC/B,OAAO,UAAU,WAChB,oBAAC,YAAD;KACE,MAAM;KACN,OAAM;KACN,MAAK;KACL,OAAM;IACP,CAAA,IACC,IACA;GAGX,CAAA,EAAA,CAAA;EACO;;AAEd"}
@@ -1,3 +1,3 @@
1
1
  import { A as removeSecretRef, B as RemoveSecretRefInputSchema, C as recordCheckResult, D as setConnector, E as setConnectionName, F as ConnectionStateSchema, G as SetConnectionNameInputSchema, H as SetAccountLabelInputSchema, I as ConnectionStatusSchema, J as definedNonNullAnySchema, K as SetConnectorInputSchema, L as ReactorConnectionConfigSchema, M as setConfigValue, N as setSecretRef, O as creators_exports, P as ConnectionAuthTypeSchema, Q as supportedVersions, R as RecordCheckResultInputSchema, S as creators_exports$2, T as setAccountLabel, U as SetConfigInputSchema, V as SecretRefSchema, W as SetConfigValueInputSchema, X as connectionUpgradeManifest, Y as isDefinedNonNullAny, Z as latestVersion, _ as defaultReactorConnectionConfig, b as documentModel, c as ConnectionPHStateSchema, d as isConnectionDocument, f as isConnectionState, g as REACTOR_LOCAL_ENDPOINT, h as REACTOR_CONNECTOR_ID, i as initialLocalState, j as setConfig, k as removeConfigValue, l as assertIsConnectionDocument, m as reducer, n as utils, o as ConnectionDocumentHeaderSchema, p as connectionDocumentType, q as SetSecretRefInputSchema, r as initialGlobalState, s as ConnectionDocumentSchema, t as Connection, u as assertIsConnectionState, v as isReactorConnectorId, w as creators_exports$1, x as actions, y as parseReactorConnectionConfig, z as RemoveConfigValueInputSchema } from "../../module-DJz6oTX0.js";
2
- import { a as createConnectionDocument, c as defaultLocalState, i as useSelectedConnectionDocument, l as defaultPHState, n as useConnectionDocumentsInSelectedDrive, o as createState, r as useConnectionDocumentsInSelectedFolder, s as defaultGlobalState, t as useConnectionDocumentById, u as ConnectionController } from "../../connection-PaKXHYz9.js";
2
+ import { a as createConnectionDocument, c as defaultLocalState, i as useSelectedConnectionDocument, l as defaultPHState, n as useConnectionDocumentsInSelectedDrive, o as createState, r as useConnectionDocumentsInSelectedFolder, s as defaultGlobalState, t as useConnectionDocumentById, u as ConnectionController } from "../../connection-ilYFCRUK.js";
3
3
  export { Connection, ConnectionAuthTypeSchema, ConnectionController, ConnectionDocumentHeaderSchema, ConnectionDocumentSchema, ConnectionPHStateSchema, ConnectionStateSchema, ConnectionStatusSchema, REACTOR_CONNECTOR_ID, REACTOR_LOCAL_ENDPOINT, ReactorConnectionConfigSchema, RecordCheckResultInputSchema, RemoveConfigValueInputSchema, RemoveSecretRefInputSchema, SecretRefSchema, SetAccountLabelInputSchema, SetConfigInputSchema, SetConfigValueInputSchema, SetConnectionNameInputSchema, SetConnectorInputSchema, SetSecretRefInputSchema, actions, assertIsConnectionDocument, assertIsConnectionState, creators_exports as connectionConfigActions, creators_exports$1 as connectionConnectionActions, connectionDocumentType, creators_exports$2 as connectionHealthActions, connectionUpgradeManifest, createConnectionDocument, createState, defaultGlobalState, defaultLocalState, defaultPHState, defaultReactorConnectionConfig, definedNonNullAnySchema, documentModel, initialGlobalState, initialLocalState, isConnectionDocument, isConnectionState, isDefinedNonNullAny, isReactorConnectorId, latestVersion, parseReactorConnectionConfig, recordCheckResult, reducer, removeConfigValue, removeSecretRef, setAccountLabel, setConfig, setConfigValue, setConnectionName, setConnector, setSecretRef, supportedVersions, useConnectionDocumentById, useConnectionDocumentsInSelectedDrive, useConnectionDocumentsInSelectedFolder, useSelectedConnectionDocument, utils };
@@ -1,3 +1,3 @@
1
1
  import { $ as AddStepPropertySettingInputSchema, A as setTrigger, At as SetWorkflowDescriptionInputSchema, B as setLastRun, Bt as WorkflowManagerSchema, C as setWorkflowName, Ct as SetTriggerConfigInputSchema, D as setVariable, Dt as SetTriggerPieceVersionInputSchema, E as removeVariable, Et as SetTriggerInputSchema, F as creators_exports$4, Ft as UpdateStepInputSchema, G as creators_exports$1, Gt as WorkflowVariableSchema, H as creators_exports$2, Ht as WorkflowStateSchema, I as removeStep, It as UpdateStepPositionInputSchema, J as creators_exports, K as setPolicy, Kt as definedNonNullAnySchema, L as setStepConfig, Lt as UpdateStepRetryPolicyInputSchema, M as setTriggerConnection, Mt as SetWorkflowStatusInputSchema, N as setTriggerPieceVersion, Nt as StepTestRecordSchema, O as clearTrigger, Ot as SetTriggerPropertySettingInputSchema, P as addStep, Pt as TriggerBindingSchema, Q as AddStepPositionInputSchema, R as updateStep, Rt as VariableTypeSchema, S as setWorkflowDescription, St as SetStepConfigPropertySettingInputSchema, T as creators_exports$6, Tt as SetTriggerConnectionInputSchema, U as publishWorkflow, Ut as WorkflowStatusSchema, V as setLastTest, Vt as WorkflowPolicySchema, W as revertToPublished, Wt as WorkflowStepSchema, X as AddEdgeInputSchema, Y as removeEdge, Z as AddStepInputSchema, _ as reducer, _t as SetLastTestInputSchema, at as PointSchema, b as creators_exports$7, bt as SetPolicyRetryPolicyInputSchema, c as WorkflowPHStateSchema, ct as PublishWorkflowInputSchema, d as isWorkflowDocument, dt as RemoveStepInputSchema, et as AddStepRetryPolicyInputSchema, f as isWorkflowState, ft as RemoveVariableInputSchema, g as supportedVersions, gt as SetLastRunInputSchema, h as latestVersion, ht as RunStatusSchema, i as initialLocalState, it as FailureModeSchema, j as setTriggerConfig, jt as SetWorkflowNameInputSchema, k as creators_exports$5, kt as SetVariableInputSchema, l as assertIsWorkflowDocument, lt as PublishedWorkflowSchema, m as workflowUpgradeManifest, mt as RevertToPublishedInputSchema, n as utils, nt as ClearTriggerInputSchema, o as WorkflowDocumentHeaderSchema, ot as PropertyModeSchema, p as workflowDocumentType, pt as RetryPolicySchema, q as addEdge, qt as isDefinedNonNullAny, r as initialGlobalState, rt as ConcurrencyModeSchema, s as WorkflowDocumentSchema, st as PropertySettingSchema, t as Workflow, tt as BackoffKindSchema, u as assertIsWorkflowState, ut as RemoveEdgeInputSchema, v as documentModel, vt as SetManagedByInputSchema, w as setWorkflowStatus, wt as SetTriggerConfigPropertySettingInputSchema, x as setManagedBy, xt as SetStepConfigInputSchema, y as actions, yt as SetPolicyInputSchema, z as creators_exports$3, zt as WorkflowEdgeSchema } from "../../module-mFCt9WHJ.js";
2
- import { a as createState, c as defaultLocalState, i as useWorkflowDocumentsInSelectedFolder, l as defaultPHState, n as useWorkflowDocumentById, o as createWorkflowDocument, r as useWorkflowDocumentsInSelectedDrive, s as defaultGlobalState, t as useSelectedWorkflowDocument, u as WorkflowController } from "../../workflow-BFdnSGRD.js";
2
+ import { a as createState, c as defaultLocalState, i as useWorkflowDocumentsInSelectedFolder, l as defaultPHState, n as useWorkflowDocumentById, o as createWorkflowDocument, r as useWorkflowDocumentsInSelectedDrive, s as defaultGlobalState, t as useSelectedWorkflowDocument, u as WorkflowController } from "../../workflow-2gR2JXUS.js";
3
3
  export { AddEdgeInputSchema, AddStepInputSchema, AddStepPositionInputSchema, AddStepPropertySettingInputSchema, AddStepRetryPolicyInputSchema, BackoffKindSchema, ClearTriggerInputSchema, ConcurrencyModeSchema, FailureModeSchema, PointSchema, PropertyModeSchema, PropertySettingSchema, PublishWorkflowInputSchema, PublishedWorkflowSchema, RemoveEdgeInputSchema, RemoveStepInputSchema, RemoveVariableInputSchema, RetryPolicySchema, RevertToPublishedInputSchema, RunStatusSchema, SetLastRunInputSchema, SetLastTestInputSchema, SetManagedByInputSchema, SetPolicyInputSchema, SetPolicyRetryPolicyInputSchema, SetStepConfigInputSchema, SetStepConfigPropertySettingInputSchema, SetTriggerConfigInputSchema, SetTriggerConfigPropertySettingInputSchema, SetTriggerConnectionInputSchema, SetTriggerInputSchema, SetTriggerPieceVersionInputSchema, SetTriggerPropertySettingInputSchema, SetVariableInputSchema, SetWorkflowDescriptionInputSchema, SetWorkflowNameInputSchema, SetWorkflowStatusInputSchema, StepTestRecordSchema, TriggerBindingSchema, UpdateStepInputSchema, UpdateStepPositionInputSchema, UpdateStepRetryPolicyInputSchema, VariableTypeSchema, Workflow, WorkflowController, WorkflowDocumentHeaderSchema, WorkflowDocumentSchema, WorkflowEdgeSchema, WorkflowManagerSchema, WorkflowPHStateSchema, WorkflowPolicySchema, WorkflowStateSchema, WorkflowStatusSchema, WorkflowStepSchema, WorkflowVariableSchema, actions, addEdge, addStep, assertIsWorkflowDocument, assertIsWorkflowState, clearTrigger, createState, createWorkflowDocument, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, documentModel, initialGlobalState, initialLocalState, isDefinedNonNullAny, isWorkflowDocument, isWorkflowState, latestVersion, publishWorkflow, reducer, removeEdge, removeStep, removeVariable, revertToPublished, setLastRun, setLastTest, setManagedBy, setPolicy, setStepConfig, setTrigger, setTriggerConfig, setTriggerConnection, setTriggerPieceVersion, setVariable, setWorkflowDescription, setWorkflowName, setWorkflowStatus, supportedVersions, updateStep, useSelectedWorkflowDocument, useWorkflowDocumentById, useWorkflowDocumentsInSelectedDrive, useWorkflowDocumentsInSelectedFolder, utils, workflowDocumentType, creators_exports as workflowEdgesActions, creators_exports$1 as workflowPolicyActions, creators_exports$2 as workflowPublishingActions, creators_exports$3 as workflowRuntimeActions, creators_exports$4 as workflowStepsActions, creators_exports$5 as workflowTriggerActions, workflowUpgradeManifest, creators_exports$6 as workflowVariablesActions, creators_exports$7 as workflowWorkflowActions };
@@ -1,10 +1,10 @@
1
- import { I as MANUAL_TRIGGER, M as CALL_FLOW_BLOCK, N as CORE_PIECE, Q as triggerBlock, U as SUBFLOWS_PIECE, X as stepBlock, Y as sameBlock, l as runsOfPages } from "./runtime-queries-C5bqAgQy.js";
1
+ import { I as MANUAL_TRIGGER, M as CALL_FLOW_BLOCK, N as CORE_PIECE, Q as triggerBlock, U as SUBFLOWS_PIECE, X as stepBlock, Y as sameBlock, l as runsOfPages } from "./runtime-queries-FmEzElOY.js";
2
2
  import { y as actions } from "./module-mFCt9WHJ.js";
3
- import { r as useWorkflowDocumentsInSelectedDrive } from "./workflow-BFdnSGRD.js";
4
- import { A as formatTrigger, At as Button, C as TONE_DOT, D as formatAbsolute, Dt as ITEM_PARAM, E as durationMs, Et as useWaitingRunsQuery, F as runTimeline, Ht as textAreaClass, I as runTone, It as Select, Jt as errorMessage, Kt as DocumentErrorBoundary, L as statusLabel, Lt as Switch, M as formatWhen, N as runStats, O as formatDuration, Ot as useSearchParam, P as runStatusLabel, R as toneOf, S as STEP_TONE, T as canRerun, Ut as textInputClass, Wt as Icon, b as RUN_STATUSES, bt as useRunPagesQuery, f as blockMeta, gt as WorkflowRuntimeProvider, j as formatUntil, k as formatMs, kt as useSearchParamDraft, qt as DocumentLoadError, t as BlockLogo, v as usePieceLogos, w as TONE_TEXT, wt as useRuntimeActions, x as RUN_TONE, xt as useRunQuery, y as CONNECTION_TONE, z as workflowHealth } from "./BlockSelector-DFzzAWXh.js";
5
- import { C as PropertyForm, a as StepError, c as stepOutline, f as PublishState, h as StatusToggle, i as DataViewer, r as describeTrigger, s as graphLayout } from "./trigger-text-BfIu-QcC.js";
6
- import { addDocument, addFolder, deleteNode, getPHStore, showDeleteNodeModal, useDispatch, useDocumentSafe, useFileNodesInSelectedDrive, useNodesInSelectedDrive, usePHToast, useSearchParams, useSelectedDrive, useSelectedNode, useSetPHAppConfig, useSetSearchParams, useSetSelectedNode } from "@powerhousedao/reactor-browser";
3
+ import { r as useWorkflowDocumentsInSelectedDrive } from "./workflow-2gR2JXUS.js";
4
+ import { A as formatTrigger, At as Button, C as TONE_DOT, D as formatAbsolute, Dt as ITEM_PARAM, E as durationMs, Et as useWaitingRunsQuery, F as runTimeline, Ht as textAreaClass, I as runTone, It as Select, Jt as errorMessage, Kt as DocumentErrorBoundary, L as statusLabel, Lt as Switch, M as formatWhen, N as runStats, O as formatDuration, Ot as useSearchParam, P as runStatusLabel, R as toneOf, S as STEP_TONE, T as canRerun, Ut as textInputClass, Wt as Icon, b as RUN_STATUSES, bt as useRunPagesQuery, f as blockMeta, gt as WorkflowRuntimeProvider, j as formatUntil, k as formatMs, kt as useSearchParamDraft, qt as DocumentLoadError, t as BlockLogo, v as usePieceLogos, w as TONE_TEXT, wt as useRuntimeActions, x as RUN_TONE, xt as useRunQuery, y as CONNECTION_TONE, z as workflowHealth } from "./BlockSelector-CEdYUqjx.js";
5
+ import { C as PropertyForm, a as StepError, c as stepOutline, f as PublishState, h as StatusToggle, i as DataViewer, r as describeTrigger, s as graphLayout } from "./trigger-text-DH6HIeoa.js";
7
6
  import { generateId } from "document-model";
7
+ import { addDocument, addFolder, deleteNode, getPHStore, showDeleteNodeModal, useDispatch, useDocumentSafe, useFileNodesInSelectedDrive, useNodesInSelectedDrive, usePHToast, useSearchParams, useSelectedDrive, useSelectedNode, useSetPHAppConfig, useSetSearchParams, useSetSelectedNode } from "@powerhousedao/reactor-browser";
8
8
  import { ManualPayloadError, coerceManualPayload, manualDefault, parseManualInputs, stepPortLabel } from "@powerhousedao/pieces-framework/workflow";
9
9
  import { Fragment, Suspense, lazy, useCallback, useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -3216,4 +3216,4 @@ function Editor(props) {
3216
3216
  //#endregion
3217
3217
  export { Editor as default };
3218
3218
 
3219
- //# sourceMappingURL=editor-gCkAwv09.js.map
3219
+ //# sourceMappingURL=editor-CIqKi7XK.js.map