cli-surf 0.11.0 → 0.12.1
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 +7 -3
- package/cli.js +740 -259
- package/cliMcp.js +553 -0
- package/cliPrompt.js +104 -17
- package/cliTools.js +333 -13
- package/cliUi.js +77 -22
- package/opusModels.js +169 -16
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
# surf
|
|
1
|
+
# cli-surf
|
|
2
2
|
|
|
3
3
|
Terminal client for Surf messenger (`surf` / `opus` commands) — chat, models, usage and files with AI limits shared with the messenger.
|
|
4
4
|
|
|
5
|
-
## Install (one command, like
|
|
5
|
+
## Install (one command, like Codex)
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
npm install -g surf
|
|
8
|
+
npm install -g cli-surf
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Requires Node.js 22+. No other dependencies.
|
|
12
12
|
|
|
13
|
+
The CLI connects to `https://surf-app.xyz` by default. For local development,
|
|
14
|
+
use `--server http://localhost:3001` or set `SURF_SERVER`.
|
|
15
|
+
|
|
13
16
|
## First run
|
|
14
17
|
|
|
15
18
|
```sh
|
|
@@ -32,6 +35,7 @@ surf
|
|
|
32
35
|
- `surf models` — available models
|
|
33
36
|
- `surf get <url> [--open]` — download Opus attachments
|
|
34
37
|
- `surf login`, `surf logout`, `surf whoami`
|
|
38
|
+
- `surf mcp [list|add|remove|test]` — MCP servers for the agent (like Codex)
|
|
35
39
|
|
|
36
40
|
Inside chat: `/usage`, `/model`, `/permissions`, `/skills`, `/clear`, `/help`, `/exit`. `/permissions` saves one of three modes: always ask, ask only for important actions (default), or never ask.
|
|
37
41
|
Drag & drop files into the terminal to attach them (`[image N]` chips).
|