skilld 1.7.3 → 1.7.4
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/agent.mjs +693 -599
- package/dist/_chunks/agent.mjs.map +1 -1
- package/dist/_chunks/assemble.mjs +3 -3
- package/dist/_chunks/author.mjs +51 -121
- package/dist/_chunks/author.mjs.map +1 -1
- package/dist/_chunks/cache.mjs +315 -9
- package/dist/_chunks/cache.mjs.map +1 -1
- package/dist/_chunks/cache2.mjs +2 -2
- package/dist/_chunks/cli-helpers.mjs +3 -3
- package/dist/_chunks/core.mjs +7 -4
- package/dist/_chunks/detect.mjs +1 -1
- package/dist/_chunks/embedding-cache2.mjs +2 -2
- package/dist/_chunks/index.d.mts +305 -112
- package/dist/_chunks/index.d.mts.map +1 -1
- package/dist/_chunks/index2.d.mts +267 -32
- package/dist/_chunks/index2.d.mts.map +1 -1
- package/dist/_chunks/index3.d.mts +32 -577
- package/dist/_chunks/index3.d.mts.map +1 -1
- package/dist/_chunks/index4.d.mts +553 -0
- package/dist/_chunks/index4.d.mts.map +1 -0
- package/dist/_chunks/install.mjs +48 -88
- package/dist/_chunks/install.mjs.map +1 -1
- package/dist/_chunks/list.mjs +1 -1
- package/dist/_chunks/lockfile.mjs +29 -6
- package/dist/_chunks/lockfile.mjs.map +1 -1
- package/dist/_chunks/monorepo.mjs +71 -0
- package/dist/_chunks/monorepo.mjs.map +1 -0
- package/dist/_chunks/{shared.mjs → package-registry.mjs} +2 -40
- package/dist/_chunks/package-registry.mjs.map +1 -0
- package/dist/_chunks/paths.mjs +49 -0
- package/dist/_chunks/paths.mjs.map +1 -0
- package/dist/_chunks/pool2.mjs +1 -1
- package/dist/_chunks/prepare.mjs +1 -1
- package/dist/_chunks/prepare2.mjs +5 -5
- package/dist/_chunks/prepare2.mjs.map +1 -1
- package/dist/_chunks/prompts.mjs +366 -18
- package/dist/_chunks/prompts.mjs.map +1 -1
- package/dist/_chunks/search-helpers.mjs +5 -6
- package/dist/_chunks/search-helpers.mjs.map +1 -1
- package/dist/_chunks/search-interactive.mjs +1 -1
- package/dist/_chunks/search.mjs +1 -2
- package/dist/_chunks/search.mjs.map +1 -1
- package/dist/_chunks/semver.mjs +13 -0
- package/dist/_chunks/semver.mjs.map +1 -0
- package/dist/_chunks/skill-installer.mjs +2 -0
- package/dist/_chunks/skill-installer2.mjs +155 -0
- package/dist/_chunks/skill-installer2.mjs.map +1 -0
- package/dist/_chunks/skills.mjs +10 -9
- package/dist/_chunks/skills.mjs.map +1 -1
- package/dist/_chunks/sources.mjs +549 -372
- package/dist/_chunks/sources.mjs.map +1 -1
- package/dist/_chunks/sync-pipeline.mjs +952 -0
- package/dist/_chunks/sync-pipeline.mjs.map +1 -0
- package/dist/_chunks/sync-registry.mjs +19 -13
- package/dist/_chunks/sync-registry.mjs.map +1 -1
- package/dist/_chunks/sync.mjs +797 -886
- package/dist/_chunks/sync.mjs.map +1 -1
- package/dist/_chunks/sync2.mjs +4 -2
- package/dist/_chunks/types.d.mts +65 -77
- package/dist/_chunks/types.d.mts.map +1 -1
- package/dist/_chunks/types2.d.mts +88 -0
- package/dist/_chunks/types2.d.mts.map +1 -0
- package/dist/_chunks/uninstall.mjs +7 -8
- package/dist/_chunks/uninstall.mjs.map +1 -1
- package/dist/_chunks/upload.mjs +2 -2
- package/dist/_chunks/validate.mjs +1 -1
- package/dist/_chunks/version.mjs +3 -13
- package/dist/_chunks/version.mjs.map +1 -1
- package/dist/_chunks/wizard.mjs +2 -2
- package/dist/agent/index.d.mts +2 -346
- package/dist/agent/index.mjs +2 -3
- package/dist/cache/index.d.mts +2 -2
- package/dist/cache/index.mjs +4 -3
- package/dist/cli.mjs +12 -13
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.mts +5 -4
- package/dist/index.mjs +4 -3
- package/dist/prepare.mjs +2 -2
- package/dist/prepare.mjs.map +1 -1
- package/dist/retriv/index.d.mts +2 -2
- package/dist/retriv/worker.d.mts +1 -1
- package/dist/sources/index.d.mts +3 -2
- package/dist/sources/index.mjs +3 -3
- package/dist/types.d.mts +3 -3
- package/package.json +2 -2
- package/dist/_chunks/config.mjs +0 -122
- package/dist/_chunks/config.mjs.map +0 -1
- package/dist/_chunks/prefix.mjs +0 -108
- package/dist/_chunks/prefix.mjs.map +0 -1
- package/dist/_chunks/shared.mjs.map +0 -1
- package/dist/_chunks/skill.mjs +0 -329
- package/dist/_chunks/skill.mjs.map +0 -1
- package/dist/_chunks/sync-shared.mjs +0 -2
- package/dist/_chunks/sync-shared2.mjs +0 -1020
- package/dist/_chunks/sync-shared2.mjs.map +0 -1
- package/dist/agent/index.d.mts.map +0 -1
|
@@ -1,44 +1,279 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { B as FeaturesConfig } from "./index.mjs";
|
|
2
|
+
/** Root of the global cache */
|
|
3
|
+
declare const CACHE_DIR: string;
|
|
4
|
+
/** References subdirectory: `~/.skilld/references/<pkg>@<version>/` */
|
|
5
|
+
declare const REFERENCES_DIR: string;
|
|
6
|
+
/** Repo-level cache (issues, discussions, releases shared across monorepo packages) */
|
|
7
|
+
declare const REPOS_DIR: string;
|
|
8
|
+
/** Repo cache dir with path-traversal validation */
|
|
9
|
+
declare function getRepoCacheDir(owner: string, repo: string): string;
|
|
10
|
+
/** search.db path for a `name@version` */
|
|
11
|
+
declare function getPackageDbPath(name: string, version: string): string;
|
|
12
|
+
interface IndexDoc {
|
|
13
|
+
id: string;
|
|
14
|
+
content: string;
|
|
15
|
+
metadata: Record<string, any>;
|
|
6
16
|
}
|
|
7
|
-
declare function getDb(config: Pick<IndexConfig, 'dbPath'>): Promise<_$retriv.SearchProvider & {
|
|
8
|
-
_testSetCategories?: (cats: string[]) => void;
|
|
9
|
-
}>;
|
|
10
17
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
18
|
+
* Resolve every symlink under `<skillDir>/.skilld/` to its real path, plus
|
|
19
|
+
* the parent dirs CLI sandboxes need (e.g. Gemini). What an LLM CLI passes to
|
|
20
|
+
* `--add-dir` to make references readable.
|
|
13
21
|
*/
|
|
14
|
-
declare function
|
|
15
|
-
removeIds?: string[];
|
|
16
|
-
}): Promise<void>;
|
|
22
|
+
declare function getSkillReferenceDirs(skillDir: string): string[];
|
|
17
23
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
24
|
+
* Remove the transient `<skillDir>/.skilld/` symlink dir. Used after eject to
|
|
25
|
+
* clean up references that have been copied as real files.
|
|
26
|
+
*/
|
|
27
|
+
declare function clearSkillInternalDir(skillDir: string): void;
|
|
28
|
+
/** Classify a cached doc path into the right metadata type */
|
|
29
|
+
declare function classifyCachedDoc(path: string): {
|
|
30
|
+
type: string;
|
|
31
|
+
number?: number;
|
|
32
|
+
};
|
|
33
|
+
/** Clear cache + db for --force flag */
|
|
34
|
+
declare function forceClearCache(packageName: string, version: string, repoInfo?: {
|
|
35
|
+
owner: string;
|
|
36
|
+
repo: string;
|
|
37
|
+
}): void;
|
|
38
|
+
/** Link all reference symlinks (pkg, docs, issues, discussions, releases) */
|
|
39
|
+
declare function linkAllReferences(skillDir: string, packageName: string, cwd: string, version: string, docsType: string, extraPackages?: Array<{
|
|
40
|
+
name: string;
|
|
41
|
+
version?: string;
|
|
42
|
+
}>, features?: FeaturesConfig, repoInfo?: {
|
|
43
|
+
owner: string;
|
|
44
|
+
repo: string;
|
|
45
|
+
}): void;
|
|
46
|
+
/** Detect docs type from cached directory contents */
|
|
47
|
+
declare function detectDocsType(packageName: string, version: string, repoUrl?: string, llmsUrl?: string): {
|
|
48
|
+
docsType: 'docs' | 'llms.txt' | 'readme';
|
|
49
|
+
docSource?: string;
|
|
50
|
+
};
|
|
51
|
+
/** Eject (portable copy) of cached references into a skill dir */
|
|
52
|
+
declare function ejectReferences(skillDir: string, packageName: string, cwd: string, version: string, docsType: string, features?: FeaturesConfig, repoInfo?: {
|
|
53
|
+
owner: string;
|
|
54
|
+
repo: string;
|
|
55
|
+
}): void;
|
|
56
|
+
interface CachedReferencesResult {
|
|
57
|
+
/** Docs to feed the embedding index (empty if db already exists) */
|
|
58
|
+
docsToIndex: IndexDoc[];
|
|
59
|
+
/** Resolved doc-source label (URL or git path) */
|
|
60
|
+
docSource: string;
|
|
61
|
+
/** Detected docs type from cache layout */
|
|
62
|
+
docsType: 'docs' | 'llms.txt' | 'readme';
|
|
63
|
+
/** _INDEX.md to write if missing (backfill for older caches) */
|
|
64
|
+
backfillIndex?: {
|
|
65
|
+
path: string;
|
|
66
|
+
content: string;
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
interface LoadCachedReferencesOptions {
|
|
70
|
+
packageName: string;
|
|
71
|
+
version: string;
|
|
72
|
+
repoUrl?: string;
|
|
73
|
+
llmsUrl?: string;
|
|
74
|
+
readmeUrl?: string;
|
|
75
|
+
onProgress: (message: string) => void;
|
|
76
|
+
/** Caller supplies index generator to avoid the cache module pulling sources */
|
|
77
|
+
generateDocsIndex: (docs: Array<{
|
|
78
|
+
path: string;
|
|
79
|
+
content: string;
|
|
80
|
+
}>) => string | null;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Load cached references for a package and produce the index/backfill data
|
|
84
|
+
* needed to continue the sync pipeline without re-fetching.
|
|
85
|
+
*/
|
|
86
|
+
declare function loadCachedReferences(opts: LoadCachedReferencesOptions): CachedReferencesResult;
|
|
87
|
+
/**
|
|
88
|
+
* Cache types
|
|
89
|
+
*/
|
|
90
|
+
interface CacheConfig {
|
|
91
|
+
/** Package name */
|
|
92
|
+
name: string;
|
|
93
|
+
/** Package version (full semver) */
|
|
94
|
+
version: string;
|
|
95
|
+
}
|
|
96
|
+
interface CachedPackage {
|
|
97
|
+
name: string;
|
|
98
|
+
version: string;
|
|
99
|
+
dir: string;
|
|
100
|
+
}
|
|
101
|
+
interface CachedDoc {
|
|
102
|
+
path: string;
|
|
103
|
+
content: string;
|
|
104
|
+
}
|
|
105
|
+
interface ReferenceCacheLinkOpts {
|
|
106
|
+
extraPackages?: Array<{
|
|
107
|
+
name: string;
|
|
108
|
+
version?: string;
|
|
109
|
+
}>;
|
|
110
|
+
features?: FeaturesConfig;
|
|
111
|
+
repoInfo?: {
|
|
112
|
+
owner: string;
|
|
113
|
+
repo: string;
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
interface ReferenceCacheEjectOpts {
|
|
117
|
+
features?: FeaturesConfig;
|
|
118
|
+
repoInfo?: {
|
|
119
|
+
owner: string;
|
|
120
|
+
repo: string;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
interface ReferenceCache {
|
|
124
|
+
readonly packageName: string;
|
|
125
|
+
/** May be undefined when caller only knows the package name (e.g. merge against a lock without a recorded version). Cache-keyed methods/getters throw in that case; pkg/has/keyFiles fall back to node_modules. */
|
|
126
|
+
readonly version: string | undefined;
|
|
127
|
+
/** Throws if accessed when version is undefined. */
|
|
128
|
+
readonly versionKey: string;
|
|
129
|
+
/** Throws if accessed when version is undefined. */
|
|
130
|
+
readonly dir: string;
|
|
131
|
+
ensure: () => void;
|
|
132
|
+
has: () => boolean;
|
|
133
|
+
write: (docs: CachedDoc[]) => void;
|
|
134
|
+
writeSections: (sections: Array<{
|
|
135
|
+
file: string;
|
|
136
|
+
content: string;
|
|
137
|
+
}>) => void;
|
|
138
|
+
readSection: (file: string) => string | null;
|
|
139
|
+
readDocs: () => CachedDoc[];
|
|
140
|
+
detectDocs: (repoUrl?: string, llmsUrl?: string) => {
|
|
141
|
+
docsType: 'docs' | 'llms.txt' | 'readme';
|
|
142
|
+
docSource?: string;
|
|
143
|
+
};
|
|
144
|
+
load: (opts: Omit<LoadCachedReferencesOptions, 'packageName' | 'version'>) => CachedReferencesResult;
|
|
145
|
+
linkInto: (skillDir: string, cwd: string, docsType: string, opts?: ReferenceCacheLinkOpts) => void;
|
|
146
|
+
linkPkgNamed: (skillDir: string, cwd: string) => void;
|
|
147
|
+
eject: (skillDir: string, cwd: string, docsType: string, opts?: ReferenceCacheEjectOpts) => void;
|
|
148
|
+
clearForce: (repoInfo?: {
|
|
149
|
+
owner: string;
|
|
150
|
+
repo: string;
|
|
151
|
+
}) => void;
|
|
152
|
+
clearSkillInternal: (skillDir: string) => void;
|
|
153
|
+
pkgDir: (cwd: string) => string | null;
|
|
154
|
+
hasShipped: (cwd: string) => boolean;
|
|
155
|
+
keyFiles: (cwd: string) => string[];
|
|
156
|
+
}
|
|
157
|
+
declare function createReferenceCache(packageName: string, version?: string): ReferenceCache;
|
|
158
|
+
/** Resolve package directory: node_modules first, then global cache */
|
|
159
|
+
declare function resolvePkgDir(name: string, cwd: string, version?: string): string | null;
|
|
160
|
+
interface ShippedSkill {
|
|
161
|
+
skillName: string;
|
|
162
|
+
skillDir: string;
|
|
163
|
+
}
|
|
164
|
+
/** Check if package ships a skills/ directory with SKILL.md or _SKILL.md subdirs */
|
|
165
|
+
declare function getShippedSkills(name: string, cwd: string, version?: string): ShippedSkill[];
|
|
166
|
+
/** Create symlink from skills dir to shipped skill dir */
|
|
167
|
+
declare function linkShippedSkill(baseDir: string, skillName: string, targetDir: string): void;
|
|
168
|
+
/**
|
|
169
|
+
* Check if package is cached at given version
|
|
170
|
+
* @internal
|
|
171
|
+
*/
|
|
172
|
+
declare function isCached(name: string, version: string): boolean;
|
|
173
|
+
/** Check if cache only has docs/README.md (pkg/ already has this) */
|
|
174
|
+
declare function isReadmeOnlyCache(cacheDir: string): boolean;
|
|
175
|
+
declare function inferDocsTypeFromCache(cacheDir: string, source?: string): 'llms.txt' | 'readme' | 'docs';
|
|
176
|
+
/**
|
|
177
|
+
* Ensure cache directories exist
|
|
178
|
+
*/
|
|
179
|
+
declare function ensureCacheDir(): void;
|
|
180
|
+
/**
|
|
181
|
+
* Write docs to cache
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
declare function writeToCache(name: string, version: string, docs: CachedDoc[]): string;
|
|
185
|
+
/**
|
|
186
|
+
* Write docs to repo-level cache (~/.skilld/repos/<owner>/<repo>/)
|
|
187
|
+
*/
|
|
188
|
+
declare function writeToRepoCache(owner: string, repo: string, docs: CachedDoc[]): string;
|
|
189
|
+
/**
|
|
190
|
+
* Create symlink from .skilld dir to a repo-level cached subdirectory.
|
|
191
|
+
* .claude/skills/<skill>/.skilld/<subdir> -> ~/.skilld/repos/<owner>/<repo>/<subdir>
|
|
192
|
+
*/
|
|
193
|
+
declare function linkRepoCachedDir(skillDir: string, owner: string, repo: string, subdir: string): void;
|
|
194
|
+
/**
|
|
195
|
+
* Create symlink from .skilld dir to a cached subdirectory.
|
|
196
|
+
* Unified handler for docs, issues, discussions, sections, releases.
|
|
197
|
+
*
|
|
198
|
+
* Structure:
|
|
199
|
+
* .claude/skills/<skill>/.skilld/<subdir> -> ~/.skilld/references/<pkg>@<version>/<subdir>
|
|
200
|
+
*
|
|
201
|
+
* The .skilld/ dirs are gitignored. After clone, `skilld install` recreates from lockfile.
|
|
202
|
+
*/
|
|
203
|
+
declare function linkCachedDir(skillDir: string, name: string, version: string, subdir: string): void;
|
|
204
|
+
/**
|
|
205
|
+
* Create symlink from .skilld dir to package directory
|
|
206
|
+
*
|
|
207
|
+
* Structure:
|
|
208
|
+
* .claude/skills/<skill>/.skilld/pkg -> node_modules/<pkg> OR ~/.skilld/references/<pkg>@<version>/pkg
|
|
209
|
+
*
|
|
210
|
+
* This gives access to package.json, README.md, dist/, and any shipped docs/
|
|
211
|
+
*/
|
|
212
|
+
declare function linkPkg(skillDir: string, name: string, cwd: string, version?: string): void;
|
|
213
|
+
/**
|
|
214
|
+
* Create named symlink from .skilld dir to package directory.
|
|
215
|
+
* Short name = last segment of package name (e.g., @vue/reactivity → pkg-reactivity)
|
|
216
|
+
*
|
|
217
|
+
* Structure:
|
|
218
|
+
* .claude/skills/<skill>/.skilld/pkg-<short> -> node_modules/<pkg>
|
|
219
|
+
*/
|
|
220
|
+
declare function linkPkgNamed(skillDir: string, name: string, cwd: string, version?: string): void;
|
|
221
|
+
/**
|
|
222
|
+
* Get key files from a package directory for display
|
|
223
|
+
* Returns entry points + docs files
|
|
224
|
+
*/
|
|
225
|
+
declare function getPkgKeyFiles(name: string, cwd: string, version?: string): string[];
|
|
226
|
+
/**
|
|
227
|
+
* Write LLM-generated section outputs to global cache for cross-project reuse
|
|
228
|
+
*
|
|
229
|
+
* Structure:
|
|
230
|
+
* ~/.skilld/references/<pkg>@<version>/sections/_BEST_PRACTICES.md
|
|
231
|
+
*/
|
|
232
|
+
declare function writeSections(name: string, version: string, sections: Array<{
|
|
233
|
+
file: string;
|
|
234
|
+
content: string;
|
|
235
|
+
}>): void;
|
|
236
|
+
/**
|
|
237
|
+
* Read a cached section from the global references dir
|
|
238
|
+
*/
|
|
239
|
+
declare function readCachedSection(name: string, version: string, file: string): string | null;
|
|
240
|
+
declare function hasShippedDocs(name: string, cwd: string, version?: string): boolean;
|
|
241
|
+
/**
|
|
242
|
+
* List all cached packages
|
|
243
|
+
*/
|
|
244
|
+
declare function listCached(): CachedPackage[];
|
|
245
|
+
/**
|
|
246
|
+
* Read cached docs for a package
|
|
247
|
+
*/
|
|
248
|
+
declare function readCachedDocs(name: string, version: string): CachedDoc[];
|
|
249
|
+
/**
|
|
250
|
+
* Clear cache for a specific package
|
|
251
|
+
*/
|
|
252
|
+
declare function clearCache(name: string, version: string): boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Clear all cache
|
|
255
|
+
*/
|
|
256
|
+
declare function clearAllCache(): number;
|
|
257
|
+
/**
|
|
258
|
+
* List files in .skilld directory (pkg + docs) as relative paths for prompt context
|
|
259
|
+
* Returns paths like ./.skilld/pkg/README.md, ./.skilld/docs/api.md
|
|
260
|
+
*/
|
|
261
|
+
declare function listReferenceFiles(skillDir: string, maxDepth?: number): string[];
|
|
262
|
+
/**
|
|
263
|
+
* Version utilities
|
|
20
264
|
*/
|
|
21
|
-
declare function createIndex(documents: Document[], config: IndexConfig & {
|
|
22
|
-
removeIds?: string[];
|
|
23
|
-
}): Promise<void>;
|
|
24
265
|
/**
|
|
25
|
-
*
|
|
26
|
-
* Returns chunk IDs (e.g. "doc-id#chunk-0") for chunked docs.
|
|
27
|
-
* Queries sqlite directly to bypass createRetriv's parent-ID deduplication,
|
|
28
|
-
* so callers can use these IDs for exact removal and parent-ID grouping.
|
|
266
|
+
* Get exact version key for cache keying
|
|
29
267
|
*/
|
|
30
|
-
declare function
|
|
268
|
+
declare function getVersionKey(version: string): string;
|
|
31
269
|
/**
|
|
32
|
-
*
|
|
270
|
+
* Get cache key for a package: name@version
|
|
33
271
|
*/
|
|
34
|
-
declare function
|
|
35
|
-
declare function search(query: string, config: IndexConfig, options?: SearchOptions): Promise<SearchResult[]>;
|
|
272
|
+
declare function getCacheKey(name: string, version: string): string;
|
|
36
273
|
/**
|
|
37
|
-
*
|
|
274
|
+
* Get path to cached package references.
|
|
275
|
+
* Validates name/version to prevent path traversal.
|
|
38
276
|
*/
|
|
39
|
-
declare function
|
|
40
|
-
|
|
41
|
-
declare function searchPooled(query: string, pool: Map<string, RetrivInstance>, options?: SearchOptions): Promise<SearchSnippet[]>;
|
|
42
|
-
declare function closePool(pool: Map<string, RetrivInstance>): Promise<void>;
|
|
43
|
-
export { getDb as a, removeFromIndex as c, searchSnippets as d, createIndexDirect as i, search as l, closePool as n, listIndexIds as o, createIndex as r, openPool as s, SearchDepsUnavailableError as t, searchPooled as u };
|
|
277
|
+
declare function getCacheDir(name: string, version: string): string;
|
|
278
|
+
export { createReferenceCache as A, forceClearCache as B, ShippedSkill as C, ReferenceCache as D, resolvePkgDir as E, LoadCachedReferencesOptions as F, REFERENCES_DIR as G, linkAllReferences as H, classifyCachedDoc as I, getRepoCacheDir as J, REPOS_DIR as K, clearSkillInternalDir as L, CachedDoc as M, CachedPackage as N, ReferenceCacheEjectOpts as O, CachedReferencesResult as P, detectDocsType as R, writeToRepoCache as S, linkShippedSkill as T, loadCachedReferences as U, getSkillReferenceDirs as V, CACHE_DIR as W, listReferenceFiles as _, clearCache as a, writeSections as b, hasShippedDocs as c, isReadmeOnlyCache as d, linkCachedDir as f, listCached as g, linkRepoCachedDir as h, clearAllCache as i, CacheConfig as j, ReferenceCacheLinkOpts as k, inferDocsTypeFromCache as l, linkPkgNamed as m, getCacheKey as n, ensureCacheDir as o, linkPkg as p, getPackageDbPath as q, getVersionKey as r, getPkgKeyFiles as s, getCacheDir as t, isCached as u, readCachedDocs as v, getShippedSkills as w, writeToCache as x, readCachedSection as y, ejectReferences as z };
|
|
44
279
|
//# sourceMappingURL=index2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index2.d.mts","names":[],"sources":["../../src/
|
|
1
|
+
{"version":3,"file":"index2.d.mts","names":[],"sources":["../../src/core/paths.ts","../../src/sources/content-resolver.ts","../../src/cache/references.ts","../../src/cache/types.ts","../../src/cache/reference-cache.ts","../../src/core/prepare.ts","../../src/cache/storage.ts","../../src/cache/version.ts"],"mappings":";AA8GA;AAAA,cAxEa,SAAA;;cAGA,cAAA;;cAGA,SAAA;;iBA2DG,eAAA,CAAgB,KAAA,UAAe,IAAA;;iBAO/B,gBAAA,CAAiB,IAAA,UAAc,OAAA;AAAA,UC1E9B,QAAA;EACf,EAAA;EACA,OAAA;EACA,QAAA,EAAU,MAAA;AAAA;;;;ADgEZ;;iBEjEgB,qBAAA,CAAsB,QAAA;;;AFwEtC;;iBEjDgB,qBAAA,CAAsB,QAAA;;iBAOtB,iBAAA,CAAkB,IAAA;EAAiB,IAAA;EAAc,MAAA;AAAA;;iBAajD,eAAA,CAAgB,WAAA,UAAqB,OAAA,UAAiB,QAAA;EAAa,KAAA;EAAe,IAAA;AAAA;;iBAclF,iBAAA,CAAkB,QAAA,UAAkB,WAAA,UAAqB,GAAA,UAAa,OAAA,UAAiB,QAAA,UAAkB,aAAA,GAAgB,KAAA;EAAQ,IAAA;EAAc,OAAA;AAAA,IAAqB,QAAA,GAAW,cAAA,EAAgB,QAAA;EAAa,KAAA;EAAe,IAAA;AAAA;;iBA0C3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