@dxos/plugin-debug 0.12.0-next-73daef452f1464b62efdbca75fb0067c1066f264 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PLUGIN.mdl +241 -3
- package/README.md +27 -3
- package/dist/lib/Debug.mjs.map +1 -1
- package/dist/lib/DebugNodes.mjs +21 -2
- package/dist/lib/DebugNodes.mjs.map +1 -1
- package/dist/lib/DebugOperation.mjs +166 -2
- package/dist/lib/DebugOperation.mjs.map +1 -1
- package/dist/lib/DebugPlugin.mjs.map +1 -1
- package/dist/lib/DebugSurface.mjs +7 -2
- package/dist/lib/DebugSurface.mjs.map +1 -1
- package/dist/lib/IncidentSpace.mjs +2 -0
- package/dist/lib/PipelineSpace.mjs +2 -0
- package/dist/lib/ReviewSpace.mjs +2 -0
- package/dist/lib/StockfishSpace.mjs +2 -0
- package/dist/lib/TidepoolSpace.mjs +2 -0
- package/dist/lib/WeatherSpace.mjs +2 -0
- package/dist/lib/WorkerSpace.mjs +2 -0
- package/dist/lib/capabilities.browser.mjs +71 -0
- package/dist/lib/capabilities.browser.mjs.map +1 -0
- package/dist/lib/capabilities.mjs +17 -7
- package/dist/lib/capabilities.mjs.map +1 -1
- package/dist/lib/capabilities.node.mjs +13 -3
- package/dist/lib/capabilities.node.mjs.map +1 -1
- package/dist/lib/capabilities.tauri.mjs +71 -0
- package/dist/lib/capabilities.tauri.mjs.map +1 -0
- package/dist/lib/capabilities.workerd.mjs +3 -1
- package/dist/lib/capabilities.workerd.mjs.map +1 -1
- package/dist/lib/chunk-DebugConsole.mjs +241 -0
- package/dist/lib/chunk-DebugConsole.mjs.map +1 -0
- package/dist/lib/chunk-DebugObjectPanel.mjs +12 -16
- package/dist/lib/chunk-DebugObjectPanel.mjs.map +1 -1
- package/dist/lib/chunk-DebugPanelDrawer.mjs +48 -0
- package/dist/lib/chunk-DebugPanelDrawer.mjs.map +1 -0
- package/dist/lib/chunk-DebugPanelHeader.mjs +280 -0
- package/dist/lib/chunk-DebugPanelHeader.mjs.map +1 -0
- package/dist/lib/chunk-DebugPanelStatus.mjs +127 -0
- package/dist/lib/chunk-DebugPanelStatus.mjs.map +1 -0
- package/dist/lib/chunk-DebugSettings.mjs +81 -70
- package/dist/lib/chunk-DebugSettings.mjs.map +1 -1
- package/dist/lib/chunk-DebugSpaceObjectsPanel.mjs +21 -12
- package/dist/lib/chunk-DebugSpaceObjectsPanel.mjs.map +1 -1
- package/dist/lib/chunk-DebugStatus.mjs +12 -12
- package/dist/lib/chunk-DebugStatus.mjs.map +1 -1
- package/dist/lib/chunk-IncidentSpace.mjs +269 -0
- package/dist/lib/chunk-IncidentSpace.mjs.map +1 -0
- package/dist/lib/chunk-LoggerPanel.mjs +18 -0
- package/dist/lib/chunk-LoggerPanel.mjs.map +1 -0
- package/dist/lib/chunk-PLUGIN.mjs +6 -0
- package/dist/lib/chunk-PLUGIN.mjs.map +1 -0
- package/dist/lib/chunk-PipelineSpace.mjs +378 -0
- package/dist/lib/chunk-PipelineSpace.mjs.map +1 -0
- package/dist/lib/chunk-ReviewSpace.mjs +356 -0
- package/dist/lib/chunk-ReviewSpace.mjs.map +1 -0
- package/dist/lib/chunk-SpaceGenerator.mjs +107 -73
- package/dist/lib/chunk-SpaceGenerator.mjs.map +1 -1
- package/dist/lib/chunk-StatsPanel.mjs +28 -35
- package/dist/lib/chunk-StatsPanel.mjs.map +1 -1
- package/dist/lib/chunk-StockfishSpace.mjs +563 -0
- package/dist/lib/chunk-StockfishSpace.mjs.map +1 -0
- package/dist/lib/chunk-TidepoolSpace.mjs +544 -0
- package/dist/lib/chunk-TidepoolSpace.mjs.map +1 -0
- package/dist/lib/chunk-WeatherSpace.mjs +206 -0
- package/dist/lib/chunk-WeatherSpace.mjs.map +1 -0
- package/dist/lib/chunk-Wireframe.mjs +6 -6
- package/dist/lib/chunk-Wireframe.mjs.map +1 -1
- package/dist/lib/chunk-WorkerSpace.mjs +177 -0
- package/dist/lib/chunk-WorkerSpace.mjs.map +1 -0
- package/dist/lib/chunk-app-graph-builder.mjs +72 -40
- package/dist/lib/chunk-app-graph-builder.mjs.map +1 -1
- package/dist/lib/chunk-create-space-from-template.mjs +55 -0
- package/dist/lib/chunk-create-space-from-template.mjs.map +1 -0
- package/dist/lib/chunk-errors.mjs +13 -0
- package/dist/lib/chunk-errors.mjs.map +1 -0
- package/dist/lib/chunk-graph-retention.mjs +14 -0
- package/dist/lib/chunk-graph-retention.mjs.map +1 -0
- package/dist/lib/chunk-insert-lorem-ipsum.mjs +2 -2
- package/dist/lib/chunk-log-recording.mjs +29 -1
- package/dist/lib/chunk-log-recording.mjs.map +1 -1
- package/dist/lib/chunk-open-page.mjs +29 -0
- package/dist/lib/chunk-open-page.mjs.map +1 -0
- package/dist/lib/chunk-operation-handler.mjs +5 -0
- package/dist/lib/chunk-operation-handler.mjs.map +1 -1
- package/dist/lib/chunk-react-surface.mjs +73 -71
- package/dist/lib/chunk-react-surface.mjs.map +1 -1
- package/dist/lib/chunk-settings.mjs +2 -2
- package/dist/lib/chunk-settings.mjs.map +1 -1
- package/dist/lib/chunk-snapshot.mjs +170 -0
- package/dist/lib/chunk-snapshot.mjs.map +1 -0
- package/dist/lib/chunk-space-templates.mjs +21 -0
- package/dist/lib/chunk-space-templates.mjs.map +1 -0
- package/dist/lib/chunk-stats-panel.mjs +1 -1
- package/dist/lib/chunk-stats-panel.mjs.map +1 -1
- package/dist/lib/chunk-undo.mjs +17 -0
- package/dist/lib/chunk-undo.mjs.map +1 -0
- package/dist/lib/chunk-view-state.mjs +37 -0
- package/dist/lib/chunk-view-state.mjs.map +1 -0
- package/dist/lib/components.mjs +68 -28
- package/dist/lib/components.mjs.map +1 -1
- package/dist/lib/containers.mjs +5 -2
- package/dist/lib/containers.mjs.map +1 -1
- package/dist/lib/index.mjs +8 -2
- package/dist/lib/meta.mjs +3 -2
- package/dist/lib/meta.mjs.map +1 -1
- package/dist/lib/operations.mjs +7 -1
- package/dist/lib/operations.mjs.map +1 -1
- package/dist/lib/plugin.mjs +2 -2
- package/dist/lib/plugin.mjs.map +1 -1
- package/dist/lib/translations.mjs +13 -4
- package/dist/lib/translations.mjs.map +1 -1
- package/dist/types/scripts/build-template-archive.d.ts +2 -0
- package/dist/types/scripts/build-template-archive.d.ts.map +1 -0
- package/dist/types/src/DebugPlugin.d.ts +2 -2
- package/dist/types/src/DebugPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/DebugSurfaces.d.ts +4 -5
- package/dist/types/src/capabilities/DebugSurfaces.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +31 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.test.d.ts +2 -0
- package/dist/types/src/capabilities/app-graph-builder.test.d.ts.map +1 -0
- package/dist/types/src/capabilities/gen/browser.d.ts +14 -0
- package/dist/types/src/capabilities/gen/browser.d.ts.map +1 -0
- package/dist/types/src/capabilities/gen/node.d.ts +2 -0
- package/dist/types/src/capabilities/gen/node.d.ts.map +1 -1
- package/dist/types/src/capabilities/gen/tauri.d.ts +14 -0
- package/dist/types/src/capabilities/gen/tauri.d.ts.map +1 -0
- package/dist/types/src/capabilities/gen/workerd.d.ts +2 -0
- package/dist/types/src/capabilities/gen/workerd.d.ts.map +1 -1
- package/dist/types/src/capabilities/graph-retention.d.ts +5 -0
- package/dist/types/src/capabilities/graph-retention.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +2 -0
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/log-recording.d.ts +4 -0
- package/dist/types/src/capabilities/log-recording.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/space-templates.d.ts +14 -0
- package/dist/types/src/capabilities/space-templates.d.ts.map +1 -0
- package/dist/types/src/components/SchemaTable/SchemaTable.d.ts +4 -3
- package/dist/types/src/components/SchemaTable/SchemaTable.d.ts.map +1 -1
- package/dist/types/src/components/SchemaTable/index.d.ts +1 -1
- package/dist/types/src/components/SchemaTable/index.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts +2 -1
- package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/index.d.ts +2 -2
- package/dist/types/src/components/SpaceGenerator/index.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/presets.d.ts +1 -1
- package/dist/types/src/components/SpaceGenerator/presets.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +2 -2
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/DebugConsole/DebugConsole.d.ts +12 -0
- package/dist/types/src/containers/DebugConsole/DebugConsole.d.ts.map +1 -0
- package/dist/types/src/containers/DebugConsole/DebugConsole.stories.d.ts +103 -0
- package/dist/types/src/containers/DebugConsole/DebugConsole.stories.d.ts.map +1 -0
- package/dist/types/src/containers/DebugConsole/cli.d.ts +24 -0
- package/dist/types/src/containers/DebugConsole/cli.d.ts.map +1 -0
- package/dist/types/src/containers/DebugConsole/index.d.ts +2 -0
- package/dist/types/src/containers/DebugConsole/index.d.ts.map +1 -0
- package/dist/types/src/containers/DebugObjectPanel/DebugObjectPanel.d.ts +1 -1
- package/dist/types/src/containers/DebugObjectPanel/DebugObjectPanel.d.ts.map +1 -1
- package/dist/types/src/containers/DebugObjectPanel/index.d.ts +1 -1
- package/dist/types/src/containers/DebugObjectPanel/index.d.ts.map +1 -1
- package/dist/types/src/containers/DebugPanel/DebugPanel.d.ts +30 -0
- package/dist/types/src/containers/DebugPanel/DebugPanel.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanel/DebugPanel.stories.d.ts +126 -0
- package/dist/types/src/containers/DebugPanel/DebugPanel.stories.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanel/DebugPanelContext.d.ts +16 -0
- package/dist/types/src/containers/DebugPanel/DebugPanelContext.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanel/DebugPanelHeader.d.ts +14 -0
- package/dist/types/src/containers/DebugPanel/DebugPanelHeader.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanel/DebugPanelMain.d.ts +6 -0
- package/dist/types/src/containers/DebugPanel/DebugPanelMain.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanel/DebugPanelSidebar.d.ts +6 -0
- package/dist/types/src/containers/DebugPanel/DebugPanelSidebar.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanel/index.d.ts +7 -0
- package/dist/types/src/containers/DebugPanel/index.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanel/view-state.d.ts +46 -0
- package/dist/types/src/containers/DebugPanel/view-state.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanelDrawer/DebugPanelDrawer.d.ts +10 -0
- package/dist/types/src/containers/DebugPanelDrawer/DebugPanelDrawer.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanelDrawer/DebugPanelDrawer.stories.d.ts +114 -0
- package/dist/types/src/containers/DebugPanelDrawer/DebugPanelDrawer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanelDrawer/index.d.ts +2 -0
- package/dist/types/src/containers/DebugPanelDrawer/index.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanelStatus/DebugPanelStatus.d.ts +11 -0
- package/dist/types/src/containers/DebugPanelStatus/DebugPanelStatus.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanelStatus/DebugPanelStatus.stories.d.ts +107 -0
- package/dist/types/src/containers/DebugPanelStatus/DebugPanelStatus.stories.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPanelStatus/index.d.ts +2 -0
- package/dist/types/src/containers/DebugPanelStatus/index.d.ts.map +1 -0
- package/dist/types/src/containers/DebugPortSettings/DebugPortSettings.d.ts.map +1 -1
- package/dist/types/src/containers/DebugPortSettings/DebugPortSettings.stories.d.ts +13 -4
- package/dist/types/src/containers/DebugPortSettings/DebugPortSettings.stories.d.ts.map +1 -1
- package/dist/types/src/containers/DebugPortSettings/index.d.ts +1 -1
- package/dist/types/src/containers/DebugPortSettings/index.d.ts.map +1 -1
- package/dist/types/src/containers/DebugSettings/DebugSettings.d.ts +2 -2
- package/dist/types/src/containers/DebugSettings/DebugSettings.d.ts.map +1 -1
- package/dist/types/src/containers/DebugSettings/DebugSettings.stories.d.ts +14 -5
- package/dist/types/src/containers/DebugSettings/DebugSettings.stories.d.ts.map +1 -1
- package/dist/types/src/containers/DebugSettings/index.d.ts +1 -1
- package/dist/types/src/containers/DebugSettings/index.d.ts.map +1 -1
- package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts +1 -1
- package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts.map +1 -1
- package/dist/types/src/containers/DebugSpaceObjectsPanel/index.d.ts +1 -1
- package/dist/types/src/containers/DebugSpaceObjectsPanel/index.d.ts.map +1 -1
- package/dist/types/src/containers/DebugStatus/index.d.ts +1 -1
- package/dist/types/src/containers/DebugStatus/index.d.ts.map +1 -1
- package/dist/types/src/containers/LoggerPanel/LoggerPanel.d.ts +6 -0
- package/dist/types/src/containers/LoggerPanel/LoggerPanel.d.ts.map +1 -0
- package/dist/types/src/containers/LoggerPanel/LoggerPanel.stories.d.ts +107 -0
- package/dist/types/src/containers/LoggerPanel/LoggerPanel.stories.d.ts.map +1 -0
- package/dist/types/src/containers/LoggerPanel/index.d.ts +2 -0
- package/dist/types/src/containers/LoggerPanel/index.d.ts.map +1 -0
- package/dist/types/src/containers/SpaceGenerator/SpaceGenerator.d.ts.map +1 -1
- package/dist/types/src/containers/SpaceGenerator/SpaceGenerator.stories.d.ts +13 -4
- package/dist/types/src/containers/SpaceGenerator/SpaceGenerator.stories.d.ts.map +1 -1
- package/dist/types/src/containers/SpaceGenerator/index.d.ts +1 -1
- package/dist/types/src/containers/SpaceGenerator/index.d.ts.map +1 -1
- package/dist/types/src/containers/StatsPanel/StatsPanel.d.ts +5 -1
- package/dist/types/src/containers/StatsPanel/StatsPanel.d.ts.map +1 -1
- package/dist/types/src/containers/StatsPanel/index.d.ts +1 -1
- package/dist/types/src/containers/StatsPanel/index.d.ts.map +1 -1
- package/dist/types/src/containers/Wireframe/Wireframe.d.ts +2 -2
- package/dist/types/src/containers/Wireframe/Wireframe.d.ts.map +1 -1
- package/dist/types/src/containers/Wireframe/index.d.ts +1 -1
- package/dist/types/src/containers/Wireframe/index.d.ts.map +1 -1
- package/dist/types/src/containers/index.d.ts +7 -1
- package/dist/types/src/containers/index.d.ts.map +1 -1
- package/dist/types/src/errors.d.ts +123 -0
- package/dist/types/src/errors.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +2 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/operations/DebugOperationHandlerSet.d.ts.map +1 -1
- package/dist/types/src/operations/create-space-from-template.d.ts +5 -0
- package/dist/types/src/operations/create-space-from-template.d.ts.map +1 -0
- package/dist/types/src/operations/errors.d.ts +33 -0
- package/dist/types/src/operations/errors.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts +1 -1
- package/dist/types/src/operations/index.d.ts.map +1 -1
- package/dist/types/src/operations/open-page.d.ts +5 -0
- package/dist/types/src/operations/open-page.d.ts.map +1 -0
- package/dist/types/src/operations/snapshot.d.ts +5 -0
- package/dist/types/src/operations/snapshot.d.ts.map +1 -0
- package/dist/types/src/operations/snapshot.test.d.ts +2 -0
- package/dist/types/src/operations/snapshot.test.d.ts.map +1 -0
- package/dist/types/src/operations/undo.d.ts +5 -0
- package/dist/types/src/operations/undo.d.ts.map +1 -0
- package/dist/types/src/operations/undo.test.d.ts +2 -0
- package/dist/types/src/operations/undo.test.d.ts.map +1 -0
- package/dist/types/src/plugin.d.ts.map +1 -1
- package/dist/types/src/samples/crm/PipelineSpace.d.ts +21 -0
- package/dist/types/src/samples/crm/PipelineSpace.d.ts.map +1 -0
- package/dist/types/src/samples/crm/PipelineSpace.test.d.ts +2 -0
- package/dist/types/src/samples/crm/PipelineSpace.test.d.ts.map +1 -0
- package/dist/types/src/samples/crm/accounts.d.ts +55 -0
- package/dist/types/src/samples/crm/accounts.d.ts.map +1 -0
- package/dist/types/src/samples/crm/inbox.d.ts +14 -0
- package/dist/types/src/samples/crm/inbox.d.ts.map +1 -0
- package/dist/types/src/samples/crm/pipeline.d.ts +9 -0
- package/dist/types/src/samples/crm/pipeline.d.ts.map +1 -0
- package/dist/types/src/samples/crm/util.d.ts +14 -0
- package/dist/types/src/samples/crm/util.d.ts.map +1 -0
- package/dist/types/src/samples/incident/IncidentSpace.d.ts +21 -0
- package/dist/types/src/samples/incident/IncidentSpace.d.ts.map +1 -0
- package/dist/types/src/samples/incident/IncidentSpace.test.d.ts +2 -0
- package/dist/types/src/samples/incident/IncidentSpace.test.d.ts.map +1 -0
- package/dist/types/src/samples/incident/docs.d.ts +14 -0
- package/dist/types/src/samples/incident/docs.d.ts.map +1 -0
- package/dist/types/src/samples/incident/project.d.ts +16 -0
- package/dist/types/src/samples/incident/project.d.ts.map +1 -0
- package/dist/types/src/samples/incident/tasks.d.ts +9 -0
- package/dist/types/src/samples/incident/tasks.d.ts.map +1 -0
- package/dist/types/src/samples/incident/util.d.ts +32 -0
- package/dist/types/src/samples/incident/util.d.ts.map +1 -0
- package/dist/types/src/samples/index.d.ts +8 -0
- package/dist/types/src/samples/index.d.ts.map +1 -0
- package/dist/types/src/samples/review/ReviewSpace.d.ts +19 -0
- package/dist/types/src/samples/review/ReviewSpace.d.ts.map +1 -0
- package/dist/types/src/samples/review/ReviewSpace.test.d.ts +2 -0
- package/dist/types/src/samples/review/ReviewSpace.test.d.ts.map +1 -0
- package/dist/types/src/samples/review/assets.d.ts +19 -0
- package/dist/types/src/samples/review/assets.d.ts.map +1 -0
- package/dist/types/src/samples/review/util.d.ts +4 -0
- package/dist/types/src/samples/review/util.d.ts.map +1 -0
- package/dist/types/src/samples/review/work.d.ts +15 -0
- package/dist/types/src/samples/review/work.d.ts.map +1 -0
- package/dist/types/src/samples/stockfish/StockfishSpace.d.ts +27 -0
- package/dist/types/src/samples/stockfish/StockfishSpace.d.ts.map +1 -0
- package/dist/types/src/samples/stockfish/StockfishSpace.test.d.ts +2 -0
- package/dist/types/src/samples/stockfish/StockfishSpace.test.d.ts.map +1 -0
- package/dist/types/src/samples/stockfish/docs.d.ts +8 -0
- package/dist/types/src/samples/stockfish/docs.d.ts.map +1 -0
- package/dist/types/src/samples/stockfish/game.d.ts +10 -0
- package/dist/types/src/samples/stockfish/game.d.ts.map +1 -0
- package/dist/types/src/samples/stockfish/project.d.ts +31 -0
- package/dist/types/src/samples/stockfish/project.d.ts.map +1 -0
- package/dist/types/src/samples/stockfish/run.test.d.ts +2 -0
- package/dist/types/src/samples/stockfish/run.test.d.ts.map +1 -0
- package/dist/types/src/samples/stockfish/skill.d.ts +8 -0
- package/dist/types/src/samples/stockfish/skill.d.ts.map +1 -0
- package/dist/types/src/samples/stockfish/tasks.d.ts +12 -0
- package/dist/types/src/samples/stockfish/tasks.d.ts.map +1 -0
- package/dist/types/src/samples/stockfish/util.d.ts +14 -0
- package/dist/types/src/samples/stockfish/util.d.ts.map +1 -0
- package/dist/types/src/samples/tidepool/TidepoolSpace.d.ts +22 -0
- package/dist/types/src/samples/tidepool/TidepoolSpace.d.ts.map +1 -0
- package/dist/types/src/samples/tidepool/TidepoolSpace.test.d.ts +2 -0
- package/dist/types/src/samples/tidepool/TidepoolSpace.test.d.ts.map +1 -0
- package/dist/types/src/samples/tidepool/docs.d.ts +12 -0
- package/dist/types/src/samples/tidepool/docs.d.ts.map +1 -0
- package/dist/types/src/samples/tidepool/project.d.ts +20 -0
- package/dist/types/src/samples/tidepool/project.d.ts.map +1 -0
- package/dist/types/src/samples/tidepool/tasks.d.ts +14 -0
- package/dist/types/src/samples/tidepool/tasks.d.ts.map +1 -0
- package/dist/types/src/samples/tidepool/team.d.ts +9 -0
- package/dist/types/src/samples/tidepool/team.d.ts.map +1 -0
- package/dist/types/src/samples/tidepool/util.d.ts +14 -0
- package/dist/types/src/samples/tidepool/util.d.ts.map +1 -0
- package/dist/types/src/samples/weather/WeatherSpace.d.ts +21 -0
- package/dist/types/src/samples/weather/WeatherSpace.d.ts.map +1 -0
- package/dist/types/src/samples/weather/WeatherSpace.test.d.ts +2 -0
- package/dist/types/src/samples/weather/WeatherSpace.test.d.ts.map +1 -0
- package/dist/types/src/samples/weather/project.d.ts +20 -0
- package/dist/types/src/samples/weather/project.d.ts.map +1 -0
- package/dist/types/src/samples/weather/skill.d.ts +12 -0
- package/dist/types/src/samples/weather/skill.d.ts.map +1 -0
- package/dist/types/src/samples/weather/tasks.d.ts +9 -0
- package/dist/types/src/samples/weather/tasks.d.ts.map +1 -0
- package/dist/types/src/samples/weather/util.d.ts +16 -0
- package/dist/types/src/samples/weather/util.d.ts.map +1 -0
- package/dist/types/src/samples/worker/WorkerSpace.d.ts +22 -0
- package/dist/types/src/samples/worker/WorkerSpace.d.ts.map +1 -0
- package/dist/types/src/samples/worker/WorkerSpace.test.d.ts +2 -0
- package/dist/types/src/samples/worker/WorkerSpace.test.d.ts.map +1 -0
- package/dist/types/src/samples/worker/project.d.ts +18 -0
- package/dist/types/src/samples/worker/project.d.ts.map +1 -0
- package/dist/types/src/samples/worker/tasks.d.ts +9 -0
- package/dist/types/src/samples/worker/tasks.d.ts.map +1 -0
- package/dist/types/src/samples/worker/util.d.ts +14 -0
- package/dist/types/src/samples/worker/util.d.ts.map +1 -0
- package/dist/types/src/stories/SpaceTemplates.stories.d.ts +114 -0
- package/dist/types/src/stories/SpaceTemplates.stories.d.ts.map +1 -0
- package/dist/types/src/testing/index.d.ts +3 -0
- package/dist/types/src/testing/index.d.ts.map +1 -0
- package/dist/types/src/testing/stub-drawer-plugin.d.ts +8 -0
- package/dist/types/src/testing/stub-drawer-plugin.d.ts.map +1 -0
- package/dist/types/src/testing/stub-tools-plugin.d.ts +19 -0
- package/dist/types/src/testing/stub-tools-plugin.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts +13 -4
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Debug.d.ts +2 -2
- package/dist/types/src/types/Debug.d.ts.map +1 -1
- package/dist/types/src/types/DebugNodes.d.ts +13 -1
- package/dist/types/src/types/DebugNodes.d.ts.map +1 -1
- package/dist/types/src/types/DebugOperation.d.ts +119 -0
- package/dist/types/src/types/DebugOperation.d.ts.map +1 -1
- package/dist/types/src/types/DebugSurface.d.ts +7 -0
- package/dist/types/src/types/DebugSurface.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +6 -6
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dx.config.ts +3 -2
- package/package.json +129 -73
- package/scripts/build-template-archive.ts +65 -0
- package/src/DebugPlugin.ts +1 -1
- package/src/capabilities/DebugSurfaces.tsx +85 -71
- package/src/capabilities/app-graph-builder.test.ts +45 -0
- package/src/capabilities/app-graph-builder.ts +83 -46
- package/src/capabilities/gen/browser.ts +85 -0
- package/src/capabilities/gen/node.ts +15 -8
- package/src/capabilities/gen/tauri.ts +85 -0
- package/src/capabilities/gen/workerd.ts +11 -4
- package/src/capabilities/graph-retention.ts +23 -0
- package/src/capabilities/index.ts +18 -10
- package/src/capabilities/log-recording.ts +20 -1
- package/src/capabilities/operation-handler.ts +9 -0
- package/src/capabilities/react-surface.ts +33 -29
- package/src/capabilities/settings.ts +2 -2
- package/src/capabilities/space-templates.ts +25 -0
- package/src/capabilities/stats-panel.ts +1 -1
- package/src/components/SchemaTable/SchemaTable.tsx +44 -10
- package/src/components/SchemaTable/index.ts +1 -1
- package/src/components/SpaceGenerator/ObjectGenerator.tsx +22 -2
- package/src/components/SpaceGenerator/index.ts +2 -2
- package/src/components/SpaceGenerator/presets.ts +4 -4
- package/src/components/index.ts +2 -2
- package/src/containers/DebugConsole/DebugConsole.stories.tsx +29 -0
- package/src/containers/DebugConsole/DebugConsole.tsx +94 -0
- package/src/containers/DebugConsole/cli.ts +296 -0
- package/src/containers/DebugConsole/index.ts +5 -0
- package/src/containers/DebugObjectPanel/DebugObjectPanel.tsx +44 -44
- package/src/containers/DebugObjectPanel/index.ts +1 -1
- package/src/containers/DebugPanel/DebugPanel.stories.tsx +118 -0
- package/src/containers/DebugPanel/DebugPanel.tsx +72 -0
- package/src/containers/DebugPanel/DebugPanelContext.ts +33 -0
- package/src/containers/DebugPanel/DebugPanelHeader.tsx +54 -0
- package/src/containers/DebugPanel/DebugPanelMain.tsx +116 -0
- package/src/containers/DebugPanel/DebugPanelSidebar.tsx +123 -0
- package/src/containers/DebugPanel/index.ts +10 -0
- package/src/containers/DebugPanel/view-state.ts +60 -0
- package/src/containers/DebugPanelDrawer/DebugPanelDrawer.stories.tsx +92 -0
- package/src/containers/DebugPanelDrawer/DebugPanelDrawer.tsx +72 -0
- package/src/containers/DebugPanelDrawer/index.ts +5 -0
- package/src/containers/DebugPanelStatus/DebugPanelStatus.stories.tsx +119 -0
- package/src/containers/DebugPanelStatus/DebugPanelStatus.tsx +167 -0
- package/src/containers/DebugPanelStatus/index.ts +5 -0
- package/src/containers/DebugPortSettings/DebugPortSettings.stories.tsx +2 -2
- package/src/containers/DebugPortSettings/DebugPortSettings.tsx +33 -40
- package/src/containers/DebugPortSettings/index.ts +1 -1
- package/src/containers/DebugSettings/DebugSettings.stories.tsx +1 -1
- package/src/containers/DebugSettings/DebugSettings.tsx +71 -64
- package/src/containers/DebugSettings/index.ts +1 -1
- package/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.tsx +39 -28
- package/src/containers/DebugSpaceObjectsPanel/index.ts +1 -1
- package/src/containers/DebugStatus/DebugStatus.tsx +10 -10
- package/src/containers/DebugStatus/index.ts +1 -1
- package/src/containers/LoggerPanel/LoggerPanel.stories.tsx +62 -0
- package/src/containers/LoggerPanel/LoggerPanel.tsx +28 -0
- package/src/containers/LoggerPanel/index.ts +5 -0
- package/src/containers/SpaceGenerator/SpaceGenerator.stories.tsx +8 -8
- package/src/containers/SpaceGenerator/SpaceGenerator.tsx +102 -73
- package/src/containers/SpaceGenerator/index.ts +1 -1
- package/src/containers/StatsPanel/StatsPanel.tsx +32 -31
- package/src/containers/StatsPanel/index.ts +1 -1
- package/src/containers/Wireframe/Wireframe.tsx +8 -7
- package/src/containers/Wireframe/index.ts +1 -1
- package/src/containers/index.ts +22 -9
- package/src/errors.ts +23 -0
- package/src/index.ts +2 -2
- package/src/meta.ts +1 -1
- package/src/operations/DebugOperationHandlerSet.ts +5 -1
- package/src/operations/create-space-from-template.ts +57 -0
- package/src/operations/errors.ts +8 -0
- package/src/operations/index.ts +1 -1
- package/src/operations/open-page.ts +51 -0
- package/src/operations/snapshot.test.ts +57 -0
- package/src/operations/snapshot.ts +243 -0
- package/src/operations/undo.test.ts +19 -0
- package/src/operations/undo.ts +28 -0
- package/src/plugin.tsx +4 -0
- package/src/samples/crm/PipelineSpace.test.ts +55 -0
- package/src/samples/crm/PipelineSpace.ts +52 -0
- package/src/samples/crm/accounts.ts +153 -0
- package/src/samples/crm/inbox.ts +158 -0
- package/src/samples/crm/pipeline.ts +70 -0
- package/src/samples/crm/util.ts +18 -0
- package/src/samples/incident/IncidentSpace.test.ts +68 -0
- package/src/samples/incident/IncidentSpace.ts +61 -0
- package/src/samples/incident/docs.ts +111 -0
- package/src/samples/incident/project.ts +61 -0
- package/src/samples/incident/tasks.ts +101 -0
- package/src/samples/incident/util.ts +24 -0
- package/src/samples/index.ts +11 -0
- package/src/samples/review/ReviewSpace.test.ts +89 -0
- package/src/samples/review/ReviewSpace.ts +47 -0
- package/src/samples/review/assets.ts +123 -0
- package/src/samples/review/util.ts +10 -0
- package/src/samples/review/work.ts +249 -0
- package/src/samples/stockfish/StockfishSpace.test.ts +129 -0
- package/src/samples/stockfish/StockfishSpace.ts +70 -0
- package/src/samples/stockfish/docs.ts +65 -0
- package/src/samples/stockfish/game.ts +47 -0
- package/src/samples/stockfish/project.ts +87 -0
- package/src/samples/stockfish/run.test.ts +193 -0
- package/src/samples/stockfish/skill.ts +154 -0
- package/src/samples/stockfish/tasks.ts +306 -0
- package/src/samples/stockfish/util.ts +17 -0
- package/src/samples/tidepool/TidepoolSpace.test.ts +61 -0
- package/src/samples/tidepool/TidepoolSpace.ts +65 -0
- package/src/samples/tidepool/docs.ts +140 -0
- package/src/samples/tidepool/project.ts +57 -0
- package/src/samples/tidepool/tasks.ts +252 -0
- package/src/samples/tidepool/team.ts +87 -0
- package/src/samples/tidepool/util.ts +18 -0
- package/src/samples/weather/WeatherSpace.test.ts +93 -0
- package/src/samples/weather/WeatherSpace.ts +59 -0
- package/src/samples/weather/project.ts +76 -0
- package/src/samples/weather/skill.ts +45 -0
- package/src/samples/weather/tasks.ts +98 -0
- package/src/samples/weather/util.ts +21 -0
- package/src/samples/worker/WorkerSpace.test.ts +102 -0
- package/src/samples/worker/WorkerSpace.ts +56 -0
- package/src/samples/worker/project.ts +72 -0
- package/src/samples/worker/tasks.ts +119 -0
- package/src/samples/worker/util.ts +17 -0
- package/src/stories/SpaceTemplates.stories.tsx +105 -0
- package/src/testing/index.ts +6 -0
- package/src/testing/stub-drawer-plugin.ts +65 -0
- package/src/testing/stub-tools-plugin.tsx +95 -0
- package/src/translations.ts +15 -6
- package/src/types/Debug.ts +2 -2
- package/src/types/DebugNodes.ts +21 -1
- package/src/types/DebugOperation.ts +206 -0
- package/src/types/DebugSurface.ts +7 -0
- package/src/types/index.ts +6 -6
- package/dist/lib/chunk-LogStatus.mjs +0 -44
- package/dist/lib/chunk-LogStatus.mjs.map +0 -1
- package/dist/types/src/containers/LogStatus/LogStatus.d.ts +0 -6
- package/dist/types/src/containers/LogStatus/LogStatus.d.ts.map +0 -1
- package/dist/types/src/containers/LogStatus/index.d.ts +0 -2
- package/dist/types/src/containers/LogStatus/index.d.ts.map +0 -1
- package/src/containers/LogStatus/LogStatus.tsx +0 -51
- package/src/containers/LogStatus/index.ts +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/samples/review/util.ts"],"names":[],"mappings":"AAMA,+DAA+D;AAC/D,eAAO,MAAM,SAAS,MAAmC,CAAC;AAE1D,eAAO,MAAQ,OAAO,0CAAqC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import * as Project from '@dxos/compute/Project';
|
|
3
|
+
import { PullRequest, Task, TaskSet } from '@dxos/types';
|
|
4
|
+
import { type MediaResult } from './assets.ts';
|
|
5
|
+
type PullRequestKey = 'rail' | 'oauth' | 'toast' | 'halo' | 'archify';
|
|
6
|
+
export type WorkResult = {
|
|
7
|
+
project: Project.Project;
|
|
8
|
+
taskSet: TaskSet.TaskSet;
|
|
9
|
+
tasks: Task.Task[];
|
|
10
|
+
pullRequests: Record<PullRequestKey, PullRequest.PullRequest>;
|
|
11
|
+
};
|
|
12
|
+
/** Pull requests, reviewers, the task set, and the project that gathers them with the media. */
|
|
13
|
+
export declare const Work: SampleSpace.Phase<WorkResult, MediaResult>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=work.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work.d.ts","sourceRoot":"","sources":["../../../../../src/samples/review/work.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,OAAO,EAAmB,WAAW,EAAQ,IAAI,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEhF,OAAO,EAAiB,KAAK,WAAW,EAAiB,MAAM,aAAa,CAAC;AAS7E,KAAK,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AA8ItE,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;IACzB,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC,cAAc,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CAC/D,CAAC;AAEF,gGAAgG;AAChG,eAAO,MAAM,IAAI,EAAE,WAAW,CAAC,KAAK,CAAC,UAAU,EAAE,WAAW,CA8E1D,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as AppCapabilities from '@dxos/app-toolkit/AppCapabilities';
|
|
2
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
3
|
+
declare const phases: {
|
|
4
|
+
skill: SampleSpace.Phase<import("./skill.ts").SkillResult, void>;
|
|
5
|
+
docs: SampleSpace.Phase<import("./docs.ts").DocsResult, void>;
|
|
6
|
+
game: SampleSpace.Phase<import("./game.ts").GameResult, void>;
|
|
7
|
+
tasks: SampleSpace.Phase<import("./tasks.ts").TasksResult, void>;
|
|
8
|
+
project: SampleSpace.Phase<import("./project.ts").ProjectResult, import("./project.ts").ProjectInput>;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* A starting point rather than a finished world: the brief for a chess engine exposed as an MCP
|
|
12
|
+
* server on Cloudflare Workers, the plan to build it as a task tree nothing has started on, a
|
|
13
|
+
* position to point the finished thing at, and the development-preferences skill a chat working it
|
|
14
|
+
* runs with.
|
|
15
|
+
*
|
|
16
|
+
* The other space templates depict a project mid-flight; this one is meant to be RUN. Every task is
|
|
17
|
+
* `todo`, the design artifact the first stage produces is deliberately absent, and neither the MCP
|
|
18
|
+
* server record nor a repository is seeded — stages four and five create them.
|
|
19
|
+
*
|
|
20
|
+
* It is deliberately reachable with no credentials but the reader's own DXOS identity: the chat runs
|
|
21
|
+
* DeepSeek through the edge, the first deploy uses wrangler's unauthenticated mode, and the only two
|
|
22
|
+
* consent screens are in the last stage.
|
|
23
|
+
*/
|
|
24
|
+
export declare const make: () => SampleSpace.Definition<typeof phases, void>;
|
|
25
|
+
export declare const makeTemplate: () => AppCapabilities.SpaceTemplate;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=StockfishSpace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StockfishSpace.d.ts","sourceRoot":"","sources":["../../../../../src/samples/stockfish/StockfishSpace.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,eAAe,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAU7D,QAAA,MAAM,MAAM;IACV,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,OAAO;CACR,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,IAAI,QAAO,WAAW,CAAC,UAAU,CAAC,OAAO,MAAM,EAAE,IAAI,CAoB9D,CAAC;AAEL,eAAO,MAAM,YAAY,QAAO,eAAe,CAAC,aAM5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StockfishSpace.test.d.ts","sourceRoot":"","sources":["../../../../../src/samples/stockfish/StockfishSpace.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import * as Markdown from '@dxos/plugin-markdown/Markdown';
|
|
3
|
+
export type DocsResult = {
|
|
4
|
+
brief: Markdown.Document;
|
|
5
|
+
};
|
|
6
|
+
/** The project's brief: the requirement the first task designs against. */
|
|
7
|
+
export declare const Docs: SampleSpace.Phase<DocsResult>;
|
|
8
|
+
//# sourceMappingURL=docs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../../../src/samples/stockfish/docs.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAE7D,OAAO,KAAK,QAAQ,MAAM,gCAAgC,CAAC;AA8C3D,MAAM,MAAM,UAAU,GAAG;IAAE,KAAK,EAAE,QAAQ,CAAC,QAAQ,CAAA;CAAE,CAAC;AAEtD,2EAA2E;AAC3E,eAAO,MAAM,IAAI,EAAE,WAAW,CAAC,KAAK,CAAC,UAAU,CAO7C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import * as Chess from '@dxos/plugin-chess/Chess';
|
|
3
|
+
import * as Game from '@dxos/plugin-game/Game';
|
|
4
|
+
export type GameResult = {
|
|
5
|
+
game: Game.Game;
|
|
6
|
+
state: Chess.State;
|
|
7
|
+
};
|
|
8
|
+
/** The position the deployed engine is asked about, as a game the chess chat can open. */
|
|
9
|
+
export declare const ChessGame: SampleSpace.Phase<GameResult>;
|
|
10
|
+
//# sourceMappingURL=game.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"game.d.ts","sourceRoot":"","sources":["../../../../../src/samples/stockfish/game.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAE7D,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAClD,OAAO,KAAK,IAAI,MAAM,wBAAwB,CAAC;AAgB/C,MAAM,MAAM,UAAU,GAAG;IAAE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAA;CAAE,CAAC;AAEjE,0FAA0F;AAC1F,eAAO,MAAM,SAAS,EAAE,WAAW,CAAC,KAAK,CAAC,UAAU,CAkBlD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import * as Instructions from '@dxos/compute/Instructions';
|
|
3
|
+
import * as Project from '@dxos/compute/Project';
|
|
4
|
+
import { type DocsResult } from './docs.ts';
|
|
5
|
+
import { type GameResult } from './game.ts';
|
|
6
|
+
import { type SkillResult } from './skill.ts';
|
|
7
|
+
import { type TasksResult } from './tasks.ts';
|
|
8
|
+
export type ProjectInput = {
|
|
9
|
+
docs: DocsResult;
|
|
10
|
+
tasks: TasksResult;
|
|
11
|
+
skill: SkillResult;
|
|
12
|
+
game: GameResult;
|
|
13
|
+
};
|
|
14
|
+
export type ProjectResult = {
|
|
15
|
+
project: Project.Project;
|
|
16
|
+
instructions: Instructions.Instructions;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* The work-stream. It adopts the task set the tasks phase built (`Project.make` would otherwise
|
|
20
|
+
* create its own empty one) and carries the brief as an artifact.
|
|
21
|
+
*
|
|
22
|
+
* The skill reaches a chat through `instructions.skills`, which is the only binding path: a Skill
|
|
23
|
+
* object sitting in the space is not enabled by proximity. Binding makes it available; the text
|
|
24
|
+
* above is what keeps it on. The Sandbox skill cannot be bound the same way — it is contributed by
|
|
25
|
+
* a plugin under a key rather than stored here — so the text names it instead.
|
|
26
|
+
*
|
|
27
|
+
* No `repo` and no `McpServer`: the repository is created in stage five and the server record in
|
|
28
|
+
* stage four, and seeding either would name a URL that does not exist.
|
|
29
|
+
*/
|
|
30
|
+
export declare const ProjectPhase: SampleSpace.Phase<ProjectResult, ProjectInput>;
|
|
31
|
+
//# sourceMappingURL=project.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../../src/samples/stockfish/project.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,YAAY,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAIjD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAM9C,MAAM,MAAM,YAAY,GAAG;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC;AAE1G,MAAM,MAAM,aAAa,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;IAAC,YAAY,EAAE,YAAY,CAAC,YAAY,CAAA;CAAE,CAAC;AAsBlG;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,KAAK,CAAC,aAAa,EAAE,YAAY,CA6BtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run.test.d.ts","sourceRoot":"","sources":["../../../../../src/samples/stockfish/run.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import * as Skill from '@dxos/compute/Skill';
|
|
3
|
+
export type SkillResult = {
|
|
4
|
+
skill: Skill.Skill;
|
|
5
|
+
};
|
|
6
|
+
/** The development-preferences skill, as a space object a project's instructions can bind. */
|
|
7
|
+
export declare const DevelopmentSkill: SampleSpace.Phase<SkillResult>;
|
|
8
|
+
//# sourceMappingURL=skill.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../../../../../src/samples/stockfish/skill.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,qBAAqB,CAAC;AA+H7C,MAAM,MAAM,WAAW,GAAG;IAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAA;CAAE,CAAC;AAEjD,8FAA8F;AAC9F,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,KAAK,CAAC,WAAW,CAgB1D,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import { Task, TaskSet } from '@dxos/types';
|
|
3
|
+
export type TasksResult = {
|
|
4
|
+
taskSet: TaskSet.TaskSet;
|
|
5
|
+
tasks: Task.Task[];
|
|
6
|
+
root: Task.Task;
|
|
7
|
+
/** The five stages, in order — the level the dependency chain is written across. */
|
|
8
|
+
stages: Task.Task[];
|
|
9
|
+
};
|
|
10
|
+
/** The plan: one root task, five stages under it, and the steps under those. */
|
|
11
|
+
export declare const Tasks: SampleSpace.Phase<TasksResult>;
|
|
12
|
+
//# sourceMappingURL=tasks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../../../src/samples/stockfish/tasks.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAG7D,OAAO,EAAS,IAAI,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAiNnD,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;IACzB,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAChB,oFAAoF;IACpF,MAAM,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;CACrB,CAAC;AA6CF,gFAAgF;AAChF,eAAO,MAAM,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,WAAW,CAmC/C,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Stable reference date so regenerations are reproducible. Override with NOW=2026-05-20 env. */
|
|
2
|
+
export declare const REFERENCE: Date;
|
|
3
|
+
/**
|
|
4
|
+
* Bound to the same reference the definition declares, so the pure content builders can date their
|
|
5
|
+
* objects without every one of them being an effect.
|
|
6
|
+
*/
|
|
7
|
+
export declare const clock: {
|
|
8
|
+
readonly now: Date;
|
|
9
|
+
readonly daysAgo: (days: number, hours?: number) => string;
|
|
10
|
+
readonly daysFromNow: (days: number, hours?: number) => string;
|
|
11
|
+
};
|
|
12
|
+
/** ISO timestamp that many days before {@link REFERENCE}, at an optional UTC hour of that day. */
|
|
13
|
+
export declare const daysAgo: (days: number, hours?: number) => string;
|
|
14
|
+
//# sourceMappingURL=util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/samples/stockfish/util.ts"],"names":[],"mappings":"AAMA,iGAAiG;AACjG,eAAO,MAAM,SAAS,MAAiF,CAAC;AAExG;;;GAGG;AACH,eAAO,MAAM,KAAK;;;;CAAmC,CAAC;AAEtD,kGAAkG;AAClG,eAAO,MAAM,OAAO,0CAAgB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as AppCapabilities from '@dxos/app-toolkit/AppCapabilities';
|
|
2
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
3
|
+
declare const phases: {
|
|
4
|
+
team: SampleSpace.Phase<import("./team.ts").OrgMap, void>;
|
|
5
|
+
people: SampleSpace.Phase<import("./team.ts").PersonMap, import("./team.ts").OrgMap>;
|
|
6
|
+
docs: SampleSpace.Phase<import("./docs.ts").DocsResult, void>;
|
|
7
|
+
tasks: SampleSpace.Phase<import("./tasks.ts").TasksResult, import("./team.ts").PersonMap>;
|
|
8
|
+
project: SampleSpace.Phase<import("./project.ts").ProjectResult, import("./project.ts").ProjectInput>;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* A software-project template: one repository, one work-stream, a two-level task tree, and the
|
|
12
|
+
* documents a project accumulates — a `.mdl` spec with rule and QA-flow blocks, an architecture note
|
|
13
|
+
* carrying a mermaid diagram, and a decision log.
|
|
14
|
+
*
|
|
15
|
+
* The second `SpaceTemplate` definition, and the reason the phase machinery exists: nothing here is
|
|
16
|
+
* shared with the Bramble space except the builder itself — the seeds, the phases and the world are
|
|
17
|
+
* this space's own.
|
|
18
|
+
*/
|
|
19
|
+
export declare const make: () => SampleSpace.Definition<typeof phases, void>;
|
|
20
|
+
export declare const makeTemplate: () => AppCapabilities.SpaceTemplate;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=TidepoolSpace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TidepoolSpace.d.ts","sourceRoot":"","sources":["../../../../../src/samples/tidepool/TidepoolSpace.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,eAAe,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAS7D,QAAA,MAAM,MAAM;IACV,IAAI;IACJ,MAAM;IACN,IAAI;IACJ,KAAK;IACL,OAAO;CACR,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,IAAI,QAAO,WAAW,CAAC,UAAU,CAAC,OAAO,MAAM,EAAE,IAAI,CAsB9D,CAAC;AAEL,eAAO,MAAM,YAAY,QAAO,eAAe,CAAC,aAK5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TidepoolSpace.test.d.ts","sourceRoot":"","sources":["../../../../../src/samples/tidepool/TidepoolSpace.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import * as Markdown from '@dxos/plugin-markdown/Markdown';
|
|
3
|
+
import { Outline } from '@dxos/types';
|
|
4
|
+
export type DocsResult = {
|
|
5
|
+
spec: Markdown.Document;
|
|
6
|
+
architecture: Markdown.Document;
|
|
7
|
+
decisions: Markdown.Document;
|
|
8
|
+
outline: Outline.Outline;
|
|
9
|
+
};
|
|
10
|
+
/** The project's written artifacts, plus the outline that backs its scratch checklist. */
|
|
11
|
+
export declare const Docs: SampleSpace.Phase<DocsResult>;
|
|
12
|
+
//# sourceMappingURL=docs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../../../src/samples/tidepool/docs.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAE7D,OAAO,KAAK,QAAQ,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAgHtC,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,QAAQ,CAAC,QAAQ,CAAC;IACxB,YAAY,EAAE,QAAQ,CAAC,QAAQ,CAAC;IAChC,SAAS,EAAE,QAAQ,CAAC,QAAQ,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;CAC1B,CAAC;AAEF,0FAA0F;AAC1F,eAAO,MAAM,IAAI,EAAE,WAAW,CAAC,KAAK,CAAC,UAAU,CAU7C,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import * as Project from '@dxos/compute/Project';
|
|
3
|
+
import { Repo } from '@dxos/types';
|
|
4
|
+
import { type DocsResult } from './docs.ts';
|
|
5
|
+
import { type TasksResult } from './tasks.ts';
|
|
6
|
+
export type ProjectInput = {
|
|
7
|
+
docs: DocsResult;
|
|
8
|
+
tasks: TasksResult;
|
|
9
|
+
};
|
|
10
|
+
export type ProjectResult = {
|
|
11
|
+
project: Project.Project;
|
|
12
|
+
repo: Repo.Repo;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* The work-stream itself: it names the repository the work lands in, adopts the task set, and holds
|
|
16
|
+
* the written artifacts in order. `Project.make` would create its own empty task set, so the one
|
|
17
|
+
* built by the tasks phase is passed in explicitly.
|
|
18
|
+
*/
|
|
19
|
+
export declare const ProjectPhase: SampleSpace.Phase<ProjectResult, ProjectInput>;
|
|
20
|
+
//# sourceMappingURL=project.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../../src/samples/tidepool/project.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAM9C,MAAM,MAAM,YAAY,GAAG;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,WAAW,CAAA;CAAE,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAA;CAAE,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,KAAK,CAAC,aAAa,EAAE,YAAY,CA6BtE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import { Milestone, Task, TaskSet } from '@dxos/types';
|
|
3
|
+
import { type PersonMap } from './team.ts';
|
|
4
|
+
export type TasksResult = {
|
|
5
|
+
taskSet: TaskSet.TaskSet;
|
|
6
|
+
tasks: Task.Task[];
|
|
7
|
+
milestones: Milestone.Milestone[];
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* The project's work: three milestones and a two-level task tree. The set lists the roots and each
|
|
11
|
+
* parent lists its sub-tasks, both written through `SampleSpace.children`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const Tasks: SampleSpace.Phase<TasksResult, PersonMap>;
|
|
14
|
+
//# sourceMappingURL=tasks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../../../src/samples/tidepool/tasks.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAG7D,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAsI3D,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;IACzB,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IACnB,UAAU,EAAE,SAAS,CAAC,SAAS,EAAE,CAAC;CACnC,CAAC;AA6DF;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,WAAW,EAAE,SAAS,CAqC1D,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import { Organization, Person } from '@dxos/types';
|
|
3
|
+
export type OrgKey = 'tidepool' | 'northwind';
|
|
4
|
+
export type OrgMap = Record<OrgKey, Organization.Organization>;
|
|
5
|
+
export declare const Team: SampleSpace.Phase<OrgMap>;
|
|
6
|
+
export type PersonKey = 'noa' | 'ravi' | 'imogen' | 'theo' | 'lena' | 'sung';
|
|
7
|
+
export type PersonMap = Record<PersonKey, Person.Person>;
|
|
8
|
+
export declare const People: SampleSpace.Phase<PersonMap, OrgMap>;
|
|
9
|
+
//# sourceMappingURL=team.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team.d.ts","sourceRoot":"","sources":["../../../../../src/samples/tidepool/team.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAMnD,MAAM,MAAM,MAAM,GAAG,UAAU,GAAG,WAAW,CAAC;AAE9C,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;AAmB/D,eAAO,MAAM,IAAI,EAAE,WAAW,CAAC,KAAK,CAAC,MAAM,CAazC,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAE7E,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;AAuBzD,eAAO,MAAM,MAAM,EAAE,WAAW,CAAC,KAAK,CAAC,SAAS,EAAE,MAAM,CAatD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Stable reference date so regenerations are reproducible. Override with NOW=2026-05-20 env. */
|
|
2
|
+
export declare const REFERENCE: Date;
|
|
3
|
+
/**
|
|
4
|
+
* Bound to the same reference the definition declares, so the pure content builders can date their
|
|
5
|
+
* objects without every one of them being an effect.
|
|
6
|
+
*/
|
|
7
|
+
export declare const clock: {
|
|
8
|
+
readonly now: Date;
|
|
9
|
+
readonly daysAgo: (days: number, hours?: number) => string;
|
|
10
|
+
readonly daysFromNow: (days: number, hours?: number) => string;
|
|
11
|
+
};
|
|
12
|
+
export declare const daysAgo: (days: number, hours?: number) => string;
|
|
13
|
+
export declare const daysFromNow: (days: number, hours?: number) => string;
|
|
14
|
+
//# sourceMappingURL=util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/samples/tidepool/util.ts"],"names":[],"mappings":"AAMA,iGAAiG;AACjG,eAAO,MAAM,SAAS,MAAiF,CAAC;AAExG;;;GAGG;AACH,eAAO,MAAM,KAAK;;;;CAAmC,CAAC;AAEtD,eAAO,MAAM,OAAO,0CAAgB,CAAC;AAErC,eAAO,MAAM,WAAW,0CAAoB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as AppCapabilities from '@dxos/app-toolkit/AppCapabilities';
|
|
2
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
3
|
+
export { FORECAST_URL } from './util.ts';
|
|
4
|
+
declare const phases: {
|
|
5
|
+
skill: SampleSpace.Phase<import("./skill.ts").SkillResult, void>;
|
|
6
|
+
tasks: SampleSpace.Phase<import("./tasks.ts").TasksResult, void>;
|
|
7
|
+
project: SampleSpace.Phase<import("./project.ts").ProjectResult, import("./project.ts").ProjectInput>;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* The fastest loop through building an MCP server and using it: one Worker with one tool over the
|
|
11
|
+
* Open-Meteo forecast, four tasks from an empty sandbox to a tool call in this chat, all of them the
|
|
12
|
+
* agent's.
|
|
13
|
+
*
|
|
14
|
+
* It sits between `WorkerSpace` (a deploy with nothing to call) and `StockfishSpace` (an engine, a
|
|
15
|
+
* design stage and a publish step): enough to exercise the whole build → deploy → configure → call
|
|
16
|
+
* path, small enough to run unattended. The account stays temporary and unclaimed, and the server is
|
|
17
|
+
* configured on a seeded skill because a skill is where a chat reads MCP servers from.
|
|
18
|
+
*/
|
|
19
|
+
export declare const make: () => SampleSpace.Definition<typeof phases, void>;
|
|
20
|
+
export declare const makeTemplate: () => AppCapabilities.SpaceTemplate;
|
|
21
|
+
//# sourceMappingURL=WeatherSpace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WeatherSpace.d.ts","sourceRoot":"","sources":["../../../../../src/samples/weather/WeatherSpace.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,eAAe,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAO7D,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,QAAA,MAAM,MAAM;IACV,KAAK;IACL,KAAK;IACL,OAAO;CACR,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,IAAI,QAAO,WAAW,CAAC,UAAU,CAAC,OAAO,MAAM,EAAE,IAAI,CAgB9D,CAAC;AAEL,eAAO,MAAM,YAAY,QAAO,eAAe,CAAC,aAM5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WeatherSpace.test.d.ts","sourceRoot":"","sources":["../../../../../src/samples/weather/WeatherSpace.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import * as Instructions from '@dxos/compute/Instructions';
|
|
3
|
+
import * as Project from '@dxos/compute/Project';
|
|
4
|
+
import { type SkillResult } from './skill.ts';
|
|
5
|
+
import { type TasksResult } from './tasks.ts';
|
|
6
|
+
export type ProjectInput = {
|
|
7
|
+
tasks: TasksResult;
|
|
8
|
+
skill: SkillResult;
|
|
9
|
+
};
|
|
10
|
+
export type ProjectResult = {
|
|
11
|
+
project: Project.Project;
|
|
12
|
+
instructions: Instructions.Instructions;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* The work-stream. It adopts the task set the tasks phase built and binds the Weather MCP skill
|
|
16
|
+
* through `instructions.skills` — the only path a seeded skill reaches a chat by — so the run can
|
|
17
|
+
* configure the server with one update and no enable step.
|
|
18
|
+
*/
|
|
19
|
+
export declare const ProjectPhase: SampleSpace.Phase<ProjectResult, ProjectInput>;
|
|
20
|
+
//# sourceMappingURL=project.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../../src/samples/weather/project.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,YAAY,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAKjD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,MAAM,YAAY,GAAG;IAAE,KAAK,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,WAAW,CAAA;CAAE,CAAC;AAEtE,MAAM,MAAM,aAAa,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;IAAC,YAAY,EAAE,YAAY,CAAC,YAAY,CAAA;CAAE,CAAC;AAwBlG;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,KAAK,CAAC,aAAa,EAAE,YAAY,CA4BtE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import * as Skill from '@dxos/compute/Skill';
|
|
3
|
+
export type SkillResult = {
|
|
4
|
+
skill: Skill.Skill;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* The skill the deployed server hangs off. Seeded rather than created by the run because a skill is
|
|
8
|
+
* the one place a chat reads MCP servers from, and the project's instructions can bind a seeded
|
|
9
|
+
* object — so configuring the server is one field update, not a skill to author and enable.
|
|
10
|
+
*/
|
|
11
|
+
export declare const WeatherSkill: SampleSpace.Phase<SkillResult>;
|
|
12
|
+
//# sourceMappingURL=skill.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../../../../../src/samples/weather/skill.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,qBAAqB,CAAC;AAa7C,MAAM,MAAM,WAAW,GAAG;IAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAA;CAAE,CAAC;AAEjD;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,KAAK,CAAC,WAAW,CAiBtD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import { Task, TaskSet } from '@dxos/types';
|
|
3
|
+
export type TasksResult = {
|
|
4
|
+
taskSet: TaskSet.TaskSet;
|
|
5
|
+
tasks: Task.Task[];
|
|
6
|
+
};
|
|
7
|
+
/** The four steps, each depending on the one before it. */
|
|
8
|
+
export declare const Tasks: SampleSpace.Phase<TasksResult>;
|
|
9
|
+
//# sourceMappingURL=tasks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../../../src/samples/weather/tasks.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAG7D,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AA0C5C,MAAM,MAAM,WAAW,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;IAAC,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,CAAA;CAAE,CAAC;AAE3E,2DAA2D;AAC3D,eAAO,MAAM,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,WAAW,CA2C/C,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Stable reference date so regenerations are reproducible. Override with NOW=2026-05-20 env. */
|
|
2
|
+
export declare const REFERENCE: Date;
|
|
3
|
+
/**
|
|
4
|
+
* Bound to the same reference the definition declares, so the pure content builders can date their
|
|
5
|
+
* objects without every one of them being an effect.
|
|
6
|
+
*/
|
|
7
|
+
export declare const clock: {
|
|
8
|
+
readonly now: Date;
|
|
9
|
+
readonly daysAgo: (days: number, hours?: number) => string;
|
|
10
|
+
readonly daysFromNow: (days: number, hours?: number) => string;
|
|
11
|
+
};
|
|
12
|
+
/** ISO timestamp that many days before {@link REFERENCE}, at an optional UTC hour of that day. */
|
|
13
|
+
export declare const daysAgo: (days: number, hours?: number) => string;
|
|
14
|
+
/** The upstream the Worker's one tool wraps; parameterised on coordinates by the tool. */
|
|
15
|
+
export declare const FORECAST_URL = "https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41¤t=temperature_2m,wind_speed_10m&hourly=temperature_2m,relative_humidity_2m,wind_speed_10m";
|
|
16
|
+
//# sourceMappingURL=util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/samples/weather/util.ts"],"names":[],"mappings":"AAMA,iGAAiG;AACjG,eAAO,MAAM,SAAS,MAAiF,CAAC;AAExG;;;GAGG;AACH,eAAO,MAAM,KAAK;;;;CAAmC,CAAC;AAEtD,kGAAkG;AAClG,eAAO,MAAM,OAAO,0CAAgB,CAAC;AAErC,0FAA0F;AAC1F,eAAO,MAAM,YAAY,0KACgJ,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as AppCapabilities from '@dxos/app-toolkit/AppCapabilities';
|
|
2
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
3
|
+
declare const phases: {
|
|
4
|
+
tasks: SampleSpace.Phase<import("./tasks.ts").TasksResult, void>;
|
|
5
|
+
project: SampleSpace.Phase<import("./project.ts").ProjectResult, import("./project.ts").ProjectInput>;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* The smallest thing that still builds and deploys: one Cloudflare Worker returning a greeting and
|
|
9
|
+
* the time, as five tasks from an empty sandbox to a URL that answers.
|
|
10
|
+
*
|
|
11
|
+
* It is the short path through the same ground `StockfishSpace` covers at length. There the work is
|
|
12
|
+
* the engine and the deploy is one stage of five; here the deploy IS the project, so there is no
|
|
13
|
+
* brief to design against, no skill to bind and nothing seeded for the run to point at — a chat
|
|
14
|
+
* that reads the task list has the whole specification.
|
|
15
|
+
*
|
|
16
|
+
* Reachable with no credentials but the reader's own DXOS identity: the first deploy uses wrangler's
|
|
17
|
+
* unauthenticated mode, and the single consent screen is the last task.
|
|
18
|
+
*/
|
|
19
|
+
export declare const make: () => SampleSpace.Definition<typeof phases, void>;
|
|
20
|
+
export declare const makeTemplate: () => AppCapabilities.SpaceTemplate;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=WorkerSpace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkerSpace.d.ts","sourceRoot":"","sources":["../../../../../src/samples/worker/WorkerSpace.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,eAAe,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAM7D,QAAA,MAAM,MAAM;IACV,KAAK;IACL,OAAO;CACR,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,IAAI,QAAO,WAAW,CAAC,UAAU,CAAC,OAAO,MAAM,EAAE,IAAI,CAgB9D,CAAC;AAEL,eAAO,MAAM,YAAY,QAAO,eAAe,CAAC,aAK5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkerSpace.test.d.ts","sourceRoot":"","sources":["../../../../../src/samples/worker/WorkerSpace.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import * as Instructions from '@dxos/compute/Instructions';
|
|
3
|
+
import * as Project from '@dxos/compute/Project';
|
|
4
|
+
import { type TasksResult } from './tasks.ts';
|
|
5
|
+
export type ProjectInput = {
|
|
6
|
+
tasks: TasksResult;
|
|
7
|
+
};
|
|
8
|
+
export type ProjectResult = {
|
|
9
|
+
project: Project.Project;
|
|
10
|
+
instructions: Instructions.Instructions;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The work-stream. It adopts the task set the tasks phase built (`Project.make` would otherwise
|
|
14
|
+
* create its own empty one), and starts with no artifacts: the URL and the response are what the
|
|
15
|
+
* run produces, and seeding either would name something that does not exist.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ProjectPhase: SampleSpace.Phase<ProjectResult, ProjectInput>;
|
|
18
|
+
//# sourceMappingURL=project.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../../src/samples/worker/project.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,YAAY,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAKjD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,MAAM,YAAY,GAAG;IAAE,KAAK,EAAE,WAAW,CAAA;CAAE,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;IAAC,YAAY,EAAE,YAAY,CAAC,YAAY,CAAA;CAAE,CAAC;AAqBlG;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,KAAK,CAAC,aAAa,EAAE,YAAY,CA4BtE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as SampleSpace from '@dxos/app-toolkit/SampleSpace';
|
|
2
|
+
import { Task, TaskSet } from '@dxos/types';
|
|
3
|
+
export type TasksResult = {
|
|
4
|
+
taskSet: TaskSet.TaskSet;
|
|
5
|
+
tasks: Task.Task[];
|
|
6
|
+
};
|
|
7
|
+
/** The five steps, each depending on the one before it. */
|
|
8
|
+
export declare const Tasks: SampleSpace.Phase<TasksResult>;
|
|
9
|
+
//# sourceMappingURL=tasks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../../../src/samples/worker/tasks.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAG7D,OAAO,EAAS,IAAI,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AA6DnD,MAAM,MAAM,WAAW,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;IAAC,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,CAAA;CAAE,CAAC;AAE3E,2DAA2D;AAC3D,eAAO,MAAM,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,WAAW,CA6C/C,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Stable reference date so regenerations are reproducible. Override with NOW=2026-05-20 env. */
|
|
2
|
+
export declare const REFERENCE: Date;
|
|
3
|
+
/**
|
|
4
|
+
* Bound to the same reference the definition declares, so the pure content builders can date their
|
|
5
|
+
* objects without every one of them being an effect.
|
|
6
|
+
*/
|
|
7
|
+
export declare const clock: {
|
|
8
|
+
readonly now: Date;
|
|
9
|
+
readonly daysAgo: (days: number, hours?: number) => string;
|
|
10
|
+
readonly daysFromNow: (days: number, hours?: number) => string;
|
|
11
|
+
};
|
|
12
|
+
/** ISO timestamp that many days before {@link REFERENCE}, at an optional UTC hour of that day. */
|
|
13
|
+
export declare const daysAgo: (days: number, hours?: number) => string;
|
|
14
|
+
//# sourceMappingURL=util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/samples/worker/util.ts"],"names":[],"mappings":"AAMA,iGAAiG;AACjG,eAAO,MAAM,SAAS,MAAiF,CAAC;AAExG;;;GAGG;AACH,eAAO,MAAM,KAAK;;;;CAAmC,CAAC;AAEtD,kGAAkG;AAClG,eAAO,MAAM,OAAO,0CAAgB,CAAC"}
|