Releases: PerryLink/dsh-draw
Releases · PerryLink/dsh-draw
Release list
v0.1.0
[0.1.0] - 2026-08-16
- Initial release: unified image_generate tool with config-driven engine routing, health-aware fallback, durable attachments, per-session quota accounting, and credential-reference key storage.
Added
- Unified
image_generatetool: standard parameters (prompt/size/count/quality/style/engine) translated per engine; canonical value carries durable attachment references plus quota and routing facts; render embeds the images as attachment content blocks. - Config-driven engine chain with two shipped presets (OpenAI Images
gpt-image-1, Zhipu CogViewcogview-3-flash) and any OpenAI-compatible endpoint; per-engine size maps, quality/style support, response format, and media type. - Health-aware fallback router: chain order with engine-override promotion, consecutive-failure cooldown, disabled-engine skipping, and per-attempt audit views.
- Per-session quota accounting folded from the durable
draw/generatedsession event (generation calls + image bytes), enforced before engine spend and before attachment storage. drawTypert Remote service (draw/status,draw/probe,draw/setCredential,draw/unsetCredential,draw/regenerate) with a hand-written host./typertmanifest shared with the client Remote contribution.- Browser half: keyed
tool.call.toolviewresult card (engine/quota facts + regenerate action) and a Plugins settings tab (engine chain, credential references, probes, quota limits). - API keys stay credential references (environment-variable names) resolved per call through the official
ctx.credentialsseam — values are never logged or snapshotted.
Changed
HttpRequest.bodycarriesUint8Array<ArrayBuffer>; the fetch transport spreads optional headers/body soexactOptionalPropertyTypesholds.Session.appenduses the two-argument form (the pinned0.1.0-rc.6peers have no append-envelope option).
Fixed
translateRequestdefaultssize/countfor engines reached with a normalized request missing them.