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
claude/v0.25.0-impl View source

Criteria completion

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

Tracking started Jun 23 — check back for trends.

Branches 3
History 3
  1. da9667d
    Created (done)by bjornolofandersson
  2. f2c6cb8
    Content editedby Claude
    feat(cli): shared install resolver, multi-site --site, framework-aware v
  3. a6bdcba
    Content editedby Claude
    plan(v0.25.0): accept specs/ADRs and decompose into 21 work items

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.