chore: rename project to clawdbot

This commit is contained in:
Peter Steinberger
2026-01-04 14:32:47 +00:00
parent d48dc71fa4
commit 246adaa119
841 changed files with 4590 additions and 4328 deletions

View File

@@ -0,0 +1,70 @@
import ClawdbotProtocol
import Foundation
struct SkillsStatusReport: Codable {
let workspaceDir: String
let managedSkillsDir: String
let skills: [SkillStatus]
}
struct SkillStatus: Codable, Identifiable {
let name: String
let description: String
let source: String
let filePath: String
let baseDir: String
let skillKey: String
let primaryEnv: String?
let emoji: String?
let homepage: String?
let always: Bool
let disabled: Bool
let eligible: Bool
let requirements: SkillRequirements
let missing: SkillMissing
let configChecks: [SkillStatusConfigCheck]
let install: [SkillInstallOption]
var id: String { self.name }
}
struct SkillRequirements: Codable {
let bins: [String]
let env: [String]
let config: [String]
}
struct SkillMissing: Codable {
let bins: [String]
let env: [String]
let config: [String]
}
struct SkillStatusConfigCheck: Codable, Identifiable {
let path: String
let value: AnyCodable?
let satisfied: Bool
var id: String { self.path }
}
struct SkillInstallOption: Codable, Identifiable {
let id: String
let kind: String
let label: String
let bins: [String]
}
struct SkillInstallResult: Codable {
let ok: Bool
let message: String
let stdout: String?
let stderr: String?
let code: Int?
}
struct SkillUpdateResult: Codable {
let ok: Bool
let skillKey: String
let config: [String: AnyCodable]?
}