DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-system1

d

dsh-system1

Manifest valid

System One Foundation and Cordis Plugin for DeepSeek Harness

hasBundlePatch

dsh-system1

A typed System One decision service for DeepSeek Harness plugins. Consumer plugins call ctx.system1.decide(), interpret the results, and choose their own actions.

CI npm version License DSH Maintained with RED

dsh.pub registry status

English | 简体中文

PrimitiveResult
noulProbability that a proposition is true (probabilityTrue)
choiceCandidate key and the full probability distribution
scoreExpected zero-based level and the probability distribution

The service provides request and response validation, per-question results, cancellation, timeouts, provider registration, and execution metadata. The built-in TypeSafe/Jev provider uses TanStack's TypeSafe adapter. Other providers can implement the public provider contract.

Install from GitHub

Requirements: Node.js 22.19+ in the 22.x line or Node.js 24, Cordis @deepseek-ai/cordis 4.x, and dsh >=0.1.7-rc.1 <0.2.0. The Loader has been verified with dsh 0.1.7-rc.1 and 0.1.7-rc.2.

Add the public GitHub repository to a dsh profile:

dsh plugin --profile headless add github:exoticknight/dsh-system1

The repository includes the compiled lib/ files required by the plugin, so installation does not need a local checkout or a manually constructed archive path. pnpm supports GitHub repositories as direct package sources; see supported package sources.

The bundled patch mounts the service and TypeSafe provider. Defaults are model jev-1.13.0, provider id typesafe, and an 800 ms total timeout. Set TYPESAFE_API_KEY in the dsh process environment before startup. Adjust timeoutMs to fit the backend latency.

Use from a consumer plugin

Install the package in your consumer plugin project:

pnpm add dsh-system1

Declare inject: ['system1'] and import this package's Cordis type augmentation:

import type { Context } from '@deepseek-ai/cordis'
import type {} from 'dsh-system1'

export const inject = ['system1']

export async function apply(ctx: Context) {
  const result = await ctx.system1.decide({
    state: 'The user asked about a refund.',
    questions: {
      refund: {
        type: 'noul',
        instructions: 'Is the user asking about a refund?',
      },
      topic: {
        type: 'choice',
        instructions: 'Choose a topic.',
        criteria: { billing: 'Billing', technical: 'Technical support' },
      },
      urgency: {
        type: 'score',
        instructions: 'Rate urgency.',
        criteria: ['Normal', 'Urgent', 'Critical'],
      },
    },
  })

  if (result.answers.topic.status === 'ok') {
    return result.answers.topic.answer.value // 'billing' | 'technical'
  }
  return result.answers.topic.error
}

noul returns probabilityTrue; choice returns a candidate key and its full distribution; score returns an expected level and probabilities ordered by criteria. These are model outputs, so consumer plugins choose their own decision thresholds and actions. Runtime failures are reported per question with status: 'error'; malformed call structures throw System1InputError.

See API and provider development for the full contract and the consumer example. Supported TypeSafe models are jev-1.13.0 and jev-latest.

Development

Use Node.js 22.19+ in the 22.x line or Node.js 24 and the pnpm version declared in package.json:

pnpm install --frozen-lockfile
pnpm verify

For an explicit live request, set TYPESAFE_API_KEY in .env.local, then run pnpm probe:live. The probe reads .env.local; the dsh plugin reads the process environment. Regular CI uses local fixtures.

See the contribution guide and release process.

License

Licensed under the Apache License 2.0.

Comments

Loading…

Similar plugins

dsh-d1

by cndn

Cloudflare D1 tools for the DeepSeek Harness (dsh): read-only first, approval-gated writes, zero runtime dependencies

Tools & CapabilitiesManifest valid

★ 0

↓ 135/wk

MIT

JavaScript

Sep 4, 2026

dsh plugin --profile web add dsh-d1

by bbaz123

Post-task confirmation decision guard for DeepSeek Harness — balance output quality with real user impact.

Tools & CapabilitiesSessions & MessagesManifest valid

★ 0

Apache-2.0

JavaScript

Oct 22, 2026

dsh plugin --profile web add dsh-plugin-confirmation-resolution

by xiaoso456

DeepSeek Harness 基础工具增强:持久 bash、结构化 read、多模式 edit、原子 write、双引擎 grep/glob、图像直读,一个插件全覆盖

Tools & CapabilitiesManifest valid

★ 17

↓ 716/wk

MIT

TypeScript

Nov 7, 2026

dsh plugin --profile web add @xiaoso/dsh-tool-plus

by Xin-kon

DeepSeek Harness (DSH) plugin that pins zh-CN thinking and replies into the system prompt. Zero runtime deps, single file, capability probing, silent degradation.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add dsh-lang-guard

by ckanner

DeepSeek Harness plugin: a Codex delegation that can carry a model and a reasoning effort per call

Manifest valid

★ 0

MIT

TypeScript

Nov 8, 2026

dsh plugin --profile web add dsh-subagent-codex-pro

by AskTheWay

⚡ Millisecond System-1 judgement for every tool call in DeepSeek Harness — Jev-powered risk classification & evidence-gated auto-approval. Fail-closed by construction. dsh 生态第一个 System-1 决策插件

Security & AuditManifest valid

★ 33

↓ 854/wk

MIT

TypeScript

Nov 8, 2026

dsh plugin --profile agent add dsh-jev-interceptor