@ghenya/clinn 0.8.2 → 0.8.4

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.
@@ -2,6 +2,6 @@
2
2
  ██ ██ ██ ████ ██ ████ ██
3
3
  ██ ██ ██ ██ ██ ██ ██ ██ ██
4
4
  ██ ██ ██ ██ ██ ██ ██ ██ ██
5
- ██████ ███████ ██ ██ ████ ██ █0.7.15
5
+ ██████ ███████ ██ ██ ████ ██ █0.8.3
6
6
 
7
7
 
package/Src/index.jsx CHANGED
@@ -21,7 +21,7 @@ const CLINN_CONFIG = path.join(CLINN_DIR, "config.json");
21
21
  const PKG_CONFIG = path.join(__dirname, "..", "config.json");
22
22
  const LOGO_PATH = path.join(__dirname, "..", "Logos", "StartLogo.txt");
23
23
 
24
- const VER = "0.8.0";
24
+ const VER = "0.8.4";
25
25
 
26
26
  function ensureDir() { if (!fs.existsSync(CLINN_DIR)) fs.mkdirSync(CLINN_DIR, { recursive: true }); }
27
27
  function loadConfig() {
package/bin/clinn.js CHANGED
@@ -1,8 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  const { spawnSync } = require("child_process");
3
3
  const path = require("path");
4
+ const { pathToFileURL } = require("url");
4
5
 
5
- const tsxPath = path.join(__dirname, "..", "node_modules", "tsx", "dist", "esm", "index.mjs");
6
+ const tsxPath = pathToFileURL(path.join(__dirname, "..", "node_modules", "tsx", "dist", "esm", "index.mjs")).href;
6
7
  const srcIndex = path.join(__dirname, "..", "Src", "index.jsx");
7
8
 
8
9
  const result = spawnSync(process.execPath, [
package/install.cjs CHANGED
@@ -6,7 +6,7 @@ const fs = require("fs");
6
6
  const path = require("path");
7
7
  const { execSync } = require("child_process");
8
8
 
9
- const VER = "0.8.0";
9
+ const VER = "0.8.4";
10
10
  const G = "\x1b[0;32m", C = "\x1b[0;36m", Y = "\x1b[0;33m", R = "\x1b[0;31m", N = "\x1b[0m", D = "\x1b[2m";
11
11
 
12
12
  const IS_WIN = process.platform === "win32";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghenya/clinn",
3
- "version": "0.8.2",
3
+ "version": "0.8.4",
4
4
  "description": "终端原生 AI 编程助手 — DeepSeek 驱动,50+ 工具,对话记忆,虚拟浏览器,Ink 全屏界面",
5
5
  "main": "Src/index.jsx",
6
6
  "bin": {