{
    "name": "dsh-tdai-memory",
    "version": "0.4.6",
    "description": "DeepSeek Harness 的 TencentDB Agent Memory 移植：L0 对话捕获 → L1 结构化记忆提取 → L2 场景/L3 画像，自动召回注入 + 记忆/对话搜索工具；复用现有 ~/.memory-tencentdb/memory-tdai 数据；附 Web UI 设置栏。",
    "type": "module",
    "main": "index.js",
    "exports": {
        ".": "./index.js",
        "./client": "./client.js",
        "./package.json": "./package.json",
        "./locale/*.json": "./locale/*.json"
    },
    "dsh": {
        "bundle": {
            "patch": "./cordis.patch.yml"
        },
        "client": {
            "platform": "web"
        },
        "compatibility": {
            "dsh": ">=0.2.0-rc.2 <0.3.0 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
            "dshReleases": {
                "0.1.5-rc.2": "incompatible",
                "0.1.5-rc.3": "incompatible",
                "0.1.6-alpha.1": "unknown",
                "0.1.6-alpha.2": "unknown",
                "0.1.7-alpha.1": "unknown",
                "0.1.7-alpha.2": "unknown",
                "0.1.7-rc.1": "incompatible",
                "0.1.7-rc.2": "incompatible",
                "0.2.0-rc.2": "compatible",
                "0.2.1-rc.1": "compatible",
                "0.2.1-rc.2": "compatible",
                "0.2.1-rc.3": "compatible",
                "0.2.1-rc.4": "compatible",
                "0.2.1-rc.5": "compatible"
            },
            "node": ">=22.18",
            "profiles": [
                "web",
                "desktop"
            ]
        }
    },
    "homepage": "https://github.com/Scorp1o117/dsh-tdai-memory",
    "files": [
        "locale",
        "index.js",
        "recall-inject.js",
        "recall-runtime.js",
        "client.js",
        "cordis.patch.yml",
        "vendor",
        "README.md",
        "README.zh.md",
        "LICENSE",
        "THIRD-PARTY-NOTICES.md"
    ],
    "keywords": [
        "dsh",
        "dsh-plugin",
        "deepseek-harness",
        "memory",
        "tencentdb",
        "agent-memory",
        "rag",
        "vector-search",
        "persona"
    ],
    "license": "MIT",
    "engines": {
        "node": ">=22.18",
        "dsh": ">=0.2.0-rc.2 <0.3.0 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/Scorp1o117/dsh-tdai-memory.git"
    },
    "bugs": {
        "url": "https://github.com/Scorp1o117/dsh-tdai-memory/issues"
    },
    "dependencies": {
        "@ai-sdk/openai": "^3.0.53",
        "@deepseek-ai/schemastery": "^3.18.4",
        "@node-rs/jieba": "^2.0.1",
        "@tencentdb-agent-memory/tcvdb-text": "^0.1.1",
        "ai": "^6.0.164",
        "json5": "^2.2.3",
        "sqlite-vec": "0.1.7-alpha.2",
        "undici": "^8.1.0"
    },
    "devDependencies": {
        "@deepseek-ai/dsh-settings": "0.2.1-rc.5",
        "@deepseek-ai/dsh-tools": "0.2.1-rc.5"
    },
    "peerDependencies": {
        "react": "^18.2.0",
        "@deepseek-ai/dsh-tools": ">=0.2.0-rc.2 <0.3.0 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
        "@deepseek-ai/dsh-settings": ">=0.2.0-rc.2 <0.3.0 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
        "node-llama-cpp": "^3.19.1"
    },
    "peerDependenciesMeta": {
        "node-llama-cpp": {
            "optional": true
        }
    },
    "scripts": {
        "test": "node tests/settings-scope-compat.test.mjs && node tests/install-contract.test.mjs && node --test tests/plugin-page.test.mjs tests/client-write-flow.test.mjs tests/tools-registration.test.mjs tests/recall-runtime.test.mjs && node --test tests/locale.test.mjs"
    }
}
