feat(kiro): add Kiro CLI target provider types, converter, writer, and CLI registration
This commit is contained in:
committed by
Kieran Klaassen
parent
d314d7fa2a
commit
ee76195daf
44
src/types/kiro.ts
Normal file
44
src/types/kiro.ts
Normal file
@@ -0,0 +1,44 @@
|
||||
export type KiroAgent = {
|
||||
name: string
|
||||
config: KiroAgentConfig
|
||||
promptContent: string
|
||||
}
|
||||
|
||||
export type KiroAgentConfig = {
|
||||
name: string
|
||||
description: string
|
||||
prompt: `file://${string}`
|
||||
tools: ["*"]
|
||||
resources: string[]
|
||||
includeMcpJson: true
|
||||
welcomeMessage?: string
|
||||
}
|
||||
|
||||
export type KiroSkill = {
|
||||
name: string
|
||||
content: string // Full SKILL.md with YAML frontmatter
|
||||
}
|
||||
|
||||
export type KiroSkillDir = {
|
||||
name: string
|
||||
sourceDir: string
|
||||
}
|
||||
|
||||
export type KiroSteeringFile = {
|
||||
name: string
|
||||
content: string
|
||||
}
|
||||
|
||||
export type KiroMcpServer = {
|
||||
command: string
|
||||
args?: string[]
|
||||
env?: Record<string, string>
|
||||
}
|
||||
|
||||
export type KiroBundle = {
|
||||
agents: KiroAgent[]
|
||||
generatedSkills: KiroSkill[]
|
||||
skillDirs: KiroSkillDir[]
|
||||
steeringFiles: KiroSteeringFile[]
|
||||
mcpServers: Record<string, KiroMcpServer>
|
||||
}
|
||||
Reference in New Issue
Block a user