@aipt/cli 0.1.26 → 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.
@@ -0,0 +1,29 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/cli",
5
+ "version": "0.1.28",
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:ba947eb17e6db3a52a2443c3d74f84a5096b84a7bae050a0b3167f709bbd740f"
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:c42dc1f30844bc7ed3e79044ee96bd2e6ebf0461c4dab9d6d00531c4e1ebe442"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/cli",
5
+ "version": "0.1.29",
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:0b1cadb0d4f9d9b6722cfc96f658c93f576f696b97ebf50a4228f676facabc97"
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:5aca86e6cdd63a1d716ae392e360817002b4702dfe344099e9bcd04e2bf3e012"
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/cli",
5
+ "version": "0.1.30",
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:6af5d8f121eedf2a9ecc5ab64e15d9b2eb50fced4e1c82b6aaf4b8670bffc89a"
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:d45c61858d97ad3ce4ec3bc996473df3d810ea3fed203a73d2b1373f6eb1bf28"
29
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/idp-setup",
5
+ "version": "0.1.4",
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:13fc177ded5c505614a4d795f9fa9d118fc64e1694e2bc5140ae55bfdae77545"
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:bcc9a53d7209b157fcd9b99e82282e30bcda7f3e188ab34dad28bd787a779a29"
31
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "PackageRelease",
4
+ "packageName": "@aipt/platform-kernel",
5
+ "version": "0.1.8",
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:cfdc0a76cc30d902ab76e84d1e73f31ead261289fe9c302c28295cce022490f5"
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:d77f8726c01fd333f7d07aeddb3e6ab1a9fb061162025eb6c0c3846ba18b69d5"
33
+ }
package/docs/bootstrap.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # Bootstrap
2
2
 
3
- 每台机器先执行一次 `corepack pnpm dlx @aipt/idp-setup@0.1.3 init --root <Sources绝对目录>`,由它生成并持久化 `sources.env`、建立稳定 `PNPM_HOME`、安装精确工具链。每个工作区或独立项目执行一次 `idp-setup bootstrap --project <绝对目录>`,统一完成 Dyyto 工程纳管和 `apps/*`、`services/*` 可部署 Application Config Dir 初始化。直接使用 `dyyto bootstrap` 是高级入口,要求环境已有绝对 `PNPM_HOME`;离线环境可使用 `--skip-tool-install`。
3
+ 每台机器先执行一次 `corepack pnpm dlx @aipt/idp-setup@0.1.4 init --root <Sources绝对目录>`,由它生成并持久化 `sources.env`、建立稳定 `PNPM_HOME`、安装精确工具链。每个工作区或独立项目执行一次 `idp-setup bootstrap --project <绝对目录>`,统一完成 Dyyto 工程纳管、`apps/*`、`services/*` 可部署 Application Config Dir 初始化以及 Development Readiness 检查。直接使用 `dyyto bootstrap` 是高级入口,要求环境已有绝对 `PNPM_HOME`;离线环境可使用 `--skip-tool-install`。
@@ -3,14 +3,11 @@
3
3
  业务项目只保留短入口规则,不复制平台规范全文。首次接入执行:
4
4
 
5
5
  ```bash
6
- corepack pnpm dlx @aipt/idp-setup@0.1.3 init --root /absolute/sources
6
+ corepack pnpm dlx @aipt/idp-setup@0.1.4 init --root /absolute/sources
7
7
  source /absolute/sources/config/idp/generated/sources.env
8
8
  idp-setup bootstrap --project "$PWD"
9
- # 审阅输出的不可变 Plan 后,用输出中的 plan 文件和 planId 执行 apply
10
- dyyto context --project "$PWD"
11
- dyyto doctor --project "$PWD"
12
9
  ```
13
10
 
14
- Bootstrap 固定 `dyyto`、`idp`、`idpctl` 版本,并为 Codex、Claude Code、Cursor 和 Antigravity 生成受管入口。Agent 每轮先读 `dyyto context`,再查询 Catalog;工程写入必须走 Plan、Apply、Verify。密钥、证书和运行配置只能位于仓库外 Config Dir。
11
+ Bootstrap 固定 `dyyto`、`idp`、`idpctl` 版本,为 Codex、Claude Code、Cursor 和 Antigravity 生成受管入口,并在 Config Init 后执行 `dyyto ready`。Agent 每轮先运行 `dyyto ready --project .`,只有状态为 `ready` 才开始修改;工程写入必须走 Plan、Apply、Verify。密钥、证书和运行配置只能位于仓库外 Config Dir。
15
12
 
16
13
  需要完整规则时运行 `dyyto docs show --id engineering-workflow`,不要让 Agent 在业务仓库重新编写一套平台规范。
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "package": "@aipt/cli",
4
- "version": "0.1.26",
4
+ "version": "0.1.30",
5
5
  "documents": [
6
- { "id": "bootstrap", "path": "docs/bootstrap.md", "digest": "sha256:0a5c0ed04164bc249f44877889f5a0174de1037699b2682c9632ac057f1cc450" },
6
+ { "id": "bootstrap", "path": "docs/bootstrap.md", "digest": "sha256:68fc0f0336f74cb20ab828e5addf1b9e0ff03da24063c8eda4afa5655388d93c" },
7
7
  { "id": "agent-integration", "path": "docs/agent-integration.md", "digest": "sha256:6b3e9425bd5caf233971bc27dc2ef765bd1e9b92a049d3a394e075ed80c0863f" },
8
8
  { "id": "engineering-workflow", "path": "docs/engineering-workflow.md", "digest": "sha256:2f3072966d33b97b69c528b9db8ecb0dee0b6d1a36e2841f15b535ec2c802abb" },
9
- { "id": "vibe-coding-guide", "path": "docs/vibe-coding-guide.md", "digest": "sha256:8c0fc8c25137def0fa1d8c5ef07cab807f8cd79840cec38e47249fa6a630c1d9" },
9
+ { "id": "vibe-coding-guide", "path": "docs/vibe-coding-guide.md", "digest": "sha256:668f49e7213af970624704a86c0366f47b137f6a1992e0d5f312eb066b752908" },
10
10
  { "id": "dyyto-command-reference", "path": "docs/command-reference.md", "digest": "sha256:6b2ab66dd71e2c2528529314e1f2bee24633ba4455af629e505742add31a1f88" },
11
11
  { "id": "toolchain-troubleshooting", "path": "docs/troubleshooting.md", "digest": "sha256:2040de770d2c2bd81eea709185e913afd6d6cf4c78f1e30c82e6bcb42b066de9" }
12
12
  ]
package/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "@aipt/cli",
3
- "version": "0.1.26",
3
+ "version": "0.1.30",
4
4
  "description": "Dyyto 无服务工程能力目录、规划、应用与验证 CLI。",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "dyyto": "./dist/cli.js"
8
8
  },
9
- "publishConfig": {
10
- "access": "public"
11
- },
9
+ "publishConfig": { "access": "public" },
12
10
  "files": [
13
11
  "dist/cli.js",
14
12
  "dist/application.js",
@@ -19,19 +17,29 @@
19
17
  "dist/package-releases",
20
18
  "dist/contracts",
21
19
  "dist/recipes",
22
- "dist/templates",
23
- "docs",
24
- "documentation-manifest.json"
20
+ "dist/templates"
21
+ ,"docs"
22
+ ,"documentation-manifest.json"
25
23
  ],
24
+ "scripts": {
25
+ "build": "node tooling/build.mjs",
26
+ "pack:artifact": "corepack pnpm build && corepack pnpm pack",
27
+ "typecheck": "tsc --noEmit -p tsconfig.json",
28
+ "test": "corepack pnpm run test:performance && corepack pnpm run test:correctness && corepack pnpm run test:registry",
29
+ "test:correctness": "vitest run --dir src --exclude '**/startup.test.ts' --exclude '**/package-registry.integration.test.ts' --exclude '**/registry-provider.integration.test.ts' --exclude '**/*.migration.test.ts' --testTimeout 60000 --hookTimeout 60000 --maxWorkers=1",
30
+ "test:migration-sources": "vitest run src/ui-package-distribution.migration.test.ts --testTimeout 60000",
31
+ "test:registry": "vitest run src/package-registry.integration.test.ts src/registry-provider.integration.test.ts --testTimeout 240000",
32
+ "test:performance": "vitest run src/startup.test.ts --testTimeout 15000"
33
+ },
26
34
  "engines": {
27
35
  "node": ">=24.18.0 <25"
28
36
  },
29
37
  "devDependencies": {
30
- "esbuild": "0.28.2",
31
- "@aipt/object-store": "0.1.0",
32
- "@aipt/page-host-gateway": "0.1.0",
33
- "@aipt/page-definition": "0.1.0",
34
- "@aipt/platform-kernel": "0.1.7"
38
+ "@aipt/object-store": "workspace:*",
39
+ "@aipt/page-definition": "workspace:*",
40
+ "@aipt/page-host-gateway": "workspace:*",
41
+ "@aipt/platform-kernel": "workspace:*",
42
+ "esbuild": "0.28.2"
35
43
  },
36
44
  "idpPackageRelease": {
37
45
  "title": "Dyyto CLI",
@@ -43,17 +51,5 @@
43
51
  "consumerEvidence": [
44
52
  "apps/cli/src/distribution.test.ts"
45
53
  ]
46
- },
47
- "scripts": {
48
- "build": "node tooling/build.mjs",
49
- "pack:artifact": "corepack pnpm build && corepack pnpm pack",
50
- "publish:private": "node tooling/publish-cli.mjs --private",
51
- "publish:public": "node tooling/publish-cli.mjs --public",
52
- "typecheck": "tsc --noEmit -p tsconfig.json",
53
- "test": "corepack pnpm run test:performance && corepack pnpm run test:correctness && corepack pnpm run test:registry",
54
- "test:correctness": "vitest run --dir src --exclude '**/startup.test.ts' --exclude '**/package-registry.integration.test.ts' --exclude '**/registry-provider.integration.test.ts' --exclude '**/*.migration.test.ts' --testTimeout 60000 --hookTimeout 60000 --maxWorkers=1",
55
- "test:migration-sources": "vitest run src/ui-package-distribution.migration.test.ts --testTimeout 60000",
56
- "test:registry": "vitest run src/package-registry.integration.test.ts src/registry-provider.integration.test.ts --testTimeout 240000",
57
- "test:performance": "vitest run src/startup.test.ts --testTimeout 15000"
58
54
  }
59
- }
55
+ }