mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-26 11:23:47 +02:00
* Add proxy capture core and CLI * Expand transport capture coverage * Add QA Lab capture backend * Refine QA Lab capture UI * Fix proxy capture review feedback * Fix proxy run cleanup and TTS capture * Fix proxy capture transport follow-ups * Fix debug proxy CONNECT target parsing * Harden QA Lab asset path containment
17 lines
624 B
TypeScript
17 lines
624 B
TypeScript
import { resolveDebugProxySettings } from "./env.js";
|
|
import { getDebugProxyCaptureStore } from "./store.sqlite.js";
|
|
import type { CaptureQueryPreset } from "./types.js";
|
|
|
|
export function listDebugProxySessions(limit?: number) {
|
|
const settings = resolveDebugProxySettings();
|
|
return getDebugProxyCaptureStore(settings.dbPath, settings.blobDir).listSessions(limit);
|
|
}
|
|
|
|
export function queryDebugProxyPreset(preset: CaptureQueryPreset, sessionId?: string) {
|
|
const settings = resolveDebugProxySettings();
|
|
return getDebugProxyCaptureStore(settings.dbPath, settings.blobDir).queryPreset(
|
|
preset,
|
|
sessionId,
|
|
);
|
|
}
|