Proposal: experimental host for DeepSeek Harness (dsh)

オープン
#264 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
node.js, python, typescript

調査の方向性

Start with plugin/opencode/tokeneconomizer.ts and the recent adapter PRs mentioned in the issue, then read docs/PLUGIN.md for host conventions. Check whether dsh 0.2.x supports tool-free single turns and persistent per-tool settings before settling the side-call and pruning behavior. Done means an experimental host adapter with offline tests, documented verified behavior and tested versions, plus live-session evidence that learned context reaches the model.

索引モデルが issue の本文から書いたものです。

説明

Would you take a PR adding DeepSeek Harness (dsh, npm @deepseek-ai/dsh) as an experimental host?

There are no dsh entries in this repo yet, but several community ports exist as separate repos, and each one reimplements the engine in TypeScript. I'd rather add dsh to this repo and keep this repo's Python engine.

Plan:

  • A thin TypeScript plugin, modelled on plugin/opencode/tokeneconomizer.ts, that forwards dsh's session, prompt and tool events to te-hook and returns injected context. No second engine.
  • First cut: micro-skills and the loop guard. Side calls would run through dsh headless "<prompt>" with a --patch overlay that strips tools. If dsh cannot run a tool-free single turn, side calls stay off by default, as on Droid and agy.
  • Tool pruning only once I've confirmed dsh has a persistent per-tool setting; until then "nothing yet", like opencode.
  • Offline tests, a verified-behaviour section in docs/PLUGIN.md, a supported-versions row (dsh 0.2.x is still pre-release, so I'd list the exact versions tested), and evidence from a live session that a learned fact reached the model.

Before I start, is this in scope? And are there conventions for new hosts that I should follow beyond what the recent adapter PRs show?

主要言語
Python
スター
7.4k
フォーク
500
平均マージ
1日 9時間
マージ済み PR(30日)
124

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/TokenEconomizer のほかの issue

microsoft/TokenEconomizer の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。