fix: 選了做事的電腦之後,瀏覽器和螢幕步驟不再跑到使用者自己的 Mac
使用者把「工程」「FSD 追蹤專員」的做事的電腦設成 nobledesktop(雲端大腦所在的伺服器)。那台還沒裝瀏覽器時,Bot 沒指名電腦的 browser_open/browser_read 一路退到「使用者的電腦」,在使用者的 MacBook 上開 Brave(紀錄裡的結果是「[王性驊的MacBook Pro (2)] 已在 AnyBot 瀏覽器…打開」)。 - browser_place:Bot 沒指名時,使用者選的電腦開不了瀏覽器就失敗並說為什麼(沒裝瀏覽器/要 Docker/SSH 沒有視窗),要 Bot 先問使用者、公開網頁用 web_fetch,不再換到別台。 - screen_target:選的電腦沒有螢幕(SSH)時同樣失敗,不換到別台的螢幕。 - keep_to_chosen:Bot 自己指名使用者沒提的電腦,就算選的那台做不了這種步驟也拉回去(在那裡說清楚做不了),不再留在使用者的 Mac 上跑。 - 只管「使用者選了別台」(chosen_by_person:做事的電腦不是 Bot 自己的);沒選過、用 Bot 自己的電腦而這裡沒有 Docker 時,照舊可以借使用者的瀏覽器和螢幕。 已驗證:cargo test --bin anybot 528 通過(新增 a_chosen_computer_keeps_its_steps_off_the_persons_mac:選 SSH 的 nobledesktop → 瀏覽器、螢幕都失敗並說明;Bot 指名 Mac → 拉回;使用者說「用我的電腦」→ 去 Mac;沒選過 → 照舊借 Mac);原本的 a_step_moved_back_to_the_chosen_computer_says_so 等都過。 未驗證:真的雲端大腦(要更新 nobledesktop 上的大腦才生效)。
This commit is contained in:
parent
a60b101eb4
commit
525a7fe56b
|
|
@ -805,6 +805,7 @@ AnyBot 是一個桌面聊天 App,介面和運作方式照 Grok Bot 重做。
|
||||||
- 操作螢幕和讀你自己的瀏覽器:一律在「你的電腦」。
|
- 操作螢幕和讀你自己的瀏覽器:一律在「你的電腦」。
|
||||||
- 其他工具:用 Bot 指定的電腦,沒指定就用預設電腦。
|
- 其他工具:用 Bot 指定的電腦,沒指定就用預設電腦。
|
||||||
- 指定的電腦不存在:「沒有「{名稱}」這台電腦。可以用:…」
|
- 指定的電腦不存在:「沒有「{名稱}」這台電腦。可以用:…」
|
||||||
|
- 你在 Bot 設定選了別台當「做事的電腦」(不是 Bot 自己的電腦):瀏覽器和螢幕步驟只在那台做。那台開不了瀏覽器(沒裝 Chrome/Brave…、用 SSH 連的)或沒有螢幕時,那一步停下來告訴 Bot 為什麼、要它先問你,不會改開在你自己的 Mac 上;Bot 自己指名你的 Mac 也一樣拉回選的那台。你在訊息裡指名哪一台(「用我的電腦開」)就照做。沒選過時(用 Bot 自己的電腦),它沒有螢幕或瀏覽器還是可以借你的。
|
||||||
2. **直接操作有開時**:第 3 步和第 5 步自動算已開。
|
2. **直接操作有開時**:第 3 步和第 5 步自動算已開。
|
||||||
3. **關卡一:電腦工具還沒開**
|
3. **關卡一:電腦工具還沒開**
|
||||||
- 詢問:「讓 {Bot} 使用電腦工具:{動作}\n(在 {電腦} 上)」
|
- 詢問:「讓 {Bot} 使用電腦工具:{動作}\n(在 {電腦} 上)」
|
||||||
|
|
@ -1252,7 +1253,7 @@ AnyBot 是一個桌面聊天 App,介面和運作方式照 Grok Bot 重做。
|
||||||
|
|
||||||
## 24. 操作螢幕(滑鼠、鍵盤、截圖)
|
## 24. 操作螢幕(滑鼠、鍵盤、截圖)
|
||||||
|
|
||||||
- 有螢幕的電腦:Bot 自己的電腦(Linux 桌面,Docker)、這台電腦、帳號裡其他開了「裝置連結」的電腦。每個螢幕工具都有 `computer` 參數;沒指定時用 Bot 的預設電腦。
|
- 有螢幕的電腦:Bot 自己的電腦(Linux 桌面,Docker)、這台電腦、帳號裡其他開了「裝置連結」的電腦。每個螢幕工具都有 `computer` 參數;沒指定時用 Bot 的預設電腦(你選的那台沒有螢幕時停下來說,不換到別台的螢幕)。
|
||||||
- **看:截圖上每個能點的東西都框起來、標了編號。** Bot 拿到的截圖上,每個按鈕、連結、輸入框、選單項目都有編號,另外附同樣編號的清單(例如「[21] 連結「Profile」」)。編號來自系統的無障礙資訊(Mac 的 AX、Linux 的 AT-SPI;Bot 的電腦裡網頁內容也有,Chromium 開了無障礙),所以網頁上的小圖示也有編號。只有被別的視窗擋住的按鈕不給編號(Mac 上逐一檢查最上層的視窗是不是同一個 App),免得點到別的 App。
|
- **看:截圖上每個能點的東西都框起來、標了編號。** Bot 拿到的截圖上,每個按鈕、連結、輸入框、選單項目都有編號,另外附同樣編號的清單(例如「[21] 連結「Profile」」)。編號來自系統的無障礙資訊(Mac 的 AX、Linux 的 AT-SPI;Bot 的電腦裡網頁內容也有,Chromium 開了無障礙),所以網頁上的小圖示也有編號。只有被別的視窗擋住的按鈕不給編號(Mac 上逐一檢查最上層的視窗是不是同一個 App),免得點到別的 App。
|
||||||
- Linux 上用前景視窗所屬程式的執行檔名稱去找 App(agent-desktop 認的是這個):Snap 版 Firefox 的視窗類別是「firefox_firefox」,程式是「firefox」,以前因此找不到、只剩一張沒有編號的截圖。
|
- Linux 上用前景視窗所屬程式的執行檔名稱去找 App(agent-desktop 認的是這個):Snap 版 Firefox 的視窗類別是「firefox_firefox」,程式是「firefox」,以前因此找不到、只剩一張沒有編號的截圖。
|
||||||
- Linux 上一個編號都沒有、而且桌面的無障礙開關(AT-SPI 的 IsEnabled)是關著時,AnyBot 會把它打開(跟螢幕閱讀器一樣),並告訴 Bot:「這台的無障礙介面原本是關著的,AnyBot 剛把它打開:之後打開的 App 才會有編號,已經開著的 App 要關掉重開。網頁請改用 browser_* 工具。」
|
- Linux 上一個編號都沒有、而且桌面的無障礙開關(AT-SPI 的 IsEnabled)是關著時,AnyBot 會把它打開(跟螢幕閱讀器一樣),並告訴 Bot:「這台的無障礙介面原本是關著的,AnyBot 剛把它打開:之後打開的 App 才會有編號,已經開著的 App 要關掉重開。網頁請改用 browser_* 工具。」
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ Bot 用 AnyBot 自己的瀏覽器上網、登入網站、點按、打字、送
|
||||||
|
|
||||||
- 別人傳來的訊息(訊息管道、團隊成員)那一輪不能用 AnyBot 瀏覽器、保險庫和 `sent`:瀏覽器帶著使用者的登入。公開網頁用 `web_fetch`。
|
- 別人傳來的訊息(訊息管道、團隊成員)那一輪不能用 AnyBot 瀏覽器、保險庫和 `sent`:瀏覽器帶著使用者的登入。公開網頁用 `web_fetch`。
|
||||||
- 同一個網站在不同電腦、不同設定檔的登入不共用;沒帶 `profile` 會用到別的設定檔。
|
- 同一個網站在不同電腦、不同設定檔的登入不共用;沒帶 `profile` 會用到別的設定檔。
|
||||||
|
- 使用者選了「做事的電腦」而那台開不了瀏覽器(沒裝 Chrome/Brave…、SSH):瀏覽器步驟回「使用者選的電腦「…」現在開不了 AnyBot 的瀏覽器」,不會開在使用者自己的 Mac 上。公開網頁改用 `web_fetch`,其他的先問使用者。
|
||||||
- 使用者自己的 Firefox 設定檔,如果他已經用平常的方式開著,要先請他關掉那個視窗,AnyBot 才開得起來。
|
- 使用者自己的 Firefox 設定檔,如果他已經用平常的方式開著,要先請他關掉那個視窗,AnyBot 才開得起來。
|
||||||
- 一模一樣的按鈕(例如每篇貼文都有的「回覆」)在清單裡只列一次;要點第二篇的,先 `open` 那篇貼文的網址再點。
|
- 一模一樣的按鈕(例如每篇貼文都有的「回覆」)在清單裡只列一次;要點第二篇的,先 `open` 那篇貼文的網址再點。
|
||||||
- 下拉選單用 `select`,`option` 填選項上看得到的字(給 `value` 也行,對下拉選單 `type` 也會改成選選項);什麼都沒給會報錯。
|
- 下拉選單用 `select`,`option` 填選項上看得到的字(給 `value` 也行,對下拉選單 `type` 也會改成選選項);什麼都沒給會報錯。
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
- 這台電腦(AnyBot 開著的這台,名字可以改):從 Bot 的「起始資料夾」開始。大腦放在伺服器上時,伺服器本身不在清單裡。
|
- 這台電腦(AnyBot 開著的這台,名字可以改):從 Bot 的「起始資料夾」開始。大腦放在伺服器上時,伺服器本身不在清單裡。
|
||||||
- SSH 電腦:自己加的,一個名稱加一個位址(例如 me@studio.local)。
|
- SSH 電腦:自己加的,一個名稱加一個位址(例如 me@studio.local)。
|
||||||
- 帳號裡的其他電腦:登入同一個帳號、打開「讓帳號裡的其他電腦使用這台」、而且現在在線上的 AnyBot(螢幕電腦、手腳電腦),經過帳號伺服器操作檔案、指令、瀏覽器、看畫面和點擊。
|
- 帳號裡的其他電腦:登入同一個帳號、打開「讓帳號裡的其他電腦使用這台」、而且現在在線上的 AnyBot(螢幕電腦、手腳電腦),經過帳號伺服器操作檔案、指令、瀏覽器、看畫面和點擊。
|
||||||
- 預設電腦:沒選就在 Bot 自己的電腦上做;使用者在 Bot 設定選了別台,或在訊息裡指名別台,才換過去。
|
- 預設電腦:沒選就在 Bot 自己的電腦上做;使用者在 Bot 設定選了別台,或在訊息裡指名別台,才換過去。選了別台之後,瀏覽器和螢幕步驟只在那台做:那台開不了瀏覽器或沒有螢幕,那一步失敗並說為什麼(要 Bot 先問使用者),不會改開在使用者自己的 Mac;Bot 自己指名別台也拉回選的那台,除非使用者在訊息裡指名。
|
||||||
- 可以用的電腦:每個 Bot 勾自己能用哪幾台,它自己的電腦一定可以;沒勾的看不到也不能用。同事名冊會寫每個 Bot 在哪幾台做事。
|
- 可以用的電腦:每個 Bot 勾自己能用哪幾台,它自己的電腦一定可以;沒勾的看不到也不能用。同事名冊會寫每個 Bot 在哪幾台做事。
|
||||||
- 「在這台電腦上執行」:一律允許/每次詢問(預設)/永不允許。只有使用者能打開,Bot 不能自己開。
|
- 「在這台電腦上執行」:一律允許/每次詢問(預設)/永不允許。只有使用者能打開,Bot 不能自己開。
|
||||||
- 傳到別的裝置:Bot 用 `send_to_device` 把檔案送到帳號裡另一台電腦(放進「下載/AnyBot」並跳通知)或手機;對方沒開機時大腦先收著,7 天內一上線就送到。使用者自己傳用「傳送到其他裝置」。
|
- 傳到別的裝置:Bot 用 `send_to_device` 把檔案送到帳號裡另一台電腦(放進「下載/AnyBot」並跳通知)或手機;對方沒開機時大腦先收著,7 天內一上線就送到。使用者自己傳用「傳送到其他裝置」。
|
||||||
|
|
|
||||||
78
src/agent.rs
78
src/agent.rs
|
|
@ -426,6 +426,7 @@ impl Drop for UsedBrowsers {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
enum BrowserAt {
|
enum BrowserAt {
|
||||||
Here,
|
Here,
|
||||||
Box,
|
Box,
|
||||||
|
|
@ -458,8 +459,25 @@ fn browser_place(job: &Job, name: &str, args: &str) -> Result<(BrowserAt, String
|
||||||
job.computers.iter().filter(|t| at(t).is_some()).map(|t| t.name.as_str()).collect::<Vec<_>>().join("、")));
|
job.computers.iter().filter(|t| at(t).is_some()).map(|t| t.name.as_str()).collect::<Vec<_>>().join("、")));
|
||||||
}
|
}
|
||||||
// Not named: the chosen computer's browser, then the person's, then any that has one.
|
// Not named: the chosen computer's browser, then the person's, then any that has one.
|
||||||
if let Some((b, n)) = job.computers.iter().find(|t| t.name == job.default_computer).and_then(|t| at(t).map(|b| (b, t.name.clone()))) {
|
if let Some(t) = job.computers.iter().find(|t| t.name == job.default_computer) {
|
||||||
return Ok((b, n));
|
if let Some(b) = at(t) {
|
||||||
|
return Ok((b, t.name.clone()));
|
||||||
|
}
|
||||||
|
// A computer the person chose: nothing opens anywhere else. (A bot sent to a server with
|
||||||
|
// no browser yet opened one on the person's own Mac, step after step.)
|
||||||
|
if chosen_by_person(job) {
|
||||||
|
let why = match &t.place {
|
||||||
|
tools::Place::Box { .. } | tools::Place::Sealed { .. } => "它要 Docker,這裡沒有",
|
||||||
|
tools::Place::Local { .. } => "那台沒有 Chrome、Brave、Edge、Chromium 或 Firefox",
|
||||||
|
_ => "用 SSH 連的電腦沒有瀏覽器視窗",
|
||||||
|
};
|
||||||
|
return Err(format!(
|
||||||
|
"使用者選的電腦「{}」現在開不了 AnyBot 的瀏覽器({why})。不要換到別台開,尤其不要開在使用者自己的電腦上。公開網頁用 web_fetch;要登入或操作的網頁,先告訴使用者:請他在「{}」裝瀏覽器、換做事的電腦,或在訊息裡指名一台。現在開得了瀏覽器的:{}。",
|
||||||
|
t.name,
|
||||||
|
t.name,
|
||||||
|
job.computers.iter().filter(|c| at(c).is_some()).map(|c| c.name.as_str()).collect::<Vec<_>>().join("、")
|
||||||
|
));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
let person = roles_now(job).person.and_then(|p| job.computers.iter().find(|t| t.name == p));
|
let person = roles_now(job).person.and_then(|p| job.computers.iter().find(|t| t.name == p));
|
||||||
match person.and_then(|t| at(t).map(|b| (b, t.name.clone()))).or_else(|| job.computers.iter().find_map(|t| at(t).map(|b| (b, t.name.clone())))) {
|
match person.and_then(|t| at(t).map(|b| (b, t.name.clone()))).or_else(|| job.computers.iter().find_map(|t| at(t).map(|b| (b, t.name.clone())))) {
|
||||||
|
|
@ -557,10 +575,12 @@ fn wrap_untrusted(name: &str, text: String) -> String {
|
||||||
fn keep_to_chosen(job: &Job, history: &[Message], name: &str, args: &str) -> (String, Option<String>) {
|
fn keep_to_chosen(job: &Job, history: &[Message], name: &str, args: &str) -> (String, Option<String>) {
|
||||||
let mut v = tools::args_of(args);
|
let mut v = tools::args_of(args);
|
||||||
let Some(named) = v.get("computer").and_then(|c| c.as_str()).map(|c| c.trim().to_string()).filter(|c| !c.is_empty()) else { return (args.to_string(), None) };
|
let Some(named) = v.get("computer").and_then(|c| c.as_str()).map(|c| c.trim().to_string()).filter(|c| !c.is_empty()) else { return (args.to_string(), None) };
|
||||||
// The chosen computer can't do this kind of step (no screen, no browser): moving it there
|
// The bot's own computer can't do this kind of step (no screen, no browser): moving it there
|
||||||
// would only fail, so the step stays where the bot sent it.
|
// would only fail, so the step stays where the bot sent it. A computer the person chose is
|
||||||
|
// different: the step goes there even so, and fails there with why — it doesn't run on
|
||||||
|
// another computer (their own Mac) that nobody asked for.
|
||||||
match job.computers.iter().find(|t| t.name == job.default_computer) {
|
match job.computers.iter().find(|t| t.name == job.default_computer) {
|
||||||
Some(chosen) if named != job.default_computer && can_do(chosen, name) => {}
|
Some(chosen) if named != job.default_computer && (can_do(chosen, name) || chosen_by_person(job)) => {}
|
||||||
_ => return (args.to_string(), None),
|
_ => return (args.to_string(), None),
|
||||||
}
|
}
|
||||||
let said = history.iter().rev().filter(|m| m.role == Role::User && !m.summary).take(3).map(|m| m.text.as_str()).collect::<Vec<_>>().join("\n");
|
let said = history.iter().rev().filter(|m| m.role == Role::User && !m.summary).take(3).map(|m| m.text.as_str()).collect::<Vec<_>>().join("\n");
|
||||||
|
|
@ -823,6 +843,13 @@ fn noted(moved: &std::collections::HashMap<String, String>, id: &str, text: &str
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A computer the step names that isn't among this bot's computers right now, in plain words.
|
/// A computer the step names that isn't among this bot's computers right now, in plain words.
|
||||||
|
/// The person chose this bot's computer (Bot 設定 › 做事的電腦): another one than the bot's own.
|
||||||
|
/// Then no step goes to another computer unless the person names it — the bot's own, whose
|
||||||
|
/// screen or browser may be missing (no Docker), still borrows the person's.
|
||||||
|
fn chosen_by_person(job: &Job) -> bool {
|
||||||
|
!job.default_computer.is_empty() && job.default_computer != job.roles.own
|
||||||
|
}
|
||||||
|
|
||||||
fn not_here(job: &Job, name: &str) -> String {
|
fn not_here(job: &Job, name: &str) -> String {
|
||||||
format!("「{name}」現在連不到:那台電腦可能沒開,或上面的 AnyBot 沒開、沒登入。請告訴使用者,等它連上再做(或問他要不要改用別台)。現在可以用:{}。絕對不要自己換到清單上的別台做同一件事——那台不是使用者指名的。", job.computers.iter().map(|t| t.name.as_str()).collect::<Vec<_>>().join("、"))
|
format!("「{name}」現在連不到:那台電腦可能沒開,或上面的 AnyBot 沒開、沒登入。請告訴使用者,等它連上再做(或問他要不要改用別台)。現在可以用:{}。絕對不要自己換到清單上的別台做同一件事——那台不是使用者指名的。", job.computers.iter().map(|t| t.name.as_str()).collect::<Vec<_>>().join("、"))
|
||||||
}
|
}
|
||||||
|
|
@ -864,9 +891,15 @@ fn screen_target(job: &Job, args: &str) -> Result<tools::Target, String> {
|
||||||
}
|
}
|
||||||
return Ok(t.clone());
|
return Ok(t.clone());
|
||||||
}
|
}
|
||||||
if let Some(t) = job.computers.iter().find(|t| t.name == job.default_computer && has_screen(t)) {
|
if let Some(t) = job.computers.iter().find(|t| t.name == job.default_computer) {
|
||||||
|
if has_screen(t) {
|
||||||
return Ok(t.clone());
|
return Ok(t.clone());
|
||||||
}
|
}
|
||||||
|
// A computer the person chose, with no screen to work (SSH): not someone else's screen.
|
||||||
|
if chosen_by_person(job) {
|
||||||
|
return Err(format!("使用者選的電腦「{}」不能操作螢幕(用 SSH 連的電腦只有檔案和指令)。不要換到別台的螢幕,尤其不要用使用者自己的電腦;先告訴使用者,請他換做事的電腦,或在訊息裡指名要用哪台的螢幕。", t.name));
|
||||||
|
}
|
||||||
|
}
|
||||||
// Not named: a screen that is really there — the bot's desktop, this computer's, then one of
|
// Not named: a screen that is really there — the bot's desktop, this computer's, then one of
|
||||||
// the account's other computers (a brain on a server has no screen of its own).
|
// the account's other computers (a brain on a server has no screen of its own).
|
||||||
let real = |t: &&tools::Target| match t.place {
|
let real = |t: &&tools::Target| match t.place {
|
||||||
|
|
@ -4604,6 +4637,39 @@ echo '<meta charset=utf-8><title>done</title>送出了' > done.html; (setsid pyt
|
||||||
assert!(args.contains("王小明的Mac mini") && note.is_none(), "{args}");
|
assert!(args.contains("王小明的Mac mini") && note.is_none(), "{args}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// 指定電腦之後:使用者選了一台沒有瀏覽器、沒有螢幕的電腦(雲端大腦所在的伺服器、SSH),
|
||||||
|
/// Bot 沒指名的瀏覽器和螢幕步驟不再跑到使用者自己的 Mac;Bot 自己指名那台 Mac 也拉回選的
|
||||||
|
/// 那台(在那裡說清楚為什麼做不了)。使用者自己在訊息裡指名 Mac 就照做。沒選過(用 Bot
|
||||||
|
/// 自己的電腦)時照舊可以借 Mac 的。
|
||||||
|
#[test]
|
||||||
|
fn a_chosen_computer_keeps_its_steps_off_the_persons_mac() {
|
||||||
|
let roles = tools::Roles { own: "工程 的電腦".into(), person: Some("王性驊的MacBook Pro".into()), server: true };
|
||||||
|
let job = Job {
|
||||||
|
computers: vec![
|
||||||
|
tools::Target { name: "工程 的電腦".into(), place: tools::Place::Sealed { root: std::env::temp_dir() } },
|
||||||
|
tools::Target { name: "nobledesktop".into(), place: tools::Place::Ssh { target: "noble".into(), dir: String::new() } },
|
||||||
|
tools::Target { name: "王性驊的MacBook Pro".into(), place: tools::Place::Device { host: "m".into(), dir: String::new() } },
|
||||||
|
],
|
||||||
|
default_computer: "nobledesktop".into(),
|
||||||
|
roles: roles.clone(),
|
||||||
|
..test_job()
|
||||||
|
};
|
||||||
|
let e = browser_place(&job, "browser_open", r#"{"url":"https://example.com"}"#).unwrap_err();
|
||||||
|
assert!(e.contains("「nobledesktop」") && e.contains("不要換到別台") && e.contains("王性驊的MacBook Pro"), "{e}");
|
||||||
|
let e = screen_target(&job, "{}").unwrap_err();
|
||||||
|
assert!(e.contains("「nobledesktop」不能操作螢幕"), "{e}");
|
||||||
|
// The bot naming the Mac on its own: back to the chosen one (where it says why it can't).
|
||||||
|
let (args, note) = keep_to_chosen(&job, &[Message::user("幫我看一下這個網頁")], "browser_open", r#"{"computer":"王性驊的MacBook Pro","url":"https://example.com"}"#);
|
||||||
|
assert!(args.contains("nobledesktop") && note.is_some(), "{args}");
|
||||||
|
// The person naming the Mac: it goes there.
|
||||||
|
let (args, note) = keep_to_chosen(&job, &[Message::user("用我的電腦開這個網頁")], "browser_open", r#"{"computer":"王性驊的MacBook Pro","url":"https://example.com"}"#);
|
||||||
|
assert!(args.contains("王性驊的MacBook Pro") && note.is_none(), "{args}");
|
||||||
|
assert!(matches!(browser_place(&job, "browser_open", &args), Ok((BrowserAt::Device(_), _))));
|
||||||
|
// Not chosen (the bot's own, no Docker here): it still borrows the person's browser.
|
||||||
|
let own = Job { default_computer: roles.own.clone(), ..job };
|
||||||
|
assert!(matches!(browser_place(&own, "browser_open", r#"{"url":"https://example.com"}"#), Ok((BrowserAt::Device(_), _))));
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn cut_keeps_tool_pairs_and_recent_messages() {
|
fn cut_keeps_tool_pairs_and_recent_messages() {
|
||||||
let mut h = vec![];
|
let mut h = vec![];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue