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:
@@ -8,7 +8,7 @@
|
||||
# - OUT_DIR: The directory into which we should place the final package.
|
||||
# - CARGO_TARGET_OUTPUT_DIR: The cargo target directory containing build output.
|
||||
# - RELEASE_CHANNEL: The release channel we're bundling (e.g.: "dev").
|
||||
# - BUNDLE_ID: The app ID for the bundle (e.g.: "dev.warp.WarpDev").
|
||||
# - BUNDLE_ID: The app ID for the bundle (e.g.: "dev.galaxy.GalaxyDev").
|
||||
# - EXECUTABLE_PATH: The path to the compiled executable we want to install.
|
||||
# - BINARY_NAME: The name that the compiled executable should have on the target machine.
|
||||
# - APPIMAGE_NAME: The name of the AppImage file to produce.
|
||||
@@ -16,14 +16,11 @@
|
||||
STAGE_DIR="$DIST_DIR/appimagepkg"
|
||||
APP_DIR="$DIST_DIR/AppDir"
|
||||
|
||||
# Extract channel suffix from BINARY_NAME
|
||||
if [ "$ARTIFACT" = "cli" ]; then
|
||||
CHANNEL_SUFFIX="${BINARY_NAME#oz}"
|
||||
else
|
||||
CHANNEL_SUFFIX="${BINARY_NAME#warp}"
|
||||
if [[ "$ARTIFACT" != "app" ]]; then
|
||||
echo "::error ::AppImage packaging only supports the app artifact" >&2
|
||||
exit 1
|
||||
fi
|
||||
PACKAGE_NAME="warp-terminal$CHANNEL_SUFFIX"
|
||||
|
||||
source "$WORKSPACE_ROOT_DIR/script/linux/package_metadata"
|
||||
|
||||
# Adding NO_STRIP to stop linuxdeploy from attempting to strip symbols
|
||||
# from binaries built on a different arch than the current symbol.
|
||||
@@ -55,9 +52,9 @@ mkdir -p "$STAGE_DIR"
|
||||
OPT_DIR="/opt/warpdotdev/$PACKAGE_NAME"
|
||||
source "$WORKSPACE_ROOT_DIR/script/linux/bundle_install" "$STAGE_DIR"
|
||||
|
||||
# Modify the "Exec=" line in the .desktop file to use the name of the installed
|
||||
# binary and not our /usr/bin symlink (which doesn't exist in an AppImage).
|
||||
sed -i -E 's/Exec=warp-terminal/Exec=warp/' "$STAGE_DIR/usr/share/applications/$BUNDLE_ID.desktop"
|
||||
# The AppImage exposes the staged Cargo binary rather than the package
|
||||
# launcher's /usr/bin symlink, so point the desktop entry at that binary.
|
||||
sed -i -E "s#^Exec=[^ ]+#Exec=$BINARY_NAME#" "$STAGE_DIR/usr/share/applications/$BUNDLE_ID.desktop"
|
||||
|
||||
# Find all icon files from inside the package staging directory.
|
||||
ICON_FILES=( $(find "$STAGE_DIR/usr/share/icons" -name "*.png") )
|
||||
@@ -68,7 +65,7 @@ rm -rf "$APP_DIR"
|
||||
# Run linuxdeploy to create an appropriately-structured AppDir and turn it into
|
||||
# an AppImage, located in OUT_DIR.
|
||||
#
|
||||
# We use a custom input plugin (bundled-resources) to copy Warp's bundled
|
||||
# We use a custom input plugin (bundled-resources) to copy Galaxy's bundled
|
||||
# resources into the AppDir alongside the executable, since linuxdeploy only
|
||||
# deploys the binary, desktop file, and icons by default.
|
||||
cd "$OUT_DIR"
|
||||
|
||||
Reference in New Issue
Block a user