@zeyue0329/xiaoma-cli 1.0.36 → 1.0.38
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/.idea/workspace.xml +27 -26
- package/JAVA-BACKEND-COMMANDS-REFERENCE.md +62 -52
- package/JAVA-BACKEND-ITERATION-GUIDE.md +125 -18
- package/README.md +1 -1
- package/common/utils/bmad-doc-template.md +5 -5
- package/dist/agents/analyst.txt +35 -5
- package/dist/agents/architect.txt +217 -31
- package/dist/agents/automation-orchestrator.txt +4 -4
- package/dist/agents/dev.txt +3 -3
- package/dist/agents/full-requirement-orchestrator.txt +11 -11
- package/dist/agents/qa.txt +102 -102
- package/dist/agents/sm.txt +6 -6
- package/dist/agents/ux-expert.txt +6 -1
- package/dist/agents/workflow-executor.txt +879 -0
- package/dist/agents/xiaoma-master.txt +258 -37
- package/dist/teams/team-all.txt +1223 -445
- package/dist/teams/team-fullstack-with-database.txt +384 -446
- package/dist/teams/team-fullstack.txt +258 -37
- package/dist/teams/team-ide-minimal.txt +111 -111
- package/dist/teams/team-no-ui.txt +252 -36
- package/docs/architecture-sharding-modification.md +623 -0
- package/docs/automated-requirements-analysis-outputs.md +896 -0
- package/package.json +1 -1
- package/tools/builders/web-builder.js +292 -142
- package/tools/bump-all-versions.js +50 -32
- package/tools/cli.js +52 -47
- package/tools/flattener/aggregate.js +30 -12
- package/tools/flattener/binary.js +46 -43
- package/tools/flattener/discovery.js +23 -15
- package/tools/flattener/files.js +6 -6
- package/tools/flattener/ignoreRules.js +122 -121
- package/tools/flattener/main.js +249 -144
- package/tools/flattener/projectRoot.js +74 -69
- package/tools/flattener/prompts.js +12 -10
- package/tools/flattener/stats.helpers.js +90 -61
- package/tools/flattener/stats.js +1 -1
- package/tools/flattener/test-matrix.js +225 -170
- package/tools/flattener/xml.js +31 -23
- package/tools/installer/bin/xiaoma.js +199 -153
- package/tools/installer/lib/config-loader.js +76 -47
- package/tools/installer/lib/file-manager.js +101 -44
- package/tools/installer/lib/ide-base-setup.js +49 -39
- package/tools/installer/lib/ide-setup.js +694 -380
- package/tools/installer/lib/installer.js +802 -469
- package/tools/installer/lib/memory-profiler.js +22 -12
- package/tools/installer/lib/module-manager.js +16 -14
- package/tools/installer/lib/resource-locator.js +61 -35
- package/tools/lib/dependency-resolver.js +34 -23
- package/tools/lib/yaml-utils.js +7 -2
- package/tools/preview-release-notes.js +33 -25
- package/tools/shared/bannerArt.js +3 -3
- package/tools/sync-installer-version.js +16 -7
- package/tools/upgraders/v3-to-v4-upgrader.js +244 -163
- package/tools/version-bump.js +24 -18
- package/tools/xiaoma-npx-wrapper.js +15 -10
- package/tools/yaml-format.js +60 -36
- package/xiaoma-core/agent-teams/team-fullstack-with-database.yaml +0 -1
- package/xiaoma-core/agents/automated-fix-validator.yaml +2 -1
- package/xiaoma-core/agents/automated-quality-validator.yaml +10 -5
- package/xiaoma-core/agents/automation-orchestrator.md +4 -4
- package/xiaoma-core/agents/dev.md +4 -4
- package/xiaoma-core/agents/enhanced-workflow-orchestrator.yaml +2 -1
- package/xiaoma-core/agents/full-requirement-orchestrator.md +11 -11
- package/xiaoma-core/agents/global-requirements-auditor.yaml +11 -3
- package/xiaoma-core/agents/intelligent-template-adapter.yaml +19 -5
- package/xiaoma-core/agents/master-execution-engine.yaml +19 -5
- package/xiaoma-core/agents/workflow-executor.md +126 -18
- package/xiaoma-core/agents/xiaoma-master.md +1 -1
- package/xiaoma-core/data/test-levels-framework.md +12 -12
- package/xiaoma-core/tasks/analyze-existing-database.md +1 -1
- package/xiaoma-core/tasks/apply-qa-fixes.md +3 -3
- package/xiaoma-core/tasks/batch-story-generation.md +22 -22
- package/xiaoma-core/tasks/create-enhanced-story-with-database.md +6 -6
- package/xiaoma-core/tasks/nfr-assess.md +6 -6
- package/xiaoma-core/tasks/project-integration-testing.md +42 -42
- package/xiaoma-core/tasks/qa-gate.md +23 -23
- package/xiaoma-core/tasks/review-story.md +18 -18
- package/xiaoma-core/tasks/risk-profile.md +25 -25
- package/xiaoma-core/tasks/serial-development-orchestration.md +51 -51
- package/xiaoma-core/tasks/test-design.md +9 -9
- package/xiaoma-core/tasks/trace-requirements.md +21 -21
- package/xiaoma-core/templates/competitor-analysis-tmpl.yaml +35 -5
- package/xiaoma-core/templates/front-end-architecture-tmpl.yaml +77 -11
- package/xiaoma-core/templates/front-end-spec-tmpl.yaml +6 -1
- package/xiaoma-core/templates/fullstack-architecture-tmpl.yaml +140 -20
- package/xiaoma-core/templates/global-qa-monitoring-tmpl.yaml +2 -1
- package/xiaoma-core/templates/requirements-coverage-audit.yaml +2 -1
- package/xiaoma-core/workflows/automated-requirements-analysis.yaml +4 -4
- package/dist/agents/database-architect.txt +0 -322
|
@@ -2931,11 +2931,29 @@ sections:
|
|
|
2931
2931
|
rows:
|
|
2932
2932
|
- category: "核心功能"
|
|
2933
2933
|
items:
|
|
2934
|
-
- [
|
|
2935
|
-
|
|
2934
|
+
- [
|
|
2935
|
+
"功能A",
|
|
2936
|
+
"{{status}}",
|
|
2937
|
+
"{{status}}",
|
|
2938
|
+
"{{status}}",
|
|
2939
|
+
"{{status}}",
|
|
2940
|
+
]
|
|
2941
|
+
- [
|
|
2942
|
+
"功能B",
|
|
2943
|
+
"{{status}}",
|
|
2944
|
+
"{{status}}",
|
|
2945
|
+
"{{status}}",
|
|
2946
|
+
"{{status}}",
|
|
2947
|
+
]
|
|
2936
2948
|
- category: "用户体验"
|
|
2937
2949
|
items:
|
|
2938
|
-
- [
|
|
2950
|
+
- [
|
|
2951
|
+
"移动应用",
|
|
2952
|
+
"{{rating}}",
|
|
2953
|
+
"{{rating}}",
|
|
2954
|
+
"{{rating}}",
|
|
2955
|
+
"{{rating}}",
|
|
2956
|
+
]
|
|
2939
2957
|
- ["上手时间", "{{time}}", "{{time}}", "{{time}}", "{{time}}"]
|
|
2940
2958
|
- category: "集成与生态系统"
|
|
2941
2959
|
items:
|
|
@@ -2946,11 +2964,23 @@ sections:
|
|
|
2946
2964
|
"{{availability}}",
|
|
2947
2965
|
"{{availability}}",
|
|
2948
2966
|
]
|
|
2949
|
-
- [
|
|
2967
|
+
- [
|
|
2968
|
+
"第三方集成",
|
|
2969
|
+
"{{number}}",
|
|
2970
|
+
"{{number}}",
|
|
2971
|
+
"{{number}}",
|
|
2972
|
+
"{{number}}",
|
|
2973
|
+
]
|
|
2950
2974
|
- category: "定价与计划"
|
|
2951
2975
|
items:
|
|
2952
2976
|
- ["起步价", "{{price}}", "{{price}}", "{{price}}", "{{price}}"]
|
|
2953
|
-
- [
|
|
2977
|
+
- [
|
|
2978
|
+
"免费套餐",
|
|
2979
|
+
"{{yes_no}}",
|
|
2980
|
+
"{{yes_no}}",
|
|
2981
|
+
"{{yes_no}}",
|
|
2982
|
+
"{{yes_no}}",
|
|
2983
|
+
]
|
|
2954
2984
|
- id: swot-comparison
|
|
2955
2985
|
title: SWOT 对比
|
|
2956
2986
|
instruction: 为你的解决方案与主要竞争对手创建 SWOT 分析
|
|
@@ -5674,7 +5704,12 @@ sections:
|
|
|
5674
5704
|
rows:
|
|
5675
5705
|
- ["移动端", "{{mobile_min}}", "{{mobile_max}}", "{{mobile_devices}}"]
|
|
5676
5706
|
- ["平板", "{{tablet_min}}", "{{tablet_max}}", "{{tablet_devices}}"]
|
|
5677
|
-
- [
|
|
5707
|
+
- [
|
|
5708
|
+
"桌面端",
|
|
5709
|
+
"{{desktop_min}}",
|
|
5710
|
+
"{{desktop_max}}",
|
|
5711
|
+
"{{desktop_devices}}",
|
|
5712
|
+
]
|
|
5678
5713
|
- ["宽屏", "{{wide_min}}", "-", "{{wide_devices}}"]
|
|
5679
5714
|
- id: adaptation-patterns
|
|
5680
5715
|
title: 适配模式
|
|
@@ -6952,17 +6987,83 @@ sections:
|
|
|
6952
6987
|
columns: [类别, 技术, 版本, 用途, 选型理由]
|
|
6953
6988
|
instruction: 根据所选框架和项目需求,填写适当的技术选型。
|
|
6954
6989
|
rows:
|
|
6955
|
-
- [
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
- [
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
|
|
6990
|
+
- [
|
|
6991
|
+
"框架",
|
|
6992
|
+
"{{framework}}",
|
|
6993
|
+
"{{version}}",
|
|
6994
|
+
"{{purpose}}",
|
|
6995
|
+
"{{why_chosen}}",
|
|
6996
|
+
]
|
|
6997
|
+
- [
|
|
6998
|
+
"UI 库",
|
|
6999
|
+
"{{ui_library}}",
|
|
7000
|
+
"{{version}}",
|
|
7001
|
+
"{{purpose}}",
|
|
7002
|
+
"{{why_chosen}}",
|
|
7003
|
+
]
|
|
7004
|
+
- [
|
|
7005
|
+
"状态管理",
|
|
7006
|
+
"{{state_management}}",
|
|
7007
|
+
"{{version}}",
|
|
7008
|
+
"{{purpose}}",
|
|
7009
|
+
"{{why_chosen}}",
|
|
7010
|
+
]
|
|
7011
|
+
- [
|
|
7012
|
+
"路由",
|
|
7013
|
+
"{{routing_library}}",
|
|
7014
|
+
"{{version}}",
|
|
7015
|
+
"{{purpose}}",
|
|
7016
|
+
"{{why_chosen}}",
|
|
7017
|
+
]
|
|
7018
|
+
- [
|
|
7019
|
+
"构建工具",
|
|
7020
|
+
"{{build_tool}}",
|
|
7021
|
+
"{{version}}",
|
|
7022
|
+
"{{purpose}}",
|
|
7023
|
+
"{{why_chosen}}",
|
|
7024
|
+
]
|
|
7025
|
+
- [
|
|
7026
|
+
"样式方案",
|
|
7027
|
+
"{{styling_solution}}",
|
|
7028
|
+
"{{version}}",
|
|
7029
|
+
"{{purpose}}",
|
|
7030
|
+
"{{why_chosen}}",
|
|
7031
|
+
]
|
|
7032
|
+
- [
|
|
7033
|
+
"测试",
|
|
7034
|
+
"{{test_framework}}",
|
|
7035
|
+
"{{version}}",
|
|
7036
|
+
"{{purpose}}",
|
|
7037
|
+
"{{why_chosen}}",
|
|
7038
|
+
]
|
|
7039
|
+
- [
|
|
7040
|
+
"组件库",
|
|
7041
|
+
"{{component_lib}}",
|
|
7042
|
+
"{{version}}",
|
|
7043
|
+
"{{purpose}}",
|
|
7044
|
+
"{{why_chosen}}",
|
|
7045
|
+
]
|
|
7046
|
+
- [
|
|
7047
|
+
"表单处理",
|
|
7048
|
+
"{{form_library}}",
|
|
7049
|
+
"{{version}}",
|
|
7050
|
+
"{{purpose}}",
|
|
7051
|
+
"{{why_chosen}}",
|
|
7052
|
+
]
|
|
7053
|
+
- [
|
|
7054
|
+
"动画",
|
|
7055
|
+
"{{animation_lib}}",
|
|
7056
|
+
"{{version}}",
|
|
7057
|
+
"{{purpose}}",
|
|
7058
|
+
"{{why_chosen}}",
|
|
7059
|
+
]
|
|
7060
|
+
- [
|
|
7061
|
+
"开发工具",
|
|
7062
|
+
"{{dev_tools}}",
|
|
7063
|
+
"{{version}}",
|
|
7064
|
+
"{{purpose}}",
|
|
7065
|
+
"{{why_chosen}}",
|
|
7066
|
+
]
|
|
6966
7067
|
|
|
6967
7068
|
- id: project-structure
|
|
6968
7069
|
title: 项目结构
|
|
@@ -7243,27 +7344,147 @@ sections:
|
|
|
7243
7344
|
type: table
|
|
7244
7345
|
columns: [类别, 技术, 版本, 用途, 理由]
|
|
7245
7346
|
rows:
|
|
7246
|
-
- [
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
- [
|
|
7254
|
-
|
|
7255
|
-
|
|
7347
|
+
- [
|
|
7348
|
+
"前端语言",
|
|
7349
|
+
"{{fe_language}}",
|
|
7350
|
+
"{{version}}",
|
|
7351
|
+
"{{purpose}}",
|
|
7352
|
+
"{{why_chosen}}",
|
|
7353
|
+
]
|
|
7354
|
+
- [
|
|
7355
|
+
"前端框架",
|
|
7356
|
+
"{{fe_framework}}",
|
|
7357
|
+
"{{version}}",
|
|
7358
|
+
"{{purpose}}",
|
|
7359
|
+
"{{why_chosen}}",
|
|
7360
|
+
]
|
|
7361
|
+
- [
|
|
7362
|
+
"UI 组件库",
|
|
7363
|
+
"{{ui_library}}",
|
|
7364
|
+
"{{version}}",
|
|
7365
|
+
"{{purpose}}",
|
|
7366
|
+
"{{why_chosen}}",
|
|
7367
|
+
]
|
|
7368
|
+
- [
|
|
7369
|
+
"状态管理",
|
|
7370
|
+
"{{state_mgmt}}",
|
|
7371
|
+
"{{version}}",
|
|
7372
|
+
"{{purpose}}",
|
|
7373
|
+
"{{why_chosen}}",
|
|
7374
|
+
]
|
|
7375
|
+
- [
|
|
7376
|
+
"后端语言",
|
|
7377
|
+
"{{be_language}}",
|
|
7378
|
+
"{{version}}",
|
|
7379
|
+
"{{purpose}}",
|
|
7380
|
+
"{{why_chosen}}",
|
|
7381
|
+
]
|
|
7382
|
+
- [
|
|
7383
|
+
"后端框架",
|
|
7384
|
+
"{{be_framework}}",
|
|
7385
|
+
"{{version}}",
|
|
7386
|
+
"{{purpose}}",
|
|
7387
|
+
"{{why_chosen}}",
|
|
7388
|
+
]
|
|
7389
|
+
- [
|
|
7390
|
+
"API 风格",
|
|
7391
|
+
"{{api_style}}",
|
|
7392
|
+
"{{version}}",
|
|
7393
|
+
"{{purpose}}",
|
|
7394
|
+
"{{why_chosen}}",
|
|
7395
|
+
]
|
|
7396
|
+
- [
|
|
7397
|
+
"数据库",
|
|
7398
|
+
"{{database}}",
|
|
7399
|
+
"{{version}}",
|
|
7400
|
+
"{{purpose}}",
|
|
7401
|
+
"{{why_chosen}}",
|
|
7402
|
+
]
|
|
7403
|
+
- [
|
|
7404
|
+
"缓存",
|
|
7405
|
+
"{{cache}}",
|
|
7406
|
+
"{{version}}",
|
|
7407
|
+
"{{purpose}}",
|
|
7408
|
+
"{{why_chosen}}",
|
|
7409
|
+
]
|
|
7410
|
+
- [
|
|
7411
|
+
"文件存储",
|
|
7412
|
+
"{{storage}}",
|
|
7413
|
+
"{{version}}",
|
|
7414
|
+
"{{purpose}}",
|
|
7415
|
+
"{{why_chosen}}",
|
|
7416
|
+
]
|
|
7256
7417
|
- ["认证", "{{auth}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
|
|
7257
|
-
- [
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
- [
|
|
7265
|
-
|
|
7266
|
-
|
|
7418
|
+
- [
|
|
7419
|
+
"前端测试",
|
|
7420
|
+
"{{fe_test}}",
|
|
7421
|
+
"{{version}}",
|
|
7422
|
+
"{{purpose}}",
|
|
7423
|
+
"{{why_chosen}}",
|
|
7424
|
+
]
|
|
7425
|
+
- [
|
|
7426
|
+
"后端测试",
|
|
7427
|
+
"{{be_test}}",
|
|
7428
|
+
"{{version}}",
|
|
7429
|
+
"{{purpose}}",
|
|
7430
|
+
"{{why_chosen}}",
|
|
7431
|
+
]
|
|
7432
|
+
- [
|
|
7433
|
+
"E2E 测试",
|
|
7434
|
+
"{{e2e_test}}",
|
|
7435
|
+
"{{version}}",
|
|
7436
|
+
"{{purpose}}",
|
|
7437
|
+
"{{why_chosen}}",
|
|
7438
|
+
]
|
|
7439
|
+
- [
|
|
7440
|
+
"构建工具",
|
|
7441
|
+
"{{build_tool}}",
|
|
7442
|
+
"{{version}}",
|
|
7443
|
+
"{{purpose}}",
|
|
7444
|
+
"{{why_chosen}}",
|
|
7445
|
+
]
|
|
7446
|
+
- [
|
|
7447
|
+
"打包工具",
|
|
7448
|
+
"{{bundler}}",
|
|
7449
|
+
"{{version}}",
|
|
7450
|
+
"{{purpose}}",
|
|
7451
|
+
"{{why_chosen}}",
|
|
7452
|
+
]
|
|
7453
|
+
- [
|
|
7454
|
+
"IaC 工具",
|
|
7455
|
+
"{{iac_tool}}",
|
|
7456
|
+
"{{version}}",
|
|
7457
|
+
"{{purpose}}",
|
|
7458
|
+
"{{why_chosen}}",
|
|
7459
|
+
]
|
|
7460
|
+
- [
|
|
7461
|
+
"CI/CD",
|
|
7462
|
+
"{{cicd}}",
|
|
7463
|
+
"{{version}}",
|
|
7464
|
+
"{{purpose}}",
|
|
7465
|
+
"{{why_chosen}}",
|
|
7466
|
+
]
|
|
7467
|
+
- [
|
|
7468
|
+
"监控",
|
|
7469
|
+
"{{monitoring}}",
|
|
7470
|
+
"{{version}}",
|
|
7471
|
+
"{{purpose}}",
|
|
7472
|
+
"{{why_chosen}}",
|
|
7473
|
+
]
|
|
7474
|
+
- [
|
|
7475
|
+
"日志",
|
|
7476
|
+
"{{logging}}",
|
|
7477
|
+
"{{version}}",
|
|
7478
|
+
"{{purpose}}",
|
|
7479
|
+
"{{why_chosen}}",
|
|
7480
|
+
]
|
|
7481
|
+
- [
|
|
7482
|
+
"CSS 框架",
|
|
7483
|
+
"{{css_framework}}",
|
|
7484
|
+
"{{version}}",
|
|
7485
|
+
"{{purpose}}",
|
|
7486
|
+
"{{why_chosen}}",
|
|
7487
|
+
]
|
|
7267
7488
|
|
|
7268
7489
|
- id: data-models
|
|
7269
7490
|
title: 数据模型
|