lynxprompt 0.1.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 +102 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1324 -0
- package/dist/index.js.map +1 -0
- package/package.json +58 -0
package/README.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# LynxPrompt CLI
|
|
2
|
+
|
|
3
|
+
Generate AI IDE configuration files from your terminal.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Install globally
|
|
9
|
+
npm install -g lynxprompt
|
|
10
|
+
|
|
11
|
+
# Or use with npx
|
|
12
|
+
npx lynxprompt
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Quick Start
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Interactive wizard to create AI config
|
|
19
|
+
lynxprompt init
|
|
20
|
+
|
|
21
|
+
# Login to your LynxPrompt account
|
|
22
|
+
lynxprompt login
|
|
23
|
+
|
|
24
|
+
# List your blueprints
|
|
25
|
+
lynxprompt list
|
|
26
|
+
|
|
27
|
+
# Download a blueprint
|
|
28
|
+
lynxprompt pull bp_abc123
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Commands
|
|
32
|
+
|
|
33
|
+
### Authentication
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# Login (opens browser for OAuth)
|
|
37
|
+
lynxprompt login
|
|
38
|
+
|
|
39
|
+
# Show current user
|
|
40
|
+
lynxprompt whoami
|
|
41
|
+
|
|
42
|
+
# Logout
|
|
43
|
+
lynxprompt logout
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Blueprints
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# Interactive wizard to generate config
|
|
50
|
+
lynxprompt init
|
|
51
|
+
|
|
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
|
|
60
|
+
|
|
61
|
+
# Search public blueprints
|
|
62
|
+
lynxprompt search "nextjs typescript"
|
|
63
|
+
|
|
64
|
+
# Check current config status
|
|
65
|
+
lynxprompt status
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Non-Interactive Mode
|
|
69
|
+
|
|
70
|
+
For CI/CD pipelines and scripting:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
lynxprompt init \
|
|
74
|
+
--name "my-api" \
|
|
75
|
+
--stack typescript,express \
|
|
76
|
+
--platforms cursor,claude \
|
|
77
|
+
--persona backend \
|
|
78
|
+
--boundaries conservative \
|
|
79
|
+
--yes
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Environment Variables
|
|
83
|
+
|
|
84
|
+
| Variable | Description |
|
|
85
|
+
|----------|-------------|
|
|
86
|
+
| `LYNXPROMPT_TOKEN` | API token (alternative to login) |
|
|
87
|
+
| `LYNXPROMPT_API_URL` | Custom API URL (for development) |
|
|
88
|
+
|
|
89
|
+
## Configuration
|
|
90
|
+
|
|
91
|
+
Config is stored in `~/.config/lynxprompt/config.json`.
|
|
92
|
+
|
|
93
|
+
## API Access
|
|
94
|
+
|
|
95
|
+
API access requires a Pro, Max, or Teams subscription. Generate tokens at:
|
|
96
|
+
https://lynxprompt.com/settings?tab=api-tokens
|
|
97
|
+
|
|
98
|
+
## License
|
|
99
|
+
|
|
100
|
+
See the main LynxPrompt repository for license information.
|
|
101
|
+
|
|
102
|
+
|
package/dist/index.d.ts
ADDED