@pixelbyte-software/pixcode 1.35.1 → 1.35.2

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.
Files changed (172) hide show
  1. package/LICENSE +718 -718
  2. package/README.de.md +248 -248
  3. package/README.ja.md +240 -240
  4. package/README.ko.md +240 -240
  5. package/README.md +303 -303
  6. package/README.ru.md +248 -248
  7. package/README.tr.md +250 -250
  8. package/README.zh-CN.md +240 -240
  9. package/dist/api-docs.html +548 -548
  10. package/dist/assets/{index-CBdsvGSR.js → index-D1-AIL_5.js} +1 -1
  11. package/dist/clear-cache.html +85 -85
  12. package/dist/convert-icons.md +52 -52
  13. package/dist/favicon.svg +8 -8
  14. package/dist/generate-icons.js +48 -48
  15. package/dist/icons/codex-white.svg +3 -3
  16. package/dist/icons/codex.svg +3 -3
  17. package/dist/icons/cursor-white.svg +11 -11
  18. package/dist/icons/icon-128x128.svg +9 -9
  19. package/dist/icons/icon-144x144.svg +9 -9
  20. package/dist/icons/icon-152x152.svg +9 -9
  21. package/dist/icons/icon-192x192.svg +9 -9
  22. package/dist/icons/icon-384x384.svg +9 -9
  23. package/dist/icons/icon-512x512.svg +9 -9
  24. package/dist/icons/icon-72x72.svg +9 -9
  25. package/dist/icons/icon-96x96.svg +9 -9
  26. package/dist/icons/icon-template.svg +9 -9
  27. package/dist/icons/qwen-logo.svg +14 -14
  28. package/dist/index.html +58 -58
  29. package/dist/logo.svg +12 -12
  30. package/dist/manifest.json +60 -60
  31. package/dist/openapi.yaml +1693 -1693
  32. package/dist/sw.js +124 -124
  33. package/dist-server/server/cli.js +96 -96
  34. package/dist-server/server/daemon/manager.js +33 -33
  35. package/dist-server/server/daemon-manager.js +64 -64
  36. package/dist-server/server/routes/commands.js +25 -25
  37. package/dist-server/server/routes/git.js +17 -17
  38. package/dist-server/server/routes/taskmaster.js +419 -419
  39. package/package.json +180 -180
  40. package/scripts/fix-node-pty.js +67 -67
  41. package/scripts/smoke/a2a-roundtrip.mjs +167 -167
  42. package/scripts/smoke/orchestration-api.mjs +172 -172
  43. package/scripts/smoke/orchestration-live-run.mjs +176 -176
  44. package/server/claude-sdk.js +898 -898
  45. package/server/cli.js +935 -935
  46. package/server/constants/config.js +4 -4
  47. package/server/cursor-cli.js +342 -342
  48. package/server/daemon/manager.js +564 -564
  49. package/server/daemon-manager.js +959 -959
  50. package/server/database/db.js +794 -794
  51. package/server/database/json-store.js +197 -197
  52. package/server/gemini-cli.js +535 -535
  53. package/server/gemini-response-handler.js +79 -79
  54. package/server/index.js +3135 -3135
  55. package/server/load-env.js +34 -34
  56. package/server/middleware/auth.js +173 -173
  57. package/server/modules/orchestration/a2a/adapter-registry.ts +108 -108
  58. package/server/modules/orchestration/a2a/adapters/abstract-a2a.adapter.ts +55 -55
  59. package/server/modules/orchestration/a2a/adapters/claude-code.adapter.ts +284 -284
  60. package/server/modules/orchestration/a2a/adapters/codex.adapter.ts +244 -244
  61. package/server/modules/orchestration/a2a/adapters/cursor.adapter.ts +249 -249
  62. package/server/modules/orchestration/a2a/adapters/gemini.adapter.ts +248 -248
  63. package/server/modules/orchestration/a2a/adapters/opencode.adapter.ts +248 -248
  64. package/server/modules/orchestration/a2a/adapters/qwen.adapter.ts +248 -248
  65. package/server/modules/orchestration/a2a/routes.ts +577 -577
  66. package/server/modules/orchestration/a2a/task-store.ts +178 -178
  67. package/server/modules/orchestration/a2a/types.ts +125 -125
  68. package/server/modules/orchestration/a2a/validator.ts +113 -113
  69. package/server/modules/orchestration/index.ts +66 -66
  70. package/server/modules/orchestration/preview/port-watcher.ts +112 -112
  71. package/server/modules/orchestration/preview/preview-proxy.ts +60 -60
  72. package/server/modules/orchestration/preview/types.ts +19 -19
  73. package/server/modules/orchestration/tasks/orchestration-task-store.ts +45 -45
  74. package/server/modules/orchestration/tasks/orchestration-task.routes.ts +73 -73
  75. package/server/modules/orchestration/tasks/orchestration-task.service.ts +145 -145
  76. package/server/modules/orchestration/tasks/orchestration-task.types.ts +29 -29
  77. package/server/modules/orchestration/workflows/built-in-workflows.ts +127 -127
  78. package/server/modules/orchestration/workflows/workflow-runner.ts +1206 -1206
  79. package/server/modules/orchestration/workflows/workflow-store.ts +97 -97
  80. package/server/modules/orchestration/workflows/workflow.routes.ts +169 -169
  81. package/server/modules/orchestration/workflows/workflow.types.ts +70 -70
  82. package/server/modules/orchestration/workflows/workspace-target.ts +120 -120
  83. package/server/modules/orchestration/workspace/docker-workspace.ts +135 -135
  84. package/server/modules/orchestration/workspace/path-safety.ts +55 -55
  85. package/server/modules/orchestration/workspace/types.ts +52 -52
  86. package/server/modules/orchestration/workspace/workspace-manager.ts +97 -97
  87. package/server/modules/orchestration/workspace/worktree-workspace.ts +125 -125
  88. package/server/modules/providers/index.ts +2 -2
  89. package/server/modules/providers/list/claude/claude-auth.provider.ts +145 -145
  90. package/server/modules/providers/list/claude/claude-mcp.provider.ts +135 -135
  91. package/server/modules/providers/list/claude/claude-sessions.provider.ts +306 -306
  92. package/server/modules/providers/list/claude/claude.provider.ts +15 -15
  93. package/server/modules/providers/list/codex/codex-auth.provider.ts +115 -115
  94. package/server/modules/providers/list/codex/codex-mcp.provider.ts +135 -135
  95. package/server/modules/providers/list/codex/codex-sessions.provider.ts +319 -319
  96. package/server/modules/providers/list/codex/codex.provider.ts +15 -15
  97. package/server/modules/providers/list/cursor/cursor-auth.provider.ts +143 -143
  98. package/server/modules/providers/list/cursor/cursor-mcp.provider.ts +108 -108
  99. package/server/modules/providers/list/cursor/cursor-sessions.provider.ts +421 -421
  100. package/server/modules/providers/list/cursor/cursor.provider.ts +15 -15
  101. package/server/modules/providers/list/gemini/gemini-auth.provider.ts +163 -163
  102. package/server/modules/providers/list/gemini/gemini-mcp.provider.ts +110 -110
  103. package/server/modules/providers/list/gemini/gemini-sessions.provider.ts +227 -227
  104. package/server/modules/providers/list/gemini/gemini.provider.ts +15 -15
  105. package/server/modules/providers/list/opencode/opencode-auth.provider.ts +130 -130
  106. package/server/modules/providers/list/opencode/opencode-mcp.provider.ts +126 -126
  107. package/server/modules/providers/list/opencode/opencode-sessions.provider.ts +232 -232
  108. package/server/modules/providers/list/opencode/opencode.provider.ts +29 -29
  109. package/server/modules/providers/list/qwen/qwen-auth.provider.ts +145 -145
  110. package/server/modules/providers/list/qwen/qwen-mcp.provider.ts +114 -114
  111. package/server/modules/providers/list/qwen/qwen-sessions.provider.ts +265 -265
  112. package/server/modules/providers/list/qwen/qwen.provider.ts +21 -21
  113. package/server/modules/providers/provider.registry.ts +40 -40
  114. package/server/modules/providers/provider.routes.ts +819 -819
  115. package/server/modules/providers/services/mcp.service.ts +86 -86
  116. package/server/modules/providers/services/provider-auth.service.ts +26 -26
  117. package/server/modules/providers/services/sessions.service.ts +45 -45
  118. package/server/modules/providers/shared/base/abstract.provider.ts +20 -20
  119. package/server/modules/providers/shared/mcp/mcp.provider.ts +151 -151
  120. package/server/modules/providers/shared/provider-configs.ts +142 -142
  121. package/server/modules/providers/tests/mcp.test.ts +293 -293
  122. package/server/openai-codex.js +462 -462
  123. package/server/opencode-cli.js +459 -459
  124. package/server/opencode-response-handler.js +107 -107
  125. package/server/projects.js +3105 -3105
  126. package/server/qwen-code-cli.js +395 -395
  127. package/server/qwen-response-handler.js +73 -73
  128. package/server/routes/agent.js +1365 -1365
  129. package/server/routes/auth.js +138 -138
  130. package/server/routes/codex.js +19 -19
  131. package/server/routes/commands.js +554 -554
  132. package/server/routes/cursor.js +52 -52
  133. package/server/routes/gemini.js +24 -24
  134. package/server/routes/git.js +1488 -1488
  135. package/server/routes/mcp-utils.js +31 -31
  136. package/server/routes/messages.js +61 -61
  137. package/server/routes/network.js +120 -120
  138. package/server/routes/plugins.js +318 -318
  139. package/server/routes/projects.js +915 -915
  140. package/server/routes/qwen.js +27 -27
  141. package/server/routes/settings.js +286 -286
  142. package/server/routes/taskmaster.js +1496 -1496
  143. package/server/routes/telegram.js +125 -125
  144. package/server/routes/user.js +123 -123
  145. package/server/services/external-access.js +171 -171
  146. package/server/services/install-jobs.js +571 -571
  147. package/server/services/notification-orchestrator.js +242 -242
  148. package/server/services/provider-credentials.js +189 -189
  149. package/server/services/provider-models.js +381 -381
  150. package/server/services/telegram/bot.js +279 -279
  151. package/server/services/telegram/telegram-http-client.js +130 -130
  152. package/server/services/telegram/translations.js +170 -170
  153. package/server/services/vapid-keys.js +36 -36
  154. package/server/sessionManager.js +225 -225
  155. package/server/shared/interfaces.ts +54 -54
  156. package/server/shared/types.ts +172 -172
  157. package/server/shared/utils.ts +193 -193
  158. package/server/tsconfig.json +36 -36
  159. package/server/utils/colors.js +21 -21
  160. package/server/utils/commandParser.js +303 -303
  161. package/server/utils/frontmatter.js +18 -18
  162. package/server/utils/gitConfig.js +34 -34
  163. package/server/utils/mcp-detector.js +147 -147
  164. package/server/utils/plugin-loader.js +457 -457
  165. package/server/utils/plugin-process-manager.js +184 -184
  166. package/server/utils/port-access.js +209 -209
  167. package/server/utils/runtime-paths.js +37 -37
  168. package/server/utils/taskmaster-websocket.js +128 -128
  169. package/server/utils/url-detection.js +71 -71
  170. package/server/vite-daemon.js +78 -78
  171. package/shared/modelConstants.js +162 -162
  172. package/shared/networkHosts.js +22 -22
@@ -836,74 +836,74 @@ router.get('/prd-templates', async (req, res) => {
836
836
  name: 'Web Application',
837
837
  description: 'Template for web application projects with frontend and backend components',
838
838
  category: 'web',
839
- content: `# Product Requirements Document - Web Application
840
-
841
- ## Overview
842
- **Product Name:** [Your App Name]
843
- **Version:** 1.0
844
- **Date:** ${new Date().toISOString().split('T')[0]}
845
- **Author:** [Your Name]
846
-
847
- ## Executive Summary
848
- Brief description of what this web application will do and why it's needed.
849
-
850
- ## Product Goals
851
- - Goal 1: [Specific measurable goal]
852
- - Goal 2: [Specific measurable goal]
853
- - Goal 3: [Specific measurable goal]
854
-
855
- ## User Stories
856
- ### Core Features
857
- 1. **User Registration & Authentication**
858
- - As a user, I want to create an account so I can access personalized features
859
- - As a user, I want to log in securely so my data is protected
860
- - As a user, I want to reset my password if I forget it
861
-
862
- 2. **Main Application Features**
863
- - As a user, I want to [core feature 1] so I can [benefit]
864
- - As a user, I want to [core feature 2] so I can [benefit]
865
- - As a user, I want to [core feature 3] so I can [benefit]
866
-
867
- 3. **User Interface**
868
- - As a user, I want a responsive design so I can use the app on any device
869
- - As a user, I want intuitive navigation so I can easily find features
870
-
871
- ## Technical Requirements
872
- ### Frontend
873
- - Framework: React/Vue/Angular or vanilla JavaScript
874
- - Styling: CSS framework (Tailwind, Bootstrap, etc.)
875
- - State Management: Redux/Vuex/Context API
876
- - Build Tools: Webpack/Vite
877
- - Testing: Jest/Vitest for unit tests
878
-
879
- ### Backend
880
- - Runtime: Node.js/Python/Java
881
- - Database: PostgreSQL/MySQL/MongoDB
882
- - API: RESTful API or GraphQL
883
- - Authentication: JWT tokens
884
- - Testing: Integration and unit tests
885
-
886
- ### Infrastructure
887
- - Hosting: Cloud provider (AWS, Azure, GCP)
888
- - CI/CD: GitHub Actions/GitLab CI
889
- - Monitoring: Application monitoring tools
890
- - Security: HTTPS, input validation, rate limiting
891
-
892
- ## Success Metrics
893
- - User engagement metrics
894
- - Performance benchmarks (load time < 2s)
895
- - Error rates < 1%
896
- - User satisfaction scores
897
-
898
- ## Timeline
899
- - Phase 1: Core functionality (4-6 weeks)
900
- - Phase 2: Advanced features (2-4 weeks)
901
- - Phase 3: Polish and launch (2 weeks)
902
-
903
- ## Constraints & Assumptions
904
- - Budget constraints
905
- - Technical limitations
906
- - Team size and expertise
839
+ content: `# Product Requirements Document - Web Application
840
+
841
+ ## Overview
842
+ **Product Name:** [Your App Name]
843
+ **Version:** 1.0
844
+ **Date:** ${new Date().toISOString().split('T')[0]}
845
+ **Author:** [Your Name]
846
+
847
+ ## Executive Summary
848
+ Brief description of what this web application will do and why it's needed.
849
+
850
+ ## Product Goals
851
+ - Goal 1: [Specific measurable goal]
852
+ - Goal 2: [Specific measurable goal]
853
+ - Goal 3: [Specific measurable goal]
854
+
855
+ ## User Stories
856
+ ### Core Features
857
+ 1. **User Registration & Authentication**
858
+ - As a user, I want to create an account so I can access personalized features
859
+ - As a user, I want to log in securely so my data is protected
860
+ - As a user, I want to reset my password if I forget it
861
+
862
+ 2. **Main Application Features**
863
+ - As a user, I want to [core feature 1] so I can [benefit]
864
+ - As a user, I want to [core feature 2] so I can [benefit]
865
+ - As a user, I want to [core feature 3] so I can [benefit]
866
+
867
+ 3. **User Interface**
868
+ - As a user, I want a responsive design so I can use the app on any device
869
+ - As a user, I want intuitive navigation so I can easily find features
870
+
871
+ ## Technical Requirements
872
+ ### Frontend
873
+ - Framework: React/Vue/Angular or vanilla JavaScript
874
+ - Styling: CSS framework (Tailwind, Bootstrap, etc.)
875
+ - State Management: Redux/Vuex/Context API
876
+ - Build Tools: Webpack/Vite
877
+ - Testing: Jest/Vitest for unit tests
878
+
879
+ ### Backend
880
+ - Runtime: Node.js/Python/Java
881
+ - Database: PostgreSQL/MySQL/MongoDB
882
+ - API: RESTful API or GraphQL
883
+ - Authentication: JWT tokens
884
+ - Testing: Integration and unit tests
885
+
886
+ ### Infrastructure
887
+ - Hosting: Cloud provider (AWS, Azure, GCP)
888
+ - CI/CD: GitHub Actions/GitLab CI
889
+ - Monitoring: Application monitoring tools
890
+ - Security: HTTPS, input validation, rate limiting
891
+
892
+ ## Success Metrics
893
+ - User engagement metrics
894
+ - Performance benchmarks (load time < 2s)
895
+ - Error rates < 1%
896
+ - User satisfaction scores
897
+
898
+ ## Timeline
899
+ - Phase 1: Core functionality (4-6 weeks)
900
+ - Phase 2: Advanced features (2-4 weeks)
901
+ - Phase 3: Polish and launch (2 weeks)
902
+
903
+ ## Constraints & Assumptions
904
+ - Budget constraints
905
+ - Technical limitations
906
+ - Team size and expertise
907
907
  - Timeline constraints`
908
908
  },
909
909
  {
@@ -911,102 +911,102 @@ Brief description of what this web application will do and why it's needed.
911
911
  name: 'REST API',
912
912
  description: 'Template for REST API development projects',
913
913
  category: 'backend',
914
- content: `# Product Requirements Document - REST API
915
-
916
- ## Overview
917
- **API Name:** [Your API Name]
918
- **Version:** v1.0
919
- **Date:** ${new Date().toISOString().split('T')[0]}
920
- **Author:** [Your Name]
921
-
922
- ## Executive Summary
923
- Description of the API's purpose, target users, and primary use cases.
924
-
925
- ## API Goals
926
- - Goal 1: Provide secure data access
927
- - Goal 2: Ensure scalable architecture
928
- - Goal 3: Maintain high availability (99.9% uptime)
929
-
930
- ## Functional Requirements
931
- ### Core Endpoints
932
- 1. **Authentication Endpoints**
933
- - POST /api/auth/login - User authentication
934
- - POST /api/auth/logout - User logout
935
- - POST /api/auth/refresh - Token refresh
936
- - POST /api/auth/register - User registration
937
-
938
- 2. **Data Management Endpoints**
939
- - GET /api/resources - List resources with pagination
940
- - GET /api/resources/{id} - Get specific resource
941
- - POST /api/resources - Create new resource
942
- - PUT /api/resources/{id} - Update existing resource
943
- - DELETE /api/resources/{id} - Delete resource
944
-
945
- 3. **Administrative Endpoints**
946
- - GET /api/admin/users - Manage users (admin only)
947
- - GET /api/admin/analytics - System analytics
948
- - POST /api/admin/backup - Trigger system backup
949
-
950
- ## Technical Requirements
951
- ### API Design
952
- - RESTful architecture following OpenAPI 3.0 specification
953
- - JSON request/response format
954
- - Consistent error response format
955
- - API versioning strategy
956
-
957
- ### Authentication & Security
958
- - JWT token-based authentication
959
- - Role-based access control (RBAC)
960
- - Rate limiting (100 requests/minute per user)
961
- - Input validation and sanitization
962
- - HTTPS enforcement
963
-
964
- ### Database
965
- - Database type: [PostgreSQL/MongoDB/MySQL]
966
- - Connection pooling
967
- - Database migrations
968
- - Backup and recovery procedures
969
-
970
- ### Performance Requirements
971
- - Response time: < 200ms for 95% of requests
972
- - Throughput: 1000+ requests/second
973
- - Concurrent users: 10,000+
974
- - Database query optimization
975
-
976
- ### Documentation
977
- - Auto-generated API documentation (Swagger/OpenAPI)
978
- - Code examples for common use cases
979
- - SDK development for major languages
980
- - Postman collection for testing
981
-
982
- ## Error Handling
983
- - Standardized error codes and messages
984
- - Proper HTTP status codes
985
- - Detailed error logging
986
- - Graceful degradation strategies
987
-
988
- ## Testing Strategy
989
- - Unit tests (80%+ coverage)
990
- - Integration tests for all endpoints
991
- - Load testing and performance testing
992
- - Security testing (OWASP compliance)
993
-
994
- ## Monitoring & Logging
995
- - Application performance monitoring
996
- - Error tracking and alerting
997
- - Access logs and audit trails
998
- - Health check endpoints
999
-
1000
- ## Deployment
1001
- - Containerized deployment (Docker)
1002
- - CI/CD pipeline setup
1003
- - Environment management (dev, staging, prod)
1004
- - Blue-green deployment strategy
1005
-
1006
- ## Success Metrics
1007
- - API uptime > 99.9%
1008
- - Average response time < 200ms
1009
- - Zero critical security vulnerabilities
914
+ content: `# Product Requirements Document - REST API
915
+
916
+ ## Overview
917
+ **API Name:** [Your API Name]
918
+ **Version:** v1.0
919
+ **Date:** ${new Date().toISOString().split('T')[0]}
920
+ **Author:** [Your Name]
921
+
922
+ ## Executive Summary
923
+ Description of the API's purpose, target users, and primary use cases.
924
+
925
+ ## API Goals
926
+ - Goal 1: Provide secure data access
927
+ - Goal 2: Ensure scalable architecture
928
+ - Goal 3: Maintain high availability (99.9% uptime)
929
+
930
+ ## Functional Requirements
931
+ ### Core Endpoints
932
+ 1. **Authentication Endpoints**
933
+ - POST /api/auth/login - User authentication
934
+ - POST /api/auth/logout - User logout
935
+ - POST /api/auth/refresh - Token refresh
936
+ - POST /api/auth/register - User registration
937
+
938
+ 2. **Data Management Endpoints**
939
+ - GET /api/resources - List resources with pagination
940
+ - GET /api/resources/{id} - Get specific resource
941
+ - POST /api/resources - Create new resource
942
+ - PUT /api/resources/{id} - Update existing resource
943
+ - DELETE /api/resources/{id} - Delete resource
944
+
945
+ 3. **Administrative Endpoints**
946
+ - GET /api/admin/users - Manage users (admin only)
947
+ - GET /api/admin/analytics - System analytics
948
+ - POST /api/admin/backup - Trigger system backup
949
+
950
+ ## Technical Requirements
951
+ ### API Design
952
+ - RESTful architecture following OpenAPI 3.0 specification
953
+ - JSON request/response format
954
+ - Consistent error response format
955
+ - API versioning strategy
956
+
957
+ ### Authentication & Security
958
+ - JWT token-based authentication
959
+ - Role-based access control (RBAC)
960
+ - Rate limiting (100 requests/minute per user)
961
+ - Input validation and sanitization
962
+ - HTTPS enforcement
963
+
964
+ ### Database
965
+ - Database type: [PostgreSQL/MongoDB/MySQL]
966
+ - Connection pooling
967
+ - Database migrations
968
+ - Backup and recovery procedures
969
+
970
+ ### Performance Requirements
971
+ - Response time: < 200ms for 95% of requests
972
+ - Throughput: 1000+ requests/second
973
+ - Concurrent users: 10,000+
974
+ - Database query optimization
975
+
976
+ ### Documentation
977
+ - Auto-generated API documentation (Swagger/OpenAPI)
978
+ - Code examples for common use cases
979
+ - SDK development for major languages
980
+ - Postman collection for testing
981
+
982
+ ## Error Handling
983
+ - Standardized error codes and messages
984
+ - Proper HTTP status codes
985
+ - Detailed error logging
986
+ - Graceful degradation strategies
987
+
988
+ ## Testing Strategy
989
+ - Unit tests (80%+ coverage)
990
+ - Integration tests for all endpoints
991
+ - Load testing and performance testing
992
+ - Security testing (OWASP compliance)
993
+
994
+ ## Monitoring & Logging
995
+ - Application performance monitoring
996
+ - Error tracking and alerting
997
+ - Access logs and audit trails
998
+ - Health check endpoints
999
+
1000
+ ## Deployment
1001
+ - Containerized deployment (Docker)
1002
+ - CI/CD pipeline setup
1003
+ - Environment management (dev, staging, prod)
1004
+ - Blue-green deployment strategy
1005
+
1006
+ ## Success Metrics
1007
+ - API uptime > 99.9%
1008
+ - Average response time < 200ms
1009
+ - Zero critical security vulnerabilities
1010
1010
  - Developer adoption metrics`
1011
1011
  },
1012
1012
  {
@@ -1014,115 +1014,115 @@ Description of the API's purpose, target users, and primary use cases.
1014
1014
  name: 'Mobile Application',
1015
1015
  description: 'Template for mobile app development projects (iOS/Android)',
1016
1016
  category: 'mobile',
1017
- content: `# Product Requirements Document - Mobile Application
1018
-
1019
- ## Overview
1020
- **App Name:** [Your App Name]
1021
- **Platform:** iOS / Android / Cross-platform
1022
- **Version:** 1.0
1023
- **Date:** ${new Date().toISOString().split('T')[0]}
1024
- **Author:** [Your Name]
1025
-
1026
- ## Executive Summary
1027
- Brief description of the mobile app's purpose, target audience, and key value proposition.
1028
-
1029
- ## Product Goals
1030
- - Goal 1: [Specific user engagement goal]
1031
- - Goal 2: [Specific functionality goal]
1032
- - Goal 3: [Specific performance goal]
1033
-
1034
- ## User Stories
1035
- ### Core Features
1036
- 1. **Onboarding & Authentication**
1037
- - As a new user, I want a simple onboarding process
1038
- - As a user, I want to sign up with email or social media
1039
- - As a user, I want biometric authentication for security
1040
-
1041
- 2. **Main App Features**
1042
- - As a user, I want [core feature 1] accessible from home screen
1043
- - As a user, I want [core feature 2] to work offline
1044
- - As a user, I want to sync data across devices
1045
-
1046
- 3. **User Experience**
1047
- - As a user, I want intuitive navigation patterns
1048
- - As a user, I want fast loading times
1049
- - As a user, I want accessibility features
1050
-
1051
- ## Technical Requirements
1052
- ### Mobile Development
1053
- - **Cross-platform:** React Native / Flutter / Xamarin
1054
- - **Native:** Swift (iOS) / Kotlin (Android)
1055
- - **State Management:** Redux / MobX / Provider
1056
- - **Navigation:** React Navigation / Flutter Navigation
1057
-
1058
- ### Backend Integration
1059
- - REST API or GraphQL integration
1060
- - Real-time features (WebSockets/Push notifications)
1061
- - Offline data synchronization
1062
- - Background processing
1063
-
1064
- ### Device Features
1065
- - Camera and photo library access
1066
- - GPS location services
1067
- - Push notifications
1068
- - Biometric authentication
1069
- - Device storage
1070
-
1071
- ### Performance Requirements
1072
- - App launch time < 3 seconds
1073
- - Screen transition animations < 300ms
1074
- - Memory usage optimization
1075
- - Battery usage optimization
1076
-
1077
- ## Platform-Specific Considerations
1078
- ### iOS Requirements
1079
- - iOS 13.0+ minimum version
1080
- - App Store guidelines compliance
1081
- - iOS design guidelines (Human Interface Guidelines)
1082
- - TestFlight beta testing
1083
-
1084
- ### Android Requirements
1085
- - Android 8.0+ (API level 26) minimum
1086
- - Google Play Store guidelines
1087
- - Material Design guidelines
1088
- - Google Play Console testing
1089
-
1090
- ## User Interface Design
1091
- - Responsive design for different screen sizes
1092
- - Dark mode support
1093
- - Accessibility compliance (WCAG 2.1)
1094
- - Consistent design system
1095
-
1096
- ## Security & Privacy
1097
- - Secure data storage (Keychain/Keystore)
1098
- - API communication encryption
1099
- - Privacy policy compliance (GDPR/CCPA)
1100
- - App security best practices
1101
-
1102
- ## Testing Strategy
1103
- - Unit testing (80%+ coverage)
1104
- - UI/E2E testing (Detox/Appium)
1105
- - Device testing on multiple screen sizes
1106
- - Performance testing
1107
- - Security testing
1108
-
1109
- ## App Store Deployment
1110
- - App store optimization (ASO)
1111
- - App icons and screenshots
1112
- - Store listing content
1113
- - Release management strategy
1114
-
1115
- ## Analytics & Monitoring
1116
- - User analytics (Firebase/Analytics)
1117
- - Crash reporting (Crashlytics/Sentry)
1118
- - Performance monitoring
1119
- - User feedback collection
1120
-
1121
- ## Success Metrics
1122
- - App store ratings > 4.0
1123
- - User retention rates
1124
- - Daily/Monthly active users
1125
- - App performance metrics
1017
+ content: `# Product Requirements Document - Mobile Application
1018
+
1019
+ ## Overview
1020
+ **App Name:** [Your App Name]
1021
+ **Platform:** iOS / Android / Cross-platform
1022
+ **Version:** 1.0
1023
+ **Date:** ${new Date().toISOString().split('T')[0]}
1024
+ **Author:** [Your Name]
1025
+
1026
+ ## Executive Summary
1027
+ Brief description of the mobile app's purpose, target audience, and key value proposition.
1028
+
1029
+ ## Product Goals
1030
+ - Goal 1: [Specific user engagement goal]
1031
+ - Goal 2: [Specific functionality goal]
1032
+ - Goal 3: [Specific performance goal]
1033
+
1034
+ ## User Stories
1035
+ ### Core Features
1036
+ 1. **Onboarding & Authentication**
1037
+ - As a new user, I want a simple onboarding process
1038
+ - As a user, I want to sign up with email or social media
1039
+ - As a user, I want biometric authentication for security
1040
+
1041
+ 2. **Main App Features**
1042
+ - As a user, I want [core feature 1] accessible from home screen
1043
+ - As a user, I want [core feature 2] to work offline
1044
+ - As a user, I want to sync data across devices
1045
+
1046
+ 3. **User Experience**
1047
+ - As a user, I want intuitive navigation patterns
1048
+ - As a user, I want fast loading times
1049
+ - As a user, I want accessibility features
1050
+
1051
+ ## Technical Requirements
1052
+ ### Mobile Development
1053
+ - **Cross-platform:** React Native / Flutter / Xamarin
1054
+ - **Native:** Swift (iOS) / Kotlin (Android)
1055
+ - **State Management:** Redux / MobX / Provider
1056
+ - **Navigation:** React Navigation / Flutter Navigation
1057
+
1058
+ ### Backend Integration
1059
+ - REST API or GraphQL integration
1060
+ - Real-time features (WebSockets/Push notifications)
1061
+ - Offline data synchronization
1062
+ - Background processing
1063
+
1064
+ ### Device Features
1065
+ - Camera and photo library access
1066
+ - GPS location services
1067
+ - Push notifications
1068
+ - Biometric authentication
1069
+ - Device storage
1070
+
1071
+ ### Performance Requirements
1072
+ - App launch time < 3 seconds
1073
+ - Screen transition animations < 300ms
1074
+ - Memory usage optimization
1075
+ - Battery usage optimization
1076
+
1077
+ ## Platform-Specific Considerations
1078
+ ### iOS Requirements
1079
+ - iOS 13.0+ minimum version
1080
+ - App Store guidelines compliance
1081
+ - iOS design guidelines (Human Interface Guidelines)
1082
+ - TestFlight beta testing
1083
+
1084
+ ### Android Requirements
1085
+ - Android 8.0+ (API level 26) minimum
1086
+ - Google Play Store guidelines
1087
+ - Material Design guidelines
1088
+ - Google Play Console testing
1089
+
1090
+ ## User Interface Design
1091
+ - Responsive design for different screen sizes
1092
+ - Dark mode support
1093
+ - Accessibility compliance (WCAG 2.1)
1094
+ - Consistent design system
1095
+
1096
+ ## Security & Privacy
1097
+ - Secure data storage (Keychain/Keystore)
1098
+ - API communication encryption
1099
+ - Privacy policy compliance (GDPR/CCPA)
1100
+ - App security best practices
1101
+
1102
+ ## Testing Strategy
1103
+ - Unit testing (80%+ coverage)
1104
+ - UI/E2E testing (Detox/Appium)
1105
+ - Device testing on multiple screen sizes
1106
+ - Performance testing
1107
+ - Security testing
1108
+
1109
+ ## App Store Deployment
1110
+ - App store optimization (ASO)
1111
+ - App icons and screenshots
1112
+ - Store listing content
1113
+ - Release management strategy
1114
+
1115
+ ## Analytics & Monitoring
1116
+ - User analytics (Firebase/Analytics)
1117
+ - Crash reporting (Crashlytics/Sentry)
1118
+ - Performance monitoring
1119
+ - User feedback collection
1120
+
1121
+ ## Success Metrics
1122
+ - App store ratings > 4.0
1123
+ - User retention rates
1124
+ - Daily/Monthly active users
1125
+ - App performance metrics
1126
1126
  - Conversion rates`
1127
1127
  },
1128
1128
  {
@@ -1130,127 +1130,127 @@ Brief description of the mobile app's purpose, target audience, and key value pr
1130
1130
  name: 'Data Analysis Project',
1131
1131
  description: 'Template for data analysis and visualization projects',
1132
1132
  category: 'data',
1133
- content: `# Product Requirements Document - Data Analysis Project
1134
-
1135
- ## Overview
1136
- **Project Name:** [Your Analysis Project]
1137
- **Analysis Type:** [Descriptive/Predictive/Prescriptive]
1138
- **Date:** ${new Date().toISOString().split('T')[0]}
1139
- **Author:** [Your Name]
1140
-
1141
- ## Executive Summary
1142
- Description of the business problem, data sources, and expected insights.
1143
-
1144
- ## Project Goals
1145
- - Goal 1: [Specific business question to answer]
1146
- - Goal 2: [Specific prediction to make]
1147
- - Goal 3: [Specific recommendation to provide]
1148
-
1149
- ## Business Requirements
1150
- ### Key Questions
1151
- 1. What patterns exist in the current data?
1152
- 2. What factors influence [target variable]?
1153
- 3. What predictions can be made for [future outcome]?
1154
- 4. What recommendations can improve [business metric]?
1155
-
1156
- ### Success Criteria
1157
- - Actionable insights for stakeholders
1158
- - Statistical significance in findings
1159
- - Reproducible analysis pipeline
1160
- - Clear visualization and reporting
1161
-
1162
- ## Data Requirements
1163
- ### Data Sources
1164
- 1. **Primary Data**
1165
- - Source: [Database/API/Files]
1166
- - Format: [CSV/JSON/SQL]
1167
- - Size: [Volume estimate]
1168
- - Update frequency: [Real-time/Daily/Monthly]
1169
-
1170
- 2. **External Data**
1171
- - Third-party APIs
1172
- - Public datasets
1173
- - Market research data
1174
-
1175
- ### Data Quality Requirements
1176
- - Data completeness (< 5% missing values)
1177
- - Data accuracy validation
1178
- - Data consistency checks
1179
- - Historical data availability
1180
-
1181
- ## Technical Requirements
1182
- ### Data Pipeline
1183
- - Data extraction and ingestion
1184
- - Data cleaning and preprocessing
1185
- - Data transformation and feature engineering
1186
- - Data validation and quality checks
1187
-
1188
- ### Analysis Tools
1189
- - **Programming:** Python/R/SQL
1190
- - **Libraries:** pandas, numpy, scikit-learn, matplotlib
1191
- - **Visualization:** Tableau, PowerBI, or custom dashboards
1192
- - **Version Control:** Git for code and DVC for data
1193
-
1194
- ### Computing Resources
1195
- - Local development environment
1196
- - Cloud computing (AWS/GCP/Azure) if needed
1197
- - Database access and permissions
1198
- - Storage requirements
1199
-
1200
- ## Analysis Methodology
1201
- ### Data Exploration
1202
- 1. Descriptive statistics and data profiling
1203
- 2. Data visualization and pattern identification
1204
- 3. Correlation analysis
1205
- 4. Outlier detection and handling
1206
-
1207
- ### Statistical Analysis
1208
- 1. Hypothesis formulation
1209
- 2. Statistical testing
1210
- 3. Confidence intervals
1211
- 4. Effect size calculations
1212
-
1213
- ### Machine Learning (if applicable)
1214
- 1. Feature selection and engineering
1215
- 2. Model selection and training
1216
- 3. Cross-validation and evaluation
1217
- 4. Model interpretation and explainability
1218
-
1219
- ## Deliverables
1220
- ### Reports
1221
- - Executive summary for stakeholders
1222
- - Technical analysis report
1223
- - Data quality report
1224
- - Methodology documentation
1225
-
1226
- ### Visualizations
1227
- - Interactive dashboards
1228
- - Static charts and graphs
1229
- - Data story presentations
1230
- - Key findings infographics
1231
-
1232
- ### Code & Documentation
1233
- - Reproducible analysis scripts
1234
- - Data pipeline code
1235
- - Documentation and comments
1236
- - Testing and validation code
1237
-
1238
- ## Timeline
1239
- - Phase 1: Data collection and exploration (2 weeks)
1240
- - Phase 2: Analysis and modeling (3 weeks)
1241
- - Phase 3: Reporting and visualization (1 week)
1242
- - Phase 4: Stakeholder presentation (1 week)
1243
-
1244
- ## Risks & Assumptions
1245
- - Data availability and quality risks
1246
- - Technical complexity assumptions
1247
- - Resource and timeline constraints
1248
- - Stakeholder engagement assumptions
1249
-
1250
- ## Success Metrics
1251
- - Stakeholder satisfaction with insights
1252
- - Accuracy of predictions (if applicable)
1253
- - Business impact of recommendations
1133
+ content: `# Product Requirements Document - Data Analysis Project
1134
+
1135
+ ## Overview
1136
+ **Project Name:** [Your Analysis Project]
1137
+ **Analysis Type:** [Descriptive/Predictive/Prescriptive]
1138
+ **Date:** ${new Date().toISOString().split('T')[0]}
1139
+ **Author:** [Your Name]
1140
+
1141
+ ## Executive Summary
1142
+ Description of the business problem, data sources, and expected insights.
1143
+
1144
+ ## Project Goals
1145
+ - Goal 1: [Specific business question to answer]
1146
+ - Goal 2: [Specific prediction to make]
1147
+ - Goal 3: [Specific recommendation to provide]
1148
+
1149
+ ## Business Requirements
1150
+ ### Key Questions
1151
+ 1. What patterns exist in the current data?
1152
+ 2. What factors influence [target variable]?
1153
+ 3. What predictions can be made for [future outcome]?
1154
+ 4. What recommendations can improve [business metric]?
1155
+
1156
+ ### Success Criteria
1157
+ - Actionable insights for stakeholders
1158
+ - Statistical significance in findings
1159
+ - Reproducible analysis pipeline
1160
+ - Clear visualization and reporting
1161
+
1162
+ ## Data Requirements
1163
+ ### Data Sources
1164
+ 1. **Primary Data**
1165
+ - Source: [Database/API/Files]
1166
+ - Format: [CSV/JSON/SQL]
1167
+ - Size: [Volume estimate]
1168
+ - Update frequency: [Real-time/Daily/Monthly]
1169
+
1170
+ 2. **External Data**
1171
+ - Third-party APIs
1172
+ - Public datasets
1173
+ - Market research data
1174
+
1175
+ ### Data Quality Requirements
1176
+ - Data completeness (< 5% missing values)
1177
+ - Data accuracy validation
1178
+ - Data consistency checks
1179
+ - Historical data availability
1180
+
1181
+ ## Technical Requirements
1182
+ ### Data Pipeline
1183
+ - Data extraction and ingestion
1184
+ - Data cleaning and preprocessing
1185
+ - Data transformation and feature engineering
1186
+ - Data validation and quality checks
1187
+
1188
+ ### Analysis Tools
1189
+ - **Programming:** Python/R/SQL
1190
+ - **Libraries:** pandas, numpy, scikit-learn, matplotlib
1191
+ - **Visualization:** Tableau, PowerBI, or custom dashboards
1192
+ - **Version Control:** Git for code and DVC for data
1193
+
1194
+ ### Computing Resources
1195
+ - Local development environment
1196
+ - Cloud computing (AWS/GCP/Azure) if needed
1197
+ - Database access and permissions
1198
+ - Storage requirements
1199
+
1200
+ ## Analysis Methodology
1201
+ ### Data Exploration
1202
+ 1. Descriptive statistics and data profiling
1203
+ 2. Data visualization and pattern identification
1204
+ 3. Correlation analysis
1205
+ 4. Outlier detection and handling
1206
+
1207
+ ### Statistical Analysis
1208
+ 1. Hypothesis formulation
1209
+ 2. Statistical testing
1210
+ 3. Confidence intervals
1211
+ 4. Effect size calculations
1212
+
1213
+ ### Machine Learning (if applicable)
1214
+ 1. Feature selection and engineering
1215
+ 2. Model selection and training
1216
+ 3. Cross-validation and evaluation
1217
+ 4. Model interpretation and explainability
1218
+
1219
+ ## Deliverables
1220
+ ### Reports
1221
+ - Executive summary for stakeholders
1222
+ - Technical analysis report
1223
+ - Data quality report
1224
+ - Methodology documentation
1225
+
1226
+ ### Visualizations
1227
+ - Interactive dashboards
1228
+ - Static charts and graphs
1229
+ - Data story presentations
1230
+ - Key findings infographics
1231
+
1232
+ ### Code & Documentation
1233
+ - Reproducible analysis scripts
1234
+ - Data pipeline code
1235
+ - Documentation and comments
1236
+ - Testing and validation code
1237
+
1238
+ ## Timeline
1239
+ - Phase 1: Data collection and exploration (2 weeks)
1240
+ - Phase 2: Analysis and modeling (3 weeks)
1241
+ - Phase 3: Reporting and visualization (1 week)
1242
+ - Phase 4: Stakeholder presentation (1 week)
1243
+
1244
+ ## Risks & Assumptions
1245
+ - Data availability and quality risks
1246
+ - Technical complexity assumptions
1247
+ - Resource and timeline constraints
1248
+ - Stakeholder engagement assumptions
1249
+
1250
+ ## Success Metrics
1251
+ - Stakeholder satisfaction with insights
1252
+ - Accuracy of predictions (if applicable)
1253
+ - Business impact of recommendations
1254
1254
  - Reproducibility of results`
1255
1255
  }
1256
1256
  ];
@@ -1356,31 +1356,31 @@ async function getAvailableTemplates() {
1356
1356
  name: 'Web Application',
1357
1357
  description: 'Template for web application projects',
1358
1358
  category: 'web',
1359
- content: `# Product Requirements Document - Web Application
1360
-
1361
- ## Overview
1362
- **Product Name:** [Your App Name]
1363
- **Version:** 1.0
1364
- **Date:** ${new Date().toISOString().split('T')[0]}
1365
- **Author:** [Your Name]
1366
-
1367
- ## Executive Summary
1368
- Brief description of what this web application will do and why it's needed.
1369
-
1370
- ## User Stories
1371
- 1. As a user, I want [feature] so I can [benefit]
1372
- 2. As a user, I want [feature] so I can [benefit]
1373
- 3. As a user, I want [feature] so I can [benefit]
1374
-
1375
- ## Technical Requirements
1376
- - Frontend framework
1377
- - Backend services
1378
- - Database requirements
1379
- - Security considerations
1380
-
1381
- ## Success Metrics
1382
- - User engagement metrics
1383
- - Performance benchmarks
1359
+ content: `# Product Requirements Document - Web Application
1360
+
1361
+ ## Overview
1362
+ **Product Name:** [Your App Name]
1363
+ **Version:** 1.0
1364
+ **Date:** ${new Date().toISOString().split('T')[0]}
1365
+ **Author:** [Your Name]
1366
+
1367
+ ## Executive Summary
1368
+ Brief description of what this web application will do and why it's needed.
1369
+
1370
+ ## User Stories
1371
+ 1. As a user, I want [feature] so I can [benefit]
1372
+ 2. As a user, I want [feature] so I can [benefit]
1373
+ 3. As a user, I want [feature] so I can [benefit]
1374
+
1375
+ ## Technical Requirements
1376
+ - Frontend framework
1377
+ - Backend services
1378
+ - Database requirements
1379
+ - Security considerations
1380
+
1381
+ ## Success Metrics
1382
+ - User engagement metrics
1383
+ - Performance benchmarks
1384
1384
  - Business objectives`
1385
1385
  },
1386
1386
  // Add other templates here if needed