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 today's fixes

Adam Eivy1a697d395040
diff --git a/.changelog/v0.10.x.md b/.changelog/v0.10.x.md
index 3db11fbd51..459602135d 100644
--- a/.changelog/v0.10.x.md
+++ b/.changelog/v0.10.x.md
@@ -304,6 +304,26 @@ This release introduces a structured changelog documentation system for creating
- `routes/scaffold.js`, `routes/detect.js`
- **Root Cause**: Empty or corrupted JSON files would cause `JSON.parse()` to throw "Unexpected end of JSON input", crashing services. Now all JSON file reads use safe parsing with sensible defaults
+### PM2 jlist ANSI Code Parsing
+- **Fixed JSON parse errors on startup**: When PM2 has warnings (like "In-memory PM2 is out-of-date"), it outputs ANSI color codes (`[31m`, `[1m`) before the JSON array. The code was matching the `[` in `[31m` instead of the actual JSON array.
+- **Robust JSON extraction**: Updated `safeJSONParse` and all `pm2 jlist` callers to look for `[{` (array with objects) or `[]` (not followed by digits) instead of just `[`
+- **Affected files**: `cos.js`, `pm2.js`, `fileUtils.js`
+
+### Memory Embeddings Provider Config
+- **Fixed hardcoded localhost URL**: The memory embeddings service was hardcoded to `localhost:1234` even when LM Studio is configured as a remote provider
+- **Dynamic endpoint lookup**: Now reads the LM Studio provider endpoint from `providers.json` on initialization
+- **Better error handling**: Added try/catch to `checkAvailability()` to prevent unhandled promise rejections
+- **UI improvements**: Memory tab now shows the actual endpoint being used and clearer error messages
+
+### Clear Completed Agents Route
+- **Fixed "Agent not found" error**: Clicking "Clear Completed" on the agents page was returning 404 because the `/agents/completed` route came after `/agents/:id`, causing Express to match "completed" as an agent ID
+- **Route order fix**: Moved the specific `/agents/completed` route before the parameterized `/agents/:id` route
+
+### CoS Self-Improvement and App Improvement Toggles
+- **New config options**: Added `selfImprovementEnabled` and `appImprovementEnabled` toggles to CoS config
+- **UI controls**: Both toggles now visible in the CoS Config tab with tooltips explaining their purpose
+- **Granular control**: Users can now disable PortOS self-improvement tasks while keeping app improvement tasks active (or vice versa)
+
## 📦 Installation
```bash