Skip to main content

deepseek-harness-studio/packages/examples/plugin-center-fixture

404Stars43Forks2Issues2Watchers

Deterministic test package for DSH Desktop Plugin Center's trusted installation feature, also hosting host-side entries and browser-side workspace tool pages for F003 real installation transaction verification.

Evidence5/5methodologySourceInstallMaintenanceDSH versionSecurity scan
Machine-auditedInstall commandRepo verifieddsh-plugin topicLicenseREADMEAI wiki

ⓘ This plugin is a sub-package of the fufankeji/deepseek-harness-studio monorepo — stars and activity count the whole repository.

Language
TypeScript
License
MIT
Branch
main
ai-agentdeepseekdeepseek-harnessdeepseek-harness-studiodesktop-appdeveloper-toolsdshdsh-plugin

Install

cmdweb profile
$ dsh plugin --profile web add github:fufankeji/deepseek-harness-studio#path:packages/examples/plugin-center-fixture

Run the command above in your terminal to install this plugin via the dsh CLI. You can switch Profile in the top-right corner. New to dsh? Read the beginner tutorial

Install via your agent

Install the DeepSeek Harness plugin fufankeji/deepseek-harness-studio/packages/examples/plugin-center-fixture for me: review the repository at https://github.com/fufankeji/deepseek-harness-studio first, then run the install command and verify the plugin loads successfully.

Paste this instruction to the DSH Web GUI assistant — it will install and verify for you.

One-line Positioning

This is the deterministic development test package for DSH Desktop Plugin Center (F003 Trusted Installation), which injects the fixture.workspace-tools entry on the Host side and contributes a "Workspace Tools" page on the browser side to verify whether installed artifacts are persisted after a real installation/restart process. It is not a production plugin for regular users.

Core Capabilities

  • Inject Host entry fixture.workspace-tools so that the desktop host can be correctly identified by the plugin manifest after restart
  • Provide a read-only service pluginCenterFixture in the Host context, which always returns {status:'running', capability:'workspace-tools'}
  • Register a primary navigation button "Workspace Tools" in the desktop sidebar
  • Render a bilingual (Chinese/English) workspace page upon opening, serving as visible evidence of client activation
  • Register an empty installer through dsh-invariants to provide the package with an invariant registration slot without introducing runtime assertions
  • Provide a real Profile-guided e2e test that chains together multi-source activation evidence from boot/compose/plugin manifest/client modules

Technical Implementation

  • Language: TypeScript (Host half in .ts, Client half in .tsx)
  • Key Dependencies: @deepseek-ai/cordis, @deepseek-ai/dsh-client-runtime, @deepseek-ai/dsh-client-ui-slots, @deepseek-ai/dsh-invariants, react@^18.2.0
  • Architecture Pattern: Dual-face plugin - the same npm package provides both Host entry (default export apply) and Client entry (/client subpath exports apply/inject), using package's cordis.patch.yml to insert the fixture.workspace-tools entry into the host startup layer
  • Entry Files: src/index.ts (Host), src/client/index.ts (Client), src/invariant.ts (invariant registration)

Applicable Scenarios

Only for DSH desktop team to run real environment regression test cases on the two main lines of F003 Trusted Installation and F004 Installed Composition Management; typical usage is to install it alongside plugin-center-skill-fixture into the test Profile of the web profile, then verify through startup/restart/uninstall paths whether plugin manifest entries, client modules, and Skills can remain consistent across processes. Regular users and business developers should not proactively install it.

Prerequisites and Compatibility

DependencyMin VersionDescription
DSHNot declaredThis package does not declare dsh version requirements, needs to be built together with the repository; fixture itself is 0.1.0-rc.5
NodeNot declaredThis package does not declare engines field, subject to root engines
React^18.2.0Explicitly declared in peerDependencies
PlatformCross-platformThis package does not declare os/cpu; test coverage includes darwin-arm64, source code itself has no platform branches
Native modulesNoneAll dependencies are workspace internal packages, no C++ plugins or N-API bindings

Installation

dsh plugin --profile web add github:fufankeji/deepseek-harness-studio/packages/examples/plugin-center-fixture

Configuration

This plugin requires no additional configuration.

FAQ

Q: Can this plugin be directly installed in production DSH?

A: No. The README explicitly labels it as "development evidence only", it's a reviewed test package for the F003 Trusted Installation feature, not provided as a production plugin or user-facing workspace tool.

Q: What visible functionality does it provide?

A: After installing to the web profile, a "Workspace Tools" button will appear in the desktop sidebar. Clicking it opens a fixed bilingual page, used to verify whether the Host entry was correctly activated after a real Electron restart.

Q: What configuration items and environment variables are available?

A: The source code and package.json do not declare any Config/Schema/process.env reading logic, nor any os/cpu/engines fields. No additional parameters can be configured at runtime.

Q: Does it write to disk or make network requests?

A: No. The Host side only returns a frozen constant {status:'running', capability:'workspace-tools'}, the Client side only renders static text, does not persist data, and does not make remote calls.

Q: What should I do when errors occur?

A: Since this is a test fixture, if Host/Client inconsistency or service missing occurs, it should be reported as a harness F003 test defect to the repository issue, and should not be used in production environment.

Difficulty Level

Expert — This package is not a user-facing tool, must be run together with DSH desktop source code building and real Profile-guided flows, and can only serve the F003/F004 regression test scenarios.

Known Issues and Limitations

  • Development evidence only: The repository README explicitly states this package is only for deterministic F003 testing, not provided as a production plugin or user-facing workspace tool
  • Page text is a fixed bilingual constant, does not accept external input, and does not expose any runtime switches
  • Strongly coupled with plugin-center-skill-fixture: The test suite installs both together and cross-validates activation evidence; installing separately will miss some assertions

Read the usage guide →

Install steps, key points, FAQ and compatibility for this plugin — auto-derived from indexed fields.

Listing badge

Listed on deepseek-plugin.org
[![Listed on deepseek-plugin.org](https://img.shields.io/badge/listed_on-deepseek--plugin.org-007EC6)](https://deepseek-plugin.org/plugins/fufankeji/deepseek-harness-studio/packages/examples/plugin-center-fixture)

Paste this markdown into your GitHub README to link back to this listing. The badge only states the listing — not a security endorsement.

← Back to plugin directory