leglas-mcp 0.7.4 → 0.9.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.
- package/README.md +23 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
<a href="https://www.npmjs.com/package/leglas"><img src="https://img.shields.io/npm/v/leglas" alt="npm"></a>
|
|
13
13
|
<a href="https://github.com/FredAmartey/leglas/actions/workflows/ci.yml"><img src="https://github.com/FredAmartey/leglas/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
14
14
|
<a href="LICENSE"><img src="https://img.shields.io/npm/l/leglas" alt="license"></a>
|
|
15
|
+
<a href="https://leglas.vercel.app/changelog/"><img src="https://img.shields.io/badge/changelog-what's%20new-0B1839" alt="changelog"></a>
|
|
15
16
|
</p>
|
|
16
17
|
|
|
17
18
|
<p align="center">
|
|
@@ -196,7 +197,14 @@ edit the hero. The supporting commands:
|
|
|
196
197
|
a direction from the rail hands over a block that ends in this command, so
|
|
197
198
|
an agent given the block can go and get the rest.
|
|
198
199
|
- `npx leglas keep "Aurora" --to src/components/hero.tsx` moves the winner
|
|
199
|
-
into real source and ends the exploration.
|
|
200
|
+
into real source and ends the exploration. It also writes down what the
|
|
201
|
+
exploration was, into `design-log/`: every direction with its note, the words
|
|
202
|
+
you typed at each of them, the captures the agent was sent, and which one
|
|
203
|
+
won. Plain markdown and PNGs, committed, so a pull request can link it and
|
|
204
|
+
somebody can read it in three months without this tool. Exploring is
|
|
205
|
+
episodic, and the archive is what makes coming back to a surface cheaper than
|
|
206
|
+
starting over. `npx leglas log` lists what is there. Set `logDir` if you want
|
|
207
|
+
it somewhere else.
|
|
200
208
|
|
|
201
209
|
Asking for a change works from the interface too. Type what you want
|
|
202
210
|
changed into the field under the rail (or press `R`) and Leglas composes a
|
|
@@ -388,6 +396,7 @@ Usage
|
|
|
388
396
|
leglas classify Decide where a direction should live
|
|
389
397
|
leglas add --title T --url U Register a preview on this machine
|
|
390
398
|
leglas list Show every preview, shared and local
|
|
399
|
+
leglas log [entry] What past explorations decided
|
|
391
400
|
leglas show <title> Everything Leglas knows about one direction
|
|
392
401
|
leglas requests Show change requests made from the interface
|
|
393
402
|
leglas watch --run "<cmd>" Hand each request to your agent as it arrives
|
|
@@ -526,6 +535,7 @@ pnpm install
|
|
|
526
535
|
pnpm build # build every package
|
|
527
536
|
pnpm test # run the test suite
|
|
528
537
|
pnpm typecheck # type check every package
|
|
538
|
+
pnpm site # build the site, homepage and changelog, into dist/site
|
|
529
539
|
```
|
|
530
540
|
|
|
531
541
|
| Package | Contents |
|
|
@@ -541,11 +551,18 @@ terminal and `pnpm --filter @leglas/shell dev` in another.
|
|
|
541
551
|
Two packages are published, both unscoped: `leglas`, which bundles the
|
|
542
552
|
server and the built interface, and `leglas-mcp`. Releases are
|
|
543
553
|
tag-driven: set the same version in both packages and `plugin.json`, turn
|
|
544
|
-
the changelog's Unreleased section into that version
|
|
545
|
-
tag, and CI runs the suite and
|
|
546
|
-
A tag that disagrees with the
|
|
547
|
-
when `api-surface.txt` has
|
|
548
|
-
exists anywhere in the project.
|
|
554
|
+
the changelog's Unreleased section into that version with a title for what
|
|
555
|
+
the release was about, push a `v<version>` tag, and CI runs the suite and
|
|
556
|
+
publishes through npm trusted publishing. A tag that disagrees with the
|
|
557
|
+
manifests is refused, and so is a patch tag when `api-surface.txt` has
|
|
558
|
+
moved since the previous one. No npm token exists anywhere in the project.
|
|
559
|
+
|
|
560
|
+
The [site](https://leglas.vercel.app/) is two pages, the homepage and the
|
|
561
|
+
[changelog](https://leglas.vercel.app/changelog/), written by `site.ts`. The
|
|
562
|
+
changelog page is made from `CHANGELOG.md` and nothing else, so describing a
|
|
563
|
+
release in the changelog is the whole job. Vercel builds it from
|
|
564
|
+
`vercel.json` on every push, so main is the live site and every pull request
|
|
565
|
+
gets a preview.
|
|
549
566
|
|
|
550
567
|
## License
|
|
551
568
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "leglas-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Stdio MCP server exposing Leglas to agent hosts that cannot run a shell.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
17
17
|
"zod": "^3.25.76",
|
|
18
|
-
"leglas": "^0.
|
|
18
|
+
"leglas": "^0.9.0"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"repository": {
|