@gabrywu/knowledge-bank 0.1.2-alpha.276 → 0.1.2-alpha.312

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 (724) hide show
  1. package/README.md +84 -0
  2. package/dist/claude-marketplace/.claude-plugin/marketplace.json +2 -2
  3. package/dist/claude-marketplace/core/.claude-plugin/plugin.json +1 -1
  4. package/dist/claude-marketplace/core/hooks/hooks.json +72 -0
  5. package/dist/claude-marketplace/core/skills/knowledge.add/SKILL.md +27 -7
  6. package/dist/claude-marketplace/core/skills/knowledge.collect/SKILL.md +60 -19
  7. package/dist/claude-marketplace/core/skills/knowledge.delete/SKILL.md +53 -7
  8. package/dist/claude-marketplace/core/skills/knowledge.detect/SKILL.md +42 -10
  9. package/dist/claude-marketplace/core/skills/knowledge.enhance/SKILL.md +35 -7
  10. package/dist/claude-marketplace/core/skills/knowledge.import/SKILL.md +65 -7
  11. package/dist/claude-marketplace/core/skills/knowledge.init/SKILL.md +82 -7
  12. package/dist/claude-marketplace/core/skills/knowledge.merge/SKILL.md +319 -0
  13. package/dist/claude-marketplace/core/skills/knowledge.save/SKILL.md +103 -6
  14. package/dist/claude-marketplace/core/skills/knowledge.status/SKILL.md +73 -6
  15. package/dist/claude-marketplace/core/skills/knowledge.update/SKILL.md +90 -6
  16. package/dist/cli.js +5 -5
  17. package/dist/mcp-server.js +3 -3
  18. package/node_modules/@modelcontextprotocol/sdk/README.md +1 -0
  19. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts +12 -0
  20. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts.map +1 -1
  21. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.js +6 -3
  22. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.js.map +1 -1
  23. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts +79 -1
  24. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts.map +1 -1
  25. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js +93 -16
  26. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js.map +1 -1
  27. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.js +3 -15
  28. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.js.map +1 -1
  29. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.js +1 -17
  30. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.js.map +1 -1
  31. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.js +62 -23
  32. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.js.map +1 -1
  33. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.js +273 -244
  34. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.js.map +1 -1
  35. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.js +31 -27
  36. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.js.map +1 -1
  37. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.d.ts +12 -0
  38. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.d.ts.map +1 -0
  39. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.js +49 -0
  40. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.js.map +1 -0
  41. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.js +89 -0
  42. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.js.map +1 -1
  43. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.js +58 -53
  44. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.js.map +1 -1
  45. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js +33 -21
  46. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js.map +1 -1
  47. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts +88 -1
  48. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts.map +1 -1
  49. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.js +157 -0
  50. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.js.map +1 -1
  51. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.d.ts.map +1 -1
  52. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.js +8 -1
  53. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.js.map +1 -1
  54. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts +1 -0
  55. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts.map +1 -1
  56. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js +29 -3
  57. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js.map +1 -1
  58. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.d.ts.map +1 -1
  59. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js +13 -0
  60. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js.map +1 -1
  61. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts +4 -0
  62. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts.map +1 -1
  63. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts +12 -0
  64. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts.map +1 -1
  65. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.js +6 -3
  66. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.js.map +1 -1
  67. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts +79 -1
  68. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts.map +1 -1
  69. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js +92 -16
  70. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js.map +1 -1
  71. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.js +3 -15
  72. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.js.map +1 -1
  73. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.js +1 -17
  74. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.js.map +1 -1
  75. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.js +62 -23
  76. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.js.map +1 -1
  77. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.js +273 -244
  78. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.js.map +1 -1
  79. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.js +31 -27
  80. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.js.map +1 -1
  81. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.d.ts +12 -0
  82. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.d.ts.map +1 -0
  83. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.js +47 -0
  84. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.js.map +1 -0
  85. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.js +89 -0
  86. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.js.map +1 -1
  87. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.js +58 -53
  88. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.js.map +1 -1
  89. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js +33 -21
  90. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js.map +1 -1
  91. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts +88 -1
  92. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts.map +1 -1
  93. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js +157 -0
  94. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js.map +1 -1
  95. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.d.ts.map +1 -1
  96. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js +8 -1
  97. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js.map +1 -1
  98. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts +1 -0
  99. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts.map +1 -1
  100. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js +29 -3
  101. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js.map +1 -1
  102. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts.map +1 -1
  103. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +13 -0
  104. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +1 -1
  105. package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts +4 -0
  106. package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts.map +1 -1
  107. package/node_modules/@modelcontextprotocol/sdk/package.json +16 -6
  108. package/node_modules/express-rate-limit/dist/index.cjs +334 -198
  109. package/node_modules/express-rate-limit/dist/index.d.cts +74 -20
  110. package/node_modules/express-rate-limit/dist/index.d.mts +74 -20
  111. package/node_modules/express-rate-limit/dist/index.d.ts +74 -20
  112. package/node_modules/express-rate-limit/dist/index.mjs +330 -195
  113. package/node_modules/express-rate-limit/package.json +32 -53
  114. package/node_modules/express-rate-limit/readme.md +5 -1
  115. package/node_modules/hono/LICENSE +21 -0
  116. package/node_modules/hono/README.md +85 -0
  117. package/node_modules/hono/dist/adapter/aws-lambda/handler.js +366 -0
  118. package/node_modules/hono/dist/adapter/aws-lambda/index.js +7 -0
  119. package/node_modules/hono/dist/adapter/aws-lambda/types.js +0 -0
  120. package/node_modules/hono/dist/adapter/bun/conninfo.js +27 -0
  121. package/node_modules/hono/dist/adapter/bun/index.js +14 -0
  122. package/node_modules/hono/dist/adapter/bun/serve-static.js +30 -0
  123. package/node_modules/hono/dist/adapter/bun/server.js +5 -0
  124. package/node_modules/hono/dist/adapter/bun/ssg.js +17 -0
  125. package/node_modules/hono/dist/adapter/bun/websocket.js +71 -0
  126. package/node_modules/hono/dist/adapter/cloudflare-pages/handler.js +67 -0
  127. package/node_modules/hono/dist/adapter/cloudflare-pages/index.js +7 -0
  128. package/node_modules/hono/dist/adapter/cloudflare-workers/conninfo.js +9 -0
  129. package/node_modules/hono/dist/adapter/cloudflare-workers/index.js +9 -0
  130. package/node_modules/hono/dist/adapter/cloudflare-workers/serve-static-module.js +8 -0
  131. package/node_modules/hono/dist/adapter/cloudflare-workers/serve-static.js +22 -0
  132. package/node_modules/hono/dist/adapter/cloudflare-workers/utils.js +35 -0
  133. package/node_modules/hono/dist/adapter/cloudflare-workers/websocket.js +41 -0
  134. package/node_modules/hono/dist/adapter/deno/conninfo.js +14 -0
  135. package/node_modules/hono/dist/adapter/deno/deno.d.js +0 -0
  136. package/node_modules/hono/dist/adapter/deno/index.js +12 -0
  137. package/node_modules/hono/dist/adapter/deno/serve-static.js +40 -0
  138. package/node_modules/hono/dist/adapter/deno/ssg.js +18 -0
  139. package/node_modules/hono/dist/adapter/deno/websocket.js +28 -0
  140. package/node_modules/hono/dist/adapter/lambda-edge/conninfo.js +9 -0
  141. package/node_modules/hono/dist/adapter/lambda-edge/handler.js +79 -0
  142. package/node_modules/hono/dist/adapter/lambda-edge/index.js +7 -0
  143. package/node_modules/hono/dist/adapter/netlify/handler.js +9 -0
  144. package/node_modules/hono/dist/adapter/netlify/index.js +2 -0
  145. package/node_modules/hono/dist/adapter/netlify/mod.js +5 -0
  146. package/node_modules/hono/dist/adapter/service-worker/handler.js +20 -0
  147. package/node_modules/hono/dist/adapter/service-worker/index.js +11 -0
  148. package/node_modules/hono/dist/adapter/service-worker/types.js +0 -0
  149. package/node_modules/hono/dist/adapter/vercel/conninfo.js +10 -0
  150. package/node_modules/hono/dist/adapter/vercel/handler.js +7 -0
  151. package/node_modules/hono/dist/adapter/vercel/index.js +7 -0
  152. package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +398 -0
  153. package/node_modules/hono/dist/cjs/adapter/aws-lambda/index.js +32 -0
  154. package/node_modules/hono/dist/cjs/adapter/aws-lambda/types.js +16 -0
  155. package/node_modules/hono/dist/cjs/adapter/bun/conninfo.js +50 -0
  156. package/node_modules/hono/dist/cjs/adapter/bun/index.js +43 -0
  157. package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +53 -0
  158. package/node_modules/hono/dist/cjs/adapter/bun/server.js +28 -0
  159. package/node_modules/hono/dist/cjs/adapter/bun/ssg.js +41 -0
  160. package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +97 -0
  161. package/node_modules/hono/dist/cjs/adapter/cloudflare-pages/handler.js +92 -0
  162. package/node_modules/hono/dist/cjs/adapter/cloudflare-pages/index.js +32 -0
  163. package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/conninfo.js +32 -0
  164. package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/index.js +34 -0
  165. package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static-module.js +31 -0
  166. package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static.js +45 -0
  167. package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/utils.js +58 -0
  168. package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/websocket.js +64 -0
  169. package/node_modules/hono/dist/cjs/adapter/deno/conninfo.js +37 -0
  170. package/node_modules/hono/dist/cjs/adapter/deno/deno.d.js +1 -0
  171. package/node_modules/hono/dist/cjs/adapter/deno/index.js +39 -0
  172. package/node_modules/hono/dist/cjs/adapter/deno/serve-static.js +63 -0
  173. package/node_modules/hono/dist/cjs/adapter/deno/ssg.js +42 -0
  174. package/node_modules/hono/dist/cjs/adapter/deno/websocket.js +51 -0
  175. package/node_modules/hono/dist/cjs/adapter/lambda-edge/conninfo.js +32 -0
  176. package/node_modules/hono/dist/cjs/adapter/lambda-edge/handler.js +114 -0
  177. package/node_modules/hono/dist/cjs/adapter/lambda-edge/index.js +31 -0
  178. package/node_modules/hono/dist/cjs/adapter/netlify/handler.js +32 -0
  179. package/node_modules/hono/dist/cjs/adapter/netlify/index.js +22 -0
  180. package/node_modules/hono/dist/cjs/adapter/netlify/mod.js +28 -0
  181. package/node_modules/hono/dist/cjs/adapter/service-worker/handler.js +43 -0
  182. package/node_modules/hono/dist/cjs/adapter/service-worker/index.js +35 -0
  183. package/node_modules/hono/dist/cjs/adapter/service-worker/types.js +16 -0
  184. package/node_modules/hono/dist/cjs/adapter/vercel/conninfo.js +33 -0
  185. package/node_modules/hono/dist/cjs/adapter/vercel/handler.js +30 -0
  186. package/node_modules/hono/dist/cjs/adapter/vercel/index.js +31 -0
  187. package/node_modules/hono/dist/cjs/client/client.js +190 -0
  188. package/node_modules/hono/dist/cjs/client/fetch-result-please.js +86 -0
  189. package/node_modules/hono/dist/cjs/client/index.js +33 -0
  190. package/node_modules/hono/dist/cjs/client/types.js +16 -0
  191. package/node_modules/hono/dist/cjs/client/utils.js +106 -0
  192. package/node_modules/hono/dist/cjs/compose.js +69 -0
  193. package/node_modules/hono/dist/cjs/context.js +435 -0
  194. package/node_modules/hono/dist/cjs/helper/accepts/accepts.js +44 -0
  195. package/node_modules/hono/dist/cjs/helper/accepts/index.js +28 -0
  196. package/node_modules/hono/dist/cjs/helper/adapter/index.js +82 -0
  197. package/node_modules/hono/dist/cjs/helper/conninfo/index.js +16 -0
  198. package/node_modules/hono/dist/cjs/helper/conninfo/types.js +16 -0
  199. package/node_modules/hono/dist/cjs/helper/cookie/index.js +131 -0
  200. package/node_modules/hono/dist/cjs/helper/css/common.js +223 -0
  201. package/node_modules/hono/dist/cjs/helper/css/index.js +143 -0
  202. package/node_modules/hono/dist/cjs/helper/dev/index.js +80 -0
  203. package/node_modules/hono/dist/cjs/helper/factory/index.js +55 -0
  204. package/node_modules/hono/dist/cjs/helper/html/index.js +65 -0
  205. package/node_modules/hono/dist/cjs/helper/proxy/index.js +112 -0
  206. package/node_modules/hono/dist/cjs/helper/route/index.js +72 -0
  207. package/node_modules/hono/dist/cjs/helper/ssg/index.js +39 -0
  208. package/node_modules/hono/dist/cjs/helper/ssg/middleware.js +74 -0
  209. package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +326 -0
  210. package/node_modules/hono/dist/cjs/helper/ssg/utils.js +85 -0
  211. package/node_modules/hono/dist/cjs/helper/streaming/index.js +36 -0
  212. package/node_modules/hono/dist/cjs/helper/streaming/sse.js +86 -0
  213. package/node_modules/hono/dist/cjs/helper/streaming/stream.js +57 -0
  214. package/node_modules/hono/dist/cjs/helper/streaming/text.js +35 -0
  215. package/node_modules/hono/dist/cjs/helper/streaming/utils.js +36 -0
  216. package/node_modules/hono/dist/cjs/helper/testing/index.js +34 -0
  217. package/node_modules/hono/dist/cjs/helper/websocket/index.js +82 -0
  218. package/node_modules/hono/dist/cjs/hono-base.js +401 -0
  219. package/node_modules/hono/dist/cjs/hono.js +44 -0
  220. package/node_modules/hono/dist/cjs/http-exception.js +58 -0
  221. package/node_modules/hono/dist/cjs/index.js +28 -0
  222. package/node_modules/hono/dist/cjs/jsx/base.js +375 -0
  223. package/node_modules/hono/dist/cjs/jsx/children.js +45 -0
  224. package/node_modules/hono/dist/cjs/jsx/components.js +176 -0
  225. package/node_modules/hono/dist/cjs/jsx/constants.js +43 -0
  226. package/node_modules/hono/dist/cjs/jsx/context.js +61 -0
  227. package/node_modules/hono/dist/cjs/jsx/dom/client.js +77 -0
  228. package/node_modules/hono/dist/cjs/jsx/dom/components.js +56 -0
  229. package/node_modules/hono/dist/cjs/jsx/dom/context.js +72 -0
  230. package/node_modules/hono/dist/cjs/jsx/dom/css.js +162 -0
  231. package/node_modules/hono/dist/cjs/jsx/dom/hooks/index.js +75 -0
  232. package/node_modules/hono/dist/cjs/jsx/dom/index.js +182 -0
  233. package/node_modules/hono/dist/cjs/jsx/dom/intrinsic-element/components.js +369 -0
  234. package/node_modules/hono/dist/cjs/jsx/dom/jsx-dev-runtime.js +53 -0
  235. package/node_modules/hono/dist/cjs/jsx/dom/jsx-runtime.js +33 -0
  236. package/node_modules/hono/dist/cjs/jsx/dom/render.js +622 -0
  237. package/node_modules/hono/dist/cjs/jsx/dom/server.js +68 -0
  238. package/node_modules/hono/dist/cjs/jsx/dom/utils.js +33 -0
  239. package/node_modules/hono/dist/cjs/jsx/hooks/index.js +371 -0
  240. package/node_modules/hono/dist/cjs/jsx/index.js +139 -0
  241. package/node_modules/hono/dist/cjs/jsx/intrinsic-element/common.js +40 -0
  242. package/node_modules/hono/dist/cjs/jsx/intrinsic-element/components.js +183 -0
  243. package/node_modules/hono/dist/cjs/jsx/intrinsic-elements.js +16 -0
  244. package/node_modules/hono/dist/cjs/jsx/jsx-dev-runtime.js +42 -0
  245. package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +69 -0
  246. package/node_modules/hono/dist/cjs/jsx/streaming.js +168 -0
  247. package/node_modules/hono/dist/cjs/jsx/types.js +16 -0
  248. package/node_modules/hono/dist/cjs/jsx/utils.js +51 -0
  249. package/node_modules/hono/dist/cjs/middleware/basic-auth/index.js +83 -0
  250. package/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +106 -0
  251. package/node_modules/hono/dist/cjs/middleware/body-limit/index.js +85 -0
  252. package/node_modules/hono/dist/cjs/middleware/cache/index.js +102 -0
  253. package/node_modules/hono/dist/cjs/middleware/combine/index.js +102 -0
  254. package/node_modules/hono/dist/cjs/middleware/compress/index.js +62 -0
  255. package/node_modules/hono/dist/cjs/middleware/context-storage/index.js +48 -0
  256. package/node_modules/hono/dist/cjs/middleware/cors/index.js +110 -0
  257. package/node_modules/hono/dist/cjs/middleware/csrf/index.js +78 -0
  258. package/node_modules/hono/dist/cjs/middleware/etag/digest.js +56 -0
  259. package/node_modules/hono/dist/cjs/middleware/etag/index.js +96 -0
  260. package/node_modules/hono/dist/cjs/middleware/ip-restriction/index.js +125 -0
  261. package/node_modules/hono/dist/cjs/middleware/jsx-renderer/index.js +82 -0
  262. package/node_modules/hono/dist/cjs/middleware/jwk/index.js +28 -0
  263. package/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +135 -0
  264. package/node_modules/hono/dist/cjs/middleware/jwt/index.js +39 -0
  265. package/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +141 -0
  266. package/node_modules/hono/dist/cjs/middleware/language/index.js +36 -0
  267. package/node_modules/hono/dist/cjs/middleware/language/language.js +211 -0
  268. package/node_modules/hono/dist/cjs/middleware/logger/index.js +73 -0
  269. package/node_modules/hono/dist/cjs/middleware/method-override/index.js +105 -0
  270. package/node_modules/hono/dist/cjs/middleware/powered-by/index.js +33 -0
  271. package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +38 -0
  272. package/node_modules/hono/dist/cjs/middleware/request-id/index.js +28 -0
  273. package/node_modules/hono/dist/cjs/middleware/request-id/request-id.js +44 -0
  274. package/node_modules/hono/dist/cjs/middleware/secure-headers/index.js +30 -0
  275. package/node_modules/hono/dist/cjs/middleware/secure-headers/permissions-policy.js +16 -0
  276. package/node_modules/hono/dist/cjs/middleware/secure-headers/secure-headers.js +190 -0
  277. package/node_modules/hono/dist/cjs/middleware/serve-static/index.js +99 -0
  278. package/node_modules/hono/dist/cjs/middleware/serve-static/path.js +41 -0
  279. package/node_modules/hono/dist/cjs/middleware/timeout/index.js +48 -0
  280. package/node_modules/hono/dist/cjs/middleware/timing/index.js +36 -0
  281. package/node_modules/hono/dist/cjs/middleware/timing/timing.js +129 -0
  282. package/node_modules/hono/dist/cjs/middleware/trailing-slash/index.js +49 -0
  283. package/node_modules/hono/dist/cjs/package.json +3 -0
  284. package/node_modules/hono/dist/cjs/preset/quick.js +39 -0
  285. package/node_modules/hono/dist/cjs/preset/tiny.js +35 -0
  286. package/node_modules/hono/dist/cjs/request/constants.js +28 -0
  287. package/node_modules/hono/dist/cjs/request.js +325 -0
  288. package/node_modules/hono/dist/cjs/router/linear-router/index.js +28 -0
  289. package/node_modules/hono/dist/cjs/router/linear-router/router.js +141 -0
  290. package/node_modules/hono/dist/cjs/router/pattern-router/index.js +28 -0
  291. package/node_modules/hono/dist/cjs/router/pattern-router/router.js +71 -0
  292. package/node_modules/hono/dist/cjs/router/reg-exp-router/index.js +35 -0
  293. package/node_modules/hono/dist/cjs/router/reg-exp-router/matcher.js +49 -0
  294. package/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +135 -0
  295. package/node_modules/hono/dist/cjs/router/reg-exp-router/prepared-router.js +167 -0
  296. package/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +209 -0
  297. package/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +82 -0
  298. package/node_modules/hono/dist/cjs/router/smart-router/index.js +28 -0
  299. package/node_modules/hono/dist/cjs/router/smart-router/router.js +81 -0
  300. package/node_modules/hono/dist/cjs/router/trie-router/index.js +28 -0
  301. package/node_modules/hono/dist/cjs/router/trie-router/node.js +185 -0
  302. package/node_modules/hono/dist/cjs/router/trie-router/router.js +49 -0
  303. package/node_modules/hono/dist/cjs/router.js +41 -0
  304. package/node_modules/hono/dist/cjs/types.js +29 -0
  305. package/node_modules/hono/dist/cjs/utils/accept.js +86 -0
  306. package/node_modules/hono/dist/cjs/utils/basic-auth.js +46 -0
  307. package/node_modules/hono/dist/cjs/utils/body.js +95 -0
  308. package/node_modules/hono/dist/cjs/utils/buffer.js +76 -0
  309. package/node_modules/hono/dist/cjs/utils/color.js +49 -0
  310. package/node_modules/hono/dist/cjs/utils/compress.js +28 -0
  311. package/node_modules/hono/dist/cjs/utils/concurrent.js +62 -0
  312. package/node_modules/hono/dist/cjs/utils/constants.js +28 -0
  313. package/node_modules/hono/dist/cjs/utils/cookie.js +173 -0
  314. package/node_modules/hono/dist/cjs/utils/crypto.js +70 -0
  315. package/node_modules/hono/dist/cjs/utils/encode.js +55 -0
  316. package/node_modules/hono/dist/cjs/utils/filepath.js +59 -0
  317. package/node_modules/hono/dist/cjs/utils/handler.js +37 -0
  318. package/node_modules/hono/dist/cjs/utils/headers.js +16 -0
  319. package/node_modules/hono/dist/cjs/utils/html.js +151 -0
  320. package/node_modules/hono/dist/cjs/utils/http-status.js +16 -0
  321. package/node_modules/hono/dist/cjs/utils/ipaddr.js +129 -0
  322. package/node_modules/hono/dist/cjs/utils/jwt/index.js +29 -0
  323. package/node_modules/hono/dist/cjs/utils/jwt/jwa.js +43 -0
  324. package/node_modules/hono/dist/cjs/utils/jwt/jws.js +216 -0
  325. package/node_modules/hono/dist/cjs/utils/jwt/jwt.js +210 -0
  326. package/node_modules/hono/dist/cjs/utils/jwt/types.js +162 -0
  327. package/node_modules/hono/dist/cjs/utils/jwt/utf8.js +31 -0
  328. package/node_modules/hono/dist/cjs/utils/mime.js +109 -0
  329. package/node_modules/hono/dist/cjs/utils/stream.js +102 -0
  330. package/node_modules/hono/dist/cjs/utils/types.js +16 -0
  331. package/node_modules/hono/dist/cjs/utils/url.js +253 -0
  332. package/node_modules/hono/dist/cjs/validator/index.js +28 -0
  333. package/node_modules/hono/dist/cjs/validator/utils.js +16 -0
  334. package/node_modules/hono/dist/cjs/validator/validator.js +109 -0
  335. package/node_modules/hono/dist/client/client.js +174 -0
  336. package/node_modules/hono/dist/client/fetch-result-please.js +62 -0
  337. package/node_modules/hono/dist/client/index.js +8 -0
  338. package/node_modules/hono/dist/client/types.js +0 -0
  339. package/node_modules/hono/dist/client/utils.js +76 -0
  340. package/node_modules/hono/dist/compose.js +46 -0
  341. package/node_modules/hono/dist/context.js +411 -0
  342. package/node_modules/hono/dist/helper/accepts/accepts.js +20 -0
  343. package/node_modules/hono/dist/helper/accepts/index.js +5 -0
  344. package/node_modules/hono/dist/helper/adapter/index.js +56 -0
  345. package/node_modules/hono/dist/helper/conninfo/index.js +0 -0
  346. package/node_modules/hono/dist/helper/conninfo/types.js +0 -0
  347. package/node_modules/hono/dist/helper/cookie/index.js +102 -0
  348. package/node_modules/hono/dist/helper/css/common.js +185 -0
  349. package/node_modules/hono/dist/helper/css/index.js +125 -0
  350. package/node_modules/hono/dist/helper/dev/index.js +55 -0
  351. package/node_modules/hono/dist/helper/factory/index.js +30 -0
  352. package/node_modules/hono/dist/helper/html/index.js +41 -0
  353. package/node_modules/hono/dist/helper/proxy/index.js +89 -0
  354. package/node_modules/hono/dist/helper/route/index.js +46 -0
  355. package/node_modules/hono/dist/helper/ssg/index.js +16 -0
  356. package/node_modules/hono/dist/helper/ssg/middleware.js +45 -0
  357. package/node_modules/hono/dist/helper/ssg/ssg.js +295 -0
  358. package/node_modules/hono/dist/helper/ssg/utils.js +59 -0
  359. package/node_modules/hono/dist/helper/streaming/index.js +10 -0
  360. package/node_modules/hono/dist/helper/streaming/sse.js +62 -0
  361. package/node_modules/hono/dist/helper/streaming/stream.js +34 -0
  362. package/node_modules/hono/dist/helper/streaming/text.js +12 -0
  363. package/node_modules/hono/dist/helper/streaming/utils.js +13 -0
  364. package/node_modules/hono/dist/helper/testing/index.js +11 -0
  365. package/node_modules/hono/dist/helper/websocket/index.js +57 -0
  366. package/node_modules/hono/dist/hono-base.js +378 -0
  367. package/node_modules/hono/dist/hono.js +21 -0
  368. package/node_modules/hono/dist/http-exception.js +35 -0
  369. package/node_modules/hono/dist/index.js +5 -0
  370. package/node_modules/hono/dist/jsx/base.js +331 -0
  371. package/node_modules/hono/dist/jsx/children.js +21 -0
  372. package/node_modules/hono/dist/jsx/components.js +152 -0
  373. package/node_modules/hono/dist/jsx/constants.js +15 -0
  374. package/node_modules/hono/dist/jsx/context.js +36 -0
  375. package/node_modules/hono/dist/jsx/dom/client.js +53 -0
  376. package/node_modules/hono/dist/jsx/dom/components.js +32 -0
  377. package/node_modules/hono/dist/jsx/dom/context.js +48 -0
  378. package/node_modules/hono/dist/jsx/dom/css.js +143 -0
  379. package/node_modules/hono/dist/jsx/dom/hooks/index.js +48 -0
  380. package/node_modules/hono/dist/jsx/dom/index.js +142 -0
  381. package/node_modules/hono/dist/jsx/dom/intrinsic-element/components.js +337 -0
  382. package/node_modules/hono/dist/jsx/dom/jsx-dev-runtime.js +19 -0
  383. package/node_modules/hono/dist/jsx/dom/jsx-runtime.js +8 -0
  384. package/node_modules/hono/dist/jsx/dom/render.js +597 -0
  385. package/node_modules/hono/dist/jsx/dom/server.js +33 -0
  386. package/node_modules/hono/dist/jsx/dom/utils.js +10 -0
  387. package/node_modules/hono/dist/jsx/hooks/index.js +328 -0
  388. package/node_modules/hono/dist/jsx/index.js +103 -0
  389. package/node_modules/hono/dist/jsx/intrinsic-element/common.js +15 -0
  390. package/node_modules/hono/dist/jsx/intrinsic-element/components.js +153 -0
  391. package/node_modules/hono/dist/jsx/intrinsic-elements.js +0 -0
  392. package/node_modules/hono/dist/jsx/jsx-dev-runtime.js +18 -0
  393. package/node_modules/hono/dist/jsx/jsx-runtime.js +41 -0
  394. package/node_modules/hono/dist/jsx/streaming.js +143 -0
  395. package/node_modules/hono/dist/jsx/types.js +0 -0
  396. package/node_modules/hono/dist/jsx/utils.js +27 -0
  397. package/node_modules/hono/dist/middleware/basic-auth/index.js +60 -0
  398. package/node_modules/hono/dist/middleware/bearer-auth/index.js +83 -0
  399. package/node_modules/hono/dist/middleware/body-limit/index.js +62 -0
  400. package/node_modules/hono/dist/middleware/cache/index.js +79 -0
  401. package/node_modules/hono/dist/middleware/combine/index.js +77 -0
  402. package/node_modules/hono/dist/middleware/compress/index.js +39 -0
  403. package/node_modules/hono/dist/middleware/context-storage/index.js +23 -0
  404. package/node_modules/hono/dist/middleware/cors/index.js +87 -0
  405. package/node_modules/hono/dist/middleware/csrf/index.js +55 -0
  406. package/node_modules/hono/dist/middleware/etag/digest.js +33 -0
  407. package/node_modules/hono/dist/middleware/etag/index.js +72 -0
  408. package/node_modules/hono/dist/middleware/ip-restriction/index.js +107 -0
  409. package/node_modules/hono/dist/middleware/jsx-renderer/index.js +57 -0
  410. package/node_modules/hono/dist/middleware/jwk/index.js +5 -0
  411. package/node_modules/hono/dist/middleware/jwk/jwk.js +112 -0
  412. package/node_modules/hono/dist/middleware/jwt/index.js +11 -0
  413. package/node_modules/hono/dist/middleware/jwt/jwt.js +114 -0
  414. package/node_modules/hono/dist/middleware/language/index.js +15 -0
  415. package/node_modules/hono/dist/middleware/language/language.js +179 -0
  416. package/node_modules/hono/dist/middleware/logger/index.js +44 -0
  417. package/node_modules/hono/dist/middleware/method-override/index.js +82 -0
  418. package/node_modules/hono/dist/middleware/powered-by/index.js +10 -0
  419. package/node_modules/hono/dist/middleware/pretty-json/index.js +15 -0
  420. package/node_modules/hono/dist/middleware/request-id/index.js +5 -0
  421. package/node_modules/hono/dist/middleware/request-id/request-id.js +21 -0
  422. package/node_modules/hono/dist/middleware/secure-headers/index.js +6 -0
  423. package/node_modules/hono/dist/middleware/secure-headers/permissions-policy.js +0 -0
  424. package/node_modules/hono/dist/middleware/secure-headers/secure-headers.js +166 -0
  425. package/node_modules/hono/dist/middleware/serve-static/index.js +76 -0
  426. package/node_modules/hono/dist/middleware/serve-static/path.js +18 -0
  427. package/node_modules/hono/dist/middleware/timeout/index.js +25 -0
  428. package/node_modules/hono/dist/middleware/timing/index.js +9 -0
  429. package/node_modules/hono/dist/middleware/timing/timing.js +102 -0
  430. package/node_modules/hono/dist/middleware/trailing-slash/index.js +25 -0
  431. package/node_modules/hono/dist/preset/quick.js +16 -0
  432. package/node_modules/hono/dist/preset/tiny.js +12 -0
  433. package/node_modules/hono/dist/request/constants.js +5 -0
  434. package/node_modules/hono/dist/request.js +301 -0
  435. package/node_modules/hono/dist/router/linear-router/index.js +5 -0
  436. package/node_modules/hono/dist/router/linear-router/router.js +118 -0
  437. package/node_modules/hono/dist/router/pattern-router/index.js +5 -0
  438. package/node_modules/hono/dist/router/pattern-router/router.js +48 -0
  439. package/node_modules/hono/dist/router/reg-exp-router/index.js +9 -0
  440. package/node_modules/hono/dist/router/reg-exp-router/matcher.js +25 -0
  441. package/node_modules/hono/dist/router/reg-exp-router/node.js +111 -0
  442. package/node_modules/hono/dist/router/reg-exp-router/prepared-router.js +142 -0
  443. package/node_modules/hono/dist/router/reg-exp-router/router.js +190 -0
  444. package/node_modules/hono/dist/router/reg-exp-router/trie.js +59 -0
  445. package/node_modules/hono/dist/router/smart-router/index.js +5 -0
  446. package/node_modules/hono/dist/router/smart-router/router.js +58 -0
  447. package/node_modules/hono/dist/router/trie-router/index.js +5 -0
  448. package/node_modules/hono/dist/router/trie-router/node.js +162 -0
  449. package/node_modules/hono/dist/router/trie-router/router.js +26 -0
  450. package/node_modules/hono/dist/router.js +14 -0
  451. package/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +184 -0
  452. package/node_modules/hono/dist/types/adapter/aws-lambda/index.d.ts +7 -0
  453. package/node_modules/hono/dist/types/adapter/aws-lambda/types.d.ts +144 -0
  454. package/node_modules/hono/dist/types/adapter/bun/conninfo.d.ts +7 -0
  455. package/node_modules/hono/dist/types/adapter/bun/index.d.ts +9 -0
  456. package/node_modules/hono/dist/types/adapter/bun/serve-static.d.ts +3 -0
  457. package/node_modules/hono/dist/types/adapter/bun/server.d.ts +24 -0
  458. package/node_modules/hono/dist/types/adapter/bun/ssg.d.ts +13 -0
  459. package/node_modules/hono/dist/types/adapter/bun/websocket.d.ts +39 -0
  460. package/node_modules/hono/dist/types/adapter/cloudflare-pages/handler.d.ts +33 -0
  461. package/node_modules/hono/dist/types/adapter/cloudflare-pages/index.d.ts +6 -0
  462. package/node_modules/hono/dist/types/adapter/cloudflare-workers/conninfo.d.ts +2 -0
  463. package/node_modules/hono/dist/types/adapter/cloudflare-workers/index.d.ts +7 -0
  464. package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static-module.d.ts +4 -0
  465. package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static.d.ts +16 -0
  466. package/node_modules/hono/dist/types/adapter/cloudflare-workers/utils.d.ts +5 -0
  467. package/node_modules/hono/dist/types/adapter/cloudflare-workers/websocket.d.ts +2 -0
  468. package/node_modules/hono/dist/types/adapter/deno/conninfo.d.ts +7 -0
  469. package/node_modules/hono/dist/types/adapter/deno/index.d.ts +8 -0
  470. package/node_modules/hono/dist/types/adapter/deno/serve-static.d.ts +3 -0
  471. package/node_modules/hono/dist/types/adapter/deno/ssg.d.ts +13 -0
  472. package/node_modules/hono/dist/types/adapter/deno/websocket.d.ts +2 -0
  473. package/node_modules/hono/dist/types/adapter/lambda-edge/conninfo.d.ts +2 -0
  474. package/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +87 -0
  475. package/node_modules/hono/dist/types/adapter/lambda-edge/index.d.ts +7 -0
  476. package/node_modules/hono/dist/types/adapter/netlify/handler.d.ts +2 -0
  477. package/node_modules/hono/dist/types/adapter/netlify/index.d.ts +5 -0
  478. package/node_modules/hono/dist/types/adapter/netlify/mod.d.ts +1 -0
  479. package/node_modules/hono/dist/types/adapter/service-worker/handler.d.ts +16 -0
  480. package/node_modules/hono/dist/types/adapter/service-worker/index.d.ts +28 -0
  481. package/node_modules/hono/dist/types/adapter/service-worker/types.d.ts +12 -0
  482. package/node_modules/hono/dist/types/adapter/vercel/conninfo.d.ts +2 -0
  483. package/node_modules/hono/dist/types/adapter/vercel/handler.d.ts +2 -0
  484. package/node_modules/hono/dist/types/adapter/vercel/index.d.ts +6 -0
  485. package/node_modules/hono/dist/types/client/client.d.ts +4 -0
  486. package/node_modules/hono/dist/types/client/fetch-result-please.d.ts +35 -0
  487. package/node_modules/hono/dist/types/client/index.d.ts +7 -0
  488. package/node_modules/hono/dist/types/client/types.d.ts +168 -0
  489. package/node_modules/hono/dist/types/client/utils.d.ts +18 -0
  490. package/node_modules/hono/dist/types/compose.d.ts +14 -0
  491. package/node_modules/hono/dist/types/context.d.ts +451 -0
  492. package/node_modules/hono/dist/types/helper/accepts/accepts.d.ts +30 -0
  493. package/node_modules/hono/dist/types/helper/accepts/index.d.ts +5 -0
  494. package/node_modules/hono/dist/types/helper/adapter/index.d.ts +12 -0
  495. package/node_modules/hono/dist/types/helper/conninfo/index.d.ts +5 -0
  496. package/node_modules/hono/dist/types/helper/conninfo/types.d.ts +36 -0
  497. package/node_modules/hono/dist/types/helper/cookie/index.d.ts +24 -0
  498. package/node_modules/hono/dist/types/helper/css/common.d.ts +42 -0
  499. package/node_modules/hono/dist/types/helper/css/index.d.ts +73 -0
  500. package/node_modules/hono/dist/types/helper/dev/index.d.ts +20 -0
  501. package/node_modules/hono/dist/types/helper/factory/index.d.ts +82 -0
  502. package/node_modules/hono/dist/types/helper/html/index.d.ts +8 -0
  503. package/node_modules/hono/dist/types/helper/proxy/index.d.ts +72 -0
  504. package/node_modules/hono/dist/types/helper/route/index.d.ts +75 -0
  505. package/node_modules/hono/dist/types/helper/ssg/index.d.ts +6 -0
  506. package/node_modules/hono/dist/types/helper/ssg/middleware.d.ts +44 -0
  507. package/node_modules/hono/dist/types/helper/ssg/ssg.d.ts +99 -0
  508. package/node_modules/hono/dist/types/helper/ssg/utils.d.ts +15 -0
  509. package/node_modules/hono/dist/types/helper/streaming/index.d.ts +8 -0
  510. package/node_modules/hono/dist/types/helper/streaming/sse.d.ts +13 -0
  511. package/node_modules/hono/dist/types/helper/streaming/stream.d.ts +3 -0
  512. package/node_modules/hono/dist/types/helper/streaming/text.d.ts +3 -0
  513. package/node_modules/hono/dist/types/helper/streaming/utils.d.ts +1 -0
  514. package/node_modules/hono/dist/types/helper/testing/index.d.ts +12 -0
  515. package/node_modules/hono/dist/types/helper/websocket/index.d.ts +69 -0
  516. package/node_modules/hono/dist/types/hono-base.d.ts +220 -0
  517. package/node_modules/hono/dist/types/hono.d.ts +19 -0
  518. package/node_modules/hono/dist/types/http-exception.d.ts +59 -0
  519. package/node_modules/hono/dist/types/index.d.ts +36 -0
  520. package/node_modules/hono/dist/types/jsx/base.d.ts +58 -0
  521. package/node_modules/hono/dist/types/jsx/children.d.ts +9 -0
  522. package/node_modules/hono/dist/types/jsx/components.d.ts +15 -0
  523. package/node_modules/hono/dist/types/jsx/constants.d.ts +6 -0
  524. package/node_modules/hono/dist/types/jsx/context.d.ts +12 -0
  525. package/node_modules/hono/dist/types/jsx/dom/client.d.ts +31 -0
  526. package/node_modules/hono/dist/types/jsx/dom/components.d.ts +10 -0
  527. package/node_modules/hono/dist/types/jsx/dom/context.d.ts +3 -0
  528. package/node_modules/hono/dist/types/jsx/dom/css.d.ts +77 -0
  529. package/node_modules/hono/dist/types/jsx/dom/hooks/index.d.ts +39 -0
  530. package/node_modules/hono/dist/types/jsx/dom/index.d.ts +88 -0
  531. package/node_modules/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +16 -0
  532. package/node_modules/hono/dist/types/jsx/dom/jsx-dev-runtime.d.ts +8 -0
  533. package/node_modules/hono/dist/types/jsx/dom/jsx-runtime.d.ts +7 -0
  534. package/node_modules/hono/dist/types/jsx/dom/render.d.ts +73 -0
  535. package/node_modules/hono/dist/types/jsx/dom/server.d.ts +106 -0
  536. package/node_modules/hono/dist/types/jsx/dom/utils.d.ts +1 -0
  537. package/node_modules/hono/dist/types/jsx/hooks/index.d.ts +45 -0
  538. package/node_modules/hono/dist/types/jsx/index.d.ts +75 -0
  539. package/node_modules/hono/dist/types/jsx/intrinsic-element/common.d.ts +3 -0
  540. package/node_modules/hono/dist/types/jsx/intrinsic-element/components.d.ts +13 -0
  541. package/node_modules/hono/dist/types/jsx/intrinsic-elements.d.ts +722 -0
  542. package/node_modules/hono/dist/types/jsx/jsx-dev-runtime.d.ts +8 -0
  543. package/node_modules/hono/dist/types/jsx/jsx-runtime.d.ts +12 -0
  544. package/node_modules/hono/dist/types/jsx/streaming.d.ts +36 -0
  545. package/node_modules/hono/dist/types/jsx/types.d.ts +35 -0
  546. package/node_modules/hono/dist/types/jsx/utils.d.ts +2 -0
  547. package/node_modules/hono/dist/types/middleware/basic-auth/index.d.ts +56 -0
  548. package/node_modules/hono/dist/types/middleware/bearer-auth/index.d.ts +91 -0
  549. package/node_modules/hono/dist/types/middleware/body-limit/index.d.ts +45 -0
  550. package/node_modules/hono/dist/types/middleware/cache/index.d.ts +41 -0
  551. package/node_modules/hono/dist/types/middleware/combine/index.d.ts +85 -0
  552. package/node_modules/hono/dist/types/middleware/compress/index.d.ts +29 -0
  553. package/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +40 -0
  554. package/node_modules/hono/dist/types/middleware/cors/index.d.ts +55 -0
  555. package/node_modules/hono/dist/types/middleware/csrf/index.d.ts +78 -0
  556. package/node_modules/hono/dist/types/middleware/etag/digest.d.ts +1 -0
  557. package/node_modules/hono/dist/types/middleware/etag/index.d.ts +42 -0
  558. package/node_modules/hono/dist/types/middleware/ip-restriction/index.d.ts +31 -0
  559. package/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +77 -0
  560. package/node_modules/hono/dist/types/middleware/jwk/index.d.ts +1 -0
  561. package/node_modules/hono/dist/types/middleware/jwk/jwk.d.ts +54 -0
  562. package/node_modules/hono/dist/types/middleware/jwt/index.d.ts +8 -0
  563. package/node_modules/hono/dist/types/middleware/jwt/jwt.d.ts +67 -0
  564. package/node_modules/hono/dist/types/middleware/language/index.d.ts +7 -0
  565. package/node_modules/hono/dist/types/middleware/language/language.d.ts +102 -0
  566. package/node_modules/hono/dist/types/middleware/logger/index.d.ts +24 -0
  567. package/node_modules/hono/dist/types/middleware/method-override/index.d.ts +48 -0
  568. package/node_modules/hono/dist/types/middleware/powered-by/index.d.ts +29 -0
  569. package/node_modules/hono/dist/types/middleware/pretty-json/index.d.ts +42 -0
  570. package/node_modules/hono/dist/types/middleware/request-id/index.d.ts +7 -0
  571. package/node_modules/hono/dist/types/middleware/request-id/request-id.d.ts +37 -0
  572. package/node_modules/hono/dist/types/middleware/secure-headers/index.d.ts +8 -0
  573. package/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +14 -0
  574. package/node_modules/hono/dist/types/middleware/secure-headers/secure-headers.d.ts +109 -0
  575. package/node_modules/hono/dist/types/middleware/serve-static/index.d.ts +31 -0
  576. package/node_modules/hono/dist/types/middleware/serve-static/path.d.ts +5 -0
  577. package/node_modules/hono/dist/types/middleware/timeout/index.d.ts +31 -0
  578. package/node_modules/hono/dist/types/middleware/timing/index.d.ts +7 -0
  579. package/node_modules/hono/dist/types/middleware/timing/timing.d.ts +129 -0
  580. package/node_modules/hono/dist/types/middleware/trailing-slash/index.d.ts +37 -0
  581. package/node_modules/hono/dist/types/package.json +3 -0
  582. package/node_modules/hono/dist/types/preset/quick.d.ts +10 -0
  583. package/node_modules/hono/dist/types/preset/tiny.d.ts +10 -0
  584. package/node_modules/hono/dist/types/request/constants.d.ts +1 -0
  585. package/node_modules/hono/dist/types/request.d.ts +313 -0
  586. package/node_modules/hono/dist/types/router/linear-router/index.d.ts +5 -0
  587. package/node_modules/hono/dist/types/router/linear-router/router.d.ts +7 -0
  588. package/node_modules/hono/dist/types/router/pattern-router/index.d.ts +5 -0
  589. package/node_modules/hono/dist/types/router/pattern-router/router.d.ts +7 -0
  590. package/node_modules/hono/dist/types/router/reg-exp-router/index.d.ts +6 -0
  591. package/node_modules/hono/dist/types/router/reg-exp-router/matcher.d.ts +7 -0
  592. package/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +10 -0
  593. package/node_modules/hono/dist/types/router/reg-exp-router/prepared-router.d.ts +17 -0
  594. package/node_modules/hono/dist/types/router/reg-exp-router/router.d.ts +11 -0
  595. package/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +7 -0
  596. package/node_modules/hono/dist/types/router/smart-router/index.d.ts +5 -0
  597. package/node_modules/hono/dist/types/router/smart-router/router.d.ts +11 -0
  598. package/node_modules/hono/dist/types/router/trie-router/index.d.ts +5 -0
  599. package/node_modules/hono/dist/types/router/trie-router/node.d.ts +7 -0
  600. package/node_modules/hono/dist/types/router/trie-router/router.d.ts +8 -0
  601. package/node_modules/hono/dist/types/router.d.ts +97 -0
  602. package/node_modules/hono/dist/types/types.d.ts +573 -0
  603. package/node_modules/hono/dist/types/utils/accept.d.ts +11 -0
  604. package/node_modules/hono/dist/types/utils/basic-auth.d.ts +5 -0
  605. package/node_modules/hono/dist/types/utils/body.d.ts +79 -0
  606. package/node_modules/hono/dist/types/utils/buffer.d.ts +8 -0
  607. package/node_modules/hono/dist/types/utils/color.d.ts +21 -0
  608. package/node_modules/hono/dist/types/utils/compress.d.ts +8 -0
  609. package/node_modules/hono/dist/types/utils/concurrent.d.ts +11 -0
  610. package/node_modules/hono/dist/types/utils/constants.d.ts +4 -0
  611. package/node_modules/hono/dist/types/utils/cookie.d.ts +40 -0
  612. package/node_modules/hono/dist/types/utils/crypto.d.ts +15 -0
  613. package/node_modules/hono/dist/types/utils/encode.d.ts +8 -0
  614. package/node_modules/hono/dist/types/utils/filepath.d.ts +12 -0
  615. package/node_modules/hono/dist/types/utils/handler.d.ts +6 -0
  616. package/node_modules/hono/dist/types/utils/headers.d.ts +8 -0
  617. package/node_modules/hono/dist/types/utils/html.d.ts +44 -0
  618. package/node_modules/hono/dist/types/utils/http-status.d.ts +32 -0
  619. package/node_modules/hono/dist/types/utils/ipaddr.d.ts +40 -0
  620. package/node_modules/hono/dist/types/utils/jwt/index.d.ts +18 -0
  621. package/node_modules/hono/dist/types/utils/jwt/jwa.d.ts +23 -0
  622. package/node_modules/hono/dist/types/utils/jwt/jws.d.ts +12 -0
  623. package/node_modules/hono/dist/types/utils/jwt/jwt.d.ts +43 -0
  624. package/node_modules/hono/dist/types/utils/jwt/types.d.ts +86 -0
  625. package/node_modules/hono/dist/types/utils/jwt/utf8.d.ts +6 -0
  626. package/node_modules/hono/dist/types/utils/mime.d.ts +70 -0
  627. package/node_modules/hono/dist/types/utils/stream.d.ts +31 -0
  628. package/node_modules/hono/dist/types/utils/types.d.ts +74 -0
  629. package/node_modules/hono/dist/types/utils/url.d.ts +29 -0
  630. package/node_modules/hono/dist/types/validator/index.d.ts +7 -0
  631. package/node_modules/hono/dist/types/validator/utils.d.ts +29 -0
  632. package/node_modules/hono/dist/types/validator/validator.d.ts +16 -0
  633. package/node_modules/hono/dist/types.js +6 -0
  634. package/node_modules/hono/dist/utils/accept.js +63 -0
  635. package/node_modules/hono/dist/utils/basic-auth.js +23 -0
  636. package/node_modules/hono/dist/utils/body.js +72 -0
  637. package/node_modules/hono/dist/utils/buffer.js +50 -0
  638. package/node_modules/hono/dist/utils/color.js +25 -0
  639. package/node_modules/hono/dist/utils/compress.js +5 -0
  640. package/node_modules/hono/dist/utils/concurrent.js +39 -0
  641. package/node_modules/hono/dist/utils/constants.js +5 -0
  642. package/node_modules/hono/dist/utils/cookie.js +147 -0
  643. package/node_modules/hono/dist/utils/crypto.js +44 -0
  644. package/node_modules/hono/dist/utils/encode.js +29 -0
  645. package/node_modules/hono/dist/utils/filepath.js +35 -0
  646. package/node_modules/hono/dist/utils/handler.js +13 -0
  647. package/node_modules/hono/dist/utils/headers.js +0 -0
  648. package/node_modules/hono/dist/utils/html.js +123 -0
  649. package/node_modules/hono/dist/utils/http-status.js +0 -0
  650. package/node_modules/hono/dist/utils/ipaddr.js +101 -0
  651. package/node_modules/hono/dist/utils/jwt/index.js +6 -0
  652. package/node_modules/hono/dist/utils/jwt/jwa.js +20 -0
  653. package/node_modules/hono/dist/utils/jwt/jws.js +192 -0
  654. package/node_modules/hono/dist/utils/jwt/jwt.js +197 -0
  655. package/node_modules/hono/dist/utils/jwt/types.js +124 -0
  656. package/node_modules/hono/dist/utils/jwt/utf8.js +7 -0
  657. package/node_modules/hono/dist/utils/mime.js +84 -0
  658. package/node_modules/hono/dist/utils/stream.js +79 -0
  659. package/node_modules/hono/dist/utils/types.js +0 -0
  660. package/node_modules/hono/dist/utils/url.js +219 -0
  661. package/node_modules/hono/dist/validator/index.js +5 -0
  662. package/node_modules/hono/dist/validator/utils.js +0 -0
  663. package/node_modules/hono/dist/validator/validator.js +86 -0
  664. package/node_modules/hono/package.json +691 -0
  665. package/node_modules/ip-address/LICENSE +19 -0
  666. package/node_modules/ip-address/README.md +105 -0
  667. package/node_modules/ip-address/dist/address-error.d.ts +5 -0
  668. package/node_modules/ip-address/dist/address-error.d.ts.map +1 -0
  669. package/node_modules/ip-address/dist/address-error.js +12 -0
  670. package/node_modules/ip-address/dist/address-error.js.map +1 -0
  671. package/node_modules/ip-address/dist/common.d.ts +15 -0
  672. package/node_modules/ip-address/dist/common.d.ts.map +1 -0
  673. package/node_modules/ip-address/dist/common.js +46 -0
  674. package/node_modules/ip-address/dist/common.js.map +1 -0
  675. package/node_modules/ip-address/dist/ip-address.d.ts +8 -0
  676. package/node_modules/ip-address/dist/ip-address.d.ts.map +1 -0
  677. package/node_modules/ip-address/dist/ip-address.js +35 -0
  678. package/node_modules/ip-address/dist/ip-address.js.map +1 -0
  679. package/node_modules/ip-address/dist/ipv4.d.ts +193 -0
  680. package/node_modules/ip-address/dist/ipv4.d.ts.map +1 -0
  681. package/node_modules/ip-address/dist/ipv4.js +327 -0
  682. package/node_modules/ip-address/dist/ipv4.js.map +1 -0
  683. package/node_modules/ip-address/dist/ipv6.d.ts +428 -0
  684. package/node_modules/ip-address/dist/ipv6.d.ts.map +1 -0
  685. package/node_modules/ip-address/dist/ipv6.js +1003 -0
  686. package/node_modules/ip-address/dist/ipv6.js.map +1 -0
  687. package/node_modules/ip-address/dist/v4/constants.d.ts +5 -0
  688. package/node_modules/ip-address/dist/v4/constants.d.ts.map +1 -0
  689. package/node_modules/ip-address/dist/v4/constants.js +8 -0
  690. package/node_modules/ip-address/dist/v4/constants.js.map +1 -0
  691. package/node_modules/ip-address/dist/v6/constants.d.ts +45 -0
  692. package/node_modules/ip-address/dist/v6/constants.d.ts.map +1 -0
  693. package/node_modules/ip-address/dist/v6/constants.js +76 -0
  694. package/node_modules/ip-address/dist/v6/constants.js.map +1 -0
  695. package/node_modules/ip-address/dist/v6/helpers.d.ts +18 -0
  696. package/node_modules/ip-address/dist/v6/helpers.d.ts.map +1 -0
  697. package/node_modules/ip-address/dist/v6/helpers.js +45 -0
  698. package/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
  699. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +6 -0
  700. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +1 -0
  701. package/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
  702. package/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
  703. package/node_modules/ip-address/package.json +78 -0
  704. package/node_modules/ip-address/src/address-error.ts +11 -0
  705. package/node_modules/ip-address/src/common.ts +55 -0
  706. package/node_modules/ip-address/src/ip-address.ts +7 -0
  707. package/node_modules/ip-address/src/ipv4.ts +356 -0
  708. package/node_modules/ip-address/src/ipv6.ts +1212 -0
  709. package/node_modules/ip-address/src/v4/constants.ts +7 -0
  710. package/node_modules/ip-address/src/v6/constants.ts +79 -0
  711. package/node_modules/ip-address/src/v6/helpers.ts +48 -0
  712. package/node_modules/ip-address/src/v6/regular-expressions.ts +94 -0
  713. package/package.json +4 -4
  714. package/dist/claude-marketplace/core/skills/KNOWLEDGE-DEFINITION.zh.md +0 -79
  715. package/dist/claude-marketplace/core/skills/knowledge.add/skill.zh.md +0 -47
  716. package/dist/claude-marketplace/core/skills/knowledge.collect/SKILL.zh.md +0 -185
  717. package/dist/claude-marketplace/core/skills/knowledge.delete/skill.zh.md +0 -22
  718. package/dist/claude-marketplace/core/skills/knowledge.detect/skill.zh.md +0 -117
  719. package/dist/claude-marketplace/core/skills/knowledge.enhance/SKILL.zh.md +0 -157
  720. package/dist/claude-marketplace/core/skills/knowledge.import/skill.zh.md +0 -35
  721. package/dist/claude-marketplace/core/skills/knowledge.init/skill.zh.md +0 -38
  722. package/dist/claude-marketplace/core/skills/knowledge.save/skill.zh.md +0 -82
  723. package/dist/claude-marketplace/core/skills/knowledge.status/skill.zh.md +0 -19
  724. package/dist/claude-marketplace/core/skills/knowledge.update/skill.zh.md +0 -77
package/README.md CHANGED
@@ -12,6 +12,57 @@ Knowledge Bank is a lightweight Claude Code plugin that transforms your developm
12
12
  - 🏗️ **Intelligent organization** using multi-dimensional classification
13
13
  - ⚡ **Zero-friction integration** with your existing Claude Code workflow
14
14
 
15
+ ## Design Philosophy
16
+
17
+ Knowledge Bank is built on a fundamental principle: **knowledge should be deeply integrated into the entire software development lifecycle**, not treated as a separate documentation burden.
18
+
19
+ ### 🔄 **Lifecycle-Integrated Knowledge Management**
20
+
21
+ **Throughout Every Development Phase:**
22
+ - **Design Phase**: Capture architectural decisions and design patterns
23
+ - **Development Phase**: Record code patterns, implementation insights, and technical decisions
24
+ - **Code Review Phase**: Document review findings, best practices, and improvement patterns
25
+ - **Testing Phase**: Store testing strategies, edge cases, and quality insights
26
+ - **Deployment Phase**: Record deployment patterns, configuration knowledge, and operational insights
27
+ - **Maintenance Phase**: Capture troubleshooting knowledge, performance optimizations, and evolution patterns
28
+
29
+ ### 🔗 **Code-Bound Knowledge Strategy**
30
+
31
+ **Knowledge-Code Coupling**: By binding knowledge collection and retrieval directly to your code workflow, we ensure:
32
+
33
+ - **High Knowledge Density**: Every captured insight is contextually relevant and immediately actionable
34
+ - **Automatic Freshness**: Knowledge stays current as it's updated alongside code changes
35
+ - **Zero Maintenance Overhead**: No separate documentation process to maintain
36
+ - **Contextual Relevance**: Knowledge appears exactly when and where you need it
37
+
38
+ ### 🤖 **LLM-Native Knowledge Design**
39
+
40
+ **Implicit Information for AI Consumption**: Knowledge Bank recognizes that modern development increasingly involves AI assistance. Our knowledge format is optimized for:
41
+
42
+ **LLM-Optimized Storage**:
43
+ - Structured data formats that AI models can efficiently process
44
+ - Rich metadata and classification for intelligent retrieval
45
+ - Contextual relationships that help AI understand relevance
46
+ - Pattern recognition data that enables proactive suggestions
47
+
48
+ **Human-Extractable Insights**:
49
+ - While knowledge is stored for AI consumption, humans can extract valuable insights through:
50
+ - **Web Dashboard**: Browse and search through accumulated knowledge
51
+ - **Pattern Recognition**: Identify recurring themes and solutions across projects
52
+ - **Knowledge Synthesis**: Derive high-level principles from detailed implementation knowledge
53
+ - **Learning Acceleration**: Understand team knowledge and best practices through accumulated insights
54
+
55
+ ### 🎯 **Value-Driven Knowledge Capture**
56
+
57
+ **Maximizing Knowledge ROI**: By focusing on usage frequency and value density:
58
+
59
+ - **Contextual Triggering**: Knowledge is captured and surfaced based on actual development context
60
+ - **Relevance Scoring**: Only valuable, applicable knowledge reaches the developer
61
+ - **Automatic Organization**: AI-driven classification ensures knowledge remains findable and useful
62
+ - **Continuous Refinement**: Knowledge quality improves through usage patterns and feedback loops
63
+
64
+ This philosophy transforms knowledge from a documentation burden into an intelligent development accelerator that grows more valuable with every coding session.
65
+
15
66
  ## Installation
16
67
 
17
68
  ### Prerequisites
@@ -96,6 +147,39 @@ The web interface provides comprehensive access to your knowledge database:
96
147
 
97
148
  The web interface transforms your local knowledge database into an accessible, browsable resource that helps you leverage your accumulated development experience effectively.
98
149
 
150
+ ## How it Works
151
+
152
+ Knowledge Bank integrates seamlessly with Claude Code to automatically capture, organize, and retrieve development knowledge through a simple three-step process:
153
+
154
+ ### 📥 **Knowledge Capture**
155
+ - **Automatic Collection**: Uses Claude Code's hook system to capture development insights during your coding sessions
156
+ - **Smart Classification**: Organizes knowledge by type (code patterns, architecture, configurations, pitfalls, etc.)
157
+ - **Context Awareness**: Associates knowledge with specific projects, files, and development activities
158
+
159
+ ### 🗄️ **Knowledge Storage**
160
+ - **Local Database**: Stores all knowledge in a local SQLite database for privacy and speed
161
+ - **Rich Organization**: Categorizes knowledge by scope, source, and development lifecycle stage
162
+ - **Full-Text Search**: Enables fast searching across all stored knowledge items
163
+
164
+ ### 🔍 **Knowledge Retrieval**
165
+ - **Intelligent Search**: Finds relevant knowledge based on your current development context
166
+ - **Multiple Interfaces**: Access through Claude Code (via MCP), web dashboard, or command line
167
+ - **Context Injection**: Automatically surfaces relevant insights when you need them
168
+
169
+ ### 🔧 **Integration Points**
170
+
171
+ **Claude Code Integration**
172
+ - Hooks into Claude Code's session lifecycle for automatic knowledge capture
173
+ - Provides MCP server for real-time knowledge search and retrieval
174
+ - Works transparently without disrupting your development workflow
175
+
176
+ **Web Dashboard**
177
+ - Browse and explore your knowledge database through a user-friendly interface
178
+ - Advanced search and filtering capabilities
179
+ - Session history and hook event tracking
180
+
181
+ The system transforms your development sessions into a continuously growing, searchable knowledge base that enhances productivity and preserves valuable insights for future reference.
182
+
99
183
  ## License
100
184
 
101
185
  This project is licensed under the ISC License - see the [LICENSE](LICENSE) file for details.
@@ -9,7 +9,7 @@
9
9
  "name": "core",
10
10
  "source": "./core",
11
11
  "description": "Core plugins for knowledge bank",
12
- "version": "0.1.2-alpha.276",
12
+ "version": "0.1.2-alpha.312",
13
13
  "author": {
14
14
  "name": "garbywu",
15
15
  "email": "gabrywu@apache.org"
@@ -18,6 +18,6 @@
18
18
  ],
19
19
  "metadata": {
20
20
  "description": "A marketplace for knowledge bank plugins by gabrywu",
21
- "version": "0.1.2-alpha.276"
21
+ "version": "0.1.2-alpha.312"
22
22
  }
23
23
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "core",
3
3
  "description": "Core plugins for knowledge bank",
4
- "version": "0.1.2-alpha.276",
4
+ "version": "0.1.2-alpha.312",
5
5
  "author": {
6
6
  "name": "garbywu",
7
7
  "email": "gabrywu@apache.org"
@@ -102,6 +102,78 @@
102
102
  }
103
103
  ]
104
104
  }
105
+ ],
106
+ "SubagentStart": [
107
+ {
108
+ "hooks": [
109
+ {
110
+ "type": "command",
111
+ "command": "npx knowledge-bank subagent-start"
112
+ }
113
+ ]
114
+ }
115
+ ],
116
+ "PostToolUseFailure": [
117
+ {
118
+ "matcher": "*",
119
+ "hooks": [
120
+ {
121
+ "type": "command",
122
+ "command": "npx knowledge-bank post-tool-use-failure"
123
+ }
124
+ ]
125
+ }
126
+ ],
127
+ "TeammateIdle": [
128
+ {
129
+ "hooks": [
130
+ {
131
+ "type": "command",
132
+ "command": "npx knowledge-bank teammate-idle"
133
+ }
134
+ ]
135
+ }
136
+ ],
137
+ "TaskCompleted": [
138
+ {
139
+ "hooks": [
140
+ {
141
+ "type": "command",
142
+ "command": "npx knowledge-bank task-completed"
143
+ }
144
+ ]
145
+ }
146
+ ],
147
+ "ConfigChange": [
148
+ {
149
+ "matcher": "*",
150
+ "hooks": [
151
+ {
152
+ "type": "command",
153
+ "command": "npx knowledge-bank config-change"
154
+ }
155
+ ]
156
+ }
157
+ ],
158
+ "WorktreeCreate": [
159
+ {
160
+ "hooks": [
161
+ {
162
+ "type": "command",
163
+ "command": "npx knowledge-bank worktree-create"
164
+ }
165
+ ]
166
+ }
167
+ ],
168
+ "WorktreeRemove": [
169
+ {
170
+ "hooks": [
171
+ {
172
+ "type": "command",
173
+ "command": "npx knowledge-bank worktree-remove"
174
+ }
175
+ ]
176
+ }
105
177
  ]
106
178
  }
107
179
  }
@@ -1,15 +1,22 @@
1
1
  ---
2
2
  name: knowledge.add
3
- description: Add a new knowledge item to the knowledge base with automatic content generation from user instruction
4
- disable-model-invocation: false
5
- user-invocable: true
6
- allowed-tools: knowledge_create, knowledge_search, knowledge_list, Write, Read, Bash, Skill
3
+ description: Create new knowledge items with intelligent content generation from user instructions. Use when users say 'document this', 'add to knowledge base', 'remember this for later', 'save this insight', 'capture this solution', or 'make a note of this'. Also trigger when users complete complex troubleshooting, discover useful patterns, make architectural decisions, find implementation insights worth capturing, or encounter solutions to tricky problems, even if they don't explicitly mention 'knowledge' or 'documentation'. Automatically validates quality, generates comprehensive content, and includes relevant code examples and file references.
4
+ disable-model-invocation: false # Allows the skill to call Claude for content generation
5
+ user-invocable: true # Makes this skill available to users via /knowledge-add
6
+ allowed-tools: knowledge_create, knowledge_search, knowledge_list, Write, Read, Bash, Skill # MCP tools and system access for knowledge operations
7
7
  ---
8
8
 
9
9
  # Knowledge Addition
10
10
 
11
11
  Add a new knowledge item to the knowledge base with automatic content generation from user instruction. This skill uses the `knowledge-bank-management` MCP server to interact with the knowledge base.
12
12
 
13
+ **System Environment Variables:**
14
+ - CLAUDE_SESSION_ID=!`echo $CLAUDE_SESSION_ID`
15
+ - CLAUDE_SESSION_SOURCE=!`echo $CLAUDE_SESSION_SOURCE`
16
+ - CLAUDE_SESSION_MODE=!`echo $CLAUDE_SESSION_MODE`
17
+ - CLAUDE_SESSION_REPOSITORYID=!`echo $CLAUDE_SESSION_REPOSITORYID`
18
+ - CLAUDE_SESSION_CWD=!`echo $CLAUDE_SESSION_CWD`
19
+
13
20
  ## Knowledge Detection Integration
14
21
 
15
22
  **IMPORTANT:** Use the `knowledge.detect` skill to analyze whether the user instruction contains detectable knowledge points before proceeding with knowledge creation. This ensures alignment with established knowledge standards and prevents creation of low-value entries.
@@ -39,7 +46,20 @@ To use knowledge detection:
39
46
 
40
47
  Use the knowledge detection results from `knowledge.detect` to guide content generation, ensuring adherence to established knowledge categories, quality standards, and structure requirements.
41
48
 
42
- ## Usage Example
49
+ ## Examples
50
+
51
+ **Example 1:**
52
+ Input: "Document how we handle error logging in this project"
53
+ Output: Creates a `code_pattern` knowledge item titled "Error Logging Pattern with Winston" including:
54
+ - Analysis of `src/utils/logger.ts` implementation
55
+ - Code examples for error handling patterns
56
+ - File references to relevant logging modules
57
+ - Tagged with 'logging', 'winston', 'error-handling'
43
58
 
44
- - User: `/knowledge-add "Document how we handle error logging in this project"`
45
- - Result: Analyzes logging implementation, scans `logger.ts`, and creates a new `code_pattern` knowledge item.
59
+ **Example 2:**
60
+ Input: "Remember this authentication middleware approach we just implemented"
61
+ Output: Creates an `architecture` knowledge item titled "JWT Authentication Middleware Pattern" including:
62
+ - Explanation of middleware chain implementation
63
+ - Code examples from `src/middleware/auth.ts`
64
+ - Security considerations and best practices
65
+ - Integration points with user sessions
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: knowledge.collect
3
- description: Intelligent knowledge management with CRUD operations and lifecycle management
4
- disable-model-invocation: false
5
- user-invocable: true
6
- allowed-tools: knowledge_create, knowledge_get, knowledge_update, knowledge_delete, knowledge_list, knowledge_search, knowledge_update_status, knowledge_stats, Write, Read, Bash, Skill
7
- context: fork
8
- agent: general-purpose
3
+ description: Automatically capture and process knowledge from completed development sessions with intelligent deduplication and quality control. Use proactively after task completion when users finish debugging, complete features, solve complex problems, or wrap up development sessions. Also trigger when users say 'save this session', 'capture what we learned', 'collect insights', or when significant technical work concludes with valuable discoveries, successful problem resolution, or architectural decisions that should be preserved for future reference.
4
+ disable-model-invocation: false # Enables automated knowledge detection and processing
5
+ user-invocable: true # Available for explicit collection requests
6
+ allowed-tools: knowledge_create, knowledge_get, knowledge_update, knowledge_delete, knowledge_list, knowledge_search, knowledge_update_status, knowledge_stats, Write, Read, Bash, Skill # Full MCP suite for comprehensive knowledge management
7
+ context: fork # Executes in isolated context to avoid interference with main session
8
+ agent: general-purpose # Uses general-purpose agent for broad analytical capabilities
9
9
  ---
10
10
 
11
11
  # Knowledge Collection & Management
@@ -13,11 +13,12 @@ agent: general-purpose
13
13
  Intelligent knowledge lifecycle management system that processes detected knowledge items through create/update/delete operations with smart deduplication and quality control.
14
14
 
15
15
  **Important:** You have access to the `knowledge-bank-management` MCP server which provides all necessary tools for knowledge management operations. Use these MCP tools to interact with the knowledge bank instead of CLI commands.
16
- **System Environment Variables:**
16
+ **System Environment Variables:**
17
17
  - CLAUDE_SESSION_ID=!`echo $CLAUDE_SESSION_ID`
18
18
  - CLAUDE_SESSION_SOURCE=!`echo $CLAUDE_SESSION_SOURCE`
19
19
  - CLAUDE_SESSION_MODE=!`echo $CLAUDE_SESSION_MODE`
20
20
  - CLAUDE_SESSION_REPOSITORYID=!`echo $CLAUDE_SESSION_REPOSITORYID`
21
+ - CLAUDE_SESSION_CWD=!`echo $CLAUDE_SESSION_CWD`
21
22
 
22
23
  ## File Parameter Configuration
23
24
 
@@ -54,27 +55,63 @@ Use the `knowledge.detect` skill results to identify valuable knowledge items ba
54
55
 
55
56
  When valuable knowledge is detected, output it in this structured format:
56
57
 
57
- ### Output Template
58
+ ### Output Format
58
59
 
60
+ ALWAYS use this exact template:
61
+
62
+ When Knowledge is Collected:
63
+ ```
64
+ 🧠 KNOWLEDGE COLLECTED
65
+
66
+ **Total Processed:** [X] items
67
+ **Created:** [Y] new items
68
+ **Updated:** [Z] existing items
69
+
70
+ 1. **[Knowledge Title]**
71
+ Type: [knowledge_type]
72
+ Action: [Created|Updated|Merged]
73
+ Files: [Relevant file paths]
74
+
75
+ [Additional collected items...]
76
+ ```
77
+
78
+ When No Valuable Knowledge is Found:
79
+ ```
80
+ 📝 NO SIGNIFICANT KNOWLEDGE DETECTED
81
+
82
+ **Reason:** [Brief explanation - e.g., "Routine operations without project-specific insights"]
59
83
  ```
60
- 🧠 KNOWLEDGE DETECTED
61
84
 
62
- Title: [Clear, descriptive title]
63
- Type: [architecture|code_pattern|pitfall|tool_usage|api_usage|exploration]
64
- Summary: [One-sentence description of the insight]
85
+ ## Examples
65
86
 
66
- Files: [Comma-separated list of relevant file paths]
67
- Tags: [Searchable keywords for future reference]
87
+ **Example 1:**
88
+ Input: "Collect knowledge from our React debugging session"
89
+ Output:
68
90
  ```
91
+ 🧠 KNOWLEDGE COLLECTED
69
92
 
70
- ### No Knowledge Found Output
93
+ **Total Processed:** 3 items
94
+ **Created:** 2 new items
95
+ **Updated:** 1 existing items
71
96
 
72
- When no valuable knowledge is detected:
97
+ 1. **React useState Re-rendering Debug Pattern**
98
+ Type: pitfall
99
+ Action: Created
100
+ Files: src/components/UserProfile.tsx, src/hooks/useUserData.ts
73
101
 
102
+ 2. **useMemo Performance Optimization**
103
+ Type: code_pattern
104
+ Action: Updated
105
+ Files: src/components/UserProfile.tsx
106
+ ```
107
+
108
+ **Example 2:**
109
+ Input: "Process the configuration file updates we just made"
110
+ Output:
74
111
  ```
75
112
  📝 NO SIGNIFICANT KNOWLEDGE DETECTED
76
113
 
77
- Reason: [Brief explanation - e.g., "Routine operations without project-specific insights"]
114
+ **Reason:** Standard configuration updates without novel patterns or complex problem-solving insights
78
115
  ```
79
116
 
80
117
  ## 2. Duplicate Detection & Conflict Resolution
@@ -85,9 +122,13 @@ Reason: [Brief explanation - e.g., "Routine operations without project-specific
85
122
 
86
123
  #### Step 1: Search for Essential Fields
87
124
  Use `knowledge_search` to get potential duplicates:
125
+ **IMPORTANT**: The `knowledge_search` tool now requires a `cwd` parameter. The `cwd` value must be taken from !`echo $CLAUDE_SESSION_CWD`:
126
+
127
+
88
128
  ```
89
129
  knowledge_search({
90
130
  query: ["extracted", "keywords", "from", "new", "knowledge"],
131
+ cwd: "!`echo $CLAUDE_SESSION_CWD`",
91
132
  to: "duplicate-search.json"
92
133
  })
93
134
  ```
@@ -157,7 +198,7 @@ To ensure reliability and handle large content, always use file-based operations
157
198
  # Workflow Examples
158
199
 
159
200
  ## Create New Knowledge
160
- 1. Use `knowledge_search` with the `to` parameter (filename only, e.g., `search-results.json`) to check for duplicates and save results to the !`npx knowledge-bank config -t` directory.
201
+ 1. Use `knowledge_search` with the `cwd: !`echo $CLAUDE_SESSION_CWD`` and `to` parameter (filename only, e.g., `search-results.json`) to check for duplicates and save results to the !`npx knowledge-bank config -t` directory.
161
202
  2. If no duplicates found:
162
203
  - Write new knowledge data to a local JSON file in !`npx knowledge-bank config -t`.
163
204
  - Use `knowledge_create` with the `from` parameter (filename only, e.g., `new-knowledge.json`) and `session_id`,which is ${CLAUDE_SESSION_ID}, and `repository_id`, which is !`echo $CLAUDE_SESSION_REPOSITORYID`.
@@ -177,7 +218,7 @@ To ensure reliability and handle large content, always use file-based operations
177
218
  3. Use `knowledge_update_status` to promote to verified
178
219
 
179
220
  ## Search and Retrieve
180
- 1. Use `knowledge_search` with relevant terms
221
+ 1. Use `knowledge_search` with `cwd: !`echo $CLAUDE_SESSION_CWD`` and relevant terms
181
222
  2. Use `knowledge_get` to retrieve full details
182
223
  3. Use returned knowledge to enhance current context
183
224
 
@@ -1,22 +1,68 @@
1
1
  ---
2
2
  name: knowledge.delete
3
- description: Delete a specific knowledge item from the knowledge base
4
- disable-model-invocation: false
5
- user-invocable: true
6
- allowed-tools: knowledge_delete, knowledge_get, knowledge_search, Write, Read, Bash
7
- context: fork
8
- agent: general-purpose
3
+ description: Safely remove specific knowledge items from the knowledge base with verification and confirmation. Use when users say 'delete knowledge item', 'remove this knowledge', 'clean up outdated entries', or specify knowledge IDs for removal. Also trigger for maintenance operations when cleaning up duplicate entries after merges, removing obsolete information that no longer applies, deleting low-quality or incorrectly categorized knowledge items, or when users explicitly request removal of specific knowledge entries by ID or description.
4
+ disable-model-invocation: false # Enables content analysis for verification before deletion
5
+ user-invocable: true # Available for explicit deletion requests
6
+ allowed-tools: knowledge_delete, knowledge_get, knowledge_search, Write, Read, Bash # MCP tools for safe deletion operations with verification
7
+ context: fork # Isolated execution for safe deletion operations
8
+ agent: general-purpose # Handles verification and confirmation workflows
9
9
  ---
10
10
 
11
11
  # Knowledge Deletion
12
12
 
13
13
  Remove a specific knowledge item from the knowledge base using its ID.
14
14
 
15
+ **System Environment Variables:**
16
+ - CLAUDE_SESSION_ID=!`echo $CLAUDE_SESSION_ID`
17
+ - CLAUDE_SESSION_SOURCE=!`echo $CLAUDE_SESSION_SOURCE`
18
+ - CLAUDE_SESSION_MODE=!`echo $CLAUDE_SESSION_MODE`
19
+ - CLAUDE_SESSION_REPOSITORYID=!`echo $CLAUDE_SESSION_REPOSITORYID`
20
+ - CLAUDE_SESSION_CWD=!`echo $CLAUDE_SESSION_CWD`
21
+
15
22
  ## Workflow
16
23
 
17
- 1. **Identification**: Identify the knowledge item to delete using the ID provided in `$ARGUMENTS`. If the ID is not clear, use `knowledge_search` to find it.
24
+ 1. **Identification**: Identify the knowledge item to delete using the ID provided in `$ARGUMENTS`. If the ID is not clear, use `knowledge_search` with cwd: !`echo $CLAUDE_SESSION_CWD` to find it.
18
25
  2. **Verification**: Use the `knowledge_get` tool to retrieve the details of the item to ensure it exists and to show the user what will be deleted.
19
26
  3. **Execution**: Use the `knowledge_delete` MCP tool with the specified ID.
20
27
  4. **Reporting**: Confirm successful deletion or report any errors.
21
28
 
22
29
  ⚠️ **Warning**: Deletion is permanent and cannot be undone.
30
+
31
+ ## Output Format
32
+
33
+ ALWAYS use this exact template:
34
+
35
+ ```
36
+ 🗑️ KNOWLEDGE DELETION COMPLETED
37
+
38
+ **Deleted Item:**
39
+ - ID: [X]
40
+ - Title: [Title]
41
+ - Type: [knowledge_type]
42
+ - Status: [status]
43
+
44
+ **Confirmation:** Knowledge item successfully removed from database
45
+ **Impact:** [Brief description of what was removed]
46
+ ```
47
+
48
+ ## Examples
49
+
50
+ **Example 1:**
51
+ Input: "Delete knowledge item 42"
52
+ Output:
53
+ ```
54
+ 🗑️ KNOWLEDGE DELETION COMPLETED
55
+
56
+ **Deleted Item:**
57
+ - ID: 42
58
+ - Title: Outdated React Class Component Pattern
59
+ - Type: code_pattern
60
+ - Status: draft
61
+
62
+ **Confirmation:** Knowledge item successfully removed from database
63
+ **Impact:** Removed deprecated React pattern that's no longer recommended
64
+ ```
65
+
66
+ **Example 2:**
67
+ Input: "Remove duplicate authentication knowledge"
68
+ Output: [First searches for and identifies the duplicate, then shows deletion confirmation]
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  name: knowledge.detect
3
- description: Define and collect technical knowledge points from the current conversation
4
- disable-model-invocation: false
5
- user-invocable: true
6
- allowed-tools: Read, Write, Bash
3
+ description: Analyze current conversation session to identify and validate high-value technical knowledge points using established criteria. Use when users ask 'what knowledge can we capture here?', 'is this worth documenting?', 'analyze this session for insights', or when you need to assess knowledge quality before manual capture, during content validation workflows, or when determining if technical discussions contain documentable insights. Also trigger when reviewing completed development sessions, evaluating problem-solving conversations, or validating content before knowledge creation operations.
4
+ disable-model-invocation: false # Enables AI analysis of conversation content for knowledge extraction
5
+ user-invocable: true # Available to users for manual knowledge quality assessment
6
+ allowed-tools: Read, Write, Bash # File system access for session analysis and temporary data processing
7
7
  ---
8
8
 
9
9
  # In-Session Knowledge Detection & Collection
@@ -90,26 +90,58 @@ For each qualified insight, extract:
90
90
 
91
91
  ## 8. Collection Results Output
92
92
 
93
- ### When Knowledge Points Are Detected
93
+ ### Output Format
94
94
 
95
+ ALWAYS use this exact template:
96
+
97
+ When Knowledge Points Are Detected:
95
98
  ```
96
99
  🧠 Knowledge Detected
97
100
 
98
101
  **Total:** [Number] point(s)
99
102
 
100
103
  1. **[Knowledge Title]**
101
- - Category: [category] | Scope: [scope]
102
- - Location: [relevant files/components]
103
- - Elements:
104
+ Type: [knowledge_type]
105
+ Summary: [One-sentence description]
106
+ Files: [Relevant file paths]
107
+ Elements:
104
108
  - **What**: [insight]
105
109
  - **Why**: [rationale]
106
110
  - **How**: [implementation]
107
111
  ```
108
112
 
109
- ### When No Knowledge Points Are Detected
110
-
113
+ When No Knowledge Points Are Detected:
111
114
  ```
112
115
  ❌ No Knowledge Detected
113
116
 
114
117
  **Reason:** [Brief explanation based on qualification criteria]
115
118
  ```
119
+
120
+ ## Examples
121
+
122
+ **Example 1:**
123
+ Input: "Analyze our conversation about debugging the React state management issue"
124
+ Output:
125
+ ```
126
+ 🧠 Knowledge Detected
127
+
128
+ **Total:** 1 point(s)
129
+
130
+ 1. **React State Management Debugging Pattern**
131
+ Type: pitfall
132
+ Summary: Step-by-step approach to diagnose useState re-rendering issues
133
+ Files: src/components/UserProfile.tsx, src/hooks/useUserData.ts
134
+ Elements:
135
+ - **What**: Identified unnecessary re-renders caused by object recreation in useState
136
+ - **Why**: Component re-rendered on every parent update due to new object reference
137
+ - **How**: Use useMemo for object values and useCallback for event handlers
138
+ ```
139
+
140
+ **Example 2:**
141
+ Input: "Check if our discussion about updating package.json has any knowledge value"
142
+ Output:
143
+ ```
144
+ ❌ No Knowledge Detected
145
+
146
+ **Reason:** Routine package management without project-specific insights or novel problem-solving approaches
147
+ ```
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  name: knowledge.enhance
3
- description: Search and inject relevant knowledge into current session based on user input
4
- disable-model-invocation: false
5
- user-invocable: true
6
- allowed-tools: knowledge_search, knowledge_list, knowledge_get, Read, Write, Bash
3
+ description: Search and inject relevant knowledge from past sessions when users ask development questions, encounter errors, need architecture guidance, or want best practices. Use this proactively whenever users mention 'how do I', 'I'm having trouble with', 'error', 'bug', 'stuck', 'implementation challenge', 'architecture decision', 'best practice', or describe specific technical problems. Also trigger when users reference files, frameworks, or technologies that may have existing knowledge, ask about patterns or solutions, or need contextual help with coding tasks, even if they don't explicitly request knowledge lookup.
4
+ disable-model-invocation: false # Enables intelligent keyword extraction and relevance analysis
5
+ user-invocable: true # Available for explicit knowledge enhancement requests
6
+ allowed-tools: knowledge_search, knowledge_list, knowledge_get, Read, Write, Bash # MCP tools for knowledge retrieval and file operations
7
7
  ---
8
8
 
9
9
  # Knowledge Enhancement & Context Injection
@@ -16,6 +16,7 @@ Intelligent knowledge retrieval system that summarizes relevant keywords based o
16
16
  - CLAUDE_SESSION_SOURCE=!`echo $CLAUDE_SESSION_SOURCE`
17
17
  - CLAUDE_SESSION_MODE=!`echo $CLAUDE_SESSION_MODE`
18
18
  - CLAUDE_SESSION_REPOSITORYID=!`echo $CLAUDE_SESSION_REPOSITORYID`
19
+ - CLAUDE_SESSION_CWD=!`echo $CLAUDE_SESSION_CWD`
19
20
 
20
21
  ## File Parameter Configuration
21
22
 
@@ -61,9 +62,12 @@ Use `knowledge_list` for type-specific knowledge retrieval with filters.
61
62
  #### Step 1: Search for Essential Fields
62
63
  Use `knowledge_search` or `knowledge_list` to get essential fields only:
63
64
 
65
+ **IMPORTANT**: The `knowledge_search` tool now requires a `cwd` parameter. The `cwd` value must be taken from !`echo $CLAUDE_SESSION_CWD`:
66
+
64
67
  ```
65
68
  knowledge_search({
66
69
  query: ["extracted", "keywords"],
70
+ cwd: "!`echo $CLAUDE_SESSION_CWD`",
67
71
  to: "search-results.json"
68
72
  })
69
73
  ```
@@ -96,13 +100,14 @@ knowledge_get({
96
100
  ```
97
101
 
98
102
  #### Step 4: Context Injection Format
99
- Present retrieved knowledge in this format:
103
+
104
+ ALWAYS use this exact template:
100
105
 
101
106
  ```
102
107
  🔍 RELEVANT KNOWLEDGE FOUND
103
108
 
104
- **Relevance Analysis:** Found X relevant items from Y search results
105
- **Top Relevance Scores:** [item1: 0.85, item2: 0.72, item3: 0.61]
109
+ **Relevance Analysis:** Found [X] relevant items from [Y] search results
110
+ **Top Relevance Scores:** [item1: 0.XX, item2: 0.XX, item3: 0.XX]
106
111
 
107
112
  <knowledge_content>
108
113
  [Insert the FULL content of the retrieved knowledge files here]
@@ -117,6 +122,29 @@ Present retrieved knowledge in this format:
117
122
  ### No Results Handling
118
123
  If no relevant knowledge found, respond with empty string, indicating no context to inject.
119
124
 
125
+ ## Examples
126
+
127
+ **Example 1:**
128
+ Input: "I'm having trouble with React useState causing infinite re-renders"
129
+ Output:
130
+ ```
131
+ 🔍 RELEVANT KNOWLEDGE FOUND
132
+
133
+ **Relevance Analysis:** Found 2 relevant items from 15 search results
134
+ **Top Relevance Scores:** [React State Debugging: 0.89, useState Hook Patterns: 0.74]
135
+
136
+ <knowledge_content>
137
+ # React State Management Debugging Pattern
138
+ ...
139
+ [Full knowledge content with debugging steps and solutions]
140
+ ...
141
+ </knowledge_content>
142
+ ```
143
+
144
+ **Example 2:**
145
+ Input: "How do I configure webpack for this project?"
146
+ Output: [Empty response if no webpack-related knowledge exists]
147
+
120
148
  ## 4. Enhancement Strategies
121
149
 
122
150
  ### Proactive Knowledge Discovery