29 lines
541 B
TypeScript
29 lines
541 B
TypeScript
export const CLOUD_AGENTS_PATH = '/api/cloud-agents';
|
|
|
|
export interface CloudAgentDraft {
|
|
slug: string;
|
|
name: string;
|
|
purpose: string;
|
|
system_prompt: string;
|
|
draft_revision: number;
|
|
updated_at: string;
|
|
}
|
|
|
|
export interface CloudAgentPage {
|
|
agents: CloudAgentDraft[];
|
|
next_cursor: string | null;
|
|
}
|
|
|
|
export interface CreateCloudAgent {
|
|
operation_id: string;
|
|
name: string;
|
|
purpose: string;
|
|
}
|
|
|
|
export interface SaveCloudAgentDraft {
|
|
expected_revision: number;
|
|
name: string;
|
|
purpose: string;
|
|
system_prompt: string;
|
|
}
|