techunter 0.1.9 → 0.1.10
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/dist/index.js +13 -13
- package/dist/mcp.js +12 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1637,19 +1637,19 @@ import open2 from "open";
|
|
|
1637
1637
|
// src/tools/new-task/prompts.ts
|
|
1638
1638
|
var GUIDE_FORMAT = `
|
|
1639
1639
|
## Guide format
|
|
1640
|
-
|
|
1640
|
+
Detect the language from the task title and write everything \u2014 including section headings \u2014 in that same language. Use plain markdown, no code blocks. Be concise. Include exactly these four sections (translate the heading names accordingly):
|
|
1641
1641
|
|
|
1642
|
-
###
|
|
1643
|
-
Describe what needs to be done and why. Cover the background, the problem being solved, and the expected outcome.
|
|
1642
|
+
### Task Description
|
|
1643
|
+
Describe what needs to be done and why. Cover the background, the problem being solved, and the expected outcome.
|
|
1644
1644
|
|
|
1645
|
-
###
|
|
1645
|
+
### Files Involved
|
|
1646
1646
|
List each file path with CREATE/MODIFY, and one sentence describing what changes.
|
|
1647
1647
|
|
|
1648
|
-
###
|
|
1648
|
+
### Input / Output
|
|
1649
1649
|
What the feature/fix receives as input and what it produces or affects.
|
|
1650
1650
|
|
|
1651
|
-
###
|
|
1652
|
-
Checkbox list of only the most essential testable conditions. Maximum 3 items
|
|
1651
|
+
### Acceptance Criteria
|
|
1652
|
+
Checkbox list of only the most essential testable conditions. Maximum 3 items.
|
|
1653
1653
|
`.trim();
|
|
1654
1654
|
|
|
1655
1655
|
// src/tools/new-task/guide-generator.ts
|
|
@@ -2015,18 +2015,18 @@ import ora8 from "ora";
|
|
|
2015
2015
|
|
|
2016
2016
|
// src/tools/reject/prompts.ts
|
|
2017
2017
|
var REJECTION_FORMAT = `
|
|
2018
|
-
|
|
2018
|
+
Detect the language from the reviewer feedback and write everything \u2014 including section headings \u2014 in that same language. Use markdown. Include exactly these four sections (translate the heading names accordingly):
|
|
2019
2019
|
|
|
2020
|
-
### \u274C
|
|
2020
|
+
### \u274C Rejection Reason
|
|
2021
2021
|
One paragraph: what was reviewed and what the main problem is.
|
|
2022
2022
|
|
|
2023
|
-
### \u{1F527}
|
|
2023
|
+
### \u{1F527} Required Changes
|
|
2024
2024
|
Numbered, specific, actionable items. Reference file names and function names.
|
|
2025
2025
|
|
|
2026
|
-
### \u2705
|
|
2026
|
+
### \u2705 Failed Acceptance Criteria
|
|
2027
2027
|
Re-list each criterion that was NOT met, prefixed with \u274C.
|
|
2028
2028
|
|
|
2029
|
-
### \u{1F4CB}
|
|
2029
|
+
### \u{1F4CB} Next Steps
|
|
2030
2030
|
Clear instruction on what to fix and how to re-submit (via /submit).
|
|
2031
2031
|
`.trim();
|
|
2032
2032
|
|
|
@@ -3100,7 +3100,7 @@ function printBanner(config) {
|
|
|
3100
3100
|
console.log(" " + g("\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D"));
|
|
3101
3101
|
console.log("");
|
|
3102
3102
|
console.log(
|
|
3103
|
-
" " + chalk14.bold("Techunter") + chalk14.dim(` v${version}`) + chalk14.dim(" \xB7 ") + chalk14.cyan(
|
|
3103
|
+
" " + chalk14.bold("Techunter") + chalk14.dim(` v${version}`) + chalk14.dim(" \xB7 ") + chalk14.cyan(getModel(config)) + chalk14.dim(" \xB7 ") + chalk14.dim(`${owner}/${repo}`)
|
|
3104
3104
|
);
|
|
3105
3105
|
console.log("");
|
|
3106
3106
|
}
|
package/dist/mcp.js
CHANGED
|
@@ -1341,19 +1341,19 @@ import open from "open";
|
|
|
1341
1341
|
// src/tools/new-task/prompts.ts
|
|
1342
1342
|
var GUIDE_FORMAT = `
|
|
1343
1343
|
## Guide format
|
|
1344
|
-
|
|
1344
|
+
Detect the language from the task title and write everything \u2014 including section headings \u2014 in that same language. Use plain markdown, no code blocks. Be concise. Include exactly these four sections (translate the heading names accordingly):
|
|
1345
1345
|
|
|
1346
|
-
###
|
|
1347
|
-
Describe what needs to be done and why. Cover the background, the problem being solved, and the expected outcome.
|
|
1346
|
+
### Task Description
|
|
1347
|
+
Describe what needs to be done and why. Cover the background, the problem being solved, and the expected outcome.
|
|
1348
1348
|
|
|
1349
|
-
###
|
|
1349
|
+
### Files Involved
|
|
1350
1350
|
List each file path with CREATE/MODIFY, and one sentence describing what changes.
|
|
1351
1351
|
|
|
1352
|
-
###
|
|
1352
|
+
### Input / Output
|
|
1353
1353
|
What the feature/fix receives as input and what it produces or affects.
|
|
1354
1354
|
|
|
1355
|
-
###
|
|
1356
|
-
Checkbox list of only the most essential testable conditions. Maximum 3 items
|
|
1355
|
+
### Acceptance Criteria
|
|
1356
|
+
Checkbox list of only the most essential testable conditions. Maximum 3 items.
|
|
1357
1357
|
`.trim();
|
|
1358
1358
|
|
|
1359
1359
|
// src/tools/new-task/guide-generator.ts
|
|
@@ -1719,18 +1719,18 @@ import ora7 from "ora";
|
|
|
1719
1719
|
|
|
1720
1720
|
// src/tools/reject/prompts.ts
|
|
1721
1721
|
var REJECTION_FORMAT = `
|
|
1722
|
-
|
|
1722
|
+
Detect the language from the reviewer feedback and write everything \u2014 including section headings \u2014 in that same language. Use markdown. Include exactly these four sections (translate the heading names accordingly):
|
|
1723
1723
|
|
|
1724
|
-
### \u274C
|
|
1724
|
+
### \u274C Rejection Reason
|
|
1725
1725
|
One paragraph: what was reviewed and what the main problem is.
|
|
1726
1726
|
|
|
1727
|
-
### \u{1F527}
|
|
1727
|
+
### \u{1F527} Required Changes
|
|
1728
1728
|
Numbered, specific, actionable items. Reference file names and function names.
|
|
1729
1729
|
|
|
1730
|
-
### \u2705
|
|
1730
|
+
### \u2705 Failed Acceptance Criteria
|
|
1731
1731
|
Re-list each criterion that was NOT met, prefixed with \u274C.
|
|
1732
1732
|
|
|
1733
|
-
### \u{1F4CB}
|
|
1733
|
+
### \u{1F4CB} Next Steps
|
|
1734
1734
|
Clear instruction on what to fix and how to re-submit (via /submit).
|
|
1735
1735
|
`.trim();
|
|
1736
1736
|
|