prior-cli 1.5.1 → 1.5.3
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 +82 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Prior CLI
|
|
2
|
+
|
|
3
|
+
**Prior** is an AI assistant for your terminal — built on the Prior Network platform.
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
██████╗ ██████╗ ██╗ ██████╗ ██████╗
|
|
7
|
+
██╔══██╗██╔══██╗██║██╔═══██╗██╔══██╗
|
|
8
|
+
██████╔╝██████╔╝██║██║ ██║██████╔╝
|
|
9
|
+
██╔═══╝ ██╔══██╗██║██║ ██║██╔══██╗
|
|
10
|
+
██║ ██║ ██║██║╚██████╔╝██║ ██║
|
|
11
|
+
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═╝
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Install
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install -g prior-cli
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Login
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
prior login
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Opens a browser window to sign in with your Prior Network account.
|
|
27
|
+
|
|
28
|
+
## Usage
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
prior chat
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Starts an interactive chat session. Prior can read and write files, run shell commands, search the web, check the weather, generate images, and interact with the Prior Network — all from a single prompt.
|
|
35
|
+
|
|
36
|
+
## What Prior can do
|
|
37
|
+
|
|
38
|
+
| Capability | Example prompt |
|
|
39
|
+
|---|---|
|
|
40
|
+
| **Files** | `read the file package.json` |
|
|
41
|
+
| **Shell** | `what node version am i on` |
|
|
42
|
+
| **Web search** | `what is the latest news in the philippines` |
|
|
43
|
+
| **Weather** | `what's the weather in tokyo` |
|
|
44
|
+
| **Image generation** | `generate a sunset over the ocean` |
|
|
45
|
+
| **Clipboard** | `read my clipboard` |
|
|
46
|
+
| **Prior Network** | `show my prior profile` |
|
|
47
|
+
| **Coding** | `write a python script that prints fibonacci numbers` |
|
|
48
|
+
|
|
49
|
+
## Agent mode
|
|
50
|
+
|
|
51
|
+
Prior runs as an autonomous agent — it can chain multiple tool calls together to complete complex tasks without you having to break things down step by step.
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
> find all .js files in this project and tell me which one is the largest
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Prior will list the directory, check file sizes, and report back — all in one go.
|
|
58
|
+
|
|
59
|
+
## Slash commands
|
|
60
|
+
|
|
61
|
+
| Command | Description |
|
|
62
|
+
|---|---|
|
|
63
|
+
| `/help` | Show available commands |
|
|
64
|
+
| `/clear` | Clear the conversation |
|
|
65
|
+
| `/uncensored` | Enable uncensored mode |
|
|
66
|
+
| `/censored` | Return to default mode |
|
|
67
|
+
| `/exit` | Exit the CLI |
|
|
68
|
+
|
|
69
|
+
## Tips
|
|
70
|
+
|
|
71
|
+
- **Multiline input** — end a line with `\` and press Enter to continue on the next line
|
|
72
|
+
- **Clipboard images** — press `Alt+V` to attach an image from your clipboard
|
|
73
|
+
- **Cancel** — press `Ctrl+C` to cancel a running response
|
|
74
|
+
|
|
75
|
+
## Requirements
|
|
76
|
+
|
|
77
|
+
- Node.js 16+
|
|
78
|
+
- A [Prior Network](https://prior.ngrok.app) account
|
|
79
|
+
|
|
80
|
+
## License
|
|
81
|
+
|
|
82
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prior-cli",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "Prior Network AI — command-line interface",
|
|
5
5
|
"bin": {
|
|
6
6
|
"prior": "bin/prior.js"
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"files": [
|
|
28
28
|
"bin/",
|
|
29
|
-
"lib/"
|
|
29
|
+
"lib/",
|
|
30
|
+
"README.md"
|
|
30
31
|
]
|
|
31
32
|
}
|