@aipt/cli 0.1.28 → 0.1.30
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 +28 -5
- package/dist/application-runner.js +222 -212
- package/dist/application.js +7 -4
- package/dist/chunk.js +8 -5
- package/dist/package-releases/aipt--cli/0.1.29/release.json +29 -0
- package/dist/package-releases/aipt--cli/0.1.30/release.json +29 -0
- package/dist/package-releases/aipt--idp-setup/0.1.4/release.json +31 -0
- package/docs/bootstrap.md +1 -1
- package/docs/vibe-coding-guide.md +2 -5
- package/documentation-manifest.json +3 -3
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Dyyto Engineering Platform 的正式命令行 Composition Root。CLI 负责工
|
|
|
13
13
|
`C:\Users\<用户名>\Desktop\works\sources`。注意命令中必须输入半角 ASCII `~`,不能输入中文全角“~”。
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
corepack pnpm dlx @aipt/idp-setup@0.1.
|
|
16
|
+
corepack pnpm dlx @aipt/idp-setup@0.1.4 init \
|
|
17
17
|
--root ~/Desktop/works/sources
|
|
18
18
|
|
|
19
19
|
source ~/Desktop/works/sources/config/idp/generated/sources.env
|
|
@@ -26,12 +26,9 @@ idp-setup doctor --root ~/Desktop/works/sources
|
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
28
|
idp-setup bootstrap --project /absolute/workspace-or-project
|
|
29
|
-
|
|
30
|
-
dyyto context --project /absolute/workspace-or-project
|
|
31
|
-
dyyto doctor --project /absolute/workspace-or-project
|
|
32
29
|
```
|
|
33
30
|
|
|
34
|
-
Bootstrap 安装并锁定精确 `dyyto`、`idp`、`idpctl`
|
|
31
|
+
Bootstrap 安装并锁定精确 `dyyto`、`idp`、`idpctl` 版本,生成 Codex、Claude Code、Cursor 与 Antigravity 的薄 Agent 入口,并统一完成上下文、配置与 Doctor 就绪检查。安装完成后只使用 npm package 声明的 bin:
|
|
35
32
|
|
|
36
33
|
```bash
|
|
37
34
|
dyyto --version --json
|
|
@@ -197,6 +194,32 @@ corepack pnpm add --ignore-scripts /absolute/path/to/aipt-cli-<version>.tgz
|
|
|
197
194
|
|
|
198
195
|
## 6. Package 流程
|
|
199
196
|
|
|
197
|
+
发布必须使用 `idp-setup` 初始化并加载的外部 `IDP_CONFIG_DIR`,Registry URL 与 Token
|
|
198
|
+
不得通过命令行传入。私有凭据读取 `components/dyyto/.env` 中的 `DYYTO_NPMRC_FILE`,
|
|
199
|
+
公共凭据读取 `secrets/npm-public/npmrc`。
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
source "$IDP_CONFIG_DIR/generated/sources.env"
|
|
203
|
+
|
|
204
|
+
dyyto package publish plan \
|
|
205
|
+
--package-dir ./packages/example \
|
|
206
|
+
--target all \
|
|
207
|
+
--json
|
|
208
|
+
|
|
209
|
+
dyyto package publish apply \
|
|
210
|
+
--package-dir ./packages/example \
|
|
211
|
+
--approve 'sha256:<完整Plan ID>' \
|
|
212
|
+
--json
|
|
213
|
+
|
|
214
|
+
dyyto package publish inspect \
|
|
215
|
+
--package-dir ./packages/example \
|
|
216
|
+
--plan 'sha256:<完整Plan ID>' \
|
|
217
|
+
--json
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
`plan` 只生成按摘要寻址的 tarball 与不可变 Plan;`apply` 重新验证 `package.json`
|
|
221
|
+
Preimage、tarball digest 和远程冲突后才发布;`inspect` 只读核对两个 Registry。
|
|
222
|
+
|
|
200
223
|
创建独立 npm 包:
|
|
201
224
|
|
|
202
225
|
```bash
|