@research-copilot/plugin 1.1.16 → 1.1.18

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 (799) hide show
  1. package/dist/.claude-plugin/plugin.json +1 -1
  2. package/dist/.codex-plugin/plugin.toml +1 -1
  3. package/dist/.cursor-plugin/plugin.json +1 -1
  4. package/dist/.gemini-plugin/plugin.json +1 -1
  5. package/dist/.opencode-plugin/plugin.json +1 -1
  6. package/dist/.windsurf-plugin/plugin.json +1 -1
  7. package/dist/skills/ablation-planner/SKILL.md +126 -0
  8. package/dist/skills/alphaxiv/SKILL.md +186 -0
  9. package/dist/skills/analyze-results/SKILL.md +45 -0
  10. package/dist/skills/arxiv/SKILL.md +210 -0
  11. package/dist/skills/auto-paper-improvement-loop/SKILL.md +574 -0
  12. package/dist/skills/auto-review-loop/SKILL.md +370 -0
  13. package/dist/skills/auto-review-loop-llm/SKILL.md +247 -0
  14. package/dist/skills/auto-review-loop-minimax/SKILL.md +290 -0
  15. package/dist/skills/benchmark-paper-template/SKILL.md +142 -0
  16. package/dist/skills/benchmark-paper-template/references/benchmark-design.md +180 -0
  17. package/dist/skills/benchmark-paper-template/references/checklist.md +113 -0
  18. package/dist/skills/benchmark-paper-template/references/construction-pipeline.md +127 -0
  19. package/dist/skills/benchmark-paper-template/references/experiments.md +159 -0
  20. package/dist/skills/benchmark-paper-template/references/gap-analysis.md +86 -0
  21. package/dist/skills/benchmark-paper-template/references/instantiation-template.md +194 -0
  22. package/dist/skills/benchmark-paper-template/references/orchestrator-notes.md +96 -0
  23. package/dist/skills/benchmark-paper-template/references/paper-structure.md +209 -0
  24. package/dist/skills/citation-audit/SKILL.md +494 -0
  25. package/dist/skills/claims-drafting/SKILL.md +239 -0
  26. package/dist/skills/comm-lit-review/SKILL.md +299 -0
  27. package/dist/skills/comm-lit-review/references/domain-taxonomy.md +57 -0
  28. package/dist/skills/comm-lit-review/references/output-template.md +37 -0
  29. package/dist/skills/comm-lit-review/references/source-policy.md +99 -0
  30. package/dist/skills/comm-lit-review/references/venue-tiering.md +112 -0
  31. package/dist/skills/composer/SKILL.md +840 -0
  32. package/dist/skills/composer/references/section_guides.md +675 -0
  33. package/dist/skills/composer/references/writing_standards.md +629 -0
  34. package/dist/skills/composer/scripts/chapter_quality_check.py +470 -0
  35. package/dist/skills/composer/scripts/final_evaluation.py +550 -0
  36. package/dist/skills/deepxiv/SKILL.md +142 -0
  37. package/dist/skills/dse-loop/SKILL.md +277 -0
  38. package/dist/skills/embodiment-description/SKILL.md +129 -0
  39. package/dist/skills/exa-search/SKILL.md +192 -0
  40. package/dist/skills/experiment-audit/SKILL.md +262 -0
  41. package/dist/skills/experiment-bridge/SKILL.md +316 -0
  42. package/dist/skills/experiment-plan/SKILL.md +249 -0
  43. package/dist/skills/experiment-queue/SKILL.md +380 -0
  44. package/dist/skills/experiment-queue/scripts/build_manifest.py +142 -0
  45. package/dist/skills/experiment-queue/scripts/queue_manager.py +426 -0
  46. package/dist/skills/feishu-notify/SKILL.md +155 -0
  47. package/dist/skills/figure-description/SKILL.md +138 -0
  48. package/dist/skills/figure-designer/SKILL.md +207 -0
  49. package/dist/skills/figure-designer/references/design-rules.md +99 -0
  50. package/dist/skills/figure-designer/references/experimental-results.md +127 -0
  51. package/dist/skills/figure-designer/references/motivated-example.md +138 -0
  52. package/dist/skills/figure-designer/references/solution-overview.md +145 -0
  53. package/dist/skills/figure-designer/references/tools.md +124 -0
  54. package/dist/skills/figure-spec/SKILL.md +252 -0
  55. package/dist/skills/figure-spec/scripts/figure_renderer.py +799 -0
  56. package/dist/skills/formula-derivation/SKILL.md +280 -0
  57. package/dist/skills/gemini-search/SKILL.md +205 -0
  58. package/dist/skills/grant-proposal/SKILL.md +625 -0
  59. package/dist/skills/humanizer/AGENTS.md +25 -0
  60. package/dist/skills/humanizer/SKILL.md +621 -0
  61. package/dist/skills/idea-creator/SKILL.md +311 -0
  62. package/dist/skills/idea-discovery/SKILL.md +340 -0
  63. package/dist/skills/idea-discovery-robot/SKILL.md +362 -0
  64. package/dist/skills/idea-evaluator/SKILL.md +265 -0
  65. package/dist/skills/idea-evaluator/references/fatal-flaws.md +192 -0
  66. package/dist/skills/idea-evaluator/references/five-dimensions.md +251 -0
  67. package/dist/skills/idea-evaluator/references/lifecycle-capability-matching.md +177 -0
  68. package/dist/skills/idea-evaluator/references/paradigm-elephant.md +112 -0
  69. package/dist/skills/idea-evaluator/references/paradigm-examples.md +107 -0
  70. package/dist/skills/idea-evaluator/references/paradigm-first-principles.md +115 -0
  71. package/dist/skills/idea-evaluator/references/paradigm-hamming.md +137 -0
  72. package/dist/skills/idea-evaluator/references/paradigm-shift-probe.md +160 -0
  73. package/dist/skills/idea-evaluator/references/paradigm-technology-cycle.md +116 -0
  74. package/dist/skills/idea-evaluator/references/worked-examples.md +206 -0
  75. package/dist/skills/interview-cheatsheet/SKILL.md +245 -0
  76. package/dist/skills/intro-drafter/SKILL.md +250 -0
  77. package/dist/skills/intro-drafter/references/contribution-patterns.md +116 -0
  78. package/dist/skills/intro-drafter/references/flowchart.md +204 -0
  79. package/dist/skills/intro-drafter/references/paper-types.md +155 -0
  80. package/dist/skills/intro-drafter/references/running-example.md +133 -0
  81. package/dist/skills/intro-drafter/references/worked-examples.md +161 -0
  82. package/dist/skills/invention-structuring/SKILL.md +188 -0
  83. package/dist/skills/jurisdiction-format/SKILL.md +192 -0
  84. package/dist/skills/kill-argument/SKILL.md +384 -0
  85. package/dist/skills/llm-wiki/.mise.toml +2 -0
  86. package/dist/skills/llm-wiki/.nvmrc +1 -0
  87. package/dist/skills/llm-wiki/AGENTS.md +132 -0
  88. package/dist/skills/llm-wiki/CHANGELOG.md +459 -0
  89. package/dist/skills/llm-wiki/CLAUDE.md +109 -0
  90. package/dist/skills/llm-wiki/HERMES.md +44 -0
  91. package/dist/skills/llm-wiki/SKILL.md +1133 -0
  92. package/dist/skills/llm-wiki/assets/graph-demo.gif +0 -0
  93. package/dist/skills/llm-wiki/assets/graph-preview.png +0 -0
  94. package/dist/skills/llm-wiki/deps/LICENSE-d3.txt +13 -0
  95. package/dist/skills/llm-wiki/deps/LICENSE-marked.txt +44 -0
  96. package/dist/skills/llm-wiki/deps/LICENSE-purify.txt +568 -0
  97. package/{LICENSE → dist/skills/llm-wiki/deps/LICENSE-roughjs.txt} +1 -1
  98. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/SKILL.md +261 -0
  99. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/references/config/first-time-setup.md +106 -0
  100. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/cdp.ts +179 -0
  101. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/constants.ts +13 -0
  102. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/defuddle-converter.ts +58 -0
  103. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/html-to-markdown.ts +135 -0
  104. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/legacy-converter.ts +629 -0
  105. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/main.ts +314 -0
  106. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/markdown-conversion-shared.ts +305 -0
  107. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/media-localizer.ts +317 -0
  108. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/package.json +14 -0
  109. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/paths.ts +29 -0
  110. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/vendor/baoyu-chrome-cdp/package.json +9 -0
  111. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/vendor/baoyu-chrome-cdp/src/index.test.ts +307 -0
  112. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/vendor/baoyu-chrome-cdp/src/index.ts +523 -0
  113. package/dist/skills/llm-wiki/deps/d3.min.js +2 -0
  114. package/dist/skills/llm-wiki/deps/marked.min.js +6 -0
  115. package/dist/skills/llm-wiki/deps/purify.min.js +3 -0
  116. package/dist/skills/llm-wiki/deps/rough.min.js +7 -0
  117. package/dist/skills/llm-wiki/deps/youtube-transcript/SKILL.md +47 -0
  118. package/dist/skills/llm-wiki/deps/youtube-transcript/scripts/get_transcript.py +72 -0
  119. package/dist/skills/llm-wiki/docs/design/oriental-atlas/DESIGN.md +183 -0
  120. package/dist/skills/llm-wiki/docs/design/oriental-atlas/design-brief.md +170 -0
  121. package/dist/skills/llm-wiki/docs/design/oriental-atlas/oriental-editorial-atlas.html +1908 -0
  122. package/dist/skills/llm-wiki/docs/design/oriental-atlas/reviews/result-review.md +68 -0
  123. package/dist/skills/llm-wiki/docs/plans/2026-06-15-omp-tool-status-events-phased-plan.md +655 -0
  124. package/dist/skills/llm-wiki/docs/plans/2026-06-15-omp-tool-status-events-progress.json +913 -0
  125. package/dist/skills/llm-wiki/docs/spark/2026-06-15-omp-tool-status-events-design.md +174 -0
  126. package/dist/skills/llm-wiki/install.ps1 +87 -0
  127. package/dist/skills/llm-wiki/install.sh +722 -0
  128. package/dist/skills/llm-wiki/package-lock.json +10309 -0
  129. package/dist/skills/llm-wiki/package.json +24 -0
  130. package/dist/skills/llm-wiki/packages/graph-engine/package.json +33 -0
  131. package/dist/skills/llm-wiki/packages/graph-engine/src/anim/.gitkeep +1 -0
  132. package/dist/skills/llm-wiki/packages/graph-engine/src/anim/index.ts +179 -0
  133. package/dist/skills/llm-wiki/packages/graph-engine/src/diff.ts +121 -0
  134. package/dist/skills/llm-wiki/packages/graph-engine/src/graph-node.ts +37 -0
  135. package/dist/skills/llm-wiki/packages/graph-engine/src/index.ts +140 -0
  136. package/dist/skills/llm-wiki/packages/graph-engine/src/model/atlas.ts +18 -0
  137. package/dist/skills/llm-wiki/packages/graph-engine/src/model/index.ts +6 -0
  138. package/dist/skills/llm-wiki/packages/graph-engine/src/model/labels.ts +11 -0
  139. package/dist/skills/llm-wiki/packages/graph-engine/src/model/learning.ts +8 -0
  140. package/dist/skills/llm-wiki/packages/graph-engine/src/model/legacy-helpers.ts +1373 -0
  141. package/dist/skills/llm-wiki/packages/graph-engine/src/model/queue.ts +7 -0
  142. package/dist/skills/llm-wiki/packages/graph-engine/src/model/storage.ts +4 -0
  143. package/dist/skills/llm-wiki/packages/graph-engine/src/model/visibility.ts +9 -0
  144. package/dist/skills/llm-wiki/packages/graph-engine/src/render/.gitkeep +1 -0
  145. package/dist/skills/llm-wiki/packages/graph-engine/src/render/index.ts +59 -0
  146. package/dist/skills/llm-wiki/packages/graph-engine/src/render/legend.ts +25 -0
  147. package/dist/skills/llm-wiki/packages/graph-engine/src/render/model.ts +593 -0
  148. package/dist/skills/llm-wiki/packages/graph-engine/src/render/preview.ts +65 -0
  149. package/dist/skills/llm-wiki/packages/graph-engine/src/render/search.ts +48 -0
  150. package/dist/skills/llm-wiki/packages/graph-engine/src/render/static-renderer.ts +2783 -0
  151. package/dist/skills/llm-wiki/packages/graph-engine/src/render/toolbar.ts +40 -0
  152. package/dist/skills/llm-wiki/packages/graph-engine/src/render/viewport.ts +272 -0
  153. package/dist/skills/llm-wiki/packages/graph-engine/src/select/.gitkeep +1 -0
  154. package/dist/skills/llm-wiki/packages/graph-engine/src/select/index.ts +189 -0
  155. package/dist/skills/llm-wiki/packages/graph-engine/src/sim/index.ts +298 -0
  156. package/dist/skills/llm-wiki/packages/graph-engine/src/sim/pins.ts +96 -0
  157. package/dist/skills/llm-wiki/packages/graph-engine/src/themes/.gitkeep +1 -0
  158. package/dist/skills/llm-wiki/packages/graph-engine/src/themes/index.ts +8 -0
  159. package/dist/skills/llm-wiki/packages/graph-engine/src/themes/tokens.ts +107 -0
  160. package/dist/skills/llm-wiki/packages/graph-engine/src/types.ts +313 -0
  161. package/dist/skills/llm-wiki/packages/graph-engine/test/anim.test.ts +100 -0
  162. package/dist/skills/llm-wiki/packages/graph-engine/test/diff.test.ts +133 -0
  163. package/dist/skills/llm-wiki/packages/graph-engine/test/helpers.test.ts +275 -0
  164. package/dist/skills/llm-wiki/packages/graph-engine/test/learning.test.ts +259 -0
  165. package/dist/skills/llm-wiki/packages/graph-engine/test/preview.test.ts +56 -0
  166. package/dist/skills/llm-wiki/packages/graph-engine/test/queue.test.ts +114 -0
  167. package/dist/skills/llm-wiki/packages/graph-engine/test/render-model.test.ts +322 -0
  168. package/dist/skills/llm-wiki/packages/graph-engine/test/runtime-state.test.ts +281 -0
  169. package/dist/skills/llm-wiki/packages/graph-engine/test/search-and-legend.test.ts +111 -0
  170. package/dist/skills/llm-wiki/packages/graph-engine/test/select.test.ts +168 -0
  171. package/dist/skills/llm-wiki/packages/graph-engine/test/sim.test.ts +123 -0
  172. package/dist/skills/llm-wiki/packages/graph-engine/test/themes.test.ts +62 -0
  173. package/dist/skills/llm-wiki/packages/graph-engine/test/toolbar.test.ts +64 -0
  174. package/dist/skills/llm-wiki/packages/graph-engine/test/viewport.test.ts +167 -0
  175. package/dist/skills/llm-wiki/packages/graph-engine/tsconfig.json +17 -0
  176. package/dist/skills/llm-wiki/packages/graph-engine/vite.config.ts +15 -0
  177. package/dist/skills/llm-wiki/platforms/claude/CLAUDE.md +37 -0
  178. package/dist/skills/llm-wiki/platforms/claude/companions/llm-wiki-upgrade/SKILL.md +95 -0
  179. package/dist/skills/llm-wiki/platforms/codex/AGENTS.md +23 -0
  180. package/dist/skills/llm-wiki/scripts/adapter-state.sh +424 -0
  181. package/dist/skills/llm-wiki/scripts/build-graph-data.sh +395 -0
  182. package/dist/skills/llm-wiki/scripts/build-graph-html.sh +453 -0
  183. package/dist/skills/llm-wiki/scripts/cache.sh +352 -0
  184. package/dist/skills/llm-wiki/scripts/create-source-page.sh +100 -0
  185. package/dist/skills/llm-wiki/scripts/delete-helper.sh +68 -0
  186. package/dist/skills/llm-wiki/scripts/graph-analysis.js +732 -0
  187. package/dist/skills/llm-wiki/scripts/hook-session-start.sh +46 -0
  188. package/dist/skills/llm-wiki/scripts/init-wiki.sh +95 -0
  189. package/dist/skills/llm-wiki/scripts/lib/source-signal-eligibility.js +158 -0
  190. package/dist/skills/llm-wiki/scripts/lint-fix.sh +114 -0
  191. package/dist/skills/llm-wiki/scripts/lint-runner.sh +217 -0
  192. package/dist/skills/llm-wiki/scripts/runtime-context.sh +77 -0
  193. package/dist/skills/llm-wiki/scripts/shared-config.sh +83 -0
  194. package/dist/skills/llm-wiki/scripts/source-record-contract.tsv +10 -0
  195. package/dist/skills/llm-wiki/scripts/source-registry.sh +349 -0
  196. package/dist/skills/llm-wiki/scripts/source-registry.tsv +10 -0
  197. package/dist/skills/llm-wiki/scripts/source-signal-coverage.js +83 -0
  198. package/dist/skills/llm-wiki/scripts/validate-step1.sh +144 -0
  199. package/dist/skills/llm-wiki/scripts/wiki-compat.sh +267 -0
  200. package/dist/skills/llm-wiki/setup.sh +8 -0
  201. package/dist/skills/llm-wiki/templates/entity-template.md +30 -0
  202. package/dist/skills/llm-wiki/templates/graph-styles/wash/footer.html +27 -0
  203. package/dist/skills/llm-wiki/templates/graph-styles/wash/graph-wash-helpers.js +1326 -0
  204. package/dist/skills/llm-wiki/templates/graph-styles/wash/graph-wash.js +1009 -0
  205. package/dist/skills/llm-wiki/templates/graph-styles/wash/header.html +2002 -0
  206. package/dist/skills/llm-wiki/templates/index-en-template.md +51 -0
  207. package/dist/skills/llm-wiki/templates/index-template.md +51 -0
  208. package/dist/skills/llm-wiki/templates/log-en-template.md +11 -0
  209. package/dist/skills/llm-wiki/templates/log-template.md +11 -0
  210. package/dist/skills/llm-wiki/templates/overview-en-template.md +41 -0
  211. package/dist/skills/llm-wiki/templates/overview-template.md +41 -0
  212. package/dist/skills/llm-wiki/templates/purpose-en-template.md +16 -0
  213. package/dist/skills/llm-wiki/templates/purpose-template.md +16 -0
  214. package/dist/skills/llm-wiki/templates/query-template.md +19 -0
  215. package/dist/skills/llm-wiki/templates/schema-template.md +185 -0
  216. package/dist/skills/llm-wiki/templates/source-template.md +51 -0
  217. package/dist/skills/llm-wiki/templates/synthesis-template.md +25 -0
  218. package/dist/skills/llm-wiki/templates/topic-template.md +35 -0
  219. package/dist/skills/llm-wiki/tests/adapter-state.sh +338 -0
  220. package/dist/skills/llm-wiki/tests/browser/graph-density-preview.mjs +53 -0
  221. package/dist/skills/llm-wiki/tests/browser/graph-html-insights.mjs +41 -0
  222. package/dist/skills/llm-wiki/tests/browser/graph-node-slim.mjs +71 -0
  223. package/dist/skills/llm-wiki/tests/browser/graph-stage-4-5.mjs +717 -0
  224. package/dist/skills/llm-wiki/tests/expected/graph-data-empty.json +60 -0
  225. package/dist/skills/llm-wiki/tests/expected/graph-data-sample.json +396 -0
  226. package/dist/skills/llm-wiki/tests/expected/graph-interactive-basic.html +1736 -0
  227. package/dist/skills/llm-wiki/tests/expected/lint-output.txt +44 -0
  228. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/index.md +1 -0
  229. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/entities/Alpha.md +10 -0
  230. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/entities/Beta.md +7 -0
  231. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/entities/Delta.md +8 -0
  232. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/entities/Gamma.md +8 -0
  233. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/queries/20260422-abc.md +10 -0
  234. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/synthesis/Crystal.md +8 -0
  235. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/topics/Overview.md +9 -0
  236. package/dist/skills/llm-wiki/tests/fixtures/graph-data-empty-wiki/wiki/entities/.gitkeep +0 -0
  237. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/purpose.md +3 -0
  238. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/entities/Attention.md +7 -0
  239. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/entities/Decoder.md +7 -0
  240. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/entities/Encoder.md +7 -0
  241. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/entities/GPT.md +7 -0
  242. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/entities/Transformer.md +13 -0
  243. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/sources/paper.md +9 -0
  244. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/topics/arch.md +12 -0
  245. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/topics/finetune.md +9 -0
  246. package/dist/skills/llm-wiki/tests/fixtures/graph-interactive-basic/wiki/graph-data.json +40 -0
  247. package/dist/skills/llm-wiki/tests/fixtures/graph-interactive-dense/wiki/graph-data.json +3965 -0
  248. package/dist/skills/llm-wiki/tests/fixtures/graph-interactive-multicomm/wiki/graph-data.json +212 -0
  249. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/index.md +14 -0
  250. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/entities/C++.md +6 -0
  251. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/entities/Lonely.md +4 -0
  252. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/entities/Other.md +8 -0
  253. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/entities/Real.md +7 -0
  254. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/sources/2026-01-01-test-source.md +15 -0
  255. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/sources/2026-02-01-inline-img.md +12 -0
  256. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/topics/AIbasic.md +3 -0
  257. package/dist/skills/llm-wiki/tests/graph-analysis-helper.regression-1.sh +237 -0
  258. package/dist/skills/llm-wiki/tests/graph-browser-stage-4-5.regression-1.sh +157 -0
  259. package/dist/skills/llm-wiki/tests/graph-build-failures.regression-1.sh +91 -0
  260. package/dist/skills/llm-wiki/tests/graph-data-confidence-merge.regression-1.sh +309 -0
  261. package/dist/skills/llm-wiki/tests/graph-data-source-paths.regression-1.sh +49 -0
  262. package/dist/skills/llm-wiki/tests/graph-html-a11y.regression-1.sh +47 -0
  263. package/dist/skills/llm-wiki/tests/graph-html-brand-link.regression-1.sh +47 -0
  264. package/dist/skills/llm-wiki/tests/graph-html-density.regression-1.sh +228 -0
  265. package/dist/skills/llm-wiki/tests/graph-html-drawer-neighbors.regression-1.sh +47 -0
  266. package/dist/skills/llm-wiki/tests/graph-html-insights.regression-1.sh +80 -0
  267. package/dist/skills/llm-wiki/tests/graph-html-long-label.regression-1.sh +92 -0
  268. package/dist/skills/llm-wiki/tests/graph-html-minimap.regression-1.sh +51 -0
  269. package/dist/skills/llm-wiki/tests/graph-html-mobile.regression-1.sh +48 -0
  270. package/dist/skills/llm-wiki/tests/graph-html-oriental-atlas-contract.regression-1.sh +94 -0
  271. package/dist/skills/llm-wiki/tests/graph-html-oriental-design-contract.regression-1.sh +82 -0
  272. package/dist/skills/llm-wiki/tests/graph-html-search.regression-1.sh +52 -0
  273. package/dist/skills/llm-wiki/tests/graph-html-styles.regression-1.sh +66 -0
  274. package/dist/skills/llm-wiki/tests/graph-html-toolbar.regression-1.sh +62 -0
  275. package/dist/skills/llm-wiki/tests/js/graph-wash-bootstrap.test.js +110 -0
  276. package/dist/skills/llm-wiki/tests/js/graph-wash-helpers.test.js +296 -0
  277. package/dist/skills/llm-wiki/tests/js/graph-wash-learning.test.js +260 -0
  278. package/dist/skills/llm-wiki/tests/js/graph-wash-queue.test.js +115 -0
  279. package/dist/skills/llm-wiki/tests/js/graph-wash-runtime-state.test.js +282 -0
  280. package/dist/skills/llm-wiki/tests/js/source-signal-coverage.test.js +48 -0
  281. package/dist/skills/llm-wiki/tests/js/source-signal-eligibility.test.js +202 -0
  282. package/dist/skills/llm-wiki/tests/lib/graph-html-engine-helpers.sh +110 -0
  283. package/dist/skills/llm-wiki/tests/lint-output.regression-1.sh +32 -0
  284. package/dist/skills/llm-wiki/tests/regression.sh +1754 -0
  285. package/dist/skills/llm-wiki/workbench/.claude/skills/.gitkeep +0 -0
  286. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/SKILL.md +590 -0
  287. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/__init__.py +1 -0
  288. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/accept_changes.py +135 -0
  289. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/comment.py +318 -0
  290. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/helpers/__init__.py +0 -0
  291. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/helpers/merge_runs.py +199 -0
  292. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/helpers/simplify_redlines.py +197 -0
  293. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/pack.py +159 -0
  294. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  295. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  296. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  297. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  298. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  299. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  300. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  301. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  302. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  303. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  304. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  305. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  306. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  307. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  308. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  309. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  310. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  311. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  312. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  313. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  314. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  315. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  316. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  317. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  318. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  319. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  320. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  321. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  322. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  323. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  324. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  325. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/mce/mc.xsd +75 -0
  326. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  327. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  328. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  329. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  330. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  331. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  332. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  333. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/soffice.py +183 -0
  334. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/unpack.py +132 -0
  335. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/validate.py +111 -0
  336. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/validators/__init__.py +15 -0
  337. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/validators/base.py +847 -0
  338. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/validators/docx.py +446 -0
  339. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/validators/pptx.py +275 -0
  340. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/validators/redlining.py +247 -0
  341. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/templates/comments.xml +3 -0
  342. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/templates/commentsExtended.xml +3 -0
  343. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  344. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/templates/commentsIds.xml +3 -0
  345. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/templates/people.xml +3 -0
  346. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/SKILL.md +314 -0
  347. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/forms.md +294 -0
  348. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/reference.md +612 -0
  349. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/check_bounding_boxes.py +65 -0
  350. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/check_fillable_fields.py +11 -0
  351. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/convert_pdf_to_images.py +33 -0
  352. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/create_validation_image.py +37 -0
  353. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/extract_form_field_info.py +122 -0
  354. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/extract_form_structure.py +115 -0
  355. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/fill_fillable_fields.py +98 -0
  356. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
  357. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/SKILL.md +232 -0
  358. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/editing.md +205 -0
  359. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/pptxgenjs.md +420 -0
  360. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/__init__.py +0 -0
  361. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/add_slide.py +195 -0
  362. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/clean.py +286 -0
  363. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/helpers/__init__.py +0 -0
  364. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/helpers/merge_runs.py +199 -0
  365. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/helpers/simplify_redlines.py +197 -0
  366. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/pack.py +159 -0
  367. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  368. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  369. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  370. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  371. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  372. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  373. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  374. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  375. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  376. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  377. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  378. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  379. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  380. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  381. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  382. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  383. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  384. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  385. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  386. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  387. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  388. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  389. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  390. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  391. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  392. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  393. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  394. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  395. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  396. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  397. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  398. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/mce/mc.xsd +75 -0
  399. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  400. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  401. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  402. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  403. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  404. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  405. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  406. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/soffice.py +183 -0
  407. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/unpack.py +132 -0
  408. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/validate.py +111 -0
  409. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/validators/__init__.py +15 -0
  410. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/validators/base.py +847 -0
  411. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/validators/docx.py +446 -0
  412. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/validators/pptx.py +275 -0
  413. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/validators/redlining.py +247 -0
  414. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/thumbnail.py +289 -0
  415. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/SKILL.md +292 -0
  416. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/helpers/__init__.py +0 -0
  417. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/helpers/merge_runs.py +199 -0
  418. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
  419. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/pack.py +159 -0
  420. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  421. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  422. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  423. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  424. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  425. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  426. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  427. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  428. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  429. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  430. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  431. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  432. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  433. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  434. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  435. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  436. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  437. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  438. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  439. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  440. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  441. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  442. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  443. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  444. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  445. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  446. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  447. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  448. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  449. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  450. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  451. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
  452. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  453. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  454. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  455. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  456. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  457. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  458. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  459. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/soffice.py +183 -0
  460. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/unpack.py +132 -0
  461. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/validate.py +111 -0
  462. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/validators/__init__.py +15 -0
  463. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/validators/base.py +847 -0
  464. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/validators/docx.py +446 -0
  465. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/validators/pptx.py +275 -0
  466. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/validators/redlining.py +247 -0
  467. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/recalc.py +184 -0
  468. package/dist/skills/llm-wiki/workbench/AGENTS.md +110 -0
  469. package/dist/skills/llm-wiki/workbench/CLAUDE.md +54 -0
  470. package/dist/skills/llm-wiki/workbench/PRODUCT.md +1268 -0
  471. package/dist/skills/llm-wiki/workbench/docs/current-kb-retrieval-design.md +587 -0
  472. package/dist/skills/llm-wiki/workbench/docs/graph-evolution-1-design.md +210 -0
  473. package/dist/skills/llm-wiki/workbench/docs/stage-2-design.md +1139 -0
  474. package/dist/skills/llm-wiki/workbench/docs/stage-3-design.md +1269 -0
  475. package/dist/skills/llm-wiki/workbench/docs/stage-3.5-design.md +1164 -0
  476. package/dist/skills/llm-wiki/workbench/docs/stage-4-design.md +504 -0
  477. package/dist/skills/llm-wiki/workbench/docs/stage-4.5-design.md +195 -0
  478. package/dist/skills/llm-wiki/workbench/docs/superpowers/specs/2026-05-28-resizable-preview-layout-design.md +165 -0
  479. package/dist/skills/llm-wiki/workbench/docs/superpowers/specs/2026-05-28-settings-panel-scroll-fix.md +50 -0
  480. package/dist/skills/llm-wiki/workbench/server/package.json +29 -0
  481. package/dist/skills/llm-wiki/workbench/server/src/agent.ts +457 -0
  482. package/dist/skills/llm-wiki/workbench/server/src/artifacts.ts +248 -0
  483. package/dist/skills/llm-wiki/workbench/server/src/auth.ts +164 -0
  484. package/dist/skills/llm-wiki/workbench/server/src/config.ts +130 -0
  485. package/dist/skills/llm-wiki/workbench/server/src/conversations.test.ts +121 -0
  486. package/dist/skills/llm-wiki/workbench/server/src/conversations.ts +255 -0
  487. package/dist/skills/llm-wiki/workbench/server/src/digest/batch.ts +189 -0
  488. package/dist/skills/llm-wiki/workbench/server/src/digest/concurrency.test.ts +36 -0
  489. package/dist/skills/llm-wiki/workbench/server/src/digest/concurrency.ts +31 -0
  490. package/dist/skills/llm-wiki/workbench/server/src/digest/subagent.ts +91 -0
  491. package/dist/skills/llm-wiki/workbench/server/src/extensions/artifacts.ts +81 -0
  492. package/dist/skills/llm-wiki/workbench/server/src/extensions/knowledge-base.ts +263 -0
  493. package/dist/skills/llm-wiki/workbench/server/src/extensions/new-wiki.ts +42 -0
  494. package/dist/skills/llm-wiki/workbench/server/src/extensions/synthesis.ts +172 -0
  495. package/dist/skills/llm-wiki/workbench/server/src/graph-watcher.test.ts +196 -0
  496. package/dist/skills/llm-wiki/workbench/server/src/graph.test.ts +84 -0
  497. package/dist/skills/llm-wiki/workbench/server/src/graph.ts +379 -0
  498. package/dist/skills/llm-wiki/workbench/server/src/index.ts +1148 -0
  499. package/dist/skills/llm-wiki/workbench/server/src/knowledge-bases.test.ts +30 -0
  500. package/dist/skills/llm-wiki/workbench/server/src/knowledge-bases.ts +321 -0
  501. package/dist/skills/llm-wiki/workbench/server/src/pages.test.ts +16 -0
  502. package/dist/skills/llm-wiki/workbench/server/src/pages.ts +158 -0
  503. package/dist/skills/llm-wiki/workbench/server/src/retrieval.test.ts +151 -0
  504. package/dist/skills/llm-wiki/workbench/server/src/retrieval.ts +427 -0
  505. package/dist/skills/llm-wiki/workbench/server/src/tool-status-events.test.ts +363 -0
  506. package/dist/skills/llm-wiki/workbench/server/src/tool-status-events.ts +616 -0
  507. package/dist/skills/llm-wiki/workbench/server/src/wiki-init.test.ts +19 -0
  508. package/dist/skills/llm-wiki/workbench/server/src/wiki-init.ts +188 -0
  509. package/dist/skills/llm-wiki/workbench/server/tsconfig.json +10 -0
  510. package/dist/skills/llm-wiki/workbench/tsconfig.json +20 -0
  511. package/dist/skills/llm-wiki/workbench/web/components.json +21 -0
  512. package/dist/skills/llm-wiki/workbench/web/eslint.config.js +22 -0
  513. package/dist/skills/llm-wiki/workbench/web/index.html +13 -0
  514. package/dist/skills/llm-wiki/workbench/web/package.json +48 -0
  515. package/dist/skills/llm-wiki/workbench/web/src/App.tsx +749 -0
  516. package/dist/skills/llm-wiki/workbench/web/src/components/AddExternalDialog.tsx +373 -0
  517. package/dist/skills/llm-wiki/workbench/web/src/components/ArtifactView.tsx +15 -0
  518. package/dist/skills/llm-wiki/workbench/web/src/components/BatchDigestPanel.tsx +106 -0
  519. package/dist/skills/llm-wiki/workbench/web/src/components/ChatPanel.tsx +821 -0
  520. package/dist/skills/llm-wiki/workbench/web/src/components/CommandMenu.tsx +65 -0
  521. package/dist/skills/llm-wiki/workbench/web/src/components/ExportButtons.tsx +54 -0
  522. package/dist/skills/llm-wiki/workbench/web/src/components/GraphPanel.tsx +516 -0
  523. package/dist/skills/llm-wiki/workbench/web/src/components/GraphReader.tsx +48 -0
  524. package/dist/skills/llm-wiki/workbench/web/src/components/GraphSelection.tsx +100 -0
  525. package/dist/skills/llm-wiki/workbench/web/src/components/MarkdownView.tsx +56 -0
  526. package/dist/skills/llm-wiki/workbench/web/src/components/NewWikiDialog.tsx +101 -0
  527. package/dist/skills/llm-wiki/workbench/web/src/components/RefMenu.tsx +40 -0
  528. package/dist/skills/llm-wiki/workbench/web/src/components/RightDrawer.tsx +227 -0
  529. package/dist/skills/llm-wiki/workbench/web/src/components/SettingsPanel.tsx +331 -0
  530. package/dist/skills/llm-wiki/workbench/web/src/components/Sidebar.tsx +436 -0
  531. package/dist/skills/llm-wiki/workbench/web/src/components/ToolHistorySummary.tsx +123 -0
  532. package/dist/skills/llm-wiki/workbench/web/src/components/ToolStatusRunway.tsx +90 -0
  533. package/dist/skills/llm-wiki/workbench/web/src/components/renderers/DownloadOnlyRenderer.tsx +88 -0
  534. package/dist/skills/llm-wiki/workbench/web/src/components/renderers/HtmlRenderer.tsx +92 -0
  535. package/dist/skills/llm-wiki/workbench/web/src/components/ui/button.tsx +52 -0
  536. package/dist/skills/llm-wiki/workbench/web/src/components/ui/command.tsx +50 -0
  537. package/dist/skills/llm-wiki/workbench/web/src/components/ui/dialog.tsx +156 -0
  538. package/dist/skills/llm-wiki/workbench/web/src/components/ui/input.tsx +21 -0
  539. package/dist/skills/llm-wiki/workbench/web/src/components/ui/tooltip.tsx +57 -0
  540. package/dist/skills/llm-wiki/workbench/web/src/index.css +1737 -0
  541. package/dist/skills/llm-wiki/workbench/web/src/lib/api.ts +648 -0
  542. package/dist/skills/llm-wiki/workbench/web/src/lib/drawer-state.ts +79 -0
  543. package/dist/skills/llm-wiki/workbench/web/src/lib/graph-reader.ts +25 -0
  544. package/dist/skills/llm-wiki/workbench/web/src/lib/graph-selection-drawer.ts +35 -0
  545. package/dist/skills/llm-wiki/workbench/web/src/lib/graph-selection.ts +96 -0
  546. package/dist/skills/llm-wiki/workbench/web/src/lib/legacy-tool-status.ts +113 -0
  547. package/dist/skills/llm-wiki/workbench/web/src/lib/sse.ts +72 -0
  548. package/dist/skills/llm-wiki/workbench/web/src/lib/tool-status-format.ts +170 -0
  549. package/dist/skills/llm-wiki/workbench/web/src/lib/tool-status-model.ts +392 -0
  550. package/dist/skills/llm-wiki/workbench/web/src/lib/utils.ts +10 -0
  551. package/dist/skills/llm-wiki/workbench/web/src/lib/wiki-links.ts +32 -0
  552. package/dist/skills/llm-wiki/workbench/web/src/main.tsx +10 -0
  553. package/dist/skills/llm-wiki/workbench/web/test/api.test.ts +61 -0
  554. package/dist/skills/llm-wiki/workbench/web/test/chat-panel-tool-status.test.tsx +26 -0
  555. package/dist/skills/llm-wiki/workbench/web/test/graph-drawer-state.test.ts +78 -0
  556. package/dist/skills/llm-wiki/workbench/web/test/graph-reader-request.test.ts +32 -0
  557. package/dist/skills/llm-wiki/workbench/web/test/graph-reader.test.ts +62 -0
  558. package/dist/skills/llm-wiki/workbench/web/test/graph-selection-drawer.test.ts +56 -0
  559. package/dist/skills/llm-wiki/workbench/web/test/graph-selection.test.ts +83 -0
  560. package/dist/skills/llm-wiki/workbench/web/test/tool-history-summary.test.tsx +124 -0
  561. package/dist/skills/llm-wiki/workbench/web/test/tool-status-format.test.ts +107 -0
  562. package/dist/skills/llm-wiki/workbench/web/test/tool-status-model.test.ts +324 -0
  563. package/dist/skills/llm-wiki/workbench/web/test/tool-status-runway.test.ts +134 -0
  564. package/dist/skills/llm-wiki/workbench/web/test/wiki-links.test.ts +23 -0
  565. package/dist/skills/llm-wiki/workbench/web/tsconfig.app.json +30 -0
  566. package/dist/skills/llm-wiki/workbench/web/tsconfig.json +7 -0
  567. package/dist/skills/llm-wiki/workbench/web/tsconfig.node.json +24 -0
  568. package/dist/skills/llm-wiki/workbench/web/vite.config.ts +26 -0
  569. package/dist/skills/mean-reviewer/SECURITY.md +23 -0
  570. package/dist/skills/mean-reviewer/SKILL.md +203 -0
  571. package/dist/skills/mean-reviewer/examples/13446_1000_Layer_Networks_for_.pdf +0 -0
  572. package/dist/skills/mean-reviewer/examples/13446_mean_reviewer.md +116 -0
  573. package/dist/skills/mean-reviewer/examples/13446_mean_reviewer_author_rebuttal_simulated.md +282 -0
  574. package/dist/skills/mean-reviewer/examples/13446_mean_reviewer_reply.md +91 -0
  575. package/dist/skills/mean-reviewer/examples/13446_official_review.json +973 -0
  576. package/dist/skills/mean-reviewer/examples/ChatGPT_AC_Roleplay.jpeg +0 -0
  577. package/dist/skills/medical-imaging-review/SKILL.md +295 -0
  578. package/dist/skills/medical-imaging-review/references/CITATION_INTEGRITY.md +233 -0
  579. package/dist/skills/medical-imaging-review/references/DOMAINS.md +302 -0
  580. package/dist/skills/medical-imaging-review/references/HALLUCINATION_PATTERNS.md +211 -0
  581. package/dist/skills/medical-imaging-review/references/MCP_SETUP.md +216 -0
  582. package/dist/skills/medical-imaging-review/references/PARADIGM.md +221 -0
  583. package/dist/skills/medical-imaging-review/references/QUALITY_CHECKLIST.md +169 -0
  584. package/dist/skills/medical-imaging-review/references/TEMPLATES.md +291 -0
  585. package/dist/skills/medical-imaging-review/references/WORKFLOW.md +289 -0
  586. package/dist/skills/mermaid-diagram/SKILL.md +379 -0
  587. package/dist/skills/meta-apply/SKILL.md +137 -0
  588. package/dist/skills/meta-optimize/SKILL.md +253 -0
  589. package/dist/skills/monitor-experiment/SKILL.md +98 -0
  590. package/dist/skills/novelty-check/SKILL.md +89 -0
  591. package/dist/skills/openalex/SKILL.md +228 -0
  592. package/dist/skills/overleaf-sync/SKILL.md +220 -0
  593. package/dist/skills/paper-claim-audit/SKILL.md +340 -0
  594. package/dist/skills/paper-compile/SKILL.md +253 -0
  595. package/dist/skills/paper-figure/SKILL.md +279 -0
  596. package/dist/skills/paper-illustration/SKILL.md +690 -0
  597. package/dist/skills/paper-illustration-image2/SKILL.md +383 -0
  598. package/dist/skills/paper-illustration-image2/scripts/paper_illustration_image2.py +255 -0
  599. package/dist/skills/paper-plan/SKILL.md +278 -0
  600. package/dist/skills/paper-poster/SKILL.md +19 -0
  601. package/dist/skills/paper-poster-html/DESIGN_FINAL.md +176 -0
  602. package/dist/skills/paper-poster-html/IMPLEMENTATION_CONVENTIONS.md +161 -0
  603. package/dist/skills/paper-poster-html/LICENSES/posterly-MIT.txt +21 -0
  604. package/dist/skills/paper-poster-html/NOTICE.md +57 -0
  605. package/dist/skills/paper-poster-html/SKILL.md +357 -0
  606. package/dist/skills/paper-poster-html/scripts/_posterly/__init__.py +0 -0
  607. package/dist/skills/paper-poster-html/scripts/_posterly/canvas.py +200 -0
  608. package/dist/skills/paper-poster-html/scripts/_posterly/measure.py +588 -0
  609. package/dist/skills/paper-poster-html/scripts/_posterly/polish.py +498 -0
  610. package/dist/skills/paper-poster-html/scripts/_posterly/preflight.py +489 -0
  611. package/dist/skills/paper-poster-html/scripts/_posterly/render.py +215 -0
  612. package/dist/skills/paper-poster-html/scripts/_posterly/textutil.py +16 -0
  613. package/dist/skills/paper-poster-html/scripts/_posterly/verify_final.py +171 -0
  614. package/dist/skills/paper-poster-html/scripts/asset_check.py +897 -0
  615. package/dist/skills/paper-poster-html/scripts/extract_pdf_figures.py +666 -0
  616. package/dist/skills/paper-poster-html/scripts/poster_check.py +251 -0
  617. package/dist/skills/paper-poster-html/scripts/preprocess_figures.py +238 -0
  618. package/dist/skills/paper-poster-html/scripts/render_preview.py +217 -0
  619. package/dist/skills/paper-poster-html/scripts/run_gates.py +556 -0
  620. package/dist/skills/paper-poster-html/scripts/style_check.py +1324 -0
  621. package/dist/skills/paper-poster-html/templates/COMPONENTS.md +462 -0
  622. package/dist/skills/paper-poster-html/templates/landscape_4col.html +1032 -0
  623. package/dist/skills/paper-poster-html/templates/landscape_hero.html +1046 -0
  624. package/dist/skills/paper-poster-html/templates/portrait_2col.html +947 -0
  625. package/dist/skills/paper-poster-html/templates/tokens/acl.json +9 -0
  626. package/dist/skills/paper-poster-html/templates/tokens/cvpr.json +9 -0
  627. package/dist/skills/paper-poster-html/templates/tokens/generic.json +9 -0
  628. package/dist/skills/paper-poster-html/templates/tokens/iclr.json +9 -0
  629. package/dist/skills/paper-poster-html/templates/tokens/icml.json +9 -0
  630. package/dist/skills/paper-poster-html/templates/tokens/neurips.json +9 -0
  631. package/dist/skills/paper-slide-deck/SKILL.md +464 -0
  632. package/dist/skills/paper-slide-deck/references/analysis-framework.md +392 -0
  633. package/dist/skills/paper-slide-deck/references/base-prompt.md +70 -0
  634. package/dist/skills/paper-slide-deck/references/content-rules.md +95 -0
  635. package/dist/skills/paper-slide-deck/references/figure-container-template.md +177 -0
  636. package/dist/skills/paper-slide-deck/references/modification-guide.md +85 -0
  637. package/dist/skills/paper-slide-deck/references/outline-template.md +437 -0
  638. package/dist/skills/paper-slide-deck/references/styles/academic-paper.md +109 -0
  639. package/dist/skills/paper-slide-deck/references/styles/blueprint.md +67 -0
  640. package/dist/skills/paper-slide-deck/references/styles/bold-editorial.md +70 -0
  641. package/dist/skills/paper-slide-deck/references/styles/chalkboard.md +68 -0
  642. package/dist/skills/paper-slide-deck/references/styles/corporate.md +69 -0
  643. package/dist/skills/paper-slide-deck/references/styles/dark-atmospheric.md +69 -0
  644. package/dist/skills/paper-slide-deck/references/styles/editorial-infographic.md +73 -0
  645. package/dist/skills/paper-slide-deck/references/styles/fantasy-animation.md +69 -0
  646. package/dist/skills/paper-slide-deck/references/styles/intuition-machine.md +72 -0
  647. package/dist/skills/paper-slide-deck/references/styles/minimal.md +64 -0
  648. package/dist/skills/paper-slide-deck/references/styles/notion.md +69 -0
  649. package/dist/skills/paper-slide-deck/references/styles/pixel-art.md +67 -0
  650. package/dist/skills/paper-slide-deck/references/styles/scientific.md +73 -0
  651. package/dist/skills/paper-slide-deck/references/styles/sketch-notes.md +66 -0
  652. package/dist/skills/paper-slide-deck/references/styles/vector-illustration.md +72 -0
  653. package/dist/skills/paper-slide-deck/references/styles/vintage.md +73 -0
  654. package/dist/skills/paper-slide-deck/references/styles/watercolor.md +68 -0
  655. package/dist/skills/paper-slide-deck/scripts/apply-template.ts +282 -0
  656. package/dist/skills/paper-slide-deck/scripts/detect-figures.ts +283 -0
  657. package/dist/skills/paper-slide-deck/scripts/extract-figure.ts +140 -0
  658. package/dist/skills/paper-slide-deck/scripts/generate-slides.py +182 -0
  659. package/dist/skills/paper-slide-deck/scripts/merge-to-pdf.ts +116 -0
  660. package/dist/skills/paper-slide-deck/scripts/merge-to-pptx.ts +137 -0
  661. package/dist/skills/paper-slide-deck/scripts/package-lock.json +899 -0
  662. package/dist/skills/paper-slide-deck/scripts/package.json +8 -0
  663. package/dist/skills/paper-slides/SKILL.md +571 -0
  664. package/dist/skills/paper-talk/SKILL.md +381 -0
  665. package/dist/skills/paper-write/SKILL.md +411 -0
  666. package/dist/skills/paper-write/templates/IEEEtran.bst +2409 -0
  667. package/dist/skills/paper-write/templates/IEEEtran.cls +6347 -0
  668. package/dist/skills/paper-write/templates/aaai2026.bst +1493 -0
  669. package/dist/skills/paper-write/templates/aaai2026.sty +315 -0
  670. package/dist/skills/paper-write/templates/aaai2026.tex +952 -0
  671. package/dist/skills/paper-write/templates/acl.sty +312 -0
  672. package/dist/skills/paper-write/templates/acl2026.tex +377 -0
  673. package/dist/skills/paper-write/templates/acl_natbib.bst +1940 -0
  674. package/dist/skills/paper-write/templates/acm.bst +3081 -0
  675. package/dist/skills/paper-write/templates/acm_mm2026.tex +204 -0
  676. package/dist/skills/paper-write/templates/acmart.cls +3520 -0
  677. package/dist/skills/paper-write/templates/cvpr.bst +1448 -0
  678. package/dist/skills/paper-write/templates/cvpr.sty +508 -0
  679. package/dist/skills/paper-write/templates/cvpr2026.tex +63 -0
  680. package/dist/skills/paper-write/templates/iclr2026.tex +84 -0
  681. package/dist/skills/paper-write/templates/iclr2026_conference.bst +1440 -0
  682. package/dist/skills/paper-write/templates/iclr2026_conference.sty +246 -0
  683. package/dist/skills/paper-write/templates/icml2025.tex +87 -0
  684. package/dist/skills/paper-write/templates/icml2026.sty +767 -0
  685. package/dist/skills/paper-write/templates/icml2026.tex +662 -0
  686. package/dist/skills/paper-write/templates/ieee_conference.tex +89 -0
  687. package/dist/skills/paper-write/templates/ieee_journal.tex +93 -0
  688. package/dist/skills/paper-write/templates/math_commands.tex +48 -0
  689. package/dist/skills/paper-write/templates/neurips2025.tex +80 -0
  690. package/dist/skills/paper-write/templates/neurips2026.tex +493 -0
  691. package/dist/skills/paper-write/templates/neurips_2026.sty +437 -0
  692. package/dist/skills/paper-writing/SKILL.md +632 -0
  693. package/dist/skills/patent-novelty-check/SKILL.md +153 -0
  694. package/dist/skills/patent-pipeline/SKILL.md +344 -0
  695. package/dist/skills/patent-review/SKILL.md +202 -0
  696. package/dist/skills/pixel-art/SKILL.md +139 -0
  697. package/dist/skills/pre-submission-reviewer/SKILL.md +247 -0
  698. package/dist/skills/pre-submission-reviewer/references/forbidden-patterns.md +163 -0
  699. package/dist/skills/pre-submission-reviewer/references/grammar-rules.md +135 -0
  700. package/dist/skills/pre-submission-reviewer/references/latex-rules.md +158 -0
  701. package/dist/skills/pre-submission-reviewer/references/logic-and-structure.md +125 -0
  702. package/dist/skills/pre-submission-reviewer/references/section-guides.md +169 -0
  703. package/dist/skills/prior-art-search/SKILL.md +146 -0
  704. package/dist/skills/proof-checker/SKILL.md +499 -0
  705. package/dist/skills/proof-writer/SKILL.md +222 -0
  706. package/dist/skills/qzcli/SKILL.md +316 -0
  707. package/dist/skills/rebuttal/SKILL.md +304 -0
  708. package/dist/skills/render-html/SKILL.md +299 -0
  709. package/dist/skills/render-html/scripts/render_html.py +905 -0
  710. package/dist/skills/render-html/scripts/templates/academic.html +342 -0
  711. package/dist/skills/render-html/scripts/templates/dashboard.html +333 -0
  712. package/dist/skills/research-lit/SKILL.md +353 -0
  713. package/dist/skills/research-paper-writing/SKILL.md +99 -0
  714. package/dist/skills/research-paper-writing/agents/openai.yaml +4 -0
  715. package/dist/skills/research-paper-writing/references/abstract.md +102 -0
  716. package/dist/skills/research-paper-writing/references/conclusion.md +35 -0
  717. package/dist/skills/research-paper-writing/references/does-my-writing-flow-source.md +45 -0
  718. package/dist/skills/research-paper-writing/references/examples/abstract/template-a.md +21 -0
  719. package/dist/skills/research-paper-writing/references/examples/abstract/template-b.md +34 -0
  720. package/dist/skills/research-paper-writing/references/examples/abstract/template-c.md +28 -0
  721. package/dist/skills/research-paper-writing/references/examples/abstract-examples.md +13 -0
  722. package/dist/skills/research-paper-writing/references/examples/index.md +21 -0
  723. package/dist/skills/research-paper-writing/references/examples/introduction/novel-task-challenge-decomposition.md +18 -0
  724. package/dist/skills/research-paper-writing/references/examples/introduction/pipeline-not-recommended-abstract-only.md +30 -0
  725. package/dist/skills/research-paper-writing/references/examples/introduction/pipeline-version-1-one-contribution-multi-advantages.md +30 -0
  726. package/dist/skills/research-paper-writing/references/examples/introduction/pipeline-version-2-two-contributions.md +34 -0
  727. package/dist/skills/research-paper-writing/references/examples/introduction/pipeline-version-3-new-module-on-existing-pipeline.md +18 -0
  728. package/dist/skills/research-paper-writing/references/examples/introduction/pipeline-version-4-observation-driven.md +16 -0
  729. package/dist/skills/research-paper-writing/references/examples/introduction/technical-challenge-version-1-existing-task.md +32 -0
  730. package/dist/skills/research-paper-writing/references/examples/introduction/technical-challenge-version-2-existing-task-insight-backed-by-traditional.md +33 -0
  731. package/dist/skills/research-paper-writing/references/examples/introduction/technical-challenge-version-3-novel-task.md +21 -0
  732. package/dist/skills/research-paper-writing/references/examples/introduction/version-1-task-then-application.md +14 -0
  733. package/dist/skills/research-paper-writing/references/examples/introduction/version-2-application-first.md +10 -0
  734. package/dist/skills/research-paper-writing/references/examples/introduction/version-3-general-to-specific-setting.md +14 -0
  735. package/dist/skills/research-paper-writing/references/examples/introduction/version-4-open-with-challenge.md +20 -0
  736. package/dist/skills/research-paper-writing/references/examples/introduction-examples.md +25 -0
  737. package/dist/skills/research-paper-writing/references/examples/method/example-of-the-three-elements.md +67 -0
  738. package/dist/skills/research-paper-writing/references/examples/method/method-writing-common-issues-note.md +10 -0
  739. package/dist/skills/research-paper-writing/references/examples/method/module-design-instant-ngp.md +55 -0
  740. package/dist/skills/research-paper-writing/references/examples/method/module-motivation-patterns.md +15 -0
  741. package/dist/skills/research-paper-writing/references/examples/method/module-triad-neural-body.md +19 -0
  742. package/dist/skills/research-paper-writing/references/examples/method/neural-body-annotated-figure-text.md +66 -0
  743. package/dist/skills/research-paper-writing/references/examples/method/overview-template.md +30 -0
  744. package/dist/skills/research-paper-writing/references/examples/method/pre-writing-questions.md +17 -0
  745. package/dist/skills/research-paper-writing/references/examples/method/section-skeleton.md +9 -0
  746. package/dist/skills/research-paper-writing/references/examples/method-examples.md +24 -0
  747. package/dist/skills/research-paper-writing/references/experiments.md +102 -0
  748. package/dist/skills/research-paper-writing/references/introduction.md +408 -0
  749. package/dist/skills/research-paper-writing/references/method.md +196 -0
  750. package/dist/skills/research-paper-writing/references/paper-review.md +86 -0
  751. package/dist/skills/research-paper-writing/references/related-work.md +41 -0
  752. package/dist/skills/research-pipeline/SKILL.md +257 -0
  753. package/dist/skills/research-proposal/SKILL.md +573 -0
  754. package/dist/skills/research-proposal/assets/proposal_scaffold_en.md +323 -0
  755. package/dist/skills/research-proposal/assets/proposal_scaffold_zh.md +346 -0
  756. package/dist/skills/research-proposal/references/DOMAIN_TEMPLATES.md +518 -0
  757. package/dist/skills/research-proposal/references/LITERATURE_WORKFLOW.md +529 -0
  758. package/dist/skills/research-proposal/references/QUALITY_CHECKLIST.md +325 -0
  759. package/dist/skills/research-proposal/references/STRUCTURE_GUIDE.md +398 -0
  760. package/dist/skills/research-proposal/references/WRITING_STYLE_GUIDE.md +661 -0
  761. package/dist/skills/research-refine/SKILL.md +716 -0
  762. package/dist/skills/research-refine-pipeline/SKILL.md +186 -0
  763. package/dist/skills/research-review/SKILL.md +119 -0
  764. package/dist/skills/research-wiki/SKILL.md +373 -0
  765. package/dist/skills/resubmit-pipeline/SKILL.md +427 -0
  766. package/dist/skills/result-to-claim/SKILL.md +190 -0
  767. package/dist/skills/run-experiment/SKILL.md +227 -0
  768. package/dist/skills/scientific-figure-making/SKILL.md +38 -0
  769. package/dist/skills/scientific-figure-making/references/api.md +152 -0
  770. package/dist/skills/scientific-figure-making/references/common-patterns.md +74 -0
  771. package/dist/skills/scientific-figure-making/references/demos.md +30 -0
  772. package/dist/skills/scientific-figure-making/references/design-theory.md +138 -0
  773. package/dist/skills/scientific-figure-making/references/tutorials.md +135 -0
  774. package/dist/skills/semantic-scholar/SKILL.md +219 -0
  775. package/dist/skills/serverless-modal/SKILL.md +324 -0
  776. package/dist/skills/slides-polish/SKILL.md +563 -0
  777. package/dist/skills/specification-writing/SKILL.md +211 -0
  778. package/dist/skills/strategist/SKILL.md +670 -0
  779. package/dist/skills/strategist/references/quality_standards.md +336 -0
  780. package/dist/skills/strategist/references/search_strategy.md +459 -0
  781. package/dist/skills/strategist/scripts/evaluate_samples.py +300 -0
  782. package/dist/skills/strategist/scripts/gap_analysis.py +399 -0
  783. package/dist/skills/system-profile/SKILL.md +103 -0
  784. package/dist/skills/tech-paper-template/SKILL.md +192 -0
  785. package/dist/skills/tech-paper-template/references/consistency-checks.md +166 -0
  786. package/dist/skills/tech-paper-template/references/paper-types.md +127 -0
  787. package/dist/skills/tech-paper-template/references/thinking-template.md +194 -0
  788. package/dist/skills/tech-paper-template/references/worked-examples.md +124 -0
  789. package/dist/skills/training-check/SKILL.md +83 -0
  790. package/dist/skills/vast-gpu/SKILL.md +380 -0
  791. package/dist/skills/vibe-research-workflow/SKILL.md +189 -0
  792. package/dist/skills/vibe-research-workflow/references/behavior-guidelines.md +149 -0
  793. package/dist/skills/vibe-research-workflow/references/tool-selection.md +144 -0
  794. package/dist/skills/vibe-research-workflow/references/vibe-coding.md +154 -0
  795. package/dist/skills/vibe-research-workflow/references/vibe-figure.md +131 -0
  796. package/dist/skills/vibe-research-workflow/references/vibe-writing.md +181 -0
  797. package/dist/skills/wiki-enrich/SKILL.md +254 -0
  798. package/dist/skills/writing-systems-papers/SKILL.md +184 -0
  799. package/package.json +1 -1
@@ -0,0 +1,1908 @@
1
+ <!doctype html>
2
+ <html lang="zh-Hans">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>llm-wiki 知识舆图 · 东方编辑部</title>
7
+ <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%238B2E24'/%3E%3Cpath d='M10 43 C17 34 22 25 29 31 C35 18 42 14 54 43' fill='none' stroke='%23FFFDF7' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 49 C24 45 34 46 50 49' fill='none' stroke='%23FFFDF7' stroke-width='3' stroke-linecap='round' opacity='.75'/%3E%3Ccircle cx='43' cy='18' r='3' fill='%23FFFDF7'/%3E%3C/svg%3E">
8
+ <style>
9
+ :root {
10
+ color-scheme: light;
11
+ --bg: #f4efe4;
12
+ --surface: #fffdf7;
13
+ --surface-2: #f8f1e4;
14
+ --vellum: #e9ddc9;
15
+ --mist: #ece5d8;
16
+ --ink: #241f1a;
17
+ --muted: #6f6559;
18
+ --faint: #9b8f7e;
19
+ --rule: #d8cdbb;
20
+ --line: #cfc4b1;
21
+ --cinnabar: #8b2e24;
22
+ --cinnabar-2: #a23b2a;
23
+ --jade: #4b7564;
24
+ --green: #3e6b4b;
25
+ --night: #315f72;
26
+ --amber: #b7791f;
27
+ --violet: #6f557f;
28
+ --shadow: 0 18px 36px rgba(36, 31, 26, .11);
29
+ --soft-shadow: 0 10px 24px rgba(36, 31, 26, .08);
30
+ --radius: 12px;
31
+ --font-serif: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
32
+ --font-ui: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
33
+ --font-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
34
+ }
35
+
36
+ * {
37
+ box-sizing: border-box;
38
+ }
39
+
40
+ html,
41
+ body {
42
+ width: 100%;
43
+ min-height: 100%;
44
+ margin: 0;
45
+ background:
46
+ radial-gradient(circle at 18% 12%, rgba(255, 253, 247, .72), transparent 28%),
47
+ radial-gradient(circle at 90% 18%, rgba(75, 117, 100, .12), transparent 28%),
48
+ linear-gradient(145deg, #f4efe4 0%, #ece4d4 48%, #f6f0e4 100%);
49
+ color: var(--ink);
50
+ font-family: var(--font-ui);
51
+ overflow: hidden;
52
+ }
53
+
54
+ body::before,
55
+ body::after {
56
+ content: "";
57
+ position: fixed;
58
+ inset: 0;
59
+ pointer-events: none;
60
+ z-index: 0;
61
+ }
62
+
63
+ body::before {
64
+ opacity: .42;
65
+ background-image:
66
+ repeating-linear-gradient(0deg, transparent 0 31px, rgba(104, 88, 66, .055) 31px 32px),
67
+ repeating-linear-gradient(90deg, transparent 0 31px, rgba(104, 88, 66, .042) 31px 32px),
68
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .48 0 0 0 0 .34 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
69
+ mix-blend-mode: multiply;
70
+ }
71
+
72
+ body::after {
73
+ background:
74
+ linear-gradient(90deg, transparent 0 86px, rgba(139, 46, 36, .22) 86px 87px, transparent 87px),
75
+ linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 22%);
76
+ }
77
+
78
+ button,
79
+ input,
80
+ a {
81
+ font: inherit;
82
+ }
83
+
84
+ button,
85
+ input,
86
+ a {
87
+ min-height: 44px;
88
+ }
89
+
90
+ a {
91
+ color: inherit;
92
+ display: inline-flex;
93
+ align-items: center;
94
+ }
95
+
96
+ button:focus-visible,
97
+ input:focus-visible,
98
+ [tabindex]:focus-visible {
99
+ outline: 2px solid rgba(139, 46, 36, .72);
100
+ outline-offset: 3px;
101
+ }
102
+
103
+ .app {
104
+ position: relative;
105
+ z-index: 1;
106
+ height: 100vh;
107
+ display: grid;
108
+ grid-template-columns: minmax(236px, 276px) minmax(520px, 1fr) minmax(300px, 370px);
109
+ grid-template-rows: auto 1fr;
110
+ gap: 16px;
111
+ padding: 14px 16px 16px 24px;
112
+ }
113
+
114
+ .topbar {
115
+ grid-column: 1 / -1;
116
+ display: grid;
117
+ grid-template-columns: minmax(240px, 1fr) auto;
118
+ gap: 18px;
119
+ align-items: center;
120
+ padding: 14px 16px 13px 18px;
121
+ background: rgba(255, 253, 247, .82);
122
+ border: 1px solid rgba(216, 205, 187, .92);
123
+ border-radius: var(--radius);
124
+ box-shadow: var(--soft-shadow);
125
+ backdrop-filter: blur(8px);
126
+ }
127
+
128
+ .brand {
129
+ min-width: 0;
130
+ display: flex;
131
+ align-items: center;
132
+ gap: 14px;
133
+ }
134
+
135
+ .seal {
136
+ width: 42px;
137
+ height: 42px;
138
+ display: grid;
139
+ place-items: center;
140
+ flex: 0 0 auto;
141
+ border-radius: 10px;
142
+ background:
143
+ linear-gradient(135deg, rgba(139, 46, 36, .95), rgba(162, 59, 42, .95)),
144
+ var(--cinnabar);
145
+ color: #fffdf7;
146
+ box-shadow: inset 0 0 0 1px rgba(255, 253, 247, .28), 0 10px 18px rgba(139, 46, 36, .22);
147
+ }
148
+
149
+ .seal svg {
150
+ width: 29px;
151
+ height: 29px;
152
+ display: block;
153
+ }
154
+
155
+ .brand h1 {
156
+ margin: 0;
157
+ font-family: var(--font-serif);
158
+ font-size: clamp(21px, 2vw, 31px);
159
+ line-height: 1.08;
160
+ letter-spacing: 0;
161
+ white-space: nowrap;
162
+ overflow: hidden;
163
+ text-overflow: ellipsis;
164
+ }
165
+
166
+ .brand p {
167
+ margin: 6px 0 0;
168
+ color: var(--muted);
169
+ font-size: 13px;
170
+ line-height: 1.4;
171
+ overflow: hidden;
172
+ text-overflow: ellipsis;
173
+ white-space: nowrap;
174
+ }
175
+
176
+ .status-strip {
177
+ display: flex;
178
+ align-items: center;
179
+ justify-content: flex-end;
180
+ gap: 8px;
181
+ flex-wrap: wrap;
182
+ }
183
+
184
+ .status-pill,
185
+ .chip {
186
+ display: inline-flex;
187
+ align-items: center;
188
+ gap: 7px;
189
+ min-height: 32px;
190
+ padding: 6px 10px;
191
+ border-radius: 999px;
192
+ border: 1px solid rgba(216, 205, 187, .92);
193
+ background: rgba(248, 241, 228, .84);
194
+ color: var(--muted);
195
+ font-size: 12px;
196
+ white-space: nowrap;
197
+ }
198
+
199
+ button[disabled],
200
+ .is-disabled {
201
+ cursor: not-allowed;
202
+ opacity: .62;
203
+ filter: saturate(.65);
204
+ }
205
+
206
+ button[disabled],
207
+ .is-disabled,
208
+ .node.is-disabled {
209
+ border-style: dashed;
210
+ background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(111, 101, 89, .08) 8px 10px);
211
+ }
212
+
213
+ .is-disabled::after {
214
+ content: "不可用";
215
+ display: inline-flex;
216
+ align-items: center;
217
+ min-height: 20px;
218
+ margin-left: 8px;
219
+ padding: 0 7px;
220
+ border-radius: 999px;
221
+ border: 1px solid rgba(111, 101, 89, .36);
222
+ color: var(--muted);
223
+ font-family: var(--font-ui);
224
+ font-size: 11px;
225
+ font-weight: 700;
226
+ letter-spacing: 0;
227
+ }
228
+
229
+ .status-dot {
230
+ width: 7px;
231
+ height: 7px;
232
+ border-radius: 99px;
233
+ background: var(--green);
234
+ box-shadow: 0 0 0 4px rgba(62, 107, 75, .12);
235
+ }
236
+
237
+ .icon-button,
238
+ .ghost-button,
239
+ .primary-button,
240
+ .state-button,
241
+ .nav-item,
242
+ .node {
243
+ border: 0;
244
+ cursor: pointer;
245
+ color: inherit;
246
+ }
247
+
248
+ .icon-button {
249
+ width: 44px;
250
+ height: 44px;
251
+ border-radius: 10px;
252
+ border: 1px solid rgba(216, 205, 187, .94);
253
+ background: rgba(255, 253, 247, .82);
254
+ display: inline-grid;
255
+ place-items: center;
256
+ color: var(--muted);
257
+ }
258
+
259
+ .ghost-button,
260
+ .primary-button,
261
+ .state-button {
262
+ border-radius: 10px;
263
+ padding: 0 12px;
264
+ border: 1px solid rgba(216, 205, 187, .94);
265
+ background: rgba(255, 253, 247, .82);
266
+ color: var(--ink);
267
+ display: inline-flex;
268
+ align-items: center;
269
+ gap: 8px;
270
+ justify-content: center;
271
+ }
272
+
273
+ .primary-button {
274
+ border-color: var(--cinnabar);
275
+ background: var(--cinnabar);
276
+ color: #fffdf7;
277
+ box-shadow: 0 10px 18px rgba(139, 46, 36, .18);
278
+ }
279
+
280
+ .ghost-button:hover,
281
+ .state-button:hover,
282
+ .icon-button:hover,
283
+ .nav-item:hover,
284
+ .node:hover {
285
+ transform: translateY(-1px);
286
+ border-color: rgba(139, 46, 36, .42);
287
+ box-shadow: 0 8px 16px rgba(36, 31, 26, .08);
288
+ }
289
+
290
+ .github-button {
291
+ font-weight: 700;
292
+ color: var(--ink);
293
+ }
294
+
295
+ .github-button svg {
296
+ width: 18px;
297
+ height: 18px;
298
+ flex: 0 0 auto;
299
+ }
300
+
301
+ .mobile-atlas-preview,
302
+ .sidebar,
303
+ .drawer,
304
+ .canvas-card {
305
+ min-height: 0;
306
+ border: 1px solid rgba(216, 205, 187, .92);
307
+ background: rgba(255, 253, 247, .76);
308
+ border-radius: var(--radius);
309
+ box-shadow: var(--soft-shadow);
310
+ backdrop-filter: blur(9px);
311
+ }
312
+
313
+ .mobile-atlas-preview {
314
+ display: none;
315
+ }
316
+
317
+ .sidebar {
318
+ position: relative;
319
+ display: flex;
320
+ flex-direction: column;
321
+ gap: 14px;
322
+ padding: 15px 22px 15px 15px;
323
+ overflow-y: auto;
324
+ }
325
+
326
+ .sidebar::after,
327
+ .drawer::before {
328
+ content: "";
329
+ position: absolute;
330
+ top: 16px;
331
+ bottom: 16px;
332
+ width: 1px;
333
+ background: rgba(139, 46, 36, .24);
334
+ pointer-events: none;
335
+ }
336
+
337
+ .sidebar::after {
338
+ right: 14px;
339
+ }
340
+
341
+ .drawer::before {
342
+ left: 14px;
343
+ }
344
+
345
+ .section {
346
+ position: relative;
347
+ display: grid;
348
+ gap: 9px;
349
+ }
350
+
351
+ .section-title {
352
+ display: flex;
353
+ justify-content: space-between;
354
+ align-items: center;
355
+ gap: 8px;
356
+ min-height: 24px;
357
+ color: var(--muted);
358
+ font-size: 12px;
359
+ letter-spacing: .04em;
360
+ }
361
+
362
+ .section-title b {
363
+ color: var(--ink);
364
+ font-family: var(--font-serif);
365
+ font-size: 15px;
366
+ letter-spacing: 0;
367
+ }
368
+
369
+ .search-box {
370
+ position: relative;
371
+ }
372
+
373
+ .search-box input {
374
+ width: 100%;
375
+ min-height: 46px;
376
+ padding: 0 42px 0 13px;
377
+ border-radius: 10px;
378
+ border: 1px solid rgba(216, 205, 187, .95);
379
+ background: rgba(248, 241, 228, .78);
380
+ color: var(--ink);
381
+ }
382
+
383
+ .search-box span {
384
+ position: absolute;
385
+ right: 13px;
386
+ top: 50%;
387
+ translate: 0 -50%;
388
+ color: var(--faint);
389
+ }
390
+
391
+ .nav-list,
392
+ .queue-list,
393
+ .start-list,
394
+ .neighbor-list,
395
+ .notes-list {
396
+ display: grid;
397
+ gap: 8px;
398
+ }
399
+
400
+ .nav-item,
401
+ .queue-card,
402
+ .start-card,
403
+ .neighbor-card,
404
+ .note-card,
405
+ .state-panel {
406
+ width: 100%;
407
+ min-width: 0;
408
+ padding: 10px 12px;
409
+ border-radius: 10px;
410
+ border: 1px solid rgba(216, 205, 187, .92);
411
+ background: rgba(248, 241, 228, .66);
412
+ text-align: left;
413
+ }
414
+
415
+ .nav-item {
416
+ display: grid;
417
+ grid-template-columns: 10px 1fr auto;
418
+ align-items: center;
419
+ gap: 9px;
420
+ }
421
+
422
+ .nav-item[aria-pressed="true"] {
423
+ border-color: rgba(139, 46, 36, .46);
424
+ background: rgba(255, 253, 247, .94);
425
+ box-shadow: inset 3px 0 0 var(--cinnabar), 0 7px 16px rgba(36, 31, 26, .07);
426
+ }
427
+
428
+ .swatch {
429
+ width: 10px;
430
+ height: 28px;
431
+ border-radius: 99px;
432
+ background: var(--night);
433
+ }
434
+
435
+ .nav-copy,
436
+ .card-copy {
437
+ min-width: 0;
438
+ }
439
+
440
+ .nav-copy strong,
441
+ .card-copy strong {
442
+ display: block;
443
+ max-width: 100%;
444
+ overflow: hidden;
445
+ text-overflow: ellipsis;
446
+ white-space: nowrap;
447
+ font-family: var(--font-serif);
448
+ font-size: 14px;
449
+ line-height: 1.3;
450
+ }
451
+
452
+ .nav-copy span,
453
+ .card-copy span {
454
+ display: block;
455
+ margin-top: 3px;
456
+ overflow: hidden;
457
+ text-overflow: ellipsis;
458
+ white-space: nowrap;
459
+ color: var(--muted);
460
+ font-size: 12px;
461
+ }
462
+
463
+ .count {
464
+ font-family: var(--font-mono);
465
+ color: var(--cinnabar);
466
+ font-size: 12px;
467
+ white-space: nowrap;
468
+ }
469
+
470
+ .segmented {
471
+ display: grid;
472
+ grid-template-columns: repeat(3, minmax(0, 1fr));
473
+ gap: 6px;
474
+ padding: 5px;
475
+ border-radius: 12px;
476
+ background: rgba(233, 221, 201, .52);
477
+ border: 1px solid rgba(216, 205, 187, .82);
478
+ }
479
+
480
+ .segmented button {
481
+ min-width: 44px;
482
+ min-height: 44px;
483
+ border-radius: 8px;
484
+ border: 0;
485
+ background: transparent;
486
+ color: var(--muted);
487
+ font-size: 12px;
488
+ }
489
+
490
+ .segmented button[aria-pressed="true"] {
491
+ color: var(--ink);
492
+ background: rgba(255, 253, 247, .92);
493
+ box-shadow: 0 5px 12px rgba(36, 31, 26, .08);
494
+ }
495
+
496
+ .queue-card {
497
+ display: grid;
498
+ gap: 10px;
499
+ }
500
+
501
+ .queue-metrics {
502
+ display: grid;
503
+ grid-template-columns: 1fr 1fr;
504
+ gap: 8px;
505
+ }
506
+
507
+ .metric {
508
+ padding: 9px;
509
+ border-radius: 9px;
510
+ background: rgba(255, 253, 247, .72);
511
+ border: 1px dashed rgba(216, 205, 187, .95);
512
+ }
513
+
514
+ .metric span {
515
+ display: block;
516
+ color: var(--muted);
517
+ font-size: 11px;
518
+ }
519
+
520
+ .metric b {
521
+ display: block;
522
+ margin-top: 5px;
523
+ font-family: var(--font-serif);
524
+ font-size: 18px;
525
+ line-height: 1;
526
+ }
527
+
528
+ .canvas-card {
529
+ position: relative;
530
+ overflow: hidden;
531
+ display: grid;
532
+ grid-template-rows: auto 1fr auto;
533
+ background:
534
+ linear-gradient(180deg, rgba(255, 253, 247, .62), rgba(248, 241, 228, .58)),
535
+ var(--surface-2);
536
+ }
537
+
538
+ .canvas-card::before,
539
+ .canvas-card::after {
540
+ content: "";
541
+ position: absolute;
542
+ pointer-events: none;
543
+ z-index: 0;
544
+ }
545
+
546
+ .canvas-card::before {
547
+ inset: 64px 16px 72px;
548
+ opacity: .66;
549
+ background:
550
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='920' height='620' viewBox='0 0 920 620'%3E%3Cg fill='none' stroke='%23cfc4b1' stroke-width='1.35' opacity='.9'%3E%3Cpath d='M-20 480 C88 420 140 448 212 386 C298 312 364 378 454 322 C548 264 608 278 704 228 C798 180 856 206 946 150'/%3E%3Cpath d='M-28 525 C86 462 166 492 244 426 C332 350 394 414 482 352 C574 288 638 306 734 254 C820 208 880 236 952 196'/%3E%3Cpath d='M18 372 C112 324 170 340 240 282 C324 212 386 272 466 222 C542 174 636 190 700 142 C782 82 854 120 930 78'/%3E%3Cpath d='M44 540 C118 520 148 558 218 522 C306 478 340 514 430 462 C514 414 586 430 674 386 C778 334 826 362 912 322'/%3E%3Cpath d='M-32 262 C60 224 112 242 174 198 C244 148 300 184 374 142 C450 96 520 106 594 72 C686 32 760 56 930 4'/%3E%3Cpath d='M72 470 C156 430 218 456 290 404 C366 350 424 392 512 338 C602 284 662 302 742 260 C812 224 856 238 936 198'/%3E%3Cpath d='M80 302 C154 266 218 286 286 238 C350 190 422 218 492 178 C568 134 650 142 724 96 C796 52 854 72 930 34'/%3E%3C/g%3E%3Cg fill='none' stroke='%23315f72' stroke-width='1.1' opacity='.22'%3E%3Cpath d='M120 154 L206 198 L316 162 L430 236 L546 176 L678 226 L798 144'/%3E%3Cpath d='M172 398 L260 338 L368 390 L486 316 L604 356 L732 294'/%3E%3Cpath d='M236 112 L330 92 L426 140 L528 106 L632 156 L738 112'/%3E%3C/g%3E%3Cg fill='%23315f72' opacity='.18'%3E%3Ccircle cx='120' cy='154' r='3'/%3E%3Ccircle cx='316' cy='162' r='2.6'/%3E%3Ccircle cx='546' cy='176' r='2.8'/%3E%3Ccircle cx='798' cy='144' r='3'/%3E%3Ccircle cx='260' cy='338' r='2.4'/%3E%3Ccircle cx='604' cy='356' r='2.4'/%3E%3Ccircle cx='738' cy='112' r='2.8'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
551
+ }
552
+
553
+ .canvas-card::after {
554
+ inset: 0;
555
+ background:
556
+ radial-gradient(circle at 52% 38%, rgba(49, 95, 114, .16), transparent 18%),
557
+ radial-gradient(circle at 70% 56%, rgba(75, 117, 100, .12), transparent 22%),
558
+ radial-gradient(circle at 35% 62%, rgba(139, 46, 36, .10), transparent 18%),
559
+ linear-gradient(90deg, rgba(255, 253, 247, .1), rgba(236, 229, 216, .18), rgba(255, 253, 247, .1));
560
+ mix-blend-mode: multiply;
561
+ }
562
+
563
+ .mobile-atlas-preview {
564
+ position: relative;
565
+ overflow: hidden;
566
+ padding: 12px;
567
+ background:
568
+ linear-gradient(180deg, rgba(255, 253, 247, .76), rgba(248, 241, 228, .66)),
569
+ var(--surface-2);
570
+ }
571
+
572
+ .mobile-atlas-preview::before {
573
+ content: "";
574
+ position: absolute;
575
+ inset: 8px 10px;
576
+ pointer-events: none;
577
+ opacity: .72;
578
+ background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='112' viewBox='0 0 340 112'%3E%3Cg fill='none' stroke='%23cfc4b1' stroke-width='1.1' opacity='.86'%3E%3Cpath d='M-4 88 C32 58 64 76 96 50 C132 22 164 44 202 30 C246 14 280 34 346 10'/%3E%3Cpath d='M-10 106 C34 78 72 96 108 68 C148 38 178 60 218 44 C258 28 296 46 348 24'/%3E%3Cpath d='M10 66 C48 42 78 52 112 30 C150 8 184 24 218 16 C258 6 292 16 340 2'/%3E%3C/g%3E%3Cg fill='none' stroke='%23315f72' stroke-width='1' opacity='.26'%3E%3Cpath d='M48 68 L104 44 L164 56 L226 32 L292 50'/%3E%3Cpath d='M84 88 L146 74 L206 90 L272 70'/%3E%3C/g%3E%3Cg fill='%23315f72' opacity='.32'%3E%3Ccircle cx='48' cy='68' r='3'/%3E%3Ccircle cx='164' cy='56' r='3'/%3E%3Ccircle cx='292' cy='50' r='3'/%3E%3C/g%3E%3Cg fill='%238b2e24' opacity='.8'%3E%3Ccircle cx='104' cy='44' r='4'/%3E%3C/g%3E%3Cg fill='%234b7564' opacity='.72'%3E%3Ccircle cx='226' cy='32' r='4'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
579
+ }
580
+
581
+ .preview-copy,
582
+ .preview-map {
583
+ position: relative;
584
+ z-index: 1;
585
+ }
586
+
587
+ .preview-copy {
588
+ display: flex;
589
+ align-items: center;
590
+ justify-content: space-between;
591
+ gap: 10px;
592
+ margin-bottom: 10px;
593
+ }
594
+
595
+ .preview-copy strong {
596
+ font-family: var(--font-serif);
597
+ font-size: 16px;
598
+ }
599
+
600
+ .preview-copy span {
601
+ color: var(--muted);
602
+ font-size: 12px;
603
+ white-space: nowrap;
604
+ }
605
+
606
+ .preview-map {
607
+ height: 94px;
608
+ border-radius: 11px;
609
+ border: 1px solid rgba(216, 205, 187, .86);
610
+ background: rgba(255, 253, 247, .38);
611
+ }
612
+
613
+ .canvas-toolbar,
614
+ .canvas-footer {
615
+ position: relative;
616
+ z-index: 2;
617
+ display: flex;
618
+ align-items: center;
619
+ justify-content: space-between;
620
+ gap: 12px;
621
+ padding: 12px 14px;
622
+ }
623
+
624
+ .canvas-toolbar {
625
+ border-bottom: 1px solid rgba(216, 205, 187, .78);
626
+ background: rgba(255, 253, 247, .72);
627
+ }
628
+
629
+ .canvas-title {
630
+ min-width: 0;
631
+ }
632
+
633
+ .canvas-title strong {
634
+ display: block;
635
+ font-family: var(--font-serif);
636
+ font-size: 18px;
637
+ line-height: 1.2;
638
+ white-space: nowrap;
639
+ overflow: hidden;
640
+ text-overflow: ellipsis;
641
+ }
642
+
643
+ .canvas-title span {
644
+ display: block;
645
+ margin-top: 4px;
646
+ color: var(--muted);
647
+ font-size: 12px;
648
+ white-space: nowrap;
649
+ overflow: hidden;
650
+ text-overflow: ellipsis;
651
+ }
652
+
653
+ .canvas-actions {
654
+ display: flex;
655
+ flex-wrap: wrap;
656
+ gap: 8px;
657
+ justify-content: flex-end;
658
+ }
659
+
660
+ .atlas {
661
+ position: relative;
662
+ z-index: 1;
663
+ min-height: 0;
664
+ overflow: hidden;
665
+ }
666
+
667
+ .mist {
668
+ position: absolute;
669
+ inset: auto -10% 8% -10%;
670
+ height: 28%;
671
+ pointer-events: none;
672
+ background:
673
+ radial-gradient(ellipse at 28% 55%, rgba(255, 253, 247, .56), transparent 56%),
674
+ radial-gradient(ellipse at 70% 48%, rgba(236, 229, 216, .6), transparent 58%);
675
+ filter: blur(18px);
676
+ opacity: .9;
677
+ animation: drift 12s ease-in-out infinite alternate;
678
+ }
679
+
680
+ .graph-svg {
681
+ position: absolute;
682
+ inset: 0;
683
+ width: 100%;
684
+ height: 100%;
685
+ overflow: visible;
686
+ }
687
+
688
+ .edge {
689
+ fill: none;
690
+ stroke-linecap: round;
691
+ opacity: .74;
692
+ }
693
+
694
+ .edge.extracted {
695
+ stroke: rgba(49, 95, 114, .74);
696
+ stroke-width: 2.4;
697
+ }
698
+
699
+ .edge.inferred {
700
+ stroke: rgba(75, 117, 100, .62);
701
+ stroke-width: 1.7;
702
+ stroke-dasharray: 6 8;
703
+ }
704
+
705
+ .edge.ambiguous {
706
+ stroke: rgba(183, 121, 31, .66);
707
+ stroke-width: 1.6;
708
+ stroke-dasharray: 2 7;
709
+ }
710
+
711
+ .edge.unverified {
712
+ stroke: rgba(111, 101, 89, .45);
713
+ stroke-width: 1.2;
714
+ stroke-dasharray: 1 8;
715
+ }
716
+
717
+ .node {
718
+ position: absolute;
719
+ z-index: 3;
720
+ min-height: 46px;
721
+ max-width: 178px;
722
+ padding: 8px 11px;
723
+ border-radius: 12px;
724
+ border: 1px solid rgba(216, 205, 187, .98);
725
+ background: rgba(255, 253, 247, .88);
726
+ box-shadow: 0 12px 22px rgba(36, 31, 26, .09), inset 0 0 0 1px rgba(255, 255, 255, .44);
727
+ translate: -50% -50%;
728
+ transition: opacity .16s ease, transform .16s ease, box-shadow .16s ease, border-color .16s ease;
729
+ text-align: left;
730
+ }
731
+
732
+ .node::before {
733
+ content: "";
734
+ position: absolute;
735
+ inset: -7px;
736
+ border-radius: 17px;
737
+ background: radial-gradient(circle, rgba(49, 95, 114, .18), transparent 66%);
738
+ z-index: -1;
739
+ opacity: .46;
740
+ }
741
+
742
+ .node[data-type="topic"] {
743
+ border-left: 5px solid var(--cinnabar);
744
+ }
745
+
746
+ .node[data-type="entity"] {
747
+ border-left: 5px solid var(--night);
748
+ }
749
+
750
+ .node[data-type="source"] {
751
+ border-left: 5px solid var(--jade);
752
+ }
753
+
754
+ .node[aria-pressed="true"] {
755
+ border-color: rgba(139, 46, 36, .74);
756
+ box-shadow: 0 16px 28px rgba(139, 46, 36, .16), 0 0 0 4px rgba(139, 46, 36, .1);
757
+ transform: translateY(-2px);
758
+ }
759
+
760
+ .node.is-dim,
761
+ .edge.is-dim {
762
+ opacity: .18;
763
+ }
764
+
765
+ .node.is-disabled {
766
+ opacity: .72;
767
+ }
768
+
769
+ .node.is-disabled::before {
770
+ background: radial-gradient(circle, rgba(111, 101, 89, .16), transparent 66%);
771
+ }
772
+
773
+ .node.is-disabled .spark {
774
+ background: var(--muted);
775
+ box-shadow: none;
776
+ }
777
+
778
+ .node.is-hidden {
779
+ display: none;
780
+ }
781
+
782
+ .node-kind {
783
+ display: block;
784
+ color: var(--muted);
785
+ font-family: var(--font-mono);
786
+ font-size: 10px;
787
+ letter-spacing: .04em;
788
+ text-transform: uppercase;
789
+ }
790
+
791
+ .node-name {
792
+ display: block;
793
+ max-width: 146px;
794
+ margin-top: 3px;
795
+ overflow: hidden;
796
+ text-overflow: ellipsis;
797
+ white-space: nowrap;
798
+ font-family: var(--font-serif);
799
+ font-size: 14px;
800
+ font-weight: 700;
801
+ line-height: 1.25;
802
+ }
803
+
804
+ .node-meta {
805
+ display: flex;
806
+ align-items: center;
807
+ gap: 6px;
808
+ margin-top: 6px;
809
+ color: var(--faint);
810
+ font-size: 11px;
811
+ }
812
+
813
+ .spark {
814
+ width: 5px;
815
+ height: 5px;
816
+ border-radius: 99px;
817
+ background: var(--night);
818
+ box-shadow: 0 0 10px rgba(49, 95, 114, .7);
819
+ }
820
+
821
+ .empty-state,
822
+ .loading-state,
823
+ .error-state {
824
+ position: absolute;
825
+ z-index: 5;
826
+ left: 50%;
827
+ top: 50%;
828
+ width: min(360px, calc(100% - 48px));
829
+ translate: -50% -50%;
830
+ padding: 18px;
831
+ border-radius: 14px;
832
+ border: 1px solid rgba(216, 205, 187, .95);
833
+ background: rgba(255, 253, 247, .9);
834
+ box-shadow: var(--shadow);
835
+ text-align: center;
836
+ display: none;
837
+ }
838
+
839
+ .state-title {
840
+ margin: 0;
841
+ font-family: var(--font-serif);
842
+ font-size: 18px;
843
+ }
844
+
845
+ .state-copy {
846
+ margin: 8px 0 0;
847
+ color: var(--muted);
848
+ font-size: 13px;
849
+ line-height: 1.55;
850
+ }
851
+
852
+ .spinner {
853
+ width: 34px;
854
+ height: 34px;
855
+ margin: 0 auto 12px;
856
+ border-radius: 99px;
857
+ border: 2px solid rgba(216, 205, 187, .95);
858
+ border-top-color: var(--cinnabar);
859
+ animation: spin .9s linear infinite;
860
+ }
861
+
862
+ .atlas[data-mode="loading"] .loading-state,
863
+ .atlas[data-mode="empty"] .empty-state,
864
+ .atlas[data-mode="error"] .error-state {
865
+ display: block;
866
+ }
867
+
868
+ .atlas[data-mode="loading"] .node,
869
+ .atlas[data-mode="loading"] .edge,
870
+ .atlas[data-mode="empty"] .node,
871
+ .atlas[data-mode="empty"] .edge,
872
+ .atlas[data-mode="error"] .node,
873
+ .atlas[data-mode="error"] .edge {
874
+ opacity: .1;
875
+ }
876
+
877
+ .canvas-footer {
878
+ border-top: 1px solid rgba(216, 205, 187, .78);
879
+ background: rgba(255, 253, 247, .7);
880
+ align-items: stretch;
881
+ }
882
+
883
+ .legend,
884
+ .mini-map,
885
+ .insight {
886
+ min-width: 0;
887
+ border: 1px solid rgba(216, 205, 187, .82);
888
+ border-radius: 10px;
889
+ background: rgba(248, 241, 228, .62);
890
+ padding: 10px;
891
+ }
892
+
893
+ .legend {
894
+ flex: 1.2;
895
+ }
896
+
897
+ .mini-map {
898
+ flex: .9;
899
+ min-width: 138px;
900
+ }
901
+
902
+ .insight {
903
+ flex: 1.15;
904
+ }
905
+
906
+ .footer-label {
907
+ display: flex;
908
+ align-items: center;
909
+ justify-content: space-between;
910
+ gap: 8px;
911
+ color: var(--muted);
912
+ font-size: 12px;
913
+ }
914
+
915
+ .confidence-list {
916
+ display: flex;
917
+ flex-wrap: wrap;
918
+ gap: 8px;
919
+ margin-top: 8px;
920
+ }
921
+
922
+ .confidence {
923
+ display: inline-flex;
924
+ align-items: center;
925
+ gap: 6px;
926
+ font-family: var(--font-mono);
927
+ font-size: 11px;
928
+ color: var(--muted);
929
+ }
930
+
931
+ .confidence i {
932
+ width: 22px;
933
+ border-top: 2px solid var(--night);
934
+ }
935
+
936
+ .confidence:nth-child(2) i {
937
+ border-top-color: var(--jade);
938
+ border-top-style: dashed;
939
+ }
940
+
941
+ .confidence:nth-child(3) i {
942
+ border-top-color: var(--amber);
943
+ border-top-style: dotted;
944
+ }
945
+
946
+ .confidence:nth-child(4) i {
947
+ border-top-color: var(--muted);
948
+ border-top-style: dotted;
949
+ }
950
+
951
+ .mini-map svg {
952
+ width: 100%;
953
+ height: 54px;
954
+ display: block;
955
+ }
956
+
957
+ .insight strong {
958
+ display: block;
959
+ overflow: hidden;
960
+ text-overflow: ellipsis;
961
+ white-space: nowrap;
962
+ font-family: var(--font-serif);
963
+ font-size: 13px;
964
+ }
965
+
966
+ .insight p {
967
+ margin: 5px 0 0;
968
+ color: var(--muted);
969
+ font-size: 12px;
970
+ line-height: 1.45;
971
+ }
972
+
973
+ .drawer {
974
+ position: relative;
975
+ min-width: 0;
976
+ display: grid;
977
+ grid-template-rows: auto 1fr auto;
978
+ padding: 0 0 0 12px;
979
+ overflow: hidden;
980
+ }
981
+
982
+ .drawer-header {
983
+ padding: 18px 18px 13px;
984
+ border-bottom: 1px solid rgba(216, 205, 187, .82);
985
+ background: rgba(255, 253, 247, .72);
986
+ }
987
+
988
+ .eyebrow {
989
+ display: flex;
990
+ align-items: center;
991
+ gap: 8px;
992
+ color: var(--cinnabar);
993
+ font-family: var(--font-mono);
994
+ font-size: 11px;
995
+ letter-spacing: .04em;
996
+ text-transform: uppercase;
997
+ }
998
+
999
+ .drawer h2 {
1000
+ margin: 9px 0 0;
1001
+ font-family: var(--font-serif);
1002
+ font-size: 25px;
1003
+ line-height: 1.16;
1004
+ letter-spacing: 0;
1005
+ }
1006
+
1007
+ .drawer-subtitle {
1008
+ margin: 8px 0 0;
1009
+ color: var(--muted);
1010
+ line-height: 1.55;
1011
+ font-size: 13px;
1012
+ }
1013
+
1014
+ .drawer-body {
1015
+ min-height: 0;
1016
+ padding: 16px 18px;
1017
+ overflow-y: auto;
1018
+ display: grid;
1019
+ align-content: start;
1020
+ gap: 15px;
1021
+ }
1022
+
1023
+ .meta-grid {
1024
+ display: grid;
1025
+ grid-template-columns: 1fr 1fr;
1026
+ gap: 8px;
1027
+ }
1028
+
1029
+ .meta-box {
1030
+ min-width: 0;
1031
+ padding: 10px;
1032
+ border: 1px solid rgba(216, 205, 187, .9);
1033
+ border-radius: 10px;
1034
+ background: rgba(248, 241, 228, .62);
1035
+ }
1036
+
1037
+ .meta-box span {
1038
+ display: block;
1039
+ color: var(--muted);
1040
+ font-family: var(--font-mono);
1041
+ font-size: 10px;
1042
+ letter-spacing: .04em;
1043
+ }
1044
+
1045
+ .meta-box b {
1046
+ display: block;
1047
+ margin-top: 5px;
1048
+ overflow: hidden;
1049
+ text-overflow: ellipsis;
1050
+ white-space: nowrap;
1051
+ font-family: var(--font-serif);
1052
+ font-size: 14px;
1053
+ }
1054
+
1055
+ .drawer-section {
1056
+ display: grid;
1057
+ gap: 8px;
1058
+ }
1059
+
1060
+ .drawer-section h3 {
1061
+ margin: 0;
1062
+ color: var(--ink);
1063
+ font-family: var(--font-serif);
1064
+ font-size: 15px;
1065
+ }
1066
+
1067
+ .summary-card {
1068
+ padding: 12px 13px;
1069
+ border-left: 3px solid var(--cinnabar);
1070
+ border-radius: 0 10px 10px 0;
1071
+ background: rgba(248, 241, 228, .66);
1072
+ color: var(--ink);
1073
+ line-height: 1.68;
1074
+ font-size: 13px;
1075
+ }
1076
+
1077
+ .knowledge-card {
1078
+ display: grid;
1079
+ gap: 10px;
1080
+ padding: 13px 14px;
1081
+ border-radius: 10px;
1082
+ border: 1px solid rgba(216, 205, 187, .88);
1083
+ background: rgba(255, 253, 247, .7);
1084
+ color: var(--ink);
1085
+ line-height: 1.72;
1086
+ font-size: 13px;
1087
+ }
1088
+
1089
+ .knowledge-card p {
1090
+ margin: 0;
1091
+ }
1092
+
1093
+ .neighbor-section {
1094
+ padding: 0;
1095
+ border: 1px solid rgba(216, 205, 187, .88);
1096
+ border-radius: 10px;
1097
+ background: rgba(248, 241, 228, .48);
1098
+ overflow: hidden;
1099
+ }
1100
+
1101
+ .neighbor-section > summary {
1102
+ min-height: 44px;
1103
+ padding: 0 12px;
1104
+ display: flex;
1105
+ align-items: center;
1106
+ justify-content: space-between;
1107
+ gap: 10px;
1108
+ cursor: pointer;
1109
+ list-style: none;
1110
+ color: var(--ink);
1111
+ font-family: var(--font-serif);
1112
+ font-size: 15px;
1113
+ }
1114
+
1115
+ .neighbor-section > summary::-webkit-details-marker {
1116
+ display: none;
1117
+ }
1118
+
1119
+ .neighbor-section > summary span {
1120
+ display: inline-flex;
1121
+ align-items: center;
1122
+ gap: 8px;
1123
+ min-width: 0;
1124
+ }
1125
+
1126
+ .neighbor-section > summary small {
1127
+ color: var(--muted);
1128
+ font-family: var(--font-ui);
1129
+ font-size: 12px;
1130
+ font-weight: 400;
1131
+ }
1132
+
1133
+ .neighbor-section > summary::after {
1134
+ content: "展开";
1135
+ flex: 0 0 auto;
1136
+ color: var(--cinnabar);
1137
+ font-family: var(--font-ui);
1138
+ font-size: 12px;
1139
+ font-weight: 700;
1140
+ }
1141
+
1142
+ .neighbor-section[open] > summary::after {
1143
+ content: "收起";
1144
+ }
1145
+
1146
+ .neighbor-section .neighbor-list {
1147
+ padding: 0 12px 12px;
1148
+ }
1149
+
1150
+ .neighbor-section[open] .neighbor-list {
1151
+ max-height: 168px;
1152
+ overflow-y: auto;
1153
+ padding-right: 8px;
1154
+ scrollbar-gutter: stable;
1155
+ }
1156
+
1157
+ .neighbor-section[open] .neighbor-list::-webkit-scrollbar {
1158
+ width: 8px;
1159
+ }
1160
+
1161
+ .neighbor-section[open] .neighbor-list::-webkit-scrollbar-thumb {
1162
+ border-radius: 999px;
1163
+ background: rgba(111, 101, 89, .32);
1164
+ }
1165
+
1166
+ .neighbor-card,
1167
+ .note-card,
1168
+ .start-card {
1169
+ display: grid;
1170
+ gap: 4px;
1171
+ color: var(--ink);
1172
+ }
1173
+
1174
+ .note-card {
1175
+ border-style: dashed;
1176
+ background: rgba(255, 253, 247, .62);
1177
+ color: var(--muted);
1178
+ font-size: 13px;
1179
+ line-height: 1.55;
1180
+ }
1181
+
1182
+ .drawer-actions {
1183
+ display: grid;
1184
+ grid-template-columns: 1fr 1fr;
1185
+ gap: 9px;
1186
+ padding: 13px 18px 16px;
1187
+ border-top: 1px solid rgba(216, 205, 187, .82);
1188
+ background: rgba(255, 253, 247, .76);
1189
+ }
1190
+
1191
+ .state-dock {
1192
+ display: flex;
1193
+ flex-wrap: wrap;
1194
+ gap: 7px;
1195
+ }
1196
+
1197
+ .state-button {
1198
+ min-width: 44px;
1199
+ min-height: 44px;
1200
+ padding: 0 12px;
1201
+ font-size: 12px;
1202
+ }
1203
+
1204
+ .state-button[aria-pressed="true"] {
1205
+ border-color: rgba(139, 46, 36, .55);
1206
+ color: var(--cinnabar);
1207
+ background: rgba(255, 253, 247, .96);
1208
+ }
1209
+
1210
+ .hidden-count {
1211
+ display: none;
1212
+ margin-top: 8px;
1213
+ padding: 10px 12px;
1214
+ border-radius: 10px;
1215
+ border: 1px solid rgba(183, 121, 31, .48);
1216
+ background: rgba(248, 232, 196, .55);
1217
+ color: var(--ink);
1218
+ font-size: 12px;
1219
+ line-height: 1.5;
1220
+ }
1221
+
1222
+ .hidden-count.is-visible {
1223
+ display: block;
1224
+ }
1225
+
1226
+ @keyframes drift {
1227
+ from {
1228
+ transform: translateX(-2%);
1229
+ }
1230
+ to {
1231
+ transform: translateX(3%);
1232
+ }
1233
+ }
1234
+
1235
+ @keyframes spin {
1236
+ to {
1237
+ rotate: 360deg;
1238
+ }
1239
+ }
1240
+
1241
+ @media (prefers-reduced-motion: reduce) {
1242
+ *,
1243
+ *::before,
1244
+ *::after {
1245
+ animation-duration: .001ms !important;
1246
+ animation-iteration-count: 1 !important;
1247
+ scroll-behavior: auto !important;
1248
+ transition-duration: .001ms !important;
1249
+ }
1250
+ }
1251
+
1252
+ @media (max-width: 1180px) {
1253
+ .app {
1254
+ grid-template-columns: 238px minmax(460px, 1fr) 318px;
1255
+ gap: 12px;
1256
+ padding: 12px;
1257
+ }
1258
+
1259
+ .status-strip .status-pill:nth-child(3) {
1260
+ display: none;
1261
+ }
1262
+
1263
+ .canvas-footer {
1264
+ display: grid;
1265
+ grid-template-columns: 1fr 1fr;
1266
+ }
1267
+
1268
+ .insight {
1269
+ grid-column: 1 / -1;
1270
+ }
1271
+ }
1272
+
1273
+ @media (max-width: 900px) {
1274
+ body {
1275
+ overflow: auto;
1276
+ }
1277
+
1278
+ .app {
1279
+ min-height: 100vh;
1280
+ height: auto;
1281
+ grid-template-columns: 1fr;
1282
+ grid-template-rows: auto auto auto minmax(620px, 72vh) auto;
1283
+ padding: 10px;
1284
+ }
1285
+
1286
+ .mobile-atlas-preview {
1287
+ display: block;
1288
+ }
1289
+
1290
+ .topbar {
1291
+ grid-template-columns: 1fr;
1292
+ }
1293
+
1294
+ .status-strip {
1295
+ justify-content: flex-start;
1296
+ }
1297
+
1298
+ .sidebar {
1299
+ max-height: none;
1300
+ overflow: visible;
1301
+ }
1302
+
1303
+ .drawer {
1304
+ min-height: 560px;
1305
+ }
1306
+
1307
+ .brand h1,
1308
+ .brand p {
1309
+ white-space: normal;
1310
+ }
1311
+
1312
+ .canvas-footer {
1313
+ grid-template-columns: 1fr;
1314
+ }
1315
+ }
1316
+
1317
+ @media (max-width: 620px) {
1318
+ .brand {
1319
+ align-items: flex-start;
1320
+ }
1321
+
1322
+ .seal {
1323
+ width: 38px;
1324
+ height: 38px;
1325
+ }
1326
+
1327
+ .canvas-toolbar,
1328
+ .canvas-actions,
1329
+ .drawer-actions {
1330
+ display: grid;
1331
+ grid-template-columns: 1fr;
1332
+ }
1333
+
1334
+ .status-pill,
1335
+ .chip {
1336
+ min-height: 44px;
1337
+ }
1338
+
1339
+ .state-dock,
1340
+ .segmented {
1341
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1342
+ }
1343
+
1344
+ .state-dock {
1345
+ display: grid;
1346
+ }
1347
+
1348
+ .node {
1349
+ max-width: 144px;
1350
+ min-width: 44px;
1351
+ padding: 7px 9px;
1352
+ }
1353
+
1354
+ .node-name {
1355
+ max-width: 116px;
1356
+ }
1357
+ }
1358
+ </style>
1359
+ </head>
1360
+ <body>
1361
+ <main class="app">
1362
+ <header class="topbar" aria-label="图谱标题与状态">
1363
+ <div class="brand">
1364
+ <div class="seal" aria-hidden="true">
1365
+ <svg viewBox="0 0 48 48" role="img">
1366
+ <path d="M5 32c7-6 10-16 17-10 5-10 12-13 21 10" fill="none" stroke="currentColor" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"></path>
1367
+ <path d="M8 38c8-3 18-2 32 0" fill="none" stroke="currentColor" stroke-width="2.6" stroke-linecap="round" opacity=".76"></path>
1368
+ <path d="M13 28c5 2 10 2 15 0" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" opacity=".52"></path>
1369
+ <circle cx="35" cy="11" r="2.8" fill="currentColor"></circle>
1370
+ <circle cx="40" cy="18" r="1.6" fill="currentColor" opacity=".8"></circle>
1371
+ </svg>
1372
+ </div>
1373
+ <div>
1374
+ <h1>llm-wiki 知识舆图</h1>
1375
+ <p>国风知识库·数字山水图</p>
1376
+ </div>
1377
+ </div>
1378
+ <div class="status-strip">
1379
+ <span class="status-pill"><i class="status-dot"></i>已生成 128 个索引点</span>
1380
+ <span class="status-pill">关系 246 条</span>
1381
+ <span class="status-pill">最近更新 2026-04-27</span>
1382
+ <button class="ghost-button github-button" type="button" aria-label="打开 GitHub 项目">
1383
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
1384
+ <path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"></path>
1385
+ <path d="M9 18c-4.51 2-5-2-7-2"></path>
1386
+ </svg>
1387
+ <span>GitHub</span>
1388
+ </button>
1389
+ </div>
1390
+ </header>
1391
+
1392
+ <section class="mobile-atlas-preview" aria-label="移动端图谱预览">
1393
+ <div class="preview-copy">
1394
+ <strong>数字山水图谱</strong>
1395
+ <span>128 点 · 246 关系</span>
1396
+ </div>
1397
+ <div class="preview-map" aria-hidden="true"></div>
1398
+ </section>
1399
+
1400
+ <aside class="sidebar" aria-label="文献索引导航">
1401
+ <section class="section">
1402
+ <div class="section-title"><b>文献索引</b></div>
1403
+ <div class="search-box">
1404
+ <input id="search" type="search" autocomplete="off" placeholder="搜索节点、来源或主题">
1405
+ <span aria-hidden="true">⌕</span>
1406
+ </div>
1407
+ <div id="no-results" class="hidden-count">没有匹配结果,清除筛选后可回到完整图谱。</div>
1408
+ </section>
1409
+
1410
+ <section class="section">
1411
+ <div class="section-title"><b>社区</b></div>
1412
+ <div class="nav-list" id="community-list"></div>
1413
+ </section>
1414
+
1415
+ <section class="section">
1416
+ <div class="section-title"><b>聚焦</b></div>
1417
+ <div class="segmented" aria-label="聚焦模式">
1418
+ <button type="button" data-focus="all" aria-pressed="true">全图</button>
1419
+ <button type="button" data-focus="core" aria-pressed="false">核心</button>
1420
+ <button type="button" data-focus="source" aria-pressed="false">来源</button>
1421
+ </div>
1422
+ </section>
1423
+
1424
+ <section class="section">
1425
+ <div class="section-title"><b>学习队列</b></div>
1426
+ <div class="queue-card">
1427
+ <div class="queue-metrics">
1428
+ <div class="metric"><span>今日待读</span><b>5</b></div>
1429
+ <div class="metric"><span>已批注</span><b>17</b></div>
1430
+ </div>
1431
+ <div class="queue-list">
1432
+ <span class="chip">上下文工程</span>
1433
+ <span class="chip">知识编译</span>
1434
+ <span class="chip">来源置信度</span>
1435
+ </div>
1436
+ </div>
1437
+ </section>
1438
+
1439
+ <section class="section">
1440
+ <div class="section-title"><b>推荐起点</b></div>
1441
+ <div class="start-list" id="start-list"></div>
1442
+ </section>
1443
+ </aside>
1444
+
1445
+ <section class="canvas-card" aria-label="知识图谱画布">
1446
+ <div class="canvas-toolbar">
1447
+ <div class="canvas-title">
1448
+ <strong id="canvas-title">知识地图 · 全局视图</strong>
1449
+ <span id="canvas-subtitle">社区地貌、关系路径与批注状态保持同步</span>
1450
+ </div>
1451
+ <div class="canvas-actions">
1452
+ <button class="ghost-button" type="button" id="fit-view">回到全图</button>
1453
+ <button class="ghost-button" type="button" id="toggle-dim">弱化未选中</button>
1454
+ <div class="state-dock" aria-label="数据状态">
1455
+ <button class="state-button" type="button" data-mode="normal" aria-pressed="true">正常</button>
1456
+ <button class="state-button" type="button" data-mode="loading" aria-pressed="false">加载</button>
1457
+ <button class="state-button" type="button" data-mode="empty" aria-pressed="false">空</button>
1458
+ <button class="state-button" type="button" data-mode="error" aria-pressed="false">错误</button>
1459
+ </div>
1460
+ </div>
1461
+ </div>
1462
+
1463
+ <div class="atlas" id="atlas" data-mode="normal">
1464
+ <svg class="graph-svg" viewBox="0 0 1000 680" preserveAspectRatio="none" aria-hidden="true">
1465
+ <defs>
1466
+ <filter id="softGlow">
1467
+ <feGaussianBlur stdDeviation="5" result="blur"></feGaussianBlur>
1468
+ <feMerge>
1469
+ <feMergeNode in="blur"></feMergeNode>
1470
+ <feMergeNode in="SourceGraphic"></feMergeNode>
1471
+ </feMerge>
1472
+ </filter>
1473
+ </defs>
1474
+ <g id="edge-layer"></g>
1475
+ </svg>
1476
+ <div class="mist" aria-hidden="true"></div>
1477
+ <div id="node-layer"></div>
1478
+ <div class="loading-state" role="status" aria-live="polite">
1479
+ <div class="spinner" aria-hidden="true"></div>
1480
+ <p class="state-title">正在铺开知识地图</p>
1481
+ <p class="state-copy">图谱数据已读取,正在整理社区、关系和标签。</p>
1482
+ </div>
1483
+ <div class="empty-state" role="status" aria-live="polite">
1484
+ <p class="state-title">这座知识库还没有图谱</p>
1485
+ <p class="state-copy">消化素材后会自动生成节点、来源和关系。</p>
1486
+ </div>
1487
+ <div class="error-state" role="alert">
1488
+ <p class="state-title">图谱数据没有加载成功</p>
1489
+ <p class="state-copy">请确认本地 graph-data.json 存在且格式完整。</p>
1490
+ </div>
1491
+ </div>
1492
+
1493
+ <footer class="canvas-footer" aria-label="图谱二级信息">
1494
+ <div class="legend">
1495
+ <div class="footer-label"><span>关系置信度</span><span>说明</span></div>
1496
+ <div class="confidence-list">
1497
+ <span class="confidence"><i></i>直接提取</span>
1498
+ <span class="confidence"><i></i>推断关联</span>
1499
+ <span class="confidence"><i></i>存在歧义</span>
1500
+ <span class="confidence"><i></i>未核实</span>
1501
+ </div>
1502
+ </div>
1503
+ <div class="mini-map">
1504
+ <div class="footer-label"><span>小地图</span><span>MAP</span></div>
1505
+ <svg viewBox="0 0 160 54" aria-hidden="true">
1506
+ <path d="M8 40 C34 20 54 36 76 22 C98 8 118 24 150 12" fill="none" stroke="#cfc4b1" stroke-width="1.4"></path>
1507
+ <circle cx="28" cy="34" r="3" fill="#315f72"></circle>
1508
+ <circle cx="58" cy="27" r="3" fill="#8b2e24"></circle>
1509
+ <circle cx="90" cy="21" r="3" fill="#4b7564"></circle>
1510
+ <circle cx="124" cy="18" r="3" fill="#b7791f"></circle>
1511
+ <rect x="22" y="12" width="76" height="32" rx="5" fill="none" stroke="#8b2e24" stroke-width="1.2"></rect>
1512
+ </svg>
1513
+ </div>
1514
+ <div class="insight">
1515
+ <div class="footer-label"><span>洞察</span><span>INSIGHT</span></div>
1516
+ <strong id="insight-title">来源节点连接度偏高</strong>
1517
+ <p id="insight-copy">建议从“知识编译”进入,可同时看到方法论、缓存与图谱生成的关系。</p>
1518
+ </div>
1519
+ </footer>
1520
+ </section>
1521
+
1522
+ <aside class="drawer" aria-label="批注札记详情">
1523
+ <header class="drawer-header">
1524
+ <div class="eyebrow" id="drawer-kind"><span class="spark"></span>TOPIC · SELECTED</div>
1525
+ <h2 id="drawer-title">知识编译</h2>
1526
+ <p class="drawer-subtitle" id="drawer-subtitle">方法论 · EXTRACTED · wiki/topics/知识编译.md</p>
1527
+ </header>
1528
+
1529
+ <div class="drawer-body">
1530
+ <section class="drawer-section">
1531
+ <h3>摘要</h3>
1532
+ <div class="summary-card" id="drawer-summary">知识编译强调“整理一次,持续维护”。它连接素材消化、结构化页面、缓存、查询和图谱展示,是 llm-wiki 区别于临时问答的关键。</div>
1533
+ </section>
1534
+
1535
+ <section class="drawer-section">
1536
+ <h3>知识内容</h3>
1537
+ <div class="knowledge-card" id="drawer-content">
1538
+ <p>知识编译把素材、主题、实体和来源串成一张可维护的地图。它不是临时总结,而是让后续查询、图谱和复盘都能复用同一份整理结果。</p>
1539
+ <p>在图谱中,这个节点连接素材消化、缓存、查询和图谱展示,适合作为理解 llm-wiki 工作方式的入口。</p>
1540
+ </div>
1541
+ </section>
1542
+
1543
+ <details class="drawer-section neighbor-section" id="neighbor-details">
1544
+ <summary><span>相邻节点 <small id="drawer-neighbor-count">5 个</small></span></summary>
1545
+ <div class="neighbor-list" id="neighbor-list"></div>
1546
+ </details>
1547
+
1548
+ <section class="drawer-section">
1549
+ <h3>札记</h3>
1550
+ <div class="notes-list">
1551
+ <div class="note-card">批注:适合放在 README 首屏,作为“不是一次性总结”的视觉证明。</div>
1552
+ <div class="note-card">待看:对比“学习驾驶舱”和“图谱入口”的职责边界。</div>
1553
+ </div>
1554
+ </section>
1555
+ </div>
1556
+
1557
+ <footer class="drawer-actions">
1558
+ <button class="primary-button" type="button">加入学习队列</button>
1559
+ <button class="ghost-button" type="button">查看来源</button>
1560
+ </footer>
1561
+ </aside>
1562
+ </main>
1563
+
1564
+ <script>
1565
+ const communities = [
1566
+ { id: "all", label: "全部社区", meta: "128 个节点", count: "ALL", color: "#8b2e24" },
1567
+ { id: "method", label: "方法论", meta: "知识编译、查询、沉淀", count: 36, color: "#315f72" },
1568
+ { id: "runtime", label: "图谱运行时", meta: "模板、状态、交互", count: 42, color: "#4b7564" },
1569
+ { id: "sources", label: "素材来源", meta: "网页、PDF、公众号、YouTube", count: 28, color: "#b7791f" },
1570
+ { id: "quality", label: "质量检查", meta: "lint、缓存、隐私自查", count: 22, color: "#6f557f" }
1571
+ ];
1572
+
1573
+ const nodes = [
1574
+ {
1575
+ id: "compile", label: "知识编译", type: "topic", community: "method", x: 50, y: 46, weight: 96,
1576
+ source: "wiki/topics/知识编译.md", confidence: "EXTRACTED",
1577
+ summary: "知识编译强调“整理一次,持续维护”。它连接素材消化、结构化页面、缓存、查询和图谱展示,是 llm-wiki 区别于临时问答的关键。"
1578
+ },
1579
+ {
1580
+ id: "ingest", label: "素材消化", type: "topic", community: "method", x: 31, y: 35, weight: 86,
1581
+ source: "SKILL.md", confidence: "EXTRACTED",
1582
+ summary: "把链接、文件或粘贴内容转成结构化 wiki 页面,并保留来源、摘要、实体和主题关系。"
1583
+ },
1584
+ {
1585
+ id: "query", label: "查询沉淀", type: "topic", community: "method", x: 68, y: 37, weight: 78,
1586
+ source: "wiki/queries/", confidence: "INFERRED",
1587
+ summary: "查询不是一次性回答,有价值的综合结论可以保存回知识库,让后续上下文继续生长。"
1588
+ },
1589
+ {
1590
+ id: "graph", label: "交互式图谱", type: "entity", community: "runtime", x: 52, y: 66, weight: 91,
1591
+ source: "templates/graph-styles/wash/", confidence: "EXTRACTED",
1592
+ summary: "离线 HTML 图谱承载搜索、筛选、社区聚类、洞察、小地图和学习驾驶舱。"
1593
+ },
1594
+ {
1595
+ id: "visible", label: "可见状态快照", type: "entity", community: "runtime", x: 72, y: 63, weight: 72,
1596
+ source: "docs/solutions/best-practices/learning-cockpit-visible-state-reframe-2026-04-24.md", confidence: "EXTRACTED",
1597
+ summary: "社区、聚焦、搜索和边过滤统一收敛到一份可见状态,避免各面板显示不一致。"
1598
+ },
1599
+ {
1600
+ id: "cache", label: "智能缓存", type: "entity", community: "quality", x: 26, y: 64, weight: 68,
1601
+ source: "docs/solutions/workflow-issues/cache-update-reliability-2026-04-16.md", confidence: "EXTRACTED",
1602
+ summary: "写入即更新,避免素材重复整理,也让弱模型不容易漏掉缓存。"
1603
+ },
1604
+ {
1605
+ id: "web", label: "网页文章", type: "source", community: "sources", x: 16, y: 24, weight: 54,
1606
+ source: "raw/articles/", confidence: "EXTRACTED",
1607
+ summary: "网页内容可通过可选提取器进入主线;失败时保留手动回退入口。"
1608
+ },
1609
+ {
1610
+ id: "pdf", label: "PDF 与本地文件", type: "source", community: "sources", x: 18, y: 78, weight: 48,
1611
+ source: "raw/pdfs/", confidence: "EXTRACTED",
1612
+ summary: "本地文件属于核心主线,不依赖外挂,适合长期研究资料积累。"
1613
+ },
1614
+ {
1615
+ id: "wechat", label: "微信公众号", type: "source", community: "sources", x: 82, y: 22, weight: 44,
1616
+ source: "raw/wechat/", confidence: "AMBIGUOUS", unavailable: true,
1617
+ summary: "公众号提取依赖可选环境,当前提取器不可用时应显示明确状态和手动粘贴入口。"
1618
+ },
1619
+ {
1620
+ id: "lint", label: "健康检查", type: "entity", community: "quality", x: 84, y: 79, weight: 61,
1621
+ source: "scripts/lint-wiki.sh", confidence: "INFERRED",
1622
+ summary: "检测孤立页面、断链、索引一致性和潜在矛盾,帮助知识库保持可维护。"
1623
+ }
1624
+ ];
1625
+
1626
+ const edges = [
1627
+ ["compile", "ingest", "extracted"],
1628
+ ["compile", "query", "extracted"],
1629
+ ["compile", "graph", "extracted"],
1630
+ ["graph", "visible", "extracted"],
1631
+ ["ingest", "cache", "inferred"],
1632
+ ["ingest", "web", "extracted"],
1633
+ ["ingest", "pdf", "extracted"],
1634
+ ["ingest", "wechat", "ambiguous"],
1635
+ ["query", "lint", "inferred"],
1636
+ ["visible", "lint", "unverified"],
1637
+ ["cache", "graph", "inferred"],
1638
+ ["web", "compile", "ambiguous"]
1639
+ ];
1640
+
1641
+ const communityList = document.getElementById("community-list");
1642
+ const startList = document.getElementById("start-list");
1643
+ const nodeLayer = document.getElementById("node-layer");
1644
+ const edgeLayer = document.getElementById("edge-layer");
1645
+ const search = document.getElementById("search");
1646
+ const noResults = document.getElementById("no-results");
1647
+ const atlas = document.getElementById("atlas");
1648
+ const canvasTitle = document.getElementById("canvas-title");
1649
+ const canvasSubtitle = document.getElementById("canvas-subtitle");
1650
+ const insightTitle = document.getElementById("insight-title");
1651
+ const insightCopy = document.getElementById("insight-copy");
1652
+
1653
+ let selectedNodeId = "compile";
1654
+ let activeCommunity = "all";
1655
+ let focusMode = "all";
1656
+ let dimUnselected = false;
1657
+
1658
+ const nodeById = new Map(nodes.map(node => [node.id, node]));
1659
+
1660
+ function nodeKind(node) {
1661
+ if (node.type === "topic") return "TOPIC";
1662
+ if (node.type === "source") return "SOURCE";
1663
+ return "ENTITY";
1664
+ }
1665
+
1666
+ function confidenceLabel(confidence) {
1667
+ const labels = {
1668
+ EXTRACTED: "直接提取",
1669
+ INFERRED: "推断关联",
1670
+ AMBIGUOUS: "存在歧义",
1671
+ UNVERIFIED: "未核实"
1672
+ };
1673
+ return labels[confidence] || confidence;
1674
+ }
1675
+
1676
+ function communityLabel(id) {
1677
+ return (communities.find(item => item.id === id) || {}).label || "未分组";
1678
+ }
1679
+
1680
+ function buildCommunities() {
1681
+ communityList.innerHTML = "";
1682
+ communities.forEach(item => {
1683
+ const button = document.createElement("button");
1684
+ button.className = "nav-item";
1685
+ button.type = "button";
1686
+ button.dataset.community = item.id;
1687
+ button.setAttribute("aria-pressed", item.id === activeCommunity ? "true" : "false");
1688
+ button.innerHTML = `
1689
+ <i class="swatch" style="background:${item.color}"></i>
1690
+ <span class="nav-copy"><strong>${item.label}</strong><span>${item.meta}</span></span>
1691
+ <span class="count">${item.count}</span>
1692
+ `;
1693
+ button.addEventListener("click", () => {
1694
+ activeCommunity = item.id;
1695
+ applyFilters();
1696
+ });
1697
+ communityList.appendChild(button);
1698
+ });
1699
+ }
1700
+
1701
+ function buildStarts() {
1702
+ startList.innerHTML = "";
1703
+ ["compile", "graph", "visible"].forEach(id => {
1704
+ const node = nodeById.get(id);
1705
+ const button = document.createElement("button");
1706
+ button.className = "start-card";
1707
+ button.type = "button";
1708
+ button.innerHTML = `<span class="card-copy"><strong>${node.label}</strong><span>${communityLabel(node.community)} · ${confidenceLabel(node.confidence)}</span></span>`;
1709
+ button.addEventListener("click", () => selectNode(id));
1710
+ startList.appendChild(button);
1711
+ });
1712
+ }
1713
+
1714
+ function makePath(a, b) {
1715
+ const x1 = a.x * 10;
1716
+ const y1 = a.y * 6.8;
1717
+ const x2 = b.x * 10;
1718
+ const y2 = b.y * 6.8;
1719
+ const mx = (x1 + x2) / 2;
1720
+ const my = (y1 + y2) / 2;
1721
+ const curve = Math.max(-70, Math.min(70, (a.y - b.y) * 1.7));
1722
+ return `M ${x1} ${y1} Q ${mx + curve} ${my - 22} ${x2} ${y2}`;
1723
+ }
1724
+
1725
+ function buildGraph() {
1726
+ edgeLayer.innerHTML = "";
1727
+ edges.forEach(([from, to, type], index) => {
1728
+ const a = nodeById.get(from);
1729
+ const b = nodeById.get(to);
1730
+ const path = document.createElementNS("http://www.w3.org/2000/svg", "path");
1731
+ path.setAttribute("d", makePath(a, b));
1732
+ path.setAttribute("class", `edge ${type}`);
1733
+ path.dataset.from = from;
1734
+ path.dataset.to = to;
1735
+ path.dataset.edgeId = `edge-${index}`;
1736
+ edgeLayer.appendChild(path);
1737
+ });
1738
+
1739
+ nodeLayer.innerHTML = "";
1740
+ nodes.forEach(node => {
1741
+ const button = document.createElement("button");
1742
+ button.className = `node${node.unavailable ? " is-disabled" : ""}`;
1743
+ button.type = "button";
1744
+ button.dataset.id = node.id;
1745
+ button.dataset.type = node.type;
1746
+ button.dataset.community = node.community;
1747
+ button.style.left = `${node.x}%`;
1748
+ button.style.top = `${node.y}%`;
1749
+ button.setAttribute("aria-pressed", node.id === selectedNodeId ? "true" : "false");
1750
+ button.innerHTML = `
1751
+ <span class="node-kind">${nodeKind(node)}</span>
1752
+ <span class="node-name">${node.label}</span>
1753
+ <span class="node-meta"><i class="spark"></i>${node.unavailable ? "来源暂不可用" : node.weight}</span>
1754
+ `;
1755
+ button.addEventListener("click", () => selectNode(node.id));
1756
+ button.addEventListener("mouseenter", () => highlightNeighborhood(node.id));
1757
+ button.addEventListener("mouseleave", () => applyFilters());
1758
+ nodeLayer.appendChild(button);
1759
+ });
1760
+ }
1761
+
1762
+ function connectedIds(id) {
1763
+ const ids = new Set([id]);
1764
+ edges.forEach(([from, to]) => {
1765
+ if (from === id) ids.add(to);
1766
+ if (to === id) ids.add(from);
1767
+ });
1768
+ return ids;
1769
+ }
1770
+
1771
+ function visibleNodes() {
1772
+ const q = search.value.trim().toLowerCase();
1773
+ return nodes.filter(node => {
1774
+ const communityOk = activeCommunity === "all" || node.community === activeCommunity;
1775
+ const focusOk =
1776
+ focusMode === "all" ||
1777
+ (focusMode === "core" && node.weight >= 68) ||
1778
+ (focusMode === "source" && node.type === "source");
1779
+ const searchOk = !q || `${node.label} ${node.source} ${node.summary}`.toLowerCase().includes(q);
1780
+ return communityOk && focusOk && searchOk;
1781
+ });
1782
+ }
1783
+
1784
+ function applyFilters() {
1785
+ buildCommunities();
1786
+ const visible = visibleNodes();
1787
+ const visibleIds = new Set(visible.map(node => node.id));
1788
+ const hasNoResults = visible.length === 0 && atlas.dataset.mode === "normal";
1789
+
1790
+ document.querySelectorAll(".node").forEach(el => {
1791
+ const isVisible = visibleIds.has(el.dataset.id);
1792
+ el.classList.toggle("is-hidden", !isVisible);
1793
+ const shouldDim = dimUnselected && selectedNodeId && el.dataset.id !== selectedNodeId && !connectedIds(selectedNodeId).has(el.dataset.id);
1794
+ el.classList.toggle("is-dim", isVisible && shouldDim);
1795
+ el.setAttribute("aria-pressed", el.dataset.id === selectedNodeId ? "true" : "false");
1796
+ });
1797
+
1798
+ document.querySelectorAll(".edge").forEach(edge => {
1799
+ const edgeVisible = visibleIds.has(edge.dataset.from) && visibleIds.has(edge.dataset.to);
1800
+ edge.classList.toggle("is-dim", !edgeVisible || (dimUnselected && selectedNodeId && ![edge.dataset.from, edge.dataset.to].includes(selectedNodeId)));
1801
+ });
1802
+
1803
+ noResults.classList.toggle("is-visible", hasNoResults);
1804
+ const communityName = activeCommunity === "all" ? "全局视图" : communityLabel(activeCommunity);
1805
+ canvasTitle.textContent = `知识地图 · ${communityName}`;
1806
+ canvasSubtitle.textContent = hasNoResults ? "当前筛选没有匹配节点" : `${visible.length} 个节点在当前范围内可见`;
1807
+ insightTitle.textContent = hasNoResults ? "没有匹配结果" : "来源节点连接度偏高";
1808
+ insightCopy.textContent = hasNoResults ? "可以清除搜索词或切回全图查看完整关系。" : "建议从“知识编译”进入,可同时看到方法论、缓存与图谱生成的关系。";
1809
+ }
1810
+
1811
+ function highlightNeighborhood(id) {
1812
+ if (atlas.dataset.mode !== "normal") return;
1813
+ const ids = connectedIds(id);
1814
+ document.querySelectorAll(".node").forEach(el => {
1815
+ el.classList.toggle("is-dim", !ids.has(el.dataset.id));
1816
+ });
1817
+ document.querySelectorAll(".edge").forEach(edge => {
1818
+ edge.classList.toggle("is-dim", edge.dataset.from !== id && edge.dataset.to !== id);
1819
+ });
1820
+ }
1821
+
1822
+ function renderKnowledgeContent(node, neighbors) {
1823
+ const content = document.getElementById("drawer-content");
1824
+ const paragraphs = [
1825
+ `${node.label}属于「${communityLabel(node.community)}」脉络。${node.summary}`,
1826
+ neighbors.length
1827
+ ? `它当前连接到 ${neighbors.map(item => `「${item.label}」`).join("、")}。这些关系说明它在图谱中既是阅读入口,也是后续追踪来源和主题的线索。`
1828
+ : "这个节点暂时没有相邻节点,适合作为独立资料页继续补充来源和批注。",
1829
+ node.type === "source"
1830
+ ? "作为来源节点,它更适合承载出处、摘录和可靠性判断;相关主题会在图谱中向外展开。"
1831
+ : "作为主题或实体节点,它更适合承载概念解释、关联判断和学习笔记;来源证据会在相邻节点中展开。"
1832
+ ];
1833
+
1834
+ content.innerHTML = "";
1835
+ paragraphs.forEach(text => {
1836
+ const p = document.createElement("p");
1837
+ p.textContent = text;
1838
+ content.appendChild(p);
1839
+ });
1840
+ }
1841
+
1842
+ function selectNode(id) {
1843
+ selectedNodeId = id;
1844
+ const node = nodeById.get(id);
1845
+ const neighbors = [...connectedIds(id)].filter(item => item !== id).map(item => nodeById.get(item));
1846
+
1847
+ document.getElementById("drawer-kind").innerHTML = `<span class="spark"></span>${nodeKind(node)} · ${node.unavailable ? "UNAVAILABLE" : "SELECTED"}`;
1848
+ document.getElementById("drawer-title").textContent = node.label;
1849
+ document.getElementById("drawer-subtitle").textContent = `${communityLabel(node.community)} · ${confidenceLabel(node.confidence)} · ${node.source}`;
1850
+ document.getElementById("drawer-neighbor-count").textContent = `${neighbors.length} 个`;
1851
+ document.getElementById("drawer-summary").textContent = node.summary;
1852
+ renderKnowledgeContent(node, neighbors);
1853
+
1854
+ const list = document.getElementById("neighbor-list");
1855
+ list.innerHTML = "";
1856
+ neighbors.forEach(neighbor => {
1857
+ const button = document.createElement("button");
1858
+ button.className = "neighbor-card";
1859
+ button.type = "button";
1860
+ button.innerHTML = `<span class="card-copy"><strong>${neighbor.label}</strong><span>${nodeKind(neighbor)} · ${communityLabel(neighbor.community)}</span></span>`;
1861
+ button.addEventListener("click", () => selectNode(neighbor.id));
1862
+ list.appendChild(button);
1863
+ });
1864
+
1865
+ applyFilters();
1866
+ }
1867
+
1868
+ document.querySelectorAll("[data-focus]").forEach(button => {
1869
+ button.addEventListener("click", () => {
1870
+ focusMode = button.dataset.focus;
1871
+ document.querySelectorAll("[data-focus]").forEach(item => item.setAttribute("aria-pressed", item === button ? "true" : "false"));
1872
+ applyFilters();
1873
+ });
1874
+ });
1875
+
1876
+ document.querySelectorAll("[data-mode]").forEach(button => {
1877
+ button.addEventListener("click", () => {
1878
+ const mode = button.dataset.mode;
1879
+ atlas.dataset.mode = mode;
1880
+ document.querySelectorAll("[data-mode]").forEach(item => item.setAttribute("aria-pressed", item === button ? "true" : "false"));
1881
+ applyFilters();
1882
+ });
1883
+ });
1884
+
1885
+ document.getElementById("toggle-dim").addEventListener("click", () => {
1886
+ dimUnselected = !dimUnselected;
1887
+ document.getElementById("toggle-dim").textContent = dimUnselected ? "显示全部层级" : "弱化未选中";
1888
+ applyFilters();
1889
+ });
1890
+
1891
+ document.getElementById("fit-view").addEventListener("click", () => {
1892
+ activeCommunity = "all";
1893
+ focusMode = "all";
1894
+ search.value = "";
1895
+ document.querySelectorAll("[data-focus]").forEach(item => item.setAttribute("aria-pressed", item.dataset.focus === "all" ? "true" : "false"));
1896
+ applyFilters();
1897
+ selectNode("compile");
1898
+ });
1899
+
1900
+ search.addEventListener("input", applyFilters);
1901
+
1902
+ buildCommunities();
1903
+ buildStarts();
1904
+ buildGraph();
1905
+ selectNode(selectedNodeId);
1906
+ </script>
1907
+ </body>
1908
+ </html>