feat: add Bun polyfills and refactor LiteMCP implementation
- Introduced polyfills for Node.js compatibility in Bun runtime - Moved LiteMCP implementation to a dedicated module - Updated package.json to include @digital-alchemy/hass dependency - Refactored import for LiteMCP to use local module path
This commit is contained in:
@@ -18,7 +18,7 @@ console.log(`Loading environment from ${envFile}`);
|
||||
config({ path: resolve(process.cwd(), envFile) });
|
||||
|
||||
import { get_hass } from './hass/index.js';
|
||||
import { LiteMCP } from 'litemcp';
|
||||
import { LiteMCP } from './mcp/litemcp.js';
|
||||
import { z } from 'zod';
|
||||
import { DomainSchema } from './schemas.js';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user