diff --git a/packages/experimental/creation-recommendations/README.i18n.yaml b/packages/experimental/creation-recommendations/README.i18n.yaml index 340e9ae7af..915059f113 100644 --- a/packages/experimental/creation-recommendations/README.i18n.yaml +++ b/packages/experimental/creation-recommendations/README.i18n.yaml @@ -33,8 +33,8 @@ en: b950fbe9f29693d4 zh: 2dd7edb2d1c72941 /deepseek-ai-dsh-experimental-creation-recommendations/model-experience/creation-recommendations/what-the-model-sees: - en: 547ab3b34446d337 - zh: 4d7f4de6d507f3ca + en: 2137eb07ebe59b37 + zh: 6068c5242b050f28 /deepseek-ai-dsh-experimental-creation-recommendations/model-experience/creation-recommendations/token-effect: en: c4a1a1320a9a61fb zh: 499d2e790b82f3fc diff --git a/packages/experimental/creation-recommendations/README.md b/packages/experimental/creation-recommendations/README.md index 1c78f01ab6..6adf4f1a75 100644 --- a/packages/experimental/creation-recommendations/README.md +++ b/packages/experimental/creation-recommendations/README.md @@ -95,7 +95,7 @@ Both fields survive replay and reach Creator unchanged. This preserves submitted #### What the model sees -The existing `skill` tool loads `personalized-pages` for an explicit interface request, a clear implied viewing or editing need, or a result with concrete continuing use. Its short catalog entry describes these conditions without naming individual plugin use cases; no common system-prompt section is added. Loading returns planning and placement guidance plus current official-plugin names, descriptions and enabled state for duplicate checks. The catalog does not trigger planning and is not a complete inventory of built-in UI. Existing-feature questions, edits to an existing page, ordinary answers or coding, quoted wishes, discussion-only and declined requests need no creation card. An explicitly requested one-off interface remains eligible. A suitable existing capability replaces a duplicate page proposal; unconfirmed details remain explicit. No tool is added: the proposal is a `dsh-action` block with `action: "create_personalized_page"`, `title`, a one-to-three-sentence `brief` containing only requested or essential behavior, and `slot`, plus optional `initialContent` for supplied data without invented rows or units. No business field such as an assignee is required. The block itself is the submission; nothing starts until the user clicks Create. Plan-only and read-only requests permit a proposal. Only clicking Create starts background Creator work; the Agent must not wait, poll, claim installation or request a refresh/report-back. Ordinary answers stay plain text; only a closed top-level `dsh-action` block is parsed for a card. +The existing `skill` tool loads `personalized-pages` for an explicit interface request, a clear implied viewing or editing need, or a result with concrete continuing use. Its short catalog entry describes these conditions without naming individual plugin use cases; no common system-prompt section is added. Loading returns planning and placement guidance plus current official-plugin names, descriptions and enabled state for duplicate checks. The catalog does not trigger planning and is not a complete inventory of built-in UI. Existing-feature questions, edits to an existing page, ordinary answers or coding, quoted wishes, discussion-only and declined requests need no creation card. An explicitly requested one-off interface remains eligible. A live view of the app's own data qualifies without an explicit page request. A suitable existing capability replaces a duplicate page proposal; unconfirmed details remain explicit. No tool is added: the proposal is a `dsh-action` block with `action: "create_personalized_page"`, `title`, a one-to-three-sentence `brief` containing only requested or essential behavior, and `slot`, plus optional `initialContent` for supplied data without invented rows or units. No business field such as an assignee is required. The block itself is the submission; nothing starts until the user clicks Create. Plan-only and read-only requests permit a proposal. Only clicking Create starts background Creator work; the Agent must not wait, poll, claim installation or request a refresh/report-back. Ordinary answers stay plain text; only a closed top-level `dsh-action` block is parsed for a card. #### Token effect diff --git a/packages/experimental/creation-recommendations/README.zh.md b/packages/experimental/creation-recommendations/README.zh.md index 5325c882e0..09de67ecc5 100644 --- a/packages/experimental/creation-recommendations/README.zh.md +++ b/packages/experimental/creation-recommendations/README.zh.md @@ -95,7 +95,7 @@ Creator 收到已接受的完整方案、优先于早先位置描述的用户最 #### 模型看到的内容 -已有 `skill` 工具在用户明确提出界面需求、隐含表达清晰的查看或编辑需求,或结果有具体后续用途时加载 `personalized-pages`。简短目录描述这些适用条件,不逐项列举插件场景,也不新增公共 system prompt。加载后返回规划和位置指引,以及供查重的当前官方插件名称、描述和启用状态。目录不负责触发规划,也不是内置 UI 的完整清单。询问现成功能、修改已有页面、普通回答或开发、引用中的愿望、只讨论及已拒绝的请求不需要创建卡。明确提出的一次性界面仍可出卡。已有能力合适时不再提重复页面方案;无法确认的细节保持明确。不新增工具:提案是一个 `dsh-action` 块,含 `action: "create_personalized_page"`、`title`、只写请求或必要行为的一到三句 `brief`、`slot`,以及可选的 `initialContent` 用于已提供的数据,不编造行或单位。块本身就是提交;用户点击创建之前不会开始任何工作。先给方案、只读模式仍允许提交建议。只有点击创建才后台启动 Creator;Agent 不等待、轮询、声称已安装或要求刷新、报告完成。普通回答仍是文本;只有已闭合的顶层 `dsh-action` 块会被解析成卡片。 +已有 `skill` 工具在用户明确提出界面需求、隐含表达清晰的查看或编辑需求,或结果有具体后续用途时加载 `personalized-pages`。简短目录描述这些适用条件,不逐项列举插件场景,也不新增公共 system prompt。加载后返回规划和位置指引,以及供查重的当前官方插件名称、描述和启用状态。目录不负责触发规划,也不是内置 UI 的完整清单。询问现成功能、修改已有页面、普通回答或开发、引用中的愿望、只讨论及已拒绝的请求不需要创建卡。明确提出的一次性界面仍可出卡。查看本应用自身数据(会话、任务、日志、工作区文件)的实时视图,不需要明确要求页面也可出卡。已有能力合适时不再提重复页面方案;无法确认的细节保持明确。不新增工具:提案是一个 `dsh-action` 块,含 `action: "create_personalized_page"`、`title`、只写请求或必要行为的一到三句 `brief`、`slot`,以及可选的 `initialContent` 用于已提供的数据,不编造行或单位。块本身就是提交;用户点击创建之前不会开始任何工作。先给方案、只读模式仍允许提交建议。只有点击创建才后台启动 Creator;Agent 不等待、轮询、声称已安装或要求刷新、报告完成。普通回答仍是文本;只有已闭合的顶层 `dsh-action` 块会被解析成卡片。 #### Token 影响 diff --git a/packages/experimental/creation-recommendations/skills/personalized-pages.md b/packages/experimental/creation-recommendations/skills/personalized-pages.md index 89bbd80e80..4ea0cc2def 100644 --- a/packages/experimental/creation-recommendations/skills/personalized-pages.md +++ b/packages/experimental/creation-recommendations/skills/personalized-pages.md @@ -8,6 +8,7 @@ Propose a page in these cases: - The user asks for a page, tab, panel, tool or interface in this app, or says they want something to keep, revisit or update later (“以后每次”, “能不能一直”, “希望能有”). One-off use still qualifies when the interface is explicitly requested. - Your answer is a table, list or chart, and the user has said the data will keep changing or that they will interact with it (“每周更新”, “我来改状态”, “要勾选”). The continuation must come from the user's own words; a table alone, or data that merely looks dynamic, is not enough. Deliver the requested answer first, then offer the page. +- The user wants to keep watching live data of this app itself (a Session's usage, a running task's output, files changing in the workspace). A text answer cannot stay current, so a page qualifies even without the words above; name the data source in the brief and leave how it is read to the Creator. Do not propose a page in these cases: diff --git a/packages/experimental/creation-recommendations/src/skill.ts b/packages/experimental/creation-recommendations/src/skill.ts index 74f11586c1..b60387c006 100644 --- a/packages/experimental/creation-recommendations/src/skill.ts +++ b/packages/experimental/creation-recommendations/src/skill.ts @@ -9,7 +9,7 @@ import { BUNDLED_SKILL_RANK, type SkillCandidate } from '@deepseek-ai/dsh-skill' export function registerCreationSkill(ctx: Context): void { const candidate: SkillCandidate = { name: 'personalized-pages', - description: 'Plan an optional new page or small tool when the user asks for a page, tab, panel, tool or interface in this app (even for one-off use), wants something to keep, revisit or update later, or will keep changing data shown in your answer. Load this before reading any files or source; it tells you how to submit the proposal. Not for requested files or code, ordinary answers, existing-feature questions, quoted wishes or declined recommendations.', + description: 'Plan an optional new page or small tool when the user asks for a page, tab, panel, tool or interface in this app (even for one-off use), wants something to keep, revisit or update later, will keep changing data shown in your answer, or wants a live view of this app’s own data (Sessions, tasks, logs, workspace files). Load this before reading any files or source; it tells you how to submit the proposal. Not for requested files or code, ordinary answers, existing-feature questions, quoted wishes or declined recommendations.', provider: 'dsh-personalized-pages', source: 'bundled', rank: BUNDLED_SKILL_RANK, locator: null, invocation: { modelInvocable: true, userInvocable: false }, }