Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T05:14:50.561Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

github.wit

36 lines · 1.3 KB · text
1interface github {
2    /// A GitHub release.
3    record github-release {
4        /// The version of the release.
5        version: string,
6        /// The list of assets attached to the release.
7        assets: list<github-release-asset>,
8    }
9
10    /// An asset from a GitHub release.
11    record github-release-asset {
12        /// The name of the asset.
13        name: string,
14        /// The download URL for the asset.
15        download-url: string,
16    }
17
18    /// The options used to filter down GitHub releases.
19    record github-release-options {
20        /// Whether releases without assets should be included.
21        require-assets: bool,
22        /// Whether pre-releases should be included.
23        pre-release: bool,
24    }
25
26    /// Returns the latest release for the given GitHub repository.
27    ///
28    /// Takes repo as a string in the form "<owner-name>/<repo-name>", for example: "zed-industries/zed".
29    latest-github-release: func(repo: string, options: github-release-options) -> result<github-release, string>;
30
31    /// Returns the GitHub release with the specified tag name for the given GitHub repository.
32    ///
33    /// Returns an error if a release with the given tag name does not exist.
34    github-release-by-tag-name: func(repo: string, tag: string) -> result<github-release, string>;
35}
36
Served at tenant.openagents/omega Member data and write actions are omitted.