mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 01:11:49 +00:00
* feat(codex): add native session supervision * fix(codex): harden supervision integration * fix(codex): preserve locked harness ownership * fix(codex): fence native session archive * fix(codex): revalidate archive binding ownership * feat(codex): integrate supervision runtime * feat(sessions): preserve harness-owned execution * feat(sessions): persist harness ownership invariants * feat(gateway): enforce harness-owned sessions * feat(setup): enable detected Codex supervision * feat(mac): expose supervised Codex sessions * feat(ui): make Codex sessions actionable * docs(codex): document session supervision * test(codex): cover integration ownership * chore(i18n): refresh supervision inventories * fix(setup): finalize Codex activation atomically * test(codex): narrow binding store update * fix(sessions): preserve legacy model locks * test(macos): serialize Codex catalog fixtures * fix(sessions): preserve legacy lock admission * chore(i18n): reconcile supervision metadata * test(sessions): mark legacy lock fixture * fix(macos): drain final Codex catalog frame * docs: leave supervision note to release * style(macos): satisfy Codex catalog type length * chore: record session accessor seam owners * fix(macos): honor configured Codex supervision * fix(codex): preserve harness-owned model locks * fix(codex): satisfy supervision lint gates * chore(i18n): refresh native supervision inventory * fix(codex): align supervision validation contracts * fix(codex): close supervision boundary gaps * fix(codex): preserve supervision activation contracts * fix(codex): dispose standalone supervision runtime * fix(codex): pin supervised source connection * fix(plugins): bind delegated runs to exact session target * fix(codex): scope supervised sessions to configured agents * fix(codex): fingerprint effective supervision home * fix(codex): normalize supervision plugin policy * fix(codex): keep supervised bindings stable across upgrades * fix(codex): guard all supervised binding connections * fix(codex): preserve catalog filters and pending CAS identity * fix(codex): preserve supervision identity for diagnostics * fix(codex): bind uncertain commits to supervision connection * fix(codex): satisfy supervision type boundaries * fix(macos): reconcile current main validation * fix(codex): handle absent runtime config in supervision * fix(doctor): own local audio acceleration check * fix(codex): satisfy integration lint gates * fix(codex): satisfy lifecycle safety guards
193 lines
6.7 KiB
TypeScript
193 lines
6.7 KiB
TypeScript
/**
|
|
* Public SDK subpath for realtime voice provider types, runtime helpers, and talk events.
|
|
*/
|
|
export type { RealtimeVoiceProviderPlugin } from "../plugins/types.js";
|
|
export type {
|
|
RealtimeVoiceAudioFormat,
|
|
RealtimeVoiceBargeInOptions,
|
|
RealtimeVoiceBridge,
|
|
RealtimeVoiceBridgeCallbacks,
|
|
RealtimeVoiceBridgeEvent,
|
|
RealtimeVoiceBrowserSession,
|
|
RealtimeVoiceBrowserSessionCreateRequest,
|
|
RealtimeVoiceBridgeCreateRequest,
|
|
RealtimeVoiceProviderCapabilities,
|
|
RealtimeVoiceCloseReason,
|
|
RealtimeVoiceProviderConfig,
|
|
RealtimeVoiceProviderConfiguredContext,
|
|
RealtimeVoiceProviderId,
|
|
RealtimeVoiceProviderResolveConfigContext,
|
|
RealtimeVoiceRole,
|
|
RealtimeVoiceTool,
|
|
RealtimeVoiceToolCallEvent,
|
|
RealtimeVoiceToolResultOptions,
|
|
} from "../talk/provider-types.js";
|
|
export {
|
|
REALTIME_VOICE_AUDIO_FORMAT_G711_ULAW_8KHZ,
|
|
REALTIME_VOICE_AUDIO_FORMAT_PCM16_24KHZ,
|
|
} from "../talk/provider-types.js";
|
|
export {
|
|
createTalkEventSequencer,
|
|
TALK_EVENT_TYPES,
|
|
type TalkBrain,
|
|
type TalkEvent,
|
|
type TalkEventContext,
|
|
type TalkEventInput,
|
|
type TalkEventSequencer,
|
|
type TalkEventType,
|
|
type TalkMode,
|
|
type TalkTransport,
|
|
} from "../talk/talk-events.js";
|
|
export { createTalkDiagnosticEvent, recordTalkDiagnosticEvent } from "../talk/diagnostics.js";
|
|
export { createTalkLogRecord, recordTalkLogEvent } from "../talk/logging.js";
|
|
export { recordTalkObservabilityEvent } from "../talk/observability.js";
|
|
export {
|
|
createTalkSessionController,
|
|
normalizeTalkTransport,
|
|
type TalkEnsureTurnResult,
|
|
type TalkSessionControllerOptions,
|
|
type TalkSessionController,
|
|
type TalkSessionControllerParams,
|
|
type TalkTurnFailure,
|
|
type TalkTurnFailureReason,
|
|
type TalkTurnResult,
|
|
type TalkTurnSuccess,
|
|
} from "../talk/talk-session-controller.js";
|
|
export {
|
|
REALTIME_VOICE_ACTIVATION_NAME_MAX_WORDS,
|
|
isSupportedRealtimeVoiceActivationName,
|
|
matchRealtimeVoiceActivationName,
|
|
normalizeRealtimeVoiceActivationName,
|
|
normalizeRealtimeVoiceActivationNamePrefix,
|
|
normalizeSupportedRealtimeVoiceActivationName,
|
|
realtimeVoiceActivationNameWordCount,
|
|
sortRealtimeVoiceActivationNames,
|
|
type RealtimeVoiceActivationNameEdge,
|
|
type RealtimeVoiceActivationNameMatchKind,
|
|
type RealtimeVoiceActivationNameTranscriptResult,
|
|
} from "../talk/activation-name.js";
|
|
export {
|
|
classifySkippableRealtimeVoiceConsultTranscript,
|
|
type SkippableRealtimeVoiceConsultTranscriptReason,
|
|
} from "../talk/consult-transcript.js";
|
|
export {
|
|
matchRealtimeVoiceConsultQuestions,
|
|
normalizeRealtimeVoiceConsultQuestion,
|
|
readRealtimeVoiceConsultQuestion,
|
|
readSpeakableRealtimeVoiceToolResult,
|
|
type RealtimeVoiceConsultQuestionMatchOptions,
|
|
type RealtimeVoiceSpeakableToolResultOptions,
|
|
} from "../talk/consult-question.js";
|
|
export {
|
|
createRealtimeVoiceForcedConsultCoordinator,
|
|
type RealtimeVoiceForcedConsultCoordinator,
|
|
type RealtimeVoiceForcedConsultCoordinatorOptions,
|
|
type RealtimeVoiceForcedConsultHandle,
|
|
type RealtimeVoiceForcedConsultNativeMatch,
|
|
type RealtimeVoiceForcedConsultNativeRecentOptions,
|
|
type RealtimeVoiceForcedConsultTimer,
|
|
} from "../talk/forced-consult-coordinator.js";
|
|
export {
|
|
createRealtimeVoiceTurnContextTracker,
|
|
type RealtimeVoiceTurnContextHandle,
|
|
type RealtimeVoiceTurnContextTracker,
|
|
type RealtimeVoiceTurnContextTrackerOptions,
|
|
} from "../talk/turn-context-tracker.js";
|
|
export {
|
|
createRealtimeVoiceOutputActivityTracker,
|
|
type RealtimeVoiceOutputActivityDelta,
|
|
type RealtimeVoiceOutputActivitySnapshot,
|
|
type RealtimeVoiceOutputActivityTracker,
|
|
type RealtimeVoiceOutputActivityTrackerOptions,
|
|
} from "../talk/output-activity-tracker.js";
|
|
export {
|
|
buildRealtimeVoiceAgentConsultChatMessage,
|
|
buildRealtimeVoiceAgentConsultPolicyInstructions,
|
|
buildRealtimeVoiceAgentConsultPrompt,
|
|
buildRealtimeVoiceAgentConsultWorkingResponse,
|
|
collectRealtimeVoiceAgentConsultVisibleText,
|
|
isRealtimeVoiceAgentConsultToolPolicy,
|
|
parseRealtimeVoiceAgentConsultArgs,
|
|
REALTIME_VOICE_AGENT_CONSULT_TOOL,
|
|
REALTIME_VOICE_AGENT_CONSULT_TOOL_NAME,
|
|
REALTIME_VOICE_AGENT_CONSULT_TOOL_POLICIES,
|
|
resolveRealtimeVoiceAgentConsultToolPolicy,
|
|
resolveRealtimeVoiceAgentConsultTools,
|
|
resolveRealtimeVoiceAgentConsultToolsAllow,
|
|
type RealtimeVoiceAgentConsultArgs,
|
|
type RealtimeVoiceAgentConsultToolPolicy,
|
|
type RealtimeVoiceAgentConsultTranscriptEntry,
|
|
} from "../talk/agent-consult-tool.js";
|
|
export {
|
|
assertRealtimeVoiceAgentConsultModelSelectionUnlocked,
|
|
consultRealtimeVoiceAgent,
|
|
type RealtimeVoiceAgentConsultResult,
|
|
type RealtimeVoiceAgentConsultRuntime,
|
|
} from "../talk/agent-consult-runtime.js";
|
|
export {
|
|
createRealtimeVoiceAgentTalkbackQueue,
|
|
type RealtimeVoiceAgentTalkbackQueue,
|
|
type RealtimeVoiceAgentTalkbackQueueParams,
|
|
type RealtimeVoiceAgentTalkbackResult,
|
|
} from "../talk/agent-talkback-runtime.js";
|
|
export {
|
|
buildRealtimeVoiceAgentCancelProviderResult,
|
|
buildRealtimeVoiceAgentControlSpeechMessage,
|
|
classifyRealtimeVoiceAgentControlText,
|
|
controlRealtimeVoiceAgentRun,
|
|
normalizeRealtimeVoiceAgentControlMode,
|
|
parseRealtimeVoiceAgentControlToolArgs,
|
|
REALTIME_VOICE_AGENT_CONTROL_MODES,
|
|
REALTIME_VOICE_AGENT_CONTROL_TOOL,
|
|
REALTIME_VOICE_AGENT_CONTROL_TOOL_NAME,
|
|
resolveRealtimeVoiceAgentControlIntent,
|
|
shouldAutoControlRealtimeVoiceAgentText,
|
|
type RealtimeVoiceAgentControlMode,
|
|
type RealtimeVoiceAgentControlIntent,
|
|
type RealtimeVoiceAgentControlProviderResult,
|
|
type RealtimeVoiceAgentControlResult,
|
|
} from "../talk/agent-run-control.js";
|
|
export {
|
|
resolveRealtimeVoiceFastContextConsult,
|
|
type RealtimeVoiceFastContextConfig,
|
|
type RealtimeVoiceFastContextConsultResult,
|
|
type RealtimeVoiceFastContextLabels,
|
|
} from "../talk/fast-context-runtime.js";
|
|
export {
|
|
canonicalizeRealtimeVoiceProviderId,
|
|
getRealtimeVoiceProvider,
|
|
listRealtimeVoiceProviders,
|
|
normalizeRealtimeVoiceProviderId,
|
|
} from "../talk/provider-registry.js";
|
|
export {
|
|
resolveConfiguredRealtimeVoiceProvider,
|
|
type ResolvedRealtimeVoiceProvider,
|
|
type ResolveConfiguredRealtimeVoiceProviderParams,
|
|
} from "../talk/provider-resolver.js";
|
|
export {
|
|
createRealtimeVoiceBridgeSession,
|
|
type RealtimeVoiceAudioSink,
|
|
type RealtimeVoiceBridgeSession,
|
|
type RealtimeVoiceBridgeSessionParams,
|
|
type RealtimeVoiceMarkStrategy,
|
|
} from "../talk/session-runtime.js";
|
|
export {
|
|
extendRealtimeVoiceOutputEchoSuppression,
|
|
getRealtimeVoiceBridgeEventHealth,
|
|
getRealtimeVoiceTranscriptHealth,
|
|
isLikelyRealtimeVoiceAssistantEchoTranscript,
|
|
recordRealtimeVoiceBridgeEvent,
|
|
recordRealtimeVoiceTranscript,
|
|
type RealtimeVoiceBridgeEventHealth,
|
|
type RealtimeVoiceBridgeEventLogEntry,
|
|
type RealtimeVoiceTranscriptEntry,
|
|
type RealtimeVoiceTranscriptHealth,
|
|
} from "../talk/session-log-runtime.js";
|
|
export {
|
|
convertPcmToMulaw8k,
|
|
mulawToPcm,
|
|
pcmToMulaw,
|
|
resamplePcm,
|
|
resamplePcmTo8k,
|
|
} from "../talk/audio-codec.js";
|