glooit 0.4.0

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 ADDED
@@ -0,0 +1,144 @@
1
+ # gloo ๐Ÿงด
2
+
3
+ > Sync your AI agent configurations and rules across platforms with ease
4
+
5
+ **gloo** keeps your AI agent rules and MCP configurations in perfect sync across Claude Code, Cursor, Roo Code, and other AI development tools.
6
+
7
+ ## Quick Start
8
+
9
+ ```bash
10
+ # Install globally
11
+ npm install -g gloo
12
+
13
+ # Or run directly
14
+ npx gloo init
15
+ ```
16
+
17
+ ## Basic Usage
18
+
19
+ ### 1. Initialize Configuration
20
+
21
+ ```bash
22
+ gloo init
23
+ ```
24
+
25
+ This creates a `gloo.config.ts` file:
26
+
27
+ ```typescript
28
+ import { Config } from 'gloo/types';
29
+
30
+ export default {
31
+ rules: [
32
+ {
33
+ file: 'my-coding-rules.md',
34
+ to: './',
35
+ targets: ['claude', 'cursor']
36
+ }
37
+ ]
38
+ } satisfies Config;
39
+ ```
40
+
41
+ ### 2. Sync Your Rules
42
+
43
+ ```bash
44
+ gloo sync
45
+ ```
46
+
47
+ This automatically creates:
48
+ - `CLAUDE.md` (for Claude Code)
49
+ - `.cursor/rules/my-coding-rules.md` (for Cursor)
50
+
51
+ ### 3. Add MCP Configurations
52
+
53
+ ```typescript
54
+ export default {
55
+ rules: [
56
+ // ... your rules
57
+ ],
58
+ mcps: [
59
+ {
60
+ name: 'postgres',
61
+ config: {
62
+ command: 'npx',
63
+ args: ['pg-mcp-server'],
64
+ env: { DATABASE_URL: 'postgresql://localhost/mydb' }
65
+ },
66
+ targets: ['claude', 'cursor']
67
+ }
68
+ ]
69
+ } satisfies Config;
70
+ ```
71
+
72
+ ## Configuration
73
+
74
+ ### Supported Agents
75
+
76
+ - **Claude Code**: `.mcp.json`
77
+ - **Cursor**: `~/.cursor/mcp.json`
78
+ - **Roo Code/Cline**: `.roo/mcp.json`
79
+
80
+ ### Example Configuration
81
+
82
+ ```typescript
83
+ import { Config } from 'gloo/types';
84
+
85
+ export default {
86
+ configDir: '.gloo',
87
+ rules: [
88
+ {
89
+ file: 'coding-standards.md',
90
+ to: './',
91
+ targets: ['claude', 'cursor', 'roocode']
92
+ }
93
+ ],
94
+ mcps: [
95
+ {
96
+ name: 'database',
97
+ config: {
98
+ command: 'npx',
99
+ args: ['db-mcp-server']
100
+ },
101
+ targets: ['claude']
102
+ }
103
+ ],
104
+ mergeMcps: true
105
+ } satisfies Config;
106
+ ```
107
+
108
+ ## Commands
109
+
110
+ ```bash
111
+ gloo init # Initialize configuration
112
+ gloo sync # Sync rules and MCPs
113
+ gloo validate # Validate configuration
114
+ gloo clean # Remove generated files
115
+ gloo reset --force # Complete reset
116
+ gloo backup list # List backups
117
+ ```
118
+
119
+ ## Features
120
+
121
+ - ๐Ÿ”„ **Multi-platform sync** - Works with all major AI coding assistants
122
+ - ๐Ÿ“ฆ **MCP support** - Model Context Protocol configuration management
123
+ - ๐ŸŽฏ **Selective targeting** - Choose which agents get which rules
124
+ - ๐Ÿ”™ **Backup system** - Automatic backups before changes
125
+ - ๐Ÿงน **Clean management** - Easy cleanup and reset options
126
+ - โšก **Fast** - Built with Bun for maximum performance
127
+
128
+ ## Installation
129
+
130
+ ```bash
131
+ # NPM
132
+ npm install -g gloo
133
+
134
+ # Bun
135
+ bun install -g gloo
136
+
137
+ # Direct execution
138
+ npx gloo init
139
+ bunx gloo sync
140
+ ```
141
+
142
+ ## License
143
+
144
+ MIT
package/bin/gloo-linux ADDED
Binary file
package/bin/gloo-macos ADDED
Binary file
Binary file