Kiwi Code (VS Code)
A minimal VS Code extension for Kiwi Autocode.
This extension intentionally focuses on a single workflow:
- a clean chat panel (webview)
- running the Autocode action by default
- optional local CLI/runtime support (so Autocode can run commands / read files on your machine)
Note: This is not the older “full Kiwi VS Code” experience (tree views, VS Code chat participant, themes, etc.). Those were removed on purpose to keep this extension stable and fast.
Quick start
- Install Kiwi Code from the VS Code Marketplace.
- Open the Command Palette → run
Kiwi Code: Open.
- Login with your email + password in the panel.
- Chat normally.
If you want Autocode to run commands on your machine:
- run
/connect-cli inside the chat.
Chat commands (slash commands)
Inside the Kiwi chat panel:
| Command |
What it does |
/connect-cli |
Deterministically starts/attaches the local runtime and tells Autocode to connect to your CLI. |
/show-logs |
Opens local runtime logs (useful when debugging CLI/runtime). |
/new |
Starts a new conversation (new run). |
/runs |
Lists recent Autocode runs. |
/continue <action_run_id> |
Loads a previous run + history and continues it. |
/name <new name> |
Renames the current run. |
/help |
Shows command help. |
Local runtime / CLI (how it works)
When /connect-cli is used, the extension connects a local runtime that can execute shell commands and perform safe filesystem operations.
Key points:
- It is per-run (each run gets its own runtime identity).
- If you run
/connect-cli before a run exists, the extension starts a pending runtime and then binds it to the run as soon as the run is created (kiwi-code parity).
- The runtime runs in a restricted mode by default.
Where data is stored
All extension state is stored under:
- macOS/Linux:
~/.kiwi_extension/
- Windows:
%USERPROFILE%\.kiwi_extension\
This includes tokens and runtime logs/state.
Configuration
| Setting |
Default |
Description |
kiwi.backendUrl |
https://api.meetkiwi.ai |
Kiwi backend API URL |
kiwi.runtimeEnabled |
true |
Enable runtime websocket support |
kiwi.runtimeWsUrl |
(empty) |
Optional runtime websocket URL override (normally derived from backendUrl) |
kiwi.runtimeShell |
(empty) |
Optional shell path for local command execution (example: pwsh, /bin/bash) |
kiwi.runtimeAllowHome |
false |
Allow access to home directory in restricted mode (not recommended unless needed) |
Development (run locally)
cd kiwi-vscode
npm install
npm run bundle
Then in VS Code:
- press F5 (Run Extension)
- in the Extension Development Host, run
Kiwi Code: Open
Package a VSIX
npm run package
This produces a kiwi-vscode-<version>.vsix you can install manually.
Publish to VS Code Marketplace
Publishing uses vsce and requires a Marketplace publisher + PAT.
- Install
vsce:
npm install -g @vscode/vsce
- Login (one-time):
vsce login <publisher>
- Bump version (required):
npm version patch
- Publish:
vsce publish
Official docs: VS Code “Publishing Extensions”.
Requirements
- VS Code
^1.109.0
- A Kiwi account