{"record":{"id":"613bd2c167520451","repo":"astrid-runtime/astrid","slug":"native-js-ts-capsule-sdk-is-not-yet-implemented","errorCode":null,"errorMessage":"Native JS/TS capsule SDK is not yet implemented.","messagePattern":"Native JS/TS capsule SDK is not yet implemented\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/astrid-build/src/build.rs","lineNumber":46,"sourceCode":"        return crate::mcp::convert(dir, &file_name, output);\n    }\n\n    // Detect the project type if not explicitly provided\n    let detected_type = if let Some(explicit) = project_type {\n        explicit.to_string()\n    } else {\n        detect_project_type(&target_dir)?\n    };\n\n    info!(\"Detected project type: {detected_type}\");\n\n    // Route to the appropriate builder\n    match detected_type.as_str() {\n        \"rust\" => crate::rust::build(&target_dir, output)?,\n        \"mcp\" => crate::mcp::convert(&target_dir, \"mcp.json\", output)?,\n        \"extension\" => crate::mcp::convert(&target_dir, \"gemini-extension.json\", output)?,\n        \"js\" | \"ts\" | \"node\" => {\n            bail!(\"Native JS/TS capsule SDK is not yet implemented.\");\n        },\n        \"static\" => {\n            bail!(\"Static No-Code building is not yet implemented in the CLI.\");\n        },\n        unknown => {\n            bail!(\n                \"Unknown project type: {unknown}. \\\n                 Supported types: rust, mcp, extension\"\n            );\n        },\n    }\n\n    Ok(())\n}\n\nfn detect_project_type(dir: &Path) -> Result<String> {\n    if dir.join(\"Cargo.toml\").exists() {\n        return Ok(\"rust\".to_string());","sourceCodeStart":28,"sourceCodeEnd":64,"githubUrl":"https://github.com/astrid-runtime/astrid/blob/affd8760f44190dbdfbec23403f4c4b642c33112/crates/astrid-build/src/build.rs#L28-L64","documentation":"Fired by run_build when the detected or explicitly requested project type is js/ts/node. Native JavaScript/TypeScript capsule packaging has not been implemented yet; it is a deliberate placeholder, not a detected failure.","triggerScenarios":"Thrown at crates/astrid-build/src/build.rs:46 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Write the capsule in Rust and build with the rust pipeline","Use the mcp/extension converters if your project fits those formats","Track upstream work for a native JS/TS SDK"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"affd8760f44190dbdfbec23403f4c4b642c33112","analyzedAt":"2026-09-09T21:28:12.402Z","contentChangedAt":"2026-09-09T21:28:12.402Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}