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.
Files changed (3) hide show
  1. package/dist/index.js +13 -13
  2. package/dist/mcp.js +12 -12
  3. 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
- Write the guide in the same language as the task title. Use plain markdown, no code blocks. Be concise. Include exactly these sections:
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
- ### \u4EFB\u52A1\u63CF\u8FF0
1643
- Describe what needs to be done and why. Cover the background, the problem being solved, and the expected outcome. Be as detailed as needed to make the task clear.
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
- ### \u6D89\u53CA\u6587\u4EF6
1645
+ ### Files Involved
1646
1646
  List each file path with CREATE/MODIFY, and one sentence describing what changes.
1647
1647
 
1648
- ### \u8F93\u5165 / \u8F93\u51FA
1648
+ ### Input / Output
1649
1649
  What the feature/fix receives as input and what it produces or affects.
1650
1650
 
1651
- ### \u9A8C\u6536\u6807\u51C6
1652
- Checkbox list of only the most essential testable conditions. Maximum 3 items \u2014 include only what is strictly necessary to verify the task is done.
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
- Write the rejection comment in the same language as the conversation. Use markdown. Include:
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 \u6253\u56DE\u539F\u56E0 / Rejection Reason
2020
+ ### \u274C Rejection Reason
2021
2021
  One paragraph: what was reviewed and what the main problem is.
2022
2022
 
2023
- ### \u{1F527} \u9700\u8981\u4FEE\u6539\u7684\u5185\u5BB9 / Required Changes
2023
+ ### \u{1F527} Required Changes
2024
2024
  Numbered, specific, actionable items. Reference file names and function names.
2025
2025
 
2026
- ### \u2705 \u672A\u901A\u8FC7\u7684\u9A8C\u6536\u6807\u51C6 / Failed Acceptance Criteria
2026
+ ### \u2705 Failed Acceptance Criteria
2027
2027
  Re-list each criterion that was NOT met, prefixed with \u274C.
2028
2028
 
2029
- ### \u{1F4CB} \u4E0B\u4E00\u6B65 / Next Steps
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("GLM-5") + chalk14.dim(" \xB7 zai-org") + chalk14.dim(" \xB7 ") + chalk14.dim(`${owner}/${repo}`)
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
- Write the guide in the same language as the task title. Use plain markdown, no code blocks. Be concise. Include exactly these sections:
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
- ### \u4EFB\u52A1\u63CF\u8FF0
1347
- Describe what needs to be done and why. Cover the background, the problem being solved, and the expected outcome. Be as detailed as needed to make the task clear.
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
- ### \u6D89\u53CA\u6587\u4EF6
1349
+ ### Files Involved
1350
1350
  List each file path with CREATE/MODIFY, and one sentence describing what changes.
1351
1351
 
1352
- ### \u8F93\u5165 / \u8F93\u51FA
1352
+ ### Input / Output
1353
1353
  What the feature/fix receives as input and what it produces or affects.
1354
1354
 
1355
- ### \u9A8C\u6536\u6807\u51C6
1356
- Checkbox list of only the most essential testable conditions. Maximum 3 items \u2014 include only what is strictly necessary to verify the task is done.
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
- Write the rejection comment in the same language as the conversation. Use markdown. Include:
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 \u6253\u56DE\u539F\u56E0 / Rejection Reason
1724
+ ### \u274C Rejection Reason
1725
1725
  One paragraph: what was reviewed and what the main problem is.
1726
1726
 
1727
- ### \u{1F527} \u9700\u8981\u4FEE\u6539\u7684\u5185\u5BB9 / Required Changes
1727
+ ### \u{1F527} Required Changes
1728
1728
  Numbered, specific, actionable items. Reference file names and function names.
1729
1729
 
1730
- ### \u2705 \u672A\u901A\u8FC7\u7684\u9A8C\u6536\u6807\u51C6 / Failed Acceptance Criteria
1730
+ ### \u2705 Failed Acceptance Criteria
1731
1731
  Re-list each criterion that was NOT met, prefixed with \u274C.
1732
1732
 
1733
- ### \u{1F4CB} \u4E0B\u4E00\u6B65 / Next Steps
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "techunter",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "AI-powered task distribution CLI for development teams",
5
5
  "author": "Techunter Contributors",
6
6
  "license": "MIT",