feat: Samsung lock screen face widget, voice assistant services, PiP mode and gitignore installers
Add Samsung proprietary Face Widget (lock screen/AOD) with terminal status display. Add voice interaction services (AgentVoiceInteractionService, RecognitionService) for digital assistant registration. Add PiP mode with voice/expand actions. Add session-state proxy, voice transcript routes, window controls component. Ignore installers/ directory.
This commit is contained in:
@@ -28,6 +28,8 @@ import {
|
||||
handleHooksApprovalRespond, handleHooksApprovalRespondPlan,
|
||||
handleHooksApprovalIgnore, handleHooksApprovalList
|
||||
} from './hooks-approval'
|
||||
import { handleSessionStateProxy } from './session-state-proxy'
|
||||
import { handleVoiceTranscript } from './voice-transcript'
|
||||
|
||||
export async function handleRequest(req: Request): Promise<Response> {
|
||||
const url = new URL(req.url)
|
||||
@@ -343,6 +345,17 @@ export async function handleRequest(req: Request): Promise<Response> {
|
||||
return handleTranscriptDebugRaw(transcriptDebugRawMatch[1], url)
|
||||
}
|
||||
|
||||
// Voice Transcript (Android voice assistant sends transcribed text here)
|
||||
if (path === '/api/voice-transcript') {
|
||||
const res = await handleVoiceTranscript(req)
|
||||
if (res) return res
|
||||
}
|
||||
|
||||
// Session State (proxy to terminal server for external clients like Android widget)
|
||||
if (path === '/api/session-state' && req.method === 'GET') {
|
||||
return handleSessionStateProxy(url)
|
||||
}
|
||||
|
||||
// Hooks Approval (long-poll for permission/plan decisions)
|
||||
if (path === '/api/hooks-approval') {
|
||||
if (req.method === 'GET') {
|
||||
|
||||
Reference in New Issue
Block a user