@fastmoss/cli 0.1.16 → 0.1.18

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
@@ -71,11 +71,15 @@ cd cli
71
71
  ```bash
72
72
  fastmoss --version
73
73
  fastmoss help
74
- fastmoss login --api-key <your-api-key>
74
+ fastmoss login
75
75
  fastmoss tools
76
76
  fastmoss call --tool <tool_name> --args '<json>' --output mcp
77
77
  ```
78
78
 
79
+ `fastmoss login` securely reads the API key from a real terminal with echo
80
+ disabled. The legacy `fastmoss login --api-key <value>` form remains available
81
+ for existing trusted automation, but should not be used for interactive login.
82
+
79
83
  ## CLI Tool Catalog
80
84
 
81
85
  ### Advertising Tools
package/README.zh-CN.md CHANGED
@@ -71,11 +71,14 @@ cd cli
71
71
  ```bash
72
72
  fastmoss --version
73
73
  fastmoss help
74
- fastmoss login --api-key <your-api-key>
74
+ fastmoss login
75
75
  fastmoss tools
76
76
  fastmoss call --tool <tool_name> --args '<json>' --output mcp
77
77
  ```
78
78
 
79
+ `fastmoss login` 会在真实终端中关闭回显并安全读取 API Key。旧的
80
+ `fastmoss login --api-key <value>` 仍兼容已有的可信自动化脚本,但不建议用于人工交互登录。
81
+
79
82
  ## CLI 工具列表
80
83
 
81
84
  ### 广告工具
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastmoss/cli",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "FastMoss CLI for npm and npx",
5
5
  "keywords": [
6
6
  "fastmoss",
@@ -29,11 +29,11 @@
29
29
  "test": "node --test ./test/*.test.js"
30
30
  },
31
31
  "optionalDependencies": {
32
- "@fastmoss/cli-darwin-amd64": "0.1.16",
33
- "@fastmoss/cli-darwin-arm64": "0.1.16",
34
- "@fastmoss/cli-linux-amd64": "0.1.16",
35
- "@fastmoss/cli-linux-arm64": "0.1.16",
36
- "@fastmoss/cli-windows-amd64": "0.1.16"
32
+ "@fastmoss/cli-darwin-amd64": "0.1.18",
33
+ "@fastmoss/cli-darwin-arm64": "0.1.18",
34
+ "@fastmoss/cli-linux-amd64": "0.1.18",
35
+ "@fastmoss/cli-linux-arm64": "0.1.18",
36
+ "@fastmoss/cli-windows-amd64": "0.1.18"
37
37
  },
38
38
  "engines": {
39
39
  "node": ">=18"