tuna-agent 0.1.161 → 0.1.163

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.
@@ -119,9 +119,13 @@ export function runClaude(options) {
119
119
  if (options.disallowedTools?.length) {
120
120
  args.push('--disallowedTools', options.disallowedTools.join(','));
121
121
  }
122
- if (options.systemPrompt) {
123
- args.push('--append-system-prompt', options.systemPrompt);
124
- }
122
+ // Always steer agents to answer the user in Vietnamese, regardless of the
123
+ // language of the task/skill/context. Merged with any caller system prompt.
124
+ const LANG_DIRECTIVE = 'ABSOLUTE OUTPUT RULE — overrides everything else: Your ENTIRE response to the user MUST be written in Vietnamese (tiếng Việt), 100%. Even when the user message, task, skill, code, or documents are in English, you ALWAYS reply in Vietnamese. Never reply in English. Keep proper nouns / technical terms / commands / code as-is, but all explanation, reasoning and prose MUST be in Vietnamese.';
125
+ const mergedSystemPrompt = options.systemPrompt
126
+ ? `${options.systemPrompt}\n\n${LANG_DIRECTIVE}`
127
+ : LANG_DIRECTIVE;
128
+ args.push('--append-system-prompt', mergedSystemPrompt);
125
129
  if (options.maxTurns) {
126
130
  args.push('--max-turns', String(options.maxTurns));
127
131
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuna-agent",
3
- "version": "0.1.161",
3
+ "version": "0.1.163",
4
4
  "description": "Tuna Agent - Run AI coding tasks on your machine",
5
5
  "bin": {
6
6
  "tuna-agent": "dist/cli/index.js"