toonise 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/bin/toonise +7 -1
  2. package/package.json +1 -1
package/bin/toonise CHANGED
@@ -1,2 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import('./dist/index.js');
2
+ import { fileURLToPath } from 'url';
3
+ import { dirname, join } from 'path';
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ await import(join(__dirname, '..', 'dist', 'index.js'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toonise",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "A high-performance CLI developer assistant with modern TUI, powered by local LLMs via Ollama",
5
5
  "main": "dist/index.js",
6
6
  "bin": {