feat: compact boundary divider, overlay fix, approval window, PiP, Tauri enhancements
- Add CompactBoundaryDivider component for compact_boundary system messages - Fix readability overlay: v-if removes element entirely at 0% opacity - Add approval page and window composable - Add PiP window support and loading screen - Tauri: add window management commands and capabilities - Disable Ctrl+1..5 shortcuts in Tauri (handled by global shortcuts)
This commit is contained in:
@@ -7,6 +7,7 @@ initDatabase()
|
||||
|
||||
// Start HTTP API server
|
||||
Bun.serve({
|
||||
hostname: '0.0.0.0',
|
||||
port: PORT_HTTP,
|
||||
fetch: handleRequest
|
||||
})
|
||||
|
||||
@@ -105,11 +105,14 @@ export function handleTranscriptDebugRaw(sessionId: string, url: URL): Response
|
||||
return errorResponse(`Session ${sessionId} not found`, 404)
|
||||
}
|
||||
|
||||
const stat = statSync(filePath)
|
||||
const content = readFileSync(filePath, 'utf-8')
|
||||
return new Response(content, {
|
||||
status: 200,
|
||||
headers: {
|
||||
'Content-Type': 'text/plain; charset=utf-8',
|
||||
'Content-Length': String(stat.size),
|
||||
'X-File-Size': String(stat.size),
|
||||
...corsHeaders
|
||||
}
|
||||
})
|
||||
|
||||
@@ -33,6 +33,7 @@ export function getClients() {
|
||||
|
||||
export function startSyncServer() {
|
||||
const server = Bun.serve({
|
||||
hostname: '0.0.0.0',
|
||||
port: PORT_GIT,
|
||||
async fetch(req, server) {
|
||||
const url = new URL(req.url)
|
||||
|
||||
Reference in New Issue
Block a user