- 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)
22 lines
517 B
TypeScript
22 lines
517 B
TypeScript
import { PORT_HTTP, WORKING_DIR } from './config'
|
|
import { initDatabase } from './db'
|
|
import { handleRequest } from './routes'
|
|
|
|
// Initialize database
|
|
initDatabase()
|
|
|
|
// Start HTTP API server
|
|
Bun.serve({
|
|
hostname: '0.0.0.0',
|
|
port: PORT_HTTP,
|
|
fetch: handleRequest
|
|
})
|
|
|
|
// Startup summary
|
|
console.log('')
|
|
console.log('='.repeat(50))
|
|
console.log('Agent UI API Server (hot-reload enabled)')
|
|
console.log(` API: http://localhost:${PORT_HTTP}`)
|
|
console.log(` Working Dir: ${WORKING_DIR}`)
|
|
console.log('='.repeat(50))
|