lema-mcp 0.8.2 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +16 -13
  2. package/package.json +6 -5
package/README.md CHANGED
@@ -38,17 +38,18 @@ and Rust, served from lema's public demo. No account, no token:
38
38
  npx lema-mcp try react # or: kubernetes · rust
39
39
  ```
40
40
 
41
- That writes a **read-only** `lema-try` server to `.mcp.json` (it coexists with a
42
- captured `lema` server it doesn't touch your repo). Reload your agent's MCP
43
- servers and ask:
41
+ That writes a **read-only** `lema` server (public mode) to `.mcp.json` and if
42
+ you already have the authed `lema` server from `init`, it's left untouched (that
43
+ server already serves these public tools). Reload your agent's MCP servers and
44
+ ask:
44
45
 
45
46
  > *"why did React adopt Hooks over mixins?"* — or, before you reach for a pattern,
46
47
  > *"was a global event bus ever ruled out in Kubernetes?"*
47
48
 
48
49
  You get **one synthesized, cited answer** — each `[n]` links to its GitHub source
49
50
  (the RFC/PR) where available — and an honest **"no recorded ruling"** when the
50
- record is silent, instead of a confident guess. Two tools light up (`public_ask`,
51
- `why_not_public`); nothing local is registered. Ready for the same on *your own*
51
+ record is silent, instead of a confident guess. Two tools light up (`why_decided`,
52
+ `settled`); nothing local is registered. Ready for the same on *your own*
52
53
  repo? `npx lema-mcp init` adds capture + enforcement.
53
54
 
54
55
  Grounded only in recorded decisions; claims are **summarized, not verbatim**;
@@ -184,7 +185,7 @@ regex), `--openspec-dir`, `--capture-file` (override the JSONL path), and
184
185
  Your agent calls these over MCP. In the standard server **eight are always on**;
185
186
  `search_docs` / `get_doc` also register in local mode once a markdown tree is
186
187
  indexed. (The `npx lema-mcp try` public-demo server runs a public-only subset —
187
- just `public_ask` / `why_not_public`.)
188
+ just `why_decided` / `settled`.)
188
189
 
189
190
  **Enforce + capture (the part read-only tools don't have):**
190
191
 
@@ -214,14 +215,16 @@ just `public_ask` / `why_not_public`.)
214
215
 
215
216
  **Public demo (no account — `npx lema-mcp try <repo>`):**
216
217
 
217
- - **`public_ask`** — ask why **React / Kubernetes / Rust** made a decision; one
218
+ - **`why_decided`** — ask why **React / Kubernetes / Rust** made a decision; one
218
219
  cited answer over their recorded RFC/KEP decisions, surfacing status and the
219
- ruled-out alternatives, with an honest abstain when the record is silent.
220
- Tokenless, over the public demo.
221
- - **`why_not_public`** before you propose a library / pattern / approach, check
222
- whether one of those projects already ruled it out: a cited answer, or a plain
223
- "no recorded decision against it" which means *not on the record*, **not
224
- *approved***.
220
+ ruled-out alternatives, with an honest abstain when the record is silent. The
221
+ abstain is also machine-readable (`record_silent: true`), and a grounded answer
222
+ carries `caveats` naming what the public demo does *not* cover. Tokenless.
223
+ - **`settled`** before you propose a library / pattern / approach, check whether
224
+ one of those projects already ruled it out. Returns a typed `state`
225
+ (`settled` / `not_settled` / `unsure`) plus each governing decision's ref and
226
+ recorded reasoning; `not_settled` means *not on the record*, **not *approved***.
227
+ (`why_not_public` remains as a deprecated alias.)
225
228
 
226
229
  ```
227
230
  > search_decisions "why did we choose an MCP-first architecture?"
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "lema-mcp",
3
- "version": "0.8.2",
3
+ "version": "0.9.1",
4
+ "mcpName": "io.github.lemahq/lema-mcp",
4
5
  "description": "Local, database-less MCP server that makes your repo's decisions — and what it ruled out — queryable by your coding agent, and lets the agent record new ones with enforced never-reopen.",
5
6
  "bin": {
6
7
  "lema-mcp": "bin/lema-mcp.js"
@@ -12,10 +13,10 @@
12
13
  "prepack": "cp ../../README.md ./README.md && cp ../../LICENSE ./LICENSE"
13
14
  },
14
15
  "optionalDependencies": {
15
- "lema-mcp-darwin-arm64": "0.8.2",
16
- "lema-mcp-darwin-x64": "0.8.2",
17
- "lema-mcp-linux-x64": "0.8.2",
18
- "lema-mcp-linux-arm64": "0.8.2"
16
+ "lema-mcp-darwin-arm64": "0.9.0",
17
+ "lema-mcp-darwin-x64": "0.9.0",
18
+ "lema-mcp-linux-x64": "0.9.0",
19
+ "lema-mcp-linux-arm64": "0.9.0"
19
20
  },
20
21
  "engines": {
21
22
  "node": ">=18"