refactor: Extract web-templates package and unify build/pack workflow

Moves export-html and insight templates from cli/assets to a new
dedicated web-templates package. Updates Dockerfile and build scripts
to use consolidated bundle/prepare:package/pack workflow.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
tanzhenxin 2026-02-26 21:02:46 +08:00
parent 5926b37f4d
commit 9e4c5ee891
44 changed files with 1153 additions and 265 deletions

View file

@ -5,7 +5,7 @@
*/
import type { ExportSessionData } from '../types.js';
import { HTML_TEMPLATE } from './htmlTemplate.js';
import { EXPORT_HTML_TEMPLATE as HTML_TEMPLATE } from '@qwen-code/web-templates';
/**
* Escapes JSON for safe embedding in HTML.

File diff suppressed because one or more lines are too long