@aipt/cli 0.1.18 → 0.1.23

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.
@@ -0,0 +1,29 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/cli",
5
+ "version": "0.1.19",
6
+ "title": "Dyyto CLI",
7
+ "summary": "Dyyto 无服务工程能力目录、规划、应用与验证 CLI。",
8
+ "maturity": "candidate",
9
+ "source": {
10
+ "repository": "urn:idp:repository:dyyto",
11
+ "path": "apps/cli",
12
+ "revision": "working-tree",
13
+ "treeDigest": "sha256:432103dbfce0644c22f5d54b2cb89ffb31204d41677e0b65d6331a94e947494f"
14
+ },
15
+ "artifact": null,
16
+ "compatibility": {
17
+ "node": ">=24.18.0 <25",
18
+ "packageManager": "pnpm@11.21.0"
19
+ },
20
+ "exports": [],
21
+ "documentation": {
22
+ "readme": "apps/cli/README.md",
23
+ "knowledgeRef": "tech://engineering-capabilities/dyyto/cli"
24
+ },
25
+ "consumerEvidence": [
26
+ "apps/cli/src/distribution.test.ts"
27
+ ],
28
+ "releaseDigest": "sha256:5c1915bf239f3b896163afe7b41b87728448504d9dbfd1d3bdf86f55fb19d971"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/cli",
5
+ "version": "0.1.20",
6
+ "title": "Dyyto CLI",
7
+ "summary": "Dyyto 无服务工程能力目录、规划、应用与验证 CLI。",
8
+ "maturity": "candidate",
9
+ "source": {
10
+ "repository": "urn:idp:repository:dyyto",
11
+ "path": "apps/cli",
12
+ "revision": "working-tree",
13
+ "treeDigest": "sha256:665248c1549295407d874f1ecc58f063930266ddb9552a5dd967390a84d7ebba"
14
+ },
15
+ "artifact": null,
16
+ "compatibility": {
17
+ "node": ">=24.18.0 <25",
18
+ "packageManager": "pnpm@11.21.0"
19
+ },
20
+ "exports": [],
21
+ "documentation": {
22
+ "readme": "apps/cli/README.md",
23
+ "knowledgeRef": "tech://engineering-capabilities/dyyto/cli"
24
+ },
25
+ "consumerEvidence": [
26
+ "apps/cli/src/distribution.test.ts"
27
+ ],
28
+ "releaseDigest": "sha256:ad573472dc87e41fdaeaa60f1dcfc88a7634ebf2149d6c89cae3f3ffb73b9c87"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/cli",
5
+ "version": "0.1.21",
6
+ "title": "Dyyto CLI",
7
+ "summary": "Dyyto 无服务工程能力目录、规划、应用与验证 CLI。",
8
+ "maturity": "candidate",
9
+ "source": {
10
+ "repository": "urn:idp:repository:dyyto",
11
+ "path": "apps/cli",
12
+ "revision": "working-tree",
13
+ "treeDigest": "sha256:84bc51b2d22aecb1fd8dda3c425e18f5ce844f910d2410e98fb36fd9e8b72cd1"
14
+ },
15
+ "artifact": null,
16
+ "compatibility": {
17
+ "node": ">=24.18.0 <25",
18
+ "packageManager": "pnpm@11.21.0"
19
+ },
20
+ "exports": [],
21
+ "documentation": {
22
+ "readme": "apps/cli/README.md",
23
+ "knowledgeRef": "tech://engineering-capabilities/dyyto/cli"
24
+ },
25
+ "consumerEvidence": [
26
+ "apps/cli/src/distribution.test.ts"
27
+ ],
28
+ "releaseDigest": "sha256:7b28209cda9b5d7889748537456250737cbe524f4801e4ac2144fec000816c6f"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/cli",
5
+ "version": "0.1.22",
6
+ "title": "Dyyto CLI",
7
+ "summary": "Dyyto 无服务工程能力目录、规划、应用与验证 CLI。",
8
+ "maturity": "candidate",
9
+ "source": {
10
+ "repository": "urn:idp:repository:dyyto",
11
+ "path": "apps/cli",
12
+ "revision": "working-tree",
13
+ "treeDigest": "sha256:c33a353c3e95db41864a5bf7847deea485778466cb0fae66033285aa494dedb5"
14
+ },
15
+ "artifact": null,
16
+ "compatibility": {
17
+ "node": ">=24.18.0 <25",
18
+ "packageManager": "pnpm@11.21.0"
19
+ },
20
+ "exports": [],
21
+ "documentation": {
22
+ "readme": "apps/cli/README.md",
23
+ "knowledgeRef": "tech://engineering-capabilities/dyyto/cli"
24
+ },
25
+ "consumerEvidence": [
26
+ "apps/cli/src/distribution.test.ts"
27
+ ],
28
+ "releaseDigest": "sha256:60aab4e2bda3bad25e88a4d78df3268b0eb7d4858e3eb8fe534e9f4a4d1ac481"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/cli",
5
+ "version": "0.1.23",
6
+ "title": "Dyyto CLI",
7
+ "summary": "Dyyto 无服务工程能力目录、规划、应用与验证 CLI。",
8
+ "maturity": "candidate",
9
+ "source": {
10
+ "repository": "urn:idp:repository:dyyto",
11
+ "path": "apps/cli",
12
+ "revision": "working-tree",
13
+ "treeDigest": "sha256:05af1dbff7996c108ba48d8f82eb520c81481646aa44422d85d5b6fb629304c3"
14
+ },
15
+ "artifact": null,
16
+ "compatibility": {
17
+ "node": ">=24.18.0 <25",
18
+ "packageManager": "pnpm@11.21.0"
19
+ },
20
+ "exports": [],
21
+ "documentation": {
22
+ "readme": "apps/cli/README.md",
23
+ "knowledgeRef": "tech://engineering-capabilities/dyyto/cli"
24
+ },
25
+ "consumerEvidence": [
26
+ "apps/cli/src/distribution.test.ts"
27
+ ],
28
+ "releaseDigest": "sha256:ebbd7e63cefd950add8c92d4acc804779b28d8c574a22cc0e73b39d1b098ee62"
29
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/idp-setup",
5
+ "version": "0.1.0",
6
+ "title": "IDP Sources Setup CLI",
7
+ "summary": "IDP Sources 本地工程环境与外部 Config Dir 初始化 CLI。",
8
+ "maturity": "candidate",
9
+ "source": {
10
+ "repository": "urn:idp:repository:dyyto",
11
+ "path": "apps/idp-setup",
12
+ "revision": "working-tree",
13
+ "treeDigest": "sha256:8dd41c3efaf58cb9a4a456c6937adfb6291029e98988f5f4debacd7fe75d5f30"
14
+ },
15
+ "artifact": null,
16
+ "compatibility": {
17
+ "node": ">=22.14.0",
18
+ "packageManager": "pnpm@11.21.0"
19
+ },
20
+ "exports": [],
21
+ "documentation": {
22
+ "readme": "apps/idp-setup/README.md",
23
+ "knowledgeRef": "tech://engineering-capabilities/idp/setup"
24
+ },
25
+ "consumerEvidence": [
26
+ "apps/idp-setup/test/idp-setup.test.mjs",
27
+ "tooling/idp-setup.test.mjs"
28
+ ],
29
+ "releaseDigest": "sha256:5866081e0fb5c786a4a478e2b763b27f505867fc7705f2c4a178fb01f1aae594"
30
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/idp-setup",
5
+ "version": "0.1.1",
6
+ "title": "IDP Sources Setup CLI",
7
+ "summary": "IDP Sources 本地工程环境与外部 Config Dir 初始化 CLI。",
8
+ "maturity": "candidate",
9
+ "source": {
10
+ "repository": "urn:idp:repository:dyyto",
11
+ "path": "apps/idp-setup",
12
+ "revision": "working-tree",
13
+ "treeDigest": "sha256:fb3e3ed4e2a5ad79d02eb8621ebb0571d5b1b1ec1e8751d069c6ad62655731ad"
14
+ },
15
+ "artifact": null,
16
+ "compatibility": {
17
+ "node": ">=22.14.0",
18
+ "packageManager": "pnpm@11.21.0"
19
+ },
20
+ "exports": [],
21
+ "documentation": {
22
+ "readme": "apps/idp-setup/README.md",
23
+ "knowledgeRef": "tech://engineering-capabilities/idp/setup"
24
+ },
25
+ "consumerEvidence": [
26
+ "apps/idp-setup/test/distribution.test.mjs",
27
+ "apps/idp-setup/test/idp-setup.test.mjs",
28
+ "tooling/idp-setup.test.mjs"
29
+ ],
30
+ "releaseDigest": "sha256:f54ff1f49c52c5844e7a961614d333d27870b14d275eb3a7d4936dde79f5db6c"
31
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/platform-kernel",
5
+ "version": "0.1.7",
6
+ "title": "Dyyto 工程能力内核",
7
+ "summary": "Dyyto 工程能力采用内核与不可变事实契约。",
8
+ "maturity": "candidate",
9
+ "source": {
10
+ "repository": "urn:idp:repository:dyyto",
11
+ "path": "packages/kernel",
12
+ "revision": "working-tree",
13
+ "treeDigest": "sha256:a8e92f01a654b60abaa7dd20cc43005be0fcc084d7d44afeedf48a220fa6d976"
14
+ },
15
+ "artifact": null,
16
+ "compatibility": {
17
+ "node": ">=24.18.0 <25",
18
+ "packageManager": "pnpm@11.21.0"
19
+ },
20
+ "exports": [
21
+ ".",
22
+ "./testing"
23
+ ],
24
+ "documentation": {
25
+ "readme": "packages/kernel/README.md",
26
+ "knowledgeRef": "tech://engineering-capabilities/dyyto/kernel"
27
+ },
28
+ "consumerEvidence": [
29
+ "apps/cli/src",
30
+ "fixtures"
31
+ ],
32
+ "releaseDigest": "sha256:48c4e73e015c19f57cdebbe2e47435088d977e25b63bd94bf6b8b95bf07c7bd0"
33
+ }
package/docs/bootstrap.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # Bootstrap
2
2
 
3
- 使用 `corepack pnpm dlx @aipt/cli@latest bootstrap --project <绝对目录> --apply` 完成首次引导。Bootstrap 先安装精确兼容的 `dyyto`、`idp` 与 `idpctl` 工具链,成功后才 Apply 项目资产。`latest` 只用于发现入口;Apply 后 `.dyyto/toolchain.lock.json` 锁定精确版本。受控离线环境可使用 `--skip-tool-install`,但必须预先提供锁定版本工具。
3
+ 先执行 `corepack pnpm dlx @aipt/idp-setup@0.1.1 init --root <Sources绝对目录>`,再 source `<IDP_CONFIG_DIR>/generated/sources.env`。随后使用 `corepack pnpm dlx @aipt/cli@latest bootstrap --project <绝对目录> --apply` 完成首次引导。Bootstrap 安装精确兼容的 `dyyto`、`idp` 与 `idpctl` bin,成功后才 Apply 项目资产。`latest` 只用于发现入口;Apply 后 `.dyyto/toolchain.lock.json` 锁定精确版本。受控离线环境可使用 `--skip-tool-install`,但必须预先提供锁定版本工具。
@@ -0,0 +1,12 @@
1
+ # Dyyto CLI 命令入口
2
+
3
+ - `dyyto --version --json`:确认实际版本和可执行文件。
4
+ - `dyyto bootstrap --project <绝对路径>`:生成不可变接入 Plan;加 `--apply` 可按精确 Plan 执行。
5
+ - `dyyto retrofit plan --project <绝对路径> [--profile <profile> --capability <id@version>]`:为既有工程生成只创建 Manifest 的 Plan;单项目必须显式提供匹配的 Profile 与 Capability。
6
+ - `dyyto context --project <绝对路径>`:输出工具链、文档锁和编码约束。
7
+ - `dyyto doctor --project <绝对路径>`:检查项目采用状态。
8
+ - `dyyto catalog search`:查找可复用工程能力。
9
+ - `dyyto docs show --id <文档ID>`:从已锁版本读取平台说明。
10
+ - `dyyto agents remove --project <绝对路径>`:仅移除 Dyyto 受管片段,保留业务规则。
11
+
12
+ 包管理器统一使用 pnpm。不要以 npm、yarn 或直接修改生成文件绕过 Kernel。
@@ -1,3 +1,3 @@
1
1
  # Dyyto 工程开发工作流
2
2
 
3
- 业务项目以 `dyyto` 为唯一开发入口。首次运行 `dyyto bootstrap --project <绝对目录> --apply`,随后在编码前运行 `dyyto context` 与 `dyyto doctor`。工程资产变更通过 Catalog、Plan、Apply、Verify;配置、密钥与证书只存在于仓库外 Config Dir。
3
+ 本地开发先用 `idp-setup init --root <Sources绝对目录>` 建立 Config Dir 与 GitOps Root,再以 `dyyto` 作为业务工程入口。首次运行 `dyyto bootstrap --project <绝对目录> --apply`,随后在编码前运行 `dyyto context` 与 `dyyto doctor`。Workspace Root、独立项目、Package 和 Application 都通过 Catalog、Plan、Apply、Verify 演进;配置、密钥与证书只存在于仓库外 Config Dir。部署只使用 `idp` 与 `idpctl` bin
@@ -0,0 +1,12 @@
1
+ # 工程命令诊断
2
+
3
+ 当命令参数在文档中存在但本机报告未知参数时,先确认 PATH 与版本:
4
+
5
+ ```bash
6
+ type -a dyyto idp idpctl
7
+ dyyto --version --json
8
+ idp --version --json
9
+ idpctl --version --json
10
+ ```
11
+
12
+ 项目应以 `.dyyto/toolchain.lock.json` 为准。版本不一致时重新执行 `corepack pnpm dlx @aipt/cli@latest bootstrap --project <绝对路径> --apply`,随后执行 `hash -r` 清除 shell 命令缓存。
@@ -0,0 +1,16 @@
1
+ # Vibe Coding 工程接入指南
2
+
3
+ 业务项目只保留短入口规则,不复制平台规范全文。首次接入执行:
4
+
5
+ ```bash
6
+ corepack pnpm dlx @aipt/idp-setup@0.1.1 init --root /absolute/sources
7
+ source /absolute/sources/config/idp/generated/sources.env
8
+ corepack pnpm dlx @aipt/cli@latest bootstrap --project "$PWD"
9
+ # 审阅输出的不可变 Plan 后,用输出中的 plan 文件和 planId 执行 apply
10
+ dyyto context --project "$PWD"
11
+ dyyto doctor --project "$PWD"
12
+ ```
13
+
14
+ Bootstrap 固定 `dyyto`、`idp`、`idpctl` 版本,并为 Codex、Claude Code、Cursor 和 Antigravity 生成受管入口。Agent 每轮先读 `dyyto context`,再查询 Catalog;工程写入必须走 Plan、Apply、Verify。密钥、证书和运行配置只能位于仓库外 Config Dir。
15
+
16
+ 需要完整规则时运行 `dyyto docs show --id engineering-workflow`,不要让 Agent 在业务仓库重新编写一套平台规范。
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "package": "@aipt/cli",
4
- "version": "0.1.18",
4
+ "version": "0.1.23",
5
5
  "documents": [
6
- { "id": "bootstrap", "path": "docs/bootstrap.md", "digest": "sha256:1e1ac4cbcabab7e6ae7a5a34337ea638951c16d5a66a33ab9218a9f441d6f3b4" },
6
+ { "id": "bootstrap", "path": "docs/bootstrap.md", "digest": "sha256:05a41f0d6c57fb04c936e9ddb516c888bea18ea8a248aeb63261c0bf5eedf35d" },
7
7
  { "id": "agent-integration", "path": "docs/agent-integration.md", "digest": "sha256:6b3e9425bd5caf233971bc27dc2ef765bd1e9b92a049d3a394e075ed80c0863f" },
8
- { "id": "engineering-workflow", "path": "docs/engineering-workflow.md", "digest": "sha256:646cbc82bb53f542ca3ad799a93d29c789a966d3d27d617c46b1544033e0fff9" }
8
+ { "id": "engineering-workflow", "path": "docs/engineering-workflow.md", "digest": "sha256:a998adc964edea5ab17eadfeeb14f8503fe4a3636e4e6bae7c19aa56ee1baa21" },
9
+ { "id": "vibe-coding-guide", "path": "docs/vibe-coding-guide.md", "digest": "sha256:e630a00032f05a639f2f09b484026c93a356fcefddd56aaf95d3b0bf4e224902" },
10
+ { "id": "dyyto-command-reference", "path": "docs/command-reference.md", "digest": "sha256:6b2ab66dd71e2c2528529314e1f2bee24633ba4455af629e505742add31a1f88" },
11
+ { "id": "toolchain-troubleshooting", "path": "docs/troubleshooting.md", "digest": "sha256:8d46b5486e532a4a5739d4bfd2675abf9de487681d91155e889fbf4cb8186208" }
9
12
  ]
10
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aipt/cli",
3
- "version": "0.1.18",
3
+ "version": "0.1.23",
4
4
  "description": "Dyyto 无服务工程能力目录、规划、应用与验证 CLI。",
5
5
  "type": "module",
6
6
  "bin": {
@@ -31,7 +31,7 @@
31
31
  "@aipt/page-definition": "0.1.0",
32
32
  "@aipt/object-store": "0.1.0",
33
33
  "@aipt/page-host-gateway": "0.1.0",
34
- "@aipt/platform-kernel": "0.1.6"
34
+ "@aipt/platform-kernel": "0.1.7"
35
35
  },
36
36
  "idpPackageRelease": {
37
37
  "title": "Dyyto CLI",