Skip to content

feat: wt open --list --json — machine-readable registry of detected apps - #51

Merged
sahil-noon merged 3 commits into
mainfrom
260722-qj66-open-list-json
Jul 22, 2026
Merged

sahil-noon merged 3 commits into
mainfrom
260722-qj66-open-list-json

Conversation

@sahil-noon

Copy link
Copy Markdown
Collaborator

Meta

Change ID Type Confidence Plan Review
qj66 feat 4.7/5.0 8/8 tasks, 17/17 acceptance ✓ ✓ 1 cycle
Impact +/− Net
raw +1055 / −35 +1020
true +446 / −34 +412
└ impl +156 / −18 +138
└ tests +290 / −16 +274

excludes fab/, docs/ · generated by fab-kit v2.16.8

Pipeline: intake ✓ → apply ✓ → review ✓ → hydrate ✓ → ship → review-pr

Summary

wt open's detected-app catalog was reachable only through the interactive "Open in:" menu, so an external consumer (run-kit's navbar Open split-button) had no way to query which apps a host can open a directory in without scraping menu output or reimplementing detection. This adds a --list / --list --json query surface on wt open that reuses the existing BuildAvailableApps() catalog, so the emitted app ids are guaranteed valid -a targets and no second detection path is forked.

Changes

  • wt open --list — list detected apps (human table)
  • wt open --list --json — machine-readable JSON
  • AppInfo.Kind — kind classification at the catalog
  • Flag exclusivity
  • Out of scope (decided 2026-07-22, recorded in backlog)

sahil87 added 3 commits July 22, 2026 17:10
Exposes BuildAvailableApps() detection as a queryable surface (human table
or JSON array of {id, label, kind}) for external consumers like run-kit's
navbar Open dropdown, without duplicating the app-detection catalog.
@sahil-noon
sahil-noon marked this pull request as ready for review July 22, 2026 11:44
@sahil-noon
sahil-noon merged commit 18eed9d into main Jul 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants