@manturhub/cli 0.1.0 → 0.1.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.
package/README.md CHANGED
@@ -17,7 +17,7 @@ npm install -g @manturhub/cli
17
17
  ## 上手三步
18
18
 
19
19
  ```bash
20
- # 1. 配 Key(去 https://manturhub.leisurecat.cloud/dashboard 拿)
20
+ # 1. 配 Key(去 https://hub.mantur.cn/dashboard 拿)
21
21
  manturhub login --key sk-你的key
22
22
 
23
23
  # 2. 验证(列出全部上线算子)
@@ -65,4 +65,4 @@ args = ["mcp", "--scope", "drama"] # 只暴露剧本域算子
65
65
  `manturhub mcp` 不重新实现 MCP server,而是把客户端的 stdio JSON-RPC 消息转发到 ManturHub 已标准化的 Streamable HTTP MCP 端点(`/api/v1/mcp/<域>/mcp`),再把响应写回 stdout。工具发现、调用、计费全部在服务端完成,CLI 只做可靠的 stdio↔HTTP 桥接 —— 等于一个官方、可控的 mcp-remote。
66
66
 
67
67
  ---
68
- ManturHub 算子广场 · https://manturhub.leisurecat.cloud
68
+ ManturHub 算子广场 · https://hub.mantur.cn
package/bin/cli.js CHANGED
@@ -25,7 +25,7 @@ const HELP = `manturhub — ManturHub 算子广场 CLI v${VERSION}
25
25
 
26
26
  环境变量:
27
27
  MANTURHUB_KEY API Key(优先于配置文件)
28
- MANTURHUB_BASE 网关地址(默认 https://manturhub.leisurecat.cloud
28
+ MANTURHUB_BASE 网关地址(默认 https://hub.mantur.cn
29
29
 
30
30
  把算子接进你的 AI(stdio,所有客户端都稳):
31
31
  Codex ~/.codex/config.toml:
@@ -80,7 +80,7 @@ async function main() {
80
80
  for (const o of ops) {
81
81
  console.log(` ${o.id.padEnd(26)} ${o.name} [${o.cat}]`);
82
82
  }
83
- console.log(`\n用 \`manturhub run <算子ID> --json '{...}'\` 调用,参数见 ${"https://manturhub.leisurecat.cloud"}/marketplace/<算子ID>`);
83
+ console.log(`\n用 \`manturhub run <算子ID> --json '{...}'\` 调用,参数见 ${"https://hub.mantur.cn"}/marketplace/<算子ID>`);
84
84
  break;
85
85
  }
86
86
 
package/lib/config.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  // Local config lives at ~/.manturhub/config.json (chmod 600). Env vars win over it.
12
12
  const DIR = join(homedir(), ".manturhub");
13
13
  const FILE = join(DIR, "config.json");
14
- const DEFAULT_BASE = "https://manturhub.leisurecat.cloud";
14
+ const DEFAULT_BASE = "https://hub.mantur.cn";
15
15
 
16
16
  export function loadConfig() {
17
17
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manturhub/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "ManturHub 算子广场 CLI:命令行直调 AI 算子 + 给 Claude Code / Codex / Cursor 等当 stdio MCP server",
5
5
  "type": "module",
6
6
  "bin": {
@@ -24,5 +24,5 @@
24
24
  "stdio"
25
25
  ],
26
26
  "license": "MIT",
27
- "homepage": "https://manturhub.leisurecat.cloud"
27
+ "homepage": "https://hub.mantur.cn"
28
28
  }