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

feat(cloud-pipes): show team-shared pipes in the cloud tab

Louis Beaumont5d3a539aab41
diff --git a/apps/screenpipe-app-tauri/components/settings/cloud-pipes-tab.tsx b/apps/screenpipe-app-tauri/components/settings/cloud-pipes-tab.tsx
index 68f44f491..f619a4900 100644
--- a/apps/screenpipe-app-tauri/components/settings/cloud-pipes-tab.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/cloud-pipes-tab.tsx
@@ -248,8 +248,8 @@ export function CloudPipesTab({ active }: { active: boolean }) {
{/* org managed pipes — managed in the enterprise dashboard */}
{cloud.orgPipes.length === 0 ? (
<EmptyState
- title="no managed pipes in your org"
- body="push a pipe from the enterprise dashboard (or the v1 pipes api) and the runner picks it up within a minute."
+ title="no pipes for the runner yet"
+ body="share a pipe to your team (share button on any pipe) or push one from the enterprise dashboard. the runner picks it up within a minute."
/>
) : (
<div className="space-y-1.5">
@@ -263,11 +263,14 @@ export function CloudPipesTab({ active }: { active: boolean }) {
<div className="flex items-center gap-2">
<span className="text-sm truncate">{pipe.display_name || pipe.name}</span>
<span className="text-[10px] text-muted-foreground">v{pipe.version}</span>
+ <Badge variant="outline" className="text-[10px] opacity-70">
+ {pipe.source === "team" ? "team share" : "dashboard"}
+ </Badge>
{ps?.is_running && <Badge variant="outline" className="text-[10px]">running</Badge>}
{!pipe.enabled && <Badge variant="outline" className="text-[10px] opacity-60">disabled</Badge>}
</div>
<p className="text-xs text-muted-foreground truncate">
- {pipe.schedule}
+ {pipe.schedule || "manual"}
{ps?.last_run_at
? ` · last run ${timeAgo(ps.last_run_at)}${ps.last_run_status ? ` (${ps.last_run_status})` : ""}`
: r.status === "running"
diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-cloud-runner.ts b/apps/screenpipe-app-tauri/lib/hooks/use-cloud-runner.ts
index 582cf0a33..e90081256 100644
--- a/apps/screenpipe-app-tauri/lib/hooks/use-cloud-runner.ts
+++ b/apps/screenpipe-app-tauri/lib/hooks/use-cloud-runner.ts
@@ -45,10 +45,12 @@ export interface CloudRunnerInfo {
export interface OrgPipe {
name: string;
display_name: string;
- schedule: string;
+ schedule: string | null;
enabled: boolean;
version: number;
- updated_at: string;
+ updated_at: string | null;
+ /** "dashboard" = enterprise managed pipe, "team" = shared from the app */
+ source: "dashboard" | "team";
}
/** Which AI the runner uses. Org-managed presets from the enterprise