oneinitAI/dsh-settings-plus2

@oneinitai/dsh-settings-plus

Advanced settings management plugin for DeepSeek Harness: form-level and file-level configuration editing with an open plugin registration SDK

AI Analysis

为 DSH 提供更强大的配置编辑能力,并为插件开发者提供便捷的设置注册 SDK。适合需要精细调整系统参数或进行插件开发的专业用户。

Package
@oneinitai/dsh-settings-plus
Version
0.0.1
License
MIT
Last updated
Aug 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:oneinitAI/dsh-settings-plus

SDK usage for plugin authors

One namespace registration inside your plugin's apply, reclaimed with the calling fiber:

import { Context } from 'cordis'
import z from 'schemastery'
import { registerUserSettings } from '@oneinitai/dsh-settings-plus/sdk'

export const name = 'my-plugin'
export const inject = ['settings']

const MySection = z.object({
  host: z.string().default('localhost'),
  token: z.string().role('secret'),
})

export function apply(ctx: Context) {
  ctx.effect(() => registerUserSettings(ctx, 'my-plugin', MySection, { applies: 'live' }))
}

The namespace immediately joins the host settings surface: the crawler's ctx.dshSettingsPlus.listNamespaces() includes it and the configuration UI renders its schema. Full contract (naming, secrets, lifecycle, dedup semantics) in docs/sdk-contract.md.