mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-03 22:19:42 +02:00
docs: add JSDoc headers to entry points and key modules
Add @fileoverview documentation to: - src/index.ts - CLI entry point - src/cli.ts - Command definitions - src/templates/claude-md.ts - Template generation with function docs - src/web/server.ts - Web server and API Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
/**
|
||||
* @fileoverview Claudeman web server and REST API
|
||||
*
|
||||
* Provides a Fastify-based web server with:
|
||||
* - REST API for session management, respawn control, and monitoring
|
||||
* - Server-Sent Events (SSE) for real-time updates at /api/events
|
||||
* - Static file serving for the web UI
|
||||
* - 60fps terminal streaming with batched updates
|
||||
*
|
||||
* @module web/server
|
||||
*/
|
||||
|
||||
import Fastify, { FastifyInstance, FastifyReply } from 'fastify';
|
||||
import fastifyStatic from '@fastify/static';
|
||||
import { join, dirname } from 'node:path';
|
||||
|
||||
Reference in New Issue
Block a user