create-yss-spec 3.0.0 → 3.0.1
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/README.md +1 -1
- package/package.json +1 -1
- package/src/cli.js +0 -1
- package/template/.agents/skills/.strategic-design-skills-manifest.json +35 -0
- package/template/.agents/skills/.yss-skills-manifest.json +0 -2
- package/template/.agents/skills/code-review/SKILL.md +1 -1
- package/template/.agents/skills/code-review/references/yss-review-standards.md +1 -1
- package/template/.agents/skills/lombok/SKILL.md +1 -1
- package/template/.agents/skills/mapstruct/SKILL.md +1 -1
- package/template/.agents/skills/prototype-review/SKILL.md +7 -6
- package/template/.agents/skills/yss-antd-design/SKILL.md +8 -7
- package/template/.agents/skills/yss-antd-design/references/evidence.md +11 -6
- package/template/.agents/skills/yss-api-integration/SKILL.md +2 -2
- package/template/.agents/skills/yss-application/SKILL.md +2 -2
- package/template/.agents/skills/yss-audit-log/SKILL.md +2 -2
- package/template/.agents/skills/yss-audit-log/references/source-index.md +1 -1
- package/template/.agents/skills/yss-cache/SKILL.md +2 -2
- package/template/.agents/skills/yss-cache/references/source-index.md +1 -1
- package/template/.agents/skills/yss-cache/scripts/check-skill-freshness.sh +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +6 -6
- package/template/.agents/skills/yss-ddd-scaffold-generator/agents/openai.yaml +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +3 -3
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +3 -3
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/first-slice-verification.test.mjs +3 -3
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +8 -8
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +8 -8
- package/template/.agents/skills/yss-design-system/SKILL.md +6 -6
- package/template/.agents/skills/yss-distributed-id/SKILL.md +2 -2
- package/template/.agents/skills/yss-distributed-id/references/source-index.md +1 -1
- package/template/.agents/skills/yss-domain/SKILL.md +1 -1
- package/template/.agents/skills/yss-dto/SKILL.md +2 -2
- package/template/.agents/skills/yss-dto/references/source-index.md +1 -1
- package/template/.agents/skills/yss-excel-mvc/SKILL.md +2 -2
- package/template/.agents/skills/yss-excel-mvc/references/source-index.md +1 -1
- package/template/.agents/skills/yss-exception/SKILL.md +1 -1
- package/template/.agents/skills/yss-exception/references/source-index.md +1 -1
- package/template/.agents/skills/{yss-router → yss-implementation-contract-compiler}/SKILL.md +22 -18
- package/template/.agents/skills/yss-implementation-contract-compiler/agents/openai.yaml +4 -0
- package/template/.agents/skills/yss-implementation-contract-compiler/references/boundaries.md +134 -0
- package/template/{.codex/skills/yss-router/references/router-contract.yaml → .agents/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml} +59 -94
- package/template/{.codex/skills/yss-router → .agents/skills/yss-implementation-contract-compiler}/references/slice-implementation-contract.md +20 -8
- package/template/.agents/skills/{yss-router → yss-implementation-contract-compiler}/references/yss-skill-execution-result.md +5 -3
- package/template/.agents/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +89 -0
- package/template/.agents/skills/yss-mvc-scaffold-generator/SKILL.md +87 -0
- package/template/.agents/skills/yss-mvc-scaffold-generator/agents/openai.yaml +4 -0
- package/template/.agents/skills/yss-mvc-scaffold-generator/assets/logback-spring.xml.template +50 -0
- package/template/.agents/skills/yss-mvc-scaffold-generator/assets/smart-doc.json.template +42 -0
- package/template/.agents/skills/yss-mvc-scaffold-generator/references/architecture.md +28 -0
- package/template/.agents/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +136 -0
- package/template/.agents/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +337 -0
- package/template/.agents/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +66 -0
- package/template/.agents/skills/yss-mvc-scaffold-generator/scripts/lib/runtime.mjs +115 -0
- package/template/.agents/skills/yss-mvc-scaffold-generator/scripts/lib/storage.mjs +90 -0
- package/template/.agents/skills/yss-mvc-scaffold-generator/scripts/lib/templates.mjs +54 -0
- package/template/.agents/skills/yss-mvc-scaffold-generator/scripts/verify_project.mjs +103 -0
- package/template/.agents/skills/yss-mybatis/SKILL.md +2 -2
- package/template/.agents/skills/yss-mybatis/references/source-index.md +1 -1
- package/template/.agents/skills/yss-page-module-development/SKILL.md +1 -1
- package/template/.agents/skills/yss-product-lifecycle/SKILL.md +6 -6
- package/template/.agents/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +25 -17
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +5 -5
- package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.agents/skills/yss-prototype-stage/SKILL.md +34 -24
- package/template/.agents/skills/yss-prototype-stage/references/product-design-adapter.md +43 -38
- package/template/.agents/skills/yss-prototype-stage/references/prototype-profile-routing.md +67 -0
- package/template/.agents/skills/yss-prototype-stage/scripts/prototype-contract.mjs +192 -103
- package/template/.agents/skills/yss-prototype-stage/tests/run-scenarios.mjs +87 -134
- package/template/.agents/skills/yss-repository/SKILL.md +2 -2
- package/template/.agents/skills/yss-resilience4j/SKILL.md +1 -1
- package/template/.agents/skills/yss-resilience4j/references/source-index.md +1 -1
- package/template/.agents/skills/yss-security-algorithm/SKILL.md +1 -1
- package/template/.agents/skills/yss-security-algorithm/references/source-index.md +1 -1
- package/template/.agents/skills/{yss-source-index → yss-skill-source-index-refresh}/SKILL.md +4 -4
- package/template/.agents/skills/yss-skill-source-index-refresh/agents/openai.yaml +4 -0
- package/template/{.claude/skills/yss-source-index → .agents/skills/yss-skill-source-index-refresh}/scripts/refresh-yss-skill-index.mjs +1 -1
- package/template/.agents/skills/yss-ui/SKILL.md +2 -1
- package/template/.agents/skills/yss-ui/assets/docs/guide/llms.md +0 -61
- package/template/.agents/skills/yss-up-springboot3/SKILL.md +1 -1
- package/template/.agents/skills/yss-userinfo/SKILL.md +1 -1
- package/template/.agents/skills/yss-userinfo/references/source-index.md +1 -1
- package/template/.agents/skills/yss-validation/SKILL.md +1 -1
- package/template/.agents/skills/yss-validation/references/source-index.md +1 -1
- package/template/.agents/skills/yss-web-controller/SKILL.md +2 -2
- package/template/.claude/skills/code-review/SKILL.md +1 -1
- package/template/.claude/skills/code-review/references/yss-review-standards.md +1 -1
- package/template/.claude/skills/lombok/SKILL.md +1 -1
- package/template/.claude/skills/mapstruct/SKILL.md +1 -1
- package/template/.claude/skills/prototype-review/SKILL.md +7 -6
- package/template/.claude/skills/yss-antd-design/SKILL.md +8 -7
- package/template/.claude/skills/yss-antd-design/references/evidence.md +11 -6
- package/template/.claude/skills/yss-api-integration/SKILL.md +2 -2
- package/template/.claude/skills/yss-application/SKILL.md +2 -2
- package/template/.claude/skills/yss-audit-log/SKILL.md +2 -2
- package/template/.claude/skills/yss-audit-log/references/source-index.md +1 -1
- package/template/.claude/skills/yss-cache/SKILL.md +2 -2
- package/template/.claude/skills/yss-cache/references/source-index.md +1 -1
- package/template/.claude/skills/yss-cache/scripts/check-skill-freshness.sh +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/SKILL.md +6 -6
- package/template/.claude/skills/yss-ddd-scaffold-generator/agents/openai.yaml +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +3 -3
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +3 -3
- package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/first-slice-verification.test.mjs +3 -3
- package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +8 -8
- package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +8 -8
- package/template/.claude/skills/yss-design-system/SKILL.md +6 -6
- package/template/.claude/skills/yss-distributed-id/SKILL.md +2 -2
- package/template/.claude/skills/yss-distributed-id/references/source-index.md +1 -1
- package/template/.claude/skills/yss-domain/SKILL.md +1 -1
- package/template/.claude/skills/yss-dto/SKILL.md +2 -2
- package/template/.claude/skills/yss-dto/references/source-index.md +1 -1
- package/template/.claude/skills/yss-excel-mvc/SKILL.md +2 -2
- package/template/.claude/skills/yss-excel-mvc/references/source-index.md +1 -1
- package/template/.claude/skills/yss-exception/SKILL.md +1 -1
- package/template/.claude/skills/yss-exception/references/source-index.md +1 -1
- package/template/{.codex/skills/yss-router → .claude/skills/yss-implementation-contract-compiler}/SKILL.md +22 -18
- package/template/.claude/skills/yss-implementation-contract-compiler/agents/openai.yaml +4 -0
- package/template/.claude/skills/yss-implementation-contract-compiler/references/boundaries.md +134 -0
- package/template/.claude/skills/{yss-router/references/router-contract.yaml → yss-implementation-contract-compiler/references/compiler-contract.yaml} +59 -94
- package/template/{.agents/skills/yss-router → .claude/skills/yss-implementation-contract-compiler}/references/slice-implementation-contract.md +20 -8
- package/template/{.codex/skills/yss-router → .claude/skills/yss-implementation-contract-compiler}/references/yss-skill-execution-result.md +5 -3
- package/template/.claude/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +89 -0
- package/template/.claude/skills/yss-mvc-scaffold-generator/SKILL.md +87 -0
- package/template/.claude/skills/yss-mvc-scaffold-generator/agents/openai.yaml +4 -0
- package/template/.claude/skills/yss-mvc-scaffold-generator/assets/logback-spring.xml.template +50 -0
- package/template/.claude/skills/yss-mvc-scaffold-generator/assets/smart-doc.json.template +42 -0
- package/template/.claude/skills/yss-mvc-scaffold-generator/references/architecture.md +28 -0
- package/template/.claude/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +136 -0
- package/template/.claude/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +337 -0
- package/template/.claude/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +66 -0
- package/template/.claude/skills/yss-mvc-scaffold-generator/scripts/lib/runtime.mjs +115 -0
- package/template/.claude/skills/yss-mvc-scaffold-generator/scripts/lib/storage.mjs +90 -0
- package/template/.claude/skills/yss-mvc-scaffold-generator/scripts/lib/templates.mjs +54 -0
- package/template/.claude/skills/yss-mvc-scaffold-generator/scripts/verify_project.mjs +103 -0
- package/template/.claude/skills/yss-mybatis/SKILL.md +2 -2
- package/template/.claude/skills/yss-mybatis/references/source-index.md +1 -1
- package/template/.claude/skills/yss-page-module-development/SKILL.md +1 -1
- package/template/.claude/skills/yss-product-lifecycle/SKILL.md +6 -6
- package/template/.claude/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.claude/skills/yss-product-lifecycle/references/orchestration-contract.yaml +25 -17
- package/template/.claude/skills/yss-product-lifecycle/references/orchestration.md +5 -5
- package/template/.claude/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.claude/skills/yss-prototype-stage/SKILL.md +34 -24
- package/template/.claude/skills/yss-prototype-stage/references/product-design-adapter.md +43 -38
- package/template/.claude/skills/yss-prototype-stage/references/prototype-profile-routing.md +67 -0
- package/template/.claude/skills/yss-prototype-stage/scripts/prototype-contract.mjs +192 -103
- package/template/.claude/skills/yss-prototype-stage/tests/run-scenarios.mjs +87 -134
- package/template/.claude/skills/yss-repository/SKILL.md +2 -2
- package/template/.claude/skills/yss-resilience4j/SKILL.md +1 -1
- package/template/.claude/skills/yss-resilience4j/references/source-index.md +1 -1
- package/template/.claude/skills/yss-security-algorithm/SKILL.md +1 -1
- package/template/.claude/skills/yss-security-algorithm/references/source-index.md +1 -1
- package/template/.claude/skills/{yss-source-index → yss-skill-source-index-refresh}/SKILL.md +4 -4
- package/template/.claude/skills/yss-skill-source-index-refresh/agents/openai.yaml +4 -0
- package/template/{.codex/skills/yss-source-index → .claude/skills/yss-skill-source-index-refresh}/scripts/refresh-yss-skill-index.mjs +1 -1
- package/template/.claude/skills/yss-ui/SKILL.md +2 -1
- package/template/.claude/skills/yss-ui/assets/docs/guide/llms.md +0 -61
- package/template/.claude/skills/yss-up-springboot3/SKILL.md +1 -1
- package/template/.claude/skills/yss-userinfo/SKILL.md +1 -1
- package/template/.claude/skills/yss-userinfo/references/source-index.md +1 -1
- package/template/.claude/skills/yss-validation/SKILL.md +1 -1
- package/template/.claude/skills/yss-validation/references/source-index.md +1 -1
- package/template/.claude/skills/yss-web-controller/SKILL.md +2 -2
- package/template/.codex/skills/code-review/SKILL.md +1 -1
- package/template/.codex/skills/code-review/references/yss-review-standards.md +1 -1
- package/template/.codex/skills/lombok/SKILL.md +1 -1
- package/template/.codex/skills/mapstruct/SKILL.md +1 -1
- package/template/.codex/skills/prototype-review/SKILL.md +7 -6
- package/template/.codex/skills/yss-antd-design/SKILL.md +8 -7
- package/template/.codex/skills/yss-antd-design/references/evidence.md +11 -6
- package/template/.codex/skills/yss-api-integration/SKILL.md +2 -2
- package/template/.codex/skills/yss-application/SKILL.md +2 -2
- package/template/.codex/skills/yss-audit-log/SKILL.md +2 -2
- package/template/.codex/skills/yss-audit-log/references/source-index.md +1 -1
- package/template/.codex/skills/yss-cache/SKILL.md +2 -2
- package/template/.codex/skills/yss-cache/references/source-index.md +1 -1
- package/template/.codex/skills/yss-cache/scripts/check-skill-freshness.sh +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +6 -6
- package/template/.codex/skills/yss-ddd-scaffold-generator/agents/openai.yaml +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +3 -3
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +3 -3
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/first-slice-verification.test.mjs +3 -3
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +8 -8
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +8 -8
- package/template/.codex/skills/yss-design-system/SKILL.md +6 -6
- package/template/.codex/skills/yss-distributed-id/SKILL.md +2 -2
- package/template/.codex/skills/yss-distributed-id/references/source-index.md +1 -1
- package/template/.codex/skills/yss-domain/SKILL.md +1 -1
- package/template/.codex/skills/yss-dto/SKILL.md +2 -2
- package/template/.codex/skills/yss-dto/references/source-index.md +1 -1
- package/template/.codex/skills/yss-excel-mvc/SKILL.md +2 -2
- package/template/.codex/skills/yss-excel-mvc/references/source-index.md +1 -1
- package/template/.codex/skills/yss-exception/SKILL.md +1 -1
- package/template/.codex/skills/yss-exception/references/source-index.md +1 -1
- package/template/{.cursor/skills/yss-router → .codex/skills/yss-implementation-contract-compiler}/SKILL.md +22 -18
- package/template/.codex/skills/yss-implementation-contract-compiler/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-implementation-contract-compiler/references/boundaries.md +134 -0
- package/template/{.cursor/skills/yss-router/references/router-contract.yaml → .codex/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml} +59 -94
- package/template/{.cursor/skills/yss-router → .codex/skills/yss-implementation-contract-compiler}/references/slice-implementation-contract.md +20 -8
- package/template/{.claude/skills/yss-router → .codex/skills/yss-implementation-contract-compiler}/references/yss-skill-execution-result.md +5 -3
- package/template/.codex/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +89 -0
- package/template/.codex/skills/yss-mvc-scaffold-generator/SKILL.md +87 -0
- package/template/.codex/skills/yss-mvc-scaffold-generator/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-mvc-scaffold-generator/assets/logback-spring.xml.template +50 -0
- package/template/.codex/skills/yss-mvc-scaffold-generator/assets/smart-doc.json.template +42 -0
- package/template/.codex/skills/yss-mvc-scaffold-generator/references/architecture.md +28 -0
- package/template/.codex/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +136 -0
- package/template/.codex/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +337 -0
- package/template/.codex/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +66 -0
- package/template/.codex/skills/yss-mvc-scaffold-generator/scripts/lib/runtime.mjs +115 -0
- package/template/.codex/skills/yss-mvc-scaffold-generator/scripts/lib/storage.mjs +90 -0
- package/template/.codex/skills/yss-mvc-scaffold-generator/scripts/lib/templates.mjs +54 -0
- package/template/.codex/skills/yss-mvc-scaffold-generator/scripts/verify_project.mjs +103 -0
- package/template/.codex/skills/yss-mybatis/SKILL.md +2 -2
- package/template/.codex/skills/yss-mybatis/references/source-index.md +1 -1
- package/template/.codex/skills/yss-page-module-development/SKILL.md +1 -1
- package/template/.codex/skills/yss-product-lifecycle/SKILL.md +6 -6
- package/template/.codex/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +25 -17
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +5 -5
- package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.codex/skills/yss-prototype-stage/SKILL.md +34 -24
- package/template/.codex/skills/yss-prototype-stage/references/product-design-adapter.md +43 -38
- package/template/.codex/skills/yss-prototype-stage/references/prototype-profile-routing.md +67 -0
- package/template/.codex/skills/yss-prototype-stage/scripts/prototype-contract.mjs +192 -103
- package/template/.codex/skills/yss-prototype-stage/tests/run-scenarios.mjs +87 -134
- package/template/.codex/skills/yss-repository/SKILL.md +2 -2
- package/template/.codex/skills/yss-resilience4j/SKILL.md +1 -1
- package/template/.codex/skills/yss-resilience4j/references/source-index.md +1 -1
- package/template/.codex/skills/yss-security-algorithm/SKILL.md +1 -1
- package/template/.codex/skills/yss-security-algorithm/references/source-index.md +1 -1
- package/template/.codex/skills/{yss-source-index → yss-skill-source-index-refresh}/SKILL.md +4 -4
- package/template/.codex/skills/yss-skill-source-index-refresh/agents/openai.yaml +4 -0
- package/template/{.agents/skills/yss-source-index → .codex/skills/yss-skill-source-index-refresh}/scripts/refresh-yss-skill-index.mjs +1 -1
- package/template/.codex/skills/yss-ui/SKILL.md +2 -1
- package/template/.codex/skills/yss-ui/assets/docs/guide/llms.md +0 -61
- package/template/.codex/skills/yss-up-springboot3/SKILL.md +1 -1
- package/template/.codex/skills/yss-userinfo/SKILL.md +1 -1
- package/template/.codex/skills/yss-userinfo/references/source-index.md +1 -1
- package/template/.codex/skills/yss-validation/SKILL.md +1 -1
- package/template/.codex/skills/yss-validation/references/source-index.md +1 -1
- package/template/.codex/skills/yss-web-controller/SKILL.md +2 -2
- package/template/.cursor/skills/code-review/SKILL.md +1 -1
- package/template/.cursor/skills/code-review/references/yss-review-standards.md +1 -1
- package/template/.cursor/skills/lombok/SKILL.md +1 -1
- package/template/.cursor/skills/mapstruct/SKILL.md +1 -1
- package/template/.cursor/skills/prototype-review/SKILL.md +7 -6
- package/template/.cursor/skills/yss-antd-design/SKILL.md +8 -7
- package/template/.cursor/skills/yss-antd-design/references/evidence.md +11 -6
- package/template/.cursor/skills/yss-api-integration/SKILL.md +2 -2
- package/template/.cursor/skills/yss-application/SKILL.md +2 -2
- package/template/.cursor/skills/yss-audit-log/SKILL.md +2 -2
- package/template/.cursor/skills/yss-audit-log/references/source-index.md +1 -1
- package/template/.cursor/skills/yss-cache/SKILL.md +2 -2
- package/template/.cursor/skills/yss-cache/references/source-index.md +1 -1
- package/template/.cursor/skills/yss-cache/scripts/check-skill-freshness.sh +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/SKILL.md +6 -6
- package/template/.cursor/skills/yss-ddd-scaffold-generator/agents/openai.yaml +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +3 -3
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +3 -3
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/first-slice-verification.test.mjs +3 -3
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +8 -8
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +8 -8
- package/template/.cursor/skills/yss-design-system/SKILL.md +6 -6
- package/template/.cursor/skills/yss-distributed-id/SKILL.md +2 -2
- package/template/.cursor/skills/yss-distributed-id/references/source-index.md +1 -1
- package/template/.cursor/skills/yss-domain/SKILL.md +1 -1
- package/template/.cursor/skills/yss-dto/SKILL.md +2 -2
- package/template/.cursor/skills/yss-dto/references/source-index.md +1 -1
- package/template/.cursor/skills/yss-excel-mvc/SKILL.md +2 -2
- package/template/.cursor/skills/yss-excel-mvc/references/source-index.md +1 -1
- package/template/.cursor/skills/yss-exception/SKILL.md +1 -1
- package/template/.cursor/skills/yss-exception/references/source-index.md +1 -1
- package/template/{.claude/skills/yss-router → .cursor/skills/yss-implementation-contract-compiler}/SKILL.md +22 -18
- package/template/.cursor/skills/yss-implementation-contract-compiler/agents/openai.yaml +4 -0
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/boundaries.md +134 -0
- package/template/{.agents/skills/yss-router/references/router-contract.yaml → .cursor/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml} +59 -94
- package/template/{.claude/skills/yss-router → .cursor/skills/yss-implementation-contract-compiler}/references/slice-implementation-contract.md +20 -8
- package/template/.cursor/skills/{yss-router → yss-implementation-contract-compiler}/references/yss-skill-execution-result.md +5 -3
- package/template/.cursor/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +89 -0
- package/template/.cursor/skills/yss-mvc-scaffold-generator/SKILL.md +87 -0
- package/template/.cursor/skills/yss-mvc-scaffold-generator/agents/openai.yaml +4 -0
- package/template/.cursor/skills/yss-mvc-scaffold-generator/assets/logback-spring.xml.template +50 -0
- package/template/.cursor/skills/yss-mvc-scaffold-generator/assets/smart-doc.json.template +42 -0
- package/template/.cursor/skills/yss-mvc-scaffold-generator/references/architecture.md +28 -0
- package/template/.cursor/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +136 -0
- package/template/.cursor/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +337 -0
- package/template/.cursor/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +66 -0
- package/template/.cursor/skills/yss-mvc-scaffold-generator/scripts/lib/runtime.mjs +115 -0
- package/template/.cursor/skills/yss-mvc-scaffold-generator/scripts/lib/storage.mjs +90 -0
- package/template/.cursor/skills/yss-mvc-scaffold-generator/scripts/lib/templates.mjs +54 -0
- package/template/.cursor/skills/yss-mvc-scaffold-generator/scripts/verify_project.mjs +103 -0
- package/template/.cursor/skills/yss-mybatis/SKILL.md +2 -2
- package/template/.cursor/skills/yss-mybatis/references/source-index.md +1 -1
- package/template/.cursor/skills/yss-page-module-development/SKILL.md +1 -1
- package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +6 -6
- package/template/.cursor/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +25 -17
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +5 -5
- package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.cursor/skills/yss-prototype-stage/SKILL.md +34 -24
- package/template/.cursor/skills/yss-prototype-stage/references/product-design-adapter.md +43 -38
- package/template/.cursor/skills/yss-prototype-stage/references/prototype-profile-routing.md +67 -0
- package/template/.cursor/skills/yss-prototype-stage/scripts/prototype-contract.mjs +192 -103
- package/template/.cursor/skills/yss-prototype-stage/tests/run-scenarios.mjs +87 -134
- package/template/.cursor/skills/yss-repository/SKILL.md +2 -2
- package/template/.cursor/skills/yss-resilience4j/SKILL.md +1 -1
- package/template/.cursor/skills/yss-resilience4j/references/source-index.md +1 -1
- package/template/.cursor/skills/yss-security-algorithm/SKILL.md +1 -1
- package/template/.cursor/skills/yss-security-algorithm/references/source-index.md +1 -1
- package/template/.cursor/skills/{yss-source-index → yss-skill-source-index-refresh}/SKILL.md +4 -4
- package/template/.cursor/skills/yss-skill-source-index-refresh/agents/openai.yaml +4 -0
- package/template/.cursor/skills/{yss-source-index → yss-skill-source-index-refresh}/scripts/refresh-yss-skill-index.mjs +1 -1
- package/template/.cursor/skills/yss-ui/SKILL.md +2 -1
- package/template/.cursor/skills/yss-ui/assets/docs/guide/llms.md +0 -61
- package/template/.cursor/skills/yss-up-springboot3/SKILL.md +1 -1
- package/template/.cursor/skills/yss-userinfo/SKILL.md +1 -1
- package/template/.cursor/skills/yss-userinfo/references/source-index.md +1 -1
- package/template/.cursor/skills/yss-validation/SKILL.md +1 -1
- package/template/.cursor/skills/yss-validation/references/source-index.md +1 -1
- package/template/.cursor/skills/yss-web-controller/SKILL.md +2 -2
- package/template/.pi/skills/code-review/SKILL.md +1 -1
- package/template/.pi/skills/code-review/references/yss-review-standards.md +1 -1
- package/template/.pi/skills/lombok/SKILL.md +1 -1
- package/template/.pi/skills/mapstruct/SKILL.md +1 -1
- package/template/.pi/skills/prototype-review/SKILL.md +7 -6
- package/template/.pi/skills/yss-antd-design/SKILL.md +8 -7
- package/template/.pi/skills/yss-antd-design/references/evidence.md +11 -6
- package/template/.pi/skills/yss-api-integration/SKILL.md +2 -2
- package/template/.pi/skills/yss-application/SKILL.md +2 -2
- package/template/.pi/skills/yss-audit-log/SKILL.md +2 -2
- package/template/.pi/skills/yss-audit-log/references/source-index.md +1 -1
- package/template/.pi/skills/yss-cache/SKILL.md +2 -2
- package/template/.pi/skills/yss-cache/references/source-index.md +1 -1
- package/template/.pi/skills/yss-cache/scripts/check-skill-freshness.sh +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +6 -6
- package/template/.pi/skills/yss-ddd-scaffold-generator/agents/openai.yaml +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +3 -3
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +3 -3
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/first-slice-verification.test.mjs +3 -3
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +8 -8
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +8 -8
- package/template/.pi/skills/yss-design-system/SKILL.md +6 -6
- package/template/.pi/skills/yss-distributed-id/SKILL.md +2 -2
- package/template/.pi/skills/yss-distributed-id/references/source-index.md +1 -1
- package/template/.pi/skills/yss-domain/SKILL.md +1 -1
- package/template/.pi/skills/yss-dto/SKILL.md +2 -2
- package/template/.pi/skills/yss-dto/references/source-index.md +1 -1
- package/template/.pi/skills/yss-excel-mvc/SKILL.md +2 -2
- package/template/.pi/skills/yss-excel-mvc/references/source-index.md +1 -1
- package/template/.pi/skills/yss-exception/SKILL.md +1 -1
- package/template/.pi/skills/yss-exception/references/source-index.md +1 -1
- package/template/.pi/skills/yss-implementation-contract-compiler/SKILL.md +55 -0
- package/template/.pi/skills/yss-implementation-contract-compiler/agents/openai.yaml +4 -0
- package/template/.pi/skills/yss-implementation-contract-compiler/references/boundaries.md +134 -0
- package/template/.pi/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +314 -0
- package/template/.pi/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +197 -0
- package/template/.pi/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +69 -0
- package/template/.pi/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +89 -0
- package/template/.pi/skills/yss-mvc-scaffold-generator/SKILL.md +87 -0
- package/template/.pi/skills/yss-mvc-scaffold-generator/agents/openai.yaml +4 -0
- package/template/.pi/skills/yss-mvc-scaffold-generator/assets/logback-spring.xml.template +50 -0
- package/template/.pi/skills/yss-mvc-scaffold-generator/assets/smart-doc.json.template +42 -0
- package/template/.pi/skills/yss-mvc-scaffold-generator/references/architecture.md +28 -0
- package/template/.pi/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +136 -0
- package/template/.pi/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +337 -0
- package/template/.pi/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +66 -0
- package/template/.pi/skills/yss-mvc-scaffold-generator/scripts/lib/runtime.mjs +115 -0
- package/template/.pi/skills/yss-mvc-scaffold-generator/scripts/lib/storage.mjs +90 -0
- package/template/.pi/skills/yss-mvc-scaffold-generator/scripts/lib/templates.mjs +54 -0
- package/template/.pi/skills/yss-mvc-scaffold-generator/scripts/verify_project.mjs +103 -0
- package/template/.pi/skills/yss-mybatis/SKILL.md +2 -2
- package/template/.pi/skills/yss-mybatis/references/source-index.md +1 -1
- package/template/.pi/skills/yss-page-module-development/SKILL.md +1 -1
- package/template/.pi/skills/yss-product-lifecycle/SKILL.md +6 -6
- package/template/.pi/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +25 -17
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +5 -5
- package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.pi/skills/yss-prototype-stage/SKILL.md +34 -24
- package/template/.pi/skills/yss-prototype-stage/references/product-design-adapter.md +43 -38
- package/template/.pi/skills/yss-prototype-stage/references/prototype-profile-routing.md +67 -0
- package/template/.pi/skills/yss-prototype-stage/scripts/prototype-contract.mjs +192 -103
- package/template/.pi/skills/yss-prototype-stage/tests/run-scenarios.mjs +87 -134
- package/template/.pi/skills/yss-repository/SKILL.md +2 -2
- package/template/.pi/skills/yss-resilience4j/SKILL.md +1 -1
- package/template/.pi/skills/yss-resilience4j/references/source-index.md +1 -1
- package/template/.pi/skills/yss-security-algorithm/SKILL.md +1 -1
- package/template/.pi/skills/yss-security-algorithm/references/source-index.md +1 -1
- package/template/.pi/skills/yss-skill-source-index-refresh/SKILL.md +63 -0
- package/template/.pi/skills/yss-skill-source-index-refresh/agents/openai.yaml +4 -0
- package/template/.pi/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +24 -0
- package/template/.pi/skills/yss-ui/SKILL.md +2 -1
- package/template/.pi/skills/yss-ui/assets/docs/guide/llms.md +0 -61
- package/template/.pi/skills/yss-up-springboot3/SKILL.md +1 -1
- package/template/.pi/skills/yss-userinfo/SKILL.md +1 -1
- package/template/.pi/skills/yss-userinfo/references/source-index.md +1 -1
- package/template/.pi/skills/yss-validation/SKILL.md +1 -1
- package/template/.pi/skills/yss-validation/references/source-index.md +1 -1
- package/template/.pi/skills/yss-web-controller/SKILL.md +2 -2
- package/template/.qoder/skills/code-review/SKILL.md +1 -1
- package/template/.qoder/skills/code-review/references/yss-review-standards.md +1 -1
- package/template/.qoder/skills/lombok/SKILL.md +1 -1
- package/template/.qoder/skills/mapstruct/SKILL.md +1 -1
- package/template/.qoder/skills/prototype-review/SKILL.md +7 -6
- package/template/.qoder/skills/yss-antd-design/SKILL.md +8 -7
- package/template/.qoder/skills/yss-antd-design/references/evidence.md +11 -6
- package/template/.qoder/skills/yss-api-integration/SKILL.md +2 -2
- package/template/.qoder/skills/yss-application/SKILL.md +2 -2
- package/template/.qoder/skills/yss-audit-log/SKILL.md +2 -2
- package/template/.qoder/skills/yss-audit-log/references/source-index.md +1 -1
- package/template/.qoder/skills/yss-cache/SKILL.md +2 -2
- package/template/.qoder/skills/yss-cache/references/source-index.md +1 -1
- package/template/.qoder/skills/yss-cache/scripts/check-skill-freshness.sh +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/SKILL.md +6 -6
- package/template/.qoder/skills/yss-ddd-scaffold-generator/agents/openai.yaml +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +3 -3
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +3 -3
- package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/first-slice-verification.test.mjs +3 -3
- package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +8 -8
- package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +8 -8
- package/template/.qoder/skills/yss-design-system/SKILL.md +6 -6
- package/template/.qoder/skills/yss-distributed-id/SKILL.md +2 -2
- package/template/.qoder/skills/yss-distributed-id/references/source-index.md +1 -1
- package/template/.qoder/skills/yss-domain/SKILL.md +1 -1
- package/template/.qoder/skills/yss-dto/SKILL.md +2 -2
- package/template/.qoder/skills/yss-dto/references/source-index.md +1 -1
- package/template/.qoder/skills/yss-excel-mvc/SKILL.md +2 -2
- package/template/.qoder/skills/yss-excel-mvc/references/source-index.md +1 -1
- package/template/.qoder/skills/yss-exception/SKILL.md +1 -1
- package/template/.qoder/skills/yss-exception/references/source-index.md +1 -1
- package/template/.qoder/skills/yss-implementation-contract-compiler/SKILL.md +55 -0
- package/template/.qoder/skills/yss-implementation-contract-compiler/agents/openai.yaml +4 -0
- package/template/.qoder/skills/yss-implementation-contract-compiler/references/boundaries.md +134 -0
- package/template/.qoder/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +314 -0
- package/template/.qoder/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +197 -0
- package/template/.qoder/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +69 -0
- package/template/.qoder/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +89 -0
- package/template/.qoder/skills/yss-mvc-scaffold-generator/SKILL.md +87 -0
- package/template/.qoder/skills/yss-mvc-scaffold-generator/agents/openai.yaml +4 -0
- package/template/.qoder/skills/yss-mvc-scaffold-generator/assets/logback-spring.xml.template +50 -0
- package/template/.qoder/skills/yss-mvc-scaffold-generator/assets/smart-doc.json.template +42 -0
- package/template/.qoder/skills/yss-mvc-scaffold-generator/references/architecture.md +28 -0
- package/template/.qoder/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +136 -0
- package/template/.qoder/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +337 -0
- package/template/.qoder/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +66 -0
- package/template/.qoder/skills/yss-mvc-scaffold-generator/scripts/lib/runtime.mjs +115 -0
- package/template/.qoder/skills/yss-mvc-scaffold-generator/scripts/lib/storage.mjs +90 -0
- package/template/.qoder/skills/yss-mvc-scaffold-generator/scripts/lib/templates.mjs +54 -0
- package/template/.qoder/skills/yss-mvc-scaffold-generator/scripts/verify_project.mjs +103 -0
- package/template/.qoder/skills/yss-mybatis/SKILL.md +2 -2
- package/template/.qoder/skills/yss-mybatis/references/source-index.md +1 -1
- package/template/.qoder/skills/yss-page-module-development/SKILL.md +1 -1
- package/template/.qoder/skills/yss-product-lifecycle/SKILL.md +6 -6
- package/template/.qoder/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.qoder/skills/yss-product-lifecycle/references/orchestration-contract.yaml +25 -17
- package/template/.qoder/skills/yss-product-lifecycle/references/orchestration.md +5 -5
- package/template/.qoder/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.qoder/skills/yss-prototype-stage/SKILL.md +34 -24
- package/template/.qoder/skills/yss-prototype-stage/references/product-design-adapter.md +43 -38
- package/template/.qoder/skills/yss-prototype-stage/references/prototype-profile-routing.md +67 -0
- package/template/.qoder/skills/yss-prototype-stage/scripts/prototype-contract.mjs +192 -103
- package/template/.qoder/skills/yss-prototype-stage/tests/run-scenarios.mjs +87 -134
- package/template/.qoder/skills/yss-repository/SKILL.md +2 -2
- package/template/.qoder/skills/yss-resilience4j/SKILL.md +1 -1
- package/template/.qoder/skills/yss-resilience4j/references/source-index.md +1 -1
- package/template/.qoder/skills/yss-security-algorithm/SKILL.md +1 -1
- package/template/.qoder/skills/yss-security-algorithm/references/source-index.md +1 -1
- package/template/.qoder/skills/yss-skill-source-index-refresh/SKILL.md +63 -0
- package/template/.qoder/skills/yss-skill-source-index-refresh/agents/openai.yaml +4 -0
- package/template/.qoder/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +24 -0
- package/template/.qoder/skills/yss-ui/SKILL.md +2 -1
- package/template/.qoder/skills/yss-ui/assets/docs/guide/llms.md +0 -61
- package/template/.qoder/skills/yss-up-springboot3/SKILL.md +1 -1
- package/template/.qoder/skills/yss-userinfo/SKILL.md +1 -1
- package/template/.qoder/skills/yss-userinfo/references/source-index.md +1 -1
- package/template/.qoder/skills/yss-validation/SKILL.md +1 -1
- package/template/.qoder/skills/yss-validation/references/source-index.md +1 -1
- package/template/.qoder/skills/yss-web-controller/SKILL.md +2 -2
- package/template/.trae/skills/code-review/SKILL.md +1 -1
- package/template/.trae/skills/code-review/references/yss-review-standards.md +1 -1
- package/template/.trae/skills/lombok/SKILL.md +1 -1
- package/template/.trae/skills/mapstruct/SKILL.md +1 -1
- package/template/.trae/skills/prototype-review/SKILL.md +7 -6
- package/template/.trae/skills/yss-antd-design/SKILL.md +8 -7
- package/template/.trae/skills/yss-antd-design/references/evidence.md +11 -6
- package/template/.trae/skills/yss-api-integration/SKILL.md +2 -2
- package/template/.trae/skills/yss-application/SKILL.md +2 -2
- package/template/.trae/skills/yss-audit-log/SKILL.md +2 -2
- package/template/.trae/skills/yss-audit-log/references/source-index.md +1 -1
- package/template/.trae/skills/yss-cache/SKILL.md +2 -2
- package/template/.trae/skills/yss-cache/references/source-index.md +1 -1
- package/template/.trae/skills/yss-cache/scripts/check-skill-freshness.sh +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/SKILL.md +6 -6
- package/template/.trae/skills/yss-ddd-scaffold-generator/agents/openai.yaml +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +3 -3
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +3 -3
- package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/first-slice-verification.test.mjs +3 -3
- package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +8 -8
- package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +8 -8
- package/template/.trae/skills/yss-design-system/SKILL.md +6 -6
- package/template/.trae/skills/yss-distributed-id/SKILL.md +2 -2
- package/template/.trae/skills/yss-distributed-id/references/source-index.md +1 -1
- package/template/.trae/skills/yss-domain/SKILL.md +1 -1
- package/template/.trae/skills/yss-dto/SKILL.md +2 -2
- package/template/.trae/skills/yss-dto/references/source-index.md +1 -1
- package/template/.trae/skills/yss-excel-mvc/SKILL.md +2 -2
- package/template/.trae/skills/yss-excel-mvc/references/source-index.md +1 -1
- package/template/.trae/skills/yss-exception/SKILL.md +1 -1
- package/template/.trae/skills/yss-exception/references/source-index.md +1 -1
- package/template/.trae/skills/yss-implementation-contract-compiler/SKILL.md +55 -0
- package/template/.trae/skills/yss-implementation-contract-compiler/agents/openai.yaml +4 -0
- package/template/.trae/skills/yss-implementation-contract-compiler/references/boundaries.md +134 -0
- package/template/.trae/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +314 -0
- package/template/.trae/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +197 -0
- package/template/.trae/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +69 -0
- package/template/.trae/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +89 -0
- package/template/.trae/skills/yss-mvc-scaffold-generator/SKILL.md +87 -0
- package/template/.trae/skills/yss-mvc-scaffold-generator/agents/openai.yaml +4 -0
- package/template/.trae/skills/yss-mvc-scaffold-generator/assets/logback-spring.xml.template +50 -0
- package/template/.trae/skills/yss-mvc-scaffold-generator/assets/smart-doc.json.template +42 -0
- package/template/.trae/skills/yss-mvc-scaffold-generator/references/architecture.md +28 -0
- package/template/.trae/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +136 -0
- package/template/.trae/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +337 -0
- package/template/.trae/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +66 -0
- package/template/.trae/skills/yss-mvc-scaffold-generator/scripts/lib/runtime.mjs +115 -0
- package/template/.trae/skills/yss-mvc-scaffold-generator/scripts/lib/storage.mjs +90 -0
- package/template/.trae/skills/yss-mvc-scaffold-generator/scripts/lib/templates.mjs +54 -0
- package/template/.trae/skills/yss-mvc-scaffold-generator/scripts/verify_project.mjs +103 -0
- package/template/.trae/skills/yss-mybatis/SKILL.md +2 -2
- package/template/.trae/skills/yss-mybatis/references/source-index.md +1 -1
- package/template/.trae/skills/yss-page-module-development/SKILL.md +1 -1
- package/template/.trae/skills/yss-product-lifecycle/SKILL.md +6 -6
- package/template/.trae/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.trae/skills/yss-product-lifecycle/references/orchestration-contract.yaml +25 -17
- package/template/.trae/skills/yss-product-lifecycle/references/orchestration.md +5 -5
- package/template/.trae/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.trae/skills/yss-prototype-stage/SKILL.md +34 -24
- package/template/.trae/skills/yss-prototype-stage/references/product-design-adapter.md +43 -38
- package/template/.trae/skills/yss-prototype-stage/references/prototype-profile-routing.md +67 -0
- package/template/.trae/skills/yss-prototype-stage/scripts/prototype-contract.mjs +192 -103
- package/template/.trae/skills/yss-prototype-stage/tests/run-scenarios.mjs +87 -134
- package/template/.trae/skills/yss-repository/SKILL.md +2 -2
- package/template/.trae/skills/yss-resilience4j/SKILL.md +1 -1
- package/template/.trae/skills/yss-resilience4j/references/source-index.md +1 -1
- package/template/.trae/skills/yss-security-algorithm/SKILL.md +1 -1
- package/template/.trae/skills/yss-security-algorithm/references/source-index.md +1 -1
- package/template/.trae/skills/yss-skill-source-index-refresh/SKILL.md +63 -0
- package/template/.trae/skills/yss-skill-source-index-refresh/agents/openai.yaml +4 -0
- package/template/.trae/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +24 -0
- package/template/.trae/skills/yss-ui/SKILL.md +2 -1
- package/template/.trae/skills/yss-ui/assets/docs/guide/llms.md +0 -61
- package/template/.trae/skills/yss-up-springboot3/SKILL.md +1 -1
- package/template/.trae/skills/yss-userinfo/SKILL.md +1 -1
- package/template/.trae/skills/yss-userinfo/references/source-index.md +1 -1
- package/template/.trae/skills/yss-validation/SKILL.md +1 -1
- package/template/.trae/skills/yss-validation/references/source-index.md +1 -1
- package/template/.trae/skills/yss-web-controller/SKILL.md +2 -2
- package/template/AGENTS.md +11 -11
- package/template/CONTEXT.md +8 -7
- package/template/README.md +0 -1
- package/template/docs/agents/digital-human-roles.md +3 -3
- package/template/docs/agents/digital-human-roles.yaml +3 -3
- package/template/docs/agents/skill-migrations.md +18 -5
- package/template/docs/agents/skills-maintenance.md +3 -3
- package/template/docs/agents/strategic-design-skills-integration.md +41 -0
- package/template/docs/agents/yss-skill-registry.yaml +134 -28
- package/template/docs/api/templates/openapi-draft-review-checklist.md +3 -3
- package/template/docs/architecture/templates/engineering-baseline-review-template.md +3 -3
- package/template/docs/design/README.md +7 -7
- package/template/docs/design/design.md +25 -17
- package/template/docs/design/templates/interaction-spec-template.md +4 -4
- package/template/docs/design/templates/prototype-confirmation-template.md +13 -15
- package/template/docs/design/templates/prototype-evidence-template.yaml +99 -75
- package/template/docs/design/templates/prototype-review-checklist.md +5 -4
- package/template/docs/design/templates/state-matrix-template.md +11 -0
- package/template/docs/discovery/reports/agent-governance-options.md +8 -8
- package/template/docs/process/MATT-POCOCK-ENGINEERING-SKILLS.md +1 -1
- package/template/docs/process/implementation-repo-integration.md +1 -1
- package/template/docs/process/lifecycle-artifact-map.md +4 -2
- package/template/docs/process/lifecycle-registry-baseline.json +4 -1
- package/template/docs/process/lifecycle-registry.yaml +15 -9
- package/template/docs/process/template-engineering-overview.md +2 -2
- package/template/docs/process/template-verification-profiles.yaml +27 -6
- package/template/docs/templates/build-architecture-checklist-template.md +6 -6
- package/template/docs/templates/implementation-routing-template.md +8 -8
- package/template/docs/templates/requirement-freeze-template.md +2 -2
- package/template/docs/templates/review-report-template.md +4 -4
- package/template/docs/templates/spec-template.md +1 -1
- package/template/docs/templates/vertical-slice-ticket-template.md +4 -4
- package/template/docs/user-guide/yss-ui-mcp.md +0 -2
- package/template/docs/user-guide//346/210/230/346/234/257/350/256/276/350/256/241/345/255/220/351/241/271/347/233/256/347/224/250/346/210/267/346/211/213/345/206/214.md +2 -2
- package/template/docs/user-guide//347/224/250/346/210/267/346/211/213/345/206/214.md +4 -4
- package/template/docs/user-guide//347/224/250/346/210/267/346/211/213/345/206/214/347/264/242/345/274/225.md +4 -4
- package/template/scripts/audit-yss-backend-skills +56 -0
- package/template/scripts/generate-yss-skill-boundaries +67 -0
- package/template/scripts/lib/export-skills.mjs +4 -4
- package/template/scripts/lib/implementation-contract-compiler.mjs +194 -0
- package/template/scripts/lib/scenario-checks.mjs +9 -6
- package/template/scripts/lib/skill-governance.mjs +27 -5
- package/template/scripts/lib/skill-registry.mjs +107 -63
- package/template/scripts/lib/skill-supply-chain.mjs +45 -5
- package/template/scripts/verify-repository-scope-scenarios +2 -2
- package/template/scripts/verify-retired-skill-ids +37 -0
- package/template/scripts/verify-scaffold-generator-scenarios +18 -18
- package/template/scripts/verify-template-verification-scenarios +4 -1
- package/template/scripts/verify-yss-implementation-contract-compiler-scenarios +14 -0
- package/template/skills-lock.json +87 -157
- package/template/yss-public-skills.json +4 -4
- package/template.manifest.json +0 -3
- package/template.snapshot.json +5 -5
- package/template/.agents/skills/yss-router/agents/openai.yaml +0 -4
- package/template/.agents/skills/yss-router/references/boundaries.md +0 -50
- package/template/.agents/skills/yss-source-index/agents/openai.yaml +0 -4
- package/template/.claude/skills/yss-router/agents/openai.yaml +0 -4
- package/template/.claude/skills/yss-router/references/boundaries.md +0 -50
- package/template/.claude/skills/yss-source-index/agents/openai.yaml +0 -4
- package/template/.codex/skills/yss-router/agents/openai.yaml +0 -4
- package/template/.codex/skills/yss-router/references/boundaries.md +0 -50
- package/template/.codex/skills/yss-source-index/agents/openai.yaml +0 -4
- package/template/.cursor/skills/yss-router/agents/openai.yaml +0 -4
- package/template/.cursor/skills/yss-router/references/boundaries.md +0 -50
- package/template/.cursor/skills/yss-source-index/agents/openai.yaml +0 -4
- package/template/.gemini/settings.json +0 -8
- package/template/.hermes/skills/alibaba-java-code-style/SKILL.md +0 -51
- package/template/.hermes/skills/alibaba-java-code-style/agents/openai.yaml +0 -4
- package/template/.hermes/skills/alibaba-java-code-style/references/database-engineering-design.md +0 -147
- package/template/.hermes/skills/alibaba-java-code-style/references/java-programming.md +0 -178
- package/template/.hermes/skills/alibaba-java-code-style/references/reliability-test-security.md +0 -89
- package/template/.hermes/skills/archify/LICENSE +0 -22
- package/template/.hermes/skills/archify/SKILL.md +0 -156
- package/template/.hermes/skills/archify/assets/template.html +0 -14787
- package/template/.hermes/skills/archify/bin/archify.mjs +0 -1990
- package/template/.hermes/skills/archify/bin/open-artifact.mjs +0 -86
- package/template/.hermes/skills/archify/bin/preview.mjs +0 -648
- package/template/.hermes/skills/archify/bin/visual-check.mjs +0 -829
- package/template/.hermes/skills/archify/brand-marks/README.md +0 -31
- package/template/.hermes/skills/archify/brand-marks/catalog.json +0 -131
- package/template/.hermes/skills/archify/delta/architecture-delta.mjs +0 -1214
- package/template/.hermes/skills/archify/examples/agent-run.lifecycle.json +0 -71
- package/template/.hermes/skills/archify/examples/agent-tool-call.workflow.json +0 -94
- package/template/.hermes/skills/archify/examples/async-job-roundtrip.sequence.json +0 -61
- package/template/.hermes/skills/archify/examples/brand-aware-delivery.architecture.json +0 -47
- package/template/.hermes/skills/archify/examples/cache-miss-request.sequence.json +0 -81
- package/template/.hermes/skills/archify/examples/checkout-platform.base.architecture.json +0 -31
- package/template/.hermes/skills/archify/examples/checkout-platform.head.architecture.json +0 -31
- package/template/.hermes/skills/archify/examples/dataflow-product-analytics.html +0 -14898
- package/template/.hermes/skills/archify/examples/deployment-release.lifecycle.json +0 -49
- package/template/.hermes/skills/archify/examples/event-stream.dataflow.json +0 -57
- package/template/.hermes/skills/archify/examples/incident-response.workflow.json +0 -64
- package/template/.hermes/skills/archify/examples/lifecycle-agent-run.html +0 -14847
- package/template/.hermes/skills/archify/examples/product-analytics.dataflow.json +0 -76
- package/template/.hermes/skills/archify/examples/production-deployment.architecture.json +0 -71
- package/template/.hermes/skills/archify/examples/release-delivery.workflow.json +0 -62
- package/template/.hermes/skills/archify/examples/sequence-cache-miss-request.html +0 -14913
- package/template/.hermes/skills/archify/examples/web-app-rendered.html +0 -14862
- package/template/.hermes/skills/archify/examples/web-app.architecture.json +0 -46
- package/template/.hermes/skills/archify/examples/workflow-agent-tool-call-rendered.html +0 -14904
- package/template/.hermes/skills/archify/migrations/workflow-v2.mjs +0 -279
- package/template/.hermes/skills/archify/package-lock.json +0 -149
- package/template/.hermes/skills/archify/package.json +0 -37
- package/template/.hermes/skills/archify/recipes/scenarios.mjs +0 -391
- package/template/.hermes/skills/archify/references/authoring-contract.md +0 -191
- package/template/.hermes/skills/archify/references/brand-marks.md +0 -65
- package/template/.hermes/skills/archify/references/delivery-contract.md +0 -112
- package/template/.hermes/skills/archify/references/viewer-runtime.md +0 -45
- package/template/.hermes/skills/archify/renderers/architecture/grid.mjs +0 -62
- package/template/.hermes/skills/archify/renderers/architecture/render-architecture.mjs +0 -1078
- package/template/.hermes/skills/archify/renderers/dataflow/README.md +0 -104
- package/template/.hermes/skills/archify/renderers/dataflow/render-dataflow.mjs +0 -483
- package/template/.hermes/skills/archify/renderers/lifecycle/README.md +0 -115
- package/template/.hermes/skills/archify/renderers/lifecycle/render-lifecycle.mjs +0 -561
- package/template/.hermes/skills/archify/renderers/sequence/README.md +0 -114
- package/template/.hermes/skills/archify/renderers/sequence/render-sequence.mjs +0 -453
- package/template/.hermes/skills/archify/renderers/shared/brand-marks.mjs +0 -563
- package/template/.hermes/skills/archify/renderers/shared/cli.mjs +0 -218
- package/template/.hermes/skills/archify/renderers/shared/desktop-readability.mjs +0 -26
- package/template/.hermes/skills/archify/renderers/shared/diagnostics.mjs +0 -127
- package/template/.hermes/skills/archify/renderers/shared/engineering-profiles.mjs +0 -157
- package/template/.hermes/skills/archify/renderers/shared/generated-brand-marks.mjs +0 -2003
- package/template/.hermes/skills/archify/renderers/shared/generated-validators.mjs +0 -13
- package/template/.hermes/skills/archify/renderers/shared/geometry.mjs +0 -1423
- package/template/.hermes/skills/archify/renderers/shared/i18n.mjs +0 -594
- package/template/.hermes/skills/archify/renderers/shared/layout-report.mjs +0 -40
- package/template/.hermes/skills/archify/renderers/shared/legend.mjs +0 -217
- package/template/.hermes/skills/archify/renderers/shared/output-path.mjs +0 -321
- package/template/.hermes/skills/archify/renderers/shared/repository-evidence.mjs +0 -235
- package/template/.hermes/skills/archify/renderers/shared/text-fit.mjs +0 -49
- package/template/.hermes/skills/archify/renderers/shared/utils.mjs +0 -232
- package/template/.hermes/skills/archify/renderers/shared/validator.mjs +0 -86
- package/template/.hermes/skills/archify/renderers/workflow/README.md +0 -223
- package/template/.hermes/skills/archify/renderers/workflow/render-workflow.mjs +0 -35
- package/template/.hermes/skills/archify/renderers/workflow/workflow-compiler.mjs +0 -4400
- package/template/.hermes/skills/archify/renderers/workflow/workflow-migration-geometry.mjs +0 -144
- package/template/.hermes/skills/archify/schemas/README.md +0 -211
- package/template/.hermes/skills/archify/schemas/architecture.schema.json +0 -176
- package/template/.hermes/skills/archify/schemas/common.schema.json +0 -115
- package/template/.hermes/skills/archify/schemas/dataflow.schema.json +0 -243
- package/template/.hermes/skills/archify/schemas/lifecycle.schema.json +0 -266
- package/template/.hermes/skills/archify/schemas/sequence.schema.json +0 -223
- package/template/.hermes/skills/archify/schemas/workflow.schema.json +0 -428
- package/template/.hermes/skills/archify/scripts/check-render-output.mjs +0 -835
- package/template/.hermes/skills/archify/scripts/check-update.mjs +0 -1667
- package/template/.hermes/skills/archify/scripts/generate-brand-marks.mjs +0 -141
- package/template/.hermes/skills/archify/scripts/generate-validators.mjs +0 -66
- package/template/.hermes/skills/archify/scripts/render-examples.mjs +0 -26
- package/template/.hermes/skills/archify/scripts/update-contract.mjs +0 -182
- package/template/.hermes/skills/archify/scripts/yss-safe-deliver.mjs +0 -214
- package/template/.hermes/skills/archify/skill-release.json +0 -10
- package/template/.hermes/skills/archify/test/adaptive-reader-layout.test.mjs +0 -86
- package/template/.hermes/skills/archify/test/animation.test.mjs +0 -179
- package/template/.hermes/skills/archify/test/architecture-delta.test.mjs +0 -518
- package/template/.hermes/skills/archify/test/authored-reachability.test.mjs +0 -95
- package/template/.hermes/skills/archify/test/authoring-safety-contract.test.mjs +0 -54
- package/template/.hermes/skills/archify/test/automatic-port-spread.test.mjs +0 -376
- package/template/.hermes/skills/archify/test/base-input-compatibility.test.mjs +0 -42
- package/template/.hermes/skills/archify/test/brand-marks.test.mjs +0 -654
- package/template/.hermes/skills/archify/test/chapter-delta-preview.test.mjs +0 -157
- package/template/.hermes/skills/archify/test/chapter-handoff.test.mjs +0 -97
- package/template/.hermes/skills/archify/test/chapter-rail.test.mjs +0 -86
- package/template/.hermes/skills/archify/test/checkout-line-endings.test.mjs +0 -72
- package/template/.hermes/skills/archify/test/clean-skill-staging.test.mjs +0 -244
- package/template/.hermes/skills/archify/test/cli.test.mjs +0 -809
- package/template/.hermes/skills/archify/test/community-proof-intake.test.mjs +0 -104
- package/template/.hermes/skills/archify/test/cursor-onboarding.test.mjs +0 -74
- package/template/.hermes/skills/archify/test/degraded.test.mjs +0 -161
- package/template/.hermes/skills/archify/test/delivery-contract.test.mjs +0 -52
- package/template/.hermes/skills/archify/test/desktop-reader-browser.test.mjs +0 -58
- package/template/.hermes/skills/archify/test/diagram-guide.test.mjs +0 -92
- package/template/.hermes/skills/archify/test/engineering-profile.test.mjs +0 -209
- package/template/.hermes/skills/archify/test/finder.test.mjs +0 -104
- package/template/.hermes/skills/archify/test/fixtures/automatic-routing-node-border-clearance.workflow.json +0 -40
- package/template/.hermes/skills/archify/test/fixtures/fail-migration-cleanup.mjs +0 -17
- package/template/.hermes/skills/archify/test/fixtures/issue-126/custom-widths.workflow.json +0 -18
- package/template/.hermes/skills/archify/test/fixtures/issue-126/explicit-route.workflow.json +0 -28
- package/template/.hermes/skills/archify/test/fixtures/issue-126/explicit-viewbox.workflow.json +0 -19
- package/template/.hermes/skills/archify/test/fixtures/issue-126/labels.workflow.json +0 -18
- package/template/.hermes/skills/archify/test/fixtures/v1-baseline/agent-run.lifecycle.json +0 -64
- package/template/.hermes/skills/archify/test/fixtures/v1-baseline/agent-tool-call.workflow.json +0 -88
- package/template/.hermes/skills/archify/test/fixtures/v1-baseline/cache-miss-request.sequence.json +0 -75
- package/template/.hermes/skills/archify/test/fixtures/v1-baseline/event-stream.dataflow.json +0 -57
- package/template/.hermes/skills/archify/test/fixtures/v1-baseline/product-analytics.dataflow.json +0 -70
- package/template/.hermes/skills/archify/test/fixtures/v1-baseline/production-deployment.architecture.json +0 -71
- package/template/.hermes/skills/archify/test/fixtures/v1-baseline/web-app.architecture.json +0 -41
- package/template/.hermes/skills/archify/test/fixtures/v1-workflow-700x400.workflow.json +0 -22
- package/template/.hermes/skills/archify/test/fixtures/v1-workflow-explicit-coordinates.workflow.json +0 -47
- package/template/.hermes/skills/archify/test/gallery.test.mjs +0 -130
- package/template/.hermes/skills/archify/test/generate-validators.test.mjs +0 -59
- package/template/.hermes/skills/archify/test/generated-artifact-xml.test.mjs +0 -88
- package/template/.hermes/skills/archify/test/geometry.test.mjs +0 -739
- package/template/.hermes/skills/archify/test/golden.mjs +0 -207
- package/template/.hermes/skills/archify/test/grid.test.mjs +0 -47
- package/template/.hermes/skills/archify/test/guide-page.test.mjs +0 -59
- package/template/.hermes/skills/archify/test/guide.test.mjs +0 -81
- package/template/.hermes/skills/archify/test/guided-views.test.mjs +0 -144
- package/template/.hermes/skills/archify/test/helpers/xml.mjs +0 -37
- package/template/.hermes/skills/archify/test/i18n.test.mjs +0 -422
- package/template/.hermes/skills/archify/test/intent-trace.test.mjs +0 -111
- package/template/.hermes/skills/archify/test/landing.test.mjs +0 -97
- package/template/.hermes/skills/archify/test/layout-rules.test.mjs +0 -1449
- package/template/.hermes/skills/archify/test/legend-contract.test.mjs +0 -404
- package/template/.hermes/skills/archify/test/motion-governor.test.mjs +0 -111
- package/template/.hermes/skills/archify/test/open-artifact.test.mjs +0 -118
- package/template/.hermes/skills/archify/test/ordinary-model-floor.test.mjs +0 -1024
- package/template/.hermes/skills/archify/test/output-path.test.mjs +0 -587
- package/template/.hermes/skills/archify/test/presentation.test.mjs +0 -71
- package/template/.hermes/skills/archify/test/preset-tryon.test.mjs +0 -113
- package/template/.hermes/skills/archify/test/preview-contract.test.mjs +0 -40
- package/template/.hermes/skills/archify/test/preview.test.mjs +0 -499
- package/template/.hermes/skills/archify/test/proof-aperture.test.mjs +0 -78
- package/template/.hermes/skills/archify/test/reach-share-card.test.mjs +0 -149
- package/template/.hermes/skills/archify/test/readme-showcase.test.mjs +0 -318
- package/template/.hermes/skills/archify/test/real-repository-proof.test.mjs +0 -209
- package/template/.hermes/skills/archify/test/relationship-direct-explorer.test.mjs +0 -115
- package/template/.hermes/skills/archify/test/relationship-lens.test.mjs +0 -128
- package/template/.hermes/skills/archify/test/relationship-permalink.test.mjs +0 -130
- package/template/.hermes/skills/archify/test/relationship-pulse.test.mjs +0 -122
- package/template/.hermes/skills/archify/test/release-identity.test.mjs +0 -504
- package/template/.hermes/skills/archify/test/release-package-gates.test.mjs +0 -508
- package/template/.hermes/skills/archify/test/render-output-checks.test.mjs +0 -435
- package/template/.hermes/skills/archify/test/repair-receipt.test.mjs +0 -181
- package/template/.hermes/skills/archify/test/repository-evidence.test.mjs +0 -217
- package/template/.hermes/skills/archify/test/repository-language-metadata.test.mjs +0 -52
- package/template/.hermes/skills/archify/test/route-journey.test.mjs +0 -123
- package/template/.hermes/skills/archify/test/route-probe.test.mjs +0 -114
- package/template/.hermes/skills/archify/test/route-share-card.test.mjs +0 -163
- package/template/.hermes/skills/archify/test/semantic-camera.test.mjs +0 -88
- package/template/.hermes/skills/archify/test/semantic-flow.test.mjs +0 -90
- package/template/.hermes/skills/archify/test/semantic-legend-gateway.test.mjs +0 -156
- package/template/.hermes/skills/archify/test/semantic-lens.test.mjs +0 -103
- package/template/.hermes/skills/archify/test/semantic-passport.test.mjs +0 -99
- package/template/.hermes/skills/archify/test/semantic-radar.test.mjs +0 -575
- package/template/.hermes/skills/archify/test/semantic-zoom.test.mjs +0 -86
- package/template/.hermes/skills/archify/test/sequence-column-fit.test.mjs +0 -137
- package/template/.hermes/skills/archify/test/settled-flow.test.mjs +0 -97
- package/template/.hermes/skills/archify/test/share-card-export.test.mjs +0 -132
- package/template/.hermes/skills/archify/test/site-language-continuity.test.mjs +0 -562
- package/template/.hermes/skills/archify/test/site-language-integration.mjs +0 -9
- package/template/.hermes/skills/archify/test/skill-metadata.test.mjs +0 -84
- package/template/.hermes/skills/archify/test/stable-update-manifest.test.mjs +0 -167
- package/template/.hermes/skills/archify/test/start-page.test.mjs +0 -312
- package/template/.hermes/skills/archify/test/story-beat-navigator.test.mjs +0 -103
- package/template/.hermes/skills/archify/test/story-carrier.test.mjs +0 -90
- package/template/.hermes/skills/archify/test/story-director-strip.test.mjs +0 -91
- package/template/.hermes/skills/archify/test/story-follow-camera.test.mjs +0 -103
- package/template/.hermes/skills/archify/test/story-horizon.test.mjs +0 -89
- package/template/.hermes/skills/archify/test/story-moment-link.test.mjs +0 -93
- package/template/.hermes/skills/archify/test/story-shelf.test.mjs +0 -84
- package/template/.hermes/skills/archify/test/story-trail.test.mjs +0 -81
- package/template/.hermes/skills/archify/test/toolbar-polish.test.mjs +0 -57
- package/template/.hermes/skills/archify/test/update-contract.test.mjs +0 -133
- package/template/.hermes/skills/archify/test/update-notifier.test.mjs +0 -3317
- package/template/.hermes/skills/archify/test/v1-compatibility.test.mjs +0 -329
- package/template/.hermes/skills/archify/test/vertical-edge.test.mjs +0 -68
- package/template/.hermes/skills/archify/test/viewer-chrome-layout.test.mjs +0 -872
- package/template/.hermes/skills/archify/test/visual-check.test.mjs +0 -400
- package/template/.hermes/skills/archify/test/webm-artifact.smoke.mjs +0 -1840
- package/template/.hermes/skills/archify/test/workflow-compiler-hard-contract.test.mjs +0 -2135
- package/template/.hermes/skills/archify/test/workflow-compiler.test.mjs +0 -1163
- package/template/.hermes/skills/archify/test/workflow-migration.test.mjs +0 -620
- package/template/.hermes/skills/archify/test/workflow-semantic-contract.test.mjs +0 -131
- package/template/.hermes/skills/archify/test/yss-safe-deliver.test.mjs +0 -153
- package/template/.hermes/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
- package/template/.hermes/skills/ask-matt/SKILL.md +0 -95
- package/template/.hermes/skills/ask-matt/agents/openai.yaml +0 -5
- package/template/.hermes/skills/code-review/SKILL.md +0 -122
- package/template/.hermes/skills/code-review/agents/openai.yaml +0 -3
- package/template/.hermes/skills/code-review/references/yss-review-standards.md +0 -54
- package/template/.hermes/skills/codebase-design/DEEPENING.md +0 -37
- package/template/.hermes/skills/codebase-design/DESIGN-IT-TWICE.md +0 -44
- package/template/.hermes/skills/codebase-design/SKILL.md +0 -118
- package/template/.hermes/skills/codebase-design/agents/openai.yaml +0 -3
- package/template/.hermes/skills/competitive-intelligence/SKILL.md +0 -94
- package/template/.hermes/skills/component-selection-imports/SKILL.md +0 -64
- package/template/.hermes/skills/cross-repo-implementation-routing/SKILL.md +0 -51
- package/template/.hermes/skills/diagnosing-bugs/SKILL.md +0 -138
- package/template/.hermes/skills/diagnosing-bugs/agents/openai.yaml +0 -3
- package/template/.hermes/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +0 -44
- package/template/.hermes/skills/dispatching-parallel-agents/SKILL.md +0 -185
- package/template/.hermes/skills/domain-modeling/ADR-FORMAT.md +0 -47
- package/template/.hermes/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
- package/template/.hermes/skills/domain-modeling/SKILL.md +0 -74
- package/template/.hermes/skills/domain-modeling/agents/openai.yaml +0 -3
- package/template/.hermes/skills/file-export-download/SKILL.md +0 -160
- package/template/.hermes/skills/file-export-download/agents/openai.yaml +0 -4
- package/template/.hermes/skills/formily-foundation/SKILL.md +0 -176
- package/template/.hermes/skills/formily-foundation/references/examples.md +0 -486
- package/template/.hermes/skills/formily-linkage-effects/SKILL.md +0 -167
- package/template/.hermes/skills/formily-mode-slot-detail/SKILL.md +0 -137
- package/template/.hermes/skills/formily-step-flow/SKILL.md +0 -194
- package/template/.hermes/skills/frontend-commit/SKILL.md +0 -118
- package/template/.hermes/skills/frontend-commit/agents/openai.yaml +0 -7
- package/template/.hermes/skills/frontend-commit/references/scope-and-examples.md +0 -111
- package/template/.hermes/skills/grill-me/SKILL.md +0 -7
- package/template/.hermes/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.hermes/skills/grill-with-docs/SKILL.md +0 -19
- package/template/.hermes/skills/grill-with-docs/agents/openai.yaml +0 -5
- package/template/.hermes/skills/grilling/SKILL.md +0 -28
- package/template/.hermes/skills/grilling/agents/openai.yaml +0 -3
- package/template/.hermes/skills/handoff/SKILL.md +0 -16
- package/template/.hermes/skills/handoff/agents/openai.yaml +0 -5
- package/template/.hermes/skills/implement/SKILL.md +0 -15
- package/template/.hermes/skills/implement/agents/openai.yaml +0 -5
- package/template/.hermes/skills/implementation-repo-onboarding/SKILL.md +0 -50
- package/template/.hermes/skills/improve-codebase-architecture/HTML-REPORT.md +0 -123
- package/template/.hermes/skills/improve-codebase-architecture/SKILL.md +0 -71
- package/template/.hermes/skills/improve-codebase-architecture/agents/openai.yaml +0 -5
- package/template/.hermes/skills/java-backend-commit/SKILL.md +0 -121
- package/template/.hermes/skills/java-backend-commit/agents/openai.yaml +0 -7
- package/template/.hermes/skills/java-backend-commit/references/scope-and-examples.md +0 -118
- package/template/.hermes/skills/llm-wiki/SKILL.md +0 -60
- package/template/.hermes/skills/llm-wiki/assets/CLAUDE.md.template +0 -26
- package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +0 -3
- package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +0 -5
- package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +0 -1
- package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +0 -7
- package/template/.hermes/skills/llm-wiki/references/compile.md +0 -126
- package/template/.hermes/skills/llm-wiki/references/discover.md +0 -42
- package/template/.hermes/skills/llm-wiki/references/ingest.md +0 -36
- package/template/.hermes/skills/llm-wiki/references/lint.md +0 -54
- package/template/.hermes/skills/llm-wiki/references/query.md +0 -21
- package/template/.hermes/skills/llm-wiki/references/schema.md +0 -45
- package/template/.hermes/skills/llm-wiki/references/writing.md +0 -35
- package/template/.hermes/skills/llm-wiki/scripts/advise.mjs +0 -196
- package/template/.hermes/skills/llm-wiki/scripts/advise.test.mjs +0 -91
- package/template/.hermes/skills/llm-wiki/scripts/extract.mjs +0 -55
- package/template/.hermes/skills/llm-wiki/scripts/extract.test.mjs +0 -34
- package/template/.hermes/skills/llm-wiki/scripts/inventory.mjs +0 -174
- package/template/.hermes/skills/llm-wiki/scripts/inventory.test.mjs +0 -98
- package/template/.hermes/skills/llm-wiki/scripts/lint-wikilinks.mjs +0 -177
- package/template/.hermes/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +0 -212
- package/template/.hermes/skills/lombok/SKILL.md +0 -351
- package/template/.hermes/skills/loop-me/SKILL.md +0 -32
- package/template/.hermes/skills/loop-me/agents/openai.yaml +0 -5
- package/template/.hermes/skills/maintaining-skills/SKILL.md +0 -27
- package/template/.hermes/skills/mapstruct/SKILL.md +0 -334
- package/template/.hermes/skills/migrate-to-shoehorn/SKILL.md +0 -118
- package/template/.hermes/skills/migrate-to-shoehorn/agents/openai.yaml +0 -3
- package/template/.hermes/skills/page-form-module/SKILL.md +0 -168
- package/template/.hermes/skills/page-list-module/SKILL.md +0 -137
- package/template/.hermes/skills/page-skeleton/SKILL.md +0 -76
- package/template/.hermes/skills/page-skeleton/examples/AdvancedFormPage/constant.ts +0 -34
- package/template/.hermes/skills/page-skeleton/examples/AdvancedFormPage/hooks/useRuleConfig.ts +0 -75
- package/template/.hermes/skills/page-skeleton/examples/AdvancedFormPage/index.vue +0 -107
- package/template/.hermes/skills/page-skeleton/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +0 -256
- package/template/.hermes/skills/page-skeleton/examples/AdvancedFormPage/style.less +0 -30
- package/template/.hermes/skills/page-skeleton/examples/StandardListPage/constant.ts +0 -28
- package/template/.hermes/skills/page-skeleton/examples/StandardListPage/hooks/useQualityRuleList.ts +0 -58
- package/template/.hermes/skills/page-skeleton/examples/StandardListPage/hooks/useRuleActions.ts +0 -65
- package/template/.hermes/skills/page-skeleton/examples/StandardListPage/index.vue +0 -91
- package/template/.hermes/skills/page-skeleton/examples/StandardListPage/style.less +0 -49
- package/template/.hermes/skills/prototype/LOGIC.md +0 -67
- package/template/.hermes/skills/prototype/SKILL.md +0 -26
- package/template/.hermes/skills/prototype/UI.md +0 -112
- package/template/.hermes/skills/prototype/agents/openai.yaml +0 -3
- package/template/.hermes/skills/prototype-page-acceptance/SKILL.md +0 -62
- package/template/.hermes/skills/prototype-review/SKILL.md +0 -74
- package/template/.hermes/skills/prototype-review/agents/openai.yaml +0 -4
- package/template/.hermes/skills/resolving-merge-conflicts/SKILL.md +0 -14
- package/template/.hermes/skills/resolving-merge-conflicts/agents/openai.yaml +0 -3
- package/template/.hermes/skills/scaffold-exercises/SKILL.md +0 -106
- package/template/.hermes/skills/scaffold-exercises/agents/openai.yaml +0 -3
- package/template/.hermes/skills/setup-matt-pocock-skills/SKILL.md +0 -125
- package/template/.hermes/skills/setup-matt-pocock-skills/agents/openai.yaml +0 -5
- package/template/.hermes/skills/setup-matt-pocock-skills/domain.md +0 -51
- package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-github.md +0 -45
- package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +0 -46
- package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-local.md +0 -66
- package/template/.hermes/skills/setup-matt-pocock-skills/triage-labels.md +0 -15
- package/template/.hermes/skills/setup-pre-commit/SKILL.md +0 -91
- package/template/.hermes/skills/setup-pre-commit/agents/openai.yaml +0 -3
- package/template/.hermes/skills/setup-ts-deep-modules/SKILL.md +0 -102
- package/template/.hermes/skills/setup-ts-deep-modules/agents/openai.yaml +0 -5
- package/template/.hermes/skills/setup-ts-deep-modules/dependency-cruiser.config.cjs +0 -95
- package/template/.hermes/skills/tdd/SKILL.md +0 -38
- package/template/.hermes/skills/tdd/agents/openai.yaml +0 -3
- package/template/.hermes/skills/tdd/mocking.md +0 -59
- package/template/.hermes/skills/tdd/tests.md +0 -77
- package/template/.hermes/skills/teach/GLOSSARY-FORMAT.md +0 -35
- package/template/.hermes/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
- package/template/.hermes/skills/teach/MISSION-FORMAT.md +0 -31
- package/template/.hermes/skills/teach/RESOURCES-FORMAT.md +0 -32
- package/template/.hermes/skills/teach/SKILL.md +0 -140
- package/template/.hermes/skills/teach/agents/openai.yaml +0 -5
- package/template/.hermes/skills/theme-token-usage/SKILL.md +0 -123
- package/template/.hermes/skills/theme-token-usage/agents/openai.yaml +0 -4
- package/template/.hermes/skills/to-questionnaire/SKILL.md +0 -53
- package/template/.hermes/skills/to-questionnaire/agents/openai.yaml +0 -5
- package/template/.hermes/skills/to-spec/SKILL.md +0 -75
- package/template/.hermes/skills/to-spec/agents/openai.yaml +0 -5
- package/template/.hermes/skills/to-tickets/SKILL.md +0 -105
- package/template/.hermes/skills/to-tickets/agents/openai.yaml +0 -5
- package/template/.hermes/skills/triage/AGENT-BRIEF.md +0 -207
- package/template/.hermes/skills/triage/OUT-OF-SCOPE.md +0 -105
- package/template/.hermes/skills/triage/SKILL.md +0 -112
- package/template/.hermes/skills/triage/agents/openai.yaml +0 -5
- package/template/.hermes/skills/using-git-worktrees/SKILL.md +0 -202
- package/template/.hermes/skills/vue3-best-practices/SKILL.md +0 -68
- package/template/.hermes/skills/wait-what/SKILL.md +0 -7
- package/template/.hermes/skills/wait-what/agents/openai.yaml +0 -5
- package/template/.hermes/skills/wayfinder/SKILL.md +0 -128
- package/template/.hermes/skills/wayfinder/agents/openai.yaml +0 -5
- package/template/.hermes/skills/writing-beats/SKILL.md +0 -67
- package/template/.hermes/skills/writing-beats/agents/openai.yaml +0 -5
- package/template/.hermes/skills/writing-for-agents/SKILL-MECHANICS.md +0 -22
- package/template/.hermes/skills/writing-for-agents/SKILL.md +0 -81
- package/template/.hermes/skills/writing-for-agents/agents/openai.yaml +0 -3
- package/template/.hermes/skills/writing-fragments/SKILL.md +0 -79
- package/template/.hermes/skills/writing-fragments/agents/openai.yaml +0 -5
- package/template/.hermes/skills/writing-shape/SKILL.md +0 -79
- package/template/.hermes/skills/writing-shape/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yedit-table-usage/SKILL.md +0 -227
- package/template/.hermes/skills/yss-antd-design/SKILL.md +0 -34
- package/template/.hermes/skills/yss-antd-design/references/boundaries.md +0 -30
- package/template/.hermes/skills/yss-antd-design/references/cli-matrix.md +0 -38
- package/template/.hermes/skills/yss-antd-design/references/evidence.md +0 -30
- package/template/.hermes/skills/yss-antd-design/scripts/validate-frontmatter.mjs +0 -46
- package/template/.hermes/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +0 -27
- package/template/.hermes/skills/yss-api-integration/SKILL.md +0 -185
- package/template/.hermes/skills/yss-api-integration/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-application/SKILL.md +0 -54
- package/template/.hermes/skills/yss-application/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-application/references/application-layer-guide.md +0 -87
- package/template/.hermes/skills/yss-audit-log/SKILL.md +0 -67
- package/template/.hermes/skills/yss-audit-log/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-audit-log/assets/AuditLogAspect.java +0 -262
- package/template/.hermes/skills/yss-audit-log/assets/YssAuditLogPrintSubscriberImpl.java +0 -37
- package/template/.hermes/skills/yss-audit-log/assets/YssAuditLogSysManagerSubscriberImpl.java +0 -18
- package/template/.hermes/skills/yss-audit-log/assets/YssAuditPublishService.java +0 -69
- package/template/.hermes/skills/yss-audit-log/references/README.md +0 -69
- package/template/.hermes/skills/yss-audit-log/references/source-index.md +0 -43
- package/template/.hermes/skills/yss-cache/SKILL.md +0 -44
- package/template/.hermes/skills/yss-cache/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-cache/references/annotations.md +0 -39
- package/template/.hermes/skills/yss-cache/references/architecture.md +0 -25
- package/template/.hermes/skills/yss-cache/references/configuration.md +0 -34
- package/template/.hermes/skills/yss-cache/references/redis-fallback.md +0 -23
- package/template/.hermes/skills/yss-cache/references/redis-topology.md +0 -62
- package/template/.hermes/skills/yss-cache/references/serialization.md +0 -17
- package/template/.hermes/skills/yss-cache/references/source-index.md +0 -67
- package/template/.hermes/skills/yss-cache/references/troubleshooting.md +0 -33
- package/template/.hermes/skills/yss-cache/references/verification.md +0 -34
- package/template/.hermes/skills/yss-cache/scripts/check-skill-freshness.sh +0 -84
- package/template/.hermes/skills/yss-cache/scripts/inspect-cache-usage.sh +0 -96
- package/template/.hermes/skills/yss-cache/scripts/verify-cache-component.sh +0 -101
- package/template/.hermes/skills/yss-components/SKILL.md +0 -386
- package/template/.hermes/skills/yss-components/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-components/references/frontend-docs.md +0 -9
- package/template/.hermes/skills/yss-ddd-scaffold-generator/SKILL.md +0 -121
- package/template/.hermes/skills/yss-ddd-scaffold-generator/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/config/application-local.yml.template +0 -8
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +0 -36
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/config/logback-spring.xml.template +0 -15
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/java/architecture-rules-test.java.template +0 -36
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/java/bootstrap-application.java.template +0 -15
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/pom/adapter-pom.xml.template +0 -19
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/pom/application-pom.xml.template +0 -52
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +0 -70
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/pom/domain-pom.xml.template +0 -22
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/pom/infrastructure-pom.xml.template +0 -54
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/pom/parent-pom.xml.template +0 -155
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/pom/web-pom.xml.template +0 -58
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/jvm.config +0 -1
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/maven.config +0 -2
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/settings.xml +0 -41
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/MavenWrapperDownloader.java +0 -117
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.jar +0 -0
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.properties +0 -20
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw +0 -316
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw.cmd +0 -188
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +0 -116
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +0 -125
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/SKILL.md +0 -31
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +0 -8
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +0 -8
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +0 -8
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +0 -58
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +0 -8
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +0 -225
- package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/first-slice-verification.test.mjs +0 -164
- package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +0 -126
- package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +0 -363
- package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +0 -172
- package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +0 -112
- package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +0 -401
- package/template/.hermes/skills/yss-design-system/SKILL.md +0 -105
- package/template/.hermes/skills/yss-design-system/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-design-system/references/design-qa-theme.md +0 -64
- package/template/.hermes/skills/yss-design-system/references/design-system.md +0 -245
- package/template/.hermes/skills/yss-design-system/scripts/validate-frontmatter.mjs +0 -36
- package/template/.hermes/skills/yss-design-system/scripts/validate-frontmatter.test.mjs +0 -12
- package/template/.hermes/skills/yss-distributed-id/SKILL.md +0 -69
- package/template/.hermes/skills/yss-distributed-id/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.hermes/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.hermes/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/.hermes/skills/yss-distributed-id/references/README.md +0 -51
- package/template/.hermes/skills/yss-distributed-id/references/source-index.md +0 -86
- package/template/.hermes/skills/yss-domain/SKILL.md +0 -70
- package/template/.hermes/skills/yss-domain/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-domain/references/domain-layer-guide.md +0 -101
- package/template/.hermes/skills/yss-dto/SKILL.md +0 -92
- package/template/.hermes/skills/yss-dto/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-dto/assets/CommandDTO.java +0 -8
- package/template/.hermes/skills/yss-dto/assets/PageQuery.java +0 -133
- package/template/.hermes/skills/yss-dto/assets/QueryDTO.java +0 -6
- package/template/.hermes/skills/yss-dto/assets/Result.java +0 -105
- package/template/.hermes/skills/yss-dto/references/README.md +0 -67
- package/template/.hermes/skills/yss-dto/references/openapi-wire-profile.yaml +0 -187
- package/template/.hermes/skills/yss-dto/references/source-index.md +0 -55
- package/template/.hermes/skills/yss-excel-mvc/SKILL.md +0 -66
- package/template/.hermes/skills/yss-excel-mvc/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-excel-mvc/assets/ExcelDynamicData.java +0 -66
- package/template/.hermes/skills/yss-excel-mvc/assets/RequestExcel.java +0 -33
- package/template/.hermes/skills/yss-excel-mvc/assets/RequestFastExcelArgumentResolver.java +0 -272
- package/template/.hermes/skills/yss-excel-mvc/assets/ResponseExcel.java +0 -46
- package/template/.hermes/skills/yss-excel-mvc/assets/ResponseFastExcelReturnValueHandler.java +0 -154
- package/template/.hermes/skills/yss-excel-mvc/references/README.md +0 -5
- package/template/.hermes/skills/yss-excel-mvc/references/source-index.md +0 -74
- package/template/.hermes/skills/yss-exception/SKILL.md +0 -57
- package/template/.hermes/skills/yss-exception/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-exception/references/source-index.md +0 -35
- package/template/.hermes/skills/yss-formily/SKILL.md +0 -272
- package/template/.hermes/skills/yss-formily-schema-generator/SKILL.md +0 -189
- package/template/.hermes/skills/yss-formily-schema-generator/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-formily-schema-generator/assets/java-sdk/ExampleUsage.java +0 -111
- package/template/.hermes/skills/yss-formily-schema-generator/assets/java-sdk/YssFormilyDsl.java +0 -1219
- package/template/.hermes/skills/yss-formily-schema-generator/references/workflow.md +0 -240
- package/template/.hermes/skills/yss-frontend-scaffold-generator/SKILL.md +0 -76
- package/template/.hermes/skills/yss-hook/SKILL.md +0 -200
- package/template/.hermes/skills/yss-hook/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-hook/references/frontend-docs.md +0 -10
- package/template/.hermes/skills/yss-microapp-commit/SKILL.md +0 -201
- package/template/.hermes/skills/yss-microapp-commit/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-microapp-commit/references/scope-mapping.md +0 -204
- package/template/.hermes/skills/yss-mybatis/SKILL.md +0 -77
- package/template/.hermes/skills/yss-mybatis/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-mybatis/assets/BaseRepository.java +0 -112
- package/template/.hermes/skills/yss-mybatis/assets/EntityQueryAspect.java +0 -37
- package/template/.hermes/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +0 -18
- package/template/.hermes/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +0 -18
- package/template/.hermes/skills/yss-mybatis/references/README.md +0 -57
- package/template/.hermes/skills/yss-mybatis/references/source-index.md +0 -93
- package/template/.hermes/skills/yss-openapi-draft-review/SKILL.md +0 -82
- package/template/.hermes/skills/yss-openapi-governance/SKILL.md +0 -130
- package/template/.hermes/skills/yss-openapi-governance/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-page-module-development/SKILL.md +0 -165
- package/template/.hermes/skills/yss-page-module-development/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +0 -32
- package/template/.hermes/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +0 -158
- package/template/.hermes/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +0 -188
- package/template/.hermes/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +0 -256
- package/template/.hermes/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +0 -76
- package/template/.hermes/skills/yss-page-module-development/examples/StandardListPage/constant.ts +0 -128
- package/template/.hermes/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +0 -144
- package/template/.hermes/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +0 -141
- package/template/.hermes/skills/yss-page-module-development/examples/StandardListPage/index.vue +0 -175
- package/template/.hermes/skills/yss-page-module-development/examples/StandardListPage/style.less +0 -83
- package/template/.hermes/skills/yss-page-module-development/references/component-map.md +0 -34
- package/template/.hermes/skills/yss-page-module-development/references/frontend-docs.md +0 -11
- package/template/.hermes/skills/yss-page-module-development/references/hooks-map.md +0 -11
- package/template/.hermes/skills/yss-page-module-development/references/utils-map.md +0 -14
- package/template/.hermes/skills/yss-product-lifecycle/SKILL.md +0 -52
- package/template/.hermes/skills/yss-product-lifecycle/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-product-lifecycle/references/artifact-dependencies.md +0 -36
- package/template/.hermes/skills/yss-product-lifecycle/references/matt-yss-adapter.md +0 -122
- package/template/.hermes/skills/yss-product-lifecycle/references/orchestration-contract.yaml +0 -865
- package/template/.hermes/skills/yss-product-lifecycle/references/orchestration.md +0 -116
- package/template/.hermes/skills/yss-product-lifecycle/references/state-model.md +0 -112
- package/template/.hermes/skills/yss-prototype-stage/SKILL.md +0 -47
- package/template/.hermes/skills/yss-prototype-stage/references/product-design-adapter.md +0 -54
- package/template/.hermes/skills/yss-prototype-stage/scripts/prototype-contract.mjs +0 -207
- package/template/.hermes/skills/yss-prototype-stage/tests/run-scenarios.mjs +0 -154
- package/template/.hermes/skills/yss-repository/SKILL.md +0 -80
- package/template/.hermes/skills/yss-repository/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-repository/references/infrastructure-layer-guide.md +0 -107
- package/template/.hermes/skills/yss-research/SKILL.md +0 -73
- package/template/.hermes/skills/yss-research/agents/openai.yaml +0 -3
- package/template/.hermes/skills/yss-research/assets/evidence-template.yaml +0 -68
- package/template/.hermes/skills/yss-research/assets/research-brief-template.md +0 -36
- package/template/.hermes/skills/yss-research/references/evidence-contract.md +0 -42
- package/template/.hermes/skills/yss-research/scripts/validate-research-package.mjs +0 -128
- package/template/.hermes/skills/yss-research/tests/run-scenarios.mjs +0 -81
- package/template/.hermes/skills/yss-resilience4j/SKILL.md +0 -46
- package/template/.hermes/skills/yss-resilience4j/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-resilience4j/references/source-index.md +0 -33
- package/template/.hermes/skills/yss-router/SKILL.md +0 -51
- package/template/.hermes/skills/yss-router/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-router/references/boundaries.md +0 -50
- package/template/.hermes/skills/yss-router/references/router-contract.yaml +0 -349
- package/template/.hermes/skills/yss-router/references/slice-implementation-contract.md +0 -185
- package/template/.hermes/skills/yss-router/references/yss-skill-execution-result.md +0 -67
- package/template/.hermes/skills/yss-security-algorithm/SKILL.md +0 -52
- package/template/.hermes/skills/yss-security-algorithm/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-security-algorithm/references/source-index.md +0 -35
- package/template/.hermes/skills/yss-source-index/SKILL.md +0 -63
- package/template/.hermes/skills/yss-source-index/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +0 -24
- package/template/.hermes/skills/yss-stage-decision/SKILL.md +0 -51
- package/template/.hermes/skills/yss-stage-decision/references/domain-strategy-contract.md +0 -26
- package/template/.hermes/skills/yss-stage-decision/references/domain-strategy.schema.json +0 -128
- package/template/.hermes/skills/yss-stage-decision/references/stage-decision-package-contract.md +0 -19
- package/template/.hermes/skills/yss-stage-decision/references/stage-decision-package.schema.json +0 -86
- package/template/.hermes/skills/yss-stage-decision/references/validation-rules.md +0 -18
- package/template/.hermes/skills/yss-stage-decision/scripts/validate-domain-strategy.mjs +0 -169
- package/template/.hermes/skills/yss-stage-decision/scripts/validate-stage-decision-package.mjs +0 -100
- package/template/.hermes/skills/yss-stage-decision/tests/fixtures/domain-strategy-approval.yaml +0 -15
- package/template/.hermes/skills/yss-stage-decision/tests/fixtures/invalid-direction.yaml +0 -58
- package/template/.hermes/skills/yss-stage-decision/tests/fixtures/invalid-stage-decision-blocker.yaml +0 -44
- package/template/.hermes/skills/yss-stage-decision/tests/fixtures/stage-decision-approval.yaml +0 -15
- package/template/.hermes/skills/yss-stage-decision/tests/fixtures/valid-stage-decision-package.yaml +0 -49
- package/template/.hermes/skills/yss-stage-decision/tests/fixtures/valid-supplier-domain.yaml +0 -108
- package/template/.hermes/skills/yss-stage-decision/tests/run-scenarios.mjs +0 -68
- package/template/.hermes/skills/yss-tactical-design/SKILL.md +0 -35
- package/template/.hermes/skills/yss-tactical-design/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-tactical-design/references/output-template.md +0 -28
- package/template/.hermes/skills/yss-tactical-design/references/tactical-design-contract.md +0 -41
- package/template/.hermes/skills/yss-tactical-design/references/tactical-design.schema.json +0 -31
- package/template/.hermes/skills/yss-tactical-design/references/validation-rules.md +0 -13
- package/template/.hermes/skills/yss-tactical-design/scripts/validate-tactical-design.mjs +0 -213
- package/template/.hermes/skills/yss-tactical-design/tests/fixtures/invalid-api-leaks-aggregate.yaml +0 -21
- package/template/.hermes/skills/yss-tactical-design/tests/fixtures/invalid-missing-consistency-policy.yaml +0 -21
- package/template/.hermes/skills/yss-tactical-design/tests/fixtures/invalid-missing-invariant.yaml +0 -21
- package/template/.hermes/skills/yss-tactical-design/tests/fixtures/invalid-stale-upstream-ref.yaml +0 -21
- package/template/.hermes/skills/yss-tactical-design/tests/fixtures/invalid-strategic-as-tactical.yaml +0 -21
- package/template/.hermes/skills/yss-tactical-design/tests/fixtures/valid-tactical-design.yaml +0 -80
- package/template/.hermes/skills/yss-tactical-design/tests/run-scenarios.mjs +0 -47
- package/template/.hermes/skills/yss-ui/SKILL.md +0 -170
- package/template/.hermes/skills/yss-ui/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-ui/assets/demos/button/auth-basic.vue +0 -24
- package/template/.hermes/skills/yss-ui/assets/demos/button/auth-dropdown.vue +0 -29
- package/template/.hermes/skills/yss-ui/assets/demos/button/permission.vue +0 -10
- package/template/.hermes/skills/yss-ui/assets/demos/button/size.vue +0 -12
- package/template/.hermes/skills/yss-ui/assets/demos/button/states.vue +0 -12
- package/template/.hermes/skills/yss-ui/assets/demos/card/basic/index.vue +0 -54
- package/template/.hermes/skills/yss-ui/assets/demos/card/basic/style.less +0 -41
- package/template/.hermes/skills/yss-ui/assets/demos/card/cover/index.vue +0 -25
- package/template/.hermes/skills/yss-ui/assets/demos/card/flexible-layout/index.vue +0 -122
- package/template/.hermes/skills/yss-ui/assets/demos/card/flexible-layout/style.less +0 -191
- package/template/.hermes/skills/yss-ui/assets/demos/card/header-extra/index.vue +0 -260
- package/template/.hermes/skills/yss-ui/assets/demos/card/header-extra/style.less +0 -124
- package/template/.hermes/skills/yss-ui/assets/demos/card/layout-metrics/constants.ts +0 -61
- package/template/.hermes/skills/yss-ui/assets/demos/card/layout-metrics/index.vue +0 -72
- package/template/.hermes/skills/yss-ui/assets/demos/card/layout-metrics/metrics-cards.vue +0 -70
- package/template/.hermes/skills/yss-ui/assets/demos/card/layout-metrics/style.less +0 -232
- package/template/.hermes/skills/yss-ui/assets/demos/card/loading/index.vue +0 -19
- package/template/.hermes/skills/yss-ui/assets/demos/card/meta/index.vue +0 -19
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/basic/constants.ts +0 -44
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/basic/hooks/useConditionBasic.ts +0 -18
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/basic/index.vue +0 -100
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/linked/constants.ts +0 -51
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/linked/hooks/useConditionLinked.ts +0 -29
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/linked/index.vue +0 -23
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/nesting-between/constants.ts +0 -35
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/nesting-between/hooks/useConditionNesting.ts +0 -25
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/nesting-between/index.vue +0 -24
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/remote/constants.ts +0 -7
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/remote/hooks/useConditionRemote.ts +0 -75
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/remote/index.vue +0 -23
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/validation/constants.ts +0 -42
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/validation/hooks/useConditionBasic.ts +0 -22
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/validation/index.vue +0 -138
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/validation-custom/constants.ts +0 -42
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/validation-custom/hooks/useConditionBasic.ts +0 -22
- package/template/.hermes/skills/yss-ui/assets/demos/condition-builder/validation-custom/index.vue +0 -134
- package/template/.hermes/skills/yss-ui/assets/demos/cron/basic/index.vue +0 -54
- package/template/.hermes/skills/yss-ui/assets/demos/cron/select/index.vue +0 -145
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/basic.vue +0 -30
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/calendar-heatmap.vue +0 -49
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/candlestick.vue +0 -30
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/dark.vue +0 -40
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/expose-methods.vue +0 -97
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/funnel.vue +0 -42
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/gauge.vue +0 -25
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/line.vue +0 -24
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/mix.vue +0 -33
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/pie.vue +0 -34
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/radar.vue +0 -38
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/ring-segment.vue +0 -77
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/scatter.vue +0 -23
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/stacked-area.vue +0 -55
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/stacked-bar.vue +0 -52
- package/template/.hermes/skills/yss-ui/assets/demos/echarts/treemap.vue +0 -30
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/all-types/hooks/useAllTypes.ts +0 -259
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/all-types/index.vue +0 -33
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/async-remote/hooks/useAsyncRemote.ts +0 -201
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/async-remote/index.vue +0 -45
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/basic/index.vue +0 -104
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/big-data/index.vue +0 -82
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/custom-rule/index.vue +0 -114
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/direct-editable/index.vue +0 -94
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/drag/index.vue +0 -125
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/filter/index.vue +0 -107
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/linkage/index.vue +0 -181
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/pagination-action/index.vue +0 -131
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/required/index.vue +0 -95
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/row-edit/index.vue +0 -220
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/row-options/index.vue +0 -165
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/slot-linkage/index.vue +0 -184
- package/template/.hermes/skills/yss-ui/assets/demos/edit-table/submit-view/index.vue +0 -107
- package/template/.hermes/skills/yss-ui/assets/demos/file-import/basic.vue +0 -54
- package/template/.hermes/skills/yss-ui/assets/demos/file-import/formily.vue +0 -42
- package/template/.hermes/skills/yss-ui/assets/demos/file-import/multiple.vue +0 -33
- package/template/.hermes/skills/yss-ui/assets/demos/file-import/result-slot.vue +0 -30
- package/template/.hermes/skills/yss-ui/assets/demos/formily/actions.vue +0 -61
- package/template/.hermes/skills/yss-ui/assets/demos/formily/align.vue +0 -56
- package/template/.hermes/skills/yss-ui/assets/demos/formily/async-validate.vue +0 -69
- package/template/.hermes/skills/yss-ui/assets/demos/formily/basic.vue +0 -317
- package/template/.hermes/skills/yss-ui/assets/demos/formily/collapse.vue +0 -104
- package/template/.hermes/skills/yss-ui/assets/demos/formily/custom-component.vue +0 -75
- package/template/.hermes/skills/yss-ui/assets/demos/formily/disabled.vue +0 -71
- package/template/.hermes/skills/yss-ui/assets/demos/formily/dynamic-array.vue +0 -74
- package/template/.hermes/skills/yss-ui/assets/demos/formily/dynamic.vue +0 -59
- package/template/.hermes/skills/yss-ui/assets/demos/formily/effects.vue +0 -117
- package/template/.hermes/skills/yss-ui/assets/demos/formily/events-inline.vue +0 -82
- package/template/.hermes/skills/yss-ui/assets/demos/formily/events-scope.vue +0 -101
- package/template/.hermes/skills/yss-ui/assets/demos/formily/grid.vue +0 -71
- package/template/.hermes/skills/yss-ui/assets/demos/formily/group.vue +0 -102
- package/template/.hermes/skills/yss-ui/assets/demos/formily/helper-slot.vue +0 -50
- package/template/.hermes/skills/yss-ui/assets/demos/formily/label-tip.vue +0 -42
- package/template/.hermes/skills/yss-ui/assets/demos/formily/linkage-multi.vue +0 -127
- package/template/.hermes/skills/yss-ui/assets/demos/formily/linkage.vue +0 -78
- package/template/.hermes/skills/yss-ui/assets/demos/formily/modes.vue +0 -72
- package/template/.hermes/skills/yss-ui/assets/demos/formily/remote-enum.vue +0 -88
- package/template/.hermes/skills/yss-ui/assets/demos/formily/slot.vue +0 -54
- package/template/.hermes/skills/yss-ui/assets/demos/formily/steps.vue +0 -135
- package/template/.hermes/skills/yss-ui/assets/demos/formily/submit-failed.vue +0 -72
- package/template/.hermes/skills/yss-ui/assets/demos/monaco/basic.vue +0 -40
- package/template/.hermes/skills/yss-ui/assets/demos/monaco/diff-basic.vue +0 -143
- package/template/.hermes/skills/yss-ui/assets/demos/monaco/fullscreen.vue +0 -84
- package/template/.hermes/skills/yss-ui/assets/demos/monaco/history-log-viewer.vue +0 -586
- package/template/.hermes/skills/yss-ui/assets/demos/monaco/log-viewer.vue +0 -260
- package/template/.hermes/skills/yss-ui/assets/demos/monaco/mock/mockLogApi.ts +0 -199
- package/template/.hermes/skills/yss-ui/assets/demos/monaco/monaco.vue +0 -66
- package/template/.hermes/skills/yss-ui/assets/demos/monaco/readonly.vue +0 -20
- package/template/.hermes/skills/yss-ui/assets/demos/monaco/resizable.vue +0 -22
- package/template/.hermes/skills/yss-ui/assets/demos/monaco/sql-schema.vue +0 -20
- package/template/.hermes/skills/yss-ui/assets/demos/monaco/switch-lang-theme.vue +0 -48
- package/template/.hermes/skills/yss-ui/assets/demos/split-pane/tree-table/constant.ts +0 -18
- package/template/.hermes/skills/yss-ui/assets/demos/split-pane/tree-table/index.vue +0 -60
- package/template/.hermes/skills/yss-ui/assets/demos/split-pane/tree-table/style.less +0 -39
- package/template/.hermes/skills/yss-ui/assets/demos/split-pane/tree-table-layout/hooks/useTreeTable.ts +0 -158
- package/template/.hermes/skills/yss-ui/assets/demos/split-pane/tree-table-layout/index.vue +0 -88
- package/template/.hermes/skills/yss-ui/assets/demos/split-pane/tree-table-layout/style.less +0 -73
- package/template/.hermes/skills/yss-ui/assets/demos/table/action/index.vue +0 -83
- package/template/.hermes/skills/yss-ui/assets/demos/table/action/style.less +0 -3
- package/template/.hermes/skills/yss-ui/assets/demos/table/action-auth/index.vue +0 -41
- package/template/.hermes/skills/yss-ui/assets/demos/table/action-slot/index.vue +0 -62
- package/template/.hermes/skills/yss-ui/assets/demos/table/action-slot/style.less +0 -36
- package/template/.hermes/skills/yss-ui/assets/demos/table/basic/hooks/useBasicTable.ts +0 -205
- package/template/.hermes/skills/yss-ui/assets/demos/table/basic/index.vue +0 -89
- package/template/.hermes/skills/yss-ui/assets/demos/table/basic/style.less +0 -28
- package/template/.hermes/skills/yss-ui/assets/demos/table/column-custom-search/hooks/useColumnCustomSearch.ts +0 -236
- package/template/.hermes/skills/yss-ui/assets/demos/table/column-custom-search/index.vue +0 -141
- package/template/.hermes/skills/yss-ui/assets/demos/table/column-custom-search/style.less +0 -48
- package/template/.hermes/skills/yss-ui/assets/demos/table/drag/index.vue +0 -42
- package/template/.hermes/skills/yss-ui/assets/demos/table/expand/action-expand.vue +0 -142
- package/template/.hermes/skills/yss-ui/assets/demos/table/expand/index.vue +0 -35
- package/template/.hermes/skills/yss-ui/assets/demos/table/filter-async/index.vue +0 -93
- package/template/.hermes/skills/yss-ui/assets/demos/table/filter-auto/index.vue +0 -99
- package/template/.hermes/skills/yss-ui/assets/demos/table/filter-custom/index.vue +0 -72
- package/template/.hermes/skills/yss-ui/assets/demos/table/filter-local/index.vue +0 -112
- package/template/.hermes/skills/yss-ui/assets/demos/table/filter-mixed/index.vue +0 -142
- package/template/.hermes/skills/yss-ui/assets/demos/table/filter-remote/constant.ts +0 -129
- package/template/.hermes/skills/yss-ui/assets/demos/table/filter-remote/hooks/useTableData.ts +0 -186
- package/template/.hermes/skills/yss-ui/assets/demos/table/filter-remote/index.vue +0 -73
- package/template/.hermes/skills/yss-ui/assets/demos/table/group-header/index.vue +0 -86
- package/template/.hermes/skills/yss-ui/assets/demos/table/group-header/style.less +0 -3
- package/template/.hermes/skills/yss-ui/assets/demos/table/header-height/index.vue +0 -29
- package/template/.hermes/skills/yss-ui/assets/demos/table/header-height/style.less +0 -9
- package/template/.hermes/skills/yss-ui/assets/demos/table/merge-cells/hooks/useMergeCells.ts +0 -183
- package/template/.hermes/skills/yss-ui/assets/demos/table/merge-cells/index.vue +0 -17
- package/template/.hermes/skills/yss-ui/assets/demos/table/merge-cells/style.less +0 -3
- package/template/.hermes/skills/yss-ui/assets/demos/table/pagination-remote/hooks/usePaginationRemote.ts +0 -106
- package/template/.hermes/skills/yss-ui/assets/demos/table/pagination-remote/index.vue +0 -24
- package/template/.hermes/skills/yss-ui/assets/demos/table/renderers/index.vue +0 -64
- package/template/.hermes/skills/yss-ui/assets/demos/table/selection-checkbox/index.vue +0 -88
- package/template/.hermes/skills/yss-ui/assets/demos/table/selection-checkbox/style.less +0 -9
- package/template/.hermes/skills/yss-ui/assets/demos/table/selection-radio/index.vue +0 -57
- package/template/.hermes/skills/yss-ui/assets/demos/table/selection-radio/style.less +0 -9
- package/template/.hermes/skills/yss-ui/assets/demos/table/transform/index.vue +0 -32
- package/template/.hermes/skills/yss-ui/assets/demos/tree/basic-left/index.vue +0 -124
- package/template/.hermes/skills/yss-ui/assets/demos/tree/datasource-group/index.vue +0 -31
- package/template/.hermes/skills/yss-ui/assets/demos/tree/multi-checkable/index.vue +0 -86
- package/template/.hermes/skills/yss-ui/assets/demos/tree/multiple-select/index.vue +0 -76
- package/template/.hermes/skills/yss-ui/assets/demos/tree/resource-list/index.vue +0 -41
- package/template/.hermes/skills/yss-ui/assets/demos/tree/search-toolbar/index.vue +0 -156
- package/template/.hermes/skills/yss-ui/assets/demos/tree/slot-icon/index.vue +0 -36
- package/template/.hermes/skills/yss-ui/assets/demos/tree/slot-switcher-icon/index.vue +0 -34
- package/template/.hermes/skills/yss-ui/assets/docs/components/button.md +0 -79
- package/template/.hermes/skills/yss-ui/assets/docs/components/card.md +0 -162
- package/template/.hermes/skills/yss-ui/assets/docs/components/conditionBuilder.md +0 -114
- package/template/.hermes/skills/yss-ui/assets/docs/components/cron.md +0 -77
- package/template/.hermes/skills/yss-ui/assets/docs/components/echarts.md +0 -110
- package/template/.hermes/skills/yss-ui/assets/docs/components/editTable.md +0 -212
- package/template/.hermes/skills/yss-ui/assets/docs/components/fileImport.md +0 -85
- package/template/.hermes/skills/yss-ui/assets/docs/components/formily.md +0 -370
- package/template/.hermes/skills/yss-ui/assets/docs/components/monaco.md +0 -369
- package/template/.hermes/skills/yss-ui/assets/docs/components/sheet.md +0 -169
- package/template/.hermes/skills/yss-ui/assets/docs/components/split-pane.md +0 -45
- package/template/.hermes/skills/yss-ui/assets/docs/components/table.md +0 -398
- package/template/.hermes/skills/yss-ui/assets/docs/components/tree.md +0 -102
- package/template/.hermes/skills/yss-ui/assets/docs/guide/gitlab-ci-integration.md +0 -166
- package/template/.hermes/skills/yss-ui/assets/docs/guide/index.md +0 -132
- package/template/.hermes/skills/yss-ui/assets/docs/guide/installation.md +0 -97
- package/template/.hermes/skills/yss-ui/assets/docs/guide/jsp.md +0 -227
- package/template/.hermes/skills/yss-ui/assets/docs/guide/llms.md +0 -295
- package/template/.hermes/skills/yss-ui/assets/docs/guide/monorepo-versioning.md +0 -149
- package/template/.hermes/skills/yss-ui/assets/docs/guide/release-workflow.md +0 -251
- package/template/.hermes/skills/yss-ui/assets/docs/hooks/use-table-height.md +0 -101
- package/template/.hermes/skills/yss-ui/assets/docs/hooks/use-tree-height.md +0 -115
- package/template/.hermes/skills/yss-ui/assets/docs/hooks/useFullscreen.md +0 -130
- package/template/.hermes/skills/yss-ui/assets/docs/hooks/useLoading.md +0 -97
- package/template/.hermes/skills/yss-ui/assets/docs/root/resources.md +0 -18
- package/template/.hermes/skills/yss-ui/assets/keyword-index.json +0 -53
- package/template/.hermes/skills/yss-ui/assets/keyword-index.md +0 -47
- package/template/.hermes/skills/yss-ui/assets/reference-index.json +0 -55
- package/template/.hermes/skills/yss-ui/assets/reference-index.md +0 -74
- package/template/.hermes/skills/yss-ui/assets/scenario-index.json +0 -50
- package/template/.hermes/skills/yss-ui/assets/scenario-index.md +0 -41
- package/template/.hermes/skills/yss-ui/references/accessibility.md +0 -23
- package/template/.hermes/skills/yss-ui/references/antdv-compatibility.md +0 -39
- package/template/.hermes/skills/yss-ui/references/checklist.md +0 -110
- package/template/.hermes/skills/yss-ui/references/component-routing.md +0 -31
- package/template/.hermes/skills/yss-ui/references/frontend-docs.md +0 -11
- package/template/.hermes/skills/yss-ui/references/migration-antdv-to-yss.md +0 -20
- package/template/.hermes/skills/yss-ui/references/quick-recipes.md +0 -280
- package/template/.hermes/skills/yss-ui/references/theme-locale-overlay.md +0 -25
- package/template/.hermes/skills/yss-ui/references/verification.md +0 -20
- package/template/.hermes/skills/yss-ui-business-page-generation/SKILL.md +0 -159
- package/template/.hermes/skills/yss-ui-business-page-generation/references/component-map.md +0 -39
- package/template/.hermes/skills/yss-ui-business-page-generation/references/hooks-map.md +0 -70
- package/template/.hermes/skills/yss-ui-business-page-generation/references/utils-map.md +0 -51
- package/template/.hermes/skills/yss-up-springboot3/SKILL.md +0 -40
- package/template/.hermes/skills/yss-up-springboot3/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-use-table-height/SKILL.md +0 -130
- package/template/.hermes/skills/yss-use-table-height/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-use-table-height/references/frontend-docs.md +0 -9
- package/template/.hermes/skills/yss-use-tree-height/SKILL.md +0 -98
- package/template/.hermes/skills/yss-use-tree-height/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-use-tree-height/references/frontend-docs.md +0 -9
- package/template/.hermes/skills/yss-userinfo/SKILL.md +0 -49
- package/template/.hermes/skills/yss-userinfo/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-userinfo/references/source-index.md +0 -34
- package/template/.hermes/skills/yss-validation/SKILL.md +0 -56
- package/template/.hermes/skills/yss-validation/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-validation/references/source-index.md +0 -33
- package/template/.hermes/skills/yss-web-controller/SKILL.md +0 -85
- package/template/.hermes/skills/yss-web-controller/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-web-controller/assets/templates/Controller.java.template +0 -72
- package/template/.hermes/skills/yss-web-controller/assets/templates/WebConvertor.java.template +0 -30
- package/template/.hermes/skills/yss-web-controller/assets/templates/web/dto/CreateRequest.java.template +0 -19
- package/template/.hermes/skills/yss-web-controller/assets/templates/web/dto/PageRequest.java.template +0 -21
- package/template/.hermes/skills/yss-web-controller/assets/templates/web/dto/Response.java.template +0 -18
- package/template/.hermes/skills/yss-web-controller/assets/templates/web/dto/UpdateRequest.java.template +0 -19
- package/template/.hermes/skills/yss-web-controller/references/web-adapter-layer-guide.md +0 -86
- package/template/.hermes/skills/yss-web-controller/references/web-generation-contract.schema.json +0 -97
- package/template/.hermes/skills/yss-web-controller/scripts/generate_controller.mjs +0 -226
- package/template/.hermes/skills/yss-web-controller/scripts/generate_controller.test.mjs +0 -156
- package/template/.hermes/skills/ytable-usage/SKILL.md +0 -251
- package/template/.hermes/skills/ytree-usage/SKILL.md +0 -132
- package/template/.kiro/settings/mcp.json +0 -8
- package/template/.pi/skills/yss-router/SKILL.md +0 -51
- package/template/.pi/skills/yss-router/agents/openai.yaml +0 -4
- package/template/.pi/skills/yss-router/references/boundaries.md +0 -50
- package/template/.pi/skills/yss-router/references/router-contract.yaml +0 -349
- package/template/.pi/skills/yss-router/references/slice-implementation-contract.md +0 -185
- package/template/.pi/skills/yss-router/references/yss-skill-execution-result.md +0 -67
- package/template/.pi/skills/yss-source-index/SKILL.md +0 -63
- package/template/.pi/skills/yss-source-index/agents/openai.yaml +0 -4
- package/template/.pi/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +0 -24
- package/template/.qoder/skills/yss-router/SKILL.md +0 -51
- package/template/.qoder/skills/yss-router/agents/openai.yaml +0 -4
- package/template/.qoder/skills/yss-router/references/boundaries.md +0 -50
- package/template/.qoder/skills/yss-router/references/router-contract.yaml +0 -349
- package/template/.qoder/skills/yss-router/references/slice-implementation-contract.md +0 -185
- package/template/.qoder/skills/yss-router/references/yss-skill-execution-result.md +0 -67
- package/template/.qoder/skills/yss-source-index/SKILL.md +0 -63
- package/template/.qoder/skills/yss-source-index/agents/openai.yaml +0 -4
- package/template/.qoder/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +0 -24
- package/template/.trae/skills/yss-router/SKILL.md +0 -51
- package/template/.trae/skills/yss-router/agents/openai.yaml +0 -4
- package/template/.trae/skills/yss-router/references/boundaries.md +0 -50
- package/template/.trae/skills/yss-router/references/router-contract.yaml +0 -349
- package/template/.trae/skills/yss-router/references/slice-implementation-contract.md +0 -185
- package/template/.trae/skills/yss-router/references/yss-skill-execution-result.md +0 -67
- package/template/.trae/skills/yss-source-index/SKILL.md +0 -63
- package/template/.trae/skills/yss-source-index/agents/openai.yaml +0 -4
- package/template/.trae/skills/yss-source-index/references/source-location.md +0 -18
- package/template/.trae/skills/yss-source-index/references/source-map-config.md +0 -30
- package/template/.trae/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +0 -24
- package/template/.trae/skills/yss-source-index/scripts/refresh-yss-skill-index.test.mjs +0 -15
- package/template/scripts/verify-yss-router-scenarios +0 -3
- /package/template/.agents/skills/{yss-source-index → yss-skill-source-index-refresh}/references/source-location.md +0 -0
- /package/template/.agents/skills/{yss-source-index → yss-skill-source-index-refresh}/references/source-map-config.md +0 -0
- /package/template/.agents/skills/{yss-source-index → yss-skill-source-index-refresh}/scripts/refresh-yss-skill-index.test.mjs +0 -0
- /package/template/.claude/skills/{yss-source-index → yss-skill-source-index-refresh}/references/source-location.md +0 -0
- /package/template/.claude/skills/{yss-source-index → yss-skill-source-index-refresh}/references/source-map-config.md +0 -0
- /package/template/.claude/skills/{yss-source-index → yss-skill-source-index-refresh}/scripts/refresh-yss-skill-index.test.mjs +0 -0
- /package/template/.codex/skills/{yss-source-index → yss-skill-source-index-refresh}/references/source-location.md +0 -0
- /package/template/.codex/skills/{yss-source-index → yss-skill-source-index-refresh}/references/source-map-config.md +0 -0
- /package/template/.codex/skills/{yss-source-index → yss-skill-source-index-refresh}/scripts/refresh-yss-skill-index.test.mjs +0 -0
- /package/template/.cursor/skills/{yss-source-index → yss-skill-source-index-refresh}/references/source-location.md +0 -0
- /package/template/.cursor/skills/{yss-source-index → yss-skill-source-index-refresh}/references/source-map-config.md +0 -0
- /package/template/.cursor/skills/{yss-source-index → yss-skill-source-index-refresh}/scripts/refresh-yss-skill-index.test.mjs +0 -0
- /package/template/{.hermes/skills/yss-source-index → .pi/skills/yss-skill-source-index-refresh}/references/source-location.md +0 -0
- /package/template/{.hermes/skills/yss-source-index → .pi/skills/yss-skill-source-index-refresh}/references/source-map-config.md +0 -0
- /package/template/{.hermes/skills/yss-source-index → .pi/skills/yss-skill-source-index-refresh}/scripts/refresh-yss-skill-index.test.mjs +0 -0
- /package/template/{.pi/skills/yss-source-index → .qoder/skills/yss-skill-source-index-refresh}/references/source-location.md +0 -0
- /package/template/{.pi/skills/yss-source-index → .qoder/skills/yss-skill-source-index-refresh}/references/source-map-config.md +0 -0
- /package/template/{.pi/skills/yss-source-index → .qoder/skills/yss-skill-source-index-refresh}/scripts/refresh-yss-skill-index.test.mjs +0 -0
- /package/template/{.qoder/skills/yss-source-index → .trae/skills/yss-skill-source-index-refresh}/references/source-location.md +0 -0
- /package/template/{.qoder/skills/yss-source-index → .trae/skills/yss-skill-source-index-refresh}/references/source-map-config.md +0 -0
- /package/template/{.qoder/skills/yss-source-index → .trae/skills/yss-skill-source-index-refresh}/scripts/refresh-yss-skill-index.test.mjs +0 -0
package/template/.hermes/skills/yss-formily-schema-generator/assets/java-sdk/YssFormilyDsl.java
DELETED
|
@@ -1,1219 +0,0 @@
|
|
|
1
|
-
package com.yss.formily.sdk;
|
|
2
|
-
|
|
3
|
-
import java.util.ArrayList;
|
|
4
|
-
import java.util.Arrays;
|
|
5
|
-
import java.util.Collections;
|
|
6
|
-
import java.util.LinkedHashMap;
|
|
7
|
-
import java.util.List;
|
|
8
|
-
import java.util.Map;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Java DSL for building YssFormily form definitions.
|
|
12
|
-
*
|
|
13
|
-
* <p>This SDK models:
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>schema body</li>
|
|
16
|
-
* <li>form container config such as mode, detail-options, scope, effects</li>
|
|
17
|
-
* <li>typed enums for common schema types, components, events and options</li>
|
|
18
|
-
* </ul>
|
|
19
|
-
*/
|
|
20
|
-
public final class YssFormilyDsl {
|
|
21
|
-
|
|
22
|
-
private YssFormilyDsl() {
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
public interface WireValue {
|
|
26
|
-
Object wireValue();
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
private interface HasMapValue {
|
|
30
|
-
Map<String, Object> toMap();
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
public enum SchemaType implements WireValue {
|
|
34
|
-
OBJECT("object"),
|
|
35
|
-
VOID("void"),
|
|
36
|
-
STRING("string"),
|
|
37
|
-
NUMBER("number"),
|
|
38
|
-
BOOLEAN("boolean"),
|
|
39
|
-
ARRAY("array");
|
|
40
|
-
|
|
41
|
-
private final String value;
|
|
42
|
-
|
|
43
|
-
SchemaType(String value) {
|
|
44
|
-
this.value = value;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@Override
|
|
48
|
-
public String wireValue() {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
public enum Component implements WireValue {
|
|
54
|
-
FORM_LAYOUT("FormLayout"),
|
|
55
|
-
FORM_GRID("FormGrid"),
|
|
56
|
-
FORM_ITEM("FormItem"),
|
|
57
|
-
INPUT("Input"),
|
|
58
|
-
INPUT_TEXT_AREA("Input.TextArea"),
|
|
59
|
-
INPUT_NUMBER("InputNumber"),
|
|
60
|
-
SELECT("Select"),
|
|
61
|
-
RADIO_GROUP("Radio.Group"),
|
|
62
|
-
SWITCH("Switch"),
|
|
63
|
-
DATE_PICKER("DatePicker"),
|
|
64
|
-
DATE_RANGE_PICKER("DatePicker.RangePicker"),
|
|
65
|
-
SLOT("Slot"),
|
|
66
|
-
GROUP_HEADER("GroupHeader"),
|
|
67
|
-
SUBMIT("Submit"),
|
|
68
|
-
RESET("Reset"),
|
|
69
|
-
AUTO_BUTTON_GROUP("AutoButtonGroup");
|
|
70
|
-
|
|
71
|
-
private final String value;
|
|
72
|
-
|
|
73
|
-
Component(String value) {
|
|
74
|
-
this.value = value;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@Override
|
|
78
|
-
public String wireValue() {
|
|
79
|
-
return value;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
public enum Decorator implements WireValue {
|
|
84
|
-
FORM_ITEM("FormItem");
|
|
85
|
-
|
|
86
|
-
private final String value;
|
|
87
|
-
|
|
88
|
-
Decorator(String value) {
|
|
89
|
-
this.value = value;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@Override
|
|
93
|
-
public String wireValue() {
|
|
94
|
-
return value;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
public enum LayoutType implements WireValue {
|
|
99
|
-
HORIZONTAL("horizontal"),
|
|
100
|
-
VERTICAL("vertical");
|
|
101
|
-
|
|
102
|
-
private final String value;
|
|
103
|
-
|
|
104
|
-
LayoutType(String value) {
|
|
105
|
-
this.value = value;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@Override
|
|
109
|
-
public String wireValue() {
|
|
110
|
-
return value;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
public enum LabelAlign implements WireValue {
|
|
115
|
-
LEFT("left"),
|
|
116
|
-
RIGHT("right");
|
|
117
|
-
|
|
118
|
-
private final String value;
|
|
119
|
-
|
|
120
|
-
LabelAlign(String value) {
|
|
121
|
-
this.value = value;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
@Override
|
|
125
|
-
public String wireValue() {
|
|
126
|
-
return value;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
public enum FormSize implements WireValue {
|
|
131
|
-
SMALL("small"),
|
|
132
|
-
MIDDLE("middle"),
|
|
133
|
-
LARGE("large");
|
|
134
|
-
|
|
135
|
-
private final String value;
|
|
136
|
-
|
|
137
|
-
FormSize(String value) {
|
|
138
|
-
this.value = value;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
@Override
|
|
142
|
-
public String wireValue() {
|
|
143
|
-
return value;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
public enum EventType implements WireValue {
|
|
148
|
-
ON_UPDATE_VALUE("onUpdate:value"),
|
|
149
|
-
ON_CHANGE("onChange"),
|
|
150
|
-
ON_SUBMIT("onSubmit");
|
|
151
|
-
|
|
152
|
-
private final String value;
|
|
153
|
-
|
|
154
|
-
EventType(String value) {
|
|
155
|
-
this.value = value;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
@Override
|
|
159
|
-
public String wireValue() {
|
|
160
|
-
return value;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
public enum ValidatorTrigger implements WireValue {
|
|
165
|
-
ON_BLUR("onBlur"),
|
|
166
|
-
ON_CHANGE("onChange"),
|
|
167
|
-
ON_INPUT("onInput");
|
|
168
|
-
|
|
169
|
-
private final String value;
|
|
170
|
-
|
|
171
|
-
ValidatorTrigger(String value) {
|
|
172
|
-
this.value = value;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
@Override
|
|
176
|
-
public String wireValue() {
|
|
177
|
-
return value;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
public enum DetailOptionKey implements WireValue {
|
|
182
|
-
COLUMNS("columns"),
|
|
183
|
-
BORDERED("bordered"),
|
|
184
|
-
HIDE_EMPTY("hideEmpty"),
|
|
185
|
-
EMPTY_PLACEHOLDER("emptyPlaceholder"),
|
|
186
|
-
LABEL_WIDTH("labelWidth"),
|
|
187
|
-
RESPONSIVE("responsive"),
|
|
188
|
-
MAX_COLUMNS("maxColumns"),
|
|
189
|
-
MIN_COLUMNS("minColumns"),
|
|
190
|
-
MIN_WIDTH("minWidth");
|
|
191
|
-
|
|
192
|
-
private final String value;
|
|
193
|
-
|
|
194
|
-
DetailOptionKey(String value) {
|
|
195
|
-
this.value = value;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
@Override
|
|
199
|
-
public String wireValue() {
|
|
200
|
-
return value;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
public enum FormEffectType implements WireValue {
|
|
205
|
-
ON_FORM_SUBMIT("onFormSubmit"),
|
|
206
|
-
ON_FORM_SUBMIT_FAILED("onFormSubmitFailed");
|
|
207
|
-
|
|
208
|
-
private final String value;
|
|
209
|
-
|
|
210
|
-
FormEffectType(String value) {
|
|
211
|
-
this.value = value;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
@Override
|
|
215
|
-
public String wireValue() {
|
|
216
|
-
return value;
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
public enum FieldEffectType implements WireValue {
|
|
221
|
-
ON_FIELD_VALUE_CHANGE("onFieldValueChange");
|
|
222
|
-
|
|
223
|
-
private final String value;
|
|
224
|
-
|
|
225
|
-
FieldEffectType(String value) {
|
|
226
|
-
this.value = value;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
@Override
|
|
230
|
-
public String wireValue() {
|
|
231
|
-
return value;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
public enum Mode implements WireValue {
|
|
236
|
-
CREATE(0),
|
|
237
|
-
EDIT(1),
|
|
238
|
-
DETAIL(2);
|
|
239
|
-
|
|
240
|
-
private final Integer code;
|
|
241
|
-
|
|
242
|
-
Mode(Integer code) {
|
|
243
|
-
this.code = code;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
@Override
|
|
247
|
-
public Integer wireValue() {
|
|
248
|
-
return code;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
public static FormDefinitionBuilder form() {
|
|
253
|
-
return new FormDefinitionBuilder();
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
public static NodeBuilder input(String name, String title) {
|
|
257
|
-
return field(name, SchemaType.STRING, title, Component.INPUT);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
public static NodeBuilder textArea(String name, String title) {
|
|
261
|
-
return field(name, SchemaType.STRING, title, Component.INPUT_TEXT_AREA);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
public static NodeBuilder inputNumber(String name, String title) {
|
|
265
|
-
return field(name, SchemaType.NUMBER, title, Component.INPUT_NUMBER);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
public static NodeBuilder select(String name, String title) {
|
|
269
|
-
return field(name, SchemaType.STRING, title, Component.SELECT);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
public static NodeBuilder multiSelect(String name, String title) {
|
|
273
|
-
return field(name, SchemaType.ARRAY, title, Component.SELECT).componentProp("mode", "multiple");
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
public static NodeBuilder radioGroup(String name, String title) {
|
|
277
|
-
return field(name, SchemaType.STRING, title, Component.RADIO_GROUP);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
public static NodeBuilder switchField(String name, String title) {
|
|
281
|
-
return field(name, SchemaType.BOOLEAN, title, Component.SWITCH);
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
public static NodeBuilder datePicker(String name, String title) {
|
|
285
|
-
return field(name, SchemaType.STRING, title, Component.DATE_PICKER);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
public static NodeBuilder rangePicker(String name, String title) {
|
|
289
|
-
return field(name, SchemaType.ARRAY, title, Component.DATE_RANGE_PICKER);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
public static NodeBuilder slot(String name, String title, String slotName) {
|
|
293
|
-
return field(name, SchemaType.STRING, title, Component.SLOT).componentProp("name", slotName);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
public static NodeBuilder groupHeader(String name, String title) {
|
|
297
|
-
SchemaNode node = SchemaNode.of(SchemaType.VOID)
|
|
298
|
-
.component(Component.GROUP_HEADER)
|
|
299
|
-
.componentProp("title", title);
|
|
300
|
-
return new NodeBuilder(name, node);
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
public static NodeBuilder submit(String name, String text, String onSubmitExpression) {
|
|
304
|
-
SchemaNode node = SchemaNode.of(SchemaType.VOID)
|
|
305
|
-
.component(Component.SUBMIT)
|
|
306
|
-
.content(text)
|
|
307
|
-
.componentProp(EventType.ON_SUBMIT, onSubmitExpression);
|
|
308
|
-
return new NodeBuilder(name, node);
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
public static NodeBuilder reset(String name, String text) {
|
|
312
|
-
SchemaNode node = SchemaNode.of(SchemaType.VOID)
|
|
313
|
-
.component(Component.RESET)
|
|
314
|
-
.content(text);
|
|
315
|
-
return new NodeBuilder(name, node);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
public static NodeBuilder autoButtonGroup(String name) {
|
|
319
|
-
SchemaNode node = SchemaNode.of(SchemaType.VOID)
|
|
320
|
-
.decorator(Decorator.FORM_ITEM)
|
|
321
|
-
.component(Component.AUTO_BUTTON_GROUP);
|
|
322
|
-
return new NodeBuilder(name, node);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
public static NodeBuilder field(String name, SchemaType type, String title, Component component) {
|
|
326
|
-
SchemaNode node = SchemaNode.of(type)
|
|
327
|
-
.title(title)
|
|
328
|
-
.decorator(Decorator.FORM_ITEM)
|
|
329
|
-
.component(component);
|
|
330
|
-
return new NodeBuilder(name, node);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
public static NodeBuilder field(String name, String type, String title, String component) {
|
|
334
|
-
return new NodeBuilder(name, SchemaNode.of(type).title(title).decorator(Decorator.FORM_ITEM.wireValue().toString()).component(component));
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
public static Option option(Object value, String label) {
|
|
338
|
-
return new Option(value, label);
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
public static EventBinding event(String name, String expression) {
|
|
342
|
-
return new EventBinding(name, expression);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
public static EventBinding event(EventType eventType, String expression) {
|
|
346
|
-
return new EventBinding(eventType.wireValue().toString(), expression);
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
public static Validator requiredValidator(String message) {
|
|
350
|
-
return Validator.required(message);
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
public static Validator asyncValidator(String triggerType, String expression, String message) {
|
|
354
|
-
return Validator.async(triggerType, expression, message);
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
public static Validator asyncValidator(ValidatorTrigger trigger, String expression, String message) {
|
|
358
|
-
return Validator.async(trigger.wireValue().toString(), expression, message);
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
public static Reaction reaction() {
|
|
362
|
-
return new Reaction();
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
public static DictConfig remoteDict(String dictCode, String optionsScopeKey) {
|
|
366
|
-
return new DictConfig(dictCode, optionsScopeKey);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
public static FieldEffect onFieldValueChange(String fieldPattern, String expression) {
|
|
370
|
-
return FieldEffect.of(FieldEffectType.ON_FIELD_VALUE_CHANGE, fieldPattern, expression);
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
public static FormEffect onFormSubmit(String expression) {
|
|
374
|
-
return FormEffect.of(FormEffectType.ON_FORM_SUBMIT, expression);
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
public static FormEffect onFormSubmitFailed(String expression) {
|
|
378
|
-
return FormEffect.of(FormEffectType.ON_FORM_SUBMIT_FAILED, expression);
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
public static final class FormDefinitionBuilder {
|
|
382
|
-
private final YssFormDefinition definition;
|
|
383
|
-
private final SchemaNode layoutNode;
|
|
384
|
-
private final SchemaNode gridNode;
|
|
385
|
-
|
|
386
|
-
public FormDefinitionBuilder() {
|
|
387
|
-
this.definition = new YssFormDefinition();
|
|
388
|
-
this.layoutNode = SchemaNode.of(SchemaType.VOID).component(Component.FORM_LAYOUT);
|
|
389
|
-
this.gridNode = SchemaNode.of(SchemaType.VOID).component(Component.FORM_GRID);
|
|
390
|
-
this.layoutNode.property("grid", this.gridNode);
|
|
391
|
-
this.definition.schema.property("layout", this.layoutNode);
|
|
392
|
-
|
|
393
|
-
horizontal(120);
|
|
394
|
-
gridDefaults(3, 1, 260, 16, 0);
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
public FormDefinitionBuilder horizontal(int labelWidth) {
|
|
398
|
-
this.layoutNode.componentProp("layout", LayoutType.HORIZONTAL);
|
|
399
|
-
this.layoutNode.componentProp("labelWidth", labelWidth);
|
|
400
|
-
return this;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
public FormDefinitionBuilder vertical() {
|
|
404
|
-
this.layoutNode.componentProp("layout", LayoutType.VERTICAL);
|
|
405
|
-
this.layoutNode.removeComponentProp("labelWidth");
|
|
406
|
-
return this;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
public FormDefinitionBuilder labelAlign(LabelAlign labelAlign) {
|
|
410
|
-
this.layoutNode.componentProp("labelAlign", labelAlign);
|
|
411
|
-
return this;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
public FormDefinitionBuilder labelAlign(String labelAlign) {
|
|
415
|
-
this.layoutNode.componentProp("labelAlign", labelAlign);
|
|
416
|
-
return this;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
public FormDefinitionBuilder size(FormSize size) {
|
|
420
|
-
this.layoutNode.componentProp("size", size);
|
|
421
|
-
return this;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
public FormDefinitionBuilder size(String size) {
|
|
425
|
-
this.layoutNode.componentProp("size", size);
|
|
426
|
-
return this;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
public FormDefinitionBuilder gridDefaults(int maxColumns, int minColumns, int minWidth, int columnGap, int rowGap) {
|
|
430
|
-
this.gridNode.componentProp("maxColumns", maxColumns);
|
|
431
|
-
this.gridNode.componentProp("minColumns", minColumns);
|
|
432
|
-
this.gridNode.componentProp("minWidth", minWidth);
|
|
433
|
-
this.gridNode.componentProp("columnGap", columnGap);
|
|
434
|
-
this.gridNode.componentProp("rowGap", rowGap);
|
|
435
|
-
this.definition.gridDefaults.put("maxColumns", maxColumns);
|
|
436
|
-
this.definition.gridDefaults.put("minColumns", minColumns);
|
|
437
|
-
this.definition.gridDefaults.put("minWidth", minWidth);
|
|
438
|
-
this.definition.gridDefaults.put("columnGap", columnGap);
|
|
439
|
-
this.definition.gridDefaults.put("rowGap", rowGap);
|
|
440
|
-
return this;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
public FormDefinitionBuilder mode(Mode mode) {
|
|
444
|
-
this.definition.mode = (Integer) mode.wireValue();
|
|
445
|
-
if (mode == Mode.DETAIL) {
|
|
446
|
-
this.definition.readPretty = true;
|
|
447
|
-
}
|
|
448
|
-
return this;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
public FormDefinitionBuilder readPretty(boolean readPretty) {
|
|
452
|
-
this.definition.readPretty = readPretty;
|
|
453
|
-
return this;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
public FormDefinitionBuilder initialValues(Map<String, Object> initialValues) {
|
|
457
|
-
this.definition.initialValues = initialValues;
|
|
458
|
-
return this;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
public FormDefinitionBuilder modelShape(Map<String, Object> modelShape) {
|
|
462
|
-
this.definition.modelShape = modelShape;
|
|
463
|
-
return this;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
public FormDefinitionBuilder scopeKey(String scopeKey) {
|
|
467
|
-
this.definition.scopeKeys.add(scopeKey);
|
|
468
|
-
return this;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
public FormDefinitionBuilder scopeKeys(String... scopeKeys) {
|
|
472
|
-
this.definition.scopeKeys.addAll(Arrays.asList(scopeKeys));
|
|
473
|
-
return this;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
public FormDefinitionBuilder componentKey(String componentKey) {
|
|
477
|
-
this.definition.componentKeys.add(componentKey);
|
|
478
|
-
return this;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
public FormDefinitionBuilder components(String... componentKeys) {
|
|
482
|
-
this.definition.componentKeys.addAll(Arrays.asList(componentKeys));
|
|
483
|
-
return this;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
public FormDefinitionBuilder detailOption(DetailOptionKey key, Object value) {
|
|
487
|
-
this.definition.detailOptions.put(key.wireValue().toString(), unwrap(value));
|
|
488
|
-
return this;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
public FormDefinitionBuilder detailOption(String key, Object value) {
|
|
492
|
-
this.definition.detailOptions.put(key, unwrap(value));
|
|
493
|
-
return this;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
public FormDefinitionBuilder detailOptions(Map<String, Object> detailOptions) {
|
|
497
|
-
this.definition.detailOptions.putAll(detailOptions);
|
|
498
|
-
return this;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
public FormDefinitionBuilder effect(FormEffect effect) {
|
|
502
|
-
this.definition.formEffects.add(effect);
|
|
503
|
-
return this;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
public FormDefinitionBuilder effects(FormEffect... effects) {
|
|
507
|
-
this.definition.formEffects.addAll(Arrays.asList(effects));
|
|
508
|
-
return this;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
public FormDefinitionBuilder fieldEffect(FieldEffect fieldEffect) {
|
|
512
|
-
this.definition.fieldEffects.add(fieldEffect);
|
|
513
|
-
return this;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
public FormDefinitionBuilder fieldEffects(FieldEffect... fieldEffects) {
|
|
517
|
-
this.definition.fieldEffects.addAll(Arrays.asList(fieldEffects));
|
|
518
|
-
return this;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
public FormDefinitionBuilder node(NodeBuilder builder) {
|
|
522
|
-
this.gridNode.property(builder.name(), builder.build());
|
|
523
|
-
return this;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
public FormDefinitionBuilder nodes(NodeBuilder... builders) {
|
|
527
|
-
for (NodeBuilder builder : builders) {
|
|
528
|
-
node(builder);
|
|
529
|
-
}
|
|
530
|
-
return this;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
public YssFormDefinition build() {
|
|
534
|
-
return this.definition;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
public Map<String, Object> buildMap() {
|
|
538
|
-
return this.definition.toMap();
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
public static final class NodeBuilder {
|
|
543
|
-
private final String name;
|
|
544
|
-
private final SchemaNode node;
|
|
545
|
-
|
|
546
|
-
private NodeBuilder(String name, SchemaNode node) {
|
|
547
|
-
this.name = name;
|
|
548
|
-
this.node = node;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
public String name() {
|
|
552
|
-
return name;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
public SchemaNode build() {
|
|
556
|
-
return node;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
public NodeBuilder title(String title) {
|
|
560
|
-
node.title(title);
|
|
561
|
-
return this;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
public NodeBuilder required() {
|
|
565
|
-
node.required(true);
|
|
566
|
-
return this;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
public NodeBuilder required(boolean required) {
|
|
570
|
-
node.required(required);
|
|
571
|
-
return this;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
public NodeBuilder decorator(Decorator decorator) {
|
|
575
|
-
node.decorator(decorator);
|
|
576
|
-
return this;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
public NodeBuilder decorator(String decorator) {
|
|
580
|
-
node.decorator(decorator);
|
|
581
|
-
return this;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
public NodeBuilder component(Component component) {
|
|
585
|
-
node.component(component);
|
|
586
|
-
return this;
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
public NodeBuilder component(String component) {
|
|
590
|
-
node.component(component);
|
|
591
|
-
return this;
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
public NodeBuilder componentProp(String key, Object value) {
|
|
595
|
-
node.componentProp(key, value);
|
|
596
|
-
return this;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
public NodeBuilder decoratorProp(String key, Object value) {
|
|
600
|
-
node.decoratorProp(key, value);
|
|
601
|
-
return this;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
public NodeBuilder placeholder(String placeholder) {
|
|
605
|
-
node.componentProp("placeholder", placeholder);
|
|
606
|
-
return this;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
public NodeBuilder tooltip(String tooltip) {
|
|
610
|
-
node.decoratorProp("tooltip", tooltip);
|
|
611
|
-
return this;
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
public NodeBuilder gridSpan(int gridSpan) {
|
|
615
|
-
node.decoratorProp("gridSpan", gridSpan);
|
|
616
|
-
return this;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
public NodeBuilder visibleExpr(String expression) {
|
|
620
|
-
node.xVisible(expression);
|
|
621
|
-
return this;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
public NodeBuilder disabledExpr(String expression) {
|
|
625
|
-
node.xDisabled(expression);
|
|
626
|
-
return this;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
public NodeBuilder reactions(Object reactions) {
|
|
630
|
-
node.xReactions(reactions);
|
|
631
|
-
return this;
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
public NodeBuilder reaction(Reaction reaction) {
|
|
635
|
-
node.reaction(reaction);
|
|
636
|
-
return this;
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
public NodeBuilder event(String eventName, String expression) {
|
|
640
|
-
node.event(new EventBinding(eventName, expression));
|
|
641
|
-
return this;
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
public NodeBuilder event(EventType eventType, String expression) {
|
|
645
|
-
node.event(new EventBinding(eventType.wireValue().toString(), expression));
|
|
646
|
-
return this;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
public NodeBuilder event(EventBinding eventBinding) {
|
|
650
|
-
node.event(eventBinding);
|
|
651
|
-
return this;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
public NodeBuilder validator(Validator validator) {
|
|
655
|
-
node.validator(validator);
|
|
656
|
-
return this;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
public NodeBuilder validators(Validator... validators) {
|
|
660
|
-
node.validators(Arrays.asList(validators));
|
|
661
|
-
return this;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
public NodeBuilder previewFormat(String expression) {
|
|
665
|
-
node.previewFormat(expression);
|
|
666
|
-
return this;
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
public NodeBuilder content(String content) {
|
|
670
|
-
node.content(content);
|
|
671
|
-
return this;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
public NodeBuilder option(Object value, String label) {
|
|
675
|
-
node.option(value, label);
|
|
676
|
-
return this;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
public NodeBuilder options(Option... options) {
|
|
680
|
-
node.options(Arrays.asList(options));
|
|
681
|
-
return this;
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
public NodeBuilder enumExpression(String expression) {
|
|
685
|
-
node.setEnum(expression);
|
|
686
|
-
return this;
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
public NodeBuilder remoteDict(DictConfig dictConfig) {
|
|
690
|
-
node.remoteDict(dictConfig);
|
|
691
|
-
return this;
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
public NodeBuilder property(String childName, SchemaNode childNode) {
|
|
695
|
-
node.property(childName, childNode);
|
|
696
|
-
return this;
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
public static final class YssFormDefinition {
|
|
701
|
-
private final YssSchema schema = new YssSchema();
|
|
702
|
-
private Integer mode = (Integer) Mode.CREATE.wireValue();
|
|
703
|
-
private Boolean readPretty = false;
|
|
704
|
-
private Map<String, Object> initialValues = new LinkedHashMap<>();
|
|
705
|
-
private Map<String, Object> modelShape = new LinkedHashMap<>();
|
|
706
|
-
private final Map<String, Object> detailOptions = new LinkedHashMap<>();
|
|
707
|
-
private final Map<String, Object> gridDefaults = new LinkedHashMap<>();
|
|
708
|
-
private final List<String> scopeKeys = new ArrayList<>();
|
|
709
|
-
private final List<String> componentKeys = new ArrayList<>();
|
|
710
|
-
private final List<FormEffect> formEffects = new ArrayList<>();
|
|
711
|
-
private final List<FieldEffect> fieldEffects = new ArrayList<>();
|
|
712
|
-
|
|
713
|
-
public Map<String, Object> toMap() {
|
|
714
|
-
Map<String, Object> result = new LinkedHashMap<>();
|
|
715
|
-
result.put("schema", schema.toMap());
|
|
716
|
-
putIfNotNull(result, "mode", mode);
|
|
717
|
-
putIfNotNull(result, "readPretty", readPretty);
|
|
718
|
-
putIfNotEmpty(result, "initialValues", initialValues);
|
|
719
|
-
putIfNotEmpty(result, "modelShape", modelShape);
|
|
720
|
-
putIfNotEmpty(result, "detailOptions", detailOptions);
|
|
721
|
-
putIfNotEmpty(result, "gridDefaults", gridDefaults);
|
|
722
|
-
putIfNotEmpty(result, "scopeKeys", scopeKeys);
|
|
723
|
-
putIfNotEmpty(result, "componentKeys", componentKeys);
|
|
724
|
-
putIfNotEmpty(result, "effects", convertNamedList(formEffects));
|
|
725
|
-
putIfNotEmpty(result, "fieldEffects", convertNamedList(fieldEffects));
|
|
726
|
-
return result;
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
public static final class YssSchema {
|
|
731
|
-
private final String type = SchemaType.OBJECT.wireValue().toString();
|
|
732
|
-
private final Map<String, SchemaNode> properties = new LinkedHashMap<>();
|
|
733
|
-
|
|
734
|
-
public YssSchema property(String name, SchemaNode node) {
|
|
735
|
-
this.properties.put(name, node);
|
|
736
|
-
return this;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
public Map<String, Object> toMap() {
|
|
740
|
-
Map<String, Object> result = new LinkedHashMap<>();
|
|
741
|
-
result.put("type", type);
|
|
742
|
-
result.put("properties", convertProperties(properties));
|
|
743
|
-
return result;
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
public static final class SchemaNode {
|
|
748
|
-
private String type;
|
|
749
|
-
private String title;
|
|
750
|
-
private Boolean required;
|
|
751
|
-
private String xComponent;
|
|
752
|
-
private String xDecorator;
|
|
753
|
-
private final Map<String, Object> xComponentProps = new LinkedHashMap<>();
|
|
754
|
-
private final Map<String, Object> xDecoratorProps = new LinkedHashMap<>();
|
|
755
|
-
private Object xVisible;
|
|
756
|
-
private Object xDisabled;
|
|
757
|
-
private Object xReactions;
|
|
758
|
-
private Object xEnum;
|
|
759
|
-
private Object xValidator;
|
|
760
|
-
private String xPreviewFormat;
|
|
761
|
-
private String xContent;
|
|
762
|
-
private final Map<String, SchemaNode> properties = new LinkedHashMap<>();
|
|
763
|
-
private DictConfig dictConfig;
|
|
764
|
-
|
|
765
|
-
public static SchemaNode of(SchemaType type) {
|
|
766
|
-
return of(type.wireValue().toString());
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
public static SchemaNode of(String type) {
|
|
770
|
-
SchemaNode node = new SchemaNode();
|
|
771
|
-
node.type = type;
|
|
772
|
-
return node;
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
public SchemaNode title(String title) {
|
|
776
|
-
this.title = title;
|
|
777
|
-
return this;
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
public SchemaNode required(Boolean required) {
|
|
781
|
-
this.required = required;
|
|
782
|
-
return this;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
public SchemaNode component(Component xComponent) {
|
|
786
|
-
this.xComponent = xComponent.wireValue().toString();
|
|
787
|
-
return this;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
public SchemaNode component(String xComponent) {
|
|
791
|
-
this.xComponent = xComponent;
|
|
792
|
-
return this;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
public SchemaNode decorator(Decorator xDecorator) {
|
|
796
|
-
this.xDecorator = xDecorator.wireValue().toString();
|
|
797
|
-
return this;
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
public SchemaNode decorator(String xDecorator) {
|
|
801
|
-
this.xDecorator = xDecorator;
|
|
802
|
-
return this;
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
public SchemaNode componentProp(String key, Object value) {
|
|
806
|
-
this.xComponentProps.put(key, unwrap(value));
|
|
807
|
-
return this;
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
public SchemaNode removeComponentProp(String key) {
|
|
811
|
-
this.xComponentProps.remove(key);
|
|
812
|
-
return this;
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
public SchemaNode decoratorProp(String key, Object value) {
|
|
816
|
-
this.xDecoratorProps.put(key, unwrap(value));
|
|
817
|
-
return this;
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
public SchemaNode xVisible(Object xVisible) {
|
|
821
|
-
this.xVisible = unwrap(xVisible);
|
|
822
|
-
return this;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
public SchemaNode xDisabled(Object xDisabled) {
|
|
826
|
-
this.xDisabled = unwrap(xDisabled);
|
|
827
|
-
return this;
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
public SchemaNode xReactions(Object xReactions) {
|
|
831
|
-
this.xReactions = unwrap(xReactions);
|
|
832
|
-
return this;
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
public SchemaNode reaction(Reaction reaction) {
|
|
836
|
-
if (!(xReactions instanceof List<?>)) {
|
|
837
|
-
xReactions = new ArrayList<Map<String, Object>>();
|
|
838
|
-
}
|
|
839
|
-
@SuppressWarnings("unchecked")
|
|
840
|
-
List<Map<String, Object>> reactions = (List<Map<String, Object>>) xReactions;
|
|
841
|
-
reactions.add(reaction.toMap());
|
|
842
|
-
return this;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
public SchemaNode event(EventBinding eventBinding) {
|
|
846
|
-
this.xComponentProps.put(eventBinding.name, eventBinding.expression);
|
|
847
|
-
return this;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
public SchemaNode validator(Validator validator) {
|
|
851
|
-
if (!(xValidator instanceof List<?>)) {
|
|
852
|
-
xValidator = new ArrayList<Map<String, Object>>();
|
|
853
|
-
}
|
|
854
|
-
@SuppressWarnings("unchecked")
|
|
855
|
-
List<Map<String, Object>> validators = (List<Map<String, Object>>) xValidator;
|
|
856
|
-
validators.add(validator.toMap());
|
|
857
|
-
return this;
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
public SchemaNode validators(List<Validator> validators) {
|
|
861
|
-
List<Map<String, Object>> result = new ArrayList<>();
|
|
862
|
-
for (Validator validator : validators) {
|
|
863
|
-
result.add(validator.toMap());
|
|
864
|
-
}
|
|
865
|
-
this.xValidator = result;
|
|
866
|
-
return this;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
public SchemaNode previewFormat(String expression) {
|
|
870
|
-
this.xPreviewFormat = expression;
|
|
871
|
-
return this;
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
public SchemaNode setEnum(Object xEnum) {
|
|
875
|
-
this.xEnum = unwrap(xEnum);
|
|
876
|
-
return this;
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
public SchemaNode content(String xContent) {
|
|
880
|
-
this.xContent = xContent;
|
|
881
|
-
return this;
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
public SchemaNode option(Object value, String label) {
|
|
885
|
-
if (!(xEnum instanceof List<?>)) {
|
|
886
|
-
xEnum = new ArrayList<Map<String, Object>>();
|
|
887
|
-
}
|
|
888
|
-
@SuppressWarnings("unchecked")
|
|
889
|
-
List<Map<String, Object>> options = (List<Map<String, Object>>) xEnum;
|
|
890
|
-
Map<String, Object> option = new LinkedHashMap<>();
|
|
891
|
-
option.put("label", label);
|
|
892
|
-
option.put("value", value);
|
|
893
|
-
options.add(option);
|
|
894
|
-
return this;
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
public SchemaNode options(List<Option> options) {
|
|
898
|
-
List<Map<String, Object>> values = new ArrayList<>();
|
|
899
|
-
for (Option option : options) {
|
|
900
|
-
values.add(option.toMap());
|
|
901
|
-
}
|
|
902
|
-
this.xEnum = values;
|
|
903
|
-
return this;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
public SchemaNode remoteDict(DictConfig dictConfig) {
|
|
907
|
-
this.dictConfig = dictConfig;
|
|
908
|
-
this.xEnum = dictConfig.toEnumExpression();
|
|
909
|
-
if (dictConfig.previewFormatExpression != null) {
|
|
910
|
-
this.xPreviewFormat = dictConfig.previewFormatExpression;
|
|
911
|
-
}
|
|
912
|
-
return this;
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
public SchemaNode property(String name, SchemaNode node) {
|
|
916
|
-
this.properties.put(name, node);
|
|
917
|
-
return this;
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
public Map<String, Object> toMap() {
|
|
921
|
-
Map<String, Object> result = new LinkedHashMap<>();
|
|
922
|
-
putIfNotNull(result, "type", type);
|
|
923
|
-
putIfNotNull(result, "title", title);
|
|
924
|
-
putIfNotNull(result, "required", required);
|
|
925
|
-
putIfNotNull(result, "x-component", xComponent);
|
|
926
|
-
putIfNotNull(result, "x-decorator", xDecorator);
|
|
927
|
-
putIfNotEmpty(result, "x-component-props", xComponentProps);
|
|
928
|
-
putIfNotEmpty(result, "x-decorator-props", xDecoratorProps);
|
|
929
|
-
putIfNotNull(result, "x-visible", xVisible);
|
|
930
|
-
putIfNotNull(result, "x-disabled", xDisabled);
|
|
931
|
-
putIfNotNull(result, "x-reactions", xReactions);
|
|
932
|
-
putIfNotNull(result, "enum", xEnum);
|
|
933
|
-
putIfNotNull(result, "x-validator", xValidator);
|
|
934
|
-
putIfNotNull(result, "x-preview-format", xPreviewFormat);
|
|
935
|
-
putIfNotNull(result, "x-content", xContent);
|
|
936
|
-
if (dictConfig != null) {
|
|
937
|
-
result.put("x-yss-dict", dictConfig.toMap());
|
|
938
|
-
}
|
|
939
|
-
if (!properties.isEmpty()) {
|
|
940
|
-
result.put("properties", convertProperties(properties));
|
|
941
|
-
}
|
|
942
|
-
return result;
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
public static final class EventBinding {
|
|
947
|
-
private final String name;
|
|
948
|
-
private final String expression;
|
|
949
|
-
|
|
950
|
-
public EventBinding(String name, String expression) {
|
|
951
|
-
this.name = name;
|
|
952
|
-
this.expression = expression;
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
public static final class DictConfig {
|
|
957
|
-
private final String dictCode;
|
|
958
|
-
private final String optionsScopeKey;
|
|
959
|
-
private String labelKey = "label";
|
|
960
|
-
private String valueKey = "value";
|
|
961
|
-
private String previewFormatExpression;
|
|
962
|
-
private String optionsExpression;
|
|
963
|
-
|
|
964
|
-
public DictConfig(String dictCode, String optionsScopeKey) {
|
|
965
|
-
this.dictCode = dictCode;
|
|
966
|
-
this.optionsScopeKey = optionsScopeKey;
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
public DictConfig labelKey(String labelKey) {
|
|
970
|
-
this.labelKey = labelKey;
|
|
971
|
-
return this;
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
public DictConfig valueKey(String valueKey) {
|
|
975
|
-
this.valueKey = valueKey;
|
|
976
|
-
return this;
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
public DictConfig optionsExpression(String optionsExpression) {
|
|
980
|
-
this.optionsExpression = optionsExpression;
|
|
981
|
-
return this;
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
public DictConfig previewFormat(String previewFormatExpression) {
|
|
985
|
-
this.previewFormatExpression = previewFormatExpression;
|
|
986
|
-
return this;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
public String toEnumExpression() {
|
|
990
|
-
if (optionsExpression != null) {
|
|
991
|
-
return optionsExpression;
|
|
992
|
-
}
|
|
993
|
-
return "{{ dicts." + optionsScopeKey + " }}";
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
public Map<String, Object> toMap() {
|
|
997
|
-
Map<String, Object> result = new LinkedHashMap<>();
|
|
998
|
-
result.put("dictCode", dictCode);
|
|
999
|
-
result.put("optionsScopeKey", optionsScopeKey);
|
|
1000
|
-
result.put("labelKey", labelKey);
|
|
1001
|
-
result.put("valueKey", valueKey);
|
|
1002
|
-
putIfNotNull(result, "previewFormatExpression", previewFormatExpression);
|
|
1003
|
-
putIfNotNull(result, "optionsExpression", optionsExpression);
|
|
1004
|
-
return result;
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
public static final class Validator {
|
|
1009
|
-
private final Map<String, Object> attributes = new LinkedHashMap<>();
|
|
1010
|
-
|
|
1011
|
-
public static Validator required(String message) {
|
|
1012
|
-
Validator validator = new Validator();
|
|
1013
|
-
validator.attributes.put("required", true);
|
|
1014
|
-
putIfNotNull(validator.attributes, "message", message);
|
|
1015
|
-
return validator;
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
public static Validator async(String triggerType, String expression, String message) {
|
|
1019
|
-
Validator validator = new Validator();
|
|
1020
|
-
validator.attributes.put("triggerType", triggerType);
|
|
1021
|
-
validator.attributes.put("validator", expression);
|
|
1022
|
-
putIfNotNull(validator.attributes, "message", message);
|
|
1023
|
-
validator.attributes.put("async", true);
|
|
1024
|
-
return validator;
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
public Validator pattern(String pattern) {
|
|
1028
|
-
attributes.put("pattern", pattern);
|
|
1029
|
-
return this;
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
public Validator max(int max) {
|
|
1033
|
-
attributes.put("max", max);
|
|
1034
|
-
return this;
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
public Validator min(int min) {
|
|
1038
|
-
attributes.put("min", min);
|
|
1039
|
-
return this;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
public Validator message(String message) {
|
|
1043
|
-
attributes.put("message", message);
|
|
1044
|
-
return this;
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
public Map<String, Object> toMap() {
|
|
1048
|
-
return attributes;
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
public static final class Reaction {
|
|
1053
|
-
private final List<String> dependencies = new ArrayList<>();
|
|
1054
|
-
private final Map<String, Object> fulfillState = new LinkedHashMap<>();
|
|
1055
|
-
private final Map<String, Object> otherwiseState = new LinkedHashMap<>();
|
|
1056
|
-
private String whenExpression;
|
|
1057
|
-
private String runExpression;
|
|
1058
|
-
|
|
1059
|
-
public Reaction dependency(String dependency) {
|
|
1060
|
-
this.dependencies.add(dependency);
|
|
1061
|
-
return this;
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
public Reaction dependencies(String... dependencies) {
|
|
1065
|
-
this.dependencies.addAll(Arrays.asList(dependencies));
|
|
1066
|
-
return this;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
public Reaction when(String whenExpression) {
|
|
1070
|
-
this.whenExpression = whenExpression;
|
|
1071
|
-
return this;
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
public Reaction run(String runExpression) {
|
|
1075
|
-
this.runExpression = runExpression;
|
|
1076
|
-
return this;
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
public Reaction fulfillState(String key, Object value) {
|
|
1080
|
-
this.fulfillState.put(key, unwrap(value));
|
|
1081
|
-
return this;
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
public Reaction otherwiseState(String key, Object value) {
|
|
1085
|
-
this.otherwiseState.put(key, unwrap(value));
|
|
1086
|
-
return this;
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
public Map<String, Object> toMap() {
|
|
1090
|
-
Map<String, Object> result = new LinkedHashMap<>();
|
|
1091
|
-
putIfNotEmpty(result, "dependencies", dependencies);
|
|
1092
|
-
putIfNotNull(result, "when", whenExpression);
|
|
1093
|
-
putIfNotNull(result, "run", runExpression);
|
|
1094
|
-
if (!fulfillState.isEmpty()) {
|
|
1095
|
-
Map<String, Object> fulfill = new LinkedHashMap<>();
|
|
1096
|
-
fulfill.put("state", fulfillState);
|
|
1097
|
-
result.put("fulfill", fulfill);
|
|
1098
|
-
}
|
|
1099
|
-
if (!otherwiseState.isEmpty()) {
|
|
1100
|
-
Map<String, Object> otherwise = new LinkedHashMap<>();
|
|
1101
|
-
otherwise.put("state", otherwiseState);
|
|
1102
|
-
result.put("otherwise", otherwise);
|
|
1103
|
-
}
|
|
1104
|
-
return result;
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
public static final class FormEffect implements HasMapValue {
|
|
1109
|
-
private final String type;
|
|
1110
|
-
private final String expression;
|
|
1111
|
-
|
|
1112
|
-
private FormEffect(String type, String expression) {
|
|
1113
|
-
this.type = type;
|
|
1114
|
-
this.expression = expression;
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
public static FormEffect of(FormEffectType type, String expression) {
|
|
1118
|
-
return new FormEffect(type.wireValue().toString(), expression);
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
public static FormEffect of(String type, String expression) {
|
|
1122
|
-
return new FormEffect(type, expression);
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
@Override
|
|
1126
|
-
public Map<String, Object> toMap() {
|
|
1127
|
-
Map<String, Object> result = new LinkedHashMap<>();
|
|
1128
|
-
result.put("type", type);
|
|
1129
|
-
result.put("expression", expression);
|
|
1130
|
-
return result;
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
public static final class FieldEffect implements HasMapValue {
|
|
1135
|
-
private final String type;
|
|
1136
|
-
private final String fieldPattern;
|
|
1137
|
-
private final String expression;
|
|
1138
|
-
|
|
1139
|
-
private FieldEffect(String type, String fieldPattern, String expression) {
|
|
1140
|
-
this.type = type;
|
|
1141
|
-
this.fieldPattern = fieldPattern;
|
|
1142
|
-
this.expression = expression;
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
public static FieldEffect of(FieldEffectType type, String fieldPattern, String expression) {
|
|
1146
|
-
return new FieldEffect(type.wireValue().toString(), fieldPattern, expression);
|
|
1147
|
-
}
|
|
1148
|
-
|
|
1149
|
-
@Override
|
|
1150
|
-
public Map<String, Object> toMap() {
|
|
1151
|
-
Map<String, Object> result = new LinkedHashMap<>();
|
|
1152
|
-
result.put("type", type);
|
|
1153
|
-
result.put("fieldPattern", fieldPattern);
|
|
1154
|
-
result.put("expression", expression);
|
|
1155
|
-
return result;
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
public static final class Option {
|
|
1160
|
-
private final Object value;
|
|
1161
|
-
private final String label;
|
|
1162
|
-
|
|
1163
|
-
public Option(Object value, String label) {
|
|
1164
|
-
this.value = value;
|
|
1165
|
-
this.label = label;
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
public Map<String, Object> toMap() {
|
|
1169
|
-
Map<String, Object> result = new LinkedHashMap<>();
|
|
1170
|
-
result.put("label", label);
|
|
1171
|
-
result.put("value", value);
|
|
1172
|
-
return result;
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
private static Map<String, Object> convertProperties(Map<String, SchemaNode> properties) {
|
|
1177
|
-
if (properties == null || properties.isEmpty()) {
|
|
1178
|
-
return Collections.emptyMap();
|
|
1179
|
-
}
|
|
1180
|
-
Map<String, Object> result = new LinkedHashMap<>();
|
|
1181
|
-
for (Map.Entry<String, SchemaNode> entry : properties.entrySet()) {
|
|
1182
|
-
result.put(entry.getKey(), entry.getValue().toMap());
|
|
1183
|
-
}
|
|
1184
|
-
return result;
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
private static List<Map<String, Object>> convertNamedList(List<? extends HasMapValue> values) {
|
|
1188
|
-
List<Map<String, Object>> result = new ArrayList<>();
|
|
1189
|
-
for (HasMapValue value : values) {
|
|
1190
|
-
result.add(value.toMap());
|
|
1191
|
-
}
|
|
1192
|
-
return result;
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
private static Object unwrap(Object value) {
|
|
1196
|
-
if (value instanceof WireValue) {
|
|
1197
|
-
return ((WireValue) value).wireValue();
|
|
1198
|
-
}
|
|
1199
|
-
return value;
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
private static void putIfNotNull(Map<String, Object> map, String key, Object value) {
|
|
1203
|
-
if (value != null) {
|
|
1204
|
-
map.put(key, value);
|
|
1205
|
-
}
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
private static void putIfNotEmpty(Map<String, Object> map, String key, Map<String, Object> value) {
|
|
1209
|
-
if (value != null && !value.isEmpty()) {
|
|
1210
|
-
map.put(key, value);
|
|
1211
|
-
}
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
private static void putIfNotEmpty(Map<String, Object> map, String key, List<?> value) {
|
|
1215
|
-
if (value != null && !value.isEmpty()) {
|
|
1216
|
-
map.put(key, value);
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
}
|