desktop: sentry integration (#15300)
Co-authored-by: Jay V <air@live.ca>
This commit is contained in:
parent
c68c33d4fe
commit
163290bcf0
34 changed files with 291 additions and 23 deletions
9
packages/desktop/src/env.d.ts
vendored
Normal file
9
packages/desktop/src/env.d.ts
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
interface ImportMetaEnv {
|
||||
readonly VITE_SENTRY_DSN?: string
|
||||
readonly VITE_SENTRY_ENVIRONMENT?: string
|
||||
readonly VITE_SENTRY_RELEASE?: string
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv
|
||||
}
|
||||
|
|
@ -14,6 +14,7 @@ import {
|
|||
ServerConnection,
|
||||
useCommand,
|
||||
} from "@opencode-ai/app"
|
||||
import * as Sentry from "@sentry/solid"
|
||||
import type { AsyncStorage } from "@solid-primitives/storage"
|
||||
import { getCurrentWindow } from "@tauri-apps/api/window"
|
||||
import { readImage } from "@tauri-apps/plugin-clipboard-manager"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue