diff --git a/PROTOCOL.md b/PROTOCOL.md index 3279c229..f1caad72 100644 --- a/PROTOCOL.md +++ b/PROTOCOL.md @@ -130,7 +130,7 @@ Quick Ask's `quick_shot` fails with `helper_failed` (the message is the helper's | `hello` | `protocol` | `{protocol}` | | `list_bots` | none | `{bots:[Bot]}` | | `create_bot` | `name` (1 to 80 characters) | `{bot: Bot}` | -| `set_bot` | `bot`, `name?`, `instructions?` (at most 8000 characters), `stepLimit?` (a whole number, 1 to 1000), `avatar?` (at most 8 characters: the name of one of the window's icons, or an emoji or letters), `color?` (`#rrggbb` or empty) | `{}`; what is given changes; `bots_changed` follows. A `stepLimit` is sent to a running engine as `step_limit`. `webSearch?` (true or false) is kept and sent as `web_search`. `check?` is `off`, `own`, `model` (with `checkModel`, a model's name, validated as `set_model` does) or `bot` (with `checkBot`, the id of another bot of the same project, not an installed agent's, not the bot itself) and is kept: see Check before done; anything else, a model or bot that cannot be used, is `bad_request`; it is refused `no_check` for a bot on an installed agent (other than `off`), and from a device on the network `forbidden`, as is `checkModel` or `checkBot` alone. | +| `set_bot` | `bot`, `name?`, `instructions?` (at most 8000 characters), `stepLimit?` (a whole number, 1 to 1000), `avatar?` (at most 8 characters: the name of one of the window's icons, or an emoji or letters), `color?` (`#rrggbb` or empty), `fallbackModel?` (a model's name, or empty/`null` to clear) | `{}`; what is given changes; `bots_changed` follows. A `stepLimit` is sent to a running engine as `step_limit`. `webSearch?` (true or false) is kept and sent as `web_search`. `fallbackModel?` is kept, returned on `Bot` when set, and sent to a running engine as `fallback_model`: when the primary model fails due to a rate limit, quota, or server/network error before streaming output, the engine switches to `fallbackModel` for the rest of that turn and emits a `fallback` transcript event. `check?` is `off`, `own`, `model` (with `checkModel`, a model's name, validated as `set_model` does) or `bot` (with `checkBot`, the id of another bot of the same project, not an installed agent's, not the bot itself) and is kept: see Check before done; anything else, a model or bot that cannot be used, is `bad_request`; it is refused `no_check` for a bot on an installed agent (other than `off`), and from a device on the network `forbidden`, as is `checkModel` or `checkBot` alone. | | `order_bots` | `bots`: every bot's id once, in the new order | `{}`; `list_bots` lists them so from then on | | `delete_bot` | `bot` | `{}`: its engine and browser stop, it leaves its project, everything stored for it is forgotten, and its folder and browser profile move to the Trash, as Finder moves them (Put Back works). When its folder cannot be moved, nothing is deleted: `trash_failed` | | `search` | `text` (1 to 200 bytes), `bot?`, `conversation?` (with `bot`), `limit?` (default 50, at most 200) | `{hits: [{bot, conversation, seq, atMs, kind, snippet}]}`: prompts (`kind` `user`) and replies (`reply`) holding `text` in any case, of one conversation, of `bot` or of all bots, newest first; `atMs` is when the entry was written. A reply is searched whole, as the chat joins its pieces; `seq` is its first piece's, the chat item's `id`. Backed by a SQLite FTS5 index kept in sync with the transcript. | diff --git a/agentcore/src/acp.rs b/agentcore/src/acp.rs index a5fb1441..e8bc483f 100644 --- a/agentcore/src/acp.rs +++ b/agentcore/src/acp.rs @@ -300,6 +300,7 @@ impl Bridge { // The agent has its own model, chosen in the agent; and no other bots to reach. // shortcut: an installed agent keeps its own instructions; Bate's are not passed on until ACP has a place for them. Op::SetModel { .. } + | Op::FallbackModel { .. } | Op::Peers { .. } | Op::SkillFolders { .. } | Op::SkillsOff { .. } diff --git a/agentcore/src/main.rs b/agentcore/src/main.rs index 80f24d24..13bc7409 100644 --- a/agentcore/src/main.rs +++ b/agentcore/src/main.rs @@ -106,6 +106,7 @@ struct Engine { running: Option, model: Option, effort: Option, + fallback_model: Option, } /// The model from the environment (`BATE_MODEL`), if any. @@ -183,6 +184,7 @@ fn main() { running: None, model: default_model(), effort: None, + fallback_model: None, }; while let Ok(input) = rx.recv() { match input { @@ -351,6 +353,10 @@ impl Engine { self.effort = effort; self.respond(id, Ok(())); } + Op::FallbackModel { model } => { + self.fallback_model = Some(model).filter(|m| !m.is_empty()); + self.respond(id, Ok(())); + } Op::Rewind { entry, fork } => { let rewound = self.idle().and_then(|()| { let session = self.session.as_mut().ok_or(NO_SESSION)?; @@ -596,6 +602,8 @@ impl Engine { provider, model, effort: self.effort.clone(), + fallback_model: self.fallback_model.clone(), + used_fallback: AtomicBool::new(false), context, check_back: false, connectors: self.connectors.clone(), diff --git a/agentcore/src/model.rs b/agentcore/src/model.rs index 022c2449..b457f45d 100644 --- a/agentcore/src/model.rs +++ b/agentcore/src/model.rs @@ -45,6 +45,11 @@ pub struct Fail { pub why: String, /// A network error, a rate limit or a server error: asking again may work. transient: bool, + /// Rate limit, quota exhaustion, server error, or network error: switching to a fallback model + /// may succeed. + pub fallback_eligible: bool, + /// True if any output delta had already been streamed to the caller before failing. + pub streamed: bool, /// How long the server asked us to wait (`Retry-After`). wait: Option, /// The long wait for a first line ran out: one more request, then no more. @@ -57,6 +62,8 @@ impl From for Fail { Fail { why, transient: false, + fallback_eligible: false, + streamed: false, wait: None, once: false, } @@ -66,6 +73,7 @@ impl From for Fail { fn transient(why: String) -> Fail { Fail { transient: true, + fallback_eligible: true, ..Fail::from(why) } } @@ -373,7 +381,7 @@ impl Provider { ask: &Ask, abort: &AtomicBool, mut on: impl FnMut(Delta), - ) -> Result { + ) -> Result { let mut retries = 0; // The reason of a 400 that may have been the web search tool, until the request // without it shows which it was. @@ -417,7 +425,11 @@ impl Provider { continue; } Err(fail) if fail.transient && !streamed && retries < RETRIES && !last => fail, - done => return done.map_err(|fail| fail.why), + Err(mut fail) => { + fail.streamed = streamed; + return Err(fail); + } + Ok(reply) => return Ok(reply), }; let wait = fail.wait.map_or_else( || jitter(self.wait * 2u32.pow(retries)), @@ -547,9 +559,12 @@ impl Provider { let quota = ["usage_limit_exceeded", "insufficient_quota"] .iter() .any(|q| text.contains(q)); + let retryable = (status.as_u16() == 429 && !quota) || status.is_server_error(); return Err(Fail { why: format!("the model server answered {status}: {}", text.trim()), - transient: (status.as_u16() == 429 && !quota) || status.is_server_error(), + transient: retryable, + fallback_eligible: status.as_u16() == 429 || status.is_server_error(), + streamed: false, wait: asked, once: false, }); diff --git a/agentcore/src/turn.rs b/agentcore/src/turn.rs index 95b16e2a..66c5e1a7 100644 --- a/agentcore/src/turn.rs +++ b/agentcore/src/turn.rs @@ -27,6 +27,11 @@ pub struct Turn { /// The model chosen for the bot; without one, the service names it with the token. pub model: Option, pub effort: Option, + /// Backup model used for the rest of this turn if the primary model fails due to rate limits, + /// quota, or server/network errors. + pub fallback_model: Option, + /// Latched once this turn switches to `fallback_model` so later rounds do not re-hit a dead primary. + pub used_fallback: AtomicBool, /// `BATE_MODEL_CONTEXT`: the model's context size in tokens. It goes before the size that /// comes with the `token` answer; with neither, `CONTEXT`. Compaction starts at four /// fifths of it. @@ -899,7 +904,8 @@ impl Turn { self.stream_until(self.control.aborted_flag(), url, key, api, ask, on) } - /// `stream` that gives up when `abort` is set. + /// `stream` that gives up when `abort` is set. On an eligible primary failure before any + /// output was streamed, switches to `fallback_model` for the rest of this turn. fn stream_until( &self, abort: &AtomicBool, @@ -909,28 +915,67 @@ impl Turn { ask: &Ask, mut on: impl FnMut(Delta), ) -> Result { - let mut reply = self - .provider - .stream(url, key, api, ask, abort, |d| match d { - Delta::Retry { .. } => self.out.send(&event(d)), - // The provider ran it: shown like a tool call of ours, done at once. - Delta::Search { id, query, failed } => { - let mut args = Map::new(); - args.insert("query".into(), query.into()); - self.out.send(&Event::ToolStart { - call: id.into(), - tool: "web_search".into(), - args, - }); - self.out.send(&Event::ToolEnd { - call: id.into(), - output: String::new(), - is_error: failed, - undo: None, + let mut call_stream = |ask: &Ask| -> Result { + self.provider + .stream(url, key, api, ask, abort, |d| match d { + Delta::Retry { .. } => self.out.send(&event(d)), + // The provider ran it: shown like a tool call of ours, done at once. + Delta::Search { id, query, failed } => { + let mut args = Map::new(); + args.insert("query".into(), query.into()); + self.out.send(&Event::ToolStart { + call: id.into(), + tool: "web_search".into(), + args, + }); + self.out.send(&Event::ToolEnd { + call: id.into(), + output: String::new(), + is_error: failed, + undo: None, + }); + } + d => on(d), + }) + }; + let fallback = self.fallback_model.as_deref().filter(|m| !m.is_empty()); + let using_fallback = self.used_fallback.load(Ordering::Relaxed); + let effective = if using_fallback && let Some(fb) = fallback { + Ask { + model: fb, + effort: None, + ..*ask + } + } else { + Ask { ..*ask } + }; + let mut reply = match call_stream(&effective) { + Ok(reply) => reply, + Err(fail) + if fail.fallback_eligible + && !fail.streamed + && !abort.load(Ordering::SeqCst) + && !using_fallback => + { + if let Some(fb) = fallback.filter(|fb| *fb != ask.model) { + self.used_fallback.store(true, Ordering::Relaxed); + self.out.send(&Event::Fallback { + from: ask.model.to_owned(), + to: fb.to_owned(), + error: fail.why, }); + let backup = Ask { + model: fb, + effort: None, + ..*ask + }; + call_stream(&backup).map_err(|f| f.why)? + } else { + return Err(fail.why); } - d => on(d), - })?; + } + Err(fail) => return Err(fail.why), + }; // A call given up on has no `usage` to wait for. if !reply.aborted { self.out.send(&Event::Usage { diff --git a/agentcore/tests/engine.rs b/agentcore/tests/engine.rs index 422ccf8b..aca56835 100644 --- a/agentcore/tests/engine.rs +++ b/agentcore/tests/engine.rs @@ -3574,6 +3574,83 @@ fn a_server_error_is_asked_again_and_the_conversation_shows_it() { assert_eq!(model.requests().len(), 2); } +#[test] +fn falls_back_to_backup_model_after_primary_503_retries_exhaust_and_on_quota_429() { + let dir = workdir("fallback-503"); + let quota_429 = b"HTTP/1.1 429 Too Many Requests\r\ncontent-type: application/json\r\nconnection: close\r\n\r\n{\"error\":{\"code\":\"usage_limit_exceeded\"}}".to_vec(); + let model = Model::replay(vec![ + refusal("503 Service Unavailable", ""), + refusal("503 Service Unavailable", ""), + refusal("503 Service Unavailable", ""), + refusal("503 Service Unavailable", ""), + refusal("503 Service Unavailable", ""), + refusal("503 Service Unavailable", ""), + whole("From backup after 503."), + // Turn 2: tries primary again, gets quota 429 -> switches immediately without 5 retries. + quota_429, + whole("From backup after quota."), + ]); + let mut engine = Engine::start_with(&dir, &model, &[("BATE_MODEL_RETRY_MS", "1")]); + engine.open_new(); + assert_eq!( + engine.request(Op::SetModel { + model: "primary-m".into(), + effort: None, + }), + None + ); + assert_eq!( + engine.request(Op::FallbackModel { + model: "backup-m".into(), + }), + None + ); + + engine.prompt("first"); + let events = engine.until(is_turn_end); + assert!( + events.iter().any(|e| matches!( + e, + Event::Fallback { from, to, error } + if from == "primary-m" && to == "backup-m" && error.contains("503") + )), + "{events:?}" + ); + assert!( + events.contains(&Event::Text { + delta: "From backup after 503.".into(), + }), + "{events:?}" + ); + + engine.prompt("second"); + let events = engine.until(is_turn_end); + assert_eq!(retries(&events).len(), 0, "quota 429 skips primary retries"); + assert!( + events.iter().any(|e| matches!( + e, + Event::Fallback { from, to, error } + if from == "primary-m" && to == "backup-m" && error.contains("429") + )), + "{events:?}" + ); + assert!( + events.contains(&Event::Text { + delta: "From backup after quota.".into(), + }), + "{events:?}" + ); + + let reqs = model.requests(); + assert_eq!(reqs.len(), 9); + for req in &reqs[0..6] { + assert_eq!(req["model"], "primary-m"); + } + assert_eq!(reqs[6]["model"], "backup-m"); + assert_eq!(reqs[7]["model"], "primary-m"); + assert_eq!(reqs[8]["model"], "backup-m"); +} + #[test] fn a_wait_the_server_asks_for_is_honoured() { let dir = workdir("retry-after"); diff --git a/appd/src/core.rs b/appd/src/core.rs index 6ce4fc11..62e8ee69 100644 --- a/appd/src/core.rs +++ b/appd/src/core.rs @@ -3006,6 +3006,19 @@ impl Core { .ok_or_else(|| bad("`webSearch` must be true or false"))?, ), }; + let fallback_model = match f.get("fallbackModel") { + None => None, + Some(Value::Null) => Some(""), + Some(v) => { + let m = v + .as_str() + .ok_or_else(|| bad("`fallbackModel` must be a string"))?; + if !m.is_empty() { + check_model(m, None).map_err(bad)?; + } + Some(m) + } + }; let check = match f.get("check").filter(|v| !v.is_null()) { None => None, Some(v) => Some(match v.as_str() { @@ -3085,6 +3098,18 @@ impl Core { if let Some(with) = check { self.store.set_check(&bot, &with).map_err(internal)?; } + if let Some(fb) = fallback_model { + self.store.set_fallback_model(&bot, fb).map_err(internal)?; + if self.engines.contains_key(&bot) { + self.send_op( + &bot, + Op::FallbackModel { + model: fb.to_owned(), + }, + Waiter::Quiet, + )?; + } + } self.broadcast(&json!({"type": "bots_changed"})); Ok(Some(json!({}))) } @@ -3716,6 +3741,9 @@ impl Core { row["model"] = json!(model); row["effort"] = json!(effort); } + if let Ok(Some(fallback)) = self.store.fallback_model(bot) { + row["fallbackModel"] = json!(fallback); + } if let Ok(Some(project)) = self.project_of(bot) { row["project"] = json!({"id": project.id, "name": project.name}); } @@ -3956,6 +3984,7 @@ impl Core { let steps = self.store.step_limit(bot).map_err(internal)?; let web_search = self.web_search_on(bot).map_err(internal)?; let model = self.store.model(bot).map_err(internal)?; + let fallback_model = self.store.fallback_model(bot).map_err(internal)?; let whole_disk = self.store.whole_disk(bot).map_err(internal)?; let agent = self.store.agent(bot).map_err(internal)?; if agent.is_some() && !whole_disk { @@ -4116,6 +4145,9 @@ impl Core { if let Some((model, effort)) = model { self.send_op(bot, Op::SetModel { model, effort }, Waiter::Quiet)?; } + if let Some(model) = fallback_model { + self.send_op(bot, Op::FallbackModel { model }, Waiter::Quiet)?; + } if !skill_folders.is_empty() { self.send_op( bot, diff --git a/appd/src/store.rs b/appd/src/store.rs index ee8c1356..c7a80ebe 100644 --- a/appd/src/store.rs +++ b/appd/src/store.rs @@ -320,6 +320,7 @@ CREATE TABLE IF NOT EXISTS connectors(bot TEXT NOT NULL REFERENCES bots(id) ON D CREATE TABLE IF NOT EXISTS skills_off(bot TEXT NOT NULL REFERENCES bots(id) ON DELETE CASCADE, name TEXT NOT NULL, PRIMARY KEY(bot, name)); CREATE TABLE IF NOT EXISTS profiles(bot TEXT PRIMARY KEY REFERENCES bots(id) ON DELETE CASCADE, instructions TEXT NOT NULL DEFAULT '', avatar TEXT NOT NULL DEFAULT '', color TEXT NOT NULL DEFAULT '', position INTEGER); CREATE TABLE IF NOT EXISTS models(bot TEXT PRIMARY KEY REFERENCES bots(id) ON DELETE CASCADE, model TEXT NOT NULL, effort TEXT); +CREATE TABLE IF NOT EXISTS fallback_models(bot TEXT PRIMARY KEY REFERENCES bots(id) ON DELETE CASCADE, model TEXT NOT NULL); CREATE TABLE IF NOT EXISTS step_limits(bot TEXT PRIMARY KEY REFERENCES bots(id) ON DELETE CASCADE, steps INTEGER NOT NULL); CREATE TABLE IF NOT EXISTS checks(bot TEXT PRIMARY KEY REFERENCES bots(id) ON DELETE CASCADE, kind TEXT NOT NULL, with_what TEXT NOT NULL DEFAULT ''); CREATE TABLE IF NOT EXISTS paused(bot TEXT PRIMARY KEY REFERENCES bots(id) ON DELETE CASCADE); @@ -376,6 +377,7 @@ const BOT_TABLES: &[&str] = &[ "skills_off", "profiles", "models", + "fallback_models", "step_limits", "web_search", "checks", @@ -1105,6 +1107,34 @@ impl Store { .map(drop) } + /// The fallback model chosen for `bot`; `None`: no fallback. + pub fn fallback_model(&self, bot: &str) -> Result> { + self.0 + .query_row( + "SELECT model FROM fallback_models WHERE bot = ?1", + [bot], + |r| r.get(0), + ) + .optional() + } + + /// An empty `model` clears the bot's fallback model. + pub fn set_fallback_model(&self, bot: &str, model: &str) -> Result<()> { + if model.is_empty() { + return self + .0 + .execute("DELETE FROM fallback_models WHERE bot = ?1", [bot]) + .map(drop); + } + self.0 + .execute( + "INSERT INTO fallback_models(bot, model) VALUES (?1, ?2) \ + ON CONFLICT(bot) DO UPDATE SET model = ?2", + params![bot, model], + ) + .map(drop) + } + /// The tool rounds a turn of `bot` may take; `None`: the default. pub fn step_limit(&self, bot: &str) -> Result> { self.0 @@ -3365,6 +3395,7 @@ mod tests { conversation.insert(id, c); store.set_ledger(id, "n", Ledger::Sent, 1).unwrap(); store.set_model(id, "m", None).unwrap(); + store.set_fallback_model(id, "fallback-m").unwrap(); store.set_blocked(id, "web__x", true).unwrap(); let used = proto::Tokens { input: 1, diff --git a/appd/tests/service.rs b/appd/tests/service.rs index 8b9b4bfc..247d7ad2 100644 --- a/appd/tests/service.rs +++ b/appd/tests/service.rs @@ -19533,3 +19533,59 @@ fn discover_skills_lists_local_skills_for_preview_and_install() { assert_eq!(installed[0]["name"], "local-demo"); assert_eq!(installed[0]["enabled"], true); } + +#[test] +fn fallback_model_persists_across_restarts_and_can_be_cleared() { + let home = home("fallback-model"); + let service = Service::start(&home); + let mut w = Window::connect(&home); + let bot = w.create_bot(); + + w.ok( + "set_bot", + json!({"bot": bot, "fallbackModel": "backup-model"}), + ); + let bots = w.ok("list_bots", json!({}))["bots"].clone(); + let row = bots + .as_array() + .unwrap() + .iter() + .find(|b| b["id"] == bot) + .unwrap(); + assert_eq!(row["fallbackModel"], "backup-model"); + + // Invalid model name is refused. + assert_eq!( + refusal( + &mut w, + "set_bot", + json!({"bot": bot, "fallbackModel": "bad model\n"}) + ), + "bad_request" + ); + + // Persists across restart. + drop(w); + drop(service); + let _service = Service::start(&home); + let mut w = Window::connect(&home); + let bots = w.ok("list_bots", json!({}))["bots"].clone(); + let row = bots + .as_array() + .unwrap() + .iter() + .find(|b| b["id"] == bot) + .unwrap(); + assert_eq!(row["fallbackModel"], "backup-model"); + + // Empty string clears it. + w.ok("set_bot", json!({"bot": bot, "fallbackModel": ""})); + let bots = w.ok("list_bots", json!({}))["bots"].clone(); + let row = bots + .as_array() + .unwrap() + .iter() + .find(|b| b["id"] == bot) + .unwrap(); + assert!(row.get("fallbackModel").is_none(), "{row}"); +} diff --git a/native/src/bot_settings.rs b/native/src/bot_settings.rs index 8c719670..44056dc9 100644 --- a/native/src/bot_settings.rs +++ b/native/src/bot_settings.rs @@ -132,13 +132,10 @@ pub fn sync(app: &mut App) { /// What is under the header of the open bot (`bot`). pub fn screen(app: &App, ui: &Cx, k: &Tokens, bot: &Bot) -> V { let cx = Ctx { app, ui, k, bot }; - let mut groups = vec![ - look::pause(cx), - look::the_bot(cx), - look::check(cx), - usage::tokens(cx), - perms::may(cx), - ]; + let mut groups = vec![look::pause(cx), look::the_bot(cx), look::check(cx)]; + groups.extend(look::fallback(cx)); + groups.push(usage::tokens(cx)); + groups.push(perms::may(cx)); groups.extend(perms::always(cx)); groups.extend(perms::in_conversation(cx)); groups.extend(perms::blocked(cx)); diff --git a/native/src/bot_settings_look.rs b/native/src/bot_settings_look.rs index 34e7e856..fbb2cb27 100644 --- a/native/src/bot_settings_look.rs +++ b/native/src/bot_settings_look.rs @@ -367,3 +367,56 @@ pub fn check(cx: Ctx<'_>) -> V { ], ) } + +/// `Fallback`: optional backup model used when the primary model hits rate limits, quota, or +/// server errors. +pub fn fallback(cx: Ctx<'_>) -> Option { + let k = cx.k; + let bot = cx.bot; + if bot.agent.is_some() { + return None; + } + let current = bot.fallback_model.as_deref().unwrap_or(""); + let mut options: Vec<(String, String)> = vec![(String::new(), "None".into())]; + let mut models: Vec<&str> = cx.app.state.models.iter().map(String::as_str).collect(); + if !current.is_empty() && !models.contains(¤t) { + models.push(current); + } + for model in models { + options.push((model.to_owned(), model.to_owned())); + } + let shown: Vec<(&str, &str)> = options + .iter() + .map(|(v, l)| (v.as_str(), l.as_str())) + .collect(); + let id = bot.id.clone(); + let choice = cx.select( + "fallback", + "Fallback model", + &shown, + current, + move |app, value| { + run( + app, + &id, + "fallback", + "set_bot", + json!({"bot": id, "fallbackModel": value}), + ); + }, + ); + Some(forms::group( + k, + "fallback", + "Fallback", + vec![ + row_of(cx, "Fallback model") + .hint(Hint::Plain( + "Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error.".into(), + )) + .saved("fallback") + .error(cx.failure("fallback")) + .control(choice), + ], + )) +} diff --git a/native/src/chat.rs b/native/src/chat.rs index 86167540..2f5ff564 100644 --- a/native/src/chat.rs +++ b/native/src/chat.rs @@ -223,6 +223,11 @@ pub enum Entry { wait_ms: u64, error: String, }, + Fallback { + from: String, + to: String, + error: String, + }, TurnEnd { reason: String, error: Option, @@ -318,6 +323,12 @@ pub enum Item { wait_ms: u64, error: String, }, + Fallback { + id: i64, + from: String, + to: String, + error: String, + }, Forked { id: i64, }, @@ -334,6 +345,7 @@ impl Item { | Item::Steered { id, .. } | Item::Checked { id, .. } | Item::Retrying { id, .. } + | Item::Fallback { id, .. } | Item::Forked { id } => *id, } } @@ -348,6 +360,7 @@ impl Item { Item::Steered { .. } => "steered", Item::Checked { .. } => "checked", Item::Retrying { .. } => "retrying", + Item::Fallback { .. } => "fallback", Item::Forked { .. } => "forked", } } @@ -591,6 +604,12 @@ fn put(items: &mut Vec, row: &Row) -> bool { wait_ms: *wait_ms, error: error.clone(), }), + Entry::Fallback { from, to, error } => items.push(Item::Fallback { + id, + from: from.clone(), + to: to.clone(), + error: error.clone(), + }), Entry::TurnEnd { reason, error } => { // A turn that ended as it should needs no line of its own. if reason != "done" { diff --git a/native/src/state.rs b/native/src/state.rs index 678bf720..8a205741 100644 --- a/native/src/state.rs +++ b/native/src/state.rs @@ -54,6 +54,7 @@ pub struct Bot { pub color: String, pub model: Option, pub effort: Option, + pub fallback_model: Option, pub project: Option, } diff --git a/native/src/view.rs b/native/src/view.rs index edecf250..300685be 100644 --- a/native/src/view.rs +++ b/native/src/view.rs @@ -1516,6 +1516,11 @@ fn line(app: &App, item: &Item, latest: bool, k: &Tokens) -> V { "The model did not answer ({error}). Trying again in {} s (retry {attempt} of {of}).", (wait_ms / 1000).max(1) )), + Item::Fallback { + from, to, error, .. + } => quiet(format!( + "Switched to fallback model {to} ({from} failed: {error})." + )), // Replies, calls, thinking and the person's own are drawn by their own parts. Item::User(_) | Item::Reply { .. } | Item::Thinking { .. } | Item::Tool(_) => quiet(String::new()), } diff --git a/native/tests/bot_settings.rs b/native/tests/bot_settings.rs index ed93ef36..5a97eb76 100644 --- a/native/tests/bot_settings.rs +++ b/native/tests/bot_settings.rs @@ -31,6 +31,7 @@ fn the_groups_come_in_the_pages_order_with_its_words() { "pause", "bot", "check", + "fallback", "tokens", "may", "always", @@ -58,6 +59,7 @@ fn the_groups_come_in_the_pages_order_with_its_words() { "Pause", "The bot", "Check", + "Fallback", "Tokens", "What the bot may do", "Always allowed", @@ -75,6 +77,7 @@ fn the_groups_come_in_the_pages_order_with_its_words() { "Tool rounds per turn", "Colour", "Check answers before the turn ends", + "Fallback model", "Used today", "Used this month", "Limit per day", @@ -329,6 +332,27 @@ fn the_check_is_chosen_among_off_its_own_model_a_model_and_a_bot_of_its_project( assert_eq!(all[3], json!({"bot": "b1", "check": "off"})); } +#[test] +fn fallback_model_is_chosen_and_cleared_with_set_bot() { + let mut w = settings("b1"); + assert!(shows(&mut w.rt, "Fallback model")); + let fb = k("b1", "fallback"); + assert_eq!(chosen(&mut w.rt, &fb), "None"); + choose(&mut w, &fb, "model-two"); + assert_eq!( + the_request(&w, "set_bot"), + json!({"bot": "b1", "fallbackModel": "model-two"}) + ); + bot_is(&mut w, |b| b.fallback_model.as_deref() == Some("model-two")); + saved(&mut w, &fb); + assert_eq!(chosen(&mut w.rt, &fb), "model-two"); + choose(&mut w, &fb, "None"); + let all = requests_waiting(&w, "set_bot", 2); + assert_eq!(all[1], json!({"bot": "b1", "fallbackModel": ""})); + bot_is(&mut w, |b| b.fallback_model.as_deref() == Some("")); + assert_eq!(chosen(&mut w.rt, &fb), "None"); +} + #[test] fn a_check_that_cannot_run_is_said_and_a_failed_change_of_it_is_too() { let mut w = settings("b1"); diff --git a/native/tests/snapshots/native-bot-settings-browser-dark.png b/native/tests/snapshots/native-bot-settings-browser-dark.png index 1937f563..42ed892e 100644 Binary files a/native/tests/snapshots/native-bot-settings-browser-dark.png and b/native/tests/snapshots/native-bot-settings-browser-dark.png differ diff --git a/native/tests/snapshots/native-bot-settings-browser-dark.tree b/native/tests/snapshots/native-bot-settings-browser-dark.tree index d31e5473..2d075ccd 100644 --- a/native/tests/snapshots/native-bot-settings-browser-dark.tree +++ b/native/tests/snapshots/native-bot-settings-browser-dark.tree @@ -126,11 +126,11 @@ generic @0,0,900,760 text @388.34,24,37.39,20 t="Moss" text @433.73,24,55.4,20 t="Settings" image @497.13,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1900,0,1910 - generic @288,-1832,580,2586 - generic @288,-1832,580,2586 + generic #bot-settings @264,60,628,692 sc=0,1900,0,2014 + generic @288,-1832,580,2690 + generic @288,-1832,580,2690 generic @288,-1832,580,16 - generic @288,-1816,580,2554 + generic @288,-1816,580,2658 generic #group-pause @288,-1816,580,80 heading @288,-1816,580,18 t="Pause" generic @288,-1794,580,58 @@ -248,277 +248,290 @@ generic @0,0,900,760 combobox #bot:b4:check @648,-1186,220,30 lb="Off" tab text @820.79,-1180,19.21,18 t="Off" image @844,-1177,12,12 deco - generic #group-tokens @288,-1094,580,326 - heading @288,-1094,580,18 t="Tokens" - generic @288,-1072,580,304 - generic @288,-1072,580,42 - generic @288,-1068,580,34 - generic @288,-1068,470.13,34 - text @288,-1068,470.13,18 t="Used today" - text @288,-1050,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,-1060,93.87,18 - text #bot:b4:used-today @774.13,-1060,93.87,18 t="188,400 tokens" - generic @288,-1030,580,58 - generic @288,-1026,580,50 - generic @288,-1026,459.5,50 - text @288,-1026,459.5,18 t="Used this month" - text @288,-1008,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,-1010,104.5,18 - text #bot:b4:used-month @763.5,-1010,104.5,18 t="2,991,000 tokens" - generic @288,-972,580,42 - generic @288,-968,580,34 - generic @288,-968,452,34 - text @288,-968,452,18 t="Limit per day" - text @288,-950,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,-966,112,30 - textbox #bot:b4:limit-day @756,-966,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,-930,580,42 - generic @288,-926,580,34 - generic @288,-926,452,34 - text @288,-926,452,18 t="Limit per month" - text @288,-908,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,-924,112,30 - textbox #bot:b4:limit-month @756,-924,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,-888,580,74 - generic @288,-884,580,66 - generic @288,-884,344,66 - text @288,-884,344,18 t="The limit stops" - text @288,-866,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,-866,220,30 - combobox #bot:b4:limit-stops @648,-866,220,30 lb="Unattended work" tab - text @735.88,-860,104.12,18 t="Unattended work" - image @844,-857,12,12 deco - generic @288,-814,580,46 - button #bot:b4:save-limits @288,-806,90.57,30 lb="Save limits" tab - text @300,-800,66.57,18 t="Save limits" - generic #group-may @288,-744,580,336 - heading @288,-744,580,18 t="What the bot may do" - generic @288,-722,580,314 - generic @288,-722,580,38 - generic @288,-718,580,30 - generic @288,-712,336,18 - text @288,-712,336,18 t="Read files" - generic @640,-718,228,30 - generic @640,-703,0,0 - combobox #bot:b4:perm-read @648,-718,220,30 lb="always" tab - text @799.53,-712,40.47,18 t="always" - image @844,-709,12,12 deco - generic @288,-684,580,38 - generic @288,-680,580,30 - generic @288,-674,336,18 - text @288,-674,336,18 t="Change files" - generic @640,-680,228,30 - generic @640,-665,0,0 - combobox #bot:b4:perm-write @648,-680,220,30 lb="ask me" tab - text @797.03,-674,42.97,18 t="ask me" - image @844,-671,12,12 deco - generic @288,-646,580,38 - generic @288,-642,580,30 - generic @288,-636,336,18 - text @288,-636,336,18 t="Run commands" - generic @640,-642,228,30 - generic @640,-627,0,0 - combobox #bot:b4:perm-run @648,-642,220,30 lb="ask me" tab - text @797.03,-636,42.97,18 t="ask me" - image @844,-633,12,12 deco - generic @288,-608,580,74 - generic @288,-604,580,66 - generic @288,-604,332.75,66 - text @288,-604,332.75,18 t="Use connectors" - text @288,-586,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,-586,231.25,30 - generic @636.75,-571,0,0 - combobox #bot:b4:perm-connector @644.75,-586,223.25,30 lb="read-only tools without asking" tab - text @656.75,-580,183.25,18 t="read-only tools without asking" - image @844,-577,12,12 deco - generic @288,-534,580,38 - generic @288,-530,580,30 - generic @288,-524,336,18 - text @288,-524,336,18 t="See and control other apps" - generic @640,-530,228,30 - generic @640,-515,0,0 - combobox #bot:b4:perm-desktop @648,-530,220,30 lb="never" tab - text @806.33,-524,33.67,18 t="never" - image @844,-521,12,12 deco - generic @288,-496,580,44 - generic @288,-492,580,36 - generic @288,-492,336,36 - text @288,-492,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,-489,228,30 - generic @640,-474,0,0 - combobox #bot:b4:perm-apple_read @648,-489,220,30 lb="ask me" tab - text @797.03,-483,42.97,18 t="ask me" - image @844,-480,12,12 deco - generic @288,-452,580,44 - generic @288,-448,580,36 - generic @288,-448,336,36 - text @288,-448,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,-445,228,30 - generic @640,-430,0,0 - combobox #bot:b4:perm-apple_change @648,-445,220,30 lb="ask me" tab - text @797.03,-439,42.97,18 t="ask me" - image @844,-436,12,12 deco - generic #group-always @288,-384,580,106 - heading @288,-384,580,18 t="Always allowed" - generic @288,-362,580,84 - generic @288,-362,580,42 - generic @288,-358,580,34 - generic @288,-358,502.07,34 - text @288,-358,502.07,18 t="Run commands" - text @288,-340,502.07,16 t="ls -l" - generic @806.07,-354,61.93,26 - button #bot:b4:grant-0 @806.07,-354,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,-349,45.93,16 t="Remove" - generic @288,-320,580,42 - generic @288,-316,580,34 - generic @288,-316,502.07,34 - text @288,-316,502.07,18 t="Read files" - text @288,-298,502.07,16 t="notes/pears.md" - generic @806.07,-312,61.93,26 - button #bot:b4:grant-1 @806.07,-312,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,-307,45.93,16 t="Remove" - generic #group-in-conversation @288,-254,580,64 - heading @288,-254,580,18 t="Allowed in one conversation" - generic @288,-232,580,42 - generic @288,-232,580,42 - generic @288,-228,580,34 - generic @288,-228,502.07,34 - text @288,-228,502.07,18 t="Change files" - text @288,-210,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,-224,61.93,26 - button #bot:b4:conversation-grant-0 @806.07,-224,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,-219,45.93,16 t="Remove" - generic #group-blocked @288,-166,580,64 - heading @288,-166,580,18 t="Blocked tools" - generic @288,-144,580,42 - generic @288,-144,580,42 - generic @288,-140,580,34 - generic @288,-140,500.28,34 - text @288,-140,500.28,18 t="Use connectors" - text @288,-122,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,-136,63.72,26 - button #bot:b4:unblock-0 @804.28,-136,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,-131,47.72,16 t="Unblock" - generic #group-secrets @288,-78,580,64 - heading @288,-78,580,18 t="Secrets" - generic @288,-56,580,42 - generic @288,-56,580,42 - generic @288,-52,580,34 - generic @288,-52,502.07,34 - text @288,-52,502.07,18 t="portal-login" - text @288,-34,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,-48,61.93,26 - button #bot:b4:secret-0 @806.07,-48,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,-43,45.93,16 t="Remove" - generic #group-files @288,10,580,136 - heading @288,10,580,18 t="Files and network" - generic @288,32,580,114 - generic @288,32,580,36 - generic @288,41,580,18 - generic @288,41,528,18 - text @288,41,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,42,36,16 - generic @832,50,0,0 - switch #bot:b4:disk @840,42,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,44,12,12 - generic @288,68,580,36 - generic @288,77,580,18 - generic @288,77,528,18 - text @288,77,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,78,36,16 - generic @832,86,0,0 - switch #bot:b4:network @840,78,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,80,12,12 - generic @288,104,580,42 - generic @288,108,580,34 - generic @288,108,528,34 - text @288,108,528,18 t="Search the web" - text @288,126,528,16 t="The search runs at ChatGPT." - generic @832,117,36,16 - generic @832,125,0,0 - switch #bot:b4:search @840,117,28,16 lb="Search the web" ck=false tab - generic @842,119,12,12 - generic #group-browser @288,170,580,58 - heading @288,170,580,18 t="Browser" - generic @288,192,580,36 - generic @288,192,580,36 - generic @288,197,580,26 - generic @288,201,475.2,18 - text @288,201,475.2,18 t="You have the bot's browser" - generic @779.2,197,88.8,26 - button #bot:b4:hand-back @779.2,197,88.8,26 lb="Hand it back" tab - text @787.2,202,72.8,16 t="Hand it back" - generic #group-engine @288,252,580,268 - heading @288,252,580,18 t="Engine" - generic @288,274,580,246 - generic @288,274,580,38 - generic @288,278,580,30 - generic @288,284,336,18 - text @288,284,336,18 t="Engine" - generic @640,278,228,30 - generic @640,293,0,0 - combobox #bot:b4:engine @648,278,220,30 lb="Bate's own engine" tab - text @729.31,284,110.69,18 t="Bate's own engine" - image @844,287,12,12 deco - generic @288,312,580,42 - generic @288,316,580,34 - generic @288,316,361.38,34 - text @288,316,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,334,361.38,16 t="Version 0.4.0." - generic @665.38,320,202.62,26 - generic @665.38,320,202.62,26 - button #bot:b4:adapter-check-scout-agent @665.38,320,122.38,26 lb="Check for updates" tab - text @673.38,325,106.38,16 t="Check for updates" - button #bot:b4:adapter-remove-scout-agent @795.76,320,72.24,26 lb="Remove…" tab - text @803.76,325,56.24,16 t="Remove…" - generic @288,354,580,92 - generic @288,358,580,18 - text @288,358,580,18 t="Other agent (not installed)" - generic @288,384,580,58 - generic @288,384,580,58 - generic @288,392,526.09,42 - text @304,404,494.09,18 t="install-other-agent --global" - button #copy-bot:b4:install-0 @822.09,400,45.91,26 lb="Copy" tab - text @830.09,405,29.91,16 t="Copy" - generic @288,446,580,42 - generic @288,450,580,34 - generic @288,450,502.83,34 - text @288,450,502.83,18 t="Other agent adapter" - text @288,468,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,454,61.17,26 - button #bot:b4:adapter-install-other-agent @806.83,454,61.17,26 lb="Install…" tab - text @814.83,459,45.17,16 t="Install…" - text @288,488,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,544,580,106 - heading @288,544,580,18 t="Export" - generic @288,566,580,84 - generic @288,566,580,42 - generic @288,570,580,34 - generic @288,570,536,34 - text @288,570,536,18 t="With notes" - text @288,588,536,16 t="Its memory notes go in the file too." - generic @840,579,28,16 - switch #bot:b4:export-notes @840,579,28,16 lb="With notes" ck=false tab - generic @842,581,12,12 - generic @288,608,580,42 - generic @288,612,580,34 - generic @288,612,479.38,34 - text @288,612,479.38,18 t="Export bot" - text @288,630,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,616,84.62,26 - generic @783.38,629,0,0 - button #bot:b4:export @791.38,616,76.62,26 lb="Export bot" tab - text @799.38,621,60.62,16 t="Export bot" - generic #group-delete @288,674,580,64 - heading @288,674,580,18 t="Delete" - generic @288,696,580,42 - generic @288,696,580,42 - generic @288,700,580,34 - generic @288,700,452.88,34 - text @288,700,452.88,18 t="Delete this bot" - text @288,718,452.88,16 t="Its folder moves to the Trash." - generic @756.88,704,111.12,26 - button #bot:b4:delete @756.88,704,111.12,26 lb="Delete this bot…" tab - text @764.88,709,95.12,16 t="Delete this bot…" - generic @288,738,580,16 + generic #group-fallback @288,-1094,580,80 + heading @288,-1094,580,18 t="Fallback" + generic @288,-1072,580,58 + generic @288,-1072,580,58 + generic @288,-1068,580,50 + generic @288,-1068,336,50 + text @288,-1068,336,18 t="Fallback model" + text @288,-1050,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-1058,228,30 + generic @640,-1043,0,0 + combobox #bot:b4:fallback @648,-1058,220,30 lb="None" tab + text @807.96,-1052,32.04,18 t="None" + image @844,-1049,12,12 deco + generic #group-tokens @288,-990,580,326 + heading @288,-990,580,18 t="Tokens" + generic @288,-968,580,304 + generic @288,-968,580,42 + generic @288,-964,580,34 + generic @288,-964,470.13,34 + text @288,-964,470.13,18 t="Used today" + text @288,-946,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,-956,93.87,18 + text #bot:b4:used-today @774.13,-956,93.87,18 t="188,400 tokens" + generic @288,-926,580,58 + generic @288,-922,580,50 + generic @288,-922,459.5,50 + text @288,-922,459.5,18 t="Used this month" + text @288,-904,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,-906,104.5,18 + text #bot:b4:used-month @763.5,-906,104.5,18 t="2,991,000 tokens" + generic @288,-868,580,42 + generic @288,-864,580,34 + generic @288,-864,452,34 + text @288,-864,452,18 t="Limit per day" + text @288,-846,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,-862,112,30 + textbox #bot:b4:limit-day @756,-862,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,-826,580,42 + generic @288,-822,580,34 + generic @288,-822,452,34 + text @288,-822,452,18 t="Limit per month" + text @288,-804,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,-820,112,30 + textbox #bot:b4:limit-month @756,-820,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,-784,580,74 + generic @288,-780,580,66 + generic @288,-780,344,66 + text @288,-780,344,18 t="The limit stops" + text @288,-762,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,-762,220,30 + combobox #bot:b4:limit-stops @648,-762,220,30 lb="Unattended work" tab + text @735.88,-756,104.12,18 t="Unattended work" + image @844,-753,12,12 deco + generic @288,-710,580,46 + button #bot:b4:save-limits @288,-702,90.57,30 lb="Save limits" tab + text @300,-696,66.57,18 t="Save limits" + generic #group-may @288,-640,580,336 + heading @288,-640,580,18 t="What the bot may do" + generic @288,-618,580,314 + generic @288,-618,580,38 + generic @288,-614,580,30 + generic @288,-608,336,18 + text @288,-608,336,18 t="Read files" + generic @640,-614,228,30 + generic @640,-599,0,0 + combobox #bot:b4:perm-read @648,-614,220,30 lb="always" tab + text @799.53,-608,40.47,18 t="always" + image @844,-605,12,12 deco + generic @288,-580,580,38 + generic @288,-576,580,30 + generic @288,-570,336,18 + text @288,-570,336,18 t="Change files" + generic @640,-576,228,30 + generic @640,-561,0,0 + combobox #bot:b4:perm-write @648,-576,220,30 lb="ask me" tab + text @797.03,-570,42.97,18 t="ask me" + image @844,-567,12,12 deco + generic @288,-542,580,38 + generic @288,-538,580,30 + generic @288,-532,336,18 + text @288,-532,336,18 t="Run commands" + generic @640,-538,228,30 + generic @640,-523,0,0 + combobox #bot:b4:perm-run @648,-538,220,30 lb="ask me" tab + text @797.03,-532,42.97,18 t="ask me" + image @844,-529,12,12 deco + generic @288,-504,580,74 + generic @288,-500,580,66 + generic @288,-500,332.75,66 + text @288,-500,332.75,18 t="Use connectors" + text @288,-482,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,-482,231.25,30 + generic @636.75,-467,0,0 + combobox #bot:b4:perm-connector @644.75,-482,223.25,30 lb="read-only tools without asking" tab + text @656.75,-476,183.25,18 t="read-only tools without asking" + image @844,-473,12,12 deco + generic @288,-430,580,38 + generic @288,-426,580,30 + generic @288,-420,336,18 + text @288,-420,336,18 t="See and control other apps" + generic @640,-426,228,30 + generic @640,-411,0,0 + combobox #bot:b4:perm-desktop @648,-426,220,30 lb="never" tab + text @806.33,-420,33.67,18 t="never" + image @844,-417,12,12 deco + generic @288,-392,580,44 + generic @288,-388,580,36 + generic @288,-388,336,36 + text @288,-388,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,-385,228,30 + generic @640,-370,0,0 + combobox #bot:b4:perm-apple_read @648,-385,220,30 lb="ask me" tab + text @797.03,-379,42.97,18 t="ask me" + image @844,-376,12,12 deco + generic @288,-348,580,44 + generic @288,-344,580,36 + generic @288,-344,336,36 + text @288,-344,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,-341,228,30 + generic @640,-326,0,0 + combobox #bot:b4:perm-apple_change @648,-341,220,30 lb="ask me" tab + text @797.03,-335,42.97,18 t="ask me" + image @844,-332,12,12 deco + generic #group-always @288,-280,580,106 + heading @288,-280,580,18 t="Always allowed" + generic @288,-258,580,84 + generic @288,-258,580,42 + generic @288,-254,580,34 + generic @288,-254,502.07,34 + text @288,-254,502.07,18 t="Run commands" + text @288,-236,502.07,16 t="ls -l" + generic @806.07,-250,61.93,26 + button #bot:b4:grant-0 @806.07,-250,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,-245,45.93,16 t="Remove" + generic @288,-216,580,42 + generic @288,-212,580,34 + generic @288,-212,502.07,34 + text @288,-212,502.07,18 t="Read files" + text @288,-194,502.07,16 t="notes/pears.md" + generic @806.07,-208,61.93,26 + button #bot:b4:grant-1 @806.07,-208,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,-203,45.93,16 t="Remove" + generic #group-in-conversation @288,-150,580,64 + heading @288,-150,580,18 t="Allowed in one conversation" + generic @288,-128,580,42 + generic @288,-128,580,42 + generic @288,-124,580,34 + generic @288,-124,502.07,34 + text @288,-124,502.07,18 t="Change files" + text @288,-106,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,-120,61.93,26 + button #bot:b4:conversation-grant-0 @806.07,-120,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,-115,45.93,16 t="Remove" + generic #group-blocked @288,-62,580,64 + heading @288,-62,580,18 t="Blocked tools" + generic @288,-40,580,42 + generic @288,-40,580,42 + generic @288,-36,580,34 + generic @288,-36,500.28,34 + text @288,-36,500.28,18 t="Use connectors" + text @288,-18,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,-32,63.72,26 + button #bot:b4:unblock-0 @804.28,-32,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,-27,47.72,16 t="Unblock" + generic #group-secrets @288,26,580,64 + heading @288,26,580,18 t="Secrets" + generic @288,48,580,42 + generic @288,48,580,42 + generic @288,52,580,34 + generic @288,52,502.07,34 + text @288,52,502.07,18 t="portal-login" + text @288,70,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,56,61.93,26 + button #bot:b4:secret-0 @806.07,56,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,61,45.93,16 t="Remove" + generic #group-files @288,114,580,136 + heading @288,114,580,18 t="Files and network" + generic @288,136,580,114 + generic @288,136,580,36 + generic @288,145,580,18 + generic @288,145,528,18 + text @288,145,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,146,36,16 + generic @832,154,0,0 + switch #bot:b4:disk @840,146,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,148,12,12 + generic @288,172,580,36 + generic @288,181,580,18 + generic @288,181,528,18 + text @288,181,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,182,36,16 + generic @832,190,0,0 + switch #bot:b4:network @840,182,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,184,12,12 + generic @288,208,580,42 + generic @288,212,580,34 + generic @288,212,528,34 + text @288,212,528,18 t="Search the web" + text @288,230,528,16 t="The search runs at ChatGPT." + generic @832,221,36,16 + generic @832,229,0,0 + switch #bot:b4:search @840,221,28,16 lb="Search the web" ck=false tab + generic @842,223,12,12 + generic #group-browser @288,274,580,58 + heading @288,274,580,18 t="Browser" + generic @288,296,580,36 + generic @288,296,580,36 + generic @288,301,580,26 + generic @288,305,475.2,18 + text @288,305,475.2,18 t="You have the bot's browser" + generic @779.2,301,88.8,26 + button #bot:b4:hand-back @779.2,301,88.8,26 lb="Hand it back" tab + text @787.2,306,72.8,16 t="Hand it back" + generic #group-engine @288,356,580,268 + heading @288,356,580,18 t="Engine" + generic @288,378,580,246 + generic @288,378,580,38 + generic @288,382,580,30 + generic @288,388,336,18 + text @288,388,336,18 t="Engine" + generic @640,382,228,30 + generic @640,397,0,0 + combobox #bot:b4:engine @648,382,220,30 lb="Bate's own engine" tab + text @729.31,388,110.69,18 t="Bate's own engine" + image @844,391,12,12 deco + generic @288,416,580,42 + generic @288,420,580,34 + generic @288,420,361.38,34 + text @288,420,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,438,361.38,16 t="Version 0.4.0." + generic @665.38,424,202.62,26 + generic @665.38,424,202.62,26 + button #bot:b4:adapter-check-scout-agent @665.38,424,122.38,26 lb="Check for updates" tab + text @673.38,429,106.38,16 t="Check for updates" + button #bot:b4:adapter-remove-scout-agent @795.76,424,72.24,26 lb="Remove…" tab + text @803.76,429,56.24,16 t="Remove…" + generic @288,458,580,92 + generic @288,462,580,18 + text @288,462,580,18 t="Other agent (not installed)" + generic @288,488,580,58 + generic @288,488,580,58 + generic @288,496,526.09,42 + text @304,508,494.09,18 t="install-other-agent --global" + button #copy-bot:b4:install-0 @822.09,504,45.91,26 lb="Copy" tab + text @830.09,509,29.91,16 t="Copy" + generic @288,550,580,42 + generic @288,554,580,34 + generic @288,554,502.83,34 + text @288,554,502.83,18 t="Other agent adapter" + text @288,572,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,558,61.17,26 + button #bot:b4:adapter-install-other-agent @806.83,558,61.17,26 lb="Install…" tab + text @814.83,563,45.17,16 t="Install…" + text @288,592,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,648,580,106 + heading @288,648,580,18 t="Export" + generic @288,670,580,84 + generic @288,670,580,42 + generic @288,674,580,34 + generic @288,674,536,34 + text @288,674,536,18 t="With notes" + text @288,692,536,16 t="Its memory notes go in the file too." + generic @840,683,28,16 + switch #bot:b4:export-notes @840,683,28,16 lb="With notes" ck=false tab + generic @842,685,12,12 + generic @288,712,580,42 + generic @288,716,580,34 + generic @288,716,479.38,34 + text @288,716,479.38,18 t="Export bot" + text @288,734,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,720,84.62,26 + generic @783.38,733,0,0 + button #bot:b4:export @791.38,720,76.62,26 lb="Export bot" tab + text @799.38,725,60.62,16 t="Export bot" + generic #group-delete @288,778,580,64 + heading @288,778,580,18 t="Delete" + generic @288,800,580,42 + generic @288,800,580,42 + generic @288,804,580,34 + generic @288,804,452.88,34 + text @288,804,452.88,18 t="Delete this bot" + text @288,822,452.88,16 t="Its folder moves to the Trash." + generic @756.88,808,111.12,26 + button #bot:b4:delete @756.88,808,111.12,26 lb="Delete this bot…" tab + text @764.88,813,95.12,16 t="Delete this bot…" + generic @288,842,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-browser-light.png b/native/tests/snapshots/native-bot-settings-browser-light.png index eaee6989..b82cd274 100644 Binary files a/native/tests/snapshots/native-bot-settings-browser-light.png and b/native/tests/snapshots/native-bot-settings-browser-light.png differ diff --git a/native/tests/snapshots/native-bot-settings-browser-light.tree b/native/tests/snapshots/native-bot-settings-browser-light.tree index d31e5473..2d075ccd 100644 --- a/native/tests/snapshots/native-bot-settings-browser-light.tree +++ b/native/tests/snapshots/native-bot-settings-browser-light.tree @@ -126,11 +126,11 @@ generic @0,0,900,760 text @388.34,24,37.39,20 t="Moss" text @433.73,24,55.4,20 t="Settings" image @497.13,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1900,0,1910 - generic @288,-1832,580,2586 - generic @288,-1832,580,2586 + generic #bot-settings @264,60,628,692 sc=0,1900,0,2014 + generic @288,-1832,580,2690 + generic @288,-1832,580,2690 generic @288,-1832,580,16 - generic @288,-1816,580,2554 + generic @288,-1816,580,2658 generic #group-pause @288,-1816,580,80 heading @288,-1816,580,18 t="Pause" generic @288,-1794,580,58 @@ -248,277 +248,290 @@ generic @0,0,900,760 combobox #bot:b4:check @648,-1186,220,30 lb="Off" tab text @820.79,-1180,19.21,18 t="Off" image @844,-1177,12,12 deco - generic #group-tokens @288,-1094,580,326 - heading @288,-1094,580,18 t="Tokens" - generic @288,-1072,580,304 - generic @288,-1072,580,42 - generic @288,-1068,580,34 - generic @288,-1068,470.13,34 - text @288,-1068,470.13,18 t="Used today" - text @288,-1050,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,-1060,93.87,18 - text #bot:b4:used-today @774.13,-1060,93.87,18 t="188,400 tokens" - generic @288,-1030,580,58 - generic @288,-1026,580,50 - generic @288,-1026,459.5,50 - text @288,-1026,459.5,18 t="Used this month" - text @288,-1008,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,-1010,104.5,18 - text #bot:b4:used-month @763.5,-1010,104.5,18 t="2,991,000 tokens" - generic @288,-972,580,42 - generic @288,-968,580,34 - generic @288,-968,452,34 - text @288,-968,452,18 t="Limit per day" - text @288,-950,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,-966,112,30 - textbox #bot:b4:limit-day @756,-966,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,-930,580,42 - generic @288,-926,580,34 - generic @288,-926,452,34 - text @288,-926,452,18 t="Limit per month" - text @288,-908,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,-924,112,30 - textbox #bot:b4:limit-month @756,-924,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,-888,580,74 - generic @288,-884,580,66 - generic @288,-884,344,66 - text @288,-884,344,18 t="The limit stops" - text @288,-866,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,-866,220,30 - combobox #bot:b4:limit-stops @648,-866,220,30 lb="Unattended work" tab - text @735.88,-860,104.12,18 t="Unattended work" - image @844,-857,12,12 deco - generic @288,-814,580,46 - button #bot:b4:save-limits @288,-806,90.57,30 lb="Save limits" tab - text @300,-800,66.57,18 t="Save limits" - generic #group-may @288,-744,580,336 - heading @288,-744,580,18 t="What the bot may do" - generic @288,-722,580,314 - generic @288,-722,580,38 - generic @288,-718,580,30 - generic @288,-712,336,18 - text @288,-712,336,18 t="Read files" - generic @640,-718,228,30 - generic @640,-703,0,0 - combobox #bot:b4:perm-read @648,-718,220,30 lb="always" tab - text @799.53,-712,40.47,18 t="always" - image @844,-709,12,12 deco - generic @288,-684,580,38 - generic @288,-680,580,30 - generic @288,-674,336,18 - text @288,-674,336,18 t="Change files" - generic @640,-680,228,30 - generic @640,-665,0,0 - combobox #bot:b4:perm-write @648,-680,220,30 lb="ask me" tab - text @797.03,-674,42.97,18 t="ask me" - image @844,-671,12,12 deco - generic @288,-646,580,38 - generic @288,-642,580,30 - generic @288,-636,336,18 - text @288,-636,336,18 t="Run commands" - generic @640,-642,228,30 - generic @640,-627,0,0 - combobox #bot:b4:perm-run @648,-642,220,30 lb="ask me" tab - text @797.03,-636,42.97,18 t="ask me" - image @844,-633,12,12 deco - generic @288,-608,580,74 - generic @288,-604,580,66 - generic @288,-604,332.75,66 - text @288,-604,332.75,18 t="Use connectors" - text @288,-586,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,-586,231.25,30 - generic @636.75,-571,0,0 - combobox #bot:b4:perm-connector @644.75,-586,223.25,30 lb="read-only tools without asking" tab - text @656.75,-580,183.25,18 t="read-only tools without asking" - image @844,-577,12,12 deco - generic @288,-534,580,38 - generic @288,-530,580,30 - generic @288,-524,336,18 - text @288,-524,336,18 t="See and control other apps" - generic @640,-530,228,30 - generic @640,-515,0,0 - combobox #bot:b4:perm-desktop @648,-530,220,30 lb="never" tab - text @806.33,-524,33.67,18 t="never" - image @844,-521,12,12 deco - generic @288,-496,580,44 - generic @288,-492,580,36 - generic @288,-492,336,36 - text @288,-492,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,-489,228,30 - generic @640,-474,0,0 - combobox #bot:b4:perm-apple_read @648,-489,220,30 lb="ask me" tab - text @797.03,-483,42.97,18 t="ask me" - image @844,-480,12,12 deco - generic @288,-452,580,44 - generic @288,-448,580,36 - generic @288,-448,336,36 - text @288,-448,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,-445,228,30 - generic @640,-430,0,0 - combobox #bot:b4:perm-apple_change @648,-445,220,30 lb="ask me" tab - text @797.03,-439,42.97,18 t="ask me" - image @844,-436,12,12 deco - generic #group-always @288,-384,580,106 - heading @288,-384,580,18 t="Always allowed" - generic @288,-362,580,84 - generic @288,-362,580,42 - generic @288,-358,580,34 - generic @288,-358,502.07,34 - text @288,-358,502.07,18 t="Run commands" - text @288,-340,502.07,16 t="ls -l" - generic @806.07,-354,61.93,26 - button #bot:b4:grant-0 @806.07,-354,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,-349,45.93,16 t="Remove" - generic @288,-320,580,42 - generic @288,-316,580,34 - generic @288,-316,502.07,34 - text @288,-316,502.07,18 t="Read files" - text @288,-298,502.07,16 t="notes/pears.md" - generic @806.07,-312,61.93,26 - button #bot:b4:grant-1 @806.07,-312,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,-307,45.93,16 t="Remove" - generic #group-in-conversation @288,-254,580,64 - heading @288,-254,580,18 t="Allowed in one conversation" - generic @288,-232,580,42 - generic @288,-232,580,42 - generic @288,-228,580,34 - generic @288,-228,502.07,34 - text @288,-228,502.07,18 t="Change files" - text @288,-210,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,-224,61.93,26 - button #bot:b4:conversation-grant-0 @806.07,-224,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,-219,45.93,16 t="Remove" - generic #group-blocked @288,-166,580,64 - heading @288,-166,580,18 t="Blocked tools" - generic @288,-144,580,42 - generic @288,-144,580,42 - generic @288,-140,580,34 - generic @288,-140,500.28,34 - text @288,-140,500.28,18 t="Use connectors" - text @288,-122,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,-136,63.72,26 - button #bot:b4:unblock-0 @804.28,-136,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,-131,47.72,16 t="Unblock" - generic #group-secrets @288,-78,580,64 - heading @288,-78,580,18 t="Secrets" - generic @288,-56,580,42 - generic @288,-56,580,42 - generic @288,-52,580,34 - generic @288,-52,502.07,34 - text @288,-52,502.07,18 t="portal-login" - text @288,-34,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,-48,61.93,26 - button #bot:b4:secret-0 @806.07,-48,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,-43,45.93,16 t="Remove" - generic #group-files @288,10,580,136 - heading @288,10,580,18 t="Files and network" - generic @288,32,580,114 - generic @288,32,580,36 - generic @288,41,580,18 - generic @288,41,528,18 - text @288,41,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,42,36,16 - generic @832,50,0,0 - switch #bot:b4:disk @840,42,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,44,12,12 - generic @288,68,580,36 - generic @288,77,580,18 - generic @288,77,528,18 - text @288,77,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,78,36,16 - generic @832,86,0,0 - switch #bot:b4:network @840,78,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,80,12,12 - generic @288,104,580,42 - generic @288,108,580,34 - generic @288,108,528,34 - text @288,108,528,18 t="Search the web" - text @288,126,528,16 t="The search runs at ChatGPT." - generic @832,117,36,16 - generic @832,125,0,0 - switch #bot:b4:search @840,117,28,16 lb="Search the web" ck=false tab - generic @842,119,12,12 - generic #group-browser @288,170,580,58 - heading @288,170,580,18 t="Browser" - generic @288,192,580,36 - generic @288,192,580,36 - generic @288,197,580,26 - generic @288,201,475.2,18 - text @288,201,475.2,18 t="You have the bot's browser" - generic @779.2,197,88.8,26 - button #bot:b4:hand-back @779.2,197,88.8,26 lb="Hand it back" tab - text @787.2,202,72.8,16 t="Hand it back" - generic #group-engine @288,252,580,268 - heading @288,252,580,18 t="Engine" - generic @288,274,580,246 - generic @288,274,580,38 - generic @288,278,580,30 - generic @288,284,336,18 - text @288,284,336,18 t="Engine" - generic @640,278,228,30 - generic @640,293,0,0 - combobox #bot:b4:engine @648,278,220,30 lb="Bate's own engine" tab - text @729.31,284,110.69,18 t="Bate's own engine" - image @844,287,12,12 deco - generic @288,312,580,42 - generic @288,316,580,34 - generic @288,316,361.38,34 - text @288,316,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,334,361.38,16 t="Version 0.4.0." - generic @665.38,320,202.62,26 - generic @665.38,320,202.62,26 - button #bot:b4:adapter-check-scout-agent @665.38,320,122.38,26 lb="Check for updates" tab - text @673.38,325,106.38,16 t="Check for updates" - button #bot:b4:adapter-remove-scout-agent @795.76,320,72.24,26 lb="Remove…" tab - text @803.76,325,56.24,16 t="Remove…" - generic @288,354,580,92 - generic @288,358,580,18 - text @288,358,580,18 t="Other agent (not installed)" - generic @288,384,580,58 - generic @288,384,580,58 - generic @288,392,526.09,42 - text @304,404,494.09,18 t="install-other-agent --global" - button #copy-bot:b4:install-0 @822.09,400,45.91,26 lb="Copy" tab - text @830.09,405,29.91,16 t="Copy" - generic @288,446,580,42 - generic @288,450,580,34 - generic @288,450,502.83,34 - text @288,450,502.83,18 t="Other agent adapter" - text @288,468,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,454,61.17,26 - button #bot:b4:adapter-install-other-agent @806.83,454,61.17,26 lb="Install…" tab - text @814.83,459,45.17,16 t="Install…" - text @288,488,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,544,580,106 - heading @288,544,580,18 t="Export" - generic @288,566,580,84 - generic @288,566,580,42 - generic @288,570,580,34 - generic @288,570,536,34 - text @288,570,536,18 t="With notes" - text @288,588,536,16 t="Its memory notes go in the file too." - generic @840,579,28,16 - switch #bot:b4:export-notes @840,579,28,16 lb="With notes" ck=false tab - generic @842,581,12,12 - generic @288,608,580,42 - generic @288,612,580,34 - generic @288,612,479.38,34 - text @288,612,479.38,18 t="Export bot" - text @288,630,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,616,84.62,26 - generic @783.38,629,0,0 - button #bot:b4:export @791.38,616,76.62,26 lb="Export bot" tab - text @799.38,621,60.62,16 t="Export bot" - generic #group-delete @288,674,580,64 - heading @288,674,580,18 t="Delete" - generic @288,696,580,42 - generic @288,696,580,42 - generic @288,700,580,34 - generic @288,700,452.88,34 - text @288,700,452.88,18 t="Delete this bot" - text @288,718,452.88,16 t="Its folder moves to the Trash." - generic @756.88,704,111.12,26 - button #bot:b4:delete @756.88,704,111.12,26 lb="Delete this bot…" tab - text @764.88,709,95.12,16 t="Delete this bot…" - generic @288,738,580,16 + generic #group-fallback @288,-1094,580,80 + heading @288,-1094,580,18 t="Fallback" + generic @288,-1072,580,58 + generic @288,-1072,580,58 + generic @288,-1068,580,50 + generic @288,-1068,336,50 + text @288,-1068,336,18 t="Fallback model" + text @288,-1050,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-1058,228,30 + generic @640,-1043,0,0 + combobox #bot:b4:fallback @648,-1058,220,30 lb="None" tab + text @807.96,-1052,32.04,18 t="None" + image @844,-1049,12,12 deco + generic #group-tokens @288,-990,580,326 + heading @288,-990,580,18 t="Tokens" + generic @288,-968,580,304 + generic @288,-968,580,42 + generic @288,-964,580,34 + generic @288,-964,470.13,34 + text @288,-964,470.13,18 t="Used today" + text @288,-946,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,-956,93.87,18 + text #bot:b4:used-today @774.13,-956,93.87,18 t="188,400 tokens" + generic @288,-926,580,58 + generic @288,-922,580,50 + generic @288,-922,459.5,50 + text @288,-922,459.5,18 t="Used this month" + text @288,-904,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,-906,104.5,18 + text #bot:b4:used-month @763.5,-906,104.5,18 t="2,991,000 tokens" + generic @288,-868,580,42 + generic @288,-864,580,34 + generic @288,-864,452,34 + text @288,-864,452,18 t="Limit per day" + text @288,-846,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,-862,112,30 + textbox #bot:b4:limit-day @756,-862,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,-826,580,42 + generic @288,-822,580,34 + generic @288,-822,452,34 + text @288,-822,452,18 t="Limit per month" + text @288,-804,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,-820,112,30 + textbox #bot:b4:limit-month @756,-820,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,-784,580,74 + generic @288,-780,580,66 + generic @288,-780,344,66 + text @288,-780,344,18 t="The limit stops" + text @288,-762,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,-762,220,30 + combobox #bot:b4:limit-stops @648,-762,220,30 lb="Unattended work" tab + text @735.88,-756,104.12,18 t="Unattended work" + image @844,-753,12,12 deco + generic @288,-710,580,46 + button #bot:b4:save-limits @288,-702,90.57,30 lb="Save limits" tab + text @300,-696,66.57,18 t="Save limits" + generic #group-may @288,-640,580,336 + heading @288,-640,580,18 t="What the bot may do" + generic @288,-618,580,314 + generic @288,-618,580,38 + generic @288,-614,580,30 + generic @288,-608,336,18 + text @288,-608,336,18 t="Read files" + generic @640,-614,228,30 + generic @640,-599,0,0 + combobox #bot:b4:perm-read @648,-614,220,30 lb="always" tab + text @799.53,-608,40.47,18 t="always" + image @844,-605,12,12 deco + generic @288,-580,580,38 + generic @288,-576,580,30 + generic @288,-570,336,18 + text @288,-570,336,18 t="Change files" + generic @640,-576,228,30 + generic @640,-561,0,0 + combobox #bot:b4:perm-write @648,-576,220,30 lb="ask me" tab + text @797.03,-570,42.97,18 t="ask me" + image @844,-567,12,12 deco + generic @288,-542,580,38 + generic @288,-538,580,30 + generic @288,-532,336,18 + text @288,-532,336,18 t="Run commands" + generic @640,-538,228,30 + generic @640,-523,0,0 + combobox #bot:b4:perm-run @648,-538,220,30 lb="ask me" tab + text @797.03,-532,42.97,18 t="ask me" + image @844,-529,12,12 deco + generic @288,-504,580,74 + generic @288,-500,580,66 + generic @288,-500,332.75,66 + text @288,-500,332.75,18 t="Use connectors" + text @288,-482,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,-482,231.25,30 + generic @636.75,-467,0,0 + combobox #bot:b4:perm-connector @644.75,-482,223.25,30 lb="read-only tools without asking" tab + text @656.75,-476,183.25,18 t="read-only tools without asking" + image @844,-473,12,12 deco + generic @288,-430,580,38 + generic @288,-426,580,30 + generic @288,-420,336,18 + text @288,-420,336,18 t="See and control other apps" + generic @640,-426,228,30 + generic @640,-411,0,0 + combobox #bot:b4:perm-desktop @648,-426,220,30 lb="never" tab + text @806.33,-420,33.67,18 t="never" + image @844,-417,12,12 deco + generic @288,-392,580,44 + generic @288,-388,580,36 + generic @288,-388,336,36 + text @288,-388,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,-385,228,30 + generic @640,-370,0,0 + combobox #bot:b4:perm-apple_read @648,-385,220,30 lb="ask me" tab + text @797.03,-379,42.97,18 t="ask me" + image @844,-376,12,12 deco + generic @288,-348,580,44 + generic @288,-344,580,36 + generic @288,-344,336,36 + text @288,-344,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,-341,228,30 + generic @640,-326,0,0 + combobox #bot:b4:perm-apple_change @648,-341,220,30 lb="ask me" tab + text @797.03,-335,42.97,18 t="ask me" + image @844,-332,12,12 deco + generic #group-always @288,-280,580,106 + heading @288,-280,580,18 t="Always allowed" + generic @288,-258,580,84 + generic @288,-258,580,42 + generic @288,-254,580,34 + generic @288,-254,502.07,34 + text @288,-254,502.07,18 t="Run commands" + text @288,-236,502.07,16 t="ls -l" + generic @806.07,-250,61.93,26 + button #bot:b4:grant-0 @806.07,-250,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,-245,45.93,16 t="Remove" + generic @288,-216,580,42 + generic @288,-212,580,34 + generic @288,-212,502.07,34 + text @288,-212,502.07,18 t="Read files" + text @288,-194,502.07,16 t="notes/pears.md" + generic @806.07,-208,61.93,26 + button #bot:b4:grant-1 @806.07,-208,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,-203,45.93,16 t="Remove" + generic #group-in-conversation @288,-150,580,64 + heading @288,-150,580,18 t="Allowed in one conversation" + generic @288,-128,580,42 + generic @288,-128,580,42 + generic @288,-124,580,34 + generic @288,-124,502.07,34 + text @288,-124,502.07,18 t="Change files" + text @288,-106,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,-120,61.93,26 + button #bot:b4:conversation-grant-0 @806.07,-120,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,-115,45.93,16 t="Remove" + generic #group-blocked @288,-62,580,64 + heading @288,-62,580,18 t="Blocked tools" + generic @288,-40,580,42 + generic @288,-40,580,42 + generic @288,-36,580,34 + generic @288,-36,500.28,34 + text @288,-36,500.28,18 t="Use connectors" + text @288,-18,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,-32,63.72,26 + button #bot:b4:unblock-0 @804.28,-32,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,-27,47.72,16 t="Unblock" + generic #group-secrets @288,26,580,64 + heading @288,26,580,18 t="Secrets" + generic @288,48,580,42 + generic @288,48,580,42 + generic @288,52,580,34 + generic @288,52,502.07,34 + text @288,52,502.07,18 t="portal-login" + text @288,70,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,56,61.93,26 + button #bot:b4:secret-0 @806.07,56,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,61,45.93,16 t="Remove" + generic #group-files @288,114,580,136 + heading @288,114,580,18 t="Files and network" + generic @288,136,580,114 + generic @288,136,580,36 + generic @288,145,580,18 + generic @288,145,528,18 + text @288,145,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,146,36,16 + generic @832,154,0,0 + switch #bot:b4:disk @840,146,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,148,12,12 + generic @288,172,580,36 + generic @288,181,580,18 + generic @288,181,528,18 + text @288,181,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,182,36,16 + generic @832,190,0,0 + switch #bot:b4:network @840,182,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,184,12,12 + generic @288,208,580,42 + generic @288,212,580,34 + generic @288,212,528,34 + text @288,212,528,18 t="Search the web" + text @288,230,528,16 t="The search runs at ChatGPT." + generic @832,221,36,16 + generic @832,229,0,0 + switch #bot:b4:search @840,221,28,16 lb="Search the web" ck=false tab + generic @842,223,12,12 + generic #group-browser @288,274,580,58 + heading @288,274,580,18 t="Browser" + generic @288,296,580,36 + generic @288,296,580,36 + generic @288,301,580,26 + generic @288,305,475.2,18 + text @288,305,475.2,18 t="You have the bot's browser" + generic @779.2,301,88.8,26 + button #bot:b4:hand-back @779.2,301,88.8,26 lb="Hand it back" tab + text @787.2,306,72.8,16 t="Hand it back" + generic #group-engine @288,356,580,268 + heading @288,356,580,18 t="Engine" + generic @288,378,580,246 + generic @288,378,580,38 + generic @288,382,580,30 + generic @288,388,336,18 + text @288,388,336,18 t="Engine" + generic @640,382,228,30 + generic @640,397,0,0 + combobox #bot:b4:engine @648,382,220,30 lb="Bate's own engine" tab + text @729.31,388,110.69,18 t="Bate's own engine" + image @844,391,12,12 deco + generic @288,416,580,42 + generic @288,420,580,34 + generic @288,420,361.38,34 + text @288,420,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,438,361.38,16 t="Version 0.4.0." + generic @665.38,424,202.62,26 + generic @665.38,424,202.62,26 + button #bot:b4:adapter-check-scout-agent @665.38,424,122.38,26 lb="Check for updates" tab + text @673.38,429,106.38,16 t="Check for updates" + button #bot:b4:adapter-remove-scout-agent @795.76,424,72.24,26 lb="Remove…" tab + text @803.76,429,56.24,16 t="Remove…" + generic @288,458,580,92 + generic @288,462,580,18 + text @288,462,580,18 t="Other agent (not installed)" + generic @288,488,580,58 + generic @288,488,580,58 + generic @288,496,526.09,42 + text @304,508,494.09,18 t="install-other-agent --global" + button #copy-bot:b4:install-0 @822.09,504,45.91,26 lb="Copy" tab + text @830.09,509,29.91,16 t="Copy" + generic @288,550,580,42 + generic @288,554,580,34 + generic @288,554,502.83,34 + text @288,554,502.83,18 t="Other agent adapter" + text @288,572,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,558,61.17,26 + button #bot:b4:adapter-install-other-agent @806.83,558,61.17,26 lb="Install…" tab + text @814.83,563,45.17,16 t="Install…" + text @288,592,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,648,580,106 + heading @288,648,580,18 t="Export" + generic @288,670,580,84 + generic @288,670,580,42 + generic @288,674,580,34 + generic @288,674,536,34 + text @288,674,536,18 t="With notes" + text @288,692,536,16 t="Its memory notes go in the file too." + generic @840,683,28,16 + switch #bot:b4:export-notes @840,683,28,16 lb="With notes" ck=false tab + generic @842,685,12,12 + generic @288,712,580,42 + generic @288,716,580,34 + generic @288,716,479.38,34 + text @288,716,479.38,18 t="Export bot" + text @288,734,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,720,84.62,26 + generic @783.38,733,0,0 + button #bot:b4:export @791.38,720,76.62,26 lb="Export bot" tab + text @799.38,725,60.62,16 t="Export bot" + generic #group-delete @288,778,580,64 + heading @288,778,580,18 t="Delete" + generic @288,800,580,42 + generic @288,800,580,42 + generic @288,804,580,34 + generic @288,804,452.88,34 + text @288,804,452.88,18 t="Delete this bot" + text @288,822,452.88,16 t="Its folder moves to the Trash." + generic @756.88,808,111.12,26 + button #bot:b4:delete @756.88,808,111.12,26 lb="Delete this bot…" tab + text @764.88,813,95.12,16 t="Delete this bot…" + generic @288,842,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-check-dark.png b/native/tests/snapshots/native-bot-settings-check-dark.png index abfd953f..54d0cbfa 100644 Binary files a/native/tests/snapshots/native-bot-settings-check-dark.png and b/native/tests/snapshots/native-bot-settings-check-dark.png differ diff --git a/native/tests/snapshots/native-bot-settings-check-dark.tree b/native/tests/snapshots/native-bot-settings-check-dark.tree index 20574e51..719259b0 100644 --- a/native/tests/snapshots/native-bot-settings-check-dark.tree +++ b/native/tests/snapshots/native-bot-settings-check-dark.tree @@ -135,11 +135,11 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,560,0,1828 - generic @288,-492,580,2504 - generic @288,-492,580,2504 + generic #bot-settings @264,60,628,692 sc=0,560,0,1932 + generic @288,-492,580,2608 + generic @288,-492,580,2608 generic @288,-492,580,16 - generic @288,-476,580,2472 + generic @288,-476,580,2576 generic #group-pause @288,-476,580,80 heading @288,-476,580,18 t="Pause" generic @288,-454,580,58 @@ -257,267 +257,280 @@ generic @0,0,900,760 combobox #bot:b1:check @648,154,220,30 lb="Bot Quill" tab text @788.68,160,51.32,18 t="Bot Quill" image @844,163,12,12 deco - generic #group-tokens @288,246,580,326 - heading @288,246,580,18 t="Tokens" - generic @288,268,580,304 - generic @288,268,580,42 - generic @288,272,580,34 - generic @288,272,470.13,34 - text @288,272,470.13,18 t="Used today" - text @288,290,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,280,93.87,18 - text #bot:b1:used-today @774.13,280,93.87,18 t="188,400 tokens" - generic @288,310,580,58 - generic @288,314,580,50 - generic @288,314,459.5,50 - text @288,314,459.5,18 t="Used this month" - text @288,332,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,330,104.5,18 - text #bot:b1:used-month @763.5,330,104.5,18 t="2,991,000 tokens" - generic @288,368,580,42 - generic @288,372,580,34 - generic @288,372,452,34 - text @288,372,452,18 t="Limit per day" - text @288,390,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,374,112,30 - textbox #bot:b1:limit-day @756,374,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,410,580,42 - generic @288,414,580,34 - generic @288,414,452,34 - text @288,414,452,18 t="Limit per month" - text @288,432,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,416,112,30 - textbox #bot:b1:limit-month @756,416,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,452,580,74 - generic @288,456,580,66 - generic @288,456,344,66 - text @288,456,344,18 t="The limit stops" - text @288,474,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,474,220,30 - combobox #bot:b1:limit-stops @648,474,220,30 lb="Unattended work" tab - text @735.88,480,104.12,18 t="Unattended work" - image @844,483,12,12 deco - generic @288,526,580,46 - button #bot:b1:save-limits @288,534,90.57,30 lb="Save limits" tab - text @300,540,66.57,18 t="Save limits" - generic #group-may @288,596,580,336 - heading @288,596,580,18 t="What the bot may do" - generic @288,618,580,314 - generic @288,618,580,38 - generic @288,622,580,30 - generic @288,628,336,18 - text @288,628,336,18 t="Read files" - generic @640,622,228,30 - generic @640,637,0,0 - combobox #bot:b1:perm-read @648,622,220,30 lb="always" tab - text @799.53,628,40.47,18 t="always" - image @844,631,12,12 deco - generic @288,656,580,38 - generic @288,660,580,30 - generic @288,666,336,18 - text @288,666,336,18 t="Change files" - generic @640,660,228,30 - generic @640,675,0,0 - combobox #bot:b1:perm-write @648,660,220,30 lb="ask me" tab - text @797.03,666,42.97,18 t="ask me" - image @844,669,12,12 deco - generic @288,694,580,38 - generic @288,698,580,30 - generic @288,704,336,18 - text @288,704,336,18 t="Run commands" - generic @640,698,228,30 - generic @640,713,0,0 - combobox #bot:b1:perm-run @648,698,220,30 lb="ask me" tab - text @797.03,704,42.97,18 t="ask me" - image @844,707,12,12 deco - generic @288,732,580,74 - generic @288,736,580,66 - generic @288,736,332.75,66 - text @288,736,332.75,18 t="Use connectors" - text @288,754,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,754,231.25,30 - generic @636.75,769,0,0 - combobox #bot:b1:perm-connector @644.75,754,223.25,30 lb="read-only tools without asking" tab - text @656.75,760,183.25,18 t="read-only tools without asking" - image @844,763,12,12 deco - generic @288,806,580,38 - generic @288,810,580,30 - generic @288,816,336,18 - text @288,816,336,18 t="See and control other apps" - generic @640,810,228,30 - generic @640,825,0,0 - combobox #bot:b1:perm-desktop @648,810,220,30 lb="never" tab - text @806.33,816,33.67,18 t="never" - image @844,819,12,12 deco - generic @288,844,580,44 - generic @288,848,580,36 - generic @288,848,336,36 - text @288,848,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,851,228,30 - generic @640,866,0,0 - combobox #bot:b1:perm-apple_read @648,851,220,30 lb="ask me" tab - text @797.03,857,42.97,18 t="ask me" - image @844,860,12,12 deco - generic @288,888,580,44 - generic @288,892,580,36 - generic @288,892,336,36 - text @288,892,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,895,228,30 - generic @640,910,0,0 - combobox #bot:b1:perm-apple_change @648,895,220,30 lb="ask me" tab - text @797.03,901,42.97,18 t="ask me" - image @844,904,12,12 deco - generic #group-always @288,956,580,106 - heading @288,956,580,18 t="Always allowed" - generic @288,978,580,84 - generic @288,978,580,42 - generic @288,982,580,34 - generic @288,982,502.07,34 - text @288,982,502.07,18 t="Run commands" - text @288,1000,502.07,16 t="ls -l" - generic @806.07,986,61.93,26 - button #bot:b1:grant-0 @806.07,986,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,991,45.93,16 t="Remove" - generic @288,1020,580,42 - generic @288,1024,580,34 - generic @288,1024,502.07,34 - text @288,1024,502.07,18 t="Read files" - text @288,1042,502.07,16 t="notes/pears.md" - generic @806.07,1028,61.93,26 - button #bot:b1:grant-1 @806.07,1028,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,1033,45.93,16 t="Remove" - generic #group-in-conversation @288,1086,580,64 - heading @288,1086,580,18 t="Allowed in one conversation" - generic @288,1108,580,42 - generic @288,1108,580,42 - generic @288,1112,580,34 - generic @288,1112,502.07,34 - text @288,1112,502.07,18 t="Change files" - text @288,1130,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,1116,61.93,26 - button #bot:b1:conversation-grant-0 @806.07,1116,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,1121,45.93,16 t="Remove" - generic #group-blocked @288,1174,580,64 - heading @288,1174,580,18 t="Blocked tools" - generic @288,1196,580,42 - generic @288,1196,580,42 - generic @288,1200,580,34 - generic @288,1200,500.28,34 - text @288,1200,500.28,18 t="Use connectors" - text @288,1218,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,1204,63.72,26 - button #bot:b1:unblock-0 @804.28,1204,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,1209,47.72,16 t="Unblock" - generic #group-secrets @288,1262,580,64 - heading @288,1262,580,18 t="Secrets" - generic @288,1284,580,42 - generic @288,1284,580,42 - generic @288,1288,580,34 - generic @288,1288,502.07,34 - text @288,1288,502.07,18 t="portal-login" - text @288,1306,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,1292,61.93,26 - button #bot:b1:secret-0 @806.07,1292,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,1297,45.93,16 t="Remove" - generic #group-files @288,1350,580,136 - heading @288,1350,580,18 t="Files and network" - generic @288,1372,580,114 - generic @288,1372,580,36 - generic @288,1381,580,18 - generic @288,1381,528,18 - text @288,1381,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,1382,36,16 - generic @832,1390,0,0 - switch #bot:b1:disk @840,1382,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,1384,12,12 - generic @288,1408,580,36 - generic @288,1417,580,18 - generic @288,1417,528,18 - text @288,1417,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,1418,36,16 - generic @832,1426,0,0 - switch #bot:b1:network @840,1418,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,1420,12,12 - generic @288,1444,580,42 - generic @288,1448,580,34 - generic @288,1448,528,34 - text @288,1448,528,18 t="Search the web" - text @288,1466,528,16 t="The search runs at ChatGPT." - generic @832,1457,36,16 - generic @832,1465,0,0 - switch #bot:b1:search @840,1457,28,16 lb="Search the web" ck tab - generic @854,1459,12,12 - generic #group-engine @288,1510,580,268 - heading @288,1510,580,18 t="Engine" - generic @288,1532,580,246 - generic @288,1532,580,38 - generic @288,1536,580,30 - generic @288,1542,336,18 - text @288,1542,336,18 t="Engine" - generic @640,1536,228,30 - generic @640,1551,0,0 - combobox #bot:b1:engine @648,1536,220,30 lb="Bate's own engine" tab - text @729.31,1542,110.69,18 t="Bate's own engine" - image @844,1545,12,12 deco - generic @288,1570,580,42 - generic @288,1574,580,34 - generic @288,1574,361.38,34 - text @288,1574,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,1592,361.38,16 t="Version 0.4.0." - generic @665.38,1578,202.62,26 - generic @665.38,1578,202.62,26 - button #bot:b1:adapter-check-scout-agent @665.38,1578,122.38,26 lb="Check for updates" tab - text @673.38,1583,106.38,16 t="Check for updates" - button #bot:b1:adapter-remove-scout-agent @795.76,1578,72.24,26 lb="Remove…" tab - text @803.76,1583,56.24,16 t="Remove…" - generic @288,1612,580,92 - generic @288,1616,580,18 - text @288,1616,580,18 t="Other agent (not installed)" - generic @288,1642,580,58 - generic @288,1642,580,58 - generic @288,1650,526.09,42 - text @304,1662,494.09,18 t="install-other-agent --global" - button #copy-bot:b1:install-0 @822.09,1658,45.91,26 lb="Copy" tab - text @830.09,1663,29.91,16 t="Copy" - generic @288,1704,580,42 - generic @288,1708,580,34 - generic @288,1708,502.83,34 - text @288,1708,502.83,18 t="Other agent adapter" - text @288,1726,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,1712,61.17,26 - button #bot:b1:adapter-install-other-agent @806.83,1712,61.17,26 lb="Install…" tab - text @814.83,1717,45.17,16 t="Install…" - text @288,1746,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,1802,580,106 - heading @288,1802,580,18 t="Export" - generic @288,1824,580,84 - generic @288,1824,580,42 - generic @288,1828,580,34 - generic @288,1828,536,34 - text @288,1828,536,18 t="With notes" - text @288,1846,536,16 t="Its memory notes go in the file too." - generic @840,1837,28,16 - switch #bot:b1:export-notes @840,1837,28,16 lb="With notes" ck=false tab - generic @842,1839,12,12 - generic @288,1866,580,42 - generic @288,1870,580,34 - generic @288,1870,479.38,34 - text @288,1870,479.38,18 t="Export bot" - text @288,1888,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,1874,84.62,26 - generic @783.38,1887,0,0 - button #bot:b1:export @791.38,1874,76.62,26 lb="Export bot" tab - text @799.38,1879,60.62,16 t="Export bot" - generic #group-delete @288,1932,580,64 - heading @288,1932,580,18 t="Delete" - generic @288,1954,580,42 - generic @288,1954,580,42 - generic @288,1958,580,34 - generic @288,1958,452.88,34 - text @288,1958,452.88,18 t="Delete this bot" - text @288,1976,452.88,16 t="Its folder moves to the Trash." - generic @756.88,1962,111.12,26 - button #bot:b1:delete @756.88,1962,111.12,26 lb="Delete this bot…" tab - text @764.88,1967,95.12,16 t="Delete this bot…" - generic @288,1996,580,16 + generic #group-fallback @288,246,580,80 + heading @288,246,580,18 t="Fallback" + generic @288,268,580,58 + generic @288,268,580,58 + generic @288,272,580,50 + generic @288,272,336,50 + text @288,272,336,18 t="Fallback model" + text @288,290,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,282,228,30 + generic @640,297,0,0 + combobox #bot:b1:fallback @648,282,220,30 lb="None" tab + text @807.96,288,32.04,18 t="None" + image @844,291,12,12 deco + generic #group-tokens @288,350,580,326 + heading @288,350,580,18 t="Tokens" + generic @288,372,580,304 + generic @288,372,580,42 + generic @288,376,580,34 + generic @288,376,470.13,34 + text @288,376,470.13,18 t="Used today" + text @288,394,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,384,93.87,18 + text #bot:b1:used-today @774.13,384,93.87,18 t="188,400 tokens" + generic @288,414,580,58 + generic @288,418,580,50 + generic @288,418,459.5,50 + text @288,418,459.5,18 t="Used this month" + text @288,436,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,434,104.5,18 + text #bot:b1:used-month @763.5,434,104.5,18 t="2,991,000 tokens" + generic @288,472,580,42 + generic @288,476,580,34 + generic @288,476,452,34 + text @288,476,452,18 t="Limit per day" + text @288,494,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,478,112,30 + textbox #bot:b1:limit-day @756,478,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,514,580,42 + generic @288,518,580,34 + generic @288,518,452,34 + text @288,518,452,18 t="Limit per month" + text @288,536,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,520,112,30 + textbox #bot:b1:limit-month @756,520,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,556,580,74 + generic @288,560,580,66 + generic @288,560,344,66 + text @288,560,344,18 t="The limit stops" + text @288,578,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,578,220,30 + combobox #bot:b1:limit-stops @648,578,220,30 lb="Unattended work" tab + text @735.88,584,104.12,18 t="Unattended work" + image @844,587,12,12 deco + generic @288,630,580,46 + button #bot:b1:save-limits @288,638,90.57,30 lb="Save limits" tab + text @300,644,66.57,18 t="Save limits" + generic #group-may @288,700,580,336 + heading @288,700,580,18 t="What the bot may do" + generic @288,722,580,314 + generic @288,722,580,38 + generic @288,726,580,30 + generic @288,732,336,18 + text @288,732,336,18 t="Read files" + generic @640,726,228,30 + generic @640,741,0,0 + combobox #bot:b1:perm-read @648,726,220,30 lb="always" tab + text @799.53,732,40.47,18 t="always" + image @844,735,12,12 deco + generic @288,760,580,38 + generic @288,764,580,30 + generic @288,770,336,18 + text @288,770,336,18 t="Change files" + generic @640,764,228,30 + generic @640,779,0,0 + combobox #bot:b1:perm-write @648,764,220,30 lb="ask me" tab + text @797.03,770,42.97,18 t="ask me" + image @844,773,12,12 deco + generic @288,798,580,38 + generic @288,802,580,30 + generic @288,808,336,18 + text @288,808,336,18 t="Run commands" + generic @640,802,228,30 + generic @640,817,0,0 + combobox #bot:b1:perm-run @648,802,220,30 lb="ask me" tab + text @797.03,808,42.97,18 t="ask me" + image @844,811,12,12 deco + generic @288,836,580,74 + generic @288,840,580,66 + generic @288,840,332.75,66 + text @288,840,332.75,18 t="Use connectors" + text @288,858,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,858,231.25,30 + generic @636.75,873,0,0 + combobox #bot:b1:perm-connector @644.75,858,223.25,30 lb="read-only tools without asking" tab + text @656.75,864,183.25,18 t="read-only tools without asking" + image @844,867,12,12 deco + generic @288,910,580,38 + generic @288,914,580,30 + generic @288,920,336,18 + text @288,920,336,18 t="See and control other apps" + generic @640,914,228,30 + generic @640,929,0,0 + combobox #bot:b1:perm-desktop @648,914,220,30 lb="never" tab + text @806.33,920,33.67,18 t="never" + image @844,923,12,12 deco + generic @288,948,580,44 + generic @288,952,580,36 + generic @288,952,336,36 + text @288,952,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,955,228,30 + generic @640,970,0,0 + combobox #bot:b1:perm-apple_read @648,955,220,30 lb="ask me" tab + text @797.03,961,42.97,18 t="ask me" + image @844,964,12,12 deco + generic @288,992,580,44 + generic @288,996,580,36 + generic @288,996,336,36 + text @288,996,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,999,228,30 + generic @640,1014,0,0 + combobox #bot:b1:perm-apple_change @648,999,220,30 lb="ask me" tab + text @797.03,1005,42.97,18 t="ask me" + image @844,1008,12,12 deco + generic #group-always @288,1060,580,106 + heading @288,1060,580,18 t="Always allowed" + generic @288,1082,580,84 + generic @288,1082,580,42 + generic @288,1086,580,34 + generic @288,1086,502.07,34 + text @288,1086,502.07,18 t="Run commands" + text @288,1104,502.07,16 t="ls -l" + generic @806.07,1090,61.93,26 + button #bot:b1:grant-0 @806.07,1090,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,1095,45.93,16 t="Remove" + generic @288,1124,580,42 + generic @288,1128,580,34 + generic @288,1128,502.07,34 + text @288,1128,502.07,18 t="Read files" + text @288,1146,502.07,16 t="notes/pears.md" + generic @806.07,1132,61.93,26 + button #bot:b1:grant-1 @806.07,1132,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,1137,45.93,16 t="Remove" + generic #group-in-conversation @288,1190,580,64 + heading @288,1190,580,18 t="Allowed in one conversation" + generic @288,1212,580,42 + generic @288,1212,580,42 + generic @288,1216,580,34 + generic @288,1216,502.07,34 + text @288,1216,502.07,18 t="Change files" + text @288,1234,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,1220,61.93,26 + button #bot:b1:conversation-grant-0 @806.07,1220,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,1225,45.93,16 t="Remove" + generic #group-blocked @288,1278,580,64 + heading @288,1278,580,18 t="Blocked tools" + generic @288,1300,580,42 + generic @288,1300,580,42 + generic @288,1304,580,34 + generic @288,1304,500.28,34 + text @288,1304,500.28,18 t="Use connectors" + text @288,1322,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,1308,63.72,26 + button #bot:b1:unblock-0 @804.28,1308,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,1313,47.72,16 t="Unblock" + generic #group-secrets @288,1366,580,64 + heading @288,1366,580,18 t="Secrets" + generic @288,1388,580,42 + generic @288,1388,580,42 + generic @288,1392,580,34 + generic @288,1392,502.07,34 + text @288,1392,502.07,18 t="portal-login" + text @288,1410,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,1396,61.93,26 + button #bot:b1:secret-0 @806.07,1396,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,1401,45.93,16 t="Remove" + generic #group-files @288,1454,580,136 + heading @288,1454,580,18 t="Files and network" + generic @288,1476,580,114 + generic @288,1476,580,36 + generic @288,1485,580,18 + generic @288,1485,528,18 + text @288,1485,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,1486,36,16 + generic @832,1494,0,0 + switch #bot:b1:disk @840,1486,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,1488,12,12 + generic @288,1512,580,36 + generic @288,1521,580,18 + generic @288,1521,528,18 + text @288,1521,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,1522,36,16 + generic @832,1530,0,0 + switch #bot:b1:network @840,1522,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,1524,12,12 + generic @288,1548,580,42 + generic @288,1552,580,34 + generic @288,1552,528,34 + text @288,1552,528,18 t="Search the web" + text @288,1570,528,16 t="The search runs at ChatGPT." + generic @832,1561,36,16 + generic @832,1569,0,0 + switch #bot:b1:search @840,1561,28,16 lb="Search the web" ck tab + generic @854,1563,12,12 + generic #group-engine @288,1614,580,268 + heading @288,1614,580,18 t="Engine" + generic @288,1636,580,246 + generic @288,1636,580,38 + generic @288,1640,580,30 + generic @288,1646,336,18 + text @288,1646,336,18 t="Engine" + generic @640,1640,228,30 + generic @640,1655,0,0 + combobox #bot:b1:engine @648,1640,220,30 lb="Bate's own engine" tab + text @729.31,1646,110.69,18 t="Bate's own engine" + image @844,1649,12,12 deco + generic @288,1674,580,42 + generic @288,1678,580,34 + generic @288,1678,361.38,34 + text @288,1678,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,1696,361.38,16 t="Version 0.4.0." + generic @665.38,1682,202.62,26 + generic @665.38,1682,202.62,26 + button #bot:b1:adapter-check-scout-agent @665.38,1682,122.38,26 lb="Check for updates" tab + text @673.38,1687,106.38,16 t="Check for updates" + button #bot:b1:adapter-remove-scout-agent @795.76,1682,72.24,26 lb="Remove…" tab + text @803.76,1687,56.24,16 t="Remove…" + generic @288,1716,580,92 + generic @288,1720,580,18 + text @288,1720,580,18 t="Other agent (not installed)" + generic @288,1746,580,58 + generic @288,1746,580,58 + generic @288,1754,526.09,42 + text @304,1766,494.09,18 t="install-other-agent --global" + button #copy-bot:b1:install-0 @822.09,1762,45.91,26 lb="Copy" tab + text @830.09,1767,29.91,16 t="Copy" + generic @288,1808,580,42 + generic @288,1812,580,34 + generic @288,1812,502.83,34 + text @288,1812,502.83,18 t="Other agent adapter" + text @288,1830,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,1816,61.17,26 + button #bot:b1:adapter-install-other-agent @806.83,1816,61.17,26 lb="Install…" tab + text @814.83,1821,45.17,16 t="Install…" + text @288,1850,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,1906,580,106 + heading @288,1906,580,18 t="Export" + generic @288,1928,580,84 + generic @288,1928,580,42 + generic @288,1932,580,34 + generic @288,1932,536,34 + text @288,1932,536,18 t="With notes" + text @288,1950,536,16 t="Its memory notes go in the file too." + generic @840,1941,28,16 + switch #bot:b1:export-notes @840,1941,28,16 lb="With notes" ck=false tab + generic @842,1943,12,12 + generic @288,1970,580,42 + generic @288,1974,580,34 + generic @288,1974,479.38,34 + text @288,1974,479.38,18 t="Export bot" + text @288,1992,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,1978,84.62,26 + generic @783.38,1991,0,0 + button #bot:b1:export @791.38,1978,76.62,26 lb="Export bot" tab + text @799.38,1983,60.62,16 t="Export bot" + generic #group-delete @288,2036,580,64 + heading @288,2036,580,18 t="Delete" + generic @288,2058,580,42 + generic @288,2058,580,42 + generic @288,2062,580,34 + generic @288,2062,452.88,34 + text @288,2062,452.88,18 t="Delete this bot" + text @288,2080,452.88,16 t="Its folder moves to the Trash." + generic @756.88,2066,111.12,26 + button #bot:b1:delete @756.88,2066,111.12,26 lb="Delete this bot…" tab + text @764.88,2071,95.12,16 t="Delete this bot…" + generic @288,2100,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-check-light.png b/native/tests/snapshots/native-bot-settings-check-light.png index b970c145..356ceb15 100644 Binary files a/native/tests/snapshots/native-bot-settings-check-light.png and b/native/tests/snapshots/native-bot-settings-check-light.png differ diff --git a/native/tests/snapshots/native-bot-settings-check-light.tree b/native/tests/snapshots/native-bot-settings-check-light.tree index 20574e51..719259b0 100644 --- a/native/tests/snapshots/native-bot-settings-check-light.tree +++ b/native/tests/snapshots/native-bot-settings-check-light.tree @@ -135,11 +135,11 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,560,0,1828 - generic @288,-492,580,2504 - generic @288,-492,580,2504 + generic #bot-settings @264,60,628,692 sc=0,560,0,1932 + generic @288,-492,580,2608 + generic @288,-492,580,2608 generic @288,-492,580,16 - generic @288,-476,580,2472 + generic @288,-476,580,2576 generic #group-pause @288,-476,580,80 heading @288,-476,580,18 t="Pause" generic @288,-454,580,58 @@ -257,267 +257,280 @@ generic @0,0,900,760 combobox #bot:b1:check @648,154,220,30 lb="Bot Quill" tab text @788.68,160,51.32,18 t="Bot Quill" image @844,163,12,12 deco - generic #group-tokens @288,246,580,326 - heading @288,246,580,18 t="Tokens" - generic @288,268,580,304 - generic @288,268,580,42 - generic @288,272,580,34 - generic @288,272,470.13,34 - text @288,272,470.13,18 t="Used today" - text @288,290,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,280,93.87,18 - text #bot:b1:used-today @774.13,280,93.87,18 t="188,400 tokens" - generic @288,310,580,58 - generic @288,314,580,50 - generic @288,314,459.5,50 - text @288,314,459.5,18 t="Used this month" - text @288,332,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,330,104.5,18 - text #bot:b1:used-month @763.5,330,104.5,18 t="2,991,000 tokens" - generic @288,368,580,42 - generic @288,372,580,34 - generic @288,372,452,34 - text @288,372,452,18 t="Limit per day" - text @288,390,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,374,112,30 - textbox #bot:b1:limit-day @756,374,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,410,580,42 - generic @288,414,580,34 - generic @288,414,452,34 - text @288,414,452,18 t="Limit per month" - text @288,432,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,416,112,30 - textbox #bot:b1:limit-month @756,416,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,452,580,74 - generic @288,456,580,66 - generic @288,456,344,66 - text @288,456,344,18 t="The limit stops" - text @288,474,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,474,220,30 - combobox #bot:b1:limit-stops @648,474,220,30 lb="Unattended work" tab - text @735.88,480,104.12,18 t="Unattended work" - image @844,483,12,12 deco - generic @288,526,580,46 - button #bot:b1:save-limits @288,534,90.57,30 lb="Save limits" tab - text @300,540,66.57,18 t="Save limits" - generic #group-may @288,596,580,336 - heading @288,596,580,18 t="What the bot may do" - generic @288,618,580,314 - generic @288,618,580,38 - generic @288,622,580,30 - generic @288,628,336,18 - text @288,628,336,18 t="Read files" - generic @640,622,228,30 - generic @640,637,0,0 - combobox #bot:b1:perm-read @648,622,220,30 lb="always" tab - text @799.53,628,40.47,18 t="always" - image @844,631,12,12 deco - generic @288,656,580,38 - generic @288,660,580,30 - generic @288,666,336,18 - text @288,666,336,18 t="Change files" - generic @640,660,228,30 - generic @640,675,0,0 - combobox #bot:b1:perm-write @648,660,220,30 lb="ask me" tab - text @797.03,666,42.97,18 t="ask me" - image @844,669,12,12 deco - generic @288,694,580,38 - generic @288,698,580,30 - generic @288,704,336,18 - text @288,704,336,18 t="Run commands" - generic @640,698,228,30 - generic @640,713,0,0 - combobox #bot:b1:perm-run @648,698,220,30 lb="ask me" tab - text @797.03,704,42.97,18 t="ask me" - image @844,707,12,12 deco - generic @288,732,580,74 - generic @288,736,580,66 - generic @288,736,332.75,66 - text @288,736,332.75,18 t="Use connectors" - text @288,754,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,754,231.25,30 - generic @636.75,769,0,0 - combobox #bot:b1:perm-connector @644.75,754,223.25,30 lb="read-only tools without asking" tab - text @656.75,760,183.25,18 t="read-only tools without asking" - image @844,763,12,12 deco - generic @288,806,580,38 - generic @288,810,580,30 - generic @288,816,336,18 - text @288,816,336,18 t="See and control other apps" - generic @640,810,228,30 - generic @640,825,0,0 - combobox #bot:b1:perm-desktop @648,810,220,30 lb="never" tab - text @806.33,816,33.67,18 t="never" - image @844,819,12,12 deco - generic @288,844,580,44 - generic @288,848,580,36 - generic @288,848,336,36 - text @288,848,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,851,228,30 - generic @640,866,0,0 - combobox #bot:b1:perm-apple_read @648,851,220,30 lb="ask me" tab - text @797.03,857,42.97,18 t="ask me" - image @844,860,12,12 deco - generic @288,888,580,44 - generic @288,892,580,36 - generic @288,892,336,36 - text @288,892,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,895,228,30 - generic @640,910,0,0 - combobox #bot:b1:perm-apple_change @648,895,220,30 lb="ask me" tab - text @797.03,901,42.97,18 t="ask me" - image @844,904,12,12 deco - generic #group-always @288,956,580,106 - heading @288,956,580,18 t="Always allowed" - generic @288,978,580,84 - generic @288,978,580,42 - generic @288,982,580,34 - generic @288,982,502.07,34 - text @288,982,502.07,18 t="Run commands" - text @288,1000,502.07,16 t="ls -l" - generic @806.07,986,61.93,26 - button #bot:b1:grant-0 @806.07,986,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,991,45.93,16 t="Remove" - generic @288,1020,580,42 - generic @288,1024,580,34 - generic @288,1024,502.07,34 - text @288,1024,502.07,18 t="Read files" - text @288,1042,502.07,16 t="notes/pears.md" - generic @806.07,1028,61.93,26 - button #bot:b1:grant-1 @806.07,1028,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,1033,45.93,16 t="Remove" - generic #group-in-conversation @288,1086,580,64 - heading @288,1086,580,18 t="Allowed in one conversation" - generic @288,1108,580,42 - generic @288,1108,580,42 - generic @288,1112,580,34 - generic @288,1112,502.07,34 - text @288,1112,502.07,18 t="Change files" - text @288,1130,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,1116,61.93,26 - button #bot:b1:conversation-grant-0 @806.07,1116,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,1121,45.93,16 t="Remove" - generic #group-blocked @288,1174,580,64 - heading @288,1174,580,18 t="Blocked tools" - generic @288,1196,580,42 - generic @288,1196,580,42 - generic @288,1200,580,34 - generic @288,1200,500.28,34 - text @288,1200,500.28,18 t="Use connectors" - text @288,1218,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,1204,63.72,26 - button #bot:b1:unblock-0 @804.28,1204,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,1209,47.72,16 t="Unblock" - generic #group-secrets @288,1262,580,64 - heading @288,1262,580,18 t="Secrets" - generic @288,1284,580,42 - generic @288,1284,580,42 - generic @288,1288,580,34 - generic @288,1288,502.07,34 - text @288,1288,502.07,18 t="portal-login" - text @288,1306,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,1292,61.93,26 - button #bot:b1:secret-0 @806.07,1292,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,1297,45.93,16 t="Remove" - generic #group-files @288,1350,580,136 - heading @288,1350,580,18 t="Files and network" - generic @288,1372,580,114 - generic @288,1372,580,36 - generic @288,1381,580,18 - generic @288,1381,528,18 - text @288,1381,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,1382,36,16 - generic @832,1390,0,0 - switch #bot:b1:disk @840,1382,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,1384,12,12 - generic @288,1408,580,36 - generic @288,1417,580,18 - generic @288,1417,528,18 - text @288,1417,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,1418,36,16 - generic @832,1426,0,0 - switch #bot:b1:network @840,1418,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,1420,12,12 - generic @288,1444,580,42 - generic @288,1448,580,34 - generic @288,1448,528,34 - text @288,1448,528,18 t="Search the web" - text @288,1466,528,16 t="The search runs at ChatGPT." - generic @832,1457,36,16 - generic @832,1465,0,0 - switch #bot:b1:search @840,1457,28,16 lb="Search the web" ck tab - generic @854,1459,12,12 - generic #group-engine @288,1510,580,268 - heading @288,1510,580,18 t="Engine" - generic @288,1532,580,246 - generic @288,1532,580,38 - generic @288,1536,580,30 - generic @288,1542,336,18 - text @288,1542,336,18 t="Engine" - generic @640,1536,228,30 - generic @640,1551,0,0 - combobox #bot:b1:engine @648,1536,220,30 lb="Bate's own engine" tab - text @729.31,1542,110.69,18 t="Bate's own engine" - image @844,1545,12,12 deco - generic @288,1570,580,42 - generic @288,1574,580,34 - generic @288,1574,361.38,34 - text @288,1574,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,1592,361.38,16 t="Version 0.4.0." - generic @665.38,1578,202.62,26 - generic @665.38,1578,202.62,26 - button #bot:b1:adapter-check-scout-agent @665.38,1578,122.38,26 lb="Check for updates" tab - text @673.38,1583,106.38,16 t="Check for updates" - button #bot:b1:adapter-remove-scout-agent @795.76,1578,72.24,26 lb="Remove…" tab - text @803.76,1583,56.24,16 t="Remove…" - generic @288,1612,580,92 - generic @288,1616,580,18 - text @288,1616,580,18 t="Other agent (not installed)" - generic @288,1642,580,58 - generic @288,1642,580,58 - generic @288,1650,526.09,42 - text @304,1662,494.09,18 t="install-other-agent --global" - button #copy-bot:b1:install-0 @822.09,1658,45.91,26 lb="Copy" tab - text @830.09,1663,29.91,16 t="Copy" - generic @288,1704,580,42 - generic @288,1708,580,34 - generic @288,1708,502.83,34 - text @288,1708,502.83,18 t="Other agent adapter" - text @288,1726,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,1712,61.17,26 - button #bot:b1:adapter-install-other-agent @806.83,1712,61.17,26 lb="Install…" tab - text @814.83,1717,45.17,16 t="Install…" - text @288,1746,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,1802,580,106 - heading @288,1802,580,18 t="Export" - generic @288,1824,580,84 - generic @288,1824,580,42 - generic @288,1828,580,34 - generic @288,1828,536,34 - text @288,1828,536,18 t="With notes" - text @288,1846,536,16 t="Its memory notes go in the file too." - generic @840,1837,28,16 - switch #bot:b1:export-notes @840,1837,28,16 lb="With notes" ck=false tab - generic @842,1839,12,12 - generic @288,1866,580,42 - generic @288,1870,580,34 - generic @288,1870,479.38,34 - text @288,1870,479.38,18 t="Export bot" - text @288,1888,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,1874,84.62,26 - generic @783.38,1887,0,0 - button #bot:b1:export @791.38,1874,76.62,26 lb="Export bot" tab - text @799.38,1879,60.62,16 t="Export bot" - generic #group-delete @288,1932,580,64 - heading @288,1932,580,18 t="Delete" - generic @288,1954,580,42 - generic @288,1954,580,42 - generic @288,1958,580,34 - generic @288,1958,452.88,34 - text @288,1958,452.88,18 t="Delete this bot" - text @288,1976,452.88,16 t="Its folder moves to the Trash." - generic @756.88,1962,111.12,26 - button #bot:b1:delete @756.88,1962,111.12,26 lb="Delete this bot…" tab - text @764.88,1967,95.12,16 t="Delete this bot…" - generic @288,1996,580,16 + generic #group-fallback @288,246,580,80 + heading @288,246,580,18 t="Fallback" + generic @288,268,580,58 + generic @288,268,580,58 + generic @288,272,580,50 + generic @288,272,336,50 + text @288,272,336,18 t="Fallback model" + text @288,290,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,282,228,30 + generic @640,297,0,0 + combobox #bot:b1:fallback @648,282,220,30 lb="None" tab + text @807.96,288,32.04,18 t="None" + image @844,291,12,12 deco + generic #group-tokens @288,350,580,326 + heading @288,350,580,18 t="Tokens" + generic @288,372,580,304 + generic @288,372,580,42 + generic @288,376,580,34 + generic @288,376,470.13,34 + text @288,376,470.13,18 t="Used today" + text @288,394,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,384,93.87,18 + text #bot:b1:used-today @774.13,384,93.87,18 t="188,400 tokens" + generic @288,414,580,58 + generic @288,418,580,50 + generic @288,418,459.5,50 + text @288,418,459.5,18 t="Used this month" + text @288,436,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,434,104.5,18 + text #bot:b1:used-month @763.5,434,104.5,18 t="2,991,000 tokens" + generic @288,472,580,42 + generic @288,476,580,34 + generic @288,476,452,34 + text @288,476,452,18 t="Limit per day" + text @288,494,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,478,112,30 + textbox #bot:b1:limit-day @756,478,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,514,580,42 + generic @288,518,580,34 + generic @288,518,452,34 + text @288,518,452,18 t="Limit per month" + text @288,536,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,520,112,30 + textbox #bot:b1:limit-month @756,520,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,556,580,74 + generic @288,560,580,66 + generic @288,560,344,66 + text @288,560,344,18 t="The limit stops" + text @288,578,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,578,220,30 + combobox #bot:b1:limit-stops @648,578,220,30 lb="Unattended work" tab + text @735.88,584,104.12,18 t="Unattended work" + image @844,587,12,12 deco + generic @288,630,580,46 + button #bot:b1:save-limits @288,638,90.57,30 lb="Save limits" tab + text @300,644,66.57,18 t="Save limits" + generic #group-may @288,700,580,336 + heading @288,700,580,18 t="What the bot may do" + generic @288,722,580,314 + generic @288,722,580,38 + generic @288,726,580,30 + generic @288,732,336,18 + text @288,732,336,18 t="Read files" + generic @640,726,228,30 + generic @640,741,0,0 + combobox #bot:b1:perm-read @648,726,220,30 lb="always" tab + text @799.53,732,40.47,18 t="always" + image @844,735,12,12 deco + generic @288,760,580,38 + generic @288,764,580,30 + generic @288,770,336,18 + text @288,770,336,18 t="Change files" + generic @640,764,228,30 + generic @640,779,0,0 + combobox #bot:b1:perm-write @648,764,220,30 lb="ask me" tab + text @797.03,770,42.97,18 t="ask me" + image @844,773,12,12 deco + generic @288,798,580,38 + generic @288,802,580,30 + generic @288,808,336,18 + text @288,808,336,18 t="Run commands" + generic @640,802,228,30 + generic @640,817,0,0 + combobox #bot:b1:perm-run @648,802,220,30 lb="ask me" tab + text @797.03,808,42.97,18 t="ask me" + image @844,811,12,12 deco + generic @288,836,580,74 + generic @288,840,580,66 + generic @288,840,332.75,66 + text @288,840,332.75,18 t="Use connectors" + text @288,858,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,858,231.25,30 + generic @636.75,873,0,0 + combobox #bot:b1:perm-connector @644.75,858,223.25,30 lb="read-only tools without asking" tab + text @656.75,864,183.25,18 t="read-only tools without asking" + image @844,867,12,12 deco + generic @288,910,580,38 + generic @288,914,580,30 + generic @288,920,336,18 + text @288,920,336,18 t="See and control other apps" + generic @640,914,228,30 + generic @640,929,0,0 + combobox #bot:b1:perm-desktop @648,914,220,30 lb="never" tab + text @806.33,920,33.67,18 t="never" + image @844,923,12,12 deco + generic @288,948,580,44 + generic @288,952,580,36 + generic @288,952,336,36 + text @288,952,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,955,228,30 + generic @640,970,0,0 + combobox #bot:b1:perm-apple_read @648,955,220,30 lb="ask me" tab + text @797.03,961,42.97,18 t="ask me" + image @844,964,12,12 deco + generic @288,992,580,44 + generic @288,996,580,36 + generic @288,996,336,36 + text @288,996,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,999,228,30 + generic @640,1014,0,0 + combobox #bot:b1:perm-apple_change @648,999,220,30 lb="ask me" tab + text @797.03,1005,42.97,18 t="ask me" + image @844,1008,12,12 deco + generic #group-always @288,1060,580,106 + heading @288,1060,580,18 t="Always allowed" + generic @288,1082,580,84 + generic @288,1082,580,42 + generic @288,1086,580,34 + generic @288,1086,502.07,34 + text @288,1086,502.07,18 t="Run commands" + text @288,1104,502.07,16 t="ls -l" + generic @806.07,1090,61.93,26 + button #bot:b1:grant-0 @806.07,1090,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,1095,45.93,16 t="Remove" + generic @288,1124,580,42 + generic @288,1128,580,34 + generic @288,1128,502.07,34 + text @288,1128,502.07,18 t="Read files" + text @288,1146,502.07,16 t="notes/pears.md" + generic @806.07,1132,61.93,26 + button #bot:b1:grant-1 @806.07,1132,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,1137,45.93,16 t="Remove" + generic #group-in-conversation @288,1190,580,64 + heading @288,1190,580,18 t="Allowed in one conversation" + generic @288,1212,580,42 + generic @288,1212,580,42 + generic @288,1216,580,34 + generic @288,1216,502.07,34 + text @288,1216,502.07,18 t="Change files" + text @288,1234,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,1220,61.93,26 + button #bot:b1:conversation-grant-0 @806.07,1220,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,1225,45.93,16 t="Remove" + generic #group-blocked @288,1278,580,64 + heading @288,1278,580,18 t="Blocked tools" + generic @288,1300,580,42 + generic @288,1300,580,42 + generic @288,1304,580,34 + generic @288,1304,500.28,34 + text @288,1304,500.28,18 t="Use connectors" + text @288,1322,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,1308,63.72,26 + button #bot:b1:unblock-0 @804.28,1308,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,1313,47.72,16 t="Unblock" + generic #group-secrets @288,1366,580,64 + heading @288,1366,580,18 t="Secrets" + generic @288,1388,580,42 + generic @288,1388,580,42 + generic @288,1392,580,34 + generic @288,1392,502.07,34 + text @288,1392,502.07,18 t="portal-login" + text @288,1410,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,1396,61.93,26 + button #bot:b1:secret-0 @806.07,1396,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,1401,45.93,16 t="Remove" + generic #group-files @288,1454,580,136 + heading @288,1454,580,18 t="Files and network" + generic @288,1476,580,114 + generic @288,1476,580,36 + generic @288,1485,580,18 + generic @288,1485,528,18 + text @288,1485,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,1486,36,16 + generic @832,1494,0,0 + switch #bot:b1:disk @840,1486,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,1488,12,12 + generic @288,1512,580,36 + generic @288,1521,580,18 + generic @288,1521,528,18 + text @288,1521,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,1522,36,16 + generic @832,1530,0,0 + switch #bot:b1:network @840,1522,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,1524,12,12 + generic @288,1548,580,42 + generic @288,1552,580,34 + generic @288,1552,528,34 + text @288,1552,528,18 t="Search the web" + text @288,1570,528,16 t="The search runs at ChatGPT." + generic @832,1561,36,16 + generic @832,1569,0,0 + switch #bot:b1:search @840,1561,28,16 lb="Search the web" ck tab + generic @854,1563,12,12 + generic #group-engine @288,1614,580,268 + heading @288,1614,580,18 t="Engine" + generic @288,1636,580,246 + generic @288,1636,580,38 + generic @288,1640,580,30 + generic @288,1646,336,18 + text @288,1646,336,18 t="Engine" + generic @640,1640,228,30 + generic @640,1655,0,0 + combobox #bot:b1:engine @648,1640,220,30 lb="Bate's own engine" tab + text @729.31,1646,110.69,18 t="Bate's own engine" + image @844,1649,12,12 deco + generic @288,1674,580,42 + generic @288,1678,580,34 + generic @288,1678,361.38,34 + text @288,1678,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,1696,361.38,16 t="Version 0.4.0." + generic @665.38,1682,202.62,26 + generic @665.38,1682,202.62,26 + button #bot:b1:adapter-check-scout-agent @665.38,1682,122.38,26 lb="Check for updates" tab + text @673.38,1687,106.38,16 t="Check for updates" + button #bot:b1:adapter-remove-scout-agent @795.76,1682,72.24,26 lb="Remove…" tab + text @803.76,1687,56.24,16 t="Remove…" + generic @288,1716,580,92 + generic @288,1720,580,18 + text @288,1720,580,18 t="Other agent (not installed)" + generic @288,1746,580,58 + generic @288,1746,580,58 + generic @288,1754,526.09,42 + text @304,1766,494.09,18 t="install-other-agent --global" + button #copy-bot:b1:install-0 @822.09,1762,45.91,26 lb="Copy" tab + text @830.09,1767,29.91,16 t="Copy" + generic @288,1808,580,42 + generic @288,1812,580,34 + generic @288,1812,502.83,34 + text @288,1812,502.83,18 t="Other agent adapter" + text @288,1830,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,1816,61.17,26 + button #bot:b1:adapter-install-other-agent @806.83,1816,61.17,26 lb="Install…" tab + text @814.83,1821,45.17,16 t="Install…" + text @288,1850,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,1906,580,106 + heading @288,1906,580,18 t="Export" + generic @288,1928,580,84 + generic @288,1928,580,42 + generic @288,1932,580,34 + generic @288,1932,536,34 + text @288,1932,536,18 t="With notes" + text @288,1950,536,16 t="Its memory notes go in the file too." + generic @840,1941,28,16 + switch #bot:b1:export-notes @840,1941,28,16 lb="With notes" ck=false tab + generic @842,1943,12,12 + generic @288,1970,580,42 + generic @288,1974,580,34 + generic @288,1974,479.38,34 + text @288,1974,479.38,18 t="Export bot" + text @288,1992,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,1978,84.62,26 + generic @783.38,1991,0,0 + button #bot:b1:export @791.38,1978,76.62,26 lb="Export bot" tab + text @799.38,1983,60.62,16 t="Export bot" + generic #group-delete @288,2036,580,64 + heading @288,2036,580,18 t="Delete" + generic @288,2058,580,42 + generic @288,2058,580,42 + generic @288,2062,580,34 + generic @288,2062,452.88,34 + text @288,2062,452.88,18 t="Delete this bot" + text @288,2080,452.88,16 t="Its folder moves to the Trash." + generic @756.88,2066,111.12,26 + button #bot:b1:delete @756.88,2066,111.12,26 lb="Delete this bot…" tab + text @764.88,2071,95.12,16 t="Delete this bot…" + generic @288,2100,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-delete-dark.tree b/native/tests/snapshots/native-bot-settings-delete-dark.tree index ee6de313..01f083cf 100644 --- a/native/tests/snapshots/native-bot-settings-delete-dark.tree +++ b/native/tests/snapshots/native-bot-settings-delete-dark.tree @@ -135,128 +135,141 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1828,0,1828 end - generic @288,-1760,580,2504 - generic @288,-1760,580,2504 - generic @288,-1760,580,16 - generic @288,-1744,580,2472 - generic #group-pause @288,-1744,580,80 - heading @288,-1744,580,18 t="Pause" - generic @288,-1722,580,58 - generic @288,-1722,580,58 - generic @288,-1718,580,50 - generic @288,-1718,505.01,50 - text @288,-1718,505.01,18 t="Pause this bot" - text @288,-1700,505.01,32 t="Stops its turn, skips its routines and holds the messages other bots send it. It takes no message from you until you resume." - generic @809.01,-1706,58.99,26 - generic @809.01,-1693,0,0 - button #bot:b1:paused @817.01,-1706,50.99,26 lb="Pause" tab - text @825.01,-1701,34.99,16 t="Pause" - generic #group-bot @288,-1640,580,442 - heading @288,-1640,580,18 t="The bot" - generic @288,-1618,580,420 - generic @288,-1618,580,38 - generic @288,-1614,580,30 - generic @288,-1608,35.25,18 - text @288,-1608,35.25,18 t="Name" - generic @339.25,-1614,528.75,30 - textbox #bot:b1:name @339.25,-1614,528.75,30 lb="Name" v="Maple" sel=[5,5] caret=5 tab sc=0,0,0,0 end - generic @288,-1580,580,158 - generic @288,-1576,580,18 - text @288,-1576,580,18 t="Instructions" - generic @288,-1550,580,124 - textbox #bot:b1:instructions @288,-1550,580,124 lb="Instructions" v="You look after the notes about the orchard. Keep them short, and group them by tree." ph="What this bot is for and how it should answer" sel=[84,84] caret=84 multi tab sc=0,0,0,0 end - generic @288,-1422,580,98 - generic @288,-1418,580,18 - text @288,-1418,580,18 t="Icon" - generic @288,-1392,580,64 - group #bot:b1:icons @288,-1392,580,64 lb="Icon" - button #bot:b1:icon-letter @288,-1392,30,30 lb="First letter" ck=false tab - text @297.22,-1386,11.55,18 t="M" - button #bot:b1:icon-bot @322,-1392,30,30 lb="bot" ck=false tab - image @329,-1385,16,16 deco - button #bot:b1:icon-search @356,-1392,30,30 lb="search" ck=false tab - image @363,-1385,16,16 deco - button #bot:b1:icon-pen @390,-1392,30,30 lb="pen" ck=false tab - image @397,-1385,16,16 deco - button #bot:b1:icon-code @424,-1392,30,30 lb="code" ck=false tab - image @431,-1385,16,16 deco - button #bot:b1:icon-terminal @458,-1392,30,30 lb="terminal" ck=false tab - image @465,-1385,16,16 deco - button #bot:b1:icon-folder @492,-1392,30,30 lb="folder" ck=false tab - image @499,-1385,16,16 deco - button #bot:b1:icon-compass @526,-1392,30,30 lb="compass" ck=false tab - image @533,-1385,16,16 deco - button #bot:b1:icon-brain @560,-1392,30,30 lb="brain" ck=false tab - image @567,-1385,16,16 deco - button #bot:b1:icon-book @594,-1392,30,30 lb="book" ck=false tab - image @601,-1385,16,16 deco - button #bot:b1:icon-bug @628,-1392,30,30 lb="bug" ck=false tab - image @635,-1385,16,16 deco - button #bot:b1:icon-chart @662,-1392,30,30 lb="chart" ck=false tab - image @669,-1385,16,16 deco - button #bot:b1:icon-data @696,-1392,30,30 lb="data" ck=false tab - image @703,-1385,16,16 deco - button #bot:b1:icon-globe @730,-1392,30,30 lb="globe" ck=false tab - image @737,-1385,16,16 deco - button #bot:b1:icon-shield @764,-1392,30,30 lb="shield" ck=false tab - image @771,-1385,16,16 deco - button #bot:b1:icon-wrench @798,-1392,30,30 lb="wrench" ck=false tab - image @805,-1385,16,16 deco - button #bot:b1:icon-rocket @832,-1392,30,30 lb="rocket" ck=false tab - image @839,-1385,16,16 deco - button #bot:b1:icon-flask @288,-1358,30,30 lb="flask" ck=false tab - image @295,-1351,16,16 deco - button #bot:b1:icon-mail @322,-1358,30,30 lb="mail" ck=false tab - image @329,-1351,16,16 deco - button #bot:b1:icon-calendar @356,-1358,30,30 lb="calendar" ck=false tab - image @363,-1351,16,16 deco - button #bot:b1:icon-camera @390,-1358,30,30 lb="camera" ck=false tab - image @397,-1351,16,16 deco - button #bot:b1:icon-music @424,-1358,30,30 lb="music" ck=false tab - image @431,-1351,16,16 deco - button #bot:b1:icon-sprout @458,-1358,30,30 lb="sprout" ck tab - image @465,-1351,16,16 deco - button #bot:b1:icon-leaf @492,-1358,30,30 lb="leaf" ck=false tab - image @499,-1351,16,16 deco - button #bot:b1:icon-zap @526,-1358,30,30 lb="zap" ck=false tab - image @533,-1351,16,16 deco - button #bot:b1:icon-key @560,-1358,30,30 lb="key" ck=false tab - image @567,-1351,16,16 deco - generic @288,-1324,580,42 - generic @288,-1320,580,34 - generic @288,-1320,452,34 - text @288,-1320,452,18 t="Tool rounds per turn" - text @288,-1302,452,16 t="A turn stops after this many; the chat then offers Continue." - generic @756,-1318,112,30 - textbox #bot:b1:rounds @756,-1318,112,30 lb="Tool rounds per turn" v="30" sel=[2,2] caret=2 tab sc=0,0,0,0 end - generic @288,-1282,580,38 - generic @288,-1278,580,30 - generic @288,-1272,304,18 - text @288,-1272,304,18 t="Colour" - generic @608,-1278,260,30 - generic @608,-1278,260,30 - generic #bot:b1:swatch @608,-1278,60,30 - generic @612,-1274,52,22 - textbox #bot:b1:color @676,-1278,112,30 lb="Colour as #rrggbb" v="#7c5cd6" ph="#rrggbb" sel=[7,7] caret=7 tab sc=0,0,0,0 end - button #bot:b1:no-colour @796,-1276,72,26 lb="No colour" tab - text @804,-1271,56,16 t="No colour" - generic @288,-1244,580,46 - button #bot:b1:save @288,-1236,53.79,30 lb="Save" tab - text @300,-1230,29.79,18 t="Save" - generic #group-check @288,-1174,580,128 - heading @288,-1174,580,18 t="Check" - generic @288,-1152,580,106 - generic @288,-1152,580,106 - generic @288,-1148,580,98 - generic @288,-1148,336,98 - text @288,-1148,336,18 t="Check answers before the turn ends" - text @288,-1130,336,80 t="After a reply that used tools or is long, a model reads it once more, with no tools. If it finds something wrong, the bot works on it again (checked twice at most). It uses this bot's tokens; routines and other bots' messages are not checked." - generic @640,-1114,228,30 - generic @640,-1099,0,0 - combobox #bot:b1:check @648,-1114,220,30 lb="Bot Quill" tab - text @788.68,-1108,51.32,18 t="Bot Quill" - image @844,-1105,12,12 deco + generic #bot-settings @264,60,628,692 sc=0,1932,0,1932 end + generic @288,-1864,580,2608 + generic @288,-1864,580,2608 + generic @288,-1864,580,16 + generic @288,-1848,580,2576 + generic #group-pause @288,-1848,580,80 + heading @288,-1848,580,18 t="Pause" + generic @288,-1826,580,58 + generic @288,-1826,580,58 + generic @288,-1822,580,50 + generic @288,-1822,505.01,50 + text @288,-1822,505.01,18 t="Pause this bot" + text @288,-1804,505.01,32 t="Stops its turn, skips its routines and holds the messages other bots send it. It takes no message from you until you resume." + generic @809.01,-1810,58.99,26 + generic @809.01,-1797,0,0 + button #bot:b1:paused @817.01,-1810,50.99,26 lb="Pause" tab + text @825.01,-1805,34.99,16 t="Pause" + generic #group-bot @288,-1744,580,442 + heading @288,-1744,580,18 t="The bot" + generic @288,-1722,580,420 + generic @288,-1722,580,38 + generic @288,-1718,580,30 + generic @288,-1712,35.25,18 + text @288,-1712,35.25,18 t="Name" + generic @339.25,-1718,528.75,30 + textbox #bot:b1:name @339.25,-1718,528.75,30 lb="Name" v="Maple" sel=[5,5] caret=5 tab sc=0,0,0,0 end + generic @288,-1684,580,158 + generic @288,-1680,580,18 + text @288,-1680,580,18 t="Instructions" + generic @288,-1654,580,124 + textbox #bot:b1:instructions @288,-1654,580,124 lb="Instructions" v="You look after the notes about the orchard. Keep them short, and group them by tree." ph="What this bot is for and how it should answer" sel=[84,84] caret=84 multi tab sc=0,0,0,0 end + generic @288,-1526,580,98 + generic @288,-1522,580,18 + text @288,-1522,580,18 t="Icon" + generic @288,-1496,580,64 + group #bot:b1:icons @288,-1496,580,64 lb="Icon" + button #bot:b1:icon-letter @288,-1496,30,30 lb="First letter" ck=false tab + text @297.22,-1490,11.55,18 t="M" + button #bot:b1:icon-bot @322,-1496,30,30 lb="bot" ck=false tab + image @329,-1489,16,16 deco + button #bot:b1:icon-search @356,-1496,30,30 lb="search" ck=false tab + image @363,-1489,16,16 deco + button #bot:b1:icon-pen @390,-1496,30,30 lb="pen" ck=false tab + image @397,-1489,16,16 deco + button #bot:b1:icon-code @424,-1496,30,30 lb="code" ck=false tab + image @431,-1489,16,16 deco + button #bot:b1:icon-terminal @458,-1496,30,30 lb="terminal" ck=false tab + image @465,-1489,16,16 deco + button #bot:b1:icon-folder @492,-1496,30,30 lb="folder" ck=false tab + image @499,-1489,16,16 deco + button #bot:b1:icon-compass @526,-1496,30,30 lb="compass" ck=false tab + image @533,-1489,16,16 deco + button #bot:b1:icon-brain @560,-1496,30,30 lb="brain" ck=false tab + image @567,-1489,16,16 deco + button #bot:b1:icon-book @594,-1496,30,30 lb="book" ck=false tab + image @601,-1489,16,16 deco + button #bot:b1:icon-bug @628,-1496,30,30 lb="bug" ck=false tab + image @635,-1489,16,16 deco + button #bot:b1:icon-chart @662,-1496,30,30 lb="chart" ck=false tab + image @669,-1489,16,16 deco + button #bot:b1:icon-data @696,-1496,30,30 lb="data" ck=false tab + image @703,-1489,16,16 deco + button #bot:b1:icon-globe @730,-1496,30,30 lb="globe" ck=false tab + image @737,-1489,16,16 deco + button #bot:b1:icon-shield @764,-1496,30,30 lb="shield" ck=false tab + image @771,-1489,16,16 deco + button #bot:b1:icon-wrench @798,-1496,30,30 lb="wrench" ck=false tab + image @805,-1489,16,16 deco + button #bot:b1:icon-rocket @832,-1496,30,30 lb="rocket" ck=false tab + image @839,-1489,16,16 deco + button #bot:b1:icon-flask @288,-1462,30,30 lb="flask" ck=false tab + image @295,-1455,16,16 deco + button #bot:b1:icon-mail @322,-1462,30,30 lb="mail" ck=false tab + image @329,-1455,16,16 deco + button #bot:b1:icon-calendar @356,-1462,30,30 lb="calendar" ck=false tab + image @363,-1455,16,16 deco + button #bot:b1:icon-camera @390,-1462,30,30 lb="camera" ck=false tab + image @397,-1455,16,16 deco + button #bot:b1:icon-music @424,-1462,30,30 lb="music" ck=false tab + image @431,-1455,16,16 deco + button #bot:b1:icon-sprout @458,-1462,30,30 lb="sprout" ck tab + image @465,-1455,16,16 deco + button #bot:b1:icon-leaf @492,-1462,30,30 lb="leaf" ck=false tab + image @499,-1455,16,16 deco + button #bot:b1:icon-zap @526,-1462,30,30 lb="zap" ck=false tab + image @533,-1455,16,16 deco + button #bot:b1:icon-key @560,-1462,30,30 lb="key" ck=false tab + image @567,-1455,16,16 deco + generic @288,-1428,580,42 + generic @288,-1424,580,34 + generic @288,-1424,452,34 + text @288,-1424,452,18 t="Tool rounds per turn" + text @288,-1406,452,16 t="A turn stops after this many; the chat then offers Continue." + generic @756,-1422,112,30 + textbox #bot:b1:rounds @756,-1422,112,30 lb="Tool rounds per turn" v="30" sel=[2,2] caret=2 tab sc=0,0,0,0 end + generic @288,-1386,580,38 + generic @288,-1382,580,30 + generic @288,-1376,304,18 + text @288,-1376,304,18 t="Colour" + generic @608,-1382,260,30 + generic @608,-1382,260,30 + generic #bot:b1:swatch @608,-1382,60,30 + generic @612,-1378,52,22 + textbox #bot:b1:color @676,-1382,112,30 lb="Colour as #rrggbb" v="#7c5cd6" ph="#rrggbb" sel=[7,7] caret=7 tab sc=0,0,0,0 end + button #bot:b1:no-colour @796,-1380,72,26 lb="No colour" tab + text @804,-1375,56,16 t="No colour" + generic @288,-1348,580,46 + button #bot:b1:save @288,-1340,53.79,30 lb="Save" tab + text @300,-1334,29.79,18 t="Save" + generic #group-check @288,-1278,580,128 + heading @288,-1278,580,18 t="Check" + generic @288,-1256,580,106 + generic @288,-1256,580,106 + generic @288,-1252,580,98 + generic @288,-1252,336,98 + text @288,-1252,336,18 t="Check answers before the turn ends" + text @288,-1234,336,80 t="After a reply that used tools or is long, a model reads it once more, with no tools. If it finds something wrong, the bot works on it again (checked twice at most). It uses this bot's tokens; routines and other bots' messages are not checked." + generic @640,-1218,228,30 + generic @640,-1203,0,0 + combobox #bot:b1:check @648,-1218,220,30 lb="Bot Quill" tab + text @788.68,-1212,51.32,18 t="Bot Quill" + image @844,-1209,12,12 deco + generic #group-fallback @288,-1126,580,80 + heading @288,-1126,580,18 t="Fallback" + generic @288,-1104,580,58 + generic @288,-1104,580,58 + generic @288,-1100,580,50 + generic @288,-1100,336,50 + text @288,-1100,336,18 t="Fallback model" + text @288,-1082,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-1090,228,30 + generic @640,-1075,0,0 + combobox #bot:b1:fallback @648,-1090,220,30 lb="None" tab + text @807.96,-1084,32.04,18 t="None" + image @844,-1081,12,12 deco generic #group-tokens @288,-1022,580,326 heading @288,-1022,580,18 t="Tokens" generic @288,-1000,580,304 diff --git a/native/tests/snapshots/native-bot-settings-delete-light.tree b/native/tests/snapshots/native-bot-settings-delete-light.tree index ee6de313..01f083cf 100644 --- a/native/tests/snapshots/native-bot-settings-delete-light.tree +++ b/native/tests/snapshots/native-bot-settings-delete-light.tree @@ -135,128 +135,141 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1828,0,1828 end - generic @288,-1760,580,2504 - generic @288,-1760,580,2504 - generic @288,-1760,580,16 - generic @288,-1744,580,2472 - generic #group-pause @288,-1744,580,80 - heading @288,-1744,580,18 t="Pause" - generic @288,-1722,580,58 - generic @288,-1722,580,58 - generic @288,-1718,580,50 - generic @288,-1718,505.01,50 - text @288,-1718,505.01,18 t="Pause this bot" - text @288,-1700,505.01,32 t="Stops its turn, skips its routines and holds the messages other bots send it. It takes no message from you until you resume." - generic @809.01,-1706,58.99,26 - generic @809.01,-1693,0,0 - button #bot:b1:paused @817.01,-1706,50.99,26 lb="Pause" tab - text @825.01,-1701,34.99,16 t="Pause" - generic #group-bot @288,-1640,580,442 - heading @288,-1640,580,18 t="The bot" - generic @288,-1618,580,420 - generic @288,-1618,580,38 - generic @288,-1614,580,30 - generic @288,-1608,35.25,18 - text @288,-1608,35.25,18 t="Name" - generic @339.25,-1614,528.75,30 - textbox #bot:b1:name @339.25,-1614,528.75,30 lb="Name" v="Maple" sel=[5,5] caret=5 tab sc=0,0,0,0 end - generic @288,-1580,580,158 - generic @288,-1576,580,18 - text @288,-1576,580,18 t="Instructions" - generic @288,-1550,580,124 - textbox #bot:b1:instructions @288,-1550,580,124 lb="Instructions" v="You look after the notes about the orchard. Keep them short, and group them by tree." ph="What this bot is for and how it should answer" sel=[84,84] caret=84 multi tab sc=0,0,0,0 end - generic @288,-1422,580,98 - generic @288,-1418,580,18 - text @288,-1418,580,18 t="Icon" - generic @288,-1392,580,64 - group #bot:b1:icons @288,-1392,580,64 lb="Icon" - button #bot:b1:icon-letter @288,-1392,30,30 lb="First letter" ck=false tab - text @297.22,-1386,11.55,18 t="M" - button #bot:b1:icon-bot @322,-1392,30,30 lb="bot" ck=false tab - image @329,-1385,16,16 deco - button #bot:b1:icon-search @356,-1392,30,30 lb="search" ck=false tab - image @363,-1385,16,16 deco - button #bot:b1:icon-pen @390,-1392,30,30 lb="pen" ck=false tab - image @397,-1385,16,16 deco - button #bot:b1:icon-code @424,-1392,30,30 lb="code" ck=false tab - image @431,-1385,16,16 deco - button #bot:b1:icon-terminal @458,-1392,30,30 lb="terminal" ck=false tab - image @465,-1385,16,16 deco - button #bot:b1:icon-folder @492,-1392,30,30 lb="folder" ck=false tab - image @499,-1385,16,16 deco - button #bot:b1:icon-compass @526,-1392,30,30 lb="compass" ck=false tab - image @533,-1385,16,16 deco - button #bot:b1:icon-brain @560,-1392,30,30 lb="brain" ck=false tab - image @567,-1385,16,16 deco - button #bot:b1:icon-book @594,-1392,30,30 lb="book" ck=false tab - image @601,-1385,16,16 deco - button #bot:b1:icon-bug @628,-1392,30,30 lb="bug" ck=false tab - image @635,-1385,16,16 deco - button #bot:b1:icon-chart @662,-1392,30,30 lb="chart" ck=false tab - image @669,-1385,16,16 deco - button #bot:b1:icon-data @696,-1392,30,30 lb="data" ck=false tab - image @703,-1385,16,16 deco - button #bot:b1:icon-globe @730,-1392,30,30 lb="globe" ck=false tab - image @737,-1385,16,16 deco - button #bot:b1:icon-shield @764,-1392,30,30 lb="shield" ck=false tab - image @771,-1385,16,16 deco - button #bot:b1:icon-wrench @798,-1392,30,30 lb="wrench" ck=false tab - image @805,-1385,16,16 deco - button #bot:b1:icon-rocket @832,-1392,30,30 lb="rocket" ck=false tab - image @839,-1385,16,16 deco - button #bot:b1:icon-flask @288,-1358,30,30 lb="flask" ck=false tab - image @295,-1351,16,16 deco - button #bot:b1:icon-mail @322,-1358,30,30 lb="mail" ck=false tab - image @329,-1351,16,16 deco - button #bot:b1:icon-calendar @356,-1358,30,30 lb="calendar" ck=false tab - image @363,-1351,16,16 deco - button #bot:b1:icon-camera @390,-1358,30,30 lb="camera" ck=false tab - image @397,-1351,16,16 deco - button #bot:b1:icon-music @424,-1358,30,30 lb="music" ck=false tab - image @431,-1351,16,16 deco - button #bot:b1:icon-sprout @458,-1358,30,30 lb="sprout" ck tab - image @465,-1351,16,16 deco - button #bot:b1:icon-leaf @492,-1358,30,30 lb="leaf" ck=false tab - image @499,-1351,16,16 deco - button #bot:b1:icon-zap @526,-1358,30,30 lb="zap" ck=false tab - image @533,-1351,16,16 deco - button #bot:b1:icon-key @560,-1358,30,30 lb="key" ck=false tab - image @567,-1351,16,16 deco - generic @288,-1324,580,42 - generic @288,-1320,580,34 - generic @288,-1320,452,34 - text @288,-1320,452,18 t="Tool rounds per turn" - text @288,-1302,452,16 t="A turn stops after this many; the chat then offers Continue." - generic @756,-1318,112,30 - textbox #bot:b1:rounds @756,-1318,112,30 lb="Tool rounds per turn" v="30" sel=[2,2] caret=2 tab sc=0,0,0,0 end - generic @288,-1282,580,38 - generic @288,-1278,580,30 - generic @288,-1272,304,18 - text @288,-1272,304,18 t="Colour" - generic @608,-1278,260,30 - generic @608,-1278,260,30 - generic #bot:b1:swatch @608,-1278,60,30 - generic @612,-1274,52,22 - textbox #bot:b1:color @676,-1278,112,30 lb="Colour as #rrggbb" v="#7c5cd6" ph="#rrggbb" sel=[7,7] caret=7 tab sc=0,0,0,0 end - button #bot:b1:no-colour @796,-1276,72,26 lb="No colour" tab - text @804,-1271,56,16 t="No colour" - generic @288,-1244,580,46 - button #bot:b1:save @288,-1236,53.79,30 lb="Save" tab - text @300,-1230,29.79,18 t="Save" - generic #group-check @288,-1174,580,128 - heading @288,-1174,580,18 t="Check" - generic @288,-1152,580,106 - generic @288,-1152,580,106 - generic @288,-1148,580,98 - generic @288,-1148,336,98 - text @288,-1148,336,18 t="Check answers before the turn ends" - text @288,-1130,336,80 t="After a reply that used tools or is long, a model reads it once more, with no tools. If it finds something wrong, the bot works on it again (checked twice at most). It uses this bot's tokens; routines and other bots' messages are not checked." - generic @640,-1114,228,30 - generic @640,-1099,0,0 - combobox #bot:b1:check @648,-1114,220,30 lb="Bot Quill" tab - text @788.68,-1108,51.32,18 t="Bot Quill" - image @844,-1105,12,12 deco + generic #bot-settings @264,60,628,692 sc=0,1932,0,1932 end + generic @288,-1864,580,2608 + generic @288,-1864,580,2608 + generic @288,-1864,580,16 + generic @288,-1848,580,2576 + generic #group-pause @288,-1848,580,80 + heading @288,-1848,580,18 t="Pause" + generic @288,-1826,580,58 + generic @288,-1826,580,58 + generic @288,-1822,580,50 + generic @288,-1822,505.01,50 + text @288,-1822,505.01,18 t="Pause this bot" + text @288,-1804,505.01,32 t="Stops its turn, skips its routines and holds the messages other bots send it. It takes no message from you until you resume." + generic @809.01,-1810,58.99,26 + generic @809.01,-1797,0,0 + button #bot:b1:paused @817.01,-1810,50.99,26 lb="Pause" tab + text @825.01,-1805,34.99,16 t="Pause" + generic #group-bot @288,-1744,580,442 + heading @288,-1744,580,18 t="The bot" + generic @288,-1722,580,420 + generic @288,-1722,580,38 + generic @288,-1718,580,30 + generic @288,-1712,35.25,18 + text @288,-1712,35.25,18 t="Name" + generic @339.25,-1718,528.75,30 + textbox #bot:b1:name @339.25,-1718,528.75,30 lb="Name" v="Maple" sel=[5,5] caret=5 tab sc=0,0,0,0 end + generic @288,-1684,580,158 + generic @288,-1680,580,18 + text @288,-1680,580,18 t="Instructions" + generic @288,-1654,580,124 + textbox #bot:b1:instructions @288,-1654,580,124 lb="Instructions" v="You look after the notes about the orchard. Keep them short, and group them by tree." ph="What this bot is for and how it should answer" sel=[84,84] caret=84 multi tab sc=0,0,0,0 end + generic @288,-1526,580,98 + generic @288,-1522,580,18 + text @288,-1522,580,18 t="Icon" + generic @288,-1496,580,64 + group #bot:b1:icons @288,-1496,580,64 lb="Icon" + button #bot:b1:icon-letter @288,-1496,30,30 lb="First letter" ck=false tab + text @297.22,-1490,11.55,18 t="M" + button #bot:b1:icon-bot @322,-1496,30,30 lb="bot" ck=false tab + image @329,-1489,16,16 deco + button #bot:b1:icon-search @356,-1496,30,30 lb="search" ck=false tab + image @363,-1489,16,16 deco + button #bot:b1:icon-pen @390,-1496,30,30 lb="pen" ck=false tab + image @397,-1489,16,16 deco + button #bot:b1:icon-code @424,-1496,30,30 lb="code" ck=false tab + image @431,-1489,16,16 deco + button #bot:b1:icon-terminal @458,-1496,30,30 lb="terminal" ck=false tab + image @465,-1489,16,16 deco + button #bot:b1:icon-folder @492,-1496,30,30 lb="folder" ck=false tab + image @499,-1489,16,16 deco + button #bot:b1:icon-compass @526,-1496,30,30 lb="compass" ck=false tab + image @533,-1489,16,16 deco + button #bot:b1:icon-brain @560,-1496,30,30 lb="brain" ck=false tab + image @567,-1489,16,16 deco + button #bot:b1:icon-book @594,-1496,30,30 lb="book" ck=false tab + image @601,-1489,16,16 deco + button #bot:b1:icon-bug @628,-1496,30,30 lb="bug" ck=false tab + image @635,-1489,16,16 deco + button #bot:b1:icon-chart @662,-1496,30,30 lb="chart" ck=false tab + image @669,-1489,16,16 deco + button #bot:b1:icon-data @696,-1496,30,30 lb="data" ck=false tab + image @703,-1489,16,16 deco + button #bot:b1:icon-globe @730,-1496,30,30 lb="globe" ck=false tab + image @737,-1489,16,16 deco + button #bot:b1:icon-shield @764,-1496,30,30 lb="shield" ck=false tab + image @771,-1489,16,16 deco + button #bot:b1:icon-wrench @798,-1496,30,30 lb="wrench" ck=false tab + image @805,-1489,16,16 deco + button #bot:b1:icon-rocket @832,-1496,30,30 lb="rocket" ck=false tab + image @839,-1489,16,16 deco + button #bot:b1:icon-flask @288,-1462,30,30 lb="flask" ck=false tab + image @295,-1455,16,16 deco + button #bot:b1:icon-mail @322,-1462,30,30 lb="mail" ck=false tab + image @329,-1455,16,16 deco + button #bot:b1:icon-calendar @356,-1462,30,30 lb="calendar" ck=false tab + image @363,-1455,16,16 deco + button #bot:b1:icon-camera @390,-1462,30,30 lb="camera" ck=false tab + image @397,-1455,16,16 deco + button #bot:b1:icon-music @424,-1462,30,30 lb="music" ck=false tab + image @431,-1455,16,16 deco + button #bot:b1:icon-sprout @458,-1462,30,30 lb="sprout" ck tab + image @465,-1455,16,16 deco + button #bot:b1:icon-leaf @492,-1462,30,30 lb="leaf" ck=false tab + image @499,-1455,16,16 deco + button #bot:b1:icon-zap @526,-1462,30,30 lb="zap" ck=false tab + image @533,-1455,16,16 deco + button #bot:b1:icon-key @560,-1462,30,30 lb="key" ck=false tab + image @567,-1455,16,16 deco + generic @288,-1428,580,42 + generic @288,-1424,580,34 + generic @288,-1424,452,34 + text @288,-1424,452,18 t="Tool rounds per turn" + text @288,-1406,452,16 t="A turn stops after this many; the chat then offers Continue." + generic @756,-1422,112,30 + textbox #bot:b1:rounds @756,-1422,112,30 lb="Tool rounds per turn" v="30" sel=[2,2] caret=2 tab sc=0,0,0,0 end + generic @288,-1386,580,38 + generic @288,-1382,580,30 + generic @288,-1376,304,18 + text @288,-1376,304,18 t="Colour" + generic @608,-1382,260,30 + generic @608,-1382,260,30 + generic #bot:b1:swatch @608,-1382,60,30 + generic @612,-1378,52,22 + textbox #bot:b1:color @676,-1382,112,30 lb="Colour as #rrggbb" v="#7c5cd6" ph="#rrggbb" sel=[7,7] caret=7 tab sc=0,0,0,0 end + button #bot:b1:no-colour @796,-1380,72,26 lb="No colour" tab + text @804,-1375,56,16 t="No colour" + generic @288,-1348,580,46 + button #bot:b1:save @288,-1340,53.79,30 lb="Save" tab + text @300,-1334,29.79,18 t="Save" + generic #group-check @288,-1278,580,128 + heading @288,-1278,580,18 t="Check" + generic @288,-1256,580,106 + generic @288,-1256,580,106 + generic @288,-1252,580,98 + generic @288,-1252,336,98 + text @288,-1252,336,18 t="Check answers before the turn ends" + text @288,-1234,336,80 t="After a reply that used tools or is long, a model reads it once more, with no tools. If it finds something wrong, the bot works on it again (checked twice at most). It uses this bot's tokens; routines and other bots' messages are not checked." + generic @640,-1218,228,30 + generic @640,-1203,0,0 + combobox #bot:b1:check @648,-1218,220,30 lb="Bot Quill" tab + text @788.68,-1212,51.32,18 t="Bot Quill" + image @844,-1209,12,12 deco + generic #group-fallback @288,-1126,580,80 + heading @288,-1126,580,18 t="Fallback" + generic @288,-1104,580,58 + generic @288,-1104,580,58 + generic @288,-1100,580,50 + generic @288,-1100,336,50 + text @288,-1100,336,18 t="Fallback model" + text @288,-1082,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-1090,228,30 + generic @640,-1075,0,0 + combobox #bot:b1:fallback @648,-1090,220,30 lb="None" tab + text @807.96,-1084,32.04,18 t="None" + image @844,-1081,12,12 deco generic #group-tokens @288,-1022,580,326 heading @288,-1022,580,18 t="Tokens" generic @288,-1000,580,304 diff --git a/native/tests/snapshots/native-bot-settings-end-dark.tree b/native/tests/snapshots/native-bot-settings-end-dark.tree index f053bc02..8f013e46 100644 --- a/native/tests/snapshots/native-bot-settings-end-dark.tree +++ b/native/tests/snapshots/native-bot-settings-end-dark.tree @@ -135,128 +135,141 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1828,0,1828 end - generic @288,-1760,580,2504 - generic @288,-1760,580,2504 - generic @288,-1760,580,16 - generic @288,-1744,580,2472 - generic #group-pause @288,-1744,580,80 - heading @288,-1744,580,18 t="Pause" - generic @288,-1722,580,58 - generic @288,-1722,580,58 - generic @288,-1718,580,50 - generic @288,-1718,505.01,50 - text @288,-1718,505.01,18 t="Pause this bot" - text @288,-1700,505.01,32 t="Stops its turn, skips its routines and holds the messages other bots send it. It takes no message from you until you resume." - generic @809.01,-1706,58.99,26 - generic @809.01,-1693,0,0 - button #bot:b1:paused @817.01,-1706,50.99,26 lb="Pause" tab - text @825.01,-1701,34.99,16 t="Pause" - generic #group-bot @288,-1640,580,442 - heading @288,-1640,580,18 t="The bot" - generic @288,-1618,580,420 - generic @288,-1618,580,38 - generic @288,-1614,580,30 - generic @288,-1608,35.25,18 - text @288,-1608,35.25,18 t="Name" - generic @339.25,-1614,528.75,30 - textbox #bot:b1:name @339.25,-1614,528.75,30 lb="Name" v="Maple" sel=[5,5] caret=5 tab sc=0,0,0,0 end - generic @288,-1580,580,158 - generic @288,-1576,580,18 - text @288,-1576,580,18 t="Instructions" - generic @288,-1550,580,124 - textbox #bot:b1:instructions @288,-1550,580,124 lb="Instructions" v="You look after the notes about the orchard. Keep them short, and group them by tree." ph="What this bot is for and how it should answer" sel=[84,84] caret=84 multi tab sc=0,0,0,0 end - generic @288,-1422,580,98 - generic @288,-1418,580,18 - text @288,-1418,580,18 t="Icon" - generic @288,-1392,580,64 - group #bot:b1:icons @288,-1392,580,64 lb="Icon" - button #bot:b1:icon-letter @288,-1392,30,30 lb="First letter" ck=false tab - text @297.22,-1386,11.55,18 t="M" - button #bot:b1:icon-bot @322,-1392,30,30 lb="bot" ck=false tab - image @329,-1385,16,16 deco - button #bot:b1:icon-search @356,-1392,30,30 lb="search" ck=false tab - image @363,-1385,16,16 deco - button #bot:b1:icon-pen @390,-1392,30,30 lb="pen" ck=false tab - image @397,-1385,16,16 deco - button #bot:b1:icon-code @424,-1392,30,30 lb="code" ck=false tab - image @431,-1385,16,16 deco - button #bot:b1:icon-terminal @458,-1392,30,30 lb="terminal" ck=false tab - image @465,-1385,16,16 deco - button #bot:b1:icon-folder @492,-1392,30,30 lb="folder" ck=false tab - image @499,-1385,16,16 deco - button #bot:b1:icon-compass @526,-1392,30,30 lb="compass" ck=false tab - image @533,-1385,16,16 deco - button #bot:b1:icon-brain @560,-1392,30,30 lb="brain" ck=false tab - image @567,-1385,16,16 deco - button #bot:b1:icon-book @594,-1392,30,30 lb="book" ck=false tab - image @601,-1385,16,16 deco - button #bot:b1:icon-bug @628,-1392,30,30 lb="bug" ck=false tab - image @635,-1385,16,16 deco - button #bot:b1:icon-chart @662,-1392,30,30 lb="chart" ck=false tab - image @669,-1385,16,16 deco - button #bot:b1:icon-data @696,-1392,30,30 lb="data" ck=false tab - image @703,-1385,16,16 deco - button #bot:b1:icon-globe @730,-1392,30,30 lb="globe" ck=false tab - image @737,-1385,16,16 deco - button #bot:b1:icon-shield @764,-1392,30,30 lb="shield" ck=false tab - image @771,-1385,16,16 deco - button #bot:b1:icon-wrench @798,-1392,30,30 lb="wrench" ck=false tab - image @805,-1385,16,16 deco - button #bot:b1:icon-rocket @832,-1392,30,30 lb="rocket" ck=false tab - image @839,-1385,16,16 deco - button #bot:b1:icon-flask @288,-1358,30,30 lb="flask" ck=false tab - image @295,-1351,16,16 deco - button #bot:b1:icon-mail @322,-1358,30,30 lb="mail" ck=false tab - image @329,-1351,16,16 deco - button #bot:b1:icon-calendar @356,-1358,30,30 lb="calendar" ck=false tab - image @363,-1351,16,16 deco - button #bot:b1:icon-camera @390,-1358,30,30 lb="camera" ck=false tab - image @397,-1351,16,16 deco - button #bot:b1:icon-music @424,-1358,30,30 lb="music" ck=false tab - image @431,-1351,16,16 deco - button #bot:b1:icon-sprout @458,-1358,30,30 lb="sprout" ck tab - image @465,-1351,16,16 deco - button #bot:b1:icon-leaf @492,-1358,30,30 lb="leaf" ck=false tab - image @499,-1351,16,16 deco - button #bot:b1:icon-zap @526,-1358,30,30 lb="zap" ck=false tab - image @533,-1351,16,16 deco - button #bot:b1:icon-key @560,-1358,30,30 lb="key" ck=false tab - image @567,-1351,16,16 deco - generic @288,-1324,580,42 - generic @288,-1320,580,34 - generic @288,-1320,452,34 - text @288,-1320,452,18 t="Tool rounds per turn" - text @288,-1302,452,16 t="A turn stops after this many; the chat then offers Continue." - generic @756,-1318,112,30 - textbox #bot:b1:rounds @756,-1318,112,30 lb="Tool rounds per turn" v="30" sel=[2,2] caret=2 tab sc=0,0,0,0 end - generic @288,-1282,580,38 - generic @288,-1278,580,30 - generic @288,-1272,304,18 - text @288,-1272,304,18 t="Colour" - generic @608,-1278,260,30 - generic @608,-1278,260,30 - generic #bot:b1:swatch @608,-1278,60,30 - generic @612,-1274,52,22 - textbox #bot:b1:color @676,-1278,112,30 lb="Colour as #rrggbb" v="#7c5cd6" ph="#rrggbb" sel=[7,7] caret=7 tab sc=0,0,0,0 end - button #bot:b1:no-colour @796,-1276,72,26 lb="No colour" tab - text @804,-1271,56,16 t="No colour" - generic @288,-1244,580,46 - button #bot:b1:save @288,-1236,53.79,30 lb="Save" tab - text @300,-1230,29.79,18 t="Save" - generic #group-check @288,-1174,580,128 - heading @288,-1174,580,18 t="Check" - generic @288,-1152,580,106 - generic @288,-1152,580,106 - generic @288,-1148,580,98 - generic @288,-1148,336,98 - text @288,-1148,336,18 t="Check answers before the turn ends" - text @288,-1130,336,80 t="After a reply that used tools or is long, a model reads it once more, with no tools. If it finds something wrong, the bot works on it again (checked twice at most). It uses this bot's tokens; routines and other bots' messages are not checked." - generic @640,-1114,228,30 - generic @640,-1099,0,0 - combobox #bot:b1:check @648,-1114,220,30 lb="Bot Quill" tab - text @788.68,-1108,51.32,18 t="Bot Quill" - image @844,-1105,12,12 deco + generic #bot-settings @264,60,628,692 sc=0,1932,0,1932 end + generic @288,-1864,580,2608 + generic @288,-1864,580,2608 + generic @288,-1864,580,16 + generic @288,-1848,580,2576 + generic #group-pause @288,-1848,580,80 + heading @288,-1848,580,18 t="Pause" + generic @288,-1826,580,58 + generic @288,-1826,580,58 + generic @288,-1822,580,50 + generic @288,-1822,505.01,50 + text @288,-1822,505.01,18 t="Pause this bot" + text @288,-1804,505.01,32 t="Stops its turn, skips its routines and holds the messages other bots send it. It takes no message from you until you resume." + generic @809.01,-1810,58.99,26 + generic @809.01,-1797,0,0 + button #bot:b1:paused @817.01,-1810,50.99,26 lb="Pause" tab + text @825.01,-1805,34.99,16 t="Pause" + generic #group-bot @288,-1744,580,442 + heading @288,-1744,580,18 t="The bot" + generic @288,-1722,580,420 + generic @288,-1722,580,38 + generic @288,-1718,580,30 + generic @288,-1712,35.25,18 + text @288,-1712,35.25,18 t="Name" + generic @339.25,-1718,528.75,30 + textbox #bot:b1:name @339.25,-1718,528.75,30 lb="Name" v="Maple" sel=[5,5] caret=5 tab sc=0,0,0,0 end + generic @288,-1684,580,158 + generic @288,-1680,580,18 + text @288,-1680,580,18 t="Instructions" + generic @288,-1654,580,124 + textbox #bot:b1:instructions @288,-1654,580,124 lb="Instructions" v="You look after the notes about the orchard. Keep them short, and group them by tree." ph="What this bot is for and how it should answer" sel=[84,84] caret=84 multi tab sc=0,0,0,0 end + generic @288,-1526,580,98 + generic @288,-1522,580,18 + text @288,-1522,580,18 t="Icon" + generic @288,-1496,580,64 + group #bot:b1:icons @288,-1496,580,64 lb="Icon" + button #bot:b1:icon-letter @288,-1496,30,30 lb="First letter" ck=false tab + text @297.22,-1490,11.55,18 t="M" + button #bot:b1:icon-bot @322,-1496,30,30 lb="bot" ck=false tab + image @329,-1489,16,16 deco + button #bot:b1:icon-search @356,-1496,30,30 lb="search" ck=false tab + image @363,-1489,16,16 deco + button #bot:b1:icon-pen @390,-1496,30,30 lb="pen" ck=false tab + image @397,-1489,16,16 deco + button #bot:b1:icon-code @424,-1496,30,30 lb="code" ck=false tab + image @431,-1489,16,16 deco + button #bot:b1:icon-terminal @458,-1496,30,30 lb="terminal" ck=false tab + image @465,-1489,16,16 deco + button #bot:b1:icon-folder @492,-1496,30,30 lb="folder" ck=false tab + image @499,-1489,16,16 deco + button #bot:b1:icon-compass @526,-1496,30,30 lb="compass" ck=false tab + image @533,-1489,16,16 deco + button #bot:b1:icon-brain @560,-1496,30,30 lb="brain" ck=false tab + image @567,-1489,16,16 deco + button #bot:b1:icon-book @594,-1496,30,30 lb="book" ck=false tab + image @601,-1489,16,16 deco + button #bot:b1:icon-bug @628,-1496,30,30 lb="bug" ck=false tab + image @635,-1489,16,16 deco + button #bot:b1:icon-chart @662,-1496,30,30 lb="chart" ck=false tab + image @669,-1489,16,16 deco + button #bot:b1:icon-data @696,-1496,30,30 lb="data" ck=false tab + image @703,-1489,16,16 deco + button #bot:b1:icon-globe @730,-1496,30,30 lb="globe" ck=false tab + image @737,-1489,16,16 deco + button #bot:b1:icon-shield @764,-1496,30,30 lb="shield" ck=false tab + image @771,-1489,16,16 deco + button #bot:b1:icon-wrench @798,-1496,30,30 lb="wrench" ck=false tab + image @805,-1489,16,16 deco + button #bot:b1:icon-rocket @832,-1496,30,30 lb="rocket" ck=false tab + image @839,-1489,16,16 deco + button #bot:b1:icon-flask @288,-1462,30,30 lb="flask" ck=false tab + image @295,-1455,16,16 deco + button #bot:b1:icon-mail @322,-1462,30,30 lb="mail" ck=false tab + image @329,-1455,16,16 deco + button #bot:b1:icon-calendar @356,-1462,30,30 lb="calendar" ck=false tab + image @363,-1455,16,16 deco + button #bot:b1:icon-camera @390,-1462,30,30 lb="camera" ck=false tab + image @397,-1455,16,16 deco + button #bot:b1:icon-music @424,-1462,30,30 lb="music" ck=false tab + image @431,-1455,16,16 deco + button #bot:b1:icon-sprout @458,-1462,30,30 lb="sprout" ck tab + image @465,-1455,16,16 deco + button #bot:b1:icon-leaf @492,-1462,30,30 lb="leaf" ck=false tab + image @499,-1455,16,16 deco + button #bot:b1:icon-zap @526,-1462,30,30 lb="zap" ck=false tab + image @533,-1455,16,16 deco + button #bot:b1:icon-key @560,-1462,30,30 lb="key" ck=false tab + image @567,-1455,16,16 deco + generic @288,-1428,580,42 + generic @288,-1424,580,34 + generic @288,-1424,452,34 + text @288,-1424,452,18 t="Tool rounds per turn" + text @288,-1406,452,16 t="A turn stops after this many; the chat then offers Continue." + generic @756,-1422,112,30 + textbox #bot:b1:rounds @756,-1422,112,30 lb="Tool rounds per turn" v="30" sel=[2,2] caret=2 tab sc=0,0,0,0 end + generic @288,-1386,580,38 + generic @288,-1382,580,30 + generic @288,-1376,304,18 + text @288,-1376,304,18 t="Colour" + generic @608,-1382,260,30 + generic @608,-1382,260,30 + generic #bot:b1:swatch @608,-1382,60,30 + generic @612,-1378,52,22 + textbox #bot:b1:color @676,-1382,112,30 lb="Colour as #rrggbb" v="#7c5cd6" ph="#rrggbb" sel=[7,7] caret=7 tab sc=0,0,0,0 end + button #bot:b1:no-colour @796,-1380,72,26 lb="No colour" tab + text @804,-1375,56,16 t="No colour" + generic @288,-1348,580,46 + button #bot:b1:save @288,-1340,53.79,30 lb="Save" tab + text @300,-1334,29.79,18 t="Save" + generic #group-check @288,-1278,580,128 + heading @288,-1278,580,18 t="Check" + generic @288,-1256,580,106 + generic @288,-1256,580,106 + generic @288,-1252,580,98 + generic @288,-1252,336,98 + text @288,-1252,336,18 t="Check answers before the turn ends" + text @288,-1234,336,80 t="After a reply that used tools or is long, a model reads it once more, with no tools. If it finds something wrong, the bot works on it again (checked twice at most). It uses this bot's tokens; routines and other bots' messages are not checked." + generic @640,-1218,228,30 + generic @640,-1203,0,0 + combobox #bot:b1:check @648,-1218,220,30 lb="Bot Quill" tab + text @788.68,-1212,51.32,18 t="Bot Quill" + image @844,-1209,12,12 deco + generic #group-fallback @288,-1126,580,80 + heading @288,-1126,580,18 t="Fallback" + generic @288,-1104,580,58 + generic @288,-1104,580,58 + generic @288,-1100,580,50 + generic @288,-1100,336,50 + text @288,-1100,336,18 t="Fallback model" + text @288,-1082,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-1090,228,30 + generic @640,-1075,0,0 + combobox #bot:b1:fallback @648,-1090,220,30 lb="None" tab + text @807.96,-1084,32.04,18 t="None" + image @844,-1081,12,12 deco generic #group-tokens @288,-1022,580,326 heading @288,-1022,580,18 t="Tokens" generic @288,-1000,580,304 diff --git a/native/tests/snapshots/native-bot-settings-end-light.tree b/native/tests/snapshots/native-bot-settings-end-light.tree index f053bc02..8f013e46 100644 --- a/native/tests/snapshots/native-bot-settings-end-light.tree +++ b/native/tests/snapshots/native-bot-settings-end-light.tree @@ -135,128 +135,141 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1828,0,1828 end - generic @288,-1760,580,2504 - generic @288,-1760,580,2504 - generic @288,-1760,580,16 - generic @288,-1744,580,2472 - generic #group-pause @288,-1744,580,80 - heading @288,-1744,580,18 t="Pause" - generic @288,-1722,580,58 - generic @288,-1722,580,58 - generic @288,-1718,580,50 - generic @288,-1718,505.01,50 - text @288,-1718,505.01,18 t="Pause this bot" - text @288,-1700,505.01,32 t="Stops its turn, skips its routines and holds the messages other bots send it. It takes no message from you until you resume." - generic @809.01,-1706,58.99,26 - generic @809.01,-1693,0,0 - button #bot:b1:paused @817.01,-1706,50.99,26 lb="Pause" tab - text @825.01,-1701,34.99,16 t="Pause" - generic #group-bot @288,-1640,580,442 - heading @288,-1640,580,18 t="The bot" - generic @288,-1618,580,420 - generic @288,-1618,580,38 - generic @288,-1614,580,30 - generic @288,-1608,35.25,18 - text @288,-1608,35.25,18 t="Name" - generic @339.25,-1614,528.75,30 - textbox #bot:b1:name @339.25,-1614,528.75,30 lb="Name" v="Maple" sel=[5,5] caret=5 tab sc=0,0,0,0 end - generic @288,-1580,580,158 - generic @288,-1576,580,18 - text @288,-1576,580,18 t="Instructions" - generic @288,-1550,580,124 - textbox #bot:b1:instructions @288,-1550,580,124 lb="Instructions" v="You look after the notes about the orchard. Keep them short, and group them by tree." ph="What this bot is for and how it should answer" sel=[84,84] caret=84 multi tab sc=0,0,0,0 end - generic @288,-1422,580,98 - generic @288,-1418,580,18 - text @288,-1418,580,18 t="Icon" - generic @288,-1392,580,64 - group #bot:b1:icons @288,-1392,580,64 lb="Icon" - button #bot:b1:icon-letter @288,-1392,30,30 lb="First letter" ck=false tab - text @297.22,-1386,11.55,18 t="M" - button #bot:b1:icon-bot @322,-1392,30,30 lb="bot" ck=false tab - image @329,-1385,16,16 deco - button #bot:b1:icon-search @356,-1392,30,30 lb="search" ck=false tab - image @363,-1385,16,16 deco - button #bot:b1:icon-pen @390,-1392,30,30 lb="pen" ck=false tab - image @397,-1385,16,16 deco - button #bot:b1:icon-code @424,-1392,30,30 lb="code" ck=false tab - image @431,-1385,16,16 deco - button #bot:b1:icon-terminal @458,-1392,30,30 lb="terminal" ck=false tab - image @465,-1385,16,16 deco - button #bot:b1:icon-folder @492,-1392,30,30 lb="folder" ck=false tab - image @499,-1385,16,16 deco - button #bot:b1:icon-compass @526,-1392,30,30 lb="compass" ck=false tab - image @533,-1385,16,16 deco - button #bot:b1:icon-brain @560,-1392,30,30 lb="brain" ck=false tab - image @567,-1385,16,16 deco - button #bot:b1:icon-book @594,-1392,30,30 lb="book" ck=false tab - image @601,-1385,16,16 deco - button #bot:b1:icon-bug @628,-1392,30,30 lb="bug" ck=false tab - image @635,-1385,16,16 deco - button #bot:b1:icon-chart @662,-1392,30,30 lb="chart" ck=false tab - image @669,-1385,16,16 deco - button #bot:b1:icon-data @696,-1392,30,30 lb="data" ck=false tab - image @703,-1385,16,16 deco - button #bot:b1:icon-globe @730,-1392,30,30 lb="globe" ck=false tab - image @737,-1385,16,16 deco - button #bot:b1:icon-shield @764,-1392,30,30 lb="shield" ck=false tab - image @771,-1385,16,16 deco - button #bot:b1:icon-wrench @798,-1392,30,30 lb="wrench" ck=false tab - image @805,-1385,16,16 deco - button #bot:b1:icon-rocket @832,-1392,30,30 lb="rocket" ck=false tab - image @839,-1385,16,16 deco - button #bot:b1:icon-flask @288,-1358,30,30 lb="flask" ck=false tab - image @295,-1351,16,16 deco - button #bot:b1:icon-mail @322,-1358,30,30 lb="mail" ck=false tab - image @329,-1351,16,16 deco - button #bot:b1:icon-calendar @356,-1358,30,30 lb="calendar" ck=false tab - image @363,-1351,16,16 deco - button #bot:b1:icon-camera @390,-1358,30,30 lb="camera" ck=false tab - image @397,-1351,16,16 deco - button #bot:b1:icon-music @424,-1358,30,30 lb="music" ck=false tab - image @431,-1351,16,16 deco - button #bot:b1:icon-sprout @458,-1358,30,30 lb="sprout" ck tab - image @465,-1351,16,16 deco - button #bot:b1:icon-leaf @492,-1358,30,30 lb="leaf" ck=false tab - image @499,-1351,16,16 deco - button #bot:b1:icon-zap @526,-1358,30,30 lb="zap" ck=false tab - image @533,-1351,16,16 deco - button #bot:b1:icon-key @560,-1358,30,30 lb="key" ck=false tab - image @567,-1351,16,16 deco - generic @288,-1324,580,42 - generic @288,-1320,580,34 - generic @288,-1320,452,34 - text @288,-1320,452,18 t="Tool rounds per turn" - text @288,-1302,452,16 t="A turn stops after this many; the chat then offers Continue." - generic @756,-1318,112,30 - textbox #bot:b1:rounds @756,-1318,112,30 lb="Tool rounds per turn" v="30" sel=[2,2] caret=2 tab sc=0,0,0,0 end - generic @288,-1282,580,38 - generic @288,-1278,580,30 - generic @288,-1272,304,18 - text @288,-1272,304,18 t="Colour" - generic @608,-1278,260,30 - generic @608,-1278,260,30 - generic #bot:b1:swatch @608,-1278,60,30 - generic @612,-1274,52,22 - textbox #bot:b1:color @676,-1278,112,30 lb="Colour as #rrggbb" v="#7c5cd6" ph="#rrggbb" sel=[7,7] caret=7 tab sc=0,0,0,0 end - button #bot:b1:no-colour @796,-1276,72,26 lb="No colour" tab - text @804,-1271,56,16 t="No colour" - generic @288,-1244,580,46 - button #bot:b1:save @288,-1236,53.79,30 lb="Save" tab - text @300,-1230,29.79,18 t="Save" - generic #group-check @288,-1174,580,128 - heading @288,-1174,580,18 t="Check" - generic @288,-1152,580,106 - generic @288,-1152,580,106 - generic @288,-1148,580,98 - generic @288,-1148,336,98 - text @288,-1148,336,18 t="Check answers before the turn ends" - text @288,-1130,336,80 t="After a reply that used tools or is long, a model reads it once more, with no tools. If it finds something wrong, the bot works on it again (checked twice at most). It uses this bot's tokens; routines and other bots' messages are not checked." - generic @640,-1114,228,30 - generic @640,-1099,0,0 - combobox #bot:b1:check @648,-1114,220,30 lb="Bot Quill" tab - text @788.68,-1108,51.32,18 t="Bot Quill" - image @844,-1105,12,12 deco + generic #bot-settings @264,60,628,692 sc=0,1932,0,1932 end + generic @288,-1864,580,2608 + generic @288,-1864,580,2608 + generic @288,-1864,580,16 + generic @288,-1848,580,2576 + generic #group-pause @288,-1848,580,80 + heading @288,-1848,580,18 t="Pause" + generic @288,-1826,580,58 + generic @288,-1826,580,58 + generic @288,-1822,580,50 + generic @288,-1822,505.01,50 + text @288,-1822,505.01,18 t="Pause this bot" + text @288,-1804,505.01,32 t="Stops its turn, skips its routines and holds the messages other bots send it. It takes no message from you until you resume." + generic @809.01,-1810,58.99,26 + generic @809.01,-1797,0,0 + button #bot:b1:paused @817.01,-1810,50.99,26 lb="Pause" tab + text @825.01,-1805,34.99,16 t="Pause" + generic #group-bot @288,-1744,580,442 + heading @288,-1744,580,18 t="The bot" + generic @288,-1722,580,420 + generic @288,-1722,580,38 + generic @288,-1718,580,30 + generic @288,-1712,35.25,18 + text @288,-1712,35.25,18 t="Name" + generic @339.25,-1718,528.75,30 + textbox #bot:b1:name @339.25,-1718,528.75,30 lb="Name" v="Maple" sel=[5,5] caret=5 tab sc=0,0,0,0 end + generic @288,-1684,580,158 + generic @288,-1680,580,18 + text @288,-1680,580,18 t="Instructions" + generic @288,-1654,580,124 + textbox #bot:b1:instructions @288,-1654,580,124 lb="Instructions" v="You look after the notes about the orchard. Keep them short, and group them by tree." ph="What this bot is for and how it should answer" sel=[84,84] caret=84 multi tab sc=0,0,0,0 end + generic @288,-1526,580,98 + generic @288,-1522,580,18 + text @288,-1522,580,18 t="Icon" + generic @288,-1496,580,64 + group #bot:b1:icons @288,-1496,580,64 lb="Icon" + button #bot:b1:icon-letter @288,-1496,30,30 lb="First letter" ck=false tab + text @297.22,-1490,11.55,18 t="M" + button #bot:b1:icon-bot @322,-1496,30,30 lb="bot" ck=false tab + image @329,-1489,16,16 deco + button #bot:b1:icon-search @356,-1496,30,30 lb="search" ck=false tab + image @363,-1489,16,16 deco + button #bot:b1:icon-pen @390,-1496,30,30 lb="pen" ck=false tab + image @397,-1489,16,16 deco + button #bot:b1:icon-code @424,-1496,30,30 lb="code" ck=false tab + image @431,-1489,16,16 deco + button #bot:b1:icon-terminal @458,-1496,30,30 lb="terminal" ck=false tab + image @465,-1489,16,16 deco + button #bot:b1:icon-folder @492,-1496,30,30 lb="folder" ck=false tab + image @499,-1489,16,16 deco + button #bot:b1:icon-compass @526,-1496,30,30 lb="compass" ck=false tab + image @533,-1489,16,16 deco + button #bot:b1:icon-brain @560,-1496,30,30 lb="brain" ck=false tab + image @567,-1489,16,16 deco + button #bot:b1:icon-book @594,-1496,30,30 lb="book" ck=false tab + image @601,-1489,16,16 deco + button #bot:b1:icon-bug @628,-1496,30,30 lb="bug" ck=false tab + image @635,-1489,16,16 deco + button #bot:b1:icon-chart @662,-1496,30,30 lb="chart" ck=false tab + image @669,-1489,16,16 deco + button #bot:b1:icon-data @696,-1496,30,30 lb="data" ck=false tab + image @703,-1489,16,16 deco + button #bot:b1:icon-globe @730,-1496,30,30 lb="globe" ck=false tab + image @737,-1489,16,16 deco + button #bot:b1:icon-shield @764,-1496,30,30 lb="shield" ck=false tab + image @771,-1489,16,16 deco + button #bot:b1:icon-wrench @798,-1496,30,30 lb="wrench" ck=false tab + image @805,-1489,16,16 deco + button #bot:b1:icon-rocket @832,-1496,30,30 lb="rocket" ck=false tab + image @839,-1489,16,16 deco + button #bot:b1:icon-flask @288,-1462,30,30 lb="flask" ck=false tab + image @295,-1455,16,16 deco + button #bot:b1:icon-mail @322,-1462,30,30 lb="mail" ck=false tab + image @329,-1455,16,16 deco + button #bot:b1:icon-calendar @356,-1462,30,30 lb="calendar" ck=false tab + image @363,-1455,16,16 deco + button #bot:b1:icon-camera @390,-1462,30,30 lb="camera" ck=false tab + image @397,-1455,16,16 deco + button #bot:b1:icon-music @424,-1462,30,30 lb="music" ck=false tab + image @431,-1455,16,16 deco + button #bot:b1:icon-sprout @458,-1462,30,30 lb="sprout" ck tab + image @465,-1455,16,16 deco + button #bot:b1:icon-leaf @492,-1462,30,30 lb="leaf" ck=false tab + image @499,-1455,16,16 deco + button #bot:b1:icon-zap @526,-1462,30,30 lb="zap" ck=false tab + image @533,-1455,16,16 deco + button #bot:b1:icon-key @560,-1462,30,30 lb="key" ck=false tab + image @567,-1455,16,16 deco + generic @288,-1428,580,42 + generic @288,-1424,580,34 + generic @288,-1424,452,34 + text @288,-1424,452,18 t="Tool rounds per turn" + text @288,-1406,452,16 t="A turn stops after this many; the chat then offers Continue." + generic @756,-1422,112,30 + textbox #bot:b1:rounds @756,-1422,112,30 lb="Tool rounds per turn" v="30" sel=[2,2] caret=2 tab sc=0,0,0,0 end + generic @288,-1386,580,38 + generic @288,-1382,580,30 + generic @288,-1376,304,18 + text @288,-1376,304,18 t="Colour" + generic @608,-1382,260,30 + generic @608,-1382,260,30 + generic #bot:b1:swatch @608,-1382,60,30 + generic @612,-1378,52,22 + textbox #bot:b1:color @676,-1382,112,30 lb="Colour as #rrggbb" v="#7c5cd6" ph="#rrggbb" sel=[7,7] caret=7 tab sc=0,0,0,0 end + button #bot:b1:no-colour @796,-1380,72,26 lb="No colour" tab + text @804,-1375,56,16 t="No colour" + generic @288,-1348,580,46 + button #bot:b1:save @288,-1340,53.79,30 lb="Save" tab + text @300,-1334,29.79,18 t="Save" + generic #group-check @288,-1278,580,128 + heading @288,-1278,580,18 t="Check" + generic @288,-1256,580,106 + generic @288,-1256,580,106 + generic @288,-1252,580,98 + generic @288,-1252,336,98 + text @288,-1252,336,18 t="Check answers before the turn ends" + text @288,-1234,336,80 t="After a reply that used tools or is long, a model reads it once more, with no tools. If it finds something wrong, the bot works on it again (checked twice at most). It uses this bot's tokens; routines and other bots' messages are not checked." + generic @640,-1218,228,30 + generic @640,-1203,0,0 + combobox #bot:b1:check @648,-1218,220,30 lb="Bot Quill" tab + text @788.68,-1212,51.32,18 t="Bot Quill" + image @844,-1209,12,12 deco + generic #group-fallback @288,-1126,580,80 + heading @288,-1126,580,18 t="Fallback" + generic @288,-1104,580,58 + generic @288,-1104,580,58 + generic @288,-1100,580,50 + generic @288,-1100,336,50 + text @288,-1100,336,18 t="Fallback model" + text @288,-1082,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-1090,228,30 + generic @640,-1075,0,0 + combobox #bot:b1:fallback @648,-1090,220,30 lb="None" tab + text @807.96,-1084,32.04,18 t="None" + image @844,-1081,12,12 deco generic #group-tokens @288,-1022,580,326 heading @288,-1022,580,18 t="Tokens" generic @288,-1000,580,304 diff --git a/native/tests/snapshots/native-bot-settings-export-dark.tree b/native/tests/snapshots/native-bot-settings-export-dark.tree index 8facded9..68984348 100644 --- a/native/tests/snapshots/native-bot-settings-export-dark.tree +++ b/native/tests/snapshots/native-bot-settings-export-dark.tree @@ -135,128 +135,141 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1948,0,1948 end - generic @288,-1880,580,2624 - generic @288,-1880,580,2624 - generic @288,-1880,580,16 - generic @288,-1864,580,2592 - generic #group-pause @288,-1864,580,80 - heading @288,-1864,580,18 t="Pause" - generic @288,-1842,580,58 - generic @288,-1842,580,58 - generic @288,-1838,580,50 - generic @288,-1838,505.01,50 - text @288,-1838,505.01,18 t="Pause this bot" - text @288,-1820,505.01,32 t="Stops its turn, skips its routines and holds the messages other bots send it. It takes no message from you until you resume." - generic @809.01,-1826,58.99,26 - generic @809.01,-1813,0,0 - button #bot:b1:paused @817.01,-1826,50.99,26 lb="Pause" tab - text @825.01,-1821,34.99,16 t="Pause" - generic #group-bot @288,-1760,580,442 - heading @288,-1760,580,18 t="The bot" - generic @288,-1738,580,420 - generic @288,-1738,580,38 - generic @288,-1734,580,30 - generic @288,-1728,35.25,18 - text @288,-1728,35.25,18 t="Name" - generic @339.25,-1734,528.75,30 - textbox #bot:b1:name @339.25,-1734,528.75,30 lb="Name" v="Maple" sel=[5,5] caret=5 tab sc=0,0,0,0 end - generic @288,-1700,580,158 - generic @288,-1696,580,18 - text @288,-1696,580,18 t="Instructions" - generic @288,-1670,580,124 - textbox #bot:b1:instructions @288,-1670,580,124 lb="Instructions" v="You look after the notes about the orchard. Keep them short, and group them by tree." ph="What this bot is for and how it should answer" sel=[84,84] caret=84 multi tab sc=0,0,0,0 end - generic @288,-1542,580,98 - generic @288,-1538,580,18 - text @288,-1538,580,18 t="Icon" - generic @288,-1512,580,64 - group #bot:b1:icons @288,-1512,580,64 lb="Icon" - button #bot:b1:icon-letter @288,-1512,30,30 lb="First letter" ck=false tab - text @297.22,-1506,11.55,18 t="M" - button #bot:b1:icon-bot @322,-1512,30,30 lb="bot" ck=false tab - image @329,-1505,16,16 deco - button #bot:b1:icon-search @356,-1512,30,30 lb="search" ck=false tab - image @363,-1505,16,16 deco - button #bot:b1:icon-pen @390,-1512,30,30 lb="pen" ck=false tab - image @397,-1505,16,16 deco - button #bot:b1:icon-code @424,-1512,30,30 lb="code" ck=false tab - image @431,-1505,16,16 deco - button #bot:b1:icon-terminal @458,-1512,30,30 lb="terminal" ck=false tab - image @465,-1505,16,16 deco - button #bot:b1:icon-folder @492,-1512,30,30 lb="folder" ck=false tab - image @499,-1505,16,16 deco - button #bot:b1:icon-compass @526,-1512,30,30 lb="compass" ck=false tab - image @533,-1505,16,16 deco - button #bot:b1:icon-brain @560,-1512,30,30 lb="brain" ck=false tab - image @567,-1505,16,16 deco - button #bot:b1:icon-book @594,-1512,30,30 lb="book" ck=false tab - image @601,-1505,16,16 deco - button #bot:b1:icon-bug @628,-1512,30,30 lb="bug" ck=false tab - image @635,-1505,16,16 deco - button #bot:b1:icon-chart @662,-1512,30,30 lb="chart" ck=false tab - image @669,-1505,16,16 deco - button #bot:b1:icon-data @696,-1512,30,30 lb="data" ck=false tab - image @703,-1505,16,16 deco - button #bot:b1:icon-globe @730,-1512,30,30 lb="globe" ck=false tab - image @737,-1505,16,16 deco - button #bot:b1:icon-shield @764,-1512,30,30 lb="shield" ck=false tab - image @771,-1505,16,16 deco - button #bot:b1:icon-wrench @798,-1512,30,30 lb="wrench" ck=false tab - image @805,-1505,16,16 deco - button #bot:b1:icon-rocket @832,-1512,30,30 lb="rocket" ck=false tab - image @839,-1505,16,16 deco - button #bot:b1:icon-flask @288,-1478,30,30 lb="flask" ck=false tab - image @295,-1471,16,16 deco - button #bot:b1:icon-mail @322,-1478,30,30 lb="mail" ck=false tab - image @329,-1471,16,16 deco - button #bot:b1:icon-calendar @356,-1478,30,30 lb="calendar" ck=false tab - image @363,-1471,16,16 deco - button #bot:b1:icon-camera @390,-1478,30,30 lb="camera" ck=false tab - image @397,-1471,16,16 deco - button #bot:b1:icon-music @424,-1478,30,30 lb="music" ck=false tab - image @431,-1471,16,16 deco - button #bot:b1:icon-sprout @458,-1478,30,30 lb="sprout" ck tab - image @465,-1471,16,16 deco - button #bot:b1:icon-leaf @492,-1478,30,30 lb="leaf" ck=false tab - image @499,-1471,16,16 deco - button #bot:b1:icon-zap @526,-1478,30,30 lb="zap" ck=false tab - image @533,-1471,16,16 deco - button #bot:b1:icon-key @560,-1478,30,30 lb="key" ck=false tab - image @567,-1471,16,16 deco - generic @288,-1444,580,42 - generic @288,-1440,580,34 - generic @288,-1440,452,34 - text @288,-1440,452,18 t="Tool rounds per turn" - text @288,-1422,452,16 t="A turn stops after this many; the chat then offers Continue." - generic @756,-1438,112,30 - textbox #bot:b1:rounds @756,-1438,112,30 lb="Tool rounds per turn" v="30" sel=[2,2] caret=2 tab sc=0,0,0,0 end - generic @288,-1402,580,38 - generic @288,-1398,580,30 - generic @288,-1392,304,18 - text @288,-1392,304,18 t="Colour" - generic @608,-1398,260,30 - generic @608,-1398,260,30 - generic #bot:b1:swatch @608,-1398,60,30 - generic @612,-1394,52,22 - textbox #bot:b1:color @676,-1398,112,30 lb="Colour as #rrggbb" v="#7c5cd6" ph="#rrggbb" sel=[7,7] caret=7 tab sc=0,0,0,0 end - button #bot:b1:no-colour @796,-1396,72,26 lb="No colour" tab - text @804,-1391,56,16 t="No colour" - generic @288,-1364,580,46 - button #bot:b1:save @288,-1356,53.79,30 lb="Save" tab - text @300,-1350,29.79,18 t="Save" - generic #group-check @288,-1294,580,128 - heading @288,-1294,580,18 t="Check" - generic @288,-1272,580,106 - generic @288,-1272,580,106 - generic @288,-1268,580,98 - generic @288,-1268,336,98 - text @288,-1268,336,18 t="Check answers before the turn ends" - text @288,-1250,336,80 t="After a reply that used tools or is long, a model reads it once more, with no tools. If it finds something wrong, the bot works on it again (checked twice at most). It uses this bot's tokens; routines and other bots' messages are not checked." - generic @640,-1234,228,30 - generic @640,-1219,0,0 - combobox #bot:b1:check @648,-1234,220,30 lb="Bot Quill" tab - text @788.68,-1228,51.32,18 t="Bot Quill" - image @844,-1225,12,12 deco + generic #bot-settings @264,60,628,692 sc=0,2052,0,2052 end + generic @288,-1984,580,2728 + generic @288,-1984,580,2728 + generic @288,-1984,580,16 + generic @288,-1968,580,2696 + generic #group-pause @288,-1968,580,80 + heading @288,-1968,580,18 t="Pause" + generic @288,-1946,580,58 + generic @288,-1946,580,58 + generic @288,-1942,580,50 + generic @288,-1942,505.01,50 + text @288,-1942,505.01,18 t="Pause this bot" + text @288,-1924,505.01,32 t="Stops its turn, skips its routines and holds the messages other bots send it. It takes no message from you until you resume." + generic @809.01,-1930,58.99,26 + generic @809.01,-1917,0,0 + button #bot:b1:paused @817.01,-1930,50.99,26 lb="Pause" tab + text @825.01,-1925,34.99,16 t="Pause" + generic #group-bot @288,-1864,580,442 + heading @288,-1864,580,18 t="The bot" + generic @288,-1842,580,420 + generic @288,-1842,580,38 + generic @288,-1838,580,30 + generic @288,-1832,35.25,18 + text @288,-1832,35.25,18 t="Name" + generic @339.25,-1838,528.75,30 + textbox #bot:b1:name @339.25,-1838,528.75,30 lb="Name" v="Maple" sel=[5,5] caret=5 tab sc=0,0,0,0 end + generic @288,-1804,580,158 + generic @288,-1800,580,18 + text @288,-1800,580,18 t="Instructions" + generic @288,-1774,580,124 + textbox #bot:b1:instructions @288,-1774,580,124 lb="Instructions" v="You look after the notes about the orchard. Keep them short, and group them by tree." ph="What this bot is for and how it should answer" sel=[84,84] caret=84 multi tab sc=0,0,0,0 end + generic @288,-1646,580,98 + generic @288,-1642,580,18 + text @288,-1642,580,18 t="Icon" + generic @288,-1616,580,64 + group #bot:b1:icons @288,-1616,580,64 lb="Icon" + button #bot:b1:icon-letter @288,-1616,30,30 lb="First letter" ck=false tab + text @297.22,-1610,11.55,18 t="M" + button #bot:b1:icon-bot @322,-1616,30,30 lb="bot" ck=false tab + image @329,-1609,16,16 deco + button #bot:b1:icon-search @356,-1616,30,30 lb="search" ck=false tab + image @363,-1609,16,16 deco + button #bot:b1:icon-pen @390,-1616,30,30 lb="pen" ck=false tab + image @397,-1609,16,16 deco + button #bot:b1:icon-code @424,-1616,30,30 lb="code" ck=false tab + image @431,-1609,16,16 deco + button #bot:b1:icon-terminal @458,-1616,30,30 lb="terminal" ck=false tab + image @465,-1609,16,16 deco + button #bot:b1:icon-folder @492,-1616,30,30 lb="folder" ck=false tab + image @499,-1609,16,16 deco + button #bot:b1:icon-compass @526,-1616,30,30 lb="compass" ck=false tab + image @533,-1609,16,16 deco + button #bot:b1:icon-brain @560,-1616,30,30 lb="brain" ck=false tab + image @567,-1609,16,16 deco + button #bot:b1:icon-book @594,-1616,30,30 lb="book" ck=false tab + image @601,-1609,16,16 deco + button #bot:b1:icon-bug @628,-1616,30,30 lb="bug" ck=false tab + image @635,-1609,16,16 deco + button #bot:b1:icon-chart @662,-1616,30,30 lb="chart" ck=false tab + image @669,-1609,16,16 deco + button #bot:b1:icon-data @696,-1616,30,30 lb="data" ck=false tab + image @703,-1609,16,16 deco + button #bot:b1:icon-globe @730,-1616,30,30 lb="globe" ck=false tab + image @737,-1609,16,16 deco + button #bot:b1:icon-shield @764,-1616,30,30 lb="shield" ck=false tab + image @771,-1609,16,16 deco + button #bot:b1:icon-wrench @798,-1616,30,30 lb="wrench" ck=false tab + image @805,-1609,16,16 deco + button #bot:b1:icon-rocket @832,-1616,30,30 lb="rocket" ck=false tab + image @839,-1609,16,16 deco + button #bot:b1:icon-flask @288,-1582,30,30 lb="flask" ck=false tab + image @295,-1575,16,16 deco + button #bot:b1:icon-mail @322,-1582,30,30 lb="mail" ck=false tab + image @329,-1575,16,16 deco + button #bot:b1:icon-calendar @356,-1582,30,30 lb="calendar" ck=false tab + image @363,-1575,16,16 deco + button #bot:b1:icon-camera @390,-1582,30,30 lb="camera" ck=false tab + image @397,-1575,16,16 deco + button #bot:b1:icon-music @424,-1582,30,30 lb="music" ck=false tab + image @431,-1575,16,16 deco + button #bot:b1:icon-sprout @458,-1582,30,30 lb="sprout" ck tab + image @465,-1575,16,16 deco + button #bot:b1:icon-leaf @492,-1582,30,30 lb="leaf" ck=false tab + image @499,-1575,16,16 deco + button #bot:b1:icon-zap @526,-1582,30,30 lb="zap" ck=false tab + image @533,-1575,16,16 deco + button #bot:b1:icon-key @560,-1582,30,30 lb="key" ck=false tab + image @567,-1575,16,16 deco + generic @288,-1548,580,42 + generic @288,-1544,580,34 + generic @288,-1544,452,34 + text @288,-1544,452,18 t="Tool rounds per turn" + text @288,-1526,452,16 t="A turn stops after this many; the chat then offers Continue." + generic @756,-1542,112,30 + textbox #bot:b1:rounds @756,-1542,112,30 lb="Tool rounds per turn" v="30" sel=[2,2] caret=2 tab sc=0,0,0,0 end + generic @288,-1506,580,38 + generic @288,-1502,580,30 + generic @288,-1496,304,18 + text @288,-1496,304,18 t="Colour" + generic @608,-1502,260,30 + generic @608,-1502,260,30 + generic #bot:b1:swatch @608,-1502,60,30 + generic @612,-1498,52,22 + textbox #bot:b1:color @676,-1502,112,30 lb="Colour as #rrggbb" v="#7c5cd6" ph="#rrggbb" sel=[7,7] caret=7 tab sc=0,0,0,0 end + button #bot:b1:no-colour @796,-1500,72,26 lb="No colour" tab + text @804,-1495,56,16 t="No colour" + generic @288,-1468,580,46 + button #bot:b1:save @288,-1460,53.79,30 lb="Save" tab + text @300,-1454,29.79,18 t="Save" + generic #group-check @288,-1398,580,128 + heading @288,-1398,580,18 t="Check" + generic @288,-1376,580,106 + generic @288,-1376,580,106 + generic @288,-1372,580,98 + generic @288,-1372,336,98 + text @288,-1372,336,18 t="Check answers before the turn ends" + text @288,-1354,336,80 t="After a reply that used tools or is long, a model reads it once more, with no tools. If it finds something wrong, the bot works on it again (checked twice at most). It uses this bot's tokens; routines and other bots' messages are not checked." + generic @640,-1338,228,30 + generic @640,-1323,0,0 + combobox #bot:b1:check @648,-1338,220,30 lb="Bot Quill" tab + text @788.68,-1332,51.32,18 t="Bot Quill" + image @844,-1329,12,12 deco + generic #group-fallback @288,-1246,580,80 + heading @288,-1246,580,18 t="Fallback" + generic @288,-1224,580,58 + generic @288,-1224,580,58 + generic @288,-1220,580,50 + generic @288,-1220,336,50 + text @288,-1220,336,18 t="Fallback model" + text @288,-1202,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-1210,228,30 + generic @640,-1195,0,0 + combobox #bot:b1:fallback @648,-1210,220,30 lb="None" tab + text @807.96,-1204,32.04,18 t="None" + image @844,-1201,12,12 deco generic #group-tokens @288,-1142,580,326 heading @288,-1142,580,18 t="Tokens" generic @288,-1120,580,304 diff --git a/native/tests/snapshots/native-bot-settings-export-light.tree b/native/tests/snapshots/native-bot-settings-export-light.tree index 8facded9..68984348 100644 --- a/native/tests/snapshots/native-bot-settings-export-light.tree +++ b/native/tests/snapshots/native-bot-settings-export-light.tree @@ -135,128 +135,141 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1948,0,1948 end - generic @288,-1880,580,2624 - generic @288,-1880,580,2624 - generic @288,-1880,580,16 - generic @288,-1864,580,2592 - generic #group-pause @288,-1864,580,80 - heading @288,-1864,580,18 t="Pause" - generic @288,-1842,580,58 - generic @288,-1842,580,58 - generic @288,-1838,580,50 - generic @288,-1838,505.01,50 - text @288,-1838,505.01,18 t="Pause this bot" - text @288,-1820,505.01,32 t="Stops its turn, skips its routines and holds the messages other bots send it. It takes no message from you until you resume." - generic @809.01,-1826,58.99,26 - generic @809.01,-1813,0,0 - button #bot:b1:paused @817.01,-1826,50.99,26 lb="Pause" tab - text @825.01,-1821,34.99,16 t="Pause" - generic #group-bot @288,-1760,580,442 - heading @288,-1760,580,18 t="The bot" - generic @288,-1738,580,420 - generic @288,-1738,580,38 - generic @288,-1734,580,30 - generic @288,-1728,35.25,18 - text @288,-1728,35.25,18 t="Name" - generic @339.25,-1734,528.75,30 - textbox #bot:b1:name @339.25,-1734,528.75,30 lb="Name" v="Maple" sel=[5,5] caret=5 tab sc=0,0,0,0 end - generic @288,-1700,580,158 - generic @288,-1696,580,18 - text @288,-1696,580,18 t="Instructions" - generic @288,-1670,580,124 - textbox #bot:b1:instructions @288,-1670,580,124 lb="Instructions" v="You look after the notes about the orchard. Keep them short, and group them by tree." ph="What this bot is for and how it should answer" sel=[84,84] caret=84 multi tab sc=0,0,0,0 end - generic @288,-1542,580,98 - generic @288,-1538,580,18 - text @288,-1538,580,18 t="Icon" - generic @288,-1512,580,64 - group #bot:b1:icons @288,-1512,580,64 lb="Icon" - button #bot:b1:icon-letter @288,-1512,30,30 lb="First letter" ck=false tab - text @297.22,-1506,11.55,18 t="M" - button #bot:b1:icon-bot @322,-1512,30,30 lb="bot" ck=false tab - image @329,-1505,16,16 deco - button #bot:b1:icon-search @356,-1512,30,30 lb="search" ck=false tab - image @363,-1505,16,16 deco - button #bot:b1:icon-pen @390,-1512,30,30 lb="pen" ck=false tab - image @397,-1505,16,16 deco - button #bot:b1:icon-code @424,-1512,30,30 lb="code" ck=false tab - image @431,-1505,16,16 deco - button #bot:b1:icon-terminal @458,-1512,30,30 lb="terminal" ck=false tab - image @465,-1505,16,16 deco - button #bot:b1:icon-folder @492,-1512,30,30 lb="folder" ck=false tab - image @499,-1505,16,16 deco - button #bot:b1:icon-compass @526,-1512,30,30 lb="compass" ck=false tab - image @533,-1505,16,16 deco - button #bot:b1:icon-brain @560,-1512,30,30 lb="brain" ck=false tab - image @567,-1505,16,16 deco - button #bot:b1:icon-book @594,-1512,30,30 lb="book" ck=false tab - image @601,-1505,16,16 deco - button #bot:b1:icon-bug @628,-1512,30,30 lb="bug" ck=false tab - image @635,-1505,16,16 deco - button #bot:b1:icon-chart @662,-1512,30,30 lb="chart" ck=false tab - image @669,-1505,16,16 deco - button #bot:b1:icon-data @696,-1512,30,30 lb="data" ck=false tab - image @703,-1505,16,16 deco - button #bot:b1:icon-globe @730,-1512,30,30 lb="globe" ck=false tab - image @737,-1505,16,16 deco - button #bot:b1:icon-shield @764,-1512,30,30 lb="shield" ck=false tab - image @771,-1505,16,16 deco - button #bot:b1:icon-wrench @798,-1512,30,30 lb="wrench" ck=false tab - image @805,-1505,16,16 deco - button #bot:b1:icon-rocket @832,-1512,30,30 lb="rocket" ck=false tab - image @839,-1505,16,16 deco - button #bot:b1:icon-flask @288,-1478,30,30 lb="flask" ck=false tab - image @295,-1471,16,16 deco - button #bot:b1:icon-mail @322,-1478,30,30 lb="mail" ck=false tab - image @329,-1471,16,16 deco - button #bot:b1:icon-calendar @356,-1478,30,30 lb="calendar" ck=false tab - image @363,-1471,16,16 deco - button #bot:b1:icon-camera @390,-1478,30,30 lb="camera" ck=false tab - image @397,-1471,16,16 deco - button #bot:b1:icon-music @424,-1478,30,30 lb="music" ck=false tab - image @431,-1471,16,16 deco - button #bot:b1:icon-sprout @458,-1478,30,30 lb="sprout" ck tab - image @465,-1471,16,16 deco - button #bot:b1:icon-leaf @492,-1478,30,30 lb="leaf" ck=false tab - image @499,-1471,16,16 deco - button #bot:b1:icon-zap @526,-1478,30,30 lb="zap" ck=false tab - image @533,-1471,16,16 deco - button #bot:b1:icon-key @560,-1478,30,30 lb="key" ck=false tab - image @567,-1471,16,16 deco - generic @288,-1444,580,42 - generic @288,-1440,580,34 - generic @288,-1440,452,34 - text @288,-1440,452,18 t="Tool rounds per turn" - text @288,-1422,452,16 t="A turn stops after this many; the chat then offers Continue." - generic @756,-1438,112,30 - textbox #bot:b1:rounds @756,-1438,112,30 lb="Tool rounds per turn" v="30" sel=[2,2] caret=2 tab sc=0,0,0,0 end - generic @288,-1402,580,38 - generic @288,-1398,580,30 - generic @288,-1392,304,18 - text @288,-1392,304,18 t="Colour" - generic @608,-1398,260,30 - generic @608,-1398,260,30 - generic #bot:b1:swatch @608,-1398,60,30 - generic @612,-1394,52,22 - textbox #bot:b1:color @676,-1398,112,30 lb="Colour as #rrggbb" v="#7c5cd6" ph="#rrggbb" sel=[7,7] caret=7 tab sc=0,0,0,0 end - button #bot:b1:no-colour @796,-1396,72,26 lb="No colour" tab - text @804,-1391,56,16 t="No colour" - generic @288,-1364,580,46 - button #bot:b1:save @288,-1356,53.79,30 lb="Save" tab - text @300,-1350,29.79,18 t="Save" - generic #group-check @288,-1294,580,128 - heading @288,-1294,580,18 t="Check" - generic @288,-1272,580,106 - generic @288,-1272,580,106 - generic @288,-1268,580,98 - generic @288,-1268,336,98 - text @288,-1268,336,18 t="Check answers before the turn ends" - text @288,-1250,336,80 t="After a reply that used tools or is long, a model reads it once more, with no tools. If it finds something wrong, the bot works on it again (checked twice at most). It uses this bot's tokens; routines and other bots' messages are not checked." - generic @640,-1234,228,30 - generic @640,-1219,0,0 - combobox #bot:b1:check @648,-1234,220,30 lb="Bot Quill" tab - text @788.68,-1228,51.32,18 t="Bot Quill" - image @844,-1225,12,12 deco + generic #bot-settings @264,60,628,692 sc=0,2052,0,2052 end + generic @288,-1984,580,2728 + generic @288,-1984,580,2728 + generic @288,-1984,580,16 + generic @288,-1968,580,2696 + generic #group-pause @288,-1968,580,80 + heading @288,-1968,580,18 t="Pause" + generic @288,-1946,580,58 + generic @288,-1946,580,58 + generic @288,-1942,580,50 + generic @288,-1942,505.01,50 + text @288,-1942,505.01,18 t="Pause this bot" + text @288,-1924,505.01,32 t="Stops its turn, skips its routines and holds the messages other bots send it. It takes no message from you until you resume." + generic @809.01,-1930,58.99,26 + generic @809.01,-1917,0,0 + button #bot:b1:paused @817.01,-1930,50.99,26 lb="Pause" tab + text @825.01,-1925,34.99,16 t="Pause" + generic #group-bot @288,-1864,580,442 + heading @288,-1864,580,18 t="The bot" + generic @288,-1842,580,420 + generic @288,-1842,580,38 + generic @288,-1838,580,30 + generic @288,-1832,35.25,18 + text @288,-1832,35.25,18 t="Name" + generic @339.25,-1838,528.75,30 + textbox #bot:b1:name @339.25,-1838,528.75,30 lb="Name" v="Maple" sel=[5,5] caret=5 tab sc=0,0,0,0 end + generic @288,-1804,580,158 + generic @288,-1800,580,18 + text @288,-1800,580,18 t="Instructions" + generic @288,-1774,580,124 + textbox #bot:b1:instructions @288,-1774,580,124 lb="Instructions" v="You look after the notes about the orchard. Keep them short, and group them by tree." ph="What this bot is for and how it should answer" sel=[84,84] caret=84 multi tab sc=0,0,0,0 end + generic @288,-1646,580,98 + generic @288,-1642,580,18 + text @288,-1642,580,18 t="Icon" + generic @288,-1616,580,64 + group #bot:b1:icons @288,-1616,580,64 lb="Icon" + button #bot:b1:icon-letter @288,-1616,30,30 lb="First letter" ck=false tab + text @297.22,-1610,11.55,18 t="M" + button #bot:b1:icon-bot @322,-1616,30,30 lb="bot" ck=false tab + image @329,-1609,16,16 deco + button #bot:b1:icon-search @356,-1616,30,30 lb="search" ck=false tab + image @363,-1609,16,16 deco + button #bot:b1:icon-pen @390,-1616,30,30 lb="pen" ck=false tab + image @397,-1609,16,16 deco + button #bot:b1:icon-code @424,-1616,30,30 lb="code" ck=false tab + image @431,-1609,16,16 deco + button #bot:b1:icon-terminal @458,-1616,30,30 lb="terminal" ck=false tab + image @465,-1609,16,16 deco + button #bot:b1:icon-folder @492,-1616,30,30 lb="folder" ck=false tab + image @499,-1609,16,16 deco + button #bot:b1:icon-compass @526,-1616,30,30 lb="compass" ck=false tab + image @533,-1609,16,16 deco + button #bot:b1:icon-brain @560,-1616,30,30 lb="brain" ck=false tab + image @567,-1609,16,16 deco + button #bot:b1:icon-book @594,-1616,30,30 lb="book" ck=false tab + image @601,-1609,16,16 deco + button #bot:b1:icon-bug @628,-1616,30,30 lb="bug" ck=false tab + image @635,-1609,16,16 deco + button #bot:b1:icon-chart @662,-1616,30,30 lb="chart" ck=false tab + image @669,-1609,16,16 deco + button #bot:b1:icon-data @696,-1616,30,30 lb="data" ck=false tab + image @703,-1609,16,16 deco + button #bot:b1:icon-globe @730,-1616,30,30 lb="globe" ck=false tab + image @737,-1609,16,16 deco + button #bot:b1:icon-shield @764,-1616,30,30 lb="shield" ck=false tab + image @771,-1609,16,16 deco + button #bot:b1:icon-wrench @798,-1616,30,30 lb="wrench" ck=false tab + image @805,-1609,16,16 deco + button #bot:b1:icon-rocket @832,-1616,30,30 lb="rocket" ck=false tab + image @839,-1609,16,16 deco + button #bot:b1:icon-flask @288,-1582,30,30 lb="flask" ck=false tab + image @295,-1575,16,16 deco + button #bot:b1:icon-mail @322,-1582,30,30 lb="mail" ck=false tab + image @329,-1575,16,16 deco + button #bot:b1:icon-calendar @356,-1582,30,30 lb="calendar" ck=false tab + image @363,-1575,16,16 deco + button #bot:b1:icon-camera @390,-1582,30,30 lb="camera" ck=false tab + image @397,-1575,16,16 deco + button #bot:b1:icon-music @424,-1582,30,30 lb="music" ck=false tab + image @431,-1575,16,16 deco + button #bot:b1:icon-sprout @458,-1582,30,30 lb="sprout" ck tab + image @465,-1575,16,16 deco + button #bot:b1:icon-leaf @492,-1582,30,30 lb="leaf" ck=false tab + image @499,-1575,16,16 deco + button #bot:b1:icon-zap @526,-1582,30,30 lb="zap" ck=false tab + image @533,-1575,16,16 deco + button #bot:b1:icon-key @560,-1582,30,30 lb="key" ck=false tab + image @567,-1575,16,16 deco + generic @288,-1548,580,42 + generic @288,-1544,580,34 + generic @288,-1544,452,34 + text @288,-1544,452,18 t="Tool rounds per turn" + text @288,-1526,452,16 t="A turn stops after this many; the chat then offers Continue." + generic @756,-1542,112,30 + textbox #bot:b1:rounds @756,-1542,112,30 lb="Tool rounds per turn" v="30" sel=[2,2] caret=2 tab sc=0,0,0,0 end + generic @288,-1506,580,38 + generic @288,-1502,580,30 + generic @288,-1496,304,18 + text @288,-1496,304,18 t="Colour" + generic @608,-1502,260,30 + generic @608,-1502,260,30 + generic #bot:b1:swatch @608,-1502,60,30 + generic @612,-1498,52,22 + textbox #bot:b1:color @676,-1502,112,30 lb="Colour as #rrggbb" v="#7c5cd6" ph="#rrggbb" sel=[7,7] caret=7 tab sc=0,0,0,0 end + button #bot:b1:no-colour @796,-1500,72,26 lb="No colour" tab + text @804,-1495,56,16 t="No colour" + generic @288,-1468,580,46 + button #bot:b1:save @288,-1460,53.79,30 lb="Save" tab + text @300,-1454,29.79,18 t="Save" + generic #group-check @288,-1398,580,128 + heading @288,-1398,580,18 t="Check" + generic @288,-1376,580,106 + generic @288,-1376,580,106 + generic @288,-1372,580,98 + generic @288,-1372,336,98 + text @288,-1372,336,18 t="Check answers before the turn ends" + text @288,-1354,336,80 t="After a reply that used tools or is long, a model reads it once more, with no tools. If it finds something wrong, the bot works on it again (checked twice at most). It uses this bot's tokens; routines and other bots' messages are not checked." + generic @640,-1338,228,30 + generic @640,-1323,0,0 + combobox #bot:b1:check @648,-1338,220,30 lb="Bot Quill" tab + text @788.68,-1332,51.32,18 t="Bot Quill" + image @844,-1329,12,12 deco + generic #group-fallback @288,-1246,580,80 + heading @288,-1246,580,18 t="Fallback" + generic @288,-1224,580,58 + generic @288,-1224,580,58 + generic @288,-1220,580,50 + generic @288,-1220,336,50 + text @288,-1220,336,18 t="Fallback model" + text @288,-1202,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-1210,228,30 + generic @640,-1195,0,0 + combobox #bot:b1:fallback @648,-1210,220,30 lb="None" tab + text @807.96,-1204,32.04,18 t="None" + image @844,-1201,12,12 deco generic #group-tokens @288,-1142,580,326 heading @288,-1142,580,18 t="Tokens" generic @288,-1120,580,304 diff --git a/native/tests/snapshots/native-bot-settings-hosts-dark.png b/native/tests/snapshots/native-bot-settings-hosts-dark.png index 428dd9cf..a686e7e2 100644 Binary files a/native/tests/snapshots/native-bot-settings-hosts-dark.png and b/native/tests/snapshots/native-bot-settings-hosts-dark.png differ diff --git a/native/tests/snapshots/native-bot-settings-hosts-dark.tree b/native/tests/snapshots/native-bot-settings-hosts-dark.tree index edf97864..985c03de 100644 --- a/native/tests/snapshots/native-bot-settings-hosts-dark.tree +++ b/native/tests/snapshots/native-bot-settings-hosts-dark.tree @@ -122,11 +122,11 @@ generic @0,0,900,760 text @316,24,36.94,20 t="Wren" text @360.94,24,55.4,20 t="Settings" image @424.34,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1770,0,2050 - generic @288,-1702,580,2726 - generic @288,-1702,580,2726 + generic #bot-settings @264,60,628,692 sc=0,1770,0,2154 + generic @288,-1702,580,2830 + generic @288,-1702,580,2830 generic @288,-1702,580,16 - generic @288,-1686,580,2694 + generic @288,-1686,580,2798 generic #group-pause @288,-1686,580,80 heading @288,-1686,580,18 t="Pause" generic @288,-1664,580,58 @@ -244,277 +244,290 @@ generic @0,0,900,760 combobox #bot:b5:check @648,-1056,220,30 lb="Off" tab text @820.79,-1050,19.21,18 t="Off" image @844,-1047,12,12 deco - generic #group-tokens @288,-964,580,326 - heading @288,-964,580,18 t="Tokens" - generic @288,-942,580,304 - generic @288,-942,580,42 - generic @288,-938,580,34 - generic @288,-938,470.13,34 - text @288,-938,470.13,18 t="Used today" - text @288,-920,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,-930,93.87,18 - text #bot:b5:used-today @774.13,-930,93.87,18 t="188,400 tokens" - generic @288,-900,580,58 - generic @288,-896,580,50 - generic @288,-896,459.5,50 - text @288,-896,459.5,18 t="Used this month" - text @288,-878,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,-880,104.5,18 - text #bot:b5:used-month @763.5,-880,104.5,18 t="2,991,000 tokens" - generic @288,-842,580,42 - generic @288,-838,580,34 - generic @288,-838,452,34 - text @288,-838,452,18 t="Limit per day" - text @288,-820,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,-836,112,30 - textbox #bot:b5:limit-day @756,-836,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,-800,580,42 - generic @288,-796,580,34 - generic @288,-796,452,34 - text @288,-796,452,18 t="Limit per month" - text @288,-778,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,-794,112,30 - textbox #bot:b5:limit-month @756,-794,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,-758,580,74 - generic @288,-754,580,66 - generic @288,-754,344,66 - text @288,-754,344,18 t="The limit stops" - text @288,-736,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,-736,220,30 - combobox #bot:b5:limit-stops @648,-736,220,30 lb="Unattended work" tab - text @735.88,-730,104.12,18 t="Unattended work" - image @844,-727,12,12 deco - generic @288,-684,580,46 - button #bot:b5:save-limits @288,-676,90.57,30 lb="Save limits" tab - text @300,-670,66.57,18 t="Save limits" - generic #group-may @288,-614,580,336 - heading @288,-614,580,18 t="What the bot may do" - generic @288,-592,580,314 - generic @288,-592,580,38 - generic @288,-588,580,30 - generic @288,-582,336,18 - text @288,-582,336,18 t="Read files" - generic @640,-588,228,30 - generic @640,-573,0,0 - combobox #bot:b5:perm-read @648,-588,220,30 lb="always" tab - text @799.53,-582,40.47,18 t="always" - image @844,-579,12,12 deco - generic @288,-554,580,38 - generic @288,-550,580,30 - generic @288,-544,336,18 - text @288,-544,336,18 t="Change files" - generic @640,-550,228,30 - generic @640,-535,0,0 - combobox #bot:b5:perm-write @648,-550,220,30 lb="ask me" tab - text @797.03,-544,42.97,18 t="ask me" - image @844,-541,12,12 deco - generic @288,-516,580,38 - generic @288,-512,580,30 - generic @288,-506,336,18 - text @288,-506,336,18 t="Run commands" - generic @640,-512,228,30 - generic @640,-497,0,0 - combobox #bot:b5:perm-run @648,-512,220,30 lb="ask me" tab - text @797.03,-506,42.97,18 t="ask me" - image @844,-503,12,12 deco - generic @288,-478,580,74 - generic @288,-474,580,66 - generic @288,-474,332.75,66 - text @288,-474,332.75,18 t="Use connectors" - text @288,-456,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,-456,231.25,30 - generic @636.75,-441,0,0 - combobox #bot:b5:perm-connector @644.75,-456,223.25,30 lb="read-only tools without asking" tab - text @656.75,-450,183.25,18 t="read-only tools without asking" - image @844,-447,12,12 deco - generic @288,-404,580,38 - generic @288,-400,580,30 - generic @288,-394,336,18 - text @288,-394,336,18 t="See and control other apps" - generic @640,-400,228,30 - generic @640,-385,0,0 - combobox #bot:b5:perm-desktop @648,-400,220,30 lb="never" tab - text @806.33,-394,33.67,18 t="never" - image @844,-391,12,12 deco - generic @288,-366,580,44 - generic @288,-362,580,36 - generic @288,-362,336,36 - text @288,-362,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,-359,228,30 - generic @640,-344,0,0 - combobox #bot:b5:perm-apple_read @648,-359,220,30 lb="ask me" tab - text @797.03,-353,42.97,18 t="ask me" - image @844,-350,12,12 deco - generic @288,-322,580,44 - generic @288,-318,580,36 - generic @288,-318,336,36 - text @288,-318,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,-315,228,30 - generic @640,-300,0,0 - combobox #bot:b5:perm-apple_change @648,-315,220,30 lb="ask me" tab - text @797.03,-309,42.97,18 t="ask me" - image @844,-306,12,12 deco - generic #group-always @288,-254,580,106 - heading @288,-254,580,18 t="Always allowed" - generic @288,-232,580,84 - generic @288,-232,580,42 - generic @288,-228,580,34 - generic @288,-228,502.07,34 - text @288,-228,502.07,18 t="Run commands" - text @288,-210,502.07,16 t="ls -l" - generic @806.07,-224,61.93,26 - button #bot:b5:grant-0 @806.07,-224,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,-219,45.93,16 t="Remove" - generic @288,-190,580,42 - generic @288,-186,580,34 - generic @288,-186,502.07,34 - text @288,-186,502.07,18 t="Read files" - text @288,-168,502.07,16 t="notes/pears.md" - generic @806.07,-182,61.93,26 - button #bot:b5:grant-1 @806.07,-182,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,-177,45.93,16 t="Remove" - generic #group-in-conversation @288,-124,580,64 - heading @288,-124,580,18 t="Allowed in one conversation" - generic @288,-102,580,42 - generic @288,-102,580,42 - generic @288,-98,580,34 - generic @288,-98,502.07,34 - text @288,-98,502.07,18 t="Change files" - text @288,-80,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,-94,61.93,26 - button #bot:b5:conversation-grant-0 @806.07,-94,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,-89,45.93,16 t="Remove" - generic #group-blocked @288,-36,580,64 - heading @288,-36,580,18 t="Blocked tools" - generic @288,-14,580,42 - generic @288,-14,580,42 - generic @288,-10,580,34 - generic @288,-10,500.28,34 - text @288,-10,500.28,18 t="Use connectors" - text @288,8,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,-6,63.72,26 - button #bot:b5:unblock-0 @804.28,-6,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,-1,47.72,16 t="Unblock" - generic #group-secrets @288,52,580,64 - heading @288,52,580,18 t="Secrets" - generic @288,74,580,42 - generic @288,74,580,42 - generic @288,78,580,34 - generic @288,78,502.07,34 - text @288,78,502.07,18 t="portal-login" - text @288,96,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,82,61.93,26 - button #bot:b5:secret-0 @806.07,82,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,87,45.93,16 t="Remove" - generic #group-files @288,140,580,358 - heading @288,140,580,18 t="Files and network" - generic @288,162,580,336 - generic @288,162,580,42 - generic @288,166,580,34 - generic @288,166,528,34 - text @288,166,528,18 t="Whole disk (otherwise only the bot's folder)" - text @288,184,528,16 t="Off while commands reach only some hosts." - generic @832,175,36,16 - generic @832,183,0,0 - switch #bot:b5:disk @840,175,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false dis - generic @842,177,12,12 dis - generic @288,204,580,36 - generic @288,213,580,18 - generic @288,213,528,18 - text @288,213,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,214,36,16 - generic @832,222,0,0 - switch #bot:b5:network @840,214,28,16 lb="Commands reach only these hosts (otherwise any host)" ck tab - generic @854,216,12,12 - generic @288,240,580,170 - generic @288,244,580,66 - text @288,244,580,18 t="Hosts" - text @288,262,580,48 t="One host per line: example.com, *.example.com (its subdomains), 10.0.0.5:8080. Without a port, 80 and 443. The hosts of the bot's project are added. A tool that ignores the proxy Bate sets cannot connect. The bot's model is reached as before. Needs the folder limit (not the whole disk)." - generic @288,318,580,88 - textbox #bot:b5:hosts @288,318,580,88 lb="Hosts" v="updates.example.net\n*.docs.example.net" ph="example.com" sel=[38,38] caret=38 multi tab sc=0,0,0,0 end - generic @288,410,580,46 - button #bot:b5:save-hosts @288,418,91.37,30 lb="Save hosts" tab - text @300,424,67.37,18 t="Save hosts" - generic @288,456,580,42 - generic @288,460,580,34 - generic @288,460,528,34 - text @288,460,528,18 t="Search the web" - text @288,478,528,16 t="Off while commands reach only some hosts." - generic @832,469,36,16 - generic @832,477,0,0 - switch #bot:b5:search @840,469,28,16 lb="Search the web" ck=false dis - generic @842,471,12,12 dis - generic #group-engine @288,522,580,268 - heading @288,522,580,18 t="Engine" - generic @288,544,580,246 - generic @288,544,580,38 - generic @288,548,580,30 - generic @288,554,336,18 - text @288,554,336,18 t="Engine" - generic @640,548,228,30 - generic @640,563,0,0 - combobox #bot:b5:engine @648,548,220,30 lb="Bate's own engine" tab - text @729.31,554,110.69,18 t="Bate's own engine" - image @844,557,12,12 deco - generic @288,582,580,42 - generic @288,586,580,34 - generic @288,586,361.38,34 - text @288,586,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,604,361.38,16 t="Version 0.4.0." - generic @665.38,590,202.62,26 - generic @665.38,590,202.62,26 - button #bot:b5:adapter-check-scout-agent @665.38,590,122.38,26 lb="Check for updates" tab - text @673.38,595,106.38,16 t="Check for updates" - button #bot:b5:adapter-remove-scout-agent @795.76,590,72.24,26 lb="Remove…" tab - text @803.76,595,56.24,16 t="Remove…" - generic @288,624,580,92 - generic @288,628,580,18 - text @288,628,580,18 t="Other agent (not installed)" - generic @288,654,580,58 - generic @288,654,580,58 - generic @288,662,526.09,42 - text @304,674,494.09,18 t="install-other-agent --global" - button #copy-bot:b5:install-0 @822.09,670,45.91,26 lb="Copy" tab - text @830.09,675,29.91,16 t="Copy" - generic @288,716,580,42 - generic @288,720,580,34 - generic @288,720,502.83,34 - text @288,720,502.83,18 t="Other agent adapter" - text @288,738,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,724,61.17,26 - button #bot:b5:adapter-install-other-agent @806.83,724,61.17,26 lb="Install…" tab - text @814.83,729,45.17,16 t="Install…" - text @288,758,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,814,580,106 - heading @288,814,580,18 t="Export" - generic @288,836,580,84 - generic @288,836,580,42 - generic @288,840,580,34 - generic @288,840,536,34 - text @288,840,536,18 t="With notes" - text @288,858,536,16 t="Its memory notes go in the file too." - generic @840,849,28,16 - switch #bot:b5:export-notes @840,849,28,16 lb="With notes" ck=false tab - generic @842,851,12,12 - generic @288,878,580,42 - generic @288,882,580,34 - generic @288,882,479.38,34 - text @288,882,479.38,18 t="Export bot" - text @288,900,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,886,84.62,26 - generic @783.38,899,0,0 - button #bot:b5:export @791.38,886,76.62,26 lb="Export bot" tab - text @799.38,891,60.62,16 t="Export bot" - generic #group-delete @288,944,580,64 - heading @288,944,580,18 t="Delete" - generic @288,966,580,42 - generic @288,966,580,42 - generic @288,970,580,34 - generic @288,970,452.88,34 - text @288,970,452.88,18 t="Delete this bot" - text @288,988,452.88,16 t="Its folder moves to the Trash." - generic @756.88,974,111.12,26 - button #bot:b5:delete @756.88,974,111.12,26 lb="Delete this bot…" tab - text @764.88,979,95.12,16 t="Delete this bot…" - generic @288,1008,580,16 + generic #group-fallback @288,-964,580,80 + heading @288,-964,580,18 t="Fallback" + generic @288,-942,580,58 + generic @288,-942,580,58 + generic @288,-938,580,50 + generic @288,-938,336,50 + text @288,-938,336,18 t="Fallback model" + text @288,-920,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-928,228,30 + generic @640,-913,0,0 + combobox #bot:b5:fallback @648,-928,220,30 lb="None" tab + text @807.96,-922,32.04,18 t="None" + image @844,-919,12,12 deco + generic #group-tokens @288,-860,580,326 + heading @288,-860,580,18 t="Tokens" + generic @288,-838,580,304 + generic @288,-838,580,42 + generic @288,-834,580,34 + generic @288,-834,470.13,34 + text @288,-834,470.13,18 t="Used today" + text @288,-816,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,-826,93.87,18 + text #bot:b5:used-today @774.13,-826,93.87,18 t="188,400 tokens" + generic @288,-796,580,58 + generic @288,-792,580,50 + generic @288,-792,459.5,50 + text @288,-792,459.5,18 t="Used this month" + text @288,-774,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,-776,104.5,18 + text #bot:b5:used-month @763.5,-776,104.5,18 t="2,991,000 tokens" + generic @288,-738,580,42 + generic @288,-734,580,34 + generic @288,-734,452,34 + text @288,-734,452,18 t="Limit per day" + text @288,-716,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,-732,112,30 + textbox #bot:b5:limit-day @756,-732,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,-696,580,42 + generic @288,-692,580,34 + generic @288,-692,452,34 + text @288,-692,452,18 t="Limit per month" + text @288,-674,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,-690,112,30 + textbox #bot:b5:limit-month @756,-690,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,-654,580,74 + generic @288,-650,580,66 + generic @288,-650,344,66 + text @288,-650,344,18 t="The limit stops" + text @288,-632,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,-632,220,30 + combobox #bot:b5:limit-stops @648,-632,220,30 lb="Unattended work" tab + text @735.88,-626,104.12,18 t="Unattended work" + image @844,-623,12,12 deco + generic @288,-580,580,46 + button #bot:b5:save-limits @288,-572,90.57,30 lb="Save limits" tab + text @300,-566,66.57,18 t="Save limits" + generic #group-may @288,-510,580,336 + heading @288,-510,580,18 t="What the bot may do" + generic @288,-488,580,314 + generic @288,-488,580,38 + generic @288,-484,580,30 + generic @288,-478,336,18 + text @288,-478,336,18 t="Read files" + generic @640,-484,228,30 + generic @640,-469,0,0 + combobox #bot:b5:perm-read @648,-484,220,30 lb="always" tab + text @799.53,-478,40.47,18 t="always" + image @844,-475,12,12 deco + generic @288,-450,580,38 + generic @288,-446,580,30 + generic @288,-440,336,18 + text @288,-440,336,18 t="Change files" + generic @640,-446,228,30 + generic @640,-431,0,0 + combobox #bot:b5:perm-write @648,-446,220,30 lb="ask me" tab + text @797.03,-440,42.97,18 t="ask me" + image @844,-437,12,12 deco + generic @288,-412,580,38 + generic @288,-408,580,30 + generic @288,-402,336,18 + text @288,-402,336,18 t="Run commands" + generic @640,-408,228,30 + generic @640,-393,0,0 + combobox #bot:b5:perm-run @648,-408,220,30 lb="ask me" tab + text @797.03,-402,42.97,18 t="ask me" + image @844,-399,12,12 deco + generic @288,-374,580,74 + generic @288,-370,580,66 + generic @288,-370,332.75,66 + text @288,-370,332.75,18 t="Use connectors" + text @288,-352,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,-352,231.25,30 + generic @636.75,-337,0,0 + combobox #bot:b5:perm-connector @644.75,-352,223.25,30 lb="read-only tools without asking" tab + text @656.75,-346,183.25,18 t="read-only tools without asking" + image @844,-343,12,12 deco + generic @288,-300,580,38 + generic @288,-296,580,30 + generic @288,-290,336,18 + text @288,-290,336,18 t="See and control other apps" + generic @640,-296,228,30 + generic @640,-281,0,0 + combobox #bot:b5:perm-desktop @648,-296,220,30 lb="never" tab + text @806.33,-290,33.67,18 t="never" + image @844,-287,12,12 deco + generic @288,-262,580,44 + generic @288,-258,580,36 + generic @288,-258,336,36 + text @288,-258,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,-255,228,30 + generic @640,-240,0,0 + combobox #bot:b5:perm-apple_read @648,-255,220,30 lb="ask me" tab + text @797.03,-249,42.97,18 t="ask me" + image @844,-246,12,12 deco + generic @288,-218,580,44 + generic @288,-214,580,36 + generic @288,-214,336,36 + text @288,-214,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,-211,228,30 + generic @640,-196,0,0 + combobox #bot:b5:perm-apple_change @648,-211,220,30 lb="ask me" tab + text @797.03,-205,42.97,18 t="ask me" + image @844,-202,12,12 deco + generic #group-always @288,-150,580,106 + heading @288,-150,580,18 t="Always allowed" + generic @288,-128,580,84 + generic @288,-128,580,42 + generic @288,-124,580,34 + generic @288,-124,502.07,34 + text @288,-124,502.07,18 t="Run commands" + text @288,-106,502.07,16 t="ls -l" + generic @806.07,-120,61.93,26 + button #bot:b5:grant-0 @806.07,-120,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,-115,45.93,16 t="Remove" + generic @288,-86,580,42 + generic @288,-82,580,34 + generic @288,-82,502.07,34 + text @288,-82,502.07,18 t="Read files" + text @288,-64,502.07,16 t="notes/pears.md" + generic @806.07,-78,61.93,26 + button #bot:b5:grant-1 @806.07,-78,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,-73,45.93,16 t="Remove" + generic #group-in-conversation @288,-20,580,64 + heading @288,-20,580,18 t="Allowed in one conversation" + generic @288,2,580,42 + generic @288,2,580,42 + generic @288,6,580,34 + generic @288,6,502.07,34 + text @288,6,502.07,18 t="Change files" + text @288,24,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,10,61.93,26 + button #bot:b5:conversation-grant-0 @806.07,10,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,15,45.93,16 t="Remove" + generic #group-blocked @288,68,580,64 + heading @288,68,580,18 t="Blocked tools" + generic @288,90,580,42 + generic @288,90,580,42 + generic @288,94,580,34 + generic @288,94,500.28,34 + text @288,94,500.28,18 t="Use connectors" + text @288,112,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,98,63.72,26 + button #bot:b5:unblock-0 @804.28,98,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,103,47.72,16 t="Unblock" + generic #group-secrets @288,156,580,64 + heading @288,156,580,18 t="Secrets" + generic @288,178,580,42 + generic @288,178,580,42 + generic @288,182,580,34 + generic @288,182,502.07,34 + text @288,182,502.07,18 t="portal-login" + text @288,200,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,186,61.93,26 + button #bot:b5:secret-0 @806.07,186,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,191,45.93,16 t="Remove" + generic #group-files @288,244,580,358 + heading @288,244,580,18 t="Files and network" + generic @288,266,580,336 + generic @288,266,580,42 + generic @288,270,580,34 + generic @288,270,528,34 + text @288,270,528,18 t="Whole disk (otherwise only the bot's folder)" + text @288,288,528,16 t="Off while commands reach only some hosts." + generic @832,279,36,16 + generic @832,287,0,0 + switch #bot:b5:disk @840,279,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false dis + generic @842,281,12,12 dis + generic @288,308,580,36 + generic @288,317,580,18 + generic @288,317,528,18 + text @288,317,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,318,36,16 + generic @832,326,0,0 + switch #bot:b5:network @840,318,28,16 lb="Commands reach only these hosts (otherwise any host)" ck tab + generic @854,320,12,12 + generic @288,344,580,170 + generic @288,348,580,66 + text @288,348,580,18 t="Hosts" + text @288,366,580,48 t="One host per line: example.com, *.example.com (its subdomains), 10.0.0.5:8080. Without a port, 80 and 443. The hosts of the bot's project are added. A tool that ignores the proxy Bate sets cannot connect. The bot's model is reached as before. Needs the folder limit (not the whole disk)." + generic @288,422,580,88 + textbox #bot:b5:hosts @288,422,580,88 lb="Hosts" v="updates.example.net\n*.docs.example.net" ph="example.com" sel=[38,38] caret=38 multi tab sc=0,0,0,0 end + generic @288,514,580,46 + button #bot:b5:save-hosts @288,522,91.37,30 lb="Save hosts" tab + text @300,528,67.37,18 t="Save hosts" + generic @288,560,580,42 + generic @288,564,580,34 + generic @288,564,528,34 + text @288,564,528,18 t="Search the web" + text @288,582,528,16 t="Off while commands reach only some hosts." + generic @832,573,36,16 + generic @832,581,0,0 + switch #bot:b5:search @840,573,28,16 lb="Search the web" ck=false dis + generic @842,575,12,12 dis + generic #group-engine @288,626,580,268 + heading @288,626,580,18 t="Engine" + generic @288,648,580,246 + generic @288,648,580,38 + generic @288,652,580,30 + generic @288,658,336,18 + text @288,658,336,18 t="Engine" + generic @640,652,228,30 + generic @640,667,0,0 + combobox #bot:b5:engine @648,652,220,30 lb="Bate's own engine" tab + text @729.31,658,110.69,18 t="Bate's own engine" + image @844,661,12,12 deco + generic @288,686,580,42 + generic @288,690,580,34 + generic @288,690,361.38,34 + text @288,690,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,708,361.38,16 t="Version 0.4.0." + generic @665.38,694,202.62,26 + generic @665.38,694,202.62,26 + button #bot:b5:adapter-check-scout-agent @665.38,694,122.38,26 lb="Check for updates" tab + text @673.38,699,106.38,16 t="Check for updates" + button #bot:b5:adapter-remove-scout-agent @795.76,694,72.24,26 lb="Remove…" tab + text @803.76,699,56.24,16 t="Remove…" + generic @288,728,580,92 + generic @288,732,580,18 + text @288,732,580,18 t="Other agent (not installed)" + generic @288,758,580,58 + generic @288,758,580,58 + generic @288,766,526.09,42 + text @304,778,494.09,18 t="install-other-agent --global" + button #copy-bot:b5:install-0 @822.09,774,45.91,26 lb="Copy" tab + text @830.09,779,29.91,16 t="Copy" + generic @288,820,580,42 + generic @288,824,580,34 + generic @288,824,502.83,34 + text @288,824,502.83,18 t="Other agent adapter" + text @288,842,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,828,61.17,26 + button #bot:b5:adapter-install-other-agent @806.83,828,61.17,26 lb="Install…" tab + text @814.83,833,45.17,16 t="Install…" + text @288,862,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,918,580,106 + heading @288,918,580,18 t="Export" + generic @288,940,580,84 + generic @288,940,580,42 + generic @288,944,580,34 + generic @288,944,536,34 + text @288,944,536,18 t="With notes" + text @288,962,536,16 t="Its memory notes go in the file too." + generic @840,953,28,16 + switch #bot:b5:export-notes @840,953,28,16 lb="With notes" ck=false tab + generic @842,955,12,12 + generic @288,982,580,42 + generic @288,986,580,34 + generic @288,986,479.38,34 + text @288,986,479.38,18 t="Export bot" + text @288,1004,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,990,84.62,26 + generic @783.38,1003,0,0 + button #bot:b5:export @791.38,990,76.62,26 lb="Export bot" tab + text @799.38,995,60.62,16 t="Export bot" + generic #group-delete @288,1048,580,64 + heading @288,1048,580,18 t="Delete" + generic @288,1070,580,42 + generic @288,1070,580,42 + generic @288,1074,580,34 + generic @288,1074,452.88,34 + text @288,1074,452.88,18 t="Delete this bot" + text @288,1092,452.88,16 t="Its folder moves to the Trash." + generic @756.88,1078,111.12,26 + button #bot:b5:delete @756.88,1078,111.12,26 lb="Delete this bot…" tab + text @764.88,1083,95.12,16 t="Delete this bot…" + generic @288,1112,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-hosts-light.png b/native/tests/snapshots/native-bot-settings-hosts-light.png index 1ec99958..de24515f 100644 Binary files a/native/tests/snapshots/native-bot-settings-hosts-light.png and b/native/tests/snapshots/native-bot-settings-hosts-light.png differ diff --git a/native/tests/snapshots/native-bot-settings-hosts-light.tree b/native/tests/snapshots/native-bot-settings-hosts-light.tree index edf97864..985c03de 100644 --- a/native/tests/snapshots/native-bot-settings-hosts-light.tree +++ b/native/tests/snapshots/native-bot-settings-hosts-light.tree @@ -122,11 +122,11 @@ generic @0,0,900,760 text @316,24,36.94,20 t="Wren" text @360.94,24,55.4,20 t="Settings" image @424.34,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1770,0,2050 - generic @288,-1702,580,2726 - generic @288,-1702,580,2726 + generic #bot-settings @264,60,628,692 sc=0,1770,0,2154 + generic @288,-1702,580,2830 + generic @288,-1702,580,2830 generic @288,-1702,580,16 - generic @288,-1686,580,2694 + generic @288,-1686,580,2798 generic #group-pause @288,-1686,580,80 heading @288,-1686,580,18 t="Pause" generic @288,-1664,580,58 @@ -244,277 +244,290 @@ generic @0,0,900,760 combobox #bot:b5:check @648,-1056,220,30 lb="Off" tab text @820.79,-1050,19.21,18 t="Off" image @844,-1047,12,12 deco - generic #group-tokens @288,-964,580,326 - heading @288,-964,580,18 t="Tokens" - generic @288,-942,580,304 - generic @288,-942,580,42 - generic @288,-938,580,34 - generic @288,-938,470.13,34 - text @288,-938,470.13,18 t="Used today" - text @288,-920,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,-930,93.87,18 - text #bot:b5:used-today @774.13,-930,93.87,18 t="188,400 tokens" - generic @288,-900,580,58 - generic @288,-896,580,50 - generic @288,-896,459.5,50 - text @288,-896,459.5,18 t="Used this month" - text @288,-878,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,-880,104.5,18 - text #bot:b5:used-month @763.5,-880,104.5,18 t="2,991,000 tokens" - generic @288,-842,580,42 - generic @288,-838,580,34 - generic @288,-838,452,34 - text @288,-838,452,18 t="Limit per day" - text @288,-820,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,-836,112,30 - textbox #bot:b5:limit-day @756,-836,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,-800,580,42 - generic @288,-796,580,34 - generic @288,-796,452,34 - text @288,-796,452,18 t="Limit per month" - text @288,-778,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,-794,112,30 - textbox #bot:b5:limit-month @756,-794,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,-758,580,74 - generic @288,-754,580,66 - generic @288,-754,344,66 - text @288,-754,344,18 t="The limit stops" - text @288,-736,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,-736,220,30 - combobox #bot:b5:limit-stops @648,-736,220,30 lb="Unattended work" tab - text @735.88,-730,104.12,18 t="Unattended work" - image @844,-727,12,12 deco - generic @288,-684,580,46 - button #bot:b5:save-limits @288,-676,90.57,30 lb="Save limits" tab - text @300,-670,66.57,18 t="Save limits" - generic #group-may @288,-614,580,336 - heading @288,-614,580,18 t="What the bot may do" - generic @288,-592,580,314 - generic @288,-592,580,38 - generic @288,-588,580,30 - generic @288,-582,336,18 - text @288,-582,336,18 t="Read files" - generic @640,-588,228,30 - generic @640,-573,0,0 - combobox #bot:b5:perm-read @648,-588,220,30 lb="always" tab - text @799.53,-582,40.47,18 t="always" - image @844,-579,12,12 deco - generic @288,-554,580,38 - generic @288,-550,580,30 - generic @288,-544,336,18 - text @288,-544,336,18 t="Change files" - generic @640,-550,228,30 - generic @640,-535,0,0 - combobox #bot:b5:perm-write @648,-550,220,30 lb="ask me" tab - text @797.03,-544,42.97,18 t="ask me" - image @844,-541,12,12 deco - generic @288,-516,580,38 - generic @288,-512,580,30 - generic @288,-506,336,18 - text @288,-506,336,18 t="Run commands" - generic @640,-512,228,30 - generic @640,-497,0,0 - combobox #bot:b5:perm-run @648,-512,220,30 lb="ask me" tab - text @797.03,-506,42.97,18 t="ask me" - image @844,-503,12,12 deco - generic @288,-478,580,74 - generic @288,-474,580,66 - generic @288,-474,332.75,66 - text @288,-474,332.75,18 t="Use connectors" - text @288,-456,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,-456,231.25,30 - generic @636.75,-441,0,0 - combobox #bot:b5:perm-connector @644.75,-456,223.25,30 lb="read-only tools without asking" tab - text @656.75,-450,183.25,18 t="read-only tools without asking" - image @844,-447,12,12 deco - generic @288,-404,580,38 - generic @288,-400,580,30 - generic @288,-394,336,18 - text @288,-394,336,18 t="See and control other apps" - generic @640,-400,228,30 - generic @640,-385,0,0 - combobox #bot:b5:perm-desktop @648,-400,220,30 lb="never" tab - text @806.33,-394,33.67,18 t="never" - image @844,-391,12,12 deco - generic @288,-366,580,44 - generic @288,-362,580,36 - generic @288,-362,336,36 - text @288,-362,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,-359,228,30 - generic @640,-344,0,0 - combobox #bot:b5:perm-apple_read @648,-359,220,30 lb="ask me" tab - text @797.03,-353,42.97,18 t="ask me" - image @844,-350,12,12 deco - generic @288,-322,580,44 - generic @288,-318,580,36 - generic @288,-318,336,36 - text @288,-318,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,-315,228,30 - generic @640,-300,0,0 - combobox #bot:b5:perm-apple_change @648,-315,220,30 lb="ask me" tab - text @797.03,-309,42.97,18 t="ask me" - image @844,-306,12,12 deco - generic #group-always @288,-254,580,106 - heading @288,-254,580,18 t="Always allowed" - generic @288,-232,580,84 - generic @288,-232,580,42 - generic @288,-228,580,34 - generic @288,-228,502.07,34 - text @288,-228,502.07,18 t="Run commands" - text @288,-210,502.07,16 t="ls -l" - generic @806.07,-224,61.93,26 - button #bot:b5:grant-0 @806.07,-224,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,-219,45.93,16 t="Remove" - generic @288,-190,580,42 - generic @288,-186,580,34 - generic @288,-186,502.07,34 - text @288,-186,502.07,18 t="Read files" - text @288,-168,502.07,16 t="notes/pears.md" - generic @806.07,-182,61.93,26 - button #bot:b5:grant-1 @806.07,-182,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,-177,45.93,16 t="Remove" - generic #group-in-conversation @288,-124,580,64 - heading @288,-124,580,18 t="Allowed in one conversation" - generic @288,-102,580,42 - generic @288,-102,580,42 - generic @288,-98,580,34 - generic @288,-98,502.07,34 - text @288,-98,502.07,18 t="Change files" - text @288,-80,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,-94,61.93,26 - button #bot:b5:conversation-grant-0 @806.07,-94,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,-89,45.93,16 t="Remove" - generic #group-blocked @288,-36,580,64 - heading @288,-36,580,18 t="Blocked tools" - generic @288,-14,580,42 - generic @288,-14,580,42 - generic @288,-10,580,34 - generic @288,-10,500.28,34 - text @288,-10,500.28,18 t="Use connectors" - text @288,8,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,-6,63.72,26 - button #bot:b5:unblock-0 @804.28,-6,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,-1,47.72,16 t="Unblock" - generic #group-secrets @288,52,580,64 - heading @288,52,580,18 t="Secrets" - generic @288,74,580,42 - generic @288,74,580,42 - generic @288,78,580,34 - generic @288,78,502.07,34 - text @288,78,502.07,18 t="portal-login" - text @288,96,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,82,61.93,26 - button #bot:b5:secret-0 @806.07,82,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,87,45.93,16 t="Remove" - generic #group-files @288,140,580,358 - heading @288,140,580,18 t="Files and network" - generic @288,162,580,336 - generic @288,162,580,42 - generic @288,166,580,34 - generic @288,166,528,34 - text @288,166,528,18 t="Whole disk (otherwise only the bot's folder)" - text @288,184,528,16 t="Off while commands reach only some hosts." - generic @832,175,36,16 - generic @832,183,0,0 - switch #bot:b5:disk @840,175,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false dis - generic @842,177,12,12 dis - generic @288,204,580,36 - generic @288,213,580,18 - generic @288,213,528,18 - text @288,213,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,214,36,16 - generic @832,222,0,0 - switch #bot:b5:network @840,214,28,16 lb="Commands reach only these hosts (otherwise any host)" ck tab - generic @854,216,12,12 - generic @288,240,580,170 - generic @288,244,580,66 - text @288,244,580,18 t="Hosts" - text @288,262,580,48 t="One host per line: example.com, *.example.com (its subdomains), 10.0.0.5:8080. Without a port, 80 and 443. The hosts of the bot's project are added. A tool that ignores the proxy Bate sets cannot connect. The bot's model is reached as before. Needs the folder limit (not the whole disk)." - generic @288,318,580,88 - textbox #bot:b5:hosts @288,318,580,88 lb="Hosts" v="updates.example.net\n*.docs.example.net" ph="example.com" sel=[38,38] caret=38 multi tab sc=0,0,0,0 end - generic @288,410,580,46 - button #bot:b5:save-hosts @288,418,91.37,30 lb="Save hosts" tab - text @300,424,67.37,18 t="Save hosts" - generic @288,456,580,42 - generic @288,460,580,34 - generic @288,460,528,34 - text @288,460,528,18 t="Search the web" - text @288,478,528,16 t="Off while commands reach only some hosts." - generic @832,469,36,16 - generic @832,477,0,0 - switch #bot:b5:search @840,469,28,16 lb="Search the web" ck=false dis - generic @842,471,12,12 dis - generic #group-engine @288,522,580,268 - heading @288,522,580,18 t="Engine" - generic @288,544,580,246 - generic @288,544,580,38 - generic @288,548,580,30 - generic @288,554,336,18 - text @288,554,336,18 t="Engine" - generic @640,548,228,30 - generic @640,563,0,0 - combobox #bot:b5:engine @648,548,220,30 lb="Bate's own engine" tab - text @729.31,554,110.69,18 t="Bate's own engine" - image @844,557,12,12 deco - generic @288,582,580,42 - generic @288,586,580,34 - generic @288,586,361.38,34 - text @288,586,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,604,361.38,16 t="Version 0.4.0." - generic @665.38,590,202.62,26 - generic @665.38,590,202.62,26 - button #bot:b5:adapter-check-scout-agent @665.38,590,122.38,26 lb="Check for updates" tab - text @673.38,595,106.38,16 t="Check for updates" - button #bot:b5:adapter-remove-scout-agent @795.76,590,72.24,26 lb="Remove…" tab - text @803.76,595,56.24,16 t="Remove…" - generic @288,624,580,92 - generic @288,628,580,18 - text @288,628,580,18 t="Other agent (not installed)" - generic @288,654,580,58 - generic @288,654,580,58 - generic @288,662,526.09,42 - text @304,674,494.09,18 t="install-other-agent --global" - button #copy-bot:b5:install-0 @822.09,670,45.91,26 lb="Copy" tab - text @830.09,675,29.91,16 t="Copy" - generic @288,716,580,42 - generic @288,720,580,34 - generic @288,720,502.83,34 - text @288,720,502.83,18 t="Other agent adapter" - text @288,738,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,724,61.17,26 - button #bot:b5:adapter-install-other-agent @806.83,724,61.17,26 lb="Install…" tab - text @814.83,729,45.17,16 t="Install…" - text @288,758,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,814,580,106 - heading @288,814,580,18 t="Export" - generic @288,836,580,84 - generic @288,836,580,42 - generic @288,840,580,34 - generic @288,840,536,34 - text @288,840,536,18 t="With notes" - text @288,858,536,16 t="Its memory notes go in the file too." - generic @840,849,28,16 - switch #bot:b5:export-notes @840,849,28,16 lb="With notes" ck=false tab - generic @842,851,12,12 - generic @288,878,580,42 - generic @288,882,580,34 - generic @288,882,479.38,34 - text @288,882,479.38,18 t="Export bot" - text @288,900,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,886,84.62,26 - generic @783.38,899,0,0 - button #bot:b5:export @791.38,886,76.62,26 lb="Export bot" tab - text @799.38,891,60.62,16 t="Export bot" - generic #group-delete @288,944,580,64 - heading @288,944,580,18 t="Delete" - generic @288,966,580,42 - generic @288,966,580,42 - generic @288,970,580,34 - generic @288,970,452.88,34 - text @288,970,452.88,18 t="Delete this bot" - text @288,988,452.88,16 t="Its folder moves to the Trash." - generic @756.88,974,111.12,26 - button #bot:b5:delete @756.88,974,111.12,26 lb="Delete this bot…" tab - text @764.88,979,95.12,16 t="Delete this bot…" - generic @288,1008,580,16 + generic #group-fallback @288,-964,580,80 + heading @288,-964,580,18 t="Fallback" + generic @288,-942,580,58 + generic @288,-942,580,58 + generic @288,-938,580,50 + generic @288,-938,336,50 + text @288,-938,336,18 t="Fallback model" + text @288,-920,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-928,228,30 + generic @640,-913,0,0 + combobox #bot:b5:fallback @648,-928,220,30 lb="None" tab + text @807.96,-922,32.04,18 t="None" + image @844,-919,12,12 deco + generic #group-tokens @288,-860,580,326 + heading @288,-860,580,18 t="Tokens" + generic @288,-838,580,304 + generic @288,-838,580,42 + generic @288,-834,580,34 + generic @288,-834,470.13,34 + text @288,-834,470.13,18 t="Used today" + text @288,-816,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,-826,93.87,18 + text #bot:b5:used-today @774.13,-826,93.87,18 t="188,400 tokens" + generic @288,-796,580,58 + generic @288,-792,580,50 + generic @288,-792,459.5,50 + text @288,-792,459.5,18 t="Used this month" + text @288,-774,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,-776,104.5,18 + text #bot:b5:used-month @763.5,-776,104.5,18 t="2,991,000 tokens" + generic @288,-738,580,42 + generic @288,-734,580,34 + generic @288,-734,452,34 + text @288,-734,452,18 t="Limit per day" + text @288,-716,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,-732,112,30 + textbox #bot:b5:limit-day @756,-732,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,-696,580,42 + generic @288,-692,580,34 + generic @288,-692,452,34 + text @288,-692,452,18 t="Limit per month" + text @288,-674,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,-690,112,30 + textbox #bot:b5:limit-month @756,-690,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,-654,580,74 + generic @288,-650,580,66 + generic @288,-650,344,66 + text @288,-650,344,18 t="The limit stops" + text @288,-632,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,-632,220,30 + combobox #bot:b5:limit-stops @648,-632,220,30 lb="Unattended work" tab + text @735.88,-626,104.12,18 t="Unattended work" + image @844,-623,12,12 deco + generic @288,-580,580,46 + button #bot:b5:save-limits @288,-572,90.57,30 lb="Save limits" tab + text @300,-566,66.57,18 t="Save limits" + generic #group-may @288,-510,580,336 + heading @288,-510,580,18 t="What the bot may do" + generic @288,-488,580,314 + generic @288,-488,580,38 + generic @288,-484,580,30 + generic @288,-478,336,18 + text @288,-478,336,18 t="Read files" + generic @640,-484,228,30 + generic @640,-469,0,0 + combobox #bot:b5:perm-read @648,-484,220,30 lb="always" tab + text @799.53,-478,40.47,18 t="always" + image @844,-475,12,12 deco + generic @288,-450,580,38 + generic @288,-446,580,30 + generic @288,-440,336,18 + text @288,-440,336,18 t="Change files" + generic @640,-446,228,30 + generic @640,-431,0,0 + combobox #bot:b5:perm-write @648,-446,220,30 lb="ask me" tab + text @797.03,-440,42.97,18 t="ask me" + image @844,-437,12,12 deco + generic @288,-412,580,38 + generic @288,-408,580,30 + generic @288,-402,336,18 + text @288,-402,336,18 t="Run commands" + generic @640,-408,228,30 + generic @640,-393,0,0 + combobox #bot:b5:perm-run @648,-408,220,30 lb="ask me" tab + text @797.03,-402,42.97,18 t="ask me" + image @844,-399,12,12 deco + generic @288,-374,580,74 + generic @288,-370,580,66 + generic @288,-370,332.75,66 + text @288,-370,332.75,18 t="Use connectors" + text @288,-352,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,-352,231.25,30 + generic @636.75,-337,0,0 + combobox #bot:b5:perm-connector @644.75,-352,223.25,30 lb="read-only tools without asking" tab + text @656.75,-346,183.25,18 t="read-only tools without asking" + image @844,-343,12,12 deco + generic @288,-300,580,38 + generic @288,-296,580,30 + generic @288,-290,336,18 + text @288,-290,336,18 t="See and control other apps" + generic @640,-296,228,30 + generic @640,-281,0,0 + combobox #bot:b5:perm-desktop @648,-296,220,30 lb="never" tab + text @806.33,-290,33.67,18 t="never" + image @844,-287,12,12 deco + generic @288,-262,580,44 + generic @288,-258,580,36 + generic @288,-258,336,36 + text @288,-258,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,-255,228,30 + generic @640,-240,0,0 + combobox #bot:b5:perm-apple_read @648,-255,220,30 lb="ask me" tab + text @797.03,-249,42.97,18 t="ask me" + image @844,-246,12,12 deco + generic @288,-218,580,44 + generic @288,-214,580,36 + generic @288,-214,336,36 + text @288,-214,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,-211,228,30 + generic @640,-196,0,0 + combobox #bot:b5:perm-apple_change @648,-211,220,30 lb="ask me" tab + text @797.03,-205,42.97,18 t="ask me" + image @844,-202,12,12 deco + generic #group-always @288,-150,580,106 + heading @288,-150,580,18 t="Always allowed" + generic @288,-128,580,84 + generic @288,-128,580,42 + generic @288,-124,580,34 + generic @288,-124,502.07,34 + text @288,-124,502.07,18 t="Run commands" + text @288,-106,502.07,16 t="ls -l" + generic @806.07,-120,61.93,26 + button #bot:b5:grant-0 @806.07,-120,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,-115,45.93,16 t="Remove" + generic @288,-86,580,42 + generic @288,-82,580,34 + generic @288,-82,502.07,34 + text @288,-82,502.07,18 t="Read files" + text @288,-64,502.07,16 t="notes/pears.md" + generic @806.07,-78,61.93,26 + button #bot:b5:grant-1 @806.07,-78,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,-73,45.93,16 t="Remove" + generic #group-in-conversation @288,-20,580,64 + heading @288,-20,580,18 t="Allowed in one conversation" + generic @288,2,580,42 + generic @288,2,580,42 + generic @288,6,580,34 + generic @288,6,502.07,34 + text @288,6,502.07,18 t="Change files" + text @288,24,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,10,61.93,26 + button #bot:b5:conversation-grant-0 @806.07,10,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,15,45.93,16 t="Remove" + generic #group-blocked @288,68,580,64 + heading @288,68,580,18 t="Blocked tools" + generic @288,90,580,42 + generic @288,90,580,42 + generic @288,94,580,34 + generic @288,94,500.28,34 + text @288,94,500.28,18 t="Use connectors" + text @288,112,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,98,63.72,26 + button #bot:b5:unblock-0 @804.28,98,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,103,47.72,16 t="Unblock" + generic #group-secrets @288,156,580,64 + heading @288,156,580,18 t="Secrets" + generic @288,178,580,42 + generic @288,178,580,42 + generic @288,182,580,34 + generic @288,182,502.07,34 + text @288,182,502.07,18 t="portal-login" + text @288,200,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,186,61.93,26 + button #bot:b5:secret-0 @806.07,186,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,191,45.93,16 t="Remove" + generic #group-files @288,244,580,358 + heading @288,244,580,18 t="Files and network" + generic @288,266,580,336 + generic @288,266,580,42 + generic @288,270,580,34 + generic @288,270,528,34 + text @288,270,528,18 t="Whole disk (otherwise only the bot's folder)" + text @288,288,528,16 t="Off while commands reach only some hosts." + generic @832,279,36,16 + generic @832,287,0,0 + switch #bot:b5:disk @840,279,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false dis + generic @842,281,12,12 dis + generic @288,308,580,36 + generic @288,317,580,18 + generic @288,317,528,18 + text @288,317,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,318,36,16 + generic @832,326,0,0 + switch #bot:b5:network @840,318,28,16 lb="Commands reach only these hosts (otherwise any host)" ck tab + generic @854,320,12,12 + generic @288,344,580,170 + generic @288,348,580,66 + text @288,348,580,18 t="Hosts" + text @288,366,580,48 t="One host per line: example.com, *.example.com (its subdomains), 10.0.0.5:8080. Without a port, 80 and 443. The hosts of the bot's project are added. A tool that ignores the proxy Bate sets cannot connect. The bot's model is reached as before. Needs the folder limit (not the whole disk)." + generic @288,422,580,88 + textbox #bot:b5:hosts @288,422,580,88 lb="Hosts" v="updates.example.net\n*.docs.example.net" ph="example.com" sel=[38,38] caret=38 multi tab sc=0,0,0,0 end + generic @288,514,580,46 + button #bot:b5:save-hosts @288,522,91.37,30 lb="Save hosts" tab + text @300,528,67.37,18 t="Save hosts" + generic @288,560,580,42 + generic @288,564,580,34 + generic @288,564,528,34 + text @288,564,528,18 t="Search the web" + text @288,582,528,16 t="Off while commands reach only some hosts." + generic @832,573,36,16 + generic @832,581,0,0 + switch #bot:b5:search @840,573,28,16 lb="Search the web" ck=false dis + generic @842,575,12,12 dis + generic #group-engine @288,626,580,268 + heading @288,626,580,18 t="Engine" + generic @288,648,580,246 + generic @288,648,580,38 + generic @288,652,580,30 + generic @288,658,336,18 + text @288,658,336,18 t="Engine" + generic @640,652,228,30 + generic @640,667,0,0 + combobox #bot:b5:engine @648,652,220,30 lb="Bate's own engine" tab + text @729.31,658,110.69,18 t="Bate's own engine" + image @844,661,12,12 deco + generic @288,686,580,42 + generic @288,690,580,34 + generic @288,690,361.38,34 + text @288,690,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,708,361.38,16 t="Version 0.4.0." + generic @665.38,694,202.62,26 + generic @665.38,694,202.62,26 + button #bot:b5:adapter-check-scout-agent @665.38,694,122.38,26 lb="Check for updates" tab + text @673.38,699,106.38,16 t="Check for updates" + button #bot:b5:adapter-remove-scout-agent @795.76,694,72.24,26 lb="Remove…" tab + text @803.76,699,56.24,16 t="Remove…" + generic @288,728,580,92 + generic @288,732,580,18 + text @288,732,580,18 t="Other agent (not installed)" + generic @288,758,580,58 + generic @288,758,580,58 + generic @288,766,526.09,42 + text @304,778,494.09,18 t="install-other-agent --global" + button #copy-bot:b5:install-0 @822.09,774,45.91,26 lb="Copy" tab + text @830.09,779,29.91,16 t="Copy" + generic @288,820,580,42 + generic @288,824,580,34 + generic @288,824,502.83,34 + text @288,824,502.83,18 t="Other agent adapter" + text @288,842,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,828,61.17,26 + button #bot:b5:adapter-install-other-agent @806.83,828,61.17,26 lb="Install…" tab + text @814.83,833,45.17,16 t="Install…" + text @288,862,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,918,580,106 + heading @288,918,580,18 t="Export" + generic @288,940,580,84 + generic @288,940,580,42 + generic @288,944,580,34 + generic @288,944,536,34 + text @288,944,536,18 t="With notes" + text @288,962,536,16 t="Its memory notes go in the file too." + generic @840,953,28,16 + switch #bot:b5:export-notes @840,953,28,16 lb="With notes" ck=false tab + generic @842,955,12,12 + generic @288,982,580,42 + generic @288,986,580,34 + generic @288,986,479.38,34 + text @288,986,479.38,18 t="Export bot" + text @288,1004,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,990,84.62,26 + generic @783.38,1003,0,0 + button #bot:b5:export @791.38,990,76.62,26 lb="Export bot" tab + text @799.38,995,60.62,16 t="Export bot" + generic #group-delete @288,1048,580,64 + heading @288,1048,580,18 t="Delete" + generic @288,1070,580,42 + generic @288,1070,580,42 + generic @288,1074,580,34 + generic @288,1074,452.88,34 + text @288,1074,452.88,18 t="Delete this bot" + text @288,1092,452.88,16 t="Its folder moves to the Trash." + generic @756.88,1078,111.12,26 + button #bot:b5:delete @756.88,1078,111.12,26 lb="Delete this bot…" tab + text @764.88,1083,95.12,16 t="Delete this bot…" + generic @288,1112,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-look-dark.tree b/native/tests/snapshots/native-bot-settings-look-dark.tree index 45d0017c..b16e46ec 100644 --- a/native/tests/snapshots/native-bot-settings-look-dark.tree +++ b/native/tests/snapshots/native-bot-settings-look-dark.tree @@ -135,11 +135,11 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,0,0,1828 - generic @288,68,580,2504 - generic @288,68,580,2504 + generic #bot-settings @264,60,628,692 sc=0,0,0,1932 + generic @288,68,580,2608 + generic @288,68,580,2608 generic @288,68,580,16 - generic @288,84,580,2472 + generic @288,84,580,2576 generic #group-pause @288,84,580,80 heading @288,84,580,18 t="Pause" generic @288,106,580,58 @@ -257,267 +257,280 @@ generic @0,0,900,760 combobox #bot:b1:check @648,714,220,30 lb="Bot Quill" tab text @788.68,720,51.32,18 t="Bot Quill" image @844,723,12,12 deco - generic #group-tokens @288,806,580,326 - heading @288,806,580,18 t="Tokens" - generic @288,828,580,304 - generic @288,828,580,42 - generic @288,832,580,34 - generic @288,832,470.13,34 - text @288,832,470.13,18 t="Used today" - text @288,850,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,840,93.87,18 - text #bot:b1:used-today @774.13,840,93.87,18 t="188,400 tokens" - generic @288,870,580,58 - generic @288,874,580,50 - generic @288,874,459.5,50 - text @288,874,459.5,18 t="Used this month" - text @288,892,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,890,104.5,18 - text #bot:b1:used-month @763.5,890,104.5,18 t="2,991,000 tokens" - generic @288,928,580,42 - generic @288,932,580,34 - generic @288,932,452,34 - text @288,932,452,18 t="Limit per day" - text @288,950,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,934,112,30 - textbox #bot:b1:limit-day @756,934,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,970,580,42 - generic @288,974,580,34 - generic @288,974,452,34 - text @288,974,452,18 t="Limit per month" - text @288,992,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,976,112,30 - textbox #bot:b1:limit-month @756,976,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,1012,580,74 - generic @288,1016,580,66 - generic @288,1016,344,66 - text @288,1016,344,18 t="The limit stops" - text @288,1034,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,1034,220,30 - combobox #bot:b1:limit-stops @648,1034,220,30 lb="Unattended work" tab - text @735.88,1040,104.12,18 t="Unattended work" - image @844,1043,12,12 deco - generic @288,1086,580,46 - button #bot:b1:save-limits @288,1094,90.57,30 lb="Save limits" tab - text @300,1100,66.57,18 t="Save limits" - generic #group-may @288,1156,580,336 - heading @288,1156,580,18 t="What the bot may do" - generic @288,1178,580,314 - generic @288,1178,580,38 - generic @288,1182,580,30 - generic @288,1188,336,18 - text @288,1188,336,18 t="Read files" - generic @640,1182,228,30 - generic @640,1197,0,0 - combobox #bot:b1:perm-read @648,1182,220,30 lb="always" tab - text @799.53,1188,40.47,18 t="always" - image @844,1191,12,12 deco - generic @288,1216,580,38 - generic @288,1220,580,30 - generic @288,1226,336,18 - text @288,1226,336,18 t="Change files" - generic @640,1220,228,30 - generic @640,1235,0,0 - combobox #bot:b1:perm-write @648,1220,220,30 lb="ask me" tab - text @797.03,1226,42.97,18 t="ask me" - image @844,1229,12,12 deco - generic @288,1254,580,38 - generic @288,1258,580,30 - generic @288,1264,336,18 - text @288,1264,336,18 t="Run commands" - generic @640,1258,228,30 - generic @640,1273,0,0 - combobox #bot:b1:perm-run @648,1258,220,30 lb="ask me" tab - text @797.03,1264,42.97,18 t="ask me" - image @844,1267,12,12 deco - generic @288,1292,580,74 - generic @288,1296,580,66 - generic @288,1296,332.75,66 - text @288,1296,332.75,18 t="Use connectors" - text @288,1314,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,1314,231.25,30 - generic @636.75,1329,0,0 - combobox #bot:b1:perm-connector @644.75,1314,223.25,30 lb="read-only tools without asking" tab - text @656.75,1320,183.25,18 t="read-only tools without asking" - image @844,1323,12,12 deco - generic @288,1366,580,38 - generic @288,1370,580,30 - generic @288,1376,336,18 - text @288,1376,336,18 t="See and control other apps" - generic @640,1370,228,30 - generic @640,1385,0,0 - combobox #bot:b1:perm-desktop @648,1370,220,30 lb="never" tab - text @806.33,1376,33.67,18 t="never" - image @844,1379,12,12 deco - generic @288,1404,580,44 - generic @288,1408,580,36 - generic @288,1408,336,36 - text @288,1408,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,1411,228,30 - generic @640,1426,0,0 - combobox #bot:b1:perm-apple_read @648,1411,220,30 lb="ask me" tab - text @797.03,1417,42.97,18 t="ask me" - image @844,1420,12,12 deco - generic @288,1448,580,44 - generic @288,1452,580,36 - generic @288,1452,336,36 - text @288,1452,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,1455,228,30 - generic @640,1470,0,0 - combobox #bot:b1:perm-apple_change @648,1455,220,30 lb="ask me" tab - text @797.03,1461,42.97,18 t="ask me" - image @844,1464,12,12 deco - generic #group-always @288,1516,580,106 - heading @288,1516,580,18 t="Always allowed" - generic @288,1538,580,84 - generic @288,1538,580,42 - generic @288,1542,580,34 - generic @288,1542,502.07,34 - text @288,1542,502.07,18 t="Run commands" - text @288,1560,502.07,16 t="ls -l" - generic @806.07,1546,61.93,26 - button #bot:b1:grant-0 @806.07,1546,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,1551,45.93,16 t="Remove" - generic @288,1580,580,42 - generic @288,1584,580,34 - generic @288,1584,502.07,34 - text @288,1584,502.07,18 t="Read files" - text @288,1602,502.07,16 t="notes/pears.md" - generic @806.07,1588,61.93,26 - button #bot:b1:grant-1 @806.07,1588,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,1593,45.93,16 t="Remove" - generic #group-in-conversation @288,1646,580,64 - heading @288,1646,580,18 t="Allowed in one conversation" - generic @288,1668,580,42 - generic @288,1668,580,42 - generic @288,1672,580,34 - generic @288,1672,502.07,34 - text @288,1672,502.07,18 t="Change files" - text @288,1690,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,1676,61.93,26 - button #bot:b1:conversation-grant-0 @806.07,1676,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,1681,45.93,16 t="Remove" - generic #group-blocked @288,1734,580,64 - heading @288,1734,580,18 t="Blocked tools" - generic @288,1756,580,42 - generic @288,1756,580,42 - generic @288,1760,580,34 - generic @288,1760,500.28,34 - text @288,1760,500.28,18 t="Use connectors" - text @288,1778,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,1764,63.72,26 - button #bot:b1:unblock-0 @804.28,1764,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,1769,47.72,16 t="Unblock" - generic #group-secrets @288,1822,580,64 - heading @288,1822,580,18 t="Secrets" - generic @288,1844,580,42 - generic @288,1844,580,42 - generic @288,1848,580,34 - generic @288,1848,502.07,34 - text @288,1848,502.07,18 t="portal-login" - text @288,1866,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,1852,61.93,26 - button #bot:b1:secret-0 @806.07,1852,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,1857,45.93,16 t="Remove" - generic #group-files @288,1910,580,136 - heading @288,1910,580,18 t="Files and network" - generic @288,1932,580,114 - generic @288,1932,580,36 - generic @288,1941,580,18 - generic @288,1941,528,18 - text @288,1941,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,1942,36,16 - generic @832,1950,0,0 - switch #bot:b1:disk @840,1942,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,1944,12,12 - generic @288,1968,580,36 - generic @288,1977,580,18 - generic @288,1977,528,18 - text @288,1977,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,1978,36,16 - generic @832,1986,0,0 - switch #bot:b1:network @840,1978,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,1980,12,12 - generic @288,2004,580,42 - generic @288,2008,580,34 - generic @288,2008,528,34 - text @288,2008,528,18 t="Search the web" - text @288,2026,528,16 t="The search runs at ChatGPT." - generic @832,2017,36,16 - generic @832,2025,0,0 - switch #bot:b1:search @840,2017,28,16 lb="Search the web" ck tab - generic @854,2019,12,12 - generic #group-engine @288,2070,580,268 - heading @288,2070,580,18 t="Engine" - generic @288,2092,580,246 - generic @288,2092,580,38 - generic @288,2096,580,30 - generic @288,2102,336,18 - text @288,2102,336,18 t="Engine" - generic @640,2096,228,30 - generic @640,2111,0,0 - combobox #bot:b1:engine @648,2096,220,30 lb="Bate's own engine" tab - text @729.31,2102,110.69,18 t="Bate's own engine" - image @844,2105,12,12 deco - generic @288,2130,580,42 - generic @288,2134,580,34 - generic @288,2134,361.38,34 - text @288,2134,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,2152,361.38,16 t="Version 0.4.0." - generic @665.38,2138,202.62,26 - generic @665.38,2138,202.62,26 - button #bot:b1:adapter-check-scout-agent @665.38,2138,122.38,26 lb="Check for updates" tab - text @673.38,2143,106.38,16 t="Check for updates" - button #bot:b1:adapter-remove-scout-agent @795.76,2138,72.24,26 lb="Remove…" tab - text @803.76,2143,56.24,16 t="Remove…" - generic @288,2172,580,92 - generic @288,2176,580,18 - text @288,2176,580,18 t="Other agent (not installed)" - generic @288,2202,580,58 - generic @288,2202,580,58 - generic @288,2210,526.09,42 - text @304,2222,494.09,18 t="install-other-agent --global" - button #copy-bot:b1:install-0 @822.09,2218,45.91,26 lb="Copy" tab - text @830.09,2223,29.91,16 t="Copy" - generic @288,2264,580,42 - generic @288,2268,580,34 - generic @288,2268,502.83,34 - text @288,2268,502.83,18 t="Other agent adapter" - text @288,2286,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,2272,61.17,26 - button #bot:b1:adapter-install-other-agent @806.83,2272,61.17,26 lb="Install…" tab - text @814.83,2277,45.17,16 t="Install…" - text @288,2306,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,2362,580,106 - heading @288,2362,580,18 t="Export" - generic @288,2384,580,84 - generic @288,2384,580,42 - generic @288,2388,580,34 - generic @288,2388,536,34 - text @288,2388,536,18 t="With notes" - text @288,2406,536,16 t="Its memory notes go in the file too." - generic @840,2397,28,16 - switch #bot:b1:export-notes @840,2397,28,16 lb="With notes" ck=false tab - generic @842,2399,12,12 - generic @288,2426,580,42 - generic @288,2430,580,34 - generic @288,2430,479.38,34 - text @288,2430,479.38,18 t="Export bot" - text @288,2448,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,2434,84.62,26 - generic @783.38,2447,0,0 - button #bot:b1:export @791.38,2434,76.62,26 lb="Export bot" tab - text @799.38,2439,60.62,16 t="Export bot" - generic #group-delete @288,2492,580,64 - heading @288,2492,580,18 t="Delete" - generic @288,2514,580,42 - generic @288,2514,580,42 - generic @288,2518,580,34 - generic @288,2518,452.88,34 - text @288,2518,452.88,18 t="Delete this bot" - text @288,2536,452.88,16 t="Its folder moves to the Trash." - generic @756.88,2522,111.12,26 - button #bot:b1:delete @756.88,2522,111.12,26 lb="Delete this bot…" tab - text @764.88,2527,95.12,16 t="Delete this bot…" - generic @288,2556,580,16 + generic #group-fallback @288,806,580,80 + heading @288,806,580,18 t="Fallback" + generic @288,828,580,58 + generic @288,828,580,58 + generic @288,832,580,50 + generic @288,832,336,50 + text @288,832,336,18 t="Fallback model" + text @288,850,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,842,228,30 + generic @640,857,0,0 + combobox #bot:b1:fallback @648,842,220,30 lb="None" tab + text @807.96,848,32.04,18 t="None" + image @844,851,12,12 deco + generic #group-tokens @288,910,580,326 + heading @288,910,580,18 t="Tokens" + generic @288,932,580,304 + generic @288,932,580,42 + generic @288,936,580,34 + generic @288,936,470.13,34 + text @288,936,470.13,18 t="Used today" + text @288,954,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,944,93.87,18 + text #bot:b1:used-today @774.13,944,93.87,18 t="188,400 tokens" + generic @288,974,580,58 + generic @288,978,580,50 + generic @288,978,459.5,50 + text @288,978,459.5,18 t="Used this month" + text @288,996,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,994,104.5,18 + text #bot:b1:used-month @763.5,994,104.5,18 t="2,991,000 tokens" + generic @288,1032,580,42 + generic @288,1036,580,34 + generic @288,1036,452,34 + text @288,1036,452,18 t="Limit per day" + text @288,1054,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,1038,112,30 + textbox #bot:b1:limit-day @756,1038,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,1074,580,42 + generic @288,1078,580,34 + generic @288,1078,452,34 + text @288,1078,452,18 t="Limit per month" + text @288,1096,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,1080,112,30 + textbox #bot:b1:limit-month @756,1080,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,1116,580,74 + generic @288,1120,580,66 + generic @288,1120,344,66 + text @288,1120,344,18 t="The limit stops" + text @288,1138,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,1138,220,30 + combobox #bot:b1:limit-stops @648,1138,220,30 lb="Unattended work" tab + text @735.88,1144,104.12,18 t="Unattended work" + image @844,1147,12,12 deco + generic @288,1190,580,46 + button #bot:b1:save-limits @288,1198,90.57,30 lb="Save limits" tab + text @300,1204,66.57,18 t="Save limits" + generic #group-may @288,1260,580,336 + heading @288,1260,580,18 t="What the bot may do" + generic @288,1282,580,314 + generic @288,1282,580,38 + generic @288,1286,580,30 + generic @288,1292,336,18 + text @288,1292,336,18 t="Read files" + generic @640,1286,228,30 + generic @640,1301,0,0 + combobox #bot:b1:perm-read @648,1286,220,30 lb="always" tab + text @799.53,1292,40.47,18 t="always" + image @844,1295,12,12 deco + generic @288,1320,580,38 + generic @288,1324,580,30 + generic @288,1330,336,18 + text @288,1330,336,18 t="Change files" + generic @640,1324,228,30 + generic @640,1339,0,0 + combobox #bot:b1:perm-write @648,1324,220,30 lb="ask me" tab + text @797.03,1330,42.97,18 t="ask me" + image @844,1333,12,12 deco + generic @288,1358,580,38 + generic @288,1362,580,30 + generic @288,1368,336,18 + text @288,1368,336,18 t="Run commands" + generic @640,1362,228,30 + generic @640,1377,0,0 + combobox #bot:b1:perm-run @648,1362,220,30 lb="ask me" tab + text @797.03,1368,42.97,18 t="ask me" + image @844,1371,12,12 deco + generic @288,1396,580,74 + generic @288,1400,580,66 + generic @288,1400,332.75,66 + text @288,1400,332.75,18 t="Use connectors" + text @288,1418,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,1418,231.25,30 + generic @636.75,1433,0,0 + combobox #bot:b1:perm-connector @644.75,1418,223.25,30 lb="read-only tools without asking" tab + text @656.75,1424,183.25,18 t="read-only tools without asking" + image @844,1427,12,12 deco + generic @288,1470,580,38 + generic @288,1474,580,30 + generic @288,1480,336,18 + text @288,1480,336,18 t="See and control other apps" + generic @640,1474,228,30 + generic @640,1489,0,0 + combobox #bot:b1:perm-desktop @648,1474,220,30 lb="never" tab + text @806.33,1480,33.67,18 t="never" + image @844,1483,12,12 deco + generic @288,1508,580,44 + generic @288,1512,580,36 + generic @288,1512,336,36 + text @288,1512,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,1515,228,30 + generic @640,1530,0,0 + combobox #bot:b1:perm-apple_read @648,1515,220,30 lb="ask me" tab + text @797.03,1521,42.97,18 t="ask me" + image @844,1524,12,12 deco + generic @288,1552,580,44 + generic @288,1556,580,36 + generic @288,1556,336,36 + text @288,1556,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,1559,228,30 + generic @640,1574,0,0 + combobox #bot:b1:perm-apple_change @648,1559,220,30 lb="ask me" tab + text @797.03,1565,42.97,18 t="ask me" + image @844,1568,12,12 deco + generic #group-always @288,1620,580,106 + heading @288,1620,580,18 t="Always allowed" + generic @288,1642,580,84 + generic @288,1642,580,42 + generic @288,1646,580,34 + generic @288,1646,502.07,34 + text @288,1646,502.07,18 t="Run commands" + text @288,1664,502.07,16 t="ls -l" + generic @806.07,1650,61.93,26 + button #bot:b1:grant-0 @806.07,1650,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,1655,45.93,16 t="Remove" + generic @288,1684,580,42 + generic @288,1688,580,34 + generic @288,1688,502.07,34 + text @288,1688,502.07,18 t="Read files" + text @288,1706,502.07,16 t="notes/pears.md" + generic @806.07,1692,61.93,26 + button #bot:b1:grant-1 @806.07,1692,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,1697,45.93,16 t="Remove" + generic #group-in-conversation @288,1750,580,64 + heading @288,1750,580,18 t="Allowed in one conversation" + generic @288,1772,580,42 + generic @288,1772,580,42 + generic @288,1776,580,34 + generic @288,1776,502.07,34 + text @288,1776,502.07,18 t="Change files" + text @288,1794,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,1780,61.93,26 + button #bot:b1:conversation-grant-0 @806.07,1780,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,1785,45.93,16 t="Remove" + generic #group-blocked @288,1838,580,64 + heading @288,1838,580,18 t="Blocked tools" + generic @288,1860,580,42 + generic @288,1860,580,42 + generic @288,1864,580,34 + generic @288,1864,500.28,34 + text @288,1864,500.28,18 t="Use connectors" + text @288,1882,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,1868,63.72,26 + button #bot:b1:unblock-0 @804.28,1868,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,1873,47.72,16 t="Unblock" + generic #group-secrets @288,1926,580,64 + heading @288,1926,580,18 t="Secrets" + generic @288,1948,580,42 + generic @288,1948,580,42 + generic @288,1952,580,34 + generic @288,1952,502.07,34 + text @288,1952,502.07,18 t="portal-login" + text @288,1970,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,1956,61.93,26 + button #bot:b1:secret-0 @806.07,1956,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,1961,45.93,16 t="Remove" + generic #group-files @288,2014,580,136 + heading @288,2014,580,18 t="Files and network" + generic @288,2036,580,114 + generic @288,2036,580,36 + generic @288,2045,580,18 + generic @288,2045,528,18 + text @288,2045,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,2046,36,16 + generic @832,2054,0,0 + switch #bot:b1:disk @840,2046,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,2048,12,12 + generic @288,2072,580,36 + generic @288,2081,580,18 + generic @288,2081,528,18 + text @288,2081,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,2082,36,16 + generic @832,2090,0,0 + switch #bot:b1:network @840,2082,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,2084,12,12 + generic @288,2108,580,42 + generic @288,2112,580,34 + generic @288,2112,528,34 + text @288,2112,528,18 t="Search the web" + text @288,2130,528,16 t="The search runs at ChatGPT." + generic @832,2121,36,16 + generic @832,2129,0,0 + switch #bot:b1:search @840,2121,28,16 lb="Search the web" ck tab + generic @854,2123,12,12 + generic #group-engine @288,2174,580,268 + heading @288,2174,580,18 t="Engine" + generic @288,2196,580,246 + generic @288,2196,580,38 + generic @288,2200,580,30 + generic @288,2206,336,18 + text @288,2206,336,18 t="Engine" + generic @640,2200,228,30 + generic @640,2215,0,0 + combobox #bot:b1:engine @648,2200,220,30 lb="Bate's own engine" tab + text @729.31,2206,110.69,18 t="Bate's own engine" + image @844,2209,12,12 deco + generic @288,2234,580,42 + generic @288,2238,580,34 + generic @288,2238,361.38,34 + text @288,2238,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,2256,361.38,16 t="Version 0.4.0." + generic @665.38,2242,202.62,26 + generic @665.38,2242,202.62,26 + button #bot:b1:adapter-check-scout-agent @665.38,2242,122.38,26 lb="Check for updates" tab + text @673.38,2247,106.38,16 t="Check for updates" + button #bot:b1:adapter-remove-scout-agent @795.76,2242,72.24,26 lb="Remove…" tab + text @803.76,2247,56.24,16 t="Remove…" + generic @288,2276,580,92 + generic @288,2280,580,18 + text @288,2280,580,18 t="Other agent (not installed)" + generic @288,2306,580,58 + generic @288,2306,580,58 + generic @288,2314,526.09,42 + text @304,2326,494.09,18 t="install-other-agent --global" + button #copy-bot:b1:install-0 @822.09,2322,45.91,26 lb="Copy" tab + text @830.09,2327,29.91,16 t="Copy" + generic @288,2368,580,42 + generic @288,2372,580,34 + generic @288,2372,502.83,34 + text @288,2372,502.83,18 t="Other agent adapter" + text @288,2390,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,2376,61.17,26 + button #bot:b1:adapter-install-other-agent @806.83,2376,61.17,26 lb="Install…" tab + text @814.83,2381,45.17,16 t="Install…" + text @288,2410,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,2466,580,106 + heading @288,2466,580,18 t="Export" + generic @288,2488,580,84 + generic @288,2488,580,42 + generic @288,2492,580,34 + generic @288,2492,536,34 + text @288,2492,536,18 t="With notes" + text @288,2510,536,16 t="Its memory notes go in the file too." + generic @840,2501,28,16 + switch #bot:b1:export-notes @840,2501,28,16 lb="With notes" ck=false tab + generic @842,2503,12,12 + generic @288,2530,580,42 + generic @288,2534,580,34 + generic @288,2534,479.38,34 + text @288,2534,479.38,18 t="Export bot" + text @288,2552,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,2538,84.62,26 + generic @783.38,2551,0,0 + button #bot:b1:export @791.38,2538,76.62,26 lb="Export bot" tab + text @799.38,2543,60.62,16 t="Export bot" + generic #group-delete @288,2596,580,64 + heading @288,2596,580,18 t="Delete" + generic @288,2618,580,42 + generic @288,2618,580,42 + generic @288,2622,580,34 + generic @288,2622,452.88,34 + text @288,2622,452.88,18 t="Delete this bot" + text @288,2640,452.88,16 t="Its folder moves to the Trash." + generic @756.88,2626,111.12,26 + button #bot:b1:delete @756.88,2626,111.12,26 lb="Delete this bot…" tab + text @764.88,2631,95.12,16 t="Delete this bot…" + generic @288,2660,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-look-light.tree b/native/tests/snapshots/native-bot-settings-look-light.tree index 45d0017c..b16e46ec 100644 --- a/native/tests/snapshots/native-bot-settings-look-light.tree +++ b/native/tests/snapshots/native-bot-settings-look-light.tree @@ -135,11 +135,11 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,0,0,1828 - generic @288,68,580,2504 - generic @288,68,580,2504 + generic #bot-settings @264,60,628,692 sc=0,0,0,1932 + generic @288,68,580,2608 + generic @288,68,580,2608 generic @288,68,580,16 - generic @288,84,580,2472 + generic @288,84,580,2576 generic #group-pause @288,84,580,80 heading @288,84,580,18 t="Pause" generic @288,106,580,58 @@ -257,267 +257,280 @@ generic @0,0,900,760 combobox #bot:b1:check @648,714,220,30 lb="Bot Quill" tab text @788.68,720,51.32,18 t="Bot Quill" image @844,723,12,12 deco - generic #group-tokens @288,806,580,326 - heading @288,806,580,18 t="Tokens" - generic @288,828,580,304 - generic @288,828,580,42 - generic @288,832,580,34 - generic @288,832,470.13,34 - text @288,832,470.13,18 t="Used today" - text @288,850,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,840,93.87,18 - text #bot:b1:used-today @774.13,840,93.87,18 t="188,400 tokens" - generic @288,870,580,58 - generic @288,874,580,50 - generic @288,874,459.5,50 - text @288,874,459.5,18 t="Used this month" - text @288,892,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,890,104.5,18 - text #bot:b1:used-month @763.5,890,104.5,18 t="2,991,000 tokens" - generic @288,928,580,42 - generic @288,932,580,34 - generic @288,932,452,34 - text @288,932,452,18 t="Limit per day" - text @288,950,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,934,112,30 - textbox #bot:b1:limit-day @756,934,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,970,580,42 - generic @288,974,580,34 - generic @288,974,452,34 - text @288,974,452,18 t="Limit per month" - text @288,992,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,976,112,30 - textbox #bot:b1:limit-month @756,976,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,1012,580,74 - generic @288,1016,580,66 - generic @288,1016,344,66 - text @288,1016,344,18 t="The limit stops" - text @288,1034,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,1034,220,30 - combobox #bot:b1:limit-stops @648,1034,220,30 lb="Unattended work" tab - text @735.88,1040,104.12,18 t="Unattended work" - image @844,1043,12,12 deco - generic @288,1086,580,46 - button #bot:b1:save-limits @288,1094,90.57,30 lb="Save limits" tab - text @300,1100,66.57,18 t="Save limits" - generic #group-may @288,1156,580,336 - heading @288,1156,580,18 t="What the bot may do" - generic @288,1178,580,314 - generic @288,1178,580,38 - generic @288,1182,580,30 - generic @288,1188,336,18 - text @288,1188,336,18 t="Read files" - generic @640,1182,228,30 - generic @640,1197,0,0 - combobox #bot:b1:perm-read @648,1182,220,30 lb="always" tab - text @799.53,1188,40.47,18 t="always" - image @844,1191,12,12 deco - generic @288,1216,580,38 - generic @288,1220,580,30 - generic @288,1226,336,18 - text @288,1226,336,18 t="Change files" - generic @640,1220,228,30 - generic @640,1235,0,0 - combobox #bot:b1:perm-write @648,1220,220,30 lb="ask me" tab - text @797.03,1226,42.97,18 t="ask me" - image @844,1229,12,12 deco - generic @288,1254,580,38 - generic @288,1258,580,30 - generic @288,1264,336,18 - text @288,1264,336,18 t="Run commands" - generic @640,1258,228,30 - generic @640,1273,0,0 - combobox #bot:b1:perm-run @648,1258,220,30 lb="ask me" tab - text @797.03,1264,42.97,18 t="ask me" - image @844,1267,12,12 deco - generic @288,1292,580,74 - generic @288,1296,580,66 - generic @288,1296,332.75,66 - text @288,1296,332.75,18 t="Use connectors" - text @288,1314,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,1314,231.25,30 - generic @636.75,1329,0,0 - combobox #bot:b1:perm-connector @644.75,1314,223.25,30 lb="read-only tools without asking" tab - text @656.75,1320,183.25,18 t="read-only tools without asking" - image @844,1323,12,12 deco - generic @288,1366,580,38 - generic @288,1370,580,30 - generic @288,1376,336,18 - text @288,1376,336,18 t="See and control other apps" - generic @640,1370,228,30 - generic @640,1385,0,0 - combobox #bot:b1:perm-desktop @648,1370,220,30 lb="never" tab - text @806.33,1376,33.67,18 t="never" - image @844,1379,12,12 deco - generic @288,1404,580,44 - generic @288,1408,580,36 - generic @288,1408,336,36 - text @288,1408,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,1411,228,30 - generic @640,1426,0,0 - combobox #bot:b1:perm-apple_read @648,1411,220,30 lb="ask me" tab - text @797.03,1417,42.97,18 t="ask me" - image @844,1420,12,12 deco - generic @288,1448,580,44 - generic @288,1452,580,36 - generic @288,1452,336,36 - text @288,1452,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,1455,228,30 - generic @640,1470,0,0 - combobox #bot:b1:perm-apple_change @648,1455,220,30 lb="ask me" tab - text @797.03,1461,42.97,18 t="ask me" - image @844,1464,12,12 deco - generic #group-always @288,1516,580,106 - heading @288,1516,580,18 t="Always allowed" - generic @288,1538,580,84 - generic @288,1538,580,42 - generic @288,1542,580,34 - generic @288,1542,502.07,34 - text @288,1542,502.07,18 t="Run commands" - text @288,1560,502.07,16 t="ls -l" - generic @806.07,1546,61.93,26 - button #bot:b1:grant-0 @806.07,1546,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,1551,45.93,16 t="Remove" - generic @288,1580,580,42 - generic @288,1584,580,34 - generic @288,1584,502.07,34 - text @288,1584,502.07,18 t="Read files" - text @288,1602,502.07,16 t="notes/pears.md" - generic @806.07,1588,61.93,26 - button #bot:b1:grant-1 @806.07,1588,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,1593,45.93,16 t="Remove" - generic #group-in-conversation @288,1646,580,64 - heading @288,1646,580,18 t="Allowed in one conversation" - generic @288,1668,580,42 - generic @288,1668,580,42 - generic @288,1672,580,34 - generic @288,1672,502.07,34 - text @288,1672,502.07,18 t="Change files" - text @288,1690,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,1676,61.93,26 - button #bot:b1:conversation-grant-0 @806.07,1676,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,1681,45.93,16 t="Remove" - generic #group-blocked @288,1734,580,64 - heading @288,1734,580,18 t="Blocked tools" - generic @288,1756,580,42 - generic @288,1756,580,42 - generic @288,1760,580,34 - generic @288,1760,500.28,34 - text @288,1760,500.28,18 t="Use connectors" - text @288,1778,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,1764,63.72,26 - button #bot:b1:unblock-0 @804.28,1764,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,1769,47.72,16 t="Unblock" - generic #group-secrets @288,1822,580,64 - heading @288,1822,580,18 t="Secrets" - generic @288,1844,580,42 - generic @288,1844,580,42 - generic @288,1848,580,34 - generic @288,1848,502.07,34 - text @288,1848,502.07,18 t="portal-login" - text @288,1866,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,1852,61.93,26 - button #bot:b1:secret-0 @806.07,1852,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,1857,45.93,16 t="Remove" - generic #group-files @288,1910,580,136 - heading @288,1910,580,18 t="Files and network" - generic @288,1932,580,114 - generic @288,1932,580,36 - generic @288,1941,580,18 - generic @288,1941,528,18 - text @288,1941,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,1942,36,16 - generic @832,1950,0,0 - switch #bot:b1:disk @840,1942,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,1944,12,12 - generic @288,1968,580,36 - generic @288,1977,580,18 - generic @288,1977,528,18 - text @288,1977,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,1978,36,16 - generic @832,1986,0,0 - switch #bot:b1:network @840,1978,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,1980,12,12 - generic @288,2004,580,42 - generic @288,2008,580,34 - generic @288,2008,528,34 - text @288,2008,528,18 t="Search the web" - text @288,2026,528,16 t="The search runs at ChatGPT." - generic @832,2017,36,16 - generic @832,2025,0,0 - switch #bot:b1:search @840,2017,28,16 lb="Search the web" ck tab - generic @854,2019,12,12 - generic #group-engine @288,2070,580,268 - heading @288,2070,580,18 t="Engine" - generic @288,2092,580,246 - generic @288,2092,580,38 - generic @288,2096,580,30 - generic @288,2102,336,18 - text @288,2102,336,18 t="Engine" - generic @640,2096,228,30 - generic @640,2111,0,0 - combobox #bot:b1:engine @648,2096,220,30 lb="Bate's own engine" tab - text @729.31,2102,110.69,18 t="Bate's own engine" - image @844,2105,12,12 deco - generic @288,2130,580,42 - generic @288,2134,580,34 - generic @288,2134,361.38,34 - text @288,2134,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,2152,361.38,16 t="Version 0.4.0." - generic @665.38,2138,202.62,26 - generic @665.38,2138,202.62,26 - button #bot:b1:adapter-check-scout-agent @665.38,2138,122.38,26 lb="Check for updates" tab - text @673.38,2143,106.38,16 t="Check for updates" - button #bot:b1:adapter-remove-scout-agent @795.76,2138,72.24,26 lb="Remove…" tab - text @803.76,2143,56.24,16 t="Remove…" - generic @288,2172,580,92 - generic @288,2176,580,18 - text @288,2176,580,18 t="Other agent (not installed)" - generic @288,2202,580,58 - generic @288,2202,580,58 - generic @288,2210,526.09,42 - text @304,2222,494.09,18 t="install-other-agent --global" - button #copy-bot:b1:install-0 @822.09,2218,45.91,26 lb="Copy" tab - text @830.09,2223,29.91,16 t="Copy" - generic @288,2264,580,42 - generic @288,2268,580,34 - generic @288,2268,502.83,34 - text @288,2268,502.83,18 t="Other agent adapter" - text @288,2286,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,2272,61.17,26 - button #bot:b1:adapter-install-other-agent @806.83,2272,61.17,26 lb="Install…" tab - text @814.83,2277,45.17,16 t="Install…" - text @288,2306,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,2362,580,106 - heading @288,2362,580,18 t="Export" - generic @288,2384,580,84 - generic @288,2384,580,42 - generic @288,2388,580,34 - generic @288,2388,536,34 - text @288,2388,536,18 t="With notes" - text @288,2406,536,16 t="Its memory notes go in the file too." - generic @840,2397,28,16 - switch #bot:b1:export-notes @840,2397,28,16 lb="With notes" ck=false tab - generic @842,2399,12,12 - generic @288,2426,580,42 - generic @288,2430,580,34 - generic @288,2430,479.38,34 - text @288,2430,479.38,18 t="Export bot" - text @288,2448,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,2434,84.62,26 - generic @783.38,2447,0,0 - button #bot:b1:export @791.38,2434,76.62,26 lb="Export bot" tab - text @799.38,2439,60.62,16 t="Export bot" - generic #group-delete @288,2492,580,64 - heading @288,2492,580,18 t="Delete" - generic @288,2514,580,42 - generic @288,2514,580,42 - generic @288,2518,580,34 - generic @288,2518,452.88,34 - text @288,2518,452.88,18 t="Delete this bot" - text @288,2536,452.88,16 t="Its folder moves to the Trash." - generic @756.88,2522,111.12,26 - button #bot:b1:delete @756.88,2522,111.12,26 lb="Delete this bot…" tab - text @764.88,2527,95.12,16 t="Delete this bot…" - generic @288,2556,580,16 + generic #group-fallback @288,806,580,80 + heading @288,806,580,18 t="Fallback" + generic @288,828,580,58 + generic @288,828,580,58 + generic @288,832,580,50 + generic @288,832,336,50 + text @288,832,336,18 t="Fallback model" + text @288,850,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,842,228,30 + generic @640,857,0,0 + combobox #bot:b1:fallback @648,842,220,30 lb="None" tab + text @807.96,848,32.04,18 t="None" + image @844,851,12,12 deco + generic #group-tokens @288,910,580,326 + heading @288,910,580,18 t="Tokens" + generic @288,932,580,304 + generic @288,932,580,42 + generic @288,936,580,34 + generic @288,936,470.13,34 + text @288,936,470.13,18 t="Used today" + text @288,954,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,944,93.87,18 + text #bot:b1:used-today @774.13,944,93.87,18 t="188,400 tokens" + generic @288,974,580,58 + generic @288,978,580,50 + generic @288,978,459.5,50 + text @288,978,459.5,18 t="Used this month" + text @288,996,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,994,104.5,18 + text #bot:b1:used-month @763.5,994,104.5,18 t="2,991,000 tokens" + generic @288,1032,580,42 + generic @288,1036,580,34 + generic @288,1036,452,34 + text @288,1036,452,18 t="Limit per day" + text @288,1054,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,1038,112,30 + textbox #bot:b1:limit-day @756,1038,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,1074,580,42 + generic @288,1078,580,34 + generic @288,1078,452,34 + text @288,1078,452,18 t="Limit per month" + text @288,1096,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,1080,112,30 + textbox #bot:b1:limit-month @756,1080,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,1116,580,74 + generic @288,1120,580,66 + generic @288,1120,344,66 + text @288,1120,344,18 t="The limit stops" + text @288,1138,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,1138,220,30 + combobox #bot:b1:limit-stops @648,1138,220,30 lb="Unattended work" tab + text @735.88,1144,104.12,18 t="Unattended work" + image @844,1147,12,12 deco + generic @288,1190,580,46 + button #bot:b1:save-limits @288,1198,90.57,30 lb="Save limits" tab + text @300,1204,66.57,18 t="Save limits" + generic #group-may @288,1260,580,336 + heading @288,1260,580,18 t="What the bot may do" + generic @288,1282,580,314 + generic @288,1282,580,38 + generic @288,1286,580,30 + generic @288,1292,336,18 + text @288,1292,336,18 t="Read files" + generic @640,1286,228,30 + generic @640,1301,0,0 + combobox #bot:b1:perm-read @648,1286,220,30 lb="always" tab + text @799.53,1292,40.47,18 t="always" + image @844,1295,12,12 deco + generic @288,1320,580,38 + generic @288,1324,580,30 + generic @288,1330,336,18 + text @288,1330,336,18 t="Change files" + generic @640,1324,228,30 + generic @640,1339,0,0 + combobox #bot:b1:perm-write @648,1324,220,30 lb="ask me" tab + text @797.03,1330,42.97,18 t="ask me" + image @844,1333,12,12 deco + generic @288,1358,580,38 + generic @288,1362,580,30 + generic @288,1368,336,18 + text @288,1368,336,18 t="Run commands" + generic @640,1362,228,30 + generic @640,1377,0,0 + combobox #bot:b1:perm-run @648,1362,220,30 lb="ask me" tab + text @797.03,1368,42.97,18 t="ask me" + image @844,1371,12,12 deco + generic @288,1396,580,74 + generic @288,1400,580,66 + generic @288,1400,332.75,66 + text @288,1400,332.75,18 t="Use connectors" + text @288,1418,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,1418,231.25,30 + generic @636.75,1433,0,0 + combobox #bot:b1:perm-connector @644.75,1418,223.25,30 lb="read-only tools without asking" tab + text @656.75,1424,183.25,18 t="read-only tools without asking" + image @844,1427,12,12 deco + generic @288,1470,580,38 + generic @288,1474,580,30 + generic @288,1480,336,18 + text @288,1480,336,18 t="See and control other apps" + generic @640,1474,228,30 + generic @640,1489,0,0 + combobox #bot:b1:perm-desktop @648,1474,220,30 lb="never" tab + text @806.33,1480,33.67,18 t="never" + image @844,1483,12,12 deco + generic @288,1508,580,44 + generic @288,1512,580,36 + generic @288,1512,336,36 + text @288,1512,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,1515,228,30 + generic @640,1530,0,0 + combobox #bot:b1:perm-apple_read @648,1515,220,30 lb="ask me" tab + text @797.03,1521,42.97,18 t="ask me" + image @844,1524,12,12 deco + generic @288,1552,580,44 + generic @288,1556,580,36 + generic @288,1556,336,36 + text @288,1556,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,1559,228,30 + generic @640,1574,0,0 + combobox #bot:b1:perm-apple_change @648,1559,220,30 lb="ask me" tab + text @797.03,1565,42.97,18 t="ask me" + image @844,1568,12,12 deco + generic #group-always @288,1620,580,106 + heading @288,1620,580,18 t="Always allowed" + generic @288,1642,580,84 + generic @288,1642,580,42 + generic @288,1646,580,34 + generic @288,1646,502.07,34 + text @288,1646,502.07,18 t="Run commands" + text @288,1664,502.07,16 t="ls -l" + generic @806.07,1650,61.93,26 + button #bot:b1:grant-0 @806.07,1650,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,1655,45.93,16 t="Remove" + generic @288,1684,580,42 + generic @288,1688,580,34 + generic @288,1688,502.07,34 + text @288,1688,502.07,18 t="Read files" + text @288,1706,502.07,16 t="notes/pears.md" + generic @806.07,1692,61.93,26 + button #bot:b1:grant-1 @806.07,1692,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,1697,45.93,16 t="Remove" + generic #group-in-conversation @288,1750,580,64 + heading @288,1750,580,18 t="Allowed in one conversation" + generic @288,1772,580,42 + generic @288,1772,580,42 + generic @288,1776,580,34 + generic @288,1776,502.07,34 + text @288,1776,502.07,18 t="Change files" + text @288,1794,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,1780,61.93,26 + button #bot:b1:conversation-grant-0 @806.07,1780,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,1785,45.93,16 t="Remove" + generic #group-blocked @288,1838,580,64 + heading @288,1838,580,18 t="Blocked tools" + generic @288,1860,580,42 + generic @288,1860,580,42 + generic @288,1864,580,34 + generic @288,1864,500.28,34 + text @288,1864,500.28,18 t="Use connectors" + text @288,1882,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,1868,63.72,26 + button #bot:b1:unblock-0 @804.28,1868,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,1873,47.72,16 t="Unblock" + generic #group-secrets @288,1926,580,64 + heading @288,1926,580,18 t="Secrets" + generic @288,1948,580,42 + generic @288,1948,580,42 + generic @288,1952,580,34 + generic @288,1952,502.07,34 + text @288,1952,502.07,18 t="portal-login" + text @288,1970,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,1956,61.93,26 + button #bot:b1:secret-0 @806.07,1956,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,1961,45.93,16 t="Remove" + generic #group-files @288,2014,580,136 + heading @288,2014,580,18 t="Files and network" + generic @288,2036,580,114 + generic @288,2036,580,36 + generic @288,2045,580,18 + generic @288,2045,528,18 + text @288,2045,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,2046,36,16 + generic @832,2054,0,0 + switch #bot:b1:disk @840,2046,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,2048,12,12 + generic @288,2072,580,36 + generic @288,2081,580,18 + generic @288,2081,528,18 + text @288,2081,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,2082,36,16 + generic @832,2090,0,0 + switch #bot:b1:network @840,2082,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,2084,12,12 + generic @288,2108,580,42 + generic @288,2112,580,34 + generic @288,2112,528,34 + text @288,2112,528,18 t="Search the web" + text @288,2130,528,16 t="The search runs at ChatGPT." + generic @832,2121,36,16 + generic @832,2129,0,0 + switch #bot:b1:search @840,2121,28,16 lb="Search the web" ck tab + generic @854,2123,12,12 + generic #group-engine @288,2174,580,268 + heading @288,2174,580,18 t="Engine" + generic @288,2196,580,246 + generic @288,2196,580,38 + generic @288,2200,580,30 + generic @288,2206,336,18 + text @288,2206,336,18 t="Engine" + generic @640,2200,228,30 + generic @640,2215,0,0 + combobox #bot:b1:engine @648,2200,220,30 lb="Bate's own engine" tab + text @729.31,2206,110.69,18 t="Bate's own engine" + image @844,2209,12,12 deco + generic @288,2234,580,42 + generic @288,2238,580,34 + generic @288,2238,361.38,34 + text @288,2238,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,2256,361.38,16 t="Version 0.4.0." + generic @665.38,2242,202.62,26 + generic @665.38,2242,202.62,26 + button #bot:b1:adapter-check-scout-agent @665.38,2242,122.38,26 lb="Check for updates" tab + text @673.38,2247,106.38,16 t="Check for updates" + button #bot:b1:adapter-remove-scout-agent @795.76,2242,72.24,26 lb="Remove…" tab + text @803.76,2247,56.24,16 t="Remove…" + generic @288,2276,580,92 + generic @288,2280,580,18 + text @288,2280,580,18 t="Other agent (not installed)" + generic @288,2306,580,58 + generic @288,2306,580,58 + generic @288,2314,526.09,42 + text @304,2326,494.09,18 t="install-other-agent --global" + button #copy-bot:b1:install-0 @822.09,2322,45.91,26 lb="Copy" tab + text @830.09,2327,29.91,16 t="Copy" + generic @288,2368,580,42 + generic @288,2372,580,34 + generic @288,2372,502.83,34 + text @288,2372,502.83,18 t="Other agent adapter" + text @288,2390,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,2376,61.17,26 + button #bot:b1:adapter-install-other-agent @806.83,2376,61.17,26 lb="Install…" tab + text @814.83,2381,45.17,16 t="Install…" + text @288,2410,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,2466,580,106 + heading @288,2466,580,18 t="Export" + generic @288,2488,580,84 + generic @288,2488,580,42 + generic @288,2492,580,34 + generic @288,2492,536,34 + text @288,2492,536,18 t="With notes" + text @288,2510,536,16 t="Its memory notes go in the file too." + generic @840,2501,28,16 + switch #bot:b1:export-notes @840,2501,28,16 lb="With notes" ck=false tab + generic @842,2503,12,12 + generic @288,2530,580,42 + generic @288,2534,580,34 + generic @288,2534,479.38,34 + text @288,2534,479.38,18 t="Export bot" + text @288,2552,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,2538,84.62,26 + generic @783.38,2551,0,0 + button #bot:b1:export @791.38,2538,76.62,26 lb="Export bot" tab + text @799.38,2543,60.62,16 t="Export bot" + generic #group-delete @288,2596,580,64 + heading @288,2596,580,18 t="Delete" + generic @288,2618,580,42 + generic @288,2618,580,42 + generic @288,2622,580,34 + generic @288,2622,452.88,34 + text @288,2622,452.88,18 t="Delete this bot" + text @288,2640,452.88,16 t="Its folder moves to the Trash." + generic @756.88,2626,111.12,26 + button #bot:b1:delete @756.88,2626,111.12,26 lb="Delete this bot…" tab + text @764.88,2631,95.12,16 t="Delete this bot…" + generic @288,2660,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-paused-dark.tree b/native/tests/snapshots/native-bot-settings-paused-dark.tree index 20856b71..34092a3f 100644 --- a/native/tests/snapshots/native-bot-settings-paused-dark.tree +++ b/native/tests/snapshots/native-bot-settings-paused-dark.tree @@ -126,11 +126,11 @@ generic @0,0,900,760 text @388.34,24,37.39,20 t="Moss" text @433.73,24,55.4,20 t="Settings" image @497.13,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,0,0,1910 - generic @288,68,580,2586 - generic @288,68,580,2586 + generic #bot-settings @264,60,628,692 sc=0,0,0,2014 + generic @288,68,580,2690 + generic @288,68,580,2690 generic @288,68,580,16 - generic @288,84,580,2554 + generic @288,84,580,2658 generic #group-pause @288,84,580,80 heading @288,84,580,18 t="Pause" generic @288,106,580,58 @@ -248,277 +248,290 @@ generic @0,0,900,760 combobox #bot:b4:check @648,714,220,30 lb="Off" tab text @820.79,720,19.21,18 t="Off" image @844,723,12,12 deco - generic #group-tokens @288,806,580,326 - heading @288,806,580,18 t="Tokens" - generic @288,828,580,304 - generic @288,828,580,42 - generic @288,832,580,34 - generic @288,832,470.13,34 - text @288,832,470.13,18 t="Used today" - text @288,850,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,840,93.87,18 - text #bot:b4:used-today @774.13,840,93.87,18 t="188,400 tokens" - generic @288,870,580,58 - generic @288,874,580,50 - generic @288,874,459.5,50 - text @288,874,459.5,18 t="Used this month" - text @288,892,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,890,104.5,18 - text #bot:b4:used-month @763.5,890,104.5,18 t="2,991,000 tokens" - generic @288,928,580,42 - generic @288,932,580,34 - generic @288,932,452,34 - text @288,932,452,18 t="Limit per day" - text @288,950,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,934,112,30 - textbox #bot:b4:limit-day @756,934,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,970,580,42 - generic @288,974,580,34 - generic @288,974,452,34 - text @288,974,452,18 t="Limit per month" - text @288,992,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,976,112,30 - textbox #bot:b4:limit-month @756,976,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,1012,580,74 - generic @288,1016,580,66 - generic @288,1016,344,66 - text @288,1016,344,18 t="The limit stops" - text @288,1034,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,1034,220,30 - combobox #bot:b4:limit-stops @648,1034,220,30 lb="Unattended work" tab - text @735.88,1040,104.12,18 t="Unattended work" - image @844,1043,12,12 deco - generic @288,1086,580,46 - button #bot:b4:save-limits @288,1094,90.57,30 lb="Save limits" tab - text @300,1100,66.57,18 t="Save limits" - generic #group-may @288,1156,580,336 - heading @288,1156,580,18 t="What the bot may do" - generic @288,1178,580,314 - generic @288,1178,580,38 - generic @288,1182,580,30 - generic @288,1188,336,18 - text @288,1188,336,18 t="Read files" - generic @640,1182,228,30 - generic @640,1197,0,0 - combobox #bot:b4:perm-read @648,1182,220,30 lb="always" tab - text @799.53,1188,40.47,18 t="always" - image @844,1191,12,12 deco - generic @288,1216,580,38 - generic @288,1220,580,30 - generic @288,1226,336,18 - text @288,1226,336,18 t="Change files" - generic @640,1220,228,30 - generic @640,1235,0,0 - combobox #bot:b4:perm-write @648,1220,220,30 lb="ask me" tab - text @797.03,1226,42.97,18 t="ask me" - image @844,1229,12,12 deco - generic @288,1254,580,38 - generic @288,1258,580,30 - generic @288,1264,336,18 - text @288,1264,336,18 t="Run commands" - generic @640,1258,228,30 - generic @640,1273,0,0 - combobox #bot:b4:perm-run @648,1258,220,30 lb="ask me" tab - text @797.03,1264,42.97,18 t="ask me" - image @844,1267,12,12 deco - generic @288,1292,580,74 - generic @288,1296,580,66 - generic @288,1296,332.75,66 - text @288,1296,332.75,18 t="Use connectors" - text @288,1314,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,1314,231.25,30 - generic @636.75,1329,0,0 - combobox #bot:b4:perm-connector @644.75,1314,223.25,30 lb="read-only tools without asking" tab - text @656.75,1320,183.25,18 t="read-only tools without asking" - image @844,1323,12,12 deco - generic @288,1366,580,38 - generic @288,1370,580,30 - generic @288,1376,336,18 - text @288,1376,336,18 t="See and control other apps" - generic @640,1370,228,30 - generic @640,1385,0,0 - combobox #bot:b4:perm-desktop @648,1370,220,30 lb="never" tab - text @806.33,1376,33.67,18 t="never" - image @844,1379,12,12 deco - generic @288,1404,580,44 - generic @288,1408,580,36 - generic @288,1408,336,36 - text @288,1408,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,1411,228,30 - generic @640,1426,0,0 - combobox #bot:b4:perm-apple_read @648,1411,220,30 lb="ask me" tab - text @797.03,1417,42.97,18 t="ask me" - image @844,1420,12,12 deco - generic @288,1448,580,44 - generic @288,1452,580,36 - generic @288,1452,336,36 - text @288,1452,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,1455,228,30 - generic @640,1470,0,0 - combobox #bot:b4:perm-apple_change @648,1455,220,30 lb="ask me" tab - text @797.03,1461,42.97,18 t="ask me" - image @844,1464,12,12 deco - generic #group-always @288,1516,580,106 - heading @288,1516,580,18 t="Always allowed" - generic @288,1538,580,84 - generic @288,1538,580,42 - generic @288,1542,580,34 - generic @288,1542,502.07,34 - text @288,1542,502.07,18 t="Run commands" - text @288,1560,502.07,16 t="ls -l" - generic @806.07,1546,61.93,26 - button #bot:b4:grant-0 @806.07,1546,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,1551,45.93,16 t="Remove" - generic @288,1580,580,42 - generic @288,1584,580,34 - generic @288,1584,502.07,34 - text @288,1584,502.07,18 t="Read files" - text @288,1602,502.07,16 t="notes/pears.md" - generic @806.07,1588,61.93,26 - button #bot:b4:grant-1 @806.07,1588,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,1593,45.93,16 t="Remove" - generic #group-in-conversation @288,1646,580,64 - heading @288,1646,580,18 t="Allowed in one conversation" - generic @288,1668,580,42 - generic @288,1668,580,42 - generic @288,1672,580,34 - generic @288,1672,502.07,34 - text @288,1672,502.07,18 t="Change files" - text @288,1690,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,1676,61.93,26 - button #bot:b4:conversation-grant-0 @806.07,1676,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,1681,45.93,16 t="Remove" - generic #group-blocked @288,1734,580,64 - heading @288,1734,580,18 t="Blocked tools" - generic @288,1756,580,42 - generic @288,1756,580,42 - generic @288,1760,580,34 - generic @288,1760,500.28,34 - text @288,1760,500.28,18 t="Use connectors" - text @288,1778,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,1764,63.72,26 - button #bot:b4:unblock-0 @804.28,1764,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,1769,47.72,16 t="Unblock" - generic #group-secrets @288,1822,580,64 - heading @288,1822,580,18 t="Secrets" - generic @288,1844,580,42 - generic @288,1844,580,42 - generic @288,1848,580,34 - generic @288,1848,502.07,34 - text @288,1848,502.07,18 t="portal-login" - text @288,1866,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,1852,61.93,26 - button #bot:b4:secret-0 @806.07,1852,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,1857,45.93,16 t="Remove" - generic #group-files @288,1910,580,136 - heading @288,1910,580,18 t="Files and network" - generic @288,1932,580,114 - generic @288,1932,580,36 - generic @288,1941,580,18 - generic @288,1941,528,18 - text @288,1941,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,1942,36,16 - generic @832,1950,0,0 - switch #bot:b4:disk @840,1942,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,1944,12,12 - generic @288,1968,580,36 - generic @288,1977,580,18 - generic @288,1977,528,18 - text @288,1977,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,1978,36,16 - generic @832,1986,0,0 - switch #bot:b4:network @840,1978,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,1980,12,12 - generic @288,2004,580,42 - generic @288,2008,580,34 - generic @288,2008,528,34 - text @288,2008,528,18 t="Search the web" - text @288,2026,528,16 t="The search runs at ChatGPT." - generic @832,2017,36,16 - generic @832,2025,0,0 - switch #bot:b4:search @840,2017,28,16 lb="Search the web" ck=false tab - generic @842,2019,12,12 - generic #group-browser @288,2070,580,58 - heading @288,2070,580,18 t="Browser" - generic @288,2092,580,36 - generic @288,2092,580,36 - generic @288,2097,580,26 - generic @288,2101,475.2,18 - text @288,2101,475.2,18 t="You have the bot's browser" - generic @779.2,2097,88.8,26 - button #bot:b4:hand-back @779.2,2097,88.8,26 lb="Hand it back" tab - text @787.2,2102,72.8,16 t="Hand it back" - generic #group-engine @288,2152,580,268 - heading @288,2152,580,18 t="Engine" - generic @288,2174,580,246 - generic @288,2174,580,38 - generic @288,2178,580,30 - generic @288,2184,336,18 - text @288,2184,336,18 t="Engine" - generic @640,2178,228,30 - generic @640,2193,0,0 - combobox #bot:b4:engine @648,2178,220,30 lb="Bate's own engine" tab - text @729.31,2184,110.69,18 t="Bate's own engine" - image @844,2187,12,12 deco - generic @288,2212,580,42 - generic @288,2216,580,34 - generic @288,2216,361.38,34 - text @288,2216,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,2234,361.38,16 t="Version 0.4.0." - generic @665.38,2220,202.62,26 - generic @665.38,2220,202.62,26 - button #bot:b4:adapter-check-scout-agent @665.38,2220,122.38,26 lb="Check for updates" tab - text @673.38,2225,106.38,16 t="Check for updates" - button #bot:b4:adapter-remove-scout-agent @795.76,2220,72.24,26 lb="Remove…" tab - text @803.76,2225,56.24,16 t="Remove…" - generic @288,2254,580,92 - generic @288,2258,580,18 - text @288,2258,580,18 t="Other agent (not installed)" - generic @288,2284,580,58 - generic @288,2284,580,58 - generic @288,2292,526.09,42 - text @304,2304,494.09,18 t="install-other-agent --global" - button #copy-bot:b4:install-0 @822.09,2300,45.91,26 lb="Copy" tab - text @830.09,2305,29.91,16 t="Copy" - generic @288,2346,580,42 - generic @288,2350,580,34 - generic @288,2350,502.83,34 - text @288,2350,502.83,18 t="Other agent adapter" - text @288,2368,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,2354,61.17,26 - button #bot:b4:adapter-install-other-agent @806.83,2354,61.17,26 lb="Install…" tab - text @814.83,2359,45.17,16 t="Install…" - text @288,2388,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,2444,580,106 - heading @288,2444,580,18 t="Export" - generic @288,2466,580,84 - generic @288,2466,580,42 - generic @288,2470,580,34 - generic @288,2470,536,34 - text @288,2470,536,18 t="With notes" - text @288,2488,536,16 t="Its memory notes go in the file too." - generic @840,2479,28,16 - switch #bot:b4:export-notes @840,2479,28,16 lb="With notes" ck=false tab - generic @842,2481,12,12 - generic @288,2508,580,42 - generic @288,2512,580,34 - generic @288,2512,479.38,34 - text @288,2512,479.38,18 t="Export bot" - text @288,2530,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,2516,84.62,26 - generic @783.38,2529,0,0 - button #bot:b4:export @791.38,2516,76.62,26 lb="Export bot" tab - text @799.38,2521,60.62,16 t="Export bot" - generic #group-delete @288,2574,580,64 - heading @288,2574,580,18 t="Delete" - generic @288,2596,580,42 - generic @288,2596,580,42 - generic @288,2600,580,34 - generic @288,2600,452.88,34 - text @288,2600,452.88,18 t="Delete this bot" - text @288,2618,452.88,16 t="Its folder moves to the Trash." - generic @756.88,2604,111.12,26 - button #bot:b4:delete @756.88,2604,111.12,26 lb="Delete this bot…" tab - text @764.88,2609,95.12,16 t="Delete this bot…" - generic @288,2638,580,16 + generic #group-fallback @288,806,580,80 + heading @288,806,580,18 t="Fallback" + generic @288,828,580,58 + generic @288,828,580,58 + generic @288,832,580,50 + generic @288,832,336,50 + text @288,832,336,18 t="Fallback model" + text @288,850,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,842,228,30 + generic @640,857,0,0 + combobox #bot:b4:fallback @648,842,220,30 lb="None" tab + text @807.96,848,32.04,18 t="None" + image @844,851,12,12 deco + generic #group-tokens @288,910,580,326 + heading @288,910,580,18 t="Tokens" + generic @288,932,580,304 + generic @288,932,580,42 + generic @288,936,580,34 + generic @288,936,470.13,34 + text @288,936,470.13,18 t="Used today" + text @288,954,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,944,93.87,18 + text #bot:b4:used-today @774.13,944,93.87,18 t="188,400 tokens" + generic @288,974,580,58 + generic @288,978,580,50 + generic @288,978,459.5,50 + text @288,978,459.5,18 t="Used this month" + text @288,996,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,994,104.5,18 + text #bot:b4:used-month @763.5,994,104.5,18 t="2,991,000 tokens" + generic @288,1032,580,42 + generic @288,1036,580,34 + generic @288,1036,452,34 + text @288,1036,452,18 t="Limit per day" + text @288,1054,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,1038,112,30 + textbox #bot:b4:limit-day @756,1038,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,1074,580,42 + generic @288,1078,580,34 + generic @288,1078,452,34 + text @288,1078,452,18 t="Limit per month" + text @288,1096,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,1080,112,30 + textbox #bot:b4:limit-month @756,1080,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,1116,580,74 + generic @288,1120,580,66 + generic @288,1120,344,66 + text @288,1120,344,18 t="The limit stops" + text @288,1138,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,1138,220,30 + combobox #bot:b4:limit-stops @648,1138,220,30 lb="Unattended work" tab + text @735.88,1144,104.12,18 t="Unattended work" + image @844,1147,12,12 deco + generic @288,1190,580,46 + button #bot:b4:save-limits @288,1198,90.57,30 lb="Save limits" tab + text @300,1204,66.57,18 t="Save limits" + generic #group-may @288,1260,580,336 + heading @288,1260,580,18 t="What the bot may do" + generic @288,1282,580,314 + generic @288,1282,580,38 + generic @288,1286,580,30 + generic @288,1292,336,18 + text @288,1292,336,18 t="Read files" + generic @640,1286,228,30 + generic @640,1301,0,0 + combobox #bot:b4:perm-read @648,1286,220,30 lb="always" tab + text @799.53,1292,40.47,18 t="always" + image @844,1295,12,12 deco + generic @288,1320,580,38 + generic @288,1324,580,30 + generic @288,1330,336,18 + text @288,1330,336,18 t="Change files" + generic @640,1324,228,30 + generic @640,1339,0,0 + combobox #bot:b4:perm-write @648,1324,220,30 lb="ask me" tab + text @797.03,1330,42.97,18 t="ask me" + image @844,1333,12,12 deco + generic @288,1358,580,38 + generic @288,1362,580,30 + generic @288,1368,336,18 + text @288,1368,336,18 t="Run commands" + generic @640,1362,228,30 + generic @640,1377,0,0 + combobox #bot:b4:perm-run @648,1362,220,30 lb="ask me" tab + text @797.03,1368,42.97,18 t="ask me" + image @844,1371,12,12 deco + generic @288,1396,580,74 + generic @288,1400,580,66 + generic @288,1400,332.75,66 + text @288,1400,332.75,18 t="Use connectors" + text @288,1418,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,1418,231.25,30 + generic @636.75,1433,0,0 + combobox #bot:b4:perm-connector @644.75,1418,223.25,30 lb="read-only tools without asking" tab + text @656.75,1424,183.25,18 t="read-only tools without asking" + image @844,1427,12,12 deco + generic @288,1470,580,38 + generic @288,1474,580,30 + generic @288,1480,336,18 + text @288,1480,336,18 t="See and control other apps" + generic @640,1474,228,30 + generic @640,1489,0,0 + combobox #bot:b4:perm-desktop @648,1474,220,30 lb="never" tab + text @806.33,1480,33.67,18 t="never" + image @844,1483,12,12 deco + generic @288,1508,580,44 + generic @288,1512,580,36 + generic @288,1512,336,36 + text @288,1512,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,1515,228,30 + generic @640,1530,0,0 + combobox #bot:b4:perm-apple_read @648,1515,220,30 lb="ask me" tab + text @797.03,1521,42.97,18 t="ask me" + image @844,1524,12,12 deco + generic @288,1552,580,44 + generic @288,1556,580,36 + generic @288,1556,336,36 + text @288,1556,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,1559,228,30 + generic @640,1574,0,0 + combobox #bot:b4:perm-apple_change @648,1559,220,30 lb="ask me" tab + text @797.03,1565,42.97,18 t="ask me" + image @844,1568,12,12 deco + generic #group-always @288,1620,580,106 + heading @288,1620,580,18 t="Always allowed" + generic @288,1642,580,84 + generic @288,1642,580,42 + generic @288,1646,580,34 + generic @288,1646,502.07,34 + text @288,1646,502.07,18 t="Run commands" + text @288,1664,502.07,16 t="ls -l" + generic @806.07,1650,61.93,26 + button #bot:b4:grant-0 @806.07,1650,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,1655,45.93,16 t="Remove" + generic @288,1684,580,42 + generic @288,1688,580,34 + generic @288,1688,502.07,34 + text @288,1688,502.07,18 t="Read files" + text @288,1706,502.07,16 t="notes/pears.md" + generic @806.07,1692,61.93,26 + button #bot:b4:grant-1 @806.07,1692,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,1697,45.93,16 t="Remove" + generic #group-in-conversation @288,1750,580,64 + heading @288,1750,580,18 t="Allowed in one conversation" + generic @288,1772,580,42 + generic @288,1772,580,42 + generic @288,1776,580,34 + generic @288,1776,502.07,34 + text @288,1776,502.07,18 t="Change files" + text @288,1794,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,1780,61.93,26 + button #bot:b4:conversation-grant-0 @806.07,1780,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,1785,45.93,16 t="Remove" + generic #group-blocked @288,1838,580,64 + heading @288,1838,580,18 t="Blocked tools" + generic @288,1860,580,42 + generic @288,1860,580,42 + generic @288,1864,580,34 + generic @288,1864,500.28,34 + text @288,1864,500.28,18 t="Use connectors" + text @288,1882,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,1868,63.72,26 + button #bot:b4:unblock-0 @804.28,1868,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,1873,47.72,16 t="Unblock" + generic #group-secrets @288,1926,580,64 + heading @288,1926,580,18 t="Secrets" + generic @288,1948,580,42 + generic @288,1948,580,42 + generic @288,1952,580,34 + generic @288,1952,502.07,34 + text @288,1952,502.07,18 t="portal-login" + text @288,1970,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,1956,61.93,26 + button #bot:b4:secret-0 @806.07,1956,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,1961,45.93,16 t="Remove" + generic #group-files @288,2014,580,136 + heading @288,2014,580,18 t="Files and network" + generic @288,2036,580,114 + generic @288,2036,580,36 + generic @288,2045,580,18 + generic @288,2045,528,18 + text @288,2045,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,2046,36,16 + generic @832,2054,0,0 + switch #bot:b4:disk @840,2046,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,2048,12,12 + generic @288,2072,580,36 + generic @288,2081,580,18 + generic @288,2081,528,18 + text @288,2081,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,2082,36,16 + generic @832,2090,0,0 + switch #bot:b4:network @840,2082,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,2084,12,12 + generic @288,2108,580,42 + generic @288,2112,580,34 + generic @288,2112,528,34 + text @288,2112,528,18 t="Search the web" + text @288,2130,528,16 t="The search runs at ChatGPT." + generic @832,2121,36,16 + generic @832,2129,0,0 + switch #bot:b4:search @840,2121,28,16 lb="Search the web" ck=false tab + generic @842,2123,12,12 + generic #group-browser @288,2174,580,58 + heading @288,2174,580,18 t="Browser" + generic @288,2196,580,36 + generic @288,2196,580,36 + generic @288,2201,580,26 + generic @288,2205,475.2,18 + text @288,2205,475.2,18 t="You have the bot's browser" + generic @779.2,2201,88.8,26 + button #bot:b4:hand-back @779.2,2201,88.8,26 lb="Hand it back" tab + text @787.2,2206,72.8,16 t="Hand it back" + generic #group-engine @288,2256,580,268 + heading @288,2256,580,18 t="Engine" + generic @288,2278,580,246 + generic @288,2278,580,38 + generic @288,2282,580,30 + generic @288,2288,336,18 + text @288,2288,336,18 t="Engine" + generic @640,2282,228,30 + generic @640,2297,0,0 + combobox #bot:b4:engine @648,2282,220,30 lb="Bate's own engine" tab + text @729.31,2288,110.69,18 t="Bate's own engine" + image @844,2291,12,12 deco + generic @288,2316,580,42 + generic @288,2320,580,34 + generic @288,2320,361.38,34 + text @288,2320,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,2338,361.38,16 t="Version 0.4.0." + generic @665.38,2324,202.62,26 + generic @665.38,2324,202.62,26 + button #bot:b4:adapter-check-scout-agent @665.38,2324,122.38,26 lb="Check for updates" tab + text @673.38,2329,106.38,16 t="Check for updates" + button #bot:b4:adapter-remove-scout-agent @795.76,2324,72.24,26 lb="Remove…" tab + text @803.76,2329,56.24,16 t="Remove…" + generic @288,2358,580,92 + generic @288,2362,580,18 + text @288,2362,580,18 t="Other agent (not installed)" + generic @288,2388,580,58 + generic @288,2388,580,58 + generic @288,2396,526.09,42 + text @304,2408,494.09,18 t="install-other-agent --global" + button #copy-bot:b4:install-0 @822.09,2404,45.91,26 lb="Copy" tab + text @830.09,2409,29.91,16 t="Copy" + generic @288,2450,580,42 + generic @288,2454,580,34 + generic @288,2454,502.83,34 + text @288,2454,502.83,18 t="Other agent adapter" + text @288,2472,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,2458,61.17,26 + button #bot:b4:adapter-install-other-agent @806.83,2458,61.17,26 lb="Install…" tab + text @814.83,2463,45.17,16 t="Install…" + text @288,2492,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,2548,580,106 + heading @288,2548,580,18 t="Export" + generic @288,2570,580,84 + generic @288,2570,580,42 + generic @288,2574,580,34 + generic @288,2574,536,34 + text @288,2574,536,18 t="With notes" + text @288,2592,536,16 t="Its memory notes go in the file too." + generic @840,2583,28,16 + switch #bot:b4:export-notes @840,2583,28,16 lb="With notes" ck=false tab + generic @842,2585,12,12 + generic @288,2612,580,42 + generic @288,2616,580,34 + generic @288,2616,479.38,34 + text @288,2616,479.38,18 t="Export bot" + text @288,2634,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,2620,84.62,26 + generic @783.38,2633,0,0 + button #bot:b4:export @791.38,2620,76.62,26 lb="Export bot" tab + text @799.38,2625,60.62,16 t="Export bot" + generic #group-delete @288,2678,580,64 + heading @288,2678,580,18 t="Delete" + generic @288,2700,580,42 + generic @288,2700,580,42 + generic @288,2704,580,34 + generic @288,2704,452.88,34 + text @288,2704,452.88,18 t="Delete this bot" + text @288,2722,452.88,16 t="Its folder moves to the Trash." + generic @756.88,2708,111.12,26 + button #bot:b4:delete @756.88,2708,111.12,26 lb="Delete this bot…" tab + text @764.88,2713,95.12,16 t="Delete this bot…" + generic @288,2742,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-paused-light.tree b/native/tests/snapshots/native-bot-settings-paused-light.tree index 20856b71..34092a3f 100644 --- a/native/tests/snapshots/native-bot-settings-paused-light.tree +++ b/native/tests/snapshots/native-bot-settings-paused-light.tree @@ -126,11 +126,11 @@ generic @0,0,900,760 text @388.34,24,37.39,20 t="Moss" text @433.73,24,55.4,20 t="Settings" image @497.13,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,0,0,1910 - generic @288,68,580,2586 - generic @288,68,580,2586 + generic #bot-settings @264,60,628,692 sc=0,0,0,2014 + generic @288,68,580,2690 + generic @288,68,580,2690 generic @288,68,580,16 - generic @288,84,580,2554 + generic @288,84,580,2658 generic #group-pause @288,84,580,80 heading @288,84,580,18 t="Pause" generic @288,106,580,58 @@ -248,277 +248,290 @@ generic @0,0,900,760 combobox #bot:b4:check @648,714,220,30 lb="Off" tab text @820.79,720,19.21,18 t="Off" image @844,723,12,12 deco - generic #group-tokens @288,806,580,326 - heading @288,806,580,18 t="Tokens" - generic @288,828,580,304 - generic @288,828,580,42 - generic @288,832,580,34 - generic @288,832,470.13,34 - text @288,832,470.13,18 t="Used today" - text @288,850,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,840,93.87,18 - text #bot:b4:used-today @774.13,840,93.87,18 t="188,400 tokens" - generic @288,870,580,58 - generic @288,874,580,50 - generic @288,874,459.5,50 - text @288,874,459.5,18 t="Used this month" - text @288,892,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,890,104.5,18 - text #bot:b4:used-month @763.5,890,104.5,18 t="2,991,000 tokens" - generic @288,928,580,42 - generic @288,932,580,34 - generic @288,932,452,34 - text @288,932,452,18 t="Limit per day" - text @288,950,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,934,112,30 - textbox #bot:b4:limit-day @756,934,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,970,580,42 - generic @288,974,580,34 - generic @288,974,452,34 - text @288,974,452,18 t="Limit per month" - text @288,992,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,976,112,30 - textbox #bot:b4:limit-month @756,976,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,1012,580,74 - generic @288,1016,580,66 - generic @288,1016,344,66 - text @288,1016,344,18 t="The limit stops" - text @288,1034,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,1034,220,30 - combobox #bot:b4:limit-stops @648,1034,220,30 lb="Unattended work" tab - text @735.88,1040,104.12,18 t="Unattended work" - image @844,1043,12,12 deco - generic @288,1086,580,46 - button #bot:b4:save-limits @288,1094,90.57,30 lb="Save limits" tab - text @300,1100,66.57,18 t="Save limits" - generic #group-may @288,1156,580,336 - heading @288,1156,580,18 t="What the bot may do" - generic @288,1178,580,314 - generic @288,1178,580,38 - generic @288,1182,580,30 - generic @288,1188,336,18 - text @288,1188,336,18 t="Read files" - generic @640,1182,228,30 - generic @640,1197,0,0 - combobox #bot:b4:perm-read @648,1182,220,30 lb="always" tab - text @799.53,1188,40.47,18 t="always" - image @844,1191,12,12 deco - generic @288,1216,580,38 - generic @288,1220,580,30 - generic @288,1226,336,18 - text @288,1226,336,18 t="Change files" - generic @640,1220,228,30 - generic @640,1235,0,0 - combobox #bot:b4:perm-write @648,1220,220,30 lb="ask me" tab - text @797.03,1226,42.97,18 t="ask me" - image @844,1229,12,12 deco - generic @288,1254,580,38 - generic @288,1258,580,30 - generic @288,1264,336,18 - text @288,1264,336,18 t="Run commands" - generic @640,1258,228,30 - generic @640,1273,0,0 - combobox #bot:b4:perm-run @648,1258,220,30 lb="ask me" tab - text @797.03,1264,42.97,18 t="ask me" - image @844,1267,12,12 deco - generic @288,1292,580,74 - generic @288,1296,580,66 - generic @288,1296,332.75,66 - text @288,1296,332.75,18 t="Use connectors" - text @288,1314,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,1314,231.25,30 - generic @636.75,1329,0,0 - combobox #bot:b4:perm-connector @644.75,1314,223.25,30 lb="read-only tools without asking" tab - text @656.75,1320,183.25,18 t="read-only tools without asking" - image @844,1323,12,12 deco - generic @288,1366,580,38 - generic @288,1370,580,30 - generic @288,1376,336,18 - text @288,1376,336,18 t="See and control other apps" - generic @640,1370,228,30 - generic @640,1385,0,0 - combobox #bot:b4:perm-desktop @648,1370,220,30 lb="never" tab - text @806.33,1376,33.67,18 t="never" - image @844,1379,12,12 deco - generic @288,1404,580,44 - generic @288,1408,580,36 - generic @288,1408,336,36 - text @288,1408,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,1411,228,30 - generic @640,1426,0,0 - combobox #bot:b4:perm-apple_read @648,1411,220,30 lb="ask me" tab - text @797.03,1417,42.97,18 t="ask me" - image @844,1420,12,12 deco - generic @288,1448,580,44 - generic @288,1452,580,36 - generic @288,1452,336,36 - text @288,1452,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,1455,228,30 - generic @640,1470,0,0 - combobox #bot:b4:perm-apple_change @648,1455,220,30 lb="ask me" tab - text @797.03,1461,42.97,18 t="ask me" - image @844,1464,12,12 deco - generic #group-always @288,1516,580,106 - heading @288,1516,580,18 t="Always allowed" - generic @288,1538,580,84 - generic @288,1538,580,42 - generic @288,1542,580,34 - generic @288,1542,502.07,34 - text @288,1542,502.07,18 t="Run commands" - text @288,1560,502.07,16 t="ls -l" - generic @806.07,1546,61.93,26 - button #bot:b4:grant-0 @806.07,1546,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,1551,45.93,16 t="Remove" - generic @288,1580,580,42 - generic @288,1584,580,34 - generic @288,1584,502.07,34 - text @288,1584,502.07,18 t="Read files" - text @288,1602,502.07,16 t="notes/pears.md" - generic @806.07,1588,61.93,26 - button #bot:b4:grant-1 @806.07,1588,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,1593,45.93,16 t="Remove" - generic #group-in-conversation @288,1646,580,64 - heading @288,1646,580,18 t="Allowed in one conversation" - generic @288,1668,580,42 - generic @288,1668,580,42 - generic @288,1672,580,34 - generic @288,1672,502.07,34 - text @288,1672,502.07,18 t="Change files" - text @288,1690,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,1676,61.93,26 - button #bot:b4:conversation-grant-0 @806.07,1676,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,1681,45.93,16 t="Remove" - generic #group-blocked @288,1734,580,64 - heading @288,1734,580,18 t="Blocked tools" - generic @288,1756,580,42 - generic @288,1756,580,42 - generic @288,1760,580,34 - generic @288,1760,500.28,34 - text @288,1760,500.28,18 t="Use connectors" - text @288,1778,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,1764,63.72,26 - button #bot:b4:unblock-0 @804.28,1764,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,1769,47.72,16 t="Unblock" - generic #group-secrets @288,1822,580,64 - heading @288,1822,580,18 t="Secrets" - generic @288,1844,580,42 - generic @288,1844,580,42 - generic @288,1848,580,34 - generic @288,1848,502.07,34 - text @288,1848,502.07,18 t="portal-login" - text @288,1866,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,1852,61.93,26 - button #bot:b4:secret-0 @806.07,1852,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,1857,45.93,16 t="Remove" - generic #group-files @288,1910,580,136 - heading @288,1910,580,18 t="Files and network" - generic @288,1932,580,114 - generic @288,1932,580,36 - generic @288,1941,580,18 - generic @288,1941,528,18 - text @288,1941,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,1942,36,16 - generic @832,1950,0,0 - switch #bot:b4:disk @840,1942,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,1944,12,12 - generic @288,1968,580,36 - generic @288,1977,580,18 - generic @288,1977,528,18 - text @288,1977,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,1978,36,16 - generic @832,1986,0,0 - switch #bot:b4:network @840,1978,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,1980,12,12 - generic @288,2004,580,42 - generic @288,2008,580,34 - generic @288,2008,528,34 - text @288,2008,528,18 t="Search the web" - text @288,2026,528,16 t="The search runs at ChatGPT." - generic @832,2017,36,16 - generic @832,2025,0,0 - switch #bot:b4:search @840,2017,28,16 lb="Search the web" ck=false tab - generic @842,2019,12,12 - generic #group-browser @288,2070,580,58 - heading @288,2070,580,18 t="Browser" - generic @288,2092,580,36 - generic @288,2092,580,36 - generic @288,2097,580,26 - generic @288,2101,475.2,18 - text @288,2101,475.2,18 t="You have the bot's browser" - generic @779.2,2097,88.8,26 - button #bot:b4:hand-back @779.2,2097,88.8,26 lb="Hand it back" tab - text @787.2,2102,72.8,16 t="Hand it back" - generic #group-engine @288,2152,580,268 - heading @288,2152,580,18 t="Engine" - generic @288,2174,580,246 - generic @288,2174,580,38 - generic @288,2178,580,30 - generic @288,2184,336,18 - text @288,2184,336,18 t="Engine" - generic @640,2178,228,30 - generic @640,2193,0,0 - combobox #bot:b4:engine @648,2178,220,30 lb="Bate's own engine" tab - text @729.31,2184,110.69,18 t="Bate's own engine" - image @844,2187,12,12 deco - generic @288,2212,580,42 - generic @288,2216,580,34 - generic @288,2216,361.38,34 - text @288,2216,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,2234,361.38,16 t="Version 0.4.0." - generic @665.38,2220,202.62,26 - generic @665.38,2220,202.62,26 - button #bot:b4:adapter-check-scout-agent @665.38,2220,122.38,26 lb="Check for updates" tab - text @673.38,2225,106.38,16 t="Check for updates" - button #bot:b4:adapter-remove-scout-agent @795.76,2220,72.24,26 lb="Remove…" tab - text @803.76,2225,56.24,16 t="Remove…" - generic @288,2254,580,92 - generic @288,2258,580,18 - text @288,2258,580,18 t="Other agent (not installed)" - generic @288,2284,580,58 - generic @288,2284,580,58 - generic @288,2292,526.09,42 - text @304,2304,494.09,18 t="install-other-agent --global" - button #copy-bot:b4:install-0 @822.09,2300,45.91,26 lb="Copy" tab - text @830.09,2305,29.91,16 t="Copy" - generic @288,2346,580,42 - generic @288,2350,580,34 - generic @288,2350,502.83,34 - text @288,2350,502.83,18 t="Other agent adapter" - text @288,2368,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,2354,61.17,26 - button #bot:b4:adapter-install-other-agent @806.83,2354,61.17,26 lb="Install…" tab - text @814.83,2359,45.17,16 t="Install…" - text @288,2388,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,2444,580,106 - heading @288,2444,580,18 t="Export" - generic @288,2466,580,84 - generic @288,2466,580,42 - generic @288,2470,580,34 - generic @288,2470,536,34 - text @288,2470,536,18 t="With notes" - text @288,2488,536,16 t="Its memory notes go in the file too." - generic @840,2479,28,16 - switch #bot:b4:export-notes @840,2479,28,16 lb="With notes" ck=false tab - generic @842,2481,12,12 - generic @288,2508,580,42 - generic @288,2512,580,34 - generic @288,2512,479.38,34 - text @288,2512,479.38,18 t="Export bot" - text @288,2530,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,2516,84.62,26 - generic @783.38,2529,0,0 - button #bot:b4:export @791.38,2516,76.62,26 lb="Export bot" tab - text @799.38,2521,60.62,16 t="Export bot" - generic #group-delete @288,2574,580,64 - heading @288,2574,580,18 t="Delete" - generic @288,2596,580,42 - generic @288,2596,580,42 - generic @288,2600,580,34 - generic @288,2600,452.88,34 - text @288,2600,452.88,18 t="Delete this bot" - text @288,2618,452.88,16 t="Its folder moves to the Trash." - generic @756.88,2604,111.12,26 - button #bot:b4:delete @756.88,2604,111.12,26 lb="Delete this bot…" tab - text @764.88,2609,95.12,16 t="Delete this bot…" - generic @288,2638,580,16 + generic #group-fallback @288,806,580,80 + heading @288,806,580,18 t="Fallback" + generic @288,828,580,58 + generic @288,828,580,58 + generic @288,832,580,50 + generic @288,832,336,50 + text @288,832,336,18 t="Fallback model" + text @288,850,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,842,228,30 + generic @640,857,0,0 + combobox #bot:b4:fallback @648,842,220,30 lb="None" tab + text @807.96,848,32.04,18 t="None" + image @844,851,12,12 deco + generic #group-tokens @288,910,580,326 + heading @288,910,580,18 t="Tokens" + generic @288,932,580,304 + generic @288,932,580,42 + generic @288,936,580,34 + generic @288,936,470.13,34 + text @288,936,470.13,18 t="Used today" + text @288,954,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,944,93.87,18 + text #bot:b4:used-today @774.13,944,93.87,18 t="188,400 tokens" + generic @288,974,580,58 + generic @288,978,580,50 + generic @288,978,459.5,50 + text @288,978,459.5,18 t="Used this month" + text @288,996,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,994,104.5,18 + text #bot:b4:used-month @763.5,994,104.5,18 t="2,991,000 tokens" + generic @288,1032,580,42 + generic @288,1036,580,34 + generic @288,1036,452,34 + text @288,1036,452,18 t="Limit per day" + text @288,1054,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,1038,112,30 + textbox #bot:b4:limit-day @756,1038,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,1074,580,42 + generic @288,1078,580,34 + generic @288,1078,452,34 + text @288,1078,452,18 t="Limit per month" + text @288,1096,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,1080,112,30 + textbox #bot:b4:limit-month @756,1080,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,1116,580,74 + generic @288,1120,580,66 + generic @288,1120,344,66 + text @288,1120,344,18 t="The limit stops" + text @288,1138,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,1138,220,30 + combobox #bot:b4:limit-stops @648,1138,220,30 lb="Unattended work" tab + text @735.88,1144,104.12,18 t="Unattended work" + image @844,1147,12,12 deco + generic @288,1190,580,46 + button #bot:b4:save-limits @288,1198,90.57,30 lb="Save limits" tab + text @300,1204,66.57,18 t="Save limits" + generic #group-may @288,1260,580,336 + heading @288,1260,580,18 t="What the bot may do" + generic @288,1282,580,314 + generic @288,1282,580,38 + generic @288,1286,580,30 + generic @288,1292,336,18 + text @288,1292,336,18 t="Read files" + generic @640,1286,228,30 + generic @640,1301,0,0 + combobox #bot:b4:perm-read @648,1286,220,30 lb="always" tab + text @799.53,1292,40.47,18 t="always" + image @844,1295,12,12 deco + generic @288,1320,580,38 + generic @288,1324,580,30 + generic @288,1330,336,18 + text @288,1330,336,18 t="Change files" + generic @640,1324,228,30 + generic @640,1339,0,0 + combobox #bot:b4:perm-write @648,1324,220,30 lb="ask me" tab + text @797.03,1330,42.97,18 t="ask me" + image @844,1333,12,12 deco + generic @288,1358,580,38 + generic @288,1362,580,30 + generic @288,1368,336,18 + text @288,1368,336,18 t="Run commands" + generic @640,1362,228,30 + generic @640,1377,0,0 + combobox #bot:b4:perm-run @648,1362,220,30 lb="ask me" tab + text @797.03,1368,42.97,18 t="ask me" + image @844,1371,12,12 deco + generic @288,1396,580,74 + generic @288,1400,580,66 + generic @288,1400,332.75,66 + text @288,1400,332.75,18 t="Use connectors" + text @288,1418,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,1418,231.25,30 + generic @636.75,1433,0,0 + combobox #bot:b4:perm-connector @644.75,1418,223.25,30 lb="read-only tools without asking" tab + text @656.75,1424,183.25,18 t="read-only tools without asking" + image @844,1427,12,12 deco + generic @288,1470,580,38 + generic @288,1474,580,30 + generic @288,1480,336,18 + text @288,1480,336,18 t="See and control other apps" + generic @640,1474,228,30 + generic @640,1489,0,0 + combobox #bot:b4:perm-desktop @648,1474,220,30 lb="never" tab + text @806.33,1480,33.67,18 t="never" + image @844,1483,12,12 deco + generic @288,1508,580,44 + generic @288,1512,580,36 + generic @288,1512,336,36 + text @288,1512,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,1515,228,30 + generic @640,1530,0,0 + combobox #bot:b4:perm-apple_read @648,1515,220,30 lb="ask me" tab + text @797.03,1521,42.97,18 t="ask me" + image @844,1524,12,12 deco + generic @288,1552,580,44 + generic @288,1556,580,36 + generic @288,1556,336,36 + text @288,1556,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,1559,228,30 + generic @640,1574,0,0 + combobox #bot:b4:perm-apple_change @648,1559,220,30 lb="ask me" tab + text @797.03,1565,42.97,18 t="ask me" + image @844,1568,12,12 deco + generic #group-always @288,1620,580,106 + heading @288,1620,580,18 t="Always allowed" + generic @288,1642,580,84 + generic @288,1642,580,42 + generic @288,1646,580,34 + generic @288,1646,502.07,34 + text @288,1646,502.07,18 t="Run commands" + text @288,1664,502.07,16 t="ls -l" + generic @806.07,1650,61.93,26 + button #bot:b4:grant-0 @806.07,1650,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,1655,45.93,16 t="Remove" + generic @288,1684,580,42 + generic @288,1688,580,34 + generic @288,1688,502.07,34 + text @288,1688,502.07,18 t="Read files" + text @288,1706,502.07,16 t="notes/pears.md" + generic @806.07,1692,61.93,26 + button #bot:b4:grant-1 @806.07,1692,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,1697,45.93,16 t="Remove" + generic #group-in-conversation @288,1750,580,64 + heading @288,1750,580,18 t="Allowed in one conversation" + generic @288,1772,580,42 + generic @288,1772,580,42 + generic @288,1776,580,34 + generic @288,1776,502.07,34 + text @288,1776,502.07,18 t="Change files" + text @288,1794,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,1780,61.93,26 + button #bot:b4:conversation-grant-0 @806.07,1780,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,1785,45.93,16 t="Remove" + generic #group-blocked @288,1838,580,64 + heading @288,1838,580,18 t="Blocked tools" + generic @288,1860,580,42 + generic @288,1860,580,42 + generic @288,1864,580,34 + generic @288,1864,500.28,34 + text @288,1864,500.28,18 t="Use connectors" + text @288,1882,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,1868,63.72,26 + button #bot:b4:unblock-0 @804.28,1868,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,1873,47.72,16 t="Unblock" + generic #group-secrets @288,1926,580,64 + heading @288,1926,580,18 t="Secrets" + generic @288,1948,580,42 + generic @288,1948,580,42 + generic @288,1952,580,34 + generic @288,1952,502.07,34 + text @288,1952,502.07,18 t="portal-login" + text @288,1970,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,1956,61.93,26 + button #bot:b4:secret-0 @806.07,1956,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,1961,45.93,16 t="Remove" + generic #group-files @288,2014,580,136 + heading @288,2014,580,18 t="Files and network" + generic @288,2036,580,114 + generic @288,2036,580,36 + generic @288,2045,580,18 + generic @288,2045,528,18 + text @288,2045,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,2046,36,16 + generic @832,2054,0,0 + switch #bot:b4:disk @840,2046,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,2048,12,12 + generic @288,2072,580,36 + generic @288,2081,580,18 + generic @288,2081,528,18 + text @288,2081,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,2082,36,16 + generic @832,2090,0,0 + switch #bot:b4:network @840,2082,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,2084,12,12 + generic @288,2108,580,42 + generic @288,2112,580,34 + generic @288,2112,528,34 + text @288,2112,528,18 t="Search the web" + text @288,2130,528,16 t="The search runs at ChatGPT." + generic @832,2121,36,16 + generic @832,2129,0,0 + switch #bot:b4:search @840,2121,28,16 lb="Search the web" ck=false tab + generic @842,2123,12,12 + generic #group-browser @288,2174,580,58 + heading @288,2174,580,18 t="Browser" + generic @288,2196,580,36 + generic @288,2196,580,36 + generic @288,2201,580,26 + generic @288,2205,475.2,18 + text @288,2205,475.2,18 t="You have the bot's browser" + generic @779.2,2201,88.8,26 + button #bot:b4:hand-back @779.2,2201,88.8,26 lb="Hand it back" tab + text @787.2,2206,72.8,16 t="Hand it back" + generic #group-engine @288,2256,580,268 + heading @288,2256,580,18 t="Engine" + generic @288,2278,580,246 + generic @288,2278,580,38 + generic @288,2282,580,30 + generic @288,2288,336,18 + text @288,2288,336,18 t="Engine" + generic @640,2282,228,30 + generic @640,2297,0,0 + combobox #bot:b4:engine @648,2282,220,30 lb="Bate's own engine" tab + text @729.31,2288,110.69,18 t="Bate's own engine" + image @844,2291,12,12 deco + generic @288,2316,580,42 + generic @288,2320,580,34 + generic @288,2320,361.38,34 + text @288,2320,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,2338,361.38,16 t="Version 0.4.0." + generic @665.38,2324,202.62,26 + generic @665.38,2324,202.62,26 + button #bot:b4:adapter-check-scout-agent @665.38,2324,122.38,26 lb="Check for updates" tab + text @673.38,2329,106.38,16 t="Check for updates" + button #bot:b4:adapter-remove-scout-agent @795.76,2324,72.24,26 lb="Remove…" tab + text @803.76,2329,56.24,16 t="Remove…" + generic @288,2358,580,92 + generic @288,2362,580,18 + text @288,2362,580,18 t="Other agent (not installed)" + generic @288,2388,580,58 + generic @288,2388,580,58 + generic @288,2396,526.09,42 + text @304,2408,494.09,18 t="install-other-agent --global" + button #copy-bot:b4:install-0 @822.09,2404,45.91,26 lb="Copy" tab + text @830.09,2409,29.91,16 t="Copy" + generic @288,2450,580,42 + generic @288,2454,580,34 + generic @288,2454,502.83,34 + text @288,2454,502.83,18 t="Other agent adapter" + text @288,2472,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,2458,61.17,26 + button #bot:b4:adapter-install-other-agent @806.83,2458,61.17,26 lb="Install…" tab + text @814.83,2463,45.17,16 t="Install…" + text @288,2492,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,2548,580,106 + heading @288,2548,580,18 t="Export" + generic @288,2570,580,84 + generic @288,2570,580,42 + generic @288,2574,580,34 + generic @288,2574,536,34 + text @288,2574,536,18 t="With notes" + text @288,2592,536,16 t="Its memory notes go in the file too." + generic @840,2583,28,16 + switch #bot:b4:export-notes @840,2583,28,16 lb="With notes" ck=false tab + generic @842,2585,12,12 + generic @288,2612,580,42 + generic @288,2616,580,34 + generic @288,2616,479.38,34 + text @288,2616,479.38,18 t="Export bot" + text @288,2634,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,2620,84.62,26 + generic @783.38,2633,0,0 + button #bot:b4:export @791.38,2620,76.62,26 lb="Export bot" tab + text @799.38,2625,60.62,16 t="Export bot" + generic #group-delete @288,2678,580,64 + heading @288,2678,580,18 t="Delete" + generic @288,2700,580,42 + generic @288,2700,580,42 + generic @288,2704,580,34 + generic @288,2704,452.88,34 + text @288,2704,452.88,18 t="Delete this bot" + text @288,2722,452.88,16 t="Its folder moves to the Trash." + generic @756.88,2708,111.12,26 + button #bot:b4:delete @756.88,2708,111.12,26 lb="Delete this bot…" tab + text @764.88,2713,95.12,16 t="Delete this bot…" + generic @288,2742,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-permissions-dark.png b/native/tests/snapshots/native-bot-settings-permissions-dark.png index 89aac56e..95ecaef2 100644 Binary files a/native/tests/snapshots/native-bot-settings-permissions-dark.png and b/native/tests/snapshots/native-bot-settings-permissions-dark.png differ diff --git a/native/tests/snapshots/native-bot-settings-permissions-dark.tree b/native/tests/snapshots/native-bot-settings-permissions-dark.tree index bc93c2eb..5b2218de 100644 --- a/native/tests/snapshots/native-bot-settings-permissions-dark.tree +++ b/native/tests/snapshots/native-bot-settings-permissions-dark.tree @@ -135,11 +135,11 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1150,0,1828 - generic @288,-1082,580,2504 - generic @288,-1082,580,2504 + generic #bot-settings @264,60,628,692 sc=0,1150,0,1932 + generic @288,-1082,580,2608 + generic @288,-1082,580,2608 generic @288,-1082,580,16 - generic @288,-1066,580,2472 + generic @288,-1066,580,2576 generic #group-pause @288,-1066,580,80 heading @288,-1066,580,18 t="Pause" generic @288,-1044,580,58 @@ -257,267 +257,280 @@ generic @0,0,900,760 combobox #bot:b1:check @648,-436,220,30 lb="Bot Quill" tab text @788.68,-430,51.32,18 t="Bot Quill" image @844,-427,12,12 deco - generic #group-tokens @288,-344,580,326 - heading @288,-344,580,18 t="Tokens" - generic @288,-322,580,304 - generic @288,-322,580,42 - generic @288,-318,580,34 - generic @288,-318,470.13,34 - text @288,-318,470.13,18 t="Used today" - text @288,-300,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,-310,93.87,18 - text #bot:b1:used-today @774.13,-310,93.87,18 t="188,400 tokens" - generic @288,-280,580,58 - generic @288,-276,580,50 - generic @288,-276,459.5,50 - text @288,-276,459.5,18 t="Used this month" - text @288,-258,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,-260,104.5,18 - text #bot:b1:used-month @763.5,-260,104.5,18 t="2,991,000 tokens" - generic @288,-222,580,42 - generic @288,-218,580,34 - generic @288,-218,452,34 - text @288,-218,452,18 t="Limit per day" - text @288,-200,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,-216,112,30 - textbox #bot:b1:limit-day @756,-216,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,-180,580,42 - generic @288,-176,580,34 - generic @288,-176,452,34 - text @288,-176,452,18 t="Limit per month" - text @288,-158,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,-174,112,30 - textbox #bot:b1:limit-month @756,-174,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,-138,580,74 - generic @288,-134,580,66 - generic @288,-134,344,66 - text @288,-134,344,18 t="The limit stops" - text @288,-116,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,-116,220,30 - combobox #bot:b1:limit-stops @648,-116,220,30 lb="Unattended work" tab - text @735.88,-110,104.12,18 t="Unattended work" - image @844,-107,12,12 deco - generic @288,-64,580,46 - button #bot:b1:save-limits @288,-56,90.57,30 lb="Save limits" tab - text @300,-50,66.57,18 t="Save limits" - generic #group-may @288,6,580,336 - heading @288,6,580,18 t="What the bot may do" - generic @288,28,580,314 - generic @288,28,580,38 - generic @288,32,580,30 - generic @288,38,336,18 - text @288,38,336,18 t="Read files" - generic @640,32,228,30 - generic @640,47,0,0 - combobox #bot:b1:perm-read @648,32,220,30 lb="always" tab - text @799.53,38,40.47,18 t="always" - image @844,41,12,12 deco - generic @288,66,580,38 - generic @288,70,580,30 - generic @288,76,336,18 - text @288,76,336,18 t="Change files" - generic @640,70,228,30 - generic @640,85,0,0 - combobox #bot:b1:perm-write @648,70,220,30 lb="ask me" tab - text @797.03,76,42.97,18 t="ask me" - image @844,79,12,12 deco - generic @288,104,580,38 - generic @288,108,580,30 - generic @288,114,336,18 - text @288,114,336,18 t="Run commands" - generic @640,108,228,30 - generic @640,123,0,0 - combobox #bot:b1:perm-run @648,108,220,30 lb="ask me" tab - text @797.03,114,42.97,18 t="ask me" - image @844,117,12,12 deco - generic @288,142,580,74 - generic @288,146,580,66 - generic @288,146,332.75,66 - text @288,146,332.75,18 t="Use connectors" - text @288,164,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,164,231.25,30 - generic @636.75,179,0,0 - combobox #bot:b1:perm-connector @644.75,164,223.25,30 lb="read-only tools without asking" tab - text @656.75,170,183.25,18 t="read-only tools without asking" - image @844,173,12,12 deco - generic @288,216,580,38 - generic @288,220,580,30 - generic @288,226,336,18 - text @288,226,336,18 t="See and control other apps" - generic @640,220,228,30 - generic @640,235,0,0 - combobox #bot:b1:perm-desktop @648,220,220,30 lb="never" tab - text @806.33,226,33.67,18 t="never" - image @844,229,12,12 deco - generic @288,254,580,44 - generic @288,258,580,36 - generic @288,258,336,36 - text @288,258,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,261,228,30 - generic @640,276,0,0 - combobox #bot:b1:perm-apple_read @648,261,220,30 lb="ask me" tab - text @797.03,267,42.97,18 t="ask me" - image @844,270,12,12 deco - generic @288,298,580,44 - generic @288,302,580,36 - generic @288,302,336,36 - text @288,302,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,305,228,30 - generic @640,320,0,0 - combobox #bot:b1:perm-apple_change @648,305,220,30 lb="ask me" tab - text @797.03,311,42.97,18 t="ask me" - image @844,314,12,12 deco - generic #group-always @288,366,580,106 - heading @288,366,580,18 t="Always allowed" - generic @288,388,580,84 - generic @288,388,580,42 - generic @288,392,580,34 - generic @288,392,502.07,34 - text @288,392,502.07,18 t="Run commands" - text @288,410,502.07,16 t="ls -l" - generic @806.07,396,61.93,26 - button #bot:b1:grant-0 @806.07,396,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,401,45.93,16 t="Remove" - generic @288,430,580,42 - generic @288,434,580,34 - generic @288,434,502.07,34 - text @288,434,502.07,18 t="Read files" - text @288,452,502.07,16 t="notes/pears.md" - generic @806.07,438,61.93,26 - button #bot:b1:grant-1 @806.07,438,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,443,45.93,16 t="Remove" - generic #group-in-conversation @288,496,580,64 - heading @288,496,580,18 t="Allowed in one conversation" - generic @288,518,580,42 - generic @288,518,580,42 - generic @288,522,580,34 - generic @288,522,502.07,34 - text @288,522,502.07,18 t="Change files" - text @288,540,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,526,61.93,26 - button #bot:b1:conversation-grant-0 @806.07,526,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,531,45.93,16 t="Remove" - generic #group-blocked @288,584,580,64 - heading @288,584,580,18 t="Blocked tools" - generic @288,606,580,42 - generic @288,606,580,42 - generic @288,610,580,34 - generic @288,610,500.28,34 - text @288,610,500.28,18 t="Use connectors" - text @288,628,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,614,63.72,26 - button #bot:b1:unblock-0 @804.28,614,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,619,47.72,16 t="Unblock" - generic #group-secrets @288,672,580,64 - heading @288,672,580,18 t="Secrets" - generic @288,694,580,42 - generic @288,694,580,42 - generic @288,698,580,34 - generic @288,698,502.07,34 - text @288,698,502.07,18 t="portal-login" - text @288,716,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,702,61.93,26 - button #bot:b1:secret-0 @806.07,702,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,707,45.93,16 t="Remove" - generic #group-files @288,760,580,136 - heading @288,760,580,18 t="Files and network" - generic @288,782,580,114 - generic @288,782,580,36 - generic @288,791,580,18 - generic @288,791,528,18 - text @288,791,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,792,36,16 - generic @832,800,0,0 - switch #bot:b1:disk @840,792,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,794,12,12 - generic @288,818,580,36 - generic @288,827,580,18 - generic @288,827,528,18 - text @288,827,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,828,36,16 - generic @832,836,0,0 - switch #bot:b1:network @840,828,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,830,12,12 - generic @288,854,580,42 - generic @288,858,580,34 - generic @288,858,528,34 - text @288,858,528,18 t="Search the web" - text @288,876,528,16 t="The search runs at ChatGPT." - generic @832,867,36,16 - generic @832,875,0,0 - switch #bot:b1:search @840,867,28,16 lb="Search the web" ck tab - generic @854,869,12,12 - generic #group-engine @288,920,580,268 - heading @288,920,580,18 t="Engine" - generic @288,942,580,246 - generic @288,942,580,38 - generic @288,946,580,30 - generic @288,952,336,18 - text @288,952,336,18 t="Engine" - generic @640,946,228,30 - generic @640,961,0,0 - combobox #bot:b1:engine @648,946,220,30 lb="Bate's own engine" tab - text @729.31,952,110.69,18 t="Bate's own engine" - image @844,955,12,12 deco - generic @288,980,580,42 - generic @288,984,580,34 - generic @288,984,361.38,34 - text @288,984,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,1002,361.38,16 t="Version 0.4.0." - generic @665.38,988,202.62,26 - generic @665.38,988,202.62,26 - button #bot:b1:adapter-check-scout-agent @665.38,988,122.38,26 lb="Check for updates" tab - text @673.38,993,106.38,16 t="Check for updates" - button #bot:b1:adapter-remove-scout-agent @795.76,988,72.24,26 lb="Remove…" tab - text @803.76,993,56.24,16 t="Remove…" - generic @288,1022,580,92 - generic @288,1026,580,18 - text @288,1026,580,18 t="Other agent (not installed)" - generic @288,1052,580,58 - generic @288,1052,580,58 - generic @288,1060,526.09,42 - text @304,1072,494.09,18 t="install-other-agent --global" - button #copy-bot:b1:install-0 @822.09,1068,45.91,26 lb="Copy" tab - text @830.09,1073,29.91,16 t="Copy" - generic @288,1114,580,42 - generic @288,1118,580,34 - generic @288,1118,502.83,34 - text @288,1118,502.83,18 t="Other agent adapter" - text @288,1136,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,1122,61.17,26 - button #bot:b1:adapter-install-other-agent @806.83,1122,61.17,26 lb="Install…" tab - text @814.83,1127,45.17,16 t="Install…" - text @288,1156,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,1212,580,106 - heading @288,1212,580,18 t="Export" - generic @288,1234,580,84 - generic @288,1234,580,42 - generic @288,1238,580,34 - generic @288,1238,536,34 - text @288,1238,536,18 t="With notes" - text @288,1256,536,16 t="Its memory notes go in the file too." - generic @840,1247,28,16 - switch #bot:b1:export-notes @840,1247,28,16 lb="With notes" ck=false tab - generic @842,1249,12,12 - generic @288,1276,580,42 - generic @288,1280,580,34 - generic @288,1280,479.38,34 - text @288,1280,479.38,18 t="Export bot" - text @288,1298,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,1284,84.62,26 - generic @783.38,1297,0,0 - button #bot:b1:export @791.38,1284,76.62,26 lb="Export bot" tab - text @799.38,1289,60.62,16 t="Export bot" - generic #group-delete @288,1342,580,64 - heading @288,1342,580,18 t="Delete" - generic @288,1364,580,42 - generic @288,1364,580,42 - generic @288,1368,580,34 - generic @288,1368,452.88,34 - text @288,1368,452.88,18 t="Delete this bot" - text @288,1386,452.88,16 t="Its folder moves to the Trash." - generic @756.88,1372,111.12,26 - button #bot:b1:delete @756.88,1372,111.12,26 lb="Delete this bot…" tab - text @764.88,1377,95.12,16 t="Delete this bot…" - generic @288,1406,580,16 + generic #group-fallback @288,-344,580,80 + heading @288,-344,580,18 t="Fallback" + generic @288,-322,580,58 + generic @288,-322,580,58 + generic @288,-318,580,50 + generic @288,-318,336,50 + text @288,-318,336,18 t="Fallback model" + text @288,-300,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-308,228,30 + generic @640,-293,0,0 + combobox #bot:b1:fallback @648,-308,220,30 lb="None" tab + text @807.96,-302,32.04,18 t="None" + image @844,-299,12,12 deco + generic #group-tokens @288,-240,580,326 + heading @288,-240,580,18 t="Tokens" + generic @288,-218,580,304 + generic @288,-218,580,42 + generic @288,-214,580,34 + generic @288,-214,470.13,34 + text @288,-214,470.13,18 t="Used today" + text @288,-196,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,-206,93.87,18 + text #bot:b1:used-today @774.13,-206,93.87,18 t="188,400 tokens" + generic @288,-176,580,58 + generic @288,-172,580,50 + generic @288,-172,459.5,50 + text @288,-172,459.5,18 t="Used this month" + text @288,-154,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,-156,104.5,18 + text #bot:b1:used-month @763.5,-156,104.5,18 t="2,991,000 tokens" + generic @288,-118,580,42 + generic @288,-114,580,34 + generic @288,-114,452,34 + text @288,-114,452,18 t="Limit per day" + text @288,-96,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,-112,112,30 + textbox #bot:b1:limit-day @756,-112,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,-76,580,42 + generic @288,-72,580,34 + generic @288,-72,452,34 + text @288,-72,452,18 t="Limit per month" + text @288,-54,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,-70,112,30 + textbox #bot:b1:limit-month @756,-70,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,-34,580,74 + generic @288,-30,580,66 + generic @288,-30,344,66 + text @288,-30,344,18 t="The limit stops" + text @288,-12,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,-12,220,30 + combobox #bot:b1:limit-stops @648,-12,220,30 lb="Unattended work" tab + text @735.88,-6,104.12,18 t="Unattended work" + image @844,-3,12,12 deco + generic @288,40,580,46 + button #bot:b1:save-limits @288,48,90.57,30 lb="Save limits" tab + text @300,54,66.57,18 t="Save limits" + generic #group-may @288,110,580,336 + heading @288,110,580,18 t="What the bot may do" + generic @288,132,580,314 + generic @288,132,580,38 + generic @288,136,580,30 + generic @288,142,336,18 + text @288,142,336,18 t="Read files" + generic @640,136,228,30 + generic @640,151,0,0 + combobox #bot:b1:perm-read @648,136,220,30 lb="always" tab + text @799.53,142,40.47,18 t="always" + image @844,145,12,12 deco + generic @288,170,580,38 + generic @288,174,580,30 + generic @288,180,336,18 + text @288,180,336,18 t="Change files" + generic @640,174,228,30 + generic @640,189,0,0 + combobox #bot:b1:perm-write @648,174,220,30 lb="ask me" tab + text @797.03,180,42.97,18 t="ask me" + image @844,183,12,12 deco + generic @288,208,580,38 + generic @288,212,580,30 + generic @288,218,336,18 + text @288,218,336,18 t="Run commands" + generic @640,212,228,30 + generic @640,227,0,0 + combobox #bot:b1:perm-run @648,212,220,30 lb="ask me" tab + text @797.03,218,42.97,18 t="ask me" + image @844,221,12,12 deco + generic @288,246,580,74 + generic @288,250,580,66 + generic @288,250,332.75,66 + text @288,250,332.75,18 t="Use connectors" + text @288,268,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,268,231.25,30 + generic @636.75,283,0,0 + combobox #bot:b1:perm-connector @644.75,268,223.25,30 lb="read-only tools without asking" tab + text @656.75,274,183.25,18 t="read-only tools without asking" + image @844,277,12,12 deco + generic @288,320,580,38 + generic @288,324,580,30 + generic @288,330,336,18 + text @288,330,336,18 t="See and control other apps" + generic @640,324,228,30 + generic @640,339,0,0 + combobox #bot:b1:perm-desktop @648,324,220,30 lb="never" tab + text @806.33,330,33.67,18 t="never" + image @844,333,12,12 deco + generic @288,358,580,44 + generic @288,362,580,36 + generic @288,362,336,36 + text @288,362,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,365,228,30 + generic @640,380,0,0 + combobox #bot:b1:perm-apple_read @648,365,220,30 lb="ask me" tab + text @797.03,371,42.97,18 t="ask me" + image @844,374,12,12 deco + generic @288,402,580,44 + generic @288,406,580,36 + generic @288,406,336,36 + text @288,406,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,409,228,30 + generic @640,424,0,0 + combobox #bot:b1:perm-apple_change @648,409,220,30 lb="ask me" tab + text @797.03,415,42.97,18 t="ask me" + image @844,418,12,12 deco + generic #group-always @288,470,580,106 + heading @288,470,580,18 t="Always allowed" + generic @288,492,580,84 + generic @288,492,580,42 + generic @288,496,580,34 + generic @288,496,502.07,34 + text @288,496,502.07,18 t="Run commands" + text @288,514,502.07,16 t="ls -l" + generic @806.07,500,61.93,26 + button #bot:b1:grant-0 @806.07,500,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,505,45.93,16 t="Remove" + generic @288,534,580,42 + generic @288,538,580,34 + generic @288,538,502.07,34 + text @288,538,502.07,18 t="Read files" + text @288,556,502.07,16 t="notes/pears.md" + generic @806.07,542,61.93,26 + button #bot:b1:grant-1 @806.07,542,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,547,45.93,16 t="Remove" + generic #group-in-conversation @288,600,580,64 + heading @288,600,580,18 t="Allowed in one conversation" + generic @288,622,580,42 + generic @288,622,580,42 + generic @288,626,580,34 + generic @288,626,502.07,34 + text @288,626,502.07,18 t="Change files" + text @288,644,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,630,61.93,26 + button #bot:b1:conversation-grant-0 @806.07,630,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,635,45.93,16 t="Remove" + generic #group-blocked @288,688,580,64 + heading @288,688,580,18 t="Blocked tools" + generic @288,710,580,42 + generic @288,710,580,42 + generic @288,714,580,34 + generic @288,714,500.28,34 + text @288,714,500.28,18 t="Use connectors" + text @288,732,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,718,63.72,26 + button #bot:b1:unblock-0 @804.28,718,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,723,47.72,16 t="Unblock" + generic #group-secrets @288,776,580,64 + heading @288,776,580,18 t="Secrets" + generic @288,798,580,42 + generic @288,798,580,42 + generic @288,802,580,34 + generic @288,802,502.07,34 + text @288,802,502.07,18 t="portal-login" + text @288,820,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,806,61.93,26 + button #bot:b1:secret-0 @806.07,806,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,811,45.93,16 t="Remove" + generic #group-files @288,864,580,136 + heading @288,864,580,18 t="Files and network" + generic @288,886,580,114 + generic @288,886,580,36 + generic @288,895,580,18 + generic @288,895,528,18 + text @288,895,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,896,36,16 + generic @832,904,0,0 + switch #bot:b1:disk @840,896,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,898,12,12 + generic @288,922,580,36 + generic @288,931,580,18 + generic @288,931,528,18 + text @288,931,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,932,36,16 + generic @832,940,0,0 + switch #bot:b1:network @840,932,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,934,12,12 + generic @288,958,580,42 + generic @288,962,580,34 + generic @288,962,528,34 + text @288,962,528,18 t="Search the web" + text @288,980,528,16 t="The search runs at ChatGPT." + generic @832,971,36,16 + generic @832,979,0,0 + switch #bot:b1:search @840,971,28,16 lb="Search the web" ck tab + generic @854,973,12,12 + generic #group-engine @288,1024,580,268 + heading @288,1024,580,18 t="Engine" + generic @288,1046,580,246 + generic @288,1046,580,38 + generic @288,1050,580,30 + generic @288,1056,336,18 + text @288,1056,336,18 t="Engine" + generic @640,1050,228,30 + generic @640,1065,0,0 + combobox #bot:b1:engine @648,1050,220,30 lb="Bate's own engine" tab + text @729.31,1056,110.69,18 t="Bate's own engine" + image @844,1059,12,12 deco + generic @288,1084,580,42 + generic @288,1088,580,34 + generic @288,1088,361.38,34 + text @288,1088,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,1106,361.38,16 t="Version 0.4.0." + generic @665.38,1092,202.62,26 + generic @665.38,1092,202.62,26 + button #bot:b1:adapter-check-scout-agent @665.38,1092,122.38,26 lb="Check for updates" tab + text @673.38,1097,106.38,16 t="Check for updates" + button #bot:b1:adapter-remove-scout-agent @795.76,1092,72.24,26 lb="Remove…" tab + text @803.76,1097,56.24,16 t="Remove…" + generic @288,1126,580,92 + generic @288,1130,580,18 + text @288,1130,580,18 t="Other agent (not installed)" + generic @288,1156,580,58 + generic @288,1156,580,58 + generic @288,1164,526.09,42 + text @304,1176,494.09,18 t="install-other-agent --global" + button #copy-bot:b1:install-0 @822.09,1172,45.91,26 lb="Copy" tab + text @830.09,1177,29.91,16 t="Copy" + generic @288,1218,580,42 + generic @288,1222,580,34 + generic @288,1222,502.83,34 + text @288,1222,502.83,18 t="Other agent adapter" + text @288,1240,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,1226,61.17,26 + button #bot:b1:adapter-install-other-agent @806.83,1226,61.17,26 lb="Install…" tab + text @814.83,1231,45.17,16 t="Install…" + text @288,1260,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,1316,580,106 + heading @288,1316,580,18 t="Export" + generic @288,1338,580,84 + generic @288,1338,580,42 + generic @288,1342,580,34 + generic @288,1342,536,34 + text @288,1342,536,18 t="With notes" + text @288,1360,536,16 t="Its memory notes go in the file too." + generic @840,1351,28,16 + switch #bot:b1:export-notes @840,1351,28,16 lb="With notes" ck=false tab + generic @842,1353,12,12 + generic @288,1380,580,42 + generic @288,1384,580,34 + generic @288,1384,479.38,34 + text @288,1384,479.38,18 t="Export bot" + text @288,1402,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,1388,84.62,26 + generic @783.38,1401,0,0 + button #bot:b1:export @791.38,1388,76.62,26 lb="Export bot" tab + text @799.38,1393,60.62,16 t="Export bot" + generic #group-delete @288,1446,580,64 + heading @288,1446,580,18 t="Delete" + generic @288,1468,580,42 + generic @288,1468,580,42 + generic @288,1472,580,34 + generic @288,1472,452.88,34 + text @288,1472,452.88,18 t="Delete this bot" + text @288,1490,452.88,16 t="Its folder moves to the Trash." + generic @756.88,1476,111.12,26 + button #bot:b1:delete @756.88,1476,111.12,26 lb="Delete this bot…" tab + text @764.88,1481,95.12,16 t="Delete this bot…" + generic @288,1510,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-permissions-light.png b/native/tests/snapshots/native-bot-settings-permissions-light.png index 97b40799..0353ead6 100644 Binary files a/native/tests/snapshots/native-bot-settings-permissions-light.png and b/native/tests/snapshots/native-bot-settings-permissions-light.png differ diff --git a/native/tests/snapshots/native-bot-settings-permissions-light.tree b/native/tests/snapshots/native-bot-settings-permissions-light.tree index bc93c2eb..5b2218de 100644 --- a/native/tests/snapshots/native-bot-settings-permissions-light.tree +++ b/native/tests/snapshots/native-bot-settings-permissions-light.tree @@ -135,11 +135,11 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1150,0,1828 - generic @288,-1082,580,2504 - generic @288,-1082,580,2504 + generic #bot-settings @264,60,628,692 sc=0,1150,0,1932 + generic @288,-1082,580,2608 + generic @288,-1082,580,2608 generic @288,-1082,580,16 - generic @288,-1066,580,2472 + generic @288,-1066,580,2576 generic #group-pause @288,-1066,580,80 heading @288,-1066,580,18 t="Pause" generic @288,-1044,580,58 @@ -257,267 +257,280 @@ generic @0,0,900,760 combobox #bot:b1:check @648,-436,220,30 lb="Bot Quill" tab text @788.68,-430,51.32,18 t="Bot Quill" image @844,-427,12,12 deco - generic #group-tokens @288,-344,580,326 - heading @288,-344,580,18 t="Tokens" - generic @288,-322,580,304 - generic @288,-322,580,42 - generic @288,-318,580,34 - generic @288,-318,470.13,34 - text @288,-318,470.13,18 t="Used today" - text @288,-300,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,-310,93.87,18 - text #bot:b1:used-today @774.13,-310,93.87,18 t="188,400 tokens" - generic @288,-280,580,58 - generic @288,-276,580,50 - generic @288,-276,459.5,50 - text @288,-276,459.5,18 t="Used this month" - text @288,-258,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,-260,104.5,18 - text #bot:b1:used-month @763.5,-260,104.5,18 t="2,991,000 tokens" - generic @288,-222,580,42 - generic @288,-218,580,34 - generic @288,-218,452,34 - text @288,-218,452,18 t="Limit per day" - text @288,-200,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,-216,112,30 - textbox #bot:b1:limit-day @756,-216,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,-180,580,42 - generic @288,-176,580,34 - generic @288,-176,452,34 - text @288,-176,452,18 t="Limit per month" - text @288,-158,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,-174,112,30 - textbox #bot:b1:limit-month @756,-174,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,-138,580,74 - generic @288,-134,580,66 - generic @288,-134,344,66 - text @288,-134,344,18 t="The limit stops" - text @288,-116,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,-116,220,30 - combobox #bot:b1:limit-stops @648,-116,220,30 lb="Unattended work" tab - text @735.88,-110,104.12,18 t="Unattended work" - image @844,-107,12,12 deco - generic @288,-64,580,46 - button #bot:b1:save-limits @288,-56,90.57,30 lb="Save limits" tab - text @300,-50,66.57,18 t="Save limits" - generic #group-may @288,6,580,336 - heading @288,6,580,18 t="What the bot may do" - generic @288,28,580,314 - generic @288,28,580,38 - generic @288,32,580,30 - generic @288,38,336,18 - text @288,38,336,18 t="Read files" - generic @640,32,228,30 - generic @640,47,0,0 - combobox #bot:b1:perm-read @648,32,220,30 lb="always" tab - text @799.53,38,40.47,18 t="always" - image @844,41,12,12 deco - generic @288,66,580,38 - generic @288,70,580,30 - generic @288,76,336,18 - text @288,76,336,18 t="Change files" - generic @640,70,228,30 - generic @640,85,0,0 - combobox #bot:b1:perm-write @648,70,220,30 lb="ask me" tab - text @797.03,76,42.97,18 t="ask me" - image @844,79,12,12 deco - generic @288,104,580,38 - generic @288,108,580,30 - generic @288,114,336,18 - text @288,114,336,18 t="Run commands" - generic @640,108,228,30 - generic @640,123,0,0 - combobox #bot:b1:perm-run @648,108,220,30 lb="ask me" tab - text @797.03,114,42.97,18 t="ask me" - image @844,117,12,12 deco - generic @288,142,580,74 - generic @288,146,580,66 - generic @288,146,332.75,66 - text @288,146,332.75,18 t="Use connectors" - text @288,164,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,164,231.25,30 - generic @636.75,179,0,0 - combobox #bot:b1:perm-connector @644.75,164,223.25,30 lb="read-only tools without asking" tab - text @656.75,170,183.25,18 t="read-only tools without asking" - image @844,173,12,12 deco - generic @288,216,580,38 - generic @288,220,580,30 - generic @288,226,336,18 - text @288,226,336,18 t="See and control other apps" - generic @640,220,228,30 - generic @640,235,0,0 - combobox #bot:b1:perm-desktop @648,220,220,30 lb="never" tab - text @806.33,226,33.67,18 t="never" - image @844,229,12,12 deco - generic @288,254,580,44 - generic @288,258,580,36 - generic @288,258,336,36 - text @288,258,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,261,228,30 - generic @640,276,0,0 - combobox #bot:b1:perm-apple_read @648,261,220,30 lb="ask me" tab - text @797.03,267,42.97,18 t="ask me" - image @844,270,12,12 deco - generic @288,298,580,44 - generic @288,302,580,36 - generic @288,302,336,36 - text @288,302,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,305,228,30 - generic @640,320,0,0 - combobox #bot:b1:perm-apple_change @648,305,220,30 lb="ask me" tab - text @797.03,311,42.97,18 t="ask me" - image @844,314,12,12 deco - generic #group-always @288,366,580,106 - heading @288,366,580,18 t="Always allowed" - generic @288,388,580,84 - generic @288,388,580,42 - generic @288,392,580,34 - generic @288,392,502.07,34 - text @288,392,502.07,18 t="Run commands" - text @288,410,502.07,16 t="ls -l" - generic @806.07,396,61.93,26 - button #bot:b1:grant-0 @806.07,396,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,401,45.93,16 t="Remove" - generic @288,430,580,42 - generic @288,434,580,34 - generic @288,434,502.07,34 - text @288,434,502.07,18 t="Read files" - text @288,452,502.07,16 t="notes/pears.md" - generic @806.07,438,61.93,26 - button #bot:b1:grant-1 @806.07,438,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,443,45.93,16 t="Remove" - generic #group-in-conversation @288,496,580,64 - heading @288,496,580,18 t="Allowed in one conversation" - generic @288,518,580,42 - generic @288,518,580,42 - generic @288,522,580,34 - generic @288,522,502.07,34 - text @288,522,502.07,18 t="Change files" - text @288,540,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,526,61.93,26 - button #bot:b1:conversation-grant-0 @806.07,526,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,531,45.93,16 t="Remove" - generic #group-blocked @288,584,580,64 - heading @288,584,580,18 t="Blocked tools" - generic @288,606,580,42 - generic @288,606,580,42 - generic @288,610,580,34 - generic @288,610,500.28,34 - text @288,610,500.28,18 t="Use connectors" - text @288,628,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,614,63.72,26 - button #bot:b1:unblock-0 @804.28,614,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,619,47.72,16 t="Unblock" - generic #group-secrets @288,672,580,64 - heading @288,672,580,18 t="Secrets" - generic @288,694,580,42 - generic @288,694,580,42 - generic @288,698,580,34 - generic @288,698,502.07,34 - text @288,698,502.07,18 t="portal-login" - text @288,716,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,702,61.93,26 - button #bot:b1:secret-0 @806.07,702,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,707,45.93,16 t="Remove" - generic #group-files @288,760,580,136 - heading @288,760,580,18 t="Files and network" - generic @288,782,580,114 - generic @288,782,580,36 - generic @288,791,580,18 - generic @288,791,528,18 - text @288,791,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,792,36,16 - generic @832,800,0,0 - switch #bot:b1:disk @840,792,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,794,12,12 - generic @288,818,580,36 - generic @288,827,580,18 - generic @288,827,528,18 - text @288,827,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,828,36,16 - generic @832,836,0,0 - switch #bot:b1:network @840,828,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,830,12,12 - generic @288,854,580,42 - generic @288,858,580,34 - generic @288,858,528,34 - text @288,858,528,18 t="Search the web" - text @288,876,528,16 t="The search runs at ChatGPT." - generic @832,867,36,16 - generic @832,875,0,0 - switch #bot:b1:search @840,867,28,16 lb="Search the web" ck tab - generic @854,869,12,12 - generic #group-engine @288,920,580,268 - heading @288,920,580,18 t="Engine" - generic @288,942,580,246 - generic @288,942,580,38 - generic @288,946,580,30 - generic @288,952,336,18 - text @288,952,336,18 t="Engine" - generic @640,946,228,30 - generic @640,961,0,0 - combobox #bot:b1:engine @648,946,220,30 lb="Bate's own engine" tab - text @729.31,952,110.69,18 t="Bate's own engine" - image @844,955,12,12 deco - generic @288,980,580,42 - generic @288,984,580,34 - generic @288,984,361.38,34 - text @288,984,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,1002,361.38,16 t="Version 0.4.0." - generic @665.38,988,202.62,26 - generic @665.38,988,202.62,26 - button #bot:b1:adapter-check-scout-agent @665.38,988,122.38,26 lb="Check for updates" tab - text @673.38,993,106.38,16 t="Check for updates" - button #bot:b1:adapter-remove-scout-agent @795.76,988,72.24,26 lb="Remove…" tab - text @803.76,993,56.24,16 t="Remove…" - generic @288,1022,580,92 - generic @288,1026,580,18 - text @288,1026,580,18 t="Other agent (not installed)" - generic @288,1052,580,58 - generic @288,1052,580,58 - generic @288,1060,526.09,42 - text @304,1072,494.09,18 t="install-other-agent --global" - button #copy-bot:b1:install-0 @822.09,1068,45.91,26 lb="Copy" tab - text @830.09,1073,29.91,16 t="Copy" - generic @288,1114,580,42 - generic @288,1118,580,34 - generic @288,1118,502.83,34 - text @288,1118,502.83,18 t="Other agent adapter" - text @288,1136,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,1122,61.17,26 - button #bot:b1:adapter-install-other-agent @806.83,1122,61.17,26 lb="Install…" tab - text @814.83,1127,45.17,16 t="Install…" - text @288,1156,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,1212,580,106 - heading @288,1212,580,18 t="Export" - generic @288,1234,580,84 - generic @288,1234,580,42 - generic @288,1238,580,34 - generic @288,1238,536,34 - text @288,1238,536,18 t="With notes" - text @288,1256,536,16 t="Its memory notes go in the file too." - generic @840,1247,28,16 - switch #bot:b1:export-notes @840,1247,28,16 lb="With notes" ck=false tab - generic @842,1249,12,12 - generic @288,1276,580,42 - generic @288,1280,580,34 - generic @288,1280,479.38,34 - text @288,1280,479.38,18 t="Export bot" - text @288,1298,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,1284,84.62,26 - generic @783.38,1297,0,0 - button #bot:b1:export @791.38,1284,76.62,26 lb="Export bot" tab - text @799.38,1289,60.62,16 t="Export bot" - generic #group-delete @288,1342,580,64 - heading @288,1342,580,18 t="Delete" - generic @288,1364,580,42 - generic @288,1364,580,42 - generic @288,1368,580,34 - generic @288,1368,452.88,34 - text @288,1368,452.88,18 t="Delete this bot" - text @288,1386,452.88,16 t="Its folder moves to the Trash." - generic @756.88,1372,111.12,26 - button #bot:b1:delete @756.88,1372,111.12,26 lb="Delete this bot…" tab - text @764.88,1377,95.12,16 t="Delete this bot…" - generic @288,1406,580,16 + generic #group-fallback @288,-344,580,80 + heading @288,-344,580,18 t="Fallback" + generic @288,-322,580,58 + generic @288,-322,580,58 + generic @288,-318,580,50 + generic @288,-318,336,50 + text @288,-318,336,18 t="Fallback model" + text @288,-300,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-308,228,30 + generic @640,-293,0,0 + combobox #bot:b1:fallback @648,-308,220,30 lb="None" tab + text @807.96,-302,32.04,18 t="None" + image @844,-299,12,12 deco + generic #group-tokens @288,-240,580,326 + heading @288,-240,580,18 t="Tokens" + generic @288,-218,580,304 + generic @288,-218,580,42 + generic @288,-214,580,34 + generic @288,-214,470.13,34 + text @288,-214,470.13,18 t="Used today" + text @288,-196,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,-206,93.87,18 + text #bot:b1:used-today @774.13,-206,93.87,18 t="188,400 tokens" + generic @288,-176,580,58 + generic @288,-172,580,50 + generic @288,-172,459.5,50 + text @288,-172,459.5,18 t="Used this month" + text @288,-154,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,-156,104.5,18 + text #bot:b1:used-month @763.5,-156,104.5,18 t="2,991,000 tokens" + generic @288,-118,580,42 + generic @288,-114,580,34 + generic @288,-114,452,34 + text @288,-114,452,18 t="Limit per day" + text @288,-96,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,-112,112,30 + textbox #bot:b1:limit-day @756,-112,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,-76,580,42 + generic @288,-72,580,34 + generic @288,-72,452,34 + text @288,-72,452,18 t="Limit per month" + text @288,-54,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,-70,112,30 + textbox #bot:b1:limit-month @756,-70,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,-34,580,74 + generic @288,-30,580,66 + generic @288,-30,344,66 + text @288,-30,344,18 t="The limit stops" + text @288,-12,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,-12,220,30 + combobox #bot:b1:limit-stops @648,-12,220,30 lb="Unattended work" tab + text @735.88,-6,104.12,18 t="Unattended work" + image @844,-3,12,12 deco + generic @288,40,580,46 + button #bot:b1:save-limits @288,48,90.57,30 lb="Save limits" tab + text @300,54,66.57,18 t="Save limits" + generic #group-may @288,110,580,336 + heading @288,110,580,18 t="What the bot may do" + generic @288,132,580,314 + generic @288,132,580,38 + generic @288,136,580,30 + generic @288,142,336,18 + text @288,142,336,18 t="Read files" + generic @640,136,228,30 + generic @640,151,0,0 + combobox #bot:b1:perm-read @648,136,220,30 lb="always" tab + text @799.53,142,40.47,18 t="always" + image @844,145,12,12 deco + generic @288,170,580,38 + generic @288,174,580,30 + generic @288,180,336,18 + text @288,180,336,18 t="Change files" + generic @640,174,228,30 + generic @640,189,0,0 + combobox #bot:b1:perm-write @648,174,220,30 lb="ask me" tab + text @797.03,180,42.97,18 t="ask me" + image @844,183,12,12 deco + generic @288,208,580,38 + generic @288,212,580,30 + generic @288,218,336,18 + text @288,218,336,18 t="Run commands" + generic @640,212,228,30 + generic @640,227,0,0 + combobox #bot:b1:perm-run @648,212,220,30 lb="ask me" tab + text @797.03,218,42.97,18 t="ask me" + image @844,221,12,12 deco + generic @288,246,580,74 + generic @288,250,580,66 + generic @288,250,332.75,66 + text @288,250,332.75,18 t="Use connectors" + text @288,268,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,268,231.25,30 + generic @636.75,283,0,0 + combobox #bot:b1:perm-connector @644.75,268,223.25,30 lb="read-only tools without asking" tab + text @656.75,274,183.25,18 t="read-only tools without asking" + image @844,277,12,12 deco + generic @288,320,580,38 + generic @288,324,580,30 + generic @288,330,336,18 + text @288,330,336,18 t="See and control other apps" + generic @640,324,228,30 + generic @640,339,0,0 + combobox #bot:b1:perm-desktop @648,324,220,30 lb="never" tab + text @806.33,330,33.67,18 t="never" + image @844,333,12,12 deco + generic @288,358,580,44 + generic @288,362,580,36 + generic @288,362,336,36 + text @288,362,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,365,228,30 + generic @640,380,0,0 + combobox #bot:b1:perm-apple_read @648,365,220,30 lb="ask me" tab + text @797.03,371,42.97,18 t="ask me" + image @844,374,12,12 deco + generic @288,402,580,44 + generic @288,406,580,36 + generic @288,406,336,36 + text @288,406,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,409,228,30 + generic @640,424,0,0 + combobox #bot:b1:perm-apple_change @648,409,220,30 lb="ask me" tab + text @797.03,415,42.97,18 t="ask me" + image @844,418,12,12 deco + generic #group-always @288,470,580,106 + heading @288,470,580,18 t="Always allowed" + generic @288,492,580,84 + generic @288,492,580,42 + generic @288,496,580,34 + generic @288,496,502.07,34 + text @288,496,502.07,18 t="Run commands" + text @288,514,502.07,16 t="ls -l" + generic @806.07,500,61.93,26 + button #bot:b1:grant-0 @806.07,500,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,505,45.93,16 t="Remove" + generic @288,534,580,42 + generic @288,538,580,34 + generic @288,538,502.07,34 + text @288,538,502.07,18 t="Read files" + text @288,556,502.07,16 t="notes/pears.md" + generic @806.07,542,61.93,26 + button #bot:b1:grant-1 @806.07,542,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,547,45.93,16 t="Remove" + generic #group-in-conversation @288,600,580,64 + heading @288,600,580,18 t="Allowed in one conversation" + generic @288,622,580,42 + generic @288,622,580,42 + generic @288,626,580,34 + generic @288,626,502.07,34 + text @288,626,502.07,18 t="Change files" + text @288,644,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,630,61.93,26 + button #bot:b1:conversation-grant-0 @806.07,630,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,635,45.93,16 t="Remove" + generic #group-blocked @288,688,580,64 + heading @288,688,580,18 t="Blocked tools" + generic @288,710,580,42 + generic @288,710,580,42 + generic @288,714,580,34 + generic @288,714,500.28,34 + text @288,714,500.28,18 t="Use connectors" + text @288,732,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,718,63.72,26 + button #bot:b1:unblock-0 @804.28,718,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,723,47.72,16 t="Unblock" + generic #group-secrets @288,776,580,64 + heading @288,776,580,18 t="Secrets" + generic @288,798,580,42 + generic @288,798,580,42 + generic @288,802,580,34 + generic @288,802,502.07,34 + text @288,802,502.07,18 t="portal-login" + text @288,820,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,806,61.93,26 + button #bot:b1:secret-0 @806.07,806,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,811,45.93,16 t="Remove" + generic #group-files @288,864,580,136 + heading @288,864,580,18 t="Files and network" + generic @288,886,580,114 + generic @288,886,580,36 + generic @288,895,580,18 + generic @288,895,528,18 + text @288,895,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,896,36,16 + generic @832,904,0,0 + switch #bot:b1:disk @840,896,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,898,12,12 + generic @288,922,580,36 + generic @288,931,580,18 + generic @288,931,528,18 + text @288,931,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,932,36,16 + generic @832,940,0,0 + switch #bot:b1:network @840,932,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,934,12,12 + generic @288,958,580,42 + generic @288,962,580,34 + generic @288,962,528,34 + text @288,962,528,18 t="Search the web" + text @288,980,528,16 t="The search runs at ChatGPT." + generic @832,971,36,16 + generic @832,979,0,0 + switch #bot:b1:search @840,971,28,16 lb="Search the web" ck tab + generic @854,973,12,12 + generic #group-engine @288,1024,580,268 + heading @288,1024,580,18 t="Engine" + generic @288,1046,580,246 + generic @288,1046,580,38 + generic @288,1050,580,30 + generic @288,1056,336,18 + text @288,1056,336,18 t="Engine" + generic @640,1050,228,30 + generic @640,1065,0,0 + combobox #bot:b1:engine @648,1050,220,30 lb="Bate's own engine" tab + text @729.31,1056,110.69,18 t="Bate's own engine" + image @844,1059,12,12 deco + generic @288,1084,580,42 + generic @288,1088,580,34 + generic @288,1088,361.38,34 + text @288,1088,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,1106,361.38,16 t="Version 0.4.0." + generic @665.38,1092,202.62,26 + generic @665.38,1092,202.62,26 + button #bot:b1:adapter-check-scout-agent @665.38,1092,122.38,26 lb="Check for updates" tab + text @673.38,1097,106.38,16 t="Check for updates" + button #bot:b1:adapter-remove-scout-agent @795.76,1092,72.24,26 lb="Remove…" tab + text @803.76,1097,56.24,16 t="Remove…" + generic @288,1126,580,92 + generic @288,1130,580,18 + text @288,1130,580,18 t="Other agent (not installed)" + generic @288,1156,580,58 + generic @288,1156,580,58 + generic @288,1164,526.09,42 + text @304,1176,494.09,18 t="install-other-agent --global" + button #copy-bot:b1:install-0 @822.09,1172,45.91,26 lb="Copy" tab + text @830.09,1177,29.91,16 t="Copy" + generic @288,1218,580,42 + generic @288,1222,580,34 + generic @288,1222,502.83,34 + text @288,1222,502.83,18 t="Other agent adapter" + text @288,1240,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,1226,61.17,26 + button #bot:b1:adapter-install-other-agent @806.83,1226,61.17,26 lb="Install…" tab + text @814.83,1231,45.17,16 t="Install…" + text @288,1260,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,1316,580,106 + heading @288,1316,580,18 t="Export" + generic @288,1338,580,84 + generic @288,1338,580,42 + generic @288,1342,580,34 + generic @288,1342,536,34 + text @288,1342,536,18 t="With notes" + text @288,1360,536,16 t="Its memory notes go in the file too." + generic @840,1351,28,16 + switch #bot:b1:export-notes @840,1351,28,16 lb="With notes" ck=false tab + generic @842,1353,12,12 + generic @288,1380,580,42 + generic @288,1384,580,34 + generic @288,1384,479.38,34 + text @288,1384,479.38,18 t="Export bot" + text @288,1402,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,1388,84.62,26 + generic @783.38,1401,0,0 + button #bot:b1:export @791.38,1388,76.62,26 lb="Export bot" tab + text @799.38,1393,60.62,16 t="Export bot" + generic #group-delete @288,1446,580,64 + heading @288,1446,580,18 t="Delete" + generic @288,1468,580,42 + generic @288,1468,580,42 + generic @288,1472,580,34 + generic @288,1472,452.88,34 + text @288,1472,452.88,18 t="Delete this bot" + text @288,1490,452.88,16 t="Its folder moves to the Trash." + generic @756.88,1476,111.12,26 + button #bot:b1:delete @756.88,1476,111.12,26 lb="Delete this bot…" tab + text @764.88,1481,95.12,16 t="Delete this bot…" + generic @288,1510,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-secrets-dark.png b/native/tests/snapshots/native-bot-settings-secrets-dark.png index a15676bb..46d6c2b7 100644 Binary files a/native/tests/snapshots/native-bot-settings-secrets-dark.png and b/native/tests/snapshots/native-bot-settings-secrets-dark.png differ diff --git a/native/tests/snapshots/native-bot-settings-secrets-dark.tree b/native/tests/snapshots/native-bot-settings-secrets-dark.tree index 39da7e62..58d37eb8 100644 --- a/native/tests/snapshots/native-bot-settings-secrets-dark.tree +++ b/native/tests/snapshots/native-bot-settings-secrets-dark.tree @@ -135,11 +135,11 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1770,0,1828 - generic @288,-1702,580,2504 - generic @288,-1702,580,2504 + generic #bot-settings @264,60,628,692 sc=0,1770,0,1932 + generic @288,-1702,580,2608 + generic @288,-1702,580,2608 generic @288,-1702,580,16 - generic @288,-1686,580,2472 + generic @288,-1686,580,2576 generic #group-pause @288,-1686,580,80 heading @288,-1686,580,18 t="Pause" generic @288,-1664,580,58 @@ -257,267 +257,280 @@ generic @0,0,900,760 combobox #bot:b1:check @648,-1056,220,30 lb="Bot Quill" tab text @788.68,-1050,51.32,18 t="Bot Quill" image @844,-1047,12,12 deco - generic #group-tokens @288,-964,580,326 - heading @288,-964,580,18 t="Tokens" - generic @288,-942,580,304 - generic @288,-942,580,42 - generic @288,-938,580,34 - generic @288,-938,470.13,34 - text @288,-938,470.13,18 t="Used today" - text @288,-920,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,-930,93.87,18 - text #bot:b1:used-today @774.13,-930,93.87,18 t="188,400 tokens" - generic @288,-900,580,58 - generic @288,-896,580,50 - generic @288,-896,459.5,50 - text @288,-896,459.5,18 t="Used this month" - text @288,-878,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,-880,104.5,18 - text #bot:b1:used-month @763.5,-880,104.5,18 t="2,991,000 tokens" - generic @288,-842,580,42 - generic @288,-838,580,34 - generic @288,-838,452,34 - text @288,-838,452,18 t="Limit per day" - text @288,-820,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,-836,112,30 - textbox #bot:b1:limit-day @756,-836,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,-800,580,42 - generic @288,-796,580,34 - generic @288,-796,452,34 - text @288,-796,452,18 t="Limit per month" - text @288,-778,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,-794,112,30 - textbox #bot:b1:limit-month @756,-794,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,-758,580,74 - generic @288,-754,580,66 - generic @288,-754,344,66 - text @288,-754,344,18 t="The limit stops" - text @288,-736,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,-736,220,30 - combobox #bot:b1:limit-stops @648,-736,220,30 lb="Unattended work" tab - text @735.88,-730,104.12,18 t="Unattended work" - image @844,-727,12,12 deco - generic @288,-684,580,46 - button #bot:b1:save-limits @288,-676,90.57,30 lb="Save limits" tab - text @300,-670,66.57,18 t="Save limits" - generic #group-may @288,-614,580,336 - heading @288,-614,580,18 t="What the bot may do" - generic @288,-592,580,314 - generic @288,-592,580,38 - generic @288,-588,580,30 - generic @288,-582,336,18 - text @288,-582,336,18 t="Read files" - generic @640,-588,228,30 - generic @640,-573,0,0 - combobox #bot:b1:perm-read @648,-588,220,30 lb="always" tab - text @799.53,-582,40.47,18 t="always" - image @844,-579,12,12 deco - generic @288,-554,580,38 - generic @288,-550,580,30 - generic @288,-544,336,18 - text @288,-544,336,18 t="Change files" - generic @640,-550,228,30 - generic @640,-535,0,0 - combobox #bot:b1:perm-write @648,-550,220,30 lb="ask me" tab - text @797.03,-544,42.97,18 t="ask me" - image @844,-541,12,12 deco - generic @288,-516,580,38 - generic @288,-512,580,30 - generic @288,-506,336,18 - text @288,-506,336,18 t="Run commands" - generic @640,-512,228,30 - generic @640,-497,0,0 - combobox #bot:b1:perm-run @648,-512,220,30 lb="ask me" tab - text @797.03,-506,42.97,18 t="ask me" - image @844,-503,12,12 deco - generic @288,-478,580,74 - generic @288,-474,580,66 - generic @288,-474,332.75,66 - text @288,-474,332.75,18 t="Use connectors" - text @288,-456,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,-456,231.25,30 - generic @636.75,-441,0,0 - combobox #bot:b1:perm-connector @644.75,-456,223.25,30 lb="read-only tools without asking" tab - text @656.75,-450,183.25,18 t="read-only tools without asking" - image @844,-447,12,12 deco - generic @288,-404,580,38 - generic @288,-400,580,30 - generic @288,-394,336,18 - text @288,-394,336,18 t="See and control other apps" - generic @640,-400,228,30 - generic @640,-385,0,0 - combobox #bot:b1:perm-desktop @648,-400,220,30 lb="never" tab - text @806.33,-394,33.67,18 t="never" - image @844,-391,12,12 deco - generic @288,-366,580,44 - generic @288,-362,580,36 - generic @288,-362,336,36 - text @288,-362,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,-359,228,30 - generic @640,-344,0,0 - combobox #bot:b1:perm-apple_read @648,-359,220,30 lb="ask me" tab - text @797.03,-353,42.97,18 t="ask me" - image @844,-350,12,12 deco - generic @288,-322,580,44 - generic @288,-318,580,36 - generic @288,-318,336,36 - text @288,-318,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,-315,228,30 - generic @640,-300,0,0 - combobox #bot:b1:perm-apple_change @648,-315,220,30 lb="ask me" tab - text @797.03,-309,42.97,18 t="ask me" - image @844,-306,12,12 deco - generic #group-always @288,-254,580,106 - heading @288,-254,580,18 t="Always allowed" - generic @288,-232,580,84 - generic @288,-232,580,42 - generic @288,-228,580,34 - generic @288,-228,502.07,34 - text @288,-228,502.07,18 t="Run commands" - text @288,-210,502.07,16 t="ls -l" - generic @806.07,-224,61.93,26 - button #bot:b1:grant-0 @806.07,-224,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,-219,45.93,16 t="Remove" - generic @288,-190,580,42 - generic @288,-186,580,34 - generic @288,-186,502.07,34 - text @288,-186,502.07,18 t="Read files" - text @288,-168,502.07,16 t="notes/pears.md" - generic @806.07,-182,61.93,26 - button #bot:b1:grant-1 @806.07,-182,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,-177,45.93,16 t="Remove" - generic #group-in-conversation @288,-124,580,64 - heading @288,-124,580,18 t="Allowed in one conversation" - generic @288,-102,580,42 - generic @288,-102,580,42 - generic @288,-98,580,34 - generic @288,-98,502.07,34 - text @288,-98,502.07,18 t="Change files" - text @288,-80,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,-94,61.93,26 - button #bot:b1:conversation-grant-0 @806.07,-94,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,-89,45.93,16 t="Remove" - generic #group-blocked @288,-36,580,64 - heading @288,-36,580,18 t="Blocked tools" - generic @288,-14,580,42 - generic @288,-14,580,42 - generic @288,-10,580,34 - generic @288,-10,500.28,34 - text @288,-10,500.28,18 t="Use connectors" - text @288,8,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,-6,63.72,26 - button #bot:b1:unblock-0 @804.28,-6,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,-1,47.72,16 t="Unblock" - generic #group-secrets @288,52,580,64 - heading @288,52,580,18 t="Secrets" - generic @288,74,580,42 - generic @288,74,580,42 - generic @288,78,580,34 - generic @288,78,502.07,34 - text @288,78,502.07,18 t="portal-login" - text @288,96,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,82,61.93,26 - button #bot:b1:secret-0 @806.07,82,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,87,45.93,16 t="Remove" - generic #group-files @288,140,580,136 - heading @288,140,580,18 t="Files and network" - generic @288,162,580,114 - generic @288,162,580,36 - generic @288,171,580,18 - generic @288,171,528,18 - text @288,171,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,172,36,16 - generic @832,180,0,0 - switch #bot:b1:disk @840,172,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,174,12,12 - generic @288,198,580,36 - generic @288,207,580,18 - generic @288,207,528,18 - text @288,207,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,208,36,16 - generic @832,216,0,0 - switch #bot:b1:network @840,208,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,210,12,12 - generic @288,234,580,42 - generic @288,238,580,34 - generic @288,238,528,34 - text @288,238,528,18 t="Search the web" - text @288,256,528,16 t="The search runs at ChatGPT." - generic @832,247,36,16 - generic @832,255,0,0 - switch #bot:b1:search @840,247,28,16 lb="Search the web" ck tab - generic @854,249,12,12 - generic #group-engine @288,300,580,268 - heading @288,300,580,18 t="Engine" - generic @288,322,580,246 - generic @288,322,580,38 - generic @288,326,580,30 - generic @288,332,336,18 - text @288,332,336,18 t="Engine" - generic @640,326,228,30 - generic @640,341,0,0 - combobox #bot:b1:engine @648,326,220,30 lb="Bate's own engine" tab - text @729.31,332,110.69,18 t="Bate's own engine" - image @844,335,12,12 deco - generic @288,360,580,42 - generic @288,364,580,34 - generic @288,364,361.38,34 - text @288,364,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,382,361.38,16 t="Version 0.4.0." - generic @665.38,368,202.62,26 - generic @665.38,368,202.62,26 - button #bot:b1:adapter-check-scout-agent @665.38,368,122.38,26 lb="Check for updates" tab - text @673.38,373,106.38,16 t="Check for updates" - button #bot:b1:adapter-remove-scout-agent @795.76,368,72.24,26 lb="Remove…" tab - text @803.76,373,56.24,16 t="Remove…" - generic @288,402,580,92 - generic @288,406,580,18 - text @288,406,580,18 t="Other agent (not installed)" - generic @288,432,580,58 - generic @288,432,580,58 - generic @288,440,526.09,42 - text @304,452,494.09,18 t="install-other-agent --global" - button #copy-bot:b1:install-0 @822.09,448,45.91,26 lb="Copy" tab - text @830.09,453,29.91,16 t="Copy" - generic @288,494,580,42 - generic @288,498,580,34 - generic @288,498,502.83,34 - text @288,498,502.83,18 t="Other agent adapter" - text @288,516,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,502,61.17,26 - button #bot:b1:adapter-install-other-agent @806.83,502,61.17,26 lb="Install…" tab - text @814.83,507,45.17,16 t="Install…" - text @288,536,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,592,580,106 - heading @288,592,580,18 t="Export" - generic @288,614,580,84 - generic @288,614,580,42 - generic @288,618,580,34 - generic @288,618,536,34 - text @288,618,536,18 t="With notes" - text @288,636,536,16 t="Its memory notes go in the file too." - generic @840,627,28,16 - switch #bot:b1:export-notes @840,627,28,16 lb="With notes" ck=false tab - generic @842,629,12,12 - generic @288,656,580,42 - generic @288,660,580,34 - generic @288,660,479.38,34 - text @288,660,479.38,18 t="Export bot" - text @288,678,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,664,84.62,26 - generic @783.38,677,0,0 - button #bot:b1:export @791.38,664,76.62,26 lb="Export bot" tab - text @799.38,669,60.62,16 t="Export bot" - generic #group-delete @288,722,580,64 - heading @288,722,580,18 t="Delete" - generic @288,744,580,42 - generic @288,744,580,42 - generic @288,748,580,34 - generic @288,748,452.88,34 - text @288,748,452.88,18 t="Delete this bot" - text @288,766,452.88,16 t="Its folder moves to the Trash." - generic @756.88,752,111.12,26 - button #bot:b1:delete @756.88,752,111.12,26 lb="Delete this bot…" tab - text @764.88,757,95.12,16 t="Delete this bot…" - generic @288,786,580,16 + generic #group-fallback @288,-964,580,80 + heading @288,-964,580,18 t="Fallback" + generic @288,-942,580,58 + generic @288,-942,580,58 + generic @288,-938,580,50 + generic @288,-938,336,50 + text @288,-938,336,18 t="Fallback model" + text @288,-920,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-928,228,30 + generic @640,-913,0,0 + combobox #bot:b1:fallback @648,-928,220,30 lb="None" tab + text @807.96,-922,32.04,18 t="None" + image @844,-919,12,12 deco + generic #group-tokens @288,-860,580,326 + heading @288,-860,580,18 t="Tokens" + generic @288,-838,580,304 + generic @288,-838,580,42 + generic @288,-834,580,34 + generic @288,-834,470.13,34 + text @288,-834,470.13,18 t="Used today" + text @288,-816,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,-826,93.87,18 + text #bot:b1:used-today @774.13,-826,93.87,18 t="188,400 tokens" + generic @288,-796,580,58 + generic @288,-792,580,50 + generic @288,-792,459.5,50 + text @288,-792,459.5,18 t="Used this month" + text @288,-774,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,-776,104.5,18 + text #bot:b1:used-month @763.5,-776,104.5,18 t="2,991,000 tokens" + generic @288,-738,580,42 + generic @288,-734,580,34 + generic @288,-734,452,34 + text @288,-734,452,18 t="Limit per day" + text @288,-716,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,-732,112,30 + textbox #bot:b1:limit-day @756,-732,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,-696,580,42 + generic @288,-692,580,34 + generic @288,-692,452,34 + text @288,-692,452,18 t="Limit per month" + text @288,-674,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,-690,112,30 + textbox #bot:b1:limit-month @756,-690,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,-654,580,74 + generic @288,-650,580,66 + generic @288,-650,344,66 + text @288,-650,344,18 t="The limit stops" + text @288,-632,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,-632,220,30 + combobox #bot:b1:limit-stops @648,-632,220,30 lb="Unattended work" tab + text @735.88,-626,104.12,18 t="Unattended work" + image @844,-623,12,12 deco + generic @288,-580,580,46 + button #bot:b1:save-limits @288,-572,90.57,30 lb="Save limits" tab + text @300,-566,66.57,18 t="Save limits" + generic #group-may @288,-510,580,336 + heading @288,-510,580,18 t="What the bot may do" + generic @288,-488,580,314 + generic @288,-488,580,38 + generic @288,-484,580,30 + generic @288,-478,336,18 + text @288,-478,336,18 t="Read files" + generic @640,-484,228,30 + generic @640,-469,0,0 + combobox #bot:b1:perm-read @648,-484,220,30 lb="always" tab + text @799.53,-478,40.47,18 t="always" + image @844,-475,12,12 deco + generic @288,-450,580,38 + generic @288,-446,580,30 + generic @288,-440,336,18 + text @288,-440,336,18 t="Change files" + generic @640,-446,228,30 + generic @640,-431,0,0 + combobox #bot:b1:perm-write @648,-446,220,30 lb="ask me" tab + text @797.03,-440,42.97,18 t="ask me" + image @844,-437,12,12 deco + generic @288,-412,580,38 + generic @288,-408,580,30 + generic @288,-402,336,18 + text @288,-402,336,18 t="Run commands" + generic @640,-408,228,30 + generic @640,-393,0,0 + combobox #bot:b1:perm-run @648,-408,220,30 lb="ask me" tab + text @797.03,-402,42.97,18 t="ask me" + image @844,-399,12,12 deco + generic @288,-374,580,74 + generic @288,-370,580,66 + generic @288,-370,332.75,66 + text @288,-370,332.75,18 t="Use connectors" + text @288,-352,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,-352,231.25,30 + generic @636.75,-337,0,0 + combobox #bot:b1:perm-connector @644.75,-352,223.25,30 lb="read-only tools without asking" tab + text @656.75,-346,183.25,18 t="read-only tools without asking" + image @844,-343,12,12 deco + generic @288,-300,580,38 + generic @288,-296,580,30 + generic @288,-290,336,18 + text @288,-290,336,18 t="See and control other apps" + generic @640,-296,228,30 + generic @640,-281,0,0 + combobox #bot:b1:perm-desktop @648,-296,220,30 lb="never" tab + text @806.33,-290,33.67,18 t="never" + image @844,-287,12,12 deco + generic @288,-262,580,44 + generic @288,-258,580,36 + generic @288,-258,336,36 + text @288,-258,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,-255,228,30 + generic @640,-240,0,0 + combobox #bot:b1:perm-apple_read @648,-255,220,30 lb="ask me" tab + text @797.03,-249,42.97,18 t="ask me" + image @844,-246,12,12 deco + generic @288,-218,580,44 + generic @288,-214,580,36 + generic @288,-214,336,36 + text @288,-214,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,-211,228,30 + generic @640,-196,0,0 + combobox #bot:b1:perm-apple_change @648,-211,220,30 lb="ask me" tab + text @797.03,-205,42.97,18 t="ask me" + image @844,-202,12,12 deco + generic #group-always @288,-150,580,106 + heading @288,-150,580,18 t="Always allowed" + generic @288,-128,580,84 + generic @288,-128,580,42 + generic @288,-124,580,34 + generic @288,-124,502.07,34 + text @288,-124,502.07,18 t="Run commands" + text @288,-106,502.07,16 t="ls -l" + generic @806.07,-120,61.93,26 + button #bot:b1:grant-0 @806.07,-120,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,-115,45.93,16 t="Remove" + generic @288,-86,580,42 + generic @288,-82,580,34 + generic @288,-82,502.07,34 + text @288,-82,502.07,18 t="Read files" + text @288,-64,502.07,16 t="notes/pears.md" + generic @806.07,-78,61.93,26 + button #bot:b1:grant-1 @806.07,-78,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,-73,45.93,16 t="Remove" + generic #group-in-conversation @288,-20,580,64 + heading @288,-20,580,18 t="Allowed in one conversation" + generic @288,2,580,42 + generic @288,2,580,42 + generic @288,6,580,34 + generic @288,6,502.07,34 + text @288,6,502.07,18 t="Change files" + text @288,24,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,10,61.93,26 + button #bot:b1:conversation-grant-0 @806.07,10,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,15,45.93,16 t="Remove" + generic #group-blocked @288,68,580,64 + heading @288,68,580,18 t="Blocked tools" + generic @288,90,580,42 + generic @288,90,580,42 + generic @288,94,580,34 + generic @288,94,500.28,34 + text @288,94,500.28,18 t="Use connectors" + text @288,112,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,98,63.72,26 + button #bot:b1:unblock-0 @804.28,98,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,103,47.72,16 t="Unblock" + generic #group-secrets @288,156,580,64 + heading @288,156,580,18 t="Secrets" + generic @288,178,580,42 + generic @288,178,580,42 + generic @288,182,580,34 + generic @288,182,502.07,34 + text @288,182,502.07,18 t="portal-login" + text @288,200,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,186,61.93,26 + button #bot:b1:secret-0 @806.07,186,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,191,45.93,16 t="Remove" + generic #group-files @288,244,580,136 + heading @288,244,580,18 t="Files and network" + generic @288,266,580,114 + generic @288,266,580,36 + generic @288,275,580,18 + generic @288,275,528,18 + text @288,275,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,276,36,16 + generic @832,284,0,0 + switch #bot:b1:disk @840,276,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,278,12,12 + generic @288,302,580,36 + generic @288,311,580,18 + generic @288,311,528,18 + text @288,311,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,312,36,16 + generic @832,320,0,0 + switch #bot:b1:network @840,312,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,314,12,12 + generic @288,338,580,42 + generic @288,342,580,34 + generic @288,342,528,34 + text @288,342,528,18 t="Search the web" + text @288,360,528,16 t="The search runs at ChatGPT." + generic @832,351,36,16 + generic @832,359,0,0 + switch #bot:b1:search @840,351,28,16 lb="Search the web" ck tab + generic @854,353,12,12 + generic #group-engine @288,404,580,268 + heading @288,404,580,18 t="Engine" + generic @288,426,580,246 + generic @288,426,580,38 + generic @288,430,580,30 + generic @288,436,336,18 + text @288,436,336,18 t="Engine" + generic @640,430,228,30 + generic @640,445,0,0 + combobox #bot:b1:engine @648,430,220,30 lb="Bate's own engine" tab + text @729.31,436,110.69,18 t="Bate's own engine" + image @844,439,12,12 deco + generic @288,464,580,42 + generic @288,468,580,34 + generic @288,468,361.38,34 + text @288,468,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,486,361.38,16 t="Version 0.4.0." + generic @665.38,472,202.62,26 + generic @665.38,472,202.62,26 + button #bot:b1:adapter-check-scout-agent @665.38,472,122.38,26 lb="Check for updates" tab + text @673.38,477,106.38,16 t="Check for updates" + button #bot:b1:adapter-remove-scout-agent @795.76,472,72.24,26 lb="Remove…" tab + text @803.76,477,56.24,16 t="Remove…" + generic @288,506,580,92 + generic @288,510,580,18 + text @288,510,580,18 t="Other agent (not installed)" + generic @288,536,580,58 + generic @288,536,580,58 + generic @288,544,526.09,42 + text @304,556,494.09,18 t="install-other-agent --global" + button #copy-bot:b1:install-0 @822.09,552,45.91,26 lb="Copy" tab + text @830.09,557,29.91,16 t="Copy" + generic @288,598,580,42 + generic @288,602,580,34 + generic @288,602,502.83,34 + text @288,602,502.83,18 t="Other agent adapter" + text @288,620,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,606,61.17,26 + button #bot:b1:adapter-install-other-agent @806.83,606,61.17,26 lb="Install…" tab + text @814.83,611,45.17,16 t="Install…" + text @288,640,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,696,580,106 + heading @288,696,580,18 t="Export" + generic @288,718,580,84 + generic @288,718,580,42 + generic @288,722,580,34 + generic @288,722,536,34 + text @288,722,536,18 t="With notes" + text @288,740,536,16 t="Its memory notes go in the file too." + generic @840,731,28,16 + switch #bot:b1:export-notes @840,731,28,16 lb="With notes" ck=false tab + generic @842,733,12,12 + generic @288,760,580,42 + generic @288,764,580,34 + generic @288,764,479.38,34 + text @288,764,479.38,18 t="Export bot" + text @288,782,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,768,84.62,26 + generic @783.38,781,0,0 + button #bot:b1:export @791.38,768,76.62,26 lb="Export bot" tab + text @799.38,773,60.62,16 t="Export bot" + generic #group-delete @288,826,580,64 + heading @288,826,580,18 t="Delete" + generic @288,848,580,42 + generic @288,848,580,42 + generic @288,852,580,34 + generic @288,852,452.88,34 + text @288,852,452.88,18 t="Delete this bot" + text @288,870,452.88,16 t="Its folder moves to the Trash." + generic @756.88,856,111.12,26 + button #bot:b1:delete @756.88,856,111.12,26 lb="Delete this bot…" tab + text @764.88,861,95.12,16 t="Delete this bot…" + generic @288,890,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-secrets-light.png b/native/tests/snapshots/native-bot-settings-secrets-light.png index ca4c4704..7295d76c 100644 Binary files a/native/tests/snapshots/native-bot-settings-secrets-light.png and b/native/tests/snapshots/native-bot-settings-secrets-light.png differ diff --git a/native/tests/snapshots/native-bot-settings-secrets-light.tree b/native/tests/snapshots/native-bot-settings-secrets-light.tree index 39da7e62..58d37eb8 100644 --- a/native/tests/snapshots/native-bot-settings-secrets-light.tree +++ b/native/tests/snapshots/native-bot-settings-secrets-light.tree @@ -135,11 +135,11 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,1770,0,1828 - generic @288,-1702,580,2504 - generic @288,-1702,580,2504 + generic #bot-settings @264,60,628,692 sc=0,1770,0,1932 + generic @288,-1702,580,2608 + generic @288,-1702,580,2608 generic @288,-1702,580,16 - generic @288,-1686,580,2472 + generic @288,-1686,580,2576 generic #group-pause @288,-1686,580,80 heading @288,-1686,580,18 t="Pause" generic @288,-1664,580,58 @@ -257,267 +257,280 @@ generic @0,0,900,760 combobox #bot:b1:check @648,-1056,220,30 lb="Bot Quill" tab text @788.68,-1050,51.32,18 t="Bot Quill" image @844,-1047,12,12 deco - generic #group-tokens @288,-964,580,326 - heading @288,-964,580,18 t="Tokens" - generic @288,-942,580,304 - generic @288,-942,580,42 - generic @288,-938,580,34 - generic @288,-938,470.13,34 - text @288,-938,470.13,18 t="Used today" - text @288,-920,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,-930,93.87,18 - text #bot:b1:used-today @774.13,-930,93.87,18 t="188,400 tokens" - generic @288,-900,580,58 - generic @288,-896,580,50 - generic @288,-896,459.5,50 - text @288,-896,459.5,18 t="Used this month" - text @288,-878,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,-880,104.5,18 - text #bot:b1:used-month @763.5,-880,104.5,18 t="2,991,000 tokens" - generic @288,-842,580,42 - generic @288,-838,580,34 - generic @288,-838,452,34 - text @288,-838,452,18 t="Limit per day" - text @288,-820,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,-836,112,30 - textbox #bot:b1:limit-day @756,-836,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,-800,580,42 - generic @288,-796,580,34 - generic @288,-796,452,34 - text @288,-796,452,18 t="Limit per month" - text @288,-778,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,-794,112,30 - textbox #bot:b1:limit-month @756,-794,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,-758,580,74 - generic @288,-754,580,66 - generic @288,-754,344,66 - text @288,-754,344,18 t="The limit stops" - text @288,-736,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,-736,220,30 - combobox #bot:b1:limit-stops @648,-736,220,30 lb="Unattended work" tab - text @735.88,-730,104.12,18 t="Unattended work" - image @844,-727,12,12 deco - generic @288,-684,580,46 - button #bot:b1:save-limits @288,-676,90.57,30 lb="Save limits" tab - text @300,-670,66.57,18 t="Save limits" - generic #group-may @288,-614,580,336 - heading @288,-614,580,18 t="What the bot may do" - generic @288,-592,580,314 - generic @288,-592,580,38 - generic @288,-588,580,30 - generic @288,-582,336,18 - text @288,-582,336,18 t="Read files" - generic @640,-588,228,30 - generic @640,-573,0,0 - combobox #bot:b1:perm-read @648,-588,220,30 lb="always" tab - text @799.53,-582,40.47,18 t="always" - image @844,-579,12,12 deco - generic @288,-554,580,38 - generic @288,-550,580,30 - generic @288,-544,336,18 - text @288,-544,336,18 t="Change files" - generic @640,-550,228,30 - generic @640,-535,0,0 - combobox #bot:b1:perm-write @648,-550,220,30 lb="ask me" tab - text @797.03,-544,42.97,18 t="ask me" - image @844,-541,12,12 deco - generic @288,-516,580,38 - generic @288,-512,580,30 - generic @288,-506,336,18 - text @288,-506,336,18 t="Run commands" - generic @640,-512,228,30 - generic @640,-497,0,0 - combobox #bot:b1:perm-run @648,-512,220,30 lb="ask me" tab - text @797.03,-506,42.97,18 t="ask me" - image @844,-503,12,12 deco - generic @288,-478,580,74 - generic @288,-474,580,66 - generic @288,-474,332.75,66 - text @288,-474,332.75,18 t="Use connectors" - text @288,-456,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,-456,231.25,30 - generic @636.75,-441,0,0 - combobox #bot:b1:perm-connector @644.75,-456,223.25,30 lb="read-only tools without asking" tab - text @656.75,-450,183.25,18 t="read-only tools without asking" - image @844,-447,12,12 deco - generic @288,-404,580,38 - generic @288,-400,580,30 - generic @288,-394,336,18 - text @288,-394,336,18 t="See and control other apps" - generic @640,-400,228,30 - generic @640,-385,0,0 - combobox #bot:b1:perm-desktop @648,-400,220,30 lb="never" tab - text @806.33,-394,33.67,18 t="never" - image @844,-391,12,12 deco - generic @288,-366,580,44 - generic @288,-362,580,36 - generic @288,-362,336,36 - text @288,-362,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,-359,228,30 - generic @640,-344,0,0 - combobox #bot:b1:perm-apple_read @648,-359,220,30 lb="ask me" tab - text @797.03,-353,42.97,18 t="ask me" - image @844,-350,12,12 deco - generic @288,-322,580,44 - generic @288,-318,580,36 - generic @288,-318,336,36 - text @288,-318,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,-315,228,30 - generic @640,-300,0,0 - combobox #bot:b1:perm-apple_change @648,-315,220,30 lb="ask me" tab - text @797.03,-309,42.97,18 t="ask me" - image @844,-306,12,12 deco - generic #group-always @288,-254,580,106 - heading @288,-254,580,18 t="Always allowed" - generic @288,-232,580,84 - generic @288,-232,580,42 - generic @288,-228,580,34 - generic @288,-228,502.07,34 - text @288,-228,502.07,18 t="Run commands" - text @288,-210,502.07,16 t="ls -l" - generic @806.07,-224,61.93,26 - button #bot:b1:grant-0 @806.07,-224,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,-219,45.93,16 t="Remove" - generic @288,-190,580,42 - generic @288,-186,580,34 - generic @288,-186,502.07,34 - text @288,-186,502.07,18 t="Read files" - text @288,-168,502.07,16 t="notes/pears.md" - generic @806.07,-182,61.93,26 - button #bot:b1:grant-1 @806.07,-182,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,-177,45.93,16 t="Remove" - generic #group-in-conversation @288,-124,580,64 - heading @288,-124,580,18 t="Allowed in one conversation" - generic @288,-102,580,42 - generic @288,-102,580,42 - generic @288,-98,580,34 - generic @288,-98,502.07,34 - text @288,-98,502.07,18 t="Change files" - text @288,-80,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,-94,61.93,26 - button #bot:b1:conversation-grant-0 @806.07,-94,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,-89,45.93,16 t="Remove" - generic #group-blocked @288,-36,580,64 - heading @288,-36,580,18 t="Blocked tools" - generic @288,-14,580,42 - generic @288,-14,580,42 - generic @288,-10,580,34 - generic @288,-10,500.28,34 - text @288,-10,500.28,18 t="Use connectors" - text @288,8,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,-6,63.72,26 - button #bot:b1:unblock-0 @804.28,-6,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,-1,47.72,16 t="Unblock" - generic #group-secrets @288,52,580,64 - heading @288,52,580,18 t="Secrets" - generic @288,74,580,42 - generic @288,74,580,42 - generic @288,78,580,34 - generic @288,78,502.07,34 - text @288,78,502.07,18 t="portal-login" - text @288,96,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,82,61.93,26 - button #bot:b1:secret-0 @806.07,82,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,87,45.93,16 t="Remove" - generic #group-files @288,140,580,136 - heading @288,140,580,18 t="Files and network" - generic @288,162,580,114 - generic @288,162,580,36 - generic @288,171,580,18 - generic @288,171,528,18 - text @288,171,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,172,36,16 - generic @832,180,0,0 - switch #bot:b1:disk @840,172,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,174,12,12 - generic @288,198,580,36 - generic @288,207,580,18 - generic @288,207,528,18 - text @288,207,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,208,36,16 - generic @832,216,0,0 - switch #bot:b1:network @840,208,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,210,12,12 - generic @288,234,580,42 - generic @288,238,580,34 - generic @288,238,528,34 - text @288,238,528,18 t="Search the web" - text @288,256,528,16 t="The search runs at ChatGPT." - generic @832,247,36,16 - generic @832,255,0,0 - switch #bot:b1:search @840,247,28,16 lb="Search the web" ck tab - generic @854,249,12,12 - generic #group-engine @288,300,580,268 - heading @288,300,580,18 t="Engine" - generic @288,322,580,246 - generic @288,322,580,38 - generic @288,326,580,30 - generic @288,332,336,18 - text @288,332,336,18 t="Engine" - generic @640,326,228,30 - generic @640,341,0,0 - combobox #bot:b1:engine @648,326,220,30 lb="Bate's own engine" tab - text @729.31,332,110.69,18 t="Bate's own engine" - image @844,335,12,12 deco - generic @288,360,580,42 - generic @288,364,580,34 - generic @288,364,361.38,34 - text @288,364,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,382,361.38,16 t="Version 0.4.0." - generic @665.38,368,202.62,26 - generic @665.38,368,202.62,26 - button #bot:b1:adapter-check-scout-agent @665.38,368,122.38,26 lb="Check for updates" tab - text @673.38,373,106.38,16 t="Check for updates" - button #bot:b1:adapter-remove-scout-agent @795.76,368,72.24,26 lb="Remove…" tab - text @803.76,373,56.24,16 t="Remove…" - generic @288,402,580,92 - generic @288,406,580,18 - text @288,406,580,18 t="Other agent (not installed)" - generic @288,432,580,58 - generic @288,432,580,58 - generic @288,440,526.09,42 - text @304,452,494.09,18 t="install-other-agent --global" - button #copy-bot:b1:install-0 @822.09,448,45.91,26 lb="Copy" tab - text @830.09,453,29.91,16 t="Copy" - generic @288,494,580,42 - generic @288,498,580,34 - generic @288,498,502.83,34 - text @288,498,502.83,18 t="Other agent adapter" - text @288,516,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,502,61.17,26 - button #bot:b1:adapter-install-other-agent @806.83,502,61.17,26 lb="Install…" tab - text @814.83,507,45.17,16 t="Install…" - text @288,536,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,592,580,106 - heading @288,592,580,18 t="Export" - generic @288,614,580,84 - generic @288,614,580,42 - generic @288,618,580,34 - generic @288,618,536,34 - text @288,618,536,18 t="With notes" - text @288,636,536,16 t="Its memory notes go in the file too." - generic @840,627,28,16 - switch #bot:b1:export-notes @840,627,28,16 lb="With notes" ck=false tab - generic @842,629,12,12 - generic @288,656,580,42 - generic @288,660,580,34 - generic @288,660,479.38,34 - text @288,660,479.38,18 t="Export bot" - text @288,678,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,664,84.62,26 - generic @783.38,677,0,0 - button #bot:b1:export @791.38,664,76.62,26 lb="Export bot" tab - text @799.38,669,60.62,16 t="Export bot" - generic #group-delete @288,722,580,64 - heading @288,722,580,18 t="Delete" - generic @288,744,580,42 - generic @288,744,580,42 - generic @288,748,580,34 - generic @288,748,452.88,34 - text @288,748,452.88,18 t="Delete this bot" - text @288,766,452.88,16 t="Its folder moves to the Trash." - generic @756.88,752,111.12,26 - button #bot:b1:delete @756.88,752,111.12,26 lb="Delete this bot…" tab - text @764.88,757,95.12,16 t="Delete this bot…" - generic @288,786,580,16 + generic #group-fallback @288,-964,580,80 + heading @288,-964,580,18 t="Fallback" + generic @288,-942,580,58 + generic @288,-942,580,58 + generic @288,-938,580,50 + generic @288,-938,336,50 + text @288,-938,336,18 t="Fallback model" + text @288,-920,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,-928,228,30 + generic @640,-913,0,0 + combobox #bot:b1:fallback @648,-928,220,30 lb="None" tab + text @807.96,-922,32.04,18 t="None" + image @844,-919,12,12 deco + generic #group-tokens @288,-860,580,326 + heading @288,-860,580,18 t="Tokens" + generic @288,-838,580,304 + generic @288,-838,580,42 + generic @288,-834,580,34 + generic @288,-834,470.13,34 + text @288,-834,470.13,18 t="Used today" + text @288,-816,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,-826,93.87,18 + text #bot:b1:used-today @774.13,-826,93.87,18 t="188,400 tokens" + generic @288,-796,580,58 + generic @288,-792,580,50 + generic @288,-792,459.5,50 + text @288,-792,459.5,18 t="Used this month" + text @288,-774,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,-776,104.5,18 + text #bot:b1:used-month @763.5,-776,104.5,18 t="2,991,000 tokens" + generic @288,-738,580,42 + generic @288,-734,580,34 + generic @288,-734,452,34 + text @288,-734,452,18 t="Limit per day" + text @288,-716,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,-732,112,30 + textbox #bot:b1:limit-day @756,-732,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,-696,580,42 + generic @288,-692,580,34 + generic @288,-692,452,34 + text @288,-692,452,18 t="Limit per month" + text @288,-674,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,-690,112,30 + textbox #bot:b1:limit-month @756,-690,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,-654,580,74 + generic @288,-650,580,66 + generic @288,-650,344,66 + text @288,-650,344,18 t="The limit stops" + text @288,-632,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,-632,220,30 + combobox #bot:b1:limit-stops @648,-632,220,30 lb="Unattended work" tab + text @735.88,-626,104.12,18 t="Unattended work" + image @844,-623,12,12 deco + generic @288,-580,580,46 + button #bot:b1:save-limits @288,-572,90.57,30 lb="Save limits" tab + text @300,-566,66.57,18 t="Save limits" + generic #group-may @288,-510,580,336 + heading @288,-510,580,18 t="What the bot may do" + generic @288,-488,580,314 + generic @288,-488,580,38 + generic @288,-484,580,30 + generic @288,-478,336,18 + text @288,-478,336,18 t="Read files" + generic @640,-484,228,30 + generic @640,-469,0,0 + combobox #bot:b1:perm-read @648,-484,220,30 lb="always" tab + text @799.53,-478,40.47,18 t="always" + image @844,-475,12,12 deco + generic @288,-450,580,38 + generic @288,-446,580,30 + generic @288,-440,336,18 + text @288,-440,336,18 t="Change files" + generic @640,-446,228,30 + generic @640,-431,0,0 + combobox #bot:b1:perm-write @648,-446,220,30 lb="ask me" tab + text @797.03,-440,42.97,18 t="ask me" + image @844,-437,12,12 deco + generic @288,-412,580,38 + generic @288,-408,580,30 + generic @288,-402,336,18 + text @288,-402,336,18 t="Run commands" + generic @640,-408,228,30 + generic @640,-393,0,0 + combobox #bot:b1:perm-run @648,-408,220,30 lb="ask me" tab + text @797.03,-402,42.97,18 t="ask me" + image @844,-399,12,12 deco + generic @288,-374,580,74 + generic @288,-370,580,66 + generic @288,-370,332.75,66 + text @288,-370,332.75,18 t="Use connectors" + text @288,-352,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,-352,231.25,30 + generic @636.75,-337,0,0 + combobox #bot:b1:perm-connector @644.75,-352,223.25,30 lb="read-only tools without asking" tab + text @656.75,-346,183.25,18 t="read-only tools without asking" + image @844,-343,12,12 deco + generic @288,-300,580,38 + generic @288,-296,580,30 + generic @288,-290,336,18 + text @288,-290,336,18 t="See and control other apps" + generic @640,-296,228,30 + generic @640,-281,0,0 + combobox #bot:b1:perm-desktop @648,-296,220,30 lb="never" tab + text @806.33,-290,33.67,18 t="never" + image @844,-287,12,12 deco + generic @288,-262,580,44 + generic @288,-258,580,36 + generic @288,-258,336,36 + text @288,-258,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,-255,228,30 + generic @640,-240,0,0 + combobox #bot:b1:perm-apple_read @648,-255,220,30 lb="ask me" tab + text @797.03,-249,42.97,18 t="ask me" + image @844,-246,12,12 deco + generic @288,-218,580,44 + generic @288,-214,580,36 + generic @288,-214,336,36 + text @288,-214,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,-211,228,30 + generic @640,-196,0,0 + combobox #bot:b1:perm-apple_change @648,-211,220,30 lb="ask me" tab + text @797.03,-205,42.97,18 t="ask me" + image @844,-202,12,12 deco + generic #group-always @288,-150,580,106 + heading @288,-150,580,18 t="Always allowed" + generic @288,-128,580,84 + generic @288,-128,580,42 + generic @288,-124,580,34 + generic @288,-124,502.07,34 + text @288,-124,502.07,18 t="Run commands" + text @288,-106,502.07,16 t="ls -l" + generic @806.07,-120,61.93,26 + button #bot:b1:grant-0 @806.07,-120,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,-115,45.93,16 t="Remove" + generic @288,-86,580,42 + generic @288,-82,580,34 + generic @288,-82,502.07,34 + text @288,-82,502.07,18 t="Read files" + text @288,-64,502.07,16 t="notes/pears.md" + generic @806.07,-78,61.93,26 + button #bot:b1:grant-1 @806.07,-78,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,-73,45.93,16 t="Remove" + generic #group-in-conversation @288,-20,580,64 + heading @288,-20,580,18 t="Allowed in one conversation" + generic @288,2,580,42 + generic @288,2,580,42 + generic @288,6,580,34 + generic @288,6,502.07,34 + text @288,6,502.07,18 t="Change files" + text @288,24,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,10,61.93,26 + button #bot:b1:conversation-grant-0 @806.07,10,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,15,45.93,16 t="Remove" + generic #group-blocked @288,68,580,64 + heading @288,68,580,18 t="Blocked tools" + generic @288,90,580,42 + generic @288,90,580,42 + generic @288,94,580,34 + generic @288,94,500.28,34 + text @288,94,500.28,18 t="Use connectors" + text @288,112,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,98,63.72,26 + button #bot:b1:unblock-0 @804.28,98,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,103,47.72,16 t="Unblock" + generic #group-secrets @288,156,580,64 + heading @288,156,580,18 t="Secrets" + generic @288,178,580,42 + generic @288,178,580,42 + generic @288,182,580,34 + generic @288,182,502.07,34 + text @288,182,502.07,18 t="portal-login" + text @288,200,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,186,61.93,26 + button #bot:b1:secret-0 @806.07,186,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,191,45.93,16 t="Remove" + generic #group-files @288,244,580,136 + heading @288,244,580,18 t="Files and network" + generic @288,266,580,114 + generic @288,266,580,36 + generic @288,275,580,18 + generic @288,275,528,18 + text @288,275,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,276,36,16 + generic @832,284,0,0 + switch #bot:b1:disk @840,276,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,278,12,12 + generic @288,302,580,36 + generic @288,311,580,18 + generic @288,311,528,18 + text @288,311,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,312,36,16 + generic @832,320,0,0 + switch #bot:b1:network @840,312,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,314,12,12 + generic @288,338,580,42 + generic @288,342,580,34 + generic @288,342,528,34 + text @288,342,528,18 t="Search the web" + text @288,360,528,16 t="The search runs at ChatGPT." + generic @832,351,36,16 + generic @832,359,0,0 + switch #bot:b1:search @840,351,28,16 lb="Search the web" ck tab + generic @854,353,12,12 + generic #group-engine @288,404,580,268 + heading @288,404,580,18 t="Engine" + generic @288,426,580,246 + generic @288,426,580,38 + generic @288,430,580,30 + generic @288,436,336,18 + text @288,436,336,18 t="Engine" + generic @640,430,228,30 + generic @640,445,0,0 + combobox #bot:b1:engine @648,430,220,30 lb="Bate's own engine" tab + text @729.31,436,110.69,18 t="Bate's own engine" + image @844,439,12,12 deco + generic @288,464,580,42 + generic @288,468,580,34 + generic @288,468,361.38,34 + text @288,468,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,486,361.38,16 t="Version 0.4.0." + generic @665.38,472,202.62,26 + generic @665.38,472,202.62,26 + button #bot:b1:adapter-check-scout-agent @665.38,472,122.38,26 lb="Check for updates" tab + text @673.38,477,106.38,16 t="Check for updates" + button #bot:b1:adapter-remove-scout-agent @795.76,472,72.24,26 lb="Remove…" tab + text @803.76,477,56.24,16 t="Remove…" + generic @288,506,580,92 + generic @288,510,580,18 + text @288,510,580,18 t="Other agent (not installed)" + generic @288,536,580,58 + generic @288,536,580,58 + generic @288,544,526.09,42 + text @304,556,494.09,18 t="install-other-agent --global" + button #copy-bot:b1:install-0 @822.09,552,45.91,26 lb="Copy" tab + text @830.09,557,29.91,16 t="Copy" + generic @288,598,580,42 + generic @288,602,580,34 + generic @288,602,502.83,34 + text @288,602,502.83,18 t="Other agent adapter" + text @288,620,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,606,61.17,26 + button #bot:b1:adapter-install-other-agent @806.83,606,61.17,26 lb="Install…" tab + text @814.83,611,45.17,16 t="Install…" + text @288,640,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,696,580,106 + heading @288,696,580,18 t="Export" + generic @288,718,580,84 + generic @288,718,580,42 + generic @288,722,580,34 + generic @288,722,536,34 + text @288,722,536,18 t="With notes" + text @288,740,536,16 t="Its memory notes go in the file too." + generic @840,731,28,16 + switch #bot:b1:export-notes @840,731,28,16 lb="With notes" ck=false tab + generic @842,733,12,12 + generic @288,760,580,42 + generic @288,764,580,34 + generic @288,764,479.38,34 + text @288,764,479.38,18 t="Export bot" + text @288,782,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,768,84.62,26 + generic @783.38,781,0,0 + button #bot:b1:export @791.38,768,76.62,26 lb="Export bot" tab + text @799.38,773,60.62,16 t="Export bot" + generic #group-delete @288,826,580,64 + heading @288,826,580,18 t="Delete" + generic @288,848,580,42 + generic @288,848,580,42 + generic @288,852,580,34 + generic @288,852,452.88,34 + text @288,852,452.88,18 t="Delete this bot" + text @288,870,452.88,16 t="Its folder moves to the Trash." + generic @756.88,856,111.12,26 + button #bot:b1:delete @756.88,856,111.12,26 lb="Delete this bot…" tab + text @764.88,861,95.12,16 t="Delete this bot…" + generic @288,890,580,16 generic @892,8,8,744 diff --git a/native/tests/snapshots/native-bot-settings-select-dark.png b/native/tests/snapshots/native-bot-settings-select-dark.png index c37ed9a9..bcb35c9d 100644 Binary files a/native/tests/snapshots/native-bot-settings-select-dark.png and b/native/tests/snapshots/native-bot-settings-select-dark.png differ diff --git a/native/tests/snapshots/native-bot-settings-select-dark.tree b/native/tests/snapshots/native-bot-settings-select-dark.tree index ed939a1e..6ea90d16 100644 --- a/native/tests/snapshots/native-bot-settings-select-dark.tree +++ b/native/tests/snapshots/native-bot-settings-select-dark.tree @@ -135,11 +135,11 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,200,0,1828 - generic @288,-132,580,2504 - generic @288,-132,580,2504 + generic #bot-settings @264,60,628,692 sc=0,200,0,1932 + generic @288,-132,580,2608 + generic @288,-132,580,2608 generic @288,-132,580,16 - generic @288,-116,580,2472 + generic @288,-116,580,2576 generic #group-pause @288,-116,580,80 heading @288,-116,580,18 t="Pause" generic @288,-94,580,58 @@ -257,269 +257,282 @@ generic @0,0,900,760 combobox #bot:b1:check @648,514,220,30 lb="Bot Quill" tab text @788.68,520,51.32,18 t="Bot Quill" image @844,523,12,12 deco - generic #group-tokens @288,606,580,326 - heading @288,606,580,18 t="Tokens" - generic @288,628,580,304 - generic @288,628,580,42 - generic @288,632,580,34 - generic @288,632,470.13,34 - text @288,632,470.13,18 t="Used today" - text @288,650,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,640,93.87,18 - text #bot:b1:used-today @774.13,640,93.87,18 t="188,400 tokens" - generic @288,670,580,58 - generic @288,674,580,50 - generic @288,674,459.5,50 - text @288,674,459.5,18 t="Used this month" - text @288,692,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,690,104.5,18 - text #bot:b1:used-month @763.5,690,104.5,18 t="2,991,000 tokens" - generic @288,728,580,42 - generic @288,732,580,34 - generic @288,732,452,34 - text @288,732,452,18 t="Limit per day" - text @288,750,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,734,112,30 - textbox #bot:b1:limit-day @756,734,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,770,580,42 - generic @288,774,580,34 - generic @288,774,452,34 - text @288,774,452,18 t="Limit per month" - text @288,792,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,776,112,30 - textbox #bot:b1:limit-month @756,776,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,812,580,74 - generic @288,816,580,66 - generic @288,816,344,66 - text @288,816,344,18 t="The limit stops" - text @288,834,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,834,220,30 - combobox #bot:b1:limit-stops @648,834,220,30 lb="Unattended work" tab - text @735.88,840,104.12,18 t="Unattended work" - image @844,843,12,12 deco - generic @288,886,580,46 - button #bot:b1:save-limits @288,894,90.57,30 lb="Save limits" tab - text @300,900,66.57,18 t="Save limits" - generic #group-may @288,956,580,336 - heading @288,956,580,18 t="What the bot may do" - generic @288,978,580,314 - generic @288,978,580,38 - generic @288,982,580,30 - generic @288,988,336,18 - text @288,988,336,18 t="Read files" - generic @640,982,228,30 - generic @640,997,0,0 - combobox #bot:b1:perm-read @648,982,220,30 lb="always" tab - text @799.53,988,40.47,18 t="always" - image @844,991,12,12 deco - generic @288,1016,580,38 - generic @288,1020,580,30 - generic @288,1026,336,18 - text @288,1026,336,18 t="Change files" - generic @640,1020,228,30 - generic @640,1035,0,0 - combobox #bot:b1:perm-write @648,1020,220,30 lb="ask me" tab - text @797.03,1026,42.97,18 t="ask me" - image @844,1029,12,12 deco - generic @288,1054,580,38 - generic @288,1058,580,30 - generic @288,1064,336,18 - text @288,1064,336,18 t="Run commands" - generic @640,1058,228,30 - generic @640,1073,0,0 - combobox #bot:b1:perm-run @648,1058,220,30 lb="ask me" tab - text @797.03,1064,42.97,18 t="ask me" - image @844,1067,12,12 deco - generic @288,1092,580,74 - generic @288,1096,580,66 - generic @288,1096,332.75,66 - text @288,1096,332.75,18 t="Use connectors" - text @288,1114,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,1114,231.25,30 - generic @636.75,1129,0,0 - combobox #bot:b1:perm-connector @644.75,1114,223.25,30 lb="read-only tools without asking" tab - text @656.75,1120,183.25,18 t="read-only tools without asking" - image @844,1123,12,12 deco - generic @288,1166,580,38 - generic @288,1170,580,30 - generic @288,1176,336,18 - text @288,1176,336,18 t="See and control other apps" - generic @640,1170,228,30 - generic @640,1185,0,0 - combobox #bot:b1:perm-desktop @648,1170,220,30 lb="never" tab - text @806.33,1176,33.67,18 t="never" - image @844,1179,12,12 deco - generic @288,1204,580,44 - generic @288,1208,580,36 - generic @288,1208,336,36 - text @288,1208,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,1211,228,30 - generic @640,1226,0,0 - combobox #bot:b1:perm-apple_read @648,1211,220,30 lb="ask me" tab - text @797.03,1217,42.97,18 t="ask me" - image @844,1220,12,12 deco - generic @288,1248,580,44 - generic @288,1252,580,36 - generic @288,1252,336,36 - text @288,1252,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,1255,228,30 - generic @640,1270,0,0 - combobox #bot:b1:perm-apple_change @648,1255,220,30 lb="ask me" tab - text @797.03,1261,42.97,18 t="ask me" - image @844,1264,12,12 deco - generic #group-always @288,1316,580,106 - heading @288,1316,580,18 t="Always allowed" - generic @288,1338,580,84 - generic @288,1338,580,42 - generic @288,1342,580,34 - generic @288,1342,502.07,34 - text @288,1342,502.07,18 t="Run commands" - text @288,1360,502.07,16 t="ls -l" - generic @806.07,1346,61.93,26 - button #bot:b1:grant-0 @806.07,1346,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,1351,45.93,16 t="Remove" - generic @288,1380,580,42 - generic @288,1384,580,34 - generic @288,1384,502.07,34 - text @288,1384,502.07,18 t="Read files" - text @288,1402,502.07,16 t="notes/pears.md" - generic @806.07,1388,61.93,26 - button #bot:b1:grant-1 @806.07,1388,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,1393,45.93,16 t="Remove" - generic #group-in-conversation @288,1446,580,64 - heading @288,1446,580,18 t="Allowed in one conversation" - generic @288,1468,580,42 - generic @288,1468,580,42 - generic @288,1472,580,34 - generic @288,1472,502.07,34 - text @288,1472,502.07,18 t="Change files" - text @288,1490,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,1476,61.93,26 - button #bot:b1:conversation-grant-0 @806.07,1476,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,1481,45.93,16 t="Remove" - generic #group-blocked @288,1534,580,64 - heading @288,1534,580,18 t="Blocked tools" - generic @288,1556,580,42 - generic @288,1556,580,42 - generic @288,1560,580,34 - generic @288,1560,500.28,34 - text @288,1560,500.28,18 t="Use connectors" - text @288,1578,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,1564,63.72,26 - button #bot:b1:unblock-0 @804.28,1564,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,1569,47.72,16 t="Unblock" - generic #group-secrets @288,1622,580,64 - heading @288,1622,580,18 t="Secrets" - generic @288,1644,580,42 - generic @288,1644,580,42 - generic @288,1648,580,34 - generic @288,1648,502.07,34 - text @288,1648,502.07,18 t="portal-login" - text @288,1666,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,1652,61.93,26 - button #bot:b1:secret-0 @806.07,1652,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,1657,45.93,16 t="Remove" - generic #group-files @288,1710,580,136 - heading @288,1710,580,18 t="Files and network" - generic @288,1732,580,114 - generic @288,1732,580,36 - generic @288,1741,580,18 - generic @288,1741,528,18 - text @288,1741,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,1742,36,16 - generic @832,1750,0,0 - switch #bot:b1:disk @840,1742,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,1744,12,12 - generic @288,1768,580,36 - generic @288,1777,580,18 - generic @288,1777,528,18 - text @288,1777,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,1778,36,16 - generic @832,1786,0,0 - switch #bot:b1:network @840,1778,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,1780,12,12 - generic @288,1804,580,42 - generic @288,1808,580,34 - generic @288,1808,528,34 - text @288,1808,528,18 t="Search the web" - text @288,1826,528,16 t="The search runs at ChatGPT." - generic @832,1817,36,16 - generic @832,1825,0,0 - switch #bot:b1:search @840,1817,28,16 lb="Search the web" ck tab - generic @854,1819,12,12 - generic #group-engine @288,1870,580,268 - heading @288,1870,580,18 t="Engine" - generic @288,1892,580,246 - generic @288,1892,580,38 - generic @288,1896,580,30 - generic @288,1902,336,18 - text @288,1902,336,18 t="Engine" - generic @640,1896,228,30 - generic @640,1911,0,0 - combobox #bot:b1:engine @648,1896,220,30 lb="Bate's own engine" tab - text @729.31,1902,110.69,18 t="Bate's own engine" - image @844,1905,12,12 deco - generic @288,1930,580,42 - generic @288,1934,580,34 - generic @288,1934,361.38,34 - text @288,1934,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,1952,361.38,16 t="Version 0.4.0." - generic @665.38,1938,202.62,26 - generic @665.38,1938,202.62,26 - button #bot:b1:adapter-check-scout-agent @665.38,1938,122.38,26 lb="Check for updates" tab - text @673.38,1943,106.38,16 t="Check for updates" - button #bot:b1:adapter-remove-scout-agent @795.76,1938,72.24,26 lb="Remove…" tab - text @803.76,1943,56.24,16 t="Remove…" - generic @288,1972,580,92 - generic @288,1976,580,18 - text @288,1976,580,18 t="Other agent (not installed)" - generic @288,2002,580,58 - generic @288,2002,580,58 - generic @288,2010,526.09,42 - text @304,2022,494.09,18 t="install-other-agent --global" - button #copy-bot:b1:install-0 @822.09,2018,45.91,26 lb="Copy" tab - text @830.09,2023,29.91,16 t="Copy" - generic @288,2064,580,42 - generic @288,2068,580,34 - generic @288,2068,502.83,34 - text @288,2068,502.83,18 t="Other agent adapter" - text @288,2086,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,2072,61.17,26 - button #bot:b1:adapter-install-other-agent @806.83,2072,61.17,26 lb="Install…" tab - text @814.83,2077,45.17,16 t="Install…" - text @288,2106,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,2162,580,106 - heading @288,2162,580,18 t="Export" - generic @288,2184,580,84 - generic @288,2184,580,42 - generic @288,2188,580,34 - generic @288,2188,536,34 - text @288,2188,536,18 t="With notes" - text @288,2206,536,16 t="Its memory notes go in the file too." - generic @840,2197,28,16 - switch #bot:b1:export-notes @840,2197,28,16 lb="With notes" ck=false tab - generic @842,2199,12,12 - generic @288,2226,580,42 - generic @288,2230,580,34 - generic @288,2230,479.38,34 - text @288,2230,479.38,18 t="Export bot" - text @288,2248,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,2234,84.62,26 - generic @783.38,2247,0,0 - button #bot:b1:export @791.38,2234,76.62,26 lb="Export bot" tab - text @799.38,2239,60.62,16 t="Export bot" - generic #group-delete @288,2292,580,64 - heading @288,2292,580,18 t="Delete" - generic @288,2314,580,42 - generic @288,2314,580,42 - generic @288,2318,580,34 - generic @288,2318,452.88,34 - text @288,2318,452.88,18 t="Delete this bot" - text @288,2336,452.88,16 t="Its folder moves to the Trash." - generic @756.88,2322,111.12,26 - button #bot:b1:delete @756.88,2322,111.12,26 lb="Delete this bot…" tab - text @764.88,2327,95.12,16 t="Delete this bot…" - generic @288,2356,580,16 + generic #group-fallback @288,606,580,80 + heading @288,606,580,18 t="Fallback" + generic @288,628,580,58 + generic @288,628,580,58 + generic @288,632,580,50 + generic @288,632,336,50 + text @288,632,336,18 t="Fallback model" + text @288,650,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,642,228,30 + generic @640,657,0,0 + combobox #bot:b1:fallback @648,642,220,30 lb="None" tab + text @807.96,648,32.04,18 t="None" + image @844,651,12,12 deco + generic #group-tokens @288,710,580,326 + heading @288,710,580,18 t="Tokens" + generic @288,732,580,304 + generic @288,732,580,42 + generic @288,736,580,34 + generic @288,736,470.13,34 + text @288,736,470.13,18 t="Used today" + text @288,754,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,744,93.87,18 + text #bot:b1:used-today @774.13,744,93.87,18 t="188,400 tokens" + generic @288,774,580,58 + generic @288,778,580,50 + generic @288,778,459.5,50 + text @288,778,459.5,18 t="Used this month" + text @288,796,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,794,104.5,18 + text #bot:b1:used-month @763.5,794,104.5,18 t="2,991,000 tokens" + generic @288,832,580,42 + generic @288,836,580,34 + generic @288,836,452,34 + text @288,836,452,18 t="Limit per day" + text @288,854,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,838,112,30 + textbox #bot:b1:limit-day @756,838,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,874,580,42 + generic @288,878,580,34 + generic @288,878,452,34 + text @288,878,452,18 t="Limit per month" + text @288,896,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,880,112,30 + textbox #bot:b1:limit-month @756,880,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,916,580,74 + generic @288,920,580,66 + generic @288,920,344,66 + text @288,920,344,18 t="The limit stops" + text @288,938,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,938,220,30 + combobox #bot:b1:limit-stops @648,938,220,30 lb="Unattended work" tab + text @735.88,944,104.12,18 t="Unattended work" + image @844,947,12,12 deco + generic @288,990,580,46 + button #bot:b1:save-limits @288,998,90.57,30 lb="Save limits" tab + text @300,1004,66.57,18 t="Save limits" + generic #group-may @288,1060,580,336 + heading @288,1060,580,18 t="What the bot may do" + generic @288,1082,580,314 + generic @288,1082,580,38 + generic @288,1086,580,30 + generic @288,1092,336,18 + text @288,1092,336,18 t="Read files" + generic @640,1086,228,30 + generic @640,1101,0,0 + combobox #bot:b1:perm-read @648,1086,220,30 lb="always" tab + text @799.53,1092,40.47,18 t="always" + image @844,1095,12,12 deco + generic @288,1120,580,38 + generic @288,1124,580,30 + generic @288,1130,336,18 + text @288,1130,336,18 t="Change files" + generic @640,1124,228,30 + generic @640,1139,0,0 + combobox #bot:b1:perm-write @648,1124,220,30 lb="ask me" tab + text @797.03,1130,42.97,18 t="ask me" + image @844,1133,12,12 deco + generic @288,1158,580,38 + generic @288,1162,580,30 + generic @288,1168,336,18 + text @288,1168,336,18 t="Run commands" + generic @640,1162,228,30 + generic @640,1177,0,0 + combobox #bot:b1:perm-run @648,1162,220,30 lb="ask me" tab + text @797.03,1168,42.97,18 t="ask me" + image @844,1171,12,12 deco + generic @288,1196,580,74 + generic @288,1200,580,66 + generic @288,1200,332.75,66 + text @288,1200,332.75,18 t="Use connectors" + text @288,1218,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,1218,231.25,30 + generic @636.75,1233,0,0 + combobox #bot:b1:perm-connector @644.75,1218,223.25,30 lb="read-only tools without asking" tab + text @656.75,1224,183.25,18 t="read-only tools without asking" + image @844,1227,12,12 deco + generic @288,1270,580,38 + generic @288,1274,580,30 + generic @288,1280,336,18 + text @288,1280,336,18 t="See and control other apps" + generic @640,1274,228,30 + generic @640,1289,0,0 + combobox #bot:b1:perm-desktop @648,1274,220,30 lb="never" tab + text @806.33,1280,33.67,18 t="never" + image @844,1283,12,12 deco + generic @288,1308,580,44 + generic @288,1312,580,36 + generic @288,1312,336,36 + text @288,1312,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,1315,228,30 + generic @640,1330,0,0 + combobox #bot:b1:perm-apple_read @648,1315,220,30 lb="ask me" tab + text @797.03,1321,42.97,18 t="ask me" + image @844,1324,12,12 deco + generic @288,1352,580,44 + generic @288,1356,580,36 + generic @288,1356,336,36 + text @288,1356,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,1359,228,30 + generic @640,1374,0,0 + combobox #bot:b1:perm-apple_change @648,1359,220,30 lb="ask me" tab + text @797.03,1365,42.97,18 t="ask me" + image @844,1368,12,12 deco + generic #group-always @288,1420,580,106 + heading @288,1420,580,18 t="Always allowed" + generic @288,1442,580,84 + generic @288,1442,580,42 + generic @288,1446,580,34 + generic @288,1446,502.07,34 + text @288,1446,502.07,18 t="Run commands" + text @288,1464,502.07,16 t="ls -l" + generic @806.07,1450,61.93,26 + button #bot:b1:grant-0 @806.07,1450,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,1455,45.93,16 t="Remove" + generic @288,1484,580,42 + generic @288,1488,580,34 + generic @288,1488,502.07,34 + text @288,1488,502.07,18 t="Read files" + text @288,1506,502.07,16 t="notes/pears.md" + generic @806.07,1492,61.93,26 + button #bot:b1:grant-1 @806.07,1492,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,1497,45.93,16 t="Remove" + generic #group-in-conversation @288,1550,580,64 + heading @288,1550,580,18 t="Allowed in one conversation" + generic @288,1572,580,42 + generic @288,1572,580,42 + generic @288,1576,580,34 + generic @288,1576,502.07,34 + text @288,1576,502.07,18 t="Change files" + text @288,1594,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,1580,61.93,26 + button #bot:b1:conversation-grant-0 @806.07,1580,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,1585,45.93,16 t="Remove" + generic #group-blocked @288,1638,580,64 + heading @288,1638,580,18 t="Blocked tools" + generic @288,1660,580,42 + generic @288,1660,580,42 + generic @288,1664,580,34 + generic @288,1664,500.28,34 + text @288,1664,500.28,18 t="Use connectors" + text @288,1682,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,1668,63.72,26 + button #bot:b1:unblock-0 @804.28,1668,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,1673,47.72,16 t="Unblock" + generic #group-secrets @288,1726,580,64 + heading @288,1726,580,18 t="Secrets" + generic @288,1748,580,42 + generic @288,1748,580,42 + generic @288,1752,580,34 + generic @288,1752,502.07,34 + text @288,1752,502.07,18 t="portal-login" + text @288,1770,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,1756,61.93,26 + button #bot:b1:secret-0 @806.07,1756,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,1761,45.93,16 t="Remove" + generic #group-files @288,1814,580,136 + heading @288,1814,580,18 t="Files and network" + generic @288,1836,580,114 + generic @288,1836,580,36 + generic @288,1845,580,18 + generic @288,1845,528,18 + text @288,1845,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,1846,36,16 + generic @832,1854,0,0 + switch #bot:b1:disk @840,1846,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,1848,12,12 + generic @288,1872,580,36 + generic @288,1881,580,18 + generic @288,1881,528,18 + text @288,1881,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,1882,36,16 + generic @832,1890,0,0 + switch #bot:b1:network @840,1882,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,1884,12,12 + generic @288,1908,580,42 + generic @288,1912,580,34 + generic @288,1912,528,34 + text @288,1912,528,18 t="Search the web" + text @288,1930,528,16 t="The search runs at ChatGPT." + generic @832,1921,36,16 + generic @832,1929,0,0 + switch #bot:b1:search @840,1921,28,16 lb="Search the web" ck tab + generic @854,1923,12,12 + generic #group-engine @288,1974,580,268 + heading @288,1974,580,18 t="Engine" + generic @288,1996,580,246 + generic @288,1996,580,38 + generic @288,2000,580,30 + generic @288,2006,336,18 + text @288,2006,336,18 t="Engine" + generic @640,2000,228,30 + generic @640,2015,0,0 + combobox #bot:b1:engine @648,2000,220,30 lb="Bate's own engine" tab + text @729.31,2006,110.69,18 t="Bate's own engine" + image @844,2009,12,12 deco + generic @288,2034,580,42 + generic @288,2038,580,34 + generic @288,2038,361.38,34 + text @288,2038,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,2056,361.38,16 t="Version 0.4.0." + generic @665.38,2042,202.62,26 + generic @665.38,2042,202.62,26 + button #bot:b1:adapter-check-scout-agent @665.38,2042,122.38,26 lb="Check for updates" tab + text @673.38,2047,106.38,16 t="Check for updates" + button #bot:b1:adapter-remove-scout-agent @795.76,2042,72.24,26 lb="Remove…" tab + text @803.76,2047,56.24,16 t="Remove…" + generic @288,2076,580,92 + generic @288,2080,580,18 + text @288,2080,580,18 t="Other agent (not installed)" + generic @288,2106,580,58 + generic @288,2106,580,58 + generic @288,2114,526.09,42 + text @304,2126,494.09,18 t="install-other-agent --global" + button #copy-bot:b1:install-0 @822.09,2122,45.91,26 lb="Copy" tab + text @830.09,2127,29.91,16 t="Copy" + generic @288,2168,580,42 + generic @288,2172,580,34 + generic @288,2172,502.83,34 + text @288,2172,502.83,18 t="Other agent adapter" + text @288,2190,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,2176,61.17,26 + button #bot:b1:adapter-install-other-agent @806.83,2176,61.17,26 lb="Install…" tab + text @814.83,2181,45.17,16 t="Install…" + text @288,2210,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,2266,580,106 + heading @288,2266,580,18 t="Export" + generic @288,2288,580,84 + generic @288,2288,580,42 + generic @288,2292,580,34 + generic @288,2292,536,34 + text @288,2292,536,18 t="With notes" + text @288,2310,536,16 t="Its memory notes go in the file too." + generic @840,2301,28,16 + switch #bot:b1:export-notes @840,2301,28,16 lb="With notes" ck=false tab + generic @842,2303,12,12 + generic @288,2330,580,42 + generic @288,2334,580,34 + generic @288,2334,479.38,34 + text @288,2334,479.38,18 t="Export bot" + text @288,2352,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,2338,84.62,26 + generic @783.38,2351,0,0 + button #bot:b1:export @791.38,2338,76.62,26 lb="Export bot" tab + text @799.38,2343,60.62,16 t="Export bot" + generic #group-delete @288,2396,580,64 + heading @288,2396,580,18 t="Delete" + generic @288,2418,580,42 + generic @288,2418,580,42 + generic @288,2422,580,34 + generic @288,2422,452.88,34 + text @288,2422,452.88,18 t="Delete this bot" + text @288,2440,452.88,16 t="Its folder moves to the Trash." + generic @756.88,2426,111.12,26 + button #bot:b1:delete @756.88,2426,111.12,26 lb="Delete this bot…" tab + text @764.88,2431,95.12,16 t="Delete this bot…" + generic @288,2460,580,16 generic @892,8,8,744 listbox #bot:b1:check:list @648,296,221.16,214 ovl side="top" generic @648,296,221.16,214 diff --git a/native/tests/snapshots/native-bot-settings-select-light.png b/native/tests/snapshots/native-bot-settings-select-light.png index 2f79a982..f4be10f1 100644 Binary files a/native/tests/snapshots/native-bot-settings-select-light.png and b/native/tests/snapshots/native-bot-settings-select-light.png differ diff --git a/native/tests/snapshots/native-bot-settings-select-light.tree b/native/tests/snapshots/native-bot-settings-select-light.tree index ed939a1e..6ea90d16 100644 --- a/native/tests/snapshots/native-bot-settings-select-light.tree +++ b/native/tests/snapshots/native-bot-settings-select-light.tree @@ -135,11 +135,11 @@ generic @0,0,900,760 text @393.44,24,42.68,20 t="Maple" text @444.11,24,55.4,20 t="Settings" image @507.52,28,12,12 deco - generic #bot-settings @264,60,628,692 sc=0,200,0,1828 - generic @288,-132,580,2504 - generic @288,-132,580,2504 + generic #bot-settings @264,60,628,692 sc=0,200,0,1932 + generic @288,-132,580,2608 + generic @288,-132,580,2608 generic @288,-132,580,16 - generic @288,-116,580,2472 + generic @288,-116,580,2576 generic #group-pause @288,-116,580,80 heading @288,-116,580,18 t="Pause" generic @288,-94,580,58 @@ -257,269 +257,282 @@ generic @0,0,900,760 combobox #bot:b1:check @648,514,220,30 lb="Bot Quill" tab text @788.68,520,51.32,18 t="Bot Quill" image @844,523,12,12 deco - generic #group-tokens @288,606,580,326 - heading @288,606,580,18 t="Tokens" - generic @288,628,580,304 - generic @288,628,580,42 - generic @288,632,580,34 - generic @288,632,470.13,34 - text @288,632,470.13,18 t="Used today" - text @288,650,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." - generic @774.13,640,93.87,18 - text #bot:b1:used-today @774.13,640,93.87,18 t="188,400 tokens" - generic @288,670,580,58 - generic @288,674,580,50 - generic @288,674,459.5,50 - text @288,674,459.5,18 t="Used this month" - text @288,692,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." - generic @763.5,690,104.5,18 - text #bot:b1:used-month @763.5,690,104.5,18 t="2,991,000 tokens" - generic @288,728,580,42 - generic @288,732,580,34 - generic @288,732,452,34 - text @288,732,452,18 t="Limit per day" - text @288,750,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." - generic @756,734,112,30 - textbox #bot:b1:limit-day @756,734,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end - generic @288,770,580,42 - generic @288,774,580,34 - generic @288,774,452,34 - text @288,774,452,18 t="Limit per month" - text @288,792,452,16 t="Counted from the 1st. Empty: no limit." - generic @756,776,112,30 - textbox #bot:b1:limit-month @756,776,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end - generic @288,812,580,74 - generic @288,816,580,66 - generic @288,816,344,66 - text @288,816,344,18 t="The limit stops" - text @288,834,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." - generic @648,834,220,30 - combobox #bot:b1:limit-stops @648,834,220,30 lb="Unattended work" tab - text @735.88,840,104.12,18 t="Unattended work" - image @844,843,12,12 deco - generic @288,886,580,46 - button #bot:b1:save-limits @288,894,90.57,30 lb="Save limits" tab - text @300,900,66.57,18 t="Save limits" - generic #group-may @288,956,580,336 - heading @288,956,580,18 t="What the bot may do" - generic @288,978,580,314 - generic @288,978,580,38 - generic @288,982,580,30 - generic @288,988,336,18 - text @288,988,336,18 t="Read files" - generic @640,982,228,30 - generic @640,997,0,0 - combobox #bot:b1:perm-read @648,982,220,30 lb="always" tab - text @799.53,988,40.47,18 t="always" - image @844,991,12,12 deco - generic @288,1016,580,38 - generic @288,1020,580,30 - generic @288,1026,336,18 - text @288,1026,336,18 t="Change files" - generic @640,1020,228,30 - generic @640,1035,0,0 - combobox #bot:b1:perm-write @648,1020,220,30 lb="ask me" tab - text @797.03,1026,42.97,18 t="ask me" - image @844,1029,12,12 deco - generic @288,1054,580,38 - generic @288,1058,580,30 - generic @288,1064,336,18 - text @288,1064,336,18 t="Run commands" - generic @640,1058,228,30 - generic @640,1073,0,0 - combobox #bot:b1:perm-run @648,1058,220,30 lb="ask me" tab - text @797.03,1064,42.97,18 t="ask me" - image @844,1067,12,12 deco - generic @288,1092,580,74 - generic @288,1096,580,66 - generic @288,1096,332.75,66 - text @288,1096,332.75,18 t="Use connectors" - text @288,1114,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." - generic @636.75,1114,231.25,30 - generic @636.75,1129,0,0 - combobox #bot:b1:perm-connector @644.75,1114,223.25,30 lb="read-only tools without asking" tab - text @656.75,1120,183.25,18 t="read-only tools without asking" - image @844,1123,12,12 deco - generic @288,1166,580,38 - generic @288,1170,580,30 - generic @288,1176,336,18 - text @288,1176,336,18 t="See and control other apps" - generic @640,1170,228,30 - generic @640,1185,0,0 - combobox #bot:b1:perm-desktop @648,1170,220,30 lb="never" tab - text @806.33,1176,33.67,18 t="never" - image @844,1179,12,12 deco - generic @288,1204,580,44 - generic @288,1208,580,36 - generic @288,1208,336,36 - text @288,1208,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" - generic @640,1211,228,30 - generic @640,1226,0,0 - combobox #bot:b1:perm-apple_read @648,1211,220,30 lb="ask me" tab - text @797.03,1217,42.97,18 t="ask me" - image @844,1220,12,12 deco - generic @288,1248,580,44 - generic @288,1252,580,36 - generic @288,1252,336,36 - text @288,1252,336,36 t="Send and change in those apps (always shows what it sends)" - generic @640,1255,228,30 - generic @640,1270,0,0 - combobox #bot:b1:perm-apple_change @648,1255,220,30 lb="ask me" tab - text @797.03,1261,42.97,18 t="ask me" - image @844,1264,12,12 deco - generic #group-always @288,1316,580,106 - heading @288,1316,580,18 t="Always allowed" - generic @288,1338,580,84 - generic @288,1338,580,42 - generic @288,1342,580,34 - generic @288,1342,502.07,34 - text @288,1342,502.07,18 t="Run commands" - text @288,1360,502.07,16 t="ls -l" - generic @806.07,1346,61.93,26 - button #bot:b1:grant-0 @806.07,1346,61.93,26 lb="Remove: Run commands, ls -l" tab - text @814.07,1351,45.93,16 t="Remove" - generic @288,1380,580,42 - generic @288,1384,580,34 - generic @288,1384,502.07,34 - text @288,1384,502.07,18 t="Read files" - text @288,1402,502.07,16 t="notes/pears.md" - generic @806.07,1388,61.93,26 - button #bot:b1:grant-1 @806.07,1388,61.93,26 lb="Remove: Read files, notes/pears.md" tab - text @814.07,1393,45.93,16 t="Remove" - generic #group-in-conversation @288,1446,580,64 - heading @288,1446,580,18 t="Allowed in one conversation" - generic @288,1468,580,42 - generic @288,1468,580,42 - generic @288,1472,580,34 - generic @288,1472,502.07,34 - text @288,1472,502.07,18 t="Change files" - text @288,1490,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." - generic @806.07,1476,61.93,26 - button #bot:b1:conversation-grant-0 @806.07,1476,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab - text @814.07,1481,45.93,16 t="Remove" - generic #group-blocked @288,1534,580,64 - heading @288,1534,580,18 t="Blocked tools" - generic @288,1556,580,42 - generic @288,1556,580,42 - generic @288,1560,580,34 - generic @288,1560,500.28,34 - text @288,1560,500.28,18 t="Use connectors" - text @288,1578,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." - generic @804.28,1564,63.72,26 - button #bot:b1:unblock-0 @804.28,1564,63.72,26 lb="Unblock docs__delete_page" tab - text @812.28,1569,47.72,16 t="Unblock" - generic #group-secrets @288,1622,580,64 - heading @288,1622,580,18 t="Secrets" - generic @288,1644,580,42 - generic @288,1644,580,42 - generic @288,1648,580,34 - generic @288,1648,502.07,34 - text @288,1648,502.07,18 t="portal-login" - text @288,1666,502.07,16 t="For portal.example.net. The bot types it there and never sees it." - generic @806.07,1652,61.93,26 - button #bot:b1:secret-0 @806.07,1652,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab - text @814.07,1657,45.93,16 t="Remove" - generic #group-files @288,1710,580,136 - heading @288,1710,580,18 t="Files and network" - generic @288,1732,580,114 - generic @288,1732,580,36 - generic @288,1741,580,18 - generic @288,1741,528,18 - text @288,1741,528,18 t="Whole disk (otherwise only the bot's folder)" - generic @832,1742,36,16 - generic @832,1750,0,0 - switch #bot:b1:disk @840,1742,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab - generic @842,1744,12,12 - generic @288,1768,580,36 - generic @288,1777,580,18 - generic @288,1777,528,18 - text @288,1777,528,18 t="Commands reach only these hosts (otherwise any host)" - generic @832,1778,36,16 - generic @832,1786,0,0 - switch #bot:b1:network @840,1778,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab - generic @842,1780,12,12 - generic @288,1804,580,42 - generic @288,1808,580,34 - generic @288,1808,528,34 - text @288,1808,528,18 t="Search the web" - text @288,1826,528,16 t="The search runs at ChatGPT." - generic @832,1817,36,16 - generic @832,1825,0,0 - switch #bot:b1:search @840,1817,28,16 lb="Search the web" ck tab - generic @854,1819,12,12 - generic #group-engine @288,1870,580,268 - heading @288,1870,580,18 t="Engine" - generic @288,1892,580,246 - generic @288,1892,580,38 - generic @288,1896,580,30 - generic @288,1902,336,18 - text @288,1902,336,18 t="Engine" - generic @640,1896,228,30 - generic @640,1911,0,0 - combobox #bot:b1:engine @648,1896,220,30 lb="Bate's own engine" tab - text @729.31,1902,110.69,18 t="Bate's own engine" - image @844,1905,12,12 deco - generic @288,1930,580,42 - generic @288,1934,580,34 - generic @288,1934,361.38,34 - text @288,1934,361.38,18 t="Scout agent adapter, installed by Bate" - text @288,1952,361.38,16 t="Version 0.4.0." - generic @665.38,1938,202.62,26 - generic @665.38,1938,202.62,26 - button #bot:b1:adapter-check-scout-agent @665.38,1938,122.38,26 lb="Check for updates" tab - text @673.38,1943,106.38,16 t="Check for updates" - button #bot:b1:adapter-remove-scout-agent @795.76,1938,72.24,26 lb="Remove…" tab - text @803.76,1943,56.24,16 t="Remove…" - generic @288,1972,580,92 - generic @288,1976,580,18 - text @288,1976,580,18 t="Other agent (not installed)" - generic @288,2002,580,58 - generic @288,2002,580,58 - generic @288,2010,526.09,42 - text @304,2022,494.09,18 t="install-other-agent --global" - button #copy-bot:b1:install-0 @822.09,2018,45.91,26 lb="Copy" tab - text @830.09,2023,29.91,16 t="Copy" - generic @288,2064,580,42 - generic @288,2068,580,34 - generic @288,2068,502.83,34 - text @288,2068,502.83,18 t="Other agent adapter" - text @288,2086,502.83,16 t="Bate can fetch the program that connects it, into its own folder." - generic @806.83,2072,61.17,26 - button #bot:b1:adapter-install-other-agent @806.83,2072,61.17,26 lb="Install…" tab - text @814.83,2077,45.17,16 t="Install…" - text @288,2106,580,32 t="Bate looks again each time these settings are opened." - generic #group-export @288,2162,580,106 - heading @288,2162,580,18 t="Export" - generic @288,2184,580,84 - generic @288,2184,580,42 - generic @288,2188,580,34 - generic @288,2188,536,34 - text @288,2188,536,18 t="With notes" - text @288,2206,536,16 t="Its memory notes go in the file too." - generic @840,2197,28,16 - switch #bot:b1:export-notes @840,2197,28,16 lb="With notes" ck=false tab - generic @842,2199,12,12 - generic @288,2226,580,42 - generic @288,2230,580,34 - generic @288,2230,479.38,34 - text @288,2230,479.38,18 t="Export bot" - text @288,2248,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." - generic @783.38,2234,84.62,26 - generic @783.38,2247,0,0 - button #bot:b1:export @791.38,2234,76.62,26 lb="Export bot" tab - text @799.38,2239,60.62,16 t="Export bot" - generic #group-delete @288,2292,580,64 - heading @288,2292,580,18 t="Delete" - generic @288,2314,580,42 - generic @288,2314,580,42 - generic @288,2318,580,34 - generic @288,2318,452.88,34 - text @288,2318,452.88,18 t="Delete this bot" - text @288,2336,452.88,16 t="Its folder moves to the Trash." - generic @756.88,2322,111.12,26 - button #bot:b1:delete @756.88,2322,111.12,26 lb="Delete this bot…" tab - text @764.88,2327,95.12,16 t="Delete this bot…" - generic @288,2356,580,16 + generic #group-fallback @288,606,580,80 + heading @288,606,580,18 t="Fallback" + generic @288,628,580,58 + generic @288,628,580,58 + generic @288,632,580,50 + generic @288,632,336,50 + text @288,632,336,18 t="Fallback model" + text @288,650,336,32 t="Used for the rest of a turn when the bot's model hits a rate limit, quota, or server error." + generic @640,642,228,30 + generic @640,657,0,0 + combobox #bot:b1:fallback @648,642,220,30 lb="None" tab + text @807.96,648,32.04,18 t="None" + image @844,651,12,12 deco + generic #group-tokens @288,710,580,326 + heading @288,710,580,18 t="Tokens" + generic @288,732,580,304 + generic @288,732,580,42 + generic @288,736,580,34 + generic @288,736,470.13,34 + text @288,736,470.13,18 t="Used today" + text @288,754,470.13,16 t="Input 182,000 (120,000 from the cache), output 6,400." + generic @774.13,744,93.87,18 + text #bot:b1:used-today @774.13,744,93.87,18 t="188,400 tokens" + generic @288,774,580,58 + generic @288,778,580,50 + generic @288,778,459.5,50 + text @288,778,459.5,18 t="Used this month" + text @288,796,459.5,32 t="Input 2,900,000 (1,800,000 from the cache), output 91,000. 2 requests were not reported and are not in it." + generic @763.5,794,104.5,18 + text #bot:b1:used-month @763.5,794,104.5,18 t="2,991,000 tokens" + generic @288,832,580,42 + generic @288,836,580,34 + generic @288,836,452,34 + text @288,836,452,18 t="Limit per day" + text @288,854,452,16 t="Input and output tokens, counted from midnight. Empty: no limit." + generic @756,838,112,30 + textbox #bot:b1:limit-day @756,838,112,30 lb="Limit per day" v="500000" ph="No limit" sel=[6,6] caret=6 tab sc=0,0,0,0 end + generic @288,874,580,42 + generic @288,878,580,34 + generic @288,878,452,34 + text @288,878,452,18 t="Limit per month" + text @288,896,452,16 t="Counted from the 1st. Empty: no limit." + generic @756,880,112,30 + textbox #bot:b1:limit-month @756,880,112,30 lb="Limit per month" v="6000000" ph="No limit" sel=[7,7] caret=7 tab sc=0,0,0,0 end + generic @288,916,580,74 + generic @288,920,580,66 + generic @288,920,344,66 + text @288,920,344,18 t="The limit stops" + text @288,938,344,48 t="Unattended work is routines and messages from other bots and from channels. A turn that reaches the limit ends with the reason; a routine is skipped." + generic @648,938,220,30 + combobox #bot:b1:limit-stops @648,938,220,30 lb="Unattended work" tab + text @735.88,944,104.12,18 t="Unattended work" + image @844,947,12,12 deco + generic @288,990,580,46 + button #bot:b1:save-limits @288,998,90.57,30 lb="Save limits" tab + text @300,1004,66.57,18 t="Save limits" + generic #group-may @288,1060,580,336 + heading @288,1060,580,18 t="What the bot may do" + generic @288,1082,580,314 + generic @288,1082,580,38 + generic @288,1086,580,30 + generic @288,1092,336,18 + text @288,1092,336,18 t="Read files" + generic @640,1086,228,30 + generic @640,1101,0,0 + combobox #bot:b1:perm-read @648,1086,220,30 lb="always" tab + text @799.53,1092,40.47,18 t="always" + image @844,1095,12,12 deco + generic @288,1120,580,38 + generic @288,1124,580,30 + generic @288,1130,336,18 + text @288,1130,336,18 t="Change files" + generic @640,1124,228,30 + generic @640,1139,0,0 + combobox #bot:b1:perm-write @648,1124,220,30 lb="ask me" tab + text @797.03,1130,42.97,18 t="ask me" + image @844,1133,12,12 deco + generic @288,1158,580,38 + generic @288,1162,580,30 + generic @288,1168,336,18 + text @288,1168,336,18 t="Run commands" + generic @640,1162,228,30 + generic @640,1177,0,0 + combobox #bot:b1:perm-run @648,1162,220,30 lb="ask me" tab + text @797.03,1168,42.97,18 t="ask me" + image @844,1171,12,12 deco + generic @288,1196,580,74 + generic @288,1200,580,66 + generic @288,1200,332.75,66 + text @288,1200,332.75,18 t="Use connectors" + text @288,1218,332.75,48 t="A tool its connector marks read-only runs without a question once you have confirmed it under Add-ons. Every other tool asks." + generic @636.75,1218,231.25,30 + generic @636.75,1233,0,0 + combobox #bot:b1:perm-connector @644.75,1218,223.25,30 lb="read-only tools without asking" tab + text @656.75,1224,183.25,18 t="read-only tools without asking" + image @844,1227,12,12 deco + generic @288,1270,580,38 + generic @288,1274,580,30 + generic @288,1280,336,18 + text @288,1280,336,18 t="See and control other apps" + generic @640,1274,228,30 + generic @640,1289,0,0 + combobox #bot:b1:perm-desktop @648,1274,220,30 lb="never" tab + text @806.33,1280,33.67,18 t="never" + image @844,1283,12,12 deco + generic @288,1308,580,44 + generic @288,1312,580,36 + generic @288,1312,336,36 + text @288,1312,336,36 t="Read Messages, Mail, Notes, Reminders, Calendar, Contacts" + generic @640,1315,228,30 + generic @640,1330,0,0 + combobox #bot:b1:perm-apple_read @648,1315,220,30 lb="ask me" tab + text @797.03,1321,42.97,18 t="ask me" + image @844,1324,12,12 deco + generic @288,1352,580,44 + generic @288,1356,580,36 + generic @288,1356,336,36 + text @288,1356,336,36 t="Send and change in those apps (always shows what it sends)" + generic @640,1359,228,30 + generic @640,1374,0,0 + combobox #bot:b1:perm-apple_change @648,1359,220,30 lb="ask me" tab + text @797.03,1365,42.97,18 t="ask me" + image @844,1368,12,12 deco + generic #group-always @288,1420,580,106 + heading @288,1420,580,18 t="Always allowed" + generic @288,1442,580,84 + generic @288,1442,580,42 + generic @288,1446,580,34 + generic @288,1446,502.07,34 + text @288,1446,502.07,18 t="Run commands" + text @288,1464,502.07,16 t="ls -l" + generic @806.07,1450,61.93,26 + button #bot:b1:grant-0 @806.07,1450,61.93,26 lb="Remove: Run commands, ls -l" tab + text @814.07,1455,45.93,16 t="Remove" + generic @288,1484,580,42 + generic @288,1488,580,34 + generic @288,1488,502.07,34 + text @288,1488,502.07,18 t="Read files" + text @288,1506,502.07,16 t="notes/pears.md" + generic @806.07,1492,61.93,26 + button #bot:b1:grant-1 @806.07,1492,61.93,26 lb="Remove: Read files, notes/pears.md" tab + text @814.07,1497,45.93,16 t="Remove" + generic #group-in-conversation @288,1550,580,64 + heading @288,1550,580,18 t="Allowed in one conversation" + generic @288,1572,580,42 + generic @288,1572,580,42 + generic @288,1576,580,34 + generic @288,1576,502.07,34 + text @288,1576,502.07,18 t="Change files" + text @288,1594,502.07,16 t="notes/plums.md in “Plum jam, three ways”. It ends with that conversation." + generic @806.07,1580,61.93,26 + button #bot:b1:conversation-grant-0 @806.07,1580,61.93,26 lb="Remove: Change files, notes/plums.md, in one conversation" tab + text @814.07,1585,45.93,16 t="Remove" + generic #group-blocked @288,1638,580,64 + heading @288,1638,580,18 t="Blocked tools" + generic @288,1660,580,42 + generic @288,1660,580,42 + generic @288,1664,580,34 + generic @288,1664,500.28,34 + text @288,1664,500.28,18 t="Use connectors" + text @288,1682,500.28,16 t="docs__delete_page: not offered to the bot, and refused if called." + generic @804.28,1668,63.72,26 + button #bot:b1:unblock-0 @804.28,1668,63.72,26 lb="Unblock docs__delete_page" tab + text @812.28,1673,47.72,16 t="Unblock" + generic #group-secrets @288,1726,580,64 + heading @288,1726,580,18 t="Secrets" + generic @288,1748,580,42 + generic @288,1748,580,42 + generic @288,1752,580,34 + generic @288,1752,502.07,34 + text @288,1752,502.07,18 t="portal-login" + text @288,1770,502.07,16 t="For portal.example.net. The bot types it there and never sees it." + generic @806.07,1756,61.93,26 + button #bot:b1:secret-0 @806.07,1756,61.93,26 lb="Remove the secret portal-login for portal.example.net" tab + text @814.07,1761,45.93,16 t="Remove" + generic #group-files @288,1814,580,136 + heading @288,1814,580,18 t="Files and network" + generic @288,1836,580,114 + generic @288,1836,580,36 + generic @288,1845,580,18 + generic @288,1845,528,18 + text @288,1845,528,18 t="Whole disk (otherwise only the bot's folder)" + generic @832,1846,36,16 + generic @832,1854,0,0 + switch #bot:b1:disk @840,1846,28,16 lb="Whole disk (otherwise only the bot's folder)" ck=false tab + generic @842,1848,12,12 + generic @288,1872,580,36 + generic @288,1881,580,18 + generic @288,1881,528,18 + text @288,1881,528,18 t="Commands reach only these hosts (otherwise any host)" + generic @832,1882,36,16 + generic @832,1890,0,0 + switch #bot:b1:network @840,1882,28,16 lb="Commands reach only these hosts (otherwise any host)" ck=false tab + generic @842,1884,12,12 + generic @288,1908,580,42 + generic @288,1912,580,34 + generic @288,1912,528,34 + text @288,1912,528,18 t="Search the web" + text @288,1930,528,16 t="The search runs at ChatGPT." + generic @832,1921,36,16 + generic @832,1929,0,0 + switch #bot:b1:search @840,1921,28,16 lb="Search the web" ck tab + generic @854,1923,12,12 + generic #group-engine @288,1974,580,268 + heading @288,1974,580,18 t="Engine" + generic @288,1996,580,246 + generic @288,1996,580,38 + generic @288,2000,580,30 + generic @288,2006,336,18 + text @288,2006,336,18 t="Engine" + generic @640,2000,228,30 + generic @640,2015,0,0 + combobox #bot:b1:engine @648,2000,220,30 lb="Bate's own engine" tab + text @729.31,2006,110.69,18 t="Bate's own engine" + image @844,2009,12,12 deco + generic @288,2034,580,42 + generic @288,2038,580,34 + generic @288,2038,361.38,34 + text @288,2038,361.38,18 t="Scout agent adapter, installed by Bate" + text @288,2056,361.38,16 t="Version 0.4.0." + generic @665.38,2042,202.62,26 + generic @665.38,2042,202.62,26 + button #bot:b1:adapter-check-scout-agent @665.38,2042,122.38,26 lb="Check for updates" tab + text @673.38,2047,106.38,16 t="Check for updates" + button #bot:b1:adapter-remove-scout-agent @795.76,2042,72.24,26 lb="Remove…" tab + text @803.76,2047,56.24,16 t="Remove…" + generic @288,2076,580,92 + generic @288,2080,580,18 + text @288,2080,580,18 t="Other agent (not installed)" + generic @288,2106,580,58 + generic @288,2106,580,58 + generic @288,2114,526.09,42 + text @304,2126,494.09,18 t="install-other-agent --global" + button #copy-bot:b1:install-0 @822.09,2122,45.91,26 lb="Copy" tab + text @830.09,2127,29.91,16 t="Copy" + generic @288,2168,580,42 + generic @288,2172,580,34 + generic @288,2172,502.83,34 + text @288,2172,502.83,18 t="Other agent adapter" + text @288,2190,502.83,16 t="Bate can fetch the program that connects it, into its own folder." + generic @806.83,2176,61.17,26 + button #bot:b1:adapter-install-other-agent @806.83,2176,61.17,26 lb="Install…" tab + text @814.83,2181,45.17,16 t="Install…" + text @288,2210,580,32 t="Bate looks again each time these settings are opened." + generic #group-export @288,2266,580,106 + heading @288,2266,580,18 t="Export" + generic @288,2288,580,84 + generic @288,2288,580,42 + generic @288,2292,580,34 + generic @288,2292,536,34 + text @288,2292,536,18 t="With notes" + text @288,2310,536,16 t="Its memory notes go in the file too." + generic @840,2301,28,16 + switch #bot:b1:export-notes @840,2301,28,16 lb="With notes" ck=false tab + generic @842,2303,12,12 + generic @288,2330,580,42 + generic @288,2334,580,34 + generic @288,2334,479.38,34 + text @288,2334,479.38,18 t="Export bot" + text @288,2352,479.38,16 t="One file to import as a new bot. No sign-ins, keys or chats." + generic @783.38,2338,84.62,26 + generic @783.38,2351,0,0 + button #bot:b1:export @791.38,2338,76.62,26 lb="Export bot" tab + text @799.38,2343,60.62,16 t="Export bot" + generic #group-delete @288,2396,580,64 + heading @288,2396,580,18 t="Delete" + generic @288,2418,580,42 + generic @288,2418,580,42 + generic @288,2422,580,34 + generic @288,2422,452.88,34 + text @288,2422,452.88,18 t="Delete this bot" + text @288,2440,452.88,16 t="Its folder moves to the Trash." + generic @756.88,2426,111.12,26 + button #bot:b1:delete @756.88,2426,111.12,26 lb="Delete this bot…" tab + text @764.88,2431,95.12,16 t="Delete this bot…" + generic @288,2460,580,16 generic @892,8,8,744 listbox #bot:b1:check:list @648,296,221.16,214 ovl side="top" generic @648,296,221.16,214 diff --git a/proto/src/lib.rs b/proto/src/lib.rs index 63719d0b..fb8733d3 100644 --- a/proto/src/lib.rs +++ b/proto/src/lib.rs @@ -88,6 +88,9 @@ pub enum Op { #[serde(default, skip_serializing_if = "Option::is_none")] effort: Option, }, + /// Backup model used for the rest of a turn when the primary model fails due to rate limits, + /// quota, or server/network errors; empty clears it. + FallbackModel { model: String }, /// Go back to `entry`: in place, or as a new conversation when `fork`. Rewind { entry: String, fork: bool }, /// Summarise the working context now. @@ -350,6 +353,12 @@ pub enum Event { wait_ms: u64, error: String, }, + /// Primary model failed after retries (or hit quota); engine switched to `to` for this turn. + Fallback { + from: String, + to: String, + error: String, + }, /// What the check of the bot's answer said, with the check's own words in `note`, and the /// `by` that made it: a model's name, or a bot's (empty when none was reached). Part of the transcript, between the /// bot's text and the end of the turn; never the bot's text. diff --git a/window/ui/src/Chat.tsx b/window/ui/src/Chat.tsx index 4303591c..97a8f876 100644 --- a/window/ui/src/Chat.tsx +++ b/window/ui/src/Chat.tsx @@ -765,6 +765,12 @@ function Row({ item, busy, working, since, firstOfDay, chosen, setFold, fixed, r The model did not answer ({item.error}). Trying again in {Math.max(1, Math.round(item.waitMs / 1000))} s (retry {item.attempt} of {item.of}).

); + case "fallback": + return ( +

+ Switched to fallback model {item.to} ({item.from} failed: {item.error}). +

+ ); case "ended": { // The newest line only: an older turn's end is past mending from here. const retryIt = latest && again && ; diff --git a/window/ui/src/Settings.tsx b/window/ui/src/Settings.tsx index f5313b1b..d385141f 100644 --- a/window/ui/src/Settings.tsx +++ b/window/ui/src/Settings.tsx @@ -172,6 +172,27 @@ export function Settings({ bot, onDeleted }: { bot: Bot; onDeleted: () => void } )} + {!bot.agent && ( + + + + + + )} {usage && ( <> diff --git a/window/ui/src/chat.test.ts b/window/ui/src/chat.test.ts index 8cf0c5d6..c129104b 100644 --- a/window/ui/src/chat.test.ts +++ b/window/ui/src/chat.test.ts @@ -178,6 +178,20 @@ test("a retry and a turn that hit its step limit each get a line", () => { ]); }); +test("a fallback switch gets its own line in the conversation", () => { + const entries: Entry[] = [ + { type: "prompt", nonce: "n1", text: "go" }, + { type: "fallback", from: "primary", to: "backup", error: "the model server answered 503" }, + { type: "text", delta: "ok" }, + { type: "turn_end", reason: "done" }, + ]; + const chat = build(entries.map((entry, i) => ({ seq: i + 1, entry }))); + assert.deepEqual(chat.slice(1), [ + { id: 2, kind: "fallback", from: "primary", to: "backup", error: "the model server answered 503" }, + { id: 3, kind: "reply", text: "ok" }, + ]); +}); + const call = (n: number, tool: string, args: unknown, output?: string, isError = false): Entry[] => [ { type: "tool_start", call: `c${n}`, tool, args }, ...(output === undefined ? [] : [{ type: "tool_end", call: `c${n}`, output, isError } as Entry]), diff --git a/window/ui/src/chat.ts b/window/ui/src/chat.ts index 5fea5182..2e985494 100644 --- a/window/ui/src/chat.ts +++ b/window/ui/src/chat.ts @@ -12,6 +12,7 @@ export type Entry = | { type: "undone"; undo: string } | ({ type: "question" } & Question) | { type: "retry"; attempt: number; of: number; waitMs: number; error: string } + | { type: "fallback"; from: string; to: string; error: string } | { type: "turn_end"; reason: string; error?: string } | { type: "steered"; text: string } // What the check of the bot's answer said; `note` is the check's own words. @@ -40,6 +41,7 @@ export type Item = { id: number } & ( | { kind: "steered"; text: string } | { kind: "checked"; result: CheckResult; note: string; by?: string } | { kind: "retrying"; attempt: number; of: number; waitMs: number; error: string } + | { kind: "fallback"; from: string; to: string; error: string } | { kind: "forked" } ); @@ -160,6 +162,9 @@ function put(items: Item[], { seq: id, at, entry }: Row) { case "retry": items.push({ id, kind: "retrying", attempt: entry.attempt, of: entry.of, waitMs: entry.waitMs, error: entry.error }); break; + case "fallback": + items.push({ id, kind: "fallback", from: entry.from, to: entry.to, error: entry.error }); + break; case "turn_end": // The turn that ends is the newest one that began and has not ended. if (at !== undefined) mark(items, (said) => said.began !== undefined && said.took === undefined, (said) => ({ took: at - (said.began ?? at) })); diff --git a/window/ui/src/types.ts b/window/ui/src/types.ts index 63860c91..b76ef035 100644 --- a/window/ui/src/types.ts +++ b/window/ui/src/types.ts @@ -33,6 +33,8 @@ export type Bot = { /** Chosen with `set_model`; absent: the engine's default. */ model?: string; effort?: string; + /** Backup model used when the primary model fails due to rate limits, quota, or server errors. */ + fallbackModel?: string; /** The project the bot is in, if any. */ project?: { id: string; name: string }; };