Crafter.Debug/interfaces
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 2217037d72
feat(cli): pick the app of the project the launcher belongs to
Discovery is per user, so every project's launcher sees every debug app
running, and with two of them up every command refused to guess and
asked for -i, though the agent in one project meant its own app. Two
copies of the example, both named basic, could only be told apart by
id.

The launcher now exports CRAFTER_DEBUG_PROJECT, its project's directory
(flatpak-spawn gets it spelled out), and the client counts an app as
the project's when its executable lies under it, as `-r` runs it from
<project>/bin/<variant>/. With other projects' apps running, commands
pick this project's; two copies of it still need -i. Another project's
app is never picked by default: with this project's app not up yet, or
crashed, the agent would otherwise drive, or quit, someone else's. It
is listed instead, for -i.

`ls` lists this project's apps first, marked, `--json` says which are,
and `--wait` waits for one of them rather than any app; the exit code
says whether one runs. A client started without the launcher has no
project and picks the one app running, as before, and the command the
protocol check prints for an older app's own client now names it with
-i.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:33:59 +01:00
..
Crafter.Debug-Condition.cppm feat(registry): commands, watches, samples, the timeline and conditions 2026-11-01 01:40:59 +01:00
Crafter.Debug-Registry.cppm feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
Crafter.Debug-Session.cppm feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
Crafter.Debug-Timeline.cppm feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
Crafter.Debug-Transport.cppm feat(transport): serve the session over QUIC on loopback 2026-11-01 03:06:56 +01:00
Crafter.Debug.Cli-Client.cppm feat(cli): pick the app of the project the launcher belongs to 2026-11-01 18:33:59 +01:00
Crafter.Debug.Cli-Quic.cppm feat(cli): reach instances over QUIC 2026-11-01 03:07:09 +01:00
Crafter.Debug.Cli.cppm feat(cli): reach instances over QUIC 2026-11-01 03:07:09 +01:00
Crafter.Debug.Core-BuildInfo.cppm feat(discovery): find live instances across sandboxes; build info 2026-11-01 01:56:31 +01:00
Crafter.Debug.Core-Codec.cppm fix(core): encode a float as its shortest decimal 2026-11-01 03:21:41 +01:00
Crafter.Debug.Core-Discovery.cppm feat(discovery): find live instances across sandboxes; build info 2026-11-01 01:56:31 +01:00
Crafter.Debug.Core-Protocol.cppm feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
Crafter.Debug.Core-Reflect.cppm feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
Crafter.Debug.Core-Result.cppm feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
Crafter.Debug.Core-Value.cppm feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
Crafter.Debug.Core.cppm feat(discovery): find live instances across sandboxes; build info 2026-11-01 01:56:31 +01:00
Crafter.Debug.cppm feat(transport): serve the session over QUIC on loopback 2026-11-01 03:06:56 +01:00