Overview
dsh-plugin-cli-session
README / EN
Package documentation
Registry summary
dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.
Read the full README on GitHubLIMITATIONS
Known limitations
- **`--json-schema` is a prompt, not a constraint.** The schema is appended to the task text asking for conforming JSON; it is not the provider's structured-output mode. A model can still answer with code fences or commentary, so parse defensively. - **Only the last assistant message is returned.** Intermediate turns are in the session log, not in `result`. - **`is_error` covers any non-`completed` turn reason**, including a turn that never started. - **`sessionTag` is stored in `agentPreset`**, a field the harness defines for agent presets. It works as a session label today, but it is a borrowed field, not a documented extension point. - **The hard exit is a fallback, not a design.** `exitGraceMs` after the graceful exit request the process is killed, which can truncate a very slow flush.
