@lark-project/meegle 1.0.11 → 1.0.12
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/CHANGELOG.md +6 -0
- package/bin/install-wizard.js +4 -15
- package/bin/meegle-darwin-arm64 +0 -0
- package/bin/meegle-darwin-x64 +0 -0
- package/bin/meegle-linux-arm64 +0 -0
- package/bin/meegle-linux-x64 +0 -0
- package/bin/meegle-win32-arm64.exe +0 -0
- package/bin/meegle-win32-x64.exe +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,12 @@ versioned section on each npm release.
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [v1.0.12] - 2026-06-29
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- The install wizard now always installs the AI Agent Skill instead of trying to detect a prior install. The previous name-substring check matched sibling skills such as `meegle-plugin` and silently skipped installing the core `meegle` skill. `skills add` is idempotent, so re-running it on an already-installed skill simply upgrades or no-ops.
|
|
16
|
+
|
|
11
17
|
## [v1.0.11] - 2026-06-26
|
|
12
18
|
|
|
13
19
|
### Added
|
package/bin/install-wizard.js
CHANGED
|
@@ -23,7 +23,6 @@ const messages = {
|
|
|
23
23
|
installedSkip: "Already installed globally (v%s). Skipped",
|
|
24
24
|
installed: "CLI installed globally",
|
|
25
25
|
skills: "Installing AI Agent Skill...",
|
|
26
|
-
skillsSkip: "AI Agent Skill already appears to be installed. Skipped",
|
|
27
26
|
skillsDone: "AI Agent Skill installed",
|
|
28
27
|
hostExisting: "Found existing host: %s. Use it?",
|
|
29
28
|
hostSelect: "Select Meegle site",
|
|
@@ -46,7 +45,6 @@ const messages = {
|
|
|
46
45
|
installedSkip: "已全局安装 (v%s),跳过",
|
|
47
46
|
installed: "CLI 已全局安装",
|
|
48
47
|
skills: "正在安装 AI Agent Skill...",
|
|
49
|
-
skillsSkip: "检测到 AI Agent Skill 可能已安装,跳过",
|
|
50
48
|
skillsDone: "AI Agent Skill 已安装",
|
|
51
49
|
hostExisting: "发现已有 host: %s,继续使用?",
|
|
52
50
|
hostSelect: "请选择 Meegle 站点",
|
|
@@ -270,21 +268,12 @@ async function stepInstallGlobally(msg) {
|
|
|
270
268
|
console.log(msg.installed);
|
|
271
269
|
}
|
|
272
270
|
|
|
273
|
-
async function skillsAlreadyInstalled() {
|
|
274
|
-
try {
|
|
275
|
-
const out = runSilent("npm", ["exec", "--yes", "--package=skills", "--", "skills", "ls", "-g"], { timeout: 120000 });
|
|
276
|
-
return /\bmeegle\b/i.test(out);
|
|
277
|
-
} catch (_) {
|
|
278
|
-
return false;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
|
|
282
271
|
async function stepInstallSkills(msg) {
|
|
283
272
|
console.log(msg.skills);
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
273
|
+
// `skills add` is idempotent (with `-y`): re-running on an already-installed
|
|
274
|
+
// skill just upgrades / no-ops. We always run it instead of trying to detect
|
|
275
|
+
// prior installs — name-substring detection mis-fired on sibling skills like
|
|
276
|
+
// `meegle-plugin` and silently skipped the core skill.
|
|
288
277
|
run("npm", ["exec", "--yes", "--package=skills", "--", "skills", "add", SKILLS_REPO, "-y", "-g"], { timeout: 120000 });
|
|
289
278
|
console.log(msg.skillsDone);
|
|
290
279
|
}
|
package/bin/meegle-darwin-arm64
CHANGED
|
Binary file
|
package/bin/meegle-darwin-x64
CHANGED
|
Binary file
|
package/bin/meegle-linux-arm64
CHANGED
|
Binary file
|
package/bin/meegle-linux-x64
CHANGED
|
Binary file
|
|
Binary file
|
package/bin/meegle-win32-x64.exe
CHANGED
|
Binary file
|