revert ui build and release v1.0.18 (#4820)

This commit is contained in:
Shuchang Zheng
2026-02-19 16:24:41 -08:00
committed by GitHub
parent 151be6d9eb
commit 36e600eeb9
9 changed files with 2955 additions and 2729 deletions

View File

@@ -1,23 +1,13 @@
FROM node:20.12-slim FROM node:20.12-slim
# Install tini for proper signal handling and zombie reaping
RUN apt-get update && apt-get install -y --no-install-recommends tini && rm -rf /var/lib/apt/lists/*
WORKDIR /app WORKDIR /app
COPY ./skyvern-frontend /app COPY ./skyvern-frontend /app
COPY ./entrypoint-skyvernui.sh /app/entrypoint-skyvernui.sh COPY ./entrypoint-skyvernui.sh /app/entrypoint-skyvernui.sh
RUN npm install RUN npm install
# Placeholders for runtime injection (will be replaced by entrypoint script) ENV VITE_API_BASE_URL=http://localhost:8000/api/v1
ENV VITE_API_BASE_URL=__VITE_API_BASE_URL_PLACEHOLDER__ ENV VITE_WSS_BASE_URL=ws://localhost:8000/api/v1
ENV VITE_WSS_BASE_URL=__VITE_WSS_BASE_URL_PLACEHOLDER__ ENV VITE_ARTIFACT_API_BASE_URL=http://localhost:9090
ENV VITE_ARTIFACT_API_BASE_URL=__VITE_ARTIFACT_API_BASE_URL_PLACEHOLDER__
ENV VITE_SKYVERN_API_KEY=__SKYVERN_API_KEY_PLACEHOLDER__
# Build at image time CMD [ "/bin/bash", "/app/entrypoint-skyvernui.sh" ]
RUN npm run build
# Use tini as init for proper signal handling and zombie reaping
ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["/bin/bash", "/app/entrypoint-skyvernui.sh"]

View File

@@ -2,27 +2,9 @@
set -e set -e
# Default values for environment variables # setting api key
VITE_API_BASE_URL="${VITE_API_BASE_URL:-http://localhost:8000/api/v1}" VITE_SKYVERN_API_KEY=$(sed -n 's/.*cred\s*=\s*"\([^"]*\)".*/\1/p' .streamlit/secrets.toml)
VITE_WSS_BASE_URL="${VITE_WSS_BASE_URL:-ws://localhost:8000/api/v1}" export VITE_SKYVERN_API_KEY
VITE_ARTIFACT_API_BASE_URL="${VITE_ARTIFACT_API_BASE_URL:-http://localhost:9090}" npm run start
# Extract API key from secrets file if not provided via environment
if [ -z "$VITE_SKYVERN_API_KEY" ]; then
VITE_SKYVERN_API_KEY=$(sed -n 's/.*cred\s*=\s*"\([^"]*\)".*/\1/p' .streamlit/secrets.toml 2>/dev/null || echo "")
fi
# Inject environment variables into pre-built JS files (replace placeholders)
# Using | as delimiter since URLs contain /
find /app/dist -name "*.js" -exec sed -i \
-e "s|__VITE_API_BASE_URL_PLACEHOLDER__|${VITE_API_BASE_URL}|g" \
-e "s|__VITE_WSS_BASE_URL_PLACEHOLDER__|${VITE_WSS_BASE_URL}|g" \
-e "s|__VITE_ARTIFACT_API_BASE_URL_PLACEHOLDER__|${VITE_ARTIFACT_API_BASE_URL}|g" \
-e "s|__SKYVERN_API_KEY_PLACEHOLDER__|${VITE_SKYVERN_API_KEY}|g" \
{} \;
# Start the servers (no rebuild needed)
# Tini (configured as ENTRYPOINT) handles signal forwarding and zombie reaping
node localServer.js &
node artifactServer.js &
wait

View File

@@ -1,6 +1,6 @@
[project] [project]
name = "skyvern" name = "skyvern"
version = "1.0.17" version = "1.0.18"
description = "" description = ""
authors = [{ name = "Skyvern AI", email = "info@skyvern.com" }] authors = [{ name = "Skyvern AI", email = "info@skyvern.com" }]
requires-python = ">=3.11,<3.14" requires-python = ">=3.11,<3.14"

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{ {
"name": "@skyvern/client", "name": "@skyvern/client",
"version": "1.0.17", "version": "1.0.18",
"private": false, "private": false,
"repository": { "repository": {
"type": "git", "type": "git",

View File

@@ -26,8 +26,8 @@ export class SkyvernClient {
"x-api-key": _options?.apiKey, "x-api-key": _options?.apiKey,
"X-Fern-Language": "JavaScript", "X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@skyvern/client", "X-Fern-SDK-Name": "@skyvern/client",
"X-Fern-SDK-Version": "1.0.17", "X-Fern-SDK-Version": "1.0.18",
"User-Agent": "@skyvern/client/1.0.17", "User-Agent": "@skyvern/client/1.0.18",
"X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version, "X-Fern-Runtime-Version": core.RUNTIME.version,
}, },

View File

@@ -1 +1 @@
export const SDK_VERSION = "1.0.17"; export const SDK_VERSION = "1.0.18";

View File

@@ -22,10 +22,10 @@ class BaseClientWrapper:
def get_headers(self) -> typing.Dict[str, str]: def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = { headers: typing.Dict[str, str] = {
"User-Agent": "skyvern/1.0.17", "User-Agent": "skyvern/1.0.18",
"X-Fern-Language": "Python", "X-Fern-Language": "Python",
"X-Fern-SDK-Name": "skyvern", "X-Fern-SDK-Name": "skyvern",
"X-Fern-SDK-Version": "1.0.17", "X-Fern-SDK-Version": "1.0.18",
**(self.get_custom_headers() or {}), **(self.get_custom_headers() or {}),
} }
if self._api_key is not None: if self._api_key is not None:

5266
uv.lock generated

File diff suppressed because it is too large Load Diff