release: v2.0.7 - Enhanced Telegram Reporting & File Visibility (2026-05-14)
This commit is contained in:
@@ -195,6 +195,7 @@ export async function runCompanyTurn(
|
||||
outputs,
|
||||
report: reportResult.report,
|
||||
sessionTimestamp: timestamp,
|
||||
sessionDir,
|
||||
});
|
||||
telegramOk = await reporter(tgText);
|
||||
if (!telegramOk) telegramReason = 'delivery-failed';
|
||||
@@ -284,10 +285,12 @@ async function _dispatchOne(
|
||||
// hit disk / shell. The report (e.g. "✅ Created: foo.py") is
|
||||
// appended to the response so the user sees what really happened.
|
||||
let finalResponse = rawResponse || '_(empty response)_';
|
||||
let actionReport: string[] | undefined;
|
||||
const hasTag = !!rawResponse && _hasActionTag(rawResponse);
|
||||
if (rawResponse && deps.executeActionTags && hasTag) {
|
||||
try {
|
||||
const report = await deps.executeActionTags(rawResponse);
|
||||
actionReport = report;
|
||||
if (report.length > 0) {
|
||||
finalResponse = `${rawResponse}\n\n---\n**Action 실행 결과:**\n${report.map((r) => `- ${r}`).join('\n')}`;
|
||||
}
|
||||
@@ -322,6 +325,7 @@ async function _dispatchOne(
|
||||
error: rawResponse
|
||||
? (claimedButDidnt ? 'claimed-creation-no-tag' : undefined)
|
||||
: 'empty-response',
|
||||
actionReport,
|
||||
};
|
||||
} catch (e: any) {
|
||||
const err = e?.message ?? String(e);
|
||||
|
||||
Reference in New Issue
Block a user