~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: Pin all remaining GitHub Actions to commit SHAs (comprehensive supply chain security) (#1122)
LearningCircuitee691428c5c8
diff --git a/.github/workflows/accessibility-compliance-tests.yml b/.github/workflows/accessibility-compliance-tests.ymlindex c468373aff..124ce3b7e5 100644--- a/.github/workflows/accessibility-compliance-tests.yml+++ b/.github/workflows/accessibility-compliance-tests.yml@@ -16,15 +16,15 @@ jobs:timeout-minutes: 20steps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up PDM- uses: pdm-project/setup-pdm@v4+ uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.11'- name: Cache pip packages- uses: actions/cache@v4+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4with:path: ~/.cache/pipkey: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}@@ -69,7 +69,7 @@ jobs:- name: Upload accessibility test resultsif: failure()- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: accessibility-test-resultspath: |diff --git a/.github/workflows/ai-code-reviewer.yml b/.github/workflows/ai-code-reviewer.ymlindex b438af55e9..a7bfd5f53f 100644--- a/.github/workflows/ai-code-reviewer.yml+++ b/.github/workflows/ai-code-reviewer.yml@@ -20,7 +20,7 @@ jobs:issues: writesteps:- name: Checkout repository- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:fetch-depth: 0diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.ymlindex 1e009c0687..bbff6aa790 100644--- a/.github/workflows/api-tests.yml+++ b/.github/workflows/api-tests.yml@@ -34,15 +34,15 @@ jobs:--health-retries 5steps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Python- uses: actions/setup-python@v6+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.12'- name: Set up PDM- uses: pdm-project/setup-pdm@v4+ uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.12'@@ -216,7 +216,7 @@ jobs:- name: Upload API test resultsif: always()- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: api-test-resultspath: tests/api_tests/results/diff --git a/.github/workflows/check-env-vars.yml b/.github/workflows/check-env-vars.ymlindex c85d20d7ea..ae2cbb9501 100644--- a/.github/workflows/check-env-vars.yml+++ b/.github/workflows/check-env-vars.yml@@ -21,10 +21,10 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Python- uses: actions/setup-python@v6+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.11'diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex 7f455184b6..a5e6b05b62 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -61,7 +61,7 @@ jobs:# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languagessteps:- name: Checkout repository- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0# Add any setup steps before running the `github/codeql-action/init` action.# This includes steps like installing compilers or runtimes (`actions/setup-node`@@ -71,7 +71,7 @@ jobs:# Initializes the CodeQL tools for scanning.- name: Initialize CodeQL- uses: github/codeql-action/[email protected]+ uses: github/codeql-action/init@32f7c15247fa6542dc765bd40f6a15dc2caeed89 # v4.31.2with:languages: ${{ matrix.language }}build-mode: ${{ matrix.build-mode }}@@ -99,6 +99,6 @@ jobs:exit 1- name: Perform CodeQL Analysis- uses: github/codeql-action/[email protected]+ uses: github/codeql-action/analyze@32f7c15247fa6542dc765bd40f6a15dc2caeed89 # v4.31.2with:category: "/language:${{matrix.language}}"diff --git a/.github/workflows/container-security.yml b/.github/workflows/container-security.ymlindex 917024517e..c1ab3b881e 100644--- a/.github/workflows/container-security.yml+++ b/.github/workflows/container-security.yml@@ -25,13 +25,13 @@ jobs:steps:- name: Checkout code- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v3+ uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3- name: Build Docker image for scanning- uses: docker/build-push-action@v6+ uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6with:context: .push: false@@ -41,7 +41,7 @@ jobs:cache-to: type=gha,mode=max- name: Run Trivy vulnerability scanner- uses: aquasecurity/trivy-action@master+ uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # masterwith:image-ref: local-deep-research:scanformat: 'sarif'@@ -52,14 +52,14 @@ jobs:list-all-pkgs: true- name: Upload Trivy scan results to GitHub Security tab- uses: github/codeql-action/[email protected]+ uses: github/codeql-action/upload-sarif@32f7c15247fa6542dc765bd40f6a15dc2caeed89 # v4.31.2if: always()with:sarif_file: 'trivy-results.sarif'category: container-security- name: Upload Trivy scan results as artifact- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0if: always()with:name: trivy-scan-results@@ -88,10 +88,10 @@ jobs:steps:- name: Checkout code- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Run Trivy config scan on Dockerfile- uses: aquasecurity/trivy-action@master+ uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # masterwith:scan-type: 'config'scan-ref: '.'@@ -100,7 +100,7 @@ jobs:hide-progress: true- name: Upload Trivy config scan results- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0if: always()with:name: trivy-config-resultsdiff --git a/.github/workflows/critical-ui-tests.yml b/.github/workflows/critical-ui-tests.ymlindex 61b267b0ad..20ec12dc0f 100644--- a/.github/workflows/critical-ui-tests.yml+++ b/.github/workflows/critical-ui-tests.yml@@ -18,15 +18,15 @@ jobs:# No services needed - using SQLite databasessteps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up PDM- uses: pdm-project/setup-pdm@v4+ uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.11'- name: Cache pip packages- uses: actions/cache@v4+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4with:path: ~/.cache/pipkey: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}@@ -150,7 +150,7 @@ jobs:- name: Upload test artifactsif: failure()- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: critical-ui-test-artifactspath: |diff --git a/.github/workflows/danger-zone-alert.yml b/.github/workflows/danger-zone-alert.ymlindex 7ce0897245..6152170050 100644--- a/.github/workflows/danger-zone-alert.yml+++ b/.github/workflows/danger-zone-alert.yml@@ -25,7 +25,7 @@ jobs:steps:- name: Checkout code- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:fetch-depth: 0@@ -81,7 +81,7 @@ jobs:- name: Create status checkif: steps.analyze.outputs.has_dangers == 'true'- uses: actions/github-script@v8+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8with:script: |const risk_level = '${{ steps.analyze.outputs.risk_level }}';@@ -114,7 +114,7 @@ jobs:- name: Add labelsif: steps.analyze.outputs.has_dangers == 'true'- uses: actions/github-script@v8+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8with:script: |const labels = ['security-review-needed'];diff --git a/.github/workflows/devskim.yml b/.github/workflows/devskim.ymlindex 2ea7da40b6..44d808c4d3 100644--- a/.github/workflows/devskim.yml+++ b/.github/workflows/devskim.yml@@ -25,10 +25,10 @@ jobs:steps:- name: Checkout repository- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Run DevSkim security linter- uses: microsoft/[email protected]+ uses: microsoft/DevSkim-Action@4b5047945a44163b94642a1cecc0d93a3f428cc6 # v1.0.16with:# Scan all source codepath: '.'@@ -37,14 +37,14 @@ jobs:output: 'devskim-results.sarif'- name: Upload DevSkim results to GitHub Security- uses: github/codeql-action/[email protected]+ uses: github/codeql-action/upload-sarif@32f7c15247fa6542dc765bd40f6a15dc2caeed89 # v4.31.2if: always()with:sarif_file: 'devskim-results.sarif'category: devskim- name: Upload DevSkim results as artifact- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0if: always()with:name: devskim-resultsdiff --git a/.github/workflows/docker-multiarch-test.yml b/.github/workflows/docker-multiarch-test.ymlindex 9527f04300..78296f87b7 100644--- a/.github/workflows/docker-multiarch-test.yml+++ b/.github/workflows/docker-multiarch-test.yml@@ -29,15 +29,15 @@ jobs:steps:- name: Check out the repo- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:fetch-depth: 0- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v3+ uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3- name: Build Docker image for ${{ matrix.platform }}- uses: docker/build-push-action@v6+ uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6with:context: .platforms: ${{ matrix.platform }}diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.ymlindex 8dfee8cd60..b10a12eb73 100644--- a/.github/workflows/docker-publish.yml+++ b/.github/workflows/docker-publish.yml@@ -23,22 +23,22 @@ jobs:egress-policy: audit- name: Check out the repo- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:fetch-depth: 0- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v3+ uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3- name: Log in to Docker Hub- uses: docker/login-action@v3+ uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3with:username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}- name: Build and push AMD64 imageid: build- uses: docker/build-push-action@v6+ uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6with:context: .platforms: linux/amd64@@ -61,22 +61,22 @@ jobs:egress-policy: audit- name: Check out the repo- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:fetch-depth: 0- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v3+ uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3- name: Log in to Docker Hub- uses: docker/login-action@v3+ uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3with:username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}- name: Build and push ARM64 imageid: build- uses: docker/build-push-action@v6+ uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6with:context: .platforms: linux/arm64@@ -92,15 +92,15 @@ jobs:steps:- name: Check out the repo- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:fetch-depth: 0- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v3+ uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3- name: Build Docker image for security scan- uses: docker/build-push-action@v6+ uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6with:context: .platforms: linux/amd64@@ -112,7 +112,7 @@ jobs:# Generate SARIF report for GitHub Security tab (all severities, doesn't fail)- name: Generate Trivy SARIF report- uses: aquasecurity/trivy-action@master+ uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # masterwith:image-ref: local-deep-research:security-scanformat: 'sarif'@@ -121,14 +121,14 @@ jobs:# Separate scan that fails build only on HIGH/CRITICAL vulnerabilities- name: Check for HIGH/CRITICAL vulnerabilities- uses: aquasecurity/trivy-action@master+ uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # masterwith:image-ref: local-deep-research:security-scanseverity: 'CRITICAL,HIGH'exit-code: '1'- name: Upload Trivy scan results from release- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0if: always()with:name: trivy-release-scan@@ -148,22 +148,22 @@ jobs:egress-policy: audit- name: Check out the repo- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:fetch-depth: 0- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v3+ uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3- name: Log in to Docker Hub- uses: docker/login-action@v3+ uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3with:username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}- name: Extract metadata for Dockerid: meta- uses: docker/metadata-action@v5+ uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5with:images: ${{ secrets.DOCKER_USERNAME }}/local-deep-researchtags: |diff --git a/.github/workflows/enhanced-tests.yml b/.github/workflows/enhanced-tests.ymlindex 87cacf8a0d..7892612b9d 100644--- a/.github/workflows/enhanced-tests.yml+++ b/.github/workflows/enhanced-tests.yml@@ -24,7 +24,7 @@ jobs:name: Enhanced Test Frameworksteps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Build Docker imagerun: docker build --target ldr-test -t ldr-test .@@ -69,7 +69,7 @@ jobs:- name: Upload test resultsif: always()- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: enhanced-test-resultspath: |diff --git a/.github/workflows/extended-ui-tests.yml b/.github/workflows/extended-ui-tests.ymlindex 44582e4ce1..4520599f96 100644--- a/.github/workflows/extended-ui-tests.yml+++ b/.github/workflows/extended-ui-tests.yml@@ -19,20 +19,20 @@ jobs:name: Extended UI Test Suitesteps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Python- uses: actions/setup-python@v6+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.12'- name: Set up Node.js- uses: actions/setup-node@v6+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'- name: Set up PDM- uses: pdm-project/setup-pdm@v4+ uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.12'@@ -161,14 +161,14 @@ jobs:- name: Upload screenshotsif: always()- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: extended-ui-screenshotspath: tests/ui_tests/screenshots/- name: Upload test resultsif: always()- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: extended-ui-resultspath: tests/ui_tests/results/diff --git a/.github/workflows/file-whitelist-check.yml b/.github/workflows/file-whitelist-check.ymlindex f7a035b399..9e61a320a1 100644--- a/.github/workflows/file-whitelist-check.yml+++ b/.github/workflows/file-whitelist-check.yml@@ -16,7 +16,7 @@ jobs:steps:- name: Checkout code- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:fetch-depth: 0diff --git a/.github/workflows/followup-research-tests.yml b/.github/workflows/followup-research-tests.ymlindex 9be8b041e0..9cfbfc6deb 100644--- a/.github/workflows/followup-research-tests.yml+++ b/.github/workflows/followup-research-tests.yml@@ -26,21 +26,21 @@ jobs:timeout-minutes: 30steps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Python- uses: actions/setup-python@v6+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.11'- name: Install PDM- uses: pdm-project/setup-pdm@v4+ uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.11'cache: true- name: Install Node.js- uses: actions/setup-node@v6+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'@@ -99,14 +99,14 @@ jobs:- name: Upload screenshotsif: always()- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: followup-test-screenshotspath: tests/ui_tests/screenshots/followup/- name: Upload test resultsif: always()- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: followup-test-resultspath: |diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.ymlindex c293593737..b82ace36dc 100644--- a/.github/workflows/gitleaks.yml+++ b/.github/workflows/gitleaks.yml@@ -24,12 +24,12 @@ jobs:steps:- name: Checkout code- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:fetch-depth: 0 # Fetch full history for comprehensive secret scanning- name: Run Gitleaks Secret Scanner- uses: gitleaks/gitleaks-action@v2+ uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 # v2env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}GITHUB_USERNAME: ${{ github.actor }}diff --git a/.github/workflows/hadolint.yml b/.github/workflows/hadolint.ymlindex 65039aeef7..98e700b9ee 100644--- a/.github/workflows/hadolint.yml+++ b/.github/workflows/hadolint.yml@@ -31,10 +31,10 @@ jobs:steps:- name: Checkout repository- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Run Hadolint on Dockerfile- uses: hadolint/[email protected]+ uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0with:dockerfile: Dockerfileformat: sarif@@ -43,14 +43,14 @@ jobs:verbose: true- name: Upload Hadolint results to GitHub Security- uses: github/codeql-action/[email protected]+ uses: github/codeql-action/upload-sarif@32f7c15247fa6542dc765bd40f6a15dc2caeed89 # v4.31.2if: always()with:sarif_file: hadolint.sarifcategory: hadolint- name: Upload Hadolint results as artifact- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0if: always()with:name: hadolint-results@@ -58,7 +58,7 @@ jobs:retention-days: 30- name: Run Hadolint with detailed output- uses: hadolint/[email protected]+ uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0if: always()with:dockerfile: Dockerfilediff --git a/.github/workflows/infrastructure-tests.yml b/.github/workflows/infrastructure-tests.ymlindex 941c5a4d21..c2bcd2c297 100644--- a/.github/workflows/infrastructure-tests.yml+++ b/.github/workflows/infrastructure-tests.yml@@ -23,13 +23,13 @@ jobs:name: Run Infrastructure Testssteps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Build Docker imagerun: docker build --target ldr-test -t ldr-test .- name: Set up Node.js- uses: actions/setup-node@v6+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'@@ -51,7 +51,7 @@ jobs:- name: Upload test resultsif: always()- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: infrastructure-test-resultspath: |diff --git a/.github/workflows/label-fixed-in-dev.yml b/.github/workflows/label-fixed-in-dev.ymlindex a01e40b45d..258bf27728 100644--- a/.github/workflows/label-fixed-in-dev.yml+++ b/.github/workflows/label-fixed-in-dev.yml@@ -17,7 +17,7 @@ jobs:pull-requests: readsteps:- name: Add "fixed in dev" label to linked issues- uses: actions/github-script@v8+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8with:script: |const pr = context.payload.pull_request;diff --git a/.github/workflows/llm-tests.yml b/.github/workflows/llm-tests.ymlindex a2b60b76f1..84fb347f4d 100644--- a/.github/workflows/llm-tests.yml+++ b/.github/workflows/llm-tests.yml@@ -28,7 +28,7 @@ jobs:name: LLM Unit Testssteps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Build Docker imagerun: docker build --target ldr-test -t ldr-test .@@ -86,7 +86,7 @@ jobs:needs: llm-unit-testssteps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Build Docker imagerun: docker build --target ldr-test -t ldr-test .diff --git a/.github/workflows/metrics-analytics-tests.yml b/.github/workflows/metrics-analytics-tests.ymlindex 99e9332815..17f15afaf5 100644--- a/.github/workflows/metrics-analytics-tests.yml+++ b/.github/workflows/metrics-analytics-tests.yml@@ -24,20 +24,20 @@ jobs:name: Metrics & Analytics Test Suitesteps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Python- uses: actions/setup-python@v6+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.12'- name: Set up Node.js- uses: actions/setup-node@v6+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'- name: Set up PDM- uses: pdm-project/setup-pdm@v4+ uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.12'@@ -158,14 +158,14 @@ jobs:- name: Upload metrics screenshotsif: always()- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: metrics-screenshotspath: tests/ui_tests/screenshots/metrics/- name: Upload metrics resultsif: always()- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: metrics-test-resultspath: tests/ui_tests/results/metrics/diff --git a/.github/workflows/mypy-type-check.yml b/.github/workflows/mypy-type-check.ymlindex 905ae4da53..e5cbc468ba 100644--- a/.github/workflows/mypy-type-check.yml+++ b/.github/workflows/mypy-type-check.yml@@ -18,7 +18,7 @@ jobs:uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Python- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.11'diff --git a/.github/workflows/news-tests.yml b/.github/workflows/news-tests.ymlindex ad763f17c9..87c345739e 100644--- a/.github/workflows/news-tests.yml+++ b/.github/workflows/news-tests.yml@@ -23,12 +23,12 @@ jobs:- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Python- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.12'- name: Set up Node.js- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'diff --git a/.github/workflows/ossar.yml b/.github/workflows/ossar.ymlindex feb4dbcc68..56f67fbb22 100644--- a/.github/workflows/ossar.yml+++ b/.github/workflows/ossar.yml@@ -31,16 +31,16 @@ jobs:steps:- name: Checkout repository- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0# Run open source static analysis tools- name: Run OSSAR- uses: github/ossar-action@v1+ uses: github/ossar-action@4e96c4f6e591eb4b991abfd459e40b136a317aea # v2.0.0id: ossar# Upload results to the Security tab- name: Upload OSSAR results- uses: github/codeql-action/[email protected]+ uses: github/codeql-action/upload-sarif@32f7c15247fa6542dc765bd40f6a15dc2caeed89 # v4.31.2with:sarif_file: ${{ steps.ossar.outputs.sarifFile }}diff --git a/.github/workflows/ossf-scorecard.yml b/.github/workflows/ossf-scorecard.ymlindex 92beb23a2c..d019f15d55 100644--- a/.github/workflows/ossf-scorecard.yml+++ b/.github/workflows/ossf-scorecard.yml@@ -31,12 +31,12 @@ jobs:steps:- name: Checkout repository- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:persist-credentials: false- name: Run OSSF Scorecard analysis- uses: ossf/[email protected]+ uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3with:results_file: results.sarifresults_format: sarif@@ -44,13 +44,13 @@ jobs:publish_results: false- name: Upload OSSF Scorecard results to GitHub Security- uses: github/codeql-action/[email protected]+ uses: github/codeql-action/upload-sarif@32f7c15247fa6542dc765bd40f6a15dc2caeed89 # v4.31.2with:sarif_file: results.sarifcategory: ossf-scorecard- name: Upload OSSF Scorecard results as artifact- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: ossf-scorecard-resultspath: results.sarifdiff --git a/.github/workflows/performance-tests.yml b/.github/workflows/performance-tests.ymlindex 31ad411018..8e907971f7 100644--- a/.github/workflows/performance-tests.yml+++ b/.github/workflows/performance-tests.yml@@ -38,7 +38,7 @@ jobs:python-version: '3.11'- name: Cache pip packages- uses: actions/cache@v4+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4with:path: ~/.cache/pipkey: ${{ runner.os }}-pip-perf-${{ hashFiles('**/requirements.txt') }}diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.ymlindex 9c9991352c..260155cf89 100644--- a/.github/workflows/pre-commit.yml+++ b/.github/workflows/pre-commit.yml@@ -15,10 +15,10 @@ jobs:steps:- name: Checkout code- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Python- uses: actions/setup-python@v6+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.12'@@ -28,6 +28,6 @@ jobs:sudo apt-get install -y libsqlcipher-dev- name: Run pre-commit- uses: pre-commit/[email protected]+ uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1with:extra_args: --all-filesdiff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 385df430b2..41a48cb058 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -122,7 +122,7 @@ jobs:- name: Download frontend artifactsif: needs.build-frontend.outputs.has-frontend == 'true'- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0+ uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6continue-on-error: truewith:name: frontend-assets@@ -282,7 +282,7 @@ jobs:egress-policy: audit- name: Download package- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0+ uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6with:name: python-distpath: dist/@@ -416,10 +416,10 @@ jobs:- name: Publish to Test PyPIif: github.event.release.prerelease == true- uses: pypa/gh-action-pypi-publish@release/v1+ uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1with:repository-url: https://test.pypi.org/legacy/- name: Publish to PyPIif: github.event.release.prerelease == false- uses: pypa/gh-action-pypi-publish@release/v1+ uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex d5dc409172..cdeeb6a9b3 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -31,7 +31,7 @@ jobs:steps:- name: Checkout code- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:fetch-depth: 0 # Fetch full history for changelog generationdiff --git a/.github/workflows/security-tests.yml b/.github/workflows/security-tests.ymlindex 48623d628c..c0a50522db 100644--- a/.github/workflows/security-tests.yml+++ b/.github/workflows/security-tests.yml@@ -34,15 +34,15 @@ jobs:- 5432:5432steps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Python 3.11- uses: actions/setup-python@v6+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.11'- name: Cache pip packages- uses: actions/cache@v4+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4with:path: ~/.cache/pipkey: ${{ runner.os }}-pip-security-${{ hashFiles('**/requirements.txt') }}@@ -51,7 +51,7 @@ jobs:${{ runner.os }}-pip-- name: Set up PDM- uses: pdm-project/setup-pdm@v4+ uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.11'@@ -138,7 +138,7 @@ jobs:- name: Upload security reportsif: always()- uses: actions/[email protected]+ uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0with:name: security-reportspath: |diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.ymlindex aa5e324cdd..9602c8bb28 100644--- a/.github/workflows/semgrep.yml+++ b/.github/workflows/semgrep.yml@@ -27,7 +27,7 @@ jobs:uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Python- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.12'@@ -161,7 +161,7 @@ jobs:"- name: Upload Semgrep results to GitHub Security tab- uses: github/codeql-action/[email protected]+ uses: github/codeql-action/upload-sarif@32f7c15247fa6542dc765bd40f6a15dc2caeed89 # v4.31.2if: always()with:sarif_file: 'semgrep-results.sarif'diff --git a/.github/workflows/sync-main-to-dev.yml b/.github/workflows/sync-main-to-dev.ymlindex 101aeb375a..7e3016c841 100644--- a/.github/workflows/sync-main-to-dev.yml+++ b/.github/workflows/sync-main-to-dev.yml@@ -19,7 +19,7 @@ jobs:steps:- name: Checkout repository- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:fetch-depth: 0# Use GITHUB_TOKEN for checkout so PR is created by github-actions bot@@ -106,7 +106,7 @@ jobs:- name: Create or Update Pull Requestif: steps.check_sync.outputs.sync_needed == 'true'- uses: actions/github-script@v8+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8with:# Use GITHUB_TOKEN so the PR is created by github-actions[bot]# This allows PAT_TOKEN to approve it later@@ -240,7 +240,7 @@ jobs:- name: Verify PR contains only sync commitsif: steps.check_sync.outputs.sync_needed == 'true' && steps.merge_attempt.outputs.merge_conflicts == 'false'id: verify_commits- uses: actions/github-script@v8+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8with:github-token: ${{ secrets.GITHUB_TOKEN }}script: |@@ -323,7 +323,7 @@ jobs:- name: Auto-approve PRif: steps.verify_commits.outputs.safe_to_merge == 'true'id: auto_approve- uses: actions/github-script@v8+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8with:github-token: ${{ secrets.PAT_TOKEN }}script: |@@ -356,7 +356,7 @@ jobs:- name: Enable auto-mergeif: steps.auto_approve.outputs.approved == 'true'- uses: actions/github-script@v8+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8with:github-token: ${{ secrets.PAT_TOKEN }}script: |diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 144629ee19..0eb6d675c6 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -24,7 +24,7 @@ jobs:run: docker build --target ldr-test -t ldr-test .- name: Set up Node.js- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'@@ -69,7 +69,7 @@ jobs:run: docker build --target ldr-test -t ldr-test .- name: Set up Node.js- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'@@ -189,7 +189,7 @@ jobs:run: docker build --target ldr-test -t ldr-test .- name: Install Node.js for UI tests- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'diff --git a/.github/workflows/text-optimization-tests.yml b/.github/workflows/text-optimization-tests.ymlindex 204d0d235b..160a36ce77 100644--- a/.github/workflows/text-optimization-tests.yml+++ b/.github/workflows/text-optimization-tests.yml@@ -22,15 +22,15 @@ jobs:name: Text Optimization Module Testssteps:- - uses: actions/[email protected]+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Python- uses: actions/setup-python@v6+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.12'- name: Set up PDM- uses: pdm-project/setup-pdm@v4+ uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.12'@@ -53,7 +53,7 @@ jobs:pdm run pytest tests/text_optimization/ --cov=src/local_deep_research/text_optimization --cov-report=xml --cov-report=term- name: Upload coverage reports- uses: codecov/codecov-action@v5+ uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5with:files: ./coverage.xmlflags: text-optimizationdiff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.ymlindex 053b40b5a1..3e8cffbeaf 100644--- a/.github/workflows/ui-tests.yml+++ b/.github/workflows/ui-tests.yml@@ -30,12 +30,12 @@ jobs:- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Set up Python- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.12'- name: Set up Node.js- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.ymlindex a0c0b02d29..53157f6685 100644--- a/.github/workflows/update-dependencies.yml+++ b/.github/workflows/update-dependencies.yml@@ -28,12 +28,12 @@ jobs:pull-requests: write # Required for creating PRssteps:- name: 📰 Checkout- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:ref: dev- name: 📦 Setup PDM- uses: pdm-project/setup-pdm@v4+ uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: 3.xcache: true@@ -43,7 +43,7 @@ jobs:pdm update ${{ inputs.pdm_args || '-u --save-compatible --no-sync --no-self' }}- name: 📝 Create pull request- uses: peter-evans/create-pull-request@v7+ uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7with:branch: update-dependencies-${{ github.run_number }}title: 🤖 Update dependenciesdiff --git a/.github/workflows/update-npm-dependencies.yml b/.github/workflows/update-npm-dependencies.ymlindex 9d4ff6da13..9aeb463d42 100644--- a/.github/workflows/update-npm-dependencies.yml+++ b/.github/workflows/update-npm-dependencies.yml@@ -39,7 +39,7 @@ jobs:ref: dev- name: 🟢 Setup Node.js- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '20'cache: 'npm'@@ -86,7 +86,7 @@ jobs:fi- name: 📝 Create pull request- uses: peter-evans/create-pull-request@4320041ed380b20e97d388d56a7fb4f9b8c20e79 # v7.0.0+ uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7if: steps.verify-changed-files.outputs.changed == 'true'with:branch: update-npm-dependencies-${{ github.run_number }}diff --git a/.github/workflows/update-precommit-hooks.yml b/.github/workflows/update-precommit-hooks.ymlindex 7a53db6487..1c789e5867 100644--- a/.github/workflows/update-precommit-hooks.yml+++ b/.github/workflows/update-precommit-hooks.yml@@ -49,7 +49,7 @@ jobs:fi- name: 📝 Create pull request- uses: peter-evans/create-pull-request@4320041ed380b20e97d388d56a7fb4f9b8c20e79 # v7.0.0+ uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7if: steps.verify-changed-files.outputs.changed == 'true'with:branch: update-precommit-hooks-${{ github.run_number }}diff --git a/.github/workflows/version_check.yml b/.github/workflows/version_check.ymlindex c29152b81f..a6fca46d1c 100644--- a/.github/workflows/version_check.yml+++ b/.github/workflows/version_check.yml@@ -23,7 +23,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout code- uses: actions/[email protected]+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:fetch-depth: 0token: ${{ secrets.PAT_TOKEN }}@@ -35,7 +35,7 @@ jobs:git checkout "${HEAD_REF}"- name: Set up Python- uses: actions/setup-python@v6+ uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6with:python-version: '3.12'diff --git a/src/local_deep_research/__version__.py b/src/local_deep_research/__version__.pyindex fc0b1c7cba..70f1ec7a57 100644--- a/src/local_deep_research/__version__.py+++ b/src/local_deep_research/__version__.py@@ -1 +1 @@-__version__ = "1.2.17"+__version__ = "1.2.18"