yumoqing f819b3242b feat(agent): UiText.insertAtCursor + AgentIO 敏感信息选择窗(2026-09-17)
通用框架层,不硬编码任何宿主路径或占位符格式(对齐 model_dataurl 既有设计):

- input.js UiText.insertAtCursor(text): 光标位置插入(有选区则替换选区)。
  两个时序坑照抄 handle_enter/handle_tab_indent 既有处理:程序改
  dom_element.value 不触发 input 事件(须手动同步 this.value);focus() 后浏览器
  可能重置 selectionStart(schedule_once 0.5ms 重设)。不 dispatch('changed')——
  UiText 也用于 Form,多发一次会触发脏值/校验联动。
- agent_input.js: 钥匙图标(仅宿主传 opts.secret_dataurl 时渲染 → 未配置的宿主
  完全看不到,零影响) + open_secret_picker 弹窗(HttpJson.httpcall 拉元数据列表,
  只显示 name/label/type/prefix4/len/用过几次——够人类辨认但拼不出可用值) +
  insert_secret_placeholder(按 opts.secret_format 生成占位符插入光标处)。
  弹窗 API 用 dismiss()+'dismissed'(PopupWindow 无 close()/closed)。
- agent.js AgentIO: 透传 secret_dataurl/params/format/title/url/tip 六个配置。
- css: .secret-picker-tip/row/meta + .secret-type-tag(走全局 class,
  bricks 内联嵌套 style 对象无效)。
- imgs/secret_key.svg: 24x24 stroke 风格,与 add.svg/submit.svg 一致。

宿主接入示例见 pipeline-core wwwroot/agent/index.ui。
2026-09-17 15:45:48 +08:00
2025-10-05 06:39:58 +08:00
2025-07-16 14:28:55 +08:00
2026-06-22 14:59:32 +08:00
2026-03-05 14:50:07 +08:00
2025-11-13 18:04:58 +08:00
2025-07-16 14:28:55 +08:00
2025-11-18 14:57:29 +08:00
2025-11-19 12:30:39 +08:00

Bricks

A new web application development framework to make web application development more easier like play bricks

Documentation

We have documents in 3 language

NOTE: all the documents was generated by Qwen3-max

Description
No description provided
Readme 26 MiB
Languages
JavaScript 98.7%
CSS 1.2%