46 Commits

Author SHA1 Message Date
8dff3d00a2 fix: load_agent_config加generic参数(纯通用模式不fallback默认产线,不挂产线插件) 2026-08-16 18:04:27 +08:00
6b81f8dc50 feat: 纯通用会话入口(agent_chat_generic+agent_generic界面,无产线插件) 2026-08-16 18:02:41 +08:00
73c41e832f feat: 技能检索LLM化(get_skill_catalog+按名构建)+PipelineAbility.menus产线功能菜单+agent_menus.dspy+agent界面菜单栏 2026-08-16 17:19:47 +08:00
5ff1358116 feat: 多租户隔离-技能运行时目录改机构工作目录(ensure_org_skills从全局模板复制) 2026-08-16 15:51:32 +08:00
69184cb4a5 fix: 目录层匹配增强(技能名拆分)+fallback(匹配不到按scope列出),兼容Hermes的trigger_conditions格式 2026-08-16 15:44:26 +08:00
9be706d99b refactor: 技能源头=global(公共技能),选装从global复制到org;packs=技能集清单 2026-08-16 15:41:55 +08:00
6814a0931b refactor: 技能库收进skills/library/(唯一技能根目录,仓库与运行时scope统一) 2026-08-16 15:35:27 +08:00
2a88fd2375 refactor: skill_pack技能库目录改运行目录(cwd/skills_library),不进site-packages 2026-08-16 15:29:23 +08:00
aed3f9bfdf fix: agent/index.ui url前缀改下划线(/pipeline_core/) 2026-08-16 15:22:26 +08:00
bf5d12a389 feat: pipeline-core通用会话agent(AgentIO界面+agent_chat.dspy+模型选项)+skill_pack选装API 2026-08-16 15:20:21 +08:00
1abaa4ea2e feat: 技能库(skills_library 213个Hermes技能)+skill_pack技能集安装能力+ocai-h5-dev技能集(37个应用/模块开发技能) 2026-08-16 15:17:43 +08:00
d9c100ce76 refactor: to_prompt_block剥离frontmatter冗余(目录层已展示name/description) 2026-08-15 19:45:02 +08:00
99256f040c feat: 加load_skill工具(技能按需加载正文,分层导入的第二层) 2026-08-15 19:43:07 +08:00
fc0ce9ad7d fix: read_file描述明确支持docx解析,引导agent优先用read_file而非run_command探测 2026-08-15 19:25:04 +08:00
b9b6403de3 feat: 角色定义可插拔(RoleSpec+辅助函数)+记忆分域(scope:global/pipeline/project/user) 2026-08-15 09:46:42 +08:00
f8036d5300 docs: 记录完整可插拔维度清单+技能六级隔离+slash命令 2026-08-15 09:41:08 +08:00
82c2724789 feat: 技能六级可插拔隔离(global/org/pipeline/role/project/user)+slash命令注册表 2026-08-15 09:38:31 +08:00
c3fcc35e08 docs: 更新架构设计——可插拔能力包模型+多实例隔离 2026-08-15 09:27:31 +08:00
9635825164 refactor: core剥离SDLC能力——GENERAL_TOOLS通用内核+PipelineAbility可插拔能力包注册表+load_agent_config按pipeline_id动态挂载 2026-08-15 09:26:01 +08:00
63760ff186 feat: 通用工具集定义(read/write/list/search_files/session_search/todo)+整体架构设计文档 2026-08-15 09:04:49 +08:00
5dd63479e1 refactor: cockpit system prompt 重写——删'禁止reply',恢复能力自省/诚实降级/ask_user,加软性典型场景指引 2026-08-15 08:19:03 +08:00
2ef876895f chore: 移除误提交的 __pycache__ .pyc,添加 .gitignore 2026-08-15 00:11:59 +08:00
2ecf6e06f7 fix: load/save_agent_config 用不存在的 project_id 列查 sd_org_settings
sd_org_settings 以 org_id 为键(无 project_id 列),导致每次 cockpit 请求抛 'Unknown column project_id'。
改为先由 sd_projects 解析 org_id 再查。save_agent_config 同步修正。
2026-08-15 00:11:47 +08:00
p
8d431721fa feat: llm 组织隔离(org_id) + 产线缺省模型(default_model) + load_agent_config 缺省查找 2026-08-14 18:03:01 +08:00
6b908fd88e fix: system_prompt 加'用户报告问题/异常→查实际状态定位根因'引导 2026-08-14 15:46:54 +08:00
f13dfcce52 fix: system_prompt 明确需求→create_task+start_agents 工作流(替代误导性的查询数据+diagnose 示例) 2026-08-14 13:59:59 +08:00
p
cd4e1e72a4 feat: SDLC_DEFAULT_TOOLS 加 clone_repo 工具 2026-08-13 18:57:10 +08:00
c686092b8a fix: remove reply from output - force tool_call only 2026-08-10 17:54:04 +08:00
29c06ef0fb fix: minimal prompt + show project name 2026-08-10 17:52:18 +08:00
f35fe25051 fix: aggressive prompt - first action MUST be a data tool 2026-08-10 17:51:09 +08:00
7e755c1fa8 fix: strengthen system prompt to enforce tool usage 2026-08-10 17:09:28 +08:00
e15057ab73 fix: SkillLoader.__init__ should call reload() 2026-08-10 17:08:25 +08:00
5fdeb1c026 refactor: SkillConfig 三级隔离 (global/org/user) 2026-08-10 17:07:22 +08:00
5fd38f8635 feat: Agent v2 能力定义层 - AgentConfig/ToolRegistry/SkillLoader/MemoryStore 2026-08-10 11:06:37 +08:00
66b8b42064 docs: add README.md and skill/SKILL.md 2026-08-03 16:46:18 +08:00
21ecaf3a5e fix: llm CRUD json URLs match generated dspy names; rebuild llm index.ui 2026-08-03 16:09:55 +08:00
801bff63ea fix: get_module_dbname returns pipeline for all modules 2026-08-03 16:09:55 +08:00
827bbb80b4 feat: UI pages, build.sh, deployment scripts, model uitype fixes
- Add SDLC dashboard, pipeline editor, ops center UI
- build.sh: clone business modules to pkgs/, xls2ui CRUD, fix created_by
- global_func.py: password_encode None-safe wrapper
- pipeline_app.py: permission cache warmup removed
- load_path.py: RBAC permission registration for all modules
- scripts/merge_i18n.py: i18n merge tool
- bin/init_perms.py, bin/init_data.py: init scripts
- set_role_perm.py: single permission registration
- Model uitype fields set for form editing
- pipeline_core/pipeline_ops load_path.py scripts
2026-08-03 16:09:55 +08:00
c62416d994 fix: sor.U() 3-arg -> 2-arg in update_pipeline_step and update_pipeline_version 2026-08-03 16:09:55 +08:00
864d3ef218 fix: sor.U() 3-arg -> 2-arg in publish_pipeline 2026-08-03 16:09:55 +08:00
ddc3db5364 style: modernize card UI — colored icon boxes, fixed height, white bg, Title3
- pipeline_core: 3 cards with colored icon containers (blue/green/amber)
- pipeline_ops: 3 cards with icons (red/sky/purple), consistent height
- pipeline_dist: 2 cards with icons (green/orange), added distributor management card
2026-08-03 16:09:55 +08:00
16418a03ef fix: pipeline_core index.ui — widget id mismatch broke card clicks
Cards used target=app.pipeline_core_content but widget id was app.pipeline_core_content (dot in name).
Fixed: id → pipeline_core_content, now matches bricks app.child lookup.
2026-08-03 16:09:55 +08:00
5a7c0b438d feat: 修复工作区状态并提交CRUD生成文件
- 修复文件权限 (600→644)
- 删除调试日志 (global_func.py)
- 添加 CRUD 生成的 wwwroot 文件 (pipeline_core/dist/ops)
- 添加 mysql.ddl.sql 文件
- 更新 pyproject.toml 配置
- 添加 showcase 模块安装 (build.sh)
- 更新 index.ui (sidebar toggle + 管理按钮)
- 设置 start.sh/stop.sh 可执行权限
- 添加 wwwroot 符号链接 (appbase/rbac/pipeline_sdlc)
- 更新 .gitignore (排除 pkgs/bricks/pipeline.pid)
2026-08-03 16:09:55 +08:00
91160d6d96 fix: init/data.json格式修正+model codes补全
pipeline-core:
- pipelines.json codes cond: id -> parentid

pipeline-ops:
- init/data.json: 转为Format B(parentid/parentname/items)
- pipeline_pricing.json: +4 codes(pricing_type/currency/status/pipeline_id)
- pipeline_capacity.json: +2 codes(capacity_status/pipeline_id)
- pipeline_usage_log.json: +2 codes(usage_status/pipeline_id)

pipeline-dist:
- init/data.json: 转为Format B(parentid/parentname/items)
- distributors.json: +1 code(distributor_status)
- distributor_pipeline.json: +4 codes(markup_type/dp_status/外键)
2026-08-03 16:09:55 +08:00
d9a1903d7a feat: pipeline-app独立产线后端服务
3个业务模块:
- pipeline_core: 产线定义(pipelines/steps/versions)
- pipeline_ops: 运营(定价/供应量/使用记录)
- pipeline_dist: 分销(分销商/独立定价/API密钥)

- ahserver独立部署(端口9090)
- 独立数据库pipeline
- 80个文件, 符合module/db-table/crud三规范
2026-08-03 16:09:55 +08:00
5f8828954a Initial commit 2026-08-03 16:09:19 +08:00