licell 0.12.0 → 0.14.2
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 +14 -1
- package/dist/licell.js +338 -243
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -385,6 +385,8 @@ licell deploy --type static --dist dist
|
|
|
385
385
|
licell deploy --type static --dist dist --domain-suffix your-domain.xyz
|
|
386
386
|
# 或
|
|
387
387
|
licell deploy --type static --dist dist --domain static.your-domain.xyz
|
|
388
|
+
# 如需更重的缓存失效策略,也可显式指定:
|
|
389
|
+
licell deploy --type static --dist dist --domain static.your-domain.xyz --cdn-refresh all
|
|
388
390
|
```
|
|
389
391
|
|
|
390
392
|
这条 workflow 会串起:
|
|
@@ -393,6 +395,15 @@ licell deploy --type static --dist dist --domain static.your-domain.xyz
|
|
|
393
395
|
- CDN 接入
|
|
394
396
|
- DNS CNAME 收敛
|
|
395
397
|
- HTTPS 证书签发与 CDN 边缘证书配置
|
|
398
|
+
- CDN 缓存刷新(默认 `entrypoints`,会自动刷新 `/`、HTML、manifest 与 service worker 等入口文件)
|
|
399
|
+
|
|
400
|
+
### CDN Refresh 说明
|
|
401
|
+
|
|
402
|
+
- 只要 static deploy 绑定了固定域名并走 CDN,Licell 默认就会执行 `--cdn-refresh entrypoints`
|
|
403
|
+
- `entrypoints` 适合现代前端站点:只刷新 `/`、根层 HTML、`manifest.json`、`asset-manifest.json`、`sw.js`、`service-worker.js`
|
|
404
|
+
- `all` 会对根目录做目录级刷新,适合你明确知道整站缓存都要立即失效的场景
|
|
405
|
+
- `off` 会关闭自动刷新;这通常只适合你自己在外部另有缓存治理流程时使用
|
|
406
|
+
- 部署完成后的结构化结果里会返回 `cdnRefreshMode` 与 `cdnRefreshTaskIds[]`,便于 Agent / CI 继续追踪
|
|
396
407
|
|
|
397
408
|
### HTTPS / ACME 说明
|
|
398
409
|
|
|
@@ -730,7 +741,8 @@ licell e2e cleanup <runId>
|
|
|
730
741
|
|
|
731
742
|
面向 Agent、开发体验与 CLI 生命周期的自动化命令。
|
|
732
743
|
|
|
733
|
-
- `licell skills init`、`licell catalog`、`licell completion` 都基于同一套 CLI 命令目录生成外部表面。
|
|
744
|
+
- `licell skills init`、`licell onboard`、`licell catalog`、`licell completion` 都基于同一套 CLI 命令目录生成外部表面。
|
|
745
|
+
- `licell onboard` 默认会同时安装 Codex + Claude 的全局 `licell` skills;当安装目标包含 Codex 时,还会额外安装 `licell-glab` subagent。
|
|
734
746
|
- `licell completion` 的候选命令同样来自共享命令目录。
|
|
735
747
|
|
|
736
748
|
| 命令 | 说明 | 关键选项 |
|
|
@@ -739,6 +751,7 @@ licell e2e cleanup <runId>
|
|
|
739
751
|
| `licell catalog` | 输出共享 CLI 命令目录,供 Agent / 自动化发现命令、选项和结构化契约 | `--root-command`, `--command-key` |
|
|
740
752
|
| `licell ci init github` | 生成 GitHub Actions 的 deploy-only workflow(只调用 licell,不负责编译) | `--apply`, `--force`, `--workflow` |
|
|
741
753
|
| `licell ci init gitlab` | 生成 GitLab CI 的 deploy-only pipeline(只调用 licell,不负责编译) | `--apply`, `--force`, `--pipeline` |
|
|
754
|
+
| `licell onboard` | 全局安装 licell 的 Agent 接入;默认同时安装 Codex 与 Claude | `--agent`, `--force` |
|
|
742
755
|
| `licell skills init [agent]` | 为 AI Agent 生成 licell skills(claude / codex) | `--global`, `--project-root`, `--force` |
|
|
743
756
|
| `licell setup` | 安装后引导:交互式配置 AI Agent skills | `--agent`, `--global`, `--project-root` |
|
|
744
757
|
| `licell state show` | 查看当前 repo 的 `.licell/state.json` | `--component` |
|