Files
LLeMbas-IDE/vscode/package.json
T
HomerandClaude Opus 5.5 eab47acb39 VS Code: only project files go along, the account change lets go, review fixes
Privacy: the text of other open files with a suggestion, and the paths of other open tabs with
a message, now come only from files inside the window's folders, never from a file that looks
like it holds secrets (the table both editors share, tests/rules/private_files.json), and never
from one the project's .gitignore leaves out. In a file that looks secret no suggestion is
asked for; said once. The README (What is sent) and the settings' descriptions say exactly
what is sent and what is not.

- Signing in elsewhere, or out, drops the old account's models, this window's model choice and
  the listed sessions, and reads the models again.
- A rewrite or generation holds the file only while it is written; asked again before the
  instruction was typed, the question that waits gets the keyboard.
- The Mode and model lists are rebuilt only when what they offer changed.
- Session times are local time.
- _lembas/session/deleted is gone: the CLI sends it only on the LLeMbas link, never on
  serve --stdio. Deleting says why it could not (agent, too old, working) and reads the list
  again when the CLI no longer has the session.
- Dead page messages (focus, insertText, keepBeside), data-line and hooks.filesChanged removed.
- Sign-in lines and versions read as the Neovim plugin reads them (tests/rules/).
- Texts: one sentence for "still working" and one for "this CLI is too old"; Open a File of This
  Project; Send now; Approve: edit without asking / ask before each edit; "You (sent while
  working)" as in Neovim; the Status rows named in words, no Harness row; the hero image has no
  "LLeMbas IDE" alt text; Choose the Main Model removed (Models does it); Stop the Agent.
- README: "nothing is stored in the editor"; the VS Code 1.85 subgrid note names Electron 25 /
  Chromium 114 and 1.86's Electron 27 / Chromium 118 (read from each tag's cgmanifest.json).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 07:52:23 +00:00

181 lines
11 KiB
JSON

{
"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."
}
}
}
}
}