chore: include pre-built dist for github install
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* Sisyphus-Junior - Focused Task Executor
|
||||
*
|
||||
* Executes delegated tasks directly without spawning other agents.
|
||||
* Category-spawned executor with domain-specific configurations.
|
||||
*
|
||||
* Routing:
|
||||
* 1. GPT models (openai/*, github-copilot/gpt-*) -> gpt.ts (GPT-5.4 optimized)
|
||||
* 2. Gemini models (google/*, google-vertex/*) -> gemini.ts (Gemini-optimized)
|
||||
* 3. Default (Claude, etc.) -> default.ts (Claude-optimized)
|
||||
*/
|
||||
import type { AgentConfig } from "@opencode-ai/sdk";
|
||||
import type { AgentOverrideConfig } from "../../config/schema";
|
||||
export declare const SISYPHUS_JUNIOR_DEFAULTS: {
|
||||
readonly model: "anthropic/claude-sonnet-4-6";
|
||||
readonly temperature: 0.1;
|
||||
};
|
||||
export type SisyphusJuniorPromptSource = "default" | "gpt" | "gpt-5-4" | "gpt-5-3-codex" | "gemini";
|
||||
export declare function getSisyphusJuniorPromptSource(model?: string): SisyphusJuniorPromptSource;
|
||||
/**
|
||||
* Builds the appropriate Sisyphus-Junior prompt based on model.
|
||||
*/
|
||||
export declare function buildSisyphusJuniorPrompt(model: string | undefined, useTaskSystem: boolean, promptAppend?: string): string;
|
||||
export declare function createSisyphusJuniorAgentWithOverrides(override: AgentOverrideConfig | undefined, systemDefaultModel?: string, useTaskSystem?: boolean): AgentConfig;
|
||||
export declare namespace createSisyphusJuniorAgentWithOverrides {
|
||||
var mode: "subagent";
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Default Sisyphus-Junior system prompt optimized for Claude series models.
|
||||
*
|
||||
* Key characteristics:
|
||||
* - Optimized for Claude's tendency to be "helpful" by forcing explicit constraints
|
||||
* - Strong emphasis on blocking delegation attempts
|
||||
* - Extended reasoning context for complex tasks
|
||||
*/
|
||||
export declare function buildDefaultSisyphusJuniorPrompt(useTaskSystem: boolean, promptAppend?: string): string;
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Gemini-optimized Sisyphus-Junior System Prompt
|
||||
*
|
||||
* Key differences from Claude/GPT variants:
|
||||
* - Aggressive tool-call enforcement (Gemini skips tools in favor of reasoning)
|
||||
* - Anti-optimism checkpoints (Gemini claims "done" prematurely)
|
||||
* - Repeated verification mandates (Gemini treats verification as optional)
|
||||
* - Stronger scope discipline (Gemini's creativity causes scope creep)
|
||||
*/
|
||||
export declare function buildGeminiSisyphusJuniorPrompt(useTaskSystem: boolean, promptAppend?: string): string;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* GPT-5.3-Codex Optimized Sisyphus-Junior System Prompt
|
||||
*
|
||||
* Hephaestus-style prompt adapted for a focused executor:
|
||||
* - Same autonomy, reporting, parallelism, and tool usage patterns
|
||||
* - CAN spawn explore/librarian via call_omo_agent for research
|
||||
*/
|
||||
export declare function buildGpt53CodexSisyphusJuniorPrompt(useTaskSystem: boolean, promptAppend?: string): string;
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* GPT-5.4 Optimized Sisyphus-Junior System Prompt
|
||||
*
|
||||
* Tuned for GPT-5.4 system prompt design principles:
|
||||
* - Expert coding agent framing with approach-first mentality
|
||||
* - Deterministic tool usage (always/never, not try/maybe)
|
||||
* - Prose-first output style
|
||||
* - Nuanced autonomy (focus unless directly conflicting)
|
||||
* - CAN spawn explore/librarian via call_omo_agent for research
|
||||
*/
|
||||
export declare function buildGpt54SisyphusJuniorPrompt(useTaskSystem: boolean, promptAppend?: string): string;
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Generic GPT Sisyphus-Junior System Prompt
|
||||
*
|
||||
* Hephaestus-style prompt adapted for a focused executor:
|
||||
* - Same autonomy, reporting, parallelism, and tool usage patterns
|
||||
* - CAN spawn explore/librarian via call_omo_agent for research
|
||||
* - Used as fallback for GPT models without a model-specific prompt
|
||||
*/
|
||||
export declare function buildGptSisyphusJuniorPrompt(useTaskSystem: boolean, promptAppend?: string): string;
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
export { buildDefaultSisyphusJuniorPrompt } from "./default";
|
||||
export { buildGptSisyphusJuniorPrompt } from "./gpt";
|
||||
export { buildGpt54SisyphusJuniorPrompt } from "./gpt-5-4";
|
||||
export { buildGpt53CodexSisyphusJuniorPrompt } from "./gpt-5-3-codex";
|
||||
export { buildGeminiSisyphusJuniorPrompt } from "./gemini";
|
||||
export { SISYPHUS_JUNIOR_DEFAULTS, getSisyphusJuniorPromptSource, buildSisyphusJuniorPrompt, createSisyphusJuniorAgentWithOverrides, } from "./agent";
|
||||
export type { SisyphusJuniorPromptSource } from "./agent";
|
||||
Reference in New Issue
Block a user