Privacy: pieces of other open files with a suggestion, and the names of other open files with a
message, now come only from files inside the working directory, never from a file that looks
like it holds secrets (one table, tests/rules/private_files.json, which the VS Code extension
reads too), and never from one the project's .gitignore leaves out. In a file that looks secret
no suggestion is asked for; said once. :help llembas-privacy says what is and is not sent.
- require("llembas").cli(): the one function that decides where the LLeMbas CLI is (PATH, then
~/.local/bin); LLeMbas IDE and its launcher follow it.
- A late answer from an agent that was replaced (:LLeMbasNew!, :LLeMbasRestart) no longer ends
the new turn.
- :LLeMbasOpen judges a file by its first bytes and its name (llembas.shown), as VS Code does.
- The existing sign-in is read by whole lines; an address that reads as an option is refused.
- A protocol line over the limit is dropped whole, not the message after it; a notification
that fails is noted in :LLeMbasLog.
- After :cd the remembered settings of the new directory hold.
- Versions: "1.2.3junk" is no version, as in VS Code.
- tests/rules/: versions, private files, server addresses, sign-in lines, protocol lines and
openable files, as data both editors' suites read (scripts/test-nvim.sh rules).
- The stand-in agent answers _lembas/session/delete as the CLI does ({deleted}, no notification
on serve --stdio).
- Texts: one sentence for "still working" and one for "this CLI is too old"; plain words in
:LLeMbasStatus and the length presets; the help card is "LLeMbas — commands and keys".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
1.1 KiB
JSON
12 lines
1.1 KiB
JSON
{
|
|
"max": 64,
|
|
"cases": [
|
|
{ "chunks": ["{\"jsonrpc\":\"2.0\",\"method\":\"a\"}\n{\"jsonrpc\":\"2.0\",\"method\":\"b\"}\n"], "methods": ["a", "b"] },
|
|
{ "chunks": ["{\"jsonrpc\":\"2.0\",\"me", "thod\":\"a\"}\n"], "methods": ["a"] },
|
|
{ "chunks": ["{\"jsonrpc\":\"2.0\",\"method\":\"a\"}\n", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "tail of the long line\n{\"jsonrpc\":\"2.0\",\"method\":\"b\"}\n"], "methods": ["a", "b"] },
|
|
{ "chunks": ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "{\"jsonrpc\":\"2.0\",\"method\":\"lost\"}\n", "{\"jsonrpc\":\"2.0\",\"method\":\"b\"}\n"], "methods": ["b"] },
|
|
{ "chunks": ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "\n", "{\"jsonrpc\":\"2.0\",\"method\":\"b\"}\n"], "methods": ["b"] },
|
|
{ "chunks": ["printed by mistake\n", "\n", "{\"jsonrpc\":\"2.0\",\"method\":\"a\"}\n"], "methods": ["a"] }
|
|
]
|
|
}
|