tiny.acp.ClientInfo
Defined in client.
A caller names the calling program to the agent, which reads these strings in the first message of the conversation.
API (3)
Fields and members
Public fields and members.
Source
Source: lib/acp/src/client.zig:124
zig
/// A caller names the calling program to the agent, which reads these strings in the first message/// of the conversation. The structure holds the name, title and version the client reports about/// itself when it opens the conversation. The call `start` sends them in the `clientInfo` object of/// the `initialize` request. Every field has a default, so `.{}` reports the name "acp" and version/// "1.0.0". The strings are borrowed and must stay valid while `start` can run.pub const ClientInfo = struct { /// The program's name, sent as `clientInfo.name`. The field defaults to "acp". name: []const u8 = "acp", /// The program's title, sent as `clientInfo.title`. The field defaults to "acp". title: []const u8 = "acp", /// The program's version, sent as `clientInfo.version`. The field defaults to "1.0.0". version: []const u8 = "1.0.0",};Source: lib/acp/src/root.zig:67
zig
pub const ClientInfo = client.ClientInfo;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 3 |
| Version | 26.7.0 |
| Revision | daab053ee433 |