16 Commits
Author SHA1 Message Date
B Harper f52c52ca19 fix: Remove space from MCP server name (HumanAgentMCP)
- Updated extension.ts MCP server definition
- Updated server.ts config name
- Added auto-growing textarea to web interface
- Tool now referenced as HumanAgentMCP/HumanAgent_Chat (no space)
- Fixes tool reference issues in .agent.md files
2025-11-27 12:25:16 +11:00
B Harper c5b1267686 feat: Add anonymous telemetry with GA4 integration
- Created TelemetryService with Google Analytics 4
- Track extension lifecycle (activation/deactivation)
- Track chat events (opened, messages sent/received)
- Track connection errors for debugging
- Respects VS Code telemetry settings
- Added privacy disclosure to README
- Client ID persists across updates
- GDPR compliant, no PII collected
2025-11-20 14:34:50 +11:00
B Harper 123bed4a29 chore: Bump version to 0.0.15 and add square icon 2025-11-20 14:02:56 +11:00
B Harper 9bfce15f44 feat: Add reconnection backoff, server start notifications, issue reporting, improved README
- Implement exponential backoff for SSE reconnection (1s → 30s max, no timeout)
- Update connection status indicator (green/orange/red dot)
- Reset backoff and reconnect immediately when server manually started
- Add Report Issue and Request Feature options to cog menu
- Add bugs field to package.json for native VS Code issue reporting
- Improve README with actual usage instructions and troubleshooting
- Fix status indicator to update properly on disconnect
- Close EventSource to prevent browser auto-reconnect interference
2025-11-20 12:06:50 +11:00
B Harper 78fbceb3f7 Bump version to 0.0.13 2025-11-19 15:35:42 +11:00
B Harper c2129cb3ed v0.0.12: Add quick replies, remove timeout feature, keep textarea enabled, improve error handling 2025-11-18 13:34:39 +11:00
B Harper ea62ebfbf3 Add tab notification features and timeout improvements 2025-11-01 17:37:01 +11:00
B Harper fb9251f793 Add Report Issues button to startup notification 2025-10-28 09:29:59 +11:00
B Harper 2f45e2f723 Add startup notification feature with user configuration option 2025-10-28 08:55:12 +11:00
B Harper 87ade947ba Update package.json for marketplace publishing - change publisher to 3DTek-xyz and add repository field 2025-10-26 17:20:33 +11:00
B Harper 60ea857b54 Fix SSE connection conflicts between webview and extension
- Added separate /mcp-tools endpoint for VS Code extension MCP protocol
- Maintained /mcp endpoint for webview SSE connections (heartbeats, messages)
- Eliminated competing SSE connections that caused message delivery failures
- Enhanced SSE connection health monitoring with detailed diagnostics
- Added connection state management to prevent race conditions
- Fixed sendToSession() to use proper health checking instead of raw writes
- Improved logging to track connection conflicts and message delivery
- Maintains proper session separation between different VS Code workspaces

This resolves the issue where VS Code webview received heartbeats but not
tool call messages due to competing SSE connections overwriting each other.
2025-10-26 15:36:26 +11:00
B Harper d846f0895b Implement VS Code native MCP event system for automatic tool refreshing
- Added HumanAgentMcpProvider class with onDidChangeMcpServerDefinitions event
- Registered MCP provider with VS Code lm.registerMcpServerDefinitionProvider
- Added mcpServerDefinitionProviders contribution point to package.json
- Implemented startup event firing when override files exist
- Fixed session name loading timing by moving after server startup with retry
- Chat webview now fires MCP events when override files are reloaded
- VS Code Configure Tools will now automatically refresh tool descriptions
2025-10-25 11:29:05 +11:00
B Harper 068e745460 Fix web interface JavaScript error and complete message formatting
- Fixed JavaScript syntax error in escapeHtml comment that was breaking web interface
- Completed message formatting fix with CSS white-space: pre-wrap
- Fixed VS Code chat history synchronization by removing local message arrays
- Added unified message loading via server API for both VS Code and web
- Fixed display labels to show 'You (VS Code)' and 'You (Web)' consistently
- Implemented autoAppendEnabled logic to properly respect enable/disable setting
- Added default auto-append text for HumanAgent_Chat tool in templates
- Enhanced auto-append formatting with period + space and 'Appended:' prefix
- Added MCP tool notification method for dynamic tool discovery
- All web interface and VS Code chat functionality now working correctly
2025-10-24 18:39:50 +11:00
B Harper a3b52ac593 Fix override loading system and server independence
- Implement proper override file reload functionality with session re-registration
- Add tools endpoint with sessionId query parameter support
- Remove hardcoded tool description fallbacks (single source of truth)
- Fix ServerManager duplicate setTimeout in startServer method
- Add /response and /reload HTTP endpoints to server
- Ensure server remains independent across VS Code restarts
- Format long tool description for better readability
2025-10-23 14:37:02 +11:00
B Harper 64d0a322cd Fix: Remove startup status notifications and improve menu routing
- Remove automatic status display on webview load (line 964)
- Fix status command routing - unified status display via dedicated command
- Remove unused showStatus command duplicate
- Add Override Prompt to default menu when status unknown
- Clean up status notification behavior - only show on manual request
2025-10-23 10:11:24 +11:00
B Harper a414a4f70d Fix sessionless HumanAgent chat functionality
- Remove session management complexity from MCP server and UI
- Update chatWebviewProvider for direct messaging without sessions
- Fix MCP tool response format to use content array as per specification
- Restore cog icon for MCP configuration (install global/local)
- Add safety checks for message content handling
- Resolve 'o.content is not iterable' error by using proper MCP format
2025-10-22 11:49:17 +11:00