{
  "name": "@dsh-plugin/dsh-loader",
  "version": "1.3.5",
  "description": "Runtime compatibility shim for dsh (DeepSeek Harness) cordis bundle plugins: decouples third-party plugins from real dsh internal service names, module paths, and RPC details via a version-aware adapter registry.",
  "type": "module",
  "repository": {
    "type": "git",
    "url": "https://github.com/dsh-plugins/dsh-loader"
  },
  "main": "dist/index.js",
  "exports": {
    ".": "./dist/index.js",
    "./client": {
      "types": "./lib/types/client-ui.d.ts",
      "default": "./lib/client.js"
    },
    "./registry": "./dist/registry.js",
    "./cordis.patch.yml": "./cordis.patch.yml",
    "./package.json": "./package.json",
    "./ui-primitives": "./src/stable/ui-primitives.js",
    "./ui-settings": "./src/stable/ui-settings.js",
    "./ui-slots": "./src/stable/ui-slots.js",
    "./web-react": "./src/stable/web-react.js",
    "./schema-form": "./src/stable/schema-form.js",
    "./runtime": "./src/stable/runtime.js",
    "./tools": "./src/stable/tools.js",
    "./llm": "./src/stable/llm.js",
    "./agent": "./src/stable/agent.js",
    "./settings": "./src/stable/settings.js",
    "./timeout": "./src/stable/timeout.js",
    "./subagent": "./src/stable/subagent.js",
    "./credentials": "./src/stable/credentials.js",
    "./compaction-basic": "./src/stable/compaction-basic.js",
    "./patch": "./dist/patch.js"
  },
  "bin": {
    "dshloader": "./bin/dshloader.mjs"
  },
  "files": [
    "dist",
    "src/stable",
    "bin",
    "lib/client.js",
    "lib/client.js.map",
    "lib/types",
    "cordis.patch.yml",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsc -p tsconfig.build.json && tsc -p tsconfig.client.types.json && tsdown --config tsdown.client.config.mjs",
    "build:host": "tsc -p tsconfig.build.json",
    "build:client": "tsc -p tsconfig.client.types.json && tsdown --config tsdown.client.config.mjs",
    "typecheck": "tsc --noEmit && tsc -p tsconfig.client.json --noEmit",
    "pretest": "npm run build:host",
    "test": "node --test \"tests/**/*.test.mjs\" && vitest run",
    "test:l1": "node --test \"tests/*.test.mjs\"",
    "test:l2": "node --test \"tests/module/*.test.mjs\"",
    "test:l3": "node --test \"tests/integration/*.test.mjs\"",
    "test:ui": "vitest run",
    "setup": "node bin/dshloader.mjs setup"
  },
  "engines": {
    "node": ">=18"
  },
  "dependencies": {
    "@icon-park/react": "^1.4.2",
    "semver": "^7.8.5"
  },
  "peerDependencies": {
    "react": ">=18",
    "react-dom": ">=18"
  },
  "peerDependenciesMeta": {
    "react": {
      "optional": true
    },
    "react-dom": {
      "optional": true
    }
  },
  "devDependencies": {
    "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6",
    "@types/node": "^26.2.0",
    "@types/react": "^18.3.31",
    "@types/react-dom": "^18.3.7",
    "@types/semver": "^7.8.0",
    "jsdom": "^25.0.0",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "tsdown": "^0.22.2",
    "typescript": "^7.0.2",
    "vitest": "^2.1.0"
  },
  "dsh": {
    "bundle": {
      "patch": "./cordis.patch.yml"
    },
    "client": {
      "platform": "web",
      "immediately": true,
      "inject": [
        "@deepseek-ai/dsh-client-ui-primitives"
      ]
    }
  },
  "license": "LGPL-3.0-only"
}
