Complete agent monitoring and Galaxy Control integration
- expose command-monitor conversations and preserve visible agent transcripts - add bounded polling and a dedicated shell interrupt tool - improve direct-provider images, skills, tool history, and usage handling - package and brand Galaxy Control across releases, installers, persistence, and docs
This commit is contained in:
Executable
+42
@@ -0,0 +1,42 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
workspace_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
temp_dir="$(mktemp -d)"
|
||||
trap 'rm -rf "$temp_dir"' EXIT
|
||||
|
||||
bundle_dir="$temp_dir/GalaxyDev.app/Contents"
|
||||
wrapper_path="$bundle_dir/Resources/bin/galaxyctrl-dev"
|
||||
binary_path="$bundle_dir/MacOS/galaxy-dev"
|
||||
installed_path="$temp_dir/usr/local/bin/galaxyctrl-dev"
|
||||
forwarded_args_file="$temp_dir/forwarded-args"
|
||||
expected_args_file="$temp_dir/expected-args"
|
||||
|
||||
mkdir -p "$(dirname "$binary_path")" "$(dirname "$installed_path")"
|
||||
cat > "$binary_path" << 'EOF'
|
||||
#!/bin/bash
|
||||
printf '%s\n' "$@" > "$FORWARDED_ARGS_FILE"
|
||||
EOF
|
||||
chmod +x "$binary_path"
|
||||
|
||||
"$workspace_root/script/macos/create_galaxyctrl_wrapper" \
|
||||
"$wrapper_path" \
|
||||
"../../MacOS/galaxy-dev"
|
||||
|
||||
cat > "$expected_args_file" << 'EOF'
|
||||
--galaxyctrl
|
||||
tab
|
||||
create
|
||||
--instance
|
||||
inst 123
|
||||
EOF
|
||||
|
||||
FORWARDED_ARGS_FILE="$forwarded_args_file" \
|
||||
"$wrapper_path" tab create --instance "inst 123"
|
||||
cmp "$expected_args_file" "$forwarded_args_file"
|
||||
|
||||
ln -s "$wrapper_path" "$installed_path"
|
||||
FORWARDED_ARGS_FILE="$forwarded_args_file" \
|
||||
"$installed_path" tab create --instance "inst 123"
|
||||
cmp "$expected_args_file" "$forwarded_args_file"
|
||||
Reference in New Issue
Block a user