Interface
FoundryAcpClient
Prerequisite
In order to implement AcpClient, your type must inherit fromGObject.
Instance methods
foundry_acp_client_refresh_changed_files
Refreshes session‘s changed-file model after a prompt or terminal has completed.
unstable since: 1.2
foundry_acp_client_request_permission
Requests permission for an agent tool call.
unstable since: 1.2
foundry_acp_client_session_update
Delivers an ACP session/update notification to the client.
unstable since: 1.2
foundry_acp_client_terminal_wait_for_exit
Handles an ACP terminal/wait_for_exit request.
unstable since: 1.2
Interface structure
struct FoundryAcpClientInterface {
GTypeInterface parent_iface;
DexFuture* (* session_update) (
FoundryAcpClient* self,
FoundryAcpSession* session,
FoundryAcpSessionUpdate* update
);
DexFuture* (* request_permission) (
FoundryAcpClient* self,
FoundryAcpSession* session,
FoundryAcpPermissionRequest* request
);
DexFuture* (* read_text_file) (
FoundryAcpClient* self,
FoundryAcpSession* session,
const char* path,
guint line,
guint limit
);
DexFuture* (* write_text_file) (
FoundryAcpClient* self,
FoundryAcpSession* session,
const char* path,
const char* content
);
DexFuture* (* create_terminal) (
FoundryAcpClient* self,
FoundryAcpSession* session,
const char* command,
const char* const* argv,
const char* cwd,
const char* const* environ,
gssize output_byte_limit
);
DexFuture* (* terminal_output) (
FoundryAcpClient* self,
FoundryAcpSession* session,
const char* terminal_id
);
DexFuture* (* terminal_wait_for_exit) (
FoundryAcpClient* self,
FoundryAcpSession* session,
const char* terminal_id
);
DexFuture* (* terminal_kill) (
FoundryAcpClient* self,
FoundryAcpSession* session,
const char* terminal_id
);
DexFuture* (* terminal_release) (
FoundryAcpClient* self,
FoundryAcpSession* session,
const char* terminal_id
);
DexFuture* (* refresh_changed_files) (
FoundryAcpClient* self,
FoundryAcpSession* session
);
}
No description available.
Interface members
parent_iface |
|
No description available. |
|
session_update |
|
No description available. |
|
request_permission |
|
No description available. |
|
read_text_file |
|
No description available. |
|
write_text_file |
|
No description available. |
|
create_terminal |
|
No description available. |
|
terminal_output |
|
No description available. |
|
terminal_wait_for_exit |
|
No description available. |
|
terminal_kill |
|
No description available. |
|
terminal_release |
|
No description available. |
|
refresh_changed_files |
|
No description available. |
Virtual methods
Foundry.AcpClient.refresh_changed_files
Refreshes session‘s changed-file model after a prompt or terminal has completed.
unstable since: 1.2
Foundry.AcpClient.request_permission
Requests permission for an agent tool call.
unstable since: 1.2
Foundry.AcpClient.session_update
Delivers an ACP session/update notification to the client.
unstable since: 1.2
Foundry.AcpClient.terminal_wait_for_exit
Handles an ACP terminal/wait_for_exit request.
unstable since: 1.2