@polybiouslabs/polybious
Version:
Polybius is a next-generation intelligent agent framework built for adaptability across diverse domains. It merges contextual awareness, multi-agent collaboration, and predictive reasoning to deliver dynamic, self-optimizing performance.
16 lines (15 loc) • 520 B
TypeScript
import type { SystemStatus, TweetRecord } from '../types/tweet.types';
export declare class HistoryService {
private readonly historyPath;
private startTime;
private tweetsPosted;
private lastTweetTime?;
private nextScheduledTweet?;
constructor();
private initializeHistoryFile;
recordTweet(record: TweetRecord): Promise<void>;
getHistory(limit?: number): Promise<TweetRecord[]>;
getSystemStatus(): SystemStatus;
getLastPostTime(): Date | null;
getTotalPosts(): number;
}