skilld 1.1.2 → 1.2.0
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/_chunks/index2.d.mts +11 -2
- package/dist/_chunks/index2.d.mts.map +1 -1
- package/dist/_chunks/install.mjs +2 -2
- package/dist/_chunks/install.mjs.map +1 -1
- package/dist/_chunks/sources.mjs +959 -872
- package/dist/_chunks/sources.mjs.map +1 -1
- package/dist/_chunks/sync.mjs +2 -2
- package/dist/_chunks/sync.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/sources/index.d.mts +2 -2
- package/dist/sources/index.mjs +2 -2
- package/dist/types.d.mts +1 -1
- package/package.json +1 -1
package/dist/_chunks/sync.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import "./yaml.mjs";
|
|
|
5
5
|
import { i as parseFrontmatter } from "./markdown.mjs";
|
|
6
6
|
import { SearchDepsUnavailableError, createIndex } from "../retriv/index.mjs";
|
|
7
7
|
import { d as getPrereleaseChangelogRef, n as getSharedSkillsDir, o as getBlogPreset, t as SHARED_SKILLS_DIR } from "./shared.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { A as parseGitSkillInput, B as isGhAvailable, C as downloadLlmsDocs, D as normalizeLlmsLinks, F as formatDiscussionAsMarkdown, G as fetchReleaseNotes, H as toCrawlPattern, I as generateDiscussionIndex, K as generateReleaseIndex, L as fetchGitHubIssues, M as resolveEntryFiles, N as generateDocsIndex, P as fetchGitHubDiscussions, R as formatIssueAsMarkdown, T as fetchLlmsTxt, U as fetchBlogReleases, V as fetchCrawledDocs, Z as fetchGitHubRaw, b as isShallowGitDocs, f as resolvePackageDocsWithAttempts, h as fetchGitDocs, i as fetchPkgDist, k as fetchGitSkills, n as fetchNpmPackage, nt as parsePackageSpec, p as searchNpmPackages, q as isPrerelease, s as readLocalDependencies, tt as parseGitHubUrl, u as resolveLocalPackageDocs, v as fetchReadmeContent, x as resolveGitHubRepo, y as filterFrameworkDocs, z as generateIssueIndex } from "./sources.mjs";
|
|
9
9
|
import { a as targets } from "./detect.mjs";
|
|
10
10
|
import { a as sanitizeName, c as SECTION_OUTPUT_FILES, g as maxLines, h as maxItems, i as linkSkillToAgents, l as buildAllSectionPrompts, n as computeSkillDirName, p as portabilizePrompt, t as generateSkillMd } from "./prompts.mjs";
|
|
11
11
|
import { a as getModelLabel, i as getAvailableModels, o as getModelName, r as createToolProgress, s as optimizeDocs, t as detectImportedPackages } from "./agent.mjs";
|
|
@@ -197,7 +197,7 @@ async function fetchAndCacheResources(opts) {
|
|
|
197
197
|
const batch = gitDocs.files.slice(i, i + BATCH_SIZE);
|
|
198
198
|
onProgress(`Downloading docs ${Math.min(i + BATCH_SIZE, gitDocs.files.length)}/${gitDocs.files.length} from ${gitDocs.ref}`);
|
|
199
199
|
const batchResults = await Promise.all(batch.map(async (file) => {
|
|
200
|
-
const content = await
|
|
200
|
+
const content = await fetchGitHubRaw(`${gitDocs.baseUrl}/${file}`);
|
|
201
201
|
if (!content) return null;
|
|
202
202
|
return {
|
|
203
203
|
file,
|