feat(gateway): expand sessions surface with operator metadata and paging hardening
This commit is contained in:
+27
-6
@@ -417,13 +417,19 @@ Useful for proactive compaction monitoring and operator dashboards.
|
||||
|
||||
#### `sessions.list`
|
||||
|
||||
List all sessions.
|
||||
List sessions with optional persisted inclusion, frontend filtering, and paging.
|
||||
|
||||
**Request:**
|
||||
```json
|
||||
{
|
||||
"id": 3,
|
||||
"method": "sessions.list"
|
||||
"method": "sessions.list",
|
||||
"params": {
|
||||
"includePersisted": true,
|
||||
"frontend": "ws",
|
||||
"limit": 50,
|
||||
"offset": 0
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -435,12 +441,27 @@ List all sessions.
|
||||
"sessions": [
|
||||
{
|
||||
"id": "telegram:123456",
|
||||
"createdAt": "2025-02-13T10:00:00Z",
|
||||
"lastActiveAt": "2025-02-13T12:00:00Z",
|
||||
"frontend": "telegram",
|
||||
"userId": "123456",
|
||||
"messageCount": 42,
|
||||
"connectionCount": 1
|
||||
"lastMessageAt": 1739448000000,
|
||||
"config": {
|
||||
"modelTier": "fast",
|
||||
"queue": {
|
||||
"mode": "followup",
|
||||
"overflow": "drop_old",
|
||||
"cap": 8,
|
||||
"debounceMs": 250,
|
||||
"summarizeOverflow": true
|
||||
},
|
||||
"elevation": {
|
||||
"active": false,
|
||||
"untilMs": 1739451600000
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"total": 1
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
+18
-2
@@ -5060,10 +5060,26 @@
|
||||
"docs/plans/state.json"
|
||||
],
|
||||
"test_status": "pnpm test:run src/tools/builtin/agent-delegate.test.ts + pnpm typecheck passing"
|
||||
},
|
||||
"post-parity-ops-ux-reliability-capability-sessions-surface": {
|
||||
"status": "completed",
|
||||
"date": "2026-02-18",
|
||||
"updated": "2026-02-18",
|
||||
"summary": "Delivered a post-parity 3-track slice in one sessions-focused release: operator UX polish (dashboard Sessions page now shows frontend/model/queue/last-activity with frontend filter + inactive toggle), reliability hardening (`sessions.list`/`sessions.history` now validate and bound pagination/filter params), and capability expansion (`sessions.list` now supports persisted inclusion, frontend filtering, total counts, and per-session config snapshot metadata for model/queue/elevation visibility).",
|
||||
"files_modified": [
|
||||
"src/session/manager.ts",
|
||||
"src/session/manager.test.ts",
|
||||
"src/gateway/handlers/sessions.ts",
|
||||
"src/gateway/handlers/handlers.test.ts",
|
||||
"src/gateway/ui/pages/sessions.js",
|
||||
"docs/api/PROTOCOL.md",
|
||||
"docs/plans/state.json"
|
||||
],
|
||||
"test_status": "pnpm test:run src/session/manager.test.ts src/gateway/handlers/handlers.test.ts + pnpm typecheck passing"
|
||||
}
|
||||
},
|
||||
"overall_progress": {
|
||||
"total_test_count": 1882,
|
||||
"total_test_count": 1887,
|
||||
"all_tests_passing": true,
|
||||
"p0_completion": "3/3 (100%)",
|
||||
"p1_completion": "4/4 (100%)",
|
||||
@@ -5083,7 +5099,7 @@
|
||||
"gmail_auth_cli": "flynn gmail-auth command implemented with OAuth2 flow, doctor check, config routed to Telegram",
|
||||
"native_audio_support": "completed — smart routing for native audio (Gemini/OpenAI/GitHub) vs Whisper transcription fallback",
|
||||
"remaining_phases_completion": "Phase 1: 3/3 (100%) — context levels, command registry, memory structure. Phase 2: 3/3 (100%) — component registry, confidence routing, history index. Phase 3: 2/2 (100%) — adaptive memory/compaction, truthfulness/autonomy hardening",
|
||||
"next_up": "Define and execute post-parity roadmap slices beyond OpenClaw gap closure (operator UX polish, reliability hardening, and new capability expansion)"
|
||||
"next_up": "Monitor production feedback for the expanded sessions operator surface and prioritize next post-parity slice from reliability and capability roadmap"
|
||||
},
|
||||
"soul_md_and_cron_create": {
|
||||
"date": "2026-02-11",
|
||||
|
||||
Reference in New Issue
Block a user