MCPcopy Index your code
hub / github.com/AI45Lab/Code / parse_worker_agent_kind

Function parse_worker_agent_kind

sdk/node/src/lib.rs:2747–2751  ·  view source on GitHub ↗
(kind: Option<&str>)

Source from the content-addressed store, hash-verified

2745}
2746
2747fn parse_worker_agent_kind(kind: Option<&str>) -> napi::Result<RustWorkerAgentKind> {
2748 kind.unwrap_or("custom")
2749 .parse::<RustWorkerAgentKind>()
2750 .map_err(|e| napi::Error::from_reason(e.to_string()))
2751}
2752
2753fn parse_confirmation_inheritance(
2754 value: &str,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected