Add 5 pi extensions: pi-subagents, pi-crew, rpiv-pi, pi-interactive-shell, pi-intercom

This commit is contained in:
2026-05-08 15:59:25 +10:00
parent d0d1d9b045
commit 31b4110c87
457 changed files with 85157 additions and 0 deletions

View 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 };
}