Synced from monorepo
Synced from monorepo Changes: - Report invalid MCP server config instead of failing startup - Keep completed terminal output when the gateway connection is lost - Show a duration-only detail view for single-task task output - Don't let a stale registry turn counter hide local sessions - Raise the file-descriptor soft limit on Linux and log effective limits at startup - Stop aborting when HTTP client construction fails - Make session thread and runtime spawn failures recoverable - Fix main-prompt paste parity in the question freeform input - Fire SessionEnd hooks on /exit and headless quit - Embed the deployment-config signing public key - Repaint paste-chip background on inline panel inputs - Security: prevent acceptEdits from auto-approving agent writes into the always-trusted global hook root - Fix stacked "Worked for" markers so parks render as status and turns close with exactly one marker - Parse hooks from config files - Add a remote kill-switch for managed-config signature verification - Security: fix workspace file-reference resolution bypassing workspace filesystem confinement Source-Revision: d02693a856a54f1030695b36b91d276e96b30b23
This commit is contained in:
parent
6e38642082
commit
47348d13ec
138 changed files with 7283 additions and 5796 deletions
|
|
@ -25,6 +25,7 @@ use xai_grok_workspace_types::rpc::code_nav::{
|
|||
CodeFindDefinitionsReq, CodeFindReferencesReq, CodeGotoDefinitionReq, CodeGotoReferencesReq,
|
||||
CodeIndexStatusReq, CodeIndexStatusResponse, CodeNavResponse,
|
||||
};
|
||||
use xai_grok_workspace_types::rpc::export_github::{ExportGithubReq, ExportGithubResponse};
|
||||
use xai_grok_workspace_types::rpc::fs::{
|
||||
FsDeleteFileReq, FsExistsData, FsExistsReq, FsListData, FsListReq, FsReadFileData,
|
||||
FsReadFileReq, FsWriteFileReq, GetFilesReq, GetFilesRes, PutFilesReq, PutFilesRes,
|
||||
|
|
@ -349,6 +350,12 @@ impl WorkspaceClient {
|
|||
pub async fn get_files(&self, req: &GetFilesReq) -> Result<GetFilesRes, WorkspaceClientError> {
|
||||
self.rpc(req).await
|
||||
}
|
||||
pub async fn export_github(
|
||||
&self,
|
||||
req: &ExportGithubReq,
|
||||
) -> Result<ExportGithubResponse, WorkspaceClientError> {
|
||||
self.rpc(req).await
|
||||
}
|
||||
pub async fn fs_list(&self, req: &FsListReq) -> Result<FsListData, WorkspaceClientError> {
|
||||
self.rpc(req).await
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue