astrid-runtime/astrid · error

Static No-Code building is not yet implemented in the CLI.

Error message

Static No-Code building is not yet implemented in the CLI.

What it means

Fired by run_build when the detected project type is `static` (Capsule.toml present). Static No-Code capsule building is not implemented in the CLI yet; the branch intentionally aborts instead of producing an invalid capsule.

Solutions

  1. Package the capsule manually or with a Rust wrapper project
  2. Use a supported project type (rust, mcp, extension)
  3. Wait for static No-Code support in a future release
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at crates/astrid-build/src/build.rs:49 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of astrid-runtime/astrid@affd8760f4 (2026-09-09). Data as JSON: /api/errors/4433f6709a99eac1. Report an issue: GitHub.

Appendix: source

Thrown at crates/astrid-build/src/build.rs:49

    // Detect the project type if not explicitly provided
    let detected_type = if let Some(explicit) = project_type {
        explicit.to_string()
    } else {
        detect_project_type(&target_dir)?
    };

    info!("Detected project type: {detected_type}");

    // Route to the appropriate builder
    match detected_type.as_str() {
        "rust" => crate::rust::build(&target_dir, output)?,
        "mcp" => crate::mcp::convert(&target_dir, "mcp.json", output)?,
        "extension" => crate::mcp::convert(&target_dir, "gemini-extension.json", output)?,
        "js" | "ts" | "node" => {
            bail!("Native JS/TS capsule SDK is not yet implemented.");
        },
        "static" => {
            bail!("Static No-Code building is not yet implemented in the CLI.");
        },
        unknown => {
            bail!(
                "Unknown project type: {unknown}. \
                 Supported types: rust, mcp, extension"
            );
        },
    }

    Ok(())
}

fn detect_project_type(dir: &Path) -> Result<String> {
    if dir.join("Cargo.toml").exists() {
        return Ok("rust".to_string());
    }

    if dir.join("gemini-extension.json").exists() {

View on GitHub (pinned to affd8760f4)