@dxos/react-ui-canvas-compute 0.8.4-main.f9ba587 → 0.8.4-main.fcfe5033a5
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/index.mjs +1026 -1177
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +1026 -1177
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/compute.stories.d.ts +33 -5
- package/dist/types/src/compute.stories.d.ts.map +1 -1
- package/dist/types/src/graph/controller.d.ts +41 -27
- package/dist/types/src/graph/controller.d.ts.map +1 -1
- package/dist/types/src/graph/node-defs.d.ts.map +1 -1
- package/dist/types/src/hooks/useComputeGraphController.d.ts +2 -2
- package/dist/types/src/hooks/useComputeGraphController.d.ts.map +1 -1
- package/dist/types/src/hooks/useComputeNodeState.d.ts +4 -3
- package/dist/types/src/hooks/useComputeNodeState.d.ts.map +1 -1
- package/dist/types/src/hooks/useGraphMonitor.d.ts +2 -2
- package/dist/types/src/hooks/useGraphMonitor.d.ts.map +1 -1
- package/dist/types/src/json.test.d.ts +1 -1
- package/dist/types/src/json.test.d.ts.map +1 -1
- package/dist/types/src/shapes/Append.d.ts +1 -1
- package/dist/types/src/shapes/Append.d.ts.map +1 -1
- package/dist/types/src/shapes/Array.d.ts +1 -1
- package/dist/types/src/shapes/Array.d.ts.map +1 -1
- package/dist/types/src/shapes/Audio.d.ts +1 -1
- package/dist/types/src/shapes/Audio.d.ts.map +1 -1
- package/dist/types/src/shapes/Beacon.d.ts +1 -1
- package/dist/types/src/shapes/Beacon.d.ts.map +1 -1
- package/dist/types/src/shapes/Boolean.d.ts +1 -1
- package/dist/types/src/shapes/Boolean.d.ts.map +1 -1
- package/dist/types/src/shapes/Chat.d.ts +1 -1
- package/dist/types/src/shapes/Chat.d.ts.map +1 -1
- package/dist/types/src/shapes/Constant.d.ts +1 -1
- package/dist/types/src/shapes/Constant.d.ts.map +1 -1
- package/dist/types/src/shapes/Database.d.ts +1 -1
- package/dist/types/src/shapes/Database.d.ts.map +1 -1
- package/dist/types/src/shapes/{Queue.d.ts → Feed.d.ts} +9 -9
- package/dist/types/src/shapes/Feed.d.ts.map +1 -0
- package/dist/types/src/shapes/Function.d.ts +1 -1
- package/dist/types/src/shapes/Function.d.ts.map +1 -1
- package/dist/types/src/shapes/Gpt.d.ts +1 -1
- package/dist/types/src/shapes/Gpt.d.ts.map +1 -1
- package/dist/types/src/shapes/GptRealtime.d.ts +1 -1
- package/dist/types/src/shapes/GptRealtime.d.ts.map +1 -1
- package/dist/types/src/shapes/Json.d.ts +1 -1
- package/dist/types/src/shapes/Json.d.ts.map +1 -1
- package/dist/types/src/shapes/Logic.d.ts +1 -1
- package/dist/types/src/shapes/Logic.d.ts.map +1 -1
- package/dist/types/src/shapes/RNG.d.ts +1 -1
- package/dist/types/src/shapes/RNG.d.ts.map +1 -1
- package/dist/types/src/shapes/Scope.d.ts +1 -1
- package/dist/types/src/shapes/Scope.d.ts.map +1 -1
- package/dist/types/src/shapes/Surface.d.ts +1 -1
- package/dist/types/src/shapes/Surface.d.ts.map +1 -1
- package/dist/types/src/shapes/Switch.d.ts +1 -1
- package/dist/types/src/shapes/Switch.d.ts.map +1 -1
- package/dist/types/src/shapes/Table.d.ts +1 -1
- package/dist/types/src/shapes/Table.d.ts.map +1 -1
- package/dist/types/src/shapes/Template.d.ts +1 -1
- package/dist/types/src/shapes/Template.d.ts.map +1 -1
- package/dist/types/src/shapes/Text.d.ts +1 -1
- package/dist/types/src/shapes/Text.d.ts.map +1 -1
- package/dist/types/src/shapes/TextToImage.d.ts +1 -1
- package/dist/types/src/shapes/TextToImage.d.ts.map +1 -1
- package/dist/types/src/shapes/Thread.d.ts +1 -1
- package/dist/types/src/shapes/Thread.d.ts.map +1 -1
- package/dist/types/src/shapes/Trigger.d.ts +7 -34
- package/dist/types/src/shapes/Trigger.d.ts.map +1 -1
- package/dist/types/src/shapes/common/Box.d.ts +4 -4
- package/dist/types/src/shapes/common/Box.d.ts.map +1 -1
- package/dist/types/src/shapes/common/FunctionBody.d.ts +3 -3
- package/dist/types/src/shapes/common/FunctionBody.d.ts.map +1 -1
- package/dist/types/src/shapes/defs.d.ts +2 -1
- package/dist/types/src/shapes/defs.d.ts.map +1 -1
- package/dist/types/src/shapes/index.d.ts +2 -2
- package/dist/types/src/shapes/index.d.ts.map +1 -1
- package/dist/types/src/testing/circuits.d.ts +18 -24
- package/dist/types/src/testing/circuits.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +62 -53
- package/src/README.md +0 -3
- package/src/compute-layout.ts +1 -1
- package/src/compute.stories.tsx +102 -140
- package/src/graph/controller.ts +114 -80
- package/src/graph/node-defs.ts +34 -34
- package/src/hooks/useComputeGraphController.ts +2 -2
- package/src/hooks/useComputeNodeState.ts +9 -7
- package/src/hooks/useGraphMonitor.ts +11 -10
- package/src/json.test.ts +4 -4
- package/src/registry.ts +4 -4
- package/src/schema.test.ts +13 -13
- package/src/shapes/Append.tsx +3 -3
- package/src/shapes/Array.tsx +3 -3
- package/src/shapes/Audio.tsx +4 -4
- package/src/shapes/Beacon.tsx +4 -5
- package/src/shapes/Boolean.tsx +4 -4
- package/src/shapes/Chat.tsx +3 -3
- package/src/shapes/Constant.tsx +3 -3
- package/src/shapes/Database.tsx +2 -2
- package/src/shapes/{Queue.tsx → Feed.tsx} +29 -23
- package/src/shapes/Function.tsx +17 -14
- package/src/shapes/Gpt.tsx +12 -6
- package/src/shapes/GptRealtime.tsx +2 -2
- package/src/shapes/Json.tsx +10 -5
- package/src/shapes/Logic.tsx +3 -3
- package/src/shapes/RNG.tsx +9 -6
- package/src/shapes/Scope.tsx +4 -4
- package/src/shapes/Surface.tsx +15 -6
- package/src/shapes/Switch.tsx +3 -3
- package/src/shapes/Table.tsx +6 -6
- package/src/shapes/Template.tsx +5 -5
- package/src/shapes/Text.tsx +4 -4
- package/src/shapes/TextToImage.tsx +2 -2
- package/src/shapes/Thread.tsx +20 -14
- package/src/shapes/Trigger.tsx +46 -58
- package/src/shapes/common/Box.tsx +7 -10
- package/src/shapes/common/FunctionBody.tsx +5 -4
- package/src/shapes/common/TypeSelect.tsx +1 -1
- package/src/shapes/defs.ts +5 -4
- package/src/shapes/index.ts +2 -2
- package/src/testing/circuits.ts +10 -19
- package/dist/types/src/shapes/Queue.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/graph/node-defs.ts":{"bytes":10141,"imports":[{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/compute-context.ts":{"bytes":1608,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useComputeGraphController.ts":{"bytes":5830,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useComputeNodeState.ts":{"bytes":7474,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/hooks/compute-context.ts","kind":"import-statement","original":"./compute-context"}],"format":"esm"},"src/hooks/useGraphMonitor.ts":{"bytes":14569,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/graph/index.ts","kind":"import-statement","original":"../graph"}],"format":"esm"},"src/hooks/index.ts":{"bytes":842,"imports":[{"path":"src/hooks/compute-context.ts","kind":"import-statement","original":"./compute-context"},{"path":"src/hooks/useComputeGraphController.ts","kind":"import-statement","original":"./useComputeGraphController"},{"path":"src/hooks/useComputeNodeState.ts","kind":"import-statement","original":"./useComputeNodeState"},{"path":"src/hooks/useGraphMonitor.ts","kind":"import-statement","original":"./useGraphMonitor"}],"format":"esm"},"src/graph/controller.ts":{"bytes":38406,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/graph/node-defs.ts","kind":"import-statement","original":"./node-defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/graph/index.ts":{"bytes":563,"imports":[{"path":"src/graph/controller.ts","kind":"import-statement","original":"./controller"},{"path":"src/graph/node-defs.ts","kind":"import-statement","original":"./node-defs"}],"format":"esm"},"src/shapes/common/Box.tsx":{"bytes":8866,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/defs.ts":{"bytes":4965,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/common/FunctionBody.tsx":{"bytes":14056,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"../defs"}],"format":"esm"},"src/shapes/common/TypeSelect.tsx":{"bytes":3801,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/common/index.ts":{"bytes":657,"imports":[{"path":"src/shapes/common/Box.tsx","kind":"import-statement","original":"./Box"},{"path":"src/shapes/common/FunctionBody.tsx","kind":"import-statement","original":"./FunctionBody"},{"path":"src/shapes/common/TypeSelect.tsx","kind":"import-statement","original":"./TypeSelect"}],"format":"esm"},"src/shapes/Array.tsx":{"bytes":5153,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Append.tsx":{"bytes":4403,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Audio.tsx":{"bytes":6439,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Beacon.tsx":{"bytes":6245,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Boolean.tsx":{"bytes":18506,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Chat.tsx":{"bytes":7270,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Constant.tsx":{"bytes":13103,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Database.tsx":{"bytes":4416,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Function.tsx":{"bytes":11332,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","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","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Gpt.tsx":{"bytes":9836,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Json.tsx":{"bytes":10138,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Logic.tsx":{"bytes":7962,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Queue.tsx":{"bytes":9344,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/RNG.tsx":{"bytes":9370,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Scope.tsx":{"bytes":6510,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-sfx","kind":"import-statement","external":true},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Surface.tsx":{"bytes":6676,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"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/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Switch.tsx":{"bytes":6524,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Table.tsx":{"bytes":5040,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Template.tsx":{"bytes":9938,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Text.tsx":{"bytes":6219,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/shapes/Thread.tsx":{"bytes":9477,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/TextToImage.tsx":{"bytes":4546,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Trigger.tsx":{"bytes":18696,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/keys","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":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/GptRealtime.tsx":{"bytes":20881,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/index.ts":{"bytes":2558,"imports":[{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/shapes/Array.tsx","kind":"import-statement","original":"./Array"},{"path":"src/shapes/Append.tsx","kind":"import-statement","original":"./Append"},{"path":"src/shapes/Audio.tsx","kind":"import-statement","original":"./Audio"},{"path":"src/shapes/Beacon.tsx","kind":"import-statement","original":"./Beacon"},{"path":"src/shapes/Boolean.tsx","kind":"import-statement","original":"./Boolean"},{"path":"src/shapes/Chat.tsx","kind":"import-statement","original":"./Chat"},{"path":"src/shapes/Constant.tsx","kind":"import-statement","original":"./Constant"},{"path":"src/shapes/Database.tsx","kind":"import-statement","original":"./Database"},{"path":"src/shapes/Function.tsx","kind":"import-statement","original":"./Function"},{"path":"src/shapes/Gpt.tsx","kind":"import-statement","original":"./Gpt"},{"path":"src/shapes/Json.tsx","kind":"import-statement","original":"./Json"},{"path":"src/shapes/Logic.tsx","kind":"import-statement","original":"./Logic"},{"path":"src/shapes/Queue.tsx","kind":"import-statement","original":"./Queue"},{"path":"src/shapes/RNG.tsx","kind":"import-statement","original":"./RNG"},{"path":"src/shapes/Scope.tsx","kind":"import-statement","original":"./Scope"},{"path":"src/shapes/Surface.tsx","kind":"import-statement","original":"./Surface"},{"path":"src/shapes/Switch.tsx","kind":"import-statement","original":"./Switch"},{"path":"src/shapes/Table.tsx","kind":"import-statement","original":"./Table"},{"path":"src/shapes/Template.tsx","kind":"import-statement","original":"./Template"},{"path":"src/shapes/Text.tsx","kind":"import-statement","original":"./Text"},{"path":"src/shapes/Thread.tsx","kind":"import-statement","original":"./Thread"},{"path":"src/shapes/TextToImage.tsx","kind":"import-statement","original":"./TextToImage"},{"path":"src/shapes/Trigger.tsx","kind":"import-statement","original":"./Trigger"},{"path":"src/shapes/GptRealtime.tsx","kind":"import-statement","original":"./GptRealtime"}],"format":"esm"},"src/registry.ts":{"bytes":5780,"imports":[{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/index.ts","kind":"import-statement","original":"./shapes"}],"format":"esm"},"src/compute-layout.ts":{"bytes":4795,"imports":[{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/index.ts","kind":"import-statement","original":"./shapes"}],"format":"esm"},"src/index.ts":{"bytes":812,"imports":[{"path":"src/graph/index.ts","kind":"import-statement","original":"./graph"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"src/registry.ts","kind":"import-statement","original":"./registry"},{"path":"src/shapes/index.ts","kind":"import-statement","original":"./shapes"},{"path":"src/compute-layout.ts","kind":"import-statement","original":"./compute-layout"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":170803},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","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","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-sfx","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"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/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/keys","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":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true}],"exports":["AndShape","AppendComponent","AppendShape","AudioComponent","AudioShape","BeaconComponent","BeaconShape","Box","ChatShape","ComputeContext","ComputeGraphController","ComputeShape","ComputeShapeLayout","ConstantComponent","ConstantShape","DatabaseComponent","DatabaseShape","FunctionBody","FunctionShape","GptComponent","GptRealtimeComponent","GptRealtimeShape","GptShape","IfComponent","IfElseComponent","IfElseShape","IfShape","InvalidStateError","JsonComponent","JsonShape","JsonTransformComponent","JsonTransformShape","NotShape","OrShape","QueueComponent","QueueItem","QueueShape","RandomComponent","RandomShape","ReducerComponent","ReducerShape","ScopeComponent","ScopeShape","SurfaceComponent","SurfaceShape","SwitchComponent","SwitchShape","TableComponent","TableShape","TemplateShape","TextComponent","TextInputComponent","TextShape","TextToImageComponent","TextToImageShape","ThreadComponent","ThreadItem","ThreadShape","TriggerComponent","TriggerShape","TypeSelect","andShape","appendShape","audioShape","beaconShape","chatShape","computeShapes","constantShape","createAnchorId","createAnd","createAppend","createAudio","createBeacon","createChat","createComputeGraph","createComputeGraphController","createComputeNode","createConstant","createDatabase","createFunction","createFunctionAnchors","createGpt","createGptRealtime","createIf","createIfElse","createJson","createJsonTransform","createNot","createOr","createQueue","createRandom","createReducer","createScope","createShape","createSurface","createSwitch","createTable","createTemplate","createText","createTextToImage","createThread","createTrigger","databaseShape","footerHeight","functionShape","getHeight","getProperties","gptRealtimeShape","gptShape","headerHeight","ifElseShape","ifShape","isValidComputeNode","jsonShape","jsonTransformShape","mapEdge","notShape","orShape","parseAnchorId","queueShape","randomShape","reducerShape","resolveComputeNode","scopeShape","surfaceShape","switchShape","tableShape","templateShape","textShape","textToImageShape","threadShape","triggerShape","useComputeContext","useComputeGraphController","useComputeNodeState","useGraphMonitor"],"entryPoint":"src/index.ts","inputs":{"src/graph/controller.ts":{"bytesInOutput":8651},"src/graph/node-defs.ts":{"bytesInOutput":2547},"src/hooks/compute-context.ts":{"bytesInOutput":259},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useComputeGraphController.ts":{"bytesInOutput":1177},"src/hooks/useComputeNodeState.ts":{"bytesInOutput":1818},"src/hooks/useGraphMonitor.ts":{"bytesInOutput":3512},"src/graph/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0},"src/registry.ts":{"bytesInOutput":910},"src/shapes/common/Box.tsx":{"bytesInOutput":2677},"src/shapes/common/index.ts":{"bytesInOutput":0},"src/shapes/common/FunctionBody.tsx":{"bytesInOutput":3436},"src/shapes/defs.ts":{"bytesInOutput":982},"src/shapes/common/TypeSelect.tsx":{"bytesInOutput":1078},"src/shapes/index.ts":{"bytesInOutput":0},"src/shapes/Array.tsx":{"bytesInOutput":1041},"src/shapes/Append.tsx":{"bytesInOutput":899},"src/shapes/Audio.tsx":{"bytesInOutput":1536},"src/shapes/Beacon.tsx":{"bytesInOutput":1526},"src/shapes/Boolean.tsx":{"bytesInOutput":4115},"src/shapes/Chat.tsx":{"bytesInOutput":1639},"src/shapes/Constant.tsx":{"bytesInOutput":3263},"src/shapes/Database.tsx":{"bytesInOutput":950},"src/shapes/Function.tsx":{"bytesInOutput":2629},"src/shapes/Gpt.tsx":{"bytesInOutput":2206},"src/shapes/Json.tsx":{"bytesInOutput":2356},"src/shapes/Logic.tsx":{"bytesInOutput":1823},"src/shapes/Queue.tsx":{"bytesInOutput":2375},"src/shapes/RNG.tsx":{"bytesInOutput":2364},"src/shapes/Scope.tsx":{"bytesInOutput":1571},"src/shapes/Surface.tsx":{"bytesInOutput":1548},"src/shapes/Switch.tsx":{"bytesInOutput":1599},"src/shapes/Table.tsx":{"bytesInOutput":1056},"src/shapes/Template.tsx":{"bytesInOutput":2649},"src/shapes/Text.tsx":{"bytesInOutput":1448},"src/shapes/Thread.tsx":{"bytesInOutput":2463},"src/shapes/TextToImage.tsx":{"bytesInOutput":983},"src/shapes/Trigger.tsx":{"bytesInOutput":4803},"src/shapes/GptRealtime.tsx":{"bytesInOutput":4465},"src/compute-layout.ts":{"bytesInOutput":966}},"bytes":82831}}}
|
|
1
|
+
{"inputs":{"src/hooks/compute-context.ts":{"bytes":1608,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useComputeGraphController.ts":{"bytes":5838,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useComputeNodeState.ts":{"bytes":7586,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/hooks/compute-context.ts","kind":"import-statement","original":"./compute-context"}],"format":"esm"},"src/hooks/useGraphMonitor.ts":{"bytes":14615,"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/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/graph/index.ts","kind":"import-statement","original":"../graph"}],"format":"esm"},"src/hooks/index.ts":{"bytes":842,"imports":[{"path":"src/hooks/compute-context.ts","kind":"import-statement","original":"./compute-context"},{"path":"src/hooks/useComputeGraphController.ts","kind":"import-statement","original":"./useComputeGraphController"},{"path":"src/hooks/useComputeNodeState.ts","kind":"import-statement","original":"./useComputeNodeState"},{"path":"src/hooks/useGraphMonitor.ts","kind":"import-statement","original":"./useGraphMonitor"}],"format":"esm"},"src/graph/node-defs.ts":{"bytes":9510,"imports":[{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/graph/controller.ts":{"bytes":40484,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Exit","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Scope","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/graph/node-defs.ts","kind":"import-statement","original":"./node-defs"}],"format":"esm"},"src/graph/index.ts":{"bytes":563,"imports":[{"path":"src/graph/controller.ts","kind":"import-statement","original":"./controller"},{"path":"src/graph/node-defs.ts","kind":"import-statement","original":"./node-defs"}],"format":"esm"},"src/shapes/common/Box.tsx":{"bytes":8298,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/defs.ts":{"bytes":5073,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/common/FunctionBody.tsx":{"bytes":13705,"imports":[{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"../defs"}],"format":"esm"},"src/shapes/common/TypeSelect.tsx":{"bytes":3587,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/common/index.ts":{"bytes":657,"imports":[{"path":"src/shapes/common/Box.tsx","kind":"import-statement","original":"./Box"},{"path":"src/shapes/common/FunctionBody.tsx","kind":"import-statement","original":"./FunctionBody"},{"path":"src/shapes/common/TypeSelect.tsx","kind":"import-statement","original":"./TypeSelect"}],"format":"esm"},"src/shapes/Array.tsx":{"bytes":4975,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Append.tsx":{"bytes":4229,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Audio.tsx":{"bytes":6212,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Beacon.tsx":{"bytes":5932,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Boolean.tsx":{"bytes":18522,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Chat.tsx":{"bytes":7040,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Constant.tsx":{"bytes":12745,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Database.tsx":{"bytes":4246,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Feed.tsx":{"bytes":9330,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Function.tsx":{"bytes":11301,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/operation","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-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Gpt.tsx":{"bytes":9960,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/GptRealtime.tsx":{"bytes":20147,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Json.tsx":{"bytes":10307,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Logic.tsx":{"bytes":7671,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/RNG.tsx":{"bytes":8941,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Scope.tsx":{"bytes":6292,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-sfx","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Surface.tsx":{"bytes":7141,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Switch.tsx":{"bytes":6310,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Table.tsx":{"bytes":4941,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Template.tsx":{"bytes":9626,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Text.tsx":{"bytes":6005,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Thread.tsx":{"bytes":9655,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/TextToImage.tsx":{"bytes":4372,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Trigger.tsx":{"bytes":17277,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"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/keys","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":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/index.ts":{"bytes":2557,"imports":[{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/shapes/Array.tsx","kind":"import-statement","original":"./Array"},{"path":"src/shapes/Append.tsx","kind":"import-statement","original":"./Append"},{"path":"src/shapes/Audio.tsx","kind":"import-statement","original":"./Audio"},{"path":"src/shapes/Beacon.tsx","kind":"import-statement","original":"./Beacon"},{"path":"src/shapes/Boolean.tsx","kind":"import-statement","original":"./Boolean"},{"path":"src/shapes/Chat.tsx","kind":"import-statement","original":"./Chat"},{"path":"src/shapes/Constant.tsx","kind":"import-statement","original":"./Constant"},{"path":"src/shapes/Database.tsx","kind":"import-statement","original":"./Database"},{"path":"src/shapes/Feed.tsx","kind":"import-statement","original":"./Feed"},{"path":"src/shapes/Function.tsx","kind":"import-statement","original":"./Function"},{"path":"src/shapes/Gpt.tsx","kind":"import-statement","original":"./Gpt"},{"path":"src/shapes/GptRealtime.tsx","kind":"import-statement","original":"./GptRealtime"},{"path":"src/shapes/Json.tsx","kind":"import-statement","original":"./Json"},{"path":"src/shapes/Logic.tsx","kind":"import-statement","original":"./Logic"},{"path":"src/shapes/RNG.tsx","kind":"import-statement","original":"./RNG"},{"path":"src/shapes/Scope.tsx","kind":"import-statement","original":"./Scope"},{"path":"src/shapes/Surface.tsx","kind":"import-statement","original":"./Surface"},{"path":"src/shapes/Switch.tsx","kind":"import-statement","original":"./Switch"},{"path":"src/shapes/Table.tsx","kind":"import-statement","original":"./Table"},{"path":"src/shapes/Template.tsx","kind":"import-statement","original":"./Template"},{"path":"src/shapes/Text.tsx","kind":"import-statement","original":"./Text"},{"path":"src/shapes/Thread.tsx","kind":"import-statement","original":"./Thread"},{"path":"src/shapes/TextToImage.tsx","kind":"import-statement","original":"./TextToImage"},{"path":"src/shapes/Trigger.tsx","kind":"import-statement","original":"./Trigger"}],"format":"esm"},"src/registry.ts":{"bytes":5774,"imports":[{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/index.ts","kind":"import-statement","original":"./shapes"}],"format":"esm"},"src/compute-layout.ts":{"bytes":4801,"imports":[{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/index.ts","kind":"import-statement","original":"./shapes"}],"format":"esm"},"src/index.ts":{"bytes":812,"imports":[{"path":"src/graph/index.ts","kind":"import-statement","original":"./graph"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"src/registry.ts","kind":"import-statement","original":"./registry"},{"path":"src/shapes/index.ts","kind":"import-statement","original":"./shapes"},{"path":"src/compute-layout.ts","kind":"import-statement","original":"./compute-layout"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":171688},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Exit","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Scope","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"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/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/operation","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-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-sfx","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"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/keys","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/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true}],"exports":["AndShape","AppendComponent","AppendShape","AudioComponent","AudioShape","BeaconComponent","BeaconShape","Box","ChatShape","ComputeContext","ComputeGraphController","ComputeShape","ComputeShapeLayout","ConstantComponent","ConstantShape","DatabaseComponent","DatabaseShape","FeedComponent","FeedItem","FeedShape","FunctionBody","FunctionShape","GptComponent","GptRealtimeComponent","GptRealtimeShape","GptShape","IfComponent","IfElseComponent","IfElseShape","IfShape","InvalidStateError","JsonComponent","JsonShape","JsonTransformComponent","JsonTransformShape","NotShape","OrShape","RandomComponent","RandomShape","ReducerComponent","ReducerShape","ScopeComponent","ScopeShape","SurfaceComponent","SurfaceShape","SwitchComponent","SwitchShape","TableComponent","TableShape","TemplateShape","TextComponent","TextInputComponent","TextShape","TextToImageComponent","TextToImageShape","ThreadComponent","ThreadItem","ThreadShape","TriggerComponent","TriggerShape","TypeSelect","andShape","appendShape","audioShape","beaconShape","chatShape","computeShapes","constantShape","createAnchorId","createAnd","createAppend","createAudio","createBeacon","createChat","createComputeGraph","createComputeGraphController","createComputeNode","createConstant","createDatabase","createFeed","createFunction","createFunctionAnchors","createGpt","createGptRealtime","createIf","createIfElse","createJson","createJsonTransform","createNot","createOr","createRandom","createReducer","createScope","createShape","createSurface","createSwitch","createTable","createTemplate","createText","createTextToImage","createThread","createTrigger","databaseShape","feedShape","footerHeight","functionShape","getHeight","getProperties","gptRealtimeShape","gptShape","headerHeight","ifElseShape","ifShape","isValidComputeNode","jsonShape","jsonTransformShape","mapEdge","notShape","orShape","parseAnchorId","randomShape","reducerShape","resolveComputeNode","scopeShape","surfaceShape","switchShape","tableShape","templateShape","textShape","textToImageShape","threadShape","triggerShape","useComputeContext","useComputeGraphController","useComputeNodeState","useGraphMonitor"],"entryPoint":"src/index.ts","inputs":{"src/graph/controller.ts":{"bytesInOutput":9156},"src/hooks/compute-context.ts":{"bytesInOutput":248},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useComputeGraphController.ts":{"bytesInOutput":1177},"src/hooks/useComputeNodeState.ts":{"bytesInOutput":1807},"src/hooks/useGraphMonitor.ts":{"bytesInOutput":3493},"src/graph/node-defs.ts":{"bytesInOutput":2478},"src/graph/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0},"src/registry.ts":{"bytesInOutput":909},"src/shapes/common/Box.tsx":{"bytesInOutput":2386},"src/shapes/common/index.ts":{"bytesInOutput":0},"src/shapes/common/FunctionBody.tsx":{"bytesInOutput":3159},"src/shapes/defs.ts":{"bytesInOutput":995},"src/shapes/common/TypeSelect.tsx":{"bytesInOutput":901},"src/shapes/index.ts":{"bytesInOutput":0},"src/shapes/Array.tsx":{"bytesInOutput":872},"src/shapes/Append.tsx":{"bytesInOutput":732},"src/shapes/Audio.tsx":{"bytesInOutput":1344},"src/shapes/Beacon.tsx":{"bytesInOutput":1312},"src/shapes/Boolean.tsx":{"bytesInOutput":4113},"src/shapes/Chat.tsx":{"bytesInOutput":1446},"src/shapes/Constant.tsx":{"bytesInOutput":3012},"src/shapes/Database.tsx":{"bytesInOutput":783},"src/shapes/Feed.tsx":{"bytesInOutput":2170},"src/shapes/Function.tsx":{"bytesInOutput":2461},"src/shapes/Gpt.tsx":{"bytesInOutput":2098},"src/shapes/GptRealtime.tsx":{"bytesInOutput":4116},"src/shapes/Json.tsx":{"bytesInOutput":2261},"src/shapes/Logic.tsx":{"bytesInOutput":1566},"src/shapes/RNG.tsx":{"bytesInOutput":2086},"src/shapes/Scope.tsx":{"bytesInOutput":1382},"src/shapes/Surface.tsx":{"bytesInOutput":1519},"src/shapes/Switch.tsx":{"bytesInOutput":1410},"src/shapes/Table.tsx":{"bytesInOutput":908},"src/shapes/Template.tsx":{"bytesInOutput":2395},"src/shapes/Text.tsx":{"bytesInOutput":1259},"src/shapes/Thread.tsx":{"bytesInOutput":2326},"src/shapes/TextToImage.tsx":{"bytesInOutput":816},"src/shapes/Trigger.tsx":{"bytesInOutput":4237},"src/compute-layout.ts":{"bytesInOutput":983}},"bytes":77821}}}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import '@
|
|
2
|
-
import
|
|
3
|
-
import { type PropsWithChildren } from 'react';
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import React, { type PropsWithChildren } from 'react';
|
|
4
3
|
import { type ComputeGraphModel } from '@dxos/conductor';
|
|
5
4
|
import { type EditorRootProps } from '@dxos/react-ui-canvas-editor';
|
|
6
5
|
import { type ComputeGraphController } from './graph';
|
|
@@ -11,9 +10,38 @@ type RenderProps = EditorRootProps<ComputeShape> & PropsWithChildren<{
|
|
|
11
10
|
computeGraph?: ComputeGraphModel;
|
|
12
11
|
controller?: ComputeGraphController | null;
|
|
13
12
|
}>;
|
|
14
|
-
declare const meta:
|
|
13
|
+
declare const meta: {
|
|
14
|
+
title: string;
|
|
15
|
+
component: any;
|
|
16
|
+
render: ({ id, children, graph, controller, sidebar: sidebarProp, registry, showGrid, snapToGrid, ...props }: RenderProps) => React.JSX.Element;
|
|
17
|
+
decorators: import("@storybook/react").Decorator[];
|
|
18
|
+
parameters: {
|
|
19
|
+
layout: string;
|
|
20
|
+
};
|
|
21
|
+
argTypes: {
|
|
22
|
+
controller: {
|
|
23
|
+
table: {
|
|
24
|
+
disable: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
graph: {
|
|
28
|
+
table: {
|
|
29
|
+
disable: boolean;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
registry: {
|
|
33
|
+
table: {
|
|
34
|
+
disable: boolean;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
sidebar: {
|
|
38
|
+
control: "select";
|
|
39
|
+
options: (NonNullable<"selected" | "canvas" | "controller" | "compute" | undefined> | null)[];
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
15
43
|
export default meta;
|
|
16
|
-
type Story = StoryObj<
|
|
44
|
+
type Story = StoryObj<typeof meta>;
|
|
17
45
|
export declare const Default: Story;
|
|
18
46
|
export declare const Beacon: Story;
|
|
19
47
|
export declare const Transform: Story;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute.stories.d.ts","sourceRoot":"","sources":["../../../src/compute.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"compute.stories.d.ts","sourceRoot":"","sources":["../../../src/compute.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjE,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAwC,MAAM,OAAO,CAAC;AAK5F,OAAO,EAAE,KAAK,iBAAiB,EAA0C,MAAM,iBAAiB,CAAC;AAQjG,OAAO,EAAiC,KAAK,eAAe,EAAiB,MAAM,8BAA8B,CAAC;AAQlH,OAAO,EAAE,KAAK,sBAAsB,EAAgC,MAAM,SAAS,CAAC;AAGpF,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAoB7C,KAAK,WAAW,GAAG,eAAe,CAAC,YAAY,CAAC,GAC9C,iBAAiB,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC;IAC3D,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,UAAU,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;CAC5C,CAAC,CAAC;AAwIL,QAAA,MAAM,IAAI;;eAEkB,GAAG;kHA9H5B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;CAmJuB,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAwBnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,KAKjB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type * as ManagedRuntime from 'effect/ManagedRuntime';
|
|
2
|
+
import type { AiService } from '@dxos/ai';
|
|
2
3
|
import { Event } from '@dxos/async';
|
|
3
|
-
import { type ComputeEdge, type
|
|
4
|
+
import { type ComputeEdge, type ComputeGraphModel, type ComputeNode, type ComputeNodeMeta, type GptInput, type GptOutput, type GraphDiagnostic } from '@dxos/conductor';
|
|
4
5
|
import { Resource } from '@dxos/context';
|
|
5
|
-
import type {
|
|
6
|
+
import type { Database, Feed } from '@dxos/echo';
|
|
7
|
+
import { type CredentialsService, type QueueService } from '@dxos/functions';
|
|
8
|
+
import type { Operation, OperationRegistry } from '@dxos/operation';
|
|
6
9
|
import { type CanvasGraphModel } from '@dxos/react-ui-canvas-editor';
|
|
10
|
+
import { type ContentBlock } from '@dxos/types';
|
|
7
11
|
import { type ComputeShape } from '../shapes';
|
|
8
12
|
export declare const InvalidStateError: ErrorConstructor;
|
|
9
13
|
export type FunctionCallback<INPUT, OUTPUT> = (input: INPUT) => Promise<OUTPUT>;
|
|
@@ -13,7 +17,7 @@ export type FunctionCallback<INPUT, OUTPUT> = (input: INPUT) => Promise<OUTPUT>;
|
|
|
13
17
|
export type AsyncUpdate<T> = (value: T) => void;
|
|
14
18
|
export interface GptExecutor {
|
|
15
19
|
invoke: FunctionCallback<GptInput, GptOutput>;
|
|
16
|
-
imageCache: Map<string,
|
|
20
|
+
imageCache: Map<string, ContentBlock.Image>;
|
|
17
21
|
}
|
|
18
22
|
export type RuntimeValue = {
|
|
19
23
|
type: 'not-executed';
|
|
@@ -31,7 +35,8 @@ type ComputeOutputEvent = {
|
|
|
31
35
|
property: string;
|
|
32
36
|
value: RuntimeValue;
|
|
33
37
|
};
|
|
34
|
-
export
|
|
38
|
+
export type ComputeServices = AiService.AiService | Database.Service | Feed.FeedService | QueueService | CredentialsService | Operation.Service | OperationRegistry.Service;
|
|
39
|
+
export declare const createComputeGraphController: (graph: CanvasGraphModel<ComputeShape>, computeRuntime: ManagedRuntime.ManagedRuntime<ComputeServices, never>) => {
|
|
35
40
|
controller: ComputeGraphController;
|
|
36
41
|
graph: CanvasGraphModel<{
|
|
37
42
|
id: string;
|
|
@@ -56,7 +61,7 @@ export declare const createComputeGraphController: (graph: CanvasGraphModel<Comp
|
|
|
56
61
|
* Controller that manages compute graph state, execution, and service coordination.
|
|
57
62
|
*/
|
|
58
63
|
export declare class ComputeGraphController extends Resource {
|
|
59
|
-
private readonly
|
|
64
|
+
private readonly _computeRuntime;
|
|
60
65
|
/** Persistent compute graph. */
|
|
61
66
|
private readonly _graph;
|
|
62
67
|
private readonly _executor;
|
|
@@ -73,8 +78,30 @@ export declare class ComputeGraphController extends Resource {
|
|
|
73
78
|
readonly update: Event<void>;
|
|
74
79
|
/** Computed result. */
|
|
75
80
|
readonly output: Event<ComputeOutputEvent>;
|
|
76
|
-
readonly events: Event<
|
|
77
|
-
|
|
81
|
+
readonly events: Event<{
|
|
82
|
+
readonly type: "begin-compute";
|
|
83
|
+
readonly inputs: readonly string[];
|
|
84
|
+
readonly nodeId: string;
|
|
85
|
+
} | {
|
|
86
|
+
readonly type: "end-compute";
|
|
87
|
+
readonly outputs: readonly string[];
|
|
88
|
+
readonly nodeId: string;
|
|
89
|
+
} | {
|
|
90
|
+
readonly type: "compute-input";
|
|
91
|
+
readonly value: any;
|
|
92
|
+
readonly property: string;
|
|
93
|
+
readonly nodeId: string;
|
|
94
|
+
} | {
|
|
95
|
+
readonly type: "compute-output";
|
|
96
|
+
readonly value: any;
|
|
97
|
+
readonly property: string;
|
|
98
|
+
readonly nodeId: string;
|
|
99
|
+
} | {
|
|
100
|
+
readonly type: "custom";
|
|
101
|
+
readonly nodeId: string;
|
|
102
|
+
readonly event: any;
|
|
103
|
+
}>;
|
|
104
|
+
constructor(_computeRuntime: ManagedRuntime.ManagedRuntime<ComputeServices, never>,
|
|
78
105
|
/** Persistent compute graph. */
|
|
79
106
|
_graph: ComputeGraphModel);
|
|
80
107
|
toJSON(): {
|
|
@@ -93,31 +120,18 @@ export declare class ComputeGraphController extends Resource {
|
|
|
93
120
|
/**
|
|
94
121
|
* Inputs and outputs for all nodes.
|
|
95
122
|
*/
|
|
96
|
-
get state(): {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
data?: any;
|
|
102
|
-
function?: import("@dxos/echo-schema").Ref<import("@dxos/functions").FunctionType> | undefined;
|
|
103
|
-
value?: any;
|
|
104
|
-
inputSchema?: import("@dxos/echo-schema").JsonSchemaType | undefined;
|
|
105
|
-
outputSchema?: import("@dxos/echo-schema").JsonSchemaType | undefined;
|
|
106
|
-
subgraph?: import("@dxos/echo-schema").Ref<import("@dxos/conductor").ComputeGraph> | undefined;
|
|
107
|
-
valueType?: "string" | "number" | "boolean" | "object" | undefined;
|
|
108
|
-
enabled?: boolean | undefined;
|
|
109
|
-
};
|
|
110
|
-
input: Record<string, RuntimeValue>;
|
|
111
|
-
output: Record<string, RuntimeValue>;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
123
|
+
get state(): Record<string, {
|
|
124
|
+
node: ComputeNode;
|
|
125
|
+
input: Record<string, RuntimeValue>;
|
|
126
|
+
output: Record<string, RuntimeValue>;
|
|
127
|
+
}>;
|
|
114
128
|
addNode(node: ComputeNode): void;
|
|
115
129
|
addEdge(edge: ComputeEdge): void;
|
|
116
130
|
getComputeNode(nodeId: string): ComputeNode;
|
|
117
131
|
getInputs(nodeId: string): Record<string, RuntimeValue>;
|
|
118
132
|
getOutputs(nodeId: string): Record<string, RuntimeValue>;
|
|
119
133
|
setOutput(nodeId: string, property: string, value: any): void;
|
|
120
|
-
getMeta(node: ComputeNode): Promise<
|
|
134
|
+
getMeta(node: ComputeNode): Promise<ComputeNodeMeta>;
|
|
121
135
|
checkGraph(): Promise<void>;
|
|
122
136
|
evalNode(nodeId: string): Promise<void>;
|
|
123
137
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../src/graph/controller.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../src/graph/controller.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,cAAc,MAAM,uBAAuB,CAAC;AAG7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAgB,MAAM,aAAa,CAAC;AAClD,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,eAAe,EAIrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEjD,OAAO,EAGL,KAAK,kBAAkB,EACvB,KAAK,YAAY,EAElB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAI9C,eAAO,MAAM,iBAAiB,kBAAQ,CAAC;AAEvC,MAAM,MAAM,gBAAgB,CAAC,KAAK,EAAE,MAAM,IAAI,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAEhF;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;AAEhD,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,gBAAgB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;IAG9C,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;CAC7C;AAED,MAAM,MAAM,YAAY,GACpB;IACE,IAAI,EAAE,cAAc,CAAC;CACtB,GACD;IACE,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,GAAG,CAAC;CACZ,GACD;IACE,IAAI,EAAE,SAAS,CAAC;CACjB,GACD;IACE,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEN,KAAK,kBAAkB,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,YAAY,CAAC;CACrB,CAAC;AAGF,MAAM,MAAM,eAAe,GACvB,SAAS,CAAC,SAAS,GACnB,QAAQ,CAAC,OAAO,GAChB,IAAI,CAAC,WAAW,GAChB,YAAY,GACZ,kBAAkB,GAClB,SAAS,CAAC,OAAO,GACjB,iBAAiB,CAAC,OAAO,CAAC;AAO9B,eAAO,MAAM,4BAA4B,GACvC,OAAO,gBAAgB,CAAC,YAAY,CAAC,EACrC,gBAAgB,cAAc,CAAC,cAAc,CAAC,eAAe,EAAE,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;CAKtE,CAAC;AAEF;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,QAAQ;IA4BhD,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,gCAAgC;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM;IA7BzB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAEvB;IAEH,OAAO,CAAC,YAAY,CAAyB;IAE7C;;OAEG;IACH,OAAO,CAAC,cAAc,CAA+C;IAErE;;OAEG;IACH,OAAO,CAAC,mBAAmB,CAAoD;IAE/E,OAAO,CAAC,oBAAoB,CAAoD;IAGhF,SAAgB,MAAM,cAAe;IAErC,uBAAuB;IACvB,SAAgB,MAAM,4BAAmC;IAEzD,SAAgB,MAAM;;;;;;;;;;;;;;;;;;;;;;OAAoC;gBAGvC,eAAe,EAAE,cAAc,CAAC,cAAc,CAAC,eAAe,EAAE,KAAK,CAAC;IACvF,gCAAgC;IACf,MAAM,EAAE,iBAAiB;IAK5C,MAAM;;;;;;;;IAWN,IAAI,KAAK,sBAER;IAED,IAAI,WAAW,sBAEd;IAED,IAAI,SAAS,4CAEZ;IAED,IAAI,WAAW,iDAEd;IAED,IAAI,YAAY,iDAEf;IAED;;OAEG;IACH,IAAI,KAAK,IAAI,MAAM,CACjB,MAAM,EACN;QACE,IAAI,EAAE,WAAW,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;QACpC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;KACtC,CACF,CAYA;IAED,OAAO,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI;IAIhC,OAAO,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI;IAIhC,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW;IAI3C,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC;IAIvD,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC;IAIxD,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAavD,OAAO,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,eAAe,CAAC;IAMpD,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAM3B,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA4C7C;;;OAGG;IAEG,IAAI,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA+DjD,OAAO,CAAC,aAAa;IASrB,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,iBAAiB;CAO1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-defs.d.ts","sourceRoot":"","sources":["../../../../src/graph/node-defs.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"node-defs.d.ts","sourceRoot":"","sources":["../../../../src/graph/node-defs.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,UAAU,EAMhB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EAAE,KAAK,YAAY,EAA0C,MAAM,WAAW,CAAC;AAEtF,eAAO,MAAM,kBAAkB,GAAU,MAAM,WAAW,KAAG,OAAO,CAAC,UAAU,CAI9E,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,KAAG,OAEjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,OAAO,YAAY,KAAG,WAIvD,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type RefObject } from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type EditorController, type EditorRootProps } from '@dxos/react-ui-canvas-editor';
|
|
3
3
|
import { type ComputeGraphController } from '../graph';
|
|
4
4
|
import { type ComputeShape } from '../shapes';
|
|
5
5
|
export type UseComputeGraphControllerOptions = Pick<EditorRootProps<ComputeShape>, 'graph'> & {
|
|
6
6
|
controller: ComputeGraphController | null;
|
|
7
|
-
editorRef: RefObject<EditorController>;
|
|
7
|
+
editorRef: RefObject<EditorController | null>;
|
|
8
8
|
};
|
|
9
9
|
export declare const useComputeGraphController: ({ controller, graph, editorRef }: UseComputeGraphControllerOptions) => void;
|
|
10
10
|
//# sourceMappingURL=useComputeGraphController.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useComputeGraphController.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useComputeGraphController.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"useComputeGraphController.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useComputeGraphController.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE3F,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAW9C,MAAM,MAAM,gCAAgC,GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC,GAAG;IAC5F,UAAU,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAC1C,SAAS,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,kCAAkC,gCAAgC,SAsC3G,CAAC"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import type { ComputeNode,
|
|
1
|
+
import type { ComputeNode, ComputeNodeMeta } from '@dxos/conductor';
|
|
2
|
+
import type { ComputeEventPayload } from '@dxos/functions';
|
|
2
3
|
import { type RuntimeValue } from '../graph';
|
|
3
4
|
import { type ComputeShape } from '../shapes';
|
|
4
5
|
export type ComputeNodeState = {
|
|
5
6
|
node: ComputeNode;
|
|
6
|
-
meta:
|
|
7
|
+
meta: ComputeNodeMeta;
|
|
7
8
|
runtime: {
|
|
8
9
|
inputs: Record<string, RuntimeValue>;
|
|
9
10
|
outputs: Record<string, RuntimeValue>;
|
|
10
11
|
setOutput: (property: string, value: any) => void;
|
|
11
12
|
evalNode: () => void;
|
|
12
|
-
subscribeToEventLog: (cb: (event:
|
|
13
|
+
subscribeToEventLog: (cb: (event: ComputeEventPayload) => void) => void;
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
16
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useComputeNodeState.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useComputeNodeState.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"useComputeNodeState.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useComputeNodeState.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAG3D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAG9C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE;QACP,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;QACrC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;QACtC,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;QAClD,QAAQ,EAAE,MAAM,IAAI,CAAC;QACrB,mBAAmB,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,KAAK,IAAI,CAAC;KACzE,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,YAAY,KAAG,gBAsDzD,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type ComputeEdge, ComputeGraphModel } from '@dxos/conductor';
|
|
2
|
-
import { type
|
|
2
|
+
import { type CanvasBoard, type CanvasGraphModel, type GraphMonitor } from '@dxos/react-ui-canvas-editor';
|
|
3
3
|
import { type ComputeShape } from '../shapes';
|
|
4
4
|
/**
|
|
5
5
|
* Map canvas edge to compute edge.
|
|
6
6
|
*/
|
|
7
|
-
export declare const mapEdge: (graph: CanvasGraphModel, { source, target, output, input }: Connection) => ComputeEdge;
|
|
7
|
+
export declare const mapEdge: (graph: CanvasGraphModel, { source, target, output, input }: CanvasBoard.Connection) => ComputeEdge;
|
|
8
8
|
/**
|
|
9
9
|
* Listens for changes to the graph and updates the compute graph.
|
|
10
10
|
* @param model Compute graph to update on change.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGraphMonitor.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useGraphMonitor.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,iBAAiB,EAAmD,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"useGraphMonitor.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useGraphMonitor.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,iBAAiB,EAAmD,MAAM,iBAAiB,CAAC;AAGvH,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI1G,OAAO,EAAE,KAAK,YAAY,EAAqB,MAAM,WAAW,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,OAAO,GAClB,OAAO,gBAAgB,EACvB,mCAAoE,WAAW,CAAC,UAAU,KACzF,WAaF,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,eAAe,GAAI,QAAQ,iBAAiB,KAAG,YAAY,CAAC,YAAY,CAgDpF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,QAAQ,gBAAgB,CAAC,YAAY,CAAC,sBAkBxE,CAAC"}
|