lynxprompt 0.1.0 → 0.2.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 CHANGED
@@ -5,98 +5,247 @@ Generate AI IDE configuration files from your terminal.
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- # Install globally
8
+ # npm (cross-platform)
9
9
  npm install -g lynxprompt
10
10
 
11
+ # Homebrew (macOS)
12
+ brew install GeiserX/lynxprompt/lynxprompt
13
+
14
+ # Chocolatey (Windows)
15
+ choco install lynxprompt
16
+
17
+ # Snap (Linux)
18
+ snap install lynxprompt
19
+
11
20
  # Or use with npx
12
21
  npx lynxprompt
13
22
  ```
14
23
 
24
+ The CLI is available as both `lynxprompt` and the short alias `lynxp`.
25
+
15
26
  ## Quick Start
16
27
 
17
28
  ```bash
18
- # Interactive wizard to create AI config
19
- lynxprompt init
29
+ # Generate an AI config file (recommended for most users)
30
+ lynxp wizard
31
+
32
+ # Quick generation with defaults (creates AGENTS.md)
33
+ lynxp wizard -y
34
+
35
+ # Generate for Cursor specifically
36
+ lynxp wizard -f cursor
20
37
 
21
- # Login to your LynxPrompt account
22
- lynxprompt login
38
+ # Login to sync with LynxPrompt cloud
39
+ lynxp login
23
40
 
24
- # List your blueprints
25
- lynxprompt list
41
+ # Download a blueprint from marketplace
42
+ lynxp pull bp_abc123
26
43
 
27
- # Download a blueprint
28
- lynxprompt pull bp_abc123
44
+ # Check config status
45
+ lynxp status
29
46
  ```
30
47
 
31
48
  ## Commands
32
49
 
50
+ ### Wizard (`lynxp wizard`) ⭐ Recommended
51
+
52
+ Interactive wizard for generating AI IDE configurations:
53
+
54
+ ```bash
55
+ # Interactive mode
56
+ lynxp wizard
57
+
58
+ # Quick mode with defaults (generates AGENTS.md)
59
+ lynxp wizard -y
60
+
61
+ # Generate for specific format
62
+ lynxp wizard -f cursor # .cursor/rules/
63
+ lynxp wizard -f agents # AGENTS.md (universal)
64
+ lynxp wizard -f copilot # .github/copilot-instructions.md
65
+
66
+ # Generate multiple formats
67
+ lynxp wizard -f agents,cursor,copilot
68
+
69
+ # Non-interactive with all options
70
+ lynxp wizard \
71
+ --name "my-api" \
72
+ --description "REST API for user management" \
73
+ --stack typescript,express \
74
+ --format cursor \
75
+ --persona backend \
76
+ --boundaries conservative \
77
+ --yes
78
+ ```
79
+
80
+ ### Check (`lynxp check`)
81
+
82
+ Validate AI configuration files for CI/CD pipelines:
83
+
84
+ ```bash
85
+ # Interactive validation
86
+ lynxp check
87
+
88
+ # CI mode (exit code 0=pass, 1=fail)
89
+ lynxp check --ci
90
+ ```
91
+
92
+ ### Status (`lynxp status`)
93
+
94
+ Show current AI configuration and tracked blueprints:
95
+
96
+ ```bash
97
+ lynxp status
98
+ ```
99
+
100
+ ### Pull (`lynxp pull`)
101
+
102
+ Download and track a blueprint from the marketplace:
103
+
104
+ ```bash
105
+ # Download and track
106
+ lynxp pull bp_abc123
107
+
108
+ # Push local file to cloud
109
+ lynxp push
110
+
111
+ # Preview content first
112
+ lynxp pull bp_abc123 --preview
113
+
114
+ # Don't track for future syncs
115
+ lynxp pull bp_abc123 --no-track
116
+ ```
117
+
118
+ ### Link / Unlink
119
+
120
+ Connect local files to cloud blueprints:
121
+
122
+ ```bash
123
+ # Link existing file to blueprint
124
+ lynxp link AGENTS.md bp_abc123
125
+
126
+ # List all tracked blueprints
127
+ lynxp link --list
128
+
129
+ # Disconnect from cloud
130
+ lynxp unlink AGENTS.md
131
+ ```
132
+
133
+ ### Diff
134
+
135
+ Show changes between local and cloud:
136
+
137
+ ```bash
138
+ # Compare with cloud blueprint
139
+ lynxp diff bp_abc123
140
+
141
+ # Compare local rules with exports
142
+ lynxp diff --local
143
+ ```
144
+
145
+ ### Push (`lynxp push`)
146
+
147
+ Upload a local configuration file to LynxPrompt cloud:
148
+
149
+ ```bash
150
+ # Push current AGENTS.md (auto-detected)
151
+ lynxp push
152
+
153
+ # Push a specific file
154
+ lynxp push .cursor/rules/project.mdc
155
+
156
+ # Push with options
157
+ lynxp push AGENTS.md \
158
+ --name "My Project Rules" \
159
+ --description "AI config for my project" \
160
+ --visibility PUBLIC \
161
+ --tags "nextjs,typescript,react"
162
+
163
+ # Non-interactive mode
164
+ lynxp push -y --name "My Config"
165
+ ```
166
+
167
+ ### Search (`lynxp search`)
168
+
169
+ Search public blueprints in the marketplace:
170
+
171
+ ```bash
172
+ lynxp search "nextjs typescript"
173
+ lynxp search react --limit 10
174
+ ```
175
+
176
+ ### List (`lynxp list`)
177
+
178
+ List your own blueprints:
179
+
180
+ ```bash
181
+ lynxp list
182
+ lynxp list --visibility PUBLIC
183
+ ```
184
+
33
185
  ### Authentication
34
186
 
35
187
  ```bash
36
188
  # Login (opens browser for OAuth)
37
- lynxprompt login
189
+ lynxp login
38
190
 
39
191
  # Show current user
40
- lynxprompt whoami
192
+ lynxp whoami
41
193
 
42
194
  # Logout
43
- lynxprompt logout
195
+ lynxp logout
44
196
  ```
45
197
 
46
- ### Blueprints
198
+ ### Advanced: Init and Sync
47
199
 
48
- ```bash
49
- # Interactive wizard to generate config
50
- lynxprompt init
200
+ For power users who want to manage rules across multiple AI editors:
51
201
 
52
- # List your blueprints
53
- lynxprompt list
54
- lynxprompt list --visibility PUBLIC
55
- lynxprompt list --limit 50
56
-
57
- # Download a blueprint
58
- lynxprompt pull bp_abc123
59
- lynxprompt pull bp_abc123 --output ./config
202
+ ```bash
203
+ # Initialize .lynxprompt/ folder
204
+ lynxp init
60
205
 
61
- # Search public blueprints
62
- lynxprompt search "nextjs typescript"
206
+ # Sync rules to all configured agents
207
+ lynxp sync
208
+ lynxp sync --dry-run # Preview changes
63
209
 
64
- # Check current config status
65
- lynxprompt status
210
+ # Manage AI agents
211
+ lynxp agents
66
212
  ```
67
213
 
68
- ### Non-Interactive Mode
214
+ ## Blueprint Tracking
69
215
 
70
- For CI/CD pipelines and scripting:
216
+ When you pull a blueprint, LynxPrompt tracks it in `.lynxprompt/blueprints.yml`:
217
+
218
+ - **Marketplace blueprints** - Read-only, can pull updates but changes won't sync back
219
+ - **Team blueprints** - Full sync, push and pull changes with your team
220
+ - **Private blueprints** - Your own, full control
71
221
 
72
222
  ```bash
73
- lynxprompt init \
74
- --name "my-api" \
75
- --stack typescript,express \
76
- --platforms cursor,claude \
77
- --persona backend \
78
- --boundaries conservative \
79
- --yes
223
+ # See all tracked blueprints
224
+ lynxp status
225
+
226
+ # Or
227
+ lynxp link --list
80
228
  ```
81
229
 
82
230
  ## Environment Variables
83
231
 
84
232
  | Variable | Description |
85
233
  |----------|-------------|
86
- | `LYNXPROMPT_TOKEN` | API token (alternative to login) |
234
+ | `LYNXPROMPT_TOKEN` | API token for CI/CD (skips browser auth) |
87
235
  | `LYNXPROMPT_API_URL` | Custom API URL (for development) |
88
236
 
89
- ## Configuration
237
+ ## CI/CD Integration
90
238
 
91
- Config is stored in `~/.config/lynxprompt/config.json`.
239
+ ```yaml
240
+ # GitHub Actions example
241
+ - name: Validate AI config
242
+ run: npx lynxprompt check --ci
243
+ ```
92
244
 
93
- ## API Access
245
+ ## Documentation
94
246
 
95
- API access requires a Pro, Max, or Teams subscription. Generate tokens at:
96
- https://lynxprompt.com/settings?tab=api-tokens
247
+ Full documentation: https://lynxprompt.com/docs/cli
97
248
 
98
249
  ## License
99
250
 
100
251
  See the main LynxPrompt repository for license information.
101
-
102
-