How yejiming/dsh-ppt works
DSH PPT is a local AI-assisted presentation-generation plugin: a user request is handled through the DSH runtime and tools, then becomes an editable PPTX with supporting assets and preview/quality outputs. The README documents the main product capabilities; the source index identifies runtime and tool dependencies, but several implementation files were not excerpted, so only documented or indexed relationships are shown.
Main entry points: tools.ts PPT tools · runtime.ts Workflow runtime · pptx.ts Editable PPTX · ppt-image.ts PPTX rendering
Components 23
Plugin entry
- Plugin registration
src/index.ts - PPT tools
src/tools.ts - Workflow runtime
src/runtime.ts
Deck authoring
- Outline generation
src/outline.ts - Art direction
src/art-direction.ts - Image search
src/image-search.ts - Artifact manifest
src/artifacts.ts - Slide HTML
src/html.ts - Font handling
src/fonts.ts - Editable PPTX
src/pptx.ts
Rendering and review
- Browser runtime
src/browser.ts - PPTX rendering
src/ppt-image.ts - Office renderer
- Visual quality review
src/quality.ts
Runtime foundations
- Diagnostics
src/diagnostics.ts - Session resources
src/session-resources.ts - Python integration
src/python.ts - Workspace paths
src/paths.ts - Platform detection
src/platform.ts - Error handling
src/errors.ts
Other components
- Presentation requester
- DSH runtime
- PPTX and previews
Connections 32
- Presentation requester → DSH runtime: requests deck
README.md - DSH runtime → Plugin registration: loads plugin
README.md - Plugin registration → PPT tools: registers tools
src/index.ts - Plugin registration → Workflow runtime: configures runtime
src/index.ts - PPT tools → Outline generation: offers outline tools
src/tools.ts - PPT tools → Art direction: offers design tools
src/tools.ts - PPT tools → Image search: offers image search
src/tools.ts - Image search → Artifact manifest: records image sources
src/image-search.ts - PPT tools → Slide HTML: offers HTML creation
src/tools.ts - Slide HTML → Art direction: uses art direction
src/html.ts - Slide HTML → Font handling: uses font handling
src/html.ts - PPT tools → Editable PPTX: offers PPTX creation
src/tools.ts - Editable PPTX → Slide HTML: validates slide HTML
src/pptx.ts - Editable PPTX → Outline generation: validates outline
src/pptx.ts - Editable PPTX → Browser runtime: rasterizes elements
src/pptx.ts - Workflow runtime → Image search: invokes image search
src/runtime.ts - Workflow runtime → PPTX rendering: invokes rendering
src/runtime.ts - Workflow runtime → Visual quality review: invokes quality review
src/runtime.ts - Workflow runtime → Browser runtime: uses browser runtime
src/runtime.ts - Workflow runtime → Python integration: uses Python integration
src/runtime.ts - PPTX rendering → Office renderer: renders through
README.md - Visual quality review → Editable PPTX: checks PPTX
src/quality.ts - Visual quality review → PPTX rendering: compares previews
src/quality.ts - Workflow runtime → Diagnostics: uses diagnostics
src/runtime.ts - Workflow runtime → Session resources: manages sessions
src/runtime.ts - PPT tools → Session resources: uses session resources
src/tools.ts - Editable PPTX → PPTX and previews: writes deck
README.md - PPTX rendering → PPTX and previews: writes previews
README.md - Visual quality review → PPTX and previews: writes review report
README.md - PPT tools → Workspace paths: uses workspace paths
src/tools.ts - PPTX rendering → Platform detection: selects render backend
src/ppt-image.ts - PPT tools → Error handling: uses typed errors
src/tools.ts