Versions 22 to 23
Lines 120–134 at 23 (were 120–131 at 22)
122122
123+/** The tool inputs that name files on this machine to read, comma-separated: each is confined like the folder. */
125+
125− * every --attach file stay inside the folder the server started in. A relative
126− * path that climbs out (..), an absolute one elsewhere, or a link out is
127− * refused, so no tool reads a file outside the project. Answers the folder, or
128− * why the call is refused.
Lines 140–157 at 23 (were 137–151 at 22)
138141 refused: `folder ${JSON.stringify(named)} is outside ${start}, the folder this server started in; tools run there or below`,
140− if (typeof input.attach === "string")
141− for (const p of input.attach
147− refused: `--attach ${p} is outside ${start}, the folder this server started in; a tool attaches files from there or below`,
152+ refused: `--${flag} ${p} is outside ${start}, the folder this server started in; a tool reads files from there or below`,
151157
- MCP
- compare on this site's /mcp
- CLI
- abso diff 22 23 client/src/mcp.ts --json
- JSON
- /christopher/abso-core/compare/22..23?file=client%2Fsrc%2Fmcp.ts&format=json