@afterxleep/doc-bot 1.23.1 → 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 (92) hide show
  1. package/README.md +53 -18
  2. package/bin/doc-bot.js +10 -4
  3. package/package.json +2 -3
  4. package/src/index.js +232 -501
  5. package/src/index.test.js +6 -6
  6. package/src/services/DocumentationService.js +10 -25
  7. package/src/services/InferenceEngine.js +1 -4
  8. package/src/services/__tests__/InferenceEngine.integration.test.js +3 -8
  9. package/src/services/__tests__/PaginationService.integration.test.js +20 -40
  10. package/src/services/docset/__tests__/DocsetDatabase.test.js +4 -5
  11. package/src/services/docset/__tests__/DocsetService.test.js +3 -4
  12. package/AGENT_INTEGRATION_RULE.txt +0 -79
  13. package/src/__tests__/temp-docs-1752689978225/test.md +0 -5
  14. package/src/__tests__/temp-docs-1752689978235/test.md +0 -5
  15. package/src/__tests__/temp-docs-1752689978241/test.md +0 -5
  16. package/src/__tests__/temp-docs-1752689978243/test.md +0 -5
  17. package/src/__tests__/temp-docs-1752689978244/test.md +0 -5
  18. package/src/__tests__/temp-docs-1756129972061/test.md +0 -5
  19. package/src/__tests__/temp-docs-1756129972071/test.md +0 -5
  20. package/src/__tests__/temp-docs-1756129972075/test.md +0 -5
  21. package/src/__tests__/temp-docs-1756129972077/test.md +0 -5
  22. package/src/__tests__/temp-docs-1756129972079/test.md +0 -5
  23. package/src/__tests__/temp-docs-1756130189361/test.md +0 -5
  24. package/src/__tests__/temp-docs-1756130189372/test.md +0 -5
  25. package/src/__tests__/temp-docs-1756130189375/test.md +0 -5
  26. package/src/__tests__/temp-docs-1756130189378/test.md +0 -5
  27. package/src/__tests__/temp-docs-1756130189379/test.md +0 -5
  28. package/src/__tests__/temp-docs-1756130271128/test.md +0 -5
  29. package/src/__tests__/temp-docs-1756130271139/test.md +0 -5
  30. package/src/__tests__/temp-docs-1756130271142/test.md +0 -5
  31. package/src/__tests__/temp-docs-1756130271145/test.md +0 -5
  32. package/src/__tests__/temp-docs-1756130271146/test.md +0 -5
  33. package/src/__tests__/temp-docs-1756130687030/test.md +0 -5
  34. package/src/__tests__/temp-docs-1756130687044/test.md +0 -5
  35. package/src/__tests__/temp-docs-1756130687048/test.md +0 -5
  36. package/src/__tests__/temp-docs-1756130687051/test.md +0 -5
  37. package/src/__tests__/temp-docs-1756130687053/test.md +0 -5
  38. package/src/__tests__/temp-docs-1756131694925/test.md +0 -5
  39. package/src/__tests__/temp-docs-1756131694937/test.md +0 -5
  40. package/src/__tests__/temp-docs-1756131694941/test.md +0 -5
  41. package/src/__tests__/temp-docs-1756131694944/test.md +0 -5
  42. package/src/__tests__/temp-docs-1756131694946/test.md +0 -5
  43. package/src/__tests__/temp-docs-1756133998710/test.md +0 -5
  44. package/src/__tests__/temp-docs-1756133998721/test.md +0 -5
  45. package/src/__tests__/temp-docs-1756133998724/test.md +0 -5
  46. package/src/__tests__/temp-docs-1756133998727/test.md +0 -5
  47. package/src/__tests__/temp-docs-1756133998729/test.md +0 -5
  48. package/src/__tests__/temp-docs-1756134345935/test.md +0 -5
  49. package/src/__tests__/temp-docs-1756134345948/test.md +0 -5
  50. package/src/__tests__/temp-docs-1756134345952/test.md +0 -5
  51. package/src/__tests__/temp-docs-1756134345954/test.md +0 -5
  52. package/src/__tests__/temp-docs-1756134345957/test.md +0 -5
  53. package/src/__tests__/temp-docsets-1752689978244/7e2cbc65/Mock.docset/Contents/Info.plist +0 -10
  54. package/src/__tests__/temp-docsets-1752689978244/7e2cbc65/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  55. package/src/__tests__/temp-docsets-1752689978244/Mock.docset/Contents/Info.plist +0 -10
  56. package/src/__tests__/temp-docsets-1752689978244/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  57. package/src/__tests__/temp-docsets-1752689978244/docsets.json +0 -10
  58. package/src/__tests__/temp-docsets-1756129972079/2e443167/Mock.docset/Contents/Info.plist +0 -10
  59. package/src/__tests__/temp-docsets-1756129972079/2e443167/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  60. package/src/__tests__/temp-docsets-1756129972079/Mock.docset/Contents/Info.plist +0 -10
  61. package/src/__tests__/temp-docsets-1756129972079/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  62. package/src/__tests__/temp-docsets-1756129972079/docsets.json +0 -10
  63. package/src/__tests__/temp-docsets-1756130189379/Mock.docset/Contents/Info.plist +0 -10
  64. package/src/__tests__/temp-docsets-1756130189379/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  65. package/src/__tests__/temp-docsets-1756130189379/a4934c14/Mock.docset/Contents/Info.plist +0 -10
  66. package/src/__tests__/temp-docsets-1756130189379/a4934c14/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  67. package/src/__tests__/temp-docsets-1756130189379/docsets.json +0 -10
  68. package/src/__tests__/temp-docsets-1756130271146/3f8acbb2/Mock.docset/Contents/Info.plist +0 -10
  69. package/src/__tests__/temp-docsets-1756130271146/3f8acbb2/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  70. package/src/__tests__/temp-docsets-1756130271146/Mock.docset/Contents/Info.plist +0 -10
  71. package/src/__tests__/temp-docsets-1756130271146/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  72. package/src/__tests__/temp-docsets-1756130271146/docsets.json +0 -10
  73. package/src/__tests__/temp-docsets-1756130687053/6810e6bd/Mock.docset/Contents/Info.plist +0 -10
  74. package/src/__tests__/temp-docsets-1756130687053/6810e6bd/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  75. package/src/__tests__/temp-docsets-1756130687053/Mock.docset/Contents/Info.plist +0 -10
  76. package/src/__tests__/temp-docsets-1756130687053/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  77. package/src/__tests__/temp-docsets-1756130687053/docsets.json +0 -10
  78. package/src/__tests__/temp-docsets-1756131694946/Mock.docset/Contents/Info.plist +0 -10
  79. package/src/__tests__/temp-docsets-1756131694946/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  80. package/src/__tests__/temp-docsets-1756131694946/dd703046/Mock.docset/Contents/Info.plist +0 -10
  81. package/src/__tests__/temp-docsets-1756131694946/dd703046/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  82. package/src/__tests__/temp-docsets-1756131694946/docsets.json +0 -10
  83. package/src/__tests__/temp-docsets-1756133998729/9e061136/Mock.docset/Contents/Info.plist +0 -10
  84. package/src/__tests__/temp-docsets-1756133998729/9e061136/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  85. package/src/__tests__/temp-docsets-1756133998729/Mock.docset/Contents/Info.plist +0 -10
  86. package/src/__tests__/temp-docsets-1756133998729/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  87. package/src/__tests__/temp-docsets-1756133998729/docsets.json +0 -10
  88. package/src/__tests__/temp-docsets-1756134345957/03e730af/Mock.docset/Contents/Info.plist +0 -10
  89. package/src/__tests__/temp-docsets-1756134345957/03e730af/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  90. package/src/__tests__/temp-docsets-1756134345957/Mock.docset/Contents/Info.plist +0 -10
  91. package/src/__tests__/temp-docsets-1756134345957/Mock.docset/Contents/Resources/docSet.dsidx +0 -0
  92. package/src/__tests__/temp-docsets-1756134345957/docsets.json +0 -10
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,5 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- title: Test Doc
4
- ---
5
- # Test
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- [
2
- {
3
- "id": "7e2cbc65",
4
- "name": "Mock Documentation",
5
- "source": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1752689978244/Mock.docset",
6
- "path": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1752689978244/7e2cbc65/Mock.docset",
7
- "downloadedAt": "2025-07-16T18:19:38.250Z",
8
- "size": 8513
9
- }
10
- ]
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- [
2
- {
3
- "id": "2e443167",
4
- "name": "Mock Documentation",
5
- "source": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756129972079/Mock.docset",
6
- "path": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756129972079/2e443167/Mock.docset",
7
- "downloadedAt": "2025-08-25T13:52:52.088Z",
8
- "size": 8513
9
- }
10
- ]
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- [
2
- {
3
- "id": "a4934c14",
4
- "name": "Mock Documentation",
5
- "source": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756130189379/Mock.docset",
6
- "path": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756130189379/a4934c14/Mock.docset",
7
- "downloadedAt": "2025-08-25T13:56:29.388Z",
8
- "size": 8513
9
- }
10
- ]
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- [
2
- {
3
- "id": "3f8acbb2",
4
- "name": "Mock Documentation",
5
- "source": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756130271146/Mock.docset",
6
- "path": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756130271146/3f8acbb2/Mock.docset",
7
- "downloadedAt": "2025-08-25T13:57:51.155Z",
8
- "size": 8513
9
- }
10
- ]
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- [
2
- {
3
- "id": "6810e6bd",
4
- "name": "Mock Documentation",
5
- "source": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756130687053/Mock.docset",
6
- "path": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756130687053/6810e6bd/Mock.docset",
7
- "downloadedAt": "2025-08-25T14:04:47.063Z",
8
- "size": 8513
9
- }
10
- ]
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- [
2
- {
3
- "id": "dd703046",
4
- "name": "Mock Documentation",
5
- "source": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756131694946/Mock.docset",
6
- "path": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756131694946/dd703046/Mock.docset",
7
- "downloadedAt": "2025-08-25T14:21:34.958Z",
8
- "size": 8513
9
- }
10
- ]
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- [
2
- {
3
- "id": "9e061136",
4
- "name": "Mock Documentation",
5
- "source": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756133998729/Mock.docset",
6
- "path": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756133998729/9e061136/Mock.docset",
7
- "downloadedAt": "2025-08-25T14:59:58.738Z",
8
- "size": 8513
9
- }
10
- ]
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>Mock Documentation</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>mock.documentation</string>
9
- </dict>
10
- </plist>
@@ -1,10 +0,0 @@
1
- [
2
- {
3
- "id": "03e730af",
4
- "name": "Mock Documentation",
5
- "source": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756134345957/Mock.docset",
6
- "path": "/Users/afterxleep/Developer/doc-bot/src/__tests__/temp-docsets-1756134345957/03e730af/Mock.docset",
7
- "downloadedAt": "2025-08-25T15:05:45.967Z",
8
- "size": 8513
9
- }
10
- ]