@curdx/flow 2.0.14 → 2.0.15
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.15"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "curdx-flow",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.15",
|
|
4
4
|
"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.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wdx",
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { color, log, run } from "./utils.js";
|
|
2
|
+
import {
|
|
3
|
+
pluginInstallArgs,
|
|
4
|
+
pluginMarketplaceAddArgs,
|
|
5
|
+
pluginMarketplaceRemoveArgs,
|
|
6
|
+
} from "./lib/claude-commands.js";
|
|
2
7
|
|
|
3
8
|
export async function addCurdxMarketplace({ marketplaceSource, marketplaceLabel, useOffline }) {
|
|
4
9
|
log.blank();
|
|
@@ -9,13 +14,13 @@ export async function addCurdxMarketplace({ marketplaceSource, marketplaceLabel,
|
|
|
9
14
|
// simply not exist yet).
|
|
10
15
|
await run(
|
|
11
16
|
"claude",
|
|
12
|
-
|
|
17
|
+
pluginMarketplaceRemoveArgs("curdx-flow-marketplace"),
|
|
13
18
|
{ silent: true }
|
|
14
19
|
);
|
|
15
20
|
|
|
16
21
|
const addRes = await run(
|
|
17
22
|
"claude",
|
|
18
|
-
|
|
23
|
+
pluginMarketplaceAddArgs({ scope: "user", marketplaceSource }),
|
|
19
24
|
{ silent: true }
|
|
20
25
|
);
|
|
21
26
|
if (addRes.code !== 0 && !addRes.stderr.includes("already")) {
|
|
@@ -47,7 +52,10 @@ export async function installCurdxFlowPlugin({ prevCurdxFlow, shippedVersion })
|
|
|
47
52
|
);
|
|
48
53
|
const r = await run(
|
|
49
54
|
"claude",
|
|
50
|
-
|
|
55
|
+
pluginInstallArgs({
|
|
56
|
+
scope: "user",
|
|
57
|
+
installSpec: "curdx-flow@curdx-flow-marketplace",
|
|
58
|
+
}),
|
|
51
59
|
{ silent: true }
|
|
52
60
|
);
|
|
53
61
|
if (r.code !== 0) {
|
|
@@ -61,7 +69,10 @@ export async function installCurdxFlowPlugin({ prevCurdxFlow, shippedVersion })
|
|
|
61
69
|
);
|
|
62
70
|
const r = await run(
|
|
63
71
|
"claude",
|
|
64
|
-
|
|
72
|
+
pluginInstallArgs({
|
|
73
|
+
scope: "user",
|
|
74
|
+
installSpec: "curdx-flow@curdx-flow-marketplace",
|
|
75
|
+
}),
|
|
65
76
|
{ silent: true }
|
|
66
77
|
);
|
|
67
78
|
if (r.code !== 0) {
|
|
@@ -75,7 +86,10 @@ export async function installCurdxFlowPlugin({ prevCurdxFlow, shippedVersion })
|
|
|
75
86
|
);
|
|
76
87
|
const r = await run(
|
|
77
88
|
"claude",
|
|
78
|
-
|
|
89
|
+
pluginInstallArgs({
|
|
90
|
+
scope: "user",
|
|
91
|
+
installSpec: "curdx-flow@curdx-flow-marketplace",
|
|
92
|
+
}),
|
|
79
93
|
{ silent: true }
|
|
80
94
|
);
|
|
81
95
|
if (r.code !== 0) {
|
|
@@ -86,7 +100,10 @@ export async function installCurdxFlowPlugin({ prevCurdxFlow, shippedVersion })
|
|
|
86
100
|
} else {
|
|
87
101
|
const r = await run(
|
|
88
102
|
"claude",
|
|
89
|
-
|
|
103
|
+
pluginInstallArgs({
|
|
104
|
+
scope: "user",
|
|
105
|
+
installSpec: "curdx-flow@curdx-flow-marketplace",
|
|
106
|
+
}),
|
|
90
107
|
{ silent: true }
|
|
91
108
|
);
|
|
92
109
|
if (r.code !== 0) {
|