licell 1.0.7 → 1.0.9

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.en.md CHANGED
@@ -87,10 +87,10 @@ That means command-surface changes can converge across help, MCP, skills, and do
87
87
 
88
88
  ## Installation
89
89
 
90
- ### Recommended: install script
90
+ ### Recommended: global npm install
91
91
 
92
92
  ```bash
93
- curl -fsSL https://github.com/team-harness/licell/releases/latest/download/install.sh | bash
93
+ npm install -g licell
94
94
  ```
95
95
 
96
96
  After installation, run:
@@ -121,7 +121,8 @@ For team usage, see the [Team Auth Distribution](#team-auth-distribution) sectio
121
121
 
122
122
  ### Other install sources and upgrades
123
123
 
124
- - npm global install and GitHub Release binaries are also supported
124
+ - If you do not want a Node.js dependency, use the GitHub Release installer instead: `curl -fsSL https://github.com/team-harness/licell/releases/latest/download/install.sh | bash`
125
+ - Choose either npm or the release installer; the first `licell` on PATH shadows the other copy
125
126
  - for upgrades, run `licell upgrade`
126
127
  - read the detailed upgrade rules below only when needed
127
128
 
@@ -257,6 +258,14 @@ licell catalog --output json
257
258
 
258
259
  If no curated command covers the outcome, continue with `capability products/search/describe`, then follow `execution.preferred`. Raw writes require `--dry-run`, explicit `--yes`, and read-back verification through `nextActions[]`.
259
260
 
261
+ For VPC inventory, agents can stay on the curated surface and inspect the network relationships directly:
262
+
263
+ ```bash
264
+ licell vpc list --region cn-hangzhou --output json
265
+ licell vpc info <vpc> --output json
266
+ licell vpc topology <vpc> --output json
267
+ ```
268
+
260
269
  ### 1. Structured help
261
270
 
262
271
  Licell help is designed for both humans and agents.
package/README.md CHANGED
@@ -87,10 +87,10 @@ Licell 最新架构里,命令不再只是“能执行”,还要“能自我
87
87
 
88
88
  ## 安装
89
89
 
90
- ### 推荐:安装脚本
90
+ ### 推荐:npm 全局安装
91
91
 
92
92
  ```bash
93
- curl -fsSL https://github.com/team-harness/licell/releases/latest/download/install.sh | bash
93
+ npm install -g licell
94
94
  ```
95
95
 
96
96
  安装完成后,可直接运行:
@@ -121,7 +121,8 @@ licell auth restore '<token>' '<passkey>' --yes
121
121
 
122
122
  ### 其他安装方式与升级
123
123
 
124
- - 也支持 npm 全局安装和 GitHub Release 二进制分发
124
+ - 不希望依赖 Node.js 时,可改用 GitHub Release 安装脚本:`curl -fsSL https://github.com/team-harness/licell/releases/latest/download/install.sh | bash`
125
+ - npm 与安装脚本二选一,不要同时安装;PATH 中第一条 `licell` 会遮蔽另一份
125
126
  - 升级时直接运行 `licell upgrade`
126
127
  - 如需了解升级来源或升级渠道,再看下面这份说明
127
128
 
@@ -130,6 +131,7 @@ licell auth restore '<token>' '<passkey>' --yes
130
131
 
131
132
  <!-- BEGIN GENERATED:README_UPGRADE_GUIDANCE -->
132
133
  - `licell upgrade` 会优先按“当前正在执行的安装来源”升级
134
+ - 不要同时保留多个全局安装来源;PATH 中排在最前的 `licell` 会遮蔽其它已升级版本,可用 `licell upgrade --dry-run --output json` 查看冲突入口
133
135
  - 如果当前是 `npm` / `pnpm` / `yarn` / `bun` 全局安装,会调用对应包管理器执行全局升级
134
136
  - 如果当前是项目内依赖、`node_modules/.bin/licell` 或开发链接,默认不会自动做全局升级
135
137
  - 安装脚本和二进制都来自同一个 `releases/latest`,优先下载预构建单文件可执行;若当前平台暂无预构建资产,自动回退源码安装
@@ -668,13 +670,30 @@ licell e2e cleanup <runId>
668
670
  | `licell release promote [versionId]` | 发布并切流到目标别名 | `--region`, `--component`, `--target` |
669
671
  | `licell release prune` | 清理历史函数版本(默认仅预览) | `--region`, `--component`, `--keep` |
670
672
  | `licell release rollback <versionId>` | 回滚到指定函数版本 | `--region`, `--component`, `--target` |
673
+ | `licell acr instances` | 列出 ACR 企业版实例(只读) | `--region`, `--status`, `--limit` |
674
+ | `licell acr namespaces <instanceId>` | 列出 ACR 企业版命名空间(只读) | `--region`, `--name`, `--status` |
675
+ | `licell acr repositories <instanceId>` | 列出 ACR 企业版镜像仓库(只读) | `--region`, `--namespace`, `--name` |
676
+ | `licell acr tags <instanceId> <repositoryId>` | 列出 ACR 企业版镜像标签(只读) | `--region`, `--limit` |
677
+ | `licell cert list` | 列出阿里云证书摘要(只读) | `--region`, `--keyword`, `--status` |
678
+ | `licell cdn domains` | 列出 CDN 加速域名(只读) | `--region`, `--domain`, `--status` |
679
+ | `licell logs index <project> <logstore>` | 查看 SLS logstore 索引(只读) | `--region` |
680
+ | `licell logs logstores <project>` | 列出 SLS 项目下的 logstore(只读) | `--region`, `--name`, `--mode` |
681
+ | `licell logs projects` | 列出 SLS 日志项目(只读) | `--region`, `--project`, `--resource-group` |
671
682
  | `licell logs query [query]` | 按 SLS project/logstore/query 一次性检索日志 | `--region`, `--project`, `--store` |
672
683
  | `licell logs tail [query]` | 按 SLS project/logstore/query 持续跟随日志流 | `--region`, `--project`, `--store` |
684
+ | `licell fn aliases <name>` | 查看函数别名和版本路由(只读) | `--region`, `--limit`, `--prefix` |
685
+ | `licell fn capacity [name]` | 查看函数并发、预留实例和伸缩配置(只读) | `--region`, `--limit` |
673
686
  | `licell fn info [name]` | 查看函数详情 | `--region`, `--component`, `--target` |
687
+ | `licell fn instances <name>` | 查看函数执行实例(只读) | `--region`, `--qualifier`, `--status` |
674
688
  | `licell fn invoke [name]` | 调用函数(同步) | `--region`, `--component`, `--target` |
689
+ | `licell fn layers` | 查看 FC 层列表(只读) | `--region`, `--limit`, `--prefix` |
675
690
  | `licell fn list` | 查看函数列表 | `--region`, `--limit`, `--prefix` |
676
691
  | `licell fn logs [name]` | 查看函数日志(默认实时流式) | `--region`, `--component`, `--once` |
677
692
  | `licell fn rm [name]` | 删除函数 | `--region`, `--component`, `--force` |
693
+ | `licell fn sessions <name>` | 查看函数显式会话(只读) | `--region`, `--qualifier`, `--status` |
694
+ | `licell fn tags [name]` | 查看函数资源标签(只读) | `--region`, `--tag`, `--limit` |
695
+ | `licell fn triggers <name>` | 查看函数触发器(只读) | `--region`, `--limit`, `--prefix` |
696
+ | `licell fn vpc-bindings <name>` | 查看函数绑定的 VPC(只读) | `--region` |
678
697
  | `licell fn domain bind <domain>` | 绑定或更新 FC 自定义域名(资源级,不默认改 DNS) | `--region`, `--function`, `--component` |
679
698
  | `licell fn domain info <domain>` | 查看 FC 自定义域名详情 | `--region` |
680
699
  | `licell fn domain list` | 查看 FC 自定义域名列表 | `--region`, `--limit`, `--prefix` |
@@ -714,21 +733,29 @@ licell e2e cleanup <runId>
714
733
 
715
734
  | 命令 | 说明 | 关键选项 |
716
735
  |------|------|----------|
736
+ | `licell db accounts <instanceId>` | 查看 RDS 账号和数据库权限(只读) | `--region`, `--name`, `--limit` |
717
737
  | `licell db add` | 分配数据库实例 | `--region`, `--type`, `--engine-version` |
738
+ | `licell db backups <instanceId>` | 查看 RDS 备份集和备份策略(只读) | `--region`, `--days`, `--status` |
718
739
  | `licell db class [type]` | 查询数据库可用规格(给 Agent/开发者在 db add 前对照) | `--region`, `--engine-version`, `--category` |
719
740
  | `licell db connect [instanceId]` | 输出数据库连接信息 | `--region` |
741
+ | `licell db databases <instanceId>` | 查看 RDS 逻辑数据库和授权(只读) | `--region`, `--name`, `--status` |
720
742
  | `licell db info <instanceId>` | 查看数据库实例详情 | `--region` |
721
743
  | `licell db list` | 查看数据库实例列表 | `--region`, `--limit` |
744
+ | `licell db parameters <instanceId>` | 查看 RDS 运行与待生效参数(只读) | `--region`, `--prefix`, `--limit` |
722
745
  | `licell db public-access [instanceId]` | 开通数据库公网访问并添加当前 IP 到白名单 | `--region`, `--ip` |
723
746
  | `licell db rm <instanceId>` | 删除数据库实例 | `--region`, `--yes` |
747
+ | `licell cache accounts <instanceId>` | 查看 Redis/Tair 账号和权限(只读) | `--region`, `--name`, `--limit` |
724
748
  | `licell cache add` | 分配 Redis 缓存 | `--region`, `--type`, `--mode` |
749
+ | `licell cache backups <instanceId>` | 查看 Redis/Tair 备份集和备份策略(只读) | `--region`, `--days`, `--limit` |
725
750
  | `licell cache class [mode]` | 查询缓存可用规格(给 Agent/开发者在 cache add 前对照) | `--region`, `--zone`, `--limit` |
726
751
  | `licell cache connect [instanceId]` | 输出缓存连接信息 | `--region` |
727
752
  | `licell cache info <instanceId>` | 查看缓存实例详情 | `--region` |
728
753
  | `licell cache list` | 查看缓存实例列表 | `--region`, `--limit` |
754
+ | `licell cache parameters <instanceId>` | 查看 Redis/Tair 运行与待生效参数(只读) | `--region`, `--node`, `--prefix` |
729
755
  | `licell cache public-access [instanceId]` | 开通 Redis 公网访问并添加当前 IP 到白名单 | `--region`, `--ip` |
730
756
  | `licell cache rm <instanceId>` | 删除缓存实例 | `--region`, `--yes` |
731
757
  | `licell cache rotate-password` | 轮换 Redis 密码 | `--region`, `--instance` |
758
+ | `licell cache topology <instanceId>` | 查看 Redis/Tair 集群节点拓扑(只读) | `--region`, `--limit` |
732
759
  | `licell supa add` | 创建 RDS Supabase 实例 | `--region`, `--name`, `--vsw` |
733
760
  | `licell supa config <instanceName>` | 查看 Supabase 实例配置(auth/storage/rag) | `--region`, `--set-auth`, `--set-storage` |
734
761
  | `licell supa connect <instanceName>` | 查看 Supabase 连接信息和 API Keys | `--region` |
@@ -755,7 +782,12 @@ licell e2e cleanup <runId>
755
782
  | `licell ecs start <instanceId>` | 启动 ECS 实例 | `--region`, `--dry-run` |
756
783
  | `licell ecs stop <instanceId>` | 停止 ECS 实例 | `--region`, `--dry-run`, `--yes` |
757
784
  | `licell k8s clusters` | 列出当前地域的 ACK / ACS Kubernetes 集群 | `--region`, `--name` |
785
+ | `licell k8s logs <cluster> <target>` | 只读读取 ACK / ACS 集群内工作负载日志 | `--region`, `--namespace`, `--container` |
758
786
  | `licell k8s workloads <cluster>` | 只读查询 ACK / ACS 集群内已部署的工作负载和 Service | `--region`, `--private`, `--request-timeout` |
787
+ | `licell vpc info <vpc>` | 按 VPC ID 或唯一名称查看网络详情 | `--region` |
788
+ | `licell vpc list` | 列出当前地域的 VPC 网络 | `--region`, `--name`, `--limit` |
789
+ | `licell vpc topology <vpc>` | 聚合查看 VPC、交换机、路由表、NAT 网关和 EIP 拓扑 | `--region` |
790
+ | `licell ram users` | 列出 RAM 用户(只读) | `--limit` |
759
791
 
760
792
  #### Automation & Tooling
761
793