mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 23:42:03 +00:00
- Restore plan update handling in collect.ts, formatting todo data as markdown checklist - Skip todo_write tool_result processing in normalize.ts to avoid duplicates - Add getMessageTimestamp() and getMessageUuid() methods to maintain message order - Fix version parsing to support @latest tags - Fix Windows spawn EINVAL error (CVE-2024-27980) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
13 lines
346 B
TypeScript
13 lines
346 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Qwen Team
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* Generates a filename with timestamp for export files.
|
|
*/
|
|
export function generateExportFilename(extension: string): string {
|
|
const timestamp = new Date().toISOString().replace(/[:.]/g, '-');
|
|
return `qwen-code-export-${timestamp}.${extension}`;
|
|
}
|