From c1e198d6e38a73d8f6834fec2002b96a073e0869 Mon Sep 17 00:00:00 2001 From: Son Nguyen Date: Thu, 21 May 2026 21:55:05 -0700 Subject: [PATCH 1/3] docs: add descriptions to extension and service worker files --- client/public/sw.js | 5 +++++ vscode-extension/extension.js | 1 + wiki/sw.js | 5 +++++ 3 files changed, 11 insertions(+) diff --git a/client/public/sw.js b/client/public/sw.js index 86f33d18..236f690e 100644 --- a/client/public/sw.js +++ b/client/public/sw.js @@ -1,3 +1,8 @@ +/** + * @description Service Worker for caching static assets and handling push notifications. + * @author Son Nguyen + */ + const CACHE_NAME = "dashboard-v1"; const SHELL = ["/", "/manifest.json", "/favicon.svg"]; diff --git a/vscode-extension/extension.js b/vscode-extension/extension.js index 9ceefad0..294abe5e 100644 --- a/vscode-extension/extension.js +++ b/vscode-extension/extension.js @@ -3,6 +3,7 @@ * Sets up the extension, registers commands, and manages the status bar item. * Implements a dynamic dashboard view that checks for active servers on ports 5173 and 4820. * Provides real-time status updates in the sidebar and status bar with background polling. + * * @author Son Nguyen */ diff --git a/wiki/sw.js b/wiki/sw.js index dfb4d967..447167a7 100644 --- a/wiki/sw.js +++ b/wiki/sw.js @@ -1,3 +1,8 @@ +/** + * Service Worker for Wiki PWA - Caches static assets and serves them when offline. + * @author Son Nguyen + */ + const CACHE_NAME = "wiki-v2"; const PRECACHE = [ "./", From 4082f4b7f0d2c572356467b22ce2f94e410d0707 Mon Sep 17 00:00:00 2001 From: Son Nguyen Date: Thu, 21 May 2026 21:56:51 -0700 Subject: [PATCH 2/3] docs: add descriptions to extension and service worker files --- SETUP.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SETUP.md b/SETUP.md index 8f542334..08183370 100644 --- a/SETUP.md +++ b/SETUP.md @@ -1,5 +1,7 @@ # Setup Guide +A comprehensive guide to setting up and configuring the Agent Dashboard, including how it integrates with Claude Code, environment variables, container deployment, and troubleshooting common issues. + ## How it works Agent Dashboard integrates with Claude Code through its native hook system. When Claude Code performs any action (session start, tool use, turn completion, subagent finish, session exit), it fires a hook that calls a small Node.js script bundled with this project. That script forwards the event over HTTP to the dashboard server, which stores it in SQLite and broadcasts it to the browser over WebSocket. From 803eba9af81f9c54e78527455d013a006b77c324 Mon Sep 17 00:00:00 2001 From: Son Nguyen Date: Thu, 21 May 2026 21:57:23 -0700 Subject: [PATCH 3/3] docs: add descriptions to extension and service worker files --- INSTALL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index c7d5467d..db03de5b 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,5 +1,7 @@ # Installation +A step-by-step guide to get the Claude Code Agent Monitor up and running on your machine, with optional sections for importing history, running in a container, and using the macOS desktop app. + ## Requirements | Requirement | Version | Notes |