@ganhaiapp/cli 0.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.
- package/README.md +9 -0
- package/bin/ganhai.js +6 -0
- package/package.json +19 -0
package/README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# @ganhaiapp/cli
|
|
2
|
+
|
|
3
|
+
赶海 GanHai 命令行工具 —— **占位版本(0.0.1)**,仅用于占住包名。
|
|
4
|
+
|
|
5
|
+
正式版随 93-P2 发布,规划能力:
|
|
6
|
+
|
|
7
|
+
- `ganhai auth login` — device flow 设备码授权(Key 不经过对话/剪贴板)
|
|
8
|
+
- `ganhai mcp serve` — 本地 stdio MCP 服务(tools 按 API Key scope 动态裁剪)
|
|
9
|
+
- `ganhai mcp install` — 自动配置 Claude Desktop / Cursor / VS Code 的 MCP 设置
|
package/bin/ganhai.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// 赶海 GanHai CLI — 占位包(0.0.1)
|
|
3
|
+
// 目的:抢注 @ganhai/cli 包名,防止被占位(SellerPilot 教训)。
|
|
4
|
+
// 正式版随 93-P2 发布:device flow 登录(ganhai auth login)+ MCP stdio(ganhai mcp serve)。
|
|
5
|
+
console.log('赶海 GanHai CLI — 占位版本(0.0.1)')
|
|
6
|
+
console.log('正式版随 93-P2 发布,届时本命令提供 auth/mcp 能力。')
|
package/package.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ganhaiapp/cli",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "赶海 GanHai CLI(占位包——正式版随 93-P2 发布,届时含设备码登录与 MCP stdio 服务)",
|
|
5
|
+
"bin": {
|
|
6
|
+
"ganhai": "bin/ganhai.js"
|
|
7
|
+
},
|
|
8
|
+
"files": [
|
|
9
|
+
"bin",
|
|
10
|
+
"README.md"
|
|
11
|
+
],
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=18"
|
|
17
|
+
},
|
|
18
|
+
"license": "UNLICENSED"
|
|
19
|
+
}
|