ymq
262d678e2a
feat: 工作环境管理(沙箱本地/远程切换 + 目录迁移)
...
- work_env.py: get/set_work_env(用户/机构维度,缺省local)、rsync目录迁移、远程SSH+bwrap沙箱、远程bwrap部署
- run_in_work_env: 按mode分发本地bwrap/远程SSH+bwrap
- sd_work_envs 表 DDL
2026-08-14 11:12:54 +08:00
ymq
08ae248c2a
feat: 应用部署主机逻辑账号系统(零root+bwrap沙箱)
...
- deploy_account.py: 逻辑账号(ag_前缀)创建/删除/列表,bwrap沙箱执行,免密目录读写
- 零root:不建真实Linux账号,逻辑隔离目录 + unprivileged user namespace
- init.py: sd_deploy_accounts 表 DDL 自动初始化
2026-08-13 17:57:09 +08:00
ymq
2d6709ee33
feat: Agent v2 执行引擎 - AgentExecutor with compression/memory/skills
2026-08-10 11:06:42 +08:00
Hermes Agent
a44130b23b
refactor(v3.1): decouple KTV handlers — pipeline-service is pure engine
...
- Remove handlers_ktv.py (943 lines) — KTV is now an external adapter
- Remove register_ktv_handlers() from load_pipeline_service()
- Remove KTV imports from __init__.py
- pipeline-service no longer knows about any specific pipeline type
- Version bump: 3.0.0 → 3.1.0
Each pipeline type should be a separate adapter package that calls:
register_handler(step_type, fn)
register_step_type(step_type, metadata)
This keeps pipeline-service stable and lets adapters evolve independently.
2026-06-16 11:11:05 +08:00
Hermes Agent
b9a5810d85
feat(v3): human-in-the-loop — interactive steps, pluggable step_type registry
...
- New states: waiting (step/task), rejected (step)
- New tables: pipeline_human_tasks, pipeline_step_types
- New module: step_registry.py — pluggable step_type metadata
- New module: human.py — human_complete, approval_approve, approval_reject
- Executor: detects interactive step_types, creates human_tasks, enters waiting
- Reject with rollback: approval_reject(rollback_to=step) resets steps and re-runs
- API: human_task_complete, approval_approve, approval_reject, human_task_list
- API: pipeline_step_types, pipeline_register_step_type, pipeline_unregister_step_type
- Built-in interactive types: human_task, approval_gate
- Updated DDL and appcodes
2026-06-16 11:05:45 +08:00
113eb7e040
feat: add KTV pipeline handlers (17 step types, 3 production modes)
...
- handlers_ktv.py: 17 async step handlers for KTV production
- Audio/Video preparation (ffmpeg)
- Demucs vocal separation (GPU server SSH)
- Lyric calibration (SenseVoice ASR + LLM)
- Subtitle rendering (ASS karaoke format)
- Lyric generation & evaluation (Mode C)
- Music generation (Suno/MiniMax API)
- Character design & image generation (wan2.7)
- Storyboard generation (LLM)
- Scene video generation (T2V/Ref2V)
- Scene video evaluation (quality threshold)
- Scene video concatenation (ffmpeg loop)
- KTV synthesis (dual-track + MTV)
- llm_bridge.py: async LLM call bridge (harnessed_agent / OpenAI API)
- storage.py: extract deps from step_config JSON
- init.py: auto-register KTV handlers on load
2026-06-11 20:36:05 +08:00
2448ad45f7
refactor: 改造为通用产线执行引擎模块
...
- 去掉独立 aiohttp 服务器,改为标准模块(load_pipeline_service)
- 存储从文件系统改 MySQL(sqlor)
- 新增 3 张数据表:pipeline_tasks/task_steps/artifacts
- 多租户隔离(tenant_id)
- 通用 DAG 调度引擎(读 pipeline_steps 表,不硬编码业务)
- 可插拔步骤处理器(register_handler by step_type)
- artifact 版本管理 + 级联重跑
- init/data.json 标准 appcodes 格式
- 完整 README 文档
2026-06-11 17:30:06 +08:00
fd6d982704
feat: pipeline-service早期产线引擎(初始版本)
2026-06-11 14:47:08 +08:00