Releases: 02engine/desktop
Releases · 02engine/desktop
Release list
v1.3.1
v1.3.0
新功能
- 新增 02Agent AI 助手 addon,可在编辑器内辅助编写、修改和理解 Scratch 项目代码。
- 02Agent 支持多轮对话、上下文附件、选中积木/工作区内容引用和会话导出。
- 新增 02Agent 本机 bridge / skill 工作流,可连接 OpenCode、Codex、Claude Code 等外部 AI 工具到当前项目。
- 02Agent bridge 可动态暴露当前项目的 tools 和 prompt,方便外部 AI 工具直接代理调用 02Agent 能力。
- 新增 02Agent 扩展工具能力,可搜索、读取并协助导入扩展。
- 新增自定义积木栏功能,可隐藏默认分类中的积木,并创建自定义积木分组。
- 自定义积木栏支持导入和导出配置,方便迁移或分享布局。
- 新增角色层级管理器,可直观调整角色在舞台中的前后层级。
- 新增 CCW 自定义扩展导入入口。
- 扩展库与自定义扩展相关界面继续优化。
改进
- 优化 02Agent 系统提示词、工具 schema 和运行时工具链,提高代码生成、项目分析和修改稳定性。
- 改进 02Agent 虚拟文件与补丁工具,可通过 AI 修改 Scratch 脚本和 SVG 造型,并同步回项目。
- 改进 02Agent 面板、历史记录、设置和 bridge 连接状态提示。
- 增强 02Agent 工具调用结果处理和错误提示,避免过长 bridge 响应导致界面卡死。
- 优化大型项目中积木工作区的性能,减少大量积木时的卡顿。
- 改进设置菜单结构,将 02engine 设置与高级设置进一步区分。
- 优化加载页显示,右侧固定显示 Made by 0.2Studio,避免多语言环境下排版异常。
- 优化新 UI 下舞台窗口自适应设置的保存逻辑,刷新后可保留设置。
- 优化协作/联机相关提示与本地化文本。
- 优化变量监视器在缩放舞台下的拖动处理。
- 优化扩展库、自定义扩展导入和相关本地化文本。
修复
- 修复新 UI 中拖动积木到角色或背景时无法传送代码的问题。
- 修复新 UI 中拖动中的积木可能被舞台窗口或角色窗口遮挡的问题。
- 修复背景选择器无法被积木投放逻辑正确识别的问题。
- 修复文件夹 addon 删除文件夹时可能错误调用删除角色逻辑的问题。
- 修复自定义积木栏中部分分类或积木显示不完整的问题。
- 修复自定义积木分组中相同类型积木可能错误显示为第一个积木的问题。
- 修复旧 UI 首次切换角色时工作区可能不刷新的问题。
- 修复部分积木 glow/report 在目标积木不存在时可能崩溃的问题。
- 修复 folders addon 的文件夹伪 ID 可能污染角色 hover 状态的问题。
- 修复舞台窗口自适应开关刷新后可能不保留的问题。
- 修复加载页右侧文字在中文或其他语言下可能排版错乱的问题。
- 修复若干运行时报错、构建问题和界面细节问题。
New Features
- Added the 02Agent AI assistant addon for helping write, edit, and understand Scratch project code inside the editor.
- 02Agent now supports multi-turn chat, context attachments, selected block/workspace references, and conversation export.
- Added a local 02Agent bridge / skill workflow for connecting the current project with external AI tools such as OpenCode, Codex, and Claude Code.
- The 02Agent bridge can dynamically expose the current project’s tools and prompt, allowing external AI tools to proxy 02Agent capabilities directly.
- Added 02Agent extension tooling for searching, reading, and helping import extensions.
- Added a customizable toolbox layout system for hiding default blocks and creating custom block groups.
- Added import/export support for toolbox layout configurations.
- Added a sprite layer manager for visually adjusting sprite rendering order on the stage.
- Added a CCW custom extension import entry.
- Improved extension library and custom extension related UI.
Improvements
- Optimized 02Agent system prompts, tool schemas, and runtime tooling for more stable code generation, project analysis, and project editing.
- Improved 02Agent virtual file and patch tools, allowing AI-assisted edits to Scratch scripts and SVG costumes with project sync.
- Improved the 02Agent panel, history view, settings, and bridge connection status messages.
- Improved 02Agent tool-call result handling and error messages, including safeguards for oversized bridge responses.
- Improved block workspace performance for large projects.
- Refined the settings menu structure by separating 02engine settings from advanced settings.
- Updated the loading screen so Made by 0.2Studio is always shown in English, avoiding layout issues in other languages.
- Added persistence for the new UI stage auto-fit setting.
- Improved collaboration/online mode messages and localization.
- Improved monitor dragging behavior when the stage is scaled.
- Improved extension library, custom extension import flow, and related localization.
Fixes
- Fixed code transfer by dragging blocks onto sprites or the stage in the new UI.
- Fixed dragged blocks being hidden behind floating stage or sprite windows in the new UI.
- Fixed stage/backdrop selector detection for block drop targets.
- Fixed folder addon deletion accidentally calling sprite deletion logic.
- Fixed missing or incomplete categories/blocks in the custom toolbox editor.
- Fixed custom toolbox groups sometimes showing the wrong block when multiple blocks shared the same type.
- Fixed the old UI workspace not refreshing correctly on the first sprite switch.
- Fixed possible crashes when glow/report tried to target missing blocks.
- Fixed folder pseudo IDs from the folders addon polluting sprite hover state.
- Fixed the stage auto-fit toggle not always persisting after refresh.
- Fixed loading screen side text layout issues in Chinese and other languages.
- Fixed several runtime errors, build issues, and UI details.
v1.2.7
GUI
- Added automatic crash restore points, plus a crash-debug shortcut:
Ctrl + Shift + Alt + Z + 0 - Improved Backpack stability and fixed actions that could fail in some cases
- Fixed extension library page layout issues
- Added draggable minimized buttons for some New UI windows
- Added collapsible top menu bar support
- Added optional offscreen sprite rendering skip for better performance in some projects
- Cleaned up old forum / Git / Flarum-related UI and related leftover content
- Fixed several storage, styling, and startup prompt issues
- Added a few small polish and surprise touches
Packager
- Updated to
v3.1.0 - Added
Precompile scripts into package (experimental)- Scripts can now be precompiled during packaging
- Packaged output can remove normal source blocks while keeping runtime data and assets
- Added optional obfuscation for precompiled JavaScript
- Supports adjustable strength levels
- Includes visible progress feedback during obfuscation
- Added optional
Private Scratch globalmode- Reduces direct exposure of
Scratch,vm, and related runtime globals in packaged projects - Keeps unsandboxed extensions more compatible while shrinking the default attack surface
- Reduces direct exposure of
- Improved runtime startup flow and compiled-project loading behavior
- Fixed multiple dependency/workflow issues so web builds and local builds stay more consistent
GUI
- 新增崩溃自动保存还原点,并加入崩溃调试快捷键:
Ctrl + Shift + Alt + Z + 0 - 优化书包功能,修复部分情况下操作失效的问题
- 修复扩展选择页面布局显示问题
- 新 UI 下部分最小化窗口按钮现在支持自由拖动
- 新增顶部菜单栏收起功能
- 新增可选的“跳过离屏角色渲染”,在部分作品中可提升性能
- 清理并移除了旧的论坛 / Git / Flarum 相关界面与残留内容
- 修复了若干存储、样式和启动提示相关问题
- 还加入了一些小优化和小彩蛋
Packager
- 版本更新至
v3.1.0 - 新增
Precompile scripts into package (experimental)选项- 可在打包时预编译脚本
- 打包产物可移除普通源码积木,仅保留运行所需数据与素材
- 新增预编译 JavaScript 混淆功能
- 支持混淆强度调节
- 混淆时会显示可见进度,避免看起来像卡死
- 新增可选的
Private Scratch global模式- 减少打包作品中
Scratch、vm等运行时全局对象的直接暴露 - 在尽量保持非沙盒扩展兼容性的同时,缩小默认攻击面
- 减少打包作品中
- 优化了运行时启动流程和 compiled project 加载逻辑
- 修复了多项依赖与 workflow 问题,让网页端和本地构建结果更一致
v1.2.6
New Features
- Added a new Background Settings section in Advanced Settings.
- Users can now upload a custom background image and adjust its blur level.
- Backgrounds can be applied either to the blocks workspace or to the New UI desktop area.
- Added localization support for the new background settings.
- Added a collapsible menu bar button for New UI mode, allowing the top menu bar to be hidden or restored.
New UI Improvements
- Improved editor window behavior in New UI mode.
- Fixed editor windows not updating correctly when switching light/dark themes.
- Fixed cases where newly created editor windows could temporarily show content from the previous target.
- Fixed multi-window editor toolbox sizing issues where the blocks palette could inherit the wrong height from another editor window.
- Improved editor window layout refresh so the blocks area and related UI resize more reliably.
- Removed unnecessary placeholder text when all editor windows are closed.
- Improved window layering so stage, sprite, editor, dialogs, and extension windows appear in the correct order.
- Fixed minimized stage/sprite window restore buttons being partially hidden by the top bar.
- Adjusted default editor window size so it no longer starts fully covering the top menu area.
Addon Compatibility Fixes
- Fixed several addon UI elements disappearing or duplicating after switching New UI windows or creating new editor windows.
- Improved addon DOM refresh behavior to reduce unnecessary reloads while keeping UI-based addons working.
- Fixed addon toolbar items such as variable/search-related UI disappearing when opening new editor windows.
- Reduced risk of duplicate addon-injected menu items or controls after UI remounts.
Blocks Workspace Improvements
- Fixed custom background rendering in the blocks workspace so the original grid overlay can remain visible.
- Fixed incorrect background layering where workspace backgrounds could appear under the wrong UI layer.
- Improved New UI workspace background handling so stage and sprite windows are no longer covered incorrectly.
- Fixed cases where the blocks palette did not refresh after adding certain extensions, such as the custom return value extension.
Stability and Build Fixes
- Fixed build/compile issues in the Bun-based workflow.
- Updated package scripts to use local Node entry points for webpack, Jest, and ESLint, improving compatibility with Bun.
- Restored broken local
scratch-vmandscratch-renderdependencies. - Added missing Jest setup and mock files required by the current test configuration.
- Cleaned up unnecessary repeated addon DOM refresh logic.
- Added safer cleanup for draggable window document event listeners to avoid leaked drag/resize handlers.
新功能
- 在高级设置中新增 背景设置 独立分区。
- 支持用户上传自定义背景图片,并设置图片模糊程度。
- 背景可以应用到 积木编辑区域,也可以应用到 新 UI 窗口桌面区域。
- 为新的背景设置补充了多语言支持。
- 新 UI 模式下新增菜单栏收起按钮,可以隐藏或恢复顶部菜单栏。
新 UI 改进
- 优化了新 UI 编辑窗口的行为。
- 修复切换亮暗主题后,编辑窗口样式不能立即刷新的问题。
- 修复新建角色并创建新编辑窗口时,窗口内容可能暂时显示上一个角色内容的问题。
- 修复多编辑窗口下,左侧积木栏高度可能继承错误窗口尺寸,导致积木显示不完整的问题。
- 改进编辑窗口尺寸刷新逻辑,让积木区和相关 UI 更稳定地适配窗口大小。
- 删除关闭所有编辑窗口后出现的无用提示文字。
- 调整窗口层级关系,使舞台窗口、角色窗口、编辑窗口、弹窗、扩展库等显示顺序更加正确。
- 修复舞台/角色窗口最小化后的展开按钮被顶部栏遮挡的问题。
- 调整编辑窗口默认大小,避免初始状态完全覆盖顶部菜单区域。
Addon 兼容性修复
- 修复切换新 UI 窗口、创建新编辑窗口后,部分 addon UI 消失或重复的问题。
- 改进 addon DOM 刷新逻辑,减少不必要的重复加载,同时保留依赖 DOM 的 addon 正常显示。
- 修复变量、搜索框等 addon 工具栏内容在新建编辑窗口后消失的问题。
- 降低 UI 重新挂载后 addon 菜单项或按钮重复注入的风险。
积木编辑区改进
- 修复自定义积木区背景的显示层级,使原本的网格图层可以继续保留。
- 修复积木区背景被设置到错误图层的问题。
- 修复新 UI 背景可能覆盖舞台窗口、角色窗口的问题。
- 修复添加部分扩展后,积木栏偶尔不刷新的问题,例如自定义返回值扩展。
稳定性与构建修复
- 修复 Bun 工作流下的构建/编译问题。
- 将 package 脚本改为直接调用本地 webpack、Jest、ESLint 入口,提高 Bun 环境兼容性。
- 修复本地
scratch-vm和scratch-render依赖损坏导致无法编译的问题。 - 补齐当前 Jest 配置需要的 setup 和 mock 文件。
- 清理不必要的重复 addon DOM 刷新逻辑。
- 为可拖拽窗口增加更安全的 document 事件清理,避免拖拽/缩放监听残留。
v1.2.5
本次更新带来了 NewUI 下的多编辑窗口支持,并同步完成了一批界面与稳定性优化。
主要更新:
NewUI现已支持多编辑窗口。- 编辑窗口支持拖动、缩放、关闭、全屏,以及锁定当前窗口。
- 锁定窗口后,切换到其他角色会新建一个新的编辑窗口;未锁定时则会复用当前窗口。
- 当前激活的编辑窗口会显示完整编辑器,其他窗口会保留对应角色的信息与预览,方便同时管理多个角色。
- 舞台窗口支持自动适应窗口大小,并新增了对应的顶部按钮。
- 扩展选择界面进行了重新整理,搜索、筛选、来源分类和批量导入更清晰易用。
- 批量导入扩展现已支持更合理的导入逻辑,原生扩展会自动使用普通导入方式。
- 修复了
NewUI/ 旧 UI 切换时部分 addon 重复加载、消失或显示异常的问题。 - 修复了多个窗口层级、最小化按钮遮挡、窗口拖动偏移、窗口缩放同步等问题。
- 优化了部分编辑器和 addon 的性能问题,减少了不必要的实时刷新和重复更新。
This update introduces multi-editor window support in NewUI, along with a series of UI, stability, and workflow improvements.
Highlights:
NewUInow supports multiple editor windows.- Editor windows can be dragged, resized, closed, fullscreened, and locked.
- When a window is locked, selecting another sprite opens a new editor window; when unlocked, the current window is reused.
- The active editor window shows the full editor, while inactive windows keep sprite info and preview content for easier multi-sprite management.
- The stage window now supports auto-fit resizing, with a dedicated top-bar button.
- The extension library UI has been redesigned for a cleaner workflow, with improved search, filtering, source grouping, and batch import.
- Batch extension import now follows better import rules, and built-in extensions automatically use normal import mode.
- Fixed issues where some addons were duplicated, disappeared, or rendered incorrectly when switching between
NewUIand the classic UI. - Fixed multiple window-related issues, including z-index conflicts, minimized button overlap, drag offset problems, and resize syncing issues.
- Improved performance in several editor/addon update paths by reducing unnecessary live refreshes and repeated updates.