Repository navigation
v0.10.2
Pentool v0.10.2
Bug-fix release for the v0.9.0 audit (PEN-090-001..018) and the v0.10.0 audit
(PEN-010-001..002). It also carries the fixes prepared as 0.10.1, which was never
published. No new features and no .pen format change. Behaviour that was previously unsafe now fails with a structured error and
leaves the document byte-for-byte unchanged.
Browser editor and docs
- The Layers panel no longer throws on v6 scene layers (no
paths/textsarrays), so raster
documents load and the Raster Canvas panel lists their layers (PEN-010-001; regression
testtests/web/layers-v6.test.mjs, run in CI). - The v0.10.0 roadmap status now records the shipped release (PEN-010-002).
Document safety
pentool newrefuses to replace an existing file;--overwriterecords the previous
document in history sopentool undorestores it (PEN-090-014).- Canvas width/height must be integers in 1..=16384 for
new,canvasandpage add
(PEN-090-015). - Invalid canvas backgrounds, fill/stroke fallback colors (grammar:
none,#RGB,
#RGBA,#RRGGBB,#RRGGBBAA) and blank layer/object IDs are rejected when a v4+
command would introduce them; already-invalid documents stay editable (PEN-090-016,
PEN-090-017). exporthelp and errors name PDF (PEN-090-018).
AI tooling
- Endpoints reject credential-like query parameters and fragments and never echo them
(001).PENTOOL_AI=offhidesaifrom--help(002). Capability errors no longer
recommend a provider that lacks the capability (003).--dry-runenforces
PENTOOL_AI_ALLOW_HOSTS(004). Opaque background-removal results fail with
keyout-failedand coverage is recorded (005). Duplicate candidates are reported
(requested/unique/warnings) and all usage is kept (006). Windows credential files
must be under the user profile and outside the project (007). Oversized credential
files keep codelimit-exceededwith a fix (008). Malformed limit variables fail
closed (009).--replacerejects stale sources (--allow-stale-sourceoverrides)
(010), runs are scoped per document (011),--replacehonors layer/node locks (012),
and--default-model provider/modelis accepted (013).
Runs created by v0.10.0 and earlier in the shared .pentool/ai-runs/ folder are not
listed by v0.10.2; regenerate if you still need them.