refactor(document): name Office PDF conversion explicitly

This commit is contained in:
yudshj committed 2026-09-16 13:59:49 +08:00
1 parent 96e68ded13
commit fd3cdf539b
57 files changed
+339 -334

No files matched your search

+5 -5
View File
@@ -63,7 +63,7 @@ export const SERVICE_PAGE: Record<string, string> = {
agentPresets: 'core.md',
agents: 'core.md',
approval: 'approval.md',
documentRender: 'document-render.md',
documentConvert: 'document-convert.md',
attachments: 'attachment.md',
shell: 'shell.md',
shellEnv: 'shell.md',
@@ -274,10 +274,10 @@ export const LINK_MAP: Readonly<Record<string, string>> = {
PluginInstallProgress: 'boot.md',
BrowserUseProviderName: 'browser-use.md',
ComputerUseProviderName: 'computer-use.md',
DocumentRenderRequest: 'document-render.md',
DocumentRenderResult: 'document-render.md',
DocumentRenderPriority: 'document-render.md',
DocumentRendererGeneration: 'document-render.md',
DocumentConvertRequest: 'document-convert.md',
DocumentConvertResult: 'document-convert.md',
DocumentConvertPriority: 'document-convert.md',
DocumentConverterGeneration: 'document-convert.md',
Agent: 'core.md',
AgentCancelCause: 'core.md',
AgentFactory: 'core.md',
+2 -2
View File
@@ -151,8 +151,8 @@ const SERVICE_ROLES: ServiceRole[] = [
note: 'One provider-owned name per service instance. Each provider also owns its model tools; the service has no common action API, runtime selection, or Session workflow lock.',
},
{
key: 'documentRender', pkg: 'document-render', title: 'Office to PDF rendering',
mode: 'seam', implementations: ['document-render-libreoffice'], consumers: [],
key: 'documentConvert', pkg: 'document-convert', title: 'Office to PDF conversion',
mode: 'seam', implementations: ['document-convert-libreoffice'], consumers: [],
note: 'Authorized Office bytes are converted on the Host using native engines on macOS/Windows and Node WASM on Linux.',
},
{
@@ -53,8 +53,8 @@ const SENTENCE_MODEL_EXPERIENCE: Readonly<Record<string, SentenceContract>> = {
'packages/browser-use/browser-use': { kind: 'none', reason: 'The registry only reserves a provider name; providers own browser tools and Session resources.' },
'packages/experimental/browser-use-runtime': { kind: 'indirect', reason: 'Browser providers call the library to own resources and expose upstream MCP tools.' },
'packages/computer-use/computer-use': { kind: 'none', reason: 'The registry only reserves provider names; providers own all model-facing tools and guidance.' },
'packages/document/document-render': { kind: 'none', reason: 'Conversion callers own model tools and messages.' },
'packages/document/document-render-libreoffice': { kind: 'none', reason: 'The provider returns PDF bytes without constructing model input.' },
'packages/document/document-convert': { kind: 'none', reason: 'Conversion callers own model tools and messages.' },
'packages/document/document-convert-libreoffice': { kind: 'none', reason: 'The provider returns PDF bytes without constructing model input.' },
'packages/attachment/attachment': { kind: 'indirect', reason: 'The storage seam delegates model request rendering to provider adapters.' },
'packages/attachment/attachment-local': { kind: 'indirect', reason: 'The local backend delegates model request rendering to provider adapters.' },
'packages/shell/shell': { kind: 'indirect', reason: 'The service interface delegates all model rendering to dsh-tool-bash.' },