mirror of
https://ghproxy.cflmy.top/https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-12-01 17:49:35 +08:00
Add prefill(text, options) to the public InputActions and session-scope SessionInput faces. Empty or whitespace-only drafts and mode: 'replace' replace the draft; otherwise the API inserts at the caret in one undo step, with a configurable separator when the preceding character is non-whitespace. Return false for empty text, a changed revision, a locked submission, or a disposed session. Document the plugin-facing API in the package README, update existing action fixtures, and cover the behavior through the real SessionInput pipeline.