feat: port contentforge/desktop latest changes from main (266552a) - #2
Draft
qdriven wants to merge 2 commits into
Draft
feat: port contentforge/desktop latest changes from main (266552a)#2qdriven wants to merge 2 commits into
qdriven wants to merge 2 commits into
Conversation
Port commit 266552a 'update latest codes' from the flat layout into the monorepo structure: - packages/contentforge-core: pipeline engine/presets/runner and processing (analyzer/summarizer/translator/ai_engine/xiaohongshu) updates - apps/contentforge-desktop/src-tauri: major Rust backend refactor (commands/ and db/ module dirs replace commands.rs/database.rs, new agent_cli/agent_runner/audio_extractor/downloader/queue/vtt_analysis, app icons, generated Tauri schemas, REBUILD_PLAN.md) - contentforge/docs: spec/*, vizplainer-slides/, EXTERNAL_REPO_INTEGRATION_PLAN - contentforge/external-repos: analysis docs + upstream repo gitlinks - docs/how-to/desktop-app.md, tasks/refactor + tasks/tracing entries - apps/vytdl-desktop/Taskfile.yml replaces build-desktop.py / start-desktop.* launchers; root Taskfile and package.json desktop:* delegate to it - scripts/download-yt-dlp-binaries.py: fix resources path to apps/vytdl-desktop - .gitignore: add .task/, downloadeds/*, tools/vytdl-cli/bin/*.zip; untrack .task cache; drop stale vYtDL-desktop/ leftover files Skipped (runtime/build output, covered by .gitignore): contentforge Go binary, scrape/download JSON records. Kept monorepo's new setup-macos.sh.
qdriven
marked this pull request as draft
August 2, 2026 23:44
PYTHONPATH and Tauri yt-dlp resources still pointed at pre-monorepo locations, which broke contentforge:check and desktop cargo builds. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
将 main 分支提交
266552a(update latest codes)移植到 monorepo 目录结构,基于refactor/monorepo。移植内容(96 文件,+28091 / −1265)
contentforge/core/python/9 个 pipeline/processing 模块packages/contentforge-core/python/contentforge/desktop/src-tauri/Rust 后端大重构(commands/、db/ 模块目录取代单文件;新增 agent_cli / agent_runner / audio_extractor / downloader / queue / vtt_analysis;应用图标;gen/schemas)apps/contentforge-desktop/src-tauri/contentforge/docs/spec/*、vizplainer-slides、EXTERNAL_REPO_INTEGRATION_PLANcontentforge/docs/contentforge/external-repos/7 份分析文档 + 7 个上游仓库 gitlinkvYtDL-desktop/Taskfile.yml(取代 Python 启动脚本)apps/vytdl-desktop/Taskfile.yml(路径已适配)docs/how-to/desktop-app.md、tasks/refactor、tasks/tracing连带修复与清理
desktop:*改为委派到apps/vytdl-desktop子 Taskfile;删除 5 个被取代的 Python 启动脚本(build-desktop.py、start-desktop.*、vytdl-launcher.py)scripts/download-yt-dlp-binaries.pyresources 路径从旧布局apps/desktop改为apps/vytdl-desktopvYtDL-desktop/package.json+pnpm-workspace.yaml残留.task/、downloadeds/*、tools/vytdl-cli/bin/*.zip;取消跟踪.task缓存有意跳过的内容
contentforgeGo 编译二进制、scrape/download 运行时 JSON(由 .gitignore 覆盖)setup-macos.sh:266552a 中删除了旧版,但 monorepo 重构提供了新版本,保留 monorepo 版验证
cargo check通过(仅 16 个 dead-code warning)task --list正常已知待办(不阻塞)