Skip to content

kiri-win: fix npipe_host to emit npipe:////./pipe/... URLs - #998

Open
trungduc22 wants to merge 157 commits into
libracoder:mainfrom
trungduc22:fix/win-npipe-host-url
Open

trungduc22 wants to merge 157 commits into
libracoder:mainfrom
trungduc22:fix/win-npipe-host-url

Conversation

@trungduc22

Copy link
Copy Markdown

crates/kiri-win/src/engine.rs had npipe_host(pipe) formatting format!("npipe:{}", pipe.replace('\\', "/")), which turned \\.\pipe\kiri into npipe://./pipe/kiri instead of npipe:////./pipe/kiri (unlike detail.rs and setup.rs, which already prepend npipe://).

  • Updated npipe_host in crates/kiri-win/src/engine.rs to use format!("npipe://{}", pipe.replace('\\', "/")).
  • Added a second assertion for \\.\pipe\kiri-dev in engine::tests::npipe_host_formats_pipe_url.

Verified on Windows 11 (x64):

  • cargo test -p kiri-win engine::tests:: --no-fail-fast: 8 passed, 0 failed (previously engine::tests::npipe_host_formats_pipe_url failed on main).

libracoder and others added 30 commits November 23, 2026 12:15
…lied (libracoder#378)

Co-authored-by: sundarshahi <shahithakurisundar@gmail.com>
…sting cannot drop the VM (libracoder#463)

Co-authored-by: Đoàn Phương Nam <120766900+DPhngNam@users.noreply.github.com>
Co-authored-by: Jonnyan404 <jonnyan404@users.noreply.github.com>
…ebus-emulator unpacks (libracoder#618)

Co-authored-by: Masih Moloodian <masihmoloodian@gmail.com>
…ocker does (libracoder#594)

Co-authored-by: Randy Fay <randy@randyfay.com>
…ces (libracoder#420)

Co-authored-by: Urdemonlord <hasrinata@gmail.com>
Co-authored-by: Andre Kurait <akurait@amazon.com>
Co-authored-by: Chukwuebuka (Gaus Octavio) <56232734+Chukwuebuka-2003@users.noreply.github.com>
… and two build notes (libracoder#361)

Co-authored-by: Alex Alvord <325058966+cloudlabworks@users.noreply.github.com>
… blank (libracoder#587)

Co-authored-by: Antony Nyagah <tony.m.nyagah@gmail.com>
…tworks, as Docker does (libracoder#727)

Co-authored-by: Anmol Sharma <anmol2512s@gmail.com>
… recreate keeps its volumes (libracoder#610)

Co-authored-by: Elyter <eliottbreg@gmail.com>
…hand over on disconnect (libracoder#381)

Co-authored-by: Supersynergy <true@supersynergy.de>
… runs in a user namespace (libracoder#597)

Co-authored-by: Randy Fay <randy@randyfay.com>
…pplied, as on Docker (libracoder#523)

Co-authored-by: Nguyễn Đức <nguyenminhduc230903@gmail.com>
… runs (libracoder#669)

Co-authored-by: Urdemonlord <hasrinata@gmail.com>
…ts (libracoder#537)

Co-authored-by: grvwy <147989282+grvwy@users.noreply.github.com>
… requested stops (libracoder#474)

Co-authored-by: meutex <342316034+meutex@users.noreply.github.com>
…eouts (libracoder#715)

Co-authored-by: Chukwuebuka (Gaus Octavio) <56232734+Chukwuebuka-2003@users.noreply.github.com>
libracoder and others added 28 commits November 25, 2026 20:38
…on odd input (libracoder#965)

Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
…ger ulimits (libracoder#966)

Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
…, resolve cifs addr= (libracoder#967)

Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
)

Co-authored-by: Hakan K. <vorlaxenlabs@gmail.com>
… menu & Linux speed (libracoder#776)

Fixes macOS VM disk reclaim accounting for ext4 static metadata overhead, shares the numbered log console component with Kubernetes Pod logs, strips native AppKit WKWebView menus on macOS, optimizes Linux container creation/startup hot paths, and adds the head-to-head Kiri vs Docker Linux benchmark workflow (Closes libracoder#776).
…. on the drive (libracoder#972)

Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
…ain wsl.exe pipes, keep one [boot] command (libracoder#973)

Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
… and keep watch events intact (libracoder#974)

Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
Co-authored-by: Cesar Roberto Pamplona Filho <cesarpamplonafilho@gmail.com>
Co-authored-by: Victor Borja <vborja@apache.org>
…ain-thread/worker stalls, and persist Windows VHDX overhead
…libracoder#975)

A `kiri machine` keeps its work in its container's writable layer, so a
routine `docker system prune` with the machine stopped deleted it and
everything in it. container_prune now leaves containers labelled
dev.kiri.machine out, as OrbStack's prunes leave its machines alone;
`kiri machine delete` and `docker rm machine-NAME` still remove one.
The window's prune goes through the same endpoint.

Unit test in daemon/ops.rs, e2e check machine-prune-keeps, listed in
tests/regressions.tsv; docs/features.md says prunes keep machines.
…bracoder#568, libracoder#538)

Kiri's window, menus and Windows setup now come in Uzbek (Oʻzbekcha, in
standard official Uzbek Latin) and Nepali (नेपाली), bringing Kiri to 40
languages (39 translation files, 2,037 keys each).

- lang/uz.json: all 2,037 keys in official Uzbek Latin (Oʻ/oʻ, Gʻ/gʻ with
  U+02BB, tutuq belgisi U+02BC, Sh/sh, Ch/ch).
- lang/ne.json: all 2,037 keys in everyday Nepali developer register,
  with Noto Sans Devanagari first in index.html and Nirmala UI in setup.html.
- lang.rs & langstep.js: uz (uz, uz-UZ, uz-Latn-UZ, uz_UZ) and ne (ne,
  ne-NP, ne_NP) resolution, native names, greetings and Uzbek search aliases.
- UI tests & README: updated for 40 languages.

Co-authored-by: Behruz Bahodirov <bbahodirov.dev@gmail.com>
Co-authored-by: sundarshahi <shahithakurisundar@gmail.com>
… and hide off/paused local domains (libracoder#386, libracoder#401)

- lang/hy.json & lang/az.json: add Armenian (Հայերեն, libracoder#386) and Azerbaijani
  (Azərbaycanca, libracoder#401) at 100% key parity (2,038 keys across 41 translation
  files), tightening verbose Azerbaijani labels so narrow cards and tabs fit.
- lang.rs, langstep.js, index.html, setup.html: register hy (hy, hy-AM, hy_AM)
  and az (az, az-AZ, az-Latn-AZ, az_AZ), Armenian font fallbacks (Noto Sans
  Armenian, Mshtakan, Sylfaen), and Latin search aliases (azeri, azerbaycanca,
  hayeren).
- Settings → About: add Community row (Discord + @runkiri on X) with .soc-i
  icons and idiomatic 'Community' translations across all 41 language files.
- Domains: return empty string from localUrl() when the active router reports
  running: false or serving: false so dead .kiri.local/.kiri.localhost links
  are hidden while published host ports remain clickable.

Co-authored-by: Shahen Hovhannisyan <shahen.hovhannisyan.94@gmail.com>
Co-authored-by: Míng hàn <mahirmehtizade@outlook.com>
…libracoder#989), and add kiri engine (libracoder#983) (libracoder#996)

* Start: evict stale VmLink::layers cache and re-send missing unpacked layers

* Engine & CLI: fix macOS k8s idle CPU (libracoder#989) and add kiri engine commands (libracoder#983)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants