Cover selected Cursor and Muse release integration
This commit is contained in:
1 parent
c5b59bcfff
commit
d57cec42d4
2 files changed
+10
No files matched your search
@@ -567,6 +567,14 @@ assert_launch hermes env -u HERMES_SESSION_SOURCE hermes chat --yolo --tui "--qu
|
||||
assert_launch copilot copilot --allow-all --interactive "Review this project"
|
||||
pass "agent launcher adapts initial prompts for every supported agent"
|
||||
|
||||
printf '%s\n' "cursor-agent" >"$agent_file"
|
||||
for literal_cursor_prompt in update login help --help $'--option !Crash {$(touch must-not-run)}\ntrailing\\ '; do
|
||||
omarchy-agent-prompt "$literal_cursor_prompt"
|
||||
assert_launched cursor-agent "binds prompt behind the explicit agent subcommand" \
|
||||
cursor-agent --yolo --trust agent -- "$literal_cursor_prompt"
|
||||
done
|
||||
pass "Cursor CLI receives subcommand-like and option-like prompts as literal agent arguments"
|
||||
|
||||
literal_muse_prompt=$'--disable-sandbox !Crash {$(touch must-not-run)}\ntrailing\\ '
|
||||
printf '%s\n' "muse" >"$agent_file"
|
||||
omarchy-agent-prompt "$literal_muse_prompt"
|
||||
|
||||
@@ -57,6 +57,8 @@ chmod +x "$test_tmp/bin"/*
|
||||
PATH="$test_tmp/bin:$PATH" bash -eE "$ROOT/install/user/mise.sh"
|
||||
grep -qx 'mise:settings set upgrade.auto_prune false' "$TEST_CALLS" || fail "new users retain running mise versions"
|
||||
grep -qx 'hermes:' "$TEST_CALLS" || fail "new users receive the Hermes CLI stub"
|
||||
grep -qx 'stub:cursor-agent' "$TEST_CALLS" || fail "new users receive the selected Cursor CLI stub"
|
||||
grep -Fx 'stub:http:muse[url=https://api.meta.ai/muse-launcher.sh,bin=muse,version_list_url=https://api.meta.ai/muse-code/channels/muse-stable,version_json_path=.version] muse' "$TEST_CALLS" >/dev/null || fail "new users receive the selected official Muse launcher stub"
|
||||
! grep -Eq 'stub:.*(ori|antigravity|hey-cli)' "$TEST_CALLS" || fail "mise setup avoids unrelated prerequisites"
|
||||
pass "baseline mise setup tolerates an unfinished Hermes Desktop and disables pruning"
|
||||
: >"$TEST_CALLS"
|
||||
|
||||
Reference in new issue
Block a user