pub struct ScaffoldIntent {Show 16 fields
pub display_name: String,
pub crate_name: String,
pub binary_name: String,
pub server_category: String,
pub env_prefix: String,
pub auth_kind: String,
pub host: String,
pub port: u16,
pub mcp_transport: String,
pub mcp_primitives: String,
pub deployment: String,
pub plugins: String,
pub publish_mcp: bool,
pub crawl_urls: String,
pub crawl_repos: String,
pub crawl_search_topics: String,
}Expand description
Elicited requirements for scaffolding a new Soma-based project.
Collected from the operator (via MCP elicitation) and normalized by
SomaService::scaffold_intent into the JSON handoff contract.
Fields§
§display_name: StringHuman-readable project display name.
crate_name: StringCargo crate name (kebab-case identifier).
binary_name: StringBinary/executable name (kebab-case identifier).
server_category: StringServer category selector (e.g. upstream-client or application-platform).
env_prefix: StringUppercase environment-variable prefix (e.g. UNRAID).
auth_kind: StringUpstream authentication kind (none, api-key, bearer, oauth, both).
host: StringBind host for the generated server.
port: u16Bind port for the generated server.
mcp_transport: StringMCP transport selection (stdio, http, or dual).
mcp_primitives: StringComma-separated MCP primitives to enable (tools, resources, prompts, elicitation).
deployment: StringDeployment target (systemd, docker, or none).
plugins: StringComma-separated plugin targets (claude, codex, gemini).
publish_mcp: boolWhether to publish MCP registry metadata for the project.
crawl_urls: StringComma-separated documentation URLs to crawl for context.
crawl_repos: StringComma-separated repositories to crawl for context.
crawl_search_topics: StringComma-separated search topics to crawl for context.
Trait Implementations§
Source§impl Clone for ScaffoldIntent
impl Clone for ScaffoldIntent
Source§fn clone(&self) -> ScaffoldIntent
fn clone(&self) -> ScaffoldIntent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for ScaffoldIntent
impl RefUnwindSafe for ScaffoldIntent
impl Send for ScaffoldIntent
impl Sync for ScaffoldIntent
impl Unpin for ScaffoldIntent
impl UnsafeUnpin for ScaffoldIntent
impl UnwindSafe for ScaffoldIntent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more