@johpaz/hive-sdk 0.0.9 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/package.json +81 -78
  2. package/src/agents.ts +1 -0
  3. package/src/canvas.ts +1 -0
  4. package/src/channels.ts +1 -0
  5. package/src/config.ts +1 -0
  6. package/src/events.ts +1 -0
  7. package/src/gateway.ts +1 -0
  8. package/src/index.ts +129 -90
  9. package/src/mcp.ts +1 -0
  10. package/src/multimodal.ts +1 -0
  11. package/src/scheduler.ts +1 -0
  12. package/src/security.ts +1 -0
  13. package/src/skills.ts +1 -0
  14. package/src/state.ts +1 -0
  15. package/src/storage.ts +1 -0
  16. package/src/tools.ts +1 -0
  17. package/src/tts.ts +1 -0
  18. package/src/types.ts +82 -0
  19. package/src/utils.ts +1 -0
  20. package/src/voice.ts +1 -0
  21. package/README.md +0 -538
  22. package/dist/agents/index.d.ts +0 -30
  23. package/dist/agents/index.js +0 -175901
  24. package/dist/channels/index.d.ts +0 -18
  25. package/dist/channels/index.js +0 -11025
  26. package/dist/cron/index.d.ts +0 -15
  27. package/dist/cron/index.js +0 -3262
  28. package/dist/database/index.d.ts +0 -19
  29. package/dist/database/index.js +0 -8385
  30. package/dist/ethics/index.d.ts +0 -12
  31. package/dist/ethics/index.js +0 -8348
  32. package/dist/hivelearn/index.d.ts +0 -11
  33. package/dist/hivelearn/index.js +0 -5033
  34. package/dist/hivelearn/src/agent/agent-loop.d.ts +0 -14
  35. package/dist/hivelearn/src/agent/executor.d.ts +0 -10
  36. package/dist/hivelearn/src/agent/prompts.d.ts +0 -1
  37. package/dist/hivelearn/src/agent/runner.d.ts +0 -8
  38. package/dist/hivelearn/src/agent/tool-map.d.ts +0 -12
  39. package/dist/hivelearn/src/agents/coordinator.prompt.d.ts +0 -9
  40. package/dist/hivelearn/src/agents/prompts/audio.prompt.d.ts +0 -1
  41. package/dist/hivelearn/src/agents/prompts/challenge.prompt.d.ts +0 -1
  42. package/dist/hivelearn/src/agents/prompts/code.prompt.d.ts +0 -1
  43. package/dist/hivelearn/src/agents/prompts/evaluation.prompt.d.ts +0 -1
  44. package/dist/hivelearn/src/agents/prompts/exercise.prompt.d.ts +0 -1
  45. package/dist/hivelearn/src/agents/prompts/explanation.prompt.d.ts +0 -1
  46. package/dist/hivelearn/src/agents/prompts/feedback.prompt.d.ts +0 -1
  47. package/dist/hivelearn/src/agents/prompts/gamification.prompt.d.ts +0 -1
  48. package/dist/hivelearn/src/agents/prompts/gif.prompt.d.ts +0 -1
  49. package/dist/hivelearn/src/agents/prompts/infographic.prompt.d.ts +0 -1
  50. package/dist/hivelearn/src/agents/prompts/intent.prompt.d.ts +0 -1
  51. package/dist/hivelearn/src/agents/prompts/profile.prompt.d.ts +0 -1
  52. package/dist/hivelearn/src/agents/prompts/quiz.prompt.d.ts +0 -1
  53. package/dist/hivelearn/src/agents/prompts/structure.prompt.d.ts +0 -1
  54. package/dist/hivelearn/src/agents/prompts/svg.prompt.d.ts +0 -1
  55. package/dist/hivelearn/src/agents/registry.d.ts +0 -43
  56. package/dist/hivelearn/src/cache/CacheInvalidator.d.ts +0 -9
  57. package/dist/hivelearn/src/cache/NodeCache.d.ts +0 -15
  58. package/dist/hivelearn/src/events/swarm-events.d.ts +0 -12
  59. package/dist/hivelearn/src/index.d.ts +0 -17
  60. package/dist/hivelearn/src/persistence/LessonPersistence.d.ts +0 -90
  61. package/dist/hivelearn/src/scheduler/dag/DAGScheduler.d.ts +0 -29
  62. package/dist/hivelearn/src/scheduler/dag/EventBridge.d.ts +0 -16
  63. package/dist/hivelearn/src/scheduler/dag/TaskGraph.d.ts +0 -18
  64. package/dist/hivelearn/src/scheduler/dag/TaskNode.d.ts +0 -40
  65. package/dist/hivelearn/src/scheduler/dag/TaskResult.d.ts +0 -19
  66. package/dist/hivelearn/src/scheduler/dag/errors.d.ts +0 -17
  67. package/dist/hivelearn/src/scheduler/dag/index.d.ts +0 -13
  68. package/dist/hivelearn/src/scheduler/dag/strategies/ParallelStrategy.d.ts +0 -11
  69. package/dist/hivelearn/src/swarm/HiveLearnSwarm.d.ts +0 -16
  70. package/dist/hivelearn/src/swarm/orchestrator.d.ts +0 -15
  71. package/dist/hivelearn/src/swarm/presets/HiveLearnPreset.d.ts +0 -35
  72. package/dist/hivelearn/src/swarm/session.d.ts +0 -15
  73. package/dist/hivelearn/src/tools/canvas/disenar-estructura.tool.d.ts +0 -3
  74. package/dist/hivelearn/src/tools/canvas/poblar-nodo.tool.d.ts +0 -2
  75. package/dist/hivelearn/src/tools/content/generar-audio.tool.d.ts +0 -2
  76. package/dist/hivelearn/src/tools/content/generar-codigo.tool.d.ts +0 -2
  77. package/dist/hivelearn/src/tools/content/generar-ejercicio.tool.d.ts +0 -2
  78. package/dist/hivelearn/src/tools/content/generar-explicacion.tool.d.ts +0 -2
  79. package/dist/hivelearn/src/tools/content/generar-frames-gif.tool.d.ts +0 -2
  80. package/dist/hivelearn/src/tools/content/generar-imagen.tool.d.ts +0 -2
  81. package/dist/hivelearn/src/tools/content/generar-infografia.tool.d.ts +0 -2
  82. package/dist/hivelearn/src/tools/content/generar-quiz.tool.d.ts +0 -2
  83. package/dist/hivelearn/src/tools/content/generar-reto.tool.d.ts +0 -2
  84. package/dist/hivelearn/src/tools/content/generar-svg.tool.d.ts +0 -2
  85. package/dist/hivelearn/src/tools/coordinator/delegar-enjambre.tool.d.ts +0 -6
  86. package/dist/hivelearn/src/tools/coordinator/revisar-programa.tool.d.ts +0 -6
  87. package/dist/hivelearn/src/tools/evaluation/calificar-evaluacion.tool.d.ts +0 -20
  88. package/dist/hivelearn/src/tools/evaluation/generar-evaluacion.tool.d.ts +0 -2
  89. package/dist/hivelearn/src/tools/index.d.ts +0 -26
  90. package/dist/hivelearn/src/tools/profile/clasificar-intencion.tool.d.ts +0 -2
  91. package/dist/hivelearn/src/tools/search/buscar-curriculo-existente.tool.d.ts +0 -2
  92. package/dist/hivelearn/src/tools/search/buscar-en-hivelearn.tool.d.ts +0 -2
  93. package/dist/hivelearn/src/types/tool.d.ts +0 -17
  94. package/dist/hivelearn/src/types.d.ts +0 -187
  95. package/dist/hivelearn/src/utils/logger.d.ts +0 -21
  96. package/dist/index.d.ts +0 -35
  97. package/dist/index.js +0 -179740
  98. package/dist/mcp/index.d.ts +0 -14
  99. package/dist/mcp/index.js +0 -728
  100. package/dist/skills/index.d.ts +0 -12
  101. package/dist/skills/index.js +0 -5877
  102. package/dist/tools/index.d.ts +0 -25
  103. package/dist/tools/index.js +0 -175794
  104. package/dist/types/index.d.ts +0 -17
  105. package/dist/types/index.js +0 -1
  106. package/src/agents/index.ts +0 -61
  107. package/src/channels/index.ts +0 -31
  108. package/src/cron/index.ts +0 -40
  109. package/src/database/index.ts +0 -41
  110. package/src/ethics/index.ts +0 -16
  111. package/src/hivelearn/index.ts +0 -43
  112. package/src/mcp/index.ts +0 -17
  113. package/src/skills/index.ts +0 -23
  114. package/src/tools/index.ts +0 -111
  115. package/src/types/index.ts +0 -58
@@ -1,2 +0,0 @@
1
- import type { Tool } from '../../types/tool';
2
- export declare const generarQuizTool: Tool;
@@ -1,2 +0,0 @@
1
- import type { Tool } from '../../types/tool';
2
- export declare const generarRetoTool: Tool;
@@ -1,2 +0,0 @@
1
- import type { Tool } from '../../types/tool';
2
- export declare const generarSvgTool: Tool;
@@ -1,6 +0,0 @@
1
- import type { Tool } from '../../types/tool';
2
- /**
3
- * Tool del Coordinador para delegar al enjambre de workers.
4
- * Ejecuta el DAGScheduler con los workers seleccionados y devuelve el LessonProgram.
5
- */
6
- export declare const delegarEnjambreTool: Tool;
@@ -1,6 +0,0 @@
1
- import type { Tool } from '../../types/tool';
2
- /**
3
- * Tool del Coordinador para registrar su revisión pedagógica del LessonProgram.
4
- * Es una structured-output tool — los args son el resultado final.
5
- */
6
- export declare const revisarProgramaTool: Tool;
@@ -1,20 +0,0 @@
1
- import type { Tool } from '../../types/tool';
2
- import type { FeedbackOutput, PreguntaEvaluacion } from '../../types';
3
- export interface CalificacionInput {
4
- preguntas: PreguntaEvaluacion[];
5
- respuestasAlumno: Array<string | number>;
6
- }
7
- export interface CalificacionOutput {
8
- puntaje: number;
9
- correctas: number;
10
- total: number;
11
- feedback: FeedbackOutput[];
12
- }
13
- /**
14
- * Evalúa directamente las respuestas del alumno sin necesitar un agente LLM.
15
- * - multiple_choice: compara índice seleccionado con indiceCorrecto
16
- * - respuesta_corta: similitud de palabras clave (umbral 0.5)
17
- */
18
- export declare function evaluarRespuestas(input: CalificacionInput): CalificacionOutput;
19
- export declare const calificarEvaluacionTool: Tool;
20
- export declare const calificarRespuestaTool: Tool;
@@ -1,2 +0,0 @@
1
- import type { Tool } from '../../types/tool';
2
- export declare const generarEvaluacionTool: Tool;
@@ -1,26 +0,0 @@
1
- export { disenarEstructuraTool } from './canvas/disenar-estructura.tool';
2
- export { poblarNodoTool } from './canvas/poblar-nodo.tool';
3
- export { generarExplicacionTool } from './content/generar-explicacion.tool';
4
- export { generarEjercicioTool } from './content/generar-ejercicio.tool';
5
- export { generarQuizTool } from './content/generar-quiz.tool';
6
- export { generarRetoTool } from './content/generar-reto.tool';
7
- export { generarCodigoTool } from './content/generar-codigo.tool';
8
- export { generarSvgTool } from './content/generar-svg.tool';
9
- export { generarFramesGifTool } from './content/generar-frames-gif.tool';
10
- export { generarInfografiaTool } from './content/generar-infografia.tool';
11
- export { generarEvaluacionTool } from './evaluation/generar-evaluacion.tool';
12
- export { calificarEvaluacionTool, calificarRespuestaTool } from './evaluation/calificar-evaluacion.tool';
13
- export { generarImagenTool } from './content/generar-imagen.tool';
14
- export { clasificarIntencionTool } from './profile/clasificar-intencion.tool';
15
- export { buscarCurriculoExistenteTool } from './search/buscar-curriculo-existente.tool';
16
- export { buscarEnHiveLearnTool } from './search/buscar-en-hivelearn.tool';
17
- export { revisarProgramaTool } from './coordinator/revisar-programa.tool';
18
- export { delegarEnjambreTool } from './coordinator/delegar-enjambre.tool';
19
- import type { LLMToolDef } from '../types/tool';
20
- export declare const PROFILE_TOOLS: LLMToolDef[];
21
- export declare const INTENT_TOOLS: LLMToolDef[];
22
- export declare const STRUCTURE_TOOLS: LLMToolDef[];
23
- export declare const CONTENT_TOOLS: LLMToolDef[];
24
- export declare const VISUAL_TOOLS: LLMToolDef[];
25
- export declare const EVALUATION_TOOLS: LLMToolDef[];
26
- export declare const GAMIFICATION_TOOLS: LLMToolDef[];
@@ -1,2 +0,0 @@
1
- import type { Tool } from '../../types/tool';
2
- export declare const clasificarIntencionTool: Tool;
@@ -1,2 +0,0 @@
1
- import type { Tool } from '../../types/tool';
2
- export declare const buscarCurriculoExistenteTool: Tool;
@@ -1,2 +0,0 @@
1
- import type { Tool } from '../../types/tool';
2
- export declare const buscarEnHiveLearnTool: Tool;
@@ -1,17 +0,0 @@
1
- /**
2
- * HiveLearn — Tool types (local copy, no core dependency)
3
- */
4
- export interface Tool {
5
- name: string;
6
- description: string;
7
- parameters: Record<string, any>;
8
- execute?: (params: Record<string, unknown>, config?: any) => Promise<string | object>;
9
- }
10
- export interface LLMToolDef {
11
- type: 'function';
12
- function: {
13
- name: string;
14
- description: string;
15
- parameters: Record<string, any>;
16
- };
17
- }
@@ -1,187 +0,0 @@
1
- /** Tipos compartidos entre backend y UI de HiveLearn */
2
- export type RangoEdad = 'nino' | 'adolescente' | 'adulto';
3
- export type TipoPedagogico = 'concept' | 'exercise' | 'quiz' | 'challenge' | 'milestone' | 'evaluation';
4
- export type TipoVisual = 'text_card' | 'code_block' | 'svg_diagram' | 'gif_guide' | 'infographic' | 'chart' | 'animated_card' | 'image_ai' | 'audio_ai';
5
- export type TipoPregunta = 'verdadero_falso' | 'multiple_choice' | 'respuesta_corta' | 'completar_codigo';
6
- export type NivelPrevio = 'principiante' | 'principiante_base' | 'intermedio';
7
- export type EstiloAprendizaje = 'visual' | 'lectura' | 'retos' | 'balanceado' | 'mis_retos';
8
- export type EstadoNodo = 'bloqueado' | 'disponible' | 'completado';
9
- export type AgentStatus = 'idle' | 'pending' | 'running' | 'thinking' | 'tool_call' | 'completed' | 'failed';
10
- export type CoordinatorStatus = 'idle' | 'analyzing' | 'delegating' | 'assembling' | 'rendering' | 'completed' | 'error';
11
- export interface CoordinatorState {
12
- status: CoordinatorStatus;
13
- currentWorker: string | null;
14
- activeWorkers: string[];
15
- totalWorkers: number;
16
- }
17
- export interface StudentProfile {
18
- alumnoId: string;
19
- nombre: string;
20
- edad: number;
21
- rangoEdad: RangoEdad;
22
- tiempoSesion: 15 | 30 | 45;
23
- nivelPrevio: NivelPrevio;
24
- estilo: EstiloAprendizaje;
25
- sesionesTotal: number;
26
- xpAcumulado: number;
27
- nivelActual: string;
28
- }
29
- export interface PerfilAdaptacion {
30
- rangoEdad: RangoEdad;
31
- duracionSesion: number;
32
- nodosRecomendados: number;
33
- estilo: EstiloAprendizaje;
34
- nivelPrevio: NivelPrevio;
35
- tono: string;
36
- }
37
- export interface IntentResult {
38
- tema: string;
39
- nivelDetectado: NivelPrevio;
40
- topicSlug: string | null;
41
- tono: string;
42
- confianza: number;
43
- }
44
- export interface NodoLesson {
45
- id: string;
46
- tipoPedagogico: TipoPedagogico;
47
- tipoVisual: TipoVisual;
48
- titulo: string;
49
- concepto: string;
50
- nivel: NivelPrevio;
51
- rangoEdad: RangoEdad;
52
- posX: number;
53
- posY: number;
54
- estado: EstadoNodo;
55
- xpRecompensa: number;
56
- contenido?: NodoContenido;
57
- }
58
- export interface MicroEvaluacion {
59
- tipo: TipoPregunta;
60
- pregunta: string;
61
- opciones?: string[];
62
- respuestaCorrecta: string;
63
- pista?: string;
64
- }
65
- export interface NodoContenido {
66
- explicacion?: ExplicacionOutput;
67
- ejercicio?: EjercicioOutput;
68
- quiz?: QuizOutput;
69
- reto?: RetoOutput;
70
- codigo?: CodigoOutput;
71
- svg?: SvgOutput;
72
- gifFrames?: GifOutput;
73
- infografia?: InfografiaOutput;
74
- evaluacion?: EvaluacionOutput;
75
- microEval?: MicroEvaluacion;
76
- imagen?: ImagenOutput;
77
- audio?: AudioOutput;
78
- }
79
- export interface ImagenOutput {
80
- prompt: string;
81
- estilo: 'diagram' | 'illustration' | 'chart';
82
- alt_text: string;
83
- caption: string;
84
- svg_fallback: string;
85
- url?: string;
86
- }
87
- export interface AudioOutput {
88
- narration_text: string;
89
- voice_tone: 'friendly' | 'professional' | 'motivating';
90
- key_pauses: string[];
91
- speed: 'slow' | 'normal' | 'fast';
92
- title: string;
93
- }
94
- export interface ExplicacionOutput {
95
- titulo: string;
96
- explicacion: string;
97
- ejemploConcreto: string;
98
- }
99
- export interface EjercicioOutput {
100
- enunciado: string;
101
- ejemploRespuesta: string;
102
- respuestaCorrecta: string;
103
- pistaOpcional?: string;
104
- }
105
- export interface QuizOutput {
106
- pregunta: string;
107
- opciones: string[];
108
- indicesCorrecto: number;
109
- explicacionesIncorrectas: string[];
110
- }
111
- export interface RetoOutput {
112
- titulo: string;
113
- contexto: string;
114
- pasos: string[];
115
- criteriosExito: string[];
116
- }
117
- export interface CodigoOutput {
118
- lenguaje: string;
119
- codigo: string;
120
- descripcionBreve: string;
121
- }
122
- export interface SvgOutput {
123
- svgString: string;
124
- }
125
- export interface GifFrame {
126
- emoji: string;
127
- texto: string;
128
- duracionMs: number;
129
- }
130
- export interface GifOutput {
131
- frames: GifFrame[];
132
- }
133
- export interface InfografiaSeccion {
134
- emoji: string;
135
- titulo: string;
136
- valor: string;
137
- }
138
- export interface InfografiaOutput {
139
- secciones: InfografiaSeccion[];
140
- }
141
- export interface GamificacionOutput {
142
- xpRecompensa: number;
143
- logros: Logro[];
144
- mensajeCelebracion: string;
145
- badge?: string;
146
- }
147
- export interface Logro {
148
- id: string;
149
- nombre: string;
150
- descripcion: string;
151
- emoji: string;
152
- xp: number;
153
- }
154
- export interface EvaluacionOutput {
155
- preguntas: PreguntaEvaluacion[];
156
- }
157
- export interface PreguntaEvaluacion {
158
- tipo: 'multiple_choice' | 'respuesta_corta';
159
- pregunta: string;
160
- opciones?: string[];
161
- indiceCorrecto?: number;
162
- respuestaEsperada?: string;
163
- }
164
- export interface FeedbackOutput {
165
- correcto: boolean;
166
- mensajePrincipal: string;
167
- pistaSiIncorrecto?: string;
168
- xpGanado: number;
169
- razonamiento?: string;
170
- }
171
- export interface LessonProgram {
172
- sessionId: string;
173
- alumnoId: string;
174
- tema: string;
175
- topicSlug: string | null;
176
- rangoEdad: RangoEdad;
177
- nodos: NodoLesson[];
178
- gamificacion: GamificacionOutput;
179
- evaluacion: EvaluacionOutput;
180
- perfilAdaptacion: PerfilAdaptacion;
181
- }
182
- export interface SwarmProgress {
183
- etapa: string;
184
- agenteActivo: string;
185
- porcentaje: number;
186
- mensaje: string;
187
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * HiveLearn — Logger simple (no depende de core)
3
- */
4
- declare class ChildLogger {
5
- private context;
6
- constructor(context: string);
7
- debug(msg: string): void;
8
- info(msg: string): void;
9
- warn(msg: string): void;
10
- error(msg: string): void;
11
- child(sub: string): ChildLogger;
12
- }
13
- declare class RootLogger {
14
- debug(msg: string): void;
15
- info(msg: string): void;
16
- warn(msg: string): void;
17
- error(msg: string): void;
18
- child(context: string): ChildLogger;
19
- }
20
- export declare const logger: RootLogger;
21
- export {};
package/dist/index.d.ts DELETED
@@ -1,35 +0,0 @@
1
- /**
2
- * @johpaz/hive-agents-sdk
3
- *
4
- * Hive SDK - Build on top of Hive for enterprise and custom integrations.
5
- *
6
- * This package exposes all internal Hive functionality as a clean, organized API
7
- * for developers who want to build on top of Hive, including hive-cloud Enterprise.
8
- *
9
- * @example
10
- * import { runAgent, AgentService } from "@johpaz/hive-agents-sdk/agents";
11
- * import { createAllTools } from "@johpaz/hive-agents-sdk/tools";
12
- * import { SkillLoader } from "@johpaz/hive-agents-sdk/skills";
13
- * import { MCPClientManager } from "@johpaz/hive-agents-sdk/mcp";
14
- * import { ChannelManager } from "@johpaz/hive-agents-sdk/channels";
15
- * import { getDb, initDatabase } from "@johpaz/hive-agents-sdk/database";
16
- *
17
- * // Or import everything
18
- * import * as HiveSDK from "@johpaz/hive-agents-sdk";
19
- */
20
- export { AgentService, getAgentService, createAgentService, runAgent, runAgentIsolated, rebuildAgentLoop, getAgentLoop, compileContext, buildSystemPromptWithProjects, addMessage, getHistory, getRecentMessages, getMessageCount, getTotalTokens, getMessagesAfter, selectTools, selectSkills, selectPlaybookRules, callLLM, resolveProviderConfig, resolveAgentId, resolveUserId, memoryWriteTool as agentMemoryWriteTool, memoryReadTool as agentMemoryReadTool, memoryListTool as agentMemoryListTool, memorySearchTool as agentMemorySearchTool, memoryDeleteTool as agentMemoryDeleteTool, agentCreateTool, agentFindTool, agentArchiveTool, taskDelegateTool, taskDelegateCodeTool, taskStatusTool, busPublishTool, busReadTool, projectUpdatesTool, createAgentTools, } from "./agents/index";
21
- export type { AgentServiceConfig, AgentDBRecord, AgentLoopOptions, StepEvent, StreamChunk, LLMMessage, LLMResponse, LLMCallOptions, LLMToolCall, StoredMessage, } from "./agents/index";
22
- export { createAllTools, createToolsByCategory, fsEditTool, fsReadTool, fsWriteTool, fsDeleteTool, fsListTool, fsGlobTool, fsExistsTool, webSearchTool, webFetchTool, browserNavigateTool, browserScreenshotTool, browserClickTool, browserTypeTool, projectCreateTool, projectListTool, projectUpdateTool, projectDoneTool, projectFailTool, taskCreateTool, taskUpdateTool, taskEvaluateTool, cronCreateTool, cronListTool, cronPauseTool, cronResumeTool, cronDeleteTool, cronTriggerTool, cronHistoryTool, resolveBestChannel, cliExecTool, canvasRenderTool, canvasAskTool, canvasConfirmTool, canvasShowCardTool, canvasShowProgressTool, canvasShowListTool, canvasClearTool, codebridgeLaunchTool, codebridgeStatusTool, codebridgeCancelTool, codebridgeFeedbackTool, voiceTranscribeTool, voiceSpeakTool, searchKnowledgeTool, notifyTool, saveNoteTool, reportProgressTool, } from "./tools/index";
23
- export type { Tool, ToolResult } from "./tools/index";
24
- export { SkillLoader, createSkillLoader } from "./skills/index";
25
- export type { SkillsConfig, Config, SkillStep, OutputFormat, SkillExample, SkillMetadata, Skill, } from "./skills/index";
26
- export { MCPClientManager, logger } from "./mcp/index";
27
- export type { MCPTool, MCPResource, MCPPrompt, MCPConfig, MCPServerConfig, } from "./mcp/index";
28
- export { ChannelManager, TelegramChannel, DiscordChannel, WhatsAppChannel, SlackChannel, WebChatChannel, } from "./channels/index";
29
- export type { OutboundMessage, IncomingMessage, ChannelConfig, IChannel, MessageHandler, TelegramConfig, DiscordConfig, WhatsAppConfig, WhatsAppConnectionState, SlackConfig, SlackConnectionState, WebChatConfig, } from "./channels/index";
30
- export { scheduleCreateTool, scheduleListTool, schedulePauseTool, scheduleResumeTool, scheduleDeleteTool, scheduleTriggerTool, scheduleHistoryTool, createScheduleTools, setSchedulerInstance, createCronTools, } from "./cron/index";
31
- export { getAllEthics, activateEthics } from "./ethics/index";
32
- export { getDb, initializeDatabase, getDbPathLazy, dbService, seedAllData, seedToolsAndSkills, getAllElements, getActiveElements, encrypt, decrypt, encryptApiKey, decryptApiKey, encryptConfig, decryptConfig, hashPassword, verifyPassword, maskApiKey, getAllProviders, getAllModels, getAllCodeBridge, getAllSkills, getAllDbTools, getAllMcpServers, getAllChannels, getActiveTools, getUserAgents, getSingleUserId, getCoordinatorAgentId, getDefaultAgentId, getAgentConfig, } from "./database/index";
33
- export type { SCHEMA, PROJECTS_SCHEMA, CONTEXT_ENGINE_SCHEMA, } from "./database/index";
34
- export type { AgentDBRecord as AgentDBRecordType, AgentServiceConfig as AgentServiceConfigType, AgentLoopOptions as AgentLoopOptionsType, StepEvent as StepEventType, StreamChunk as StreamChunkType, LLMMessage as LLMMessageType, LLMResponse as LLMResponseType, LLMCallOptions as LLMCallOptionsType, LLMToolCall as LLMToolCallType, OutboundMessage as OutboundMessageType, IncomingMessage as IncomingMessageType, ChannelConfig as ChannelConfigType, IChannel as IChannelType, MCPTool as MCPToolType, MCPResource as MCPResourceType, MCPPrompt as MCPPromptType, MCPConfig as MCPConfigType, MCPServerConfig as MCPServerConfigType, Skill as SkillType, SkillMetadata as SkillMetadataType, SkillStep as SkillStepType, SkillExample as SkillExampleType, OutputFormat as OutputFormatType, SkillsConfig as SkillsConfigType, StoredMessage as StoredMessageType, } from "./types/index";
35
- export declare const SDK_VERSION = "1.0.0";