lema-mcp 0.14.0 → 0.16.0

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 +20 -0
  2. package/package.json +7 -6
package/README.md CHANGED
@@ -276,6 +276,26 @@ Your agent calls these over MCP.
276
276
  In your own repo the full server registers the read + capture tools (and the public
277
277
  `check_approach` too); the `npx lema-mcp try` server runs the public door only.
278
278
 
279
+ ### `lema settle` — rule from the terminal (hosted mode)
280
+
281
+ The package also installs a `lema` command. `settle` is the terminal half of
282
+ adjudication: it **drafts** a ruling on a hosted decision and prints the deep
283
+ link where your **browser click binds it** — a terminal credential never
284
+ binds anything (that split is structural: programmatic principals cannot
285
+ create binding rulings, by design).
286
+
287
+ ```
288
+ lema settle accept <decision-id>... # draft an accept, print the bind link
289
+ lema settle reject <decision-id> --reason <why> # proposed drafts only; takes effect immediately
290
+ lema settle supersede <decision-id> --by <decision-id> # takes effect immediately
291
+ ```
292
+
293
+ `accept` drafts; `reject` and `supersede` apply on the server in the same
294
+ request (no browser confirm step exists for them — the command says so).
295
+ Decision ids are full UUIDs or unique 6+ character UUID prefixes (`d_xxxxxx`
296
+ locators are content hashes and are refused). Requires hosted credentials
297
+ (`LEMA_API_URL`, `LEMA_API_TOKEN`, `LEMA_WORKSPACE_ID`).
298
+
279
299
  ---
280
300
 
281
301
  ## Why lema is different (the honest part)
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "lema-mcp",
3
- "version": "0.14.0",
3
+ "version": "0.16.0",
4
4
  "mcpName": "io.github.lemahq/lema-mcp",
5
5
  "description": "MCP server that gives your coding agent the recorded why behind decisions — and what was already ruled out — cited. Check React, Rust, and Kubernetes out of the box, or capture and enforce never-reopen on your own repo. Local, no account.",
6
6
  "bin": {
7
- "lema-mcp": "bin/lema-mcp.js"
7
+ "lema-mcp": "bin/lema-mcp.js",
8
+ "lema": "bin/lema-mcp.js"
8
9
  },
9
10
  "files": [
10
11
  "bin"
@@ -13,10 +14,10 @@
13
14
  "prepack": "cp ../../README.md ./README.md && cp ../../LICENSE ./LICENSE"
14
15
  },
15
16
  "optionalDependencies": {
16
- "lema-mcp-darwin-arm64": "0.14.0",
17
- "lema-mcp-darwin-x64": "0.14.0",
18
- "lema-mcp-linux-x64": "0.14.0",
19
- "lema-mcp-linux-arm64": "0.14.0"
17
+ "lema-mcp-darwin-arm64": "0.16.0",
18
+ "lema-mcp-darwin-x64": "0.16.0",
19
+ "lema-mcp-linux-x64": "0.16.0",
20
+ "lema-mcp-linux-arm64": "0.16.0"
20
21
  },
21
22
  "engines": {
22
23
  "node": ">=18"