Files
admin 875c7f9b91 feat: Complete zCode CLI X with Telegram bot integration
- 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
2026-05-05 09:01:26 +00:00

20 lines
1.6 KiB
TypeScript

import { AutoExperiment, AutoExperimentChangeType, Polyfills, UrlTarget, VariationRange } from "./types/growthbook";
export declare function getPolyfills(): Polyfills;
export declare function hash(seed: string, value: string, version: number): number | null;
export declare function getEqualWeights(n: number): number[];
export declare function inRange(n: number, range: VariationRange): boolean;
export declare function inNamespace(hashValue: string, namespace: [string, number, number]): boolean;
export declare function chooseVariation(n: number, ranges: VariationRange[]): number;
export declare function getUrlRegExp(regexString: string): RegExp | undefined;
export declare function isURLTargeted(url: string, targets: UrlTarget[]): boolean;
export declare function getBucketRanges(numVariations: number, coverage: number | undefined, weights?: number[]): VariationRange[];
export declare function getQueryStringOverride(id: string, url: string, numVariations: number): number | null;
export declare function isIncluded(include: () => boolean): boolean;
export declare function decrypt(encryptedString: string, decryptionKey?: string, subtle?: SubtleCrypto): Promise<string>;
export declare function toString(input: any): string;
export declare function paddedVersionString(input: any): string;
export declare function loadSDKVersion(): string;
export declare function mergeQueryStrings(oldUrl: string, newUrl: string): string;
export declare function getAutoExperimentChangeType(exp: AutoExperiment): AutoExperimentChangeType;
export declare function promiseTimeout<T>(promise: Promise<T>, timeout?: number): Promise<T | null>;
//# sourceMappingURL=util.d.ts.map