claude-code streaming chat, desktop remote viewer, new-automation route, tiktok task v4, misc fixes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -257,7 +257,7 @@ async function extractAttachment(params: Params): Promise<string> {
|
||||
const timestamp = ((row.date as string) ?? '').slice(0, 10).replace(/-/g, '');
|
||||
const sender = (row.from_address as string) ?? 'unknown';
|
||||
const filename = `${timestamp}_${sender}_${params.email_id}_${params.attachment_idx}_${baseName}${ext}`;
|
||||
const outDir = join(process.env.HOME ?? '/tmp', 'Downloads');
|
||||
const outDir = join(process.env.OFFICER_USER_HOME ?? process.env.HOME ?? '/tmp', 'Downloads');
|
||||
mkdirSync(outDir, { recursive: true });
|
||||
const outPath = join(outDir, filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user