You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 34406d6
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/50-machine-output.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -245,6 +245,7 @@ envelope says when either has changed since.
245
245
|`target-sets`| 2026.10.31.1 (meaning from 2026.10.30.1) |`--target openkal` and the other sets expand to their legs (SPEC-015 §1) | an IDE's target picker |
246
246
|`pkg-format-list`| 2026.10.31.1 (meaning from 2026.10.30.1) |`--pkg-format tar,okb` writes each container of one tree (SPEC-014 §5.4) | an IDE's pack form |
247
247
|`test-launch`| 2026.10.31.2 |`mcpp test <name> --print-launch` prints the `mcpp.launch` of one test (below) | an IDE debugging a test |
248
+
|`launch-stream`| 2026.11.7.2 |`mcpp run --print-launch --message-format json` streams the build's events, then the `mcpp.launch` envelope (below) | an IDE's Run, showing the build as it goes |
248
249
249
250
### How a tool runs mcpp for a project
250
251
@@ -527,7 +528,7 @@ installation, which is located on the machine rather than installed by mcpp. A
527
528
target row is `{target, note, toolchain, pin, status, default}`, and `status` is
528
529
one of `installed` / `available` / `via dependency graph` / `planned`.
529
530
A target row also carries `platform` (2026.10.27.1+): the platform package the
530
-
target table selects for it (the series `mcpplibs.openkal-platform@^0.24` from 2026.11.7.1), or `null`.
531
+
target table selects for it (`mcpplibs.openkal-platform@0.24.3` from 2026.11.7.2; the series `^0.24` in 2026.11.7.1), or `null`.
531
532
532
533
**`toolchain` and `pin` are not the same field twice.**`toolchain` is what
533
534
the row is associated with — the installed payload on an installed row, the
@@ -1002,6 +1003,19 @@ starting it. `data` is `program`, `argv`, `cwd`, `env` and `via`, as
1002
1003
`launch` above. `--print-launch` takes no `--format`: on `mcpp run`, `--pkg-format`
1003
1004
names a distributable.
1004
1005
1006
+
With `--message-format json` (2026.11.7.2+, feature `launch-stream`) standard
1007
+
output is NDJSON: the build's events, as `mcpp build --message-format json`
1008
+
streams them (`plan`, `waiting`, `progress`, `artifact`), and the `mcpp.launch`
1009
+
envelope as the last line. Without `--print-launch`, `mcpp run --message-format
1010
+
json` is refused (exit 2).
1011
+
1012
+
With nothing changed the description takes the fast path, as `mcpp run` does
1013
+
(2026.11.7.2+): the full path records the launch it composes in the
1014
+
configuration's directory, and the fast path prints that record, with this
1015
+
request's arguments, when the launch it composes itself is the recorded one.
1016
+
Any other launch -- a runner, an execution host, the files a runner carries --
1017
+
is described by the full path.
1018
+
1005
1019
`data.configuration` (2026.11.7.1+) contains the selected program's `triple`,
1006
1020
`profile` and resolved `platform`, using the same fields as the build record's
1007
1021
configuration. For a target set it describes the leg selected for this launch.
0 commit comments