cbs-consulting/virtual-key-mapper
v0.1.2Apache-2.0
Sets up vkm: signs in to your company LLM gateway, connects Claude Code, Codex, OpenCode and other tools, and assigns the labels of your repositories.
Changelog
What changed in each release of Virtual Key Mapper (the virtual-key-mapper package and
the two VS Code extensions), newest first. Add your change under "Unreleased" in the same
pull request. To release, raise the version and rename "Unreleased" to that version and
the date.
Unreleased
- New agent skill
vkm-setup: a coding agent can now set up vkm for you. It checks the installation, adds your gateway profile, has you sign in, connects Claude Code, Codex, OpenCode or other tools through the local proxy, and assigns a repository's labels. Install it as the pluginvirtual-key-mapperfrom the cbs agentic marketplace, or withnpx skills add cbs-consulting/virtual-key-mapper. vkm profile remove NAMEsigns out of a profile and deletes it. The setup page can delete a profile too, and edit its labels (description, values to choose from, required) and its label rules under "Profile settings".vkm serve --proxylets tools that know nothing about vkm use the gateway: point their base URL athttp://127.0.0.1:47474/openai-chat(oropenai-responses,anthropic-messages) with the key fromproxy.key. Each request gets a fresh gateway key and the labels of the request, the--labelvalues or the folder; it is refused while a required label has no value.vkm uiopens a setup page in your browser: add your gateway, sign in, connect Claude Code, Codex and OpenCode with a model from the list, and assign the labels of your repositories without the command line. It runs on your computer only, until you stop it.vkm servegives local apps and scripts the same information as the commands over HTTP on127.0.0.1: a current token, a folder's labels and request headers, the labels and their values, the models and the sign-in state. Each start makes a new token that only you can read.vkm servealso makes changes: add and select profiles, sign in and out, set up and remove tools, and assign or remove a repository's labels, with the same checks as the commands.vkm models list [--json]prints the model aliases the gateway offers you, the names to pass to--model(Codex cannot list them itself).vkm setup opencodeuses the same list.- Claude Code lists your gateway's models:
vkm setup claudeandvkm run claudeturn on Claude Code's gateway model discovery, so/modelin the CLI and the VS Code extension shows the models your key may use, as Copilot Chat does.--modelis optional and only sets the starting model;setup claude --removeturns discovery off again unless you set it yourself. - docs/network.md lists what the CLI, the extensions and the tools connect to, for firewall, proxy and TLS inspection rules.
0.1.2 - 2026-10-23
- The local sign-in extension
cbs-consulting.vkm-hostis now called "Virtual Key Mapper: host sign-in": the Marketplace still holds the old display name for the removedvkm-local. Messages that ask you to install it name its ID.
0.1.1 - 2026-10-23
- The local sign-in extension is now
cbs-consulting.vkm-host(filevkm-host.vsix): the Marketplace no longer listscbs-consulting.vkm-localand does not accept its name again. Uninstallvkm-localand installvkm-host; the settings (vkm.localCommand,vkm.localProfiles) stay the same.
0.1.0 - 2026-10-22
- First public version, under the name Virtual Key Mapper: the command is
vkm, the packagevirtual-key-mapper, the repository file.vkmand the environment variablesVKM_*. The VS Code extensions arecbs-consulting.vkm(Copilot Chat) andcbs-consulting.vkm-local(local sign-in for dev containers, SSH and WSL). - Licensed under the Apache License 2.0.
- Published on PyPI (
virtual-key-mapper) by a release workflow with one shared version; the VS Code extensions (cbs-consulting.vkm,cbs-consulting.vkm-local) are attached to each GitHub release and uploaded to the Visual Studio Marketplace by hand. - Labels: requests carry key/value labels such as
customer = "acme"andproject = "webshop", defined in the central rules document (version"2.0") or the profile, with required labels, allowed values and per-label sources. Each label is resolved on its own from--label KEY=VALUE,VKM_LABEL_<KEY>,vkm repo bind --label, a.vkm[labels]table or a central rule. Gateway adapters declare outputs; LiteLLM sendsx-litellm-tags(defaultKEY:VALUEper label, overridable with${KEY}formats) and spend-log metadata with all labels and their sources. Newvkm labels list|values;profile add/update --label/--output; "Assign labels" and a status bar with all label values in VS Code. See docs/labels.md.