Log AI prompts/responses from VS Code to the GoLogChat backend.
Features
- Command palette action:
GoLogChat: Log Prompt(captures prompt + optional response, sends to backend). - Uses your configured Developer ID and Team ID for access control.
- Respects
enableLoggingtoggle.
Requirements
- Backend server running (default
http://localhost:8080). Start it fromgologchat-backendwithgo run main.go.
Settings
All settings are under GoLogChat:
gologchat.apiUrl(string, defaulthttp://localhost:8080): Backend base URL.gologchat.developerId(string): Your Developer ID.gologchat.teamId(string): Your Team ID.gologchat.enableLogging(boolean, defaulttrue): Master toggle.gologchat.isAdmin(boolean, defaultfalse): Marks requests as admin (use only if allowed).
Usage
- Configure settings (
Cmd+,then search “GoLogChat”) for API URL, Developer ID, Team ID. - Run
GoLogChat: Log Promptfrom the Command Palette. - Enter the prompt, optionally the response, and submit. A success/error toast will appear.
Known Limitations (current build)
- Manual entry only (no automatic capture yet).
- Backend is in-memory; data resets on restart and has no authentication.
Packaging / Publishing
- Build:
npm run compile - Package VSIX:
npx @vscode/vsce package - Install local VSIX:
code --install-extension gologchat-0.0.2.vsix - Publishing to Marketplace requires a real
publishervalue and Azure DevOps Personal Access Token configured forvsce.