@scopeide/cli 0.1.6 → 0.1.8
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 +94 -0
- package/dist/index.js +165 -165
- package/package.json +14 -14
package/README.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# @scopeide/cli
|
|
2
|
+
|
|
3
|
+
> **Scope** — The AI-first coding agent for your terminal.
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@scopeide/cli)
|
|
6
|
+
[](https://scopeide.com)
|
|
7
|
+
[](https://scopeide.com)
|
|
8
|
+
|
|
9
|
+
Scope is an intelligent terminal assistant designed to build, edit, test, and troubleshoot code directly inside your terminal workspace.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## ⚡ Installation
|
|
14
|
+
|
|
15
|
+
Install globally using `npm`:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install -g @scopeide/cli
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Or using `pnpm` / `yarn`:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
pnpm add -g @scopeide/cli
|
|
25
|
+
# or
|
|
26
|
+
yarn global add @scopeide/cli
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Verify your installation:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
scope --version
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 🚀 Getting Started
|
|
38
|
+
|
|
39
|
+
### 1. Authenticate
|
|
40
|
+
Log in with your Scope account to connect your credits and settings:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
scope login
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### 2. Launch Interactive Agent
|
|
47
|
+
Navigate to any project directory and start an interactive session:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
scope
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### 3. Headless / Direct Prompts
|
|
54
|
+
Run tasks directly from your command line:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
scope -p "Add unit tests for auth middleware"
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## 🛠️ Key Commands & Flags
|
|
63
|
+
|
|
64
|
+
| Command / Option | Description |
|
|
65
|
+
| :--- | :--- |
|
|
66
|
+
| `scope login` | Authenticate your terminal with Scope IDE |
|
|
67
|
+
| `scope logout` | Log out and clear saved credentials |
|
|
68
|
+
| `scope init` | Initialize project-level Scope configuration |
|
|
69
|
+
| `scope models` | List available AI models on your plan |
|
|
70
|
+
| `scope usage` | Check your monthly token and request usage |
|
|
71
|
+
| `scope doctor` | Check system environment and connection health |
|
|
72
|
+
| `scope -p, --prompt <text>` | Run a prompt directly and exit |
|
|
73
|
+
| `scope --plan` | Plan mode: analyze code and produce a step-by-step plan without modifying files |
|
|
74
|
+
| `scope -c, --continue` | Continue the most recent session in the current project |
|
|
75
|
+
| `scope -r, --resume [id]` | Resume an existing session |
|
|
76
|
+
| `scope --yolo` | Auto-approve tool calls for maximum velocity |
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## 🔄 Updating Scope CLI
|
|
81
|
+
|
|
82
|
+
To update to the latest release at any time:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
npm install -g @scopeide/cli@latest
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 🌐 Links & Resources
|
|
91
|
+
|
|
92
|
+
- **Website:** [scopeide.com](https://scopeide.com)
|
|
93
|
+
- **Releases & Desktop Downloads:** [github.com/mdhedayet/scope-releases](https://github.com/mdhedayet/scope-releases/releases)
|
|
94
|
+
- **Support & Issues:** [support@scopeide.com](mailto:support@scopeide.com) / [GitHub Issues](https://github.com/mdhedayet/scope-releases/issues)
|