@limecloud/lime 1.146.0 → 1.148.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 +67 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -30,6 +30,12 @@ lime exec "review this diff"
|
|
|
30
30
|
lime exec --json "review this diff"
|
|
31
31
|
lime exec --jsonl "review this diff"
|
|
32
32
|
|
|
33
|
+
# Codex-shaped approval/sandbox controls (also accepted before exec/resume)
|
|
34
|
+
lime exec --sandbox workspace-write "review this diff"
|
|
35
|
+
lime exec --ask-for-approval on-request "run the checks"
|
|
36
|
+
lime exec --approve-for-me "apply the safe fixes"
|
|
37
|
+
lime exec --dangerously-bypass-approvals-and-sandbox "run in an externally sandboxed host"
|
|
38
|
+
|
|
33
39
|
# 只读检查 execpolicy prefix rules
|
|
34
40
|
lime execpolicy check --rules ./rules/policy.rules --pretty git push origin main
|
|
35
41
|
|
|
@@ -45,12 +51,73 @@ lime thread list
|
|
|
45
51
|
lime thread show <thread-id> --include-turns
|
|
46
52
|
lime mcp list
|
|
47
53
|
lime skills list
|
|
54
|
+
lime plugin list
|
|
55
|
+
lime plugin list --available --json --plugin-cwd ./workspace
|
|
56
|
+
lime plugin add ./path/to/plugin --marketplace workspace --source repo
|
|
57
|
+
lime plugin read <plugin-id> --json
|
|
58
|
+
lime plugin search <term> --scope workspace --plugin-cwd ./workspace
|
|
59
|
+
lime plugin enable <plugin-id>
|
|
60
|
+
lime plugin disable <plugin-id>
|
|
61
|
+
lime plugin remove <plugin-id>
|
|
48
62
|
```
|
|
49
63
|
|
|
50
64
|
`--json` 输出可读的稳定 JSON;`--jsonl` 输出单行 JSON envelope,二者互斥。`completion` 从同一命令树生成 bash、zsh、fish、PowerShell 和 elvish 脚本。
|
|
51
65
|
|
|
66
|
+
Plugin 管理只通过 App Server JSON-RPC 的当前 Plugin v3 catalog。`plugin list` 默认发现用户目录、
|
|
67
|
+
当前工作目录和已配置的本地 marketplace;`--plugin-cwd <DIR>` 显式发现指定目录下的
|
|
68
|
+
`.agents/plugins/marketplace.json`。`--available` 仅允许和 `--json` 一起使用,用于表达需要同时
|
|
69
|
+
查看未安装条目的意图;JSON 默认只保留已安装条目,`--available` 才保留 catalog 返回的全部
|
|
70
|
+
installed/available 状态。
|
|
71
|
+
Codex 的远程 marketplace、账号、缓存刷新和 marketplace add/remove/upgrade 不属于 Lime current,
|
|
72
|
+
不会由 CLI 伪造或绕过 App Server。
|
|
73
|
+
|
|
74
|
+
权限选项同样适用于默认 `lime`、`lime tui` 和 `lime resume`。`--approve-for-me` 的隐藏 alias
|
|
75
|
+
是 `--not-so-yolo`;危险绕过的 alias 是 `--yolo`。root 级权限参数会继承到 `exec`/`resume`,
|
|
76
|
+
子命令显式权限组覆盖 root。`--permissions <PROFILE>` 与显式 sandbox 互斥,冲突会在连接
|
|
77
|
+
App Server 前直接失败。
|
|
78
|
+
|
|
52
79
|
交互式 TUI 支持 `zh-CN`、`zh-TW`、`en-US`、`ja-JP`、`ko-KR`。可通过默认 `lime`、`lime tui` 或 `lime resume` 的 `--locale <LOCALE>` 指定;未指定时按 `LIME_LOCALE`、`LC_ALL`、`LANG` 解析,未知语言回退到 `en-US`。`exec` 与管理命令的 JSON 合同保持语言无关。
|
|
53
80
|
|
|
81
|
+
### TUI 按键配置
|
|
82
|
+
|
|
83
|
+
TUI 与 Desktop 共用 Lime 用户配置 owner。`lime`、`lime tui` 和独立 `lime resume` picker 会在
|
|
84
|
+
进入 alternate screen 前通过 App Server `config/read` 读取 `tui.keymap`,并在当前进程内冻结为
|
|
85
|
+
不可变 snapshot;修改后需重启 TUI。
|
|
86
|
+
|
|
87
|
+
```yaml
|
|
88
|
+
tui:
|
|
89
|
+
keymap:
|
|
90
|
+
global:
|
|
91
|
+
find_transcript: ctrl-x f
|
|
92
|
+
pager:
|
|
93
|
+
find: [f3, /]
|
|
94
|
+
page_down: [page-down, space, ctrl-f]
|
|
95
|
+
agents:
|
|
96
|
+
resume: []
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
当前支持的 context/action:
|
|
100
|
+
|
|
101
|
+
- `global`:`open_agents`、`open_transcript`、`find_transcript`
|
|
102
|
+
- `pager`:`scroll_up`、`scroll_down`、`page_up`、`page_down`、`half_page_up`、
|
|
103
|
+
`half_page_down`、`jump_top`、`jump_bottom`、`close`、`close_transcript`、`find`
|
|
104
|
+
- `agents`:`resume`、`search`、`new_task`、`rename`、`stop`、`toggle_grouping`
|
|
105
|
+
- `list`:`move_up`、`move_down`、`move_left`、`move_right`、`page_up`、`page_down`、
|
|
106
|
+
`jump_top`、`jump_bottom`、`accept`、`cancel`;当前 resume/fork、模型/推理强度 picker、
|
|
107
|
+
`/subagents` 和 Agent Center 消费,其它选择器尚未接入。
|
|
108
|
+
|
|
109
|
+
`/subagents` 与模型选择共用底部无边框列表,默认定位当前 canonical 线程,显示 Agent 路径、
|
|
110
|
+
状态点和线程 ID。确认/返回提示来自真实配置;分页按实际可见条目计算,Ctrl+D 不再固定关闭。
|
|
111
|
+
|
|
112
|
+
会话列表的导航、确认/取消和底部提示使用同一配置 snapshot;显式 unbind 不回退 Enter/Esc。
|
|
113
|
+
默认 `Ctrl+F/Ctrl+B` 翻页,Tab 聚焦后用左右键或 `Ctrl+H/Ctrl+L` 改变筛选/状态/排序;旧
|
|
114
|
+
`Ctrl+F` 筛选、`Ctrl+S` 状态、`Ctrl+R` 排序不保留。可打印导航键优先编辑搜索;
|
|
115
|
+
`Ctrl+C`、`Ctrl+O/T/E`、Tab/Shift+Tab 和 Backspace 为 picker 保留,冲突配置显式拒绝。
|
|
116
|
+
|
|
117
|
+
值可为单个按键字符串、有序 alternatives 数组、最多两段且以空格分隔的 chord,或空数组
|
|
118
|
+
显式 unbind。未知字段、非法键名和同 context 冲突会 fail closed。composer/editor/Vim 尚未接入,
|
|
119
|
+
也没有 TUI 私有配置文件或按键环境变量。
|
|
120
|
+
|
|
54
121
|
本地连接默认启动同目录或 `PATH` 中的 `app-server`。可用 `LIME_APP_SERVER_BIN` 或 `--app-server <PATH>` 覆盖。需要连接远端 App Server 时使用 Codex 形状的参数:
|
|
55
122
|
|
|
56
123
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limecloud/lime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.148.0",
|
|
4
4
|
"packageManager": "pnpm@9.15.9",
|
|
5
5
|
"description": "Lime CLI is an agent that runs in your terminal.",
|
|
6
6
|
"bin": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"bin/lime.js"
|
|
21
21
|
],
|
|
22
22
|
"optionalDependencies": {
|
|
23
|
-
"@limecloud/lime-linux-x64": "1.
|
|
24
|
-
"@limecloud/lime-darwin-x64": "1.
|
|
25
|
-
"@limecloud/lime-darwin-arm64": "1.
|
|
26
|
-
"@limecloud/lime-win32-x64": "1.
|
|
23
|
+
"@limecloud/lime-linux-x64": "1.148.0-linux-x64",
|
|
24
|
+
"@limecloud/lime-darwin-x64": "1.148.0-darwin-x64",
|
|
25
|
+
"@limecloud/lime-darwin-arm64": "1.148.0-darwin-arm64",
|
|
26
|
+
"@limecloud/lime-win32-x64": "1.148.0-win32-x64"
|
|
27
27
|
}
|
|
28
28
|
}
|