6 Commits

Author SHA1 Message Date
b826c3a75e refactor(secrets): 六入口重复secret配置清零(统一化)——AgentIO钥匙改宿主级默认(bricks.app.secret_defaults/window.__SECRET_DEFAULTS),shell一处设置全站生效;修此前逐.ui复制粘贴漏配bidding/opportunity/platform三入口无钥匙 2026-09-18 15:37:20 +08:00
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
2cfbc55dc3 feat(mobile): 未购产线门禁——mobile_agent.ui加遮罩引导层(尚未购买任何产线→去商城/用通用助手,遮罩desktop_hidden+select有产线即hide)+agent_chat.dspy服务端订阅门禁(未购/过期拒绝对话,平台角色豁免,DB异常fail-open)+my_pipelines加mode=full+agent_menus通用模式工作空间按钮+agent_generic工作空间改_generic锁专属目录(2026-09-08用户三条要求) 2026-09-08 16:01:13 +08:00
9926042c9b fix(workspace): 通用会话工作空间按钮补传产线参数(产线隔离) 2026-08-31 16:54:09 +08:00
9c9f946069 feat: 通用助手界面加工作空间按钮 2026-08-16 18:35:20 +08:00
6b81f8dc50 feat: 纯通用会话入口(agent_chat_generic+agent_generic界面,无产线插件) 2026-08-16 18:02:41 +08:00