aboutsummaryrefslogtreecommitdiff
path: root/v4.5.80
blob: 9a60833025f6535920f19792487093a589bf8f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# v4.5.80 Release Notes

## Session 1 — AI Debug Visibility

**Problem:** Empty DeepSeek responses, no visibility into LLM I/O, debug console empty, tool calls unnamed in logs, `ai-compress` did not archive.

### Shipped

- `debug-ai-last` — shows the last AI response as an HTML card with a **Copy Raw** button, content truncation indicator, tool call list, and yellow/red highlights for empty responses or errors.
- `debug-ai-send` — displays exactly what was sent to the AI, including all message roles.
- `debug-ai-log` — dumps the full `_toolCallLog` array to the terminal, showing turn#, tool name, arguments, duration, and error status.
- **DeepSeek empty-response logging** — when DeepSeek returns empty, the model, message count, and tool count are logged; stream retry success/failure is also logged.
- **Named tool calls in logs** — logs now read `Used 2 tool(s): get_status, session_save` instead of `Used 2 tool(s)`.
- `ai-compress` now archives to `/memory/archive/` with a **30-file rotation**.
- **Auto-archive** every 10 user messages so recent snapshots exist even if context compression never fires.
- **Debug panel tabs** — the `debug-ai` floating panel now has two tabs: 🔧 Tools and 📡 Raw I/O.
- **Auto-truncate before DeepSeek retry** — on an empty DeepSeek response, context is truncated to the system prompt + the last 5 messages before a stream retry.
- `archive-list` / `archive-read` commands for browsing archived session snapshots.
- Documentation updated in `help.html` and `cheatsheet.html`.

---

## Session 2 — System Audit Fixes

### Shipped

| Phase | ID | Change |
|-------|----|--------|
| A | F1 | `nvfs-resolve` now auto-syncs dirty paths before resolving, eliminating stale index results. |
| B | E | **Lazy-load ext modules** — only `debug-panel` loads at boot; other ext modules load on first use via a `dispatchCommand` intercept. The package index is cached in `localStorage`. |
| C | D | `get_status` now returns an `agents` object containing `activeAgents`, `busyAgents`, `failedAgents`, and `registeredAgents`. |
| D | C | `workflow-list` and `workflow-run` commands — 5 workflow templates: `daily-health-report`, `predict-and-monitor`, `compress-archives`, `media-summarize`, and `sandbox-test`. |
| E | F2 | **Skipped** — `ModuleManagerModule` is a core builtin; no duplicate `module-modmgr` ext file exists to remove. |

### Deferred

- Skill file `/skills/automation-workflows.md` — the workflow commands exist, but the markdown skill file was not created initially. Workflows are currently hardcoded in JS. (Created separately if requested.)

---

## Verification

All shipped features were verified in the browser against the live module source. The only deferred item is the automation-workflows skill file.