skilld 0.6.0 → 0.6.1

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/cli.mjs CHANGED
@@ -50,8 +50,8 @@ async function cacheCleanCommand() {
50
50
  }
51
51
  const defaultFeatures = {
52
52
  search: true,
53
- issues: false,
54
- discussions: false,
53
+ issues: true,
54
+ discussions: true,
55
55
  releases: true
56
56
  };
57
57
  const CONFIG_DIR = join(homedir(), ".skilld");
@@ -822,7 +822,7 @@ async function fetchAndCacheResources(opts) {
822
822
  }
823
823
  }
824
824
  const releasesPath = join(cacheDir, "releases");
825
- if (features.releases && resolved.repoUrl && !existsSync(releasesPath)) {
825
+ if (features.releases && resolved.repoUrl && isGhAvailable() && !existsSync(releasesPath)) {
826
826
  const gh = parseGitHubUrl(resolved.repoUrl);
827
827
  if (gh) {
828
828
  onProgress("Fetching releases via GitHub API");