62 lines · 1.3 KB · TypeScript
RawDownload
export type OpenWikiCommand = "chat" | "init" | "update";export type OpenWikiOutputMode = "local-wiki" | "repository"; export type OpenWikiRunResult = {  command: OpenWikiCommand;  model: string;  skipped?: boolean;}; export type OpenWikiRunEvent =  | {      source?: "main" | "subgraph";      type: "text";      text: string;    }  | {      type: "tool_start";      call: string;      id: string;      input: unknown;      name: string;    }  | {      type: "tool_end";      id: string;      name: string;      status: "error" | "finished";    }  | {      type: "debug";      message: string;    }; export type OpenWikiRunOptions = {  debug?: boolean;  isFollowup?: boolean;  language?: string | null;  modelId?: string | null;  onEvent?: (event: OpenWikiRunEvent) => void;  outputMode?: OpenWikiOutputMode;  threadId?: string;  userMessage?: string | null;  telemetryFile?: string;}; export type UpdateRunStatus = "complete" | "interrupted"; export type UpdateMetadata = {  updatedAt: string;  command: OpenWikiCommand;  gitHead?: string;  model: string;  status?: UpdateRunStatus;  language?: string;}; export type RunContext = {  lastUpdate: UpdateMetadata | null;  gitSummary: string;  language?: string;  wikiGoal?: string;};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t