@osdlc/wayfinder 0.7.4 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/CHANGELOG.md +240 -0
  2. package/CONTRIBUTING.md +6 -0
  3. package/README.md +310 -150
  4. package/SECURITY.md +19 -5
  5. package/dist/actions.d.ts +23 -0
  6. package/dist/actions.js +97 -0
  7. package/dist/app.d.ts +1 -13
  8. package/dist/app.js +1 -13
  9. package/dist/args.d.ts +11 -6
  10. package/dist/args.js +25 -7
  11. package/dist/cache.d.ts +2 -4
  12. package/dist/cache.js +5 -10
  13. package/dist/catalog.d.ts +45 -4
  14. package/dist/catalog.js +134 -13
  15. package/dist/clean-command.d.ts +65 -36
  16. package/dist/clean-command.js +372 -226
  17. package/dist/cli.d.ts +24 -57
  18. package/dist/cli.js +139 -568
  19. package/dist/commands/browse.d.ts +128 -0
  20. package/dist/commands/browse.js +153 -0
  21. package/dist/commands/index.d.ts +25 -0
  22. package/dist/commands/index.js +71 -0
  23. package/dist/commands/list.d.ts +224 -0
  24. package/dist/commands/list.js +178 -0
  25. package/dist/commands/query.d.ts +166 -0
  26. package/dist/commands/query.js +73 -0
  27. package/dist/commands/run.d.ts +114 -0
  28. package/dist/commands/run.js +139 -0
  29. package/dist/commands/shared.d.ts +152 -0
  30. package/dist/commands/shared.js +209 -0
  31. package/dist/config-command.d.ts +27 -43
  32. package/dist/config-command.js +129 -330
  33. package/dist/config-keys.d.ts +25 -0
  34. package/dist/config-keys.js +29 -0
  35. package/dist/config.d.ts +272 -257
  36. package/dist/config.js +611 -460
  37. package/dist/core/copy-text.d.ts +30 -0
  38. package/dist/core/copy-text.js +50 -0
  39. package/dist/core/filter.d.ts +55 -0
  40. package/dist/core/filter.js +59 -0
  41. package/dist/core/run.d.ts +22 -0
  42. package/dist/core/run.js +59 -0
  43. package/dist/core/saved-view.d.ts +59 -0
  44. package/dist/core/saved-view.js +119 -0
  45. package/dist/core/session.d.ts +282 -0
  46. package/dist/core/session.js +602 -0
  47. package/dist/core/skills.d.ts +53 -0
  48. package/dist/core/skills.js +54 -0
  49. package/dist/core/unknowns.d.ts +72 -0
  50. package/dist/core/unknowns.js +68 -0
  51. package/dist/devlink.d.ts +3 -0
  52. package/dist/devlink.js +5 -2
  53. package/dist/document-schemas.generated.d.ts +22 -0
  54. package/dist/document-schemas.generated.js +916 -0
  55. package/dist/documents.d.ts +508 -0
  56. package/dist/documents.js +181 -0
  57. package/dist/groups.d.ts +22 -26
  58. package/dist/groups.js +13 -29
  59. package/dist/guide.d.ts +26 -13
  60. package/dist/guide.js +119 -103
  61. package/dist/index.d.ts +118 -0
  62. package/dist/index.js +61 -0
  63. package/dist/keys.d.ts +51 -0
  64. package/dist/keys.js +273 -0
  65. package/dist/page.d.ts +18 -8
  66. package/dist/page.js +28 -17
  67. package/dist/providers-command.d.ts +81 -20
  68. package/dist/providers-command.js +33 -75
  69. package/dist/schema.d.ts +48 -0
  70. package/dist/schema.js +61 -0
  71. package/dist/serve/auth.d.ts +46 -0
  72. package/dist/serve/auth.js +82 -0
  73. package/dist/serve/catalog-share.d.ts +63 -0
  74. package/dist/serve/catalog-share.js +155 -0
  75. package/dist/serve/index.d.ts +100 -0
  76. package/dist/serve/index.js +259 -0
  77. package/dist/serve/routes.d.ts +60 -0
  78. package/dist/serve/routes.js +186 -0
  79. package/dist/serve/terminal-input.d.ts +50 -0
  80. package/dist/serve/terminal-input.js +108 -0
  81. package/dist/skills.d.ts +19 -0
  82. package/dist/skills.js +54 -0
  83. package/dist/terminal-text.d.ts +8 -0
  84. package/dist/terminal-text.js +19 -6
  85. package/dist/tool-info.d.ts +24 -0
  86. package/dist/tool-info.js +17 -0
  87. package/dist/trust-command.d.ts +15 -27
  88. package/dist/trust-command.js +110 -208
  89. package/dist/trust-store.d.ts +5 -10
  90. package/dist/trust-store.js +9 -42
  91. package/dist/tui/app.d.ts +193 -0
  92. package/dist/tui/app.js +1400 -0
  93. package/dist/tui/copy.d.ts +29 -0
  94. package/dist/tui/copy.js +39 -0
  95. package/dist/tui/index.d.ts +33 -0
  96. package/dist/tui/index.js +97 -0
  97. package/dist/tui/keys-input.d.ts +27 -0
  98. package/dist/tui/keys-input.js +87 -0
  99. package/dist/tui/settings.d.ts +94 -0
  100. package/dist/tui/settings.js +198 -0
  101. package/dist/tui/style.d.ts +62 -0
  102. package/dist/tui/style.js +77 -0
  103. package/dist/version.d.ts +6 -0
  104. package/dist/version.js +7 -0
  105. package/dist/vocabulary.d.ts +91 -0
  106. package/dist/vocabulary.js +155 -0
  107. package/dist/web/main.js +2232 -582
  108. package/dist/web/page.html +41 -33
  109. package/dist/web/styles.css +513 -329
  110. package/dist/xdg.d.ts +76 -4
  111. package/dist/xdg.js +77 -5
  112. package/package.json +27 -8
  113. package/schema/config.json +133 -0
  114. package/dist/http.d.ts +0 -22
  115. package/dist/http.js +0 -149
  116. package/dist/origin-owner.d.ts +0 -19
  117. package/dist/origin-owner.js +0 -85
  118. package/dist/serve.d.ts +0 -98
  119. package/dist/serve.js +0 -671
  120. package/dist/tui.d.ts +0 -177
  121. package/dist/tui.js +0 -840
package/CHANGELOG.md CHANGED
@@ -1,5 +1,245 @@
1
1
  # @osdlc/wayfinder
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f6993bf: The terminal UI and the web view draw at once, and with no saved listing they show each runner's tasks as that runner answers.
8
+
9
+ - **Terminal UI:** the frame appears before anything is read. With no saved listing, each runner's rows arrive as it answers. A runner still loading has `…` in place of its tab's count and a `… moon loading` line in the list, and the status line names them: `loading 3 of 12: just, mise, moon`. A withheld runner shows its reason as soon as it answers. A failed one gets ` !` on its tab and its reason above the rows. While rows arrive, the cursor stays on its task, so Enter runs the row on screen. Over a saved listing the status line says `refreshing…` until every runner has answered, then the rows update in place; after 3 seconds it names the runners still out. The store is no longer read before the first probe, since that costs as long as the probe's own detection.
10
+ - **Web view:** `way serve` prints its address without waiting for a probe. With no saved listing, the page's first read joins the server's probe and draws each runner as it arrives, with a loading tab and row for each runner still out, each in its final place, and the same `loading N of M` count in the status. A live region tells a screen reader when loading starts and ends. The lines stream as NDJSON over the same API, token and Host and Origin checks as every other call. Over rows already shown it says `refreshing…`.
11
+ - **Library:** `buildCatalog` takes `progress: { onRunners, onRunner }`, which hears about each runner as it answers. The `CatalogProgress` type is exported. The document it returns is unchanged.
12
+ - **CLI:** `list --progress --output jsonl` prints a `catalog-progress` line as each runner answers, before the reports. `way schema` describes it. Over HTTP the same lines stream as NDJSON. A report over about 1 MiB is named in `omitted` instead of sent.
13
+ - `list --json` and `list --output jsonl` print what they printed before.
14
+ - With a grant for one tool, the trusted and the withheld runners are now collected at the same time.
15
+
16
+ ### Patch Changes
17
+
18
+ - df47065: The config file's `$schema` URL now names the 0.9 release line. Point an existing `$schema` at
19
+ `https://unpkg.com/@osdlc/wayfinder@0.9/schema/config.json`; the 0.8 URL keeps working.
20
+ - Updated dependencies [7addea1]
21
+ - Updated dependencies [f013f38]
22
+ - Updated dependencies [f6993bf]
23
+ - Updated dependencies [f013f38]
24
+ - @osdlc/cli-tool@0.9.1
25
+ - @osdlc/command-seam@0.12.1
26
+ - @osdlc/system-model@0.6.0
27
+ - @osdlc/typed-git@0.8.2
28
+
29
+ ## 0.8.0
30
+
31
+ ### Minor Changes
32
+
33
+ - d243a32: wayfinder is now a command tree: `way list`, `way query`, `way run`, `way serve` and `way providers`, with `way help`, `way schema <command>` and `way --version` from `@osdlc/cli-tool`. Every `--json` answer is a document with `schemaVersion` and `kind`, and `@osdlc/wayfinder/schema` exports the JSON Schema of every document (`trust`, `clean`, `config-*`, `error` and the rest included) plus `documentZod(kind)` to parse one.
34
+
35
+ New:
36
+
37
+ - `way run <id> [-- args]` runs one task by its id or command line, binding arguments as the terminal UI does, and exits with the task's exit code. `--dry-run --json` prints the plan.
38
+ - `list` and `query` take `--declared` and `--depth N` beside `--services`.
39
+ - The `catalog` and `query` documents carry `unknowns`: each withheld runner, task with unknown parameters, stale stored answer and missing tool, with the same `label` the stderr note prints.
40
+ - Each `cache` entry has `probeMs` after a fresh probe.
41
+
42
+ Breaking changes, and what to do:
43
+
44
+ - `way query --json` prints a `query` document, not a bare array. Read its `tasks` field.
45
+ - `way providers --json` prints a `providers` document, not a bare array. Read its `providers` field.
46
+ - `--json` always carries `cache`, `unknowns` and `filter`, and `schemaVersion` and `kind`. A strict parser must allow these fields; `documentZod('catalog')` does.
47
+ - `--serve`, `--list` and `--json` are aliases for `serve`, `list` and `list --json` in this release and will be removed later. Switch scripts to the commands. Two of them at once is now an error.
48
+ - A start directory that does not exist is an error (exit 1) instead of an empty catalog. Check the path.
49
+ - Every message on stderr starts with `way:`, not `wayfinder:`: the commands, the terminal UI, the web view server and an uncaught error. Update any pattern that matches the prefix.
50
+ - The package has an `exports` map, so deep imports into `dist/` no longer resolve. Use `@osdlc/wayfinder/schema` for the schemas.
51
+ - d243a32: Config, trust, guide and clean move onto `@osdlc/cli-tool`'s shared commands.
52
+ One Zod schema now validates the config file, sets its key order and generates
53
+ `schema/config.json`.
54
+
55
+ New:
56
+
57
+ - `way config explain <key>` shows how a setting got its value, layer by layer.
58
+ - `way config set` writes `$schema` into the file, keeps the schema's key
59
+ order and writes atomically.
60
+ - An unknown key in a config file warns with the closest known key.
61
+ - New user-only settings: `open` (`tui` or `web`), `theme` (`system`, `light`
62
+ or `dark`) and `trust.tools.<tool>` (`paths` and `owners` for one tool).
63
+ - `way trust --scope <tool>` and `way trust --untrust-all`.
64
+ - `WAYFINDER_ROOT` moves the config, state and cache directories under one
65
+ directory. `WAYFINDER_CONFIG_DIR`, `WAYFINDER_STATE_DIR` and
66
+ `WAYFINDER_CACHE_DIR` move one each.
67
+ - `way clean --dev` removes `way dev` link state and the shims
68
+ `way dev install` wrote. `way clean --legacy` removes files left under the
69
+ tool's old name.
70
+ - `way clean` prunes empty parent directories, and names a config file that
71
+ `WAYFINDER_CONFIG` chose before removing it.
72
+
73
+ Breaking changes, and what to do:
74
+
75
+ - The old `waypost` names are no longer read: `WAYPOST_CONFIG`,
76
+ `~/.config/waypost/config.json`, `waypost.config.json` and the old trust
77
+ store and cache. Move any settings you still need into the wayfinder files,
78
+ then run `way clean --legacy` to delete the old files.
79
+ - `way clean --all` is now `way clean --everything`.
80
+ - `way clean --config` is now `way clean --user-config`. `--config` is the
81
+ global flag that loads tool modules.
82
+ - `way config set --project` refuses `allowExec: true`, `trust`, `open` and
83
+ `theme`, as the web view does. Set them with `--user`.
84
+ - The MCP adapter cannot grant trust. Over HTTP a grant needs a
85
+ confirmation: the server answers `428` with a nonce, and the web page asks
86
+ the person before it sends the grant again with that nonce. Neither
87
+ adapter can run `clean` removals or change `trust`, `allowExec` or
88
+ `tools`. Use the command line.
89
+ - `way trust --json` now prints
90
+ `{action, changed, roots: [{root, trusted, by, rule?, scope?}]}` for every
91
+ mode, `--list` included. Read `roots[0]` where you read the top-level
92
+ fields before. `way trust --show` text is `trusted <root> (by marker)`.
93
+ - `way clean --json` now prints `{mode, stores}`.
94
+ - `way dev` link state is under `$XDG_CONFIG_HOME/way` on macOS too, and its
95
+ directory variables are `WAYFINDER_ROOT` and `WAYFINDER_<KIND>_DIR` (they
96
+ were `WAY_ROOT` and `WAY_<KIND>_DIR`). Run `way dev link` again on macOS,
97
+ then `way clean --legacy` to remove the old state.
98
+ - A `~` at the start of an `XDG_*` variable is no longer expanded. Use an
99
+ absolute path.
100
+ - d243a32: The terminal UI and the web view show their first rows at once again, and `list --cached` is fast and says that its rows are cached.
101
+
102
+ - Each `list`, `query` and refresh saves the catalog it showed in one file under the cache directory (`views/v1/`), one file per trust and settings. The terminal UI and `way serve` draw that file first, then probe and update in place. Reading the stored probes instead detects the project and hashes each runner's files, which took more than two seconds on a large repository before the first frame. A file that is too large or not a saved listing is deleted and the store is read instead. `way clean --cache` removes them all.
103
+ - A task from a saved or stored listing is checked before it runs: its runner is probed again, and a task that is gone, or whose command or directory changed, is refused with the command it runs now. This applies to Enter in the terminal UI before its first probe ends, to Run in the web view, and to `way run --cached`. A dry run is a preview and is not checked. A task whose directory is outside the repository is never run.
104
+ - `way serve` holds its catalog between the page's requests. The page's first `list --cached` gets the catalog the server read at start, and its first fresh read and its polls join the probe already running. Refresh always starts a probe. A probe stops when the server stops, including when Run hands the terminal to a task, and a tab that closes does not stop a probe other tabs wait on.
105
+ - The terminal UI's first frame counts the Skills group, as later frames do.
106
+
107
+ Breaking changes, and what to do:
108
+
109
+ - `--cached` on `list`, `query` and `run` now answers from the last saved listing when there is one, and does not check whether files changed since its `storedAt`. stderr says so: `--cached: the last listing, 35s old; files changed since storedAt are not checked`. With no saved listing it reads the stored probes and checks them, as before. If you need files checked, drop `--cached`: a full listing probes every runner.
110
+ - The `list` and `query` documents gain two required fields. `source` is `"fresh"` when every runner was probed in this call and `"cached"` when the rows came from the saved listing or the store under `--cached`; `storedAt` is when the oldest stored rows were probed, or null when fresh. `--cached` with nothing stored still probes, and then says `"fresh"`. Code that builds a `CatalogDocument` must set both fields.
111
+ - d243a32: Safety fixes for running `way` in a repository you do not control.
112
+
113
+ - `way clean` removes only what it owns. A file store must be a file and a directory store a directory, and no store may be your home directory, a directory above it or a filesystem root. It names the path it refused and exits 1. A store whose path is, holds or sits in another store, such as `WAYFINDER_CACHE_DIR=~/.config`, is removed only with `--yes`; without it `way clean` names both paths and exits 2.
114
+ - Copy, in the terminal UI and the web view, puts the task's argv on the clipboard quoted for your shell. The web view copied the Command column as it was, so a script named `x; touch PWNED #` pasted as two commands. A command or skill name that holds a control character is not copied at all.
115
+ - The web view shows repository text with control characters replaced, as the terminal does, so a bidi override cannot make a row read differently from what runs.
116
+ - The web page is served with a strict content security policy: only its own script runs, and it talks only to the server.
117
+ - `POST /session` and `/run` read their bodies as a stream and stop at 64 KB.
118
+ - A boot token redeemed a second time, such as the old link opened in a second tab, is refused with `401`. `way serve` prints a warning and keeps running; pages already signed in stay signed in. If you did not open the link twice, stop the server (Ctrl-C) and start it again: a new link does not sign out a program that used the old one.
119
+ - The browser opener no longer blocks the server, and `way serve` opens a browser on Windows.
120
+ - A config file must be a regular file of at most 1 MB.
121
+ - Writing a user config that is a symbolic link writes the link's target, so a dotfiles link stays a link.
122
+ - While a task runs, `way` ignores `SIGTERM` and `SIGHUP` as well as Ctrl+C and waits for the task, instead of leaving it running with no parent. An argv the system cannot spawn, such as one holding a NUL, is reported instead of crashing.
123
+ - On Windows, a user config at `~\.config\wayfinder\config.json`, where 0.7 kept it, is no longer read: 0.8 reads `%APPDATA%\wayfinder\config.json`. Every run warns until you move it. `way clean --legacy` finds the 0.7 Windows stores, and computes every old path the way old releases did, ignoring the `WAYFINDER_*` overrides.
124
+ - A `__proto__` key in a config map is ignored with a warning. A leading `~\` is expanded on Windows.
125
+
126
+ Breaking changes, and what to do:
127
+
128
+ - `way clean --user-config` removes a file `WAYFINDER_CONFIG` names only when its `$schema` names wayfinder's config schema, as every file `way config set` writes does. Add the `$schema` line, or remove the file yourself.
129
+ - Over HTTP, a command given a directory positional (`{"dir": ...}`) is refused with `400`. The web view reads the directory `way serve` started in.
130
+ - `way run <id>` refuses an id that two tasks share (`ambiguous-task`, `409` over HTTP) and names the line `way list` prints for each. Run the task by that line instead, as in `way run 'npm run build'`. The web view sends only the id, so it cannot run such a task.
131
+ - d243a32: wayfinder lists agent skills, trusts single tools, says what each tool is, and can be used as a library.
132
+
133
+ New:
134
+
135
+ - A Skills group lists the agent skills in `.claude/skills`, `.agents/skills` and `.cursor/skills`, read by `@osdlc/detect-harness` without running anything. `list` and `query` print a `/<name> [hint]` line for each, and the `catalog` and `query` documents carry them in `skills`. Search matches a skill's name and description. `way run /<name>` explains that an agent runs skills. The user setting `skills` chooses `project` (the default), `all` (adds your own and your plugins' skills from the home folder) or `off`.
136
+ - Per-tool trust decides which runners run in a repository that is not trusted as a whole. `way trust --scope <tool>` trusts one tool, and `trust.tools.<tool>` in the user config does the same by path or owner. A runner needs its own id trusted, plus each tool manager that runs commands through itself: in a repository with a `mise.toml`, moon needs `mise` too. A withheld runner's entry in `unknowns` lists the grants it still needs in `missing`.
137
+ - `way providers` shows each tool's language and homepage, and `--json` adds `homepage`, `description`, `ecosystem` and `language`.
138
+ - The root entry `@osdlc/wayfinder` exports `buildCatalog`, which returns the same document as `way list --json`, plus `filterTasks`, `filterSkills`, the groups, the labels, `terminalSafe` and the document types, with the system-model types they take. `buildCatalog`'s `onWarning` gets the config warnings the CLI prints on stderr.
139
+ - Terminal text also replaces the bidi marks U+061C, U+200E and U+200F with U+FFFD, the same characters `@osdlc/ux` `stripControls` removes.
140
+
141
+ Breaking changes, and what to do:
142
+
143
+ - The `catalog` and `query` documents have a required `skills` array, and `groups` can hold a `skills` group with no runners. A strict parser must allow them. Set `skills` to `off` to list none.
144
+ - A withheld unknown's `reason` can be `tool-untrusted`, and it can carry `missing`. Handle the new value where you switch on `reason`.
145
+ - `way providers` text has two more columns, `language` and `homepage`. Read `--json` instead of parsing the table.
146
+ - A project file's `skills` is ignored with a warning, as `theme` is. Set it in your user config.
147
+ - d243a32: The terminal UI gets a help screen, editable settings and clearer marks.
148
+
149
+ New:
150
+
151
+ - `?` lists every key and what each mark means. The footer fits the width and always keeps `? help` and `esc quit`. `way --help --all` prints the same key list.
152
+ - The settings screen (`,`) edits runners (on or off, and their order), discovery and excluded paths, and grants or removes trust. Each change is saved at once and the list is probed again. The screen scrolls. Each runner shows why it has no rows, or its tool's language, homepage and description.
153
+ - `^d` keeps declared tasks only and `^o` cycles the scope (all, root, +2, +3), as the web view's Declared and Scope filters do.
154
+ - A task whose parameters could not be read is marked `?`, names the reason, and Enter asks for arguments; an empty line runs it as it is. A VS Code task that uses an editor variable is not run, and says why.
155
+ - The bare `way` opens the web view when the user config sets `"open": "web"`. `way browse` always opens the terminal UI.
156
+ - The status line shows the measured probe time after a probe.
157
+ - A `skills` tab lists the repository's agent skills, which the `all` tab shows after the tasks. Enter and `^y` copy `/<name>`; nothing runs.
158
+ - The settings screen shows each tool's language, homepage and description, and a TOOL TRUST section that grants or removes trust for one tool (`t`, then `y`; `u`).
159
+
160
+ Changed:
161
+
162
+ - The selected tab is marked `[name n]`, a withheld runner's tab shows `–` in place of its count, and the tab row scrolls to keep the selected tab in view. Every mark is text, so the screen reads the same under `NO_COLOR`.
163
+ - Colors come from `@osdlc/ux` tokens. `NO_COLOR` turns color off but keeps bold, underline and inverse on a terminal. Matches are bold and underlined; yellow is only for warnings.
164
+ - `^y` copies the argument vector quoted for your shell (`commandString` from `@osdlc/command-seam`), not the display text. The copy runs in the background with a two-second limit and tries `wl-copy` under Wayland, then `xclip` and `xsel`.
165
+ - Keys typed right after an arrow or another escape sequence are no longer lost, and more Home and End sequences work.
166
+ - SIGTERM, SIGHUP and SIGQUIT restore the terminal and exit with 128 + the signal number.
167
+ - Argument splitting keeps a backslash inside single quotes, as sh does. Inside double quotes a backslash escapes only `"`, `\`, `$` and a backtick.
168
+ - The withheld note reads `2 runners withheld: this repository is not trusted (^s to trust)`, and under `--no-exec` it names the flag and does not offer trust.
169
+
170
+ Breaking changes, and what to do:
171
+
172
+ - An argument typed as `'a\b'` now passes `a\b`, not `ab`. Drop the backslash, or move it outside the quotes, if you relied on the old result.
173
+ - Copied text quotes each word and no longer contains `<placeholders>`. Add the arguments after pasting.
174
+ - A `SIGINT` sent to the terminal UI exits 130, as the CLI does, not 0. Ctrl-C and Esc typed in the UI still exit 0. A script that sends `SIGINT` and checks for 0 must accept 130.
175
+ - d243a32: Web view sign-in, CLI text and wording fixes for 0.8.0.
176
+
177
+ - The web page stays signed in across a reload: it keeps its token in `sessionStorage`, which belongs to one tab and is never sent with a request. A new tab, another browser or a restarted server shows how to get a new link: press Enter in the `way serve` terminal, which opens or prints a fresh sign-in link. The terminal is read only while `way serve` is in the foreground, so `way serve &` keeps serving.
178
+ - `way list` and `way query` print each task as Copy puts it on the clipboard: quoted for the shell, with a `cd` for a task that runs from its own directory. `way run` accepts that line as well as an id, its usage shows `[-- <args>...]`, and the run document gains `command`, the line the text form prints.
179
+ - Every withheld runner is named on stderr as `way: warning: <runner>: withheld: <cause>`, whatever the cause, with the same label the JSON, terminal UI and web view show. The exec-off label names what turned execution off (`--no-exec was given`, or `allowExec is false in your user config`). The trust hint follows once, only when a grant would help. Notes about unknown parameters and missing tools are warnings.
180
+ - A task that uses an editor variable is labelled `cannot run here: the task uses an editor variable`.
181
+ - `way list --json | head` exits quietly instead of printing a stack trace.
182
+ - The old `--list`, `--json` and `--serve` flags print a deprecation warning.
183
+ - Runner ids give way to group labels (`dependencies`, not `package-manager`) in the terminal UI's row chain, the web search chain, tab info buttons and settings. The Skills tab has its own column headers, status keys and search placeholder, and the terminal UI footer reads `enter copy /name` on a skill row.
184
+ - Smaller wording and layout fixes: the bare `way` without a terminal starts its error with `way:`; the terminal UI's `?` screen wraps at narrow widths and its status line keeps a warning in view; the web settings say `Order: alphabetical` and show a tool's language as the terminal UI does; the trust bar has one colon; `way clean` keeps its columns aligned; at phone width the selected tab stays in view and names get more room.
185
+
186
+ Breaking changes, and what to do:
187
+
188
+ - `way list` and `way query` text changed. A script that matched the old `display` text, such as `sh -c bundle exec puma -p $PORT`, now gets `sh -c 'bundle exec puma -p $PORT'`. Read `display` from `--json` if you need the old form.
189
+ - The `label` of an exec-off unknown in `--json` changed from `withheld: execution is off` to name the cause. Match on its `reason` (`exec-off`), not the label text.
190
+ - d243a32: The web view now runs every action as a command of `way` over HTTP, so the page and the command line read and write the same files with the same rules.
191
+
192
+ Breaking changes, and what to do:
193
+
194
+ - The page's own API routes are gone (`/api/catalog`, `/api/trust`, `/api/config`, `/api/run`). The page calls `POST /api/commands/<command>` (`list`, `trust`, `config list`, `config set`, `config unset`), and Run uses `POST /run`.
195
+ - The `x-wayfinder-token` header is replaced by `Authorization: Bearer`. The page gets the token by sending the boot token to `POST /session`; it is no longer embedded in the page.
196
+ - The theme and a dragged runner order are saved to your user config (`theme`, `runners.order`) instead of the browser. A project's `runners.order` still wins.
197
+
198
+ Other changes:
199
+
200
+ - A trust grant from the page asks first: the server answers `428` with a one-time nonce. Writes of `allowExec`, `trust` and `tools` are refused over HTTP and shown read-only in Settings, each with its command.
201
+ - Settings shows the effective `allowExec`, and Save names each key and the file it was written to. Theme and `open` are editable there.
202
+ - At phone width the toolbar wraps, the filters fold into one **Filters** menu and the tabs scroll on one row.
203
+ - A task whose parameters could not be read is marked `?`, and Run asks for optional arguments. `Shift+Enter` runs a task and `?` opens the help, which lists the keys and opens at the top.
204
+ - Colors come from `@osdlc/ux`, text is at least 11px, control borders meet 3:1 contrast, and each copy button names what it copies.
205
+ - A Skills tab and group list the repository's agent skills. Copy, Enter and Shift+Enter put `/<name>` on the clipboard; nothing runs.
206
+ - Each runner's info and its Settings row show its tool's description, language and homepage.
207
+ - Settings grants or removes trust for one tool, with the same confirm as a repository grant.
208
+ - `way list --json` carries `trustedTools`: the tools trusted on their own.
209
+ - Ctrl-C stops `way serve` and any probe it is running. After a run, `way serve` exits with the task's exit code.
210
+
211
+ ### Patch Changes
212
+
213
+ - d243a32: - The README and the checkout guide give the devlink state path for each platform: `${XDG_CONFIG_HOME:-~/.config}/way` on Linux and macOS, `%APPDATA%\way` on Windows.
214
+ - wayfinder's tests run on Windows in CI. Windows is tier 2: the job reports and does not block a release.
215
+ - 9616994: Ctrl-C, `SIGTERM` and `SIGHUP` stop a running probe and the processes it started, in the CLI, the TUI and `way serve`. Each probe now runs in its own process group, so before this a probe kept running after wayfinder exited.
216
+ - 9616994: The `trust.paths` expander and the `origin` owner lookup now come from `@osdlc/trust-repo`. Behaviour is unchanged, with two exceptions. `--no-exec` no longer runs `git remote get-url` for `trust.owners`. And a `trust.paths` pattern of `/*` now expands to `/*`; it used to give `//*`, which matched nothing.
217
+ - Updated dependencies [9616994]
218
+ - Updated dependencies [9616994]
219
+ - Updated dependencies [d243a32]
220
+ - Updated dependencies [9616994]
221
+ - Updated dependencies [d243a32]
222
+ - Updated dependencies [d243a32]
223
+ - Updated dependencies [9616994]
224
+ - Updated dependencies [9616994]
225
+ - Updated dependencies [d243a32]
226
+ - Updated dependencies [d243a32]
227
+ - Updated dependencies [d243a32]
228
+ - Updated dependencies [d243a32]
229
+ - Updated dependencies [9616994]
230
+ - Updated dependencies [9616994]
231
+ - Updated dependencies [9616994]
232
+ - Updated dependencies [9616994]
233
+ - @osdlc/cli-tool@0.9.0
234
+ - @osdlc/command-seam@0.12.0
235
+ - @osdlc/detect-harness@0.5.0
236
+ - @osdlc/system-model@0.5.0
237
+ - @osdlc/tiered-dirs@0.4.0
238
+ - @osdlc/trust-repo@0.4.0
239
+ - @osdlc/ux@0.1.0
240
+ - @osdlc/typed-git@0.8.1
241
+ - @osdlc/config-layers@0.7.3
242
+
3
243
  ## 0.7.4
4
244
 
5
245
  ### Patch Changes
package/CONTRIBUTING.md CHANGED
@@ -38,6 +38,12 @@ To run the CLI from a checkout, build the package and run
38
38
  `CAPTURE_FRAMES=1 pnpm exec vitest run tests/frames.test.ts` and review the
39
39
  diff.
40
40
 
41
+ `tests/e2e/` runs `way` as its own process against the fixture projects in
42
+ `tests/e2e/fixtures/`, one per runner plus edge cases, and compares its
43
+ `--json` output with the golden files in `tests/e2e/__snapshots__/`. `pnpm
44
+ test` includes it. After a deliberate change to the output, regenerate them
45
+ with `pnpm run test:e2e -u` and review the diff.
46
+
41
47
  Other checks:
42
48
 
43
49
  ```sh