@fluencypassdevs/cycle 0.6.0 → 0.6.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.
- package/README.md +1 -1
- package/bin/cli.mjs +4 -4
- package/bin/init.mjs +2 -2
- package/bin/mcp.mjs +2 -2
- package/cli/CLAUDE-section.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/bin/cli.mjs
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Cycle Design System — CLI Router
|
|
5
5
|
*
|
|
6
6
|
* Routes subcommands:
|
|
7
|
-
* npx
|
|
8
|
-
* npx
|
|
7
|
+
* npx cycle init → configure AI rules + MCP
|
|
8
|
+
* npx cycle mcp → start MCP server (stdio)
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
const command = process.argv[2]
|
|
@@ -20,8 +20,8 @@ if (command === "mcp") {
|
|
|
20
20
|
console.log(" ───────────────────────")
|
|
21
21
|
console.log("")
|
|
22
22
|
console.log(" Commands:")
|
|
23
|
-
console.log(" npx
|
|
24
|
-
console.log(" npx
|
|
23
|
+
console.log(" npx cycle init Configure AI rules + MCP server")
|
|
24
|
+
console.log(" npx cycle mcp Start MCP server (stdio)")
|
|
25
25
|
console.log("")
|
|
26
26
|
process.exit(1)
|
|
27
27
|
}
|
package/bin/init.mjs
CHANGED
|
@@ -95,7 +95,7 @@ const mcpConfig = {
|
|
|
95
95
|
"cycle-design-system": {
|
|
96
96
|
type: "stdio",
|
|
97
97
|
command: "npx",
|
|
98
|
-
args: ["
|
|
98
|
+
args: ["cycle", "mcp"],
|
|
99
99
|
},
|
|
100
100
|
},
|
|
101
101
|
}
|
|
@@ -126,5 +126,5 @@ console.log(" Pronto! As regras do Cycle Design System foram configuradas.")
|
|
|
126
126
|
console.log(" MCP server configurado — Claude Code vai consultar os componentes automaticamente.")
|
|
127
127
|
console.log("")
|
|
128
128
|
console.log(" Para atualizar apos upgrade do pacote, rode novamente:")
|
|
129
|
-
console.log(" npx
|
|
129
|
+
console.log(" npx cycle init")
|
|
130
130
|
console.log("")
|
package/bin/mcp.mjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* component library to AI assistants. Zero external dependencies.
|
|
8
8
|
*
|
|
9
9
|
* Usage (Claude Code .mcp.json):
|
|
10
|
-
* { "mcpServers": { "cycle-design-system": { "type": "stdio", "command": "npx", "args": ["
|
|
10
|
+
* { "mcpServers": { "cycle-design-system": { "type": "stdio", "command": "npx", "args": ["cycle", "mcp"] } } }
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { createInterface } from "readline"
|
|
@@ -760,7 +760,7 @@ import { cn } from "@fluencypassdevs/cycle/lib/utils"
|
|
|
760
760
|
|
|
761
761
|
## 6. Configurar regras para IA (opcional):
|
|
762
762
|
\`\`\`bash
|
|
763
|
-
npx
|
|
763
|
+
npx cycle init
|
|
764
764
|
\`\`\``
|
|
765
765
|
|
|
766
766
|
case "cycle_get_tokens": {
|
package/cli/CLAUDE-section.md
CHANGED
|
@@ -133,7 +133,7 @@ Se o projeto tem `.mcp.json` configurado, o Claude Code tera acesso a tools do C
|
|
|
133
133
|
|
|
134
134
|
**USE estas tools antes de criar qualquer UI.** Elas sao a fonte de verdade.
|
|
135
135
|
|
|
136
|
-
Para configurar: `npx
|
|
136
|
+
Para configurar: `npx cycle init`
|
|
137
137
|
|
|
138
138
|
## Documentacao
|
|
139
139
|
|