Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Releases/v2.3/.claude/Observability/apps/server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ startTaskWatcher((task: BackgroundTask) => {
// Create Bun server with HTTP and WebSocket support
const server = Bun.serve({
port: 4000,
// Bind to loopback only. This server exposes /api/activities
// (kitty tab titles) and /api/haiku/summarize (proxied Anthropic API
// key) with `Access-Control-Allow-Origin: *` and no authentication —
// it must never be reachable from the network.
hostname: '127.0.0.1',

async fetch(req: Request) {
const url = new URL(req.url);
Expand Down