@dxos/plugin-automation 0.8.2-main.fbd8ed0 → 0.8.2-staging.7ac8446
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/lib/browser/{chunk-2QF27UJ2.mjs → AutomationPanel-YAHFXQX6.mjs} +23 -24
- package/dist/lib/browser/AutomationPanel-YAHFXQX6.mjs.map +7 -0
- package/dist/lib/browser/app-graph-builder-K3BIQFWW.mjs +40 -0
- package/dist/lib/browser/app-graph-builder-K3BIQFWW.mjs.map +7 -0
- package/dist/lib/browser/chunk-FALBBJNO.mjs +138 -0
- package/dist/lib/browser/chunk-FALBBJNO.mjs.map +7 -0
- package/dist/lib/browser/chunk-MT3FZH4V.mjs +8 -0
- package/dist/lib/browser/chunk-MT3FZH4V.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +19 -25
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-4QQSJR4A.mjs +42 -0
- package/dist/lib/browser/react-surface-4QQSJR4A.mjs.map +7 -0
- package/dist/lib/node/{chunk-TI3WBQIB.cjs → AutomationPanel-ZKAMIU6O.cjs} +26 -31
- package/dist/lib/node/AutomationPanel-ZKAMIU6O.cjs.map +7 -0
- package/dist/lib/node/app-graph-builder-HO4FPGZ5.cjs +56 -0
- package/dist/lib/node/app-graph-builder-HO4FPGZ5.cjs.map +7 -0
- package/dist/lib/node/{chunk-SV2CB3FT.cjs → chunk-AGJ6XTDN.cjs} +7 -16
- package/dist/lib/node/chunk-AGJ6XTDN.cjs.map +7 -0
- package/dist/lib/node/chunk-FTEDH5Q6.cjs +167 -0
- package/dist/lib/node/chunk-FTEDH5Q6.cjs.map +7 -0
- package/dist/lib/node/index.cjs +22 -28
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-43VHU36V.cjs → react-surface-52M54VWV.cjs} +15 -39
- package/dist/lib/node/react-surface-52M54VWV.cjs.map +7 -0
- package/dist/lib/node-esm/{chunk-DIUPZXCQ.mjs → AutomationPanel-XF7YPSKM.mjs} +23 -24
- package/dist/lib/node-esm/AutomationPanel-XF7YPSKM.mjs.map +7 -0
- package/dist/lib/node-esm/app-graph-builder-XCJR33VS.mjs +41 -0
- package/dist/lib/node-esm/app-graph-builder-XCJR33VS.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-M4QXMIIB.mjs +139 -0
- package/dist/lib/node-esm/chunk-M4QXMIIB.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-OA75PSGH.mjs +10 -0
- package/dist/lib/node-esm/chunk-OA75PSGH.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +19 -25
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/react-surface-MGKM3OO3.mjs +43 -0
- package/dist/lib/node-esm/react-surface-MGKM3OO3.mjs.map +7 -0
- package/dist/types/src/AutomationPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +179 -2
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +177 -2
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts +3 -6
- package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts.map +1 -1
- package/dist/types/src/components/AutomationPanel/index.d.ts +0 -1
- package/dist/types/src/components/AutomationPanel/index.d.ts.map +1 -1
- package/dist/types/src/components/TriggerEditor/TriggerEditor.d.ts +1 -1
- package/dist/types/src/components/TriggerEditor/TriggerEditor.d.ts.map +1 -1
- package/dist/types/src/components/TriggerEditor/TriggerEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -8
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/testing/test-functions.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +0 -8
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +24 -36
- package/src/AutomationPlugin.tsx +10 -5
- package/src/capabilities/app-graph-builder.ts +17 -71
- package/src/capabilities/index.ts +0 -1
- package/src/capabilities/react-surface.tsx +8 -32
- package/src/components/AutomationPanel/AutomationPanel.stories.tsx +5 -5
- package/src/components/AutomationPanel/AutomationPanel.tsx +72 -72
- package/src/components/AutomationPanel/index.ts +0 -2
- package/src/components/TriggerEditor/TriggerEditor.stories.tsx +10 -19
- package/src/components/TriggerEditor/TriggerEditor.tsx +93 -53
- package/src/components/index.ts +0 -3
- package/src/testing/test-functions.ts +9 -23
- package/src/translations.ts +1 -10
- package/dist/lib/browser/AutomationContainer-DA6IW7O2.mjs +0 -34
- package/dist/lib/browser/AutomationContainer-DA6IW7O2.mjs.map +0 -7
- package/dist/lib/browser/AutomationPanel-R42D3LDD.mjs +0 -11
- package/dist/lib/browser/AutomationPanel-R42D3LDD.mjs.map +0 -7
- package/dist/lib/browser/FunctionsContainer-MPBMMOMS.mjs +0 -33
- package/dist/lib/browser/FunctionsContainer-MPBMMOMS.mjs.map +0 -7
- package/dist/lib/browser/FunctionsPanel-NSI3P53X.mjs +0 -10
- package/dist/lib/browser/FunctionsPanel-NSI3P53X.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-2OGPEVBA.mjs +0 -79
- package/dist/lib/browser/app-graph-builder-2OGPEVBA.mjs.map +0 -7
- package/dist/lib/browser/chunk-2QF27UJ2.mjs.map +0 -7
- package/dist/lib/browser/chunk-ADYCSC6Y.mjs +0 -39
- package/dist/lib/browser/chunk-ADYCSC6Y.mjs.map +0 -7
- package/dist/lib/browser/chunk-BNQNURZN.mjs +0 -211
- package/dist/lib/browser/chunk-BNQNURZN.mjs.map +0 -7
- package/dist/lib/browser/chunk-SGT76SL2.mjs +0 -14
- package/dist/lib/browser/chunk-SGT76SL2.mjs.map +0 -7
- package/dist/lib/browser/chunk-TRC3J2I6.mjs +0 -88
- package/dist/lib/browser/chunk-TRC3J2I6.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-X3H6ZSP4.mjs +0 -77
- package/dist/lib/browser/intent-resolver-X3H6ZSP4.mjs.map +0 -7
- package/dist/lib/browser/react-surface-MOXIHBMS.mjs +0 -68
- package/dist/lib/browser/react-surface-MOXIHBMS.mjs.map +0 -7
- package/dist/lib/browser/types.mjs +0 -8
- package/dist/lib/browser/types.mjs.map +0 -7
- package/dist/lib/node/AutomationContainer-FIFH4P5T.cjs +0 -62
- package/dist/lib/node/AutomationContainer-FIFH4P5T.cjs.map +0 -7
- package/dist/lib/node/AutomationPanel-HTNEWBGB.cjs +0 -32
- package/dist/lib/node/AutomationPanel-HTNEWBGB.cjs.map +0 -7
- package/dist/lib/node/FunctionsContainer-LF2F6CPE.cjs +0 -61
- package/dist/lib/node/FunctionsContainer-LF2F6CPE.cjs.map +0 -7
- package/dist/lib/node/FunctionsPanel-6HOAIMQ3.cjs +0 -31
- package/dist/lib/node/FunctionsPanel-6HOAIMQ3.cjs.map +0 -7
- package/dist/lib/node/app-graph-builder-3XGDVWHR.cjs +0 -95
- package/dist/lib/node/app-graph-builder-3XGDVWHR.cjs.map +0 -7
- package/dist/lib/node/chunk-CBHWMYKF.cjs +0 -116
- package/dist/lib/node/chunk-CBHWMYKF.cjs.map +0 -7
- package/dist/lib/node/chunk-GDCG2BML.cjs +0 -58
- package/dist/lib/node/chunk-GDCG2BML.cjs.map +0 -7
- package/dist/lib/node/chunk-S3Z4AP77.cjs +0 -234
- package/dist/lib/node/chunk-S3Z4AP77.cjs.map +0 -7
- package/dist/lib/node/chunk-SV2CB3FT.cjs.map +0 -7
- package/dist/lib/node/chunk-TI3WBQIB.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-Q7WJ4PZZ.cjs +0 -93
- package/dist/lib/node/intent-resolver-Q7WJ4PZZ.cjs.map +0 -7
- package/dist/lib/node/react-surface-43VHU36V.cjs.map +0 -7
- package/dist/lib/node/types.cjs +0 -30
- package/dist/lib/node/types.cjs.map +0 -7
- package/dist/lib/node-esm/AutomationContainer-OP43F4PD.mjs +0 -35
- package/dist/lib/node-esm/AutomationContainer-OP43F4PD.mjs.map +0 -7
- package/dist/lib/node-esm/AutomationPanel-ZQKRBWP2.mjs +0 -12
- package/dist/lib/node-esm/AutomationPanel-ZQKRBWP2.mjs.map +0 -7
- package/dist/lib/node-esm/FunctionsContainer-5TVRDIX5.mjs +0 -34
- package/dist/lib/node-esm/FunctionsContainer-5TVRDIX5.mjs.map +0 -7
- package/dist/lib/node-esm/FunctionsPanel-NMEW26KL.mjs +0 -11
- package/dist/lib/node-esm/FunctionsPanel-NMEW26KL.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-UR2E5CQY.mjs +0 -80
- package/dist/lib/node-esm/app-graph-builder-UR2E5CQY.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-AD4C4IK2.mjs +0 -89
- package/dist/lib/node-esm/chunk-AD4C4IK2.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-CUPEMOYK.mjs +0 -16
- package/dist/lib/node-esm/chunk-CUPEMOYK.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-DIUPZXCQ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-DZ7RKC52.mjs +0 -212
- package/dist/lib/node-esm/chunk-DZ7RKC52.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-EEA6CZ6B.mjs +0 -40
- package/dist/lib/node-esm/chunk-EEA6CZ6B.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-HEUGQ6SL.mjs +0 -78
- package/dist/lib/node-esm/intent-resolver-HEUGQ6SL.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-TER7JEF6.mjs +0 -69
- package/dist/lib/node-esm/react-surface-TER7JEF6.mjs.map +0 -7
- package/dist/lib/node-esm/types.mjs +0 -9
- package/dist/lib/node-esm/types.mjs.map +0 -7
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/components/AutomationContainer.d.ts +0 -7
- package/dist/types/src/components/AutomationContainer.d.ts.map +0 -1
- package/dist/types/src/components/FunctionsContainer.d.ts +0 -7
- package/dist/types/src/components/FunctionsContainer.d.ts.map +0 -1
- package/dist/types/src/components/FunctionsPanel/FunctionsPanel.d.ts +0 -7
- package/dist/types/src/components/FunctionsPanel/FunctionsPanel.d.ts.map +0 -1
- package/dist/types/src/components/FunctionsPanel/index.d.ts +0 -4
- package/dist/types/src/components/FunctionsPanel/index.d.ts.map +0 -1
- package/dist/types/src/components/TriggerEditor/FunctionInputEditor.d.ts +0 -12
- package/dist/types/src/components/TriggerEditor/FunctionInputEditor.d.ts.map +0 -1
- package/dist/types/src/components/TriggerEditor/SpecSelector.d.ts +0 -5
- package/dist/types/src/components/TriggerEditor/SpecSelector.d.ts.map +0 -1
- package/dist/types/src/types.d.ts +0 -25
- package/dist/types/src/types.d.ts.map +0 -1
- package/src/capabilities/intent-resolver.ts +0 -73
- package/src/components/AutomationContainer.tsx +0 -31
- package/src/components/FunctionsContainer.tsx +0 -31
- package/src/components/FunctionsPanel/FunctionsPanel.tsx +0 -95
- package/src/components/FunctionsPanel/index.ts +0 -8
- package/src/components/TriggerEditor/FunctionInputEditor.tsx +0 -77
- package/src/components/TriggerEditor/SpecSelector.tsx +0 -59
- package/src/types.ts +0 -33
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-automation/src/components/TriggerEditor/FunctionInputEditor.tsx":{"bytes":8298,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-automation/src/meta.ts":{"bytes":1764,"imports":[],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/SpecSelector.tsx":{"bytes":7090,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx":{"bytes":12235,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/FunctionInputEditor.tsx","kind":"import-statement","original":"./FunctionInputEditor"},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/SpecSelector.tsx","kind":"import-statement","original":"./SpecSelector"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts":{"bytes":544,"imports":[{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx","kind":"import-statement","original":"./TriggerEditor"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx":{"bytes":21056,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts","kind":"import-statement","original":"../TriggerEditor"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts":{"bytes":849,"imports":[{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx":{"bytes":3556,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","kind":"import-statement","original":"./AutomationPanel"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytes":11665,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts":{"bytes":832,"imports":[{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"},{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx":{"bytes":3536,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","kind":"import-statement","original":"./FunctionsPanel"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/index.ts":{"bytes":1736,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts","kind":"import-statement","original":"./TriggerEditor"},{"path":"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx","kind":"dynamic-import","original":"./AutomationContainer"},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","kind":"dynamic-import","original":"./AutomationPanel"},{"path":"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx","kind":"dynamic-import","original":"./FunctionsContainer"},{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","kind":"dynamic-import","original":"./FunctionsPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts":{"bytes":11451,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/types.ts":{"bytes":4378,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts":{"bytes":9507,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx":{"bytes":7985,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/index.ts":{"bytes":1353,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"packages/plugins/plugin-automation/src/translations.ts":{"bytes":4657,"imports":[{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/AutomationPlugin.tsx":{"bytes":5488,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-automation/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-automation/src/index.ts":{"bytes":704,"imports":[{"path":"packages/plugins/plugin-automation/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-automation/src/AutomationPlugin.tsx","kind":"import-statement","original":"./AutomationPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-automation/dist/lib/browser/react-surface-MOXIHBMS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3897},"packages/plugins/plugin-automation/dist/lib/browser/react-surface-MOXIHBMS.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-SGT76SL2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-BNQNURZN.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx":{"bytesInOutput":1842}},"bytes":2196},"packages/plugins/plugin-automation/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5188},"packages/plugins/plugin-automation/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-SGT76SL2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-BNQNURZN.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-2OGPEVBA.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/intent-resolver-X3H6ZSP4.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/react-surface-MOXIHBMS.mjs","kind":"dynamic-import"}],"exports":["AUTOMATION_PLUGIN","AutomationContainer","AutomationPanel","AutomationPlugin","FunctionsContainer","FunctionsPanel","TriggerEditor","meta"],"entryPoint":"packages/plugins/plugin-automation/src/index.ts","inputs":{"packages/plugins/plugin-automation/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-automation/src/AutomationPlugin.tsx":{"bytesInOutput":1109},"packages/plugins/plugin-automation/src/capabilities/index.ts":{"bytesInOutput":268},"packages/plugins/plugin-automation/src/translations.ts":{"bytesInOutput":1380}},"bytes":3448},"packages/plugins/plugin-automation/dist/lib/browser/chunk-SGT76SL2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":836},"packages/plugins/plugin-automation/dist/lib/browser/chunk-SGT76SL2.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/dist/lib/browser/AutomationContainer-DA6IW7O2.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-R42D3LDD.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/FunctionsContainer-MPBMMOMS.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/FunctionsPanel-NSI3P53X.mjs","kind":"dynamic-import"}],"exports":["AutomationContainer","AutomationPanel","FunctionsContainer","FunctionsPanel"],"inputs":{"packages/plugins/plugin-automation/src/components/index.ts":{"bytesInOutput":346}},"bytes":546},"packages/plugins/plugin-automation/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-ADYCSC6Y.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"}],"exports":["AutomationAction"],"entryPoint":"packages/plugins/plugin-automation/src/types.ts","inputs":{},"bytes":156},"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-R42D3LDD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-R42D3LDD.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-2QF27UJ2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-BNQNURZN.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"}],"exports":["AutomationPanel","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","inputs":{},"bytes":269},"packages/plugins/plugin-automation/dist/lib/browser/AutomationContainer-DA6IW7O2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1800},"packages/plugins/plugin-automation/dist/lib/browser/AutomationContainer-DA6IW7O2.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-2QF27UJ2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-BNQNURZN.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["AutomationContainer","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx","inputs":{"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx":{"bytesInOutput":805}},"bytes":1166},"packages/plugins/plugin-automation/dist/lib/browser/chunk-2QF27UJ2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11762},"packages/plugins/plugin-automation/dist/lib/browser/chunk-2QF27UJ2.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-BNQNURZN.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["AutomationPanel","AutomationPanel_default"],"inputs":{"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx":{"bytesInOutput":4984},"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts":{"bytesInOutput":47}},"bytes":5418},"packages/plugins/plugin-automation/dist/lib/browser/chunk-BNQNURZN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14304},"packages/plugins/plugin-automation/dist/lib/browser/chunk-BNQNURZN.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["TriggerEditor"],"inputs":{"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx":{"bytesInOutput":2751},"packages/plugins/plugin-automation/src/components/TriggerEditor/FunctionInputEditor.tsx":{"bytesInOutput":1972},"packages/plugins/plugin-automation/src/components/TriggerEditor/SpecSelector.tsx":{"bytesInOutput":1614},"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts":{"bytesInOutput":0}},"bytes":6819},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsPanel-NSI3P53X.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsPanel-NSI3P53X.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-TRC3J2I6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"}],"exports":["FunctionsPanel","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","inputs":{},"bytes":233},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsContainer-MPBMMOMS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1786},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsContainer-MPBMMOMS.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-TRC3J2I6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["FunctionsContainer","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx","inputs":{"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx":{"bytesInOutput":799}},"bytes":1124},"packages/plugins/plugin-automation/dist/lib/browser/chunk-TRC3J2I6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6524},"packages/plugins/plugin-automation/dist/lib/browser/chunk-TRC3J2I6.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["FunctionsPanel","FunctionsPanel_default"],"inputs":{"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytesInOutput":2900},"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts":{"bytesInOutput":45}},"bytes":3271},"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-2OGPEVBA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5287},"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-2OGPEVBA.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts":{"bytesInOutput":2506}},"bytes":2737},"packages/plugins/plugin-automation/dist/lib/browser/intent-resolver-X3H6ZSP4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4550},"packages/plugins/plugin-automation/dist/lib/browser/intent-resolver-X3H6ZSP4.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-ADYCSC6Y.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts":{"bytesInOutput":2068}},"bytes":2336},"packages/plugins/plugin-automation/dist/lib/browser/chunk-ADYCSC6Y.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2184},"packages/plugins/plugin-automation/dist/lib/browser/chunk-ADYCSC6Y.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["AutomationAction"],"inputs":{"packages/plugins/plugin-automation/src/types.ts":{"bytesInOutput":1025}},"bytes":1213},"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":827},"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs":{"imports":[],"exports":["AUTOMATION_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-automation/src/meta.ts":{"bytesInOutput":395}},"bytes":530}}}
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-automation/src/meta.ts":{"bytes":1764,"imports":[],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx":{"bytes":18213,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts":{"bytes":544,"imports":[{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx","kind":"import-statement","original":"./TriggerEditor"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx":{"bytes":21670,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts","kind":"import-statement","original":"../TriggerEditor"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts":{"bytes":738,"imports":[{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/index.ts":{"bytes":914,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts","kind":"import-statement","original":"./TriggerEditor"},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","kind":"dynamic-import","original":"./AutomationPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts":{"bytes":4479,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx":{"bytes":4985,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/index.ts":{"bytes":1096,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"packages/plugins/plugin-automation/src/translations.ts":{"bytes":3132,"imports":[{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/AutomationPlugin.tsx":{"bytes":6390,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-automation/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-automation/src/index.ts":{"bytes":704,"imports":[{"path":"packages/plugins/plugin-automation/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-automation/src/AutomationPlugin.tsx","kind":"import-statement","original":"./AutomationPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-automation/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4811},"packages/plugins/plugin-automation/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-MT3FZH4V.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-K3BIQFWW.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/react-surface-4QQSJR4A.mjs","kind":"dynamic-import"}],"exports":["AUTOMATION_PLUGIN","AutomationPanel","AutomationPlugin","TriggerEditor","meta"],"entryPoint":"packages/plugins/plugin-automation/src/index.ts","inputs":{"packages/plugins/plugin-automation/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-automation/src/AutomationPlugin.tsx":{"bytesInOutput":1357},"packages/plugins/plugin-automation/src/capabilities/index.ts":{"bytesInOutput":193},"packages/plugins/plugin-automation/src/translations.ts":{"bytesInOutput":827}},"bytes":2942},"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-YAHFXQX6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12052},"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-YAHFXQX6.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","inputs":{"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx":{"bytesInOutput":5148},"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts":{"bytesInOutput":47}},"bytes":5583},"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-K3BIQFWW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2151},"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-K3BIQFWW.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts":{"bytesInOutput":1001}},"bytes":1232},"packages/plugins/plugin-automation/dist/lib/browser/react-surface-4QQSJR4A.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2476},"packages/plugins/plugin-automation/dist/lib/browser/react-surface-4QQSJR4A.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-MT3FZH4V.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx":{"bytesInOutput":1121}},"bytes":1430},"packages/plugins/plugin-automation/dist/lib/browser/chunk-MT3FZH4V.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":404},"packages/plugins/plugin-automation/dist/lib/browser/chunk-MT3FZH4V.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-YAHFXQX6.mjs","kind":"dynamic-import"}],"exports":["AutomationPanel"],"inputs":{"packages/plugins/plugin-automation/src/components/index.ts":{"bytesInOutput":106}},"bytes":243},"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9335},"packages/plugins/plugin-automation/dist/lib/browser/chunk-FALBBJNO.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/functions/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["TriggerEditor"],"inputs":{"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx":{"bytesInOutput":4576},"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts":{"bytesInOutput":0}},"bytes":4795},"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":827},"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs":{"imports":[],"exports":["AUTOMATION_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-automation/src/meta.ts":{"bytesInOutput":395}},"bytes":530}}}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AutomationPanel
|
|
3
|
+
} from "./chunk-MT3FZH4V.mjs";
|
|
4
|
+
import "./chunk-FALBBJNO.mjs";
|
|
5
|
+
import {
|
|
6
|
+
meta
|
|
7
|
+
} from "./chunk-WKKQV4PC.mjs";
|
|
8
|
+
|
|
9
|
+
// packages/plugins/plugin-automation/src/capabilities/react-surface.tsx
|
|
10
|
+
import React from "react";
|
|
11
|
+
import { Capabilities, contributes, createSurface } from "@dxos/app-framework";
|
|
12
|
+
import { isInstanceOf } from "@dxos/echo-schema";
|
|
13
|
+
import { ScriptType } from "@dxos/functions/types";
|
|
14
|
+
import { getSpace, isSpace } from "@dxos/react-client/echo";
|
|
15
|
+
import { StackItem } from "@dxos/react-ui-stack";
|
|
16
|
+
var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
17
|
+
createSurface({
|
|
18
|
+
id: `${meta.id}/automation`,
|
|
19
|
+
role: "space-settings--automation",
|
|
20
|
+
filter: (data) => isSpace(data.subject),
|
|
21
|
+
component: ({ data }) => /* @__PURE__ */ React.createElement(AutomationPanel, {
|
|
22
|
+
space: data.subject
|
|
23
|
+
})
|
|
24
|
+
}),
|
|
25
|
+
createSurface({
|
|
26
|
+
id: `${meta.id}/companion/automation`,
|
|
27
|
+
role: "article",
|
|
28
|
+
filter: (data) => isInstanceOf(ScriptType, data.companionTo) && data.subject === "automation",
|
|
29
|
+
component: ({ data, role }) => {
|
|
30
|
+
return /* @__PURE__ */ React.createElement(StackItem.Content, {
|
|
31
|
+
role
|
|
32
|
+
}, /* @__PURE__ */ React.createElement(AutomationPanel, {
|
|
33
|
+
space: getSpace(data.companionTo),
|
|
34
|
+
object: data.companionTo
|
|
35
|
+
}));
|
|
36
|
+
}
|
|
37
|
+
})
|
|
38
|
+
]);
|
|
39
|
+
export {
|
|
40
|
+
react_surface_default as default
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=react-surface-4QQSJR4A.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Capabilities, contributes, createSurface } from '@dxos/app-framework';\nimport { isInstanceOf } from '@dxos/echo-schema';\nimport { ScriptType } from '@dxos/functions/types';\nimport { getSpace, isSpace, type Space } from '@dxos/react-client/echo';\nimport { StackItem } from '@dxos/react-ui-stack';\n\nimport { AutomationPanel } from '../components';\nimport { meta } from '../meta';\n\nexport default () =>\n contributes(Capabilities.ReactSurface, [\n createSurface({\n id: `${meta.id}/automation`,\n role: 'space-settings--automation',\n filter: (data): data is { subject: Space } => isSpace(data.subject),\n component: ({ data }) => <AutomationPanel space={data.subject} />,\n }),\n createSurface({\n id: `${meta.id}/companion/automation`,\n role: 'article',\n filter: (data): data is { companionTo: ScriptType; subject: 'automation' } =>\n isInstanceOf(ScriptType, data.companionTo) && data.subject === 'automation',\n component: ({ data, role }) => {\n return (\n <StackItem.Content role={role}>\n <AutomationPanel space={getSpace(data.companionTo)!} object={data.companionTo} />\n </StackItem.Content>\n );\n },\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,cAAcC,aAAaC,qBAAqB;AACzD,SAASC,oBAAoB;AAC7B,SAASC,kBAAkB;AAC3B,SAASC,UAAUC,eAA2B;AAC9C,SAASC,iBAAiB;AAK1B,IAAA,wBAAe,MACbC,YAAYC,aAAaC,cAAc;EACrCC,cAAc;IACZC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SAAqCC,QAAQD,KAAKE,OAAO;IAClEC,WAAW,CAAC,EAAEH,KAAI,MAAO,sBAAA,cAACI,iBAAAA;MAAgBC,OAAOL,KAAKE;;EACxD,CAAA;EACAP,cAAc;IACZC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SACPM,aAAaC,YAAYP,KAAKQ,WAAW,KAAKR,KAAKE,YAAY;IACjEC,WAAW,CAAC,EAAEH,MAAMF,KAAI,MAAE;AACxB,aACE,sBAAA,cAACW,UAAUC,SAAO;QAACZ;SACjB,sBAAA,cAACM,iBAAAA;QAAgBC,OAAOM,SAASX,KAAKQ,WAAW;QAAII,QAAQZ,KAAKQ;;IAGxE;EACF,CAAA;CACD;",
|
|
6
|
+
"names": ["React", "Capabilities", "contributes", "createSurface", "isInstanceOf", "ScriptType", "getSpace", "isSpace", "StackItem", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "meta", "role", "filter", "data", "isSpace", "subject", "component", "AutomationPanel", "space", "isInstanceOf", "ScriptType", "companionTo", "StackItem", "Content", "getSpace", "object"]
|
|
7
|
+
}
|
|
@@ -26,31 +26,31 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
|
|
32
|
-
AutomationPanel_default: () => AutomationPanel_default
|
|
29
|
+
var AutomationPanel_ZKAMIU6O_exports = {};
|
|
30
|
+
__export(AutomationPanel_ZKAMIU6O_exports, {
|
|
31
|
+
default: () => AutomationPanel_default
|
|
33
32
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
35
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(AutomationPanel_ZKAMIU6O_exports);
|
|
34
|
+
var import_chunk_FTEDH5Q6 = require("./chunk-FTEDH5Q6.cjs");
|
|
36
35
|
var import_chunk_7GXNXMSM = require("./chunk-7GXNXMSM.cjs");
|
|
37
|
-
var import_effect = require("effect");
|
|
38
36
|
var import_react = __toESM(require("react"));
|
|
39
|
-
var
|
|
37
|
+
var import_echo_schema = require("@dxos/echo-schema");
|
|
38
|
+
var import_types = require("@dxos/functions/types");
|
|
40
39
|
var import_react_client = require("@dxos/react-client");
|
|
41
40
|
var import_echo = require("@dxos/react-client/echo");
|
|
42
41
|
var import_react_ui = require("@dxos/react-ui");
|
|
43
42
|
var import_react_ui_form = require("@dxos/react-ui-form");
|
|
44
43
|
var import_react_ui_list = require("@dxos/react-ui-list");
|
|
44
|
+
var import_react_ui_stack = require("@dxos/react-ui-stack");
|
|
45
45
|
var import_react_ui_theme = require("@dxos/react-ui-theme");
|
|
46
46
|
var grid = "grid grid-cols-[40px_1fr_32px] min-bs-[2.5rem]";
|
|
47
|
-
var AutomationPanel = ({ space, object
|
|
47
|
+
var AutomationPanel = ({ space, object }) => {
|
|
48
48
|
const { t } = (0, import_react_ui.useTranslation)(import_chunk_7GXNXMSM.AUTOMATION_PLUGIN);
|
|
49
49
|
const client = (0, import_react_client.useClient)();
|
|
50
|
-
const triggers = (0, import_echo.useQuery)(space, import_echo.Filter.
|
|
51
|
-
const functions = (0, import_echo.useQuery)(space, import_echo.Filter.
|
|
52
|
-
const scripts = (0, import_echo.useQuery)(space, import_echo.Filter.
|
|
53
|
-
const [trigger, setTrigger] = (0, import_react.useState)(
|
|
50
|
+
const triggers = (0, import_echo.useQuery)(space, import_echo.Filter.schema(import_types.FunctionTrigger));
|
|
51
|
+
const functions = (0, import_echo.useQuery)(space, import_echo.Filter.schema(import_types.FunctionType));
|
|
52
|
+
const scripts = (0, import_echo.useQuery)(space, import_echo.Filter.schema(import_types.ScriptType));
|
|
53
|
+
const [trigger, setTrigger] = (0, import_react.useState)();
|
|
54
54
|
const [selected, setSelected] = (0, import_react.useState)();
|
|
55
55
|
const handleSelect = (trigger2) => {
|
|
56
56
|
const { id: _, ...values } = trigger2;
|
|
@@ -58,7 +58,7 @@ var AutomationPanel = ({ space, object, initialTrigger, onDone }) => {
|
|
|
58
58
|
setSelected(trigger2);
|
|
59
59
|
};
|
|
60
60
|
const handleAdd = () => {
|
|
61
|
-
setTrigger((0, import_echo.
|
|
61
|
+
setTrigger((0, import_echo.create)(import_types.FunctionTriggerSchema, {}));
|
|
62
62
|
setSelected(void 0);
|
|
63
63
|
};
|
|
64
64
|
const handleDelete = (trigger2) => {
|
|
@@ -70,21 +70,21 @@ var AutomationPanel = ({ space, object, initialTrigger, onDone }) => {
|
|
|
70
70
|
if (selected) {
|
|
71
71
|
Object.assign(selected, trigger2);
|
|
72
72
|
} else {
|
|
73
|
-
space.db.add((0, import_echo.
|
|
73
|
+
space.db.add((0, import_echo.create)(import_types.FunctionTrigger, trigger2));
|
|
74
74
|
}
|
|
75
75
|
setTrigger(void 0);
|
|
76
76
|
setSelected(void 0);
|
|
77
|
-
onDone?.();
|
|
78
77
|
};
|
|
79
78
|
const handleCancel = () => {
|
|
80
79
|
setTrigger(void 0);
|
|
81
|
-
onDone?.();
|
|
82
80
|
};
|
|
83
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
81
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react_ui.Clipboard.Provider, null, /* @__PURE__ */ import_react.default.createElement(import_react_ui_stack.StackItem.Content, {
|
|
82
|
+
classNames: "block overflow-y-auto"
|
|
83
|
+
}, /* @__PURE__ */ import_react.default.createElement("div", {
|
|
84
84
|
className: "flex flex-col w-full"
|
|
85
85
|
}, trigger ? /* @__PURE__ */ import_react.default.createElement(import_react_ui_form.ControlItem, {
|
|
86
86
|
title: t("trigger editor title")
|
|
87
|
-
}, /* @__PURE__ */ import_react.default.createElement(
|
|
87
|
+
}, /* @__PURE__ */ import_react.default.createElement(import_chunk_FTEDH5Q6.TriggerEditor, {
|
|
88
88
|
space,
|
|
89
89
|
trigger,
|
|
90
90
|
onSave: handleSave,
|
|
@@ -94,7 +94,7 @@ var AutomationPanel = ({ space, object, initialTrigger, onDone }) => {
|
|
|
94
94
|
className: import_react_ui_form.controlItemClasses
|
|
95
95
|
}, /* @__PURE__ */ import_react.default.createElement(import_react_ui_list.List.Root, {
|
|
96
96
|
items: triggers,
|
|
97
|
-
isItem:
|
|
97
|
+
isItem: import_echo_schema.S.is(import_types.FunctionTrigger),
|
|
98
98
|
getId: (field) => field.id
|
|
99
99
|
}, ({ items: triggers2 }) => /* @__PURE__ */ import_react.default.createElement("div", {
|
|
100
100
|
role: "list",
|
|
@@ -125,16 +125,16 @@ var AutomationPanel = ({ space, object, initialTrigger, onDone }) => {
|
|
|
125
125
|
icon: "ph--plus--regular",
|
|
126
126
|
label: t("new trigger label"),
|
|
127
127
|
onClick: handleAdd
|
|
128
|
-
})));
|
|
128
|
+
})))));
|
|
129
129
|
};
|
|
130
130
|
var getCopyAction = (client, trigger) => {
|
|
131
|
-
if (trigger?.spec?.
|
|
131
|
+
if (trigger?.spec?.type === import_types.TriggerKind.Email) {
|
|
132
132
|
return {
|
|
133
133
|
translationKey: "trigger copy email",
|
|
134
134
|
contentProvider: () => `${(0, import_echo.getSpace)(trigger).id}@dxos.network`
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
|
-
if (trigger?.spec?.
|
|
137
|
+
if (trigger?.spec?.type === import_types.TriggerKind.Webhook) {
|
|
138
138
|
return {
|
|
139
139
|
translationKey: "trigger copy url",
|
|
140
140
|
contentProvider: () => getWebhookUrl(client, trigger)
|
|
@@ -150,17 +150,12 @@ var getWebhookUrl = (client, trigger) => {
|
|
|
150
150
|
return new URL(`/webhook/${spaceId}:${trigger.id}`, edgeUrl).toString();
|
|
151
151
|
};
|
|
152
152
|
var getFunctionName = (scripts, functions, trigger) => {
|
|
153
|
-
const shortId = trigger.function && `${trigger.function
|
|
154
|
-
const functionObject = functions.find((fn) => fn === trigger.function
|
|
153
|
+
const shortId = trigger.function && `${trigger.function?.slice(0, 16)}\u2026`;
|
|
154
|
+
const functionObject = functions.find((fn) => `dxn:worker:${fn.name}` === trigger.function);
|
|
155
155
|
if (!functionObject) {
|
|
156
156
|
return shortId;
|
|
157
157
|
}
|
|
158
158
|
return scripts.find((s) => functionObject.source?.target?.id === s.id)?.name ?? shortId;
|
|
159
159
|
};
|
|
160
160
|
var AutomationPanel_default = AutomationPanel;
|
|
161
|
-
|
|
162
|
-
0 && (module.exports = {
|
|
163
|
-
AutomationPanel,
|
|
164
|
-
AutomationPanel_default
|
|
165
|
-
});
|
|
166
|
-
//# sourceMappingURL=chunk-TI3WBQIB.cjs.map
|
|
161
|
+
//# sourceMappingURL=AutomationPanel-ZKAMIU6O.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/AutomationPanel/AutomationPanel.tsx", "../../../src/components/AutomationPanel/index.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport React, { useState } from 'react';\n\nimport { S } from '@dxos/echo-schema';\nimport {\n FunctionType,\n FunctionTrigger,\n FunctionTriggerSchema,\n TriggerKind,\n type FunctionTriggerType,\n ScriptType,\n} from '@dxos/functions/types';\nimport { type Client, useClient } from '@dxos/react-client';\nimport { create, Filter, useQuery, type Space, type ReactiveObject, getSpace } from '@dxos/react-client/echo';\nimport { Clipboard, IconButton, Input, Separator, useTranslation } from '@dxos/react-ui';\nimport { ControlItem, controlItemClasses } from '@dxos/react-ui-form';\nimport { List } from '@dxos/react-ui-list';\nimport { StackItem } from '@dxos/react-ui-stack';\nimport { ghostHover, mx } from '@dxos/react-ui-theme';\n\nimport { AUTOMATION_PLUGIN } from '../../meta';\nimport { TriggerEditor, type TriggerEditorProps } from '../TriggerEditor';\n\nconst grid = 'grid grid-cols-[40px_1fr_32px] min-bs-[2.5rem]';\n\nexport type AutomationPanelProps = {\n space: Space;\n object?: ReactiveObject<any>;\n};\n\n// TODO(burdon): Factor out common layout with ViewEditor.\nexport const AutomationPanel = ({ space, object }: AutomationPanelProps) => {\n const { t } = useTranslation(AUTOMATION_PLUGIN);\n const client = useClient();\n const triggers = useQuery(space, Filter.schema(FunctionTrigger));\n const functions = useQuery(space, Filter.schema(FunctionType));\n const scripts = useQuery(space, Filter.schema(ScriptType));\n\n const [trigger, setTrigger] = useState<FunctionTriggerType>();\n const [selected, setSelected] = useState<FunctionTrigger>();\n\n const handleSelect = (trigger: FunctionTrigger) => {\n const { id: _, ...values } = trigger;\n setTrigger(values);\n setSelected(trigger);\n };\n\n const handleAdd = () => {\n setTrigger(create(FunctionTriggerSchema, {}));\n setSelected(undefined);\n };\n\n const handleDelete = (trigger: FunctionTrigger) => {\n space.db.remove(trigger);\n setTrigger(undefined);\n setSelected(undefined);\n };\n\n const handleSave: TriggerEditorProps['onSave'] = (trigger) => {\n if (selected) {\n Object.assign(selected, trigger);\n } else {\n space.db.add(create(FunctionTrigger, trigger));\n }\n\n setTrigger(undefined);\n setSelected(undefined);\n };\n\n const handleCancel: TriggerEditorProps['onCancel'] = () => {\n setTrigger(undefined);\n };\n\n return (\n <Clipboard.Provider>\n <StackItem.Content classNames='block overflow-y-auto'>\n <div className='flex flex-col w-full'>\n {trigger ? (\n <ControlItem title={t('trigger editor title')}>\n <TriggerEditor space={space} trigger={trigger} onSave={handleSave} onCancel={handleCancel} />\n </ControlItem>\n ) : (\n <div role='none' className={controlItemClasses}>\n <List.Root<FunctionTrigger> items={triggers} isItem={S.is(FunctionTrigger)} getId={(field) => field.id}>\n {({ items: triggers }) => (\n <div role='list' className='flex flex-col w-full'>\n {triggers?.map((trigger) => {\n const copyAction = getCopyAction(client, trigger);\n return (\n <List.Item<FunctionTrigger>\n key={trigger.id}\n item={trigger}\n classNames={mx(grid, ghostHover, 'items-center', 'px-2')}\n >\n <Input.Root>\n <Input.Switch\n checked={trigger.enabled}\n onCheckedChange={(checked) => (trigger.enabled = checked)}\n />\n </Input.Root>\n\n <div className={'flex'}>\n <List.ItemTitle\n classNames='px-1 cursor-pointer w-0 shrink truncate'\n onClick={() => handleSelect(trigger)}\n >\n {getFunctionName(scripts, functions, trigger) ?? '∅'}\n </List.ItemTitle>\n\n {/* TODO: a better way to expose copy action */}\n {copyAction && (\n <Clipboard.IconButton\n label={t(copyAction.translationKey)}\n value={copyAction.contentProvider()}\n />\n )}\n </div>\n\n <List.ItemDeleteButton onClick={() => handleDelete(trigger)} />\n </List.Item>\n );\n })}\n </div>\n )}\n </List.Root>\n {triggers.length > 0 && <Separator classNames='mlb-4' />}\n <IconButton icon='ph--plus--regular' label={t('new trigger label')} onClick={handleAdd} />\n </div>\n )}\n </div>\n </StackItem.Content>\n </Clipboard.Provider>\n );\n};\n\nconst getCopyAction = (client: Client, trigger: FunctionTrigger | undefined) => {\n if (trigger?.spec?.type === TriggerKind.Email) {\n return { translationKey: 'trigger copy email', contentProvider: () => `${getSpace(trigger)!.id}@dxos.network` };\n }\n\n if (trigger?.spec?.type === TriggerKind.Webhook) {\n return { translationKey: 'trigger copy url', contentProvider: () => getWebhookUrl(client, trigger) };\n }\n\n return undefined;\n};\n\nconst getWebhookUrl = (client: Client, trigger: FunctionTrigger) => {\n const spaceId = getSpace(trigger)!.id;\n const edgeUrl = new URL(client.config.values.runtime!.services!.edge!.url!);\n const isSecure = edgeUrl.protocol.startsWith('https') || edgeUrl.protocol.startsWith('wss');\n edgeUrl.protocol = isSecure ? 'https' : 'http';\n return new URL(`/webhook/${spaceId}:${trigger.id}`, edgeUrl).toString();\n};\n\nconst getFunctionName = (scripts: ScriptType[], functions: FunctionType[], trigger: FunctionTriggerType) => {\n // TODO(wittjosiah): Truncation should be done in the UI.\n // Warning that the List component is currently a can of worms.\n const shortId = trigger.function && `${trigger.function?.slice(0, 16)}…`;\n const functionObject = functions.find((fn) => `dxn:worker:${fn.name}` === trigger.function);\n if (!functionObject) {\n return shortId;\n }\n return scripts.find((s) => functionObject.source?.target?.id === s.id)?.name ?? shortId;\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { AutomationPanel } from './AutomationPanel';\n\nexport default AutomationPanel;\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": ["grid", "AutomationPanel", "space", "object", "t", "useTranslation", "AUTOMATION_PLUGIN", "client", "useClient", "triggers", "useQuery", "Filter", "schema", "FunctionTrigger", "functions", "FunctionType", "scripts", "ScriptType", "trigger", "setTrigger", "useState", "selected", "setSelected", "handleSelect", "id", "_", "values", "handleAdd", "create", "FunctionTriggerSchema", "undefined", "handleDelete", "db", "remove", "handleSave", "Object", "assign", "add", "handleCancel", "React", "Clipboard", "Provider", "StackItem", "Content", "classNames", "div", "className", "ControlItem", "title", "TriggerEditor", "onSave", "onCancel", "role", "controlItemClasses", "List", "Root", "items", "isItem", "S", "is", "getId", "field", "map", "copyAction", "getCopyAction", "Item", "key", "item", "mx", "ghostHover", "Input", "Switch", "checked", "enabled", "onCheckedChange", "ItemTitle", "onClick", "getFunctionName", "IconButton", "label", "translationKey", "value", "contentProvider", "ItemDeleteButton", "length", "Separator", "icon", "spec", "type", "TriggerKind", "Email", "getSpace", "Webhook", "getWebhookUrl", "spaceId", "edgeUrl", "URL", "config", "runtime", "services", "edge", "url", "isSecure", "protocol", "startsWith", "toString", "shortId", "function", "slice", "functionObject", "find", "fn", "name", "s", "source", "target"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var app_graph_builder_HO4FPGZ5_exports = {};
|
|
20
|
+
__export(app_graph_builder_HO4FPGZ5_exports, {
|
|
21
|
+
default: () => app_graph_builder_default
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(app_graph_builder_HO4FPGZ5_exports);
|
|
24
|
+
var import_chunk_7GXNXMSM = require("./chunk-7GXNXMSM.cjs");
|
|
25
|
+
var import_app_framework = require("@dxos/app-framework");
|
|
26
|
+
var import_echo_schema = require("@dxos/echo-schema");
|
|
27
|
+
var import_functions = require("@dxos/functions");
|
|
28
|
+
var import_types = require("@dxos/plugin-deck/types");
|
|
29
|
+
var import_plugin_graph = require("@dxos/plugin-graph");
|
|
30
|
+
var import_types2 = require("@dxos/plugin-script/types");
|
|
31
|
+
var app_graph_builder_default = (context) => (0, import_app_framework.contributes)(import_app_framework.Capabilities.AppGraphBuilder, [
|
|
32
|
+
(0, import_plugin_graph.createExtension)({
|
|
33
|
+
id: `${import_types2.SCRIPT_PLUGIN}/script-companion`,
|
|
34
|
+
filter: (node) => (0, import_echo_schema.isInstanceOf)(import_functions.ScriptType, node.data),
|
|
35
|
+
connector: ({ node }) => [
|
|
36
|
+
{
|
|
37
|
+
id: [
|
|
38
|
+
node.id,
|
|
39
|
+
"automation"
|
|
40
|
+
].join(import_types.ATTENDABLE_PATH_SEPARATOR),
|
|
41
|
+
type: import_types.PLANK_COMPANION_TYPE,
|
|
42
|
+
data: "automation",
|
|
43
|
+
properties: {
|
|
44
|
+
label: [
|
|
45
|
+
"script automation label",
|
|
46
|
+
{
|
|
47
|
+
ns: import_chunk_7GXNXMSM.meta.id
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
icon: "ph--lightning--regular"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
})
|
|
55
|
+
]);
|
|
56
|
+
//# sourceMappingURL=app-graph-builder-HO4FPGZ5.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/app-graph-builder.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capabilities, contributes, type PluginsContext } from '@dxos/app-framework';\nimport { isInstanceOf } from '@dxos/echo-schema';\nimport { ScriptType } from '@dxos/functions';\nimport { PLANK_COMPANION_TYPE, ATTENDABLE_PATH_SEPARATOR } from '@dxos/plugin-deck/types';\nimport { createExtension, type Node } from '@dxos/plugin-graph';\nimport { SCRIPT_PLUGIN } from '@dxos/plugin-script/types';\n\nimport { meta } from '../meta';\n\nexport default (context: PluginsContext) =>\n contributes(Capabilities.AppGraphBuilder, [\n createExtension({\n id: `${SCRIPT_PLUGIN}/script-companion`,\n filter: (node): node is Node<ScriptType> => isInstanceOf(ScriptType, node.data),\n connector: ({ node }) => [\n {\n id: [node.id, 'automation'].join(ATTENDABLE_PATH_SEPARATOR),\n type: PLANK_COMPANION_TYPE,\n data: 'automation',\n properties: {\n label: ['script automation label', { ns: meta.id }],\n icon: 'ph--lightning--regular',\n },\n },\n ],\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAIA,2BAA+D;AAC/D,yBAA6B;AAC7B,uBAA2B;AAC3B,mBAAgE;AAChE,0BAA2C;AAC3C,IAAAA,gBAA8B;AAI9B,IAAA,4BAAe,CAACC,gBACdC,kCAAYC,kCAAaC,iBAAiB;MACxCC,qCAAgB;IACdC,IAAI,GAAGC,2BAAAA;IACPC,QAAQ,CAACC,aAAmCC,iCAAaC,6BAAYF,KAAKG,IAAI;IAC9EC,WAAW,CAAC,EAAEJ,KAAI,MAAO;MACvB;QACEH,IAAI;UAACG,KAAKH;UAAI;UAAcQ,KAAKC,sCAAAA;QACjCC,MAAMC;QACNL,MAAM;QACNM,YAAY;UACVC,OAAO;YAAC;YAA2B;cAAEC,IAAIC,2BAAKf;YAAG;;UACjDgB,MAAM;QACR;MACF;;EAEJ,CAAA;CACD;",
|
|
6
|
+
"names": ["import_types", "context", "contributes", "Capabilities", "AppGraphBuilder", "createExtension", "id", "SCRIPT_PLUGIN", "filter", "node", "isInstanceOf", "ScriptType", "data", "connector", "join", "ATTENDABLE_PATH_SEPARATOR", "type", "PLANK_COMPANION_TYPE", "properties", "label", "ns", "meta", "icon"]
|
|
7
|
+
}
|
|
@@ -26,24 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
|
|
32
|
-
AutomationPanel: () => AutomationPanel,
|
|
33
|
-
FunctionsContainer: () => FunctionsContainer,
|
|
34
|
-
FunctionsPanel: () => FunctionsPanel
|
|
29
|
+
var chunk_AGJ6XTDN_exports = {};
|
|
30
|
+
__export(chunk_AGJ6XTDN_exports, {
|
|
31
|
+
AutomationPanel: () => AutomationPanel
|
|
35
32
|
});
|
|
36
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(chunk_AGJ6XTDN_exports);
|
|
37
34
|
var import_react = require("react");
|
|
38
|
-
var
|
|
39
|
-
var AutomationPanel = (0, import_react.lazy)(() => import("./AutomationPanel-HTNEWBGB.cjs"));
|
|
40
|
-
var FunctionsContainer = (0, import_react.lazy)(() => import("./FunctionsContainer-LF2F6CPE.cjs"));
|
|
41
|
-
var FunctionsPanel = (0, import_react.lazy)(() => import("./FunctionsPanel-6HOAIMQ3.cjs"));
|
|
35
|
+
var AutomationPanel = (0, import_react.lazy)(() => import("./AutomationPanel-ZKAMIU6O.cjs"));
|
|
42
36
|
// Annotate the CommonJS export names for ESM import in node:
|
|
43
37
|
0 && (module.exports = {
|
|
44
|
-
|
|
45
|
-
AutomationPanel,
|
|
46
|
-
FunctionsContainer,
|
|
47
|
-
FunctionsPanel
|
|
38
|
+
AutomationPanel
|
|
48
39
|
});
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
40
|
+
//# sourceMappingURL=chunk-AGJ6XTDN.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/index.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { lazy } from 'react';\n\nexport * from './TriggerEditor';\n\nexport const AutomationPanel = lazy(() => import('./AutomationPanel'));\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,mBAAqB;AAId,IAAMA,sBAAkBC,mBAAK,MAAM,OAAO,gCAAA,CAAA;",
|
|
6
|
+
"names": ["AutomationPanel", "lazy"]
|
|
7
|
+
}
|