aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema/integrations.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-19 23:52:20 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-19 23:56:07 +0300
commit3f80947678a9723434aa7fddfe23750b5393e24c (patch)
tree6f463797132acfc51dfb6e135820a052954b4f13 /src/api/schema/integrations.rs
parentf76f895efe5b9f19aa9db909354c6c0f2195630b (diff)
feat: make agent automation a first-class cli primitive
Diffstat (limited to 'src/api/schema/integrations.rs')
-rw-r--r--src/api/schema/integrations.rs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/api/schema/integrations.rs b/src/api/schema/integrations.rs
index f20b9095..5a267ff1 100644
--- a/src/api/schema/integrations.rs
+++ b/src/api/schema/integrations.rs
@@ -29,6 +29,25 @@ pub enum IntegrationTarget {
Mastracode,
}
+impl IntegrationTarget {
+ pub(crate) const ALL: [Self; 14] = [
+ Self::Pi,
+ Self::Omp,
+ Self::Claude,
+ Self::Codex,
+ Self::Copilot,
+ Self::Devin,
+ Self::Droid,
+ Self::Kimi,
+ Self::Opencode,
+ Self::Kilo,
+ Self::Hermes,
+ Self::Qodercli,
+ Self::Cursor,
+ Self::Mastracode,
+ ];
+}
+
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, schemars::JsonSchema)]
pub struct IntegrationInstallResult {
pub messages: Vec<String>,