Commit Graph

8 Commits

Author SHA1 Message Date
Henrik Jess Nielsen
d4cb06479c fix: load board detail with tasks on select, fix progress % calculation
All checks were successful
Build and Deploy DevOpsDash / build-image (push) Successful in 7s
- select() now fetches /api/v1/boards/{id} to get tasks array (lazy, once)
- updateTaskStatus() merges response correctly (spread instead of replacing)
- Progress % in sidebar uses done_count/task_count from list summary,
  or computed from tasks array when board detail is loaded
2026-05-09 17:30:49 +02:00
Henrik Jess Nielsen
26e4bba041 fix: add x-data to body so Alpine removes x-cloak, add Makefile for local dev
All checks were successful
Build and Deploy DevOpsDash / build-image (push) Successful in 6s
- body had x-cloak but no x-data, so Alpine never initialized it and page stayed display:none
- added x-data to <body> tag — Alpine now processes the element and removes x-cloak
- added Makefile: make dev (hot-reload), make install, make open, make lint/fmt
2026-05-09 17:21:07 +02:00
Henrik Jess Nielsen
8905dd2040 fix(ui): handle available_agents/available_skills response keys and nested agent/skill content
All checks were successful
Build and Deploy DevOpsDash / build-image (push) Successful in 8s
- Use r.available_agents and r.available_skills field names from MCP proxy
- Fix extractContent to unwrap agents[0].content / skills[0].content
- Fix Alpine x-for key to include item.name for agents/skills
- Fix selected state comparison to handle name-keyed items
2026-05-09 17:13:10 +02:00
Henrik Jess Nielsen
685e4271c1 fix(mcp): add MCP session initialize handshake before tool calls
All checks were successful
Build and Deploy DevOpsDash / build-image (push) Successful in 7s
FastMCP 2.0 requires:
1. POST initialize → get mcp-session-id header
2. POST notifications/initialized with session ID
3. POST tools/call with session ID

Also prefer structuredContent over text/content in result extraction.
2026-05-09 17:08:36 +02:00
Henrik Jess Nielsen
86c44799a6 fix: MCP client SSE transport — add correct Accept headers and SSE response parsing
All checks were successful
Build and Deploy DevOpsDash / build-image (push) Successful in 6s
FastMCP 2.0 streamable HTTP requires Accept: application/json, text/event-stream
and can return text/event-stream responses with data: {...} SSE lines.
2026-05-09 17:00:52 +02:00
Henrik Jess Nielsen
fa4534bfb2 feat: Projects tab, 4-tab dashboard, full knowledge browser
All checks were successful
Build and Deploy DevOpsDash / build-image (push) Successful in 8s
- Add projects router (Redis projects + workcontexts merged)
- Register projects router in main.py
- Extend knowledge router: howtos, agents, skills via MCP proxy
- Extend mcp_client: list/get howtos, agents, skills
- Rewrite dashboard.html: 4 tabs (Taskz/Worklog/Projects/Knowledge)
  - Taskz: sidebar board list + Kanban columns with task modal
  - Worklog: context/days picker + standup button
  - Projects: context filter sidebar + work context display
  - Knowledge: 6 sub-tabs (docs/howtos/agents/skills/adrs/memories)
    with markdown rendering via marked.js
2026-05-09 16:54:30 +02:00
Henrik Jess Nielsen
6ee58d1e57 Add routers package __init__.py
Some checks failed
Build and push DevOpsDash / build (push) Has been cancelled
2026-05-09 16:36:47 +02:00
Henrik Jess Nielsen
ac85040e4d Initial DevOpsDash — FastAPI + Alpine.js dashboard for DevOpsMCP
Some checks failed
Build and push DevOpsDash / build (push) Has been cancelled
- Taskz kanban board (create/edit tasks, findings, status/priority)
- Worklog timeline + standup summary (proxied from DevOpsMCP MCP API)
- Knowledge browser (ADRs, memories, knowledge catalog files)
- FastAPI backend reading same Redis as DevOpsMCP
- Read-only bind-mount for DevOpsMCP data directory (/data)
- Nomad job spec (dash.i80.dk, Traefik TLS, host volume read-only)
- Gitea Actions CI → registry.i80.dk/gitea/devops-dash:latest
2026-05-09 16:36:18 +02:00