Skip to content

v3.16.0 β€” Editor / IDE bridge

Choose a tag to compare

@eniz1806 eniz1806 released this 06 Jun 18:05

Connect Kodiqa to your editor.

Added

  • Bridge server β€” kodiqa --serve (or /serve in a session) runs a small authenticated localhost HTTP server that editor extensions (VS Code, Zed, Neovim, …) can call:
    • GET /health (no auth) β†’ {status, model, version}
    • POST /ask {prompt, context?} β†’ {response} β€” a one-shot, non-streaming answer that doesn't touch conversation history or edit files (safe to call while the CLI is in use)
    • GET /diagnostics?file=PATH β†’ LSP diagnostics (start an LSP with /lsp)
    • Binds to 127.0.0.1 only with a per-session bearer token; --port sets a fixed port.
  • A minimal reference client in examples/bridge_client.py. Editor extensions are thin clients over this protocol.

Tests

  • test_bridge.py β€” real in-process server: health, auth enforcement, /ask (context + validation), /diagnostics, and 404s. 471 total; ruff + CI green.

This release completes the roadmap β€” the full mcp2cli-inspired suite (lazy MCP, remote MCP, OAuth, TOON, OpenAPI/GraphQL), cross-provider failover, turn-rewind, custom commands, and now the editor bridge.