Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions agentic-flow/src/agentdb/cli/agentdb-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ import { SkillLibrary, Skill, SkillQuery } from '../controllers/SkillLibrary.js'
import { EmbeddingService } from '../controllers/EmbeddingService.js';
import * as fs from 'fs';
import * as path from 'path';
import { fileURLToPath } from 'url';
import { dirname } from 'path';

// ESM __dirname polyfill (required since ES modules don't have __dirname)
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

// Color codes for terminal output
const colors = {
Expand Down