Skip to repository content17 lines · 548 B · rust
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T01:40:39.737Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
adapter_schema.rs
1use gpui::SharedString;
2use schemars::JsonSchema;
3use serde::{Deserialize, Serialize};
4
5/// JSON schema for a specific adapter
6#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, JsonSchema)]
7pub struct AdapterSchema {
8 /// The adapter name identifier
9 pub adapter: SharedString,
10 /// The JSON schema for this adapter's configuration
11 pub schema: serde_json::Value,
12}
13
14#[derive(Clone, Debug, Default, PartialEq, Eq, Serialize, Deserialize, JsonSchema)]
15#[serde(transparent)]
16pub struct AdapterSchemas(pub Vec<AdapterSchema>);
17