pupt 1.2.0 → 1.3.0

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 (173) hide show
  1. package/README.md +42 -489
  2. package/dist/annotations/annotation-analyzer.js +5 -5
  3. package/dist/annotations/annotation-analyzer.js.map +1 -1
  4. package/dist/cli.js +11 -50
  5. package/dist/cli.js.map +1 -1
  6. package/dist/commands/add.js +5 -5
  7. package/dist/commands/add.js.map +1 -1
  8. package/dist/commands/annotate.d.ts.map +1 -1
  9. package/dist/commands/annotate.js +8 -132
  10. package/dist/commands/annotate.js.map +1 -1
  11. package/dist/commands/history.d.ts +1 -0
  12. package/dist/commands/history.d.ts.map +1 -1
  13. package/dist/commands/history.js +50 -0
  14. package/dist/commands/history.js.map +1 -1
  15. package/dist/commands/init-refactored.d.ts.map +1 -1
  16. package/dist/commands/init-refactored.js +2 -1
  17. package/dist/commands/init-refactored.js.map +1 -1
  18. package/dist/commands/init.d.ts.map +1 -1
  19. package/dist/commands/init.js +44 -0
  20. package/dist/commands/init.js.map +1 -1
  21. package/dist/commands/install.d.ts.map +1 -1
  22. package/dist/commands/install.js +124 -29
  23. package/dist/commands/install.js.map +1 -1
  24. package/dist/commands/run.d.ts +2 -0
  25. package/dist/commands/run.d.ts.map +1 -1
  26. package/dist/commands/run.js +125 -46
  27. package/dist/commands/run.js.map +1 -1
  28. package/dist/config/config-manager.d.ts +2 -1
  29. package/dist/config/config-manager.d.ts.map +1 -1
  30. package/dist/config/config-manager.js +12 -1
  31. package/dist/config/config-manager.js.map +1 -1
  32. package/dist/config/migration.d.ts +2 -1
  33. package/dist/config/migration.d.ts.map +1 -1
  34. package/dist/config/migration.js +1 -18
  35. package/dist/config/migration.js.map +1 -1
  36. package/dist/history/enhanced-history-manager.d.ts +3 -1
  37. package/dist/history/enhanced-history-manager.d.ts.map +1 -1
  38. package/dist/history/enhanced-history-manager.js +29 -2
  39. package/dist/history/enhanced-history-manager.js.map +1 -1
  40. package/dist/history/history-manager.d.ts +3 -1
  41. package/dist/history/history-manager.d.ts.map +1 -1
  42. package/dist/history/history-manager.js +36 -13
  43. package/dist/history/history-manager.js.map +1 -1
  44. package/dist/prompts/input-types/file-prompt.d.ts +2 -2
  45. package/dist/prompts/input-types/file-prompt.d.ts.map +1 -1
  46. package/dist/prompts/input-types/file-prompt.js +0 -1
  47. package/dist/prompts/input-types/file-prompt.js.map +1 -1
  48. package/dist/prompts/input-types/file-search-prompt.d.ts +0 -1
  49. package/dist/prompts/input-types/file-search-prompt.d.ts.map +1 -1
  50. package/dist/prompts/input-types/file-search-prompt.js +0 -1
  51. package/dist/prompts/input-types/file-search-prompt.js.map +1 -1
  52. package/dist/prompts/input-types/review-file-prompt.d.ts +0 -1
  53. package/dist/prompts/input-types/review-file-prompt.d.ts.map +1 -1
  54. package/dist/prompts/input-types/review-file-prompt.js +1 -2
  55. package/dist/prompts/input-types/review-file-prompt.js.map +1 -1
  56. package/dist/prompts/prompt-manager.js +3 -3
  57. package/dist/prompts/prompt-manager.js.map +1 -1
  58. package/dist/pupt-1.3.0.tgz +0 -0
  59. package/dist/schemas/config-schema.d.ts +18 -578
  60. package/dist/schemas/config-schema.d.ts.map +1 -1
  61. package/dist/schemas/config-schema.js +6 -12
  62. package/dist/schemas/config-schema.js.map +1 -1
  63. package/dist/schemas/prompt-schema.d.ts +16 -23
  64. package/dist/schemas/prompt-schema.d.ts.map +1 -1
  65. package/dist/scripts/migrate-annotations.d.ts +11 -0
  66. package/dist/scripts/migrate-annotations.d.ts.map +1 -0
  67. package/dist/scripts/migrate-annotations.js +108 -0
  68. package/dist/scripts/migrate-annotations.js.map +1 -0
  69. package/dist/search/file-search-engine.d.ts +3 -2
  70. package/dist/search/file-search-engine.d.ts.map +1 -1
  71. package/dist/search/search-engine.js +7 -7
  72. package/dist/search/search-engine.js.map +1 -1
  73. package/dist/services/auto-annotation-service.d.ts +5 -4
  74. package/dist/services/auto-annotation-service.d.ts.map +1 -1
  75. package/dist/services/auto-annotation-service.js +332 -96
  76. package/dist/services/auto-annotation-service.js.map +1 -1
  77. package/dist/services/file-system-service.d.ts +5 -4
  78. package/dist/services/file-system-service.d.ts.map +1 -1
  79. package/dist/services/git-service.d.ts +3 -2
  80. package/dist/services/git-service.d.ts.map +1 -1
  81. package/dist/services/logging-service.d.ts +2 -3
  82. package/dist/services/logging-service.d.ts.map +1 -1
  83. package/dist/services/logging-service.js +2 -2
  84. package/dist/services/logging-service.js.map +1 -1
  85. package/dist/services/output-capture-service.d.ts +6 -3
  86. package/dist/services/output-capture-service.d.ts.map +1 -1
  87. package/dist/services/output-capture-service.js +133 -67
  88. package/dist/services/output-capture-service.js.map +1 -1
  89. package/dist/services/prompt-service.d.ts +4 -3
  90. package/dist/services/prompt-service.d.ts.map +1 -1
  91. package/dist/services/prompt-service.js +11 -11
  92. package/dist/services/prompt-service.js.map +1 -1
  93. package/dist/services/review-data-builder.d.ts.map +1 -1
  94. package/dist/services/review-data-builder.js +70 -12
  95. package/dist/services/review-data-builder.js.map +1 -1
  96. package/dist/services/ui-service.d.ts +3 -3
  97. package/dist/services/ui-service.d.ts.map +1 -1
  98. package/dist/services/ui-service.js +2 -2
  99. package/dist/services/ui-service.js.map +1 -1
  100. package/dist/template/helpers/index.d.ts.map +1 -1
  101. package/dist/template/helpers/index.js +26 -2
  102. package/dist/template/helpers/index.js.map +1 -1
  103. package/dist/template/template-context.d.ts +7 -1
  104. package/dist/template/template-context.d.ts.map +1 -1
  105. package/dist/template/template-context.js +17 -1
  106. package/dist/template/template-context.js.map +1 -1
  107. package/dist/template/template-engine.d.ts +2 -1
  108. package/dist/template/template-engine.d.ts.map +1 -1
  109. package/dist/template/template-engine.js +4 -2
  110. package/dist/template/template-engine.js.map +1 -1
  111. package/dist/types/annotations.d.ts +1 -0
  112. package/dist/types/annotations.d.ts.map +1 -1
  113. package/dist/types/config.d.ts +5 -10
  114. package/dist/types/config.d.ts.map +1 -1
  115. package/dist/types/config.js.map +1 -1
  116. package/dist/types/history.d.ts +3 -0
  117. package/dist/types/history.d.ts.map +1 -1
  118. package/dist/types/patterns.d.ts +2 -1
  119. package/dist/types/patterns.d.ts.map +1 -1
  120. package/dist/types/prompt.d.ts +1 -1
  121. package/dist/types/prompt.d.ts.map +1 -1
  122. package/dist/types/review.d.ts +8 -3
  123. package/dist/types/review.d.ts.map +1 -1
  124. package/dist/ui/console-ui.d.ts +2 -2
  125. package/dist/ui/console-ui.d.ts.map +1 -1
  126. package/dist/ui/console-ui.js +0 -1
  127. package/dist/ui/console-ui.js.map +1 -1
  128. package/dist/ui/interactive-search.js +2 -2
  129. package/dist/ui/interactive-search.js.map +1 -1
  130. package/dist/utils/annotation-migration.d.ts +12 -0
  131. package/dist/utils/annotation-migration.d.ts.map +1 -0
  132. package/dist/utils/annotation-migration.js +103 -0
  133. package/dist/utils/annotation-migration.js.map +1 -0
  134. package/dist/utils/editor.d.ts +2 -1
  135. package/dist/utils/editor.d.ts.map +1 -1
  136. package/dist/utils/errors.d.ts +4 -2
  137. package/dist/utils/errors.d.ts.map +1 -1
  138. package/dist/utils/errors.js +12 -1
  139. package/dist/utils/errors.js.map +1 -1
  140. package/dist/utils/file-utils.d.ts +3 -4
  141. package/dist/utils/file-utils.d.ts.map +1 -1
  142. package/dist/utils/file-utils.js +2 -2
  143. package/dist/utils/file-utils.js.map +1 -1
  144. package/dist/utils/git-info.d.ts +2 -1
  145. package/dist/utils/git-info.d.ts.map +1 -1
  146. package/dist/utils/gitignore.js +5 -5
  147. package/dist/utils/gitignore.js.map +1 -1
  148. package/dist/utils/platform.js +3 -3
  149. package/dist/utils/platform.js.map +1 -1
  150. package/dist/utils/tool-detection.d.ts +2 -1
  151. package/dist/utils/tool-detection.d.ts.map +1 -1
  152. package/dist/utils/trie.d.ts +2 -1
  153. package/dist/utils/trie.d.ts.map +1 -1
  154. package/package.json +14 -9
  155. package/prompts/ad-hoc-long.md +52 -0
  156. package/prompts/ad-hoc.md +23 -0
  157. package/prompts/add-summary.md +42 -0
  158. package/prompts/analyze-execution.md +181 -0
  159. package/prompts/code-review.md +97 -0
  160. package/prompts/debugging-error-message.md +75 -0
  161. package/prompts/fix-github-actions.md +55 -0
  162. package/prompts/fix-test-errors.md +66 -0
  163. package/prompts/git-commit-comment.md +54 -0
  164. package/prompts/implementation-phase.md +46 -0
  165. package/prompts/implementation-plan.md +87 -0
  166. package/prompts/new-feature.md +80 -0
  167. package/prompts/new-project.md +11 -0
  168. package/prompts/one-shot-change.md +71 -0
  169. package/prompts/pupt-prompt-improvement.md +264 -0
  170. package/prompts/simple-test.md +11 -0
  171. package/prompts/update-design.md +68 -0
  172. package/prompts/update-documentation.md +8 -0
  173. package/dist/pupt-1.2.0.tgz +0 -0
@@ -0,0 +1,68 @@
1
+ ---
2
+ title: Update Design
3
+ author: Adam Powers <apowers@ato.ms>
4
+ creationDate: 20250814
5
+ tags: []
6
+ ---
7
+
8
+ **Role & Context**: You are a software architect updating existing designs with new requirements while maintaining system coherence and design integrity.
9
+
10
+ **Objective**: Update the design document {{file "designFile"}} to incorporate new requirements while preserving existing functionality.
11
+
12
+ **Specific Requirements**:
13
+ - Read and understand the current design completely
14
+ - Analyze new requirements for conflicts or dependencies
15
+ - Integrate new requirements seamlessly:
16
+ - Maintain existing design patterns and principles
17
+ - Ensure backward compatibility
18
+ - Highlight any breaking changes
19
+ - Keep document structure consistent
20
+ - Mark all changes clearly:
21
+ - Add "**[NEW]**" tags for new sections
22
+ - Add "**[UPDATED]**" tags for modified sections
23
+ - Include change rationale where not obvious
24
+ - Validate the updated design:
25
+ - All original requirements still met
26
+ - New requirements fully addressed
27
+ - No conflicts or contradictions
28
+ - Implementation remains feasible
29
+
30
+ **Format & Structure**:
31
+ 1. Add a "Change Summary" section at the top:
32
+ ```markdown
33
+ ## Change Summary - [Date]
34
+
35
+ ### New Requirements Added:
36
+ - [Requirement 1]: [Brief description]
37
+ - [Requirement 2]: [Brief description]
38
+
39
+ ### Sections Modified:
40
+ - [Section name]: [What changed and why]
41
+
42
+ ### Impact Assessment:
43
+ - Breaking changes: [Yes/No - details if yes]
44
+ - Implementation effort: [Estimated additional work]
45
+ - Risk factors: [Any new risks introduced]
46
+ ```
47
+
48
+ 2. Update relevant sections with new requirements
49
+ 3. Ensure cross-references are updated
50
+ 4. Keep formatting consistent with original
51
+
52
+ **New Requirements to Integrate**:
53
+ {{editor "requirements"}}
54
+
55
+ **Examples**: N/A (varies by design document)
56
+
57
+ **Constraints**:
58
+ - Preserve all existing functionality unless explicitly changing
59
+ - Maintain document readability and organization
60
+ - Don't remove content unless replaced by better alternative
61
+ - Keep changes focused on new requirements only
62
+
63
+ **Success Criteria**:
64
+ - All new requirements integrated clearly
65
+ - Existing design integrity maintained
66
+ - Changes are clearly marked and justified
67
+ - Document remains coherent and implementable
68
+ - No unintended side effects introduced
@@ -0,0 +1,8 @@
1
+ ---
2
+ title: Update Documentation
3
+ author: Adam Powers <apowers@ato.ms>
4
+ creationDate: 20250821
5
+ tags: []
6
+ ---
7
+
8
+ Update our documentation. Review every file in the project to make sure that if it is relevant it is included in the documentation. Update our README.md and ensure that all the information is complete and accurate.
Binary file