feat(kiro): add Kiro CLI target provider types, converter, writer, and CLI registration

This commit is contained in:
Wilson Tovar
2026-02-17 14:20:19 +01:00
committed by Kieran Klaassen
parent d314d7fa2a
commit ee76195daf
6 changed files with 444 additions and 2 deletions

44
src/types/kiro.ts Normal file
View 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>
}