chore: include pre-built dist for github install

This commit is contained in:
Robin Mordasiewicz
2026-03-14 04:56:50 +00:00
parent a7f0a4cf46
commit bce8ff3a75
1011 changed files with 150081 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
export declare function extractLatestAssistantText(messages: unknown): string | null;
+2
View File
@@ -0,0 +1,2 @@
export declare const MULTIMODAL_LOOKER_AGENT: "multimodal-looker";
export declare const LOOK_AT_DESCRIPTION = "Analyze media files (PDFs, images, diagrams) that require interpretation beyond raw text. Extracts specific information or summaries from documents, describes visual content. Use when you need analyzed/extracted data rather than literal file contents.";
+7
View File
@@ -0,0 +1,7 @@
export declare function needsConversion(mimeType: string): boolean;
export declare function convertImageToJpeg(inputPath: string, mimeType: string): string;
export declare function cleanupConvertedImage(filePath: string): void;
export declare function convertBase64ImageToJpeg(base64Data: string, mimeType: string): {
base64: string;
tempFiles: string[];
};
+3
View File
@@ -0,0 +1,3 @@
export * from "./types";
export * from "./constants";
export { createLookAt } from "./tools";
+6
View File
@@ -0,0 +1,6 @@
import type { LookAtArgs } from "./types";
export interface LookAtArgsWithAlias extends LookAtArgs {
path?: string;
}
export declare function normalizeArgs(args: LookAtArgsWithAlias): LookAtArgs;
export declare function validateArgs(args: LookAtArgs): string | null;
+3
View File
@@ -0,0 +1,3 @@
export declare function inferMimeTypeFromBase64(base64Data: string): string;
export declare function inferMimeTypeFromFilePath(filePath: string): string;
export declare function extractBase64Data(imageData: string): string;
+11
View File
@@ -0,0 +1,11 @@
import type { PluginInput } from "@opencode-ai/plugin";
type AgentModel = {
providerID: string;
modelID: string;
};
type ResolvedAgentMetadata = {
agentModel?: AgentModel;
agentVariant?: string;
};
export declare function resolveMultimodalLookerAgentMetadata(ctx: PluginInput): Promise<ResolvedAgentMetadata>;
export {};
+4
View File
@@ -0,0 +1,4 @@
import type { FallbackEntry } from "../../shared/model-requirements";
import type { VisionCapableModel } from "../../plugin-state";
export declare function isHardcodedMultimodalFallbackModel(model: VisionCapableModel): boolean;
export declare function buildMultimodalLookerFallbackChain(visionCapableModels: VisionCapableModel[]): FallbackEntry[];
+8
View File
@@ -0,0 +1,8 @@
import type { createOpencodeClient } from "@opencode-ai/sdk";
type Client = ReturnType<typeof createOpencodeClient>;
export interface PollOptions {
pollIntervalMs?: number;
timeoutMs?: number;
}
export declare function pollSessionUntilIdle(client: Client, sessionID: string, options?: PollOptions): Promise<void>;
export {};
+3
View File
@@ -0,0 +1,3 @@
import { type PluginInput, type ToolDefinition } from "@opencode-ai/plugin";
export { normalizeArgs, validateArgs } from "./look-at-arguments";
export declare function createLookAt(ctx: PluginInput): ToolDefinition;
+5
View File
@@ -0,0 +1,5 @@
export interface LookAtArgs {
file_path?: string;
image_data?: string;
goal: string;
}