41 lines
708 B
TypeScript
41 lines
708 B
TypeScript
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
|
|
}
|