Skip to content

Kossé 0.3.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 17:55
· 3 commits to main since this release
4d6b0e1

The dashboard shows which URL to open: endpoints get names and a summary or details tier, each service leads with one open target, and Customize starts from a prompt for your coding agent.

Added

  • Prompt-first Customize window (S16): Customize opens on Customize with your agent, the prompt kosse profile prompt prints (generated by core, served by GET /api/profile/prompt) with a Copy button, then Or edit fields. When an agent applies a profile while the window is open, an untouched form shows it; an edited one keeps your edits, says the profile changed outside the window and offers Reload, and its save is refused rather than overwriting the agent's profile. The snapshot's project metadata carries centralRevision.
  • Endpoint names and display tiers (S21, issue #9): a profile's endpoints (keyed by port) names endpoints, shows each in the summary (what a person opens) or in details (inspectors, internal ports: visible, never a launch target, their HTTP errors never mark the service failed) and gives it its own probePath; otherEndpoints sets the tier of the rest, and match.process matches a child whose ports change on every start (workerd) by its OS process name. Port 9229 is Inspector, in details, unless a profile says otherwise. Tray Open, dashboard Open, kosse url <service> and kosse wait <service> --http use summary endpoints only; kosse url <port> still answers for any. The dashboard shows details endpoints on one muted line and Inspect says why; Customize edits them; list, port, wait and profile context gain a SHOW column after PORT, and --json carries Endpoint.display.

Changed

  • Dashboard hierarchy (evidence): each service leads with one open target, the summary endpoint that answered HTTP best (a status below 400, then a page title, then the lowest port), shown as Open localhost:<port>. Its other summary endpoints keep a quieter Open without the repeated page title; metrics, Inspect, Stop and Try HTTP recede until hovered or focused. A declared link to the same URL as an Open is folded into it on the row (Inspect still lists it), and a TCP tag marks an endpoint only after it answered with something other than HTTP.
  • A service's probePath is the health path of its summary endpoints only; an endpoint's own probePath wins on either tier.
  • Kossé builds before this one refuse a profile that uses match.process (as a whole, like any profile with an unknown criterion); endpoints and otherEndpoints are kept and ignored by them.