chore: include pre-built dist for github install
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Default/base Sisyphus prompt builder.
|
||||
* Used for Claude and other non-specialized models.
|
||||
*/
|
||||
import type { AvailableAgent, AvailableTool, AvailableSkill, AvailableCategory } from "../dynamic-agent-prompt-builder";
|
||||
import { categorizeTools } from "../dynamic-agent-prompt-builder";
|
||||
export declare function buildTaskManagementSection(useTaskSystem: boolean): string;
|
||||
export declare function buildDefaultSisyphusPrompt(model: string, availableAgents: AvailableAgent[], availableTools?: AvailableTool[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): string;
|
||||
export { categorizeTools };
|
||||
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Gemini-specific overlay sections for Sisyphus prompt.
|
||||
*
|
||||
* Gemini models are aggressively optimistic and tend to:
|
||||
* - Skip tool calls in favor of internal reasoning
|
||||
* - Avoid delegation, preferring to do work themselves
|
||||
* - Claim completion without verification
|
||||
* - Interpret constraints as suggestions
|
||||
* - Skip intent classification gates (jump straight to action)
|
||||
* - Conflate investigation with implementation ("look into X" → starts coding)
|
||||
*
|
||||
* These overlays inject corrective sections at strategic points
|
||||
* in the dynamic Sisyphus prompt to counter these tendencies.
|
||||
*/
|
||||
export declare function buildGeminiToolMandate(): string;
|
||||
export declare function buildGeminiToolGuide(): string;
|
||||
export declare function buildGeminiToolCallExamples(): string;
|
||||
export declare function buildGeminiDelegationOverride(): string;
|
||||
export declare function buildGeminiVerificationOverride(): string;
|
||||
export declare function buildGeminiIntentGateEnforcement(): string;
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* GPT-5.4-native Sisyphus prompt — rewritten with 8-block architecture.
|
||||
*
|
||||
* Design principles (derived from OpenAI's GPT-5.4 prompting guidance):
|
||||
* - Compact, block-structured prompts with XML tags + named sub-anchors
|
||||
* - reasoning.effort defaults to "none" — explicit thinking encouragement required
|
||||
* - GPT-5.4 generates preambles natively — do NOT add preamble instructions
|
||||
* - GPT-5.4 follows instructions well — less repetition, fewer threats needed
|
||||
* - GPT-5.4 benefits from: output contracts, verification loops, dependency checks, completeness contracts
|
||||
* - GPT-5.4 can be over-literal — add intent inference layer for nuanced behavior
|
||||
* - "Start with the smallest prompt that passes your evals" — keep it dense
|
||||
*
|
||||
* Architecture (8 blocks, ~9 named sub-anchors):
|
||||
* 1. <identity> — Role, instruction priority, orchestrator bias
|
||||
* 2. <constraints> — Hard blocks + anti-patterns (early placement for GPT-5.4 attention)
|
||||
* 3. <intent> — Think-first + intent gate + autonomy (merged, domain_guess routing)
|
||||
* 4. <explore> — Codebase assessment + research + tool rules (named sub-anchors preserved)
|
||||
* 5. <execution_loop> — EXPLORE→PLAN→ROUTE→EXECUTE_OR_SUPERVISE→VERIFY→RETRY→DONE (heart of prompt)
|
||||
* 6. <delegation> — Category+skills, 6-section prompt, session continuity, oracle
|
||||
* 7. <tasks> — Task/todo management
|
||||
* 8. <style> — Tone (prose) + output contract + progress updates
|
||||
*/
|
||||
import type { AvailableAgent, AvailableTool, AvailableSkill, AvailableCategory } from "../dynamic-agent-prompt-builder";
|
||||
import { categorizeTools } from "../dynamic-agent-prompt-builder";
|
||||
export declare function buildGpt54SisyphusPrompt(model: string, availableAgents: AvailableAgent[], availableTools?: AvailableTool[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): string;
|
||||
export { categorizeTools };
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Sisyphus agent — multi-model orchestrator.
|
||||
*
|
||||
* This directory contains model-specific prompt variants:
|
||||
* - default.ts: Base implementation for Claude and general models
|
||||
* - gemini.ts: Corrective overlays for Gemini's aggressive tendencies
|
||||
* - gpt-5-4.ts: Native GPT-5.4 prompt with block-structured guidance
|
||||
*/
|
||||
export { buildDefaultSisyphusPrompt, buildTaskManagementSection } from "./default";
|
||||
export { buildGeminiToolMandate, buildGeminiDelegationOverride, buildGeminiVerificationOverride, buildGeminiIntentGateEnforcement, buildGeminiToolGuide, buildGeminiToolCallExamples, } from "./gemini";
|
||||
export { buildGpt54SisyphusPrompt } from "./gpt-5-4";
|
||||
Reference in New Issue
Block a user