- Add full Telegram bot functionality with Z.AI API integration
- Implement 4 tools: Bash, FileEdit, WebSearch, Git
- Add 3 agents: Code Reviewer, Architect, DevOps Engineer
- Add 6 skills for common coding tasks
- Add systemd service file for 24/7 operation
- Add nginx configuration for HTTPS webhook
- Add comprehensive documentation
- Implement WebSocket server for real-time updates
- Add logging system with Winston
- Add environment validation
🤖 zCode CLI X - Agentic coder with Z.AI + Telegram integration
18 lines
698 B
TypeScript
18 lines
698 B
TypeScript
import { Env, Context, MiddlewareHandler } from 'hono';
|
|
|
|
type ServeStaticOptions<E extends Env = Env> = {
|
|
/**
|
|
* Root path, relative to current working directory from which the app was started. Absolute paths are not supported.
|
|
*/
|
|
root?: string;
|
|
path?: string;
|
|
index?: string;
|
|
precompressed?: boolean;
|
|
rewriteRequestPath?: (path: string, c: Context<E>) => string;
|
|
onFound?: (path: string, c: Context<E>) => void | Promise<void>;
|
|
onNotFound?: (path: string, c: Context<E>) => void | Promise<void>;
|
|
};
|
|
declare const serveStatic: <E extends Env = any>(options?: ServeStaticOptions<E>) => MiddlewareHandler<E>;
|
|
|
|
export { type ServeStaticOptions, serveStatic };
|