@crabcloud/skills 0.1.3 → 0.1.4

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.
@@ -15,9 +15,10 @@ Crab Cloud 是用户的个人云底座:账号、订阅与积分是平台层,
15
15
 
16
16
  ## 第一步:确认 CLI 可用
17
17
 
18
- - 运行 `crab --version` 确认已安装。命令不存在时让用户运行
19
- `npx @crabcloud/cli init`(登录 + 安装本 skill 一步完成);已装过但命令缺失
20
- 时运行 `npx @crabcloud/cli@latest init` 升级。
18
+ - 运行 `crab --version` 确认已安装。注意 `crab init` 只做登录 + 安装 skill,
19
+ **不含命令本体**——本机没有 `crab` 命令时让用户 `npm i -g @crabcloud/cli@latest`
20
+ 安装(已装旧版同款命令升级);不想装全局则整段跳过,下文所有 `crab <命令>`
21
+ 直接 `npx @crabcloud/cli <命令>` 等价执行(init 同样可 `npx @crabcloud/cli init`)。
21
22
  - `crab whoami` 报「未登录」或退出码 3 → 引导用户 `crab login`。登录走浏览器
22
23
  设备授权——授权页摆出全目录供用户勾选,**实际授予集由人定**,可能多于或少于
23
24
  `--scopes` 请求——**你只发起,不代批**;登录后先 `crab whoami` 核对实际
@@ -13,9 +13,10 @@ skill 覆盖协作域的 agent 通道;账号/令牌管理见 `crabcloud` skill
13
13
 
14
14
  ## 第一步:确认可用
15
15
 
16
- - 运行 `crab --version` 确认已安装。命令不存在时让用户运行
17
- `npx @crabcloud/cli init`(登录 + 安装本 skill 一步完成);已装过但命令缺失
18
- 时运行 `npx @crabcloud/cli@latest init` 升级。
16
+ - 运行 `crab --version` 确认已安装。注意 `crab init` 只做登录 + 安装 skill,
17
+ **不含命令本体**——本机没有 `crab` 命令时让用户 `npm i -g @crabcloud/cli@latest`
18
+ 安装(已装旧版同款命令升级);不想装全局则整段跳过,下文所有 `crab <命令>`
19
+ 直接 `npx @crabcloud/cli <命令>` 等价执行(init 同样可 `npx @crabcloud/cli init`)。
19
20
  - CLI 基于 npx 分发,**本机没有 `crab` 命令时,下文所有 `crab <命令>` 都可以
20
21
  `npx @crabcloud/cli <命令>` 等价执行**(例如 `npx @crabcloud/cli collab tasks`)。
21
22
  - 未登录(退出码 3)引导用户 `crab login`。
@@ -12,9 +12,10 @@ description: Read, search and send the user's Crab Cloud platform email (usernam
12
12
 
13
13
  ## 第一步:确认可用
14
14
 
15
- - 运行 `crab --version` 确认已安装。命令不存在时让用户运行
16
- `npx @crabcloud/cli init`(登录 + 安装本 skill 一步完成);已装过但命令缺失
17
- 时运行 `npx @crabcloud/cli@latest init` 升级。
15
+ - 运行 `crab --version` 确认已安装。注意 `crab init` 只做登录 + 安装 skill,
16
+ **不含命令本体**——本机没有 `crab` 命令时让用户 `npm i -g @crabcloud/cli@latest`
17
+ 安装(已装旧版同款命令升级);不想装全局则整段跳过,下文所有 `crab <命令>`
18
+ 直接 `npx @crabcloud/cli <命令>` 等价执行(init 同样可 `npx @crabcloud/cli init`)。
18
19
  - CLI 基于 npx 分发,**本机没有 `crab` 命令时,下文所有 `crab <命令>` 都可以
19
20
  `npx @crabcloud/cli <命令>` 等价执行**(例如 `npx @crabcloud/cli mail list`)。
20
21
  - 未登录(退出码 3)引导用户 `crab login`。
@@ -13,9 +13,10 @@ skill。
13
13
 
14
14
  ## 第一步:确认可用
15
15
 
16
- - 运行 `crab --version` 确认已安装。命令不存在时让用户运行
17
- `npx @crabcloud/cli init`(登录 + 安装本 skill 一步完成);已装过但命令缺失
18
- 时运行 `npx @crabcloud/cli@latest init` 升级。
16
+ - 运行 `crab --version` 确认已安装。注意 `crab init` 只做登录 + 安装 skill,
17
+ **不含命令本体**——本机没有 `crab` 命令时让用户 `npm i -g @crabcloud/cli@latest`
18
+ 安装(已装旧版同款命令升级);不想装全局则整段跳过,下文所有 `crab <命令>`
19
+ 直接 `npx @crabcloud/cli <命令>` 等价执行(init 同样可 `npx @crabcloud/cli init`)。
19
20
  - CLI 基于 npx 分发,**本机没有 `crab` 命令时,下文所有 `crab <命令>` 都可以
20
21
  `npx @crabcloud/cli <命令>` 等价执行**(例如 `npx @crabcloud/cli storage ls`)。
21
22
  - 未登录(退出码 3)引导用户 `crab login`。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crabcloud/skills",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "description": "Crab Cloud agent skills (SKILL.md) with a standalone installer — teach coding agents to operate the user's personal cloud via the crab CLI.",
6
6
  "bin": {