@dxos/react-ui-canvas-compute 0.8.4-main.ae835ea → 0.8.4-main.bc2380dfbc

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 (115) hide show
  1. package/LICENSE +102 -5
  2. package/dist/lib/browser/index.mjs +916 -1158
  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 +916 -1158
  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 +40 -35
  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 +4 -5
  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 +61 -58
  82. package/src/README.md +0 -3
  83. package/src/compute.stories.tsx +89 -114
  84. package/src/graph/controller.ts +139 -78
  85. package/src/graph/node-defs.ts +31 -31
  86. package/src/hooks/useComputeNodeState.ts +7 -8
  87. package/src/hooks/useGraphMonitor.ts +11 -10
  88. package/src/json.test.ts +3 -3
  89. package/src/registry.ts +2 -2
  90. package/src/schema.test.ts +11 -11
  91. package/src/shapes/Audio.tsx +1 -2
  92. package/src/shapes/Beacon.tsx +0 -1
  93. package/src/shapes/Boolean.tsx +1 -1
  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/Json.tsx +9 -3
  100. package/src/shapes/RNG.tsx +5 -2
  101. package/src/shapes/Scope.tsx +0 -1
  102. package/src/shapes/Surface.tsx +12 -4
  103. package/src/shapes/Switch.tsx +0 -1
  104. package/src/shapes/Table.tsx +3 -3
  105. package/src/shapes/Template.tsx +0 -1
  106. package/src/shapes/Text.tsx +0 -1
  107. package/src/shapes/Thread.tsx +12 -10
  108. package/src/shapes/Trigger.tsx +21 -21
  109. package/src/shapes/common/Box.tsx +5 -8
  110. package/src/shapes/common/FunctionBody.tsx +2 -2
  111. package/src/shapes/common/TypeSelect.tsx +1 -1
  112. package/src/shapes/defs.ts +3 -3
  113. package/src/shapes/index.ts +2 -2
  114. package/src/testing/circuits.ts +7 -16
  115. 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":7570,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/hooks/compute-context.ts","kind":"import-statement","original":"./compute-context"}],"format":"esm"},"src/hooks/useGraphMonitor.ts":{"bytes":14571,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/graph/index.ts","kind":"import-statement","original":"../graph"}],"format":"esm"},"src/hooks/index.ts":{"bytes":842,"imports":[{"path":"src/hooks/compute-context.ts","kind":"import-statement","original":"./compute-context"},{"path":"src/hooks/useComputeGraphController.ts","kind":"import-statement","original":"./useComputeGraphController"},{"path":"src/hooks/useComputeNodeState.ts","kind":"import-statement","original":"./useComputeNodeState"},{"path":"src/hooks/useGraphMonitor.ts","kind":"import-statement","original":"./useGraphMonitor"}],"format":"esm"},"src/graph/node-defs.ts":{"bytes":10147,"imports":[{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/graph/controller.ts":{"bytes":38790,"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":8870,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/defs.ts":{"bytes":5087,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/common/FunctionBody.tsx":{"bytes":14123,"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":3801,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/shapes/common/index.ts":{"bytes":657,"imports":[{"path":"src/shapes/common/Box.tsx","kind":"import-statement","original":"./Box"},{"path":"src/shapes/common/FunctionBody.tsx","kind":"import-statement","original":"./FunctionBody"},{"path":"src/shapes/common/TypeSelect.tsx","kind":"import-statement","original":"./TypeSelect"}],"format":"esm"},"src/shapes/Array.tsx":{"bytes":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":6459,"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":6166,"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":18522,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Chat.tsx":{"bytes":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":9219,"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":6530,"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":6704,"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","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":6544,"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":5159,"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/schema","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/Template.tsx":{"bytes":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":9596,"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/schema","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/TextToImage.tsx":{"bytes":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":17774,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/shapes/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/shapes/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/shapes/GptRealtime.tsx":{"bytes":20897,"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":169606},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Exit","kind":"import-statement","external":true},{"path":"effect/Scope","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-sfx","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","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/schema","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/schema","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true}],"exports":["AndShape","AppendComponent","AppendShape","AudioComponent","AudioShape","BeaconComponent","BeaconShape","Box","ChatShape","ComputeContext","ComputeGraphController","ComputeShape","ComputeShapeLayout","ConstantComponent","ConstantShape","DatabaseComponent","DatabaseShape","FunctionBody","FunctionShape","GptComponent","GptRealtimeComponent","GptRealtimeShape","GptShape","IfComponent","IfElseComponent","IfElseShape","IfShape","InvalidStateError","JsonComponent","JsonShape","JsonTransformComponent","JsonTransformShape","NotShape","OrShape","QueueComponent","QueueItem","QueueShape","RandomComponent","RandomShape","ReducerComponent","ReducerShape","ScopeComponent","ScopeShape","SurfaceComponent","SurfaceShape","SwitchComponent","SwitchShape","TableComponent","TableShape","TemplateShape","TextComponent","TextInputComponent","TextShape","TextToImageComponent","TextToImageShape","ThreadComponent","ThreadItem","ThreadShape","TriggerComponent","TriggerShape","TypeSelect","andShape","appendShape","audioShape","beaconShape","chatShape","computeShapes","constantShape","createAnchorId","createAnd","createAppend","createAudio","createBeacon","createChat","createComputeGraph","createComputeGraphController","createComputeNode","createConstant","createDatabase","createFunction","createFunctionAnchors","createGpt","createGptRealtime","createIf","createIfElse","createJson","createJsonTransform","createNot","createOr","createQueue","createRandom","createReducer","createScope","createShape","createSurface","createSwitch","createTable","createTemplate","createText","createTextToImage","createThread","createTrigger","databaseShape","footerHeight","functionShape","getHeight","getProperties","gptRealtimeShape","gptShape","headerHeight","ifElseShape","ifShape","isValidComputeNode","jsonShape","jsonTransformShape","mapEdge","notShape","orShape","parseAnchorId","queueShape","randomShape","reducerShape","resolveComputeNode","scopeShape","surfaceShape","switchShape","tableShape","templateShape","textShape","textToImageShape","threadShape","triggerShape","useComputeContext","useComputeGraphController","useComputeNodeState","useGraphMonitor"],"entryPoint":"src/index.ts","inputs":{"src/graph/controller.ts":{"bytesInOutput":8942},"src/hooks/compute-context.ts":{"bytesInOutput":248},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useComputeGraphController.ts":{"bytesInOutput":1177},"src/hooks/useComputeNodeState.ts":{"bytesInOutput":1807},"src/hooks/useGraphMonitor.ts":{"bytesInOutput":3500},"src/graph/node-defs.ts":{"bytesInOutput":2592},"src/graph/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0},"src/registry.ts":{"bytesInOutput":910},"src/shapes/common/Box.tsx":{"bytesInOutput":2677},"src/shapes/common/index.ts":{"bytesInOutput":0},"src/shapes/common/FunctionBody.tsx":{"bytesInOutput":3434},"src/shapes/defs.ts":{"bytesInOutput":1018},"src/shapes/common/TypeSelect.tsx":{"bytesInOutput":1078},"src/shapes/index.ts":{"bytesInOutput":0},"src/shapes/Array.tsx":{"bytesInOutput":1039},"src/shapes/Append.tsx":{"bytesInOutput":897},"src/shapes/Audio.tsx":{"bytesInOutput":1534},"src/shapes/Beacon.tsx":{"bytesInOutput":1495},"src/shapes/Boolean.tsx":{"bytesInOutput":4113},"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":1569},"src/shapes/Surface.tsx":{"bytesInOutput":1550},"src/shapes/Switch.tsx":{"bytesInOutput":1597},"src/shapes/Table.tsx":{"bytesInOutput":1077},"src/shapes/Template.tsx":{"bytesInOutput":2649},"src/shapes/Text.tsx":{"bytesInOutput":1446},"src/shapes/Thread.tsx":{"bytesInOutput":2485},"src/shapes/TextToImage.tsx":{"bytesInOutput":981},"src/shapes/Trigger.tsx":{"bytesInOutput":4613},"src/shapes/GptRealtime.tsx":{"bytesInOutput":4463},"src/compute-layout.ts":{"bytesInOutput":983}},"bytes":82919}}}
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":44626,"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":170526},"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,UA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CAAC;AAoB7C,KAAK,WAAW,GAAG,eAAe,CAAC,YAAY,CAAC,GAC9C,iBAAiB,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC;IAC3D,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,UAAU,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;CAC5C,CAAC,CAAC;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,9 +1,13 @@
1
+ import type * as ManagedRuntime from 'effect/ManagedRuntime';
2
+ import type { AiService } from '@dxos/ai';
1
3
  import { Event } from '@dxos/async';
2
- import { type ComputeEdge, type ComputeGraphModel, type ComputeMeta, type ComputeNode, type GptInput, type GptOutput, type GraphDiagnostic } from '@dxos/conductor';
4
+ import { type Credential, type Operation, type OperationRegistry } from '@dxos/compute';
5
+ import { ComputeOutputEvent, type ComputeEdge, type ComputeGraphModel, type ComputeNode, type ComputeNodeMeta, type GptInput, type GptOutput, type GraphDiagnostic } from '@dxos/conductor';
3
6
  import { Resource } from '@dxos/context';
4
- import { type ServiceContainer } from '@dxos/functions';
7
+ import type { Database, Feed } from '@dxos/echo';
8
+ import { type QueueService } from '@dxos/functions';
5
9
  import { type CanvasGraphModel } from '@dxos/react-ui-canvas-editor';
6
- import { type ContentBlock } from '@dxos/schema';
10
+ import { type ContentBlock } from '@dxos/types';
7
11
  import { type ComputeShape } from '../shapes';
8
12
  export declare const InvalidStateError: ErrorConstructor;
9
13
  export type FunctionCallback<INPUT, OUTPUT> = (input: INPUT) => Promise<OUTPUT>;
@@ -31,7 +35,34 @@ type ComputeOutputEvent = {
31
35
  property: string;
32
36
  value: RuntimeValue;
33
37
  };
34
- export declare const createComputeGraphController: (graph: CanvasGraphModel<ComputeShape>, serviceContainer: ServiceContainer) => {
38
+ /**
39
+ * Event emitted by the compute graph during execution.
40
+ */
41
+ export type ComputeEvent = {
42
+ type: 'begin-compute';
43
+ nodeId: string;
44
+ inputs: ReadonlyArray<string>;
45
+ } | {
46
+ type: 'end-compute';
47
+ nodeId: string;
48
+ outputs: ReadonlyArray<string>;
49
+ } | {
50
+ type: 'compute-input';
51
+ nodeId: string;
52
+ property: string;
53
+ value: any;
54
+ } | {
55
+ type: 'compute-output';
56
+ nodeId: string;
57
+ property: string;
58
+ value: any;
59
+ } | {
60
+ type: 'custom';
61
+ nodeId: string;
62
+ event: any;
63
+ };
64
+ export type ComputeServices = AiService.AiService | Database.Service | Feed.FeedService | QueueService | Credential.CredentialsService | Operation.Service | OperationRegistry.Service;
65
+ export declare const createComputeGraphController: (graph: CanvasGraphModel<ComputeShape>, computeRuntime: ManagedRuntime.ManagedRuntime<ComputeServices, never>) => {
35
66
  controller: ComputeGraphController;
36
67
  graph: CanvasGraphModel<{
37
68
  id: string;
@@ -56,7 +87,7 @@ export declare const createComputeGraphController: (graph: CanvasGraphModel<Comp
56
87
  * Controller that manages compute graph state, execution, and service coordination.
57
88
  */
58
89
  export declare class ComputeGraphController extends Resource {
59
- private readonly _serviceContainer;
90
+ private readonly _computeRuntime;
60
91
  /** Persistent compute graph. */
61
92
  private readonly _graph;
62
93
  private readonly _executor;
@@ -73,34 +104,8 @@ export declare class ComputeGraphController extends Resource {
73
104
  readonly update: Event<void>;
74
105
  /** Computed result. */
75
106
  readonly output: Event<ComputeOutputEvent>;
76
- readonly events: Event<{
77
- readonly type: "begin-compute";
78
- readonly inputs: {
79
- readonly [x: string]: any;
80
- };
81
- readonly nodeId: string;
82
- } | {
83
- readonly type: "end-compute";
84
- readonly outputs: {
85
- readonly [x: string]: any;
86
- };
87
- readonly nodeId: string;
88
- } | {
89
- readonly type: "compute-input";
90
- readonly value: any;
91
- readonly property: string;
92
- readonly nodeId: string;
93
- } | {
94
- readonly type: "compute-output";
95
- readonly value: any;
96
- readonly property: string;
97
- readonly nodeId: string;
98
- } | {
99
- readonly type: "custom";
100
- readonly nodeId: string;
101
- readonly event: any;
102
- }>;
103
- constructor(_serviceContainer: ServiceContainer,
107
+ readonly events: Event<ComputeEvent>;
108
+ constructor(_computeRuntime: ManagedRuntime.ManagedRuntime<ComputeServices, never>,
104
109
  /** Persistent compute graph. */
105
110
  _graph: ComputeGraphModel);
106
111
  toJSON(): {
@@ -130,7 +135,7 @@ export declare class ComputeGraphController extends Resource {
130
135
  getInputs(nodeId: string): Record<string, RuntimeValue>;
131
136
  getOutputs(nodeId: string): Record<string, RuntimeValue>;
132
137
  setOutput(nodeId: string, property: string, value: any): void;
133
- getMeta(node: ComputeNode): Promise<ComputeMeta>;
138
+ getMeta(node: ComputeNode): Promise<ComputeNodeMeta>;
134
139
  checkGraph(): Promise<void>;
135
140
  evalNode(nodeId: string): Promise<void>;
136
141
  /**
@@ -138,7 +143,7 @@ export declare class ComputeGraphController extends Resource {
138
143
  * @param startFromNode - Node to start from, otherwise all {@link AUTO_TRIGGER_NODES} are executed.
139
144
  */
140
145
  exec(startFromNode?: string): Promise<void>;
141
- private _createLogger;
146
+ private _createTraceWriter;
142
147
  private _handleEvent;
143
148
  private _onInputComputed;
144
149
  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,EAChB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,eAAe,EAIrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAK9C,eAAO,MAAM,iBAAiB,kBAAQ,CAAC;AAEvC,MAAM,MAAM,gBAAgB,CAAC,KAAK,EAAE,MAAM,IAAI,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAEhF;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;AAEhD,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,gBAAgB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;IAG9C,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;CAC7C;AAED,MAAM,MAAM,YAAY,GACpB;IACE,IAAI,EAAE,cAAc,CA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,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAW5D;IAEK,OAAO,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,eAAe,CAAC,CAGzD;IAGK,UAAU,IAAI,OAAO,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,16 +1,15 @@
1
- import type { ComputeMeta, ComputeNode } from '@dxos/conductor';
2
- import type { ComputeEventPayload } from '@dxos/functions';
3
- import { type RuntimeValue } from '../graph';
1
+ import type { ComputeNode, ComputeNodeMeta } from '@dxos/conductor';
2
+ import { type ComputeEvent, type RuntimeValue } from '../graph';
4
3
  import { type ComputeShape } from '../shapes';
5
4
  export type ComputeNodeState = {
6
5
  node: ComputeNode;
7
- meta: ComputeMeta;
6
+ meta: ComputeNodeMeta;
8
7
  runtime: {
9
8
  inputs: Record<string, RuntimeValue>;
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,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAG3D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAI9C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE;QACP,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;QACrC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;QACtC,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;QAClD,QAAQ,EAAE,MAAM,IAAI,CAAC;QACrB,mBAAmB,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,KAAK,IAAI,CAAC;KACzE,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,YAAY,KAAG,gBAqDzD,CAAC"}
1
+ {"version":3,"file":"useComputeNodeState.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useComputeNodeState.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;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>;