{
  "name": "dsh-plugin-wsl-env",
  "version": "0.29.0",
  "description": "在 WSL 的 Linux 实例中打开项目工作区，在对应 Linux 空间中进行命令执行、运行 shell 脚本和文件访问，以获得全套 Linux Shell 工具链收益，并通过 bubblewrap 对命令进行沙箱隔离",
  "keywords": [
    "deepseek-harness",
    "dsh",
    "dsh-plugin",
    "cordis",
    "wsl",
    "wsl2",
    "windows",
    "linux",
    "deepseek",
    "ai-agent",
    "coding-agent",
    "bubblewrap"
  ],
  "type": "module",
  "types": "./lib/client-host.d.ts",
  "main": "lib/client-host.js",
  "exports": {
    ".": {
      "types": "./lib/client-host.d.ts",
      "default": "./lib/client-host.js"
    },
    "./agent": {
      "types": "./lib/agent.d.ts",
      "default": "./lib/agent.js"
    },
    "./auto-preset": {
      "types": "./lib/auto-preset.d.ts",
      "default": "./lib/auto-preset.js"
    },
    "./auto-preset/locale/en.json": "./locale/auto-preset/en.json",
    "./auto-preset/locale/zh.json": "./locale/auto-preset/zh.json",
    "./client": {
      "types": "./client.d.ts",
      "default": "./client.js"
    },
    "./cwd-prompt": {
      "types": "./lib/cwd-prompt.d.ts",
      "default": "./lib/cwd-prompt.js"
    },
    "./cwd-prompt-tool": {
      "types": "./lib/cwd-prompt-tool.d.ts",
      "default": "./lib/cwd-prompt-tool.js"
    },
    "./file-reference-wsl": {
      "types": "./lib/file-reference-wsl.d.ts",
      "default": "./lib/file-reference-wsl.js"
    },
    "./fs": {
      "types": "./lib/fs.d.ts",
      "default": "./lib/fs.js"
    },
    "./fs-routing": {
      "types": "./lib/fs-routing.d.ts",
      "default": "./lib/fs-routing.js"
    },
    "./index": {
      "types": "./lib/index.d.ts",
      "default": "./lib/index.js"
    },
    "./open-in-app": {
      "types": "./lib/open-in-app.d.ts",
      "default": "./lib/open-in-app.js"
    },
    "./locale/en.json": "./locale/en.json",
    "./locale/zh.json": "./locale/zh.json",
    "./package.json": "./package.json",
    "./paths": {
      "types": "./lib/paths.d.ts",
      "default": "./lib/paths.js"
    },
    "./picker": {
      "types": "./lib/picker.d.ts",
      "default": "./lib/picker.js"
    },
    "./picker/locale/en.json": "./locale/picker/en.json",
    "./picker/locale/zh.json": "./locale/picker/zh.json",
    "./plugin-update": {
      "types": "./lib/plugin-update.d.ts",
      "default": "./lib/plugin-update.js"
    },
    "./preflight": {
      "types": "./lib/preflight.d.ts",
      "default": "./lib/preflight.js"
    },
    "./preflight/locale/en.json": "./locale/preflight/en.json",
    "./preflight/locale/zh.json": "./locale/preflight/zh.json",
    "./shell": {
      "types": "./lib/shell.d.ts",
      "default": "./lib/shell.js"
    },
    "./shell-env": {
      "types": "./lib/shell-env.d.ts",
      "default": "./lib/shell-env.js"
    },
    "./status": {
      "types": "./lib/status.d.ts",
      "default": "./lib/status.js"
    },
    "./shell-env/locale/en.json": "./locale/shell-env/en.json",
    "./shell-env/locale/zh.json": "./locale/shell-env/zh.json",
    "./subprocess": {
      "types": "./lib/subprocess.d.ts",
      "default": "./lib/subprocess.js"
    },
    "./subprocess/locale/en.json": "./locale/subprocess/en.json",
    "./subprocess/locale/zh.json": "./locale/subprocess/zh.json",
    "./update-check": {
      "types": "./lib/update-check.d.ts",
      "default": "./lib/update-check.js"
    },
    "./wsl": {
      "types": "./lib/wsl.d.ts",
      "default": "./lib/wsl.js"
    },
    "./wsl-doctor-command": {
      "types": "./lib/wsl-doctor-command.d.ts",
      "default": "./lib/wsl-doctor-command.js"
    },
    "./wsl-doctor-tool": {
      "types": "./lib/wsl-doctor-tool.d.ts",
      "default": "./lib/wsl-doctor-tool.js"
    }
  },
  "dsh": {
    "bundle": {
      "patch": "./cordis.patch.yml"
    },
    "client": {
      "platform": "web",
      "immediately": true,
      "inject": [
        "@deepseek-ai/dsh-api-remotes",
        "@deepseek-ai/dsh-client-ui-slots",
        "@deepseek-ai/dsh-client-ui-layout",
        "@deepseek-ai/dsh-client-ui-sidebar",
        "@deepseek-ai/dsh-client-ui-workspace",
        "@deepseek-ai/dsh-client-ui-conversation",
        "@deepseek-ai/dsh-client-ui-context-menu",
        "@deepseek-ai/dsh-client-ui-session"
      ]
    }
  },
  "files": [
    "lib/**/*.js",
    "lib/**/*.d.ts",
    "agent/*.sh",
    "agent/native/linux-*/dsh-wsl-agent",
    "locale/**/*.json",
    "cordis.patch.yml",
    "client.js",
    "client.d.ts",
    "examples/**/*.yml",
    "README.md",
    "docs/README.zh.md",
    "docs/QUICKSTART.md",
    "docs/screenshots/*.png",
    "docs/screenshots/*.svg",
    "docs/PERFORMANCE.md",
    "docs/COMPATIBILITY.md",
    "docs/CONFIGURATION.md",
    "docs/LIMITATIONS.zh.md",
    "docs/CONFIGURATION.zh.md",
    "docs/QUICKSTART.zh.md",
    "docs/REQUIREMENTS.zh.md",
    "docs/LIMITATIONS.md",
    "docs/RELEASING.md",
    "docs/RELEASING.zh.md",
    "docs/root-fs-routing.md",
    "docs/VALUE.zh.md",
    "docs/UPSTREAM-OPEN-IN-APP.md",
    "docs/UPSTREAM-PROMPT-ADAPTERS.md",
    "docs/adr/0002-native-agent.md",
    "docs/PARITY.md",
    "docs/PEER-PARITY.md",
    "docs/UPSTREAM-FSIO-EXPORT.md",
    "docs/UPSTREAM-LSP-SEAM.md",
    "docs/UPSTREAM-FILE-REFERENCE-SEAM.md",
    "docs/MIGRATION.md",
    "docs/UPSTREAM-SESSION-NOTICE.md",
    "docs/UPSTREAM-SERVICE-SWAP.md",
    "docs/AGENT-PROTOCOL-V7.md",
    "docs/UPSTREAM-TERMINAL-TITLE.md",
    "docs/API.md",
    "docs/ARCHITECTURE.md",
    "docs/DIAGNOSTICS.md",
    "docs/DIAGNOSTICS.zh.md",
    "docs/ROADMAP.md",
    "docs/ROADMAP-1.0.md",
    "CHANGELOG.md",
    "CONTRIBUTING.md",
    "SECURITY.md",
    "SUPPORT.md",
    "LICENSE",
    "scripts/bootstrap.sh",
    "scripts/bootstrap-import.sh",
    "scripts/diagnose.sh",
    "scripts/doctor.mjs",
    "scripts/open-wsl-vscode.ps1",
    "scripts/profile-preset.mjs",
    "docs/ARCHITECTURE.zh.md",
    "docs/API.zh.md",
    "docs/COMPATIBILITY.zh.md",
    "docs/MIGRATION.zh.md",
    "docs/PERFORMANCE.zh.md",
    "docs/VALUE.md",
    "CONTRIBUTING.zh.md",
    "SECURITY.zh.md",
    "SUPPORT.zh.md",
    "CODE_OF_CONDUCT.md",
    "CODE_OF_CONDUCT.zh.md"
  ],
  "scripts": {
    "test": "pnpm run lint:style && pnpm run lint:links && pnpm run lint:requirements && pnpm run lint:docs && pnpm run test:syntax && pnpm run lint:build && pnpm run lint:types && pnpm run test:unit",
    "lint:types": "tsc --noEmit",
    "build": "node scripts/build.mjs",
    "lint:build": "node test/build-freshness.mjs",
    "test:browser": "node --test --test-timeout=120000 test/browser/e2e.test.mjs",
    "test:coverage": "node scripts/coverage-gate.mjs -- node --test --test-timeout=60000 --experimental-test-coverage --test-coverage-lines=85 --test-coverage-branches=84 --test-coverage-functions=70 --test-coverage-exclude='scripts/**' --test-coverage-exclude='test/**' test/agent-exec.test.mjs test/agent-fs-script.test.mjs test/agent-protocol.test.mjs test/agent.test.mjs test/fs-substrate.test.mjs test/fs.boot.test.mjs test/composition.test.mjs test/bundle-mount.test.mjs test/hot-swap.test.mjs test/takeover-report.test.mjs test/provider.test.mjs test/provider-takeover.test.mjs test/file-reference-wsl.test.mjs test/fsio-agent.test.mjs test/fsio-text.test.mjs test/git-exec.test.mjs test/git-route.test.mjs test/listing.test.mjs test/paths.test.mjs test/ports.test.mjs test/preset-choice.test.mjs test/auto-preset.test.mjs test/probe-cache.test.mjs test/writable-roots.test.mjs test/preflight.test.mjs test/sandbox.test.mjs test/socket-isolation.test.mjs test/search-exec.test.mjs test/search-route.test.mjs test/shell.test.mjs test/shell-env.test.mjs test/terminal-activity.test.mjs test/terminal.test.mjs test/watcher.test.mjs test/wsl.test.mjs test/fs-decisions.test.mjs test/session-scope.test.mjs test/session-runtime.test.mjs test/native-agent.test.mjs test/peers.test.mjs test/agent-shared.test.mjs test/distro-route.test.mjs test/fs-routing.test.mjs test/update-check.test.mjs test/plugin-update.test.mjs test/doctor.test.mjs test/doctor-collector.test.mjs test/release-scripts.test.mjs test/profile-preset.test.mjs test/packaging.test.mjs test/peer-canary.test.mjs test/probe-runner.test.mjs test/cwd-prompt.test.mjs test/cwd-prompt-tool.test.mjs test/wsl-doctor-tool.test.mjs test/wsl-doctor-command.test.mjs test/status.test.mjs test/client-host.test.mjs test/messages.test.mjs test/locales-examples.test.mjs test/client.test.mjs test/open-in-app.test.mjs test/cloud-wsl-gate.test.mjs test/official-harness-smoke.test.mjs",
    "test:syntax": "node test/syntax.mjs",
    "test:unit": "node scripts/test-watchdog.mjs -- node --test --test-timeout=60000 test/fs.boot.test.mjs test/fsio-text.test.mjs test/composition.test.mjs test/bundle-mount.test.mjs test/hot-swap.test.mjs test/takeover-report.test.mjs test/provider.test.mjs test/provider-takeover.test.mjs test/file-reference-wsl.test.mjs test/paths.test.mjs test/listing.test.mjs test/shell.test.mjs test/shell-env.test.mjs test/terminal.test.mjs test/probe-cache.test.mjs test/writable-roots.test.mjs test/preflight.test.mjs test/preset-choice.test.mjs test/auto-preset.test.mjs test/sandbox.test.mjs test/socket-isolation.test.mjs test/agent-protocol.test.mjs test/agent.test.mjs test/agent-fs-script.test.mjs test/fsio-agent.test.mjs test/fs-substrate.test.mjs test/agent-exec.test.mjs test/ports.test.mjs test/watcher.test.mjs test/wsl.test.mjs test/fs-decisions.test.mjs test/git-exec.test.mjs test/git-route.test.mjs test/search-route.test.mjs test/search-exec.test.mjs test/terminal-activity.test.mjs test/session-scope.test.mjs test/session-runtime.test.mjs test/native-agent.test.mjs test/peers.test.mjs test/agent-shared.test.mjs test/distro-route.test.mjs test/fs-routing.test.mjs test/update-check.test.mjs test/plugin-update.test.mjs test/doctor.test.mjs test/doctor-collector.test.mjs test/release-scripts.test.mjs test/profile-preset.test.mjs test/packaging.test.mjs test/peer-canary.test.mjs test/probe-runner.test.mjs test/cwd-prompt.test.mjs test/cwd-prompt-tool.test.mjs test/wsl-doctor-tool.test.mjs test/wsl-doctor-command.test.mjs test/status.test.mjs test/client-host.test.mjs test/messages.test.mjs test/locales-examples.test.mjs test/client.test.mjs test/open-in-app.test.mjs test/cloud-wsl-gate.test.mjs test/official-harness-smoke.test.mjs",
    "lint:style": "node test/style.mjs",
    "lint:links": "node scripts/check-links.mjs",
    "lint:requirements": "node scripts/check-requirements.mjs",
    "lint:docs": "node scripts/check-doc-consistency.mjs",
    "prepublishOnly": "pnpm test",
    "probe": "bash test/probe/run.sh",
    "probe:clean": "rm -rf test/probe/.scratch && mkdir -p test/probe/.scratch",
    "probe:all-closed": "bash test/probe/run-all-when-closed.sh --include-fs",
    "probe:missing-wsl": "bash test/probe/missing-wsl.sh",
    "probe:mode": "bash test/probe/mode.sh",
    "probe:picker": "bash test/probe/picker.sh",
    "probe:sandbox-off": "bash test/probe/sandbox-off.sh",
    "probe:terminal": "bash test/probe/terminal.sh",
    "probe:sandbox": "bash test/probe/sandbox.sh",
    "probe:cache-write": "bash test/probe/cache-write.sh",
    "probe:sandbox-shell": "bash test/probe/sandbox-shell.sh",
    "probe:interop-shell": "bash test/probe/interop-shell.sh",
    "sync:windows": "bash test/probe/sync-to-windows.sh",
    "probe:watch": "bash test/probe/watch.sh",
    "probe:agent": "bash test/probe/agent.sh",
    "probe:substrate": "bash test/probe/substrate.sh",
    "probe:exec": "bash test/probe/exec.sh",
    "probe:fs-routing": "bash test/probe/fs-routing.sh",
    "probe:gui-preview": "bash test/probe/gui-preview.sh",
    "probe:gui-preview-batch": "bash test/probe/gui-preview-batch.sh",
    "probe:file-reference": "bash test/probe/file-reference-9p.sh",
    "bootstrap": "bash scripts/bootstrap.sh",
    "diagnose": "bash scripts/diagnose.sh",
    "doctor": "node scripts/doctor.mjs",
    "preset": "node scripts/profile-preset.mjs",
    "e2e:install": "bash test/e2e/install.sh",
    "canary:peers": "node scripts/peer-canary.mjs",
    "probe:auto-preset": "bash test/probe/auto-preset.sh",
    "probe:session-sandbox": "bash test/probe/session-sandbox.sh",
    "smoke:official-harness": "node scripts/official-harness-smoke.mjs"
  },
  "packageManager": "pnpm@11.7.0+sha512.19cc852c120c7125760f2443ee6be0ca5b40f9f50598de1a09a1f177503e010e57c23c77646e01e761de59bf874fb22a3398c33ab9691fc13eb946b6f0f4d620",
  "engines": {
    "node": "^22.19.0 || >=24.0.0"
  },
  "author": {
    "name": "Andy Zhao",
    "url": "https://github.com/Big-Dao"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Big-Dao/dsh-plugin-wsl-env.git"
  },
  "homepage": "https://github.com/Big-Dao/dsh-plugin-wsl-env#readme",
  "bugs": {
    "url": "https://github.com/Big-Dao/dsh-plugin-wsl-env/issues"
  },
  "devDependencies": {
    "@deepseek-ai/cordis": "4.1.0",
    "@deepseek-ai/cordis-plugin-include": "1.1.0",
    "@deepseek-ai/cordis-plugin-loader": "1.1.0",
    "@deepseek-ai/dsh-bash-local": "0.2.2-rc.2",
    "@deepseek-ai/dsh-fs": "0.2.2-rc.2",
    "@deepseek-ai/dsh-fs-local": "0.2.2-rc.2",
    "@deepseek-ai/dsh-fs-patch": "0.2.2-rc.2",
    "@deepseek-ai/dsh-host-directory-picker": "0.2.2-rc.2",
    "@deepseek-ai/dsh-sandbox": "0.2.2-rc.2",
    "@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.2",
    "@deepseek-ai/dsh-subprocess": "0.2.2-rc.2",
    "@deepseek-ai/dsh-subprocess-local": "0.2.2-rc.2",
    "@deepseek-ai/dsh-tools": "0.2.2-rc.2",
    "@deepseek-ai/schemastery": "3.19.0",
    "@types/js-yaml": "^4.0.9",
    "@types/node": "~22.20.5",
    "esbuild": "0.25.8",
    "js-yaml": "4.3.2",
    "playwright": "1.65.0",
    "react": "19.1.1",
    "react-dom": "19.1.1",
    "typescript": "~6.0.3"
  },
  "peerDependencies": {
    "@deepseek-ai/cordis": "^4.1.0",
    "@deepseek-ai/dsh-bash-local": ">=0.2.2-rc.2",
    "@deepseek-ai/dsh-fs": ">=0.2.2-rc.2",
    "@deepseek-ai/dsh-fs-local": ">=0.2.2-rc.2",
    "@deepseek-ai/dsh-fs-patch": ">=0.2.2-rc.2",
    "@deepseek-ai/dsh-host-directory-picker": ">=0.2.2-rc.2",
    "@deepseek-ai/dsh-sandbox": ">=0.2.2-rc.2",
    "@deepseek-ai/dsh-subprocess": ">=0.2.2-rc.2",
    "@deepseek-ai/dsh-tools": ">=0.2.2-rc.2",
    "@deepseek-ai/dsh-subprocess-local": ">=0.2.2-rc.2",
    "@deepseek-ai/schemastery": "^3.19.0"
  },
  "peerDependenciesMeta": {
    "@deepseek-ai/cordis": {
      "optional": true
    },
    "@deepseek-ai/dsh-bash-local": {
      "optional": true
    },
    "@deepseek-ai/dsh-fs": {
      "optional": true
    },
    "@deepseek-ai/dsh-fs-local": {
      "optional": true
    },
    "@deepseek-ai/dsh-host-directory-picker": {
      "optional": true
    },
    "@deepseek-ai/dsh-sandbox": {
      "optional": true
    },
    "@deepseek-ai/dsh-subprocess": {
      "optional": true
    },
    "@deepseek-ai/dsh-subprocess-local": {
      "optional": true
    },
    "@deepseek-ai/schemastery": {
      "optional": true
    }
  }
}
