{
  "name": "dsh-plugin-bridge",
  "version": "0.5.1",
  "description": "Previewable cross-preset session migration for DeepSeek Harness with bounded, fixed-schema handoffs",
  "type": "module",
  "main": "lib/index.js",
  "types": "lib/index.d.ts",
  "files": [
    "lib",
    "docs",
    "reports/v0.2.3-e2e-2026-08-20T13-19-13-924Z.raw.json",
    "reports/v0.2.3-e2e-report.md",
    "reports/v0.2.6-rc11-vision-report.md",
    "reports/native-workbench-2026-08-25.md",
    "reports/native-workbench-2026-08-25.raw.json",
    "reports/dsh-0.1.2-alpha.2-compat-2026-08-31.md",
    "reports/dsh-0.1.3-alpha.2-compat-2026-09-08.md",
    "reports/dsh-0.1.5-alpha.1-compat-2026-09-09.md",
    "reports/dsh-0.1.5-rc.1-compat-2026-09-10.md",
    "reports/worker-tier-rc1-2026-09-10.md",
    "reports/dsh-0.1.6-alpha.1-compat-2026-09-15.md",
    "reports/dsh-0.1.6-alpha.2-compat-2026-09-18.md",
    "reports/dsh-0.1.7-alpha.1-compat-2026-09-22.md",
    "reports/dsh-0.1.7-alpha.2-compat-2026-09-23.md",
    "cordis.patch.yml",
    "README.md",
    "README.zh.md"
  ],
  "scripts": {
    "build": "tsc -p tsconfig.json && npm run build:client",
    "build:client": "tsdown --config tsdown.config.ts",
    "build:check": "npm run build && git diff --exit-code -- lib",
    "typecheck": "tsc -p tsconfig.check.json",
    "prepack": "npm run build",
    "prepublishOnly": "npm run verify",
    "test": "npm run build && npm run typecheck && node --experimental-strip-types --test test/*.test.mjs",
    "eval": "node eval/run.mjs",
    "datasets:check": "node scripts/check-datasets.mjs",
    "pack:check": "npm pack --dry-run",
    "package:smoke": "node scripts/package-smoke.mjs",
    "release:check": "node scripts/check-release-version.mjs",
    "verify": "npm test && npm run build:check && npm run datasets:check && npm run package:smoke"
  },
  "keywords": [
    "dsh-plugin",
    "deepseek-harness",
    "bridge",
    "context-migration",
    "agent-preset",
    "session-migration"
  ],
  "license": "MIT",
  "dsh": {
    "bundle": {
      "patch": "./cordis.patch.yml"
    },
    "client": {
      "inject": [
        "@deepseek-ai/dsh-api-remotes",
        "@deepseek-ai/dsh-client-ui-conversation",
        "@deepseek-ai/dsh-client-ui-chat"
      ],
      "platform": "web"
    }
  },
  "dshWorkshop": {
    "schema": "omdsh-workshop-package/v1",
    "type": "plugin",
    "integration": {
      "protocol": "harness-profile",
      "artifact": "cordis.patch.yml"
    },
    "install": {
      "mode": "transactional",
      "adapter": "profile-bundle",
      "failurePolicy": "generation-rollback",
      "touchesCurrentBeforeActivation": false
    },
    "lifecycle": {
      "activation": "restart-host",
      "dispose": "supported"
    },
    "permissions": [
      "session:read",
      "session:create",
      "session:cancel",
      "model:invoke",
      "goal:create",
      "filesystem:read",
      "filesystem:write",
      "ui:extend"
    ],
    "compatibility": {
      "dshVersions": [
        "0.2.0-rc.2",
        "0.2.1-alpha.1",
        "0.2.1-alpha.2",
        "0.2.1-alpha.3",
        "0.2.1-alpha.4",
        "0.2.1-alpha.5",
        "0.2.1-rc.2"
      ]
    },
    "capability": {
      "id": "bridge",
      "kind": "command",
      "invocation": "Run /bridge --doctor in a populated synthetic session.",
      "expected": "A native Bridge result card reports the selected adapter and 13/13 available host methods. This diagnostic alone does not prove a model-backed migration."
    },
    "evidence": {
      "install": "docs/compatibility/dsh-0.2.1-rc.2-entrypoints-2026-10-18.md",
      "failureIsolation": null,
      "hotReload": null,
      "remove": "docs/compatibility/dsh-0.2.1-rc.2-entrypoints-2026-10-18.md"
    }
  },
  "engines": {
    "node": ">=22",
    "dsh": ">=0.1.0-rc.7 <0.2.0-0 || 0.2.0-rc.2 || >=0.2.1-alpha.1 <0.2.2-0 || >=0.2.2-alpha <0.2.2-beta"
  },
  "peerDependencies": {
    "@deepseek-ai/cordis": "^4.0.1",
    "@deepseek-ai/dsh-api-remotes": "*",
    "@deepseek-ai/dsh-client-ui-chat": "*",
    "@deepseek-ai/dsh-client-ui-conversation": "*",
    "@deepseek-ai/dsh-client-ui-commands": "*",
    "@deepseek-ai/dsh-client-shortcuts": "*",
    "@deepseek-ai/dsh-client-ui-layout": "*",
    "@deepseek-ai/dsh-client-ui-primitives": "*",
    "@deepseek-ai/dsh-client-ui-slots": "*",
    "@deepseek-ai/dsh-client-ui-tool": "*",
    "@deepseek-ai/dsh-client-ui-workspace": "*",
    "react": "^18.2.0"
  },
  "peerDependenciesMeta": {
    "@deepseek-ai/cordis": {
      "optional": true
    },
    "@deepseek-ai/dsh-api-remotes": {
      "optional": true
    },
    "@deepseek-ai/dsh-client-ui-chat": {
      "optional": true
    },
    "@deepseek-ai/dsh-client-ui-conversation": {
      "optional": true
    },
    "@deepseek-ai/dsh-client-ui-commands": {
      "optional": true
    },
    "@deepseek-ai/dsh-client-shortcuts": {
      "optional": true
    },
    "@deepseek-ai/dsh-client-ui-layout": {
      "optional": true
    },
    "@deepseek-ai/dsh-client-ui-primitives": {
      "optional": true
    },
    "@deepseek-ai/dsh-client-ui-slots": {
      "optional": true
    },
    "@deepseek-ai/dsh-client-ui-tool": {
      "optional": true
    },
    "@deepseek-ai/dsh-client-ui-workspace": {
      "optional": true
    },
    "react": {
      "optional": true
    }
  },
  "dependencies": {
    "@deepseek-ai/schemastery": "^3.18.1"
  },
  "devDependencies": {
    "@deepseek-ai/cordis": "4.0.5-alpha.2",
    "@deepseek-ai/dsh-api-remotes": "0.2.1-alpha.4",
    "@deepseek-ai/dsh-api-session-controller": "0.2.1-alpha.4",
    "@deepseek-ai/dsh-client-shortcuts": "0.2.1-alpha.4",
    "@deepseek-ai/dsh-client-ui-chat": "0.2.1-alpha.4",
    "@deepseek-ai/dsh-client-ui-conversation": "0.2.1-alpha.4",
    "@deepseek-ai/dsh-client-ui-commands": "0.2.1-alpha.4",
    "@deepseek-ai/dsh-client-ui-layout": "0.2.1-alpha.4",
    "@deepseek-ai/dsh-client-ui-primitives": "0.2.1-alpha.4",
    "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-alpha.4",
    "@deepseek-ai/dsh-client-ui-session": "0.2.1-alpha.4",
    "@deepseek-ai/dsh-client-ui-slots": "0.2.1-alpha.4",
    "@deepseek-ai/dsh-client-ui-tool": "0.2.1-alpha.4",
    "@deepseek-ai/dsh-client-ui-workspace": "0.2.1-alpha.4",
    "@types/node": "^26.4.1",
    "@types/react": "~18.3.1",
    "react": "^18.3.1",
    "react-test-renderer": "^18.3.1",
    "semver": "7.8.5",
    "tsdown": "^0.23.0",
    "typescript": "^7.0.2"
  },
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Totoro-qaq/dsh-plugin-bridge.git"
  },
  "bugs": {
    "url": "https://github.com/Totoro-qaq/dsh-plugin-bridge/issues"
  },
  "homepage": "https://github.com/Totoro-qaq/dsh-plugin-bridge#readme",
  "bin": {
    "dsh-bridge": "lib/cli.js"
  },
  "exports": {
    ".": {
      "types": "./lib/index.d.ts",
      "default": "./lib/index.js"
    },
    "./compression": {
      "types": "./lib/compression.d.ts",
      "default": "./lib/compression.js"
    },
    "./fold": {
      "types": "./lib/fold.d.ts",
      "default": "./lib/fold.js"
    },
    "./migrate": {
      "types": "./lib/migrate.d.ts",
      "default": "./lib/migrate.js"
    },
    "./host": {
      "types": "./lib/host.d.ts",
      "default": "./lib/host.js"
    },
    "./rpc": {
      "types": "./lib/rpc.d.ts",
      "default": "./lib/rpc.js"
    },
    "./types": {
      "types": "./lib/types.d.ts",
      "default": "./lib/types.js"
    },
    "./command": {
      "types": "./lib/command.d.ts",
      "default": "./lib/command.js"
    },
    "./client": {
      "types": "./lib/client.d.ts",
      "default": "./lib/client.js"
    },
    "./client-contract": {
      "types": "./lib/client-contract.d.ts",
      "default": "./lib/client-contract.js"
    },
    "./cordis.patch.yml": "./cordis.patch.yml",
    "./package.json": "./package.json"
  }
}
