@dxos/react-ui-canvas-compute 0.8.4-main.fd6878d → 0.8.4-main.fffef41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/lib/browser/index.mjs +112 -105
  2. package/dist/lib/browser/index.mjs.map +3 -3
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/lib/node-esm/index.mjs +112 -105
  5. package/dist/lib/node-esm/index.mjs.map +3 -3
  6. package/dist/lib/node-esm/meta.json +1 -1
  7. package/dist/types/src/compute.stories.d.ts +12 -5
  8. package/dist/types/src/compute.stories.d.ts.map +1 -1
  9. package/dist/types/src/graph/controller.d.ts +13 -30
  10. package/dist/types/src/graph/controller.d.ts.map +1 -1
  11. package/dist/types/src/hooks/useComputeGraphController.d.ts +1 -1
  12. package/dist/types/src/hooks/useComputeGraphController.d.ts.map +1 -1
  13. package/dist/types/src/hooks/useComputeNodeState.d.ts +2 -2
  14. package/dist/types/src/hooks/useComputeNodeState.d.ts.map +1 -1
  15. package/dist/types/src/json.test.d.ts +1 -1
  16. package/dist/types/src/json.test.d.ts.map +1 -1
  17. package/dist/types/src/shapes/Append.d.ts +1 -1
  18. package/dist/types/src/shapes/Append.d.ts.map +1 -1
  19. package/dist/types/src/shapes/Array.d.ts +1 -1
  20. package/dist/types/src/shapes/Array.d.ts.map +1 -1
  21. package/dist/types/src/shapes/Audio.d.ts +1 -1
  22. package/dist/types/src/shapes/Audio.d.ts.map +1 -1
  23. package/dist/types/src/shapes/Beacon.d.ts +1 -1
  24. package/dist/types/src/shapes/Beacon.d.ts.map +1 -1
  25. package/dist/types/src/shapes/Boolean.d.ts +1 -1
  26. package/dist/types/src/shapes/Boolean.d.ts.map +1 -1
  27. package/dist/types/src/shapes/Chat.d.ts +1 -1
  28. package/dist/types/src/shapes/Chat.d.ts.map +1 -1
  29. package/dist/types/src/shapes/Constant.d.ts +2 -2
  30. package/dist/types/src/shapes/Constant.d.ts.map +1 -1
  31. package/dist/types/src/shapes/Database.d.ts +1 -1
  32. package/dist/types/src/shapes/Database.d.ts.map +1 -1
  33. package/dist/types/src/shapes/Function.d.ts +1 -1
  34. package/dist/types/src/shapes/Function.d.ts.map +1 -1
  35. package/dist/types/src/shapes/Gpt.d.ts +1 -1
  36. package/dist/types/src/shapes/Gpt.d.ts.map +1 -1
  37. package/dist/types/src/shapes/GptRealtime.d.ts +1 -1
  38. package/dist/types/src/shapes/GptRealtime.d.ts.map +1 -1
  39. package/dist/types/src/shapes/Json.d.ts +1 -1
  40. package/dist/types/src/shapes/Json.d.ts.map +1 -1
  41. package/dist/types/src/shapes/Logic.d.ts +1 -1
  42. package/dist/types/src/shapes/Logic.d.ts.map +1 -1
  43. package/dist/types/src/shapes/Queue.d.ts +1 -1
  44. package/dist/types/src/shapes/Queue.d.ts.map +1 -1
  45. package/dist/types/src/shapes/RNG.d.ts +1 -1
  46. package/dist/types/src/shapes/RNG.d.ts.map +1 -1
  47. package/dist/types/src/shapes/Scope.d.ts +1 -1
  48. package/dist/types/src/shapes/Scope.d.ts.map +1 -1
  49. package/dist/types/src/shapes/Surface.d.ts +1 -1
  50. package/dist/types/src/shapes/Surface.d.ts.map +1 -1
  51. package/dist/types/src/shapes/Switch.d.ts +1 -1
  52. package/dist/types/src/shapes/Switch.d.ts.map +1 -1
  53. package/dist/types/src/shapes/Table.d.ts +1 -1
  54. package/dist/types/src/shapes/Table.d.ts.map +1 -1
  55. package/dist/types/src/shapes/Template.d.ts +1 -1
  56. package/dist/types/src/shapes/Template.d.ts.map +1 -1
  57. package/dist/types/src/shapes/Text.d.ts +1 -1
  58. package/dist/types/src/shapes/Text.d.ts.map +1 -1
  59. package/dist/types/src/shapes/TextToImage.d.ts +1 -1
  60. package/dist/types/src/shapes/TextToImage.d.ts.map +1 -1
  61. package/dist/types/src/shapes/Thread.d.ts +1 -1
  62. package/dist/types/src/shapes/Thread.d.ts.map +1 -1
  63. package/dist/types/src/shapes/Trigger.d.ts +4 -33
  64. package/dist/types/src/shapes/Trigger.d.ts.map +1 -1
  65. package/dist/types/src/shapes/common/FunctionBody.d.ts +1 -1
  66. package/dist/types/src/shapes/common/FunctionBody.d.ts.map +1 -1
  67. package/dist/types/src/shapes/defs.d.ts +2 -1
  68. package/dist/types/src/shapes/defs.d.ts.map +1 -1
  69. package/dist/types/src/testing/circuits.d.ts +1 -1
  70. package/dist/types/src/testing/circuits.d.ts.map +1 -1
  71. package/dist/types/tsconfig.tsbuildinfo +1 -1
  72. package/package.json +52 -49
  73. package/src/compute-layout.ts +1 -1
  74. package/src/compute.stories.tsx +18 -17
  75. package/src/graph/controller.ts +17 -6
  76. package/src/graph/node-defs.ts +1 -1
  77. package/src/hooks/useComputeGraphController.ts +1 -1
  78. package/src/hooks/useComputeNodeState.ts +5 -4
  79. package/src/hooks/useGraphMonitor.ts +1 -1
  80. package/src/json.test.ts +1 -1
  81. package/src/schema.test.ts +2 -2
  82. package/src/shapes/Append.tsx +1 -1
  83. package/src/shapes/Array.tsx +1 -1
  84. package/src/shapes/Audio.tsx +2 -2
  85. package/src/shapes/Beacon.tsx +2 -2
  86. package/src/shapes/Boolean.tsx +3 -3
  87. package/src/shapes/Chat.tsx +1 -1
  88. package/src/shapes/Constant.tsx +1 -1
  89. package/src/shapes/Database.tsx +1 -1
  90. package/src/shapes/Function.tsx +5 -5
  91. package/src/shapes/Gpt.tsx +2 -2
  92. package/src/shapes/GptRealtime.tsx +2 -2
  93. package/src/shapes/Json.tsx +1 -1
  94. package/src/shapes/Logic.tsx +1 -1
  95. package/src/shapes/Queue.tsx +3 -3
  96. package/src/shapes/RNG.tsx +6 -2
  97. package/src/shapes/Scope.tsx +2 -2
  98. package/src/shapes/Surface.tsx +7 -3
  99. package/src/shapes/Switch.tsx +2 -2
  100. package/src/shapes/Table.tsx +4 -4
  101. package/src/shapes/Template.tsx +2 -2
  102. package/src/shapes/Text.tsx +1 -1
  103. package/src/shapes/TextToImage.tsx +1 -1
  104. package/src/shapes/Thread.tsx +6 -6
  105. package/src/shapes/Trigger.tsx +40 -52
  106. package/src/shapes/common/Box.tsx +5 -5
  107. package/src/shapes/common/FunctionBody.tsx +4 -3
  108. package/src/shapes/common/TypeSelect.tsx +1 -1
  109. package/src/shapes/defs.ts +3 -2
  110. package/src/testing/circuits.ts +2 -2
@@ -1 +1 @@
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":5830,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useComputeNodeState.ts":{"bytes":7554,"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/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/graph/controller.ts":{"bytes":38494,"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/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":8870,"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":6443,"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/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":6150,"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/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":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":7274,"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/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":13107,"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/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":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":11336,"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/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":9850,"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/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/Json.tsx":{"bytes":10142,"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/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":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/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/RNG.tsx":{"bytes":9207,"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/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":6514,"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/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":6688,"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/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":6528,"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/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":5143,"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/schema","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":9942,"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/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":6223,"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/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":9580,"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":"@dxos/schema","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":170901},"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":"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/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":"@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":"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":"@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/conductor","kind":"import-statement","external":true},{"path":"@dxos/schema","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/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/schema","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":8990},"src/hooks/compute-context.ts":{"bytesInOutput":248},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useComputeGraphController.ts":{"bytesInOutput":1177},"src/hooks/useComputeNodeState.ts":{"bytesInOutput":1799},"src/hooks/useGraphMonitor.ts":{"bytesInOutput":3498},"src/graph/node-defs.ts":{"bytesInOutput":2590},"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":1497},"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":2309},"src/shapes/Scope.tsx":{"bytesInOutput":1571},"src/shapes/Surface.tsx":{"bytesInOutput":1552},"src/shapes/Switch.tsx":{"bytesInOutput":1599},"src/shapes/Table.tsx":{"bytesInOutput":1079},"src/shapes/Template.tsx":{"bytesInOutput":2649},"src/shapes/Text.tsx":{"bytesInOutput":1448},"src/shapes/Thread.tsx":{"bytesInOutput":2487},"src/shapes/TextToImage.tsx":{"bytesInOutput":983},"src/shapes/Trigger.tsx":{"bytesInOutput":4803},"src/shapes/GptRealtime.tsx":{"bytesInOutput":4465},"src/compute-layout.ts":{"bytesInOutput":981}},"bytes":83151}}}
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":7590,"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":14571,"imports":[{"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-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/node-defs.ts":{"bytes":10147,"imports":[{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/graph/controller.ts":{"bytes":38810,"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/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/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":8890,"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":5087,"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/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/common/FunctionBody.tsx":{"bytes":14125,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":3807,"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":5169,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":4419,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":6460,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":6167,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":18529,"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":7286,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":13123,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":4432,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":11374,"imports":[{"path":"@preact-signals/safe-react/tracking","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/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":9862,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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/Json.tsx":{"bytes":10158,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":7974,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":9360,"imports":[{"path":"@preact-signals/safe-react/tracking","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-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/RNG.tsx":{"bytes":9247,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":6531,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":6746,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/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":"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":6545,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":5131,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":9960,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":6239,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":9568,"imports":[{"path":"@preact-signals/safe-react/tracking","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-theme","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/TextToImage.tsx":{"bytes":4558,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":17776,"imports":[{"path":"@preact-signals/safe-react/tracking","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/echo/internal","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":20898,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"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":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":169666},"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/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/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/internal","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/conductor","kind":"import-statement","external":true},{"path":"@dxos/debug","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":"@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/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/internal","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/Schema","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/Schema","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/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":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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/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/Schema","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/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":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/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":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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-theme","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","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":"@preact-signals/safe-react/tracking","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/echo/internal","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/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":"@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","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":8942},"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":3500},"src/graph/node-defs.ts":{"bytesInOutput":2592},"src/graph/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0},"src/registry.ts":{"bytesInOutput":910},"src/shapes/common/Box.tsx":{"bytesInOutput":2685},"src/shapes/common/index.ts":{"bytesInOutput":0},"src/shapes/common/FunctionBody.tsx":{"bytesInOutput":3436},"src/shapes/defs.ts":{"bytesInOutput":1018},"src/shapes/common/TypeSelect.tsx":{"bytesInOutput":1080},"src/shapes/index.ts":{"bytesInOutput":0},"src/shapes/Array.tsx":{"bytesInOutput":1039},"src/shapes/Append.tsx":{"bytesInOutput":897},"src/shapes/Audio.tsx":{"bytesInOutput":1535},"src/shapes/Beacon.tsx":{"bytesInOutput":1496},"src/shapes/Boolean.tsx":{"bytesInOutput":4116},"src/shapes/Chat.tsx":{"bytesInOutput":1637},"src/shapes/Constant.tsx":{"bytesInOutput":3261},"src/shapes/Database.tsx":{"bytesInOutput":948},"src/shapes/Function.tsx":{"bytesInOutput":2629},"src/shapes/Gpt.tsx":{"bytesInOutput":2204},"src/shapes/Json.tsx":{"bytesInOutput":2354},"src/shapes/Logic.tsx":{"bytesInOutput":1821},"src/shapes/Queue.tsx":{"bytesInOutput":2373},"src/shapes/RNG.tsx":{"bytesInOutput":2307},"src/shapes/Scope.tsx":{"bytesInOutput":1570},"src/shapes/Surface.tsx":{"bytesInOutput":1556},"src/shapes/Switch.tsx":{"bytesInOutput":1598},"src/shapes/Table.tsx":{"bytesInOutput":1073},"src/shapes/Template.tsx":{"bytesInOutput":2649},"src/shapes/Text.tsx":{"bytesInOutput":1446},"src/shapes/Thread.tsx":{"bytesInOutput":2480},"src/shapes/TextToImage.tsx":{"bytesInOutput":981},"src/shapes/Trigger.tsx":{"bytesInOutput":4615},"src/shapes/GptRealtime.tsx":{"bytesInOutput":4464},"src/compute-layout.ts":{"bytesInOutput":983}},"bytes":82938}}}
@@ -1,6 +1,5 @@
1
- import '@dxos-theme';
2
- import type { Meta, StoryObj } from '@storybook/react-vite';
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,17 @@ type RenderProps = EditorRootProps<ComputeShape> & PropsWithChildren<{
11
10
  computeGraph?: ComputeGraphModel;
12
11
  controller?: ComputeGraphController | null;
13
12
  }>;
14
- declare const meta: Meta<RenderProps>;
13
+ declare const meta: {
14
+ title: string;
15
+ component: any;
16
+ render: ({ id, children, graph, controller, init, sidebar: _sidebar, registry, ...props }: RenderProps) => React.JSX.Element;
17
+ decorators: import("@storybook/react").Decorator[];
18
+ parameters: {
19
+ layout: string;
20
+ };
21
+ };
15
22
  export default meta;
16
- type Story = StoryObj<RenderProps>;
23
+ type Story = StoryObj<typeof meta>;
17
24
  export declare const Default: Story;
18
25
  export declare const Beacon: Story;
19
26
  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,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,IAAI,E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AAEF,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KActB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAetB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAcnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAanB,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { Event } from '@dxos/async';
2
- import { type ComputeEdge, type ComputeGraphModel, type ComputeMeta, type ComputeNode, type GptInput, type GptOutput, type GraphDiagnostic } from '@dxos/conductor';
2
+ import { type ComputeEdge, type ComputeGraphModel, type ComputeNode, type ComputeNodeMeta, type GptInput, type GptOutput, type GraphDiagnostic } from '@dxos/conductor';
3
3
  import { Resource } from '@dxos/context';
4
- import { type ServiceContainer } from '@dxos/functions';
4
+ import { type ServiceContainer } from '@dxos/functions-runtime';
5
5
  import { type CanvasGraphModel } from '@dxos/react-ui-canvas-editor';
6
- import { type ContentBlock } from '@dxos/schema';
6
+ import { type ContentBlock } from '@dxos/types';
7
7
  import { type ComputeShape } from '../shapes';
8
8
  export declare const InvalidStateError: ErrorConstructor;
9
9
  export type FunctionCallback<INPUT, OUTPUT> = (input: INPUT) => Promise<OUTPUT>;
@@ -75,24 +75,20 @@ export declare class ComputeGraphController extends Resource {
75
75
  readonly output: Event<ComputeOutputEvent>;
76
76
  readonly events: Event<{
77
77
  readonly type: "begin-compute";
78
- readonly inputs: {
79
- readonly [x: string]: any;
80
- };
78
+ readonly inputs: readonly string[];
81
79
  readonly nodeId: string;
82
80
  } | {
83
81
  readonly type: "end-compute";
84
- readonly outputs: {
85
- readonly [x: string]: any;
86
- };
82
+ readonly outputs: readonly string[];
87
83
  readonly nodeId: string;
88
84
  } | {
89
- readonly value: any;
90
85
  readonly type: "compute-input";
86
+ readonly value: any;
91
87
  readonly property: string;
92
88
  readonly nodeId: string;
93
89
  } | {
94
- readonly value: any;
95
90
  readonly type: "compute-output";
91
+ readonly value: any;
96
92
  readonly property: string;
97
93
  readonly nodeId: string;
98
94
  } | {
@@ -119,31 +115,18 @@ export declare class ComputeGraphController extends Resource {
119
115
  /**
120
116
  * Inputs and outputs for all nodes.
121
117
  */
122
- get state(): {
123
- [k: string]: {
124
- node: {
125
- type?: string | undefined;
126
- id: string;
127
- data?: any;
128
- function?: import("@dxos/echo-schema").Ref<import("@dxos/functions").FunctionType> | undefined;
129
- value?: any;
130
- inputSchema?: import("@dxos/echo-schema").JsonSchemaType | undefined;
131
- outputSchema?: import("@dxos/echo-schema").JsonSchemaType | undefined;
132
- subgraph?: import("@dxos/echo-schema").Ref<import("@dxos/conductor").ComputeGraph> | undefined;
133
- valueType?: "string" | "number" | "boolean" | "object" | undefined;
134
- enabled?: boolean | undefined;
135
- };
136
- input: Record<string, RuntimeValue>;
137
- output: Record<string, RuntimeValue>;
138
- };
139
- };
118
+ get state(): Record<string, {
119
+ node: ComputeNode;
120
+ input: Record<string, RuntimeValue>;
121
+ output: Record<string, RuntimeValue>;
122
+ }>;
140
123
  addNode(node: ComputeNode): void;
141
124
  addEdge(edge: ComputeEdge): void;
142
125
  getComputeNode(nodeId: string): ComputeNode;
143
126
  getInputs(nodeId: string): Record<string, RuntimeValue>;
144
127
  getOutputs(nodeId: string): Record<string, RuntimeValue>;
145
128
  setOutput(nodeId: string, property: string, value: any): void;
146
- getMeta(node: ComputeNode): Promise<ComputeMeta>;
129
+ getMeta(node: ComputeNode): Promise<ComputeNodeMeta>;
147
130
  checkGraph(): Promise<void>;
148
131
  evalNode(nodeId: string): Promise<void>;
149
132
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../src/graph/controller.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAgB,MAAM,aAAa,CAAC;AAClD,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,K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,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;IA4DjD,OAAO,CAAC,aAAa;IASrB,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,iBAAiB;CAO1B"}
@@ -4,7 +4,7 @@ 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,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,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,kCAAkC,gCAAgC,SAsC3G,CAAC"}
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,10 +1,10 @@
1
- import type { ComputeMeta, ComputeNode } from '@dxos/conductor';
1
+ import type { ComputeNode, ComputeNodeMeta } from '@dxos/conductor';
2
2
  import type { ComputeEventPayload } from '@dxos/functions';
3
3
  import { type RuntimeValue } from '../graph';
4
4
  import { type ComputeShape } from '../shapes';
5
5
  export type ComputeNodeState = {
6
6
  node: ComputeNode;
7
- meta: ComputeMeta;
7
+ meta: ComputeNodeMeta;
8
8
  runtime: {
9
9
  inputs: Record<string, RuntimeValue>;
10
10
  outputs: Record<string, RuntimeValue>;
@@ -1 +1 @@
1
- {"version":3,"file":"useComputeNodeState.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useComputeNodeState.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAChE,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;AAI9C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,WAAW,CAAC;IAClB,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,gBAqDzD,CAAC"}
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;AAI9C,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,4 +1,4 @@
1
- import { Schema } from 'effect';
1
+ import * as Schema from 'effect/Schema';
2
2
  export declare const Shape: Schema.extend<Schema.Struct<{
3
3
  id: typeof Schema.String;
4
4
  type: Schema.optional<typeof Schema.String>;
@@ -1 +1 @@
1
- {"version":3,"file":"json.test.d.ts","sourceRoot":"","sources":["../../../src/json.test.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAOhC,eAAO,MAAM,KAAK;;;;;;;;GAOjB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;GAMtB,CAAC"}
1
+ {"version":3,"file":"json.test.d.ts","sourceRoot":"","sources":["../../../src/json.test.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAOxC,eAAO,MAAM,KAAK;;;;;;;;GAOjB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;GAMtB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Schema } from 'effect';
1
+ import * as Schema from 'effect/Schema';
2
2
  import React from 'react';
3
3
  import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
4
4
  import { type CreateShapeProps } from './defs';
@@ -1 +1 @@
1
- {"version":3,"file":"Append.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Append.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGvF,OAAO,EAAgB,KAAK,gBAAgB,EAAe,MAAM,QAAQ,CAAC;AAE1E,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;GAKvB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;AAE9D,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB;;;;;;;;;;;;;;;;;;;CAKjD,CAAC;AAEL,eAAO,MAAM,eAAe,GAAI,WAAW,mBAAmB,CAAC,WAAW,CAAC,sBAE1E,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAO7C,CAAC"}
1
+ {"version":3,"file":"Append.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Append.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGvF,OAAO,EAAgB,KAAK,gBAAgB,EAAe,MAAM,QAAQ,CAAC;AAE1E,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;GAKvB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;AAE9D,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB;;;;;;;;;;;;;;;;;;;CAKjD,CAAC;AAEL,eAAO,MAAM,eAAe,GAAI,WAAW,mBAAmB,CAAC,WAAW,CAAC,sBAE1E,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAO7C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Schema } from 'effect';
1
+ import * as Schema from 'effect/Schema';
2
2
  import React from 'react';
3
3
  import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
4
4
  import { type CreateShapeProps } from './defs';
@@ -1 +1 @@
1
- {"version":3,"file":"Array.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Array.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGvF,OAAO,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,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErF,eAAO,MAAM,aAAa,GAAI,uBAI3B,iBAAiB,KAAG,YAKnB,CAAC;AAEL,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,YAAY,CAO/C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Schema } from 'effect';
1
+ import * as Schema from 'effect/Schema';
2
2
  import React from 'react';
3
3
  import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
4
4
  import { type CreateShapeProps } from './defs';
@@ -1 +1 @@
1
- {"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Audio.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAmB,MAAM,8BAA8B,CAAC;AAIxG,OAAO,EAAgB,KAAK,gBAAgB,EAA+B,MAAM,QAAQ,CAAC;AAE1F,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;GAKtB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,UAAU,CAAC,CAAC;AAE5D,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB;;;;;;;;;;;;;;;;;;;CACoC,CAAC;AAExF,eAAO,MAAM,cAAc,GAAI,WAAW,mBAAmB,CAAC,UAAU,CAAC,sBAkBxE,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,UAAU,CAO3C,CAAC"}
1
+ {"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Audio.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAmB,MAAM,8BAA8B,CAAC;AAIxG,OAAO,EAAgB,KAAK,gBAAgB,EAA+B,MAAM,QAAQ,CAAC;AAE1F,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;GAKtB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,UAAU,CAAC,CAAC;AAE5D,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB;;;;;;;;;;;;;;;;;;;CACoC,CAAC;AAExF,eAAO,MAAM,cAAc,GAAI,WAAW,mBAAmB,CAAC,UAAU,CAAC,sBAkBxE,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,UAAU,CAO3C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Schema } from 'effect';
1
+ import * as Schema from 'effect/Schema';
2
2
  import React from 'react';
3
3
  import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
4
4
  import { type CreateShapeProps } from './defs';
@@ -1 +1 @@
1
- {"version":3,"file":"Beacon.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Beacon.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAmB,MAAM,8BAA8B,CAAC;AAIxG,OAAO,EAAgB,KAAK,gBAAgB,EAA+B,MAAM,QAAQ,CAAC;AAE1F,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;GAKvB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;AAE9D,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB;;;;;;;;;;;;;;;;;;;CACoC,CAAC;AAE1F,eAAO,MAAM,eAAe,GAAI,WAAW,mBAAmB,CAAC,WAAW,CAAC,sBAc1E,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAU7C,CAAC"}
1
+ {"version":3,"file":"Beacon.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Beacon.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAmB,MAAM,8BAA8B,CAAC;AAIxG,OAAO,EAAgB,KAAK,gBAAgB,EAA+B,MAAM,QAAQ,CAAC;AAE1F,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;GAKvB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;AAE9D,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB;;;;;;;;;;;;;;;;;;;CACoC,CAAC;AAE1F,eAAO,MAAM,eAAe,GAAI,WAAW,mBAAmB,CAAC,WAAW,CAAC,sBAc1E,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAU7C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Schema } from 'effect';
1
+ import * as Schema from 'effect/Schema';
2
2
  import { type ShapeDef } from '@dxos/react-ui-canvas-editor';
3
3
  import { type CreateShapeProps } from './defs';
4
4
  type GateType = 'and' | 'or' | 'not';