flavor-code 1.4.1-beta.1 → 1.4.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.md CHANGED
@@ -154,7 +154,7 @@ Runtime behavior and configuration conventions for OAuth PKCE are described in t
154
154
 
155
155
  ### CLI
156
156
 
157
- Run `flavor` and type natural language. Typing `/` shows built-in commands, plugin commands, and Skills.
157
+ Run `flavor` and type natural language. Typing `/` shows built-in commands, plugin commands, and Skills. A leading `/name` is dispatched only when that name is registered; otherwise the complete text is sent as an ordinary prompt. On macOS, use `Command+C` / `Command+V` for copy and paste; `Ctrl+C` always stops the active turn or exits.
158
158
 
159
159
  Common commands:
160
160
 
@@ -166,6 +166,7 @@ Common commands:
166
166
  | `/permissions` | Switch permission modes |
167
167
  | `/tasks` | View task plans and sub-agent status |
168
168
  | `/compact` | Manually compact long session context |
169
+ | `/paste-image` | Ignore clipboard text and explicitly attach the clipboard image |
169
170
  | `/checkpoint`, `/tree` | Save state, view the session tree |
170
171
  | `/rewind`, `/unrevert`, `/fork` | Resume or fork sessions |
171
172
  | `/memory`, `/remember`, `/forget`, `/forget-cold` | Manage long-term memory; `/forget-cold` purges cold entries and their files |
@@ -299,7 +300,9 @@ Project runtime data lives under `.flavor/`:
299
300
 
300
301
  Long-term memory distinguishes user preferences, behavioral feedback, project conventions, and external references. Automatic extraction only keeps high-confidence candidates and provides confirm, ignore, and delete actions; secrets, tokens, raw tool output, and model guesses are rejected.
301
302
 
302
- Image prompts support PNG, JPEG, and WebP, with a 5 MiB per-image maximum and up to 5 images per prompt. The desktop app supports picking or drag-and-drop; CLI clipboard images currently work on Windows and macOS.
303
+ Image prompts support PNG, JPEG, and WebP, with a 5 MiB per-image maximum and up to 5 images per prompt. The desktop app supports picking or drag-and-drop; CLI clipboard images currently work on Windows and macOS. Standard CLI paste prefers clipboard text and creates an image attachment only when no usable text flavor is available; use `/paste-image` when both flavors exist and the image is intended.
304
+
305
+ CLI tool receipts are collapsed by default. Press `Ctrl+O` on Windows, Linux, or macOS to expand or collapse tool output globally. This shortcut affects tool output only; user prompts and assistant replies keep the same conversation window. On macOS, `Command+O` remains available to the terminal or host application.
303
306
 
304
307
  ## Permissions & Sandbox
305
308
 
package/README.zh-CN.md CHANGED
@@ -154,7 +154,7 @@ OAuth PKCE 的运行时行为与配置约定见 [PKCE 规范](./docs/specs/pkce-
154
154
 
155
155
  ### CLI
156
156
 
157
- 直接运行 `flavor` 后输入自然语言即可。输入 `/` 会显示内置命令、插件命令和 Skill。
157
+ 直接运行 `flavor` 后输入自然语言即可。输入 `/` 会显示内置命令、插件命令和 Skill。只有 `/名称` 命中已注册项时才会分派为命令,否则完整文本会作为普通 prompt 发送。在 macOS 上使用 `Command+C` / `Command+V` 复制和粘贴;`Ctrl+C` 始终用于停止当前回合或退出。
158
158
 
159
159
  常用命令:
160
160
 
@@ -166,6 +166,7 @@ OAuth PKCE 的运行时行为与配置约定见 [PKCE 规范](./docs/specs/pkce-
166
166
  | `/permissions` | 切换权限模式 |
167
167
  | `/tasks` | 查看任务计划和子 Agent 状态 |
168
168
  | `/compact` | 手动压缩长会话上下文 |
169
+ | `/paste-image` | 忽略剪贴板文字,明确添加剪贴板图片 |
169
170
  | `/checkpoint`、`/tree` | 保存现场、查看会话树 |
170
171
  | `/rewind`、`/unrevert`、`/fork` | 恢复或分叉会话 |
171
172
  | `/memory`、`/remember`、`/forget`、`/forget-cold` | 管理长期记忆;`/forget-cold` 清空 cold 记忆及其文件 |
@@ -299,7 +300,9 @@ Skill 是带有 YAML 头信息的 `SKILL.md`,放在 `.flavor/skills/<name>/`
299
300
 
300
301
  长期记忆会区分用户偏好、行为反馈、项目约定和外部引用。自动提取只保存高置信候选,并提供确认、忽略和删除入口;密钥、Token、原始工具输出和模型猜测会被拒绝。
301
302
 
302
- 图片提示支持 PNG、JPEG 和 WebP,单图最大 5 MiB、每次最多 5 张。桌面端支持选择或拖放;CLI 剪贴板图片目前支持 Windows 和 macOS。
303
+ 图片提示支持 PNG、JPEG 和 WebP,单图最大 5 MiB、每次最多 5 张。桌面端支持选择或拖放;CLI 剪贴板图片目前支持 Windows 和 macOS。CLI 标准粘贴会优先使用剪贴板文字,只有没有可用文字时才把剪贴板图像添加为附件;剪贴板同时含有文字和图片但需要图片时,使用 `/paste-image`。
304
+
305
+ CLI 工具回执默认折叠。在 Windows、Linux 和 macOS 上均使用 `Ctrl+O` 全局展开或收起工具输出;该快捷键只影响工具输出,用户输入和助手回复的对话窗口不会随之变化。macOS 的 `Command+O` 继续保留给终端或宿主应用。
303
306
 
304
307
  ## 权限与沙箱
305
308