Skip to content
Closed
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
465d240
fix(core): truncate model-facing tool output
Jerry2003826 May 25, 2026
a90adf9
fix(core): harden tool output truncation handling
Jerry2003826 May 26, 2026
e77fc08
fix(core): sanitize truncation output telemetry path
Jerry2003826 May 26, 2026
583a7fd
fix(core): sanitize truncation path in otel telemetry
Jerry2003826 May 26, 2026
c8eea3d
test(core): cover non-string tool output truncation
Jerry2003826 May 27, 2026
b695d6a
test(core): assert non-string truncation debug log
Jerry2003826 May 27, 2026
94eb231
test(core): emit telemetry when tool truncation fails
Jerry2003826 May 27, 2026
f319c10
fix(core): use structured tool truncation signal
Jerry2003826 May 27, 2026
35604fc
fix(core): bound truncation fallback paths
Jerry2003826 May 27, 2026
b4d9767
fix(core): cover truncation fallback gaps
Jerry2003826 May 28, 2026
c99135a
fix(core): correlate truncation telemetry with call ids
Jerry2003826 May 28, 2026
dc3ee34
fix(core): report fs error codes in truncation telemetry
Jerry2003826 May 28, 2026
358e4a0
fix(core): harden tool output truncation feedback
Jerry2003826 May 29, 2026
fe0d527
Merge remote-tracking branch 'origin/main' into codex/fix-tool-output…
Jerry2003826 May 29, 2026
a0ee305
fix(core): scope tool output truncation to scheduler strings
Jerry2003826 Jun 1, 2026
2ea9955
Merge remote-tracking branch 'origin/main' into codex/fix-tool-output…
Jerry2003826 Jun 1, 2026
a811f42
fix(core): avoid re-truncating saved tool output
Jerry2003826 Jun 8, 2026
efa179a
Merge remote-tracking branch 'origin/main' into codex/fix-tool-output…
Jerry2003826 Jun 8, 2026
fafe8ed
fix(core): harden tool output truncation
Jerry2003826 Jun 10, 2026
f949b33
fix(core): tighten tool truncation review followups
Jerry2003826 Jun 10, 2026
81498ed
fix(core): log tool truncation fallback metadata
Jerry2003826 Jun 10, 2026
a04b91d
fix(core): resolve merge conflicts with main for PR #4520
cursoragent Jun 14, 2026
7481a83
fix(core): align truncation telemetry with logger fields
cursoragent Jun 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/cli/src/i18n/locales/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -872,8 +872,7 @@ export default {
'La commande /fork nécessite le feature gate fork. Définissez QWEN_CODE_ENABLE_FORK_SUBAGENT=1 pour l’activer.',
'The agent tool is unavailable; cannot fork.':
"L'outil agent est indisponible ; impossible de créer un fork.",
'Failed to launch fork: {{error}}':
'Échec du lancement du fork : {{error}}',
'Failed to launch fork: {{error}}': 'Échec du lancement du fork : {{error}}',
'User launched a background fork via /fork: {{directive}}':
"L'utilisateur a lancé un fork en arrière-plan via /fork : {{directive}}",
'Forked into a background agent. It inherits this conversation and runs without blocking — track it in the background tasks panel; it reports back when done.':
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/src/i18n/locales/ja.js
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,7 @@ export default {
'/fork コマンドには fork フィーチャーゲートが必要です。有効にするには QWEN_CODE_ENABLE_FORK_SUBAGENT=1 を設定してください。',
'The agent tool is unavailable; cannot fork.':
'エージェントツールを利用できないため、フォークできません。',
'Failed to launch fork: {{error}}':
'フォークの起動に失敗しました: {{error}}',
'Failed to launch fork: {{error}}': 'フォークの起動に失敗しました: {{error}}',
'User launched a background fork via /fork: {{directive}}':
'ユーザーが /fork でバックグラウンドフォークを起動しました: {{directive}}',
'Forked into a background agent. It inherits this conversation and runs without blocking — track it in the background tasks panel; it reports back when done.':
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/src/i18n/locales/pt.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,7 @@ export default {
'O comando /fork requer o feature gate de fork. Defina QWEN_CODE_ENABLE_FORK_SUBAGENT=1 para ativá-lo.',
'The agent tool is unavailable; cannot fork.':
'A ferramenta de agente está indisponível; não é possível criar um fork.',
'Failed to launch fork: {{error}}':
'Falha ao iniciar o fork: {{error}}',
'Failed to launch fork: {{error}}': 'Falha ao iniciar o fork: {{error}}',
'User launched a background fork via /fork: {{directive}}':
'O usuário iniciou um fork em segundo plano via /fork: {{directive}}',
'Forked into a background agent. It inherits this conversation and runs without blocking — track it in the background tasks panel; it reports back when done.':
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/src/i18n/locales/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,7 @@ export default {
'Команде /fork требуется feature gate fork. Установите QWEN_CODE_ENABLE_FORK_SUBAGENT=1, чтобы включить его.',
'The agent tool is unavailable; cannot fork.':
'Инструмент агента недоступен; fork создать нельзя.',
'Failed to launch fork: {{error}}':
'Не удалось запустить fork: {{error}}',
'Failed to launch fork: {{error}}': 'Не удалось запустить fork: {{error}}',
'User launched a background fork via /fork: {{directive}}':
'Пользователь запустил фоновый fork через /fork: {{directive}}',
'Forked into a background agent. It inherits this conversation and runs without blocking — track it in the background tasks panel; it reports back when done.':
Expand Down
6 changes: 2 additions & 4 deletions packages/cli/src/i18n/locales/zh-TW.js
Original file line number Diff line number Diff line change
Expand Up @@ -762,12 +762,10 @@ export default {
'請提供指令。用法:/fork <指令>',
'Cannot fork while a response or tool call is in progress. Wait for it to finish or resolve the pending tool call.':
'回應或工具呼叫正在進行時無法分支。請等待其完成或處理待確認的工具呼叫。',
'Cannot fork before the first conversation turn.':
'首次對話輪次前無法分支。',
'Cannot fork before the first conversation turn.': '首次對話輪次前無法分支。',
'The /fork command requires the fork feature gate. Set QWEN_CODE_ENABLE_FORK_SUBAGENT=1 to enable it.':
'/fork 命令需要啟用 fork 功能開關。設定 QWEN_CODE_ENABLE_FORK_SUBAGENT=1 以啟用。',
'The agent tool is unavailable; cannot fork.':
'Agent 工具不可用;無法分支。',
'The agent tool is unavailable; cannot fork.': 'Agent 工具不可用;無法分支。',
'Failed to launch fork: {{error}}': '啟動分支失敗:{{error}}',
'the background agent could not be started.': '背景智能體無法啟動。',
'User launched a background fork via /fork: {{directive}}':
Expand Down
6 changes: 2 additions & 4 deletions packages/cli/src/i18n/locales/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -842,12 +842,10 @@ export default {
'请提供指令。用法:/fork <指令>',
'Cannot fork while a response or tool call is in progress. Wait for it to finish or resolve the pending tool call.':
'响应或工具调用正在进行时无法分支。请等待其完成或处理待确认的工具调用。',
'Cannot fork before the first conversation turn.':
'首次对话轮次前无法分支。',
'Cannot fork before the first conversation turn.': '首次对话轮次前无法分支。',
'The /fork command requires the fork feature gate. Set QWEN_CODE_ENABLE_FORK_SUBAGENT=1 to enable it.':
'/fork 命令需要启用 fork 功能开关。设置 QWEN_CODE_ENABLE_FORK_SUBAGENT=1 以启用。',
'The agent tool is unavailable; cannot fork.':
'Agent 工具不可用;无法分支。',
'The agent tool is unavailable; cannot fork.': 'Agent 工具不可用;无法分支。',
'Failed to launch fork: {{error}}': '启动分支失败:{{error}}',
'the background agent could not be started.': '后台智能体无法启动。',
'User launched a background fork via /fork: {{directive}}':
Expand Down
9 changes: 6 additions & 3 deletions packages/cli/src/ui/commands/forkCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,12 @@ export const forkCommand: SlashCommand = {
role: 'user',
parts: [
{
text: t('User launched a background fork via /fork: {{directive}}', {
directive,
}),
text: t(
'User launched a background fork via /fork: {{directive}}',
{
directive,
},
),
},
],
});
Expand Down
Loading
Loading