OZ Extension
VS Code extension for OZ with:
- key-only onboarding (
ozk__... once)
- no org slug required from users (org is resolved from
ozk__)
- remembered profile (
orgSlug, orgName, userName)
- secure MCP gateway token flow (no raw BaeMemory key on client)
- strict gRPC live session runtime for chat/file sync/SDK operations
Commands
OZ: Enter API Key
OZ: Open Settings
OZ: Open Chat
OZ: Switch Profile
OZ: Ask Selection
OZ: Fix Selection
Runtime Notes
- Profiles are stored in VS Code
globalState; API keys are stored in SecretStorage.
- Chat UI is hosted as an OZ sidebar view (activity bar), not an editor tab.
- Chat execution is backend-owned through gRPC (
OzSession.Chat) after session-key bootstrap.
- MCP tokens are short-lived and auto-refreshed via
/api/auth/resolve-key/refresh.
- API key onboarding happens inside the OZ sidebar (no top popup flow).
- Use
OZ: Open Settings to rotate API key, switch profiles, change backend/gRPC overrides, and run live diagnostics.
- Set
oz.dev to true to show runtime diagnostics in the chat panel.
Demo Runtime Defaults
oz.backendUrl default: https://demo-api.hiringbae.com
oz.grpcUrl default: https://demo-grpc.hiringbae.com:443 (can be changed)
- If
oz.grpcUrl is empty, extension uses backend /api/grpc/session-key values (grpcHost, grpcPort, optional grpcTls).
| |