{ "name": "llembas", "displayName": "LLeMbas", "description": "LLeMbas in your editor, in one side panel: chat with the agent, ask about a selection, have it rewritten as a diff, autocomplete, and every setting — a client of the LLeMbas CLI.", "version": "0.0.0", "publisher": "llembas", "icon": "media/logo.png", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/LLeMbas/LLeMbas-IDE" }, "engines": { "vscode": "^1.85.0" }, "categories": ["Machine Learning", "Other"], "keywords": ["llembas", "agent", "chat", "autocomplete", "acp"], "main": "./extension.js", "extensionKind": ["workspace"], "activationEvents": ["onStartupFinished", "onView:llembas.chat"], "capabilities": { "untrustedWorkspaces": { "supported": false, "description": "LLeMbas starts an agent that works in the open folder; it stays off until you trust the folder." }, "virtualWorkspaces": { "supported": false, "description": "The LLeMbas CLI works on files on this computer." } }, "contributes": { "viewsContainers": { "activitybar": [{ "id": "llembas", "title": "LLeMbas", "icon": "media/icon.svg" }] }, "views": { "llembas": [{ "type": "webview", "id": "llembas.chat", "name": "Chat" }] }, "commands": [ { "command": "llembas.open", "title": "Open the Chat", "category": "LLeMbas" }, { "command": "llembas.newSession", "title": "New Session", "category": "LLeMbas" }, { "command": "llembas.resumeSession", "title": "Resume a Previous Session", "category": "LLeMbas" }, { "command": "llembas.compact", "title": "Compact Session Context", "category": "LLeMbas" }, { "command": "llembas.stop", "title": "Stop the Running Turn", "category": "LLeMbas" }, { "command": "llembas.ask", "title": "Ask About the Selection", "category": "LLeMbas" }, { "command": "llembas.explain", "title": "Explain the Selection", "category": "LLeMbas" }, { "command": "llembas.fixProblems", "title": "Fix Problems in This File", "category": "LLeMbas" }, { "command": "llembas.generate", "title": "Generate Code at Cursor", "category": "LLeMbas" }, { "command": "llembas.rewrite", "title": "Rewrite the Selection", "category": "LLeMbas" }, { "command": "llembas.complete", "title": "Suggest a Completion Here", "category": "LLeMbas" }, { "command": "llembas.toggleAutocomplete", "title": "Toggle Autocomplete as You Type", "category": "LLeMbas" }, { "command": "llembas.openFile", "title": "Open a File of This Project", "category": "LLeMbas" }, { "command": "llembas.addFile", "title": "Add File to Chat", "category": "LLeMbas" }, { "command": "llembas.acceptChange", "title": "Accept the Proposed Change at the Cursor", "category": "LLeMbas" }, { "command": "llembas.rejectChange", "title": "Reject the Proposed Change at the Cursor", "category": "LLeMbas" }, { "command": "llembas.acceptAllChanges", "title": "Accept All Proposed Changes in This File", "category": "LLeMbas" }, { "command": "llembas.rejectAllChanges", "title": "Reject All Proposed Changes in This File", "category": "LLeMbas" }, { "command": "llembas.showChanges", "title": "Show the Proposed Changes as a Diff", "category": "LLeMbas" }, { "command": "llembas.chooseMode", "title": "Choose the Mode", "category": "LLeMbas" }, { "command": "llembas.chooseModel", "title": "Choose This Session's Model", "category": "LLeMbas" }, { "command": "llembas.modelSettings", "title": "Models (Autocomplete, Chat and Rewrite)", "category": "LLeMbas" }, { "command": "llembas.settings", "title": "Settings (in the Panel)", "category": "LLeMbas" }, { "command": "llembas.status", "title": "Status of the Agent", "category": "LLeMbas" }, { "command": "llembas.chooseAutocompleteModel", "title": "Choose the Autocomplete Model", "category": "LLeMbas" }, { "command": "llembas.restart", "title": "Stop the Agent", "category": "LLeMbas" }, { "command": "llembas.signIn", "title": "Sign In", "category": "LLeMbas" }, { "command": "llembas.signOut", "title": "Sign Out", "category": "LLeMbas" } ], "keybindings": [ { "command": "llembas.open", "key": "ctrl+alt+l", "mac": "cmd+alt+l" }, { "command": "llembas.ask", "key": "ctrl+alt+k", "mac": "cmd+alt+k", "when": "editorTextFocus && editorHasSelection" }, { "command": "llembas.rewrite", "key": "ctrl+alt+e", "mac": "cmd+alt+e", "when": "editorTextFocus && editorHasSelection && !editorReadonly" }, { "command": "llembas.complete", "key": "alt+\\", "when": "editorTextFocus && !editorReadonly" }, { "command": "llembas.acceptAllChanges", "key": "ctrl+alt+enter", "mac": "cmd+alt+enter", "when": "editorTextFocus && llembas.hasProposal" }, { "command": "llembas.rejectAllChanges", "key": "ctrl+alt+backspace", "mac": "cmd+alt+backspace", "when": "editorTextFocus && llembas.hasProposal" } ], "menus": { "editor/context": [ { "command": "llembas.ask", "when": "editorHasSelection", "group": "llembas@1" }, { "command": "llembas.explain", "when": "editorHasSelection", "group": "llembas@2" }, { "command": "llembas.rewrite", "when": "editorHasSelection && !editorReadonly", "group": "llembas@3" }, { "command": "llembas.fixProblems", "group": "llembas@4" }, { "command": "llembas.generate", "when": "!editorReadonly", "group": "llembas@5" } ], "view/title": [ { "command": "llembas.newSession", "when": "view == llembas.chat", "group": "llembas@1" }, { "command": "llembas.resumeSession", "when": "view == llembas.chat", "group": "llembas@2" }, { "command": "llembas.openFile", "when": "view == llembas.chat", "group": "llembas@3" }, { "command": "llembas.modelSettings", "when": "view == llembas.chat", "group": "llembas@4" }, { "command": "llembas.settings", "when": "view == llembas.chat", "group": "llembas@5" }, { "command": "llembas.signIn", "when": "view == llembas.chat", "group": "llembas@6" }, { "command": "llembas.status", "when": "view == llembas.chat", "group": "llembas@7" }, { "command": "llembas.restart", "when": "view == llembas.chat", "group": "llembas@8" } ], "commandPalette": [ { "command": "llembas.acceptChange", "when": "llembas.hasProposal" }, { "command": "llembas.rejectChange", "when": "llembas.hasProposal" }, { "command": "llembas.acceptAllChanges", "when": "llembas.hasProposal" }, { "command": "llembas.rejectAllChanges", "when": "llembas.hasProposal" }, { "command": "llembas.showChanges", "when": "llembas.hasProposal" } ] }, "configuration": { "title": "LLeMbas", "properties": { "llembas.command": { "type": "string", "default": "lembas", "scope": "machine", "markdownDescription": "The LLeMbas CLI: `lembas` when it is on your `PATH`, or the full path of the program. It is started as `lembas serve --stdio`. The server, the sign-in, the models and the permissions are the CLI's own: the panel shows and changes them through the CLI, and none of them is stored in the editor's settings." }, "llembas.login.caFile": { "type": "string", "default": "", "scope": "machine", "description": "A file with the certificate authority of a LLeMbas server that has a private one. Used by \"LLeMbas: Sign In\" only; with it, signing in is always a new sign-in. Empty: the system's own certificates." }, "llembas.chat.sendEditorContext": { "type": "boolean", "default": true, "description": "Tell the agent, with each message you type, which file is in front, where the cursor is, what is selected, the problems the editor shows there, and the paths of the other open tabs. Only tabs of files inside this window's folders are named, and never a file that looks like it holds secrets (.env, keys, credentials) or that the project's .gitignore leaves out." }, "llembas.chat.showThinking": { "type": "boolean", "default": false, "description": "Show the model's thinking in the chat." }, "llembas.chat.startMode": { "type": "string", "default": "", "scope": "machine", "description": "The mode a new session starts in (for example manual, in which every edit is shown as a diff to accept). Empty: the CLI's own. Set for the machine, never by a folder." }, "llembas.complete.auto": { "type": "boolean", "default": true, "description": "Suggest a completion as you type. Off: only when you ask for one (Alt+\\). It needs an autocomplete model, chosen on the server or in the LLeMbas panel under Models. A request sends your server the text around the cursor and pieces of up to six other open files of this window's folders; never a file that looks like it holds secrets (.env, keys, credentials) or that the project's .gitignore leaves out, and in such a file no suggestion is asked for at all." }, "llembas.complete.debounce": { "type": "number", "default": 250, "minimum": 0, "maximum": 5000, "description": "How long you must pause, in milliseconds, before a completion is asked for." }, "llembas.complete.maxTokens": { "type": "number", "default": 0, "minimum": 0, "maximum": 4096, "description": "The longest suggestion, in tokens. 0: as the length setting says." }, "llembas.complete.length": { "type": "string", "default": "auto", "enum": ["auto", "words", "line", "block", "file"], "enumDescriptions": [ "As the server sets it", "A few words (about 24 tokens)", "One line (about 64 tokens)", "A function or block (about 256 tokens)", "A long passage (about 2048 tokens)" ], "description": "How much a suggestion writes." }, "llembas.complete.instructions": { "type": "string", "default": "", "description": "Your own instructions for suggestions, for example about style." }, "llembas.rewrite.openDiff": { "type": "boolean", "default": true, "description": "Open the diff view beside the file when a rewrite is proposed. Off: only the marks and the Accept / Reject lines in the file." }, "llembas.media.maxMegabytes": { "type": "number", "default": 64, "minimum": 1, "maximum": 64, "description": "The largest file, in megabytes, the chat takes from the agent to show (a picture) or to open. A larger one is refused, and the agent is told why." } } } } }