Add 5 pi extensions: pi-subagents, pi-crew, rpiv-pi, pi-interactive-shell, pi-intercom
This commit is contained in:
30
extensions/pi-crew/src/agents/agent-config.ts
Normal file
30
extensions/pi-crew/src/agents/agent-config.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
export type ResourceSource = "builtin" | "user" | "project" | "git";
|
||||
|
||||
export interface RoutingMetadata {
|
||||
triggers?: string[];
|
||||
useWhen?: string[];
|
||||
avoidWhen?: string[];
|
||||
cost?: "free" | "cheap" | "expensive";
|
||||
category?: string;
|
||||
}
|
||||
|
||||
export interface AgentConfig {
|
||||
name: string;
|
||||
description: string;
|
||||
source: ResourceSource;
|
||||
filePath: string;
|
||||
systemPrompt: string;
|
||||
model?: string;
|
||||
fallbackModels?: string[];
|
||||
thinking?: string;
|
||||
tools?: string[];
|
||||
extensions?: string[];
|
||||
skills?: string[];
|
||||
systemPromptMode?: "replace" | "append";
|
||||
inheritProjectContext?: boolean;
|
||||
inheritSkills?: boolean;
|
||||
routing?: RoutingMetadata;
|
||||
memory?: "user" | "project" | "local";
|
||||
disabled?: boolean;
|
||||
override?: { source: "config"; path: string };
|
||||
}
|
||||
Reference in New Issue
Block a user