@akasha-book/mcp 0.0.0-stage → 1.0.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 +16 -2
- package/cordis.patch.yml +10 -0
- package/package.json +11 -4
package/README.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @akasha-book/mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> 阿卡夏之书(Akasha Book)· MCP 桥插件
|
|
4
|
+
|
|
5
|
+
阿卡夏之书 MCP 桥:把核心 `mcp.mjs` 的工具以 `mcp__akasha__*` 暴露给宿主模型(stdio 传输)。
|
|
6
|
+
|
|
7
|
+
- 工具面(16):`akasha_check` / `akasha_lookup` / `akasha_price` / `akasha_stats` / `akasha_orphan_add` / `akasha_frontier_due` / `akasha_audit` / `akasha_brief` / `akasha_kit` / `akasha_promote` / `akasha_revise` / `akasha_cross` / `akasha_summary` / `akasha_show` / `akasha_mirror_match` / `akasha_metrics`。
|
|
8
|
+
- 实现:仅 `package.json` + `cordis.patch.yml`——bundle patch 插入一条 `@deepseek-ai/dsh-mcp-client` 配置,stdio 拉起 `node <AKASHA_DIR>/mcp.mjs`。
|
|
9
|
+
- ⚠️ **安装前请按你的实际路径修改 `cordis.patch.yml` 中的 `command` / `args`**(默认给了占位示例)。
|
|
10
|
+
- 依赖:`@deepseek-ai/dsh-mcp-client`(DSH 官方 bundle,随宿主提供)。
|
|
11
|
+
|
|
12
|
+
## 打包 / 安装(DSH 宿主)
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm pack
|
|
16
|
+
# 然后:plugin_manager install_bundle <tgz 绝对路径>(实测返回 applied 热生效;未热生效时重启宿主)
|
|
17
|
+
```
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
- insert:
|
|
2
|
+
- id: mcp-akasha
|
|
3
|
+
name: '@deepseek-ai/dsh-mcp-client'
|
|
4
|
+
config:
|
|
5
|
+
serverName: akasha
|
|
6
|
+
transport: stdio
|
|
7
|
+
# 按你的实际路径修改:node 可执行文件 + 本包 core/mcp.mjs 的绝对路径(或用 PATH 中的 node)
|
|
8
|
+
command: 'node'
|
|
9
|
+
args: ['<AKASHA_DIR>/mcp.mjs']
|
|
10
|
+
failOnStartupError: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akasha-book/mcp",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "阿卡夏之书 MCP 桥:把外置大脑(akasha)的工具以 mcp__akasha__* 暴露给模型(stdio:node mcp.mjs)",
|
|
7
|
+
"files": ["cordis.patch.yml"],
|
|
8
|
+
"dsh": {
|
|
9
|
+
"bundle": {
|
|
10
|
+
"patch": "./cordis.patch.yml"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|