Repository navigation
Releases
v0.16.0
v0.15.1
Preview Cards
- Card buttons in previews now use the DS kit's
pl-btn pl-btn--smstyling, with CSPstyle-srcupdated to allow'self'. - Pressed toggle buttons display the kit's strong fill and a check mark.
- The frame's top-right corner is reserved for a hover-only "Click to interact" hint; the saved/live status note moved to the footer to prevent collision.
v0.15.0
Design Previews
- Renders palette, contrast, and live-Storybook previews inline in chat via the core frame-component host, carrying only a
preview_idand title in the chat stream. - Enabling previews is opt-in; set
show_previewto true onds_tokens,ds_story,theme_scale,theme_contrast, ortheme_paletteto activate this feature. - Enforces a plugin floor of 0.202.0 to satisfy fleet policy and core renderer dependencies.
Reliability & Data Handling
- Persists design snapshots to a store that enforces retention limits of 500 rows and 90 days, canonicalizing colors to
#rrggbb[aa]while isolating invalid swatches so they do not corrupt the entire preview. - Transient read failures retry with backoff and expose a Retry button to recover from temporary connection issues.
- Catches
subprocess.TimeoutExpiredfor theghCLI token retrieval to prevent transient network timeouts from being cached as a permanent "no token" state.
v0.14.0
v0.14.0 improves subagent capabilities and color parsing accuracy.
Subagent Capabilities
- ds-designer now accesses
ds_components,ds_component,theme_contrast,get_artifact,list_artifacts,github_get_issue,github_read_file, and browser tools to read actual components, issues, and live pages instead of returning provisional mocks. - design-critic now accesses
get_artifactandtheme_contrast, enabling it to read the specific artifact under review and measure contrast directly. - Browser tools operate on existing pages; the designer has no URL for its own artifact, so use
check_artifactfor render verification. - Note that the browser session is shared with the lead agent.
Theme Color Parsing
theme_contrast,theme_scale, andtheme_palettenow accept standard CSS color formats, includingrgb(),rgba(),hsl(),oklch(), and named colors, resolving previous "not a hex color" errors fromgetComputedStyleoutput.- Translucent foregrounds composite over the background using source-over in sRGB and report
foreground_alphaandcomposited_foreground. - Translucent backgrounds are refused with a message directing you to pass the opaque backdrop instead.
- Invalid inputs such as empty comma slots in
rgb()are now rejected to match browser behavior, and nearly-opaque alphas display up to four decimal places rather than rounding to 1.
v0.13.0
This release adds multi-format color theme exports and corrects spacing token handling.
Color Theme Exports
- Exports color themes to Design Tokens Community Group (DTCG), CSS, and Style Dictionary formats.
- Encodes colors in linear sRGB and validates syntax to prevent malformed output.
- Distinguishes modern and legacy HSL syntax to ensure correct parsing during export.
Spacing Tokens
- Preserves and orders spacing half-step tokens to maintain consistency in token structure.
v0.12.0
This release expands the site audit's design token validation to cover more geometric properties.
Site Audit
- Site audit now validates border-radius and spacing values against half-step scales.
- Ruled-out values and off-token radii trigger a snap-to-nearest suggestion instead of failing outright.
v0.11.0
This release improves the accuracy of Design System (DS) export resolution and component auditing.
Design System Export Resolution
ds_componentnow resolves any public export by name case-insensitively, returning the import line, JSDoc, signature, referenced props type, and a usage excerpt from the related story file.- Partial name matches (e.g., "Toast") now list the closest exports (e.g.,
ToastProvider,useToast) instead of failing to resolve. ds_searchmatches against export names, and the shadow/control inventory uses the public components defined in the package’sexportscontract.
Shadow Component Auditing
- The auditor now only flags a shadow component if its name matches the DS component (or that plus a generic affix) and the file does not import the DS component, or if a DS-family name hand-writes the DS root class (e.g.,
pl-surface) without importing or rendering the DS component. - Files that import or render the DS component for a locally named file are classified as composition and are never flagged.
- When replies are capped, the output now displays "N of M shown" instead of printing a second, smaller count for the same rule.
Audit Exclusions
- Hand-rolled control audits now skip sanctioned composite
<button>elements that useclassNameand multi-element children, per protoContent#551.
v0.10.1
Bug Fixes
ds_audit_url,ds_component_gaps, andtheme_extractnow refuse probes with fewer than 5 visible elements, preventing false perfect scores from client-rendered pages that have not yet mounted.- When a probe is refused due to insufficient visible elements, the tools instruct you to wait for the page to render and re-probe.
v0.10.0
Security & Stability
- Implements configuration hardening for blank-disables and enforces drift ordering with lock handling.
- Applies cache single-flight logic and updates light-media parsing behavior.
Workflow
- Adds cross-board brief template support for the skill delegating-across-boards feature.
- Enforces publish-gated timing and establishes follow-up discipline for cross-board operations.
v0.9.0
Audit live sites for design-system compliance, extract brand themes, and harden all outbound network requests.
Design System Auditing
ds_audit_reponow audits local checkouts for token adherence using a 12-rule engine, producing markdown and JSON reports with adherence scores.- New
siteauditcapability probes live sites viabrowser_eval, identifying missing design-system components and contrast issues with ready-to-file gap reports. themegenextracts brand colors, fonts, and radii from URLs or CSS, generating dark/light themes that pass AA contrast checks with reported repairs.ds_checknow detects raw colors in unnamed snippets, including Tailwind arbitrary values and JavaScript constants.
Network Security Hardening
fetch.pybecomes the single guarded fetcher for all URL reads, enforcing global IP allowlists, IP-pinned connections, and rejecting HTTPS-to-HTTP downgrades.- Report generation now escapes untrusted text from pages and repos, preventing markdown injection and malicious issue references.
- The plugin data directory resolves through
instance_pathswith a one-time migration of legacy snapshots; users relying on custom data paths must verify this location after upgrade.
Performance and Safety
audit_treeenforces a 60-second time budget, flagging truncated results in the summary if large codebases exceed the limit.- Symlinked files and FIFOs are excluded from file walks to prevent directory traversal and hangs during audits.
- Large stylesheets process approximately 50x faster due to optimized span lookups; a 1.1MB stylesheet now audits in under 2 seconds.