@johpaz/hive-sdk 0.0.8 → 0.0.10

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 -79
  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
package/package.json CHANGED
@@ -1,98 +1,99 @@
1
1
  {
2
2
  "name": "@johpaz/hive-sdk",
3
- "version": "0.0.8",
4
- "description": "Hive SDK - Build on top of Hive for enterprise and custom integrations",
5
- "private": false,
6
- "main": "./dist/index.js",
7
- "module": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
3
+ "version": "0.0.10",
4
+ "description": "Hive SDK Crear agentes IA con todo incluido: agentes, tools, skills, MCP, TTS, canales, gateway y más.",
9
5
  "license": "MIT",
10
- "files": [
11
- "dist/",
12
- "src/"
13
- ],
14
6
  "type": "module",
15
7
  "scripts": {
16
- "build": "bun build src/index.ts src/agents/index.ts src/tools/index.ts src/skills/index.ts src/mcp/index.ts src/channels/index.ts src/cron/index.ts src/ethics/index.ts src/database/index.ts src/types/index.ts src/hivelearn/index.ts --outdir dist --target bun --external zod --external @google/genai --external @anthropic-ai/sdk --external openai --external ollama --external grammy --external discord.js --external @slack/bolt --external @whiskeysockets/baileys --external puppeteer --external @puppeteer/browsers --external better-sqlite3 --external @modelcontextprotocol/sdk && bunx tsc -p tsconfig.build.json && cp -r dist/src/. dist/ && cp -r dist/sdk/src/. dist/ && rm -rf dist/src dist/sdk",
17
- "prepublishOnly": "bun run build",
18
- "test": "bun test",
19
- "typecheck": "tsc --noEmit",
20
- "lint": "tsc --noEmit"
21
- },
22
- "peerDependencies": {
23
- "typescript": "6.0.2"
24
- },
25
- "peerDependenciesMeta": {
26
- "typescript": {
27
- "optional": true
28
- }
29
- },
30
- "dependencies": {
31
- "zod": "latest",
32
- "@google/genai": "latest",
33
- "@anthropic-ai/sdk": "latest",
34
- "openai": "latest",
35
- "ollama": "latest"
36
- },
37
- "optionalDependencies": {
38
- "grammy": "latest",
39
- "discord.js": "latest",
40
- "@slack/bolt": "latest",
41
- "@whiskeysockets/baileys": "latest",
42
- "puppeteer": "latest",
43
- "@puppeteer/browsers": "latest",
44
- "better-sqlite3": "latest",
45
- "@modelcontextprotocol/sdk": "latest"
46
- },
47
- "devDependencies": {
48
- "@types/bun": "latest",
49
- "typescript": "6.0.2",
50
- "@johpaz/hivelearn": "workspace:*"
8
+ "build": "bun run --cwd ../.. build"
51
9
  },
10
+ "main": "./src/index.ts",
11
+ "module": "./src/index.ts",
12
+ "types": "./src/index.ts",
52
13
  "exports": {
53
14
  ".": {
54
- "types": "./dist/index.d.ts",
55
- "default": "./dist/index.js"
15
+ "types": "./src/index.ts",
16
+ "default": "./src/index.ts"
56
17
  },
57
18
  "./agents": {
58
- "types": "./dist/agents/index.d.ts",
59
- "default": "./dist/agents/index.js"
19
+ "types": "./src/agents.ts",
20
+ "default": "./src/agents.ts"
60
21
  },
61
22
  "./tools": {
62
- "types": "./dist/tools/index.d.ts",
63
- "default": "./dist/tools/index.js"
23
+ "types": "./src/tools.ts",
24
+ "default": "./src/tools.ts"
64
25
  },
65
26
  "./skills": {
66
- "types": "./dist/skills/index.d.ts",
67
- "default": "./dist/skills/index.js"
27
+ "types": "./src/skills.ts",
28
+ "default": "./src/skills.ts"
68
29
  },
69
30
  "./mcp": {
70
- "types": "./dist/mcp/index.d.ts",
71
- "default": "./dist/mcp/index.js"
31
+ "types": "./src/mcp.ts",
32
+ "default": "./src/mcp.ts"
33
+ },
34
+ "./tts": {
35
+ "types": "./src/tts.ts",
36
+ "default": "./src/tts.ts"
72
37
  },
73
38
  "./channels": {
74
- "types": "./dist/channels/index.d.ts",
75
- "default": "./dist/channels/index.js"
39
+ "types": "./src/channels.ts",
40
+ "default": "./src/channels.ts"
76
41
  },
77
- "./cron": {
78
- "types": "./dist/cron/index.d.ts",
79
- "default": "./dist/cron/index.js"
42
+ "./storage": {
43
+ "types": "./src/storage.ts",
44
+ "default": "./src/storage.ts"
80
45
  },
81
- "./ethics": {
82
- "types": "./dist/ethics/index.d.ts",
83
- "default": "./dist/ethics/index.js"
46
+ "./gateway": {
47
+ "types": "./src/gateway.ts",
48
+ "default": "./src/gateway.ts"
84
49
  },
85
- "./database": {
86
- "types": "./dist/database/index.d.ts",
87
- "default": "./dist/database/index.js"
50
+ "./scheduler": {
51
+ "types": "./src/scheduler.ts",
52
+ "default": "./src/scheduler.ts"
88
53
  },
89
- "./types": {
90
- "types": "./dist/types/index.d.ts",
91
- "default": "./dist/types/index.js"
54
+ "./events": {
55
+ "types": "./src/events.ts",
56
+ "default": "./src/events.ts"
57
+ },
58
+ "./state": {
59
+ "types": "./src/state.ts",
60
+ "default": "./src/state.ts"
61
+ },
62
+ "./security": {
63
+ "types": "./src/security.ts",
64
+ "default": "./src/security.ts"
92
65
  },
93
- "./hivelearn": {
94
- "types": "./dist/hivelearn/index.d.ts",
95
- "default": "./dist/hivelearn/index.js"
66
+ "./config": {
67
+ "types": "./src/config.ts",
68
+ "default": "./src/config.ts"
69
+ },
70
+ "./canvas": {
71
+ "types": "./src/canvas.ts",
72
+ "default": "./src/canvas.ts"
73
+ },
74
+ "./voice": {
75
+ "types": "./src/voice.ts",
76
+ "default": "./src/voice.ts"
77
+ },
78
+ "./multimodal": {
79
+ "types": "./src/multimodal.ts",
80
+ "default": "./src/multimodal.ts"
81
+ },
82
+ "./utils": {
83
+ "types": "./src/utils.ts",
84
+ "default": "./src/utils.ts"
85
+ },
86
+ "./types": {
87
+ "types": "./src/types.ts",
88
+ "default": "./src/types.ts"
89
+ }
90
+ },
91
+ "peerDependencies": {
92
+ "typescript": "6.0.2"
93
+ },
94
+ "peerDependenciesMeta": {
95
+ "typescript": {
96
+ "optional": true
96
97
  }
97
98
  },
98
99
  "keywords": [
@@ -101,11 +102,12 @@
101
102
  "agents",
102
103
  "ai",
103
104
  "llm",
104
- "enterprise",
105
- "integration"
106
- ],
107
- "repository": {
108
- "type": "git",
109
- "url": "git+https://github.com/johpaz/hive.git"
110
- }
105
+ "mcp",
106
+ "tts",
107
+ "multi-channel",
108
+ "telegram",
109
+ "discord",
110
+ "whatsapp",
111
+ "slack"
112
+ ]
111
113
  }
package/src/agents.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/agent";
package/src/canvas.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/canvas";
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/channels";
package/src/config.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/config";
package/src/events.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/events";
package/src/gateway.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/gateway";
package/src/index.ts CHANGED
@@ -1,21 +1,14 @@
1
1
  /**
2
- * @johpaz/hive-agents-sdk
2
+ * @johpaz/hive-sdk
3
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.
4
+ * Hive SDK Crear agentes IA con todo incluido.
8
5
  *
9
6
  * @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";
7
+ * import { AgentService, createAllTools, SkillLoader, MCPClientManager } from "@johpaz/hive-sdk";
16
8
  *
17
- * // Or import everything
18
- * import * as HiveSDK from "@johpaz/hive-agents-sdk";
9
+ * const tools = createAllTools(config);
10
+ * const skills = new SkillLoader();
11
+ * const mcp = new MCPClientManager({ servers: {} });
19
12
  */
20
13
 
21
14
  // Agents
@@ -40,24 +33,8 @@ export {
40
33
  selectPlaybookRules,
41
34
  callLLM,
42
35
  resolveProviderConfig,
43
- resolveAgentId,
44
- resolveUserId,
45
- memoryWriteTool as agentMemoryWriteTool,
46
- memoryReadTool as agentMemoryReadTool,
47
- memoryListTool as agentMemoryListTool,
48
- memorySearchTool as agentMemorySearchTool,
49
- memoryDeleteTool as agentMemoryDeleteTool,
50
- agentCreateTool,
51
- agentFindTool,
52
- agentArchiveTool,
53
- taskDelegateTool,
54
- taskDelegateCodeTool,
55
- taskStatusTool,
56
- busPublishTool,
57
- busReadTool,
58
- projectUpdatesTool,
59
- createAgentTools,
60
- } from "./agents/index";
36
+ createAgentRunner,
37
+ } from "@hive-sdk/agent";
61
38
 
62
39
  export type {
63
40
  AgentServiceConfig,
@@ -70,7 +47,10 @@ export type {
70
47
  LLMCallOptions,
71
48
  LLMToolCall,
72
49
  StoredMessage,
73
- } from "./agents/index";
50
+ Provider,
51
+ ModelOptions,
52
+ ModelResponse,
53
+ } from "@hive-sdk/agent";
74
54
 
75
55
  // Tools
76
56
  export {
@@ -116,40 +96,54 @@ export {
116
96
  codebridgeLaunchTool,
117
97
  codebridgeStatusTool,
118
98
  codebridgeCancelTool,
119
- codebridgeFeedbackTool,
120
99
  voiceTranscribeTool,
121
100
  voiceSpeakTool,
122
101
  searchKnowledgeTool,
123
102
  notifyTool,
124
103
  saveNoteTool,
125
104
  reportProgressTool,
126
- } from "./tools/index";
105
+ memoryWriteTool,
106
+ memoryReadTool,
107
+ memoryListTool,
108
+ memorySearchTool,
109
+ memoryDeleteTool,
110
+ agentCreateTool,
111
+ agentFindTool,
112
+ agentArchiveTool,
113
+ taskDelegateTool,
114
+ taskDelegateCodeTool,
115
+ taskStatusTool,
116
+ busPublishTool,
117
+ busReadTool,
118
+ projectUpdatesTool,
119
+ } from "@hive-sdk/tools";
127
120
 
128
- export type { Tool, ToolResult } from "./tools/index";
121
+ export type { Tool, ToolResult } from "@hive-sdk/tools";
129
122
 
130
123
  // Skills
131
- export { SkillLoader, createSkillLoader } from "./skills/index";
124
+ export { SkillLoader, createSkillLoader } from "@hive-sdk/skills";
132
125
 
133
126
  export type {
134
127
  SkillsConfig,
135
- Config,
136
128
  SkillStep,
137
129
  OutputFormat,
138
130
  SkillExample,
139
131
  SkillMetadata,
140
132
  Skill,
141
- } from "./skills/index";
133
+ } from "@hive-sdk/skills";
142
134
 
143
135
  // MCP
144
- export { MCPClientManager, logger } from "./mcp/index";
136
+ export { MCPClientManager } from "@hive-sdk/mcp";
145
137
 
146
138
  export type {
147
139
  MCPTool,
148
140
  MCPResource,
149
141
  MCPPrompt,
142
+ } from "@hive-sdk/mcp";
143
+
144
+ export type {
150
145
  MCPConfig,
151
- MCPServerConfig,
152
- } from "./mcp/index";
146
+ } from "@hive-sdk/mcp/config";
153
147
 
154
148
  // Channels
155
149
  export {
@@ -159,7 +153,7 @@ export {
159
153
  WhatsAppChannel,
160
154
  SlackChannel,
161
155
  WebChatChannel,
162
- } from "./channels/index";
156
+ } from "@hive-sdk/channels";
163
157
 
164
158
  export type {
165
159
  OutboundMessage,
@@ -174,26 +168,9 @@ export type {
174
168
  SlackConfig,
175
169
  SlackConnectionState,
176
170
  WebChatConfig,
177
- } from "./channels/index";
171
+ } from "@hive-sdk/channels";
178
172
 
179
- // Cron
180
- export {
181
- scheduleCreateTool,
182
- scheduleListTool,
183
- schedulePauseTool,
184
- scheduleResumeTool,
185
- scheduleDeleteTool,
186
- scheduleTriggerTool,
187
- scheduleHistoryTool,
188
- createScheduleTools,
189
- setSchedulerInstance,
190
- createCronTools,
191
- } from "./cron/index";
192
-
193
- // Ethics
194
- export { getAllEthics, activateEthics } from "./ethics/index";
195
-
196
- // Database
173
+ // Storage / Database
197
174
  export {
198
175
  getDb,
199
176
  initializeDatabase,
@@ -225,41 +202,103 @@ export {
225
202
  getCoordinatorAgentId,
226
203
  getDefaultAgentId,
227
204
  getAgentConfig,
228
- } from "./database/index";
205
+ resolveAgentId,
206
+ resolveUserId,
207
+ } from "@hive-sdk/storage";
229
208
 
230
209
  export type {
231
210
  SCHEMA,
232
211
  PROJECTS_SCHEMA,
233
212
  CONTEXT_ENGINE_SCHEMA,
234
- } from "./database/index";
213
+ } from "@hive-sdk/storage";
214
+
215
+ // Gateway
216
+ export { startGateway } from "@hive-sdk/gateway";
217
+
218
+ // Scheduler
219
+ export {
220
+ CronScheduler,
221
+ executeScheduledTask,
222
+ createTaskHandler,
223
+ notifyTaskCompletion,
224
+ setSchedulerForCleanup,
225
+ } from "@hive-sdk/scheduler";
235
226
 
236
- // Types
237
227
  export type {
238
- AgentDBRecord as AgentDBRecordType,
239
- AgentServiceConfig as AgentServiceConfigType,
240
- AgentLoopOptions as AgentLoopOptionsType,
241
- StepEvent as StepEventType,
242
- StreamChunk as StreamChunkType,
243
- LLMMessage as LLMMessageType,
244
- LLMResponse as LLMResponseType,
245
- LLMCallOptions as LLMCallOptionsType,
246
- LLMToolCall as LLMToolCallType,
247
- OutboundMessage as OutboundMessageType,
248
- IncomingMessage as IncomingMessageType,
249
- ChannelConfig as ChannelConfigType,
250
- IChannel as IChannelType,
251
- MCPTool as MCPToolType,
252
- MCPResource as MCPResourceType,
253
- MCPPrompt as MCPPromptType,
254
- MCPConfig as MCPConfigType,
255
- MCPServerConfig as MCPServerConfigType,
256
- Skill as SkillType,
257
- SkillMetadata as SkillMetadataType,
258
- SkillStep as SkillStepType,
259
- SkillExample as SkillExampleType,
260
- OutputFormat as OutputFormatType,
261
- SkillsConfig as SkillsConfigType,
262
- StoredMessage as StoredMessageType,
263
- } from "./types/index";
228
+ CronJob,
229
+ TaskRun,
230
+ CreateCronJobInput,
231
+ UpdateCronJobInput,
232
+ CronJobStatus,
233
+ CronJobExecutionHandler,
234
+ CronJobExecutionResult,
235
+ TaskType,
236
+ TaskStatus,
237
+ TaskRunStatus,
238
+ CronerOptions,
239
+ } from "@hive-sdk/scheduler";
240
+
241
+ // Events
242
+ export { eventBus } from "@hive-sdk/events";
243
+
244
+ // State
245
+ export { stateStore } from "@hive-sdk/state";
246
+
247
+ // Security
248
+ export {
249
+ TokenBucketRateLimiter,
250
+ SlidingWindowRateLimiter,
251
+ createTokenBucketLimiter,
252
+ createSlidingWindowLimiter,
253
+ } from "@hive-sdk/security";
254
+
255
+ // Config
256
+ export {
257
+ getHiveDir,
258
+ loadConfig,
259
+ expandConfigPath,
260
+ expandPath,
261
+ type Config,
262
+ type ProviderConfig,
263
+ type MCPServerConfig,
264
+ type AgentEntry,
265
+ type Binding,
266
+ type ConfigUserConfig,
267
+ } from "@hive-sdk/config";
268
+
269
+ // Canvas
270
+ export { canvasManager } from "@hive-sdk/canvas";
271
+
272
+ // Voice
273
+ export { voiceService } from "@hive-sdk/voice";
274
+
275
+ export type {
276
+ VoiceConfig,
277
+ AudioInput,
278
+ AudioOutput,
279
+ } from "@hive-sdk/voice";
280
+
281
+ // Multimodal
282
+ export { multimodalService } from "@hive-sdk/multimodal";
283
+
284
+ export type {
285
+ ContentPart,
286
+ ImageInput,
287
+ DocumentInput,
288
+ VisionConfig,
289
+ MultimodalMessageType,
290
+ } from "@hive-sdk/multimodal";
291
+
292
+ // Utils
293
+ export { logger, retry } from "@hive-sdk/utils";
294
+
295
+ // TTS
296
+ export {
297
+ isTTSAvailable,
298
+ synthesize,
299
+ synthesizeToFile,
300
+ listVoices,
301
+ detectPlatform,
302
+ } from "@hive-sdk/tts";
264
303
 
265
304
  export const SDK_VERSION = "1.0.0";
package/src/mcp.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/mcp";
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/multimodal";
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/scheduler";
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/security";
package/src/skills.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/skills";
package/src/state.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/state";
package/src/storage.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/storage";
package/src/tools.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/tools";
package/src/tts.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/tts";
package/src/types.ts ADDED
@@ -0,0 +1,82 @@
1
+ export type {
2
+ AgentDBRecord,
3
+ AgentServiceConfig,
4
+ AgentLoopOptions,
5
+ StepEvent,
6
+ StreamChunk,
7
+ LLMMessage,
8
+ LLMResponse,
9
+ LLMCallOptions,
10
+ LLMToolCall,
11
+ Provider,
12
+ ModelOptions,
13
+ ModelResponse,
14
+ } from "@hive-sdk/agent";
15
+
16
+ export type { Tool, ToolResult } from "@hive-sdk/tools";
17
+
18
+ export type {
19
+ OutboundMessage,
20
+ IncomingMessage,
21
+ ChannelConfig,
22
+ IChannel,
23
+ TelegramConfig,
24
+ DiscordConfig,
25
+ WhatsAppConfig,
26
+ WhatsAppConnectionState,
27
+ SlackConfig,
28
+ SlackConnectionState,
29
+ WebChatConfig,
30
+ } from "@hive-sdk/channels";
31
+
32
+ export type {
33
+ MCPTool,
34
+ MCPResource,
35
+ MCPPrompt,
36
+ } from "@hive-sdk/mcp";
37
+
38
+ export type {
39
+ MCPConfig,
40
+ MCPServerConfig,
41
+ } from "@hive-sdk/mcp/config";
42
+
43
+ export type {
44
+ Skill,
45
+ SkillMetadata,
46
+ SkillStep,
47
+ SkillExample,
48
+ OutputFormat,
49
+ SkillsConfig,
50
+ } from "@hive-sdk/skills";
51
+
52
+ export type {
53
+ StoredMessage,
54
+ } from "@hive-sdk/agent";
55
+
56
+ export type {
57
+ CronJob,
58
+ TaskRun,
59
+ CreateCronJobInput,
60
+ UpdateCronJobInput,
61
+ CronJobStatus,
62
+ CronJobExecutionHandler,
63
+ CronJobExecutionResult,
64
+ TaskType,
65
+ TaskStatus,
66
+ TaskRunStatus,
67
+ CronerOptions,
68
+ } from "@hive-sdk/scheduler";
69
+
70
+ export type {
71
+ VoiceConfig,
72
+ AudioInput,
73
+ AudioOutput,
74
+ } from "@hive-sdk/voice";
75
+
76
+ export type {
77
+ ContentPart,
78
+ ImageInput,
79
+ DocumentInput,
80
+ VisionConfig,
81
+ MultimodalMessageType,
82
+ } from "@hive-sdk/multimodal";
package/src/utils.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/utils";
package/src/voice.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@hive-sdk/voice";