DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Aoci — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-aoci

Aoci

DeepSeek Harness 的 AOCI-CODE 认知层:单次 /aoci 命令 + 动态 MCP 桥接,用于受治理且由 Git 版本控制的仓库/数据库认知。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-aoci@0.2.0
README兼容性版本

兼容性与来源证明

Aoci 以 dsh-aoci 发布,当前版本为 0.2.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/10/7

版本

0.2.0stable
2026/10/7
0.1.8stable
2026/10/6

相关插件

正在加载相关插件…

最新版
0.2.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
116.6 kB
文件数
11
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
0
最近提交
2026/10/9
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 developer-tools 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Experimental Inspector@deepseek-ai/dsh-experimental-inspector用于 Host 调试和 Client Runtime 检查的实验性跨 realm CDP hub

README

dsh-aoci

AOCI-CODE cognition layer for DeepSeek Harness: one slash command gives agents governed, Git-versioned repository and database cognition.

简体中文版见 README.zh-CN.md.


Abstract

dsh-aoci integrates AOCI-CODE — a local-first stdio MCP server and Go CLI implementing the AOCI (AI-Oriented Cognition Infrastructure) paradigm — into the DeepSeek Harness (DSH) plugin ecosystem. It separates deterministic governance (initialisation, baseline establishment, verification) from semantic authorship (FRAS entries authored by the model under AOCI's governance protocol), and exposes cognition through three complementary surfaces:

  • Nine MCP tools (mcp__aoci-<slug>__aoci_rules / aoci_overview / aoci_get_entries / aoci_search / aoci_maintain / aoci_update_entry / aoci_remove_entry / aoci_header / aoci_report), registered on demand by a dynamic MCP bridge instead of static per-repository configuration;
  • Eleven deterministic tools (aoci_status, aoci_verify, aoci_check, aoci_scan, aoci_panel, aoci_use, aoci_unbind, aoci_relations, aoci_impact, aoci_lineage, aoci_db) for governance, System-Cognition queries, database preflight, and agent-driven repository selection;
  • One-shot slash command /aoci [path]: with a path, resolves it (absolute, or relative to defaultRoot); without a path, auto-locates the current session’s workspace repository; runs conditional initialisation/baseline, binds the MCP bridge, and submits the index-build instruction to the current agent via agent.steer — cognition onboarding in a single invocation. Optional flags: --locale, --scope, --agent, --skip-scan, --db.

AOCI-CODE is licensed FSL-1.1-MIT (source-available); this plugin does not bundle its binary — it guides checksum-verified downloads from the official release channel.

Scope and Compatibility

  • Tested runtime: DSH desktop >= 2.7.0 (API ^1.2.0); harness runtime ^0.1.1-rc.1 || ^0.1.5-alpha.1 (cordis ^4.0.2); web profile.
  • Peer dependencies (provided by the host at boot): @deepseek-ai/cordis, dsh-settings, dsh-system-prompt, dsh-tools, dsh-jobs, dsh-llm, react, react-dom.
  • Runtime dependencies: schemastery, @modelcontextprotocol/sdk.
  • Prerequisite binary: aoci from the official AOCI-CODE Release (default C:/aoci/bin/aoci.exe), verified by SHA-256.

Model-Facing Surface

SurfaceNamesPurpose
Cognition readsmcp__aoci-<slug>__aoci_rules, ...__aoci_overview, ...__aoci_get_entries, ...__aoci_searchLoad and query the governed cognition map
Cognition maintenance...__aoci_maintain, ...__aoci_update_entry, ...__aoci_remove_entryIncremental, protocol-governed updates
Cognition evidence...__aoci_header, ...__aoci_reportIndex identity and attestation
Deterministic governanceaoci_status, aoci_verify, aoci_check, aoci_scan, aoci_panelHealth, verification, baseline, panel (status also reports git head/working-dirty drift)
System Cognitionaoci_relations, aoci_impact <object>, aoci_lineageDependency projection, impact analysis, lineage binding
Database preflightaoci_db <source>Read-only database source access preflight (env-referenced credentials only)
Agent-driven bindingaoci_use <path>, aoci_unbind <slug>Autonomous repository selection
Slash command/aoci <path>One-shot onboarding (bind + instruct agent to build)

Architecture

DSH Web GUI (client) ── RPC/HTTP ──▶ DSH Host half (this plugin)
                                        │ ctx.tools dynamic registration
                                        ▼
                              aoci mcp (stdio, spawned on demand)
                                        │ nine MCP tools
                                        ▼
                          repository cognition assets (aoci.txt et al., Git-versioned)
  1. Dual-face plugin: the package root is the host (Node) half; the ./client export is the browser half registered through DSH's __ModuleLoader__.load protocol. State ledgers persist under profile-isolated state/aoci/ (projects.json, runs.jsonl).
  2. Dynamic MCP bridge (AociBridge): spawns aoci --repo <root> mcp via Node child_process, connects StdioClientTransport + Client from @modelcontextprotocol/sdk, discovers the nine tools, and registers them on ctx.tools; unbinding unregisters and terminates the process.
  3. AOCI governance semantics (empirically fixed): init runs only for uninitialised repositories (probe aoci.txt); scan runs only when no Baseline exists (probe .aoci/baseline.json); existing Baselines are maintained via argument-less aoci_maintain plus batch aoci_update_entry, proven by verify/check.
  4. One-shot command: /aoci [path] (no-arg auto-locates the current workspace) is registered via ctx.inject(['commands'], …) and submits the build instruction through agent.steer(createUserMessage(...)) — the plan-mode submission pattern.
  5. Compaction-contract bridge: compactAociResults (pure folding of Whole-Index bodies into receipts) and a compaction/end recovery hook (installAociCompactionGuard) align AOCI's compaction discipline with DSH session compaction.

Installation

Prerequisites

  • A DeepSeek Harness profile (desktop >= 2.7.0 / runtime ^0.1.5-alpha.1 line).
  • The aoci binary from the official AOCI-CODE Release (e.g. aoci_0.1.0-rc18_windows_amd64.zip), SHA-256 verified against the published SHA256SUMS and placed at a stable absolute path (default C:/aoci/bin/aoci.exe).

Steps

cd <plugin-checkout>
pnpm install
pnpm check            # typecheck + unit tests + build
pnpm pack             # dsh-aoci-<version>.tgz

dsh plugin --profile <name> add ./dsh-aoci-<version>.tgz
# restart DSH Desktop, then in the input box:
#   /aoci D:\path\to\repo        (absolute path)
#   /aoci ./relative                (requires defaultRoot configured)

After /aoci, the agent builds the index (rules → full Overview → batched Maintain → verify/check → aligned). Subsequent sessions reuse the same Git-versioned cognition; maintenance is automatic at task completion.

Configuration Reference

KeyDefaultDescription
binaryPathC:/aoci/bin/aoci.exeStable absolute path to the verified aoci binary.
defaultRoot`` (empty)Base directory for relative paths in /aoci and aoci_use.
mcp.serverNamePrefixaociNamespace prefix for dynamically registered MCP tools.
mcp.toolCallTimeoutMs120000Per-call timeout for bridged MCP tools.
projects[].root / slug / locale—Static projects (optional; dynamic binding via /aoci needs none).
projects[].dbSources[][]Database sources (sourceId, engine, databaseName, namespace, credentialEnv).
projects[].schedule.cron0 3 * * *Nightly health-check schedule (verify-only by default).

Verification Methodology

The plugin was validated through four complementary approaches:

  1. Unit tests (15 cases): slug/credential-reference derivation, five-field cron matching, MCP entry assembly, compaction folding, schema defaults, relative-path resolution.
  2. End-to-end chain (real aoci 0.1.0-rc18 binary + real Git repository + MCP SDK): init succeeded; scan established a Baseline (6 files / 586 ms); verify emitted JSON; all nine MCP tools discovered; aoci_header returned index identity over MCP.
  3. Integration self-test (real Cordis context + command injection): /aoci handler registered, bound 9/9 tools, and agent.steer submission succeeded.
  4. Loader composition: dsh --profile web --dump-config resolves the plugin entry and its configuration without errors.

Known Limitations

  • Background scheduling is not guaranteed after the application fully exits.
  • Initial index construction grows with repository size (≈1 hour per 200K lines) and consumes API quota.
  • Dynamic-bridge process lifecycle (crash reconnection) can be strengthened further.
  • Database cognition (MySQL/PostgreSQL/openGauss table-level FRAS) and embedding the aoci ui panel are later milestones.

Security Considerations

  • Credentials are referenced exclusively through environment-variable names (AOCI_DB_<ID>_DSN); the plugin never stores or embeds secrets.
  • The aoci binary is downloaded from the official Release and verified by SHA-256; it is not bundled or redistributed (FSL-1.1-MIT).
  • MCP/subprocess environments are scrubbed of credential-shaped variables before merging explicit overrides.
  • All /aoci/* panel routes are loopback-only.

Acknowledgments

The authors wish to thank:

  • The AOCI-CODE team and the authors of AOCI: Symbolic-Semantic Indexing for Practical Repository-Scale Code Understanding with LLMs (arXiv:2605.02421), whose governed cognition paradigm and local-first MCP server make this plugin possible.
  • The DeepSeek Harness SDK team for the plugin protocols this work builds upon — sandbox context and injection declarations, ctx.tools, ctx.commands, and the __ModuleLoader__.load frontend contract.
  • The maintainers of dsh-task-board (@linxin666/dsh-web-ui) and dsh-better-sidebar (omdsh-dev/DSH-better-sidebar), whose dual-face plugin architecture and manifest protocols were direct references.
  • dsh-plan-mode (@deepseek-ai/dsh-plan-mode) for the ctx.inject(['commands'], …) registration and agent.steer submission patterns.
  • Early adopters and reviewers whose real-environment feedback drove the 0.1.x fix cycle.

See RELEASE.md for the full version history and acknowledgements.

License and Attribution

MIT License (see LICENSE). AOCI-CODE is licensed FSL-1.1-MIT (source-available, github.com/aoci-spec/aoci-code); this project holds no AOCI-CODE binaries and distributes none. The design rationale is documented in docs/DESIGN.md.