Rebuilt from the exact zed-industries/zed @ 8c74db00c4053d6c0a9037863d7bd048658da4ca tree (previous orphan was based on a stale/wrong fetch). Same 3-file patch: - serial.rs: add SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; add latest_serial_of() - window.rs: activate() uses keyboard-enter serial (Mutter focus gate) 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>;
|
|
}
|