@curdx/flow 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Claude Code Discipline Layer — spec-driven workflow + goal-backward verification + Karpathy 4 principles enforced via gates. Stops Claude from faking \"done\" on non-trivial features.",
|
|
9
|
-
"version": "2.0.
|
|
9
|
+
"version": "2.0.1"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
package/cli/install.js
CHANGED
|
@@ -576,13 +576,13 @@ async function promptPluginConfig(plugin, language, config) {
|
|
|
576
576
|
message: language === "zh"
|
|
577
577
|
? "输入你的 Context7 API key(或按 Enter 跳过)"
|
|
578
578
|
: "Enter your Context7 API key (or press Enter to skip)",
|
|
579
|
-
placeholder: "
|
|
579
|
+
placeholder: "ctx7sk-...",
|
|
580
580
|
validate: (value) => {
|
|
581
581
|
if (!value) return; // Allow skip
|
|
582
|
-
if (!value.startsWith("ctx7_")) {
|
|
582
|
+
if (!value.startsWith("ctx7sk-") && !value.startsWith("ctx7_")) {
|
|
583
583
|
return language === "zh"
|
|
584
|
-
? "API key 应该以 ctx7_ 开头"
|
|
585
|
-
: "API key should start with ctx7_";
|
|
584
|
+
? "API key 应该以 ctx7sk- 或 ctx7_ 开头"
|
|
585
|
+
: "API key should start with ctx7sk- or ctx7_";
|
|
586
586
|
}
|
|
587
587
|
},
|
|
588
588
|
});
|