@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
21 lines (20 loc) • 984 B
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';
export type PersonaGenApiVersions = 'v1' | 'v2';
export declare const getPersonaGenEndpoint: ({ route, version, }: {
route: PersonaGenRoutes;
version?: PersonaGenApiVersions;
}) => string;
export {};