Skip to content

fix: add macOS sidecar build script with ad-hoc code signing#28

Open
whyvaibhav wants to merge 9 commits into
vasu-devs:mainfrom
whyvaibhav:fix/macos-python-sidecar-codesign
Open

fix: add macOS sidecar build script with ad-hoc code signing#28
whyvaibhav wants to merge 9 commits into
vasu-devs:mainfrom
whyvaibhav:fix/macos-python-sidecar-codesign

Conversation

@whyvaibhav

@whyvaibhav whyvaibhav commented May 8, 2026

Copy link
Copy Markdown

Problem

The macOS DMG fails to launch with:
Failed to spawn Python sidecar: No such file or directory (os error 2)

The root cause is that PyInstaller-bundled Python extracts dylibs to /tmp
at runtime, and macOS rejects them with a Team ID mismatch error. This
requires a paid Apple Developer certificate to fully fix in a bundled app.

What this PR does

Adds scripts/build-sidecar-macos.sh which allows macOS users to:

  • Build the Python backend with PyInstaller
  • Sign the binary with an ad-hoc signature
  • Run the app from source without the Team ID error

How to run on macOS (working)

chmod +x scripts/build-sidecar-macos.sh
./scripts/build-sidecar-macos.sh
npm run tauri dev

Notes

  • npm run tauri dev works fully on macOS Apple Silicon (tested)
  • The bundled DMG path requires a paid Apple Developer certificate
    for proper codesigning — this is a macOS platform limitation
  • This script unblocks macOS developers who want to contribute or
    run the app locally

Tested on

macOS Apple Silicon (aarch64)

Vasudev Siddh and others added 9 commits May 7, 2026 13:30
- Add in-app Help Chat (HelpChat.tsx + help_agent.py): context-aware AI
  assistant that answers setup, configuration, and workflow questions
- Harden all agent system prompts with production-quality guard rails
  (injection defense, anti-hallucination constraints, evidence-first scoring)
- Evaluator: overhaul scoring with calibrated evidence-backed rating logic
- Free Scout / Scout: major expansion — HN job post detection, improved
  quality gate and ranking heuristics
- Query Gen: smarter query generation with expanded source coverage
- LLM: expanded provider support and improved routing
- Dashboard UI: significant view overhaul
- Settings: DiscoverySettings and shared settings layout improvements
- Backend main.py: new /api/v1/help/chat endpoint and route reorganisation
- DB client: additional query and CRUD helpers
- Tests: 177 lines added to test_regressions.py covering new agent behaviour
- Bump version 0.1.7 → 0.1.8 across package.json, Cargo.toml, tauri.conf.json
@vercel

vercel Bot commented May 8, 2026

Copy link
Copy Markdown

@whyvaibhav is attempting to deploy a commit to the Vasu-Devs' projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant