merge main

This commit is contained in:
hermes committed 2026-10-06 12:53:24 +00:00
commit 9cb95ac5b6
14 files changed
+665 -34

No files matched your search

+7 -1
View File
@@ -56,12 +56,18 @@ pub fn builtins(models: &[&str]) -> Vec<CmdSpec> {
"switch provider",
Enum(vec!["claude".into(), "codex".into()]),
),
b(
"effort",
"thinking level (tab on an empty line cycles)",
Enum(["off", "low", "medium", "high"].map(String::from).into()),
),
b("compact", "summarize old context", None),
b("new", "start a new session (old one stays resumable)", None),
b("clear", "alias of /new", None),
b("sessions", "browse, resume, delete sessions", None),
b("yolo", "toggle: run every tool without asking", None),
b("lsp", "language server status", None),
b("copy", "copy the last answer to the clipboard", None),
b("usage", "subscription limits, resets, credits", None),
b(
"keys",
@@ -308,7 +314,7 @@ mod tests {
assert_eq!(c("/").items.len(), MAX_ITEMS);
assert_eq!(labels(&c("/mo")), ["/model"]);
assert_eq!(labels(&c("/co")), ["/compact"]);
assert_eq!(labels(&c("/co")), ["/copy", "/compact"]);
let r = c("/rev");
assert_eq!(labels(&r), ["/review"]);
assert_eq!(r.items[0].detail, "skill · code review");