@toolr/seedr 0.1.27 → 0.1.29

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.
@@ -126,11 +126,8 @@ async function fetchFileTree(nodes, baseUrl, destPath) {
126
126
  await fetchFileTree(node.children, `${baseUrl}/${node.name}`, nodePath);
127
127
  }
128
128
  } else {
129
- try {
130
- const content = await fetchRemote(`${baseUrl}/${node.name}`);
131
- await writeFile2(nodePath, content, "utf-8");
132
- } catch {
133
- }
129
+ const content = await fetchRemote(`${baseUrl}/${node.name}`);
130
+ await writeFile2(nodePath, content, "utf-8");
134
131
  }
135
132
  }
136
133
  }
@@ -507,12 +504,8 @@ async function uninstallSkill(slug, tool, scope, cwd = process.cwd()) {
507
504
  return false;
508
505
  }
509
506
  const { rm } = await import("fs/promises");
510
- try {
511
- await rm(destPath, { recursive: true });
512
- return true;
513
- } catch {
514
- return false;
515
- }
507
+ await rm(destPath, { recursive: true });
508
+ return true;
516
509
  }
517
510
  async function getInstalledSkills(tool, scope, cwd = process.cwd()) {
518
511
  const destDir = getContentPath(tool, "skill", scope, cwd);
package/dist/cli.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  skillHandler,
24
24
  uninstallSkill,
25
25
  writeTextFile
26
- } from "./chunk-AHALDEJX.js";
26
+ } from "./chunk-B5AVQWXW.js";
27
27
 
28
28
  // src/cli.ts
29
29
  import { Command as Command5 } from "commander";
@@ -631,10 +631,7 @@ async function installPluginForTool(item, tool, scope, method, cwd) {
631
631
  const pluginName = pluginJson.name || item.slug;
632
632
  const version = pluginJson.version || "1.0.0";
633
633
  const pluginId = getPluginId(pluginName, marketplace);
634
- try {
635
- await ensureMarketplaceRegistered(marketplace, item);
636
- } catch {
637
- }
634
+ await ensureMarketplaceRegistered(marketplace, item);
638
635
  const cachePath = getPluginCachePath(marketplace, pluginName, version);
639
636
  const { rm } = await import("fs/promises");
640
637
  await installDirectory(tmpPath, cachePath, "copy");
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  loadManifest,
16
16
  searchItems,
17
17
  uninstallSkill
18
- } from "./chunk-AHALDEJX.js";
18
+ } from "./chunk-B5AVQWXW.js";
19
19
 
20
20
  // src/converters/index.ts
21
21
  import matter from "gray-matter";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolr/seedr",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
4
4
  "description": "Seed your projects with AI configurations",
5
5
  "type": "module",
6
6
  "bin": {