How shaozi8866/dsh-tech-workbench works
DSH Tech Workbench is a host-and-browser plugin for discovering and maintaining plugins, presets, apps, and skills. Users open a unified workspace, browse and filter resources, refresh catalog data, and invoke local maintenance actions. The host coordinates Market, GitHub, npm, desktop-preset, and local sources, then merges results with cached and installation state before serving the client. The README documents additional API and lifecycle capabilities; unsampled implementation details are represented only where documented, and source-level links rely on the provided excerpts or SOURCE INDEX.
Main entry points: data-processor.ts Catalog orchestration · index.ts Host API and scheduler · WorkbenchPage.tsx Workspace pages · index.tsx Client entry
Components 25
Workbench client
- Client entry
src/client/index.tsx - Workspace pages
src/client/components/WorkbenchPage.tsx - Resource cards
src/client/components/ResourceCard.tsx - Search and filters
src/client/components/ActionBar.tsx - Local maintenance UI
src/client/components/LocalManage.tsx
Catalog and discovery
- Catalog orchestration
src/host/data-processor.ts - Market source and cache
src/host/market-fetcher.ts - GitHub discovery
src/host/github-fetcher.ts - npm discovery
src/host/npm-fetcher.ts - Desktop presets
src/host/dshdesktop-fetcher.ts - Installed resource state
src/host/local-fetcher.ts - Resource classification
src/host/category-classifier.ts
Host API and maintenance
- Host API and scheduler
src/index.ts - Plugin lifecycle CLI
src/host/plugin-cli.ts - Preset maintenance
src/host/preset-cli.ts - Skill maintenance
src/host/skill-cli.ts - Changelog lookup
src/host/changelog-getter.ts
Resource metadata
- Curated resource metadata
src/host/resource-meta-database.ts
Other components
- Workbench user
- DSH browser shell
- DSH Market
- GitHub API
- npm registry
- dshdesktop.com
- DSH CLI and profile files
Connections 28
- Workbench user → DSH browser shell: opens workspace
- DSH browser shell → Client entry: hosts client
src/client/index.tsx - Client entry → Workspace pages: renders
src/client/index.tsx - Workspace pages → Resource cards: renders cards
src/client/components/WorkbenchPage.tsx - Workspace pages → Search and filters: renders controls
src/client/components/WorkbenchPage.tsx - Workspace pages → Local maintenance UI: renders maintenance
src/client/components/WorkbenchPage.tsx - Client entry → Host API and scheduler: requests data
src/client/index.tsx - Local maintenance UI → Host API and scheduler: sends maintenance requests
src/client/components/LocalManage.tsx - Host API and scheduler → Catalog orchestration: fetches catalog
src/index.ts - Catalog orchestration → Market source and cache: reads and writes cache
src/host/data-processor.ts - Catalog orchestration → GitHub discovery: fetches community data
src/host/data-processor.ts - Catalog orchestration → npm discovery: fetches packages
src/host/data-processor.ts - Catalog orchestration → Desktop presets: fetches presets
src/host/data-processor.ts - Catalog orchestration → Installed resource state: joins local state
src/host/data-processor.ts - Catalog orchestration → Curated resource metadata: enriches resources
src/host/data-processor.ts - Market source and cache → DSH Market: requests catalog
src/host/market-fetcher.ts - GitHub discovery → GitHub API: queries repositories
src/host/github-fetcher.ts - npm discovery → npm registry: searches registry
- Desktop presets → dshdesktop.com: fetches presets
- Host API and scheduler → Plugin lifecycle CLI: dispatches lifecycle actions
src/index.ts - Host API and scheduler → Preset maintenance: dispatches preset actions
src/index.ts - Host API and scheduler → Skill maintenance: dispatches skill actions
src/index.ts - Host API and scheduler → Changelog lookup: gets changelogs
src/index.ts - Plugin lifecycle CLI → DSH CLI and profile files: runs commands and edits profile
src/host/plugin-cli.ts - Preset maintenance → DSH CLI and profile files: maintains presets
- Skill maintenance → DSH CLI and profile files: maintains skills
- npm discovery → Resource classification: classifies resources
src/host/npm-fetcher.ts - Installed resource state → Resource classification: classifies local resources
src/host/local-fetcher.ts