@nextclaw/server 0.5.12 → 0.5.13

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.d.ts CHANGED
@@ -328,6 +328,8 @@ type MarketplaceInstallRequest = {
328
328
  type: MarketplaceItemType;
329
329
  spec: string;
330
330
  kind?: MarketplaceInstallKind;
331
+ skill?: string;
332
+ installPath?: string;
331
333
  version?: string;
332
334
  registry?: string;
333
335
  force?: boolean;
@@ -341,6 +343,8 @@ type MarketplaceInstallResult = {
341
343
  type MarketplaceInstallSkillParams = {
342
344
  slug: string;
343
345
  kind?: MarketplaceInstallKind;
346
+ skill?: string;
347
+ installPath?: string;
344
348
  version?: string;
345
349
  registry?: string;
346
350
  force?: boolean;
package/dist/index.js CHANGED
@@ -997,6 +997,9 @@ function isSupportedMarketplaceItem(item, knownSkillNames) {
997
997
  if (item.type === "plugin") {
998
998
  return item.install.kind === "npm" && isSupportedMarketplacePluginSpec(item.install.spec);
999
999
  }
1000
+ if (item.install.kind === "git") {
1001
+ return true;
1002
+ }
1000
1003
  return item.install.kind === "builtin" && knownSkillNames.has(item.install.spec);
1001
1004
  }
1002
1005
  async function fetchAllMarketplaceItems(params) {
@@ -1056,6 +1059,8 @@ async function installMarketplaceItem(params) {
1056
1059
  result = await installer.installSkill({
1057
1060
  slug: spec,
1058
1061
  kind: params.body.kind,
1062
+ skill: params.body.skill,
1063
+ installPath: params.body.installPath,
1059
1064
  version: params.body.version,
1060
1065
  registry: params.body.registry,
1061
1066
  force: params.body.force
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextclaw/server",
3
- "version": "0.5.12",
3
+ "version": "0.5.13",
4
4
  "private": false,
5
5
  "description": "Nextclaw UI/API server.",
6
6
  "type": "module",