feat: Add cwd and os to TerminalHistory for precise agent binding
This commit is contained in:
1 parent
98a1716ac8
commit
b3c64c1ad8
3 files changed
+18
-13
No files matched your search
@@ -138,7 +138,8 @@ mod tests {
|
||||
let payload = TerminalHistory {
|
||||
command: "echo test".to_string(),
|
||||
exit_code: 0,
|
||||
|
||||
cwd: "C:/Users/reazul.ashraf/workspace".to_string(),
|
||||
os: "windows".to_string(),
|
||||
timestamp: 12345,
|
||||
};
|
||||
|
||||
|
||||
@@ -214,7 +214,8 @@ pub struct GateRecord {
|
||||
pub struct TerminalHistory {
|
||||
pub command: String,
|
||||
pub exit_code: i32,
|
||||
|
||||
pub cwd: String,
|
||||
pub os: String,
|
||||
pub timestamp: u64,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user