Synced from monorepo
Changes: - Stop hooks for session lifecycle - Add x.ai/session/state and x.ai/session/import ACP methods - Deny-and-continue for auto-mode classifier blocks with denial limits - Drop codebase-upload from dhat soak test - scheduler_create upsert via task_id; retire one-shot tasks - Clipboard: copy file fallback + honest toasts for SSH/Apple Terminal - Polarity-safe syntax colors in minimal mode - Auto mode classifies unvetted env prefixes instead of hard-prompting - Add GROK_CLIPBOARD_NO_OSC52 kill switch to force OSC 52 off
This commit is contained in:
parent
7cfcb20d2b
commit
ba76b0a683
143 changed files with 9465 additions and 3419 deletions
|
|
@ -30,6 +30,13 @@ fn grok_home_override_path_helpers() {
|
|||
"$GROK_HOME/memory/MEMORY.md"
|
||||
);
|
||||
|
||||
// Copy-toast paths follow the same abbreviation convention, so a custom
|
||||
// $GROK_HOME outside $HOME still displays short.
|
||||
assert_eq!(
|
||||
xai_grok_pager::clipboard::display_copy_path(&grok_home.join("last-copy.txt")),
|
||||
"$GROK_HOME/last-copy.txt"
|
||||
);
|
||||
|
||||
assert!(xai_grok_pager::util::is_under_user_grok_home(&memory_path));
|
||||
assert!(!xai_grok_pager::util::is_under_user_grok_home(
|
||||
PathBuf::from("/tmp/other").as_path()
|
||||
|
|
|
|||
Loading…
Reference in a new issue