Add embedded skill exporter and mcp config subcommands and bump to v0.7.0

This commit is contained in:
gitea committed 2026-08-25 14:17:12 +08:00
1 parent ce06d8f600
commit f1380873e4
13 files changed
+3393 -1505

No files matched your search

+4
View File
@@ -2,6 +2,7 @@ import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, unl
import { dirname, join } from "node:path";
import { spawnSync } from "node:child_process";
import { isCompiledBinary } from "../../core/runtime.js";
import { syncGlobalSkillIfPresent } from "../../core/embedded-skill.js";
import { VERSION } from "../../version.js";
import { runServiceCommand, serviceStatus } from "../service.js";
import { printJson } from "../printer.js";
@@ -147,11 +148,14 @@ export async function handleUpdateCommand(runtime: CliRuntime, options: UpdateOp
if (wasRunning) await runServiceCommand("start", serviceConfig);
const skillSync = syncGlobalSkillIfPresent();
printJson({
updated: true,
fromVersion: VERSION,
toVersion: latestVersion,
serviceRestarted: wasRunning,
skillSynced: skillSync.synced ? skillSync.targetDir : false,
mode: "binary"
});
} finally {