dsh-doctor
asdf17128
Find what your DeepSeek Harness (dsh) patches silently broke — dead patches, config fields dropped by whole-config repla…
PROJECT TOPICS
PROJECT README
English | 简体中文
WeSight is an open-source desktop control console for local AI agents. It helps you install or reuse Claude Code, Codex, Kimi Code, OpenClaw, Hermes Agent, OpenCode, Qwen Code, DeepSeek-TUI, and the built-in agent runtime, then gives them a visual workspace for chat, tools, files, IM channels, skills, model providers, runtime metrics, and desktop companion workflows.
Public releases ship signed and notarized macOS builds for Apple Silicon and Intel, plus a Windows x64 installer. If WeSight helps your agent workflow, a Star makes the project easier for more builders to discover.
Terminal-native coding agents are powerful, while their setup, model routing, permissions, IM entry points, file changes, and runtime metrics often live in separate places. WeSight turns those moving pieces into one desktop workspace:
|
|
| Cowork Chat Run local coding agents as a desktop chat with engine and model controls. |
Agent Engines Configure Claude Code, Codex, Kimi Code, OpenClaw, Hermes Agent, OpenCode, Qwen Code, DeepSeek-TUI, and the built-in runtime. |
|
|
| AI Runtime Dashboard Inspect engine, model, tokens, TTFT, output-phase TPS, estimated model TPS, cost, and status. |
Live Workspace Watch file writes, code changes, tool activity, and generated artifacts while the agent works. |
|
|
| Skills Marketplace Browse SkillHub categories, install skills locally, and manage installed skills from WeSight. |
Studio & Pet Use a visual office-style workspace and desktop companion to follow active agent tasks. |
Want to appear here? Add me on WeChat and include your product name plus a short project sponsorship note in the friend request.
| Engine | Best For | Setup Path |
|---|---|---|
| Built-in runtime | General desktop cowork sessions and skills | Included in WeSight |
| Claude Code | Claude Code workflows with a graphical chat surface | One-click install or existing local CLI config |
| Codex | Codex CLI workflows, local task execution, and IM control | One-click install or existing local CLI config |
| Kimi Code | Kimi Code workflows with local login, Skills, and MCP | Official installer or existing local CLI config |
| OpenClaw | Runtime gateway, IM channels, sandbox-style agent work | Local runtime/CLI reuse or WeSight setup flow |
| Hermes Agent | Local Hermes Agent gateway and IM-style runtime experiments | Official installer or existing local CLI config |
| OpenCode | OpenCode terminal agent workflows | One-click install or existing local CLI config |
| Qwen Code | Qwen-friendly coding workflows and DashScope setups | One-click install or existing local CLI config |
| DeepSeek-TUI | DeepSeek-TUI HTTP/SSE runtime and tool streaming | One-click install or existing local CLI config |
WeSight keeps model setup in one place, then maps it into the selected engine when that engine follows WeSight settings.
Public desktop builds are published through GitHub Releases:
Each stable release includes signed and notarized macOS Apple Silicon and Intel builds, a Windows x64 installer, update metadata, and SHA256 checksums. The Windows installer is currently unsigned and may trigger Microsoft Defender SmartScreen. CI artifacts are short-lived build outputs for maintainers to test before a release is published.
Download the matching DMG from the latest release: WeSight.<version>.mac.arm64.dmg for Apple Silicon or WeSight.<version>.mac.x64.dmg for Intel. The release workflow signs, notarizes, and staples both packages. Open the DMG and drag WeSight.app into the Applications folder.
Download WeSight.Setup.<version>.exe from the same release. The current Windows x64 installer has no code-signing certificate, so SmartScreen may show an unrecognized app warning. Check the file against SHASUMS256.txt before continuing.
>=24 <25git clone https://github.com/freestylefly/wesight.git
cd wesight
npm install
npm run electron:dev
The Vite dev server runs at http://localhost:5175.
The public website lives in website/ with its own dependencies and lock file. Install and run it independently from the Electron application:
npm ci --prefix website
npm run website:dev
The website development server runs at http://127.0.0.1:5173. Production build and preview commands are available from the repository root:
npm run website:build
npm run website:preview
The existing wesight-portal Vercel project uses website as its Root Directory, Vite as its framework, Node.js 24.x, and main as its Production Branch. Pull requests create Preview Deployments and pushes to main create Production Deployments. For a manual preview from an authenticated maintainer machine:
cd website
vercel link --project wesight-portal --scope canghes-projects
vercel deploy
Website download buttons use website/api/download.js to resolve the matching macOS DMG or Windows x64 EXE from the latest public GitHub Release. Keep the arm64 and x64 DMG assets plus WeSight.Setup.<version>.exe attached to each production release.
Keep .vercel/, local environment files, node_modules/, and dist/ out of Git. The website/design-reference/ directory contains source concepts for design reference and is excluded from production static assets.
# Start WeSight and detect supported local agent CLIs from Settings
npm run electron:dev
# Convenience aliases currently point to the same development entry
npm run electron:dev:openclaw
npm run electron:dev:hermes
Useful OpenClaw development variables:
# Override OpenClaw source location
OPENCLAW_SRC=/path/to/openclaw npm run electron:dev:openclaw
# Force OpenClaw runtime rebuild
OPENCLAW_FORCE_BUILD=1 npm run electron:dev:openclaw
# Skip OpenClaw version checkout for local OpenClaw development
OPENCLAW_SKIP_ENSURE=1 npm run electron:dev:openclaw
# TypeScript + Vite
npm run build
# Electron main process
npm run compile:electron
# ESLint
npm run lint
# Public website
npm run website:build
# macOS
npm run dist:mac
# macOS single-architecture packages
npm run dist:mac:x64
npm run dist:mac:arm64
# Do not use npm run dist:mac:universal until native modules have an
# explicit merge strategy for both macOS architectures.
# Windows
npm run dist:win
# Linux
npm run dist:linux
Managed runtime metadata is declared in package.json. Generated runtime folders, build artifacts, local secrets, and packaged release output are ignored by Git.
The Build Platforms GitHub Actions workflow builds macOS Apple Silicon, macOS Intel, and Windows x64 in parallel. A manual workflow run performs build-only validation and uploads three Actions Artifacts. A v* tag run publishes a GitHub Release after every platform succeeds.
Release versions use SemVer. Update the root package.json version through a normal pull request before creating the tag. From a clean, synchronized main branch, validate and publish the tag with:
npm run release:tag -- 1.0.1 --dry-run
npm run release:tag -- 1.0.1
The command verifies the branch, working tree, origin/main, package version, and local and remote tags. It then creates an annotated v1.0.1 tag and pushes only that tag. Prerelease versions such as 1.1.0-rc.1 are published as GitHub prereleases; stable versions become the Latest release.
macOS signing and notarization use these GitHub Actions secrets:
APPLE_IDAPPLE_APP_PWDAPPLE_TEAM_IDMACOS_CERTIFICATEMACOS_CERTIFICATE_PWDDo not put certificate contents or passwords in repository files or workflow logs. Windows signing remains disabled until a Windows code-signing certificate is configured.
If a platform job fails, rerun the failed GitHub Actions jobs for the same commit or tag. The release job waits for all three platforms and uses asset replacement when the release already exists, so a safe rerun updates the existing assets without creating a duplicate release.
WeSight uses Electron process isolation. The renderer never directly accesses Node.js APIs; privileged operations go through a typed preload bridge and IPC handlers in the main process.
src/main/
main.ts Electron entry and IPC handlers
preload.ts Safe renderer bridge
sqliteStore.ts Local persistence
coworkStore.ts Session and message storage
libs/agentEngine/ Engine adapters and router
libs/externalAgent*.ts External CLI setup and config helpers
im/ IM gateway integrations
src/renderer/
App.tsx App shell
components/cowork/ Chat, studio, activity workspace, engine UI
components/Settings.tsx Model, engine, IM, skills, memory, and app settings
components/pet/ Desktop companion UI
services/ IPC wrappers and app services
store/slices/ Redux state
SKILLs/ Built-in skills
scripts/ Runtime, packaging, and setup scripts
src/shared/ Shared constants and types
WeSight includes a broad skills library for day-to-day agent work and connects to SkillHub for marketplace installation.
| Area | Examples |
|---|---|
| Research | web search, tech news, stock research, film/music search |
| Documents | DOCX, XLSX, PPTX, PDF processing |
| Automation | Playwright, local tools, scheduled tasks |
| Creative | Remotion video, frontend design, canvas design, image and video workflows |
| Communication | IMAP/SMTP email and IM channels |
| Agent building | skill creator, skill vetting, custom planning |
Skills can be installed, enabled, disabled, deleted, and routed from the desktop UI.
Check out the WeSight Product Roadmap for current priorities, planned features, and larger product directions. Feel free to open an issue if there is something you want to see.
Scan the QR code below to join the WeSight WeChat group and talk with other builders. The QR code is valid until June 13, 2026; if it expires, follow the official account below to get the latest invite.
Search 苍何 on WeChat or scan the QR code below to follow Canghe's original WeChat official account. Reply with AI to get more AI prompt and agent workflow resources.
WeSight is shaped by many excellent open-source projects and agent community practices. Special thanks to:
MIT. See LICENSE.
Thanks to everyone who has contributed PRs to WeSight. This wall updates automatically from GitHub contributors data after new contributions are merged.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。