feat: complete Ancestor quote bot with production-ready Docker support

This commit is contained in:
unfunny
2026-09-13 14:14:38 -04:00
parent f2016da05a
commit fe7351a7dc
1145 changed files with 30890 additions and 97684 deletions

View File

@@ -1,7 +1,7 @@
import { type Direction, EventTimeline } from "./models/event-timeline.ts";
import { type MatrixClient } from "./client.ts";
import { type EventTimelineSet } from "./models/event-timeline-set.ts";
import { type MatrixEvent } from "./models/event.ts";
import { Direction, EventTimeline } from "./models/event-timeline";
import { MatrixClient } from "./client";
import { EventTimelineSet } from "./models/event-timeline-set";
import { MatrixEvent } from "./models/event";
interface IOpts {
/**
* Maximum number of events to keep in the window. If more events are retrieved via pagination requests,
@@ -29,10 +29,6 @@ export declare class TimelineWindow {
* are received from /sync; you should arrange to call {@link TimelineWindow#paginate}
* on {@link RoomEvent.Timeline} events.
*
* <p>Note that constructing an instance of this class for a room adds a
* listener for RoomEvent.Timeline events which is never removed. In theory
* this should not cause a leak since the EventEmitter uses weak mappings.
*
* @param client - MatrixClient to be used for context/pagination
* requests.
*
@@ -71,12 +67,6 @@ export declare class TimelineWindow {
* @returns true if the window was extended, false otherwise.
*/
extend(direction: Direction, size: number): boolean;
private onTimelineEvent;
/**
* If an event was removed, meaning this window is longer than the timeline,
* shorten the window.
*/
private onEventRemoved;
/**
* Check if this window can be extended
*