openpencil/desktop
Danila Poyarkov bd7acd6e34
fix(desktop): pin every command line the app may start (#922)
* fix(desktop): pin every command line the app may start

On Windows the app starts npm-installed CLIs through cmd /c, and the shell scope let cmd take any arguments, so any code running in the webview could run any command. Each program now has a scope entry with its exact arguments, and Windows shims go through their own cmd-<name> entries with fixed /c <name> arguments. The agents and the MCP server no longer accept arbitrary arguments either. A test checks that every command the app starts has a matching entry on both platforms.

* test(desktop): expect Windows shims through their own scope entries

* test(desktop): check the executable of each shell scope entry

* test(desktop): allow no shell scope entry beyond the programs the app starts

An extra entry with a permissive validator passed the per-program checks.
2026-10-06 11:19:05 +00:00
..
capabilities fix(desktop): pin every command line the app may start (#922) 2026-10-06 11:19:05 +00:00
generated feat: create, fill, and edit slots (#862) 2026-10-04 17:02:28 +00:00
linux feat: open documents and layers from openpencil:// and web links (#708) 2026-09-18 14:45:49 +03:00
src feat(collab)!: sync layer trees as a CRDT and open each room in its own tab (#902) 2026-10-06 10:40:25 +00:00
.gitignore feat(ai): add HarnessAgent sidecar foundation (#560) 2026-08-19 17:41:10 +03:00
AGENTS.md fix(desktop): pin every command line the app may start (#922) 2026-10-06 11:19:05 +00:00
build.rs Rename src-tauri → desktop, symlink for CLI compat 2026-02-28 08:10:09 +03:00
Cargo.lock build: update dependencies (#873) 2026-10-04 12:48:24 +00:00
Cargo.toml refactor(tauri): discover system fonts with fontique (#782) 2026-09-26 11:49:03 +04:00
Info.plist fix(tauri): correctly configure NSAllowsLocalNetworking 2026-04-22 13:01:38 +03:00
tauri.conf.json build: update dependencies (#873) 2026-10-04 12:48:24 +00:00
tauri.native-test.conf.json fix: prevent repeated Keychain prompts and isolate native tests (#664) 2026-09-09 13:41:55 +03:00
updater.key.pub feat(tauri): add signed updater 2026-05-01 13:00:50 +03:00