Initial commit: 小羚羚小程序 Axhub Make workspace.

Include xll-miniapp prototype, PRD resources, annotation directory sync, agent skills, and cloud publishing setup.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
王冕
2026-06-30 15:32:30 +08:00
commit a619938e0c
1227 changed files with 251728 additions and 0 deletions

39
vite-plugins/ws.d.ts vendored Normal file
View File

@@ -0,0 +1,39 @@
declare module 'ws' {
import type { IncomingMessage } from 'node:http';
export type RawData = Buffer | ArrayBuffer | Buffer[];
export class WebSocket {
static readonly CONNECTING: number;
static readonly OPEN: number;
static readonly CLOSING: number;
static readonly CLOSED: number;
readonly readyState: number;
constructor(address: string);
send(data: string): void;
close(): void;
on(event: 'message', listener: (data: RawData) => void): this;
on(event: 'close' | 'error' | 'open', listener: (...args: any[]) => void): this;
once(event: 'message', listener: (data: RawData) => void): this;
once(event: 'close' | 'error' | 'open', listener: (...args: any[]) => void): this;
off(event: 'message', listener: (data: RawData) => void): this;
off(event: 'close' | 'error' | 'open', listener: (...args: any[]) => void): this;
}
export class WebSocketServer {
constructor(options: { noServer: true });
on(event: 'connection', listener: (ws: WebSocket, req: IncomingMessage) => void): this;
emit(event: 'connection', ws: WebSocket, req: IncomingMessage): boolean;
handleUpgrade(
req: IncomingMessage,
socket: unknown,
head: Buffer,
callback: (ws: WebSocket) => void,
): void;
close(): void;
}
}