prettiflow 0.15.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/README.md +90 -0
- package/dist/dist-DcHX2r7D.mjs +1258 -0
- package/dist/from-crPBEGsK.mjs +3849 -0
- package/dist/main.d.mts +21 -0
- package/dist/main.mjs +177944 -0
- package/dist/multipart-parser-CW5jlp3F.mjs +299 -0
- package/dist/src-CeUdnMA4.mjs +1182 -0
- package/package.json +94 -0
- package/scripts/postinstall/migrate.mjs +351 -0
- package/scripts/postinstall/reach.mjs +457 -0
- package/scripts/postinstall/ui.mjs +458 -0
- package/scripts/postinstall.mjs +269 -0
package/README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# @prettiflow/prettiflow
|
|
2
|
+
|
|
3
|
+
> The Starting Point for Next-Gen Agents
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@prettiflow/prettiflow) [](LICENSE) [](https://prettiflow.github.io/prettiflow/en/)
|
|
6
|
+
|
|
7
|
+
## What is PrettiFlow CLI
|
|
8
|
+
|
|
9
|
+
PrettiFlow CLI is an AI coding agent that runs in your terminal. It can read and edit code, run shell commands, search files, fetch web pages, and choose the next step based on the feedback it receives. It works out of the box with PrettiFlow's PrettiFlow models and can also be configured to use other compatible providers.
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
The recommended install path is the official script. It does not require Node.js to be installed first.
|
|
14
|
+
|
|
15
|
+
- **macOS / Linux**:
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
curl -fsSL https://code.prettiflow.com/prettiflow/install.sh | bash
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
- **Windows (PowerShell)**:
|
|
22
|
+
|
|
23
|
+
```powershell
|
|
24
|
+
irm https://code.prettiflow.com/prettiflow/install.ps1 | iex
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
> On Windows, install [Git for Windows](https://gitforwindows.org/) before first launch because PrettiFlow CLI uses the bundled Git Bash as its shell environment. If Git Bash is installed in a custom location, set `PRETTIFLOW_SHELL_PATH` to the absolute path of `bash.exe`.
|
|
28
|
+
|
|
29
|
+
Then run it with a new Terminal session:
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
prettiflow --version
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Alternative: npm
|
|
36
|
+
|
|
37
|
+
If you prefer npm, use Node.js 22.19.0 or later:
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
npm install -g @prettiflow/prettiflow
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Or with pnpm:
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
pnpm add -g @prettiflow/prettiflow
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
For upgrade and uninstall instructions, see the [Getting Started guide](https://prettiflow.github.io/prettiflow/en/guides/getting-started).
|
|
50
|
+
|
|
51
|
+
## Quick Start
|
|
52
|
+
|
|
53
|
+
Open a project and start the interactive UI:
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
cd your-project
|
|
57
|
+
prettiflow
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
On first launch, run `/login` inside PrettiFlow CLI and choose either PrettiFlow OAuth or a PrettiFlow Platform API key. After login, try a first task:
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
Take a look at this project and explain the main directories.
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Key Features
|
|
67
|
+
|
|
68
|
+
- **Single-binary distribution.** Install with one command — no Node.js setup, no PATH gymnastics, no global module conflicts.
|
|
69
|
+
- **Blazing-fast startup.** The TUI is ready in milliseconds, so opening a session never feels heavy.
|
|
70
|
+
- **Polished TUI.** A carefully tuned interface designed for long, focused agent sessions.
|
|
71
|
+
- **Video input.** Drop a screen recording or demo clip into the chat — let the agent watch instead of typing out what's hard to describe in words.
|
|
72
|
+
- **AI-native MCP configuration.** Add, edit, and authenticate Model Context Protocol servers conversationally via `/mcp-config` — no hand-editing JSON.
|
|
73
|
+
- **Subagents for focused, parallel work.** Dispatch built-in `coder`, `explore`, and `plan` subagents in isolated context windows; the main conversation stays clean.
|
|
74
|
+
- **Lifecycle hooks.** Run local commands at key points — gate risky tool calls, audit decisions, fire desktop notifications, wire into your own automation.
|
|
75
|
+
|
|
76
|
+
## Documentation
|
|
77
|
+
|
|
78
|
+
- Full docs: https://prettiflow.github.io/prettiflow/en/
|
|
79
|
+
- 中文文档: https://prettiflow.github.io/prettiflow/zh/
|
|
80
|
+
- Getting Started: https://prettiflow.github.io/prettiflow/en/guides/getting-started
|
|
81
|
+
|
|
82
|
+
## Repository & Issues
|
|
83
|
+
|
|
84
|
+
- Source: https://github.com/PrettiFlow/prettiflow
|
|
85
|
+
- Issues: https://github.com/PrettiFlow/prettiflow/issues
|
|
86
|
+
- Security: see SECURITY.md in the main repository
|
|
87
|
+
|
|
88
|
+
## License
|
|
89
|
+
|
|
90
|
+
MIT
|