yumoqing
a243a16941
feat(secret): 敏感信息库前端接入——AgentIO钥匙图标+选择窗数据源(2026-09-17)
- agent_config.py: GENERAL_TOOLS += 6 个 ToolDefinition(category=secret,
required 显式声明防 native FC 把可选参数标必填逼 LLM 编值)。
- wwwroot/api/secret_options.dspy: AgentIO 选择窗数据源。身份取自 get_user()/
get_userorgid(),**不接受前端传 user_id/org_id**(否则改参数即可枚举他人凭据名称);
双保险剔除 encrypted_value/fingerprint;未登录返 success:false(区分没登录与没数据)。
RBAC 已被 rp.json 的 /pipeline_core/**(logined) 覆盖,无需额外注册。
- 3 个 .ui 的 AgentIO options 注入 secret_dataurl/secret_format/secret_title/
secret_tip(共4处,含 agent/index.ui 动态建 tab 的 script 字符串)。
未传 secret_dataurl 时钥匙图标不渲染 → 其他宿主应用零影响。
bricks 侧配套(UiText.insertAtCursor / AgentInput 弹窗 / AgentIO 透传)在 bricks 仓库。
2026-09-17 15:45:17 +08:00
..
2026-09-15 17:47:27 +08:00
2026-09-10 18:36:06 +08:00
2026-09-10 18:36:06 +08:00
2026-09-11 18:29:17 +08:00
2026-09-11 18:29:17 +08:00
2026-09-06 19:48:50 +08:00
2026-09-11 18:33:42 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-08-25 14:13:45 +08:00
2026-08-25 14:11:42 +08:00
2026-08-25 14:13:45 +08:00
feat(mobile): 手机端「更多」产线入口+功能按钮收缩(2026-09-08用户要求:给会话留最大空间)——my_pipelines.dspy 加 fmt=more 返回 MobileSheet 项[{name,label,icon,desc,url}],url 直达 mobile_agent.ui?pipeline_id=X&embed=1 单产线会话页(已购即出现在底部「更多」,无需改 index.ui);mobile_agent.ui 加 embed 分支(隐藏 ChipBar 胶囊条+门禁遮罩,锁定产线,AgentIO 自带 pipeline_id/session_id=m_<pid>,会话区最大化,服务端 agent_chat 硬门禁兜底);agent_menus.dspy 按 _is_mobile 端形态分流(桌面一排 Button 原样不变,手机收缩为单个「⋯ 功能」Button→MobileSheet 竖排,项 popup:true 点击走 agent_menu_open/workspace_popup 的 PopupWindow 自开链路,与桌面完全一致)
2026-09-08 19:33:59 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-09-10 12:33:30 +08:00
2026-09-17 15:45:17 +08:00
2026-08-21 19:18:45 +08:00
2026-08-16 19:16:52 +08:00
2026-08-23 21:43:04 +08:00