chore: include pre-built dist for github install
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
import type { PluginInput } from "@opencode-ai/plugin";
|
||||
import type { BackgroundTask, LaunchInput } from "./types";
|
||||
export declare const TASK_TTL_MS: number;
|
||||
export declare const MIN_STABILITY_TIME_MS: number;
|
||||
export declare const DEFAULT_STALE_TIMEOUT_MS = 180000;
|
||||
export declare const DEFAULT_MESSAGE_STALENESS_TIMEOUT_MS = 1800000;
|
||||
export declare const MIN_RUNTIME_BEFORE_STALE_MS = 30000;
|
||||
export declare const MIN_IDLE_TIME_MS = 5000;
|
||||
export declare const POLLING_INTERVAL_MS = 3000;
|
||||
export declare const TASK_CLEANUP_DELAY_MS: number;
|
||||
export declare const TMUX_CALLBACK_DELAY_MS = 200;
|
||||
export type ProcessCleanupEvent = NodeJS.Signals | "beforeExit" | "exit";
|
||||
export type OpencodeClient = PluginInput["client"];
|
||||
export interface MessagePartInfo {
|
||||
sessionID?: string;
|
||||
type?: string;
|
||||
tool?: string;
|
||||
}
|
||||
export interface EventProperties {
|
||||
sessionID?: string;
|
||||
info?: {
|
||||
id?: string;
|
||||
};
|
||||
[key: string]: unknown;
|
||||
}
|
||||
export interface BackgroundEvent {
|
||||
type: string;
|
||||
properties?: EventProperties;
|
||||
}
|
||||
export interface Todo {
|
||||
content: string;
|
||||
status: string;
|
||||
priority: string;
|
||||
id?: string;
|
||||
}
|
||||
export interface QueueItem {
|
||||
task: BackgroundTask;
|
||||
input: LaunchInput;
|
||||
}
|
||||
export interface SubagentSessionCreatedEvent {
|
||||
sessionID: string;
|
||||
parentID: string;
|
||||
title: string;
|
||||
}
|
||||
export type OnSubagentSessionCreated = (event: SubagentSessionCreatedEvent) => Promise<void>;
|
||||
Reference in New Issue
Block a user