feat: 系统提示词注入OS环境信息(不可压缩)+日期标记不可压缩+run_command返回cwd信息

This commit is contained in:
thzxx
2026-06-10 14:31:47 +08:00
parent 06fdb9c457
commit 5a38acce03
3 changed files with 45 additions and 4 deletions
+6 -2
View File
@@ -79,7 +79,9 @@ export async function handleRunCommand(params: { command: string; cwd?: string;
stdout,
stderr,
exitCode: code,
duration
duration,
cwd,
command: params.command,
});
});
@@ -94,7 +96,9 @@ export async function handleRunCommand(params: { command: string; cwd?: string;
stderr: stderr + (stderr ? '\n' : '') + err.message,
exitCode: 1,
error: err.message,
duration
duration,
cwd,
command: params.command,
});
});
});