diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 6a4030a..a581cc9 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -11,7 +11,7 @@ "name": "asta", "source": "./plugins/asta", "description": "Paper search, metadata, document management, and theory generation for scientific research", - "version": "0.19.1", + "version": "0.19.2", "author": { "name": "Ai2 Asta Team" }, @@ -29,7 +29,7 @@ "name": "asta-preview", "source": "./plugins/asta-preview", "description": "Paper search, metadata, document management, literature reports, experiments, and theory generation for scientific research", - "version": "0.19.1", + "version": "0.19.2", "author": { "name": "Ai2 Asta Team" }, diff --git a/plugins/asta-preview/hooks/sync-cli-version.sh b/plugins/asta-preview/hooks/sync-cli-version.sh index 6aed87d..566e1d7 100755 --- a/plugins/asta-preview/hooks/sync-cli-version.sh +++ b/plugins/asta-preview/hooks/sync-cli-version.sh @@ -1,7 +1,7 @@ #!/bin/bash # Check if asta CLI version matches the plugin version and auto-install/update if needed -PLUGIN_VERSION=0.19.1 +PLUGIN_VERSION=0.19.2 INSTALL_URL="git+https://github.com/allenai/asta-plugins.git@v$PLUGIN_VERSION" # Check if asta is installed diff --git a/plugins/asta-preview/skills/asta-cli/SKILL.md b/plugins/asta-preview/skills/asta-cli/SKILL.md index 1b8da8e..38fe113 100644 --- a/plugins/asta-preview/skills/asta-cli/SKILL.md +++ b/plugins/asta-preview/skills/asta-cli/SKILL.md @@ -18,7 +18,7 @@ Installs the `asta` CLI for agents that don't install it automatically via a plu **Prerequisites:** Python 3.11+ and [uv](https://docs.astral.sh/uv/). ```bash -PLUGIN_VERSION=0.19.1 +PLUGIN_VERSION=0.19.2 INSTALL_URL="git+https://github.com/allenai/asta-plugins.git@v$PLUGIN_VERSION" if ! command -v asta &> /dev/null; then diff --git a/plugins/asta/hooks/sync-cli-version.sh b/plugins/asta/hooks/sync-cli-version.sh index 6aed87d..566e1d7 100755 --- a/plugins/asta/hooks/sync-cli-version.sh +++ b/plugins/asta/hooks/sync-cli-version.sh @@ -1,7 +1,7 @@ #!/bin/bash # Check if asta CLI version matches the plugin version and auto-install/update if needed -PLUGIN_VERSION=0.19.1 +PLUGIN_VERSION=0.19.2 INSTALL_URL="git+https://github.com/allenai/asta-plugins.git@v$PLUGIN_VERSION" # Check if asta is installed diff --git a/plugins/asta/skills/asta-cli/SKILL.md b/plugins/asta/skills/asta-cli/SKILL.md index 1b8da8e..38fe113 100644 --- a/plugins/asta/skills/asta-cli/SKILL.md +++ b/plugins/asta/skills/asta-cli/SKILL.md @@ -18,7 +18,7 @@ Installs the `asta` CLI for agents that don't install it automatically via a plu **Prerequisites:** Python 3.11+ and [uv](https://docs.astral.sh/uv/). ```bash -PLUGIN_VERSION=0.19.1 +PLUGIN_VERSION=0.19.2 INSTALL_URL="git+https://github.com/allenai/asta-plugins.git@v$PLUGIN_VERSION" if ! command -v asta &> /dev/null; then diff --git a/pyproject.toml b/pyproject.toml index ecc7f72..e4a379f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "asta" -version = "0.19.1" +version = "0.19.2" description = "Asta CLI for scientific literature review" readme = "README.md" requires-python = ">=3.11" diff --git a/src/asta/__init__.py b/src/asta/__init__.py index c81e2bf..b1ddebe 100644 --- a/src/asta/__init__.py +++ b/src/asta/__init__.py @@ -1,3 +1,3 @@ """Asta - Science literature research tools""" -__version__ = "0.19.1" +__version__ = "0.19.2" diff --git a/src/asta/pdf_extraction/remote.py b/src/asta/pdf_extraction/remote.py index f68193b..ec2d53d 100644 --- a/src/asta/pdf_extraction/remote.py +++ b/src/asta/pdf_extraction/remote.py @@ -84,6 +84,7 @@ def remote(pdf: str, output: str | None, start_page: int, max_pages: int, images headers={"Authorization": f"Bearer {auth_token}"}, json=request_body, timeout=120.0, + follow_redirects=True, ) if not response.is_success: diff --git a/src/asta/utils/asta.conf b/src/asta/utils/asta.conf index ff0ef85..fecb174 100644 --- a/src/asta/utils/asta.conf +++ b/src/asta/utils/asta.conf @@ -47,6 +47,7 @@ apis { # Remote OCR API for PDF text extraction remote-ocr { base_url = ${auth.gateway_url}"/api/remote-ocr" + base_url = ${?ASTA_REMOTE_OCR_URL} } # Theorizer agent for theory generation @@ -83,7 +84,7 @@ passthrough { tool_name = "asta-documents" install_type = "pypi" install_source = "asta-resource-repository" - minimum_version = "0.4.0" + minimum_version = "0.4.1" command_name = "documents" docstring = "Manage a local library of documents known to Asta" }