Skip to content

lcode 0.19.0

Choose a tag to compare

@nasser1941 nasser1941 released this 05 Oct 23:30
0979c30

lcode inside your editor (#49). lcode acp speaks the Agent Client Protocol, so Zed, JetBrains IDEs, Neovim, Emacs and other ACP editors can run lcode as their agent.

// Zed settings.json
{
  "agent_servers": {
    "lcode": { "type": "custom", "command": "lcode", "args": ["acp"], "env": {} }
  }
}
  • The conversation: answers and thinking stream into the editor.
  • Tool calls show their kind, the files they touch and a diff of the whole file for each edit.
  • Permission questions (allow, always allow, reject) and plan approvals use the editor's own dialog.
  • lcode's state in the editor: its permission modes (Ask, Auto-edit, Plan, Yolo) are the session's modes, the todo list is the editor's plan, and saved sessions reopen with their conversation.
  • Unsaved changes: the model reads what's in the editor, unsaved changes included, and edits go through the editor.
  • MCP: servers the editor passes join lcode's own.
  • Commands: /review and your own commands are offered in the editor.

Also fixed: cancelling a request whose answer was cut off mid-stream no longer ends it as if it were done.

Setup for Zed, JetBrains and other editors: Editors.

Full changelog: v0.18.0...v0.19.0