@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
28 lines (27 loc) • 1.3 kB
TypeScript
import type { CharacterfileSchema } from '@base/config/schema';
import type { CharacterfileSchemaV2 } from '@base/config/v2/schema';
export declare const getProjectDashboardUrl: (projectId?: string) => string | undefined;
export type AgentSocialLink = {
type: 'x' | 'github';
url: string;
label: string;
username: string;
};
export declare const getAgentSocialLinksFromCharacterfile: (characterFile?: CharacterfileSchema) => AgentSocialLink[];
export declare const getAgentSocialLinksFromCharacterfileV2: (characterFile?: CharacterfileSchemaV2) => AgentSocialLink[];
export declare const createUrlFromHostname: (hostname: string) => string;
export declare const hasValidRedirectionUrl: () => boolean;
type PersonaGenRoutes = '/assistant/stream' | '/generate' | '/improve_prompt/stream';
export type PersonaGenApiVersions = 'v1' | 'v2';
export declare const getPersonaGenEndpoint: ({ route, version, }: {
route: PersonaGenRoutes;
version?: PersonaGenApiVersions;
}) => string;
type FleekAgentRoutes = '/agents' | '/files';
export type FleekAgentApiVersions = 'v1';
export declare const getFleekAgentEndpoint: ({ route, version, queryParams, }: {
route: FleekAgentRoutes;
version?: FleekAgentApiVersions;
queryParams?: Record<string, string>;
}) => string;
export {};