12 Commits
Author SHA1 Message Date
B Harper ea62ebfbf3 Add tab notification features and timeout improvements 2025-11-01 17:37:01 +11:00
B Harper 464f4e0bf4 Add GitHub Actions workflow for automated publishing and clean up unnecessary files 2025-10-26 18:14:13 +11:00
B Harper 8777d3b928 Add GPL-3.0 LICENSE and add untracked README files 2025-10-26 17:48:36 +11:00
B Harper 2de7ad2db1 Add comprehensive documentation - README.md and ReadMeDev.md
- README.md: Clean user-facing documentation with truthful feature descriptions
- ReadMeDev.md: Technical developer documentation with architecture details
- No exaggeration or marketing fluff - just what we actually built
- Covers real features: VS Code interface, MCP server, tool overrides, web interface
- Includes honest installation, configuration, and troubleshooting sections
2025-10-25 11:52:58 +11:00
B Harper a19312c2df Remove silent timeout fallback - implement explicit timeout handling
- Removed hidden 300-second default timeout that created unpredictable behavior
- Tool now waits indefinitely if no timeout specified (explicit behavior)
- When timeout IS provided via params.timeout, uses that value exactly
- Tool overrides can still configure workspace-specific timeouts as before
- No more silent fallbacks - behavior is now explicit and predictable
2025-10-25 11:43:35 +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 59be50e9d9 Fix VS Code MCP tool override descriptions by adding sessionId to URL
- Modified mcpConfigManager.ts to include sessionId in MCP URL configuration
- Fixed server.ts URL parsing to handle query parameters properly
- Enhanced reloadOverrideFile to trigger MCP notifications
- VS Code now shows custom tool descriptions from HumanAgentOverride.json
2025-10-24 20:06:49 +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 a0333d2dbf Add session name persistence using VS Code globalState
EXACTLY as requested - persist session names same way as session IDs:

 Session names saved to context.globalState when user names chat in VS Code
 Session names restored on startup and sent to server automatically
 Uses same workspace-based key system as session ID persistence
 Web interface will now show friendly names after VS Code restart

Workflow: VS Code 'Name This Chat' → persist to globalState → restore on startup → web shows friendly name

No web interface changes needed - server already has name display logic
2025-10-24 13:52:18 +11:00
B Harper dc1ee54ecd Fix session ID mapping: VS Code conversation IDs now map to registered sessions
- Added conversationToSession mapping to link VS Code conversation IDs to registered session IDs
- Updated handleToolCall to extract session ID from _meta.vscode.conversationId
- Auto-maps VS Code conversations to first available registered session
- Both VS Code and web interface now use same registered session ID
- Fixes 'No pending AI request found' error in web interface
2025-10-24 11:17:46 +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