Files
open-design/plugins
8d820a6989 [OPEND-3799] feat(od-next): use configurable company stock search and HTML safeguards (#8691)
* feat(od-next): 按图片类型选择搜图或生图,搜图限定 Pexels / Pixabay

- 核心提示词:「真实图片优先」改为「按图片类型取图」:真实事物用真实图片,
  示意/虚构/氛围图默认生图,图表、图标、大段文字用代码实现
- prototype / marketing 任务说明与编排文件同步;方案中为每张图写明取图方式
- 素材 skill:新增按类型选路与搜图规则(Pexels 优先、Pixabay 其次,禁用
  Wikipedia/Wikimedia),一次批量下载、单请求超时与总时长上限、按显示尺寸下载、
  记录来源与许可;用来源文字描述判断是否贴合,不再把图片读回对话
- 策略包版本 2.0.6 → 2.0.7,并同步相关资产版本与测试断言

* feat(od-next): 新增 od media stock-search,一次调用完成图库搜图与下载

- 有 PEXELS_API_KEY / PIXABAY_API_KEY 时,按槽位并发搜索 Pexels(优先)与
  Pixabay(兜底),单请求超时 12 s、总预算 180 s,按显示宽度下载到
  assets/stock/,并把来源、作者、许可写入 credits.json
- 每个槽位取 20 张候选,按 alt 文字对检索主体重排:主体出现在描述开头加分,
  未要求人物时降权以人物开头的照片(例:搜眼镜框不再返回戴眼镜的老人)
- 无 key 时退出码 5,agent 回到无 key 路径;参数错误退出码 2
- 素材 skill:有 key 时改用该命令,查询词用英文、主体在前

* refactor(od-next): stock-search 重排改为通用规则,去掉人物词表

- 删除人物词表与中文专用打分分支
- 按 alt 命中的查询词数量排序,数量相同时主体出现越靠前越优先
- 查询里没有英文词时不做比对,保持图库原始顺序

* feat(od-next): 核心提示词写明搜图来源与取图命令,并厘清菜名等品类的取图边界

- 核心提示词的「按图片类型取图」新增一条:搜图只用 Pexels、其次 Pixabay,
  禁用 Wikipedia / Wikimedia Commons 和随机图服务;有图库 key 时用
  od media stock-search 一次取齐。agent 不加载素材 skill 也能照做
  (ODEval 批次 89565639 中 4/17 次搜图跳过 skill,全部退回 Wikipedia)
- 菜名、菜系、商品品类再出名也算泛指,走生图;只有具体实例(某家真实餐馆
  自己的菜、某品牌的商品)才算真实指代物。核心提示词、prototype 任务说明、
  素材 skill 同步
- 「示例内容默认用真实指代物」限定为决定出现哪些具名实体,不改变泛指品类的
  取图方式
- 策略包 2.0.7 → 2.0.8,core 2.3.2 → 2.3.3,prototype 2.2.3 → 2.2.4,
  测试断言同步

* refactor(od-next): 取图规则只留核心提示词一份,素材 skill 只保留操作步骤

- 选路规则、搜图图源、禁用来源、官网兜底只写在核心提示词;素材 skill 与
  prototype 任务说明改为引用,不再各写一份
- 「不要把下载或生成的图读回对话」移入核心提示词:它是影响耗时最大的一条,
  不应依赖 skill 是否加载
- 编排文件的加载条件从「只在需要素材时」改为「第一次搜图、下载、生图等
  素材动作之前」
- 策略包 2.0.8 → 2.0.9,core 2.3.3 → 2.3.4,orchestration 2.3.2 → 2.3.3,
  prototype 2.2.4 → 2.2.5

* fix(od-next): 默认搜图,仅在用户明确请求后考虑生图

* fix(od-next): guard phone dimensions and hidden visibility

* fix(od-next): guide dynamic DOM structure and data separation

* fix(od-next): prefer official assets for named real subjects

* fix(od-next): align combined strategy assets with main contracts

* fix(media): validate stock search inputs and preserve slot identity

* fix(media): retain stock-search quota and fallback diagnostics

(cherry picked from commit 9db3314f3f)

* feat(media): collect and batch stock-search telemetry

(cherry picked from commit df99282ab8)

* fix(media): execute stock search through the authenticated daemon

* test(media): cover daemon stock search fallback through the CLI

* feat(media): use company stock search with bounded web fallback

* feat(media): support service-configured stock search channels

* fix(media): bound public image DNS validation by download deadline

* fix(od-next): keep image credits out of artifacts by default

* fix(pack): align bundled Vela CLI for stock search

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: zhouzheng <zhouzheng@refly.ai>
2026-10-21 11:55:23 +00:00
..

OpenDesign Plugins

Language: English | 简体中文

This directory has two different jobs:

  • _official/ - first-party plugins bundled with OpenDesign. The daemon scans this tree at startup and registers these plugins as official.
  • community/ - community plugin source folders. These are installable plugins, but they are not preinstalled unless a registry entry points at them and the user installs one.
  • registry/ - default registry source manifests (open-design-marketplace.json) for official and community catalogs. These feed the Plugins Available/Sources UI.
  • spec/ - the portable plugin specification, templates, examples, and agent handoff kit for building, testing, publishing, or opening a PR back to OpenDesign.

The common contract is the same everywhere: a plugin is a portable agent skill folder with a SKILL.md, plus an optional versioned open-design.json sidecar that gives OpenDesign marketplace metadata, inputs, previews, pipelines, and trust/capability hints.

Start here: