ssw 9ad04fd4eb v0.15-2 实施: diCRUD 加 copy + export (6/16 → 8/16, 2026-07-02)
audit 2026-07-02 §role/print/di 报告 P2 #6:
  - diCRUD 6/16 (list/info/create/update/delete/test)
  - 缺 selector/param/log/dataSelect/fields/copy/export 等 10 个
  - v0.16+ 推大重构, 优先做数据迁移常用 (copy + export)

v0.15-2 实施:
- 新建 di/copy.ts (87 行)
  - 镜像 web copy(id) → POST /{id}/Actions/Copy
  - 返新 DI id, 配合 --json 可继续 update
  - id 数字校验 (P0-9 一致)
- 新建 di/export.ts (76 行)
  - 镜像 web exportData(id) → GET /{id}/Actions/Export
  - 简化: 不下载文件, 只返下载 URL (用户自行 curl)
  - id 数字校验 (P0-9 一致)
- di/index.ts 注册 2 个新子命令

di webapi 引用覆盖: 6/16 → 8/16 (基础 CRUD + 迁移)
剩余推 v0.16.1: selector/param/log/dataSelect/fields 等 7 个

审计: dacli/docs/cmd-review/role-print-di-audit-2026-07-02.md §di 部分
2026-07-02 13:47:42 +08:00
S
Description
dacli CLI — JNPF 平台 AI 驱动开发工具 (TS 版 v0.7)
3.9 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 99.4%
Shell 0.4%
Python 0.2%