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
+2
View File
@@ -0,0 +1,2 @@
export declare const AGENTS_INJECTOR_STORAGE: string;
export declare const AGENTS_FILENAME = "AGENTS.md";
+5
View File
@@ -0,0 +1,5 @@
export declare function resolveFilePath(rootDirectory: string, path: string): string | null;
export declare function findAgentsMdUp(input: {
startDir: string;
rootDir: string;
}): string[];
+28
View File
@@ -0,0 +1,28 @@
import type { PluginInput } from "@opencode-ai/plugin";
interface ToolExecuteInput {
tool: string;
sessionID: string;
callID: string;
}
interface ToolExecuteOutput {
title: string;
output: string;
metadata: unknown;
}
interface ToolExecuteBeforeOutput {
args: unknown;
}
interface EventInput {
event: {
type: string;
properties?: unknown;
};
}
export declare function createDirectoryAgentsInjectorHook(ctx: PluginInput, modelCacheState?: {
anthropicContext1MEnabled: boolean;
}): {
"tool.execute.before": (input: ToolExecuteInput, output: ToolExecuteBeforeOutput) => Promise<void>;
"tool.execute.after": (input: ToolExecuteInput, output: ToolExecuteOutput) => Promise<void>;
event: ({ event }: EventInput) => Promise<void>;
};
export {};
+1
View File
@@ -0,0 +1 @@
export { createDirectoryAgentsInjectorHook } from "./hook";
+16
View File
@@ -0,0 +1,16 @@
import type { PluginInput } from "@opencode-ai/plugin";
import type { createDynamicTruncator } from "../../shared/dynamic-truncator";
type DynamicTruncator = ReturnType<typeof createDynamicTruncator>;
export declare function processFilePathForAgentsInjection(input: {
ctx: PluginInput;
truncator: DynamicTruncator;
sessionCaches: Map<string, Set<string>>;
filePath: string;
sessionID: string;
output: {
title: string;
output: string;
metadata: unknown;
};
}): Promise<void>;
export {};
+1
View File
@@ -0,0 +1 @@
export declare const loadInjectedPaths: (sessionID: string) => Set<string>, saveInjectedPaths: (sessionID: string, paths: Set<string>) => void, clearInjectedPaths: (sessionID: string) => void;