@daisu-ui/cli 0.1.0-beta.5 → 0.1.0-beta.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # 更新日志
2
2
 
3
+ ## 0.1.0-beta.7
4
+
5
+ - 收录 UI `0.1.0-beta.6` 的完整离线快照,包括 Popup 标题、统一弹层关闭样式、主题变量、示例与更新记录。
6
+ - 同步 Lynx 4.0 编译目标和 `@lynx-js/types@4.0.0` 开发基线,保留历史 UI 快照各自的依赖与平台约束。
7
+ - 更新 CLI、MCP 与消费端 Skill 的版本选择说明、GitHub 源码链接及 UI 维护者资料归属;安装示例与实际发布的 latest 渠道对齐。
8
+ - 构建自动同步新增接入模板与文档资料,发布时继续验证精确版本、源码提交和产物摘要。
9
+
10
+ ## 0.1.0-beta.6
11
+
12
+ - 默认源码仓库和 npm 包元信息更新为 GitHub DaisSu-UI/cli。
13
+ - 通过 GitHub Actions 验证、打包和发布 npm,复用校验产物并核对版本、main 来源与 SHA-512。
14
+ - 补全组件公开 API 与辅助类型文档快照。
15
+
3
16
  ## 0.1.0-beta.5
4
17
 
5
18
  - 修复新 Runner 的离线安装包校验和 CI 凭据对测试的影响,通过 GitLab 自动发布 npm 首页居中修正版。
package/README.md CHANGED
@@ -15,12 +15,12 @@
15
15
  <p align="center">
16
16
  <a href="https://www.npmjs.com/package/@daisu-ui/cli"><img src="https://img.shields.io/npm/v/%40daisu-ui%2Fcli?style=flat-square&amp;color=1c64fd&amp;label=npm" alt="npm version"></a>
17
17
  <a href="https://www.npmjs.com/package/@daisu-ui/cli"><img src="https://img.shields.io/badge/downloads-new%20package-868e96?style=flat-square" alt="npm downloads: new package"></a>
18
- <a href="https://git.zilueit.com/daisu-ui/cli/-/pipelines"><img src="https://img.shields.io/badge/CI-GitLab-fc6d26?style=flat-square" alt="GitLab CI"></a>
19
- <a href="https://git.zilueit.com/daisu-ui/cli/-/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-74a600?style=flat-square" alt="MIT license"></a>
18
+ <a href="https://github.com/DaisSu-UI/cli"><img src="https://img.shields.io/badge/source-GitHub-181717?style=flat-square" alt="GitHub source"></a>
19
+ <a href="https://github.com/DaisSu-UI/cli/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-74a600?style=flat-square" alt="MIT license"></a>
20
20
  </p>
21
21
 
22
22
  <p align="center">
23
- <a href="https://git.zilueit.com/daisu-ui/daisu-ui">组件文档</a>
23
+ <a href="https://github.com/DaisSu-UI/daisu-ui">组件库</a>
24
24
  · <a href="#-30-秒接入">快速开始</a>
25
25
  · <a href="#agent-接入">Agent 接入</a>
26
26
  · <a href="#在终端使用">CLI</a>
@@ -152,7 +152,7 @@ daisu agent init --client claude --with skill,instructions --yes
152
152
  请在当前项目接入 Daisu UI。
153
153
  先使用 daisu agent list 确认客户端,再用 agent init --dry-run 查看变更。
154
154
  接入后运行 agent doctor,并在实际客户端调用 daisu_status 和 daisu_list。
155
- 生成 ReactLynx 代码前查询真实 API、文档和示例,说明目标平台的能力边界。
155
+ 生成 ReactLynx 代码前查询真实 API、文档和示例,说明目标平台的能力边界。UI `0.1.0-beta.6` 的 Bundle 目标为 Lynx 4.0、类型基线为 `@lynx-js/types@4.0.0`;历史版本按各自快照核对。
156
156
  完成后运行当前项目自己的类型检查、测试和构建。
157
157
  ```
158
158
 
@@ -236,9 +236,9 @@ daisu list --version latest --format json
236
236
  daisu data check
237
237
  ```
238
238
 
239
- CLI `0.1.0-beta.5` 收录当前 `@daisu-ui/ui@0.1.0-beta.3` 及历史 `daisu-ui` 快照。默认优先识别项目实际安装版本,再检查依赖声明,最后使用随包最新数据;找不到对应版本会明确报错。尚未安装的本地路径或 Git 依赖无法确定版本时,会给出提示。历史版本的导入路径以查询结果中的 `importFrom` 为准。
239
+ 当前 Git 仓库已收录 `@daisu-ui/ui@0.1.0-beta.6` 及历史快照;已发布的 npm CLI 按各自版本携带数据,不随 Git 自动更新,实际收录范围用 `daisu data list` 核对。默认优先识别项目实际安装版本,再检查依赖声明,最后使用随包最新数据;找不到对应版本会明确报错。尚未安装的本地路径或 Git 依赖无法确定版本时,会给出提示。历史版本的导入路径以查询结果中的 `importFrom` 为准。
240
240
 
241
- 查询支持 `--format text|json|markdown`。结构化结果写入 stdout,错误和提示写入 stderr;`lint` 有错误时返回非零退出码,`--strict` 将警告也视为失败。`daisu --version` 是 CLI 版本,子命令的 `--version <值>` 是组件数据版本。
241
+ 查询支持 `--format text|json|markdown`。JSON 结果写入 stdout,提示包含在 warnings 字段中;非 JSON 模式将提示写入 stderr,错误仍写入 stderr;`lint` 有错误时返回非零退出码,`--strict` 将警告也视为失败。`daisu --version` 是 CLI 版本,子命令的 `--version <值>` 是组件数据版本。
242
242
 
243
243
  `daisu update` 只报告本地版本;只有显式运行 `daisu update --check` 才会查询 npm 更新,不自动安装。
244
244
 
@@ -284,7 +284,7 @@ daisu mcp serve
284
284
 
285
285
  ### 手动配置
286
286
 
287
- 通用 `mcpServers` 配置示例,版本固定为当前 CLI:
287
+ 通用 `mcpServers` 配置示例,使用 npm 的 `latest` 版本;需要固定已安装版本时使用 `daisu mcp print --client cursor --runner npx --pin`:
288
288
 
289
289
  ```json
290
290
  {
@@ -293,7 +293,7 @@ daisu mcp serve
293
293
  "command": "npx",
294
294
  "args": [
295
295
  "-y",
296
- "@daisu-ui/cli@0.1.0-beta.5",
296
+ "@daisu-ui/cli@latest",
297
297
  "mcp",
298
298
  "serve",
299
299
  "--cwd",
@@ -319,7 +319,7 @@ VS Code 使用 `servers` 根字段,Codex 使用 TOML 的 `mcp_servers.daisu-ui
319
319
  ## 开发与贡献
320
320
 
321
321
  ```bash
322
- git clone git@git.zilueit.com:daisu-ui/cli.git
322
+ git clone git@github.com:DaisSu-UI/cli.git
323
323
  cd cli
324
324
  npm ci
325
325
  npm run build
@@ -339,7 +339,7 @@ npm run verify
339
339
 
340
340
  `verify` 包括格式、类型、测试、数据摘要、发布版本和 tarball 独立安装验证。测试使用临时目录,不改真实编辑器配置。显式维护入口仍为 `npm run sync -- --ui-dir <UI仓库>` 与 `npm run docs:export -- --ui-dir <UI仓库>`;数据同步不自动拉取 Git。
341
341
 
342
- CI 兼容现有 GitLab:developer 用于开发、main 用于发布,普通推送执行验证;已合入 main 的版本标签自动发布经过校验的 tarball。发布凭据保存在受保护的 GitLab NPM_TOKEN 变量中。分支、渠道、Runner 和重试方式见 [自动发布说明](https://git.zilueit.com/daisu-ui/cli/-/blob/main/docs/releasing.md)。`AGENTS.md` 管理仓库开发规则;消费端 Skill 通过 `agent init` 安装到使用者项目。
342
+ 源码与默认远程仓库托管于 [GitHub](https://github.com/DaisSu-UI/cli)。[GitHub Actions](https://github.com/DaisSu-UI/cli/actions) 对 developer、main 和 PR 执行验证;推送与 CLI 版本一致、且已合入 main 的 `v<版本>` 标签后,自动发布经过校验的同一份 tarball。发布步骤读取仓库 Actions Secret `NPM_TOKEN`,验证与打包步骤不接触发布凭据。分支、渠道、首次设置和重试方式见 [自动发布说明](https://github.com/DaisSu-UI/cli/blob/main/docs/releasing.md)。main / developer 推送还会通过独立工作流同步到 GitLab 同名分支,部署密钥配置见自动发布说明。`AGENTS.md` 管理仓库开发规则;消费端 Skill 通过 `agent init` 安装到使用者项目。
343
343
 
344
344
  ## 当前边界
345
345
 
@@ -350,4 +350,4 @@ CI 兼容现有 GitLab:developer 用于开发、main 用于发布,普通推
350
350
 
351
351
  ## License
352
352
 
353
- [MIT](https://git.zilueit.com/daisu-ui/cli/-/blob/main/LICENSE)。第三方说明见 [THIRD_PARTY_NOTICES.md](https://git.zilueit.com/daisu-ui/cli/-/blob/main/THIRD_PARTY_NOTICES.md)。
353
+ [MIT](https://github.com/DaisSu-UI/cli/blob/main/LICENSE)。第三方说明见 [THIRD_PARTY_NOTICES.md](https://github.com/DaisSu-UI/cli/blob/main/THIRD_PARTY_NOTICES.md)。