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
@@ -0,0 +1,4 @@
export declare function mapClaudeModelToOpenCode(model: string | undefined): {
providerID: string;
modelID: string;
} | undefined;
+2
View File
@@ -0,0 +1,2 @@
export * from "./types";
export * from "./loader";
+3
View File
@@ -0,0 +1,3 @@
import type { ClaudeCodeAgentConfig } from "./types";
export declare function loadUserAgents(): Record<string, ClaudeCodeAgentConfig>;
export declare function loadProjectAgents(directory?: string): Record<string, ClaudeCodeAgentConfig>;
+21
View File
@@ -0,0 +1,21 @@
import type { AgentConfig } from "@opencode-ai/sdk";
export type AgentScope = "user" | "project";
export type ClaudeCodeAgentConfig = Omit<AgentConfig, "model"> & {
model?: string | {
providerID: string;
modelID: string;
};
};
export interface AgentFrontmatter {
name?: string;
description?: string;
model?: string;
tools?: string;
mode?: "subagent" | "primary" | "all";
}
export interface LoadedAgent {
name: string;
path: string;
config: ClaudeCodeAgentConfig;
scope: AgentScope;
}