@yixinkj/cli 1.0.0 → 1.0.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 (3) hide show
  1. package/README.md +3 -3
  2. package/index.js +2 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # @yixinkj/cli
2
2
 
3
- 译心跨境本地 MCP stdio 服务器,用于在客户端通过 `npx -y` 启动 MCP 服务并调用本地 Rust 能力。
3
+ 译心跨境本地 MCP stdio 服务器,用于在 MCP 客户端通过 `npx -y` 启动 MCP 服务并调用本地 Rust 能力。
4
4
 
5
- ## Accio Work 配置
5
+ ## MCP 客户端配置
6
6
 
7
7
  配置方式:`Stdio`
8
8
 
@@ -42,7 +42,7 @@ YIXIN_AUTH_URL=https://你的授权服务域名/v1/token
42
42
  --ads --period <period>
43
43
  ```
44
44
 
45
- 5. 将原生二进制的 stdout 返回给 Accio Work。
45
+ 5. 将原生二进制的 stdout 返回给 MCP 客户端。
46
46
 
47
47
  ## 本地二进制名称
48
48
 
package/index.js CHANGED
@@ -122,7 +122,7 @@ async function requestToken({ key, skill, version }) {
122
122
  async function authorize(skill) {
123
123
  const key = String(process.env.YIXIN_KEY || '').trim();
124
124
  if (!key) {
125
- throw new Error('未配置授权 key,请在 Accio Work 环境变量里添加 YIXIN_KEY=你的key');
125
+ throw new Error('未配置授权 key,请在 MCP 客户端环境变量里添加 YIXIN_KEY=你的key');
126
126
  }
127
127
 
128
128
  const auth = await requestToken({ key, skill, version: VERSION });
@@ -205,6 +205,7 @@ async function startMcpServer() {
205
205
 
206
206
  const transport = new StdioServerTransport();
207
207
  await server.connect(transport);
208
+ console.error(`Yixin MCP Server v${VERSION} running on stdio`);
208
209
  }
209
210
 
210
211
  async function main() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yixinkj/cli",
3
- "version": "1.0.0",
4
- "description": "Yixin local MCP server and CLI launcher for Accio Work.",
3
+ "version": "1.0.1",
4
+ "description": "Yixin local MCP server and CLI launcher for MCP clients.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "yixin": "index.js"