feat(editor/runtime): Replace bare editor with Monaco-based editor and add runtime + workspace/filetree integration

This commit is contained in:
2025-12-30 15:37:18 +00:00
parent a3a12c8b4c
commit a8f24e83de
20 changed files with 1513 additions and 62 deletions

View File

@@ -1,5 +1,15 @@
# Changelog
## 2025-12-30 - 3.13.0 - feat(editor/runtime)
Replace bare editor with Monaco-based editor and add runtime + workspace/filetree integration
- Removed dees-editor-bare and replaced usages with dees-editor-monaco (includes MONACO_VERSION file).
- Added IExecutionEnvironment interface and WebContainerEnvironment implementation (uses @webcontainer/api) to provide a browser Node/runtime API.
- Added new components: dees-editor-filetree and dees-editor-workspace to support file tree, multiple open files, and workspace actions wired to the execution environment.
- dees-terminal updated to accept an executionEnvironment (IExecutionEnvironment), renamed environment -> environmentVariables, provides environmentPromise (deprecated note), and now initializes/uses the provided environment to spawn shell processes and write /source.env.
- Updated imports/usages across components (dees-input-code, dees-editor-markdown, group index exports) to use the new Monaco editor and runtime modules.
- Behavioral breaking changes: consumers must supply an IExecutionEnvironment to components that now depend on it (e.g. dees-terminal, workspace, filetree); dees-editor-bare removal is a breaking API change.
## 2025-12-30 - 3.12.2 - fix(dees-editor-bare)
make Monaco editor follow domtools theme and clean up theme subscription on disconnect