mirror of
https://github.com/hanzoai/sdk.git
synced 2026-11-02 10:34:12 +00:00
- Consolidated Python, JavaScript, Rust, and Go SDKs - Standard directory structure (src/py, src/js, src/rs, src/go) - Real implementations from existing SDKs (not stubs) - Comprehensive test framework with CI/CD matrix - Dual distribution support (pip and npm) - Language parity for all core commands - Smart routing based on language strengths
20 lines
433 B
TypeScript
20 lines
433 B
TypeScript
/**
|
|
* Node management
|
|
*/
|
|
export interface NodeStatus {
|
|
running: boolean;
|
|
port: number;
|
|
models: string[];
|
|
}
|
|
export declare class Node {
|
|
private port;
|
|
private running;
|
|
private models;
|
|
constructor(port?: number);
|
|
start(): Promise<void>;
|
|
stop(): Promise<void>;
|
|
getStatus(): NodeStatus;
|
|
loadModel(model: string): Promise<void>;
|
|
listModels(): string[];
|
|
}
|
|
//# sourceMappingURL=node.d.ts.map
|