@zeyue0329/xiaoma-cli 1.0.37 → 1.0.39
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 +8 -4
- 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 +283 -6
- package/dist/agents/database-architect.txt +0 -322
|
@@ -2877,11 +2877,29 @@ sections:
|
|
|
2877
2877
|
rows:
|
|
2878
2878
|
- category: "核心功能"
|
|
2879
2879
|
items:
|
|
2880
|
-
- [
|
|
2881
|
-
|
|
2880
|
+
- [
|
|
2881
|
+
"功能A",
|
|
2882
|
+
"{{status}}",
|
|
2883
|
+
"{{status}}",
|
|
2884
|
+
"{{status}}",
|
|
2885
|
+
"{{status}}",
|
|
2886
|
+
]
|
|
2887
|
+
- [
|
|
2888
|
+
"功能B",
|
|
2889
|
+
"{{status}}",
|
|
2890
|
+
"{{status}}",
|
|
2891
|
+
"{{status}}",
|
|
2892
|
+
"{{status}}",
|
|
2893
|
+
]
|
|
2882
2894
|
- category: "用户体验"
|
|
2883
2895
|
items:
|
|
2884
|
-
- [
|
|
2896
|
+
- [
|
|
2897
|
+
"移动应用",
|
|
2898
|
+
"{{rating}}",
|
|
2899
|
+
"{{rating}}",
|
|
2900
|
+
"{{rating}}",
|
|
2901
|
+
"{{rating}}",
|
|
2902
|
+
]
|
|
2885
2903
|
- ["上手时间", "{{time}}", "{{time}}", "{{time}}", "{{time}}"]
|
|
2886
2904
|
- category: "集成与生态系统"
|
|
2887
2905
|
items:
|
|
@@ -2892,11 +2910,23 @@ sections:
|
|
|
2892
2910
|
"{{availability}}",
|
|
2893
2911
|
"{{availability}}",
|
|
2894
2912
|
]
|
|
2895
|
-
- [
|
|
2913
|
+
- [
|
|
2914
|
+
"第三方集成",
|
|
2915
|
+
"{{number}}",
|
|
2916
|
+
"{{number}}",
|
|
2917
|
+
"{{number}}",
|
|
2918
|
+
"{{number}}",
|
|
2919
|
+
]
|
|
2896
2920
|
- category: "定价与计划"
|
|
2897
2921
|
items:
|
|
2898
2922
|
- ["起步价", "{{price}}", "{{price}}", "{{price}}", "{{price}}"]
|
|
2899
|
-
- [
|
|
2923
|
+
- [
|
|
2924
|
+
"免费套餐",
|
|
2925
|
+
"{{yes_no}}",
|
|
2926
|
+
"{{yes_no}}",
|
|
2927
|
+
"{{yes_no}}",
|
|
2928
|
+
"{{yes_no}}",
|
|
2929
|
+
]
|
|
2900
2930
|
- id: swot-comparison
|
|
2901
2931
|
title: SWOT 对比
|
|
2902
2932
|
instruction: 为你的解决方案与主要竞争对手创建 SWOT 分析
|
|
@@ -6490,17 +6520,83 @@ sections:
|
|
|
6490
6520
|
columns: [类别, 技术, 版本, 用途, 选型理由]
|
|
6491
6521
|
instruction: 根据所选框架和项目需求,填写适当的技术选型。
|
|
6492
6522
|
rows:
|
|
6493
|
-
- [
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
- [
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6523
|
+
- [
|
|
6524
|
+
"框架",
|
|
6525
|
+
"{{framework}}",
|
|
6526
|
+
"{{version}}",
|
|
6527
|
+
"{{purpose}}",
|
|
6528
|
+
"{{why_chosen}}",
|
|
6529
|
+
]
|
|
6530
|
+
- [
|
|
6531
|
+
"UI 库",
|
|
6532
|
+
"{{ui_library}}",
|
|
6533
|
+
"{{version}}",
|
|
6534
|
+
"{{purpose}}",
|
|
6535
|
+
"{{why_chosen}}",
|
|
6536
|
+
]
|
|
6537
|
+
- [
|
|
6538
|
+
"状态管理",
|
|
6539
|
+
"{{state_management}}",
|
|
6540
|
+
"{{version}}",
|
|
6541
|
+
"{{purpose}}",
|
|
6542
|
+
"{{why_chosen}}",
|
|
6543
|
+
]
|
|
6544
|
+
- [
|
|
6545
|
+
"路由",
|
|
6546
|
+
"{{routing_library}}",
|
|
6547
|
+
"{{version}}",
|
|
6548
|
+
"{{purpose}}",
|
|
6549
|
+
"{{why_chosen}}",
|
|
6550
|
+
]
|
|
6551
|
+
- [
|
|
6552
|
+
"构建工具",
|
|
6553
|
+
"{{build_tool}}",
|
|
6554
|
+
"{{version}}",
|
|
6555
|
+
"{{purpose}}",
|
|
6556
|
+
"{{why_chosen}}",
|
|
6557
|
+
]
|
|
6558
|
+
- [
|
|
6559
|
+
"样式方案",
|
|
6560
|
+
"{{styling_solution}}",
|
|
6561
|
+
"{{version}}",
|
|
6562
|
+
"{{purpose}}",
|
|
6563
|
+
"{{why_chosen}}",
|
|
6564
|
+
]
|
|
6565
|
+
- [
|
|
6566
|
+
"测试",
|
|
6567
|
+
"{{test_framework}}",
|
|
6568
|
+
"{{version}}",
|
|
6569
|
+
"{{purpose}}",
|
|
6570
|
+
"{{why_chosen}}",
|
|
6571
|
+
]
|
|
6572
|
+
- [
|
|
6573
|
+
"组件库",
|
|
6574
|
+
"{{component_lib}}",
|
|
6575
|
+
"{{version}}",
|
|
6576
|
+
"{{purpose}}",
|
|
6577
|
+
"{{why_chosen}}",
|
|
6578
|
+
]
|
|
6579
|
+
- [
|
|
6580
|
+
"表单处理",
|
|
6581
|
+
"{{form_library}}",
|
|
6582
|
+
"{{version}}",
|
|
6583
|
+
"{{purpose}}",
|
|
6584
|
+
"{{why_chosen}}",
|
|
6585
|
+
]
|
|
6586
|
+
- [
|
|
6587
|
+
"动画",
|
|
6588
|
+
"{{animation_lib}}",
|
|
6589
|
+
"{{version}}",
|
|
6590
|
+
"{{purpose}}",
|
|
6591
|
+
"{{why_chosen}}",
|
|
6592
|
+
]
|
|
6593
|
+
- [
|
|
6594
|
+
"开发工具",
|
|
6595
|
+
"{{dev_tools}}",
|
|
6596
|
+
"{{version}}",
|
|
6597
|
+
"{{purpose}}",
|
|
6598
|
+
"{{why_chosen}}",
|
|
6599
|
+
]
|
|
6504
6600
|
|
|
6505
6601
|
- id: project-structure
|
|
6506
6602
|
title: 项目结构
|
|
@@ -6781,27 +6877,147 @@ sections:
|
|
|
6781
6877
|
type: table
|
|
6782
6878
|
columns: [类别, 技术, 版本, 用途, 理由]
|
|
6783
6879
|
rows:
|
|
6784
|
-
- [
|
|
6785
|
-
|
|
6786
|
-
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
- [
|
|
6792
|
-
|
|
6793
|
-
|
|
6880
|
+
- [
|
|
6881
|
+
"前端语言",
|
|
6882
|
+
"{{fe_language}}",
|
|
6883
|
+
"{{version}}",
|
|
6884
|
+
"{{purpose}}",
|
|
6885
|
+
"{{why_chosen}}",
|
|
6886
|
+
]
|
|
6887
|
+
- [
|
|
6888
|
+
"前端框架",
|
|
6889
|
+
"{{fe_framework}}",
|
|
6890
|
+
"{{version}}",
|
|
6891
|
+
"{{purpose}}",
|
|
6892
|
+
"{{why_chosen}}",
|
|
6893
|
+
]
|
|
6894
|
+
- [
|
|
6895
|
+
"UI 组件库",
|
|
6896
|
+
"{{ui_library}}",
|
|
6897
|
+
"{{version}}",
|
|
6898
|
+
"{{purpose}}",
|
|
6899
|
+
"{{why_chosen}}",
|
|
6900
|
+
]
|
|
6901
|
+
- [
|
|
6902
|
+
"状态管理",
|
|
6903
|
+
"{{state_mgmt}}",
|
|
6904
|
+
"{{version}}",
|
|
6905
|
+
"{{purpose}}",
|
|
6906
|
+
"{{why_chosen}}",
|
|
6907
|
+
]
|
|
6908
|
+
- [
|
|
6909
|
+
"后端语言",
|
|
6910
|
+
"{{be_language}}",
|
|
6911
|
+
"{{version}}",
|
|
6912
|
+
"{{purpose}}",
|
|
6913
|
+
"{{why_chosen}}",
|
|
6914
|
+
]
|
|
6915
|
+
- [
|
|
6916
|
+
"后端框架",
|
|
6917
|
+
"{{be_framework}}",
|
|
6918
|
+
"{{version}}",
|
|
6919
|
+
"{{purpose}}",
|
|
6920
|
+
"{{why_chosen}}",
|
|
6921
|
+
]
|
|
6922
|
+
- [
|
|
6923
|
+
"API 风格",
|
|
6924
|
+
"{{api_style}}",
|
|
6925
|
+
"{{version}}",
|
|
6926
|
+
"{{purpose}}",
|
|
6927
|
+
"{{why_chosen}}",
|
|
6928
|
+
]
|
|
6929
|
+
- [
|
|
6930
|
+
"数据库",
|
|
6931
|
+
"{{database}}",
|
|
6932
|
+
"{{version}}",
|
|
6933
|
+
"{{purpose}}",
|
|
6934
|
+
"{{why_chosen}}",
|
|
6935
|
+
]
|
|
6936
|
+
- [
|
|
6937
|
+
"缓存",
|
|
6938
|
+
"{{cache}}",
|
|
6939
|
+
"{{version}}",
|
|
6940
|
+
"{{purpose}}",
|
|
6941
|
+
"{{why_chosen}}",
|
|
6942
|
+
]
|
|
6943
|
+
- [
|
|
6944
|
+
"文件存储",
|
|
6945
|
+
"{{storage}}",
|
|
6946
|
+
"{{version}}",
|
|
6947
|
+
"{{purpose}}",
|
|
6948
|
+
"{{why_chosen}}",
|
|
6949
|
+
]
|
|
6794
6950
|
- ["认证", "{{auth}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
|
|
6795
|
-
- [
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
- [
|
|
6803
|
-
|
|
6804
|
-
|
|
6951
|
+
- [
|
|
6952
|
+
"前端测试",
|
|
6953
|
+
"{{fe_test}}",
|
|
6954
|
+
"{{version}}",
|
|
6955
|
+
"{{purpose}}",
|
|
6956
|
+
"{{why_chosen}}",
|
|
6957
|
+
]
|
|
6958
|
+
- [
|
|
6959
|
+
"后端测试",
|
|
6960
|
+
"{{be_test}}",
|
|
6961
|
+
"{{version}}",
|
|
6962
|
+
"{{purpose}}",
|
|
6963
|
+
"{{why_chosen}}",
|
|
6964
|
+
]
|
|
6965
|
+
- [
|
|
6966
|
+
"E2E 测试",
|
|
6967
|
+
"{{e2e_test}}",
|
|
6968
|
+
"{{version}}",
|
|
6969
|
+
"{{purpose}}",
|
|
6970
|
+
"{{why_chosen}}",
|
|
6971
|
+
]
|
|
6972
|
+
- [
|
|
6973
|
+
"构建工具",
|
|
6974
|
+
"{{build_tool}}",
|
|
6975
|
+
"{{version}}",
|
|
6976
|
+
"{{purpose}}",
|
|
6977
|
+
"{{why_chosen}}",
|
|
6978
|
+
]
|
|
6979
|
+
- [
|
|
6980
|
+
"打包工具",
|
|
6981
|
+
"{{bundler}}",
|
|
6982
|
+
"{{version}}",
|
|
6983
|
+
"{{purpose}}",
|
|
6984
|
+
"{{why_chosen}}",
|
|
6985
|
+
]
|
|
6986
|
+
- [
|
|
6987
|
+
"IaC 工具",
|
|
6988
|
+
"{{iac_tool}}",
|
|
6989
|
+
"{{version}}",
|
|
6990
|
+
"{{purpose}}",
|
|
6991
|
+
"{{why_chosen}}",
|
|
6992
|
+
]
|
|
6993
|
+
- [
|
|
6994
|
+
"CI/CD",
|
|
6995
|
+
"{{cicd}}",
|
|
6996
|
+
"{{version}}",
|
|
6997
|
+
"{{purpose}}",
|
|
6998
|
+
"{{why_chosen}}",
|
|
6999
|
+
]
|
|
7000
|
+
- [
|
|
7001
|
+
"监控",
|
|
7002
|
+
"{{monitoring}}",
|
|
7003
|
+
"{{version}}",
|
|
7004
|
+
"{{purpose}}",
|
|
7005
|
+
"{{why_chosen}}",
|
|
7006
|
+
]
|
|
7007
|
+
- [
|
|
7008
|
+
"日志",
|
|
7009
|
+
"{{logging}}",
|
|
7010
|
+
"{{version}}",
|
|
7011
|
+
"{{purpose}}",
|
|
7012
|
+
"{{why_chosen}}",
|
|
7013
|
+
]
|
|
7014
|
+
- [
|
|
7015
|
+
"CSS 框架",
|
|
7016
|
+
"{{css_framework}}",
|
|
7017
|
+
"{{version}}",
|
|
7018
|
+
"{{purpose}}",
|
|
7019
|
+
"{{why_chosen}}",
|
|
7020
|
+
]
|
|
6805
7021
|
|
|
6806
7022
|
- id: data-models
|
|
6807
7023
|
title: 数据模型
|