openpencil/crates/op-cli/src
Kayshen-X 47ff290cf6 fix(desktop): windows console, spawn, and url-opening hygiene
Four Windows runtime defects from the platform audit:

- The binary stayed in the console subsystem, parking a console window
  behind the GUI when launched from Explorer. Release builds now set
  windows_subsystem = "windows"; debug keeps stderr tracing visible.
- Background CLI probes (model discovery, provider version checks) and
  the vendored Claude SDK's per-turn spawns lacked CREATE_NO_WINDOW,
  flashing console windows once the GUI detaches from the console.
- MCP stdio servers naming .cmd/.bat shims (npx and most npm-installed
  servers) could not spawn: CreateProcess cannot execute shims and Rust
  1.77+ refuses them as program names. vendor/agent now resolves the
  command PATHEXT-style against the PATH the server will actually see
  (per-server env override wins) and routes only genuine shims through
  cmd /c — real executables keep direct spawn semantics.
- cmd /C start truncated URLs at `&` (every OAuth authorize URL). The
  URL now travels double-quoted via raw_arg so cmd keeps it literal.
2026-07-03 00:08:21 +08:00
..
app_control_cli.rs fix(desktop): windows console, spawn, and url-opening hygiene 2026-07-03 00:08:21 +08:00
cli_design_tests.rs feat(cli): expand CLI command and flag surface 2026-06-02 09:42:06 +08:00
cli_file_flag_tests.rs feat(cli): expand CLI command and flag surface 2026-06-02 09:42:06 +08:00
cli_import_tests.rs feat(cli): expand CLI command and flag surface 2026-06-02 09:42:06 +08:00
cli_node_tests.rs feat(cli): expand CLI command and flag surface 2026-06-02 09:42:06 +08:00
cli_selection_tests.rs feat(cli): expand CLI command and flag surface 2026-06-02 09:42:06 +08:00
cli_start_tests.rs feat(cli): codegen commands wired to real tools, status pid, web start json 2026-06-12 23:28:06 +08:00
codegen_cli.rs feat(cli): expand CLI command and flag surface 2026-06-02 09:42:06 +08:00
figma_cli.rs fix(cli): add figma import parity 2026-06-02 09:41:47 +08:00
main.rs feat(cli): codegen commands wired to real tools, status pid, web start json 2026-06-12 23:28:06 +08:00
mcp_http_cli.rs feat(rpc): extract shared JSON-RPC transport 2026-06-14 10:33:21 +08:00
page_theme_cli.rs feat(cli): codegen commands wired to real tools, status pid, web start json 2026-06-12 23:28:06 +08:00
path_args.rs feat(cli): expand CLI command and flag surface 2026-06-02 09:42:06 +08:00
skill_install_cli.rs fix(ci): handle windows cli paths 2026-06-06 14:26:55 +08:00
tests.rs feat(cli): codegen commands wired to real tools, status pid, web start json 2026-06-12 23:28:06 +08:00
usage.txt feat(cli): codegen commands wired to real tools, status pid, web start json 2026-06-12 23:28:06 +08:00