Skip to documentation
SLOP

tiny.acp.ClientInfo

Reference 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.

No direct callersNo direct callsclientClientInfo
Static calls · unresolved targets: unknown · external targets: unknown.

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

Definitions1
Public names2
Members3
Version26.7.0
Revisiondaab053ee433