chore: include pre-built dist for github install
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export declare function findEmptyMessages(sessionID: string): string[];
|
||||
export declare function findEmptyMessageByIndex(sessionID: string, targetIndex: number): string | null;
|
||||
export declare function findFirstEmptyMessage(sessionID: string): string | null;
|
||||
@@ -0,0 +1,7 @@
|
||||
import type { PluginInput } from "@opencode-ai/plugin";
|
||||
type OpencodeClient = PluginInput["client"];
|
||||
export declare function replaceEmptyTextParts(messageID: string, replacementText: string): boolean;
|
||||
export declare function replaceEmptyTextPartsAsync(client: OpencodeClient, sessionID: string, messageID: string, replacementText: string): Promise<boolean>;
|
||||
export declare function findMessagesWithEmptyTextParts(sessionID: string): string[];
|
||||
export declare function findMessagesWithEmptyTextPartsFromSDK(client: OpencodeClient, sessionID: string): Promise<string[]>;
|
||||
export {};
|
||||
@@ -0,0 +1 @@
|
||||
export { getMessageDir } from "../../../shared/opencode-message-dir";
|
||||
@@ -0,0 +1,6 @@
|
||||
import type { PluginInput } from "@opencode-ai/plugin";
|
||||
import type { StoredMessageMeta } from "../types";
|
||||
type OpencodeClient = PluginInput["client"];
|
||||
export declare function readMessages(sessionID: string): StoredMessageMeta[];
|
||||
export declare function readMessagesFromSDK(client: OpencodeClient, sessionID: string): Promise<StoredMessageMeta[]>;
|
||||
export {};
|
||||
@@ -0,0 +1,2 @@
|
||||
export declare function findMessagesWithOrphanThinking(sessionID: string): string[];
|
||||
export declare function findMessageByIndexNeedingThinking(sessionID: string, targetIndex: number): string | null;
|
||||
@@ -0,0 +1,3 @@
|
||||
import type { StoredPart } from "../types";
|
||||
export declare function hasContent(part: StoredPart): boolean;
|
||||
export declare function messageHasContent(messageID: string): boolean;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function generatePartId(): string;
|
||||
@@ -0,0 +1,6 @@
|
||||
import type { PluginInput } from "@opencode-ai/plugin";
|
||||
import type { StoredPart } from "../types";
|
||||
type OpencodeClient = PluginInput["client"];
|
||||
export declare function readParts(messageID: string): StoredPart[];
|
||||
export declare function readPartsFromSDK(client: OpencodeClient, sessionID: string, messageID: string): Promise<StoredPart[]>;
|
||||
export {};
|
||||
@@ -0,0 +1,5 @@
|
||||
import type { PluginInput } from "@opencode-ai/plugin";
|
||||
type OpencodeClient = PluginInput["client"];
|
||||
export declare function injectTextPart(sessionID: string, messageID: string, text: string): boolean;
|
||||
export declare function injectTextPartAsync(client: OpencodeClient, sessionID: string, messageID: string, text: string): Promise<boolean>;
|
||||
export {};
|
||||
@@ -0,0 +1,2 @@
|
||||
export declare function findMessagesWithThinkingBlocks(sessionID: string): string[];
|
||||
export declare function findMessagesWithThinkingOnly(sessionID: string): string[];
|
||||
@@ -0,0 +1,5 @@
|
||||
import type { PluginInput } from "@opencode-ai/plugin";
|
||||
type OpencodeClient = PluginInput["client"];
|
||||
export declare function prependThinkingPart(sessionID: string, messageID: string): boolean;
|
||||
export declare function prependThinkingPartAsync(client: OpencodeClient, sessionID: string, messageID: string): Promise<boolean>;
|
||||
export {};
|
||||
@@ -0,0 +1,5 @@
|
||||
import type { PluginInput } from "@opencode-ai/plugin";
|
||||
type OpencodeClient = PluginInput["client"];
|
||||
export declare function stripThinkingParts(messageID: string): boolean;
|
||||
export declare function stripThinkingPartsAsync(client: OpencodeClient, sessionID: string, messageID: string): Promise<boolean>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user