@aipt/idp-cli 0.1.0 → 0.1.1

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # IDP Developer CLI
2
2
 
3
+ 业务项目首次接入可运行 `idp bootstrap --cwd /absolute/project --apply`。工程规则来自 Dyyto 锁定上下文,部署规则来自 idp-deploy 包内稳定文档。
4
+
3
5
  `idp` 是开发者统一入口,不是第三套 Kernel。它用中文发现当前上下文,并将工程能力委托给 Dyyto、将交付和环境能力委托给 idp-deploy。
4
6
 
5
7
  ```bash
package/bin/idp.mjs CHANGED
@@ -89,6 +89,7 @@ function help() {
89
89
  console.log(`idp:开发者统一入口(薄门面)
90
90
 
91
91
  用法:
92
+ idp bootstrap [--cwd <目录>] [--apply]
92
93
  idp doctor [--cwd <目录>] [--json]
93
94
  idp app create|inspect [--cwd <目录>] [Kernel 参数...]
94
95
  idp capability <Dyyto 参数...> [--cwd <目录>]
@@ -103,7 +104,8 @@ try {
103
104
  if (rest.length === 0 || rest[0] === '--help' || rest[0] === 'help') { help(); process.exit(0); }
104
105
  const [group, action, ...args] = rest;
105
106
  let status;
106
- if (group === 'doctor') status = doctor(cwd, json);
107
+ if (group === 'bootstrap') status = run('dyyto', ['bootstrap', '--project', cwd, ...rest.slice(1)], cwd);
108
+ else if (group === 'doctor') status = doctor(cwd, json);
107
109
  else if (group === 'app' && action === 'create') status = run('dyyto', ['create', ...args], cwd);
108
110
  else if (group === 'app' && action === 'inspect') status = run('dyyto', ['inspect', ...args], cwd);
109
111
  else if (group === 'capability' && action) status = run('dyyto', [action, ...args], cwd);
@@ -0,0 +1,3 @@
1
+ # IDP 开发者入口
2
+
3
+ `idp` 是薄门面:项目工程能力委托给锁定版本的 Dyyto Kernel,配置与部署委托给 idp-deploy Kernel。业务项目首次可运行 `idp bootstrap --cwd <目录> --apply`,后续不需要复制 IDP 平台说明。
@@ -0,0 +1,7 @@
1
+ # 工具委托边界
2
+
3
+ - `dyyto`:项目、能力、Plan、Apply、Verify 和 Agent Context。
4
+ - `idp`:统一发现和委托。
5
+ - `idpctl`:Config Dir、本地 Docker 与环境交付。
6
+
7
+ 精确版本来自 `.dyyto/toolchain.lock.json`,不得由业务代码依赖浮动 `latest`。
@@ -0,0 +1,9 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "package": "@aipt/idp-cli",
4
+ "version": "0.1.1",
5
+ "documents": [
6
+ { "id": "idp-integration", "path": "docs/integration.md", "digest": "sha256:ad16f812d516763140c14efe8a0afb275b420987d23e0d6071fbbb7312b7324c" },
7
+ { "id": "tool-delegation", "path": "docs/tool-delegation.md", "digest": "sha256:8dc76242bd21bfbd477609b1e3459e96fd092504bfe9e9b4b81db2d5391270a2" }
8
+ ]
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aipt/idp-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "IDP 开发者统一入口,委托 Dyyto 与 idp-deploy 执行工程和交付能力。",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,6 +8,9 @@
8
8
  },
9
9
  "files": [
10
10
  "bin",
11
+ "docs/integration.md",
12
+ "docs/tool-delegation.md",
13
+ "documentation-manifest.json",
11
14
  "README.md"
12
15
  ],
13
16
  "publishConfig": {