@neikyun/ciel 5.2.8 → 5.2.9
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.
- package/bin/ciel.js +3 -2
- package/package.json +1 -1
package/bin/ciel.js
CHANGED
|
@@ -12,10 +12,11 @@ const PKG = JSON.parse(readFileSync(join(PKG_DIR, "package.json"), "utf-8"));
|
|
|
12
12
|
const CIEL_VERSION = PKG.version || "0.0.0";
|
|
13
13
|
const ASSETS = join(PKG_DIR, "assets");
|
|
14
14
|
|
|
15
|
-
// Vérifier si une initialisation est nécessaire
|
|
15
|
+
// Vérifier si une (ré)initialisation est nécessaire
|
|
16
16
|
const targetDir = process.env.INIT_CWD || process.cwd();
|
|
17
17
|
const memPath = join(targetDir, ".ciel", "memory.json");
|
|
18
|
-
const
|
|
18
|
+
const storedVersion = (() => { try { return JSON.parse(readFileSync(memPath, "utf-8")).cielVersion; } catch { return null; } })();
|
|
19
|
+
const needsInit = !existsSync(memPath) || storedVersion !== CIEL_VERSION;
|
|
19
20
|
|
|
20
21
|
function copyDir(src, dest) {
|
|
21
22
|
if (!existsSync(src)) return 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neikyun/ciel",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.9",
|
|
4
4
|
"description": "Ciel — Deep-reasoning pipeline for LLM-assisted development. OpenCode plugin + multi-platform CLI (OpenCode, Claude Code, more).",
|
|
5
5
|
"main": "./dist/plugin/index.js",
|
|
6
6
|
"types": "./dist/plugin/index.d.ts",
|