MeasyCode for VS Code
The same agent as How it worksMeasyCode already speaks a line-oriented JSON protocol on stdio ( That is deliberately all it does. Which tools exist, when approval is needed, how a turn ends — every one of those decisions stays in the Go process. If this extension ever starts deciding them too, the two have begun to drift, and that is the bug to fix rather than the feature to keep. The contract is RequirementsMeasyCode must be installed and on your
If it lives somewhere the Signing inTwo ways, the same two the terminal offers: Continue with MeasyAI runs the browser device flow. What comes back is a session — the same credential the website holds — and it is stored by the CLI, so signing in here signs you in there too. This is the path for a subscription, and nothing ever reaches your clipboard. An API key you made yourself at measyai.com/app/api-keys. MeasyCode never mints keys on your behalf, deliberately: a key you did not knowingly create is one you will not recognise later and will not dare revoke. A pasted key is kept in your editor's secret storage, never in settings —
settings are plain text on disk and ride along with Settings Sync. It reaches
the agent as Because two credentials can be in play at once, Sign Out clears both: it
sends If sign-in appears to succeed but the model list comes back empty, the key was most likely rejected — the agent reports itself ready either way. The view says so rather than letting you discover it on your first prompt. Using itOpen the MeasyCode view in the activity bar, or press
Select code in an editor and choose Ask MeasyCode About Selection from the context menu to drop it into the composer with its file and line range. Two chips sit above the Send button. The first is the current model — click it for the picker, filled from your account's own catalogue rather than a list baked into the extension. The second is what is left of your rolling token allowance; it refreshes after each turn, turns amber past three quarters and red past nine tenths, and reads simply "unlimited" on a plan without a cap. It appears only when the installed MeasyCode is new enough to report usage. Writes ask for approval before they happen. The dialog opens with Deny
focused, not Allow: the agent is asking to change your files, and a stray Enter
should not be what grants it. Always allow switches the session to Developer
mode — the same thing Settings
The model and approval mode are not settings here. They come from the agent's own configuration, so this extension cannot quietly disagree with your terminal about either one. Known limitations
Development
Press
Both halves are needed. Break the buffering deliberately and the first half fails loudly while the second stays green, because a handshake is small enough to arrive in a single chunk. License |