feat: add first-class pi target with mcporter/subagent compatibility
This commit is contained in:
40
src/types/pi.ts
Normal file
40
src/types/pi.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
export type PiPrompt = {
|
||||
name: string
|
||||
content: string
|
||||
}
|
||||
|
||||
export type PiSkillDir = {
|
||||
name: string
|
||||
sourceDir: string
|
||||
}
|
||||
|
||||
export type PiGeneratedSkill = {
|
||||
name: string
|
||||
content: string
|
||||
}
|
||||
|
||||
export type PiExtensionFile = {
|
||||
name: string
|
||||
content: string
|
||||
}
|
||||
|
||||
export type PiMcporterServer = {
|
||||
description?: string
|
||||
baseUrl?: string
|
||||
command?: string
|
||||
args?: string[]
|
||||
env?: Record<string, string>
|
||||
headers?: Record<string, string>
|
||||
}
|
||||
|
||||
export type PiMcporterConfig = {
|
||||
mcpServers: Record<string, PiMcporterServer>
|
||||
}
|
||||
|
||||
export type PiBundle = {
|
||||
prompts: PiPrompt[]
|
||||
skillDirs: PiSkillDir[]
|
||||
generatedSkills: PiGeneratedSkill[]
|
||||
extensions: PiExtensionFile[]
|
||||
mcporterConfig?: PiMcporterConfig
|
||||
}
|
||||
Reference in New Issue
Block a user