codeast 1.0.1 → 1.0.2

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.
@@ -1,8 +1,11 @@
1
1
  import { createWriteStream, existsSync, mkdirSync, chmodSync } from 'fs';
2
- import { join } from 'path';
2
+ import { join, dirname } from 'path';
3
3
  import { Readable } from 'stream';
4
4
  import { finished } from 'stream/promises';
5
+ import { fileURLToPath } from 'url';
5
6
  import os from 'os';
7
+ const __filename = fileURLToPath(import.meta.url);
8
+ const __dirname = dirname(__filename);
6
9
  const GITHUB_REPO = 'dimaland1/codeast';
7
10
  const BINARY_NAME = 'codebase-analysis';
8
11
  function getPlatformInfo() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeast",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "MCP server for code analysis - reduces context window usage by returning structured data",
5
5
  "type": "module",
6
6
  "bin": {