How noelchesco5/wire works
DeepSeek Harness is a plugin-oriented agent harness with Web and Desktop entry points. The documented user workflow is launching dsh web, which starts the Web UI and opens it for local use; the repository also contains session, workspace, terminal, scheduling, and plugin-management subsystems. The graph includes major subsystems visible in the tree and indexed source references. Some implementation paths are unsampled, so relationships not established by the README or source index are omitted.
Main entry points: manager.ts Session manager · session.ts Session instance · main.ts Desktop application · bin.ts CLI
Components 22
Entry and runtime
- CLI
apps/cli/src/bin.ts - Web application
apps/web/src/main.ts - Desktop application
apps/desktop/src/main.ts - Desktop runtime
apps/desktop/src/runtime-tree.ts - Application boot
packages/boot/app-boot/src/index.ts
Plugins and extensions
- Plugin manager
packages/boot/plugin-manager/src/operations.ts - Plugin manager UI
packages/client/ui-plugin-manager/src/client/PluginManagerPage.tsx - Mods engine
packages/experimental/claude-code-mods/src/engine.ts
Sessions and persistence
- Session API
packages/api/session-controller/src/index.ts - Session manager
packages/api/session-controller/src/client/sessions/manager.ts - Session instance
packages/api/session-controller/src/client/sessions/session.ts - Session projection
packages/api/session-controller/src/client/sessions/projection-store.ts - Session notifier
packages/api/session-controller/src/client/sessions/notifier.ts - Persistence contract
packages/session/session-persistence/src/storage-contract.ts - JSONL storage
packages/session/session-persistence-jsonl/src/storage.ts
Client interfaces
- SDK server
packages/sdk/server/src/server.ts - SDK client
packages/sdk/client/src/client.ts - API gateway
packages/api/gateway/src/stream-server.ts
Inspection and scheduling
- Inspector host
packages/experimental/inspector/src/host/bridge/controller.ts - Inspector queries
packages/experimental/inspector/src/worker/inspection/query-router.ts - Schedule storage
packages/schedule/schedule/src/storage.ts
Other components
- Harness user
Connections 12
- Harness user → CLI: launches
README.md - CLI → Web application: starts Web UI
README.md - Desktop application → Desktop runtime: reads runtime
apps/desktop/src/runtime-tree.ts - Desktop application → Application boot: prepares profile
- Plugin manager UI → Plugin manager: manages plugins
packages/client/ui-plugin-manager/src/client/PluginManagerPage.tsx - Session manager → Session projection: loads projections
packages/api/session-controller/src/client/sessions/manager.ts - Session manager → Session notifier: notifies changes
packages/api/session-controller/src/client/sessions/manager.ts - Session manager → Session instance: creates instances
packages/api/session-controller/src/client/sessions/manager.ts - Session instance → Session projection: updates projections
packages/api/session-controller/src/client/sessions/session.ts - Session instance → Session notifier: uses notifier
packages/api/session-controller/src/client/sessions/session.ts - JSONL storage → Persistence contract: materializes batches
packages/session/session-persistence-jsonl/src/storage.ts - Inspector host → Inspector queries: starts worker