Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.
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
3 changes: 2 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Command } from 'commander';
import { ContextManager } from './core.js';
import path from 'path';
import { ContextGenerator } from './lib/ContextGenerator.js';
import pkg from '../package.json' assert { type: 'json' };
import { readFileSync } from 'fs';
const pkg = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf-8'));

const program = new Command();
const contextManager = new ContextManager();
Expand Down