Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

release-app-publish move obsidianv2 in store

Louis Beaumont509f1d105369
diff --git a/pipes/obsidian/src/components/obsidian-settings.tsx b/pipes/obsidian/src/components/obsidian-settings.tsx
index 2f50ca130..7eba639a9 100644
--- a/pipes/obsidian/src/components/obsidian-settings.tsx
+++ b/pipes/obsidian/src/components/obsidian-settings.tsx
@@ -59,9 +59,19 @@ export function ObsidianSettings() {
const openPath = async () => {
try {
+ // Check if File System Access API is supported
+ if (!("showDirectoryPicker" in window)) {
+ toast({
+ variant: "destructive",
+ title: "error",
+ description:
+ "your browser doesn't support directory selection. please enter the path manually.",
+ });
+ return;
+ }
+
// Open directory picker dialog
- // @ts-ignore
- const dirHandle = await window.showDirectoryPicker();
+ const dirHandle = await (window as any).showDirectoryPicker();
const path = dirHandle.name;
// Update the input value and settings
@@ -77,8 +87,18 @@ export function ObsidianSettings() {
},
"obsidian"
);
+
+ toast({
+ title: "path updated",
+ description: "obsidian vault path has been set",
+ });
} catch (err) {
console.error("failed to open directory picker:", err);
+ toast({
+ variant: "destructive",
+ title: "error",
+ description: "failed to select directory",
+ });
}
};
@@ -117,8 +137,8 @@ export function ObsidianSettings() {
step="1"
max="60"
defaultValue={
- settings.customSettings?.obsidian?.interval
- ? settings.customSettings?.obsidian?.interval / 60000
+ settings.customSettings?.obsidian?.interval
+ ? settings.customSettings?.obsidian?.interval / 60000
: 5
}
/>
diff --git a/screenpipe-app-tauri/components/pipe-store.tsx b/screenpipe-app-tauri/components/pipe-store.tsx
index 5eed38a26..964021fb6 100644
--- a/screenpipe-app-tauri/components/pipe-store.tsx
+++ b/screenpipe-app-tauri/components/pipe-store.tsx
@@ -61,6 +61,15 @@ interface CorePipe {
}
const corePipes: CorePipe[] = [
+ {
+ id: "obsidian",
+ name: "obsidian v2",
+ description:
+ "write logs of your day in obsidian with local AI features, customization, and user friendly UI",
+ url: "https://github.com/mediar-ai/screenpipe/tree/main/pipes/obsidian",
+ credits: 10,
+ paid: true,
+ },
{
id: "data-table",
name: "data table",
@@ -949,14 +958,15 @@ const PipeStore: React.FC = () => {
</div>
</div>
- {selectedPipe.enabled && (
- <div className="space-y-3 pt-4 border-t">
- <PipeConfigForm
- pipe={selectedPipe}
- onConfigSave={handleConfigSave}
- />
- </div>
- )}
+ {selectedPipe.enabled &&
+ selectedPipe.config?.fields?.length > 0 && (
+ <div className="space-y-3 pt-4 border-t">
+ <PipeConfigForm
+ pipe={selectedPipe}
+ onConfigSave={handleConfigSave}
+ />
+ </div>
+ )}
</div>
</div>
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index 631f7a02c..39e8992e3 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -4966,7 +4966,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "0.20.5"
+version = "0.20.6"
dependencies = [
"anyhow",
"axum",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 03d3f3f1c..2660f32c4 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.20.5"
+version = "0.20.6"
description = ""
authors = ["you"]
license = ""