Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

docs: update changelog with prompt stage CRUD features

Adam Eivyb1abafd91423
diff --git a/.changelog/v0.9.x.md b/.changelog/v0.9.x.md
index d2cd7c88c9..b618006874 100644
--- a/.changelog/v0.9.x.md
+++ b/.changelog/v0.9.x.md
@@ -19,11 +19,32 @@
- **Integrated toolkit into PortOS server**: Replaced local AI services with toolkit
- Created compatibility shims for existing service imports
- Extended toolkit routes with PortOS-specific vision testing endpoints
+ - Added prompts route wrapper to maintain PortOS API contract
- Added hooks for usage tracking and error event emission
- Backed up original files (`.old.js` suffix) for reference
- Server successfully restarted with toolkit integration
- All existing functionality maintained
+- **Integrated toolkit into FableLoom**: Used npm link to test cross-project compatibility
+ - Created TypeScript declarations for toolkit services
+ - TypeScript wrapper maintains type safety
+ - Both JavaScript (PortOS) and TypeScript (FableLoom) projects now using shared library
+
+- **Full CRUD for prompt stages**: Added create and delete operations to toolkit
+ - New `createStage()` and `deleteStage()` methods in prompts service
+ - `POST /api/prompts` endpoint for creating stages with config and template
+ - `DELETE /api/prompts/:stage` endpoint for removing stages
+ - Automatic cleanup of template files on deletion
+ - Updated TypeScript declarations
+
+### Prompt Management UI
+- **Create/Delete Prompt Stages**: Added stage management UI to `/prompts` page
+ - "+" button to create new stages with modal form
+ - Delete button (trash icon) on each stage in the list
+ - Modal form includes: stage key, display name, description, model selection, returns JSON toggle, template editor
+ - Real-time validation and error handling
+ - Removed unused placeholder stages (code-analysis, command-suggestion)
+
### Template Creation Enhancement
- **Directory Picker for Template Target Path**: Replaced freeform text input with interactive directory browser on `/templates` page
- Default directory now set to parent of PortOS project (`/Users/antic/github.com/atomantic`)