Files
browse/src/index.ts
T
marauder-actual 5e1375f1a1
CI / test (push) Has been cancelled
style / style (push) Has been cancelled
v0.4.1: Chrome cookie import, config.json, session persistence
- Add Chrome cookie importer (macOS Keychain AES-128-CBC decryption)
- Add ~/.config/browse/config.json (headless, fullscreen, stealth, preview defaults)
- Add ~/.config/browse/session.json (auto-save/restore cookies + localStorage)
- Auto-import from all browsers (Safari + Firefox + Chrome) on first launch
- Deduplicate cookies across browsers (domain+name+path key)
- Defaults: headed, fullscreen, stealth, preview all enabled
- Fix BigInt overflow for Chrome timestamps (CAST to TEXT in SQL)
2026-06-06 16:10:50 +02:00

57 lines
1.1 KiB
TypeScript

export { ClaudeBrowser } from './browser.js';
export { importChromeCookies, listChromeProfiles, type ChromeCookie } from './chrome.js';
export {
loadConfig,
saveConfig,
loadSession,
saveSession,
clearSession,
importAllToSession,
getConfigPath,
getSessionPath,
type BrowseConfig,
type BrowseSession,
} from './config.js';
export { BrowserServer, startServer, type ServerOptions } from './server.js';
export {
createFavicon,
convert,
resize,
crop,
compress,
thumbnail,
type FaviconResult,
type ImageResult,
type FitType,
type FormatType,
type ThumbnailSize,
} from './image.js';
export type {
BrowserOptions,
BrowserCommand,
CommandResponse,
ElementInfo,
SuccessResponse,
ErrorResponse,
GotoCommand,
ClickCommand,
TypeCommand,
QueryCommand,
ScreenshotCommand,
UrlCommand,
HtmlCommand,
BackCommand,
ForwardCommand,
ReloadCommand,
WaitCommand,
NewPageCommand,
CloseCommand,
EvalCommand,
FaviconCommand,
ConvertCommand,
ResizeCommand,
CropCommand,
CompressCommand,
ThumbnailCommand,
} from './types.js';