Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/interactive-capabilities/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!-- generated by scripts/generate-interactive-capabilities.mjs; do not edit -->
# OpenBitFun 功能与设置目录 / OpenBitFun Features & Settings

OpenBitFun Playbook 当前包含 **23 个功能**和 **21 个设置页**,共 **44 个**用户可理解的条目、**332 项**有源码证据的子能力。每个条目有独立 Markdown,并直接服务于说明书网站、OpenBitFun 全局搜索和 `OpenBitFunControl` 智能体工具。
OpenBitFun Playbook 当前包含 **23 个功能**和 **22 个设置页**,共 **45 个**用户可理解的条目、**334 项**有源码证据的子能力。每个条目有独立 Markdown,并直接服务于说明书网站、OpenBitFun 全局搜索和 `OpenBitFunControl` 智能体工具。

OpenBitFun Playbook currently contains **23 features**, **21 settings pages**, and **332** source-backed sub-capabilities across **44** user-facing entries. Every entry has its own Markdown page and directly powers the website, in-app global search, and the `OpenBitFunControl` agent tool.
OpenBitFun Playbook currently contains **23 features**, **22 settings pages**, and **334** source-backed sub-capabilities across **45** user-facing entries. Every entry has its own Markdown page and directly powers the website, in-app global search, and the `OpenBitFunControl` agent tool.

## 唯一事实源 / Single source of truth

Expand Down Expand Up @@ -33,14 +33,14 @@ Docs, website, search, and agents see only features, settings, and documented su

## 控制边界 / Control boundary

- 每个子能力都明确标记为直接控制、委托给专用智能体工具、需交互打开或不支持;“打开页面”不会再被统计成“智能体已控制”。当前覆盖:直接 **51**、委托 **65**、需交互 **216**、不支持 **0**。
- 每个子能力都明确标记为直接控制、委托给专用智能体工具、需交互打开或不支持;“打开页面”不会再被统计成“智能体已控制”。当前覆盖:直接 **51**、委托 **65**、需交互 **218**、不支持 **0**。
- 稳定行为声明为带 JSON 输入契约的 `operations` 或 `options`,并绑定原生产品控制 Provider;智能体不接触原始 Tauri Command。
- `OpenBitFunControl list` 和 `search` 都返回带 `nextCursor` 的精简分页结果;目录可持续增长,不靠固定总量上限。完整目录和 332 项子能力都不会写入 system prompt。
- `OpenBitFunControl list` 和 `search` 都返回带 `nextCursor` 的精简分页结果;目录可持续增长,不靠固定总量上限。完整目录和 334 项子能力都不会写入 system prompt。
- 目录发现与契约读取不依赖 React 或可见窗口。普通配置型 option 统一由 Product Assembly 的共享 ConfigService 执行器读、写并回读,因此 Desktop、CLI 与 Headless 表面走同一份实现;只有宿主原生 operation/provider option 和界面导航按表面注册适配器,缺失时必须明确返回不可用,禁止静默回退本机。只读智能体只能发现和读取目录。

- Every documented item is classified as direct control, delegated Agent control, interactive opening, or unsupported; opening a page is never counted as direct control. Current coverage is **51 direct**, **65 delegated**, **216 interactive**, and **0 unsupported**.
- Every documented item is classified as direct control, delegated Agent control, interactive opening, or unsupported; opening a page is never counted as direct control. Current coverage is **51 direct**, **65 delegated**, **218 interactive**, and **0 unsupported**.
- Stable behavior becomes a typed `operation` or `option` with a JSON input contract and a native product-control provider. Agents never receive raw Tauri commands.
- `OpenBitFunControl list` and `search` return compact pages with a `nextCursor`; the catalog can grow without a fixed total-size ceiling. Neither the full catalog nor its 332 documented items enters the system prompt.
- `OpenBitFunControl list` and `search` return compact pages with a `nextCursor`; the catalog can grow without a fixed total-size ceiling. Neither the full catalog nor its 334 documented items enters the system prompt.
- Discovery and contract lookup do not depend on React or a visible window. Ordinary config-backed options are read, written, and read back by one Product Assembly ConfigService executor shared by Desktop, CLI, and headless surfaces. Only host-native operations/provider options and presentation routes install surface adapters; missing adapters return explicit unavailability without local fallback. Read-only agents may only discover and inspect entries.

## 防腐化门禁 / Anti-drift gates
Expand Down
264 changes: 259 additions & 5 deletions docs/interactive-capabilities/capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "OpenBitFun Playbook",
"origin": "https://playbook.openbitfun.com",
"source": "src/shared/interactive-capabilities/catalog.json",
"digest": "c7c38fecfad3e83e4a9f6f451a37edbf7d42ef399409238253f9a0fd124f879b",
"digest": "f73b2d5ce1cc4824923459e1f2b24c58bba3d3ca930416b059136449aa522d0f",
"ownerDigest": "103fc8646df7b35e9fac1c52149a35b86e9c6115b462b0aa36240a4600903ce4",
"searchAcceptance": [
{
Expand Down Expand Up @@ -145,13 +145,13 @@
],
"counts": {
"features": 23,
"settings": 21,
"userFacing": 44,
"documentedItems": 332,
"settings": 22,
"userFacing": 45,
"documentedItems": 334,
"controlCoverage": {
"direct": 51,
"delegated": 65,
"interactive": 216,
"interactive": 218,
"unsupported": 0
}
},
Expand Down Expand Up @@ -14599,6 +14599,144 @@
"pageId": "ai.models"
}
},
{
"id": "setting.ai.context:query",
"capabilityId": "setting.ai.context",
"itemIds": [
"compression-prefetch",
"request-elision"
],
"kind": "query",
"risk": "read",
"executionHost": "productHost",
"availability": {
"desktop": {
"available": true
},
"cli": {
"available": true
},
"peer": {
"available": true,
"requiredCapabilities": [
"product_control_v1"
]
},
"remoteControl": {
"available": true
},
"detachedDispatch": {
"available": true
}
},
"inputSchema": {
"type": "object",
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"valueSource": {
"kind": "static"
},
"presentationTarget": {
"kind": "settings",
"pageId": "ai.context"
}
},
{
"id": "setting.ai.context:open:compression-prefetch",
"capabilityId": "setting.ai.context",
"itemIds": [
"compression-prefetch"
],
"kind": "open",
"risk": "ui",
"executionHost": "presentationSurface",
"availability": {
"desktop": {
"available": true
},
"cli": {
"available": false,
"reason": "This delivery profile has no live presentation surface"
},
"peer": {
"available": true,
"requiredCapabilities": [
"product_control_v1",
"product_control_presentation_v1"
]
},
"remoteControl": {
"available": true
},
"detachedDispatch": {
"available": false,
"reason": "This delivery profile has no live presentation surface"
}
},
"inputSchema": {
"type": "object",
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"openReason": "unstructuredInteraction",
"presentationTarget": {
"kind": "settings",
"pageId": "ai.context"
}
},
{
"id": "setting.ai.context:open:request-elision",
"capabilityId": "setting.ai.context",
"itemIds": [
"request-elision"
],
"kind": "open",
"risk": "ui",
"executionHost": "presentationSurface",
"availability": {
"desktop": {
"available": true
},
"cli": {
"available": false,
"reason": "This delivery profile has no live presentation surface"
},
"peer": {
"available": true,
"requiredCapabilities": [
"product_control_v1",
"product_control_presentation_v1"
]
},
"remoteControl": {
"available": true
},
"detachedDispatch": {
"available": false,
"reason": "This delivery profile has no live presentation surface"
}
},
"inputSchema": {
"type": "object",
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"openReason": "unstructuredInteraction",
"presentationTarget": {
"kind": "settings",
"pageId": "ai.context"
}
},
{
"id": "setting.ai.memory:query",
"capabilityId": "setting.ai.memory",
Expand Down Expand Up @@ -27648,6 +27786,122 @@
],
"docsUrl": "https://playbook.openbitfun.com/capabilities/setting.ai.models/"
},
{
"id": "setting.ai.context",
"kind": "setting",
"categoryId": "assistant",
"titleZh": "上下文设置",
"titleEn": "Context settings",
"summaryZh": "管理长对话的自动压缩行为,包括后台预取压缩与摘要请求的溢出保护。",
"summaryEn": "Manage automatic compression for long conversations, including background compression prefetch and summary-request overflow protection.",
"keywordsZh": [
"上下文设置",
"自动压缩",
"上下文压缩",
"预取",
"摘要",
"上下文窗口"
],
"keywordsEn": [
"context settings",
"automatic compression",
"context compression",
"prefetch",
"summary",
"context window"
],
"highlightsZh": [
"接近上限前于后台提前准备压缩",
"摘要请求无法缩小时自动折叠超大块",
"在设置页直接开关压缩预取"
],
"highlightsEn": [
"Prepare compression early in the background",
"Fold oversized blocks when the summary request cannot shrink further",
"Toggle compression prefetch directly from the settings page"
],
"items": [
{
"id": "compression-prefetch",
"titleZh": "控制是否在接近上下文上限前于后台提前准备压缩",
"titleEn": "Choose whether compression is prepared in the background before the context limit is reached",
"control": {
"kind": "open",
"reasonCode": "unstructuredInteraction",
"reasonZh": "“控制是否在接近上下文上限前于后台提前准备压缩”是设置页中的即时开关;智能体会打开精确入口,并把交互保留在用户可见界面。",
"reasonEn": "“Choose whether compression is prepared in the background before the context limit is reached” is an immediate toggle on the settings page; the Agent opens the exact entry and keeps the interaction visible to the user."
}
},
{
"id": "request-elision",
"titleZh": "控制摘要请求无法再缩小时是否折叠超大围栏或 XML 块",
"titleEn": "Choose whether oversized fenced or XML blocks fold when the summary request cannot shrink further",
"control": {
"kind": "open",
"reasonCode": "unstructuredInteraction",
"reasonZh": "“控制摘要请求无法再缩小时是否折叠超大围栏或 XML 块”是设置页中的即时开关;智能体会打开精确入口,并把交互保留在用户可见界面。",
"reasonEn": "“Choose whether oversized fenced or XML blocks fold when the summary request cannot shrink further” is an immediate toggle on the settings page; the Agent opens the exact entry and keeps the interaction visible to the user."
}
}
],
"stepsZh": [
"打开设置",
"进入“AI > 上下文”",
"调整自动压缩选项,更改立即保存"
],
"stepsEn": [
"Open Settings",
"Go to AI > Context",
"Adjust the automatic compression options; changes save immediately"
],
"agentExamplesZh": [
"打开上下文设置",
"带我去上下文压缩设置"
],
"agentExamplesEn": [
"Open context settings",
"Take me to the context compression settings"
],
"destination": {
"kind": "settings",
"pageId": "ai.context"
},
"operations": [],
"options": [],
"searchTerms": [
"setting.ai.context",
"上下文设置",
"Context settings",
"AI 与协作",
"AI & collaboration",
"自动压缩",
"上下文压缩",
"预取",
"摘要",
"上下文窗口",
"context settings",
"automatic compression",
"context compression",
"prefetch",
"summary",
"context window",
"接近上限前于后台提前准备压缩",
"摘要请求无法缩小时自动折叠超大块",
"在设置页直接开关压缩预取",
"Prepare compression early in the background",
"Fold oversized blocks when the summary request cannot shrink further",
"Toggle compression prefetch directly from the settings page",
"控制是否在接近上下文上限前于后台提前准备压缩",
"Choose whether compression is prepared in the background before the context limit is reached",
"控制摘要请求无法再缩小时是否折叠超大围栏或 XML 块",
"Choose whether oversized fenced or XML blocks fold when the summary request cannot shrink further",
"打开上下文设置",
"带我去上下文压缩设置",
"Open context settings",
"Take me to the context compression settings"
],
"docsUrl": "https://playbook.openbitfun.com/capabilities/setting.ai.context/"
},
{
"id": "setting.ai.memory",
"kind": "setting",
Expand Down
57 changes: 57 additions & 0 deletions docs/interactive-capabilities/capabilities/setting.ai.context.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<!-- generated by scripts/generate-interactive-capabilities.mjs; do not edit -->
---
id: setting.ai.context
kind: setting
category: assistant
title_zh: "上下文设置"
title_en: "Context settings"
---

# 上下文设置 / Context settings

> 设置 / Setting

管理长对话的自动压缩行为,包括后台预取压缩与摘要请求的溢出保护。

Manage automatic compression for long conversations, including background compression prefetch and summary-request overflow protection.

## 完整功能清单 / Everything included

- **智能体可定位入口,需交互完成 / Agent opens; interaction required** · 控制是否在接近上下文上限前于后台提前准备压缩
- Choose whether compression is prepared in the background before the context limit is reached
- **智能体可定位入口,需交互完成 / Agent opens; interaction required** · 控制摘要请求无法再缩小时是否折叠超大围栏或 XML 块
- Choose whether oversized fenced or XML blocks fold when the summary request cannot shrink further

## 怎么用 / How to use it

1. 打开设置
Open Settings
2. 进入“AI > 上下文”
Go to AI > Context
3. 调整自动压缩选项,更改立即保存
Adjust the automatic compression options; changes save immediately

入口 / Entry: OpenBitFun 设置

## 智能体可替你做什么 / What an agent can do for you

| 操作 / Action | 中文说明 | English description |
| --- | --- | --- |
| 打开对应界面 / Open the UI | 进入 OpenBitFun 中对应的功能界面。 | Open the matching feature in OpenBitFun. |

## 可配置选项 / Configurable options

| 选项 / Option | 可用值 / Values | 中文说明 | English description |
| --- | --- | --- | --- |
| 在界面中配置 / Configure in the UI | — | 此页面的设置在对应界面中完成。 | Configure this page in its matching UI. |

## 可以直接对智能体说 / Try saying

- “打开上下文设置”
- “Open context settings”
- “带我去上下文压缩设置”
- “Take me to the context compression settings”

智能体会先查找相关功能或设置,确认目标后再替你打开、执行或修改。完整能力目录不会预先塞进对话上下文。

The agent first finds the relevant feature or setting, confirms the target, and then opens, runs, or changes it for you. The full catalog is never embedded in the conversation context.
Loading
Loading