agdex 0.4.1 → 0.5.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 (46) hide show
  1. package/README.md +42 -5
  2. package/dist/cli/configurable-select.d.ts +15 -0
  3. package/dist/cli/configurable-select.d.ts.map +1 -0
  4. package/dist/cli/index.js +444 -106
  5. package/dist/{index-9gy9s47s.js → index-974mhezm.js} +919 -61
  6. package/dist/index-g5x6jpyb.js +2304 -0
  7. package/dist/{index-pkx4s2ef.js → index-nn4xptha.js} +42 -15
  8. package/dist/index-pfdh6eyh.js +2241 -0
  9. package/dist/{index-4shp3mqh.js → index-vf9nfyjb.js} +369 -60
  10. package/dist/{index-zrmn6fd2.js → index-wsqyam11.js} +301 -68
  11. package/dist/index.d.ts +1 -1
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +3 -1
  14. package/dist/lib/agents-md.d.ts +5 -0
  15. package/dist/lib/agents-md.d.ts.map +1 -1
  16. package/dist/lib/providers/cuda-feedstock.d.ts +6 -0
  17. package/dist/lib/providers/cuda-feedstock.d.ts.map +1 -0
  18. package/dist/lib/providers/generic.d.ts.map +1 -1
  19. package/dist/lib/providers/index.d.ts +3 -0
  20. package/dist/lib/providers/index.d.ts.map +1 -1
  21. package/dist/lib/providers/shadcn-svelte.d.ts +3 -0
  22. package/dist/lib/providers/shadcn-svelte.d.ts.map +1 -0
  23. package/dist/lib/providers/sveltekit.d.ts +3 -0
  24. package/dist/lib/providers/sveltekit.d.ts.map +1 -0
  25. package/dist/lib/skills.d.ts +13 -2
  26. package/dist/lib/skills.d.ts.map +1 -1
  27. package/dist/lib/types.d.ts +18 -3
  28. package/dist/lib/types.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/dist/index-57bfejpe.js +0 -1357
  31. package/dist/index-5h59833k.js +0 -1270
  32. package/dist/index-6dj5che8.js +0 -859
  33. package/dist/index-6e18afd7.js +0 -1229
  34. package/dist/index-7adbtddf.js +0 -1123
  35. package/dist/index-cfpc7eqp.js +0 -1265
  36. package/dist/index-db6kreh4.js +0 -1188
  37. package/dist/index-exr11by8.js +0 -708
  38. package/dist/index-fxmpwsct.js +0 -779
  39. package/dist/index-gtzz9131.js +0 -708
  40. package/dist/index-hr5jh9yq.js +0 -712
  41. package/dist/index-k299aha0.js +0 -1229
  42. package/dist/index-ntpyfcve.js +0 -1154
  43. package/dist/index-p0xjkwcp.js +0 -1283
  44. package/dist/index-pry8ssn1.js +0 -636
  45. package/dist/index-wgnqr8g3.js +0 -882
  46. package/dist/index-y6zqcrbh.js +0 -788
@@ -58,7 +58,13 @@ async function pullDocs(provider, options) {
58
58
  if (fs.existsSync(docsPath)) {
59
59
  fs.rmSync(docsPath, { recursive: true });
60
60
  }
61
- const tag = provider.versionToTag ? provider.versionToTag(version) : `v${version}`;
61
+ const defaultVersionToTag = (v) => {
62
+ if (v.startsWith("v") || /^\d/.test(v)) {
63
+ return v.startsWith("v") ? v : `v${v}`;
64
+ }
65
+ return v;
66
+ };
67
+ const tag = provider.versionToTag ? provider.versionToTag(version) : defaultVersionToTag(version);
62
68
  await cloneDocsFolder(provider.repo, provider.docsPath, tag, docsPath);
63
69
  return {
64
70
  success: true,
@@ -247,6 +253,15 @@ function hasExistingIndex(content, providerName) {
247
253
  }
248
254
  return content.includes(START_MARKER_PREFIX);
249
255
  }
256
+ function getEmbeddedProviders(content) {
257
+ const providers = [];
258
+ const regex = /<!-- AGENTS-MD-EMBED-START:(\S+?) -->/g;
259
+ let match;
260
+ while ((match = regex.exec(content)) !== null) {
261
+ providers.push(match[1]);
262
+ }
263
+ return providers;
264
+ }
250
265
  function removeDocsIndex(content, providerName) {
251
266
  if (!hasExistingIndex(content, providerName)) {
252
267
  return content;
@@ -345,7 +360,7 @@ async function embed(options) {
345
360
  version,
346
361
  output = "AGENTS.md",
347
362
  docsDir: customDocsDir,
348
- globalCache = false,
363
+ globalCache = true,
349
364
  description
350
365
  } = options;
351
366
  let docsPath;
@@ -374,24 +389,39 @@ async function embed(options) {
374
389
  sizeBefore = Buffer.byteLength(existingContent, "utf-8");
375
390
  isNewFile = false;
376
391
  }
377
- const pullResult = await pullDocs(provider, {
378
- cwd,
379
- version,
380
- docsDir: docsPath
381
- });
382
- if (!pullResult.success) {
383
- return {
384
- success: false,
385
- error: pullResult.error
392
+ const cacheHit = fs.existsSync(docsPath) && fs.readdirSync(docsPath).length > 0;
393
+ let pullResult;
394
+ if (cacheHit) {
395
+ let resolvedVersion = version;
396
+ if (!resolvedVersion && provider.detectVersion) {
397
+ const detected = provider.detectVersion(cwd);
398
+ resolvedVersion = detected.version || undefined;
399
+ }
400
+ pullResult = {
401
+ success: true,
402
+ docsPath,
403
+ version: resolvedVersion
386
404
  };
405
+ } else {
406
+ pullResult = await pullDocs(provider, {
407
+ cwd,
408
+ version,
409
+ docsDir: docsPath
410
+ });
411
+ if (!pullResult.success) {
412
+ return {
413
+ success: false,
414
+ error: pullResult.error
415
+ };
416
+ }
387
417
  }
388
418
  const docFiles = collectDocFiles(docsPath, {
389
419
  extensions: provider.extensions,
390
420
  excludePatterns: provider.excludePatterns
391
421
  });
392
422
  const sections = buildDocTree(docFiles);
393
- const globalFlag = globalCache ? " --global" : "";
394
- const regenerateCommand = `npx agdex --provider ${provider.name} --output ${output}${globalFlag}`;
423
+ const localFlag = !globalCache ? " --local" : "";
424
+ const regenerateCommand = `npx agdex --provider ${provider.name} --output ${output}${localFlag}`;
395
425
  const indexContent = generateIndex({
396
426
  docsPath: docsLinkPath,
397
427
  sections,
@@ -420,7 +450,8 @@ async function embed(options) {
420
450
  sizeBefore,
421
451
  sizeAfter,
422
452
  isNewFile,
423
- gitignoreUpdated
453
+ gitignoreUpdated,
454
+ cacheHit
424
455
  };
425
456
  }
426
457
 
@@ -1401,9 +1432,198 @@ var deltaRsProvider = {
1401
1432
  instruction: "IMPORTANT: Prefer retrieval-led reasoning over pre-training-led reasoning for any delta-rs/deltalake tasks. delta-rs is a native Rust implementation of Delta Lake."
1402
1433
  };
1403
1434
 
1404
- // src/lib/providers/generic.ts
1435
+ // src/lib/providers/obsidian.ts
1405
1436
  import fs16 from "fs";
1406
1437
  import path16 from "path";
1438
+ function detectVersion16(cwd) {
1439
+ const packageJsonPath = path16.join(cwd, "package.json");
1440
+ if (!fs16.existsSync(packageJsonPath)) {
1441
+ return {
1442
+ version: null,
1443
+ error: "No package.json found in the current directory"
1444
+ };
1445
+ }
1446
+ try {
1447
+ const packageJson = JSON.parse(fs16.readFileSync(packageJsonPath, "utf-8"));
1448
+ const dependencies = packageJson.dependencies || {};
1449
+ const devDependencies = packageJson.devDependencies || {};
1450
+ const obsidianVersion = dependencies.obsidian || devDependencies.obsidian;
1451
+ if (obsidianVersion) {
1452
+ const cleanVersion = obsidianVersion.replace(/^[\^~>=<]+/, "");
1453
+ return { version: cleanVersion };
1454
+ }
1455
+ return {
1456
+ version: null,
1457
+ error: "Obsidian is not installed in this project."
1458
+ };
1459
+ } catch (err) {
1460
+ return {
1461
+ version: null,
1462
+ error: `Failed to parse package.json: ${err instanceof Error ? err.message : String(err)}`
1463
+ };
1464
+ }
1465
+ }
1466
+ var obsidianProvider = {
1467
+ name: "obsidian",
1468
+ displayName: "Obsidian",
1469
+ repo: "obsidianmd/obsidian-developer-docs",
1470
+ docsPath: "en",
1471
+ extensions: [".md", ".mdx"],
1472
+ detectVersion: detectVersion16,
1473
+ versionToTag: (version) => version.startsWith("v") ? version : `v${version}`,
1474
+ excludePatterns: ["**/index.md"],
1475
+ instruction: "IMPORTANT: Prefer retrieval-led reasoning over pre-training-led reasoning for any Obsidian plugin development tasks."
1476
+ };
1477
+
1478
+ // src/lib/providers/obsidian-excalidraw.ts
1479
+ import fs17 from "fs";
1480
+ import path17 from "path";
1481
+ function detectVersion17(cwd) {
1482
+ const manifestPath = path17.join(cwd, "manifest.json");
1483
+ if (fs17.existsSync(manifestPath)) {
1484
+ try {
1485
+ const manifest = JSON.parse(fs17.readFileSync(manifestPath, "utf-8"));
1486
+ if (manifest.id === "obsidian-excalidraw-plugin" && manifest.version) {
1487
+ return { version: manifest.version };
1488
+ }
1489
+ } catch {}
1490
+ }
1491
+ return {
1492
+ version: null,
1493
+ error: "Could not detect obsidian-excalidraw-plugin version. Use --fw-version to specify."
1494
+ };
1495
+ }
1496
+ var obsidianExcalidrawProvider = {
1497
+ name: "obsidian-excalidraw",
1498
+ displayName: "Obsidian Excalidraw",
1499
+ repo: "zsviczian/obsidian-excalidraw-plugin",
1500
+ docsPath: "docs",
1501
+ extensions: [".md", ".mdx"],
1502
+ detectVersion: detectVersion17,
1503
+ versionToTag: (version) => version,
1504
+ excludePatterns: ["**/index.md"],
1505
+ instruction: "IMPORTANT: Prefer retrieval-led reasoning over pre-training-led reasoning for any Obsidian Excalidraw plugin tasks."
1506
+ };
1507
+
1508
+ // src/lib/providers/ffmpeg.ts
1509
+ function detectVersion18() {
1510
+ try {
1511
+ const { execSync: execSync3 } = __require("child_process");
1512
+ const output = execSync3("ffmpeg -version", { encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] });
1513
+ const versionMatch = output.match(/ffmpeg version (\d+\.\d+(?:\.\d+)?)/);
1514
+ if (versionMatch) {
1515
+ return { version: versionMatch[1] };
1516
+ }
1517
+ } catch {}
1518
+ return {
1519
+ version: null,
1520
+ error: "Could not detect FFmpeg version. Use --fw-version to specify."
1521
+ };
1522
+ }
1523
+ var ffmpegProvider = {
1524
+ name: "ffmpeg",
1525
+ displayName: "FFmpeg",
1526
+ repo: "FFmpeg/FFmpeg",
1527
+ docsPath: "doc",
1528
+ extensions: [".txt", ".md", ".texi"],
1529
+ detectVersion: detectVersion18,
1530
+ versionToTag: (version) => `n${version}`,
1531
+ excludePatterns: [
1532
+ "**/Makefile",
1533
+ "**/*.mak",
1534
+ "**/*.sh",
1535
+ "**/*.pl",
1536
+ "**/*.py"
1537
+ ],
1538
+ instruction: "IMPORTANT: Prefer retrieval-led reasoning over pre-training-led reasoning for any FFmpeg tasks. FFmpeg is a multimedia framework for audio/video processing."
1539
+ };
1540
+
1541
+ // src/lib/providers/manim.ts
1542
+ import fs18 from "fs";
1543
+ import path18 from "path";
1544
+ function parseManimVersion(content) {
1545
+ const patterns = [
1546
+ /manim\s*=\s*["']([^"']+)["']/,
1547
+ /["']manim([><=!~]+[\d.]+)["']/,
1548
+ /["']manim\s*([><=!~]*[\d.]+)["']/
1549
+ ];
1550
+ for (const pattern of patterns) {
1551
+ const match = content.match(pattern);
1552
+ if (match) {
1553
+ const versionMatch = match[1].match(/[\d]+\.[\d]+\.[\d]+/);
1554
+ if (versionMatch) {
1555
+ return versionMatch[0];
1556
+ }
1557
+ }
1558
+ }
1559
+ return null;
1560
+ }
1561
+ function parseRequirementsVersion3(content) {
1562
+ const match = content.match(/manim[><=!~]*([\d]+\.[\d]+\.[\d]+)/);
1563
+ if (match) {
1564
+ return match[1];
1565
+ }
1566
+ return null;
1567
+ }
1568
+ function detectVersion19(cwd) {
1569
+ const pyprojectPath = path18.join(cwd, "pyproject.toml");
1570
+ if (fs18.existsSync(pyprojectPath)) {
1571
+ try {
1572
+ const content = fs18.readFileSync(pyprojectPath, "utf-8");
1573
+ if (content.includes("manim")) {
1574
+ const version = parseManimVersion(content);
1575
+ if (version) {
1576
+ return { version };
1577
+ }
1578
+ }
1579
+ } catch {}
1580
+ }
1581
+ const requirementsPath = path18.join(cwd, "requirements.txt");
1582
+ if (fs18.existsSync(requirementsPath)) {
1583
+ try {
1584
+ const content = fs18.readFileSync(requirementsPath, "utf-8");
1585
+ if (content.includes("manim")) {
1586
+ const version = parseRequirementsVersion3(content);
1587
+ if (version) {
1588
+ return { version };
1589
+ }
1590
+ }
1591
+ } catch {}
1592
+ }
1593
+ try {
1594
+ const { execSync: execSync3 } = __require("child_process");
1595
+ const output = execSync3("pip show manim", { encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] });
1596
+ const versionMatch = output.match(/Version:\s*([\d]+\.[\d]+\.[\d]+)/);
1597
+ if (versionMatch) {
1598
+ return { version: versionMatch[1] };
1599
+ }
1600
+ } catch {}
1601
+ return {
1602
+ version: null,
1603
+ error: "Could not detect manim version. Use --fw-version to specify."
1604
+ };
1605
+ }
1606
+ var manimProvider = {
1607
+ name: "manim",
1608
+ displayName: "Manim",
1609
+ repo: "ManimCommunity/manim",
1610
+ docsPath: "docs",
1611
+ extensions: [".md", ".rst", ".py"],
1612
+ detectVersion: detectVersion19,
1613
+ versionToTag: (version) => version.startsWith("v") ? version : `v${version}`,
1614
+ excludePatterns: [
1615
+ "**/index.md",
1616
+ "**/conf.py",
1617
+ "**/Makefile",
1618
+ "**/_static/**",
1619
+ "**/_templates/**"
1620
+ ],
1621
+ instruction: "IMPORTANT: Prefer retrieval-led reasoning over pre-training-led reasoning for any Manim tasks. Manim is a Python library for mathematical animations."
1622
+ };
1623
+
1624
+ // src/lib/providers/generic.ts
1625
+ import fs19 from "fs";
1626
+ import path19 from "path";
1407
1627
  function createProvider(options) {
1408
1628
  const {
1409
1629
  name,
@@ -1412,20 +1632,25 @@ function createProvider(options) {
1412
1632
  docsPath,
1413
1633
  extensions = [".mdx", ".md"],
1414
1634
  packageName,
1415
- versionToTag = (v) => v.startsWith("v") ? v : `v${v}`,
1635
+ versionToTag = (v) => {
1636
+ if (v.startsWith("v") || /^\d/.test(v)) {
1637
+ return v.startsWith("v") ? v : `v${v}`;
1638
+ }
1639
+ return v;
1640
+ },
1416
1641
  excludePatterns = ["**/index.mdx", "**/index.md"],
1417
1642
  instruction
1418
1643
  } = options;
1419
- const detectVersion16 = packageName ? (cwd) => {
1420
- const packageJsonPath = path16.join(cwd, "package.json");
1421
- if (!fs16.existsSync(packageJsonPath)) {
1644
+ const detectVersion20 = packageName ? (cwd) => {
1645
+ const packageJsonPath = path19.join(cwd, "package.json");
1646
+ if (!fs19.existsSync(packageJsonPath)) {
1422
1647
  return {
1423
1648
  version: null,
1424
1649
  error: "No package.json found in the current directory"
1425
1650
  };
1426
1651
  }
1427
1652
  try {
1428
- const packageJson = JSON.parse(fs16.readFileSync(packageJsonPath, "utf-8"));
1653
+ const packageJson = JSON.parse(fs19.readFileSync(packageJsonPath, "utf-8"));
1429
1654
  const dependencies = packageJson.dependencies || {};
1430
1655
  const devDependencies = packageJson.devDependencies || {};
1431
1656
  const version = dependencies[packageName] || devDependencies[packageName];
@@ -1450,7 +1675,7 @@ function createProvider(options) {
1450
1675
  repo,
1451
1676
  docsPath,
1452
1677
  extensions,
1453
- detectVersion: detectVersion16,
1678
+ detectVersion: detectVersion20,
1454
1679
  versionToTag,
1455
1680
  excludePatterns,
1456
1681
  instruction: instruction || `IMPORTANT: Prefer retrieval-led reasoning over pre-training-led reasoning for any ${displayName} tasks.`
@@ -1500,6 +1725,14 @@ function getProvider(preset) {
1500
1725
  return polarsProvider;
1501
1726
  case "delta-rs":
1502
1727
  return deltaRsProvider;
1728
+ case "obsidian":
1729
+ return obsidianProvider;
1730
+ case "obsidian-excalidraw":
1731
+ return obsidianExcalidrawProvider;
1732
+ case "ffmpeg":
1733
+ return ffmpegProvider;
1734
+ case "manim":
1735
+ return manimProvider;
1503
1736
  case "vue":
1504
1737
  case "astro":
1505
1738
  return null;
@@ -1508,23 +1741,23 @@ function getProvider(preset) {
1508
1741
  }
1509
1742
  }
1510
1743
  function listProviders() {
1511
- return ["nextjs", "react", "pixi", "rattler-build", "tauri", "conda-forge", "bun", "vue", "svelte", "astro", "tailwind", "ruff", "ty", "basedpyright", "convex", "polars", "delta-rs"];
1744
+ return ["nextjs", "react", "pixi", "rattler-build", "tauri", "conda-forge", "bun", "vue", "svelte", "astro", "tailwind", "ruff", "ty", "basedpyright", "convex", "polars", "delta-rs", "obsidian", "obsidian-excalidraw", "ffmpeg", "manim"];
1512
1745
  }
1513
1746
  function isProviderAvailable(preset) {
1514
1747
  return getProvider(preset) !== null;
1515
1748
  }
1516
1749
 
1517
1750
  // src/lib/skills.ts
1518
- import fs17 from "fs";
1519
- import path17 from "path";
1751
+ import fs20 from "fs";
1752
+ import path20 from "path";
1520
1753
  import os2 from "os";
1521
1754
  var SKILLS_START_MARKER = "<!-- AGENTS-MD-SKILLS-START -->";
1522
1755
  var SKILLS_END_MARKER = "<!-- AGENTS-MD-SKILLS-END -->";
1523
1756
  function parseEnabledPlugins(settingsPath) {
1524
- if (!fs17.existsSync(settingsPath))
1757
+ if (!fs20.existsSync(settingsPath))
1525
1758
  return [];
1526
1759
  try {
1527
- const content = fs17.readFileSync(settingsPath, "utf-8");
1760
+ const content = fs20.readFileSync(settingsPath, "utf-8");
1528
1761
  const settings = JSON.parse(content);
1529
1762
  const enabledPlugins = settings.enabledPlugins || {};
1530
1763
  const plugins = [];
@@ -1545,17 +1778,17 @@ function parseEnabledPlugins(settingsPath) {
1545
1778
  }
1546
1779
  }
1547
1780
  function findPluginSkillsPath(pluginRepo, skillName) {
1548
- const cacheDir = path17.join(os2.homedir(), ".claude", "plugins", "cache", pluginRepo, skillName);
1549
- if (!fs17.existsSync(cacheDir))
1781
+ const cacheDir = path20.join(os2.homedir(), ".claude", "plugins", "cache", pluginRepo, skillName);
1782
+ if (!fs20.existsSync(cacheDir))
1550
1783
  return null;
1551
1784
  try {
1552
- const entries = fs17.readdirSync(cacheDir, { withFileTypes: true });
1785
+ const entries = fs20.readdirSync(cacheDir, { withFileTypes: true });
1553
1786
  const hashDirs = entries.filter((e) => e.isDirectory() && !e.name.startsWith("."));
1554
1787
  if (hashDirs.length === 0)
1555
1788
  return null;
1556
1789
  const hashDir = hashDirs[0].name;
1557
- const skillsPath = path17.join(cacheDir, hashDir, "skills");
1558
- if (fs17.existsSync(skillsPath)) {
1790
+ const skillsPath = path20.join(cacheDir, hashDir, "skills");
1791
+ if (fs20.existsSync(skillsPath)) {
1559
1792
  return skillsPath;
1560
1793
  }
1561
1794
  return null;
@@ -1567,8 +1800,8 @@ function getEnabledPluginSources(cwd) {
1567
1800
  const sources = [];
1568
1801
  const seenPlugins = new Set;
1569
1802
  const settingsPaths = [
1570
- path17.join(os2.homedir(), ".claude", "settings.json"),
1571
- path17.join(cwd, ".claude", "settings.json")
1803
+ path20.join(os2.homedir(), ".claude", "settings.json"),
1804
+ path20.join(cwd, ".claude", "settings.json")
1572
1805
  ];
1573
1806
  for (const settingsPath of settingsPaths) {
1574
1807
  const plugins = parseEnabledPlugins(settingsPath);
@@ -1611,12 +1844,12 @@ function parseSkillFrontmatter(content) {
1611
1844
  function getFilesRecursively(dir, baseDir) {
1612
1845
  const files = [];
1613
1846
  try {
1614
- const entries = fs17.readdirSync(dir, { withFileTypes: true });
1847
+ const entries = fs20.readdirSync(dir, { withFileTypes: true });
1615
1848
  for (const entry of entries) {
1616
1849
  if (entry.name.startsWith(".") || entry.name === "SKILL.md")
1617
1850
  continue;
1618
- const fullPath = path17.join(dir, entry.name);
1619
- const relativePath = path17.relative(baseDir, fullPath);
1851
+ const fullPath = path20.join(dir, entry.name);
1852
+ const relativePath = path20.relative(baseDir, fullPath);
1620
1853
  if (entry.isDirectory()) {
1621
1854
  files.push(...getFilesRecursively(fullPath, baseDir));
1622
1855
  } else {
@@ -1627,29 +1860,29 @@ function getFilesRecursively(dir, baseDir) {
1627
1860
  return files;
1628
1861
  }
1629
1862
  function getSiblingFiles(skillMdPath) {
1630
- const dir = path17.dirname(skillMdPath);
1631
- if (!fs17.existsSync(dir))
1863
+ const dir = path20.dirname(skillMdPath);
1864
+ if (!fs20.existsSync(dir))
1632
1865
  return [];
1633
1866
  return getFilesRecursively(dir, dir).sort();
1634
1867
  }
1635
1868
  function discoverPluginSkills(pluginsPath, label) {
1636
1869
  const skills = [];
1637
- const pluginsDir = path17.join(pluginsPath, "plugins");
1638
- if (!fs17.existsSync(pluginsDir)) {
1870
+ const pluginsDir = path20.join(pluginsPath, "plugins");
1871
+ if (!fs20.existsSync(pluginsDir)) {
1639
1872
  return skills;
1640
1873
  }
1641
- const plugins = fs17.readdirSync(pluginsDir, { withFileTypes: true }).filter((d) => d.isDirectory());
1874
+ const plugins = fs20.readdirSync(pluginsDir, { withFileTypes: true }).filter((d) => d.isDirectory());
1642
1875
  for (const plugin of plugins) {
1643
- const skillsDir = path17.join(pluginsDir, plugin.name, "skills");
1644
- if (!fs17.existsSync(skillsDir))
1876
+ const skillsDir = path20.join(pluginsDir, plugin.name, "skills");
1877
+ if (!fs20.existsSync(skillsDir))
1645
1878
  continue;
1646
- const skillDirs = fs17.readdirSync(skillsDir, { withFileTypes: true }).filter((d) => d.isDirectory());
1879
+ const skillDirs = fs20.readdirSync(skillsDir, { withFileTypes: true }).filter((d) => d.isDirectory());
1647
1880
  for (const skillDir of skillDirs) {
1648
- const skillMdPath = path17.join(skillsDir, skillDir.name, "SKILL.md");
1649
- if (!fs17.existsSync(skillMdPath))
1881
+ const skillMdPath = path20.join(skillsDir, skillDir.name, "SKILL.md");
1882
+ if (!fs20.existsSync(skillMdPath))
1650
1883
  continue;
1651
1884
  try {
1652
- const content = fs17.readFileSync(skillMdPath, "utf-8");
1885
+ const content = fs20.readFileSync(skillMdPath, "utf-8");
1653
1886
  const frontmatter = parseSkillFrontmatter(content);
1654
1887
  if (!frontmatter)
1655
1888
  continue;
@@ -1668,16 +1901,16 @@ function discoverPluginSkills(pluginsPath, label) {
1668
1901
  }
1669
1902
  function discoverFlatSkills(skillsPath, source, label) {
1670
1903
  const skills = [];
1671
- if (!fs17.existsSync(skillsPath)) {
1904
+ if (!fs20.existsSync(skillsPath)) {
1672
1905
  return skills;
1673
1906
  }
1674
- const skillDirs = fs17.readdirSync(skillsPath, { withFileTypes: true }).filter((d) => d.isDirectory());
1907
+ const skillDirs = fs20.readdirSync(skillsPath, { withFileTypes: true }).filter((d) => d.isDirectory());
1675
1908
  for (const skillDir of skillDirs) {
1676
- const skillMdPath = path17.join(skillsPath, skillDir.name, "SKILL.md");
1677
- if (!fs17.existsSync(skillMdPath))
1909
+ const skillMdPath = path20.join(skillsPath, skillDir.name, "SKILL.md");
1910
+ if (!fs20.existsSync(skillMdPath))
1678
1911
  continue;
1679
1912
  try {
1680
- const content = fs17.readFileSync(skillMdPath, "utf-8");
1913
+ const content = fs20.readFileSync(skillMdPath, "utf-8");
1681
1914
  const frontmatter = parseSkillFrontmatter(content);
1682
1915
  if (!frontmatter)
1683
1916
  continue;
@@ -1800,7 +2033,7 @@ function getDefaultSkillSources(cwd, options = {}) {
1800
2033
  sources.push({
1801
2034
  type: "plugin",
1802
2035
  path: pluginPath,
1803
- label: path17.basename(pluginPath)
2036
+ label: path20.basename(pluginPath)
1804
2037
  });
1805
2038
  }
1806
2039
  if (includeEnabledPlugins) {
@@ -1808,7 +2041,7 @@ function getDefaultSkillSources(cwd, options = {}) {
1808
2041
  sources.push(...enabledPluginSources);
1809
2042
  }
1810
2043
  if (includeUser) {
1811
- const userSkillsPath = path17.join(os2.homedir(), ".claude", "skills");
2044
+ const userSkillsPath = path20.join(os2.homedir(), ".claude", "skills");
1812
2045
  sources.push({
1813
2046
  type: "user",
1814
2047
  path: userSkillsPath,
@@ -1816,7 +2049,7 @@ function getDefaultSkillSources(cwd, options = {}) {
1816
2049
  });
1817
2050
  }
1818
2051
  if (includeProject) {
1819
- const projectSkillsPath = path17.join(cwd, ".claude", "skills");
2052
+ const projectSkillsPath = path20.join(cwd, ".claude", "skills");
1820
2053
  sources.push({
1821
2054
  type: "project",
1822
2055
  path: projectSkillsPath,
@@ -1827,12 +2060,12 @@ function getDefaultSkillSources(cwd, options = {}) {
1827
2060
  }
1828
2061
  async function embedSkills(options) {
1829
2062
  const { cwd, sources, output = "AGENTS.md" } = options;
1830
- const targetPath = path17.join(cwd, output);
2063
+ const targetPath = path20.join(cwd, output);
1831
2064
  let sizeBefore = 0;
1832
2065
  let isNewFile = true;
1833
2066
  let existingContent = "";
1834
- if (fs17.existsSync(targetPath)) {
1835
- existingContent = fs17.readFileSync(targetPath, "utf-8");
2067
+ if (fs20.existsSync(targetPath)) {
2068
+ existingContent = fs20.readFileSync(targetPath, "utf-8");
1836
2069
  sizeBefore = Buffer.byteLength(existingContent, "utf-8");
1837
2070
  isNewFile = false;
1838
2071
  }
@@ -1855,7 +2088,7 @@ async function embedSkills(options) {
1855
2088
  regenerateCommand: `npx agdex skills embed`
1856
2089
  });
1857
2090
  const newContent = injectSkillsIndex(existingContent, indexContent);
1858
- fs17.writeFileSync(targetPath, newContent, "utf-8");
2091
+ fs20.writeFileSync(targetPath, newContent, "utf-8");
1859
2092
  const sizeAfter = Buffer.byteLength(newContent, "utf-8");
1860
2093
  return {
1861
2094
  success: true,
@@ -1869,24 +2102,24 @@ async function embedSkills(options) {
1869
2102
  }
1870
2103
 
1871
2104
  // src/lib/config.ts
1872
- import fs18 from "fs";
1873
- import path18 from "path";
2105
+ import fs21 from "fs";
2106
+ import path21 from "path";
1874
2107
  var DEFAULT_CONFIG = {
1875
2108
  output: "CLAUDE.md"
1876
2109
  };
1877
2110
  function loadConfig(cwd = process.cwd()) {
1878
- const rcPath = path18.join(cwd, ".agdexrc.json");
1879
- if (fs18.existsSync(rcPath)) {
2111
+ const rcPath = path21.join(cwd, ".agdexrc.json");
2112
+ if (fs21.existsSync(rcPath)) {
1880
2113
  try {
1881
- const content = fs18.readFileSync(rcPath, "utf-8");
2114
+ const content = fs21.readFileSync(rcPath, "utf-8");
1882
2115
  const config = JSON.parse(content);
1883
2116
  return { ...DEFAULT_CONFIG, ...config };
1884
2117
  } catch {}
1885
2118
  }
1886
- const packageJsonPath = path18.join(cwd, "package.json");
1887
- if (fs18.existsSync(packageJsonPath)) {
2119
+ const packageJsonPath = path21.join(cwd, "package.json");
2120
+ if (fs21.existsSync(packageJsonPath)) {
1888
2121
  try {
1889
- const content = fs18.readFileSync(packageJsonPath, "utf-8");
2122
+ const content = fs21.readFileSync(packageJsonPath, "utf-8");
1890
2123
  const packageJson = JSON.parse(content);
1891
2124
  if (packageJson.agdex && typeof packageJson.agdex === "object") {
1892
2125
  return { ...DEFAULT_CONFIG, ...packageJson.agdex };
@@ -1900,4 +2133,4 @@ function getDefaultOutput(cwd = process.cwd()) {
1900
2133
  return config.output || "AGENTS.md";
1901
2134
  }
1902
2135
 
1903
- export { __toESM, __commonJS, __require, pullDocs, collectDocFiles, buildDocTree, generateIndex, hasExistingIndex, removeDocsIndex, injectIndex, ensureGitignoreEntry, getGlobalCacheDir, getLocalCacheDir, embed, nextjsProvider, reactProvider, pixiProvider, rattlerBuildProvider, tauriProvider, condaForgeProvider, bunProvider, svelteProvider, tailwindProvider, ruffProvider, tyProvider, basedpyrightProvider, convexProvider, polarsProvider, deltaRsProvider, createProvider, createLocalProvider, getProvider, listProviders, isProviderAvailable, getEnabledPluginSources, parseSkillFrontmatter, discoverPluginSkills, discoverFlatSkills, collectAllSkills, generateSkillsIndex, hasExistingSkillsIndex, removeSkillsIndex, injectSkillsIndex, getDefaultSkillSources, embedSkills, loadConfig, getDefaultOutput };
2136
+ export { __toESM, __commonJS, __require, pullDocs, collectDocFiles, buildDocTree, generateIndex, hasExistingIndex, getEmbeddedProviders, removeDocsIndex, injectIndex, ensureGitignoreEntry, getGlobalCacheDir, getLocalCacheDir, embed, nextjsProvider, reactProvider, pixiProvider, rattlerBuildProvider, tauriProvider, condaForgeProvider, bunProvider, svelteProvider, tailwindProvider, ruffProvider, tyProvider, basedpyrightProvider, convexProvider, polarsProvider, deltaRsProvider, obsidianProvider, obsidianExcalidrawProvider, ffmpegProvider, manimProvider, createProvider, createLocalProvider, getProvider, listProviders, isProviderAvailable, getEnabledPluginSources, parseSkillFrontmatter, discoverPluginSkills, discoverFlatSkills, collectAllSkills, generateSkillsIndex, hasExistingSkillsIndex, removeSkillsIndex, injectSkillsIndex, getDefaultSkillSources, embedSkills, loadConfig, getDefaultOutput };
package/dist/index.d.ts CHANGED
@@ -35,7 +35,7 @@
35
35
  * })
36
36
  * ```
37
37
  */
38
- export { embed, pullDocs, collectDocFiles, buildDocTree, generateIndex, injectIndex, hasExistingIndex, removeDocsIndex, ensureGitignoreEntry, getGlobalCacheDir, getLocalCacheDir, } from './lib/agents-md';
38
+ export { embed, pullDocs, collectDocFiles, buildDocTree, generateIndex, injectIndex, hasExistingIndex, removeDocsIndex, getEmbeddedProviders, ensureGitignoreEntry, getGlobalCacheDir, getLocalCacheDir, } from './lib/agents-md';
39
39
  export { nextjsProvider, reactProvider, pixiProvider, rattlerBuildProvider, tauriProvider, condaForgeProvider, bunProvider, createProvider, createLocalProvider, getProvider, listProviders, isProviderAvailable, } from './lib/providers';
40
40
  export { embedSkills, collectAllSkills, parseSkillFrontmatter, discoverPluginSkills, discoverFlatSkills, generateSkillsIndex, injectSkillsIndex, hasExistingSkillsIndex, removeSkillsIndex, getDefaultSkillSources, getEnabledPluginSources, } from './lib/skills';
41
41
  export { loadConfig, getDefaultOutput } from './lib/config';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAGH,OAAO,EACL,KAAK,EACL,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,iBAAiB,CAAA;AAGxB,OAAO,EACL,cAAc,EACd,aAAa,EACb,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,mBAAmB,GACpB,MAAM,iBAAiB,CAAA;AAGxB,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,cAAc,CAAA;AAGrB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC3D,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAG/C,YAAY,EACV,WAAW,EACX,OAAO,EACP,UAAU,EACV,aAAa,EACb,UAAU,EACV,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,aAAa,CAAA;AAEpB,YAAY,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAGH,OAAO,EACL,KAAK,EACL,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,iBAAiB,CAAA;AAGxB,OAAO,EACL,cAAc,EACd,aAAa,EACb,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,mBAAmB,GACpB,MAAM,iBAAiB,CAAA;AAGxB,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,cAAc,CAAA;AAGrB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC3D,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAG/C,YAAY,EACV,WAAW,EACX,OAAO,EACP,UAAU,EACV,aAAa,EACb,UAAU,EACV,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,aAAa,CAAA;AAEpB,YAAY,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA"}
package/dist/index.js CHANGED
@@ -15,6 +15,7 @@ import {
15
15
  generateSkillsIndex,
16
16
  getDefaultOutput,
17
17
  getDefaultSkillSources,
18
+ getEmbeddedProviders,
18
19
  getEnabledPluginSources,
19
20
  getGlobalCacheDir,
20
21
  getLocalCacheDir,
@@ -35,7 +36,7 @@ import {
35
36
  removeDocsIndex,
36
37
  removeSkillsIndex,
37
38
  tauriProvider
38
- } from "./index-pkx4s2ef.js";
39
+ } from "./index-g5x6jpyb.js";
39
40
  export {
40
41
  tauriProvider,
41
42
  removeSkillsIndex,
@@ -57,6 +58,7 @@ export {
57
58
  getLocalCacheDir,
58
59
  getGlobalCacheDir,
59
60
  getEnabledPluginSources,
61
+ getEmbeddedProviders,
60
62
  getDefaultSkillSources,
61
63
  getDefaultOutput,
62
64
  generateSkillsIndex,
@@ -27,6 +27,11 @@ export declare function generateIndex(options: IndexOptions): string;
27
27
  * If no provider specified, checks for any index
28
28
  */
29
29
  export declare function hasExistingIndex(content: string, providerName?: string): boolean;
30
+ /**
31
+ * Get all embedded provider names from content
32
+ * Returns an array of provider name strings found in AGENTS-MD-EMBED-START markers
33
+ */
34
+ export declare function getEmbeddedProviders(content: string): string[];
30
35
  /**
31
36
  * Remove the docs index from content
32
37
  * If providerName specified, only removes that provider's index
@@ -1 +1 @@
1
- {"version":3,"file":"agents-md.d.ts","sourceRoot":"","sources":["../../src/lib/agents-md.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,WAAW,EACX,OAAO,EACP,UAAU,EACV,UAAU,EACV,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAA;AAkBhB;;GAEG;AACH,wBAAsB,QAAQ,CAC5B,QAAQ,EAAE,WAAW,EACrB,OAAO,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,OA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MAAM,CAkBxG;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,eAAe,CAuBlF;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED;;GAEG;AACH,wBAAsB,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,WAAW,CAAC,CAiIvE;AAGD,YAAY,EACV,WAAW,EACX,OAAO,EACP,UAAU,EACV,UAAU,EACV,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,WAAW,GACZ,MAAM,SAAS,CAAA"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * conda-forge cuda-feedstock documentation provider
3
+ */
4
+ import type { DocProvider } from '../types';
5
+ export declare const cudaFeedstockProvider: DocProvider;
6
+ //# sourceMappingURL=cuda-feedstock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cuda-feedstock.d.ts","sourceRoot":"","sources":["../../../src/lib/providers/cuda-feedstock.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAiB,MAAM,UAAU,CAAA;AAM1D,eAAO,MAAM,qBAAqB,EAAE,WAUnC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"generic.d.ts","sourceRoot":"","sources":["../../../src/lib/providers/generic.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAiB,MAAM,UAAU,CAAA;AAE1D,MAAM,WAAW,sBAAsB;IACrC,0CAA0C;IAC1C,IAAI,EAAE,MAAM,CAAA;IAEZ,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAA;IAEnB,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAA;IAEZ,gDAAgD;IAChD,QAAQ,EAAE,MAAM,CAAA;IAEhB,4DAA4D;IAC5D,U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