dsh-tool-fix: лечим ошибки edit, write и pwsh в DeepSeek Harness. deepseek.. deepseek. harness.. deepseek. harness. llm.. deepseek. harness. llm. Open source.. deepseek. harness. llm. Open source. opensourse.. deepseek. harness. llm. Open source. opensourse. ИИ.. deepseek. harness. llm. Open source. opensourse. ИИ. искусственный интеллект.

Всем привет! Это моя первая публикация на хабре. Прошу поддержать.

В общем я увлекаюсь локальными моделями, а железо у меня не сильно мощное.
Процессор: 13th Gen Intel® Core™ i5-13400F (2.50 GHz)
ОЗУ: DDR5 6400 Mhz 2*16ГБ
Видеокарта: NVIDIA GeForce RTX 4060 Ti Eagle 8 Гб

Начал тестировать модели локально. испробовал кучу harness’ов и cli, из того что помню Continue, Cline, OpenCode, OpenCode CLI, Open Interpreter, Cherry Studio ну и DeepSeek Harness.
Последний мне понравился больше всех. Хоть и есть парочку недочетов.

В общем стал я тестировать с моделями и довольно часто начали выскакивать ошибки:
edit Error: old_string was not found in ".PLAN.md"
edit Error: invalid escalation: justification is only valid together with sandbox_permissions
edit Error: cannot edit ".core_logic.py": file changed since it was read — re-read the file, then retry
edit Error: invalid arguments: old_string and new_string must differ
edit Error: cannot modify ".test.txt": file has not been read — read the file, then retry
write Error: cannot write ".shelf_ledgerdb.py": file no longer exists — re-read the file, then retry
pwsh Error: invalid arguments: missing required property "description"

В итоге я собрал при помощи того же DeepSeek Harness плагин для фикса этих ошибок. Их реально стало меньше.

Основная масса ошибок связана с тем что модели слабоваты, но иногда они проскакивают даже у DeepSeek v4 Flash.

Ссылка на плагин тут:
biomotor/dsh-tool-fix: Rewrites the edit, write and pwsh descriptions for local models, repairs drifted arguments (old_string line numbers, missing pwsh description, lone justification, Python output encoding) and shows the exact differing file lines. Execution, sandbox and approval are unchanged.

Буду раз любым отзывам и советам! Спасибо!

Автор: biomotor

Источник