docs(boot): state which bundle lists app-boot applies
This commit is contained in:
1 parent
f60cbc909b
commit
f0ced1aa47
9 files changed
+12
-12
No files matched your search
@@ -15,8 +15,8 @@
|
||||
en: ffc55792d6e922e1
|
||||
zh: 83bd759638857e2d
|
||||
/packages/package-groups:
|
||||
en: ff0b0b8388457f47
|
||||
zh: b9ace22bb3cbad48
|
||||
en: d67996086e3b4f28
|
||||
zh: cb758b1fcee5ab3e
|
||||
/packages/release-expectations:
|
||||
en: 236081c1659b25ab
|
||||
zh: 809110adf003802e
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ Every package lives in exactly one group; new packages join existing groups, and
|
||||
| [`sdk/`](sdk/README.md) | Out-of-process SDK: JSON-RPC protocol and TypeScript client/server |
|
||||
| [`acp/`](acp/README.md) | Automation-only Agent Client Protocol server |
|
||||
| [`interaction/`](interaction/README.md) | Human-collaboration plane: approval/interaction seams, permission preset, commands, ask-user tool |
|
||||
| [`boot/`](boot/README.md) | Shared app-bin boot glue |
|
||||
| [`boot/`](boot/README.md) | Shared app-bin boot glue and installation bundle lists |
|
||||
| [`host/`](host/README.md) | Web GUI host services, directory picking, application launch, plugin inventory, and product telemetry |
|
||||
| [`client/`](client/README.md) | Web-GUI browser half: shell, wire, object services, slots, `ui-*` plugins |
|
||||
| [`test-support/`](test-support/README.md) | Test infrastructure (testkits, replay, Loader smokes) |
|
||||
|
||||
@@ -75,7 +75,7 @@ harness 由 `packages/` 下的 npm 包组装而成,按能力系列分组:会
|
||||
| [`sdk/`](sdk/README.zh.md) | 进程外 SDK:JSON-RPC 协议与 TypeScript 客户端/服务器 |
|
||||
| [`acp/`](acp/README.zh.md) | 仅面向自动化的 ACP(Agent Client Protocol)服务器 |
|
||||
| [`interaction/`](interaction/README.zh.md) | 人机协作平面:批准/交互 seam、权限预设、命令、询问用户的工具 |
|
||||
| [`boot/`](boot/README.zh.md) | 共享的 app bin 启动粘合层 |
|
||||
| [`boot/`](boot/README.zh.md) | 共享的 app bin 启动粘合层与安装方组合包列表 |
|
||||
| [`host/`](host/README.zh.md) | Web GUI 宿主服务、目录选择、应用启动、插件清单和产品遥测 |
|
||||
| [`client/`](client/README.zh.md) | web GUI 浏览器半侧:shell、协议层、对象服务、slot、`ui-*` 插件 |
|
||||
| [`test-support/`](test-support/README.zh.md) | 测试基础设施(testkit、回放、Loader 冒烟测试) |
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
en: c4a301652b851ce9
|
||||
zh: 784871e19cd9db0a
|
||||
/deepseek-ai-dsh-app-boot/use-this-package/reading-plugin-display-metadata:
|
||||
en: 8ab9abe9fd835a2f
|
||||
zh: 5552e57bc013eee4
|
||||
en: b737278c1bc065e7
|
||||
zh: f42bdbfe267581d1
|
||||
/deepseek-ai-dsh-app-boot/use-this-package/startup-and-reload-failures:
|
||||
en: dc13dfa1f79292e4
|
||||
zh: d51682ced7a18ac2
|
||||
|
||||
@@ -86,7 +86,7 @@ The projector preserves native omission behavior by checking literal defaults ag
|
||||
|
||||
Use `readPluginMeta(specifier, parentURL)` or `ctx.pluginPackages.metaOf(specifier, parentURL)` to read installed package display text without importing or activating the plugin. Lookup uses the complete package specifier and the caller's resolution base, respecting Node exports. File paths and file URLs return no metadata without resolving resources. For a package-root specifier, missing locale fields fall back to the accessible `package.json`; a subpath specifier never reads a `package.json`. Malformed metadata returns an `error` diagnostic. Results retain translations for Client-side language selection. The reader also loads an image data URL, even when locale text is complete: a package root uses its manifest `icon`, or `<package>/icon` when that field is omitted; a subpath uses `<specifier>/icon`. An icon error preserves valid text alongside the diagnostic. See [Plugin display metadata](../../../docs/cookbook/adding-a-package.md#plugin-display-metadata) for the author format.
|
||||
|
||||
The shipped profile templates, the default bundle list, and the optional, on-demand, and retired bundle lists that app-boot applies live in [`@deepseek-ai/dsh-official-bundles`](../official-bundles/README.md).
|
||||
The profile templates, installation-owned profile tuples, and retired bundle list that app-boot applies live in [`@deepseek-ai/dsh-official-bundles`](../official-bundles/README.md), together with the installation's default, optional, and on-demand bundle lists.
|
||||
|
||||
<a id="startup-and-reload-failures"></a>
|
||||
### Startup and reload failures
|
||||
|
||||
@@ -86,7 +86,7 @@ profile 导入插件前,DSH 会将其声明的 DSH 版本要求与 `getDshRunt
|
||||
|
||||
使用 `readPluginMeta(specifier, parentURL)` 或 `ctx.pluginPackages.metaOf(specifier, parentURL)` 读取已安装包的展示文本,无需导入或激活插件。查询使用完整包标识与调用方的解析基准,并遵循 Node exports。文件路径与文件 URL 不解析资源,直接返回无元信息。包根标识缺失的 locale 字段回退到可访问的 `package.json`;子路径标识从不读取 `package.json`。格式错误的元信息返回 `error` 诊断。结果保留翻译,由 Client 选择语言。即使 locale 文本完整,读取器也会加载图片 data URL:包根使用清单 `icon`,省略该字段时使用 `<包名>/icon`;子路径使用 `<标识>/icon`。图标出错时,保留有效文本并附上诊断。作者格式见[插件展示元信息](../../../docs/cookbook/adding-a-package.zh.md#plugin-display-metadata)。
|
||||
|
||||
app-boot 使用的随附 profile 模板、默认 bundle 列表,以及可选、按需和已退役 bundle 列表位于 [`@deepseek-ai/dsh-official-bundles`](../official-bundles/README.zh.md)。
|
||||
app-boot 应用的 profile 模板、安装方拥有的 profile 组合包元组和已退役组合包列表位于 [`@deepseek-ai/dsh-official-bundles`](../official-bundles/README.zh.md),安装方的默认、可选和按需组合包列表也在该包中。
|
||||
|
||||
<a id="startup-and-reload-failures"></a>
|
||||
### 启动与重载失败
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
en: bb5c2cd3ee2ee02b
|
||||
zh: cf78cfef3b92ab25
|
||||
/deepseek-ai-dsh-official-bundles/summary:
|
||||
en: 6658e79eeef2a589
|
||||
zh: 2601691648843221
|
||||
en: 3d64166b71a685bc
|
||||
zh: 424e1f77fc987115
|
||||
/deepseek-ai-dsh-official-bundles/table-of-contents:
|
||||
en: 80b31a934611cb4a
|
||||
zh: 05f3f7f9cb2fd881
|
||||
|
||||
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
||||
|
||||
## Summary
|
||||
|
||||
`@deepseek-ai/dsh-official-bundles` holds the bundle package names the dsh installation decides on: which bundles each shipped profile starts with, which bundles it ships switched off, which official bundles install on request, and which bundles earlier releases shipped and profiles drop. [`dsh-app-boot`](../app-boot/README.md) applies these lists when it loads a profile; the plugin manager, the CLI, Desktop, the WebWorker image packer, and repository checks read them directly. The package holds data only, so adding or removing a bundle changes this package and leaves the boot code untouched. Use it as a direct library dependency, not through `cordis.yml`.
|
||||
`@deepseek-ai/dsh-official-bundles` holds the bundle package names the dsh installation decides on: which bundles each shipped profile starts with, which bundles it ships switched off, which official bundles install on request, and which bundles earlier releases shipped and profiles drop. [`dsh-app-boot`](../app-boot/README.md) applies these lists when it loads a profile; the plugin manager, the CLI, Desktop, the WebWorker image packer, and repository checks read them directly. The package holds data only, so adding or removing a bundle leaves app-boot untouched. Use it as a direct library dependency, not through `cordis.yml`.
|
||||
|
||||
## Table of Contents
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ kind: "package-library"
|
||||
|
||||
## 概述
|
||||
|
||||
`@deepseek-ai/dsh-official-bundles` 保存由 dsh 安装决定的组合包包名:每个随附 profile 以哪些组合包启动、随附但默认关闭哪些组合包、哪些官方组合包按请求安装,以及哪些组合包曾由早期版本随附、现在要从 profile 中移除。[`dsh-app-boot`](../app-boot/README.zh.md) 在加载 profile 时应用这些列表;插件管理器、CLI、Desktop、WebWorker 镜像打包器和仓库检查直接读取它们。本包只含数据,因此增加或移除组合包只修改本包,不触及启动代码。请把它作为直接的库依赖使用,而不是通过 `cordis.yml` 使用。
|
||||
`@deepseek-ai/dsh-official-bundles` 保存由 dsh 安装决定的组合包名称:每个随附 profile 以哪些组合包启动、随附但默认关闭哪些组合包、哪些官方组合包按请求安装,以及哪些组合包曾由早期版本随附、现在要从 profile 中移除。[`dsh-app-boot`](../app-boot/README.zh.md) 在加载 profile 时应用这些列表;插件管理器、CLI、Desktop、WebWorker 镜像打包器和仓库检查直接读取它们。本包只含数据,因此增加或移除组合包不会改动 app-boot。请把它作为直接的库依赖使用,而不是通过 `cordis.yml` 使用。
|
||||
|
||||
## 目录
|
||||
|
||||
|
||||
Reference in new issue
Block a user