Add ACP agent backend and terminal controls

This commit is contained in:
2026-07-30 07:25:11 -05:00
parent dbfa8bcd48
commit ad24374f6d
84 changed files with 12151 additions and 157 deletions
+9
View File
@@ -51,6 +51,8 @@ pub enum ActionParameterSpec {
TabActivate,
TabClose,
TabCreate,
TerminalExecute,
TerminalInterrupt,
Text,
ThemeName,
}
@@ -73,6 +75,7 @@ pub enum ActionResultSpec {
SurfaceList,
TargetList,
TargetMetadata,
TerminalStatus,
ThemeList,
ThemeState,
}
@@ -231,6 +234,12 @@ define_action_catalog! {
InputReplace => { name: "input.replace", status: Implemented, target: Input, params: Text, result: Acknowledgement },
}
terminal {
TerminalStatus => { name: "terminal.status", status: Implemented, target: Session, params: None, result: TerminalStatus },
TerminalExecute => { name: "terminal.execute", status: Implemented, target: Session, params: TerminalExecute, result: Acknowledgement },
TerminalInterrupt => { name: "terminal.interrupt", status: Implemented, target: Session, params: TerminalInterrupt, result: Acknowledgement },
}
theme {
ThemeList => { name: "theme.list", status: Implemented, target: Appearance, params: None, result: ThemeList },
ThemeGet => { name: "theme.get", status: Implemented, target: Appearance, params: None, result: ThemeState },