21 Commits

Author SHA1 Message Date
17ad169829 refactor(team-communication): 移除配置表,规范改为 skill
团队角色/问题类型/冒泡路径不再用 DB 表 + CRUD,改为 team-communication skill
(产线默认规范,项目可覆盖):
- 删 pipeline_team_roles/pipeline_problem_types 两表 model+json+api dspy
- 回退 pipeline_core/init.py CRUD 函数 + load_path.py 路段
- 重写 team-communication SKILL.md 为分层可覆盖规范文档
2026-08-16 22:08:01 +08:00
ff02533cb6 feat(team-communication): 团队沟通配置 — 团队角色(+agentid) + 问题类型(冒泡路径)
新增通用问题冒泡的数据模型与配置 CRUD:
- models/json: pipeline_team_roles(角色+agentid,多agent区分) + pipeline_problem_types(escalation_path)
- pipeline_core/init.py: _simple_crud 通用 CRUD + 6 个 create/update/delete 注册
- wwwroot/api: 6 个 dspy 端点
- scripts/load_path.py: RBAC 路径
- skills_library/all/team-communication/SKILL.md: 团队沟通技能
2026-08-16 21:25:38 +08:00
670e73d8e5 fix: 菜单按钮查询参数不预先 urlencode,避免前端双重编码
bricks_fetch 的 url_parse 会把 url 查询参数提取后 encodeURIComponent 再编码一次,
dspy 里若已 urlencode 则 title(emoji/中文)被双重编码成 %F0%9F... 明文。
改为直接拼原始值,由前端统一编码一次。
2026-08-16 19:29:19 +08:00
34f4c5b79c fix: 菜单按钮 url 用 entire_url 生成绝对路径,避免前端 absurl 相对路径拼接错误
agent_menus.dspy 按钮 url 原用相对路径(/pipeline_core/api/...),前端 absurl 对
以 / 开头的 url 拼接产生 /pipeline_core/api//pipeline-sdlc/... 双斜杠错误。
改用 entire_url() 生成绝对 URL(与 agent/index.ui 的 ability_menu 一致)。
2026-08-16 19:24:56 +08:00
08f628dba1 feat: 技能提议管理(skill_proposals表+管理API+列表UI+界面)+agent自省propose_skill工具 2026-08-16 19:16:52 +08:00
6daac16190 fix: agent会话dspy加confirm事件处理分支(友好提示而非原始JSON) 2026-08-16 18:52:52 +08:00
085623f700 fix: 功能弹窗尺寸改width/height百分比(85%/80%),cwidth/cheight字符单位太小 2026-08-16 18:41:19 +08:00
b886bf8623 fix: agent_menu_open弹窗urlwidget用entire_url包裹(修复相对路径拼错500) 2026-08-16 18:39:02 +08:00
9c9f946069 feat: 通用助手界面加工作空间按钮 2026-08-16 18:35:20 +08:00
b62390ccde feat: 功能菜单按钮改urlwidget事件+通用弹窗agent_menu_open控制大小+固定工作空间按钮 2026-08-16 18:34:10 +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
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
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
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
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