@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.
- package/package.json +81 -78
- package/src/agents.ts +1 -0
- package/src/canvas.ts +1 -0
- package/src/channels.ts +1 -0
- package/src/config.ts +1 -0
- package/src/events.ts +1 -0
- package/src/gateway.ts +1 -0
- package/src/index.ts +129 -90
- package/src/mcp.ts +1 -0
- package/src/multimodal.ts +1 -0
- package/src/scheduler.ts +1 -0
- package/src/security.ts +1 -0
- package/src/skills.ts +1 -0
- package/src/state.ts +1 -0
- package/src/storage.ts +1 -0
- package/src/tools.ts +1 -0
- package/src/tts.ts +1 -0
- package/src/types.ts +82 -0
- package/src/utils.ts +1 -0
- package/src/voice.ts +1 -0
- package/README.md +0 -538
- package/dist/agents/index.d.ts +0 -30
- package/dist/agents/index.js +0 -175901
- package/dist/channels/index.d.ts +0 -18
- package/dist/channels/index.js +0 -11025
- package/dist/cron/index.d.ts +0 -15
- package/dist/cron/index.js +0 -3262
- package/dist/database/index.d.ts +0 -19
- package/dist/database/index.js +0 -8385
- package/dist/ethics/index.d.ts +0 -12
- package/dist/ethics/index.js +0 -8348
- package/dist/hivelearn/index.d.ts +0 -11
- package/dist/hivelearn/index.js +0 -5033
- package/dist/hivelearn/src/agent/agent-loop.d.ts +0 -14
- package/dist/hivelearn/src/agent/executor.d.ts +0 -10
- package/dist/hivelearn/src/agent/prompts.d.ts +0 -1
- package/dist/hivelearn/src/agent/runner.d.ts +0 -8
- package/dist/hivelearn/src/agent/tool-map.d.ts +0 -12
- package/dist/hivelearn/src/agents/coordinator.prompt.d.ts +0 -9
- package/dist/hivelearn/src/agents/prompts/audio.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/challenge.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/code.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/evaluation.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/exercise.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/explanation.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/feedback.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/gamification.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/gif.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/infographic.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/intent.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/profile.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/quiz.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/structure.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/prompts/svg.prompt.d.ts +0 -1
- package/dist/hivelearn/src/agents/registry.d.ts +0 -43
- package/dist/hivelearn/src/cache/CacheInvalidator.d.ts +0 -9
- package/dist/hivelearn/src/cache/NodeCache.d.ts +0 -15
- package/dist/hivelearn/src/events/swarm-events.d.ts +0 -12
- package/dist/hivelearn/src/index.d.ts +0 -17
- package/dist/hivelearn/src/persistence/LessonPersistence.d.ts +0 -90
- package/dist/hivelearn/src/scheduler/dag/DAGScheduler.d.ts +0 -29
- package/dist/hivelearn/src/scheduler/dag/EventBridge.d.ts +0 -16
- package/dist/hivelearn/src/scheduler/dag/TaskGraph.d.ts +0 -18
- package/dist/hivelearn/src/scheduler/dag/TaskNode.d.ts +0 -40
- package/dist/hivelearn/src/scheduler/dag/TaskResult.d.ts +0 -19
- package/dist/hivelearn/src/scheduler/dag/errors.d.ts +0 -17
- package/dist/hivelearn/src/scheduler/dag/index.d.ts +0 -13
- package/dist/hivelearn/src/scheduler/dag/strategies/ParallelStrategy.d.ts +0 -11
- package/dist/hivelearn/src/swarm/HiveLearnSwarm.d.ts +0 -16
- package/dist/hivelearn/src/swarm/orchestrator.d.ts +0 -15
- package/dist/hivelearn/src/swarm/presets/HiveLearnPreset.d.ts +0 -35
- package/dist/hivelearn/src/swarm/session.d.ts +0 -15
- package/dist/hivelearn/src/tools/canvas/disenar-estructura.tool.d.ts +0 -3
- package/dist/hivelearn/src/tools/canvas/poblar-nodo.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/content/generar-audio.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/content/generar-codigo.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/content/generar-ejercicio.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/content/generar-explicacion.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/content/generar-frames-gif.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/content/generar-imagen.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/content/generar-infografia.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/content/generar-quiz.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/content/generar-reto.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/content/generar-svg.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/coordinator/delegar-enjambre.tool.d.ts +0 -6
- package/dist/hivelearn/src/tools/coordinator/revisar-programa.tool.d.ts +0 -6
- package/dist/hivelearn/src/tools/evaluation/calificar-evaluacion.tool.d.ts +0 -20
- package/dist/hivelearn/src/tools/evaluation/generar-evaluacion.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/index.d.ts +0 -26
- package/dist/hivelearn/src/tools/profile/clasificar-intencion.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/search/buscar-curriculo-existente.tool.d.ts +0 -2
- package/dist/hivelearn/src/tools/search/buscar-en-hivelearn.tool.d.ts +0 -2
- package/dist/hivelearn/src/types/tool.d.ts +0 -17
- package/dist/hivelearn/src/types.d.ts +0 -187
- package/dist/hivelearn/src/utils/logger.d.ts +0 -21
- package/dist/index.d.ts +0 -35
- package/dist/index.js +0 -179740
- package/dist/mcp/index.d.ts +0 -14
- package/dist/mcp/index.js +0 -728
- package/dist/skills/index.d.ts +0 -12
- package/dist/skills/index.js +0 -5877
- package/dist/tools/index.d.ts +0 -25
- package/dist/tools/index.js +0 -175794
- package/dist/types/index.d.ts +0 -17
- package/dist/types/index.js +0 -1
- package/src/agents/index.ts +0 -61
- package/src/channels/index.ts +0 -31
- package/src/cron/index.ts +0 -40
- package/src/database/index.ts +0 -41
- package/src/ethics/index.ts +0 -16
- package/src/hivelearn/index.ts +0 -43
- package/src/mcp/index.ts +0 -17
- package/src/skills/index.ts +0 -23
- package/src/tools/index.ts +0 -111
- package/src/types/index.ts +0 -58
package/dist/types/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hive SDK - Types Module
|
|
3
|
-
*
|
|
4
|
-
* Exposes all TypeScript types from the Hive system.
|
|
5
|
-
* Use this for complete type support when building on Hive.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* import type { StoredMessage, LLMMessage } from "@johpaz/hive-agents-sdk/types";
|
|
9
|
-
*/
|
|
10
|
-
export type { AgentDBRecord, AgentServiceConfig, } from "@johpaz/hive-agents-core/agent/service";
|
|
11
|
-
export type { AgentLoopOptions, StepEvent, StreamChunk, } from "@johpaz/hive-agents-core/agent/agent-loop";
|
|
12
|
-
export type { LLMMessage, LLMResponse, LLMCallOptions, LLMToolCall, } from "@johpaz/hive-agents-core/agent/llm-client";
|
|
13
|
-
export type { OutboundMessage, IncomingMessage, ChannelConfig, IChannel, } from "@johpaz/hive-agents-core/channels/base";
|
|
14
|
-
export type { MCPTool, MCPResource, MCPPrompt, } from "@johpaz/hive-agents-mcp/manager";
|
|
15
|
-
export type { MCPConfig, MCPServerConfig, } from "@johpaz/hive-agents-mcp/config";
|
|
16
|
-
export type { Skill, SkillMetadata, SkillStep, SkillExample, OutputFormat, SkillsConfig, } from "@johpaz/hive-agents-skills/loader";
|
|
17
|
-
export type { StoredMessage, } from "@johpaz/hive-agents-core/agent/conversation-store";
|
package/dist/types/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// @bun
|
package/src/agents/index.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hive SDK - Agents Module
|
|
3
|
-
*
|
|
4
|
-
* Exposes agent execution, context compilation, and agent loop functionality.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* import { runAgent, AgentService, compileContext } from "@johpaz/hive-agents-sdk/agents";
|
|
8
|
-
*
|
|
9
|
-
* // Run an agent with a message
|
|
10
|
-
* const response = await runAgent({
|
|
11
|
-
* agentId: "main",
|
|
12
|
-
* message: "Hello, agent!",
|
|
13
|
-
* threadId: "thread-123"
|
|
14
|
-
* });
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
export { AgentService, getAgentService, createAgentService } from "@johpaz/hive-agents-core/agent/service";
|
|
18
|
-
|
|
19
|
-
export type { AgentServiceConfig, AgentDBRecord } from "@johpaz/hive-agents-core/agent/service";
|
|
20
|
-
|
|
21
|
-
export { runAgent, runAgentIsolated, rebuildAgentLoop, getAgentLoop } from "@johpaz/hive-agents-core/agent/agent-loop";
|
|
22
|
-
|
|
23
|
-
export type { AgentLoopOptions, StepEvent, StreamChunk } from "@johpaz/hive-agents-core/agent/agent-loop";
|
|
24
|
-
|
|
25
|
-
export { compileContext } from "@johpaz/hive-agents-core/agent/context-compiler";
|
|
26
|
-
|
|
27
|
-
export { buildSystemPromptWithProjects } from "@johpaz/hive-agents-core/agent/prompt-builder";
|
|
28
|
-
|
|
29
|
-
export { addMessage, getHistory, getRecentMessages, getMessageCount, getTotalTokens, getMessagesAfter } from "@johpaz/hive-agents-core/agent/conversation-store";
|
|
30
|
-
|
|
31
|
-
export type { StoredMessage } from "@johpaz/hive-agents-core/agent/conversation-store";
|
|
32
|
-
|
|
33
|
-
export { selectTools } from "@johpaz/hive-agents-core/agent/tool-selector";
|
|
34
|
-
|
|
35
|
-
export { selectSkills } from "@johpaz/hive-agents-core/agent/skill-selector";
|
|
36
|
-
|
|
37
|
-
export { selectPlaybookRules } from "@johpaz/hive-agents-core/agent/playbook-selector";
|
|
38
|
-
|
|
39
|
-
export { callLLM, resolveProviderConfig } from "@johpaz/hive-agents-core/agent/llm-client";
|
|
40
|
-
|
|
41
|
-
export type { LLMMessage, LLMResponse, LLMCallOptions, LLMToolCall } from "@johpaz/hive-agents-core/agent/llm-client";
|
|
42
|
-
|
|
43
|
-
export { resolveAgentId, resolveUserId } from "@johpaz/hive-agents-core/storage/onboarding";
|
|
44
|
-
|
|
45
|
-
export {
|
|
46
|
-
memoryWriteTool,
|
|
47
|
-
memoryReadTool,
|
|
48
|
-
memoryListTool,
|
|
49
|
-
memorySearchTool,
|
|
50
|
-
memoryDeleteTool,
|
|
51
|
-
agentCreateTool,
|
|
52
|
-
agentFindTool,
|
|
53
|
-
agentArchiveTool,
|
|
54
|
-
taskDelegateTool,
|
|
55
|
-
taskDelegateCodeTool,
|
|
56
|
-
taskStatusTool,
|
|
57
|
-
busPublishTool,
|
|
58
|
-
busReadTool,
|
|
59
|
-
projectUpdatesTool,
|
|
60
|
-
createTools as createAgentTools,
|
|
61
|
-
} from "@johpaz/hive-agents-core/tools/agents";
|
package/src/channels/index.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hive SDK - Channels Module
|
|
3
|
-
*
|
|
4
|
-
* Exposes all channel adapters and channel management.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* import { ChannelManager, TelegramChannel, DiscordChannel } from "@johpaz/hive-agents-sdk/channels";
|
|
8
|
-
*
|
|
9
|
-
* // Get channel manager
|
|
10
|
-
* const manager = new ChannelManager(config);
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export { ChannelManager } from "@johpaz/hive-agents-core/channels/manager";
|
|
14
|
-
|
|
15
|
-
export type {
|
|
16
|
-
OutboundMessage,
|
|
17
|
-
IncomingMessage,
|
|
18
|
-
ChannelConfig,
|
|
19
|
-
IChannel,
|
|
20
|
-
MessageHandler,
|
|
21
|
-
} from "@johpaz/hive-agents-core/channels/base";
|
|
22
|
-
|
|
23
|
-
export { TelegramChannel, type TelegramConfig } from "@johpaz/hive-agents-core/channels/telegram";
|
|
24
|
-
|
|
25
|
-
export { DiscordChannel, type DiscordConfig } from "@johpaz/hive-agents-core/channels/discord";
|
|
26
|
-
|
|
27
|
-
export { WhatsAppChannel, type WhatsAppConfig, type WhatsAppConnectionState } from "@johpaz/hive-agents-core/channels/whatsapp";
|
|
28
|
-
|
|
29
|
-
export { SlackChannel, type SlackConfig, type SlackConnectionState } from "@johpaz/hive-agents-core/channels/slack";
|
|
30
|
-
|
|
31
|
-
export { WebChatChannel, type WebChatConfig } from "@johpaz/hive-agents-core/channels/webchat";
|
package/src/cron/index.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hive SDK - Cron Module
|
|
3
|
-
*
|
|
4
|
-
* Exposes the scheduler and cron job management functions.
|
|
5
|
-
* Includes both legacy cron tools and new Croner-based schedule tools.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* import {
|
|
9
|
-
* scheduleCreateTool,
|
|
10
|
-
* scheduleListTool,
|
|
11
|
-
* initCronScheduler,
|
|
12
|
-
* } from "@johpaz/hive-agents-sdk/cron";
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
// New schedule tools (scheduled_tasks table - Croner-based)
|
|
16
|
-
export {
|
|
17
|
-
scheduleCreateTool,
|
|
18
|
-
scheduleListTool,
|
|
19
|
-
schedulePauseTool,
|
|
20
|
-
scheduleResumeTool,
|
|
21
|
-
scheduleDeleteTool,
|
|
22
|
-
scheduleTriggerTool,
|
|
23
|
-
scheduleHistoryTool,
|
|
24
|
-
createTools as createScheduleTools,
|
|
25
|
-
setSchedulerInstance,
|
|
26
|
-
} from "@johpaz/hive-agents-core/tools/schedule";
|
|
27
|
-
|
|
28
|
-
// Legacy cron tools (cron_jobs table) - re-export for backward compatibility
|
|
29
|
-
// Note: These are also available via @johpaz/hive-agents-sdk/tools
|
|
30
|
-
export {
|
|
31
|
-
cronCreateTool,
|
|
32
|
-
cronListTool,
|
|
33
|
-
cronPauseTool,
|
|
34
|
-
cronResumeTool,
|
|
35
|
-
cronDeleteTool,
|
|
36
|
-
cronTriggerTool,
|
|
37
|
-
cronHistoryTool,
|
|
38
|
-
createTools as createCronTools,
|
|
39
|
-
resolveBestChannel,
|
|
40
|
-
} from "@johpaz/hive-agents-core/tools/cron";
|
package/src/database/index.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hive SDK - Database Module
|
|
3
|
-
*
|
|
4
|
-
* Exposes database access, schema, and crypto utilities.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* import { getDb, initDatabase, SCHEMA } from "@johpaz/hive-agents-sdk/database";
|
|
8
|
-
*
|
|
9
|
-
* // Initialize database
|
|
10
|
-
* initDatabase();
|
|
11
|
-
*
|
|
12
|
-
* // Get database instance
|
|
13
|
-
* const db = getDb();
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
export { getDb, initializeDatabase, getDbPathLazy, dbService } from "@johpaz/hive-agents-core/storage/sqlite";
|
|
17
|
-
|
|
18
|
-
export { SCHEMA, PROJECTS_SCHEMA, CONTEXT_ENGINE_SCHEMA } from "@johpaz/hive-agents-core/storage/schema";
|
|
19
|
-
|
|
20
|
-
export { seedAllData, seedToolsAndSkills, getAllElements, getActiveElements } from "@johpaz/hive-agents-core/storage/seed";
|
|
21
|
-
|
|
22
|
-
export { encrypt, decrypt, encryptApiKey, decryptApiKey, encryptConfig, decryptConfig, hashPassword, verifyPassword, maskApiKey } from "@johpaz/hive-agents-core/storage/crypto";
|
|
23
|
-
|
|
24
|
-
export {
|
|
25
|
-
getAllProviders,
|
|
26
|
-
getAllModels,
|
|
27
|
-
getAllEthics,
|
|
28
|
-
getAllCodeBridge,
|
|
29
|
-
getAllSkills,
|
|
30
|
-
getAllDbTools,
|
|
31
|
-
getAllMcpServers,
|
|
32
|
-
getAllChannels,
|
|
33
|
-
getActiveTools,
|
|
34
|
-
getUserAgents,
|
|
35
|
-
resolveUserId,
|
|
36
|
-
resolveAgentId,
|
|
37
|
-
getSingleUserId,
|
|
38
|
-
getCoordinatorAgentId,
|
|
39
|
-
getDefaultAgentId,
|
|
40
|
-
getAgentConfig,
|
|
41
|
-
} from "@johpaz/hive-agents-core/storage/onboarding";
|
package/src/ethics/index.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hive SDK - Ethics Module
|
|
3
|
-
*
|
|
4
|
-
* Exposes the constitutional ethics system and ethics rule management.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* import { getAllEthics, activateEthics } from "@johpaz/hive-agents-sdk/ethics";
|
|
8
|
-
*
|
|
9
|
-
* // Get all ethics rules
|
|
10
|
-
* const rules = getAllEthics();
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export {
|
|
14
|
-
getAllEthics,
|
|
15
|
-
activateEthics,
|
|
16
|
-
} from "@johpaz/hive-agents-core/storage/onboarding";
|
package/src/hivelearn/index.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @johpaz/hive-sdk/hivelearn
|
|
3
|
-
*
|
|
4
|
-
* Sub-módulo que expone el enjambre HiveLearn para integraciones enterprise.
|
|
5
|
-
* Permite a agencias desplegar módulos de capacitación IA personalizados.
|
|
6
|
-
*
|
|
7
|
-
* Uso:
|
|
8
|
-
* import { runHiveLearnSession, LessonPersistence } from '@johpaz/hive-sdk/hivelearn'
|
|
9
|
-
*/
|
|
10
|
-
export {
|
|
11
|
-
HiveLearnSwarm,
|
|
12
|
-
runHiveLearnSession,
|
|
13
|
-
LessonPersistence,
|
|
14
|
-
evaluarRespuestas,
|
|
15
|
-
calificarEvaluacionTool,
|
|
16
|
-
calificarRespuestaTool,
|
|
17
|
-
AGENT_IDS,
|
|
18
|
-
updateHiveLearnAgentsProviderModel,
|
|
19
|
-
hlSwarmEmitter,
|
|
20
|
-
nodeCache,
|
|
21
|
-
cacheInvalidator,
|
|
22
|
-
} from '@johpaz/hivelearn'
|
|
23
|
-
|
|
24
|
-
export type {
|
|
25
|
-
StudentProfile,
|
|
26
|
-
LessonProgram,
|
|
27
|
-
SwarmProgress,
|
|
28
|
-
NodoLesson,
|
|
29
|
-
NodoContenido,
|
|
30
|
-
MicroEvaluacion,
|
|
31
|
-
FeedbackOutput,
|
|
32
|
-
EvaluacionOutput,
|
|
33
|
-
PreguntaEvaluacion,
|
|
34
|
-
GamificacionOutput,
|
|
35
|
-
Logro,
|
|
36
|
-
RangoEdad,
|
|
37
|
-
TipoPedagogico,
|
|
38
|
-
TipoVisual,
|
|
39
|
-
EstadoNodo,
|
|
40
|
-
CalificacionOutput,
|
|
41
|
-
CalificacionInput,
|
|
42
|
-
SessionData,
|
|
43
|
-
} from '@johpaz/hivelearn'
|
package/src/mcp/index.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hive SDK - MCP Module
|
|
3
|
-
*
|
|
4
|
-
* Exposes the MCP adapter and server connection functions.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* import { MCPClientManager } from "@johpaz/hive-agents-sdk/mcp";
|
|
8
|
-
*
|
|
9
|
-
* // Connect to an MCP server
|
|
10
|
-
* const manager = new MCPClientManager({ servers: {} });
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export { MCPClientManager, type MCPTool, type MCPResource, type MCPPrompt } from "@johpaz/hive-agents-mcp/manager";
|
|
14
|
-
|
|
15
|
-
export type { MCPConfig, MCPServerConfig } from "@johpaz/hive-agents-mcp/config";
|
|
16
|
-
|
|
17
|
-
export { logger } from "@johpaz/hive-agents-mcp/logger";
|
package/src/skills/index.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hive SDK - Skills Module
|
|
3
|
-
*
|
|
4
|
-
* Exposes the skill registry, base skills, and skill loader.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* import { SkillLoader, createSkillLoader } from "@johpaz/hive-agents-sdk/skills";
|
|
8
|
-
*
|
|
9
|
-
* // Create a skill loader
|
|
10
|
-
* const loader = createSkillLoader({ workspacePath: "/path/to/workspace" });
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export {
|
|
14
|
-
SkillLoader,
|
|
15
|
-
createSkillLoader,
|
|
16
|
-
type SkillsConfig,
|
|
17
|
-
type Config,
|
|
18
|
-
type SkillStep,
|
|
19
|
-
type OutputFormat,
|
|
20
|
-
type SkillExample,
|
|
21
|
-
type SkillMetadata,
|
|
22
|
-
type Skill,
|
|
23
|
-
} from "@johpaz/hive-agents-skills/loader";
|
package/src/tools/index.ts
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hive SDK - Tools Module
|
|
3
|
-
*
|
|
4
|
-
* Exposes the tool registry, all seed tools, and tool creation utilities.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* import { createAllTools, ToolRegistry } from "@johpaz/hive-agents-sdk/tools";
|
|
8
|
-
*
|
|
9
|
-
* // Create all 52 tools
|
|
10
|
-
* const tools = createAllTools(config);
|
|
11
|
-
*
|
|
12
|
-
* // Or by category
|
|
13
|
-
* const fsTools = createToolsByCategory("filesystem", config);
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
createAllTools,
|
|
18
|
-
createToolsByCategory,
|
|
19
|
-
type Tool,
|
|
20
|
-
type ToolResult,
|
|
21
|
-
} from "@johpaz/hive-agents-core/tools";
|
|
22
|
-
|
|
23
|
-
export {
|
|
24
|
-
fsEditTool,
|
|
25
|
-
fsReadTool,
|
|
26
|
-
fsWriteTool,
|
|
27
|
-
fsDeleteTool,
|
|
28
|
-
fsListTool,
|
|
29
|
-
fsGlobTool,
|
|
30
|
-
fsExistsTool,
|
|
31
|
-
} from "@johpaz/hive-agents-core/tools/filesystem";
|
|
32
|
-
|
|
33
|
-
export {
|
|
34
|
-
webSearchTool,
|
|
35
|
-
webFetchTool,
|
|
36
|
-
browserNavigateTool,
|
|
37
|
-
browserScreenshotTool,
|
|
38
|
-
browserClickTool,
|
|
39
|
-
browserTypeTool,
|
|
40
|
-
} from "@johpaz/hive-agents-core/tools/web";
|
|
41
|
-
|
|
42
|
-
export {
|
|
43
|
-
projectCreateTool,
|
|
44
|
-
projectListTool,
|
|
45
|
-
projectUpdateTool,
|
|
46
|
-
projectDoneTool,
|
|
47
|
-
projectFailTool,
|
|
48
|
-
taskCreateTool,
|
|
49
|
-
taskUpdateTool,
|
|
50
|
-
taskEvaluateTool,
|
|
51
|
-
} from "@johpaz/hive-agents-core/tools/projects";
|
|
52
|
-
|
|
53
|
-
export {
|
|
54
|
-
cronCreateTool,
|
|
55
|
-
cronListTool,
|
|
56
|
-
cronPauseTool,
|
|
57
|
-
cronResumeTool,
|
|
58
|
-
cronDeleteTool,
|
|
59
|
-
cronTriggerTool,
|
|
60
|
-
cronHistoryTool,
|
|
61
|
-
setSchedulerInstance,
|
|
62
|
-
resolveBestChannel,
|
|
63
|
-
} from "@johpaz/hive-agents-core/tools/cron";
|
|
64
|
-
|
|
65
|
-
export { cliExecTool } from "@johpaz/hive-agents-core/tools/cli";
|
|
66
|
-
|
|
67
|
-
export {
|
|
68
|
-
memoryWriteTool,
|
|
69
|
-
memoryReadTool,
|
|
70
|
-
memoryListTool,
|
|
71
|
-
memorySearchTool,
|
|
72
|
-
memoryDeleteTool,
|
|
73
|
-
agentCreateTool,
|
|
74
|
-
agentFindTool,
|
|
75
|
-
agentArchiveTool,
|
|
76
|
-
taskDelegateTool,
|
|
77
|
-
taskDelegateCodeTool,
|
|
78
|
-
taskStatusTool,
|
|
79
|
-
busPublishTool,
|
|
80
|
-
busReadTool,
|
|
81
|
-
projectUpdatesTool,
|
|
82
|
-
} from "@johpaz/hive-agents-core/tools/agents";
|
|
83
|
-
|
|
84
|
-
export {
|
|
85
|
-
canvasRenderTool,
|
|
86
|
-
canvasAskTool,
|
|
87
|
-
canvasConfirmTool,
|
|
88
|
-
canvasShowCardTool,
|
|
89
|
-
canvasShowProgressTool,
|
|
90
|
-
canvasShowListTool,
|
|
91
|
-
canvasClearTool,
|
|
92
|
-
} from "@johpaz/hive-agents-core/tools/canvas";
|
|
93
|
-
|
|
94
|
-
export {
|
|
95
|
-
codebridgeLaunchTool,
|
|
96
|
-
codebridgeStatusTool,
|
|
97
|
-
codebridgeCancelTool,
|
|
98
|
-
codebridgeFeedbackTool,
|
|
99
|
-
} from "@johpaz/hive-agents-core/tools/codebridge";
|
|
100
|
-
|
|
101
|
-
export {
|
|
102
|
-
voiceTranscribeTool,
|
|
103
|
-
voiceSpeakTool,
|
|
104
|
-
} from "@johpaz/hive-agents-core/tools/voice";
|
|
105
|
-
|
|
106
|
-
export {
|
|
107
|
-
searchKnowledgeTool,
|
|
108
|
-
notifyTool,
|
|
109
|
-
saveNoteTool,
|
|
110
|
-
reportProgressTool,
|
|
111
|
-
} from "@johpaz/hive-agents-core/tools/core";
|
package/src/types/index.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hive SDK - Types Module
|
|
3
|
-
*
|
|
4
|
-
* Exposes all TypeScript types from the Hive system.
|
|
5
|
-
* Use this for complete type support when building on Hive.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* import type { StoredMessage, LLMMessage } from "@johpaz/hive-agents-sdk/types";
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export type {
|
|
12
|
-
AgentDBRecord,
|
|
13
|
-
AgentServiceConfig,
|
|
14
|
-
} from "@johpaz/hive-agents-core/agent/service";
|
|
15
|
-
|
|
16
|
-
export type {
|
|
17
|
-
AgentLoopOptions,
|
|
18
|
-
StepEvent,
|
|
19
|
-
StreamChunk,
|
|
20
|
-
} from "@johpaz/hive-agents-core/agent/agent-loop";
|
|
21
|
-
|
|
22
|
-
export type {
|
|
23
|
-
LLMMessage,
|
|
24
|
-
LLMResponse,
|
|
25
|
-
LLMCallOptions,
|
|
26
|
-
LLMToolCall,
|
|
27
|
-
} from "@johpaz/hive-agents-core/agent/llm-client";
|
|
28
|
-
|
|
29
|
-
export type {
|
|
30
|
-
OutboundMessage,
|
|
31
|
-
IncomingMessage,
|
|
32
|
-
ChannelConfig,
|
|
33
|
-
IChannel,
|
|
34
|
-
} from "@johpaz/hive-agents-core/channels/base";
|
|
35
|
-
|
|
36
|
-
export type {
|
|
37
|
-
MCPTool,
|
|
38
|
-
MCPResource,
|
|
39
|
-
MCPPrompt,
|
|
40
|
-
} from "@johpaz/hive-agents-mcp/manager";
|
|
41
|
-
|
|
42
|
-
export type {
|
|
43
|
-
MCPConfig,
|
|
44
|
-
MCPServerConfig,
|
|
45
|
-
} from "@johpaz/hive-agents-mcp/config";
|
|
46
|
-
|
|
47
|
-
export type {
|
|
48
|
-
Skill,
|
|
49
|
-
SkillMetadata,
|
|
50
|
-
SkillStep,
|
|
51
|
-
SkillExample,
|
|
52
|
-
OutputFormat,
|
|
53
|
-
SkillsConfig,
|
|
54
|
-
} from "@johpaz/hive-agents-skills/loader";
|
|
55
|
-
|
|
56
|
-
export type {
|
|
57
|
-
StoredMessage,
|
|
58
|
-
} from "@johpaz/hive-agents-core/agent/conversation-store";
|