@caliber-ai/cli 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/LICENSE +21 -0
- package/README.md +47 -0
- package/dist/bin.js +1395 -0
- package/dist/bin.js.map +1 -0
- package/package.json +37 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Caliber AI
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# @caliber-ai/cli
|
|
2
|
+
|
|
3
|
+
CLI for configuring coding agent environments. Caliber analyzes your project and generates optimized configuration files for AI coding agents like Claude Code and Cursor.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @caliber-ai/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Authenticate with Caliber
|
|
15
|
+
caliber login
|
|
16
|
+
|
|
17
|
+
# Initialize your project
|
|
18
|
+
caliber init
|
|
19
|
+
|
|
20
|
+
# That's it! Your coding agent is now configured.
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Commands
|
|
24
|
+
|
|
25
|
+
| Command | Description | Options |
|
|
26
|
+
|---------|-------------|---------|
|
|
27
|
+
| `caliber init` | Initialize coding agent setup for your project | `--agent <claude\|cursor\|both>`, `--dry-run`, `--force` |
|
|
28
|
+
| `caliber update` | Re-analyze project and update setup | `--dry-run` |
|
|
29
|
+
| `caliber status` | Show current Caliber setup status | `--json` |
|
|
30
|
+
| `caliber undo` | Revert all config changes made by Caliber | |
|
|
31
|
+
| `caliber login` | Authenticate with Caliber | |
|
|
32
|
+
| `caliber logout` | Clear stored credentials | |
|
|
33
|
+
|
|
34
|
+
## How It Works
|
|
35
|
+
|
|
36
|
+
1. **Login** — Authenticate with your Caliber account via the browser.
|
|
37
|
+
2. **Init** — Caliber analyzes your project structure, dependencies, and patterns, then generates tailored configuration files (e.g., `CLAUDE.md`, `.cursorrules`) for your chosen coding agent.
|
|
38
|
+
3. **Update** — Re-run the analysis when your project changes to keep agent configs up to date.
|
|
39
|
+
4. **Undo** — Cleanly revert all changes if you want to start fresh.
|
|
40
|
+
|
|
41
|
+
## Requirements
|
|
42
|
+
|
|
43
|
+
- Node.js >= 20
|
|
44
|
+
|
|
45
|
+
## License
|
|
46
|
+
|
|
47
|
+
MIT
|