prior-cli 1.7.14 → 1.7.15

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.
Files changed (2) hide show
  1. package/README.md +45 -11
  2. package/package.json +10 -3
package/README.md CHANGED
@@ -5,7 +5,9 @@
5
5
  [![license](https://img.shields.io/npm/l/prior-cli)](./LICENSE)
6
6
  [![node](https://img.shields.io/node/v/prior-cli)](https://nodejs.org)
7
7
 
8
- **Prior** is an AI assistant for your terminal — built on the Prior Network platform.
8
+ **Prior** is an agentic AI assistant for your terminal — it can write and edit code, search your
9
+ codebase, research the web, run commands, generate images, and automate Prior services. Built on
10
+ the Prior Network platform.
9
11
 
10
12
  ```
11
13
  ██████╗ ██████╗ ██╗ ██████╗ ██████╗
@@ -18,6 +20,10 @@
18
20
 
19
21
  ## Install
20
22
 
23
+ **Windows — no Node.js needed:** [download `prior.exe`](https://github.com/PriorNetwork/prior-cli/releases/latest/download/prior.exe) from the latest release and run it.
24
+
25
+ **Cross-platform (npm):**
26
+
21
27
  ```bash
22
28
  npm install -g prior-cli
23
29
  ```
@@ -36,30 +42,49 @@ Opens a browser window to sign in with your Prior Network account.
36
42
  prior chat
37
43
  ```
38
44
 
39
- 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.
45
+ Starts an interactive chat session. Prior is an agentic AI — it can read, write, and edit files, search your codebase, run shell commands, research the web, generate images, and automate Prior services, chaining tools together to finish a task from a single prompt.
40
46
 
41
47
  ## What Prior can do
42
48
 
43
49
  | Capability | Example prompt |
44
50
  |---|---|
45
- | **Files** | `read the file package.json` |
51
+ | **Read / write files** | `read package.json` |
52
+ | **Edit code (surgical)** | `in server.js change the port to 4000` |
53
+ | **Search the codebase** | `find every place we call fetchUser` |
54
+ | **Coding** | `write a python script that prints fibonacci numbers` |
46
55
  | **Shell** | `what node version am i on` |
47
- | **Web search** | `what is the latest news in the philippines` |
56
+ | **Web research** | `what is the latest news in the philippines` |
48
57
  | **Weather** | `what's the weather in tokyo` |
49
58
  | **Image generation** | `generate a sunset over the ocean` |
50
- | **Clipboard** | `read my clipboard` |
51
59
  | **Prior Network** | `show my prior profile` |
52
- | **Coding** | `write a python script that prints fibonacci numbers` |
53
60
 
54
61
  ## Agent mode
55
62
 
56
- 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.
63
+ Prior runs as an autonomous agent — it chains multiple tool calls together to complete complex tasks without you breaking them down step by step.
64
+
65
+ ```
66
+ > find where generate_image is defined, then change its default steps to 25
67
+ ```
68
+
69
+ Prior locates the file, searches for the code, reads it, and makes a surgical edit — all in one go.
70
+
71
+ ## Attach files with `@`
72
+
73
+ Type `@` to pull a file into the conversation as context — an interactive picker appears (↑/↓ to select, Tab/Enter to insert).
57
74
 
58
75
  ```
59
- > find all .js files in this project and tell me which one is the largest
76
+ > summarize @src/server.js and suggest improvements
60
77
  ```
61
78
 
62
- Prior will list the directory, check file sizes, and report back — all in one go.
79
+ ## One-shot mode
80
+
81
+ Run a single prompt and exit — scriptable and pipe-able, no chat session.
82
+
83
+ ```bash
84
+ prior run "explain what this project does"
85
+ cat error.log | prior run "what's causing this error?"
86
+ prior run --yes "in config.js bump the timeout to 30s" # --yes auto-approves edits
87
+ ```
63
88
 
64
89
  ## Slash commands
65
90
 
@@ -71,23 +96,32 @@ Prior will list the directory, check file sizes, and report back — all in one
71
96
  | `/load <name>` | Load a saved session |
72
97
  | `/saves` | List all saved sessions |
73
98
  | `/delete <name>` | Delete a saved session |
99
+ | `/compact` | Compress the conversation to free up context |
100
+ | `/learn` | Scan the current directory into a `prior.md` project context |
101
+ | `/usage` | Show today's token usage |
74
102
  | `/timer <duration>` | Start a countdown timer (e.g. `30s`, `5m`, `1m30s`) |
75
- | `/update` | Check for updates and install if behind |
103
+ | `/update` | Check for updates and install if behind (works for npm and the exe) |
76
104
  | `/uncensored` | Load Prior Uncensored model |
77
105
  | `/censored` | Load Prior Standard model |
78
106
  | `/exit` | Exit the CLI |
79
107
 
80
108
  ## Tips
81
109
 
110
+ - **Attach files** — type `@` for an interactive file picker that adds a file's contents as context
82
111
  - **Multiline input** — end a line with `\` and press Enter to continue on the next line
83
112
  - **Clipboard images** — press `Alt+V` to attach an image from your clipboard
84
113
  - **Cancel** — press `Ctrl+C` to cancel a running response
85
114
 
86
115
  ## Requirements
87
116
 
88
- - Node.js 16+
117
+ - Node.js 16+ (npm install), **or** the standalone `prior.exe` — no Node needed
89
118
  - A [Prior Network](https://priornetwork.com) account
90
119
 
120
+ ## Maintainers
121
+
122
+ See **[guide.md](guide.md)** for the release process — versioning, publishing to npm,
123
+ building/attaching the standalone `prior.exe`, the self-updater, and the CI workflows.
124
+
91
125
  ## License
92
126
 
93
127
  MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prior-cli",
3
- "version": "1.7.14",
4
- "description": "Prior Network AI — command-line interface",
3
+ "version": "1.7.15",
4
+ "description": "Agentic AI in your terminal write & edit code, search your codebase, research the web, run commands, generate images, and automate Prior services.",
5
5
  "author": "Prior Network",
6
6
  "homepage": "https://priornetwork.com",
7
7
  "repository": {
@@ -30,7 +30,14 @@
30
30
  "keywords": [
31
31
  "prior",
32
32
  "ai",
33
- "cli"
33
+ "cli",
34
+ "agent",
35
+ "agentic",
36
+ "ai-agent",
37
+ "coding-assistant",
38
+ "terminal",
39
+ "llm",
40
+ "chatbot"
34
41
  ],
35
42
  "license": "MIT",
36
43
  "files": [