mirror of
https://github.com/Sea-Haven-Industries/sh-mcp.git
synced 2026-10-03 06:53:21 +00:00
35 lines
975 B
TypeScript
35 lines
975 B
TypeScript
|
|
/**
|
||
|
|
* @sh-mcp/knowledge-base — public API
|
||
|
|
*
|
||
|
|
* Re-exports the tool factory and client types so downstream packages
|
||
|
|
* (servers, jobs) can consume them without reaching into src/ internals.
|
||
|
|
*
|
||
|
|
* Quick-start (production):
|
||
|
|
*
|
||
|
|
* import { createKnowledgeBaseTools, createBedrockClientFromEnv } from '@sh-mcp/knowledge-base';
|
||
|
|
* const tools = createKnowledgeBaseTools(createBedrockClientFromEnv());
|
||
|
|
*
|
||
|
|
* Quick-start (test):
|
||
|
|
*
|
||
|
|
* import { createKnowledgeBaseTools } from '@sh-mcp/knowledge-base';
|
||
|
|
* const tools = createKnowledgeBaseTools(mockClient);
|
||
|
|
*/
|
||
|
|
|
||
|
|
export { createKnowledgeBaseTools } from './tools.js';
|
||
|
|
export type {
|
||
|
|
SearchKnowledgeBaseInput,
|
||
|
|
SearchKnowledgeBaseOutput,
|
||
|
|
SearchKnowledgeBaseResultItem,
|
||
|
|
} from './tools.js';
|
||
|
|
|
||
|
|
export {
|
||
|
|
BedrockKnowledgeBaseClient,
|
||
|
|
createBedrockClientFromEnv,
|
||
|
|
} from './client.js';
|
||
|
|
export type {
|
||
|
|
KnowledgeBaseClient,
|
||
|
|
KnowledgeBaseResult,
|
||
|
|
RetrieveOptions,
|
||
|
|
BedrockKnowledgeBaseClientConfig,
|
||
|
|
} from './client.js';
|