skilld 1.7.3 → 2.0.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.
Files changed (161) hide show
  1. package/dist/_chunks/add.mjs +66 -0
  2. package/dist/_chunks/add.mjs.map +1 -0
  3. package/dist/_chunks/agent-prompt.mjs +88 -0
  4. package/dist/_chunks/agent-prompt.mjs.map +1 -0
  5. package/dist/_chunks/agent.mjs +737 -619
  6. package/dist/_chunks/agent.mjs.map +1 -1
  7. package/dist/_chunks/args.mjs +42 -0
  8. package/dist/_chunks/args.mjs.map +1 -0
  9. package/dist/_chunks/assemble.mjs +11 -8
  10. package/dist/_chunks/assemble.mjs.map +1 -1
  11. package/dist/_chunks/author.mjs +77 -131
  12. package/dist/_chunks/author.mjs.map +1 -1
  13. package/dist/_chunks/cache.mjs +320 -54
  14. package/dist/_chunks/cache.mjs.map +1 -1
  15. package/dist/_chunks/cache2.mjs +7 -6
  16. package/dist/_chunks/cache2.mjs.map +1 -1
  17. package/dist/_chunks/client.mjs +117 -0
  18. package/dist/_chunks/client.mjs.map +1 -0
  19. package/dist/_chunks/core.mjs +7 -4
  20. package/dist/_chunks/detect.mjs +54 -44
  21. package/dist/_chunks/detect.mjs.map +1 -1
  22. package/dist/_chunks/eject.mjs +69 -0
  23. package/dist/_chunks/eject.mjs.map +1 -0
  24. package/dist/_chunks/embedding-cache2.mjs +2 -2
  25. package/dist/_chunks/env.mjs +19 -0
  26. package/dist/_chunks/env.mjs.map +1 -0
  27. package/dist/_chunks/install-many.mjs +376 -0
  28. package/dist/_chunks/install-many.mjs.map +1 -0
  29. package/dist/_chunks/install.mjs +86 -371
  30. package/dist/_chunks/install.mjs.map +1 -1
  31. package/dist/_chunks/intro.mjs +63 -0
  32. package/dist/_chunks/intro.mjs.map +1 -0
  33. package/dist/_chunks/list.mjs +2 -2
  34. package/dist/_chunks/list.mjs.map +1 -1
  35. package/dist/_chunks/lockfile.mjs +31 -7
  36. package/dist/_chunks/lockfile.mjs.map +1 -1
  37. package/dist/_chunks/login.mjs +233 -0
  38. package/dist/_chunks/login.mjs.map +1 -0
  39. package/dist/_chunks/logout.mjs +27 -0
  40. package/dist/_chunks/logout.mjs.map +1 -0
  41. package/dist/_chunks/map.mjs +11 -0
  42. package/dist/_chunks/map.mjs.map +1 -0
  43. package/dist/_chunks/markdown.mjs +79 -54
  44. package/dist/_chunks/markdown.mjs.map +1 -1
  45. package/dist/_chunks/menu.mjs +33 -0
  46. package/dist/_chunks/menu.mjs.map +1 -0
  47. package/dist/_chunks/model-picker.mjs +61 -0
  48. package/dist/_chunks/model-picker.mjs.map +1 -0
  49. package/dist/_chunks/monorepo.mjs +73 -0
  50. package/dist/_chunks/monorepo.mjs.map +1 -0
  51. package/dist/_chunks/package-json.mjs.map +1 -1
  52. package/dist/_chunks/paths.mjs +47 -0
  53. package/dist/_chunks/paths.mjs.map +1 -0
  54. package/dist/_chunks/pipeline.mjs +985 -0
  55. package/dist/_chunks/pipeline.mjs.map +1 -0
  56. package/dist/_chunks/pool2.mjs +2 -2
  57. package/dist/_chunks/portable.mjs +151 -0
  58. package/dist/_chunks/portable.mjs.map +1 -0
  59. package/dist/_chunks/prepare-hook.mjs +2 -0
  60. package/dist/_chunks/prepare-hook2.mjs +61 -0
  61. package/dist/_chunks/prepare-hook2.mjs.map +1 -0
  62. package/dist/_chunks/prepare.mjs +47 -3
  63. package/dist/_chunks/prepare.mjs.map +1 -1
  64. package/dist/_chunks/prepare2.mjs +9 -8
  65. package/dist/_chunks/prepare2.mjs.map +1 -1
  66. package/dist/_chunks/prompts.mjs +784 -26
  67. package/dist/_chunks/prompts.mjs.map +1 -1
  68. package/dist/_chunks/pull.mjs +219 -0
  69. package/dist/_chunks/pull.mjs.map +1 -0
  70. package/dist/_chunks/regex.mjs +19 -0
  71. package/dist/_chunks/regex.mjs.map +1 -0
  72. package/dist/_chunks/retriv.mjs +2 -171
  73. package/dist/_chunks/retriv2.mjs +159 -0
  74. package/dist/_chunks/retriv2.mjs.map +1 -0
  75. package/dist/_chunks/sanitize.mjs +12 -9
  76. package/dist/_chunks/sanitize.mjs.map +1 -1
  77. package/dist/_chunks/search-helpers.mjs +9 -8
  78. package/dist/_chunks/search-helpers.mjs.map +1 -1
  79. package/dist/_chunks/search-interactive.mjs +23 -20
  80. package/dist/_chunks/search-interactive.mjs.map +1 -1
  81. package/dist/_chunks/search.mjs +3 -4
  82. package/dist/_chunks/search.mjs.map +1 -1
  83. package/dist/_chunks/{sources.mjs → semver.mjs} +1128 -838
  84. package/dist/_chunks/semver.mjs.map +1 -0
  85. package/dist/_chunks/skill-installer.mjs +2 -0
  86. package/dist/_chunks/skill-installer2.mjs +154 -0
  87. package/dist/_chunks/skill-installer2.mjs.map +1 -0
  88. package/dist/_chunks/skills.mjs +12 -12
  89. package/dist/_chunks/skills.mjs.map +1 -1
  90. package/dist/_chunks/store.mjs +107 -0
  91. package/dist/_chunks/store.mjs.map +1 -0
  92. package/dist/_chunks/sync.mjs +761 -1349
  93. package/dist/_chunks/sync.mjs.map +1 -1
  94. package/dist/_chunks/sync2.mjs +2 -3
  95. package/dist/_chunks/telemetry.mjs +26 -0
  96. package/dist/_chunks/telemetry.mjs.map +1 -0
  97. package/dist/_chunks/uninstall.mjs +15 -13
  98. package/dist/_chunks/uninstall.mjs.map +1 -1
  99. package/dist/_chunks/update.mjs +171 -0
  100. package/dist/_chunks/update.mjs.map +1 -0
  101. package/dist/_chunks/upload.mjs +4 -4
  102. package/dist/_chunks/validate.mjs +1 -1
  103. package/dist/_chunks/version.mjs +16 -27
  104. package/dist/_chunks/version.mjs.map +1 -1
  105. package/dist/_chunks/whoami.mjs +21 -0
  106. package/dist/_chunks/whoami.mjs.map +1 -0
  107. package/dist/_chunks/wizard.mjs +2 -190
  108. package/dist/_chunks/wizard2.mjs +200 -0
  109. package/dist/_chunks/wizard2.mjs.map +1 -0
  110. package/dist/cli.mjs +77 -59
  111. package/dist/cli.mjs.map +1 -1
  112. package/dist/prepare.mjs +5 -4
  113. package/dist/prepare.mjs.map +1 -1
  114. package/dist/retriv/worker.d.mts +5 -1
  115. package/dist/retriv/worker.d.mts.map +1 -1
  116. package/dist/retriv/worker.mjs +1 -1
  117. package/package.json +20 -29
  118. package/dist/_chunks/author-group.mjs +0 -17
  119. package/dist/_chunks/author-group.mjs.map +0 -1
  120. package/dist/_chunks/cli-helpers.mjs +0 -335
  121. package/dist/_chunks/cli-helpers.mjs.map +0 -1
  122. package/dist/_chunks/cli-helpers2.mjs +0 -2
  123. package/dist/_chunks/config.mjs +0 -122
  124. package/dist/_chunks/config.mjs.map +0 -1
  125. package/dist/_chunks/index.d.mts +0 -151
  126. package/dist/_chunks/index.d.mts.map +0 -1
  127. package/dist/_chunks/index2.d.mts +0 -44
  128. package/dist/_chunks/index2.d.mts.map +0 -1
  129. package/dist/_chunks/index3.d.mts +0 -589
  130. package/dist/_chunks/index3.d.mts.map +0 -1
  131. package/dist/_chunks/prefix.mjs +0 -108
  132. package/dist/_chunks/prefix.mjs.map +0 -1
  133. package/dist/_chunks/retriv.mjs.map +0 -1
  134. package/dist/_chunks/setup.mjs +0 -17
  135. package/dist/_chunks/setup.mjs.map +0 -1
  136. package/dist/_chunks/shared.mjs +0 -503
  137. package/dist/_chunks/shared.mjs.map +0 -1
  138. package/dist/_chunks/skill.mjs +0 -329
  139. package/dist/_chunks/skill.mjs.map +0 -1
  140. package/dist/_chunks/sources.mjs.map +0 -1
  141. package/dist/_chunks/sync-registry.mjs +0 -59
  142. package/dist/_chunks/sync-registry.mjs.map +0 -1
  143. package/dist/_chunks/sync-shared.mjs +0 -2
  144. package/dist/_chunks/sync-shared2.mjs +0 -1020
  145. package/dist/_chunks/sync-shared2.mjs.map +0 -1
  146. package/dist/_chunks/types.d.mts +0 -88
  147. package/dist/_chunks/types.d.mts.map +0 -1
  148. package/dist/_chunks/wizard.mjs.map +0 -1
  149. package/dist/agent/index.d.mts +0 -346
  150. package/dist/agent/index.d.mts.map +0 -1
  151. package/dist/agent/index.mjs +0 -5
  152. package/dist/cache/index.d.mts +0 -2
  153. package/dist/cache/index.mjs +0 -4
  154. package/dist/index.d.mts +0 -5
  155. package/dist/index.mjs +0 -5
  156. package/dist/retriv/index.d.mts +0 -3
  157. package/dist/retriv/index.mjs +0 -2
  158. package/dist/sources/index.d.mts +0 -2
  159. package/dist/sources/index.mjs +0 -3
  160. package/dist/types.d.mts +0 -4
  161. package/dist/types.mjs +0 -1
@@ -1,346 +0,0 @@
1
- interface FeaturesConfig {
2
- search: boolean;
3
- issues: boolean;
4
- discussions: boolean;
5
- releases: boolean;
6
- }
7
- interface SectionValidationWarning {
8
- warning: string;
9
- }
10
- interface CustomPrompt {
11
- heading: string;
12
- body: string;
13
- }
14
- type SkillSection = 'api-changes' | 'best-practices' | 'custom';
15
- /** Output file per section (inside .skilld/) */
16
- declare const SECTION_OUTPUT_FILES: Record<SkillSection, string>;
17
- /** Merge order for final SKILL.md body */
18
- declare const SECTION_MERGE_ORDER: SkillSection[];
19
- /** Wrap section content with HTML comment markers for targeted re-assembly */
20
- declare function wrapSection(section: SkillSection, content: string): string;
21
- /** Extract marker-delimited sections from existing SKILL.md */
22
- declare function extractMarkedSections(md: string): Map<SkillSection, {
23
- start: number;
24
- end: number;
25
- }>;
26
- interface BuildSkillPromptOptions {
27
- packageName: string;
28
- /** Absolute path to skill directory with ./.skilld/ */
29
- skillDir: string;
30
- /** Package version (e.g., "3.5.13") */
31
- version?: string;
32
- /** Has GitHub issues indexed */
33
- hasIssues?: boolean;
34
- /** Has GitHub discussions indexed */
35
- hasDiscussions?: boolean;
36
- /** Has release notes */
37
- hasReleases?: boolean;
38
- /** CHANGELOG filename if found in package (e.g. CHANGELOG.md, changelog.md) */
39
- hasChangelog?: string | false;
40
- /** Resolved absolute paths to .md doc files */
41
- docFiles?: string[];
42
- /** Doc source type */
43
- docsType?: 'llms.txt' | 'readme' | 'docs';
44
- /** Package ships its own docs */
45
- hasShippedDocs?: boolean;
46
- /** Custom instructions from the user (when 'custom' section selected) */
47
- customPrompt?: CustomPrompt;
48
- /** Resolved feature flags */
49
- features?: FeaturesConfig;
50
- /** Total number of enabled sections — adjusts per-section line budgets */
51
- enabledSectionCount?: number;
52
- /** Key files from the package (e.g., dist/pkg.d.ts) — surfaced in prompt for tool hints */
53
- pkgFiles?: string[];
54
- /** Lines consumed by SKILL.md overhead (frontmatter + header + search + footer) */
55
- overheadLines?: number;
56
- }
57
- /**
58
- * Get the validate function for a section using default context (validators use fixed thresholds).
59
- * Returns null if section has no validator.
60
- */
61
- declare function getSectionValidator(section: SkillSection): ((content: string) => SectionValidationWarning[]) | null;
62
- /**
63
- * Build prompt for a single section
64
- */
65
- declare function buildSectionPrompt(opts: BuildSkillPromptOptions & {
66
- section: SkillSection;
67
- }): string;
68
- /**
69
- * Build prompts for all selected sections, sharing the computed preamble
70
- */
71
- declare function buildAllSectionPrompts(opts: BuildSkillPromptOptions & {
72
- sections: SkillSection[];
73
- }): Map<SkillSection, string>;
74
- /**
75
- * Transform an agent-specific prompt into a portable prompt for any LLM.
76
- * - Rewrites .skilld/ paths → ./references/
77
- * - Strips ## Output section (file-writing instructions)
78
- * - Strips skilld search/validate instructions
79
- * - Replaces tool-specific language with generic equivalents
80
- * - Strips agent-specific rules
81
- */
82
- declare function portabilizePrompt(prompt: string, section?: SkillSection): string;
83
- interface SkillOptions {
84
- name: string;
85
- version?: string;
86
- releasedAt?: string;
87
- /** npm dist-tags with version and release date */
88
- distTags?: Record<string, {
89
- version: string;
90
- releasedAt?: string;
91
- }>;
92
- globs?: string[];
93
- description?: string;
94
- /** LLM-generated body — replaces default heading + description */
95
- body?: string;
96
- relatedSkills: string[];
97
- hasIssues?: boolean;
98
- hasDiscussions?: boolean;
99
- hasReleases?: boolean;
100
- hasChangelog?: string | false;
101
- docsType?: 'llms.txt' | 'readme' | 'docs';
102
- hasShippedDocs?: boolean;
103
- /** Key files in package (entry points + docs) */
104
- pkgFiles?: string[];
105
- /** Model used to generate LLM sections */
106
- generatedBy?: string;
107
- /** Override directory name for frontmatter (repo-based, e.g. "vuejs-core") */
108
- dirName?: string;
109
- /** All packages tracked by this skill (multi-package skills) */
110
- packages?: Array<{
111
- name: string;
112
- }>;
113
- /** GitHub repo URL (owner/repo format or full URL) */
114
- repoUrl?: string;
115
- /** Resolved feature flags */
116
- features?: FeaturesConfig;
117
- /** Eject mode: use ./references/ paths instead of ./.skilld/ for portable skills */
118
- eject?: boolean;
119
- }
120
- declare function writeSkillMd(skillDir: string, content: string): void;
121
- declare function writeGeneratedSkillMd(skillDir: string, opts: SkillOptions): string;
122
- declare function generateSkillMd(opts: SkillOptions): string;
123
- /**
124
- * Agent types and interfaces
125
- */
126
- type AgentType = 'claude-code' | 'cursor' | 'windsurf' | 'cline' | 'codex' | 'github-copilot' | 'gemini-cli' | 'goose' | 'amp' | 'opencode' | 'roo' | 'antigravity';
127
- interface SkillMetadata {
128
- name: string;
129
- version?: string;
130
- /** ISO date string when this version was released */
131
- releasedAt?: string;
132
- description?: string;
133
- }
134
- type OptimizeModel = 'opus' | 'sonnet' | 'haiku' | 'gemini-3.1-pro' | 'gemini-3-flash' | 'gpt-5.3-codex' | 'gpt-5.3-codex-spark' | 'gpt-5.2-codex' | `pi:${string}`;
135
- interface ModelInfo {
136
- id: OptimizeModel;
137
- name: string;
138
- hint: string;
139
- recommended?: boolean;
140
- agentId: string;
141
- agentName: string;
142
- /** Grouping key for provider selection (e.g. 'claude-code', 'pi:anthropic') */
143
- provider: string;
144
- /** Human-readable provider name */
145
- providerName: string;
146
- /** Normalized vendor name for UI grouping (e.g. 'Anthropic') — merges CLI and API entries */
147
- vendorGroup: string;
148
- }
149
- interface StreamProgress {
150
- chunk: string;
151
- type: 'reasoning' | 'text';
152
- text: string;
153
- reasoning: string;
154
- section?: SkillSection;
155
- }
156
- interface OptimizeDocsOptions {
157
- packageName: string;
158
- skillDir: string;
159
- model?: OptimizeModel;
160
- version?: string;
161
- hasGithub?: boolean;
162
- hasReleases?: boolean;
163
- hasChangelog?: string | false;
164
- docFiles?: string[];
165
- docsType?: 'llms.txt' | 'readme' | 'docs';
166
- hasShippedDocs?: boolean;
167
- onProgress?: (progress: StreamProgress) => void;
168
- timeout?: number;
169
- verbose?: boolean;
170
- debug?: boolean;
171
- noCache?: boolean;
172
- /** Which sections to generate */
173
- sections?: SkillSection[];
174
- /** Custom instructions from the user */
175
- customPrompt?: CustomPrompt;
176
- /** Resolved feature flags */
177
- features?: FeaturesConfig;
178
- /** Key files from the package (e.g., dist/pkg.d.ts) */
179
- pkgFiles?: string[];
180
- /** Lines consumed by SKILL.md overhead (frontmatter + header + search + footer) */
181
- overheadLines?: number;
182
- }
183
- interface OptimizeResult {
184
- optimized: string;
185
- wasOptimized: boolean;
186
- error?: string;
187
- warnings?: string[];
188
- reasoning?: string;
189
- finishReason?: string;
190
- usage?: {
191
- inputTokens: number;
192
- outputTokens: number;
193
- totalTokens: number;
194
- };
195
- cost?: number;
196
- debugLogsDir?: string;
197
- }
198
- interface ToolProgressLog {
199
- message: (msg: string) => void;
200
- }
201
- /** Create a progress callback that emits one line per tool call, Claude Code style */
202
- declare function createToolProgress(log: ToolProgressLog): (progress: StreamProgress) => void;
203
- declare function getModelName(id: OptimizeModel): string;
204
- declare function getModelLabel(id: OptimizeModel): string;
205
- declare function getAvailableModels(): Promise<ModelInfo[]>;
206
- declare function optimizeDocs(opts: OptimizeDocsOptions): Promise<OptimizeResult>;
207
- /**
208
- * Detect directly-used npm packages by scanning source files
209
- * Uses mlly for proper ES module parsing + tinyglobby for file discovery
210
- */
211
- interface PackageUsage {
212
- name: string;
213
- count: number;
214
- source?: 'import' | 'preset';
215
- }
216
- interface DetectResult {
217
- packages: PackageUsage[];
218
- error?: string;
219
- }
220
- /**
221
- * Scan source files to detect all directly-imported npm packages
222
- * Async with gitignore support for proper spinner animation
223
- */
224
- declare function detectImportedPackages(cwd?: string): Promise<DetectResult>;
225
- /**
226
- * Detect which agents are installed on the system
227
- */
228
- declare function detectInstalledAgents(): AgentType[];
229
- /**
230
- * Detect the target agent (where skills are installed) from env vars and cwd.
231
- * This is NOT the generator LLM — it determines the skills directory.
232
- *
233
- * Priority: env vars first (running inside agent = unambiguous), then project dirs.
234
- * When multiple agents match project dirs, returns null to trigger user prompt
235
- * rather than silently picking the first match.
236
- */
237
- declare function detectTargetAgent(): AgentType | null;
238
- /**
239
- * Get all agents matching the current project directory.
240
- * Used by promptForAgent to show relevant agents first when disambiguation is needed.
241
- */
242
- declare function detectProjectAgents(): AgentType[];
243
- /**
244
- * Get the version of an agent's CLI (if available)
245
- */
246
- declare function getAgentVersion(agentType: AgentType): string | null;
247
- /**
248
- * Sanitize skill name for filesystem
249
- */
250
- declare function sanitizeName(name: string): string;
251
- /**
252
- * Compute skill directory name from package name with -skilld suffix.
253
- * No collisions for monorepo packages (each gets a unique name).
254
- *
255
- * Examples:
256
- * vue → vue-skilld
257
- * @unhead/vue → unhead-vue-skilld
258
- * @unhead/react → unhead-react-skilld
259
- */
260
- declare function computeSkillDirName(packageName: string): string;
261
- /**
262
- * Install a skill directly to agent skill directories.
263
- * When agents are explicitly specified, creates directories as needed.
264
- * When falling back to auto-detection, only writes to agents whose skills dir already exists.
265
- */
266
- declare function installSkillForAgents(skillName: string, skillContent: string, options?: {
267
- global?: boolean;
268
- cwd?: string;
269
- agents?: AgentType[]; /** Additional files to write (filename -> content) */
270
- files?: Record<string, string>;
271
- }): {
272
- installed: AgentType[];
273
- skipped: Array<{
274
- agent: AgentType;
275
- reason: string;
276
- }>;
277
- paths: string[];
278
- };
279
- /**
280
- * Create a relative symlink from the target agent's skills dir to the shared .skills/ dir.
281
- * Only creates directories for the explicit target agent; other agents must already have
282
- * their skills dir present. This prevents skilld from polluting projects with dirs
283
- * for agents the user doesn't use (e.g. .gemini/, .agent/).
284
- */
285
- declare function linkSkillToAgents(skillName: string, sharedDir: string, cwd: string, agentType?: AgentType): void;
286
- /**
287
- * Remove per-agent symlinks for a skill when removing from shared dir.
288
- */
289
- declare function unlinkSkillFromAgents(skillName: string, cwd: string, agentType?: AgentType): void;
290
- interface FrontmatterField {
291
- /** Field name in YAML frontmatter */
292
- name: string;
293
- /** Whether the field is required by the agent */
294
- required: boolean;
295
- /** Description of what the field does */
296
- description: string;
297
- /** Constraints (max length, regex, etc.) */
298
- constraints?: string;
299
- }
300
- interface AgentTarget {
301
- /** Agent identifier */
302
- agent: AgentType;
303
- /** Human-readable agent name */
304
- displayName: string;
305
- /** Check if agent is installed on the system */
306
- detectInstalled: () => boolean;
307
- /** Check env vars to detect if running inside this agent */
308
- detectEnv: () => boolean;
309
- /** Check project-level config dirs/files to detect this agent */
310
- detectProject: (cwd: string) => boolean;
311
- /** CLI command name (if agent has a CLI for skill generation) */
312
- cli?: string;
313
- /** Project-level instruction file for always-on rules (e.g. CLAUDE.md, AGENTS.md) */
314
- instructionFile?: string;
315
- /** Required skill filename (always SKILL.md for Agent Skills spec agents) */
316
- skillFilename: string;
317
- /** Project-level skill directory */
318
- skillsDir: string;
319
- /** Global (user-level) skill directory (resolved absolute path) */
320
- globalSkillsDir: string;
321
- /** Additional directories this agent scans for skills (cross-compat) */
322
- additionalSkillsDirs: string[];
323
- /** Supported frontmatter fields */
324
- frontmatter: FrontmatterField[];
325
- /** Whether `name` must exactly match the parent directory name */
326
- nameMatchesDir: boolean;
327
- /** Name field regex constraint */
328
- namePattern: string;
329
- /** How skills are discovered: 'eager' (startup scan) or 'lazy' (on-demand) */
330
- discoveryStrategy: 'eager' | 'lazy';
331
- /** Brief description of how discovery works */
332
- discoveryNotes: string;
333
- /** Whether this agent follows the agentskills.io spec */
334
- agentSkillsSpec: boolean;
335
- /** Agent-specific extensions beyond the spec */
336
- extensions: string[];
337
- /** Link to official documentation */
338
- docs: string;
339
- /** Additional notes, quirks, known issues */
340
- notes: string[];
341
- /** Agent-specific instruction text for skill activation (written to instructionFile) */
342
- skillActivationHint?: string;
343
- }
344
- declare const targets: Record<AgentType, AgentTarget>;
345
- export { type AgentTarget, type AgentType, type CustomPrompt, type FrontmatterField, type ModelInfo, type OptimizeDocsOptions, type OptimizeModel, type OptimizeResult, SECTION_MERGE_ORDER, SECTION_OUTPUT_FILES, type SkillMetadata, type SkillOptions, type SkillSection, type StreamProgress, targets as agents, buildAllSectionPrompts, buildSectionPrompt, computeSkillDirName, createToolProgress, detectImportedPackages, detectInstalledAgents, detectProjectAgents, detectTargetAgent, extractMarkedSections, generateSkillMd, getAgentVersion, getAvailableModels, getModelLabel, getModelName, getSectionValidator, installSkillForAgents, linkSkillToAgents, optimizeDocs, portabilizePrompt, sanitizeName, unlinkSkillFromAgents, wrapSection, writeGeneratedSkillMd, writeSkillMd };
346
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/core/config.ts","../../src/agent/prompts/optional/types.ts","../../src/agent/prompts/prompt.ts","../../src/agent/prompts/skill.ts","../../src/agent/types.ts","../../src/agent/clis/types.ts","../../src/agent/clis/index.ts","../../src/agent/detect-imports.ts","../../src/agent/detect.ts","../../src/agent/install.ts","../../src/agent/targets/types.ts","../../src/agent/targets/registry.ts"],"mappings":"UAMiB,cAAA;EACf,MAAA;EACA,MAAA;EACA,WAAA;EACA,QAAA;AAAA;AAAA,UCCe,wBAAA;EACf,OAAA;AAAA;AAAA,UAiCe,YAAA;EACf,OAAA;EACA,IAAA;AAAA;AAAA,KCpCU,YAAA;;cAGC,oBAAA,EAAsB,MAAA,CAAO,YAAA;;cAO7B,mBAAA,EAAqB,YAAA;;iBAGlB,WAAA,CAAY,OAAA,EAAS,YAAA,EAAc,OAAA;;iBAKnC,qBAAA,CAAsB,EAAA,WAAa,GAAA,CAAI,YAAA;EAAgB,KAAA;EAAe,GAAA;AAAA;AAAA,UAarE,uBAAA;EACf,WAAA;EDGA;ECDA,QAAA;;EAEA,OAAA;EApCsB;EAsCtB,SAAA;EAtCsB;EAwCtB,cAAA;EArCW;EAuCX,WAAA;;EAEA,YAAA;EAzCoD;EA2CpD,QAAA;EApC4F;E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;ERhCmC;EQqCnC,eAAA;ERrCoD;EQuCpD,UAAA;ERvCiD;EQ4CjD,IAAA;ER5CqE;EQ8CrE,KAAA;ER9CuF;EQgDvF,mBAAA;AAAA;AAAA,cC1DW,OAAA,EAAS,MAAA,CAAO,SAAA,EAAW,WAAA"}
@@ -1,5 +0,0 @@
1
- import { a as getModelLabel, i as getAvailableModels, o as getModelName, r as createToolProgress, s as optimizeDocs, t as detectImportedPackages } from "../_chunks/agent.mjs";
2
- import { a as targets, i as getAgentVersion, n as detectProjectAgents, r as detectTargetAgent, t as detectInstalledAgents } from "../_chunks/detect.mjs";
3
- import { a as extractMarkedSections, c as wrapSection, i as buildSectionPrompt, n as SECTION_OUTPUT_FILES, o as getSectionValidator, r as buildAllSectionPrompts, s as portabilizePrompt, t as SECTION_MERGE_ORDER } from "../_chunks/prompts.mjs";
4
- import { a as installSkillForAgents, c as unlinkSkillFromAgents, i as computeSkillDirName, n as writeGeneratedSkillMd, o as linkSkillToAgents, r as writeSkillMd, s as sanitizeName, t as generateSkillMd } from "../_chunks/skill.mjs";
5
- export { SECTION_MERGE_ORDER, SECTION_OUTPUT_FILES, targets as agents, buildAllSectionPrompts, buildSectionPrompt, computeSkillDirName, createToolProgress, detectImportedPackages, detectInstalledAgents, detectProjectAgents, detectTargetAgent, extractMarkedSections, generateSkillMd, getAgentVersion, getAvailableModels, getModelLabel, getModelName, getSectionValidator, installSkillForAgents, linkSkillToAgents, optimizeDocs, portabilizePrompt, sanitizeName, unlinkSkillFromAgents, wrapSection, writeGeneratedSkillMd, writeSkillMd };
@@ -1,2 +0,0 @@
1
- import { A as CACHE_DIR, C as ShippedSkill, D as CacheConfig, E as resolvePkgDir, M as REPOS_DIR, N as getPackageDbPath, O as CachedDoc, P as getRepoCacheDir, S as writeToRepoCache, T as linkShippedSkill, _ as listReferenceFiles, a as clearCache, b as writeSections, c as hasShippedDocs, d as isReadmeOnlyCache, f as linkCachedDir, g as listCached, h as linkRepoCachedDir, i as clearAllCache, j as REFERENCES_DIR, k as CachedPackage, l as inferDocsTypeFromCache, m as linkPkgNamed, n as getCacheKey, o as ensureCacheDir, p as linkPkg, r as getVersionKey, s as getPkgKeyFiles, t as getCacheDir, u as isCached, v as readCachedDocs, w as getShippedSkills, x as writeToCache, y as readCachedSection } from "../_chunks/index.mjs";
2
- export { CACHE_DIR, CacheConfig, CachedDoc, CachedPackage, REFERENCES_DIR, REPOS_DIR, ShippedSkill, clearAllCache, clearCache, ensureCacheDir, getCacheDir, getCacheKey, getPackageDbPath, getPkgKeyFiles, getRepoCacheDir, getShippedSkills, getVersionKey, hasShippedDocs, inferDocsTypeFromCache, isCached, isReadmeOnlyCache, linkCachedDir, linkPkg, linkPkgNamed, linkRepoCachedDir, linkShippedSkill, listCached, listReferenceFiles, readCachedDocs, readCachedSection, resolvePkgDir, writeSections, writeToCache, writeToRepoCache };
@@ -1,4 +0,0 @@
1
- import { a as REFERENCES_DIR, c as getRepoCacheDir, i as CACHE_DIR, n as getCacheKey, o as REPOS_DIR, r as getVersionKey, s as getPackageDbPath, t as getCacheDir } from "../_chunks/version.mjs";
2
- import { n as linkShippedSkill, r as resolvePkgDir, t as getShippedSkills } from "../_chunks/prepare.mjs";
3
- import { _ as writeSections, a as hasShippedDocs, c as isReadmeOnlyCache, d as linkPkgNamed, f as linkRepoCachedDir, g as readCachedSection, h as readCachedDocs, i as getPkgKeyFiles, l as linkCachedDir, m as listReferenceFiles, n as clearCache, o as inferDocsTypeFromCache, p as listCached, r as ensureCacheDir, s as isCached, t as clearAllCache, u as linkPkg, v as writeToCache, y as writeToRepoCache } from "../_chunks/cache.mjs";
4
- export { CACHE_DIR, REFERENCES_DIR, REPOS_DIR, clearAllCache, clearCache, ensureCacheDir, getCacheDir, getCacheKey, getPackageDbPath, getPkgKeyFiles, getRepoCacheDir, getShippedSkills, getVersionKey, hasShippedDocs, inferDocsTypeFromCache, isCached, isReadmeOnlyCache, linkCachedDir, linkPkg, linkPkgNamed, linkRepoCachedDir, linkShippedSkill, listCached, listReferenceFiles, readCachedDocs, readCachedSection, resolvePkgDir, writeSections, writeToCache, writeToRepoCache };
package/dist/index.d.mts DELETED
@@ -1,5 +0,0 @@
1
- import { A as CACHE_DIR, D as CacheConfig, O as CachedDoc, a as clearCache, g as listCached, i as clearAllCache, j as REFERENCES_DIR, k as CachedPackage, n as getCacheKey, o as ensureCacheDir, r as getVersionKey, t as getCacheDir, u as isCached, v as readCachedDocs, x as writeToCache } from "./_chunks/index.mjs";
2
- import { c as SearchResult, l as SearchSnippet, n as Document, o as SearchFilter, r as IndexConfig, s as SearchOptions } from "./_chunks/types.mjs";
3
- import { d as searchSnippets, l as search, r as createIndex } from "./_chunks/index2.mjs";
4
- import { At as LlmsLink, Ft as ResolvedPackage, J as fetchLlmsTxt, K as downloadLlmsDocs, Mt as NpmPackageInfo, Ot as FetchedDoc, P as fetchNpmPackage, U as resolvePackageDocs, X as normalizeLlmsLinks, Z as parseMarkdownLinks, ct as fetchReadmeContent, jt as LocalDependency, kt as LlmsContent, z as readLocalDependencies } from "./_chunks/index3.mjs";
5
- export { CACHE_DIR, type CacheConfig, type CachedDoc, type CachedPackage, type Document, type FetchedDoc, type IndexConfig, type LlmsContent, type LlmsLink, type LocalDependency, type NpmPackageInfo, REFERENCES_DIR, type ResolvedPackage, type SearchFilter, type SearchOptions, type SearchResult, type SearchSnippet, clearAllCache, clearCache, createIndex, downloadLlmsDocs, ensureCacheDir, fetchLlmsTxt, fetchNpmPackage, fetchReadmeContent, getCacheDir, getCacheKey, getVersionKey, isCached, listCached, normalizeLlmsLinks, parseMarkdownLinks, readCachedDocs, readLocalDependencies, resolvePackageDocs, search, searchSnippets, writeToCache };
package/dist/index.mjs DELETED
@@ -1,5 +0,0 @@
1
- import { a as REFERENCES_DIR, i as CACHE_DIR, n as getCacheKey, r as getVersionKey, t as getCacheDir } from "./_chunks/version.mjs";
2
- import { h as readCachedDocs, n as clearCache, p as listCached, r as ensureCacheDir, s as isCached, t as clearAllCache, v as writeToCache } from "./_chunks/cache.mjs";
3
- import { d as searchSnippets, l as search, r as createIndex } from "./_chunks/retriv.mjs";
4
- import { I as fetchLlmsTxt, P as downloadLlmsDocs, R as normalizeLlmsLinks, d as resolvePackageDocs, k as fetchReadmeContent, n as fetchNpmPackage, s as readLocalDependencies, z as parseMarkdownLinks } from "./_chunks/sources.mjs";
5
- export { CACHE_DIR, REFERENCES_DIR, clearAllCache, clearCache, createIndex, downloadLlmsDocs, ensureCacheDir, fetchLlmsTxt, fetchNpmPackage, fetchReadmeContent, getCacheDir, getCacheKey, getVersionKey, isCached, listCached, normalizeLlmsLinks, parseMarkdownLinks, readCachedDocs, readLocalDependencies, resolvePackageDocs, search, searchSnippets, writeToCache };
@@ -1,3 +0,0 @@
1
- import { a as IndexProgress, c as SearchResult, i as IndexPhase, l as SearchSnippet, n as Document, o as SearchFilter, r as IndexConfig, s as SearchOptions, t as ChunkEntity } from "../_chunks/types.mjs";
2
- import { a as getDb, c as removeFromIndex, d as searchSnippets, i as createIndexDirect, l as search, n as closePool, o as listIndexIds, r as createIndex, s as openPool, t as SearchDepsUnavailableError, u as searchPooled } from "../_chunks/index2.mjs";
3
- export { ChunkEntity, Document, IndexConfig, IndexPhase, IndexProgress, SearchDepsUnavailableError, SearchFilter, SearchOptions, SearchResult, SearchSnippet, closePool, createIndex, createIndexDirect, getDb, listIndexIds, openPool, removeFromIndex, search, searchPooled, searchSnippets };
@@ -1,2 +0,0 @@
1
- import { a as getDb, c as removeFromIndex, d as searchSnippets, i as createIndexDirect, l as search, n as closePool, o as listIndexIds, r as createIndex, s as openPool, t as SearchDepsUnavailableError, u as searchPooled } from "../_chunks/retriv.mjs";
2
- export { SearchDepsUnavailableError, closePool, createIndex, createIndexDirect, getDb, listIndexIds, openPool, removeFromIndex, search, searchPooled, searchSnippets };
@@ -1,2 +0,0 @@
1
- import { $ as fetchGitHubIssues, A as LocalPackageInfo, At as LlmsLink, B as readLocalPackageInfo, C as getCrawlUrl, Ct as formatDiscussionAsMarkdown, D as getRelatedPackages, Dt as resolveCrateDocsWithAttempts, E as getPrereleaseChangelogRef, Et as toCrawlPattern, F as fetchNpmRegistryMeta, Ft as ResolvedPackage, G as searchNpmPackages, H as resolveLocalPackageDocs, I as fetchPkgDist, It as fetchBlogReleases, J as fetchLlmsTxt, K as downloadLlmsDocs, L as getInstalledSkillVersion, M as ResolveStep, Mt as NpmPackageInfo, N as fetchLatestVersion, Nt as ResolveAttempt, O as getRepoEntry, Ot as FetchedDoc, P as fetchNpmPackage, Pt as ResolveResult, Q as GitHubIssue, R as parseVersionSpecifier, S as getBlogPreset, St as fetchGitHubDiscussions, T as getFilePatterns, Tt as fetchCrawledDocs, U as resolvePackageDocs, V as resolveInstalledVersion, W as resolvePackageDocsWithAttempts, X as normalizeLlmsLinks, Y as fetchLlmsUrl, Z as parseMarkdownLinks, _ as isPrerelease, _t as parseSkillFrontmatterName, a as isGitHubRepoUrl, at as fetchGitDocs, b as BlogRelease, bt as generateDocsIndex, c as parseGitHubUrl, ct as fetchReadmeContent, d as GitHubRelease, dt as resolveGitHubRepo, et as formatIssueAsMarkdown, f as ReleaseIndexOptions, ft as validateGitDocsWithLlms, g as generateReleaseIndex, gt as parseGitSkillInput, h as fetchReleaseNotes, ht as fetchGitSkills, i as fetchText, it as MIN_GIT_DOCS, j as ResolveOptions, jt as LocalDependency, k as getRepoKeyForPackage, kt as LlmsContent, l as parsePackageSpec, lt as filterFrameworkDocs, m as compareSemver, mt as RemoteSkill, n as extractBranchHint, nt as isGhAvailable, o as normalizeRepoUrl, ot as fetchGitHubRepoMeta, p as SemVer, pt as GitSkillSource, q as extractSections, r as fetchGitHubRaw, rt as GitDocsResult, s as parseGitHubRepoSlug, st as fetchReadme, t as $fetch, tt as generateIssueIndex, u as verifyUrl, ut as isShallowGitDocs, v as parseSemver, vt as EntryFile, w as getDocOverride, wt as generateDiscussionIndex, x as DocOverride, xt as GitHubDiscussion, y as BlogPreset, yt as resolveEntryFiles, z as readLocalDependencies } from "../_chunks/index3.mjs";
2
- export { $fetch, BlogPreset, BlogRelease, DocOverride, EntryFile, FetchedDoc, GitDocsResult, GitHubDiscussion, GitHubIssue, GitHubRelease, GitSkillSource, LlmsContent, LlmsLink, LocalDependency, LocalPackageInfo, MIN_GIT_DOCS, NpmPackageInfo, ReleaseIndexOptions, RemoteSkill, ResolveAttempt, ResolveOptions, ResolveResult, ResolveStep, ResolvedPackage, SemVer, compareSemver, downloadLlmsDocs, extractBranchHint, extractSections, fetchBlogReleases, fetchCrawledDocs, fetchGitDocs, fetchGitHubDiscussions, fetchGitHubIssues, fetchGitHubRaw, fetchGitHubRepoMeta, fetchGitSkills, fetchLatestVersion, fetchLlmsTxt, fetchLlmsUrl, fetchNpmPackage, fetchNpmRegistryMeta, fetchPkgDist, fetchReadme, fetchReadmeContent, fetchReleaseNotes, fetchText, filterFrameworkDocs, formatDiscussionAsMarkdown, formatIssueAsMarkdown, generateDiscussionIndex, generateDocsIndex, generateIssueIndex, generateReleaseIndex, getBlogPreset, getCrawlUrl, getDocOverride, getFilePatterns, getInstalledSkillVersion, getPrereleaseChangelogRef, getRelatedPackages, getRepoEntry, getRepoKeyForPackage, isGhAvailable, isGitHubRepoUrl, isPrerelease, isShallowGitDocs, normalizeLlmsLinks, normalizeRepoUrl, parseGitHubRepoSlug, parseGitHubUrl, parseGitSkillInput, parseMarkdownLinks, parsePackageSpec, parseSemver, parseSkillFrontmatterName, parseVersionSpecifier, readLocalDependencies, readLocalPackageInfo, resolveCrateDocsWithAttempts, resolveEntryFiles, resolveGitHubRepo, resolveInstalledVersion, resolveLocalPackageDocs, resolvePackageDocs, resolvePackageDocsWithAttempts, searchNpmPackages, toCrawlPattern, validateGitDocsWithLlms, verifyUrl };
@@ -1,3 +0,0 @@
1
- import { c as getBlogPreset, d as getFilePatterns, g as getRepoKeyForPackage, h as getRepoEntry, l as getCrawlUrl, m as getRelatedPackages, p as getPrereleaseChangelogRef, u as getDocOverride } from "../_chunks/shared.mjs";
2
- import { $ as fetchText, A as filterFrameworkDocs, B as fetchGitHubIssues, C as toCrawlPattern, D as fetchGitHubRepoMeta, E as fetchGitDocs, F as extractSections, G as compareSemver, H as generateIssueIndex, I as fetchLlmsTxt, J as isPrerelease, K as fetchReleaseNotes, L as fetchLlmsUrl, M as resolveGitHubRepo, N as validateGitDocsWithLlms, O as fetchReadme, P as downloadLlmsDocs, Q as fetchGitHubRaw, R as normalizeLlmsLinks, S as fetchCrawledDocs, T as MIN_GIT_DOCS, U as isGhAvailable, V as formatIssueAsMarkdown, W as fetchBlogReleases, X as $fetch, Y as parseSemver, Z as extractBranchHint, _ as resolveEntryFiles, a as getInstalledSkillVersion, at as verifyUrl, b as formatDiscussionAsMarkdown, c as readLocalPackageInfo, d as resolvePackageDocs, et as isGitHubRepoUrl, f as resolvePackageDocsWithAttempts, g as parseSkillFrontmatterName, h as parseGitSkillInput, i as fetchPkgDist, it as parsePackageSpec, j as isShallowGitDocs, k as fetchReadmeContent, l as resolveInstalledVersion, m as fetchGitSkills, n as fetchNpmPackage, nt as parseGitHubRepoSlug, o as parseVersionSpecifier, p as searchNpmPackages, q as generateReleaseIndex, r as fetchNpmRegistryMeta, rt as parseGitHubUrl, s as readLocalDependencies, t as fetchLatestVersion, tt as normalizeRepoUrl, u as resolveLocalPackageDocs, v as generateDocsIndex, w as resolveCrateDocsWithAttempts, x as generateDiscussionIndex, y as fetchGitHubDiscussions, z as parseMarkdownLinks } from "../_chunks/sources.mjs";
3
- export { $fetch, MIN_GIT_DOCS, compareSemver, downloadLlmsDocs, extractBranchHint, extractSections, fetchBlogReleases, fetchCrawledDocs, fetchGitDocs, fetchGitHubDiscussions, fetchGitHubIssues, fetchGitHubRaw, fetchGitHubRepoMeta, fetchGitSkills, fetchLatestVersion, fetchLlmsTxt, fetchLlmsUrl, fetchNpmPackage, fetchNpmRegistryMeta, fetchPkgDist, fetchReadme, fetchReadmeContent, fetchReleaseNotes, fetchText, filterFrameworkDocs, formatDiscussionAsMarkdown, formatIssueAsMarkdown, generateDiscussionIndex, generateDocsIndex, generateIssueIndex, generateReleaseIndex, getBlogPreset, getCrawlUrl, getDocOverride, getFilePatterns, getInstalledSkillVersion, getPrereleaseChangelogRef, getRelatedPackages, getRepoEntry, getRepoKeyForPackage, isGhAvailable, isGitHubRepoUrl, isPrerelease, isShallowGitDocs, normalizeLlmsLinks, normalizeRepoUrl, parseGitHubRepoSlug, parseGitHubUrl, parseGitSkillInput, parseMarkdownLinks, parsePackageSpec, parseSemver, parseSkillFrontmatterName, parseVersionSpecifier, readLocalDependencies, readLocalPackageInfo, resolveCrateDocsWithAttempts, resolveEntryFiles, resolveGitHubRepo, resolveInstalledVersion, resolveLocalPackageDocs, resolvePackageDocs, resolvePackageDocsWithAttempts, searchNpmPackages, toCrawlPattern, validateGitDocsWithLlms, verifyUrl };
package/dist/types.d.mts DELETED
@@ -1,4 +0,0 @@
1
- import { D as CacheConfig, k as CachedPackage } from "./_chunks/index.mjs";
2
- import { c as SearchResult, l as SearchSnippet, n as Document, o as SearchFilter, r as IndexConfig, s as SearchOptions } from "./_chunks/types.mjs";
3
- import { At as LlmsLink, Ot as FetchedDoc, kt as LlmsContent } from "./_chunks/index3.mjs";
4
- export { type CacheConfig, type CachedPackage, type Document, type FetchedDoc, type IndexConfig, type LlmsContent, type LlmsLink, type SearchFilter, type SearchOptions, type SearchResult, type SearchSnippet };
package/dist/types.mjs DELETED
@@ -1 +0,0 @@
1
- export {};