-
Notifications
You must be signed in to change notification settings - Fork 749
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add FTS for app name and windows name and fix ci
- Loading branch information
1 parent
6e32e5a
commit cc0b1c6
Showing
43 changed files
with
2,995 additions
and
1,217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -362,6 +362,11 @@ jobs: | |
bun ./scripts/pre_build.js ${{ matrix.pre-build-args }} | ||
working-directory: ./screenpipe-app-tauri | ||
|
||
- uses: actions/setup-python@v5 | ||
if: matrix.tauri-args == '--target x86_64-pc-windows-msvc' | ||
with: | ||
python-version: '3.13' | ||
|
||
- name: Copy library for MKL | ||
if: matrix.tauri-args == '--target x86_64-pc-windows-msvc' | ||
shell: powershell | ||
|
@@ -378,6 +383,7 @@ jobs: | |
} else { | ||
Write-Host "no existing dlls found, trying pip install..." | ||
mkdir omp | ||
python -m ensurepip --upgrade | ||
python -m pip install intel-openmp --target omp | ||
Get-ChildItem -Path ./omp -Recurse -Filter *.dll | Copy-Item -Destination $mkl_dir -Force | ||
} | ||
|
@@ -388,6 +394,7 @@ jobs: | |
if ($dll_count -eq 0) { | ||
throw "No DLLs found in target directory!" | ||
} | ||
- name: Build | ||
uses: tauri-apps/[email protected] | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ resolver = "2" | |
|
||
|
||
[workspace.package] | ||
version = "0.2.15" | ||
version = "0.2.16" | ||
authors = ["louis030195 <[email protected]>"] | ||
description = "" | ||
repository = "https://github.com/mediar-ai/screenpipe" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
### **New Features:** | ||
- **Added H.265 support for macOS:** Enabled H.265 support on macOS for improved video compression. | ||
- **Made screenpipe-js Next.js client/server compatible:** Ensured compatibility with Next.js framework for a smoother client/server experience. | ||
|
||
### **Improvements:** | ||
- **Enhanced search functionality:** Fixed issue with search and pipe store for better search results. | ||
- **Improved speaker argument in screenpipe-js:** Resolved speaker argument issue in screenpipe-js for better audio handling. | ||
|
||
### **Fixes:** | ||
- No relevant fixes were identified from the provided commits. | ||
|
||
#### **Full Changelog:** [ddac8..34f5e](https://github.com/mediar-ai/screenpipe/compare/ddac8..34f5e) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### **Improvements:** | ||
- **Improved pipe download user experience (UX):** Enhancements made to the pipe download process for a better user experience. | ||
|
||
### **Fixes:** | ||
- **Fixed self-hosted builds:** Addressed issues with self-hosted builds for smoother deployment process. | ||
- **Fixed compatibility with node/browser:** Updated screenpipe-js to be compatible with both node and browsers. | ||
- **Fixed search functionality:** Resolved issues with the search feature for more accurate results. | ||
|
||
#### **Full Changelog:** [cabec..d24be](https://github.com/mediar-ai/screenpipe/compare/cabec..d24be) | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
// app/api/settings/route.ts | ||
import { pipe } from "@screenpipe/js"; | ||
import { NextResponse } from "next/server"; | ||
import type { Settings } from "@screenpipe/js"; | ||
// Force Node.js runtime | ||
export const runtime = "nodejs"; // Add this line | ||
export const dynamic = 'force-dynamic' | ||
|
||
export async function GET() { | ||
const defaultSettings: Settings = { | ||
openaiApiKey: "", | ||
deepgramApiKey: "", | ||
aiModel: "gpt-4", | ||
aiUrl: "https://api.openai.com/v1", | ||
customPrompt: "", | ||
port: 3030, | ||
dataDir: "default", | ||
disableAudio: false, | ||
ignoredWindows: [], | ||
includedWindows: [], | ||
aiProviderType: "openai", | ||
embeddedLLM: { | ||
enabled: false, | ||
model: "llama3.2:1b-instruct-q4_K_M", | ||
port: 11438, | ||
}, | ||
enableFrameCache: true, | ||
enableUiMonitoring: false, | ||
aiMaxContextChars: 128000, | ||
}; | ||
|
||
try { | ||
const settingsManager = pipe.settings; | ||
if (!settingsManager) { | ||
throw new Error("settingsManager not found"); | ||
} | ||
const rawSettings = await settingsManager.getAll(); | ||
return NextResponse.json(rawSettings); | ||
} catch (error) { | ||
console.error("failed to get settings:", error); | ||
return NextResponse.json(defaultSettings); | ||
} | ||
} | ||
|
||
export async function PUT(request: Request) { | ||
try { | ||
const settingsManager = pipe.settings; | ||
if (!settingsManager) { | ||
throw new Error("settingsManager not found"); | ||
} | ||
|
||
const body = await request.json(); | ||
const { key, value, isPartialUpdate, reset } = body; | ||
|
||
if (reset) { | ||
if (key) { | ||
await settingsManager.resetKey(key); | ||
} else { | ||
await settingsManager.reset(); | ||
} | ||
return NextResponse.json({ success: true }); | ||
} | ||
|
||
if (isPartialUpdate) { | ||
const serializedSettings = JSON.parse(JSON.stringify(value)); | ||
await settingsManager.update(serializedSettings); | ||
} else { | ||
const serializedValue = JSON.parse(JSON.stringify(value)); | ||
await settingsManager.set(key, serializedValue); | ||
} | ||
|
||
return NextResponse.json({ success: true }); | ||
} catch (error) { | ||
console.error("failed to update settings:", error); | ||
return NextResponse.json( | ||
{ error: "failed to update settings" }, | ||
{ status: 500 } | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.