tmcra-deepseek-harness-memory

DSH PLUGIN记忆与知识

仓库 reshuibuduo/tmcra-deepseek-harness-memory

记忆与知识 未标注验证等级 安全审查:未标注 可信度:未标注 可安装插件

TMCRA 集成插件,为 DeepSeek Harness 提供跨应用、跨会话的项目长期记忆,自动召回并写入记忆,实现项目上下文无缝延续。

一句话选型结论

按资料字段整理

tmcra-deepseek-harness-memory 是记忆与知识类的 DSH 可安装插件,未做沙盒验证,暂无安全审查结论,列出 5 项功能,没有现成安装命令,需要按仓库 README 接入。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类记忆与知识 收录类型可安装插件 验证等级未标注验证等级 安全审查未标注
验证等级 UNKNOWN 未标注验证等级
GitHub 星标 1 复刻 0 · 未关闭 issue 未标注
最近更新 2026-09-05 创建于 2026-08-14
README 15.9 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

5 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

tmcra-deepseek-harness-memory:为 DeepSeek Harness 提供跨应用项目记忆的 DSH 插件

  • 跨应用项目记忆
  • 会话前自动召回
  • 用户与助手记录分离
  • 敏感信息脱敏
  • 失败安全回退

上游标签

agent-memorycross-session-memorydeepseek-harnessdsh-pluginlong-term-memorymulti-agenttmcratypescript

验证等级与安全审查

未标注验证等级
自动化流程结论,不是人工审核
验证等级未标注验证等级上游未给出验证结论,安装前请自行确认
安全审查未标注静态分析结论,未标注不代表已通过审查
仓库健康度未标注按仓库活跃度与最近更新时间给出
可信度未标注综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 列出了 5 项功能,能直接看出它解决什么问题。

先想清楚的地方

  • 安全审查还没结论,装之前先看仓库改了什么、要什么权限。
  • 没有现成安装命令,要按仓库 README 手动接入。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在记忆与知识场景里给 DSH 补能力的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
tmcra-deepseek-harness-memory当前 未做沙盒验证 未标注 1 未标注 无
ruflo L3 · 安装规范通过 低风险 7.4 万 未标注 无
OpenViking L3 · 安装规范通过 低风险 3.9 万 未标注 无
WeKnora L4 · 沙盒安装通过 低风险 3.3 万 未标注 有
distilly L4 · 沙盒安装通过 低风险 2.5 万 未标注 有
EverOS L4 · 沙盒安装通过 低风险 1.3 万 未标注 有

仓库档案

记忆与知识
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方reshuibuduo仓库 tmcra-deepseek-harness-memory · 默认分支 未标注
分类记忆与知识memory
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言TypeScript仓库主语言
许可证Apache-2.0商用或二次分发前请确认条款原文
星标 / 复刻 / issue1 / 0 / 未标注收录时的数值,非实时
创建 / 更新2026-08-14 · 2026-09-05最后推送 未标注
本站收录2026-08-15首次进入本站目录的时间

README 全文

15.9 KB
作者原文,中文版优先;只做安全转义,不改内容

TMCRA for DeepSeek Harness — Cross-App, Cross-Conversation Project Memory

Move between DeepSeek Harness, Codex, and other TMCRA-connected tools without explaining the project again.

This plugin connects Harness lifecycle events to the TMCRA Memory API. A new human prompt recalls account-global and current-project evidence in parallel, injects the resulting evidence into the model-visible session log, and writes the completed user/assistant turn back as two role-separated records.

The repository vendors the reviewable TypeScript client and lifecycle modules used by the adapter under src/sdk/. Hosted API, account, billing, control-plane, database, deployment, and production memory-engine code are not included.

> Status: technical preview. Verified with @deepseek-ai/dsh 0.1.1-rc.2 and TMCRA API 0.2.2. DeepSeek Harness itself is currently a developer preview and may introduce breaking changes.

中文说明

Continue the same project across apps and conversations

TMCRA gives every account a global memory scope and every project an isolated project scope. When two supported tools use the same TMCRA account and resolve the same project identity, they read and update the same project memory. Work completed in Harness can therefore be recalled in a later Codex session, and progress written by Codex can be recalled after switching back to Harness.

Before the Agent answers, TMCRA retrieves the relevant user requirements, decisions, preferences, Agent progress, implementation results, tests, unresolved problems, and next steps. After the turn completes, the new human prompt and Agent result update the shared memory as separate role-labelled records with their source metadata preserved. Switching software or opening a new conversation no longer requires a fresh project introduction.

Cross-app continuity applies to memories that have reached TMCRA and requires both connectors to resolve the same project identity. TMCRA does not merge unrelated projects: .tmcra/project.json, Git identity, and the account-issued project-scope prefix keep project boundaries stable, while session_id remains provenance inside the project rather than a separate recall silo.

What it does

Development branch adds a local memory control panel: dsh-tmcra-memory memory --scope EXACT_PROJECT_SCOPE --session EXACT_SESSION_ID. It offers tasks, source corrections, ignore/restore, normal/recall-only/off modes, and a 12000-character default recall budget. Disabled periods are never automatically backfilled; already submitted remote work is retained. Effective corrections require the corresponding backend update. New features are not yet published.

  • Continues one project across TMCRA-connected tools such as Codex and DeepSeek Harness.
  • Recalls user-global and current-project memory before the first model request of each turn.
  • Continues project work across separate Harness conversations.
  • Keeps session_id as provenance inside a project scope; it does not create a third recall silo.
  • Stores the human prompt and assistant result as distinct user and assistant records.
  • Shares project memory across primary agents and subagents while preserving agent identity, role, parent session, and delegation depth in metadata.
  • Derives a stable project scope from the Git origin, then the common Git directory, then the canonical workspace path.
  • Redacts common API keys, bearer tokens, passwords, private keys, verification codes, and credential-bearing URLs before data crosses the TMCRA network boundary.
  • Fails open on recall by default and keeps failed writeback in a crash-safe local outbox.

Turn every project collaboration into knowledge you can keep using

The most valuable context in a long-running project is usually scattered across many conversations: why a requirement was chosen, which constraints shaped a design, what has already failed, where the implementation stopped, what the tests showed, and what should happen next. When a conversation ends, that context is easy to lose. Returning to the work often means explaining the project again, repeating investigations, or acting on conclusions that are no longer current.

With TMCRA connected, Harness records the goals, requirements, decisions, corrections, and working preferences expressed by the user. It also records the Agent's investigations, implementations, tests, diagnoses, and progress. User statements and Agent work remain distinct, so later conversations can tell the difference between a user decision, an Agent recommendation, and a result that was actually completed and verified.

As the project develops, those collaboration records are organized into:

  • Current project state: goals, requirements, constraints, completed work, active problems, unfinished tasks, and suggested next steps;
  • Decision and implementation history: why an approach was selected, important changes, experiments and test results, failed attempts, incident causes, and the solution that worked;
  • Reusable experience: methods validated in real work, debugging paths, design principles, research notes, domain knowledge, and recurring pitfalls;
  • Personal working context: explicitly stated preferences, habits, tools, collaboration patterns, and long-term interests.

This knowledge continues to change with the project. New conclusions update the current view while the earlier reasoning and history remain available. Separate projects stay separate, while conversations within the same project can share what has already been learned. At the start of a new conversation, the Agent can retrieve the project knowledge relevant to the current request before it answers or takes action.

Users can browse and search the memory library and knowledge graph in the TMCRA web or desktop app, return to the original conversation to verify an item, and delete memories that are incorrect, outdated, or no longer wanted. When local knowledge-base sync is enabled, stable project knowledge can also be organized into Obsidian for long-term personal use.

This is designed for development, research, product work, and multi-Agent collaboration that continues for weeks or months. It reduces repeated explanation, duplicated investigation, and repeated trial and error. Project progress can continue across conversations, and experience gained in one piece of work remains useful in the next.

Requirements

  • Node.js 22.19.0 or newer
  • DeepSeek Harness 0.1.1-rc.2
  • pnpm on PATH for Harness plugin management
  • A TMCRA account. The login command creates the scoped plugin token for you.

During the initial release period, TMCRA accounts are free to use with no memory-ingest or recall quota. Any later change to this policy will be announced in advance and will take effect only after user confirmation.

Install the preview tarball

dsh plugin --profile web add https://github.com/reshuibuduo/tmcra-plugin-deepseek-harness/releases/download/v1.0.0-rc.1/dsh-tmcra-memory-1.0.0-rc.1.tgz
dsh plugin --profile web exec dsh-tmcra-memory login
dsh --profile web --dump-config
dsh web

Harness serves its Web UI at http://127.0.0.1:3080 by default.

The package contributes cordis.patch.yml, so the install command activates the plugin in the selected profile. Prefer the prebuilt release tarball. A locally downloaded copy can also be installed with dsh plugin --profile web add ./dsh-tmcra-memory-1.0.0-rc.1.tgz. Installing from a Git source may require an explicit pnpm build-script allowance.

DSH 0.1.1-rc.2 on Windows can still re-anchor a local package path incorrectly when the path contains spaces or non-ASCII characters. Copy the tarball to a short ASCII path first, such as D:\\dsh-packages\\dsh-tmcra-memory-1.0.0-rc.1.tgz. The release URL above is not affected.

Connect your TMCRA account

Run the login command after installation:

dsh plugin --profile web exec dsh-tmcra-memory login

The command starts a PKCE-protected device authorization and opens tmcra.com. First-time users need to create a TMCRA account; existing users can sign in directly. Review the requested permissions and approve the displayed code. TMCRA then issues a restricted memory:read / memory:write token together with the account-global scope and project-scope prefix. The plugin stores those values in Harness's managed $DSH_HOME/.credentials.yaml; you do not copy an API key by hand.

dsh plugin --profile web exec dsh-tmcra-memory status
dsh plugin --profile web exec dsh-tmcra-memory logout

status reports whether the local Harness profile is connected without printing the token. logout removes only the TMCRA entries and preserves other Harness credentials. If the computer is lost or no longer trusted, revoke the connection from the TMCRA personal console as well.

Harness keeps credential values out of settings and model requests. A model-operated tool running as the same operating-system user may still read files that user can read, so the connection should remain tied to a trusted local account.

Configure local Writer and organizer providers

Full-local Windows preview

The package includes the full backend and E5/MiniLM, BGE-M3/BGE reranker, and Qwen3 embedding/reranker profiles. After installing the DSH plugin, run dsh-tmcra-memory local-install and choose a profile on the installation page. This entry requires no TMCRA login. Python, dependencies and verified model files are prepared automatically, with a private local identity discovered by DSH after restart. Windows x64 is supported; preinstalled Python and TMCRA servers/accounts are unnecessary. First-time downloads require internet. Existing cloud credentials are retained; stale cloud memory connections and background cloud model requests are blocked after local selection. Failed setup retains local selection. Clear an advanced TMCRA_CONFIG_FILE override before automatic setup.

CPU ingest/raw recall passed a synthetic test. Complex compilation timed out; organizer and full-service restart acceptance remains pending. Lightweight startup requires approximately 6.3 GiB free memory. See the acceptance record. A host configured with a cloud main model can still send recalled evidence to its own provider.

Separate provider APIs

Open the local setup page after installing the plugin:

dsh plugin --profile web exec dsh-tmcra-memory setup

The command starts a random-token setup session bound to 127.0.0.1. Writer and background organizer can share one provider or use separate Provider, Base URL, model, and API Key values. The Codex and Harness plugins share ~/.config/tmcra/local-providers.json. Keys stay in that local user file and are sent only to the configured provider during a connection test. Changing Provider or Base URL requires the key to be entered again. The file uses mode 0600 on macOS/Linux; on Windows it removes inherited ACLs and grants access only to the current user and SYSTEM.

The saved configuration is active immediately while Harness is running. Ingest requests route Writer work, including a forced slow stage, to the authenticated local executor. Explicit consolidation requests route the background organizer the same way. The executor leases only tasks created with this device credential, calls the configured OpenAI-compatible endpoint, and returns the parsed JSON result, normalized token usage, and provider request ID. Provider keys and raw provider response envelopes stay in the current user's local process.

Default plugin configuration:

- insert:
- id: tmcra-memory
name: dsh-tmcra-memory
config:
baseUrl: https://api.tmcra.com
baseUrlEnv: TMCRA_API_BASE_URL
apiKeyEnv: TMCRA_API_KEY
globalScopeEnv: TMCRA_GLOBAL_SCOPE
projectScopePrefixEnv: TMCRA_PROJECT_SCOPE_PREFIX
evidenceMode: auto
recallFailureMode: continue
waitForIngest: false
recallTimeoutMs: 30000
ingestTimeoutMs: 30000

globalScope, projectScopePrefix, and projectScope may be set explicitly for controlled deployments. Normal desktop use should keep automatic project derivation so different projects remain isolated while conversations inside the same project can continue one another. TMCRA uses the same .tmcra/project.json marker and Git-based scope formula as its Codex integration, allowing both tools to share one project memory graph.

Lifecycle

human prompt
-> wait for prior project writeback
-> reconcile the durable outbox
-> recall global + project scopes
-> append logged TMCRA evidence
-> Harness model/tool loop
-> successful turn end
-> write USER and ASSISTANT separately

Recalled evidence uses Harness's durable plugin-message form (form: recall). It remains in the conversation until Harness compaction. TMCRA never rewrites or hides the local Harness transcript.

Verification

npm run typecheck
npm test
npm run build
npm run test:dsh-compat
npm run pack:check
pnpm audit --prod

The public unit suite validates lifecycle hooks, scope derivation, role separation, redaction, recall injection, and the durable outbox. The production-service contract harness remains private because it imports TMCRA control-plane modules; its acceptance result is documented below without publishing the service implementation.

The opt-in remote test uses a real TMCRA account token and creates two isolated Harness conversations:

TMCRA_REMOTE_API_KEY=... \
TMCRA_REMOTE_CLEANUP_API_KEY=... \
TMCRA_REMOTE_GLOBAL_SCOPE=... \
TMCRA_REMOTE_PROJECT_SCOPE_PREFIX=... \
npm run test:remote

It verifies writeback, job completion, a clean-session recall, and an empty durable outbox. TMCRA_REMOTE_CLEANUP_API_KEY is optional and is used only to delete the disposable test sessions; the normal plugin token remains limited to memory:read and memory:write. The test uses a recording answer adapter, so it validates the Harness/TMCRA lifecycle without external answer-model tokens or cost. TMCRA's own memory-processing model usage is still recorded separately by the service ledger.

On 2026-08-14, the preview passed a production API acceptance run: a new project wrote two completed turns as four role-separated memory records, and a second Harness conversation recalled both the user's checkpoint and the Agent's progress. The service ledger recorded two ingest events (53 estimated ingest tokens) and two recall requests under deepseek_harness: the first request targeted a brand-new scope and correctly failed open, while the second produced the effective cross-conversation recall. The memory-processing ledger recorded 7,894 model tokens with a known model API cost of CNY 0.00. Post-run cleanup deleted both disposable sessions and left zero related memory records, service messages, session rows, active base/delta index pointers, and foreign-key violations. The device connection, upstream scoped token, and local Harness credentials were all revoked or removed after verification.

Current limits

  • Account connection and local model configuration use guided CLI/browser flows; Harness does not yet embed a native TMCRA settings panel.
  • It does not import historical Harness conversations.
  • Long-session context growth follows Harness's durable recall-message and compaction semantics and still needs workload characterization.
  • Compatibility is pinned and tested against Harness 0.1.1-rc.2; DSH remains a fast-moving preview, so each new release requires a fresh compatibility run.
  • The package has not yet been published to npm; the reviewed .tgz is the current installation artifact.
  • A live DeepSeek-provider answer test requires the user's own DeepSeek credential; the memory lifecycle test itself does not require one.
  • The memory library and knowledge graph are opened from the TMCRA web or desktop app; the Harness integration runs in the background during conversations.

License

Apache License 2.0. Copyright 2026 Yu Haoxin and TMCRA contributors.

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
tmcra-deepseek-harness-memory 怎么安装?

本站没有抓到该条目的安装命令,请到仓库主页确认安装方式;这类条目多数是生态应用或尚未发布安装包的项目。

tmcra-deepseek-harness-memory 的验证等级是什么意思?

未标注验证等级。上游未给出验证结论,安装前请自行确认

tmcra-deepseek-harness-memory 安全吗?

未标注。

tmcra-deepseek-harness-memory 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

tmcra-deepseek-harness-memory 用的是什么许可证?

上游标注为 Apache-2.0。商用或二次分发前请到仓库确认许可证原文。

tmcra-deepseek-harness-memory 有哪些功能?

跨应用项目记忆、会话前自动召回、用户与助手记录分离、敏感信息脱敏、失败安全回退。

记忆与知识
按星标排序,可作替代方案

ruflo

ruflo

L3 · 安装规范通过 7.4 万 星

OpenViking

OpenViking

面向 DeepSeek Harness 的 OpenViking 记忆与上下文插件:pre-step 自动召回与画像注入、会话捕获、`vik

L3 · 安装规范通过 3.9 万 星

WeKnora

WeKnora

把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己

L4 · 沙盒安装通过 3.3 万 星

distilly

distilly

Distilly — Distill how they think into reusable Skills for any Agent o

L4 · 沙盒安装通过 2.5 万 星

EverOS

EverOS

L4 · 沙盒安装通过 1.3 万 星

MemOS

MemOS

L4 · 沙盒安装通过 1.2 万 星

reshuibuduo 的其它插件

3 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。