@nextclaw/server 0.13.5 → 0.13.6
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/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -3338,7 +3338,6 @@ var McpMarketplaceController = class {
|
|
|
3338
3338
|
//#region src/features/marketplace/utils/marketplace-installed.utils.ts
|
|
3339
3339
|
const getWorkspacePathFromConfig = NextclawCore.getWorkspacePathFromConfig;
|
|
3340
3340
|
const MARKETPLACE_INSTALL_STATE_FILE = ".nextclaw-install.json";
|
|
3341
|
-
const LEGACY_MARKETPLACE_INSTALL_STATE_FILE = ".nextclaw-marketplace.json";
|
|
3342
3341
|
function createSkillsLoader(workspace) {
|
|
3343
3342
|
const ctor = NextclawCore.SkillsLoader;
|
|
3344
3343
|
if (!ctor) return null;
|
|
@@ -3377,8 +3376,8 @@ function collectInstalledSkillRecords(options) {
|
|
|
3377
3376
|
};
|
|
3378
3377
|
}
|
|
3379
3378
|
function readMarketplaceSkillInstallState(destinationDir) {
|
|
3380
|
-
const statePath =
|
|
3381
|
-
if (!statePath) return null;
|
|
3379
|
+
const statePath = join(destinationDir, MARKETPLACE_INSTALL_STATE_FILE);
|
|
3380
|
+
if (!existsSync(statePath)) return null;
|
|
3382
3381
|
try {
|
|
3383
3382
|
const parsed = JSON.parse(readFileSync(statePath, "utf8"));
|
|
3384
3383
|
if (parsed.schemaVersion !== 1 || parsed.type !== "skill" || parsed.source !== "marketplace" || typeof parsed.slug !== "string") return null;
|