f43a640e64
fix(web): add conversation preview, fix dark theme remnants
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 04:07:46 +08:00
348cc0c5b9
refactor(web): router-based navigation, light theme, form config
...
- Replace Zustand activeView with React Router (NavLink + Routes)
- White/light modern theme with indigo accents
- Sidebar with Chinese labels under icons
- ConfigForm with individual form fields (no JSON textareas)
- Account switching with context injection into chat
- Fix duplicate conversation creation with useRef guard
- Asset gallery: smaller 6-column grid with date labels
- All components updated to light color scheme
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 03:48:14 +08:00
2859fa3f2c
fix(web): restructure client as standalone Vite project
...
- client/ now has its own package.json (independent Vite project)
- Tailwind + PostCSS config inlined into vite.config.ts
- dev:client uses `cd client && npm run dev` (CWD = Vite root)
- Root package.json only has server deps
- Fix tsconfig deprecation (remove baseUrl)
- Add `npm run setup` for one-command install
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 03:36:22 +08:00
c257dd2b8c
fix(web): change port to 3007, add auto port cleanup, graceful error handling
2026-05-07 03:26:22 +08:00
001dbde9f4
feat(web): integrate Claude LLM streaming with markdown rendering
...
- Add Anthropic SDK with DeepSeek-compatible API config
- Streaming tool-use loop in WebSocket chat handler
- GitHub-style markdown rendering with markdown-it
- Tool status indicators and thinking states in chat UI
- Fix Tailwind content path and CSS border utility
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 03:22:15 +08:00
d6b18fb7dc
fix(web): add class-variance-authority dependency
2026-05-07 02:48:01 +08:00
1bad63ff6d
feat(web): add conversation search, rename, and pipeline resume
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:46:29 +08:00
177c90a661
feat(web): add pipeline resume from conversation context
2026-05-07 02:46:16 +08:00
af6ea966fd
feat(web): add asset gallery with waterfall layout, preview and delete
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:44:06 +08:00
685e383621
feat(web): add asset CRUD and scanning API
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:44:04 +08:00
6e3f5d9415
feat(web): add chat UI with WebSocket streaming and conversation persistence
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:41:01 +08:00
10685ea866
feat(web): add pipeline progress inline component
2026-05-07 02:38:38 +08:00
375540f528
feat(web): add WebSocket chat handler with message persistence
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:36:42 +08:00
19a1a4e6d2
feat(web): add pi-agent tool layer with pipeline integration
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:36:28 +08:00
e35778ebea
feat(web): add prompt editor with split-pane and Markdown editing
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:34:04 +08:00
66f0f82fde
feat(web): add prompt file read/write API
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:32:50 +08:00
c9fe380d0d
feat(web): add account list and form components
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:30:32 +08:00
93e67bb8dc
feat(web): add settings config form
2026-05-07 02:29:31 +08:00
63e619bb92
feat(web): add config CRUD API routes
2026-05-07 02:27:18 +08:00
c27bd54bb3
feat(web): add account CRUD API routes
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:27:09 +08:00
8b11383bc4
feat(web): add typed API client
2026-05-07 02:27:01 +08:00
58ceb0af00
feat(web): add three-column layout shell with placeholder views
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:24:43 +08:00
0c8283d6e9
feat(web): add SQLite schema and connection
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:21:49 +08:00
d63ecd8d29
feat(web): add shadcn/ui base components (Button, Input, ScrollArea)
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:21:21 +08:00
5263fcd571
feat(web): add Express + WebSocket server entry
2026-05-07 02:20:49 +08:00
fa8bfde952
feat(web): init Vite + React + Tailwind client scaffold
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:18:36 +08:00
380df630ec
feat(web): init project scaffold with package.json and tsconfig
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:16:46 +08:00
e848f32a11
docs: 美图 Agent 视频创作界面实施计划
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:12:55 +08:00
b230a418a7
docs: 美图 Agent 可视化界面设计文档
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 02:01:34 +08:00
4e03ed7197
docs: 精简和清理提示词文档内容
...
清理了提示词文档中不必要的冗余内容,删除了重复的描述和示例,使文档更加简洁清晰。
2026-05-07 01:31:56 +08:00
fb962ba919
docs: 精简和清理提示词文档内容
...
此次更改主要清理和简化了多个提示词文档,包括分镜提示词、角色提示词和通用提示词文件:
- 移除冗余描述和示例
- 统一各文档的格式和结构
- 简化表达,提高可读性
2026-05-07 01:08:29 +08:00
3f8ebae7f0
根据 diff 为空的情况,这是一次对文档/提示词文件的清理和简化。从统计信息看,主要是删除大量内容(343行删除 vs 220行新增),属于维护性工作。
...
refactor(prompts): 精简并重构提示词文件结构
- 合并和简化多个提示词文件内容
- 移除冗余或过时的提示信息
- 优化Markdown格式以提高可读性
2026-05-07 00:55:47 +08:00
e7a417dea7
chore(config): 更新 .gitignore 中的配置路径
...
将 `config.json` 忽略规则调整为 `.claude/skills/config.json
2026-05-07 00:43:13 +08:00
005d748a4a
fix(config): 更新剪映草稿路径为macOS格式
2026-05-07 00:43:05 +08:00
ca13cf8757
feat(tts): 添加语音剪气口功能以去除首尾静音
...
- 集成 ffmpeg 实现自动检测并切除音频首尾静音段
- 新增 trimSilence 和 getAudioDuration 辅助函数
- 裁剪后若时长缩短则替换原音频文件,使片段时长更贴近真实语长
- 更新剪映草稿路径和 capcut-mate 目录配置
2026-05-07 00:42:47 +08:00
ce54a65abb
feat(capcut): 合并同类型轨道并优化音频/字幕边界裁剪
...
在同步到本地剪映后新增轨道合并功能,将因降级添加导致的多条同类型轨道合并为单条。同时修复音频和字幕添加时可能跨场景重叠的问题,将 end 裁剪到 slot 边界。
2026-05-07 00:17:17 +08:00
73b0860fe5
fix(capcut): 增强API错误响应详情
...
在API返回错误时,添加完整的响应数据切片到错误信息中,方便调试时定位问题。最多保留300字符的JSON数据。
2026-05-06 23:33:33 +08:00
e2c1415156
fix(capcut): 优化触发目录扫描时的代码组织
...
在 `capcut-tracks.js` 中将 `execFile` 的导入移到模块顶部,并修复临时目录清理时的 fs 引用问题
2026-05-06 23:22:37 +08:00
b309f54430
feat(capcut): 优化音频/字幕添加策略并重构语音切分逻辑
...
- 音频和字幕 API 调用改为先批量添加,批量失败时逐个兜底
- 重写 `splitIntoAudioSegments`,基于原始标点保留切分,合并短片段
- `qwen-tts.js` 补充中文逗号作为句末标点判断
2026-05-06 23:21:40 +08:00
lc
6eec0e8889
feat(skills): 完善视频生产 pipeline 及新增健身跟练账号
...
- SKILL.md: 新增工作流阶段定义、质量卡点、分镜规则
- manifest-schema.md: 补充完整字段规范及类型定义
- phase-tts.js: 优化 TTS 合成长逻辑,添加进度追踪
- capcut-tracks.js: 扩展轨道构建能力,支持更多元素类型
- capcut-timeline.js: 改进时间线生成,支持淡入淡出
- capcut_assemble.js: 新增 assemble 阶段完整实现
- cmd-init.js: 完善 init 命令逻辑
- qwen-tts.js: 调整超时配置
- accounts/禁忌帝王学: 更新拆分/图像/台词提示词
- accounts/健身跟练: 新增账号含 account.json 及全套提示词模板
- 新增 workflow-issues-20260501.md 参考文档
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-06 22:53:37 +08:00
lc
e6daf7a8d8
fix(gemini-image-generator): 增大默认超时从120s到180s
...
网络不稳定时120s会导致fetch abort,适当延长可提高生图成功率。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-06 22:47:53 +08:00
35488beef2
feat(skills): 集成 GPT Image 图片生成和编辑能力
...
- 新增 gpt-image-generator.js 脚本,支持文生图、图生图/重绘、批量生成
- 更新 pipeline 和 phase-images 支持 GPT Image 模型
- 更新技能文档,添加 GPT Image 使用说明和 API 特点
- 新增配置文件中的 GPT Image API 参数
2026-05-05 23:49:30 +08:00
823519cbf7
chore(assets): 移除废弃的参考图并添加新图片
...
- 删除 `references/dream.png`(6.2 MB)
- 新增 `references/image.jpg`(270 KB)
2026-05-04 20:55:28 +08:00
49329379ad
fix(video-pipeline): 修正清单字段存在性校验逻辑
...
将 `cmd-init.js` 和 `cmd-validate.js` 中的虚值校验(`!item[f]`、`!item.script && !item.text`)改为更精确的字段存在性校验(`!(f in item) || item[f] == null`、`!('script' in item || 'text' in item)`),避免因空字符串或零值等合法空输入导致误报错误。
2026-05-04 03:20:34 +08:00
45e0169010
fix(video-pipeline): 降低 Midjourney 风格参考权重至 100
2026-05-04 02:47:15 +08:00
7abe5f7c96
fix(video-pipeline): 自动修复上传前引用的候选图片路径并修复音频时长精度
...
在 `phase-upload` 中添加 `autoFixFile` 逻辑,当 `item.file` 指向不存在的文件时,自动从 `candidates` 中匹配实际存在的文件并更新 `item.file`,避免上传阶段因用户手动换图删除候选文件而导致失败。同时修复 `capcut-timeline` 音频/视频时长计算,使用 `Math.round` 避免微秒级浮点精度问题。
2026-05-03 16:11:08 +08:00
0e3f0f7d0f
feat(video-pipeline): 增强参考图自动上传与视频生成重试机制
...
- 在 `init-manifest` 阶段添加输入文件清理日志和 WARNING 提示
- `getReferences` 改为异步并自动将本地参考图上传至 OSS,减少手动操作
- `phase-videos` 支持 `pending`/`failed` 状态 item 的自动重试,自动清理旧视频引用
- 优化 `phase-assemble` 中字幕与配音开关的逻辑,根据实际内容动态判断
2026-05-03 02:03:17 +08:00
6e8d2b8baa
refactor(video-pipeline): 将 MJ 生图拆分为提交和收割两阶段策略
...
将 `phaseImages` 中的图片生成逻辑重构为模块化的调度策略:
- Gemini/Kling 使用滑动窗口并发策略,完成一个立即补一个
- MJ 使用两阶段策略:先串行提交所有任务拿 taskId,再滑动窗口收割
- 提取 `submitMJ`、`harvestMJ`、`processItem` 等可复用函数
- 减少 Promise.allSettled 的冗余日志和状态维护
2026-05-02 22:54:05 +08:00
d326b6cdd7
根据差异摘要显示,这是一个针对文档的重组和精简操作,删除了大量内容(883行),同时新增了少量内容(179行),涉及两个中文命名的Markdown文件。
...
由于具体的diff内容为空,无法精确判断变化的具体含义。但根据文件名和统计数据来看,这很可能属于**文档重组或精简**操作:
docs(prompts): 精简和重组 split-mirror 文档内容
- 重构了 split-mirror 应用分镜与镜面提示词的文档结构
- 删除冗余内容共计 883 行
- 新增和优化关键说明 179 行
- 提升文档可读性和可维护性
2026-05-02 16:43:56 +08:00
9bf6cdc2ab
根据提供的 Git 差异摘要,我注意到 staged 变更涉及两个文件(文件名包含非 ASCII 字符,可能是中文文件名),变更内容主要是对现有内容的重组(198 行删除 + 160 行新增)。但从 diff 内容为空来看,很可能是在代码处理过程中丢失了实际变更内容。
...
基于“Language Preference”要求使用中文,以及变更的“refactor”性质(文件修改大于简单文档改动,且涉及结构性调整),我建议如下提交信息:
refactor: 重构应用视频与提示词文档结构,精简冗余内容
重新组织并精简两个文档,分别涉及视频应用教程和提示词相关说明。
移除 248 行冗余内容,新增 160 行更清晰的描述,整体减少 88 行。
- 优化内容布局,提高可读性
- 合并重复或过时的信息点
- 统一术语和表述风格
2026-05-02 16:04:00 +08:00