zed_extension_api: Fork new version of extension API (#29579)

This PR forks a new version of the `zed_extension_api` in preparation
for new changes.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-04-28 21:24:13 -04:00 committed by GitHub
parent bc665b2a76
commit 2cc5a0de26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 1464 additions and 650 deletions

View file

@ -0,0 +1,24 @@
interface platform {
/// An operating system.
enum os {
/// macOS.
mac,
/// Linux.
linux,
/// Windows.
windows,
}
/// A platform architecture.
enum architecture {
/// AArch64 (e.g., Apple Silicon).
aarch64,
/// x86.
x86,
/// x86-64.
x8664,
}
/// Gets the current operating system and architecture.
current-platform: func() -> tuple<os, architecture>;
}