gadget/packages/api
Rob Colbert 1e13f95808 Phase 2: ACE Editor integration and file operations
- Added react-ace and ace-builds dependencies
- Created EditorPanel component with ACE editor integration
- Implemented file read/write socket protocol
- Added backend handlers for fileReadRequest and fileWriteRequest
- Implemented file loading from tree click
- Implemented file saving with Ctrl+S shortcut
- Added dirty state tracking and unsaved changes indicator
- Enforced workspace mode (read-only in Agent mode)
- Added security: path traversal prevention, binary file detection, file size limits
- Updated FilesPanel with split view (tree + editor)

Enables Users to edit files for the first time in Gadget Code.
2026-05-12 19:32:58 -04:00
..
src Phase 2: ACE Editor integration and file operations 2026-05-12 19:32:58 -04:00
.gitignore refactor gadget-code model interfaces to @gadget/api 2026-04-28 12:42:32 -04:00
package.json refactor: unify logging into @gadget/api as GadgetLog 2026-05-08 16:03:28 -04:00
tsconfig.json refactor gadget-code model interfaces to @gadget/api 2026-04-28 12:42:32 -04:00