wenlan-mcp 0.9.5 → 0.10.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 +37 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
<p align="center">
|
|
19
19
|
<a href="#claude-code-in-30-seconds"><img alt="Claude Code" src="https://img.shields.io/badge/Claude%20Code-plugin-5D4E75"></a>
|
|
20
|
-
<a href="#
|
|
20
|
+
<a href="#codex-plugin-local-development"><img alt="OpenAI Codex" src="https://img.shields.io/badge/OpenAI%20Codex-plugin-111827"></a>
|
|
21
21
|
<a href="#mcp-only-setup"><img alt="Cursor" src="https://img.shields.io/badge/Cursor-MCP-111111"></a>
|
|
22
22
|
<a href="#mcp-only-setup"><img alt="VS Code" src="https://img.shields.io/badge/VS%20Code-MCP-007ACC"></a>
|
|
23
23
|
<a href="#mcp-only-setup"><img alt="Claude Desktop" src="https://img.shields.io/badge/Claude%20Desktop-MCP-D97757"></a>
|
|
@@ -71,16 +71,47 @@ Then try `/brief`, `/capture <decision>`, or `/handoff` inside Claude Code.
|
|
|
71
71
|
|
|
72
72
|
Plugin details and daily commands: [plugin/](plugin/.claude-plugin/README.md).
|
|
73
73
|
|
|
74
|
+
### Codex plugin (local development)
|
|
75
|
+
|
|
76
|
+
The Codex plugin lives in [plugin-codex](plugin-codex/) and is exposed through the repo-local marketplace at [.agents/plugins/marketplace.json](.agents/plugins/marketplace.json). It adds `/init`, `/brief`, `/capture`, `/recall`, `/distill`, `/pages`, `/curate`, `/forget`, `/handoff`, `/debrief`, and `/help` skills plus a `wenlan` MCP server.
|
|
77
|
+
|
|
78
|
+
From this repo:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
npx -y wenlan setup
|
|
82
|
+
codex plugin marketplace add .
|
|
83
|
+
codex plugin add wenlan@wenlan-local
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Start a new Codex thread after installing so the skills and MCP server load. Then try `/init`, `/brief`, `/capture <memory>`, `/recall <query>`, `/pages <query>`, or `/handoff`.
|
|
87
|
+
|
|
88
|
+
For plugin development, reinstall after plugin edits:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
python3 ~/.codex/skills/.system/plugin-creator/scripts/update_plugin_cachebuster.py plugin-codex
|
|
92
|
+
codex plugin add wenlan@wenlan-local
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
The plugin runner uses `~/.wenlan/bin/wenlan-mcp` when available and falls back to `npx -y wenlan-mcp@^0.9.5`. It passes `--agent-name codex` so captures are labeled as Codex writes.
|
|
96
|
+
|
|
97
|
+
The shared Claude/Codex plugin inventory lives in [plugin-contract.json](plugin-contract.json). Before changing plugin skills, manifests, MCP runner wiring, or the local marketplace, run:
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
python3 scripts/validate-codex-plugin-slice.py
|
|
101
|
+
python3 scripts/validate-plugin-contract.py
|
|
102
|
+
bash scripts/validate-plugin-contract.test.sh
|
|
103
|
+
```
|
|
104
|
+
|
|
74
105
|
### MCP-only setup
|
|
75
106
|
|
|
76
|
-
Use this if you want Wenlan tools in Claude Code without the plugin, or in Codex, Cursor, Claude Desktop, VS Code, or Gemini CLI.
|
|
107
|
+
Use this if you want Wenlan tools in Claude Code without the plugin, or in Codex without slash skills, Cursor, Claude Desktop, VS Code, or Gemini CLI.
|
|
77
108
|
|
|
78
109
|
```bash
|
|
79
110
|
npx -y wenlan setup
|
|
80
111
|
~/.wenlan/bin/wenlan mcp add claude-code # or: codex, cursor, claude-desktop, vscode, gemini
|
|
81
112
|
```
|
|
82
113
|
|
|
83
|
-
MCP-only gives agents tools for capture, recall, context, doctor, and page distillation. It does not install
|
|
114
|
+
MCP-only gives agents tools for capture, recall, context, doctor, and page distillation. It does not install plugin slash skills like `/brief`, `/handoff`, `/distill`, or `/init`.
|
|
84
115
|
|
|
85
116
|
### Terminal runtime setup
|
|
86
117
|
|
|
@@ -132,7 +163,7 @@ These five verbs drive it:
|
|
|
132
163
|
2. **During work.** `/capture <thing>` saves a decision, lesson, gotcha, or project fact in flow. `/recall <query>` looks anything up.
|
|
133
164
|
3. **Session ends.** `/handoff` writes what changed, what's still open, and where to continue, so the next run picks up cleanly.
|
|
134
165
|
4. **Between sessions.** The daemon deduplicates overlapping captures and links related ideas in the background. `/distill` synthesizes wiki pages from clusters of related memories when you want a deliberate pass.
|
|
135
|
-
5. **Next session.** `/brief` brings it back in the Claude Code
|
|
166
|
+
5. **Next session.** `/brief` brings it back in the Claude Code and Codex plugins; MCP-only clients call the `context` tool for the same memory. Recall pulls the relevant slice, not your whole history, so the context window goes to the work.
|
|
136
167
|
|
|
137
168
|
Full skill reference: [plugin/skills](plugin/skills/README.md).
|
|
138
169
|
|
|
@@ -200,6 +231,7 @@ Wenlan is daemon-first. `wenlan-server` owns the local database, embeddings, dis
|
|
|
200
231
|
| [crates/wenlan-mcp](crates/wenlan-mcp/README.md) | MCP server, tools, npm package. |
|
|
201
232
|
| [crates/wenlan-cli](crates/wenlan-cli/README.md) | User CLI for setup, service management, search, recall, store, list, agents, model/key setup, and doctor. |
|
|
202
233
|
| [plugin/](plugin/.claude-plugin/README.md) | Claude Code plugin (`plugin.json`, skills, hooks, `.mcp.json`). |
|
|
234
|
+
| [plugin-codex/](plugin-codex/) | Codex plugin (`.codex-plugin/plugin.json`, skills, `agents/openai.yaml`, `.mcp.json`). |
|
|
203
235
|
| [docs/eval](docs/eval/README.md) | Benchmark workflow and methodology. |
|
|
204
236
|
|
|
205
237
|
|
|
@@ -262,7 +294,7 @@ Bug fixes, eval cases, docs, and features are welcome. Start with [CONTRIBUTING.
|
|
|
262
294
|
|
|
263
295
|
## License
|
|
264
296
|
|
|
265
|
-
Wenlan is licensed under **Apache-2.0**. This includes the local runtime, CLI, MCP server, shared types, and Claude Code plugin files in this repo.
|
|
297
|
+
Wenlan is licensed under **Apache-2.0**. This includes the local runtime, CLI, MCP server, shared types, and Claude Code/Codex plugin files in this repo.
|
|
266
298
|
|
|
267
299
|
The permissive license keeps the daemon boundary usable for MCP clients and downstream local tools.
|
|
268
300
|
|