@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
|
@@ -3720,11 +3720,29 @@ sections:
|
|
|
3720
3720
|
rows:
|
|
3721
3721
|
- category: "核心功能"
|
|
3722
3722
|
items:
|
|
3723
|
-
- [
|
|
3724
|
-
|
|
3723
|
+
- [
|
|
3724
|
+
"功能A",
|
|
3725
|
+
"{{status}}",
|
|
3726
|
+
"{{status}}",
|
|
3727
|
+
"{{status}}",
|
|
3728
|
+
"{{status}}",
|
|
3729
|
+
]
|
|
3730
|
+
- [
|
|
3731
|
+
"功能B",
|
|
3732
|
+
"{{status}}",
|
|
3733
|
+
"{{status}}",
|
|
3734
|
+
"{{status}}",
|
|
3735
|
+
"{{status}}",
|
|
3736
|
+
]
|
|
3725
3737
|
- category: "用户体验"
|
|
3726
3738
|
items:
|
|
3727
|
-
- [
|
|
3739
|
+
- [
|
|
3740
|
+
"移动应用",
|
|
3741
|
+
"{{rating}}",
|
|
3742
|
+
"{{rating}}",
|
|
3743
|
+
"{{rating}}",
|
|
3744
|
+
"{{rating}}",
|
|
3745
|
+
]
|
|
3728
3746
|
- ["上手时间", "{{time}}", "{{time}}", "{{time}}", "{{time}}"]
|
|
3729
3747
|
- category: "集成与生态系统"
|
|
3730
3748
|
items:
|
|
@@ -3735,11 +3753,23 @@ sections:
|
|
|
3735
3753
|
"{{availability}}",
|
|
3736
3754
|
"{{availability}}",
|
|
3737
3755
|
]
|
|
3738
|
-
- [
|
|
3756
|
+
- [
|
|
3757
|
+
"第三方集成",
|
|
3758
|
+
"{{number}}",
|
|
3759
|
+
"{{number}}",
|
|
3760
|
+
"{{number}}",
|
|
3761
|
+
"{{number}}",
|
|
3762
|
+
]
|
|
3739
3763
|
- category: "定价与计划"
|
|
3740
3764
|
items:
|
|
3741
3765
|
- ["起步价", "{{price}}", "{{price}}", "{{price}}", "{{price}}"]
|
|
3742
|
-
- [
|
|
3766
|
+
- [
|
|
3767
|
+
"免费套餐",
|
|
3768
|
+
"{{yes_no}}",
|
|
3769
|
+
"{{yes_no}}",
|
|
3770
|
+
"{{yes_no}}",
|
|
3771
|
+
"{{yes_no}}",
|
|
3772
|
+
]
|
|
3743
3773
|
- id: swot-comparison
|
|
3744
3774
|
title: SWOT 对比
|
|
3745
3775
|
instruction: 为你的解决方案与主要竞争对手创建 SWOT 分析
|
|
@@ -3950,17 +3980,83 @@ sections:
|
|
|
3950
3980
|
columns: [类别, 技术, 版本, 用途, 选型理由]
|
|
3951
3981
|
instruction: 根据所选框架和项目需求,填写适当的技术选型。
|
|
3952
3982
|
rows:
|
|
3953
|
-
- [
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
- [
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3983
|
+
- [
|
|
3984
|
+
"框架",
|
|
3985
|
+
"{{framework}}",
|
|
3986
|
+
"{{version}}",
|
|
3987
|
+
"{{purpose}}",
|
|
3988
|
+
"{{why_chosen}}",
|
|
3989
|
+
]
|
|
3990
|
+
- [
|
|
3991
|
+
"UI 库",
|
|
3992
|
+
"{{ui_library}}",
|
|
3993
|
+
"{{version}}",
|
|
3994
|
+
"{{purpose}}",
|
|
3995
|
+
"{{why_chosen}}",
|
|
3996
|
+
]
|
|
3997
|
+
- [
|
|
3998
|
+
"状态管理",
|
|
3999
|
+
"{{state_management}}",
|
|
4000
|
+
"{{version}}",
|
|
4001
|
+
"{{purpose}}",
|
|
4002
|
+
"{{why_chosen}}",
|
|
4003
|
+
]
|
|
4004
|
+
- [
|
|
4005
|
+
"路由",
|
|
4006
|
+
"{{routing_library}}",
|
|
4007
|
+
"{{version}}",
|
|
4008
|
+
"{{purpose}}",
|
|
4009
|
+
"{{why_chosen}}",
|
|
4010
|
+
]
|
|
4011
|
+
- [
|
|
4012
|
+
"构建工具",
|
|
4013
|
+
"{{build_tool}}",
|
|
4014
|
+
"{{version}}",
|
|
4015
|
+
"{{purpose}}",
|
|
4016
|
+
"{{why_chosen}}",
|
|
4017
|
+
]
|
|
4018
|
+
- [
|
|
4019
|
+
"样式方案",
|
|
4020
|
+
"{{styling_solution}}",
|
|
4021
|
+
"{{version}}",
|
|
4022
|
+
"{{purpose}}",
|
|
4023
|
+
"{{why_chosen}}",
|
|
4024
|
+
]
|
|
4025
|
+
- [
|
|
4026
|
+
"测试",
|
|
4027
|
+
"{{test_framework}}",
|
|
4028
|
+
"{{version}}",
|
|
4029
|
+
"{{purpose}}",
|
|
4030
|
+
"{{why_chosen}}",
|
|
4031
|
+
]
|
|
4032
|
+
- [
|
|
4033
|
+
"组件库",
|
|
4034
|
+
"{{component_lib}}",
|
|
4035
|
+
"{{version}}",
|
|
4036
|
+
"{{purpose}}",
|
|
4037
|
+
"{{why_chosen}}",
|
|
4038
|
+
]
|
|
4039
|
+
- [
|
|
4040
|
+
"表单处理",
|
|
4041
|
+
"{{form_library}}",
|
|
4042
|
+
"{{version}}",
|
|
4043
|
+
"{{purpose}}",
|
|
4044
|
+
"{{why_chosen}}",
|
|
4045
|
+
]
|
|
4046
|
+
- [
|
|
4047
|
+
"动画",
|
|
4048
|
+
"{{animation_lib}}",
|
|
4049
|
+
"{{version}}",
|
|
4050
|
+
"{{purpose}}",
|
|
4051
|
+
"{{why_chosen}}",
|
|
4052
|
+
]
|
|
4053
|
+
- [
|
|
4054
|
+
"开发工具",
|
|
4055
|
+
"{{dev_tools}}",
|
|
4056
|
+
"{{version}}",
|
|
4057
|
+
"{{purpose}}",
|
|
4058
|
+
"{{why_chosen}}",
|
|
4059
|
+
]
|
|
3964
4060
|
|
|
3965
4061
|
- id: project-structure
|
|
3966
4062
|
title: 项目结构
|
|
@@ -4365,7 +4461,12 @@ sections:
|
|
|
4365
4461
|
rows:
|
|
4366
4462
|
- ["移动端", "{{mobile_min}}", "{{mobile_max}}", "{{mobile_devices}}"]
|
|
4367
4463
|
- ["平板", "{{tablet_min}}", "{{tablet_max}}", "{{tablet_devices}}"]
|
|
4368
|
-
- [
|
|
4464
|
+
- [
|
|
4465
|
+
"桌面端",
|
|
4466
|
+
"{{desktop_min}}",
|
|
4467
|
+
"{{desktop_max}}",
|
|
4468
|
+
"{{desktop_devices}}",
|
|
4469
|
+
]
|
|
4369
4470
|
- ["宽屏", "{{wide_min}}", "-", "{{wide_devices}}"]
|
|
4370
4471
|
- id: adaptation-patterns
|
|
4371
4472
|
title: 适配模式
|
|
@@ -4593,27 +4694,147 @@ sections:
|
|
|
4593
4694
|
type: table
|
|
4594
4695
|
columns: [类别, 技术, 版本, 用途, 理由]
|
|
4595
4696
|
rows:
|
|
4596
|
-
- [
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
- [
|
|
4604
|
-
|
|
4605
|
-
|
|
4697
|
+
- [
|
|
4698
|
+
"前端语言",
|
|
4699
|
+
"{{fe_language}}",
|
|
4700
|
+
"{{version}}",
|
|
4701
|
+
"{{purpose}}",
|
|
4702
|
+
"{{why_chosen}}",
|
|
4703
|
+
]
|
|
4704
|
+
- [
|
|
4705
|
+
"前端框架",
|
|
4706
|
+
"{{fe_framework}}",
|
|
4707
|
+
"{{version}}",
|
|
4708
|
+
"{{purpose}}",
|
|
4709
|
+
"{{why_chosen}}",
|
|
4710
|
+
]
|
|
4711
|
+
- [
|
|
4712
|
+
"UI 组件库",
|
|
4713
|
+
"{{ui_library}}",
|
|
4714
|
+
"{{version}}",
|
|
4715
|
+
"{{purpose}}",
|
|
4716
|
+
"{{why_chosen}}",
|
|
4717
|
+
]
|
|
4718
|
+
- [
|
|
4719
|
+
"状态管理",
|
|
4720
|
+
"{{state_mgmt}}",
|
|
4721
|
+
"{{version}}",
|
|
4722
|
+
"{{purpose}}",
|
|
4723
|
+
"{{why_chosen}}",
|
|
4724
|
+
]
|
|
4725
|
+
- [
|
|
4726
|
+
"后端语言",
|
|
4727
|
+
"{{be_language}}",
|
|
4728
|
+
"{{version}}",
|
|
4729
|
+
"{{purpose}}",
|
|
4730
|
+
"{{why_chosen}}",
|
|
4731
|
+
]
|
|
4732
|
+
- [
|
|
4733
|
+
"后端框架",
|
|
4734
|
+
"{{be_framework}}",
|
|
4735
|
+
"{{version}}",
|
|
4736
|
+
"{{purpose}}",
|
|
4737
|
+
"{{why_chosen}}",
|
|
4738
|
+
]
|
|
4739
|
+
- [
|
|
4740
|
+
"API 风格",
|
|
4741
|
+
"{{api_style}}",
|
|
4742
|
+
"{{version}}",
|
|
4743
|
+
"{{purpose}}",
|
|
4744
|
+
"{{why_chosen}}",
|
|
4745
|
+
]
|
|
4746
|
+
- [
|
|
4747
|
+
"数据库",
|
|
4748
|
+
"{{database}}",
|
|
4749
|
+
"{{version}}",
|
|
4750
|
+
"{{purpose}}",
|
|
4751
|
+
"{{why_chosen}}",
|
|
4752
|
+
]
|
|
4753
|
+
- [
|
|
4754
|
+
"缓存",
|
|
4755
|
+
"{{cache}}",
|
|
4756
|
+
"{{version}}",
|
|
4757
|
+
"{{purpose}}",
|
|
4758
|
+
"{{why_chosen}}",
|
|
4759
|
+
]
|
|
4760
|
+
- [
|
|
4761
|
+
"文件存储",
|
|
4762
|
+
"{{storage}}",
|
|
4763
|
+
"{{version}}",
|
|
4764
|
+
"{{purpose}}",
|
|
4765
|
+
"{{why_chosen}}",
|
|
4766
|
+
]
|
|
4606
4767
|
- ["认证", "{{auth}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
|
|
4607
|
-
- [
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
- [
|
|
4615
|
-
|
|
4616
|
-
|
|
4768
|
+
- [
|
|
4769
|
+
"前端测试",
|
|
4770
|
+
"{{fe_test}}",
|
|
4771
|
+
"{{version}}",
|
|
4772
|
+
"{{purpose}}",
|
|
4773
|
+
"{{why_chosen}}",
|
|
4774
|
+
]
|
|
4775
|
+
- [
|
|
4776
|
+
"后端测试",
|
|
4777
|
+
"{{be_test}}",
|
|
4778
|
+
"{{version}}",
|
|
4779
|
+
"{{purpose}}",
|
|
4780
|
+
"{{why_chosen}}",
|
|
4781
|
+
]
|
|
4782
|
+
- [
|
|
4783
|
+
"E2E 测试",
|
|
4784
|
+
"{{e2e_test}}",
|
|
4785
|
+
"{{version}}",
|
|
4786
|
+
"{{purpose}}",
|
|
4787
|
+
"{{why_chosen}}",
|
|
4788
|
+
]
|
|
4789
|
+
- [
|
|
4790
|
+
"构建工具",
|
|
4791
|
+
"{{build_tool}}",
|
|
4792
|
+
"{{version}}",
|
|
4793
|
+
"{{purpose}}",
|
|
4794
|
+
"{{why_chosen}}",
|
|
4795
|
+
]
|
|
4796
|
+
- [
|
|
4797
|
+
"打包工具",
|
|
4798
|
+
"{{bundler}}",
|
|
4799
|
+
"{{version}}",
|
|
4800
|
+
"{{purpose}}",
|
|
4801
|
+
"{{why_chosen}}",
|
|
4802
|
+
]
|
|
4803
|
+
- [
|
|
4804
|
+
"IaC 工具",
|
|
4805
|
+
"{{iac_tool}}",
|
|
4806
|
+
"{{version}}",
|
|
4807
|
+
"{{purpose}}",
|
|
4808
|
+
"{{why_chosen}}",
|
|
4809
|
+
]
|
|
4810
|
+
- [
|
|
4811
|
+
"CI/CD",
|
|
4812
|
+
"{{cicd}}",
|
|
4813
|
+
"{{version}}",
|
|
4814
|
+
"{{purpose}}",
|
|
4815
|
+
"{{why_chosen}}",
|
|
4816
|
+
]
|
|
4817
|
+
- [
|
|
4818
|
+
"监控",
|
|
4819
|
+
"{{monitoring}}",
|
|
4820
|
+
"{{version}}",
|
|
4821
|
+
"{{purpose}}",
|
|
4822
|
+
"{{why_chosen}}",
|
|
4823
|
+
]
|
|
4824
|
+
- [
|
|
4825
|
+
"日志",
|
|
4826
|
+
"{{logging}}",
|
|
4827
|
+
"{{version}}",
|
|
4828
|
+
"{{purpose}}",
|
|
4829
|
+
"{{why_chosen}}",
|
|
4830
|
+
]
|
|
4831
|
+
- [
|
|
4832
|
+
"CSS 框架",
|
|
4833
|
+
"{{css_framework}}",
|
|
4834
|
+
"{{version}}",
|
|
4835
|
+
"{{purpose}}",
|
|
4836
|
+
"{{why_chosen}}",
|
|
4837
|
+
]
|
|
4617
4838
|
|
|
4618
4839
|
- id: data-models
|
|
4619
4840
|
title: 数据模型
|