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
+4
View File
@@ -0,0 +1,4 @@
export declare const AGENT_USAGE_REMINDER_STORAGE: string;
export declare const TARGET_TOOLS: Set<string>;
export declare const AGENT_TOOLS: Set<string>;
export declare const REMINDER_MESSAGE = "\n[Agent Usage Reminder]\n\nYou called a search/fetch tool directly without leveraging specialized agents.\n\nRECOMMENDED: Use task with explore/librarian agents for better results:\n\n```\n// Parallel exploration - fire multiple agents simultaneously\ntask(agent=\"explore\", prompt=\"Find all files matching pattern X\")\ntask(agent=\"explore\", prompt=\"Search for implementation of Y\") \ntask(agent=\"librarian\", prompt=\"Lookup documentation for Z\")\n\n// Then continue your work while they run in background\n// System will notify you when each completes\n```\n\nWHY:\n- Agents can perform deeper, more thorough searches\n- Background tasks run in parallel, saving time\n- Specialized agents have domain expertise\n- Reduces context window usage in main session\n\nALWAYS prefer: Multiple parallel task calls > Direct tool calls\n";
+22
View File
@@ -0,0 +1,22 @@
import type { PluginInput } from "@opencode-ai/plugin";
interface ToolExecuteInput {
tool: string;
sessionID: string;
callID: string;
}
interface ToolExecuteOutput {
title: string;
output: string;
metadata: unknown;
}
interface EventInput {
event: {
type: string;
properties?: unknown;
};
}
export declare function createAgentUsageReminderHook(_ctx: PluginInput): {
"tool.execute.after": (input: ToolExecuteInput, output: ToolExecuteOutput) => Promise<void>;
event: ({ event }: EventInput) => Promise<void>;
};
export {};
+1
View File
@@ -0,0 +1 @@
export { createAgentUsageReminderHook } from "./hook";
+4
View File
@@ -0,0 +1,4 @@
import type { AgentUsageState } from "./types";
export declare function loadAgentUsageState(sessionID: string): AgentUsageState | null;
export declare function saveAgentUsageState(state: AgentUsageState): void;
export declare function clearAgentUsageState(sessionID: string): void;
+6
View File
@@ -0,0 +1,6 @@
export interface AgentUsageState {
sessionID: string;
agentUsed: boolean;
reminderCount: number;
updatedAt: number;
}