pisper 0.0.1 → 0.0.2
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.en.md +14 -13
- package/README.md +14 -13
- package/package.json +3 -3
package/README.en.md
CHANGED
|
@@ -93,15 +93,11 @@ See the [Pisper project site](https://ling-kong-ran.github.io/pisper/) for the p
|
|
|
93
93
|
|
|
94
94
|
## Data Safety & Privacy
|
|
95
95
|
|
|
96
|
-
Pisper is local-first and does not provide a
|
|
96
|
+
Pisper is local-first and does not provide a cloud service that hosts or relays conversations. Sessions and settings are stored under `~/.pisper/agent` by default; set `PISPER_AGENT_DIR` to move them.
|
|
97
97
|
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
- **Controllable memory:** automatically inferred conversation memories remain pending and cannot affect recall until confirmed. You can reject candidates, delete individual memories, or delete sessions; deletion removes the associated content and retrieval data.
|
|
102
|
-
- **Explicit outbound boundaries:** regular prompts, attachments, and tool results are not globally rewritten or anonymized. Model calls send the required context directly to your configured Provider. Remote MCP, Web search, image/video generation, and messaging channels send their corresponding requests to those third parties only when enabled and used. Model-based memory extraction and semantic summaries apply the known-format redaction above before calling the active Provider.
|
|
103
|
-
|
|
104
|
-
> **Important boundary:** redaction is defense in depth against accidental disclosure of common credential formats. It is not complete DLP, a sandbox, or end-to-end encryption, and it cannot recognize every sensitive value in free-form text. Provider and channel credentials currently live in the local Agent data directory rather than an operating-system keychain. Protect that directory and its backups, review prompts, files, and tool arguments before sending, and follow the privacy policy of each configured third party.
|
|
98
|
+
- The Runtime listens on `127.0.0.1` by default, and Pi telemetry is disabled by default.
|
|
99
|
+
- Model calls and enabled remote services such as MCP, Web search, and messaging receive the data required for each request.
|
|
100
|
+
- Common credential formats are redacted at storage and display boundaries, but this is not a replacement for DLP or end-to-end encryption. Protect the local Agent data directory and its backups.
|
|
105
101
|
|
|
106
102
|
<a id="desktop-pet"></a>
|
|
107
103
|
|
|
@@ -148,22 +144,27 @@ sudo apt install ./Pisper-*-linux-amd64.deb
|
|
|
148
144
|
|
|
149
145
|
### Terminal Client (TUI)
|
|
150
146
|
|
|
151
|
-
With Node.js 20+, you can install the Pisper CLI through npm:
|
|
147
|
+
With Node.js 20+, you can install the Pisper CLI through npm. Installation obtains and verifies the TUI and Runtime for the current platform; it does not install the desktop shell or Web frontend:
|
|
152
148
|
|
|
153
149
|
```bash
|
|
154
150
|
npm install -g pisper
|
|
155
151
|
pisper
|
|
156
152
|
```
|
|
157
153
|
|
|
154
|
+
After entering the TUI for the first time, use `/apikey` to choose a Provider and save its API key in a masked input. For visual configuration, run `pisper web`; Pisper installs the signed Web frontend on demand and opens an authenticated, localhost-only settings page in your default browser. **Save Provider settings** does not change the default model; only **Set as default Provider** changes the default for later sessions.
|
|
155
|
+
|
|
158
156
|
After installing the desktop app, you can also install the `pisper` command from **Settings → Terminal**. The first installation remains explicit; after later desktop updates restart Pisper, it automatically refreshes this managed terminal client:
|
|
159
157
|
|
|
160
158
|
```bash
|
|
161
|
-
pisper
|
|
162
|
-
pisper resume
|
|
163
|
-
pisper doctor
|
|
159
|
+
pisper # start a new conversation
|
|
160
|
+
pisper resume # resume from a list across all workspaces
|
|
161
|
+
pisper doctor # diagnose the runtime
|
|
162
|
+
pisper web # install and open the optional Web settings
|
|
163
|
+
pisper update --check # check TUI, Runtime, and optional Web updates
|
|
164
|
+
pisper --help # show complete onboarding and command help
|
|
164
165
|
```
|
|
165
166
|
|
|
166
|
-
See the **[Pisper TUI user guide](./src-tui/README.en.md)** for installation, commands, keyboard controls, attachments, execution modes, and approvals.
|
|
167
|
+
`pisper update all` updates only the TUI and Runtime. Web remains opt-in and can be updated separately with `pisper update web`. See the **[Pisper TUI user guide](./src-tui/README.en.md)** for installation, commands, keyboard controls, attachments, execution modes, and approvals.
|
|
167
168
|
|
|
168
169
|
### Run from Source
|
|
169
170
|
|
package/README.md
CHANGED
|
@@ -93,15 +93,11 @@ Pisper 是基于 [Pi Coding Agent](https://github.com/earendil-works/pi/tree/mai
|
|
|
93
93
|
|
|
94
94
|
## 数据安全与隐私
|
|
95
95
|
|
|
96
|
-
Pisper
|
|
96
|
+
Pisper 是本地优先应用,不提供托管或中转会话的云服务。会话和配置默认保存在本机 `~/.pisper/agent`,也可通过 `PISPER_AGENT_DIR` 更改位置。
|
|
97
97
|
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
- **记忆可控**:自动推断的会话记忆先进入待确认区,未确认前不参与召回;用户可以拒绝候选、删除单条记忆或删除会话,删除操作会清除对应正文与检索数据。
|
|
102
|
-
- **外发边界明确**:普通 Prompt、附件、工具结果不会被全局改写或匿名化。调用模型时,必要上下文会直接发送到你配置的 Provider;启用远程 MCP、Web 搜索、图像/视频生成或消息渠道时,相应请求也会发送给该第三方。记忆提取和语义摘要如使用模型,会先执行上述已知格式脱敏,再调用当前 Provider。
|
|
103
|
-
|
|
104
|
-
> **重要边界:** 脱敏是降低常见凭据意外泄露风险的纵深防护,不是完整的 DLP、沙箱或端到端加密,也无法识别所有自由文本中的敏感数据。Provider 和渠道凭据目前保存在本机 Agent 数据目录,而不是操作系统钥匙串;请保护该目录与备份,并在发送前检查 Prompt、文件和工具参数,同时遵守所选第三方的隐私政策。
|
|
98
|
+
- Runtime 默认只监听 `127.0.0.1`,Pi 遥测默认关闭。
|
|
99
|
+
- 调用模型或启用远程 MCP、Web 搜索和消息渠道时,必要数据会发送给你配置的第三方。
|
|
100
|
+
- 常见凭据格式会在存储和展示边界脱敏,但这不能替代 DLP 或端到端加密。凭据保存在本机 Agent 数据目录,请妥善保护该目录和备份。
|
|
105
101
|
|
|
106
102
|
<a id="desktop-pet"></a>
|
|
107
103
|
|
|
@@ -148,22 +144,27 @@ sudo apt install ./Pisper-*-linux-amd64.deb
|
|
|
148
144
|
|
|
149
145
|
### 终端客户端(TUI)
|
|
150
146
|
|
|
151
|
-
使用 Node.js 20+ 时,也可通过 npm 安装 Pisper CLI
|
|
147
|
+
使用 Node.js 20+ 时,也可通过 npm 安装 Pisper CLI。安装过程会为当前平台获取并验证 TUI 与 Runtime;不会安装桌面壳或 Web 前端:
|
|
152
148
|
|
|
153
149
|
```bash
|
|
154
150
|
npm install -g pisper
|
|
155
151
|
pisper
|
|
156
152
|
```
|
|
157
153
|
|
|
154
|
+
首次进入 TUI 后使用 `/apikey` 选择 Provider 并在掩码输入框中保存 API Key。需要可视化配置时,运行 `pisper web`,Pisper 会按需安装签名 Web 前端并在默认浏览器打开仅监听本机的认证配置页。配置页中的 **保存 Provider 配置** 不会修改默认模型;只有点击 **设为默认 Provider** 才会切换后续会话的默认模型。
|
|
155
|
+
|
|
158
156
|
安装桌面版后,也可以在 **设置 → 终端** 中安装 `pisper` 命令。首次安装由你主动确认;之后桌面应用更新并重启时,Pisper 会自动刷新这份已托管的终端客户端:
|
|
159
157
|
|
|
160
158
|
```bash
|
|
161
|
-
pisper
|
|
162
|
-
pisper resume
|
|
163
|
-
pisper doctor
|
|
159
|
+
pisper # 新建会话
|
|
160
|
+
pisper resume # 从所有工作目录的交互列表中恢复会话
|
|
161
|
+
pisper doctor # 诊断运行环境
|
|
162
|
+
pisper web # 安装并打开可选 Web 配置页
|
|
163
|
+
pisper update --check # 检查 TUI、Runtime 和可选 Web 更新
|
|
164
|
+
pisper --help # 查看完整上手和命令说明
|
|
164
165
|
```
|
|
165
166
|
|
|
166
|
-
|
|
167
|
+
`pisper update all` 只更新 TUI 与 Runtime;Web 始终保持按需安装,可使用 `pisper update web` 单独更新。安装、命令、快捷键、附件、执行模式和审批说明见 **[Pisper TUI 使用指南](./src-tui/README.md)**。
|
|
167
168
|
|
|
168
169
|
### 从源码运行
|
|
169
170
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pisper",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Pisper CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"pisper": {
|
|
42
42
|
"repository": "ling-kong-ran/pisper",
|
|
43
|
-
"tuiVersion": "0.4.
|
|
44
|
-
"runtimeVersion": "0.4.
|
|
43
|
+
"tuiVersion": "0.4.30",
|
|
44
|
+
"runtimeVersion": "0.4.30"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public",
|