Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

Merge remote-tracking branch 'origin/main' into chore/merge_main_to_v.0.7.9

Vanalite0ec8edc63958
diff --cc Makefile
index 5605f4b03,a2b91e282..aa2f9a2a9
--- a/Makefile
+++ b/Makefile
@@@ -174,40 -172,7 +172,6 @@@ els
@echo "Skipping MLX server build (macOS only)"
endif
- # Build Apple Foundation Models server (macOS 26+ only) - always builds
- build-foundation-models-server:
- ifeq ($(shell uname -s),Darwin)
- @echo "Building Foundation Models server for macOS 26+..."
- cd src-tauri/plugins/tauri-plugin-foundation-models/swift-server && swift build -c release
- @echo "Copying foundation-models-server binary..."
- @cp src-tauri/plugins/tauri-plugin-foundation-models/swift-server/.build/release/foundation-models-server src-tauri/resources/bin/foundation-models-server
- @chmod +x src-tauri/resources/bin/foundation-models-server
- @echo "Foundation Models server built and copied successfully"
- @echo "Checking for code signing identity..."
- @SIGNING_IDENTITY=$$(security find-identity -v -p codesigning | grep "Developer ID Application" | head -1 | sed 's/.*"\(.*\)".*/\1/'); \
- if [ -n "$$SIGNING_IDENTITY" ]; then \
- echo "Signing foundation-models-server with identity: $$SIGNING_IDENTITY"; \
- codesign --force --options runtime --timestamp --sign "$$SIGNING_IDENTITY" src-tauri/resources/bin/foundation-models-server; \
- echo "Code signing completed successfully"; \
- else \
- echo "Warning: No Developer ID Application identity found. Skipping code signing."; \
- fi
- else
- @echo "Skipping Foundation Models server build (macOS only)"
- endif
-
- # Build Foundation Models server only if not already present (for dev)
- build-foundation-models-server-if-exists:
- ifeq ($(shell uname -s),Darwin)
- @if [ -f "src-tauri/resources/bin/foundation-models-server" ]; then \
- echo "Foundation Models server already exists at src-tauri/resources/bin/foundation-models-server, skipping build..."; \
- else \
- make build-foundation-models-server; \
- fi
- else
- @echo "Skipping Foundation Models server build (macOS only)"
- endif
--
# Build jan CLI (release, platform-aware) → src-tauri/resources/bin/jan[.exe]
build-cli:
ifeq ($(shell uname -s),Darwin)