We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f0e6ae commit 8aac671Copy full SHA for 8aac671
src/starship/prompts/example-tests/.gitkeep
src/starship/tools/starship-config-gen.ts
@@ -629,6 +629,17 @@ export function registerStarshipConfigGenTool(server: McpServer): void {
629
"Parses and validates a Starship configuration YAML string against the known schema.",
630
verifyStarshipConfigInputSchema.shape, // Use the verification schema shape
631
async (input: VerifyStarshipConfigInput) => {
632
+ if (!input.yamlContent) {
633
+ return {
634
+ content: [
635
+ {
636
+ type: "text",
637
+ text: "Starship has not been initialized yet. Skipping configuration verification.",
638
+ },
639
+ ],
640
+ };
641
+ }
642
+
643
try {
644
// 1. Parse the YAML string
645
// Use load instead of safeLoad as safeLoad is not exposed in type defs
0 commit comments