claude-teammate 0.1.302 → 0.1.304

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-teammate",
3
- "version": "0.1.302",
3
+ "version": "0.1.304",
4
4
  "description": "CLI bootstrapper for Claude Teammate.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -4,9 +4,9 @@ const INCLUDE_RESOURCE_LINKS_RULE =
4
4
  "When your response is posted as a comment on a Jira issue, GitHub issue, or GitHub PR, include the URL of every resource you created (e.g. Jira task, spreadsheet, test design, test cases, document, Confluence page) so the reader can navigate directly to it.";
5
5
 
6
6
  const LANGUAGE_PRESERVATION_RULES = [
7
- "Preserve the user's requested natural language in all user-visible text unless the request explicitly asks for translation.",
7
+ "Preserve the user's requested natural language in all written content.",
8
8
  "Preserve standard spelling, script, and diacritics for that language; do not strip accents or transliterate text into ASCII.",
9
- "When writing Vietnamese, always use proper Vietnamese diacritics."
9
+ "When writing Vietnamese, always use proper Vietnamese diacritics (e.g. 'Ho so nang luc' is wrong; 'Hồ sơ năng lực' is correct)."
10
10
  ].join(" ");
11
11
 
12
12
  export function buildRepoSelectionSystemPrompt() {
@@ -376,6 +376,7 @@ export function buildGitHubPRPlanBreakdownSystemPrompt() {
376
376
  "Steps must be ordered by dependency — steps that others depend on come first.",
377
377
  "Each step description must be specific enough to act on without reading the full PR body: name the exact files, classes, functions, or fields to change and what the change is.",
378
378
  "Aim for 3-8 steps. Do not produce trivial steps or steps that only say 'test' or 'verify'.",
379
+ LANGUAGE_PRESERVATION_RULES,
379
380
  "Return only structured output matching the provided schema.",
380
381
  "!!! Codex will review your output once you are done."
381
382
  ].join(" ");
@@ -407,7 +408,9 @@ export function buildGitHubPRStepBreakdownSystemPrompt() {
407
408
  "Each sub-step must be self-contained and implementable by reading only that sub-step description.",
408
409
  "Sub-steps must be ordered by dependency.",
409
410
  "Each sub-step must be specific: name the exact files, classes, functions, or fields to change.",
410
- "Do not produce trivial sub-steps. Return only structured output matching the provided schema."
411
+ "Do not produce trivial sub-steps.",
412
+ LANGUAGE_PRESERVATION_RULES,
413
+ "Return only structured output matching the provided schema."
411
414
  ].join(" ");
412
415
  }
413
416
 
@@ -679,6 +682,7 @@ export function buildSuggestionRevisionSystemPrompt() {
679
682
  "Output only the revised suggestion as a fenced code block using the suggestion syntax (e.g. ```suggestion or ````suggestion:-0+0).",
680
683
  "Do not include any prose, explanation, or wrapper text outside the suggestion block.",
681
684
  "The output must be ready to post directly as a pull request comment.",
685
+ LANGUAGE_PRESERVATION_RULES,
682
686
  "Return only structured output matching the provided schema.",
683
687
  "!!! Codex will review your output once you are done."
684
688
  ].join(" ")
package/src/claude.js CHANGED
@@ -89,7 +89,7 @@ export function parseEffortTag(description) {
89
89
 
90
90
  const DEFAULT_TIMEOUT_MS = 5 * 60 * 1000;
91
91
  const LONG_TASK_TIMEOUT_MS = 30 * 60 * 1000;
92
- const DEFAULT_MODEL = "sonnet";
92
+ const DEFAULT_MODEL = "opus";
93
93
 
94
94
  const OUTPUT_SCHEMA = {
95
95
  type: "object",