WORK-462
ID:WORK-462Status:done

refrakt theme list command

SPEC-110 §5 — add theme list to round out theme info.

Priority:lowComplexity:simpleMilestone:v0.25.0Source:SPEC-110
changeset-release/main View source

Criteria completion

Criteria completion: 3 of 3 (100%) checked; tracking started on Jun 24, no incremental history yet0%25%50%75%100%Jun 24Jul 11

Tracking started Jun 24 — check back for trends.

Branches 3
History 1
  1. 2264093
    Created (done)by github-actions[bot]

Acceptance Criteria

  • refrakt theme list reports installed themes (discoverable from node_modules) and marks the active one
  • Output notes the detected features per theme (transform, a framework layer if present, rune CSS) — consistent with the framework-aware view (ADR-024)
  • Works in single- and multi-site projects

Approach

Mirror themeInfoCommand in packages/cli/src/commands/theme.ts, scanning node_modules for packages exporting ./transform.

References

  • SPEC-110 §5; packages/cli/src/commands/theme.ts

Resolution

Completed: 2026-06-23

Branch: claude/v0.25.0-impl

What was done

  • themeListCommand in theme.ts + theme list wiring in bin.ts. Scans node_modules (descending one scope level) for packages exporting ./transform, marks the active theme(s) across all sites, and annotates each with its framework layer ([svelte] / [framework-agnostic]) per ADR-024.