chore: include pre-built dist for github install
This commit is contained in:
Vendored
+35
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
* Atlas - Master Orchestrator Agent
|
||||
*
|
||||
* Orchestrates work via task() to complete ALL tasks in a todo list until fully done.
|
||||
* You are the conductor of a symphony of specialized agents.
|
||||
*
|
||||
* 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 { AgentPromptMetadata } from "../types";
|
||||
import type { AvailableAgent, AvailableSkill } from "../dynamic-agent-prompt-builder";
|
||||
import type { CategoryConfig } from "../../config/schema";
|
||||
export type AtlasPromptSource = "default" | "gpt" | "gemini";
|
||||
/**
|
||||
* Determines which Atlas prompt to use based on model.
|
||||
*/
|
||||
export declare function getAtlasPromptSource(model?: string): AtlasPromptSource;
|
||||
export interface OrchestratorContext {
|
||||
model?: string;
|
||||
availableAgents?: AvailableAgent[];
|
||||
availableSkills?: AvailableSkill[];
|
||||
userCategories?: Record<string, CategoryConfig>;
|
||||
}
|
||||
/**
|
||||
* Gets the appropriate Atlas prompt based on model.
|
||||
*/
|
||||
export declare function getAtlasPrompt(model?: string): string;
|
||||
export declare function createAtlasAgent(ctx: OrchestratorContext): AgentConfig;
|
||||
export declare namespace createAtlasAgent {
|
||||
var mode: "all";
|
||||
}
|
||||
export declare const atlasPromptMetadata: AgentPromptMetadata;
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Default Atlas system prompt optimized for Claude series models.
|
||||
*
|
||||
* Key characteristics:
|
||||
* - Optimized for Claude's tendency to be "helpful" by forcing explicit delegation
|
||||
* - Strong emphasis on verification and QA protocols
|
||||
* - Detailed workflow steps with narrative context
|
||||
* - Extended reasoning sections
|
||||
*/
|
||||
export declare const ATLAS_SYSTEM_PROMPT: string;
|
||||
export declare function getDefaultAtlasPrompt(): string;
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Gemini-optimized Atlas System Prompt
|
||||
*
|
||||
* Key differences from Claude/GPT variants:
|
||||
* - EXTREME delegation enforcement (Gemini strongly prefers doing work itself)
|
||||
* - Aggressive verification language (Gemini trusts subagent claims too readily)
|
||||
* - Repeated tool-call mandates (Gemini skips tool calls in favor of reasoning)
|
||||
* - Consequence-driven framing (Gemini ignores soft warnings)
|
||||
*/
|
||||
export declare const ATLAS_GEMINI_SYSTEM_PROMPT: string;
|
||||
export declare function getGeminiAtlasPrompt(): string;
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* GPT-5.4 Optimized Atlas System Prompt
|
||||
*
|
||||
* Tuned for GPT-5.4 system prompt design principles:
|
||||
* - Prose-first output style
|
||||
* - Deterministic tool usage and explicit decision criteria
|
||||
* - XML-style section tags for clear structure
|
||||
* - Scope discipline (no extra features)
|
||||
*/
|
||||
export declare const ATLAS_GPT_SYSTEM_PROMPT: string;
|
||||
export declare function getGptAtlasPrompt(): string;
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
export { createAtlasAgent, atlasPromptMetadata } from "./agent";
|
||||
export type { AtlasPromptSource, OrchestratorContext } from "./agent";
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Atlas Orchestrator - Shared Utilities
|
||||
*
|
||||
* Common functions for building dynamic prompt sections used by both
|
||||
* default (Claude-optimized) and GPT-optimized prompts.
|
||||
*/
|
||||
import type { CategoryConfig } from "../../config/schema";
|
||||
import type { AvailableAgent, AvailableSkill } from "../dynamic-agent-prompt-builder";
|
||||
export declare const getCategoryDescription: (name: string, userCategories?: Record<string, CategoryConfig>) => string;
|
||||
export declare function buildAgentSelectionSection(agents: AvailableAgent[]): string;
|
||||
export declare function buildCategorySection(userCategories?: Record<string, CategoryConfig>): string;
|
||||
export declare function buildSkillsSection(skills: AvailableSkill[]): string;
|
||||
export declare function buildDecisionMatrix(agents: AvailableAgent[], userCategories?: Record<string, CategoryConfig>): string;
|
||||
Reference in New Issue
Block a user