Configuration reference

August 28, 2026 · View on GitHub

English | 中文

The installable bundle provides a safe default row in cordis.patch.yml:

- insert:
    - id: workbuddy-ppt
      name: dsh-workbuddy-ppt
      config:
        root: !!js dshHomePath('office-ppt')

DSH patch layers replace a row's complete config. An operator override must retain root and every non-default value it owns.

Core storage and input limits

KeyDefaultPurpose
rootrequired by schema; supplied by bundleAbsolute state, revision, runtime, and audit root.
maxUploadBytes32 MiBMaximum decoded bytes for one browser upload.
maxZipEntries4,000Maximum OOXML archive member count.
maxZipEntryBytes4 MiBMaximum expanded bytes for one archive member.
maxUncompressedBytes256 MiBMaximum aggregate expanded archive bytes.
maxSlides40Maximum slides in one generated presentation.
maxDecksPerSession50Maximum persisted presentations in one session.
maxTemplatesPerSession20Maximum extracted templates in one session.
maxActivities200Maximum retained recent activity records.

Optional Slides runtime

KeyDefaultPurpose
workbuddyRuntimeRoot<root>/runtimeAbsolute staged Tencent runtime root.
requireWorkbuddyRuntimefalseValidate staged runtime during plugin loading.
workbuddyNodeExecutablenodeNode executable for trusted SlideP entrypoints.
workbuddyPreferredPort39099First loopback editor port considered.
workbuddyPortScanAttempts100Consecutive loopback ports considered.
workbuddyReadinessTimeoutMs60000Tencent Docs readiness deadline.
workbuddyValidationTimeoutMs30000Per-page SlideP validation deadline.
workbuddyRenderTimeoutMs180000Complete first-sync render deadline.
workbuddySubprocessGraceMs2000SIGTERM grace before escalation.
workbuddyOutputMaxBytes4 MiBRetained diagnostic-output ceiling per process.
workbuddyValidationConcurrency4Concurrent page validators; maximum 16.
workbuddyEditorCorsOrigins[]Explicit browser origins accepted by editor_sdk.

Model-authored content and assets

KeyDefaultPurpose
workbuddyMaxJsxBytesPerPage256 KiBMaximum UTF-8 bytes in one JSX page.
workbuddyMaxStoryBytes256 KiBMaximum bytes in STORY.md.
workbuddyMaxDesignBytes256 KiBMaximum bytes in DESIGN.md.
workbuddyMaxAssetBytes16 MiBMaximum bytes copied from one reviewed image.
workbuddyMaxTotalAssetBytes128 MiBMaximum aggregate copied image bytes.

Skill and design roots

KeyDefaultPurpose
workbuddyPptSkillRootpackage-bundled SkillAbsolute WorkBuddy PPT Skill override.
kimiPptSkillRootpackage-bundled SkillAbsolute Kimi-compatible Skill override.
pptDesignSystemRootunsetAbsolute staged design-system root.

DSH_KIMI_PPT_SKILL_ROOT supplies the Kimi-compatible Skill override when the configuration field is absent. Skill and design overrides are trusted operator inputs. Keep them outside model-writable workspaces.

Example override

- id: workbuddy-ppt
  name: dsh-workbuddy-ppt
  config:
    root: !!js dshHomePath('office-ppt')
    maxSlides: 24
    maxUploadBytes: 16777216
    workbuddyValidationConcurrency: 2
    workbuddyRenderTimeoutMs: 240000

Changing these limits does not expand filesystem or network authority. Path validation, loopback RPC, approval, and subprocess governance remain active.