MCP: multi-line --text goes to the CLI as --from-text <temp file> (console_verify kept only the first line on Windows); long JSON output keeps its start and names a file with the whole output (console_plan lost its start URL); test, pitfall 100
This commit is contained in:
parent
73d308164d
commit
e1634f6abe
4 changed files with 66 additions and 2 deletions
|
|
@ -1209,3 +1209,14 @@ that fails without the fix (see CONTRIBUTING.md).
|
|||
exist and runs `keytool -list` with the stored password and alias (when keytool is on PATH or in JAVA_HOME), naming
|
||||
the bad field (`tests/build-sign.test.ts`). `play build` / `apple build` also write `<out>/latest.json` so CI
|
||||
needs no glob for the AAB / IPA.
|
||||
|
||||
## 100. `console_verify` reported every App Privacy type missing (multi-line page text over MCP on Windows)
|
||||
- **Symptom:** MCP `console_verify` with the App Privacy page text said "not on the page" for every data type and "no
|
||||
Published line"; the command line it echoed held only the text's first line. The same text from a file matched.
|
||||
- **Cause:** the text went to the CLI as one `--text=...` argument; on Windows the child starts through a shell, which
|
||||
kept only the first line. Separately, `console_plan` output over 60 KB was cut at the start, losing the start URL
|
||||
and the first steps.
|
||||
- **Do:** update storebound; meanwhile save the page text to a file and run `storebound console verify <form>
|
||||
--from-text <file>`.
|
||||
- **Guard:** `textToFile` in `cli/mcp.ts` sends multi-line text as `--from-text <temp file>`; `clip` keeps the start of
|
||||
long JSON output (the end of plain text) and names a file with the whole output (`tests/mcp-text-file.test.ts`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue