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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
chore: get rid of highlight.io (sentry). improve telemetry controls.
Louis Beaumontaf43f75dc76d
diff --git a/screenpipe-app-tauri/app/global-error.jsx b/screenpipe-app-tauri/app/global-error.jsxindex d6f0085a9..0db000345 100644--- a/screenpipe-app-tauri/app/global-error.jsx+++ b/screenpipe-app-tauri/app/global-error.jsx@@ -1,19 +1,9 @@"use client";-import { trace, context } from "@opentelemetry/api";import Error from "next/error";import { useEffect } from "react";export default function GlobalError({ error }) {- useEffect(() => {- const tracer = trace.getTracer("screenpipe-app");- const span = tracer.startSpan("global-error");- context.with(trace.setSpan(context.active(), span), () => {- span.recordException(error);- span.end();- });- }, [error]);-return (<html><body>@@ -21,4 +11,4 @@ export default function GlobalError({ error }) {</body></html>);-}\ No newline at end of file+}diff --git a/screenpipe-app-tauri/app/providers.tsx b/screenpipe-app-tauri/app/providers.tsxindex 847517bbb..4566a570e 100644--- a/screenpipe-app-tauri/app/providers.tsx+++ b/screenpipe-app-tauri/app/providers.tsx@@ -3,7 +3,6 @@import posthog from "posthog-js";import { PostHogProvider } from "posthog-js/react";import { useEffect } from "react";-import { initOpenTelemetry } from "@/lib/opentelemetry";import { OnboardingProvider } from "@/lib/hooks/use-onboarding";import { ChangelogDialogProvider } from "@/lib/hooks/use-changelog-dialog";import { forwardRef } from "react";@@ -23,7 +22,6 @@ export const Providers = forwardRef<person_profiles: "identified_only",capture_pageview: false,});- initOpenTelemetry("82688", new Date().toISOString());}}, []);diff --git a/screenpipe-app-tauri/bun.lockb b/screenpipe-app-tauri/bun.lockbindex c2b0be70b..555a38cb6 100755Binary files a/screenpipe-app-tauri/bun.lockb and b/screenpipe-app-tauri/bun.lockb differdiff --git a/screenpipe-app-tauri/components/recording-settings.tsx b/screenpipe-app-tauri/components/recording-settings.tsxindex da80fbe50..b19f45db0 100644--- a/screenpipe-app-tauri/components/recording-settings.tsx+++ b/screenpipe-app-tauri/components/recording-settings.tsx@@ -35,7 +35,6 @@ import {CommandGroup,CommandItem,} from "./ui/command";-import { Card, CardContent, CardTitle } from "@/components/ui/card";import {Settings,useSettings,@@ -56,8 +55,6 @@ import { Input } from "./ui/input";import { Slider } from "./ui/slider";import { platform } from "@tauri-apps/plugin-os";import posthog from "posthog-js";-import { trace } from "@opentelemetry/api";-import { initOpenTelemetry } from "@/lib/opentelemetry";import { Language } from "@/lib/language";import { open } from "@tauri-apps/plugin-dialog";import { exists } from "@tauri-apps/plugin-fs";@@ -68,7 +65,8 @@ import { Separator } from "./ui/separator";import { MultiSelect } from "@/components/ui/multi-select";import { Alert, AlertDescription, AlertTitle } from "./ui/alert";import { useSqlAutocomplete } from "@/lib/hooks/use-sql-autocomplete";-import { relaunch } from "@tauri-apps/plugin-process";+import * as Sentry from "@sentry/react";+import { defaultOptions } from "tauri-plugin-sentry-api";type PermissionsStatus = {screenRecording: string;@@ -297,8 +295,9 @@ export function RecordingSettings() {enabled: false,});// disable opentelemetry- trace.disable();posthog.opt_out_capturing();+ // disable sentry+ Sentry.close();console.log("telemetry disabled");} else {const isDebug = process.env.TAURI_ENV_DEBUG === "true";@@ -307,10 +306,14 @@ export function RecordingSettings() {posthog.capture("telemetry", {enabled: true,});- initOpenTelemetry("82688", new Date().toISOString());// enable opentelemetryconsole.log("telemetry enabled");++ // enable sentry+ Sentry.init({+ ...defaultOptions,+ });}}diff --git a/screenpipe-app-tauri/components/settings/account-section.tsx b/screenpipe-app-tauri/components/settings/account-section.tsxindex 9c2f51b2a..2486cbef4 100644--- a/screenpipe-app-tauri/components/settings/account-section.tsx+++ b/screenpipe-app-tauri/components/settings/account-section.tsx@@ -29,6 +29,7 @@ import { PricingToggle } from "./pricing-toggle";import { Label } from "@/components/ui/label";import { Textarea } from "@/components/ui/textarea";import { Input } from "@/components/ui/input";+import posthog from "posthog-js";function PlanCard({title,diff --git a/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/screenpipe-app-tauri/lib/hooks/use-settings.tsxindex b8b96270b..bb9b31774 100644--- a/screenpipe-app-tauri/lib/hooks/use-settings.tsx+++ b/screenpipe-app-tauri/lib/hooks/use-settings.tsx@@ -13,6 +13,8 @@ import { LazyStore, LazyStore as TauriStore } from "@tauri-apps/plugin-store";import { localDataDir } from "@tauri-apps/api/path";import { flattenObject, unflattenObject } from "../utils";import { invoke } from "@tauri-apps/api/core";+import { useEffect } from "react";+import posthog from "posthog-js";export type VadSensitivity = "low" | "medium" | "high";@@ -329,6 +331,18 @@ export function useSettings() {);const resetSetting = store.useStoreActions((actions) => actions.resetSetting);+ useEffect(() => {+ if (settings.user?.id) {+ posthog.identify(settings.user?.id, {+ email: settings.user?.email,+ name: settings.user?.name,+ github_username: settings.user?.github_username,+ website: settings.user?.website,+ contact: settings.user?.contact,+ });+ }+ }, [settings.user?.id]);+const getDataDir = async () => {const homeDirPath = await homeDir();diff --git a/screenpipe-app-tauri/lib/opentelemetry.ts b/screenpipe-app-tauri/lib/opentelemetry.tsdeleted file mode 100644index 20890c337..000000000--- a/screenpipe-app-tauri/lib/opentelemetry.ts+++ /dev/null@@ -1,86 +0,0 @@-import { Resource } from "@opentelemetry/resources";-import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";-import { WebTracerProvider } from "@opentelemetry/sdk-trace-web";-import { SimpleSpanProcessor } from "@opentelemetry/sdk-trace-base";--export function initOpenTelemetry(projectId: string, sessionId: string) {- const isDebug = process.env.TAURI_ENV_DEBUG === "true";- if (isDebug || window.origin.includes("localhost")) return;-- tracerProvider = new WebTracerProvider({- resource: new Resource({- "highlight.project_id": projectId,- "highlight.session_id": sessionId,- "service.name": "screenpipe-app-browser",- }),- });-- const exporter = new OTLPTraceExporter({- url: "https://otel.highlight.io/v1/traces",- });-- // create a custom span processor that only exports error spans- const errorOnlySpanProcessor = new SimpleSpanProcessor({- export: (span) => {- const errorSpans = span.filter((s) => s.status.code === 2);- if (errorSpans.length > 0) {- // OpenTelemetry error status code- exporter.export(errorSpans, () => {});- }- },- forceFlush: () => Promise.resolve(),- shutdown: () => Promise.resolve(),- });-- tracerProvider.addSpanProcessor(errorOnlySpanProcessor as any);-- tracerProvider.register();-- // add global error handler- window.addEventListener("error", (event) => {- const tracer = tracerProvider!.getTracer("error-tracer");- const span = tracer.startSpan("unhandled-error");- span.setStatus({ code: 2 }); // set status to error- span.recordException(event.error);- span.end();- });-}--let tracerProvider: WebTracerProvider | null = null;--export function getTracerProvider() {- if (!tracerProvider) {- tracerProvider = new WebTracerProvider();- }- return tracerProvider;-}--export function trackError(- error: unknown,- context: {- operation: string;- additionalAttributes?: Record<string, string>;- }-) {- const isDebug = process.env.TAURI_ENV_DEBUG === "true";- if (isDebug || window.location.origin.includes("localhost")) return;-- const provider = getTracerProvider();- const tracer = provider.getTracer("screenpipe-error-tracker");- const span = tracer.startSpan(context.operation);-- span.setStatus({ code: 2 }); // OpenTelemetry error status code- span.setAttribute("error.type", context.operation);- span.setAttribute(- "error.message",- error instanceof Error ? error.message : String(error)- );-- if (context.additionalAttributes) {- Object.entries(context.additionalAttributes).forEach(([key, value]) => {- span.setAttribute(key, value);- });- }-- span.end();-}diff --git a/screenpipe-app-tauri/package.json b/screenpipe-app-tauri/package.jsonindex c1f8566d8..75d8e1199 100644--- a/screenpipe-app-tauri/package.json+++ b/screenpipe-app-tauri/package.json@@ -10,11 +10,6 @@"clean": "rm -rf out && cargo clean && rm -rf src-tauri/{screenpipe-*,tesseract-*,ffmpeg*,bun*,ollama*,ui_monitor*} node_modules"},"dependencies": {- "@opentelemetry/api": "^1.9.0",- "@opentelemetry/exporter-trace-otlp-http": "^0.49.1",- "@opentelemetry/resources": "^1.26.0",- "@opentelemetry/sdk-trace-base": "^1.22.0",- "@opentelemetry/sdk-trace-web": "^1.22.0","@patternfly/react-core": "^6.1.0","@patternfly/react-log-viewer": "^6.1.0","@radix-ui/react-accordion": "^1.2.0",@@ -35,6 +30,7 @@"@radix-ui/react-tabs": "^1.1.0","@radix-ui/react-toast": "^1.2.1","@radix-ui/react-tooltip": "^1.1.3",+ "@sentry/react": "^8.52.0","@supabase/supabase-js": "^2.47.3","@tanstack/react-virtual": "^3.11.0","@tauri-apps/api": "^2.1.1",diff --git a/screenpipe-app-tauri/scripts/pre_build.js b/screenpipe-app-tauri/scripts/pre_build.jsindex 4d7f67f1f..12340e2c9 100644--- a/screenpipe-app-tauri/scripts/pre_build.js+++ b/screenpipe-app-tauri/scripts/pre_build.js@@ -420,145 +420,9 @@ if (process.env.GITHUB_ENV) {}}-// Modify the installOllamaSidecar function-async function installOllamaSidecar() {- const ollamaDir = path.join(__dirname, '..', 'src-tauri');- const ollamaVersion = 'v0.3.14';-- let ollamaExe, ollamaUrl;-- if (platform === 'windows') {- ollamaExe = 'ollama-x86_64-pc-windows-msvc.exe';- ollamaUrl = `https://github.com/ollama/ollama/releases/download/${ollamaVersion}/ollama-windows-amd64.zip`;- } else if (platform === 'macos') {- ollamaUrl = `https://github.com/ollama/ollama/releases/download/${ollamaVersion}/ollama-darwin`;- } else if (platform === 'linux') {- ollamaExe = 'ollama-x86_64-unknown-linux-gnu';- ollamaUrl = `https://github.com/ollama/ollama/releases/download/${ollamaVersion}/ollama-linux-amd64.tgz`;- } else {- throw new Error('Unsupported platform');- }---- if ((platform === 'macos' && await fs.exists(path.join(ollamaDir, "ollama-aarch64-apple-darwin"))- && await fs.exists(path.join(ollamaDir, "ollama-x86_64-apple-darwin"))) ||- (platform !== 'macos' && await fs.exists(path.join(ollamaDir, ollamaExe)))) {- console.log('ollama sidecar already exists. skipping installation.');- return;- }-- // For our self-hosted runners- if (platform === 'windows' && await fs.exists('C:\\ollama\\')) {- console.log('ollama sidecar already exists. skipping installation.');- await fs.cp('C:\\ollama\\', ollamaDir, { recursive: true });- // Remove older library versions to save storage- const libDir = path.join(ollamaDir, 'lib', 'ollama');- const oldLibs = [- 'cublas64_11.dll',- 'cublasLt64_11.dll',- 'cudart64_110.dll',- 'ggml_cuda_v11.dll',- 'rocblas',- 'rocblas.dll',- 'ggml_rocm.dll'- ];-- for (const lib of oldLibs) {- try {- const libPath = path.join(libDir, lib);- const stat = await fs.stat(libPath);- if (stat.isDirectory()) {- await fs.rm(libPath, { recursive: true, force: true });- } else {- await fs.unlink(libPath);- }- console.log(`removed old library: ${lib}`);- } catch (error) {- console.warn(`failed to remove ${lib}:`, error.message);- }- }- return;- }-- try {- await fs.mkdir(ollamaDir, { recursive: true });- const downloadPath = path.join(ollamaDir, path.basename(ollamaUrl));-- console.log('Downloading Ollama...');- if (platform === 'windows') {- await $`powershell -command "Invoke-WebRequest -Uri '${ollamaUrl}' -OutFile '${downloadPath}'"`;- } else if (platform === 'linux') {- await $`wget --no-config -q ${ollamaUrl} -O ${downloadPath}`;- } else {- await $`wget --no-config -q --show-progress ${ollamaUrl} -O ${downloadPath}`;- }-- console.log('Extracting Ollama...');- if (platform === 'windows') {- await $`powershell -command "Expand-Archive -Path '${downloadPath}' -DestinationPath '${ollamaDir}'"`;- await fs.rename(path.join(ollamaDir, 'ollama.exe'), path.join(ollamaDir, ollamaExe));- } else if (platform === 'linux') {- await $`tar -xzf "${downloadPath}" -C "${ollamaDir}"`;- await fs.rename(path.join(ollamaDir, 'bin/ollama'), path.join(ollamaDir, ollamaExe));- } else if (platform === 'macos') {- // just copy to both archs- await fs.copyFile(downloadPath, path.join(ollamaDir, "ollama-aarch64-apple-darwin"));- await fs.copyFile(downloadPath, path.join(ollamaDir, "ollama-x86_64-apple-darwin"));- }-- console.log('Setting permissions...');- if (platform === 'linux') {- await fs.chmod(path.join(ollamaDir, ollamaExe), '755');- } else if (platform === 'macos') {- await fs.chmod(path.join(ollamaDir, "ollama-aarch64-apple-darwin"), '755');- await fs.chmod(path.join(ollamaDir, "ollama-x86_64-apple-darwin"), '755');- }-- console.log('Cleaning up...');- if (platform !== 'macos') {- await fs.unlink(downloadPath);- }-- if (platform === 'windows') {- // Remove older library versions to save storage- const libDir = path.join(ollamaDir, 'lib', 'ollama');- const oldLibs = [- 'cublas64_11.dll',- 'cublasLt64_11.dll',- 'cudart64_110.dll',- 'ggml_cuda_v11.dll',- 'rocblas',- 'rocblas.dll',- 'ggml_rocm.dll'- ];-- for (const lib of oldLibs) {- try {- const libPath = path.join(libDir, lib);- const stat = await fs.stat(libPath);- if (stat.isDirectory()) {- await fs.rm(libPath, { recursive: true, force: true });- } else {- await fs.unlink(libPath);- }- console.log(`removed old library: ${lib}`);- } catch (error) {- console.warn(`failed to remove ${lib}:`, error.message);- }- }- }-- console.log('ollama sidecar installed successfully');- } catch (error) {- console.error('error installing ollama sidecar:', error);- throw error;- }-}// Near the end of the script, call these functionsawait copyBunBinary();-// await installOllamaSidecar().catch(console.error);// --dev or --buildconst action = process.argv?.[2]diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lockindex e8fb21684..a387fbc87 100755--- a/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -5273,7 +5273,7 @@ dependencies = [[[package]]name = "screenpipe-app"-version = "0.28.4"+version = "0.28.5"dependencies = ["anyhow","async-stream",diff --git a/screenpipe-server/Cargo.toml b/screenpipe-server/Cargo.tomlindex 8bcd39b86..4b3641594 100644--- a/screenpipe-server/Cargo.toml+++ b/screenpipe-server/Cargo.toml@@ -47,18 +47,6 @@ thiserror = "1"#opentelemetrysentry = { workspace = true }-opentelemetry = "0.21"-opentelemetry-appender-tracing = "0.2"-opentelemetry-otlp = { version = "0.14", features = [- "http-proto",- "reqwest-rustls",- "tokio",- "reqwest-client",-] }-opentelemetry_sdk = { version = "0.21", default-features = false, features = [- "rt-tokio",-] }-opentelemetry-semantic-conventions = "0.13"# Serveraxum = "0.7.5"@@ -166,7 +154,7 @@ path = "src/bin/screenpipe-server.rs"[package.metadata.cargo-machete]-ignored = ["url", "opentelemetry-appender-tracing"]+ignored = ["url"][target.'cfg(unix)'.dependencies]nix = { version = "0.29", features = ["signal"] }diff --git a/screenpipe-server/src/bin/screenpipe-server.rs b/screenpipe-server/src/bin/screenpipe-server.rsindex b60c55b6a..f56ddba3b 100644--- a/screenpipe-server/src/bin/screenpipe-server.rs+++ b/screenpipe-server/src/bin/screenpipe-server.rs@@ -13,7 +13,6 @@ use screenpipe_core::find_ffmpeg_path;use screenpipe_server::{cli::{Cli, CliAudioTranscriptionEngine, CliOcrEngine, Command, OutputFormat, PipeCommand},handle_index_command,- highlight::{Highlight, HighlightConfig},pipe_manager::PipeInfo,start_continuous_recording, watch_pid, DatabaseManager, PipeManager, ResourceMonitor, Server,};@@ -185,12 +184,6 @@ async fn main() -> anyhow::Result<()> {None};- let h = Highlight::init(HighlightConfig {- project_id: String::from("82688"),- ..Default::default()- })- .expect("Failed to initialize Highlight.io");-let pipe_manager = Arc::new(PipeManager::new(local_data_dir_clone.clone()));if let Some(command) = cli.command {@@ -911,12 +904,11 @@ async fn main() -> anyhow::Result<()> {if !cli.disable_telemetry {println!("{}",- "warning: telemetry is enabled. only error-level data will be sent to highlight.io.\n\+ "warning: telemetry is enabled. only error-level data will be sent.\n\to disable, use the --disable-telemetry flag.".bright_yellow());} else {- h.shutdown();println!("{}","telemetry is disabled. no data will be sent to external services.".bright_green()@@ -1043,7 +1035,6 @@ async fn main() -> anyhow::Result<()> {drop(audio_runtime);});- h.shutdown();info!("shutdown complete");Ok(())diff --git a/screenpipe-server/src/highlight.rs b/screenpipe-server/src/highlight.rsdeleted file mode 100644index e5743ce59..000000000--- a/screenpipe-server/src/highlight.rs+++ /dev/null@@ -1,181 +0,0 @@-use std::{borrow::Cow, error::Error, sync::Arc, time::Duration};--pub use opentelemetry::trace::Span as SpanTrait;-use opentelemetry::{- global,- trace::{Status, TraceContextExt, Tracer as _},- KeyValue,-};-use opentelemetry_otlp::{OtlpTracePipeline, SpanExporterBuilder, WithExportConfig};-use opentelemetry_sdk::{- propagation::TraceContextPropagator,- resource::Resource,- trace::{self, BatchConfig, Span, Tracer},-};--use opentelemetry_semantic_conventions::resource::{SERVICE_NAME, SERVICE_VERSION};--use opentelemetry::{logs::LogError, trace::TraceError};-use thiserror::Error;--#[derive(Debug, Error)]-pub enum HighlightError {- /// Config error during setup- #[error("Highlight Config error: {0}")]- Config(String),-- /// Errors from the log SDK- #[error(transparent)]- Log(LogError),-- /// Errors from the trace SDK- #[error(transparent)]- Trace(TraceError),-}--impl From<TraceError> for HighlightError {- fn from(value: TraceError) -> Self {- HighlightError::Trace(value)- }-}--pub mod otel {- pub use opentelemetry::KeyValue;-}--#[derive(Default)]-pub struct HighlightConfig {- /// Your highlight.io Project ID- pub project_id: String,-- /// The name of your app.- pub service_name: Option<String>,-- /// The version of your app. We recommend setting this to the most recent deploy SHA of your app.- pub service_version: Option<String>,-}--struct HighlightInner {- config: HighlightConfig,- tracer: Tracer,-}--#[derive(Clone)]-pub struct Highlight(Arc<HighlightInner>);--impl Highlight {- fn install_pipelines(- tracing: OtlpTracePipeline<SpanExporterBuilder>,- ) -> Result<Tracer, HighlightError> {- Ok(tracing.install_batch(opentelemetry_sdk::runtime::Tokio)?)- }-- fn get_default_resource(config: &HighlightConfig) -> Resource {- let mut attrs = Vec::with_capacity(2);- attrs.push(KeyValue::new(- "highlight.project_id",- config.project_id.clone(),- ));-- if let Some(service_name) = &config.service_name {- attrs.push(KeyValue::new(SERVICE_NAME, service_name.to_owned()));- }-- if let Some(service_version) = &config.service_version {- attrs.push(KeyValue::new(SERVICE_VERSION, service_version.to_owned()));- }-- Resource::new(attrs)- }-- fn make_install_pipelines(config: &HighlightConfig) -> Result<Tracer, HighlightError> {- let tracing = opentelemetry_otlp::new_pipeline()- .tracing()- .with_trace_config(- trace::config()- .with_sampler(trace::Sampler::AlwaysOn)- .with_resource(Self::get_default_resource(config)),- )- .with_batch_config(- BatchConfig::default()- .with_scheduled_delay(Duration::from_millis(1000))- .with_max_export_batch_size(128)- .with_max_queue_size(1024),- )- .with_exporter(- opentelemetry_otlp::new_exporter()- .http()- .with_endpoint("https://otel.highlight.io:4318"),- );- Self::install_pipelines(tracing)- }-- /// Initialize Highlight.- pub fn init(config: HighlightConfig) -> Result<Highlight, HighlightError> {- if config.project_id == String::default() {- return Err(HighlightError::Config(- "You must specify a project_id in your HighlightConfig".to_string(),- ));- }-- global::set_text_map_propagator(TraceContextPropagator::new());- let tracer = Self::make_install_pipelines(&config)?;-- let h = Highlight(Arc::new(HighlightInner { config, tracer }));-- Ok(h)- }-- /// Capture an error with session info- ///- /// Like Highlight::capture_error, but also lets you provide your session_id and request_id- pub fn capture_error_with_session(- &self,- err: &dyn Error,- session_id: Option<String>,- request_id: Option<String>,- ) {- self.0.tracer.in_span("highlight-ctx", |cx| {- cx.span().record_error(err);-- if let Some(session_id) = session_id {- cx.span()- .set_attribute(KeyValue::new("highlight.session_id", session_id));- }-- if let Some(request_id) = request_id {- cx.span()- .set_attribute(KeyValue::new("highlight.trace_id", request_id));- }-- cx.span().set_status(Status::error(format!("{:?}", err)));- });- }-- /// Capture an error- ///- /// Explicitly captures any type with trait Error and sends it to Highlight.- pub fn capture_error(&self, err: &str) {- let e = std::io::Error::new(std::io::ErrorKind::Other, err);- self.capture_error_with_session(&e, None, None);- }-- /// Create a span- ///- /// Creates a span for tracing. You can end it with span.end() by importing highlightio::SpanTrait.- pub fn span(&self, name: impl Into<Cow<'static, str>>) -> Span {- self.0.tracer.start(name)- }-- /// Returns the project ID.- pub fn project_id(&self) -> String {- self.0.config.project_id.clone()- }-- /// Shuts down the Highlight tracer.- /// This allows for the traces to flush while the runtime is still around.- /// If this method is not called, traces that happened right before your app exits will not be transmitted to Highlight.- pub fn shutdown(&self) {- global::shutdown_tracer_provider();- }-}diff --git a/screenpipe-server/src/lib.rs b/screenpipe-server/src/lib.rsindex eeb62f86b..ef51ff969 100644--- a/screenpipe-server/src/lib.rs+++ b/screenpipe-server/src/lib.rs@@ -5,7 +5,6 @@ pub mod core;pub mod db;pub mod db_types;pub mod filtering;-pub mod highlight;mod add;pub mod pipe_manager;mod plugin;@@ -21,7 +20,6 @@ pub use auto_destruct::watch_pid;pub use cli::Cli;pub use core::start_continuous_recording;pub use db::DatabaseManager;-pub use highlight::Highlight;pub use add::handle_index_command;pub use pipe_manager::PipeManager;pub use resource_monitor::{ResourceMonitor, RestartSignal};