@iqai/adk-cli
Version:
CLI tool for creating, running, and testing ADK-TS agents
108 lines • 2.52 kB
TypeScript
export declare class SuccessResponseDto {
success: boolean;
}
export declare class ErrorResponseDto {
error: string;
}
export declare class AgentListItemDto {
path: string;
name: string;
directory: string;
relativePath: string;
}
export declare class AgentsListResponseDto {
agents: AgentListItemDto[];
}
export declare class MessageItemDto {
id: number;
type: "user" | "assistant";
content: string;
timestamp: string;
}
export declare class MessagesResponseDto {
messages: MessageItemDto[];
}
export declare class MessageResponseDto {
response: string;
agentName: string;
}
export declare class SessionResponseDto {
id: string;
appName: string;
userId: string;
state: Record<string, any>;
eventCount: number;
lastUpdateTime: number;
createdAt: number;
}
export declare class SessionsResponseDto {
sessions: SessionResponseDto[];
}
export declare class EventItemDto {
id: string;
author: string;
timestamp: number;
content: any;
actions: any;
functionCalls: any[];
functionResponses: any[];
branch?: string;
isFinalResponse: boolean;
}
export declare class EventsResponseDto {
events: EventItemDto[];
totalCount: number;
}
export declare class StateMetadataDto {
lastUpdated: number;
changeCount: number;
totalKeys: number;
sizeBytes: number;
}
export declare class StateResponseDto {
agentState: Record<string, any>;
userState: Record<string, any>;
sessionState: Record<string, any>;
metadata: StateMetadataDto;
}
export declare class HealthResponseDto {
status: string;
version: string;
}
export declare class GraphNodeDto {
id: string;
label: string;
kind: "agent" | "tool";
type?: string;
shape?: string;
group?: string;
}
export declare class GraphEdgeDto {
from: string;
to: string;
}
export declare class GraphResponseDto {
nodes: GraphNodeDto[];
edges: GraphEdgeDto[];
}
export declare class ArtifactResponseDto {
filename: string;
mimeType: string;
contents: string | Uint8Array;
version: number;
timestamp: number;
}
export declare class ArtifactKeyDto {
filename: string;
}
export declare class ArtifactsListResponseDto {
artifacts: ArtifactKeyDto[];
}
export declare class ArtifactVersionDto {
version: number;
timestamp: number;
}
export declare class ArtifactVersionsResponseDto {
versions: ArtifactVersionDto[];
}
//# sourceMappingURL=api.dto.d.ts.map