@doubao-dev/cli 1.0.0-rc.2 → 1.0.0-rc.3
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 +3 -1
- package/dist/691.js +67 -107
- package/dist/categories.js +1 -1
- package/dist/command.js +9 -3
- package/dist/command~1.js +3 -3
- package/dist/command~2.js +1 -1
- package/dist/command~3.js +1 -1
- package/dist/command~5.js +5 -5
- package/dist/dist.js +1 -1
- package/dist/draft.js +2 -2
- package/dist/index.d.ts +12 -3
- package/dist/main.d.ts +12 -3
- package/dist/plugin.js +2 -2
- package/dist/preview.js +5 -5
- package/dist/ratatui-ui.js +1 -1
- package/dist/session.js +1 -1
- package/dist/skills/doubao-plugin-cli/SKILL.md +6 -4
- package/dist/skills/doubao-plugin-cli/references/development.md +4 -4
- package/dist/skills/doubao-plugin-cli/references/project-config.md +6 -3
- package/dist/skills/doubao-plugin-cli/references/upload.md +30 -1
- package/dist/versions~1.js +1 -1
- package/package.json +10 -12
- package/dist/schema.js +0 -1
package/README.md
CHANGED
|
@@ -14,6 +14,8 @@ App 工具按需从 npm 下载 `@doubao-dev/plugin-app-dev` 和 `@doubao-dev/kit
|
|
|
14
14
|
通过 `DBX_KIT_PATH=/path/to/kit dbx dev --app` 使用本地 Kit 包;相对路径以当前工作目录为基准,跳过版本检查,路径或 SDK 入口无效时报错。
|
|
15
15
|
构建时从 npm 解析 Kit 的 `latest` 并锁定准确版本;发布流水线的 `kit_version` 或本地构建的 `DBX_BUILD_KIT_VERSION` 可指定 RC 版本。运行时 `DBX_KIT_VERSION` 可覆盖为准确版本;其余命令通过 `dbx --help` 查看,项目开发指引通过 `dbx skills` 同步。
|
|
16
16
|
|
|
17
|
+
公网 CLI 发包前,为默认 Kit 生成 `package-lock.json`,上传到 CN CDN 并回读校验。首次安装按 CLI 固定的 URL 和 SHA-256 取锁,再运行 `npm ci`。锁不可用、使用自定义 scope 镜像或指定其他 Kit 版本时使用 `npm install`。交互终端显示安装状态和实时耗时。
|
|
18
|
+
|
|
17
19
|
直接运行 `dbx init` 会交互询问项目名称和是否添加 App(默认不添加);指定项目名时直接创建,使用 `--app` 添加 App。
|
|
18
20
|
|
|
19
|
-
`dbx dev` 在含 App 的项目中交互选择调试目标,无 App 时直接启动 Skill / MCP 调试。`--plugin` 和 `--app`
|
|
21
|
+
`dbx dev` 在含 App 的项目中交互选择调试目标,无 App 时直接启动 Skill / MCP 调试。`--plugin` 和 `--app` 显式指定目标且互斥。在支持的平台和交互终端调试 App 时,CLI 按需安装同版本的 TUI renderer。Skill / MCP 调试和非 TTY 环境使用普通日志。
|