gadget/gadget-code/frontend/package.json
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

19 lines
501 B
JSON

{
"name": "gadget-code-frontend",
"version": "1.0.0",
"description": "Gadget Code Frontend - A self-hosted Agentic Engineering Platform (AEP).",
"type": "module",
"scripts": {
"dev": "vite",
"typecheck": "tsc --noEmit",
"build": "tsc --noEmit && vite build"
},
"author": "Robert Colbert <rob.colbert@openplatform.us>",
"license": "Apache-2.0",
"dependencies": {
"ace-builds": "^1.36.0",
"marked": "^16.0.0",
"react-ace": "^12.0.0",
"slug": "^11.0.1"
}
}