dshbase

插件目录 / Developer / tomilite-dsh-plugin

tomilite-dsh-plugin

已验证 · 实测可装 xxwj225-James

✓ 持续维护 基于 3 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-20最近推送
跨平台平台

功能简介

DeepSeek Harness plugin: give your DSH agent access to your local TomiLite tasks, notes, and project stats

✅
我们的评价
可用 — 实测通过,早期项目

DeepSeek Harness plugin: give your DSH agent access to your local TomiLite tasks, notes, and project stats 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

tomilite-dsh-plugin

A DeepSeek Harness plugin that gives your DSH agent access to your local TomiLite — tasks, notes, and project stats.

The agent creates a task in TomiLite and it shows up in your Tasks panel instantly. Your DSH agent becomes the hands, TomiLite stays the workspace.

🚀 Get TomiLite

This plugin needs the TomiLite desktop app running on the same machine.

Windows one-liner (skips install if TomiLite is already running, otherwise downloads + installs + starts it):

powershell -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/xxwj225-James/tomilite-dsh-plugin/main/scripts/install-tomilite.ps1 | iex"

Or download the installer manually: TomiLite Releases

If TomiLite is not running, the tools fail with an actionable message (with the download link) — the agent will relay it to you.

Prerequisites

  • DeepSeek Harness installed (npx @deepseek-ai/dsh web, or built from source)
  • TomiLite desktop app running — the plugin talks to its local API at http://localhost:3192 (localhost calls are token-exempt; no API key needed)
  • Node.js 22.19+ (matches DSH requirements)

Install

# npm (recommended once published)
dsh plugin --profile web add tomilite-dsh-plugin

# git (installs from this repository)
dsh plugin --profile web add github:xxwj225-James/tomilite-dsh-plugin

# local checkout
dsh plugin --profile web add ./tomilite-dsh-plugin

Restart the DSH web UI (or dsh CLI) after installing.

Configuration

Defaults work out of the box for the local TomiLite app. Override in your profile's cordis.patch.yml:

- id: tomilite
  name: tomilite-dsh-plugin
  config:
    baseUrl: http://localhost:3192   # default
    apiToken: ''                     # only for remote instances (Settings → API Keys)
    projectId: proj-default          # default single-user project

apiToken can also come from the TOMILITE_API_TOKEN environment variable. For remote instances prefer HTTPS — the token travels in plain HTTP otherwise.

Tools

Tool Description
tomilite_list_tasks List tasks, optional status filter (todo / in_progress / done). Returns compact rows (description truncated to 300 chars)
tomilite_create_task Create a task (title, description, type, priority, story points)
tomilite_update_task Update status / priority / description
tomilite_list_notes List knowledge-base notes, optional category filter. Returns compact rows (content preview truncated to 500 chars)
tomilite_create_note Create a Markdown note
tomilite_get_stats Board statistics — counts per status / priority / type — handy before writing daily reports

If TomiLite is not running, tools fail with an actionable message (the agent will tell you to start TomiLite). Every HTTP call carries a 15-second timeout so a hung TomiLite never stalls an agent turn.

How it works

The plugin is a host-side Cordis plugin that speaks the same tRPC wire format as TomiLite's own web frontend (apps/web/src/lib/api.ts):

  • Reads: GET /api/<router>.<procedure>?input=<urlencoded JSON>
  • Mutations: POST /api/<router>.<procedure> with a JSON body
  • Responses: tRPC envelope { result: { data: ... } }
  • Auth: x-tl-token header, only needed for non-localhost instances

The tools registered by this plugin (ctx.tools.register + defineTool from @deepseek-ai/dsh-tools) become regular model-visible tools — schemas are enforced before execute runs, results are rendered as compact JSON blocks.

Language

Tool descriptions and result messages are in English. DSH's locale service is browser-side only, so host-side tool plugins (including every official DSH tool package) ship static English copy; translations can be added once DSH exposes a host-side locale.

Development

npm install
npm run build                 # tsc → lib/
npm test                      # smoke + real-Cordis load tests (no network)
npm run test:integration      # round-trips against a RUNNING TomiLite on :3192
  • test/smoke.mjs — registration + model-surface checks with a mock context (no network)
  • test/cordis-load.mjs — boots a real @deepseek-ai/cordis context, loads the plugin through ctx.plugin(), verifies inject resolution, tool registration, and Config-schema rejection of invalid config (no network)
  • test/integration.mjs — live round-trips against a running TomiLite; creates and deletes its own rows, no user data touched

lib/ is committed so git installs work without a build step; CI rebuilds it to guarantee freshness (npm run build before committing).

Notes

  • DeepSeek Harness is in developer preview (rc releases) and may break plugin APIs between releases; this plugin is pinned to [email protected].
  • GitHub topic: dsh-plugin (for plugin ecosystem discovery)

License

MIT © 2026 Tomatovector

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 tomilite-dsh-plugin」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:xxwj225-James/tomilite-dsh-plugin

Headless(CLI)profile:

dsh plugin --profile headless add github:xxwj225-James/tomilite-dsh-plugin

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →