Includes prior-session patches (carry forward so the app compiles): - crates/gpui/build.rs: cross-compile manifest fix - crates/gpui/src/platform.rs: PlatformWindow::activate_with_token trait method - crates/gpui/src/window.rs: Window::activate_with_token public API - crates/gpui_linux/src/linux/wayland/window.rs: WaylandWindow::activate_with_token + activate() keyboard-serial fix Plus the focus-serial fix: - serial.rs: SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; latest_serial_of() Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
14 lines
594 B
Plaintext
14 lines
594 B
Plaintext
interface nodejs {
|
|
/// Returns the path to the Node binary used by Zed.
|
|
node-binary-path: func() -> result<string, string>;
|
|
|
|
/// Returns the latest version of the given NPM package.
|
|
npm-package-latest-version: func(package-name: string) -> result<string, string>;
|
|
|
|
/// Returns the installed version of the given NPM package, if it exists.
|
|
npm-package-installed-version: func(package-name: string) -> result<option<string>, string>;
|
|
|
|
/// Installs the specified NPM package.
|
|
npm-install-package: func(package-name: string, version: string) -> result<_, string>;
|
|
}
|