Chore/slim and deepseek v4#6795
Closed
LKK2LQQ wants to merge 13 commits into
Closed
Conversation
Signed-off-by: LKK2LQQ <LKK2LQQ@github.com>
Drop Dockerfile, docker-compose.yml, .dockerignore — repo focuses on yarn web dev.
Remove Anthropic, Baidu, ByteDance, Alibaba, Tencent, Iflytek, ChatGLM, and SiliconFlow providers along with their platforms, API routes, and settings UI blocks. Trim each remaining provider's model list to releases on/after 2025-06: gpt-5 family, gemini-2.5-pro family, grok-4 family + grok-code-fast-1, moonshot kimi-k2/kimi-latest, and 302.AI gemini-2.5-pro. Add DeepSeek V4 (deepseek-v4-flash, deepseek-v4-pro) using the existing api.deepseek.com base URL and chat/completions ChatPath. Also ignore app/constant.ts in .eslintignore to work around an unused-imports/no-unused-imports plugin crash that pre-existed on main.
CN_MASKS now re-exports ALL_SKILLS from app/skills so the built-in mask list mirrors the nine actor roles (general/operations/programmer/PM/sales/ engineer/artist/designer/teacher). TW_MASKS and EN_MASKS are cleared since roles are already authored in Chinese under app/skills/roles.
- Set default model to deepseek-v4-pro with DeepSeek provider
- Increase default history message count from 4 to 64
- Pre-populate customModels with deepseek-v4-pro
- Significantly enhance all 9 skill roles with comprehensive domain expertise:
- Operations (运营): expanded from 6 to 6+ sub-domains with detailed
methodologies (ICE/RICE scoring, cohort analysis, PDCA cycles, etc.)
- Programmer: added specific tech versions, OWASP security, testing strategies
- Product Manager: added business modeling, pricing strategy, stakeholder mgmt
- Sales: added MEDDIC, Challenger Sale, negotiation frameworks, SaaS metrics
- Engineer: expanded to 5 engineering domains with V-model, FMEA, 8D analysis
- Artist: added traditional art taxonomy, AI toolchain, design trends
- Designer: added Design Tokens, Figma variables, motion design, WCAG 2.1
- Teacher: added learning style adaptation, cognitive load theory, scaffolding
- General: structured with explicit capabilities, principles, and constraints
- All roles now include constraint principles, output format specs, and
multi-turn example dialogues for better user interaction
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Set default model and summary model to deepseek-v4-pro - Change server-side DEFAULT_MODEL fallback to deepseek-v4-pro - Rewrite all 9 skill roles with problem-solving frameworks, structured output templates, and realistic example dialogues demonstrating actual deliverables - Update all role model configs to use deepseek-v4-pro Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Build / packaging:
- add size-optimized [profile.release] (opt-level=z, thin LTO, strip, panic=abort)
- disable Tauri installer bundling (bundle.active=false) for a portable single exe
- add src-tauri/.cargo/config.toml (-static) for a self-contained MinGW build
- rework scripts/build-release.sh: auto-detect WinLibs MinGW, use GNU host toolchain,
copy exe + WebView2Loader.dll
i18n: keep only Simplified Chinese + English
- remove 18 locale files and Traditional Chinese (tw); narrow locales/index.ts
- drop tw from mask builder/index; remove Arabic-only RTL handling in home
- delete README_JA/KO and docs/*-{es,ja,ko}.md; fix dead README link
Cleanup:
- remove dead docker.yml workflow (Dockerfile was already removed)
- remove unreferenced README.png, throwaway test-defaults.mjs
- release/install-deps.{cmd,ps1}: winget-based, self-elevating, idempotent
installer for Node/Yarn, Rust + GNU toolchain, and MinGW (WinLibs GCC)
- release/build-exe.{cmd,ps1}: checks the toolchain first (prompts to run
install-deps if anything is missing), then builds via the GNU host toolchain
and copies ActorAIchat.exe + WebView2Loader.dll into release/
(supports -CheckOnly / -NoPause)
- release/BUILD.md: dependency list, one-click usage, manual steps, troubleshooting
- release/PROJECT_OVERVIEW.md: project + build pipeline write-up
- gitignore release/*.exe and release/*.dll (track scripts/docs, not binaries)
- Add msi-install/ with WiX (.msi) and NSIS (setup.exe) build scripts - build-exe.cmd now shows interactive menu for build options - install-deps.ps1 installs NSIS + WiX Toolset via winget - Tauri bundle disabled (avoids GitHub download timeout in China) - Both installers include Start Menu shortcuts, desktop shortcut, Control Panel uninstall registration, and WebView2 detection - Localized in zh-CN and en-US - Update BUILD.md and PROJECT_OVERVIEW.md with installer docs
…full i18n - Add agency-agents as git submodule with auto-update on build/postinstall - Convert 184 agent profiles (EN+ZH) to role mask JSON with full system prompts - Remove old hardcoded 9 skills, all roles now from agency-agents submodule - Complete Chinese translation coverage for all 184 agents (0 missing) - Language-aware filtering: masks/roles match current UI language (cn/zh) - Rebrand NextChat → ActorAIchat across all UI, config, docs, and build scripts - Fix dev first-load hang: generate JSON files before Next.js starts - Fix role selector: categorized, searchable, with reactive async loading - Fix mask grid jitter: deterministic layout instead of random shuffle - Default model/compressModel set to deepseek-v4-pro with DeepSeek provider - Default hideContext:true for built-in masks (preset dialogs hidden) - Add release/ build pipeline: ActorAIchat.exe (9.2MB) with WebView2Loader.dll - TypeScript compiles cleanly, zero errors Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Author
|
merge |
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.
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
📝 补充信息 | Additional Information