refactor: implement in-process worker architecture for hooks (#722)

* fix: stop generating empty CLAUDE.md files

- Return empty string instead of "No recent activity" when no observations exist
- Skip writing CLAUDE.md files when formatted content is empty
- Remove redundant "auto-generated by claude-mem" HTML comment
- Clean up 98 existing empty CLAUDE.md files across the codebase
- Update tests to expect empty string for empty input

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* build assets

* refactor: implement in-process worker architecture for hooks

Replaces spawn-based worker startup with in-process architecture:
- Hook processes now become the worker when port 37777 is free
- Eliminates Windows spawn issues (NO SPAWN rule)
- SessionStart chains: smart-install && stop && context

Key changes:
- worker-service.ts: hook case starts WorkerService in-process
- hook-command.ts: skipExit option prevents process.exit() when hosting worker
- hooks.json: single chained command replaces separate start/hook commands
- worker-utils.ts: ensureWorkerRunning() returns boolean, doesn't block
- handlers: graceful fallback when worker unavailable

All 761 tests pass. Manual verification confirms hook stays alive as worker.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* context

* a

* MAESTRO: Mark PR #722 test verification task complete

All 797 tests passed (3 skipped, 0 failed) after merge conflict resolution.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* MAESTRO: Mark PR #722 build verification task complete

* MAESTRO: Mark PR #722 code review task complete

Code review verified:
- worker-service.ts hook case starts WorkerService in-process
- hook-command.ts has skipExit option
- hooks.json uses single chained command
- worker-utils.ts ensureWorkerRunning() returns boolean

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* MAESTRO: Mark PR #722 conflict resolution push task complete

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Alex Newman
2026-02-04 19:49:15 -05:00
committed by GitHub
parent 14ca7cf7d6
commit 4df9f61347
107 changed files with 804 additions and 4493 deletions
-39
View File
@@ -1,39 +0,0 @@
<claude-mem-context>
# Recent Activity
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
### Dec 25, 2025
**viewer-template.html**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32516 | 6:58 PM | 🟣 | Spinning favicon animation during processing | ~347 |
### Dec 26, 2025
**viewer-template.html**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32977 | 11:13 PM | 🔵 | User questions Save button placement in settings modal | ~172 |
| #32976 | 11:12 PM | 🔵 | UI button placement questioned in settings modal | ~166 |
### Jan 1, 2026
**viewer-template.html**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35609 | 10:53 PM | ✅ | Removed logs-btn from Mobile Responsive Styles | ~221 |
| #35608 | " | ✅ | Removed logs-icon Class from Icon Sizing Styles | ~173 |
| #35607 | " | ✅ | Removed Legacy Logs Button Styles from CSS | ~217 |
| #35606 | " | 🟣 | Complete CSS Implementation for Chrome DevTools-Style Console Drawer | ~650 |
### Jan 2, 2026
**viewer-template.html**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35901 | 2:49 PM | 🔵 | PR #525 File Changes Summary | ~376 |
| #35878 | 2:40 PM | 🔵 | Console Drawer Styling and Structure in HTML Template | ~531 |
| #35814 | 2:25 PM | 🟣 | Console Filter Bar and Log Line Styling Added | ~328 |
</claude-mem-context>
-138
View File
@@ -1,138 +0,0 @@
<claude-mem-context>
# Recent Activity
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
### Dec 15, 2025
**App.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #27281 | 11:00 PM | 🟣 | Queue Monitoring System Extracted to Separate Branch | ~452 |
| #27280 | 10:59 PM | 🔵 | Queue Infrastructure Changes Staged in Branch | ~313 |
| #27270 | 10:57 PM | ✅ | Extracted additional queue integration files from PR-335 | ~271 |
### Dec 16, 2025
**App.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #28084 | 8:11 PM | 🔵 | Viewer App Component Architecture | ~461 |
| #28076 | 8:10 PM | 🔵 | Viewer App Component Architecture | ~477 |
### Dec 18, 2025
**types.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #29773 | 7:01 PM | 🔵 | Observation Type Definitions Across Codebase | ~362 |
### Dec 20, 2025
**types.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #30330 | 3:38 PM | 🔴 | TypeScript errors fixed across 21 files with type definitions added | ~378 |
| #30288 | 3:26 PM | 🔴 | Added queueDepth property to StreamEvent interface | ~229 |
| #30287 | " | 🔵 | Complete type definitions for viewer data models and events | ~409 |
| #30286 | " | 🔵 | StreamEvent interface defined in viewer types | ~188 |
### Dec 21, 2025
**types.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #31422 | 6:50 PM | 🔵 | Observation Metadata Constants Usage Across Codebase | ~366 |
| #31329 | 5:45 PM | 🔵 | Observation Metadata Integration Across Services and UI | ~403 |
### Dec 22, 2025
**App.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #31790 | 4:39 PM | 🔵 | Identified files that interact with ModeManager and prompts | ~332 |
### Dec 24, 2025
**types.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32156 | 6:41 PM | 🔵 | UI Layer Session Identifier Usage | ~256 |
### Dec 25, 2025
**types.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32789 | 9:49 PM | 🟣 | Gemini AI Provider Integration Merged to Main | ~409 |
| #32640 | 8:46 PM | 🟣 | Renamed "Billing Enabled" setting to "Rate Limiting" with inverted logic | ~546 |
| #32627 | 8:44 PM | ✅ | Renamed billing setting in UI `Settings` interface | ~214 |
| #32621 | " | ✅ | Added `CLAUDE_MEM_GEMINI_RATE_LIMITING_ENABLED` to UI Settings interface | ~214 |
| #32614 | 8:43 PM | 🔵 | Confirmed absence of billing setting in UI `Settings` interface | ~233 |
| #32605 | 8:42 PM | 🔵 | Identified UI `Settings` interface and absence of specific billing toggle | ~265 |
| #32603 | " | 🔵 | Identified widespread use of "Gemini" across application components | ~312 |
| #32580 | 8:22 PM | 🔵 | Grep for resetStuckMessages and processing | ~242 |
| #32559 | 8:18 PM | 🔵 | Listed files changed in the current branch | ~169 |
| #32558 | " | 🔵 | Identified files containing 'summary' or 'Summary' | ~167 |
### Dec 26, 2025
**types.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32925 | 10:26 PM | 🔵 | OpenRouter Provider Integration Proposed in PR 448 | ~543 |
| #32923 | 10:18 PM | 🔵 | OpenRouter Integration Architecture in claude-mem | ~610 |
| #32913 | 10:05 PM | 🔵 | PR #448 Code Review: OpenRouter Provider Integration | ~523 |
| #32910 | 10:01 PM | 🔵 | Viewer types define UI data structures with SSE event types and unified feed items | ~501 |
### Dec 28, 2025
**types.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #33439 | 10:15 PM | 🔄 | Extended Session ID Renaming to Additional Codebase Components | ~352 |
### Jan 1, 2026
**App.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35605 | 10:52 PM | 🟣 | Added Floating Console Toggle Button | ~339 |
| #35604 | " | ✅ | Removed onLogsToggle Prop from Header Invocation | ~231 |
| #35600 | 10:51 PM | ✅ | JSX Component Usage Updated to LogsDrawer | ~231 |
| #35599 | " | ✅ | App Component Import Updated for LogsDrawer | ~206 |
### Jan 2, 2026
**App.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35875 | 2:39 PM | 🔵 | Logging UI Architecture Mapped | ~599 |
| #35819 | 2:28 PM | 🔵 | LogsDrawer component integrated in App.tsx | ~235 |
**types.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35824 | 2:29 PM | 🔵 | Type definitions for viewer data models | ~267 |
### Jan 4, 2026
**types.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #36757 | 12:33 AM | 🔵 | Issue #511 Root Cause Identified - Gemini-3-Flash Configuration Mismatch | ~416 |
| #36754 | " | 🔵 | Gemini-3-Flash Model Already Supported | ~301 |
### Jan 5, 2026
**CLAUDE.md**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #38078 | 9:54 PM | ✅ | CLAUDE.md Documentation Cleanup - 1,233 Lines Removed Across 18 Files | ~590 |
**types.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #37995 | 9:01 PM | 🔵 | CLAUDE_MEM_WORKER_HOST setting implementation pattern | ~304 |
| #37990 | 9:00 PM | 🔵 | CLAUDE_MEM_WORKER_HOST setting used across 19 files | ~289 |
</claude-mem-context>
-117
View File
@@ -1,117 +0,0 @@
<claude-mem-context>
# Recent Activity
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
### Dec 25, 2025
**ContextSettingsModal.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32789 | 9:49 PM | 🟣 | Gemini AI Provider Integration Merged to Main | ~409 |
| #32640 | 8:46 PM | 🟣 | Renamed "Billing Enabled" setting to "Rate Limiting" with inverted logic | ~546 |
| #32630 | 8:45 PM | ✅ | Updated UI toggle for rate limiting in `ContextSettingsModal` | ~345 |
| #32622 | 8:44 PM | ✅ | Updated UI toggle for rate limiting in `ContextSettingsModal` | ~375 |
| #32615 | 8:43 PM | 🔵 | Confirmed UI text for "Billing Enabled" toggle | ~244 |
| #32613 | " | 🔵 | Comprehensive identification of `CLAUDE_MEM_GEMINI_BILLING_ENABLED` usage | ~407 |
| #32608 | 8:42 PM | 🔵 | Identified UI component for "Billing Enabled" toggle | ~348 |
| #32604 | " | 🔵 | Identified "billing" setting and its direct link to rate limiting | ~405 |
| #32603 | " | 🔵 | Identified widespread use of "Gemini" across application components | ~312 |
| #32559 | 8:18 PM | 🔵 | Listed files changed in the current branch | ~169 |
| #32550 | 7:31 PM | 🟣 | Added Gemini Billing Enabled toggle in UI | ~189 |
### Dec 26, 2025
**ContextSettingsModal.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32977 | 11:13 PM | 🔵 | User questions Save button placement in settings modal | ~172 |
| #32976 | 11:12 PM | 🔵 | UI button placement questioned in settings modal | ~166 |
| #32978 | 11:04 PM | 🔵 | ContextSettingsModal component structure examined | ~199 |
| #32979 | " | 🔵 | Save button implemented in modal footer section | ~195 |
| #32980 | " | 🔄 | Save button moved inside modal body structure | ~182 |
| #32925 | 10:26 PM | 🔵 | OpenRouter Provider Integration Proposed in PR 448 | ~543 |
| #32923 | 10:18 PM | 🔵 | OpenRouter Integration Architecture in claude-mem | ~610 |
| #32922 | 10:17 PM | 🔵 | OpenRouter Integration in Settings UI | ~362 |
| #32913 | 10:05 PM | 🔵 | PR #448 Code Review: OpenRouter Provider Integration | ~523 |
| #32909 | 10:01 PM | 🔵 | ContextSettingsModal provides rich UI for settings with live preview and provider configuration | ~611 |
### Dec 28, 2025
**ContextSettingsModal.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #33279 | 3:07 PM | ✅ | Changed Default OpenRouter Model to Free Tier Option | ~285 |
### Dec 30, 2025
**ContextSettingsModal.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #34384 | 1:39 PM | 🔵 | UI Provides "haiku" as Model Selection Option | ~296 |
### Jan 1, 2026
**LogsModal.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35668 | 11:40 PM | ✅ | Main branch updated with major feature additions | ~377 |
| #35598 | 10:51 PM | 🔄 | Logs UI Refactored from Modal to Bottom Drawer | ~505 |
| #35597 | 10:29 PM | 🟣 | Logs Viewer Modal Component Created | ~299 |
**Header.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35603 | 10:52 PM | 🟣 | Removed Logs Button from Header UI | ~274 |
| #35602 | " | ✅ | Removed onLogsToggle from Header Destructuring | ~215 |
| #35601 | " | 🔄 | Removed onLogsToggle Prop from Header Interface | ~191 |
### Jan 2, 2026
**LogsModal.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35999 | 5:32 PM | 🟣 | Alignment Quick Filter Added to Console Logs UI | ~308 |
| #35982 | 5:09 PM | ✅ | Built and deployed claude-mem version 8.5.4 with LogsModal UI component | ~295 |
| #35981 | 5:08 PM | 🟣 | Implemented alignment quick filter UI in LogsModal | ~281 |
| #35980 | " | 🟣 | Alignment-only filter added to LogsModal | ~323 |
| #35979 | " | 🟣 | Added alignment filter state to LogsModal component | ~219 |
| #35978 | " | 🔵 | LogsModal viewer component with filtering and parsing capabilities | ~447 |
| #35904 | 2:49 PM | 🟣 | Implemented Structured Log Parsing in LogsModal | ~400 |
| #35901 | " | 🔵 | PR #525 File Changes Summary | ~376 |
| #35879 | 2:41 PM | 🟣 | Enhanced LogsModal with Parsing, Filtering, Colors, Icons, and Auto-Scroll | ~726 |
| #35877 | 2:40 PM | 🔵 | LogsDrawer Component Current Implementation | ~426 |
| #35820 | 2:28 PM | 🔵 | Current LogsDrawer implementation analyzed | ~289 |
**Header.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35875 | 2:39 PM | 🔵 | Logging UI Architecture Mapped | ~599 |
| #35839 | 2:30 PM | 🔵 | Header component with project filter dropdown | ~245 |
**SummaryCard.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35834 | 2:30 PM | 🔵 | SummaryCard demonstrates icon usage pattern | ~281 |
**Feed.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35832 | 2:29 PM | 🔵 | Feed component with intersection observer for infinite scroll | ~300 |
**ObservationCard.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35828 | 2:29 PM | 🔵 | ObservationCard styling and interaction patterns | ~275 |
### Jan 4, 2026
**ContextSettingsModal.tsx**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #36781 | 12:45 AM | 🔵 | Complete GeminiAgent Model Configuration Gap Analysis | ~552 |
| #36773 | 12:43 AM | 🔵 | Gemini Model Options in Settings UI | ~490 |
| #36757 | 12:33 AM | 🔵 | Issue #511 Root Cause Identified - Gemini-3-Flash Configuration Mismatch | ~416 |
| #36756 | " | 🔵 | UI Component Also Lists gemini-3-flash | ~339 |
| #36754 | " | 🔵 | Gemini-3-Flash Model Already Supported | ~301 |
</claude-mem-context>
-197
View File
@@ -1,197 +0,0 @@
<claude-mem-context>
# Recent Activity
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
### Nov 17, 2025
**api.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #10372 | 3:32 PM | 🔵 | Existing API endpoint naming conventions in api.ts constants | ~340 |
### Nov 21, 2025
**ui.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #13110 | 1:05 AM | 🔵 | Magic Numbers Identified Across Codebase | ~327 |
### Nov 22, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #14203 | 1:05 AM | 🔵 | Endless Mode Feature Branch Contains Major Additions | ~566 |
### Nov 23, 2025
**api.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #14555 | 5:21 PM | 🔵 | Missing Stats Fields Causing UI Errors | ~288 |
### Nov 26, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #16173 | 10:06 PM | 🔵 | Configuration System Analysis for Domain Profile Support | ~621 |
### Dec 2, 2025
**api.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #19210 | 5:57 PM | 🔵 | Viewer UI Technology Stack Assessment | ~534 |
### Dec 7, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #21733 | 10:10 PM | 🔵 | UI Viewer Contains Duplicate DEFAULT_SETTINGS Object | ~375 |
| #21686 | 9:49 PM | 🔵 | DRY Audit Reveals 600+ Lines of Duplicated Code in Worker Service | ~605 |
| #21685 | 9:48 PM | 🔵 | Configuration Defaults and Environment Variables | ~558 |
### Dec 9, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #22637 | 11:46 AM | 🔵 | Comprehensive inventory of CLAUDE_MEM_ environment variable usage across codebase | ~619 |
| #22606 | 11:33 AM | 🔵 | Hardcoded port 37777 found across multiple codebase locations | ~371 |
### Dec 11, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #23959 | 1:58 PM | 🔵 | TypeScript Codebase Architecture Mapped | ~337 |
| #23947 | 1:40 PM | 🔵 | Comprehensive Port Configuration Audit Complete | ~532 |
| #23940 | 1:38 PM | 🔵 | UI Constants Duplicate Settings Defaults | ~357 |
| #23935 | 1:37 PM | 🔵 | CLAUDE_MEM_WORKER_PORT Environment Variable Usage Pattern | ~456 |
| #23933 | 1:36 PM | 🔵 | Comprehensive Port 37777 References Across Documentation and Code | ~427 |
### Dec 12, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #24602 | 10:20 PM | 🟣 | Completed PR #236 Security Fix Implementation | ~463 |
| #24596 | 10:18 PM | 🟣 | Merged Localhost-Only Binding Security Feature to Main | ~413 |
### Dec 13, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #25075 | 7:09 PM | ⚖️ | Complete System Analysis for Embedding Function Configuration | ~497 |
| #25074 | " | 🔵 | Complete Settings System Architecture via Exploration Agent | ~532 |
| #25045 | 7:02 PM | 🔵 | UI Viewer Settings Constants | ~296 |
### Dec 14, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #26202 | 8:17 PM | ✅ | UI viewer constants updated to match Sonnet default model | ~301 |
| #26199 | " | 🔵 | UI viewer default settings configuration examined | ~358 |
| #26198 | " | 🔵 | CLAUDE_MEM_MODEL configuration found throughout codebase | ~403 |
**api.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #26088 | 7:32 PM | 🔵 | API Endpoint Architecture Discovery | ~416 |
### Dec 16, 2025
**api.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #28083 | 8:10 PM | 🔵 | API Endpoint Constants | ~360 |
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #27992 | 8:01 PM | 🔵 | UI Default Settings Constants | ~376 |
### Dec 18, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #29229 | 12:08 AM | 🔵 | Claude-Mem Observation Type System Architecture Mapped | ~552 |
| #29226 | 12:06 AM | 🔵 | Default Settings Configuration | ~395 |
### Dec 21, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #31422 | 6:50 PM | 🔵 | Observation Metadata Constants Usage Across Codebase | ~366 |
| #31329 | 5:45 PM | 🔵 | Observation Metadata Integration Across Services and UI | ~403 |
### Dec 25, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32789 | 9:49 PM | 🟣 | Gemini AI Provider Integration Merged to Main | ~409 |
| #32640 | 8:46 PM | 🟣 | Renamed "Billing Enabled" setting to "Rate Limiting" with inverted logic | ~546 |
| #32620 | 8:44 PM | ✅ | Renamed billing setting and updated default in UI constants | ~233 |
| #32613 | 8:43 PM | 🔵 | Comprehensive identification of `CLAUDE_MEM_GEMINI_BILLING_ENABLED` usage | ~407 |
| #32606 | 8:42 PM | 🔵 | Default value for `CLAUDE_MEM_GEMINI_BILLING_ENABLED` identified | ~216 |
| #32603 | " | 🔵 | Identified widespread use of "Gemini" across application components | ~312 |
| #32602 | " | 🔵 | Identified potential settings configuration files | ~224 |
| #32559 | 8:18 PM | 🔵 | Listed files changed in the current branch | ~169 |
**api.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32580 | 8:22 PM | 🔵 | Grep for resetStuckMessages and processing | ~242 |
### Dec 26, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32925 | 10:26 PM | 🔵 | OpenRouter Provider Integration Proposed in PR 448 | ~543 |
| #32923 | 10:18 PM | 🔵 | OpenRouter Integration Architecture in claude-mem | ~610 |
| #32921 | 10:16 PM | ✅ | Updated UI default settings for OpenRouter model | ~214 |
| #32913 | 10:05 PM | 🔵 | PR #448 Code Review: OpenRouter Provider Integration | ~523 |
### Dec 28, 2025
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #33279 | 3:07 PM | ✅ | Changed Default OpenRouter Model to Free Tier Option | ~285 |
### Jan 2, 2026
**ui.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35822 | 2:29 PM | 🔵 | UI constants structure examined | ~191 |
### Jan 4, 2026
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #36781 | 12:45 AM | 🔵 | Complete GeminiAgent Model Configuration Gap Analysis | ~552 |
### Jan 5, 2026
**CLAUDE.md**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #38078 | 9:54 PM | ✅ | CLAUDE.md Documentation Cleanup - 1,233 Lines Removed Across 18 Files | ~590 |
**settings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #37995 | 9:01 PM | 🔵 | CLAUDE_MEM_WORKER_HOST setting implementation pattern | ~304 |
| #37990 | 9:00 PM | 🔵 | CLAUDE_MEM_WORKER_HOST setting used across 19 files | ~289 |
</claude-mem-context>
-181
View File
@@ -1,181 +0,0 @@
<claude-mem-context>
# Recent Activity
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
### Dec 13, 2025
**useSettings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #25321 | 9:12 PM | 🔵 | Console.error Usage Found in 29 Files | ~366 |
| #25075 | 7:09 PM | ⚖️ | Complete System Analysis for Embedding Function Configuration | ~497 |
| #25059 | 7:05 PM | 🔵 | UI Settings Hook Pattern | ~320 |
**useGitHubStars.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #25319 | 9:12 PM | 🔵 | Error Throw Locations Identified Across Codebase | ~302 |
### Dec 14, 2025
**useSettings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #26198 | 8:17 PM | 🔵 | CLAUDE_MEM_MODEL configuration found throughout codebase | ~403 |
### Dec 15, 2025
**useNotifications.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #27281 | 11:00 PM | 🟣 | Queue Monitoring System Extracted to Separate Branch | ~452 |
| #27280 | 10:59 PM | 🔵 | Queue Infrastructure Changes Staged in Branch | ~313 |
| #27279 | " | ✅ | Queue UI Components Built Successfully | ~277 |
**useQueue.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #27272 | 10:58 PM | ✅ | Queue UI Components Extracted to Working Directory | ~235 |
| #27263 | 10:55 PM | ✅ | Extracted queue-specific files from PR-335 | ~284 |
| #27247 | 10:34 PM | 🔵 | useQueue Hook API Integration | ~370 |
**useSSE.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #27248 | 10:34 PM | 🔵 | Server-Sent Events Hook for Real-Time Queue Updates | ~406 |
### Dec 19, 2025
**useContextPreview.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #29947 | 7:03 PM | 🔵 | Context injection endpoint usage across system | ~387 |
### Dec 20, 2025
**useContextPreview.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #30330 | 3:38 PM | 🔴 | TypeScript errors fixed across 21 files with type definitions added | ~378 |
| #30278 | 3:24 PM | 🔴 | Added TypeScript type assertion for projects API response | ~205 |
**usePagination.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #30312 | 3:32 PM | 🔴 | Added explicit type arguments to usePaginationFor calls | ~314 |
| #30311 | " | 🔴 | Updated JSON response type assertion to use generic type | ~317 |
| #30310 | 3:31 PM | 🔴 | Added generic type parameter to usePaginationFor hook | ~356 |
**useStats.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #30291 | 3:26 PM | 🔴 | Added TypeScript type assertion for stats API response | ~239 |
| #30290 | " | 🔵 | useStats hook fetches worker and database statistics | ~288 |
**useSSE.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #30289 | 3:26 PM | 🔴 | Added non-null assertion for data.observation in new_observation handler | ~264 |
| #30285 | 3:25 PM | 🔵 | useSSE hook manages EventSource connection with auto-reconnect capability | ~282 |
| #30284 | " | 🔵 | useSSE hook handles multiple server-sent event types | ~288 |
**useSettings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #30283 | 3:25 PM | 🔴 | Added TypeScript type assertion for saveSettings API response | ~249 |
| #30282 | " | 🔴 | Added TypeScript type annotation for settings API response | ~82 |
| #30281 | " | 🔵 | useSettings hook lacks type safety for API responses | ~245 |
**useGitHubStars.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #30280 | 3:25 PM | ✅ | Standardized TypeScript type assertion syntax in useGitHubStars | ~204 |
| #30279 | 3:24 PM | 🔵 | useGitHubStars hook already has proper TypeScript typing | ~249 |
### Dec 21, 2025
**useContextPreview.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #31603 | 8:21 PM | 🔵 | Complete Console.* Statement Audit Across Codebase | ~813 |
| #31599 | 8:19 PM | 🔵 | 136 console logging statements found in TypeScript source files | ~538 |
**useSettings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #31422 | 6:50 PM | 🔵 | Observation Metadata Constants Usage Across Codebase | ~366 |
| #31329 | 5:45 PM | 🔵 | Observation Metadata Integration Across Services and UI | ~403 |
### Dec 22, 2025
**useXFollowers.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #31969 | 9:32 PM | 🟣 | X (Twitter) Follower Count Hook Created | ~210 |
### Dec 25, 2025
**useSettings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32789 | 9:49 PM | 🟣 | Gemini AI Provider Integration Merged to Main | ~409 |
| #32559 | 8:18 PM | 🔵 | Listed files changed in the current branch | ~169 |
**useSpinningFavicon.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32646 | 8:48 PM | 🔵 | Existing Spinning Favicon Implementation | ~297 |
| #32516 | 6:58 PM | 🟣 | Spinning favicon animation during processing | ~347 |
**useSSE.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #32580 | 8:22 PM | 🔵 | Grep for resetStuckMessages and processing | ~242 |
| #32558 | 8:18 PM | 🔵 | Identified files containing 'summary' or 'Summary' | ~167 |
### Jan 1, 2026
**useContextPreview.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35688 | 11:49 PM | 🔵 | Context Preview Hook with Project Selection | ~472 |
**useSettings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35686 | 11:49 PM | 🔵 | Settings Management Hook Implementation | ~529 |
| #35485 | 9:06 PM | ⚖️ | Comprehensive error handling remediation plan completed and submitted for approval | ~555 |
| #35469 | 9:02 PM | 🔵 | Proper error handling in settings save function | ~268 |
**useSSE.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35684 | 11:49 PM | 🔵 | Server-Sent Events Hook Implementation | ~484 |
**usePagination.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35683 | 11:48 PM | 🔵 | Pagination Hook Implementation Structure | ~439 |
### Jan 2, 2026
**usePagination.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #35875 | 2:39 PM | 🔵 | Logging UI Architecture Mapped | ~599 |
| #35838 | 2:30 PM | 🔵 | Pagination hook pattern with offset tracking and filter reset | ~272 |
### Jan 5, 2026
**CLAUDE.md**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #38078 | 9:54 PM | ✅ | CLAUDE.md Documentation Cleanup - 1,233 Lines Removed Across 18 Files | ~590 |
**useSettings.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #37995 | 9:01 PM | 🔵 | CLAUDE_MEM_WORKER_HOST setting implementation pattern | ~304 |
| #37990 | 9:00 PM | 🔵 | CLAUDE_MEM_WORKER_HOST setting used across 19 files | ~289 |
</claude-mem-context>
-58
View File
@@ -1,58 +0,0 @@
<claude-mem-context>
# Recent Activity
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
### Nov 5, 2025
**data.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #4057 | 10:48 PM | 🟣 | Web-Based Viewer UI for Real-Time Memory Stream | ~610 |
| #3956 | 9:10 PM | 🔄 | Extracted mergeAndDeduplicateByProject helper function to eliminate duplicate filtering logic | ~404 |
**formatters.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #3960 | 9:11 PM | 🟣 | Added formatDate utility function to formatters.ts | ~268 |
| #3865 | 7:17 PM | 🔄 | Extracted formatting utilities into shared module | ~337 |
### Nov 7, 2025
**data.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #4726 | 8:28 PM | ✅ | Merged PR #70 with project filter improvements to main branch | ~382 |
| #4715 | 8:04 PM | ✅ | Committed PR feedback fixes to bugfix/project-filter branch | ~337 |
| #4712 | " | 🔄 | Simplified validation in data.ts mergeAndDeduplicateByProject | ~249 |
| #4692 | 7:44 PM | 🔴 | Fixed Critical Project Filter Synchronization Issues in Viewer UI | ~435 |
| #4690 | " | 🟣 | Enhanced Session and Summary Handling with Filtering and Pagination | ~420 |
| #4667 | 7:32 PM | 🔵 | Examined Data Utility for Merging SSE and Paginated Items | ~422 |
| #4660 | 7:29 PM | 🔴 | Fixed project filtering in UI header | ~328 |
### Dec 2, 2025
**formatNumber.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #19683 | 11:53 PM | 🔵 | PR Diff Shows 3,140 Insertions Across 17 Files | ~331 |
| #19220 | 6:06 PM | ✅ | GitHub Stars Button Component Deployed to Production | ~256 |
| #19214 | 6:03 PM | 🟣 | Number Formatting Utility Created | ~402 |
**textDiff.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #19556 | 10:54 PM | 🟣 | Implemented prefix/suffix token diff algorithm | ~364 |
**ansiTokenizer.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #19555 | 10:54 PM | 🟣 | ANSI Tokenizer Utility Created | ~447 |
### Dec 11, 2025
**data.ts**
| ID | Time | T | Title | Read |
|----|------|---|-------|------|
| #23959 | 1:58 PM | 🔵 | TypeScript Codebase Architecture Mapped | ~337 |
</claude-mem-context>