W10: 权限三角 (role+user+org, 11 子) + permission-triangle E2E PASS + 4 baseline + 15 单测

This commit is contained in:
ssw committed 2026-06-13 00:44:40 +08:00
1 parent eb5608de7c
commit 808de2c845
20 files changed
+1093

No files matched your search

+9
View File
@@ -25,6 +25,9 @@ import { buildPortalCommand } from './commands/portal/index.ts'
import { buildBigscreenCommand } from './commands/bigscreen/index.ts'
import { buildAppCommand } from './commands/app/index.ts'
import { buildPrintCommand } from './commands/print/index.ts'
import { buildRoleCommand } from './commands/role/index.ts'
import { buildUserCommand } from './commands/user/index.ts'
import { buildOrgCommand } from './commands/org/index.ts'
import { maybeInterceptAiHelp } from './core/help.ts'
import { log } from './core/log.ts'
import { DacliError } from './core/types.ts'
@@ -60,6 +63,12 @@ program.addCommand(buildBigscreenCommand())
program.addCommand(buildAppCommand())
// v0.8 W9-D3 新增 1 父命令
program.addCommand(buildPrintCommand())
// v0.8 W10-D1 新增 1 父命令
program.addCommand(buildRoleCommand())
// v0.8 W10-D2 新增 1 父命令
program.addCommand(buildUserCommand())
// v0.8 W10-D3 新增 1 父命令
program.addCommand(buildOrgCommand())
// ----- main -----
// AI flag 拦截 (在 parse 之前, 避免 requiredOption 校验失败)