Proposal: experimental host for DeepSeek Harness (dsh)

Abierto
#264 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
node.js, python, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?

Lenguaje dominante
Python
Estrellas
7.4k
Forks
500
Merge medio
1 d 9 h
PR fusionados (30 d)
124

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/TokenEconomizer

Todos los issues de microsoft/TokenEconomizer

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.