aiwf 0.3.1 β 0.3.3
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/.aiwf/00_PROJECT_MANIFEST.md +183 -0
- package/.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md +121 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_ADVANCED_USE_CASES.md +412 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_API_REFERENCE.md +361 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_COMMANDS_GUIDE.md +254 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_FAQ.md +365 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_SYSTEM_OVERVIEW.md +305 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_USER_GUIDE.md +416 -0
- package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_/354/213/234/354/236/221_/352/260/200/354/235/264/353/223/234.md +247 -0
- package/.aiwf/02_REQUIREMENTS/CLAUDE.md +78 -0
- package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/M02_milestone_meta.md +34 -0
- package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/PRD_Context_Engineering_Enhancement.md +108 -0
- package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_AI_Persona_System.md +299 -0
- package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_Feature_Ledger_System.md +330 -0
- package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_Token_Optimization.md +833 -0
- package/.aiwf/03_SPRINTS/CLAUDE.md +83 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/S01_M02_sprint_meta.md +95 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX01_S01_Feature_Ledger_/353/215/260/354/235/264/355/204/260_/352/265/254/354/241/260_/354/204/244/352/263/204.md +111 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX02_S01_Feature_Ledger_CLI_/353/252/205/353/240/271/354/226/264_/352/260/234/353/260/234.md +115 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX03_S01_Git_/354/227/260/353/217/231_Feature_/354/266/224/354/240/201.md +141 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX04_S01_Feature_Ledger_/353/254/270/354/204/234/355/231/224.md +114 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX05_S01_AI_/355/216/230/353/245/264/354/206/214/353/202/230_/353/215/260/354/235/264/355/204/260_/352/265/254/354/241/260_/354/204/244/352/263/204.md +123 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX06_S01_/355/216/230/353/245/264/354/206/214/353/202/230_/352/264/200/353/246/254_/353/252/205/353/240/271/354/226/264_/352/265/254/355/230/204.md +114 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX07_S01_Context_/354/225/225/354/266/225_/354/225/204/355/202/244/355/205/215/354/262/230_/354/204/244/352/263/204.md +114 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX08_S01_/355/206/240/355/201/260_/354/266/224/354/240/201_/354/213/234/354/212/244/355/205/234_/355/224/204/353/241/234/355/206/240/355/203/200/354/236/205.md +112 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX09_S01_/354/225/225/354/266/225_/354/225/214/352/263/240/353/246/254/354/246/230_/355/224/204/353/241/234/355/206/240/355/203/200/354/236/205.md +118 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX10_S01_update_docs_/353/252/205/353/240/271/354/226/264_/353/263/265/352/265/254.md +118 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX11_S01_/355/206/265/355/225/251_/355/205/214/354/212/244/355/212/270_Suite_/352/265/254/354/266/225.md +128 -0
- package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX12_S01_/354/204/261/353/212/245_/354/265/234/354/240/201/355/231/224_/353/260/217_/353/254/270/354/204/234/355/231/224.md +122 -0
- package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/S02_M02_sprint_meta.md +107 -0
- package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX01_S02_AI_/355/216/230/353/245/264/354/206/214/353/202/230_/353/252/205/353/240/271/354/226/264_/352/265/254/355/230/204.md +129 -0
- package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX02_S02_/355/216/230/353/245/264/354/206/214/353/202/230_/354/273/250/355/205/215/354/212/244/355/212/270_/354/240/201/354/232/251_/354/213/234/354/212/244/355/205/234.md +152 -0
- package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX03_S02_Context_/354/225/225/354/266/225_/354/225/214/352/263/240/353/246/254/354/246/230_/352/265/254/355/230/204.md +186 -0
- package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX05_S02_S02_/355/206/265/355/225/251_/355/205/214/354/212/244/355/212/270_/353/260/217_/353/254/270/354/204/234/355/231/224.md +192 -0
- package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX4_S02_Feature_Git_/354/227/260/353/217/231_/353/260/217_/354/236/220/353/217/231/355/231/224.md +162 -0
- package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/S03_FINAL_SPRINT_SUMMARY.md +137 -0
- package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/S03_M02_sprint_meta.md +106 -0
- package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/TX14_S03_M02_/353/247/210/354/235/274/354/212/244/355/206/244_/354/265/234/354/242/205_/352/262/200/354/246/235_/353/260/217_/353/254/270/354/204/234/355/231/224.md +214 -0
- package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/TX15_S03_/352/270/260/353/263/270_/355/224/204/353/241/234/354/240/235/355/212/270_/355/205/234/355/224/214/353/246/277_/352/260/234/353/260/234.md +177 -0
- package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/TX16_S03_/354/230/244/355/224/204/353/235/274/354/235/270_/355/205/234/355/224/214/353/246/277_/354/272/220/354/213/234_/354/213/234/354/212/244/355/205/234.md +206 -0
- package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/TX_T13_S03_AI_/353/217/204/352/265/254_/355/206/265/355/225/251_/355/205/234/355/224/214/353/246/277_/352/260/234/353/260/234.md +151 -0
- package/.aiwf/04_GENERAL_TASKS/CLAUDE.md +96 -0
- package/.aiwf/04_GENERAL_TASKS/TX001_complete_english_translation.md +127 -0
- package/.aiwf/05_DOCUMENTATION/performance-report.md +33 -0
- package/.aiwf/06_FEATURE_LEDGERS/FEATURE_GIT_INTEGRATION.md +314 -0
- package/.aiwf/06_FEATURE_LEDGERS/FEATURE_INTEGRATION_GUIDE.md +227 -0
- package/.aiwf/06_FEATURE_LEDGERS/FEATURE_LEDGER_INDEX.md +23 -0
- package/.aiwf/06_FEATURE_LEDGERS/FEATURE_SCHEMA.md +205 -0
- package/.aiwf/06_FEATURE_LEDGERS/FEATURE_STATE_DIAGRAM.md +190 -0
- package/.aiwf/06_FEATURE_LEDGERS/active/FL001_user_authentication_system.md +47 -0
- package/.aiwf/06_FEATURE_LEDGERS/active/FL002_user_authentication_system.md +47 -0
- package/.aiwf/07_AI_PERSONAS/PERSONA_INDEX.md +57 -0
- package/.aiwf/07_AI_PERSONAS/architect/best_practices.md +104 -0
- package/.aiwf/07_AI_PERSONAS/architect/context_rules.md +46 -0
- package/.aiwf/07_AI_PERSONAS/architect/knowledge_base.md +235 -0
- package/.aiwf/07_AI_PERSONAS/backend/best_practices.md +363 -0
- package/.aiwf/07_AI_PERSONAS/backend/context_rules.md +61 -0
- package/.aiwf/07_AI_PERSONAS/backend/knowledge_base.md +623 -0
- package/.aiwf/07_AI_PERSONAS/data_analyst/best_practices.md +32 -0
- package/.aiwf/07_AI_PERSONAS/data_analyst/context_rules.md +43 -0
- package/.aiwf/07_AI_PERSONAS/data_analyst/knowledge_base.md +36 -0
- package/.aiwf/07_AI_PERSONAS/frontend/best_practices.md +31 -0
- package/.aiwf/07_AI_PERSONAS/frontend/context_rules.md +43 -0
- package/.aiwf/07_AI_PERSONAS/frontend/knowledge_base.md +32 -0
- package/.aiwf/07_AI_PERSONAS/security/best_practices.md +63 -0
- package/.aiwf/07_AI_PERSONAS/security/context_rules.md +53 -0
- package/.aiwf/07_AI_PERSONAS/security/knowledge_base.md +93 -0
- package/.aiwf/10_PERSONAS/active.json +1 -0
- package/.aiwf/10_PERSONAS/developer.md +37 -0
- package/.aiwf/10_STATE_OF_PROJECT/2025-07-09-07-20-solid-progress.md +144 -0
- package/.aiwf/98_PROMPTS/SAAS_DEVELOPMENT_GUIDE.md +302 -0
- package/.aiwf/98_PROMPTS/github_integration.md +130 -0
- package/.aiwf/98_PROMPTS/useful-prompts.md +31 -0
- package/.aiwf/98_PROMPTS/vibe-front-prompts.md +89 -0
- package/.aiwf/99_TEMPLATES/adr_template.md +49 -0
- package/.aiwf/99_TEMPLATES/feature_template.md +263 -0
- package/.aiwf/99_TEMPLATES/milestone_meta_template.md +25 -0
- package/.aiwf/99_TEMPLATES/project_manifest_template.md +39 -0
- package/.aiwf/99_TEMPLATES/sprint_meta_template.md +23 -0
- package/.aiwf/99_TEMPLATES/task_template.md +36 -0
- package/.aiwf/CLAUDE.md +76 -0
- package/.aiwf/ai-tools/README.md +105 -0
- package/.aiwf/ai-tools/augment/README.md +371 -0
- package/.aiwf/ai-tools/augment/config.json +30 -0
- package/.aiwf/ai-tools/augment/template/.augment/aiwf-integration.md +387 -0
- package/.aiwf/ai-tools/augment/template/.augment/augment.yaml +347 -0
- package/.aiwf/ai-tools/augment/template/augment.config.json +64 -0
- package/.aiwf/ai-tools/claude-code/README.md +151 -0
- package/.aiwf/ai-tools/claude-code/config.json +28 -0
- package/.aiwf/ai-tools/claude-code/template/CLAUDE.md +91 -0
- package/.aiwf/ai-tools/cursor/README.md +314 -0
- package/.aiwf/ai-tools/cursor/config.json +29 -0
- package/.aiwf/ai-tools/cursor/template/.cursorrules +362 -0
- package/.aiwf/ai-tools/github-copilot/README.md +195 -0
- package/.aiwf/ai-tools/github-copilot/config.json +24 -0
- package/.aiwf/ai-tools/github-copilot/template/.github/copilot-instructions.md +202 -0
- package/.aiwf/ai-tools/windsurf/README.md +355 -0
- package/.aiwf/ai-tools/windsurf/config.json +29 -0
- package/.aiwf/ai-tools/windsurf/template/.windsurf/aiwf-rules.md +260 -0
- package/.aiwf/ai-tools/windsurf/template/.windsurf/windsurf.config.js +312 -0
- package/.aiwf/ai-tools/windsurf/template/windsurf.config.json +63 -0
- package/.aiwf/config/language.json +6 -0
- package/.aiwf/feature-ledger/FL-001-authentication.json +52 -0
- package/.aiwf/feature-ledger/feature-index.json +20 -0
- package/.aiwf/installed.flag +1 -0
- package/.aiwf/personas/analyst.json +44 -0
- package/.aiwf/personas/architect/best_practices.md +136 -0
- package/.aiwf/personas/architect/knowledge_base.md +377 -0
- package/.aiwf/personas/architect.json +44 -0
- package/.aiwf/personas/backend/best_practices.md +766 -0
- package/.aiwf/personas/backend/knowledge_base.md +1070 -0
- package/.aiwf/personas/data_analyst/best_practices.md +594 -0
- package/.aiwf/personas/data_analyst/knowledge_base.md +1057 -0
- package/.aiwf/personas/developer.json +44 -0
- package/.aiwf/personas/evaluation_criteria.json +137 -0
- package/.aiwf/personas/frontend/best_practices.md +445 -0
- package/.aiwf/personas/frontend/knowledge_base.md +729 -0
- package/.aiwf/personas/persona-index.json +31 -0
- package/.aiwf/personas/reviewer.json +44 -0
- package/.aiwf/personas/security/best_practices.md +307 -0
- package/.aiwf/personas/security/knowledge_base.md +498 -0
- package/.aiwf/personas/tester.json +44 -0
- package/.aiwf/scripts/cache-templates.js +209 -0
- package/.aiwf/scripts/create-offline.js +86 -0
- package/.aiwf/scripts/create-project.js +151 -0
- package/.aiwf/scripts/feature-progress-calculator.cjs +236 -0
- package/.aiwf/scripts/git-integration.cjs +391 -0
- package/.aiwf/scripts/install-git-hooks.cjs +226 -0
- package/.aiwf/scripts/test-commit-parsing.cjs +125 -0
- package/.aiwf/scripts/update-feature-status.cjs +198 -0
- package/.aiwf/templates/README.md +78 -0
- package/.aiwf/templates/api-server/config.json +64 -0
- package/.aiwf/templates/api-server/template/.aiwf/config.json +56 -0
- package/.aiwf/templates/api-server/template/.aiwf/feature-ledger.json +42 -0
- package/.aiwf/templates/api-server/template/.aiwf/personas/backend-engineer.json +40 -0
- package/.aiwf/templates/api-server/template/.aiwf/scripts/cli.js +111 -0
- package/.aiwf/templates/api-server/template/.env.example +29 -0
- package/.aiwf/templates/api-server/template/.eslintrc.json +23 -0
- package/.aiwf/templates/api-server/template/README.md +171 -0
- package/.aiwf/templates/api-server/template/jest.config.js +26 -0
- package/.aiwf/templates/api-server/template/nodemon.json +9 -0
- package/.aiwf/templates/api-server/template/package.json +61 -0
- package/.aiwf/templates/api-server/template/src/app.ts +60 -0
- package/.aiwf/templates/api-server/template/src/config/swagger.ts +38 -0
- package/.aiwf/templates/api-server/template/src/controllers/aiwfController.ts +68 -0
- package/.aiwf/templates/api-server/template/src/controllers/authController.ts +128 -0
- package/.aiwf/templates/api-server/template/src/controllers/statusController.ts +28 -0
- package/.aiwf/templates/api-server/template/src/index.ts +28 -0
- package/.aiwf/templates/api-server/template/src/middleware/aiwfMiddleware.ts +50 -0
- package/.aiwf/templates/api-server/template/src/middleware/authMiddleware.ts +41 -0
- package/.aiwf/templates/api-server/template/src/middleware/errorHandler.ts +42 -0
- package/.aiwf/templates/api-server/template/src/middleware/notFoundHandler.ts +14 -0
- package/.aiwf/templates/api-server/template/src/middleware/requestLogger.ts +20 -0
- package/.aiwf/templates/api-server/template/src/routes/aiwf.ts +42 -0
- package/.aiwf/templates/api-server/template/src/routes/index.ts +13 -0
- package/.aiwf/templates/api-server/template/src/routes/v1/index.ts +67 -0
- package/.aiwf/templates/api-server/template/src/utils/logger.ts +37 -0
- package/.aiwf/templates/api-server/template/tests/app.test.ts +40 -0
- package/.aiwf/templates/api-server/template/tsconfig.json +43 -0
- package/.aiwf/templates/npm-library/config.json +61 -0
- package/.aiwf/templates/npm-library/template/LICENSE +21 -0
- package/.aiwf/templates/npm-library/template/README.md +201 -0
- package/.aiwf/templates/npm-library/template/package.json +78 -0
- package/.aiwf/templates/web-app/config.json +53 -0
- package/.aiwf/templates/web-app/template/.aiwf/config.json +54 -0
- package/.aiwf/templates/web-app/template/.aiwf/feature-ledger.json +37 -0
- package/.aiwf/templates/web-app/template/.aiwf/personas/fullstack-developer.json +40 -0
- package/.aiwf/templates/web-app/template/.aiwf/scripts/cli.js +110 -0
- package/.aiwf/templates/web-app/template/.eslintrc.cjs +20 -0
- package/.aiwf/templates/web-app/template/README.md +151 -0
- package/.aiwf/templates/web-app/template/index.html +14 -0
- package/.aiwf/templates/web-app/template/package.json +44 -0
- package/.aiwf/templates/web-app/template/postcss.config.js +6 -0
- package/.aiwf/templates/web-app/template/public/vite.svg +1 -0
- package/.aiwf/templates/web-app/template/src/App.tsx +21 -0
- package/.aiwf/templates/web-app/template/src/components/Layout.tsx +57 -0
- package/.aiwf/templates/web-app/template/src/components/aiwf/ContextStatus.tsx +107 -0
- package/.aiwf/templates/web-app/template/src/components/aiwf/FeatureLedger.tsx +93 -0
- package/.aiwf/templates/web-app/template/src/components/aiwf/TokenUsage.tsx +71 -0
- package/.aiwf/templates/web-app/template/src/index.css +60 -0
- package/.aiwf/templates/web-app/template/src/main.tsx +10 -0
- package/.aiwf/templates/web-app/template/src/pages/AiwfDashboard.tsx +60 -0
- package/.aiwf/templates/web-app/template/src/pages/HomePage.tsx +89 -0
- package/.aiwf/templates/web-app/template/src/pages/NotFound.tsx +25 -0
- package/.aiwf/templates/web-app/template/src/stores/aiwfStore.ts +126 -0
- package/.aiwf/templates/web-app/template/src/types/global.d.ts +9 -0
- package/.aiwf/templates/web-app/template/src/vite-env.d.ts +1 -0
- package/.aiwf/templates/web-app/template/tailwind.config.js +30 -0
- package/.aiwf/templates/web-app/template/tsconfig.json +37 -0
- package/.aiwf/templates/web-app/template/tsconfig.node.json +10 -0
- package/.aiwf/templates/web-app/template/vite.config.ts +23 -0
- package/.aiwf/test-cache/86c7f9e80251abb8bedd58953ab0d1779e46b4f43ea33b63bffdb778106373b0.json +6 -0
- package/.aiwf/test-cache/9e252a90b80fce0585d7ed0646e7a9b4343e109f661f42a3ae678ba1ec5e22c7.json +7 -0
- package/.aiwf/test-results-s02.json +36 -0
- package/.aiwf/token-data/alerts.json +293 -0
- package/.aiwf/token-data/monitor-config.json +12 -0
- package/CHANGELOG.md +95 -11
- package/CHANGELOG_M02.md +52 -0
- package/CLAUDE.md +135 -0
- package/README.ko.md +5 -0
- package/README.md +6 -0
- package/RELEASE_NOTES_M02.md +177 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_feature_ledger.md +54 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_default_mode.md +66 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_get_feature_details.md +78 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_link_feature_to_milestone.md +57 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_list_features.md +54 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_architect.md +60 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_backend.md +60 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_data_analyst.md +60 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_frontend.md +60 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_security.md +60 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_status.md +72 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_update_feature_status.md +53 -0
- package/claude-code/aiwf/en/commands/ai-persona.js +667 -0
- package/claude-code/aiwf/en/commands/compress-context.js +355 -0
- package/claude-code/aiwf/en/commands/feature-ledger.js +565 -0
- package/claude-code/aiwf/en/commands/feature_commit_report.js +370 -0
- package/claude-code/aiwf/en/commands/scan_git_history.js +234 -0
- package/claude-code/aiwf/en/commands/sync_feature_commits.js +154 -0
- package/claude-code/aiwf/en/commands/token-tracking.js +443 -0
- package/claude-code/aiwf/en/config/commit-patterns.js +103 -0
- package/claude-code/aiwf/en/hooks/install-hooks.sh +100 -0
- package/claude-code/aiwf/en/hooks/post-commit +84 -0
- package/claude-code/aiwf/en/tests/compression-test-suite.js +1252 -0
- package/claude-code/aiwf/en/tests/test-git-integration.js +164 -0
- package/claude-code/aiwf/en/tests/token-tracking.test.js +537 -0
- package/claude-code/aiwf/en/utils/compression-metrics.js +1031 -0
- package/claude-code/aiwf/en/utils/compression-strategies.js +557 -0
- package/claude-code/aiwf/en/utils/content-normalizer.js +455 -0
- package/claude-code/aiwf/en/utils/context-compressor.js +583 -0
- package/claude-code/aiwf/en/utils/feature-updater.js +271 -0
- package/claude-code/aiwf/en/utils/git-utils.js +220 -0
- package/claude-code/aiwf/en/utils/importance-classifier.js +645 -0
- package/claude-code/aiwf/en/utils/information-filter.js +710 -0
- package/claude-code/aiwf/en/utils/text-summarizer.js +487 -0
- package/claude-code/aiwf/en/utils/token-counter.js +177 -0
- package/claude-code/aiwf/en/utils/token-monitor.js +484 -0
- package/claude-code/aiwf/en/utils/token-reporter.js +453 -0
- package/claude-code/aiwf/en/utils/token-storage.js +433 -0
- package/claude-code/aiwf/en/utils/token-tracker.js +283 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_ID_GENERATOR.md +138 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_INDEX.md +186 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_METADATA.md +240 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_WORKFLOW.md +183 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/README.md +94 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/active/FL001_/354/202/254/354/232/251/354/236/220_/354/235/270/354/246/235_/354/213/234/354/212/244/355/205/234.md +154 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/active/FL002_ai_/355/216/230/353/245/264/354/206/214/353/202/230_/354/213/234/354/212/244/355/205/234.md +272 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/completed/FL003_/353/213/244/352/265/255/354/226/264_/353/252/205/353/240/271/354/226/264_/355/221/234/354/244/200/355/231/224.md +266 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/schemas/feature_schema.json +122 -0
- package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/schemas/feature_validator.cjs +406 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_aggressive_persona.md +53 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_context.md +116 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_minimal_persona.md +48 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_stats.md +79 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_with_persona.md +51 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_feature_ledger.md +54 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_default_mode.md +44 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_evaluate.md +92 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_get_feature_details.md +78 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_link_feature_to_milestone.md +57 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_list_features.md +54 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_architect.md +48 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_backend.md +37 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_data_analyst.md +37 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_frontend.md +37 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_security.md +48 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_status.md +50 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_update_docs_kr.md +25 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_update_feature_status.md +53 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_yolo.md +2 -2
- package/claude-code/aiwf/ko/CLAUDE.md +76 -0
- package/claude-code/aiwf/ko/ai-tools/README.md +105 -0
- package/claude-code/aiwf/ko/ai-tools/augment/README.md +371 -0
- package/claude-code/aiwf/ko/ai-tools/augment/config.json +30 -0
- package/claude-code/aiwf/ko/ai-tools/augment/template/.augment/aiwf-integration.md +387 -0
- package/claude-code/aiwf/ko/ai-tools/augment/template/.augment/augment.yaml +347 -0
- package/claude-code/aiwf/ko/ai-tools/augment/template/augment.config.json +64 -0
- package/claude-code/aiwf/ko/ai-tools/claude-code/README.md +151 -0
- package/claude-code/aiwf/ko/ai-tools/claude-code/config.json +28 -0
- package/claude-code/aiwf/ko/ai-tools/claude-code/template/CLAUDE.md +91 -0
- package/claude-code/aiwf/ko/ai-tools/cursor/README.md +314 -0
- package/claude-code/aiwf/ko/ai-tools/cursor/config.json +29 -0
- package/claude-code/aiwf/ko/ai-tools/cursor/template/.cursorrules +362 -0
- package/claude-code/aiwf/ko/ai-tools/github-copilot/README.md +195 -0
- package/claude-code/aiwf/ko/ai-tools/github-copilot/config.json +24 -0
- package/claude-code/aiwf/ko/ai-tools/github-copilot/template/.github/copilot-instructions.md +202 -0
- package/claude-code/aiwf/ko/ai-tools/windsurf/README.md +355 -0
- package/claude-code/aiwf/ko/ai-tools/windsurf/config.json +29 -0
- package/claude-code/aiwf/ko/ai-tools/windsurf/template/.windsurf/aiwf-rules.md +260 -0
- package/claude-code/aiwf/ko/ai-tools/windsurf/template/.windsurf/windsurf.config.js +312 -0
- package/claude-code/aiwf/ko/ai-tools/windsurf/template/windsurf.config.json +63 -0
- package/claude-code/aiwf/ko/commands/ai-persona.js +602 -0
- package/claude-code/aiwf/ko/commands/compress-context.js +389 -0
- package/claude-code/aiwf/ko/commands/evaluate.js +246 -0
- package/claude-code/aiwf/ko/commands/feature-ledger.js +565 -0
- package/claude-code/aiwf/ko/commands/feature_commit_report.js +370 -0
- package/claude-code/aiwf/ko/commands/persona-context-apply.js +562 -0
- package/claude-code/aiwf/ko/commands/scan_git_history.js +234 -0
- package/claude-code/aiwf/ko/commands/sync_feature_commits.js +154 -0
- package/claude-code/aiwf/ko/commands/token-tracking.js +443 -0
- package/claude-code/aiwf/ko/config/commit-patterns.js +103 -0
- package/claude-code/aiwf/ko/config/language.json +6 -0
- package/claude-code/aiwf/ko/feature-ledger/FL-001-authentication.json +52 -0
- package/claude-code/aiwf/ko/feature-ledger/feature-index.json +20 -0
- package/claude-code/aiwf/ko/hooks/install-hooks.sh +100 -0
- package/claude-code/aiwf/ko/hooks/post-commit +84 -0
- package/claude-code/aiwf/ko/personas/PERSONA_INDEX.md +57 -0
- package/claude-code/aiwf/ko/personas/analyst.json +44 -0
- package/claude-code/aiwf/ko/personas/architect/best_practices.md +136 -0
- package/claude-code/aiwf/ko/personas/architect/knowledge_base.md +377 -0
- package/claude-code/aiwf/ko/personas/architect.json +44 -0
- package/claude-code/aiwf/ko/personas/backend/best_practices.md +766 -0
- package/claude-code/aiwf/ko/personas/backend/knowledge_base.md +1070 -0
- package/claude-code/aiwf/ko/personas/data_analyst/best_practices.md +594 -0
- package/claude-code/aiwf/ko/personas/data_analyst/knowledge_base.md +1057 -0
- package/claude-code/aiwf/ko/personas/developer.json +44 -0
- package/claude-code/aiwf/ko/personas/developer.md +37 -0
- package/claude-code/aiwf/ko/personas/evaluation_criteria.json +137 -0
- package/claude-code/aiwf/ko/personas/frontend/best_practices.md +445 -0
- package/claude-code/aiwf/ko/personas/frontend/knowledge_base.md +729 -0
- package/claude-code/aiwf/ko/personas/persona-index.json +31 -0
- package/claude-code/aiwf/ko/personas/reviewer.json +44 -0
- package/claude-code/aiwf/ko/personas/security/best_practices.md +307 -0
- package/claude-code/aiwf/ko/personas/security/knowledge_base.md +498 -0
- package/claude-code/aiwf/ko/personas/tester.json +44 -0
- package/claude-code/aiwf/ko/scripts/cache-templates.js +209 -0
- package/claude-code/aiwf/ko/scripts/create-offline.js +86 -0
- package/claude-code/aiwf/ko/scripts/create-project.js +151 -0
- package/claude-code/aiwf/ko/scripts/feature-progress-calculator.cjs +236 -0
- package/claude-code/aiwf/ko/scripts/git-integration.cjs +391 -0
- package/claude-code/aiwf/ko/scripts/install-git-hooks.cjs +226 -0
- package/claude-code/aiwf/ko/scripts/test-commit-parsing.cjs +125 -0
- package/claude-code/aiwf/ko/scripts/update-feature-status.cjs +198 -0
- package/claude-code/aiwf/ko/templates/README.md +78 -0
- package/claude-code/aiwf/ko/templates/api-server/config.json +64 -0
- package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/config.json +56 -0
- package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/feature-ledger.json +42 -0
- package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/personas/backend-engineer.json +40 -0
- package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/scripts/cli.js +111 -0
- package/claude-code/aiwf/ko/templates/api-server/template/.env.example +29 -0
- package/claude-code/aiwf/ko/templates/api-server/template/.eslintrc.json +23 -0
- package/claude-code/aiwf/ko/templates/api-server/template/README.md +171 -0
- package/claude-code/aiwf/ko/templates/api-server/template/jest.config.js +26 -0
- package/claude-code/aiwf/ko/templates/api-server/template/nodemon.json +9 -0
- package/claude-code/aiwf/ko/templates/api-server/template/package.json +61 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/app.ts +60 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/config/swagger.ts +38 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/controllers/aiwfController.ts +68 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/controllers/authController.ts +128 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/controllers/statusController.ts +28 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/index.ts +28 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/aiwfMiddleware.ts +50 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/authMiddleware.ts +41 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/errorHandler.ts +42 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/notFoundHandler.ts +14 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/requestLogger.ts +20 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/routes/aiwf.ts +42 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/routes/index.ts +13 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/routes/v1/index.ts +67 -0
- package/claude-code/aiwf/ko/templates/api-server/template/src/utils/logger.ts +37 -0
- package/claude-code/aiwf/ko/templates/api-server/template/tests/app.test.ts +40 -0
- package/claude-code/aiwf/ko/templates/api-server/template/tsconfig.json +43 -0
- package/claude-code/aiwf/ko/templates/npm-library/config.json +61 -0
- package/claude-code/aiwf/ko/templates/npm-library/template/LICENSE +21 -0
- package/claude-code/aiwf/ko/templates/npm-library/template/README.md +201 -0
- package/claude-code/aiwf/ko/templates/npm-library/template/package.json +78 -0
- package/claude-code/aiwf/ko/templates/web-app/config.json +53 -0
- package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/config.json +54 -0
- package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/feature-ledger.json +37 -0
- package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/personas/fullstack-developer.json +40 -0
- package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/scripts/cli.js +110 -0
- package/claude-code/aiwf/ko/templates/web-app/template/.eslintrc.cjs +20 -0
- package/claude-code/aiwf/ko/templates/web-app/template/README.md +151 -0
- package/claude-code/aiwf/ko/templates/web-app/template/index.html +14 -0
- package/claude-code/aiwf/ko/templates/web-app/template/package-lock.json +10022 -0
- package/claude-code/aiwf/ko/templates/web-app/template/package.json +44 -0
- package/claude-code/aiwf/ko/templates/web-app/template/postcss.config.js +6 -0
- package/claude-code/aiwf/ko/templates/web-app/template/public/vite.svg +1 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/App.tsx +21 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/components/Layout.tsx +57 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/components/aiwf/ContextStatus.tsx +107 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/components/aiwf/FeatureLedger.tsx +93 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/components/aiwf/TokenUsage.tsx +71 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/index.css +60 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/main.tsx +10 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/pages/AiwfDashboard.tsx +60 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/pages/HomePage.tsx +89 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/pages/NotFound.tsx +25 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/stores/aiwfStore.ts +126 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/types/global.d.ts +9 -0
- package/claude-code/aiwf/ko/templates/web-app/template/src/vite-env.d.ts +1 -0
- package/claude-code/aiwf/ko/templates/web-app/template/tailwind.config.js +30 -0
- package/claude-code/aiwf/ko/templates/web-app/template/tsconfig.json +37 -0
- package/claude-code/aiwf/ko/templates/web-app/template/tsconfig.node.json +10 -0
- package/claude-code/aiwf/ko/templates/web-app/template/vite.config.ts +23 -0
- package/claude-code/aiwf/ko/tests/compression-test-suite.js +1252 -0
- package/claude-code/aiwf/ko/tests/test-git-integration.js +164 -0
- package/claude-code/aiwf/ko/tests/token-tracking.test.js +537 -0
- package/claude-code/aiwf/ko/token-data/alerts.json +293 -0
- package/claude-code/aiwf/ko/token-data/monitor-config.json +12 -0
- package/claude-code/aiwf/ko/utils/background-monitor.js +223 -0
- package/claude-code/aiwf/ko/utils/compression-metrics.js +1031 -0
- package/claude-code/aiwf/ko/utils/compression-strategies.js +557 -0
- package/claude-code/aiwf/ko/utils/content-normalizer.js +455 -0
- package/claude-code/aiwf/ko/utils/context-compressor.js +583 -0
- package/claude-code/aiwf/ko/utils/context-rule-parser.js +180 -0
- package/claude-code/aiwf/ko/utils/context-token-monitor.js +463 -0
- package/claude-code/aiwf/ko/utils/context-update-manager.js +502 -0
- package/claude-code/aiwf/ko/utils/feature-updater.js +271 -0
- package/claude-code/aiwf/ko/utils/git-utils.js +220 -0
- package/claude-code/aiwf/ko/utils/importance-classifier.js +645 -0
- package/claude-code/aiwf/ko/utils/information-filter.js +710 -0
- package/claude-code/aiwf/ko/utils/persona-aware-compressor.js +598 -0
- package/claude-code/aiwf/ko/utils/prompt-injector.js +242 -0
- package/claude-code/aiwf/ko/utils/simplified-evaluator.js +119 -0
- package/claude-code/aiwf/ko/utils/text-summarizer.js +492 -0
- package/claude-code/aiwf/ko/utils/token-counter.js +177 -0
- package/claude-code/aiwf/ko/utils/token-monitor.js +484 -0
- package/claude-code/aiwf/ko/utils/token-reporter.js +453 -0
- package/claude-code/aiwf/ko/utils/token-storage.js +433 -0
- package/claude-code/aiwf/ko/utils/token-tracker.js +283 -0
- package/docs/AI_PERSONA_SYSTEM_DESIGN.md +516 -0
- package/docs/API_DOCUMENTATION.md +932 -0
- package/docs/API_REFERENCE.md +979 -0
- package/docs/COMMANDS_GUIDE.ko.md +8 -2
- package/docs/COMMANDS_GUIDE.md +196 -2
- package/docs/CONTRIBUTING.ko.md +408 -0
- package/docs/CONTRIBUTING.md +205 -203
- package/docs/EXAMPLES.md +691 -0
- package/docs/GETTING_STARTED.md +480 -0
- package/docs/PERFORMANCE_ARCHITECTURE.md +494 -0
- package/docs/PERFORMANCE_GUIDELINES.md +553 -0
- package/docs/TROUBLESHOOTING.md +721 -0
- package/docs/git-feature-integration-guide.md +253 -0
- package/docs/guides/ai-personas-guide-ko.md +239 -0
- package/docs/guides/ai-personas-guide.md +239 -0
- package/docs/guides/context-compression-guide-ko.md +313 -0
- package/docs/guides/context-compression-guide.md +313 -0
- package/docs/guides/feature-git-integration-guide-ko.md +481 -0
- package/docs/guides/feature-git-integration-guide.md +481 -0
- package/docs/lightweight-evaluation.md +198 -0
- package/docs/m02-dod-checklist.md +125 -0
- package/docs/m02-gap-analysis.md +214 -0
- package/docs/m02-milestone-completion-report.md +186 -0
- package/docs/m02-milestone-executive-summary.md +68 -0
- package/docs/offline-template-cache.md +323 -0
- package/docs/performance-benchmark-report.md +159 -0
- package/docs/persona-aware-compression.md +168 -0
- package/docs/reports/S02-sprint-report.md +190 -0
- package/docs/usability-test-report.md +170 -0
- package/index.js +116 -4
- package/jest.config.js +20 -1
- package/language-utils.js +1 -1
- package/lib/ai-persona-manager.js +711 -0
- package/lib/cache-cli.js +459 -0
- package/lib/cache-integration.js +401 -0
- package/lib/cache-system.js +332 -0
- package/lib/context-engine.js +568 -0
- package/lib/file-batch-processor.js +401 -0
- package/lib/memory-profiler.js +471 -0
- package/lib/metrics-collector.js +885 -0
- package/lib/offline-detector.js +386 -0
- package/lib/performance-benchmark.js +621 -0
- package/lib/task-analyzer.js +599 -0
- package/lib/template-cache-system.js +559 -0
- package/lib/template-downloader.js +467 -0
- package/lib/template-manager.js +310 -0
- package/lib/template-version-manager.js +491 -0
- package/lib/token-optimizer.js +517 -0
- package/package.json +6 -3
- package/scripts/run-integration-tests.js +317 -0
- package/src/commands/ai-tool.js +383 -0
- package/test-token-system.js +88 -0
- package/tests/application.test.js +260 -0
- package/tests/basic.test.js +1 -1
- package/tests/integration/ai-persona-system.test.js +396 -0
- package/tests/integration/ai-persona.test.js +390 -0
- package/tests/integration/command-integration.test.js +600 -0
- package/tests/integration/context-compression.test.js +361 -0
- package/tests/integration/feature-ledger.test.js +226 -0
- package/tests/integration/git-integration.test.js +307 -0
- package/tests/integration/m02-milestone.test.js +420 -0
- package/tests/integration/persona-context-application.test.js +508 -0
- package/tests/integration/setup.js +174 -0
- package/tests/integration/test-persona-aware-compression.js +93 -0
- package/tests/language-utils.test.js +25 -9
- package/tests/s02-integration.test.js +422 -0
- package/tests/unit/ai-persona-manager.test.js +514 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_manager.md +0 -287
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_status.md +0 -246
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_manager.md +0 -287
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_status.md +0 -246
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
# AIWF Language Manager
|
|
2
|
-
|
|
3
|
-
A command that provides integrated management of language-related functions in the AIWF framework.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
/project:aiwf:language_manager [action] [arguments]
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
### Action Types
|
|
12
|
-
|
|
13
|
-
- `status` - Check current language status
|
|
14
|
-
- `switch <language_code>` - Switch language
|
|
15
|
-
- `detect` - Auto-detect system language
|
|
16
|
-
- `reset` - Reset language settings
|
|
17
|
-
- `test` - Test language system
|
|
18
|
-
- `config` - Manage configuration file
|
|
19
|
-
|
|
20
|
-
## Execution Steps
|
|
21
|
-
|
|
22
|
-
### 1. Argument Analysis and Action Routing
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
# Parse arguments
|
|
26
|
-
ACTION="${1:-status}"
|
|
27
|
-
ARGUMENT="${2:-}"
|
|
28
|
-
|
|
29
|
-
echo "=== AIWF Language Manager ==="
|
|
30
|
-
echo "Action: $ACTION"
|
|
31
|
-
echo "Argument: $ARGUMENT"
|
|
32
|
-
echo ""
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### 2. Action-Specific Execution
|
|
36
|
-
|
|
37
|
-
#### 2.1 Status Check (status)
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
if [ "$ACTION" = "status" ]; then
|
|
41
|
-
echo "π Checking language status..."
|
|
42
|
-
node -e "
|
|
43
|
-
import('./language-utils.js').then(async ({ getLanguageStatus }) => {
|
|
44
|
-
const status = await getLanguageStatus();
|
|
45
|
-
|
|
46
|
-
console.log('=== Language Settings Status ===');
|
|
47
|
-
console.log('Detected language:', status.detectedLanguage);
|
|
48
|
-
console.log('Configured language:', status.configuredLanguage || 'None');
|
|
49
|
-
console.log('Effective language:', status.effectiveLanguage);
|
|
50
|
-
console.log('Auto detection:', status.autoDetect ? 'Enabled' : 'Disabled');
|
|
51
|
-
console.log('Fallback language:', status.fallbackLanguage);
|
|
52
|
-
console.log('Supported languages:', status.supportedLanguages.join(', '));
|
|
53
|
-
|
|
54
|
-
if (status.error) {
|
|
55
|
-
console.log('β οΈ Error:', status.error);
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
"
|
|
59
|
-
fi
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
#### 2.2 Language Switch (switch)
|
|
63
|
-
|
|
64
|
-
```bash
|
|
65
|
-
if [ "$ACTION" = "switch" ]; then
|
|
66
|
-
if [ -z "$ARGUMENT" ]; then
|
|
67
|
-
echo "β Error: Please specify a language code"
|
|
68
|
-
echo "Usage: /project:aiwf:language_manager switch [ko|en]"
|
|
69
|
-
exit 1
|
|
70
|
-
fi
|
|
71
|
-
|
|
72
|
-
echo "π Switching language to: $ARGUMENT"
|
|
73
|
-
node -e "
|
|
74
|
-
import('./language-utils.js').then(async ({ switchLanguage }) => {
|
|
75
|
-
const result = await switchLanguage(process.argv[1]);
|
|
76
|
-
|
|
77
|
-
if (result.success) {
|
|
78
|
-
console.log('β
Language switch successful!');
|
|
79
|
-
console.log('Previous language:', result.previousLanguage);
|
|
80
|
-
console.log('New language:', result.newLanguage);
|
|
81
|
-
} else {
|
|
82
|
-
console.error('β Language switch failed:', result.error);
|
|
83
|
-
process.exit(1);
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
" -- "$ARGUMENT"
|
|
87
|
-
fi
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
#### 2.3 Language Detection (detect)
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
if [ "$ACTION" = "detect" ]; then
|
|
94
|
-
echo "π Detecting system language..."
|
|
95
|
-
node -e "
|
|
96
|
-
import('./language-utils.js').then(async ({ detectLanguage }) => {
|
|
97
|
-
const detected = await detectLanguage();
|
|
98
|
-
|
|
99
|
-
console.log('=== Language Detection Results ===');
|
|
100
|
-
console.log('Detected language:', detected);
|
|
101
|
-
console.log('');
|
|
102
|
-
console.log('Environment variables:');
|
|
103
|
-
console.log(' LANG:', process.env.LANG || 'Not set');
|
|
104
|
-
console.log(' LC_ALL:', process.env.LC_ALL || 'Not set');
|
|
105
|
-
console.log(' LANGUAGE:', process.env.LANGUAGE || 'Not set');
|
|
106
|
-
});
|
|
107
|
-
"
|
|
108
|
-
fi
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
#### 2.4 Settings Reset (reset)
|
|
112
|
-
|
|
113
|
-
```bash
|
|
114
|
-
if [ "$ACTION" = "reset" ]; then
|
|
115
|
-
echo "ποΈ Resetting language settings..."
|
|
116
|
-
|
|
117
|
-
# Delete configuration file
|
|
118
|
-
if [ -f ".aiwf/config/language.json" ]; then
|
|
119
|
-
rm ".aiwf/config/language.json"
|
|
120
|
-
echo "β
Language configuration file has been deleted"
|
|
121
|
-
else
|
|
122
|
-
echo "βΉοΈ Language configuration file does not exist"
|
|
123
|
-
fi
|
|
124
|
-
|
|
125
|
-
# Perform re-detection
|
|
126
|
-
echo "π Re-detecting language..."
|
|
127
|
-
node -e "
|
|
128
|
-
import('./language-utils.js').then(async ({ detectLanguage }) => {
|
|
129
|
-
const detected = await detectLanguage();
|
|
130
|
-
console.log('Re-detected language:', detected);
|
|
131
|
-
});
|
|
132
|
-
"
|
|
133
|
-
fi
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
#### 2.5 System Test (test)
|
|
137
|
-
|
|
138
|
-
```bash
|
|
139
|
-
if [ "$ACTION" = "test" ]; then
|
|
140
|
-
echo "π§ͺ Testing language system..."
|
|
141
|
-
node -e "
|
|
142
|
-
import('./language-utils.js').then(async (utils) => {
|
|
143
|
-
const { resolveCommandPath, detectLanguage, getLocalizedMessage } = utils;
|
|
144
|
-
|
|
145
|
-
console.log('=== Language System Test ===');
|
|
146
|
-
|
|
147
|
-
// 1. Language detection test
|
|
148
|
-
const detected = await detectLanguage();
|
|
149
|
-
console.log('β
Language detection:', detected);
|
|
150
|
-
|
|
151
|
-
// 2. Command path resolution test
|
|
152
|
-
const testCommands = ['aiwf_do_task', 'aiwf_commit'];
|
|
153
|
-
console.log('\nπ Command path test:');
|
|
154
|
-
|
|
155
|
-
for (const cmd of testCommands) {
|
|
156
|
-
const result = await resolveCommandPath(cmd);
|
|
157
|
-
if (result.path) {
|
|
158
|
-
console.log(' β
', cmd, result.fallback ? '(fallback)' : '(direct)');
|
|
159
|
-
} else {
|
|
160
|
-
console.log(' β', cmd, 'failed');
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
// 3. Message system test
|
|
165
|
-
console.log('\n㪠Message system test:');
|
|
166
|
-
const testMsg = getLocalizedMessage('LANGUAGE_NOT_SUPPORTED', detected);
|
|
167
|
-
console.log(' Message:', testMsg);
|
|
168
|
-
|
|
169
|
-
console.log('\nβ
All tests completed');
|
|
170
|
-
});
|
|
171
|
-
"
|
|
172
|
-
fi
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
#### 2.6 Configuration Management (config)
|
|
176
|
-
|
|
177
|
-
```bash
|
|
178
|
-
if [ "$ACTION" = "config" ]; then
|
|
179
|
-
echo "βοΈ Language configuration file management"
|
|
180
|
-
|
|
181
|
-
CONFIG_FILE=".aiwf/config/language.json"
|
|
182
|
-
|
|
183
|
-
if [ -f "$CONFIG_FILE" ]; then
|
|
184
|
-
echo "π Current configuration file contents:"
|
|
185
|
-
cat "$CONFIG_FILE" | jq . 2>/dev/null || cat "$CONFIG_FILE"
|
|
186
|
-
echo ""
|
|
187
|
-
|
|
188
|
-
echo "π Configuration file info:"
|
|
189
|
-
echo " Location: $CONFIG_FILE"
|
|
190
|
-
echo " Size: $(stat -f%z "$CONFIG_FILE" 2>/dev/null || stat -c%s "$CONFIG_FILE" 2>/dev/null) bytes"
|
|
191
|
-
echo " Modified: $(stat -f%Sm "$CONFIG_FILE" 2>/dev/null || stat -c%y "$CONFIG_FILE" 2>/dev/null)"
|
|
192
|
-
else
|
|
193
|
-
echo "β Configuration file does not exist: $CONFIG_FILE"
|
|
194
|
-
echo ""
|
|
195
|
-
echo "π‘ To create a configuration file, set a language:"
|
|
196
|
-
echo " /project:aiwf:language_manager switch ko"
|
|
197
|
-
echo " /project:aiwf:language_manager switch en"
|
|
198
|
-
fi
|
|
199
|
-
fi
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
### 3. Help (default)
|
|
203
|
-
|
|
204
|
-
```bash
|
|
205
|
-
if [ "$ACTION" = "help" ] || [ "$ACTION" = "--help" ]; then
|
|
206
|
-
echo "π AIWF Language Manager Help"
|
|
207
|
-
echo ""
|
|
208
|
-
echo "Usage:"
|
|
209
|
-
echo " /project:aiwf:language_manager [action] [arguments]"
|
|
210
|
-
echo ""
|
|
211
|
-
echo "Actions:"
|
|
212
|
-
echo " status Check current language status"
|
|
213
|
-
echo " switch <lang> Switch language (ko|en)"
|
|
214
|
-
echo " detect Auto-detect system language"
|
|
215
|
-
echo " reset Reset language settings"
|
|
216
|
-
echo " test Test language system"
|
|
217
|
-
echo " config Manage configuration file"
|
|
218
|
-
echo " help Show this help"
|
|
219
|
-
echo ""
|
|
220
|
-
echo "Examples:"
|
|
221
|
-
echo " /project:aiwf:language_manager status"
|
|
222
|
-
echo " /project:aiwf:language_manager switch ko"
|
|
223
|
-
echo " /project:aiwf:language_manager test"
|
|
224
|
-
fi
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
### 4. Result Summary
|
|
228
|
-
|
|
229
|
-
```bash
|
|
230
|
-
echo ""
|
|
231
|
-
echo "=== Execution Complete ==="
|
|
232
|
-
echo "Action: $ACTION"
|
|
233
|
-
echo "Time: $(date '+%Y-%m-%d %H:%M:%S')"
|
|
234
|
-
|
|
235
|
-
# Simple current language status display
|
|
236
|
-
node -e "
|
|
237
|
-
import('./language-utils.js').then(async ({ detectLanguage }) => {
|
|
238
|
-
const lang = await detectLanguage();
|
|
239
|
-
console.log('Current language:', lang);
|
|
240
|
-
});
|
|
241
|
-
" 2>/dev/null || echo "Current language: Unable to detect"
|
|
242
|
-
```
|
|
243
|
-
|
|
244
|
-
## Output Examples
|
|
245
|
-
|
|
246
|
-
### Status Check
|
|
247
|
-
```
|
|
248
|
-
=== AIWF Language Manager ===
|
|
249
|
-
Action: status
|
|
250
|
-
|
|
251
|
-
π Checking language status...
|
|
252
|
-
=== Language Settings Status ===
|
|
253
|
-
Detected language: en
|
|
254
|
-
Configured language: en
|
|
255
|
-
Effective language: en
|
|
256
|
-
Auto detection: Enabled
|
|
257
|
-
Fallback language: en
|
|
258
|
-
Supported languages: ko, en
|
|
259
|
-
|
|
260
|
-
=== Execution Complete ===
|
|
261
|
-
Action: status
|
|
262
|
-
Time: 2025-07-03 06:25:30
|
|
263
|
-
Current language: en
|
|
264
|
-
```
|
|
265
|
-
|
|
266
|
-
### Language Switch
|
|
267
|
-
```
|
|
268
|
-
=== AIWF Language Manager ===
|
|
269
|
-
Action: switch
|
|
270
|
-
Argument: ko
|
|
271
|
-
|
|
272
|
-
π Switching language to: ko
|
|
273
|
-
β
Language switch successful!
|
|
274
|
-
Previous language: en
|
|
275
|
-
New language: ko
|
|
276
|
-
|
|
277
|
-
=== Execution Complete ===
|
|
278
|
-
Action: switch
|
|
279
|
-
Time: 2025-07-03 06:25:35
|
|
280
|
-
Current language: ko
|
|
281
|
-
```
|
|
282
|
-
|
|
283
|
-
## Related Commands
|
|
284
|
-
|
|
285
|
-
- `/project:aiwf:switch_language` - Simple language switching
|
|
286
|
-
- `/project:aiwf:language_status` - Detailed status check
|
|
287
|
-
- `/project:aiwf:initialize` - AIWF initialization (includes language selection)
|
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
# AIWF Language Status Check
|
|
2
|
-
|
|
3
|
-
A command to check the detailed language configuration status of the AIWF framework.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
This command provides the following information:
|
|
8
|
-
- Currently detected system language
|
|
9
|
-
- User-configured language (if any)
|
|
10
|
-
- Actually used language
|
|
11
|
-
- Language configuration file status
|
|
12
|
-
- Command path resolution status
|
|
13
|
-
|
|
14
|
-
## Execution Process
|
|
15
|
-
|
|
16
|
-
### 1. Comprehensive Language Status Analysis
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
node -e "
|
|
20
|
-
import('./language-utils.js').then(async (utils) => {
|
|
21
|
-
const { getLanguageStatus, resolveCommandPath, getLocalizedMessage } = utils;
|
|
22
|
-
|
|
23
|
-
console.log('=== AIWF Language System Status Analysis ===\n');
|
|
24
|
-
|
|
25
|
-
// Basic status information
|
|
26
|
-
const status = await getLanguageStatus();
|
|
27
|
-
|
|
28
|
-
console.log('π Basic Information:');
|
|
29
|
-
console.log(' Detected language:', status.detectedLanguage);
|
|
30
|
-
console.log(' Configured language:', status.configuredLanguage || 'None');
|
|
31
|
-
console.log(' Effective language:', status.effectiveLanguage);
|
|
32
|
-
console.log(' Auto detection:', status.autoDetect ? 'Enabled' : 'Disabled');
|
|
33
|
-
console.log(' Fallback language:', status.fallbackLanguage);
|
|
34
|
-
console.log(' Supported languages:', status.supportedLanguages.join(', '));
|
|
35
|
-
console.log(' Config file:', status.configPath);
|
|
36
|
-
|
|
37
|
-
if (status.error) {
|
|
38
|
-
console.log(' β οΈ Error:', status.error);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
console.log('\nπ Config File Status:');
|
|
42
|
-
try {
|
|
43
|
-
const fs = await import('fs/promises');
|
|
44
|
-
const configExists = await fs.access(status.configPath).then(() => true).catch(() => false);
|
|
45
|
-
|
|
46
|
-
if (configExists) {
|
|
47
|
-
const configContent = await fs.readFile(status.configPath, 'utf8');
|
|
48
|
-
const config = JSON.parse(configContent);
|
|
49
|
-
console.log(' β
Config file exists');
|
|
50
|
-
console.log(' π Contents:', JSON.stringify(config, null, 4));
|
|
51
|
-
} else {
|
|
52
|
-
console.log(' β Config file not found');
|
|
53
|
-
}
|
|
54
|
-
} catch (error) {
|
|
55
|
-
console.log(' β οΈ Config file read error:', error.message);
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
"
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
### 2. Environment Variables Analysis
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
node -e "
|
|
65
|
-
console.log('\nπ System Environment Variables:');
|
|
66
|
-
console.log(' LANG:', process.env.LANG || 'Not set');
|
|
67
|
-
console.log(' LC_ALL:', process.env.LC_ALL || 'Not set');
|
|
68
|
-
console.log(' LANGUAGE:', process.env.LANGUAGE || 'Not set');
|
|
69
|
-
console.log(' NODE_ENV:', process.env.NODE_ENV || 'Not set');
|
|
70
|
-
"
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
### 3. Command Path Testing
|
|
74
|
-
|
|
75
|
-
```bash
|
|
76
|
-
node -e "
|
|
77
|
-
import('./language-utils.js').then(async ({ resolveCommandPath, detectLanguage }) => {
|
|
78
|
-
console.log('\nπ Command Path Resolution Testing:');
|
|
79
|
-
|
|
80
|
-
const currentLang = await detectLanguage();
|
|
81
|
-
console.log(' Current language:', currentLang);
|
|
82
|
-
|
|
83
|
-
const testCommands = [
|
|
84
|
-
'aiwf_do_task',
|
|
85
|
-
'aiwf_commit',
|
|
86
|
-
'aiwf_initialize',
|
|
87
|
-
'aiwf_switch_language',
|
|
88
|
-
'aiwf_test',
|
|
89
|
-
'aiwf_code_review',
|
|
90
|
-
'aiwf_project_review'
|
|
91
|
-
];
|
|
92
|
-
|
|
93
|
-
for (const cmd of testCommands) {
|
|
94
|
-
const result = await resolveCommandPath(cmd);
|
|
95
|
-
if (result.path) {
|
|
96
|
-
const status = result.fallback ? 'π Fallback' : 'β
Direct';
|
|
97
|
-
console.log(' ' + status, cmd + ':', result.language);
|
|
98
|
-
} else {
|
|
99
|
-
console.log(' β Missing', cmd + ':', result.error);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
"
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
### 4. Message System Testing
|
|
107
|
-
|
|
108
|
-
```bash
|
|
109
|
-
node -e "
|
|
110
|
-
import('./language-utils.js').then(async ({ getLocalizedMessage, detectLanguage }) => {
|
|
111
|
-
console.log('\n㪠Multilingual Message System Testing:');
|
|
112
|
-
|
|
113
|
-
const currentLang = await detectLanguage();
|
|
114
|
-
console.log(' Current language:', currentLang);
|
|
115
|
-
|
|
116
|
-
const testMessages = [
|
|
117
|
-
'LANGUAGE_NOT_SUPPORTED',
|
|
118
|
-
'CONFIG_LOAD_FAILED',
|
|
119
|
-
'CONFIG_SAVE_FAILED',
|
|
120
|
-
'COMMAND_NOT_FOUND',
|
|
121
|
-
'LANGUAGE_SWITCH_SUCCESS'
|
|
122
|
-
];
|
|
123
|
-
|
|
124
|
-
for (const msgKey of testMessages) {
|
|
125
|
-
const koMsg = getLocalizedMessage(msgKey, 'ko');
|
|
126
|
-
const enMsg = getLocalizedMessage(msgKey, 'en');
|
|
127
|
-
console.log(' ' + msgKey + ':');
|
|
128
|
-
console.log(' Korean: ' + koMsg);
|
|
129
|
-
console.log(' English: ' + enMsg);
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
"
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
### 5. Directory Structure Check
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
node -e "
|
|
139
|
-
const fs = await import('fs/promises');
|
|
140
|
-
const path = await import('path');
|
|
141
|
-
|
|
142
|
-
console.log('\nπ AIWF Directory Structure:');
|
|
143
|
-
|
|
144
|
-
const checkDirs = [
|
|
145
|
-
'.aiwf',
|
|
146
|
-
'.aiwf/config',
|
|
147
|
-
'.claude',
|
|
148
|
-
'.claude/commands',
|
|
149
|
-
'.claude/commands/aiwf',
|
|
150
|
-
'claude-code/aiwf/ko/.claude/commands/aiwf',
|
|
151
|
-
'claude-code/aiwf/en/.claude/commands/aiwf'
|
|
152
|
-
];
|
|
153
|
-
|
|
154
|
-
for (const dir of checkDirs) {
|
|
155
|
-
try {
|
|
156
|
-
const exists = await fs.access(dir).then(() => true).catch(() => false);
|
|
157
|
-
if (exists) {
|
|
158
|
-
const files = await fs.readdir(dir);
|
|
159
|
-
console.log(' β
', dir + ':', files.length + ' files');
|
|
160
|
-
} else {
|
|
161
|
-
console.log(' β', dir + ':', 'Directory not found');
|
|
162
|
-
}
|
|
163
|
-
} catch (error) {
|
|
164
|
-
console.log(' β οΈ', dir + ':', 'Access error');
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
"
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
## Diagnostics and Recommendations
|
|
171
|
-
|
|
172
|
-
### Language Detection Problem Resolution
|
|
173
|
-
|
|
174
|
-
The command provides the following recommendations:
|
|
175
|
-
|
|
176
|
-
1. **When config file is missing**:
|
|
177
|
-
```
|
|
178
|
-
π‘ Recommendation: Explicitly set the language
|
|
179
|
-
/project:aiwf:switch_language ko
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
2. **Environment variable issues**:
|
|
183
|
-
```
|
|
184
|
-
π‘ Recommendation: Check environment variables
|
|
185
|
-
export LANG=en_US.UTF-8
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
3. **Missing command files**:
|
|
189
|
-
```
|
|
190
|
-
π‘ Recommendation: Reinstall AIWF
|
|
191
|
-
npx aiwf --force
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
## Output Example
|
|
195
|
-
|
|
196
|
-
```
|
|
197
|
-
=== AIWF Language System Status Analysis ===
|
|
198
|
-
|
|
199
|
-
π Basic Information:
|
|
200
|
-
Detected language: en
|
|
201
|
-
Configured language: en
|
|
202
|
-
Effective language: en
|
|
203
|
-
Auto detection: Enabled
|
|
204
|
-
Fallback language: en
|
|
205
|
-
Supported languages: ko, en
|
|
206
|
-
Config file: .aiwf/config/language.json
|
|
207
|
-
|
|
208
|
-
π Config File Status:
|
|
209
|
-
β
Config file exists
|
|
210
|
-
π Contents: {
|
|
211
|
-
"language": "en",
|
|
212
|
-
"auto_detect": true,
|
|
213
|
-
"last_updated": "2025-07-03T06:25:00.000Z",
|
|
214
|
-
"fallback": "en"
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
π System Environment Variables:
|
|
218
|
-
LANG: en_US.UTF-8
|
|
219
|
-
LC_ALL: Not set
|
|
220
|
-
LANGUAGE: Not set
|
|
221
|
-
NODE_ENV: Not set
|
|
222
|
-
|
|
223
|
-
π Command Path Resolution Testing:
|
|
224
|
-
Current language: en
|
|
225
|
-
β
Direct aiwf_do_task: en
|
|
226
|
-
β
Direct aiwf_commit: en
|
|
227
|
-
β
Direct aiwf_initialize: en
|
|
228
|
-
β
Direct aiwf_switch_language: en
|
|
229
|
-
π Fallback aiwf_test: ko
|
|
230
|
-
β Missing aiwf_unknown: Command file not found
|
|
231
|
-
|
|
232
|
-
π¬ Multilingual Message System Testing:
|
|
233
|
-
Current language: en
|
|
234
|
-
LANGUAGE_NOT_SUPPORTED:
|
|
235
|
-
Korean: μ§μλμ§ μλ μΈμ΄μ
λλ€
|
|
236
|
-
English: Language not supported
|
|
237
|
-
|
|
238
|
-
π AIWF Directory Structure:
|
|
239
|
-
β
.aiwf: 8 files
|
|
240
|
-
β
.aiwf/config: 1 file
|
|
241
|
-
β
.claude: 2 files
|
|
242
|
-
β
.claude/commands: 1 file
|
|
243
|
-
β .claude/commands/aiwf: Directory not found
|
|
244
|
-
β
claude-code/aiwf/ko/.claude/commands/aiwf: 15 files
|
|
245
|
-
β
claude-code/aiwf/en/.claude/commands/aiwf: 14 files
|
|
246
|
-
```
|