@dxos/react-ui-canvas-compute 0.8.4-main.7ace549 → 0.8.4-main.8baae0fced

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 (114) hide show
  1. package/LICENSE +102 -5
  2. package/dist/lib/browser/index.mjs +903 -1144
  3. package/dist/lib/browser/index.mjs.map +4 -4
  4. package/dist/lib/browser/meta.json +1 -1
  5. package/dist/lib/node-esm/index.mjs +903 -1144
  6. package/dist/lib/node-esm/index.mjs.map +4 -4
  7. package/dist/lib/node-esm/meta.json +1 -1
  8. package/dist/types/src/components/DiagnosticOverlay.d.ts.map +1 -1
  9. package/dist/types/src/compute-layout.d.ts.map +1 -1
  10. package/dist/types/src/compute.stories.d.ts +22 -1
  11. package/dist/types/src/compute.stories.d.ts.map +1 -1
  12. package/dist/types/src/graph/controller.d.ts +48 -29
  13. package/dist/types/src/graph/controller.d.ts.map +1 -1
  14. package/dist/types/src/graph/node-defs.d.ts.map +1 -1
  15. package/dist/types/src/hooks/useComputeGraphController.d.ts.map +1 -1
  16. package/dist/types/src/hooks/useComputeNodeState.d.ts +2 -3
  17. package/dist/types/src/hooks/useComputeNodeState.d.ts.map +1 -1
  18. package/dist/types/src/hooks/useGraphMonitor.d.ts +2 -2
  19. package/dist/types/src/hooks/useGraphMonitor.d.ts.map +1 -1
  20. package/dist/types/src/shapes/Append.d.ts +1 -1
  21. package/dist/types/src/shapes/Append.d.ts.map +1 -1
  22. package/dist/types/src/shapes/Array.d.ts +1 -1
  23. package/dist/types/src/shapes/Array.d.ts.map +1 -1
  24. package/dist/types/src/shapes/Audio.d.ts +1 -1
  25. package/dist/types/src/shapes/Audio.d.ts.map +1 -1
  26. package/dist/types/src/shapes/Beacon.d.ts +1 -1
  27. package/dist/types/src/shapes/Beacon.d.ts.map +1 -1
  28. package/dist/types/src/shapes/Boolean.d.ts +7 -7
  29. package/dist/types/src/shapes/Boolean.d.ts.map +1 -1
  30. package/dist/types/src/shapes/Chat.d.ts +1 -1
  31. package/dist/types/src/shapes/Chat.d.ts.map +1 -1
  32. package/dist/types/src/shapes/Constant.d.ts +1 -1
  33. package/dist/types/src/shapes/Constant.d.ts.map +1 -1
  34. package/dist/types/src/shapes/Database.d.ts +1 -1
  35. package/dist/types/src/shapes/Database.d.ts.map +1 -1
  36. package/dist/types/src/shapes/{Queue.d.ts → Feed.d.ts} +9 -9
  37. package/dist/types/src/shapes/Feed.d.ts.map +1 -0
  38. package/dist/types/src/shapes/Function.d.ts +1 -1
  39. package/dist/types/src/shapes/Function.d.ts.map +1 -1
  40. package/dist/types/src/shapes/Gpt.d.ts +1 -1
  41. package/dist/types/src/shapes/Gpt.d.ts.map +1 -1
  42. package/dist/types/src/shapes/GptRealtime.d.ts +1 -1
  43. package/dist/types/src/shapes/GptRealtime.d.ts.map +1 -1
  44. package/dist/types/src/shapes/Json.d.ts +2 -2
  45. package/dist/types/src/shapes/Json.d.ts.map +1 -1
  46. package/dist/types/src/shapes/Logic.d.ts +2 -2
  47. package/dist/types/src/shapes/Logic.d.ts.map +1 -1
  48. package/dist/types/src/shapes/RNG.d.ts +2 -2
  49. package/dist/types/src/shapes/RNG.d.ts.map +1 -1
  50. package/dist/types/src/shapes/Scope.d.ts +1 -1
  51. package/dist/types/src/shapes/Scope.d.ts.map +1 -1
  52. package/dist/types/src/shapes/Surface.d.ts +1 -1
  53. package/dist/types/src/shapes/Surface.d.ts.map +1 -1
  54. package/dist/types/src/shapes/Switch.d.ts +1 -1
  55. package/dist/types/src/shapes/Switch.d.ts.map +1 -1
  56. package/dist/types/src/shapes/Table.d.ts +1 -1
  57. package/dist/types/src/shapes/Table.d.ts.map +1 -1
  58. package/dist/types/src/shapes/Template.d.ts +2 -2
  59. package/dist/types/src/shapes/Template.d.ts.map +1 -1
  60. package/dist/types/src/shapes/Text.d.ts +1 -1
  61. package/dist/types/src/shapes/Text.d.ts.map +1 -1
  62. package/dist/types/src/shapes/TextToImage.d.ts +1 -1
  63. package/dist/types/src/shapes/TextToImage.d.ts.map +1 -1
  64. package/dist/types/src/shapes/Thread.d.ts +1 -1
  65. package/dist/types/src/shapes/Thread.d.ts.map +1 -1
  66. package/dist/types/src/shapes/Trigger.d.ts +6 -4
  67. package/dist/types/src/shapes/Trigger.d.ts.map +1 -1
  68. package/dist/types/src/shapes/common/Box.d.ts +4 -4
  69. package/dist/types/src/shapes/common/Box.d.ts.map +1 -1
  70. package/dist/types/src/shapes/common/FunctionBody.d.ts +2 -2
  71. package/dist/types/src/shapes/common/FunctionBody.d.ts.map +1 -1
  72. package/dist/types/src/shapes/common/TypeSelect.d.ts +1 -1
  73. package/dist/types/src/shapes/common/TypeSelect.d.ts.map +1 -1
  74. package/dist/types/src/shapes/defs.d.ts +1 -1
  75. package/dist/types/src/shapes/defs.d.ts.map +1 -1
  76. package/dist/types/src/shapes/index.d.ts +2 -2
  77. package/dist/types/src/shapes/index.d.ts.map +1 -1
  78. package/dist/types/src/testing/circuits.d.ts +18 -24
  79. package/dist/types/src/testing/circuits.d.ts.map +1 -1
  80. package/dist/types/tsconfig.tsbuildinfo +1 -1
  81. package/package.json +62 -60
  82. package/src/README.md +0 -3
  83. package/src/compute.stories.tsx +91 -116
  84. package/src/graph/controller.ts +145 -75
  85. package/src/graph/node-defs.ts +28 -28
  86. package/src/hooks/useComputeNodeState.ts +3 -5
  87. package/src/hooks/useGraphMonitor.ts +9 -8
  88. package/src/json.test.ts +3 -3
  89. package/src/registry.ts +2 -2
  90. package/src/schema.test.ts +6 -6
  91. package/src/shapes/Audio.tsx +2 -3
  92. package/src/shapes/Beacon.tsx +1 -2
  93. package/src/shapes/Boolean.tsx +2 -2
  94. package/src/shapes/Chat.tsx +0 -1
  95. package/src/shapes/Constant.tsx +0 -1
  96. package/src/shapes/{Queue.tsx → Feed.tsx} +26 -21
  97. package/src/shapes/Function.tsx +12 -9
  98. package/src/shapes/Gpt.tsx +6 -2
  99. package/src/shapes/GptRealtime.tsx +1 -1
  100. package/src/shapes/Json.tsx +9 -3
  101. package/src/shapes/RNG.tsx +0 -1
  102. package/src/shapes/Scope.tsx +1 -2
  103. package/src/shapes/Surface.tsx +7 -3
  104. package/src/shapes/Switch.tsx +1 -2
  105. package/src/shapes/Template.tsx +0 -1
  106. package/src/shapes/Text.tsx +0 -1
  107. package/src/shapes/Thread.tsx +10 -8
  108. package/src/shapes/Trigger.tsx +20 -19
  109. package/src/shapes/common/Box.tsx +8 -11
  110. package/src/shapes/common/FunctionBody.tsx +4 -4
  111. package/src/shapes/common/TypeSelect.tsx +1 -1
  112. package/src/shapes/index.ts +2 -2
  113. package/src/testing/circuits.ts +6 -14
  114. package/dist/types/src/shapes/Queue.d.ts.map +0 -1
@@ -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":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":14547,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/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":10176,"imports":[{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/graph/controller.ts":{"bytes":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":5073,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/common/FunctionBody.tsx":{"bytes":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":17726,"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/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":169638},"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","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","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","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/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":3484},"src/graph/node-defs.ts":{"bytesInOutput":2580},"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":995},"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":2630},"src/shapes/Text.tsx":{"bytesInOutput":1446},"src/shapes/Thread.tsx":{"bytesInOutput":2480},"src/shapes/TextToImage.tsx":{"bytesInOutput":981},"src/shapes/Trigger.tsx":{"bytesInOutput":4575},"src/shapes/GptRealtime.tsx":{"bytesInOutput":4464},"src/compute-layout.ts":{"bytesInOutput":983}},"bytes":82828}}}
1
+ {"inputs":{"src/hooks/compute-context.ts":{"bytes":1506,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useComputeGraphController.ts":{"bytes":5726,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useComputeNodeState.ts":{"bytes":7330,"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":14233,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/graph/index.ts","kind":"import-statement","original":"../graph"}],"format":"esm"},"src/hooks/index.ts":{"bytes":750,"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":9438,"imports":[{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/graph/controller.ts":{"bytes":44958,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Exit","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Scope","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/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":471,"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":8225,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/defs.ts":{"bytes":4981,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/common/FunctionBody.tsx":{"bytes":13597,"imports":[{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"../defs"}],"format":"esm"},"src/shapes/common/TypeSelect.tsx":{"bytes":3477,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/common/index.ts":{"bytes":557,"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":4881,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Append.tsx":{"bytes":4130,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Audio.tsx":{"bytes":6114,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Beacon.tsx":{"bytes":5837,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Boolean.tsx":{"bytes":18426,"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":6947,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Constant.tsx":{"bytes":12648,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Database.tsx":{"bytes":4145,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Feed.tsx":{"bytes":9237,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Function.tsx":{"bytes":11252,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/compute","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/keys","kind":"import-statement","external":true},{"path":"@dxos/react-client","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":9868,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/GptRealtime.tsx":{"bytes":19838,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Json.tsx":{"bytes":10434,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Logic.tsx":{"bytes":7573,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/RNG.tsx":{"bytes":8849,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Scope.tsx":{"bytes":6198,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-sfx","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Surface.tsx":{"bytes":7045,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Switch.tsx":{"bytes":6215,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Table.tsx":{"bytes":4843,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Template.tsx":{"bytes":9522,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Text.tsx":{"bytes":5912,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Thread.tsx":{"bytes":9458,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/TextToImage.tsx":{"bytes":4272,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Trigger.tsx":{"bytes":17175,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/index.ts":{"bytes":2464,"imports":[{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/shapes/Array.tsx","kind":"import-statement","original":"./Array"},{"path":"src/shapes/Append.tsx","kind":"import-statement","original":"./Append"},{"path":"src/shapes/Audio.tsx","kind":"import-statement","original":"./Audio"},{"path":"src/shapes/Beacon.tsx","kind":"import-statement","original":"./Beacon"},{"path":"src/shapes/Boolean.tsx","kind":"import-statement","original":"./Boolean"},{"path":"src/shapes/Chat.tsx","kind":"import-statement","original":"./Chat"},{"path":"src/shapes/Constant.tsx","kind":"import-statement","original":"./Constant"},{"path":"src/shapes/Database.tsx","kind":"import-statement","original":"./Database"},{"path":"src/shapes/Feed.tsx","kind":"import-statement","original":"./Feed"},{"path":"src/shapes/Function.tsx","kind":"import-statement","original":"./Function"},{"path":"src/shapes/Gpt.tsx","kind":"import-statement","original":"./Gpt"},{"path":"src/shapes/GptRealtime.tsx","kind":"import-statement","original":"./GptRealtime"},{"path":"src/shapes/Json.tsx","kind":"import-statement","original":"./Json"},{"path":"src/shapes/Logic.tsx","kind":"import-statement","original":"./Logic"},{"path":"src/shapes/RNG.tsx","kind":"import-statement","original":"./RNG"},{"path":"src/shapes/Scope.tsx","kind":"import-statement","original":"./Scope"},{"path":"src/shapes/Surface.tsx","kind":"import-statement","original":"./Surface"},{"path":"src/shapes/Switch.tsx","kind":"import-statement","original":"./Switch"},{"path":"src/shapes/Table.tsx","kind":"import-statement","original":"./Table"},{"path":"src/shapes/Template.tsx","kind":"import-statement","original":"./Template"},{"path":"src/shapes/Text.tsx","kind":"import-statement","original":"./Text"},{"path":"src/shapes/Thread.tsx","kind":"import-statement","original":"./Thread"},{"path":"src/shapes/TextToImage.tsx","kind":"import-statement","original":"./TextToImage"},{"path":"src/shapes/Trigger.tsx","kind":"import-statement","original":"./Trigger"}],"format":"esm"},"src/registry.ts":{"bytes":5681,"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":4706,"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":726,"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":170773},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Exit","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Scope","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/compute","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/keys","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-sfx","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true}],"exports":["AndShape","AppendComponent","AppendShape","AudioComponent","AudioShape","BeaconComponent","BeaconShape","Box","ChatShape","ComputeContext","ComputeGraphController","ComputeShape","ComputeShapeLayout","ConstantComponent","ConstantShape","DatabaseComponent","DatabaseShape","FeedComponent","FeedItem","FeedShape","FunctionBody","FunctionShape","GptComponent","GptRealtimeComponent","GptRealtimeShape","GptShape","IfComponent","IfElseComponent","IfElseShape","IfShape","InvalidStateError","JsonComponent","JsonShape","JsonTransformComponent","JsonTransformShape","NotShape","OrShape","RandomComponent","RandomShape","ReducerComponent","ReducerShape","ScopeComponent","ScopeShape","SurfaceComponent","SurfaceShape","SwitchComponent","SwitchShape","TableComponent","TableShape","TemplateShape","TextComponent","TextInputComponent","TextShape","TextToImageComponent","TextToImageShape","ThreadComponent","ThreadItem","ThreadShape","TriggerComponent","TriggerShape","TypeSelect","andShape","appendShape","audioShape","beaconShape","chatShape","computeShapes","constantShape","createAnchorId","createAnd","createAppend","createAudio","createBeacon","createChat","createComputeGraph","createComputeGraphController","createComputeNode","createConstant","createDatabase","createFeed","createFunction","createFunctionAnchors","createGpt","createGptRealtime","createIf","createIfElse","createJson","createJsonTransform","createNot","createOr","createRandom","createReducer","createScope","createShape","createSurface","createSwitch","createTable","createTemplate","createText","createTextToImage","createThread","createTrigger","databaseShape","feedShape","footerHeight","functionShape","getHeight","getProperties","gptRealtimeShape","gptShape","headerHeight","ifElseShape","ifShape","isValidComputeNode","jsonShape","jsonTransformShape","mapEdge","notShape","orShape","parseAnchorId","randomShape","reducerShape","resolveComputeNode","scopeShape","surfaceShape","switchShape","tableShape","templateShape","textShape","textToImageShape","threadShape","triggerShape","useComputeContext","useComputeGraphController","useComputeNodeState","useGraphMonitor"],"entryPoint":"src/index.ts","inputs":{"src/graph/controller.ts":{"bytesInOutput":9989},"src/hooks/compute-context.ts":{"bytesInOutput":248},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useComputeGraphController.ts":{"bytesInOutput":1177},"src/hooks/useComputeNodeState.ts":{"bytesInOutput":1751},"src/hooks/useGraphMonitor.ts":{"bytesInOutput":3396},"src/graph/node-defs.ts":{"bytesInOutput":2466},"src/graph/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0},"src/registry.ts":{"bytesInOutput":909},"src/shapes/common/Box.tsx":{"bytesInOutput":2374},"src/shapes/common/index.ts":{"bytesInOutput":0},"src/shapes/common/FunctionBody.tsx":{"bytesInOutput":3159},"src/shapes/defs.ts":{"bytesInOutput":995},"src/shapes/common/TypeSelect.tsx":{"bytesInOutput":901},"src/shapes/index.ts":{"bytesInOutput":0},"src/shapes/Array.tsx":{"bytesInOutput":872},"src/shapes/Append.tsx":{"bytesInOutput":732},"src/shapes/Audio.tsx":{"bytesInOutput":1344},"src/shapes/Beacon.tsx":{"bytesInOutput":1312},"src/shapes/Boolean.tsx":{"bytesInOutput":4113},"src/shapes/Chat.tsx":{"bytesInOutput":1446},"src/shapes/Constant.tsx":{"bytesInOutput":3012},"src/shapes/Database.tsx":{"bytesInOutput":783},"src/shapes/Feed.tsx":{"bytesInOutput":2170},"src/shapes/Function.tsx":{"bytesInOutput":2473},"src/shapes/Gpt.tsx":{"bytesInOutput":2098},"src/shapes/GptRealtime.tsx":{"bytesInOutput":3987},"src/shapes/Json.tsx":{"bytesInOutput":2333},"src/shapes/Logic.tsx":{"bytesInOutput":1566},"src/shapes/RNG.tsx":{"bytesInOutput":2086},"src/shapes/Scope.tsx":{"bytesInOutput":1382},"src/shapes/Surface.tsx":{"bytesInOutput":1519},"src/shapes/Switch.tsx":{"bytesInOutput":1410},"src/shapes/Table.tsx":{"bytesInOutput":908},"src/shapes/Template.tsx":{"bytesInOutput":2367},"src/shapes/Text.tsx":{"bytesInOutput":1259},"src/shapes/Thread.tsx":{"bytesInOutput":2306},"src/shapes/TextToImage.tsx":{"bytesInOutput":816},"src/shapes/Trigger.tsx":{"bytesInOutput":4235},"src/compute-layout.ts":{"bytesInOutput":983}},"bytes":78382}}}
@@ -1 +1 @@
1
- {"version":3,"file":"DiagnosticOverlay.d.ts","sourceRoot":"","sources":["../../../../src/components/DiagnosticOverlay.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,eAAe,EAAE,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,iBAAiB,sBAAsB,sBAUxE,CAAC"}
1
+ {"version":3,"file":"DiagnosticOverlay.d.ts","sourceRoot":"","sources":["../../../../src/components/DiagnosticOverlay.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,eAAe,EAAE,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,iBAAiB,oBAAqB,sBAAsB,sBAUxE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"compute-layout.d.ts","sourceRoot":"","sources":["../../../src/compute-layout.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,MAAM,EAAE,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE5F,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,KAAK,YAAY,EAAyB,MAAM,UAAU,CAAC;AAGpE,qBAAa,kBAAmB,SAAQ,WAAW;IAE/C,OAAO,CAAC,WAAW;gBAAX,WAAW,EAAE,sBAAsB,EAC3C,QAAQ,EAAE,aAAa;IAMhB,UAAU,CAAC,KAAK,EAAE,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAejE"}
1
+ {"version":3,"file":"compute-layout.d.ts","sourceRoot":"","sources":["../../../src/compute-layout.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,MAAM,EAAE,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE5F,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,KAAK,YAAY,EAAyB,MAAM,UAAU,CAAC;AAGpE,qBAAa,kBAAmB,SAAQ,WAAW;IAE/C,OAAO,CAAC,WAAW;IADrB,YACU,WAAW,EAAE,sBAAsB,EAC3C,QAAQ,EAAE,aAAa,EAGxB;IAGQ,UAAU,CAAC,KAAK,EAAE,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAc/D;CACF"}
@@ -13,11 +13,32 @@ type RenderProps = EditorRootProps<ComputeShape> & PropsWithChildren<{
13
13
  declare const meta: {
14
14
  title: string;
15
15
  component: any;
16
- render: ({ id, children, graph, controller, init, sidebar: _sidebar, registry, ...props }: RenderProps) => React.JSX.Element;
16
+ render: ({ id, children, graph, controller, sidebar: sidebarProp, registry, showGrid, snapToGrid, ...props }: RenderProps) => React.JSX.Element;
17
17
  decorators: import("@storybook/react").Decorator[];
18
18
  parameters: {
19
19
  layout: string;
20
20
  };
21
+ argTypes: {
22
+ controller: {
23
+ table: {
24
+ disable: boolean;
25
+ };
26
+ };
27
+ graph: {
28
+ table: {
29
+ disable: boolean;
30
+ };
31
+ };
32
+ registry: {
33
+ table: {
34
+ disable: boolean;
35
+ };
36
+ };
37
+ sidebar: {
38
+ control: "select";
39
+ options: (NonNullable<"canvas" | "compute" | "controller" | "selected" | undefined> | null)[];
40
+ };
41
+ };
21
42
  };
22
43
  export default meta;
23
44
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"compute.stories.d.ts","sourceRoot":"","sources":["../../../src/compute.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAwC,MAAM,OAAO,CAAC;AAI5F,OAAO,EAAE,KAAK,iBAAiB,EAA0C,MAAM,iBAAiB,CAAC;AAMjG,OAAO,EAIL,KAAK,eAAe,EAErB,MAAM,8BAA8B,CAAC;AAMtC,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAGtD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAkB7C,KAAK,WAAW,GAAG,eAAe,CAAC,YAAY,CAAC,GAC9C,iBAAiB,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC;IAC3D,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,UAAU,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;CAC5C,CAAC,CAA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f,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC;IAC3D,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,UAAU,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;CAC5C,CAAC,CAAC;AA0IL,QAAA,MAAM,IAAI;;eAEkB,GAAG;kHAhI5B,WAAW;;;QA0IV,MAAM;;;;;gBA9JmB,OAAO;;;;;;;;;;;;;;;;;;CAyKC,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAwBnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,KAKjB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC"}
@@ -1,7 +1,12 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import * as Exit from 'effect/Exit';
3
+ import type { AiService } from '@dxos/ai';
1
4
  import { Event } from '@dxos/async';
2
- import { type ComputeEdge, type ComputeGraphModel, type ComputeNode, type ComputeNodeMeta, type GptInput, type GptOutput, type GraphDiagnostic } from '@dxos/conductor';
5
+ import { type Credential, type Operation, type OperationRegistry } from '@dxos/compute';
6
+ import { ComputeOutputEvent, type ComputeEdge, type ComputeGraphModel, type ComputeNode, type ComputeNodeMeta, type GptInput, type GptOutput, type GraphDiagnostic } from '@dxos/conductor';
3
7
  import { Resource } from '@dxos/context';
4
- import { type ServiceContainer } from '@dxos/functions-runtime';
8
+ import type { Database, Feed } from '@dxos/echo';
9
+ import { type QueueService } from '@dxos/functions';
5
10
  import { type CanvasGraphModel } from '@dxos/react-ui-canvas-editor';
6
11
  import { type ContentBlock } from '@dxos/types';
7
12
  import { type ComputeShape } from '../shapes';
@@ -31,7 +36,43 @@ type ComputeOutputEvent = {
31
36
  property: string;
32
37
  value: RuntimeValue;
33
38
  };
34
- export declare const createComputeGraphController: (graph: CanvasGraphModel<ComputeShape>, serviceContainer: ServiceContainer) => {
39
+ /**
40
+ * Event emitted by the compute graph during execution.
41
+ */
42
+ export type ComputeEvent = {
43
+ type: 'begin-compute';
44
+ nodeId: string;
45
+ inputs: ReadonlyArray<string>;
46
+ } | {
47
+ type: 'end-compute';
48
+ nodeId: string;
49
+ outputs: ReadonlyArray<string>;
50
+ } | {
51
+ type: 'compute-input';
52
+ nodeId: string;
53
+ property: string;
54
+ value: any;
55
+ } | {
56
+ type: 'compute-output';
57
+ nodeId: string;
58
+ property: string;
59
+ value: any;
60
+ } | {
61
+ type: 'custom';
62
+ nodeId: string;
63
+ event: any;
64
+ };
65
+ export type ComputeServices = AiService.AiService | Database.Service | Feed.FeedService | QueueService | Credential.CredentialsService | Operation.Service | OperationRegistry.Service;
66
+ /**
67
+ * Minimal runtime interface required by the {@link ComputeGraphController}.
68
+ *
69
+ * Satisfied by both `effect/ManagedRuntime.ManagedRuntime` and ad-hoc adapters
70
+ * built on top of the app-framework `ProcessManagerRuntime`.
71
+ */
72
+ export interface ComputeGraphRuntime {
73
+ runPromiseExit<A, E>(effect: Effect.Effect<A, E, ComputeServices>): Promise<Exit.Exit<A, E>>;
74
+ }
75
+ export declare const createComputeGraphController: (graph: CanvasGraphModel<ComputeShape>, computeRuntime: ComputeGraphRuntime) => {
35
76
  controller: ComputeGraphController;
36
77
  graph: CanvasGraphModel<{
37
78
  id: string;
@@ -56,7 +97,7 @@ export declare const createComputeGraphController: (graph: CanvasGraphModel<Comp
56
97
  * Controller that manages compute graph state, execution, and service coordination.
57
98
  */
58
99
  export declare class ComputeGraphController extends Resource {
59
- private readonly _serviceContainer;
100
+ private readonly _computeRuntime;
60
101
  /** Persistent compute graph. */
61
102
  private readonly _graph;
62
103
  private readonly _executor;
@@ -73,30 +114,8 @@ export declare class ComputeGraphController extends Resource {
73
114
  readonly update: Event<void>;
74
115
  /** Computed result. */
75
116
  readonly output: Event<ComputeOutputEvent>;
76
- readonly events: Event<{
77
- readonly type: "begin-compute";
78
- readonly inputs: readonly string[];
79
- readonly nodeId: string;
80
- } | {
81
- readonly type: "end-compute";
82
- readonly outputs: readonly string[];
83
- readonly nodeId: string;
84
- } | {
85
- readonly type: "compute-input";
86
- readonly value: any;
87
- readonly property: string;
88
- readonly nodeId: string;
89
- } | {
90
- readonly type: "compute-output";
91
- readonly value: any;
92
- readonly property: string;
93
- readonly nodeId: string;
94
- } | {
95
- readonly type: "custom";
96
- readonly nodeId: string;
97
- readonly event: any;
98
- }>;
99
- constructor(_serviceContainer: ServiceContainer,
117
+ readonly events: Event<ComputeEvent>;
118
+ constructor(_computeRuntime: ComputeGraphRuntime,
100
119
  /** Persistent compute graph. */
101
120
  _graph: ComputeGraphModel);
102
121
  toJSON(): {
@@ -134,7 +153,7 @@ export declare class ComputeGraphController extends Resource {
134
153
  * @param startFromNode - Node to start from, otherwise all {@link AUTO_TRIGGER_NODES} are executed.
135
154
  */
136
155
  exec(startFromNode?: string): Promise<void>;
137
- private _createLogger;
156
+ private _createTraceWriter;
138
157
  private _handleEvent;
139
158
  private _onInputComputed;
140
159
  private _onOutputComputed;
@@ -1 +1 @@
1
- {"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../src/graph/controller.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,EAAgB,MAAM,aAAa,CAAC;AAClD,OAAO,EACL,KAAK,WAAW,EA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O,CAAC,IAAI,CAAC,CAIhC;IAEK,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CA+C5C;IAED;;;OAGG;IAEG,IAAI,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAkEhD;IAED,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,iBAAiB;CAO1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"node-defs.d.ts","sourceRoot":"","sources":["../../../../src/graph/node-defs.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,UAAU,EAMhB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EAAE,KAAK,YAAY,EAA0C,MAAM,WAAW,CAAC;AAEtF,eAAO,MAAM,kBAAkB,GAAU,MAAM,WAAW,KAAG,OAAO,CAAC,UAAU,CAI9E,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,KAAG,OAEjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,OAAO,YAAY,KAAG,WAIvD,CAAC"}
1
+ {"version":3,"file":"node-defs.d.ts","sourceRoot":"","sources":["../../../../src/graph/node-defs.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,UAAU,EAMhB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EAAE,KAAK,YAAY,EAA0C,MAAM,WAAW,CAAC;AAEtF,eAAO,MAAM,kBAAkB,SAAgB,WAAW,KAAG,OAAO,CAAC,UAAU,CAI9E,CAAC;AAEF,eAAO,MAAM,kBAAkB,SAAU,MAAM,KAAG,OAEjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAW,YAAY,KAAG,WAIvD,CAAC"}
@@ -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,GAAG,IAAI,CAAC,CAAC;CAC/C,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,qCAAsC,gCAAgC,SAsC3G,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { ComputeNode, ComputeNodeMeta } from '@dxos/conductor';
2
- import type { ComputeEventPayload } from '@dxos/functions';
3
- import { type RuntimeValue } from '../graph';
2
+ import { type ComputeEvent, type RuntimeValue } from '../graph';
4
3
  import { type ComputeShape } from '../shapes';
5
4
  export type ComputeNodeState = {
6
5
  node: ComputeNode;
@@ -10,7 +9,7 @@ export type ComputeNodeState = {
10
9
  outputs: Record<string, RuntimeValue>;
11
10
  setOutput: (property: string, value: any) => void;
12
11
  evalNode: () => void;
13
- subscribeToEventLog: (cb: (event: ComputeEventPayload) => void) => void;
12
+ subscribeToEventLog: (cb: (event: ComputeEvent) => void) => () => void;
14
13
  };
15
14
  };
16
15
  /**
@@ -1 +1 @@
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
+ {"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;AAGpE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAG9C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE;QACP,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;QACrC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;QACtC,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;QAClD,QAAQ,EAAE,MAAM,IAAI,CAAC;QACrB,mBAAmB,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,KAAK,MAAM,IAAI,CAAC;KACxE,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,UAAW,YAAY,KAAG,gBAsDzD,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { type ComputeEdge, ComputeGraphModel } from '@dxos/conductor';
2
- import { type CanvasGraphModel, type Connection, type GraphMonitor } from '@dxos/react-ui-canvas-editor';
2
+ import { type CanvasBoard, type CanvasGraphModel, type GraphMonitor } from '@dxos/react-ui-canvas-editor';
3
3
  import { type ComputeShape } from '../shapes';
4
4
  /**
5
5
  * Map canvas edge to compute edge.
6
6
  */
7
- export declare const mapEdge: (graph: CanvasGraphModel, { source, target, output, input }: Connection) => ComputeEdge;
7
+ export declare const mapEdge: (graph: CanvasGraphModel, { source, target, output, input }: CanvasBoard.Connection) => ComputeEdge;
8
8
  /**
9
9
  * Listens for changes to the graph and updates the compute graph.
10
10
  * @param model Compute graph to update on change.
@@ -1 +1 @@
1
- {"version":3,"file":"useGraphMonitor.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useGraphMonitor.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,iBAAiB,EAAmD,MAAM,iBAAiB,CAAC;AAIvH,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAIzG,OAAO,EAAE,KAAK,YAAY,EAAqB,MAAM,WAAW,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,OAAO,GAClB,OAAO,gBAAgB,EACvB,mCAAoE,UAAU,KAC7E,WAaF,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,eAAe,GAAI,QAAQ,iBAAiB,KAAG,YAAY,CAAC,YAAY,CAgDpF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,QAAQ,gBAAgB,CAAC,YAAY,CAAC,sBAkBxE,CAAC"}
1
+ {"version":3,"file":"useGraphMonitor.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useGraphMonitor.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,iBAAiB,EAAmD,MAAM,iBAAiB,CAAC;AAGvH,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI1G,OAAO,EAAE,KAAK,YAAY,EAAqB,MAAM,WAAW,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,OAAO,UACX,gBAAgB,qCAC6C,WAAW,CAAC,UAAU,KACzF,WAaF,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,eAAe,WAAY,iBAAiB,KAAG,YAAY,CAAC,YAAY,CAgDpF,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAAY,gBAAgB,CAAC,YAAY,CAAC,sBAkBxE,CAAC"}
@@ -6,8 +6,8 @@ export declare const AppendShape: Schema.extend<Schema.extend<Schema.mutable<Sch
6
6
  readonly id: string;
7
7
  readonly data?: any;
8
8
  }, {
9
- readonly id: string;
10
9
  readonly data?: any;
10
+ readonly id: string;
11
11
  }, never>, Schema.Struct<{
12
12
  type: typeof Schema.String;
13
13
  text: Schema.optional<typeof Schema.String>;
@@ -1 +1 @@
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
+ {"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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