@furongjun1999/dsh-memory 0.4.4 → 0.4.6

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 (1346) hide show
  1. package/README.md +200 -453
  2. package/cordis.yml.example +78 -9
  3. package/docs/AGI/344/270/203/347/273/264/350/257/204/345/210/206/346/212/245/345/221/212_md_cg_v1.0.md +170 -0
  4. package/docs/AGI/344/270/203/347/273/264/350/257/204/345/210/206/346/212/245/345/221/212_md_cg_v2.0.md +239 -0
  5. package/docs/README/350/257/246/347/273/206/347/211/210_v0.4.5.md +625 -0
  6. package/docs/cordis-patch-profile-web.example.yml +49 -5
  7. package/docs/release_v0.3.0.md +36 -0
  8. package/docs/release_v0.4.5.md +55 -0
  9. package/docs/tool_table_v0.3.0.md +117 -0
  10. package/docs//344/273/244/347/211/214/344/270/216/350/247/222/350/211/262/346/235/203/350/201/214/345/210/206/347/246/273_v0.1.md +160 -0
  11. package/docs//345/212/237/350/203/275/350/260/203/347/224/250/346/230/240/345/260/204/350/241/250_v0.1.md +221 -0
  12. package/docs//345/267/245/344/275/234/347/272/252/345/276/213_/350/256/244/347/237/245/345/233/276/346/235/241/347/233/256_v1.1.json +51 -2
  13. package/docs//347/201/265/346/236/24282/345/267/245/345/205/267_/345/212/237/350/203/275/346/225/264/347/220/206/344/270/216/350/277/201/347/247/273/346/230/240/345/260/204_v0.1.md +278 -0
  14. package/docs//347/201/265/346/236/242/344/270/211/345/261/202/346/213/206/345/210/206/350/247/204/345/210/222_v0.1.md +181 -0
  15. package/docs//347/220/206/350/256/272/344/273/223/346/213/206/345/210/206/344/270/216/347/231/275/347/256/261/347/237/245/350/257/206/345/272/223/345/206/205/350/277/201_v0.1.md +198 -0
  16. package/docs//347/231/275/347/256/261/346/231/272/350/203/275/347/263/273/345/210/227/302/267/347/254/254/344/272/224/347/257/207/357/274/232/350/256/251AI/347/234/237/346/255/243/350/243/205/344/270/212/350/256/260/345/277/206.md +49 -1
  17. package/docs//347/274/272/345/217/243/345/215/225_P0/346/224/266/345/217/243_v0.1.md +270 -0
  18. package/docs//350/234/202/347/276/244/344/272/222/350/201/224_v0.1.md +704 -0
  19. package/docs//350/256/244/347/237/245/345/233/276_G4-G8/347/274/272/345/217/243/350/243/201/345/256/232/345/215/225_v0.1.md +491 -0
  20. package/docs//350/256/244/347/237/245/345/233/276_MD/347/233/256/345/275/225/346/226/271/346/241/210_v0.1.md +60 -38
  21. package/docs//350/256/244/347/237/245/345/233/276_/346/235/241/344/273/266/347/251/272/351/227/264/345/220/210/346/210/220/344/270/216/347/224/237/346/225/210/346/235/241/344/273/266/345/217/243/345/276/204_v0.1.md +340 -0
  22. package/docs//350/256/244/347/237/245/345/233/276_/347/264/242/345/274/225/344/270/216/345/267/245/347/250/213/350/247/204/350/214/203/345/214/226_/350/256/241/345/210/222_v0.1.md +496 -0
  23. package/docs//350/256/244/347/237/245/345/233/276/344/275/234/344/270/272/350/256/260/345/277/206/346/223/215/344/275/234/347/263/273/347/273/237_/350/257/204/344/274/260/344/270/216/350/267/257/347/272/277_v0.1.md +2 -2
  24. package/docs//350/256/260/345/277/206/346/223/215/344/275/234/347/263/273/347/273/237_MdCGOS/344/270/216MCP/346/216/245/345/205/245_v0.1.md +129 -26
  25. package/lib/bridge.d.ts +4 -4
  26. package/lib/bridge.js +4 -4
  27. package/lib/hooks.d.ts +23 -8
  28. package/lib/hooks.js +75 -26
  29. package/lib/index.d.ts +53 -8
  30. package/lib/index.js +249 -65
  31. package/lib/lib/datapath.d.ts +16 -0
  32. package/lib/lib/datapath.js +114 -0
  33. package/lib/lib/mdcg_client.d.ts +172 -0
  34. package/lib/lib/mdcg_client.js +277 -0
  35. package/lib/lib/mutual.d.ts +121 -0
  36. package/lib/lib/mutual.js +348 -0
  37. package/lib/lib/roleplay_web.d.ts +6 -0
  38. package/{src/roleplay_web.ts → lib/lib/roleplay_web.js} +503 -450
  39. package/lib/lib/token_store.d.ts +36 -0
  40. package/lib/lib/token_store.js +135 -0
  41. package/lib/lib/whitebox_llm.d.ts +129 -0
  42. package/lib/lib/whitebox_llm.js +249 -0
  43. package/lib/tools.d.ts +13 -6
  44. package/lib/tools.js +41 -55
  45. package/md_cg/__init__.py +7 -0
  46. package/md_cg/audit.py +280 -0
  47. package/md_cg/backfill.py +1272 -0
  48. package/md_cg/bench_axis_domain.py +250 -0
  49. package/md_cg/bench_lme_zh.py +396 -0
  50. package/md_cg/bench_locomo.py +121 -0
  51. package/md_cg/bench_locomo_zh.py +436 -0
  52. package/md_cg/bench_locomo_zh_public.py +145 -0
  53. package/md_cg/bench_longmem.py +112 -0
  54. package/md_cg/bench_membench.py +602 -0
  55. package/md_cg/bench_p0.py +147 -0
  56. package/md_cg/bench_task_ab.py +237 -0
  57. package/md_cg/bench_task_ab_llm.py +397 -0
  58. package/md_cg/bench_zh_mad.py +583 -0
  59. package/md_cg/census.py +117 -0
  60. package/md_cg/chain.py +280 -0
  61. package/md_cg/codeindex.py +359 -0
  62. package/md_cg/consistency.py +593 -0
  63. package/md_cg/consolidate.py +1389 -0
  64. package/md_cg/corpus.py +106 -0
  65. package/md_cg/crosscheck.py +1058 -0
  66. package/md_cg/crypto.py +404 -0
  67. package/md_cg/datapath.py +160 -0
  68. package/md_cg/docindex.py +333 -0
  69. package/md_cg/eval_common.py +547 -0
  70. package/md_cg/evidence.py +555 -0
  71. package/md_cg/evolution.py +458 -0
  72. package/md_cg/export.py +210 -0
  73. package/md_cg/forgetting.py +552 -0
  74. package/md_cg/fsutil.py +251 -0
  75. package/md_cg/identity.py +374 -0
  76. package/md_cg/insight.py +485 -0
  77. package/md_cg/links.py +595 -0
  78. package/md_cg/mcp_server.py +2586 -0
  79. package/md_cg/md_whitebox.py +271 -0
  80. package/md_cg/mdcg.py +1244 -0
  81. package/md_cg/mdcos.py +2542 -0
  82. package/md_cg/metacognition.py +557 -0
  83. package/md_cg/migrate.py +115 -0
  84. package/md_cg/migrate_aeis.py +213 -0
  85. package/md_cg/migrate_roleplay.py +285 -0
  86. package/md_cg/migrate_wisdom_graph.py +348 -0
  87. package/md_cg/nodefile.py +308 -0
  88. package/md_cg/pooling.py +451 -0
  89. package/md_cg/predict.py +918 -0
  90. package/md_cg/protect.py +260 -0
  91. package/md_cg/protocol/md_cg_gate.proto +33 -0
  92. package/md_cg/provenance.py +321 -0
  93. package/md_cg/refindex.py +585 -0
  94. package/md_cg/refine.py +586 -0
  95. package/md_cg/routing.py +290 -0
  96. package/md_cg/scrub.py +788 -0
  97. package/md_cg/security.py +250 -0
  98. package/md_cg/self_state.py +880 -0
  99. package/md_cg/signer.py +523 -0
  100. package/md_cg/sources.py +547 -0
  101. package/md_cg/stg.py +250 -0
  102. package/md_cg/subgraph.py +706 -0
  103. package/md_cg/sustain.py +874 -0
  104. package/md_cg/test_lock.py +43 -0
  105. package/md_cg/test_p0.py +250 -0
  106. package/md_cg/test_p1.py +317 -0
  107. package/md_cg/test_p10_identity.py +173 -0
  108. package/md_cg/test_p11_consistency.py +233 -0
  109. package/md_cg/test_p12_metacognition.py +212 -0
  110. package/md_cg/test_p13_encryption.py +241 -0
  111. package/md_cg/test_p14_sustain.py +249 -0
  112. package/md_cg/test_p15_scrub.py +280 -0
  113. package/md_cg/test_p16_self_state.py +275 -0
  114. package/md_cg/test_p17_predict.py +341 -0
  115. package/md_cg/test_p18_whitebox.py +171 -0
  116. package/md_cg/test_p19_migrate_roleplay.py +149 -0
  117. package/md_cg/test_p2.py +205 -0
  118. package/md_cg/test_p20_evolution.py +315 -0
  119. package/md_cg/test_p21_tokens.py +270 -0
  120. package/md_cg/test_p22_theory.py +175 -0
  121. package/md_cg/test_p23_links.py +311 -0
  122. package/md_cg/test_p24_evidence.py +227 -0
  123. package/md_cg/test_p25_weights.py +156 -0
  124. package/md_cg/test_p26_refindex.py +387 -0
  125. package/md_cg/test_p27_docindex.py +377 -0
  126. package/md_cg/test_p28_refcheck.py +305 -0
  127. package/md_cg/test_p29_session_ingest_export.py +333 -0
  128. package/md_cg/test_p2_mcp.py +425 -0
  129. package/md_cg/test_p3.py +252 -0
  130. package/md_cg/test_p30_maintain.py +330 -0
  131. package/md_cg/test_p31_insight.py +510 -0
  132. package/md_cg/test_p32_backfill.py +298 -0
  133. package/md_cg/test_p33_ccg_wiring.py +293 -0
  134. package/md_cg/test_p34_crosscheck.py +331 -0
  135. package/md_cg/test_p35_conditioned_claim.py +252 -0
  136. package/md_cg/test_p36_kp_align.py +225 -0
  137. package/md_cg/test_p37_condition_space.py +248 -0
  138. package/md_cg/test_p38_contextualize.py +273 -0
  139. package/md_cg/test_p39_vision_evidence.py +369 -0
  140. package/md_cg/test_p40_refine_worklist.py +241 -0
  141. package/md_cg/test_p41_evolve_patrol.py +224 -0
  142. package/md_cg/test_p42_provenance.py +269 -0
  143. package/md_cg/test_p43_pooling.py +370 -0
  144. package/md_cg/test_p44_md_whitebox.py +218 -0
  145. package/md_cg/test_p45_session_identity.py +220 -0
  146. package/md_cg/test_p46_unit_scope.py +272 -0
  147. package/md_cg/test_p4_fuzzy.py +223 -0
  148. package/md_cg/test_p5_semantic.py +226 -0
  149. package/md_cg/test_p6_consolidate.py +387 -0
  150. package/md_cg/test_p7_goals_recent.py +202 -0
  151. package/md_cg/test_p8_subgraph_chain.py +200 -0
  152. package/md_cg/test_p9_forget_protect.py +231 -0
  153. package/md_cg/theory.py +259 -0
  154. package/md_cg/tokens.py +542 -0
  155. package/md_cg/vision_evidence.py +644 -0
  156. package/md_cg/weights.py +602 -0
  157. package/md_cg/whitebox.py +497 -0
  158. package/md_cg/whitebox_kb/__init__.py +37 -0
  159. package/md_cg/whitebox_kb/aeis_core/__init__.py +42 -0
  160. package/md_cg/whitebox_kb/aeis_core/api.py +1042 -0
  161. package/md_cg/whitebox_kb/aeis_core/core.py +5022 -0
  162. package/md_cg/whitebox_kb/aeis_core/semantic.py +280 -0
  163. package/md_cg/whitebox_kb/aeis_core/textutil.py +13 -0
  164. package/md_cg/whitebox_kb/aeis_core/time_core.py +43 -0
  165. package/md_cg/whitebox_kb/data/verify_cache.json +1873 -0
  166. package/md_cg/whitebox_kb/data/verify_savings.jsonl +8050 -0
  167. package/md_cg/whitebox_kb/engine.py +310 -0
  168. package/md_cg/whitebox_kb/knowledge/_ccg_dump.json +1 -0
  169. package/md_cg/whitebox_kb/knowledge/_index.json +15300 -0
  170. package/md_cg/whitebox_kb/knowledge//344/270/226/347/225/214/345/234/260/346/240/207.md +22 -0
  171. package/md_cg/whitebox_kb/knowledge//344/270/226/347/225/214/346/226/207/345/214/226.md +15 -0
  172. package/md_cg/whitebox_kb/knowledge//344/270/226/347/225/214/350/207/252/347/204/266/345/245/207/350/247/202.md +29 -0
  173. package/md_cg/whitebox_kb/knowledge//344/270/226/347/225/214/351/201/227/344/272/247.md +15 -0
  174. package/md_cg/whitebox_kb/knowledge//344/270/255/345/233/275/345/217/244/344/273/243/346/226/207/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +167 -0
  175. package/md_cg/whitebox_kb/knowledge//344/270/255/345/233/275/345/220/215/350/203/234.md +15 -0
  176. package/md_cg/whitebox_kb/knowledge//344/270/255/345/233/275/345/257/223/350/250/200.md +15 -0
  177. package/md_cg/whitebox_kb/knowledge//344/270/255/345/233/275/347/216/260/344/273/243/346/226/207/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +153 -0
  178. package/md_cg/whitebox_kb/knowledge//344/270/255/345/233/275/347/245/236/350/257/235.md +22 -0
  179. package/md_cg/whitebox_kb/knowledge//344/271/246/346/263/225/346/226/207/345/214/226.md +22 -0
  180. package/md_cg/whitebox_kb/knowledge//344/272/244/351/200/232/345/256/211/345/205/250.md +15 -0
  181. package/md_cg/whitebox_kb/knowledge//344/272/244/351/200/232/351/200/232/350/257/206.md +15 -0
  182. package/md_cg/whitebox_kb/knowledge//344/272/272/344/275/223/347/224/237/347/220/206.md +22 -0
  183. package/md_cg/whitebox_kb/knowledge//344/272/272/345/267/245/346/231/272/350/203/275/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +307 -0
  184. package/md_cg/whitebox_kb/knowledge//344/272/272/346/226/207/351/200/232/350/257/206.md +1296 -0
  185. package/md_cg/whitebox_kb/knowledge//344/272/272/347/211/251/345/216/206/345/217/262.md +15 -0
  186. package/md_cg/whitebox_kb/knowledge//344/272/272/347/261/273/350/247/202/345/257/237/350/200/205/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +265 -0
  187. package/md_cg/whitebox_kb/knowledge//344/272/272/351/231/205/346/262/237/351/200/232.md +22 -0
  188. package/md_cg/whitebox_kb/knowledge//344/274/232/350/256/241/345/255/246/345/216/237/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +131 -0
  189. package/md_cg/whitebox_kb/knowledge//344/274/240/347/273/237/344/271/220/345/231/250.md +15 -0
  190. package/md_cg/whitebox_kb/knowledge//344/274/240/347/273/237/345/205/273/347/224/237.md +15 -0
  191. package/md_cg/whitebox_kb/knowledge//344/274/240/347/273/237/345/216/206/346/263/225.md +15 -0
  192. package/md_cg/whitebox_kb/knowledge//344/274/240/347/273/237/345/267/245/350/211/272.md +148 -0
  193. package/md_cg/whitebox_kb/knowledge//344/274/240/347/273/237/345/273/272/347/255/221.md +29 -0
  194. package/md_cg/whitebox_kb/knowledge//344/274/240/347/273/237/346/226/207/345/214/226.md +92 -0
  195. package/md_cg/whitebox_kb/knowledge//344/274/240/347/273/237/346/243/213/347/261/273.md +15 -0
  196. package/md_cg/whitebox_kb/knowledge//344/274/240/347/273/237/346/255/246/346/234/257.md +15 -0
  197. package/md_cg/whitebox_kb/knowledge//344/274/240/347/273/237/347/276/216/345/276/267.md +29 -0
  198. package/md_cg/whitebox_kb/knowledge//344/274/240/347/273/237/347/276/216/351/243/237.md +36 -0
  199. package/md_cg/whitebox_kb/knowledge//344/274/240/347/273/237/350/211/272/346/234/257.md +71 -0
  200. package/md_cg/whitebox_kb/knowledge//344/274/240/347/273/237/350/212/202/346/227/245.md +22 -0
  201. package/md_cg/whitebox_kb/knowledge//344/275/223/350/202/262.md +15 -0
  202. package/md_cg/whitebox_kb/knowledge//344/275/223/350/202/262/350/277/220/345/212/250.md +15 -0
  203. package/md_cg/whitebox_kb/knowledge//344/277/241/346/201/257/345/256/211/345/205/250.md +15 -0
  204. package/md_cg/whitebox_kb/knowledge//344/277/241/346/201/257/346/212/200/346/234/257.md +22 -0
  205. package/md_cg/whitebox_kb/knowledge//344/277/241/346/201/257/350/256/272/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +90 -0
  206. package/md_cg/whitebox_kb/knowledge//345/201/245/345/272/267/344/271/240/346/203/257.md +15 -0
  207. package/md_cg/whitebox_kb/knowledge//345/201/245/345/272/267/345/270/270/350/257/206.md +50 -0
  208. package/md_cg/whitebox_kb/knowledge//345/205/211/345/255/246/351/200/232/350/257/206.md +15 -0
  209. package/md_cg/whitebox_kb/knowledge//345/205/273/347/224/237/346/226/271/346/263/225.md +15 -0
  210. package/md_cg/whitebox_kb/knowledge//345/206/233/344/272/213/345/217/262.md +15 -0
  211. package/md_cg/whitebox_kb/knowledge//345/206/234/344/270/232/345/270/270/350/257/206.md +15 -0
  212. package/md_cg/whitebox_kb/knowledge//345/210/206/345/255/220/347/224/237/347/211/251/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +167 -0
  213. package/md_cg/whitebox_kb/knowledge//345/210/206/346/236/220/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +167 -0
  214. package/md_cg/whitebox_kb/knowledge//345/210/235/344/270/255/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +391 -0
  215. package/md_cg/whitebox_kb/knowledge//345/210/235/344/270/255/345/216/206/345/217/262/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +279 -0
  216. package/md_cg/whitebox_kb/knowledge//345/210/235/344/270/255/345/234/260/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +160 -0
  217. package/md_cg/whitebox_kb/knowledge//345/210/235/344/270/255/346/225/260/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +391 -0
  218. package/md_cg/whitebox_kb/knowledge//345/210/235/344/270/255/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +545 -0
  219. package/md_cg/whitebox_kb/knowledge//345/210/235/344/270/255/347/224/237/347/211/251/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +426 -0
  220. package/md_cg/whitebox_kb/knowledge//345/210/235/344/270/255/350/213/261/350/257/255/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +167 -0
  221. package/md_cg/whitebox_kb/knowledge//345/210/235/344/270/255/350/257/255/346/226/207/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +167 -0
  222. package/md_cg/whitebox_kb/knowledge//345/210/235/344/270/255/351/201/223/345/276/267/344/270/216/346/263/225/346/262/273/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +153 -0
  223. package/md_cg/whitebox_kb/knowledge//345/210/266/345/272/246/345/217/262.md +64 -0
  224. package/md_cg/whitebox_kb/knowledge//345/211/215/346/262/277/347/247/221/346/212/200.md +36 -0
  225. package/md_cg/whitebox_kb/knowledge//345/212/250/347/211/251/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +160 -0
  226. package/md_cg/whitebox_kb/knowledge//345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +2081 -0
  227. package/md_cg/whitebox_kb/knowledge//345/214/226/345/267/245/345/216/237/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +167 -0
  228. package/md_cg/whitebox_kb/knowledge//345/214/273/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +139 -0
  229. package/md_cg/whitebox_kb/knowledge//345/216/206/345/217/262/345/234/260/347/220/206.md +29 -0
  230. package/md_cg/whitebox_kb/knowledge//345/216/206/345/217/262/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +464 -0
  231. package/md_cg/whitebox_kb/knowledge//345/216/237/345/255/220/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +139 -0
  232. package/md_cg/whitebox_kb/knowledge//345/217/244/344/273/243/346/261/211/350/257/255/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +139 -0
  233. package/md_cg/whitebox_kb/knowledge//345/217/244/347/224/237/347/211/251.md +22 -0
  234. package/md_cg/whitebox_kb/knowledge//345/223/262/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +118 -0
  235. package/md_cg/whitebox_kb/knowledge//345/225/206/344/270/232/345/217/262.md +15 -0
  236. package/md_cg/whitebox_kb/knowledge//345/231/250/347/211/251/345/267/245/350/211/272.md +15 -0
  237. package/md_cg/whitebox_kb/knowledge//345/233/255/346/236/227/345/273/272/347/255/221.md +15 -0
  238. package/md_cg/whitebox_kb/knowledge//345/233/272/344/275/223/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +202 -0
  239. package/md_cg/whitebox_kb/knowledge//345/233/276/345/203/217/347/224/237/346/210/220.md +99 -0
  240. package/md_cg/whitebox_kb/knowledge//345/234/237/346/234/250/345/267/245/347/250/213/345/237/272/347/241/200/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +125 -0
  241. package/md_cg/whitebox_kb/knowledge//345/234/260/347/220/206/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +303 -0
  242. package/md_cg/whitebox_kb/knowledge//345/244/215/345/217/230/345/207/275/346/225/260/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +195 -0
  243. package/md_cg/whitebox_kb/knowledge//345/244/226/345/233/275/346/226/207/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +118 -0
  244. package/md_cg/whitebox_kb/knowledge//345/244/247/345/255/246/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +265 -0
  245. package/md_cg/whitebox_kb/knowledge//345/244/247/345/255/246/346/200/235/346/224/277/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +174 -0
  246. package/md_cg/whitebox_kb/knowledge//345/244/247/345/255/246/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +321 -0
  247. package/md_cg/whitebox_kb/knowledge//345/244/247/345/255/246/350/213/261/350/257/255/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +132 -0
  248. package/md_cg/whitebox_kb/knowledge//345/244/251/344/275/223/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +125 -0
  249. package/md_cg/whitebox_kb/knowledge//345/244/251/346/226/207/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +173 -0
  250. package/md_cg/whitebox_kb/knowledge//345/255/230/345/234/250/350/256/272.md +43 -0
  251. package/md_cg/whitebox_kb/knowledge//345/255/246/344/271/240/346/226/271/346/263/225.md +57 -0
  252. package/md_cg/whitebox_kb/knowledge//345/256/211/345/205/250/345/270/270/350/257/206.md +22 -0
  253. package/md_cg/whitebox_kb/knowledge//345/256/217/350/247/202/347/273/217/346/265/216/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +153 -0
  254. package/md_cg/whitebox_kb/knowledge//345/256/236/345/217/230/345/207/275/346/225/260/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +195 -0
  255. package/md_cg/whitebox_kb/knowledge//345/256/240/347/211/251.md +29 -0
  256. package/md_cg/whitebox_kb/knowledge//345/256/266/345/272/255/345/205/263/347/263/273.md +29 -0
  257. package/md_cg/whitebox_kb/knowledge//345/260/217/345/255/246/346/225/260/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +566 -0
  258. package/md_cg/whitebox_kb/knowledge//345/260/217/345/255/246/347/247/221/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +1274 -0
  259. package/md_cg/whitebox_kb/knowledge//345/260/217/345/255/246/350/213/261/350/257/255/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +153 -0
  260. package/md_cg/whitebox_kb/knowledge//345/260/217/345/255/246/350/257/255/346/226/207/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +174 -0
  261. package/md_cg/whitebox_kb/knowledge//345/260/217/345/255/246/351/201/223/345/276/267/344/270/216/346/263/225/346/262/273/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +153 -0
  262. package/md_cg/whitebox_kb/knowledge//345/267/245/347/250/213/345/210/266/345/233/276/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +118 -0
  263. package/md_cg/whitebox_kb/knowledge//345/267/245/347/250/213/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +611 -0
  264. package/md_cg/whitebox_kb/knowledge//345/267/245/347/250/213/347/247/221/345/255/246.md +22 -0
  265. package/md_cg/whitebox_kb/knowledge//345/267/245/350/211/272/351/200/232/350/257/206.md +15 -0
  266. package/md_cg/whitebox_kb/knowledge//345/270/202/345/234/272/350/220/245/351/224/200/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +111 -0
  267. package/md_cg/whitebox_kb/knowledge//345/270/270/345/276/256/345/210/206/346/226/271/347/250/213/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +237 -0
  268. package/md_cg/whitebox_kb/knowledge//345/273/272/347/255/221/344/272/272/346/226/207.md +15 -0
  269. package/md_cg/whitebox_kb/knowledge//345/273/272/347/255/221/345/216/206/345/217/262.md +43 -0
  270. package/md_cg/whitebox_kb/knowledge//345/273/272/347/255/221/350/211/272/346/234/257.md +15 -0
  271. package/md_cg/whitebox_kb/knowledge//345/273/272/347/255/221/351/200/232/350/257/206.md +15 -0
  272. package/md_cg/whitebox_kb/knowledge//345/275/261/350/247/206/345/270/270/350/257/206.md +29 -0
  273. package/md_cg/whitebox_kb/knowledge//345/276/256/345/210/206/345/207/240/344/275/225/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +146 -0
  274. package/md_cg/whitebox_kb/knowledge//345/276/256/347/224/237/347/211/251/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +174 -0
  275. package/md_cg/whitebox_kb/knowledge//345/276/256/350/247/202/347/273/217/346/265/216/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +146 -0
  276. package/md_cg/whitebox_kb/knowledge//345/277/203/347/220/206/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +133 -0
  277. package/md_cg/whitebox_kb/knowledge//346/200/235/347/273/264/345/256/232/345/276/213.md +29 -0
  278. package/md_cg/whitebox_kb/knowledge//346/203/205/346/204/237/346/203/205/347/273/252/344/273/277/347/234/237/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +186 -0
  279. package/md_cg/whitebox_kb/knowledge//346/210/217/346/233/262/350/211/272/346/234/257.md +22 -0
  280. package/md_cg/whitebox_kb/knowledge//346/210/220/350/257/255/345/205/270/346/225/205.md +15 -0
  281. package/md_cg/whitebox_kb/knowledge//346/211/213/345/267/245/345/270/270/350/257/206.md +15 -0
  282. package/md_cg/whitebox_kb/knowledge//346/212/275/350/261/241/344/273/243/346/225/260/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +160 -0
  283. package/md_cg/whitebox_kb/knowledge//346/213/223/346/211/221/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +139 -0
  284. package/md_cg/whitebox_kb/knowledge//346/223/215/344/275/234/347/263/273/347/273/237/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +160 -0
  285. package/md_cg/whitebox_kb/knowledge//346/224/266/350/227/217/351/233/206/350/227/217.md +92 -0
  286. package/md_cg/whitebox_kb/knowledge//346/224/277/346/262/273/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +387 -0
  287. package/md_cg/whitebox_kb/knowledge//346/225/210/347/216/207/346/226/271/346/263/225.md +15 -0
  288. package/md_cg/whitebox_kb/knowledge//346/225/260/345/200/274/345/210/206/346/236/220/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +202 -0
  289. package/md_cg/whitebox_kb/knowledge//346/225/260/345/255/227/347/224/265/350/267/257/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +146 -0
  290. package/md_cg/whitebox_kb/knowledge//346/225/260/345/255/227/347/264/240/345/205/273.md +22 -0
  291. package/md_cg/whitebox_kb/knowledge//346/225/260/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +2074 -0
  292. package/md_cg/whitebox_kb/knowledge//346/225/260/345/255/246/345/210/206/346/236/220/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +349 -0
  293. package/md_cg/whitebox_kb/knowledge//346/225/260/345/255/246/347/211/251/347/220/206/346/226/271/346/263/225/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +153 -0
  294. package/md_cg/whitebox_kb/knowledge//346/225/260/346/215/256/345/272/223/347/263/273/347/273/237/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +146 -0
  295. package/md_cg/whitebox_kb/knowledge//346/225/260/346/215/256/347/273/223/346/236/204/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +174 -0
  296. package/md_cg/whitebox_kb/knowledge//346/226/207/345/205/267/345/270/270/350/257/206.md +15 -0
  297. package/md_cg/whitebox_kb/knowledge//346/226/207/345/214/226.md +36 -0
  298. package/md_cg/whitebox_kb/knowledge//346/226/207/345/214/226/351/200/232/350/257/206.md +15 -0
  299. package/md_cg/whitebox_kb/knowledge//346/226/207/345/255/227/345/255/246.md +15 -0
  300. package/md_cg/whitebox_kb/knowledge//346/226/207/345/255/227/350/265/267/346/272/220.md +15 -0
  301. package/md_cg/whitebox_kb/knowledge//346/226/207/345/255/246/347/220/206/350/256/272/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +328 -0
  302. package/md_cg/whitebox_kb/knowledge//346/226/207/346/225/231/345/216/206/345/217/262.md +15 -0
  303. package/md_cg/whitebox_kb/knowledge//346/226/207/347/211/251/351/200/232/350/257/206.md +22 -0
  304. package/md_cg/whitebox_kb/knowledge//346/226/207/347/214/256/345/255/246.md +22 -0
  305. package/md_cg/whitebox_kb/knowledge//346/227/240/346/234/272/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +216 -0
  306. package/md_cg/whitebox_kb/knowledge//346/227/266/347/251/272/350/256/260/345/277/206/345/233/276/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +214 -0
  307. package/md_cg/whitebox_kb/knowledge//346/230/206/350/231/253/345/270/270/350/257/206.md +29 -0
  308. package/md_cg/whitebox_kb/knowledge//346/231/272/350/203/275/350/256/272/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +441 -0
  309. package/md_cg/whitebox_kb/knowledge//346/233/262/350/211/272/345/270/270/350/257/206.md +15 -0
  310. package/md_cg/whitebox_kb/knowledge//346/234/211/346/234/272/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +195 -0
  311. package/md_cg/whitebox_kb/knowledge//346/234/215/351/245/260/346/226/207/345/214/226.md +22 -0
  312. package/md_cg/whitebox_kb/knowledge//346/234/252/345/210/206/347/261/273.md +52 -0
  313. package/md_cg/whitebox_kb/knowledge//346/234/272/346/242/260/351/200/232/350/257/206.md +15 -0
  314. package/md_cg/whitebox_kb/knowledge//346/235/220/346/226/231/345/212/233/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +146 -0
  315. package/md_cg/whitebox_kb/knowledge//346/235/241/344/273/266/350/256/272/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +350 -0
  316. package/md_cg/whitebox_kb/knowledge//346/243/213/347/211/214/350/247/204/345/210/231.md +15 -0
  317. package/md_cg/whitebox_kb/knowledge//346/243/213/347/261/273/350/247/204/345/210/231.md +36 -0
  318. package/md_cg/whitebox_kb/knowledge//346/244/215/347/211/251/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +132 -0
  319. package/md_cg/whitebox_kb/knowledge//346/246/202/347/216/207/350/256/272/344/270/216/346/225/260/347/220/206/347/273/237/350/256/241/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +230 -0
  320. package/md_cg/whitebox_kb/knowledge//346/250/241/346/213/237/347/224/265/345/255/220/346/212/200/346/234/257/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +146 -0
  321. package/md_cg/whitebox_kb/knowledge//346/260/221/344/277/227.md +64 -0
  322. package/md_cg/whitebox_kb/knowledge//346/260/221/344/277/227/344/277/241/344/273/260.md +36 -0
  323. package/md_cg/whitebox_kb/knowledge//346/260/221/344/277/227/345/205/273/347/224/237.md +15 -0
  324. package/md_cg/whitebox_kb/knowledge//346/260/221/344/277/227/345/216/206/346/263/225.md +15 -0
  325. package/md_cg/whitebox_kb/knowledge//346/260/221/344/277/227/345/231/250/347/211/251.md +15 -0
  326. package/md_cg/whitebox_kb/knowledge//346/260/221/344/277/227/346/226/207/345/214/226.md +22 -0
  327. package/md_cg/whitebox_kb/knowledge//346/260/221/344/277/227/350/257/255/350/250/200.md +15 -0
  328. package/md_cg/whitebox_kb/knowledge//346/260/221/344/277/227/351/233/205/347/216/251.md +50 -0
  329. package/md_cg/whitebox_kb/knowledge//346/260/224/350/261/241/345/270/270/350/257/206.md +15 -0
  330. package/md_cg/whitebox_kb/knowledge//346/260/224/350/261/241/351/200/232/350/257/206.md +15 -0
  331. package/md_cg/whitebox_kb/knowledge//346/261/202/350/201/214/346/212/200/350/203/275.md +29 -0
  332. package/md_cg/whitebox_kb/knowledge//346/262/237/351/200/232.md +29 -0
  333. package/md_cg/whitebox_kb/knowledge//346/263/225/345/276/213/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +14 -0
  334. package/md_cg/whitebox_kb/knowledge//346/263/233/345/207/275/345/210/206/346/236/220/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +188 -0
  335. package/md_cg/whitebox_kb/knowledge//346/265/267/346/264/213/347/224/237/347/211/251.md +15 -0
  336. package/md_cg/whitebox_kb/knowledge//347/203/255/345/212/233/345/255/246/344/270/216/347/273/237/350/256/241/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +188 -0
  337. package/md_cg/whitebox_kb/knowledge//347/203/271/351/245/252/346/212/200/346/263/225.md +15 -0
  338. package/md_cg/whitebox_kb/knowledge//347/211/251/347/220/206/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +195 -0
  339. package/md_cg/whitebox_kb/knowledge//347/211/251/347/220/206/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +2256 -0
  340. package/md_cg/whitebox_kb/knowledge//347/216/260/344/273/243/346/261/211/350/257/255/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +125 -0
  341. package/md_cg/whitebox_kb/knowledge//347/220/206/350/256/272/345/212/233/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +209 -0
  342. package/md_cg/whitebox_kb/knowledge//347/224/237/346/200/201/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +132 -0
  343. package/md_cg/whitebox_kb/knowledge//347/224/237/346/264/273/345/215/253/347/224/237.md +15 -0
  344. package/md_cg/whitebox_kb/knowledge//347/224/237/346/264/273/345/270/270/350/257/206.md +1296 -0
  345. package/md_cg/whitebox_kb/knowledge//347/224/237/346/264/273/346/212/200/350/203/275.md +43 -0
  346. package/md_cg/whitebox_kb/knowledge//347/224/237/346/264/273/347/247/221/346/212/200.md +22 -0
  347. package/md_cg/whitebox_kb/knowledge//347/224/237/346/264/273/351/200/232/350/257/206.md +15 -0
  348. package/md_cg/whitebox_kb/knowledge//347/224/237/347/211/251/344/277/235/346/212/244.md +36 -0
  349. package/md_cg/whitebox_kb/knowledge//347/224/237/347/211/251/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +209 -0
  350. package/md_cg/whitebox_kb/knowledge//347/224/237/347/211/251/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +1759 -0
  351. package/md_cg/whitebox_kb/knowledge//347/224/237/347/220/206/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +132 -0
  352. package/md_cg/whitebox_kb/knowledge//347/224/265/345/212/250/345/212/233/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +188 -0
  353. package/md_cg/whitebox_kb/knowledge//347/224/265/350/267/257/345/216/237/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +146 -0
  354. package/md_cg/whitebox_kb/knowledge//347/231/275/347/256/261/345/215/217/350/256/256.md +22 -0
  355. package/md_cg/whitebox_kb/knowledge//347/233/212/346/231/272/346/270/270/346/210/217.md +15 -0
  356. package/md_cg/whitebox_kb/knowledge//347/233/212/346/231/272/351/200/232/350/257/206.md +15 -0
  357. package/md_cg/whitebox_kb/knowledge//347/244/276/344/272/244/346/212/200/345/267/247.md +15 -0
  358. package/md_cg/whitebox_kb/knowledge//347/244/276/344/274/232/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +117 -0
  359. package/md_cg/whitebox_kb/knowledge//347/244/276/344/274/232/347/247/221/345/255/246.md +43 -0
  360. package/md_cg/whitebox_kb/knowledge//347/245/236/350/257/235/344/274/240/350/257/264.md +15 -0
  361. package/md_cg/whitebox_kb/knowledge//347/247/221/345/255/246/345/217/262.md +22 -0
  362. package/md_cg/whitebox_kb/knowledge//347/247/221/346/212/200/351/200/232/350/257/206.md +78 -0
  363. package/md_cg/whitebox_kb/knowledge//347/250/213/345/272/217/350/256/276/350/256/241/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +146 -0
  364. package/md_cg/whitebox_kb/knowledge//347/256/227/346/263/225/350/256/276/350/256/241/344/270/216/345/210/206/346/236/220/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +153 -0
  365. package/md_cg/whitebox_kb/knowledge//347/256/241/347/220/206/345/255/246/345/216/237/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +167 -0
  366. package/md_cg/whitebox_kb/knowledge//347/272/277/346/200/247/344/273/243/346/225/260/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +202 -0
  367. package/md_cg/whitebox_kb/knowledge//347/273/206/350/203/236/347/224/237/347/211/251/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +181 -0
  368. package/md_cg/whitebox_kb/knowledge//347/273/217/346/265/216/345/217/262.md +43 -0
  369. package/md_cg/whitebox_kb/knowledge//347/273/217/346/265/216/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +204 -0
  370. package/md_cg/whitebox_kb/knowledge//347/273/223/346/236/204/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +153 -0
  371. package/md_cg/whitebox_kb/knowledge//347/273/274/345/220/210/302/267/347/273/264/345/237/272/347/273/274/350/277/260.md +184 -0
  372. package/md_cg/whitebox_kb/knowledge//347/274/226/347/250/213-Git.md +15 -0
  373. package/md_cg/whitebox_kb/knowledge//347/274/226/347/250/213-JS.md +15 -0
  374. package/md_cg/whitebox_kb/knowledge//347/274/226/347/250/213/346/246/202/345/277/265.md +15 -0
  375. package/md_cg/whitebox_kb/knowledge//347/274/226/347/250/213/350/257/255/350/250/200.md +120 -0
  376. package/md_cg/whitebox_kb/knowledge//347/274/226/350/257/221/345/216/237/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +146 -0
  377. package/md_cg/whitebox_kb/knowledge//347/275/221/347/273/234/345/256/211/345/205/250.md +34 -0
  378. package/md_cg/whitebox_kb/knowledge//350/200/203/345/217/244/345/270/270/350/257/206.md +64 -0
  379. package/md_cg/whitebox_kb/knowledge//350/207/252/346/210/221/346/204/217/350/257/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +270 -0
  380. package/md_cg/whitebox_kb/knowledge//350/211/272/346/234/257/345/220/215/345/256/266.md +15 -0
  381. package/md_cg/whitebox_kb/knowledge//350/211/272/346/234/257/346/265/201/346/264/276.md +15 -0
  382. package/md_cg/whitebox_kb/knowledge//350/214/266/346/226/207/345/214/226.md +15 -0
  383. package/md_cg/whitebox_kb/knowledge//350/256/241/347/256/227/346/234/272/347/247/221/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +4265 -0
  384. package/md_cg/whitebox_kb/knowledge//350/256/241/347/256/227/346/234/272/347/273/204/346/210/220/345/216/237/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +160 -0
  385. package/md_cg/whitebox_kb/knowledge//350/256/241/347/256/227/346/234/272/347/275/221/347/273/234/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +160 -0
  386. package/md_cg/whitebox_kb/knowledge//350/257/255/350/250/200/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +373 -0
  387. package/md_cg/whitebox_kb/knowledge//350/264/247/345/270/201/345/217/262.md +15 -0
  388. package/md_cg/whitebox_kb/knowledge//350/264/247/345/270/201/345/270/270/350/257/206.md +15 -0
  389. package/md_cg/whitebox_kb/knowledge//350/275/257/344/273/266/345/267/245/347/250/213/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +160 -0
  390. package/md_cg/whitebox_kb/knowledge//350/277/220/345/212/250/345/201/245/345/272/267.md +15 -0
  391. package/md_cg/whitebox_kb/knowledge//350/277/220/345/212/250/345/270/270/350/257/206.md +15 -0
  392. package/md_cg/whitebox_kb/knowledge//350/277/220/345/212/250/347/247/221/345/255/246.md +22 -0
  393. package/md_cg/whitebox_kb/knowledge//350/277/221/344/270/226/346/234/215/351/245/260.md +15 -0
  394. package/md_cg/whitebox_kb/knowledge//351/200/273/350/276/221/345/255/246.md +14 -0
  395. package/md_cg/whitebox_kb/knowledge//351/201/227/344/274/240/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +167 -0
  396. package/md_cg/whitebox_kb/knowledge//351/207/217/345/255/220/345/212/233/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +209 -0
  397. package/md_cg/whitebox_kb/knowledge//351/207/221/350/236/215/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +125 -0
  398. package/md_cg/whitebox_kb/knowledge//351/235/236/351/201/227/350/211/272/346/234/257.md +43 -0
  399. package/md_cg/whitebox_kb/knowledge//351/237/263/344/271/220.md +15 -0
  400. package/md_cg/whitebox_kb/knowledge//351/237/263/344/271/220/345/220/215/345/256/266.md +22 -0
  401. package/md_cg/whitebox_kb/knowledge//351/237/263/344/271/220/345/270/270/350/257/206.md +29 -0
  402. package/md_cg/whitebox_kb/knowledge//351/243/237/345/223/201/347/247/221/345/255/246.md +57 -0
  403. package/md_cg/whitebox_kb/knowledge//351/245/256/351/243/237/345/270/270/350/257/206.md +29 -0
  404. package/md_cg/whitebox_kb/knowledge//351/245/256/351/243/237/346/226/207/345/214/226.md +29 -0
  405. package/md_cg/whitebox_kb/knowledge//351/253/230/344/270/255/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +566 -0
  406. package/md_cg/whitebox_kb/knowledge//351/253/230/344/270/255/345/216/206/345/217/262/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +146 -0
  407. package/md_cg/whitebox_kb/knowledge//351/253/230/344/270/255/345/234/260/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +139 -0
  408. package/md_cg/whitebox_kb/knowledge//351/253/230/344/270/255/346/200/235/346/203/263/346/224/277/346/262/273/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +174 -0
  409. package/md_cg/whitebox_kb/knowledge//351/253/230/344/270/255/346/225/260/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +566 -0
  410. package/md_cg/whitebox_kb/knowledge//351/253/230/344/270/255/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +692 -0
  411. package/md_cg/whitebox_kb/knowledge//351/253/230/344/270/255/347/224/237/347/211/251/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +440 -0
  412. package/md_cg/whitebox_kb/knowledge//351/253/230/344/270/255/350/213/261/350/257/255/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +167 -0
  413. package/md_cg/whitebox_kb/knowledge//351/253/230/344/270/255/350/257/255/346/226/207/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +153 -0
  414. package/md_cg/whitebox_kb/knowledge//351/253/230/345/210/206/345/255/220/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +146 -0
  415. package/md_cg/whitebox_kb/knowledge//351/253/230/347/255/211/344/273/243/346/225/260/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +244 -0
  416. package/md_cg/whitebox_kb/knowledge//351/253/230/347/255/211/346/225/260/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +384 -0
  417. package/md_cg/whitebox_kb/seed_knowledge/__init__.py +2 -0
  418. package/md_cg/whitebox_kb/seed_knowledge/guardrail-charter.md +164 -0
  419. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//344/270/255/345/233/275/345/217/244/344/273/243/346/226/207/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +113 -0
  420. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//344/270/255/345/233/275/347/216/260/344/273/243/346/226/207/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +89 -0
  421. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//344/272/272/345/267/245/346/231/272/350/203/275/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +121 -0
  422. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//344/272/272/347/261/273/350/247/202/345/257/237/350/200/205/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +161 -0
  423. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//344/274/232/350/256/241/345/255/246/345/216/237/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +89 -0
  424. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//344/277/241/346/201/257/350/256/272/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +90 -0
  425. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/210/206/345/255/220/347/224/237/347/211/251/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +113 -0
  426. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/210/206/346/236/220/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +113 -0
  427. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/210/235/344/270/255/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +241 -0
  428. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/210/235/344/270/255/345/216/206/345/217/262/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +117 -0
  429. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/210/235/344/270/255/345/234/260/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +109 -0
  430. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/210/235/344/270/255/346/225/260/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +241 -0
  431. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/210/235/344/270/255/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +317 -0
  432. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/210/235/344/270/255/347/224/237/347/211/251/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +261 -0
  433. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/210/235/344/270/255/350/213/261/350/257/255/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +113 -0
  434. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/210/235/344/270/255/350/257/255/346/226/207/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +113 -0
  435. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/210/235/344/270/255/351/201/223/345/276/267/344/270/216/346/263/225/346/262/273/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +105 -0
  436. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/212/250/347/211/251/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +101 -0
  437. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +1194 -0
  438. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/214/226/345/267/245/345/216/237/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +113 -0
  439. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/214/273/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +111 -0
  440. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/216/206/345/217/262/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +278 -0
  441. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/216/237/345/255/220/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +97 -0
  442. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/217/244/344/273/243/346/261/211/350/257/255/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +97 -0
  443. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/223/262/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +111 -0
  444. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/233/272/344/275/223/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +133 -0
  445. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/234/237/346/234/250/345/267/245/347/250/213/345/237/272/347/241/200/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +89 -0
  446. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/234/260/347/220/206/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +154 -0
  447. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/244/215/345/217/230/345/207/275/346/225/260/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +129 -0
  448. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/244/226/345/233/275/346/226/207/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +85 -0
  449. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/244/247/345/255/246/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +169 -0
  450. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/244/247/345/255/246/346/200/235/346/224/277/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +117 -0
  451. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/244/247/345/255/246/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +201 -0
  452. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/244/247/345/255/246/350/213/261/350/257/255/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +93 -0
  453. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/244/251/344/275/223/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +89 -0
  454. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/244/251/346/226/207/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +131 -0
  455. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/256/217/350/247/202/347/273/217/346/265/216/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +105 -0
  456. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/256/236/345/217/230/345/207/275/346/225/260/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +129 -0
  457. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/260/217/345/255/246/346/225/260/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +333 -0
  458. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/260/217/345/255/246/347/247/221/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +1124 -0
  459. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/260/217/345/255/246/350/213/261/350/257/255/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +105 -0
  460. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/260/217/345/255/246/350/257/255/346/226/207/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +117 -0
  461. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/260/217/345/255/246/351/201/223/345/276/267/344/270/216/346/263/225/346/262/273/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +105 -0
  462. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/267/245/347/250/213/345/210/266/345/233/276/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +85 -0
  463. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/267/245/347/250/213/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +362 -0
  464. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/270/202/345/234/272/350/220/245/351/224/200/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +81 -0
  465. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/270/270/345/276/256/345/210/206/346/226/271/347/250/213/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +153 -0
  466. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/276/256/345/210/206/345/207/240/344/275/225/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +101 -0
  467. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/276/256/347/224/237/347/211/251/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +97 -0
  468. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/276/256/350/247/202/347/273/217/346/265/216/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +101 -0
  469. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//345/277/203/347/220/206/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +119 -0
  470. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/203/205/346/204/237/346/203/205/347/273/252/344/273/277/347/234/237/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +186 -0
  471. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/212/275/350/261/241/344/273/243/346/225/260/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +109 -0
  472. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/213/223/346/211/221/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +97 -0
  473. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/223/215/344/275/234/347/263/273/347/273/237/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +109 -0
  474. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/224/277/346/262/273/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +234 -0
  475. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/225/260/345/200/274/345/210/206/346/236/220/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +133 -0
  476. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/225/260/345/255/227/347/224/265/350/267/257/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +101 -0
  477. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/225/260/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +1166 -0
  478. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/225/260/345/255/246/345/210/206/346/236/220/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +217 -0
  479. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/225/260/345/255/246/347/211/251/347/220/206/346/226/271/346/263/225/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +105 -0
  480. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/225/260/346/215/256/345/272/223/347/263/273/347/273/237/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +101 -0
  481. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/225/260/346/215/256/347/273/223/346/236/204/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +117 -0
  482. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/226/207/345/255/246/347/220/206/350/256/272/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +89 -0
  483. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/227/240/346/234/272/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +141 -0
  484. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/227/266/347/251/272/350/256/260/345/277/206/345/233/276/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +214 -0
  485. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/231/272/350/203/275/350/256/272/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +350 -0
  486. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/234/211/346/234/272/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +129 -0
  487. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/235/220/346/226/231/345/212/233/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +101 -0
  488. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/235/241/344/273/266/350/256/272/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +350 -0
  489. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/244/215/347/211/251/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +89 -0
  490. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/246/202/347/216/207/350/256/272/344/270/216/346/225/260/347/220/206/347/273/237/350/256/241/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +149 -0
  491. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/250/241/346/213/237/347/224/265/345/255/220/346/212/200/346/234/257/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +101 -0
  492. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//346/263/233/345/207/275/345/210/206/346/236/220/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +125 -0
  493. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/203/255/345/212/233/345/255/246/344/270/216/347/273/237/350/256/241/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +125 -0
  494. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/211/251/347/220/206/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +129 -0
  495. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/211/251/347/220/206/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +1302 -0
  496. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/216/260/344/273/243/346/261/211/350/257/255/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +89 -0
  497. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/220/206/350/256/272/345/212/233/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +137 -0
  498. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/224/237/346/200/201/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +93 -0
  499. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/224/237/347/211/251/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +137 -0
  500. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/224/237/347/211/251/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +1018 -0
  501. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/224/237/347/220/206/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +93 -0
  502. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/224/265/345/212/250/345/212/233/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +125 -0
  503. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/224/265/350/267/257/345/216/237/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +101 -0
  504. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/244/276/344/274/232/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +111 -0
  505. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/250/213/345/272/217/350/256/276/350/256/241/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +101 -0
  506. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/256/227/346/263/225/350/256/276/350/256/241/344/270/216/345/210/206/346/236/220/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +105 -0
  507. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/256/241/347/220/206/345/255/246/345/216/237/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +89 -0
  508. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/272/277/346/200/247/344/273/243/346/225/260/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +133 -0
  509. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/273/206/350/203/236/347/224/237/347/211/251/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +121 -0
  510. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/273/217/346/265/216/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +169 -0
  511. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/273/223/346/236/204/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +105 -0
  512. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/273/274/345/220/210/302/267/347/273/264/345/237/272/347/273/274/350/277/260.md +184 -0
  513. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//347/274/226/350/257/221/345/216/237/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +101 -0
  514. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//350/207/252/346/210/221/346/204/217/350/257/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +270 -0
  515. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//350/256/241/347/256/227/346/234/272/347/247/221/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +698 -0
  516. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//350/256/241/347/256/227/346/234/272/347/273/204/346/210/220/345/216/237/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +109 -0
  517. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//350/256/241/347/256/227/346/234/272/347/275/221/347/273/234/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +109 -0
  518. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//350/257/255/350/250/200/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +226 -0
  519. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//350/275/257/344/273/266/345/267/245/347/250/213/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +97 -0
  520. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/201/227/344/274/240/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +113 -0
  521. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/207/217/345/255/220/345/212/233/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +137 -0
  522. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/207/221/350/236/215/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +89 -0
  523. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/253/230/344/270/255/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +341 -0
  524. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/253/230/344/270/255/345/216/206/345/217/262/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +101 -0
  525. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/253/230/344/270/255/345/234/260/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +97 -0
  526. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/253/230/344/270/255/346/200/235/346/203/263/346/224/277/346/262/273/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +117 -0
  527. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/253/230/344/270/255/346/225/260/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +341 -0
  528. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/253/230/344/270/255/347/211/251/347/220/206/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +365 -0
  529. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/253/230/344/270/255/347/224/237/347/211/251/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +269 -0
  530. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/253/230/344/270/255/350/213/261/350/257/255/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +113 -0
  531. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/253/230/344/270/255/350/257/255/346/226/207/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +105 -0
  532. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/253/230/345/210/206/345/255/220/345/214/226/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +101 -0
  533. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/253/230/347/255/211/344/273/243/346/225/260/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +157 -0
  534. package/md_cg/whitebox_kb/seed_knowledge/wisdom_cards//351/253/230/347/255/211/346/225/260/345/255/246/302/267/347/237/245/350/257/206/347/273/274/350/277/260.md +237 -0
  535. package/md_cg/whitebox_kb/seed_knowledge//346/231/272/350/203/275/350/256/2723.3.md +4620 -0
  536. package/md_cg/whitebox_kb/wisdom/__init__.py +6 -0
  537. package/md_cg/whitebox_kb/wisdom/answer_spec_anchor.py +87 -0
  538. package/md_cg/whitebox_kb/wisdom/audit_log/chain_heat.json +35 -0
  539. package/md_cg/whitebox_kb/wisdom/browser_units.py +2631 -0
  540. package/md_cg/whitebox_kb/wisdom/card_validator.py +223 -0
  541. package/md_cg/whitebox_kb/wisdom/causal_discover.py +315 -0
  542. package/md_cg/whitebox_kb/wisdom/chat.html +185 -0
  543. package/md_cg/whitebox_kb/wisdom/chat_engine.py +1506 -0
  544. package/md_cg/whitebox_kb/wisdom/code_compose.py +730 -0
  545. package/md_cg/whitebox_kb/wisdom/code_qa.py +119 -0
  546. package/md_cg/whitebox_kb/wisdom/code_route_bridge.py +90 -0
  547. package/md_cg/whitebox_kb/wisdom/code_solidified.json +6196 -0
  548. package/md_cg/whitebox_kb/wisdom/code_test_runner.py +217 -0
  549. package/md_cg/whitebox_kb/wisdom/codegraph_white.py +312 -0
  550. package/md_cg/whitebox_kb/wisdom/compiler_code_units.py +3033 -0
  551. package/md_cg/whitebox_kb/wisdom/compiler_compose.py +160 -0
  552. package/md_cg/whitebox_kb/wisdom/compose_engine.py +1633 -0
  553. package/md_cg/whitebox_kb/wisdom/condition_algebra.py +112 -0
  554. package/md_cg/whitebox_kb/wisdom/condition_frame.py +315 -0
  555. package/md_cg/whitebox_kb/wisdom/condition_kb.py +108 -0
  556. package/md_cg/whitebox_kb/wisdom/condition_vm.py +264 -0
  557. package/md_cg/whitebox_kb/wisdom/conflict_map.json +4446 -0
  558. package/md_cg/whitebox_kb/wisdom/core/compiler.py +301 -0
  559. package/md_cg/whitebox_kb/wisdom/core/condition_vm.py +298 -0
  560. package/md_cg/whitebox_kb/wisdom/core/lexer.py +512 -0
  561. package/md_cg/whitebox_kb/wisdom/core/name_checker.py +1023 -0
  562. package/md_cg/whitebox_kb/wisdom/core/parser.py +1065 -0
  563. package/md_cg/whitebox_kb/wisdom/cspmn.py +258 -0
  564. package/md_cg/whitebox_kb/wisdom/csre.py +256 -0
  565. package/md_cg/whitebox_kb/wisdom/csre_lexicon_index.npz +0 -0
  566. package/md_cg/whitebox_kb/wisdom/danmaku_audit.py +252 -0
  567. package/md_cg/whitebox_kb/wisdom/danmaku_bridge.py +141 -0
  568. package/md_cg/whitebox_kb/wisdom/distilled_condition_units.json +6418 -0
  569. package/md_cg/whitebox_kb/wisdom/docs/WB-EVAL-20260902b.json +1951 -0
  570. package/md_cg/whitebox_kb/wisdom/docs/WB-EVAL-20260902c.json +1297 -0
  571. package/md_cg/whitebox_kb/wisdom/docs/codegraph_ref_rating.md +52 -0
  572. package/md_cg/whitebox_kb/wisdom/docs/daoti_absorb_analysis.md +54 -0
  573. package/md_cg/whitebox_kb/wisdom/docs/dsh_memory_v030_stable.md +34 -0
  574. package/md_cg/whitebox_kb/wisdom/docs/github_absorb_analysis.md +71 -0
  575. package/md_cg/whitebox_kb/wisdom/docs/gliding_horse_absorb_analysis.md +47 -0
  576. package/md_cg/whitebox_kb/wisdom/docs/whitebox_capability_graph.md +61 -0
  577. package/md_cg/whitebox_kb/wisdom/docs/whitebox_capability_graph_demo.json +60 -0
  578. package/md_cg/whitebox_kb/wisdom/docs/whitebox_code_rating_202609.md +43 -0
  579. package/md_cg/whitebox_kb/wisdom/docs//344/273/243/347/240/201/346/235/241/344/273/266/350/267/257/347/224/261/345/233/276_CCG/350/256/276/350/256/241.md +150 -0
  580. package/md_cg/whitebox_kb/wisdom/docs//344/273/243/347/240/201/350/257/255/344/271/211/346/235/241/344/273/266/345/215/217/350/256/256.md +650 -0
  581. package/md_cg/whitebox_kb/wisdom/docs//345/261/200/351/203/250/346/234/200/344/274/230/344/270/216/346/203/205/347/273/252/345/201/217/345/245/275_/347/220/206/350/256/272/345/267/245/347/250/213.md +97 -0
  582. package/md_cg/whitebox_kb/wisdom/docs//346/226/271/345/220/221/346/200/247/346/212/211/346/213/251_/350/207/252/344/270/276vs/350/207/252/350/277/255/344/273/243.md +81 -0
  583. package/md_cg/whitebox_kb/wisdom/docs//347/201/265/346/236/242AGI/346/236/266/346/236/204/346/216/242/347/264/242_/346/226/207/346/241/243/350/247/204/345/210/222.md +51 -0
  584. package/md_cg/whitebox_kb/wisdom/docs//347/201/265/346/236/242/346/217/222/344/273/266/345/210/206/347/261/273/345/210/206/346/236/220.md +67 -0
  585. package/md_cg/whitebox_kb/wisdom/docs//347/231/275/347/256/261/346/234/254/345/234/260/346/240/241/351/252/214/345/231/250_ZeroLLM_Verifier.md +276 -0
  586. package/md_cg/whitebox_kb/wisdom/docs//347/231/275/347/256/261/350/207/252/344/270/276/347/254/254/345/205/255/351/230/266/346/256/265_/346/224/266/345/256/230/346/200/273/347/273/223.md +1207 -0
  587. package/md_cg/whitebox_kb/wisdom/ds_compose.py +177 -0
  588. package/md_cg/whitebox_kb/wisdom/graph_db_units.py +3089 -0
  589. package/md_cg/whitebox_kb/wisdom/graph_qa.py +123 -0
  590. package/md_cg/whitebox_kb/wisdom/human_observer_knowledge.json +43 -0
  591. package/md_cg/whitebox_kb/wisdom/knowledge_points.py +237 -0
  592. package/md_cg/whitebox_kb/wisdom/merge_subgraph.py +178 -0
  593. package/md_cg/whitebox_kb/wisdom/migrate_wisdom.py +476 -0
  594. package/md_cg/whitebox_kb/wisdom/mini_python.py +958 -0
  595. package/md_cg/whitebox_kb/wisdom/multilang_ir.py +124 -0
  596. package/md_cg/whitebox_kb/wisdom/navigate.py +248 -0
  597. package/md_cg/whitebox_kb/wisdom/net_units.py +2895 -0
  598. package/md_cg/whitebox_kb/wisdom/neural_index.json +3032 -0
  599. package/md_cg/whitebox_kb/wisdom/neural_index.npz +0 -0
  600. package/md_cg/whitebox_kb/wisdom/neural_retrieve.py +224 -0
  601. package/md_cg/whitebox_kb/wisdom/os_units.py +2735 -0
  602. package/md_cg/whitebox_kb/wisdom/pattern_separation.py +223 -0
  603. package/md_cg/whitebox_kb/wisdom/prereq_map.json +365 -0
  604. package/md_cg/whitebox_kb/wisdom/python_code_units.py +2766 -0
  605. package/md_cg/whitebox_kb/wisdom/role_compose.py +268 -0
  606. package/md_cg/whitebox_kb/wisdom/role_solidified.json +8 -0
  607. package/md_cg/whitebox_kb/wisdom/route_memory.py +244 -0
  608. package/md_cg/whitebox_kb/wisdom/scene_reconstruction.py +148 -0
  609. package/md_cg/whitebox_kb/wisdom/se_compose.py +137 -0
  610. package/md_cg/whitebox_kb/wisdom/semantic_translate.py +4050 -0
  611. package/md_cg/whitebox_kb/wisdom/snr_dashboard.py +219 -0
  612. package/md_cg/whitebox_kb/wisdom/snr_report.json +41 -0
  613. package/md_cg/whitebox_kb/wisdom/spatial_closure.py +96 -0
  614. package/md_cg/whitebox_kb/wisdom/spatial_qa.py +182 -0
  615. package/md_cg/whitebox_kb/wisdom/status_terms.json +21 -0
  616. package/md_cg/whitebox_kb/wisdom/task_discipline.json +43 -0
  617. package/md_cg/whitebox_kb/wisdom/test_code_compose_domains.py +7541 -0
  618. package/md_cg/whitebox_kb/wisdom/test_compiler_self_bootstrap.py +354 -0
  619. package/md_cg/whitebox_kb/wisdom/test_ecosystem_assembly.py +158 -0
  620. package/md_cg/whitebox_kb/wisdom/test_ecosystem_demos.py +193 -0
  621. package/md_cg/whitebox_kb/wisdom/test_graph_db.py +292 -0
  622. package/md_cg/whitebox_kb/wisdom/test_navigate_self_bootstrap.py +69 -0
  623. package/md_cg/whitebox_kb/wisdom/test_python_self_bootstrap.py +160 -0
  624. package/md_cg/whitebox_kb/wisdom/trigger_words_index.json +4367 -0
  625. package/md_cg/whitebox_kb/wisdom/verifier.py +1012 -0
  626. package/md_cg/whitebox_kb/wisdom/verify_answer.py +116 -0
  627. package/md_cg/whitebox_kb/wisdom/wisdom-book-cloud.db +0 -0
  628. package/md_cg/whitebox_kb/wisdom/wisdom-book-cloud.db-shm +0 -0
  629. package/md_cg/whitebox_kb/wisdom/wisdom-book-cloud.db-wal +0 -0
  630. package/md_cg/whitebox_kb/wisdom/wisdom_book.py +2582 -0
  631. package/md_cg/whitebox_kb/wisdom/wisdom_cloud.py +479 -0
  632. package/md_cg/whitebox_kb/wisdom/wisdom_ui.html +863 -0
  633. package/package.json +5 -3
  634. package/skills/README.md +121 -0
  635. package/skills/plugin.json +55 -0
  636. package/skills/skills/designer-perspective/SKILL.md +158 -0
  637. package/skills/skills/designer-perspective/references/01-observation-position.md +66 -0
  638. package/skills/skills/designer-perspective/references/02-structure-recognition.md +62 -0
  639. package/skills/skills/designer-perspective/references/03-direction-judgment.md +55 -0
  640. package/skills/skills/designer-perspective/references/04-qualification-verdict.md +72 -0
  641. package/skills/skills/designer-perspective/references/05-condition-attribution.md +74 -0
  642. package/skills/skills/designer-perspective/scripts/designer.py +530 -0
  643. package/skills/skills/designer-perspective/tests/cases.jsonl +17 -0
  644. package/skills/skills/designer-perspective/tests/selftest.py +60 -0
  645. package/skills/skills/lingshu-browser/SKILL.md +60 -0
  646. package/skills/skills/lingshu-browser/units/browser-02898b15/SKILL.md +45 -0
  647. package/skills/skills/lingshu-browser/units/browser-03b04f98/SKILL.md +45 -0
  648. package/skills/skills/lingshu-browser/units/browser-0754386d/SKILL.md +45 -0
  649. package/skills/skills/lingshu-browser/units/browser-093c03ab/SKILL.md +45 -0
  650. package/skills/skills/lingshu-browser/units/browser-09e60b35/SKILL.md +45 -0
  651. package/skills/skills/lingshu-browser/units/browser-0ab4f2db/SKILL.md +45 -0
  652. package/skills/skills/lingshu-browser/units/browser-0c7f88d6/SKILL.md +45 -0
  653. package/skills/skills/lingshu-browser/units/browser-0f598430/SKILL.md +45 -0
  654. package/skills/skills/lingshu-browser/units/browser-0fd64fa5/SKILL.md +45 -0
  655. package/skills/skills/lingshu-browser/units/browser-17906c62/SKILL.md +45 -0
  656. package/skills/skills/lingshu-browser/units/browser-18f823e2/SKILL.md +45 -0
  657. package/skills/skills/lingshu-browser/units/browser-1bafe81c/SKILL.md +45 -0
  658. package/skills/skills/lingshu-browser/units/browser-1f9ab1f0/SKILL.md +45 -0
  659. package/skills/skills/lingshu-browser/units/browser-1fdb5852/SKILL.md +45 -0
  660. package/skills/skills/lingshu-browser/units/browser-21b0359c/SKILL.md +45 -0
  661. package/skills/skills/lingshu-browser/units/browser-22e8de36/SKILL.md +45 -0
  662. package/skills/skills/lingshu-browser/units/browser-24163519/SKILL.md +45 -0
  663. package/skills/skills/lingshu-browser/units/browser-2471a991/SKILL.md +45 -0
  664. package/skills/skills/lingshu-browser/units/browser-25afee4d/SKILL.md +45 -0
  665. package/skills/skills/lingshu-browser/units/browser-283a91bd/SKILL.md +45 -0
  666. package/skills/skills/lingshu-browser/units/browser-2895ff52/SKILL.md +45 -0
  667. package/skills/skills/lingshu-browser/units/browser-2cc1da58/SKILL.md +45 -0
  668. package/skills/skills/lingshu-browser/units/browser-3189fe6f/SKILL.md +45 -0
  669. package/skills/skills/lingshu-browser/units/browser-31f2b08f/SKILL.md +45 -0
  670. package/skills/skills/lingshu-browser/units/browser-37b8339e/SKILL.md +45 -0
  671. package/skills/skills/lingshu-browser/units/browser-396ec3a6/SKILL.md +45 -0
  672. package/skills/skills/lingshu-browser/units/browser-3df2f904/SKILL.md +45 -0
  673. package/skills/skills/lingshu-browser/units/browser-43154cec/SKILL.md +45 -0
  674. package/skills/skills/lingshu-browser/units/browser-434b74b8/SKILL.md +45 -0
  675. package/skills/skills/lingshu-browser/units/browser-440d4398/SKILL.md +45 -0
  676. package/skills/skills/lingshu-browser/units/browser-44d7f183/SKILL.md +45 -0
  677. package/skills/skills/lingshu-browser/units/browser-4d6c0788/SKILL.md +45 -0
  678. package/skills/skills/lingshu-browser/units/browser-50fecd89/SKILL.md +45 -0
  679. package/skills/skills/lingshu-browser/units/browser-555c0626/SKILL.md +45 -0
  680. package/skills/skills/lingshu-browser/units/browser-57312d24/SKILL.md +45 -0
  681. package/skills/skills/lingshu-browser/units/browser-59a0ada4/SKILL.md +45 -0
  682. package/skills/skills/lingshu-browser/units/browser-5a455aeb/SKILL.md +45 -0
  683. package/skills/skills/lingshu-browser/units/browser-5ae7623a/SKILL.md +45 -0
  684. package/skills/skills/lingshu-browser/units/browser-5dac60b6/SKILL.md +45 -0
  685. package/skills/skills/lingshu-browser/units/browser-5e5f1396/SKILL.md +45 -0
  686. package/skills/skills/lingshu-browser/units/browser-5ebb01dd/SKILL.md +45 -0
  687. package/skills/skills/lingshu-browser/units/browser-5f5453f9/SKILL.md +45 -0
  688. package/skills/skills/lingshu-browser/units/browser-5f90f58c/SKILL.md +45 -0
  689. package/skills/skills/lingshu-browser/units/browser-609362ee/SKILL.md +45 -0
  690. package/skills/skills/lingshu-browser/units/browser-60aefeeb/SKILL.md +45 -0
  691. package/skills/skills/lingshu-browser/units/browser-6636d49c/SKILL.md +45 -0
  692. package/skills/skills/lingshu-browser/units/browser-6cfcb6db/SKILL.md +45 -0
  693. package/skills/skills/lingshu-browser/units/browser-6e1c1158/SKILL.md +45 -0
  694. package/skills/skills/lingshu-browser/units/browser-7008e942/SKILL.md +45 -0
  695. package/skills/skills/lingshu-browser/units/browser-716cd26c/SKILL.md +45 -0
  696. package/skills/skills/lingshu-browser/units/browser-720ce1a1/SKILL.md +45 -0
  697. package/skills/skills/lingshu-browser/units/browser-77a97b43/SKILL.md +45 -0
  698. package/skills/skills/lingshu-browser/units/browser-7bb4871d/SKILL.md +45 -0
  699. package/skills/skills/lingshu-browser/units/browser-7be57bbe/SKILL.md +45 -0
  700. package/skills/skills/lingshu-browser/units/browser-7da433f3/SKILL.md +45 -0
  701. package/skills/skills/lingshu-browser/units/browser-7e96fe1d/SKILL.md +45 -0
  702. package/skills/skills/lingshu-browser/units/browser-7f9cefec/SKILL.md +45 -0
  703. package/skills/skills/lingshu-browser/units/browser-80224e71/SKILL.md +45 -0
  704. package/skills/skills/lingshu-browser/units/browser-81345ecd/SKILL.md +45 -0
  705. package/skills/skills/lingshu-browser/units/browser-822cfa44/SKILL.md +45 -0
  706. package/skills/skills/lingshu-browser/units/browser-853690c0/SKILL.md +45 -0
  707. package/skills/skills/lingshu-browser/units/browser-85553126/SKILL.md +45 -0
  708. package/skills/skills/lingshu-browser/units/browser-87b0ce80/SKILL.md +45 -0
  709. package/skills/skills/lingshu-browser/units/browser-900c4484/SKILL.md +45 -0
  710. package/skills/skills/lingshu-browser/units/browser-910405c4/SKILL.md +45 -0
  711. package/skills/skills/lingshu-browser/units/browser-95fd3c86/SKILL.md +45 -0
  712. package/skills/skills/lingshu-browser/units/browser-97a14ca3/SKILL.md +45 -0
  713. package/skills/skills/lingshu-browser/units/browser-9de10895/SKILL.md +45 -0
  714. package/skills/skills/lingshu-browser/units/browser-9e4914a7/SKILL.md +45 -0
  715. package/skills/skills/lingshu-browser/units/browser-a280ec64/SKILL.md +45 -0
  716. package/skills/skills/lingshu-browser/units/browser-a2d9b0b0/SKILL.md +45 -0
  717. package/skills/skills/lingshu-browser/units/browser-a372edeb/SKILL.md +45 -0
  718. package/skills/skills/lingshu-browser/units/browser-a4c793a4/SKILL.md +45 -0
  719. package/skills/skills/lingshu-browser/units/browser-a681d0c2/SKILL.md +45 -0
  720. package/skills/skills/lingshu-browser/units/browser-a7a2b0c1/SKILL.md +45 -0
  721. package/skills/skills/lingshu-browser/units/browser-a990e68e/SKILL.md +45 -0
  722. package/skills/skills/lingshu-browser/units/browser-aaac4eec/SKILL.md +45 -0
  723. package/skills/skills/lingshu-browser/units/browser-ae6586bb/SKILL.md +45 -0
  724. package/skills/skills/lingshu-browser/units/browser-afa4091f/SKILL.md +45 -0
  725. package/skills/skills/lingshu-browser/units/browser-b4c8cf65/SKILL.md +45 -0
  726. package/skills/skills/lingshu-browser/units/browser-b501767c/SKILL.md +45 -0
  727. package/skills/skills/lingshu-browser/units/browser-bcd4288d/SKILL.md +45 -0
  728. package/skills/skills/lingshu-browser/units/browser-bfad66a5/SKILL.md +45 -0
  729. package/skills/skills/lingshu-browser/units/browser-c45cbfe9/SKILL.md +45 -0
  730. package/skills/skills/lingshu-browser/units/browser-c4dd6078/SKILL.md +45 -0
  731. package/skills/skills/lingshu-browser/units/browser-c879eb0b/SKILL.md +45 -0
  732. package/skills/skills/lingshu-browser/units/browser-c92ac01b/SKILL.md +45 -0
  733. package/skills/skills/lingshu-browser/units/browser-cb179242/SKILL.md +45 -0
  734. package/skills/skills/lingshu-browser/units/browser-cc7d3d6d/SKILL.md +45 -0
  735. package/skills/skills/lingshu-browser/units/browser-cf3c47f0/SKILL.md +45 -0
  736. package/skills/skills/lingshu-browser/units/browser-cf9f812e/SKILL.md +45 -0
  737. package/skills/skills/lingshu-browser/units/browser-d462581c/SKILL.md +45 -0
  738. package/skills/skills/lingshu-browser/units/browser-d5fa0b7f/SKILL.md +45 -0
  739. package/skills/skills/lingshu-browser/units/browser-d72e225b/SKILL.md +45 -0
  740. package/skills/skills/lingshu-browser/units/browser-df1a919e/SKILL.md +45 -0
  741. package/skills/skills/lingshu-browser/units/browser-e84565c1/SKILL.md +45 -0
  742. package/skills/skills/lingshu-browser/units/browser-e947a564/SKILL.md +45 -0
  743. package/skills/skills/lingshu-browser/units/browser-ea9b2b8e/SKILL.md +45 -0
  744. package/skills/skills/lingshu-browser/units/browser-f5ffc6d9/SKILL.md +45 -0
  745. package/skills/skills/lingshu-browser/units/browser-f75a4418/SKILL.md +45 -0
  746. package/skills/skills/lingshu-browser/units/browser-f8f2966e/SKILL.md +45 -0
  747. package/skills/skills/lingshu-browser/units/browser-fa65fa2d/SKILL.md +45 -0
  748. package/skills/skills/lingshu-browser/units/browser-faac8812/SKILL.md +45 -0
  749. package/skills/skills/lingshu-browser/units/browser-ff94a671/SKILL.md +45 -0
  750. package/skills/skills/lingshu-compiler/SKILL.md +56 -0
  751. package/skills/skills/lingshu-compiler/units/analyze-type-infer/SKILL.md +45 -0
  752. package/skills/skills/lingshu-compiler/units/check-name-real/SKILL.md +45 -0
  753. package/skills/skills/lingshu-compiler/units/compile-assign/SKILL.md +45 -0
  754. package/skills/skills/lingshu-compiler/units/compile-expr-tree/SKILL.md +45 -0
  755. package/skills/skills/lingshu-compiler/units/compile-full-pipeline/SKILL.md +45 -0
  756. package/skills/skills/lingshu-compiler/units/compile-func-def/SKILL.md +45 -0
  757. package/skills/skills/lingshu-compiler/units/compile-if-then/SKILL.md +45 -0
  758. package/skills/skills/lingshu-compiler/units/compile-logic-expr/SKILL.md +45 -0
  759. package/skills/skills/lingshu-compiler/units/compile-recursive/SKILL.md +45 -0
  760. package/skills/skills/lingshu-compiler/units/compile-scope/SKILL.md +45 -0
  761. package/skills/skills/lingshu-compiler/units/compile-type-check/SKILL.md +45 -0
  762. package/skills/skills/lingshu-compiler/units/compile-while/SKILL.md +45 -0
  763. package/skills/skills/lingshu-compiler/units/compiler-0010c4bf/SKILL.md +45 -0
  764. package/skills/skills/lingshu-compiler/units/compiler-0355bffb/SKILL.md +45 -0
  765. package/skills/skills/lingshu-compiler/units/compiler-0361708a/SKILL.md +45 -0
  766. package/skills/skills/lingshu-compiler/units/compiler-054a0414/SKILL.md +45 -0
  767. package/skills/skills/lingshu-compiler/units/compiler-05a1691a/SKILL.md +45 -0
  768. package/skills/skills/lingshu-compiler/units/compiler-05eeed1e/SKILL.md +45 -0
  769. package/skills/skills/lingshu-compiler/units/compiler-0622a1f6/SKILL.md +45 -0
  770. package/skills/skills/lingshu-compiler/units/compiler-08b54217/SKILL.md +45 -0
  771. package/skills/skills/lingshu-compiler/units/compiler-0a62b70c/SKILL.md +45 -0
  772. package/skills/skills/lingshu-compiler/units/compiler-0ab24d00/SKILL.md +45 -0
  773. package/skills/skills/lingshu-compiler/units/compiler-0e093688/SKILL.md +45 -0
  774. package/skills/skills/lingshu-compiler/units/compiler-0e82b966/SKILL.md +45 -0
  775. package/skills/skills/lingshu-compiler/units/compiler-0ee9b9b9/SKILL.md +45 -0
  776. package/skills/skills/lingshu-compiler/units/compiler-0f3787e6/SKILL.md +45 -0
  777. package/skills/skills/lingshu-compiler/units/compiler-1028685f/SKILL.md +45 -0
  778. package/skills/skills/lingshu-compiler/units/compiler-11897630/SKILL.md +45 -0
  779. package/skills/skills/lingshu-compiler/units/compiler-16661b9b/SKILL.md +45 -0
  780. package/skills/skills/lingshu-compiler/units/compiler-1f722303/SKILL.md +45 -0
  781. package/skills/skills/lingshu-compiler/units/compiler-25be1262/SKILL.md +45 -0
  782. package/skills/skills/lingshu-compiler/units/compiler-2a76ba07/SKILL.md +45 -0
  783. package/skills/skills/lingshu-compiler/units/compiler-2dbea54a/SKILL.md +45 -0
  784. package/skills/skills/lingshu-compiler/units/compiler-2df52f16/SKILL.md +45 -0
  785. package/skills/skills/lingshu-compiler/units/compiler-2ec2c9d2/SKILL.md +45 -0
  786. package/skills/skills/lingshu-compiler/units/compiler-2f8c8f39/SKILL.md +45 -0
  787. package/skills/skills/lingshu-compiler/units/compiler-38378ac7/SKILL.md +45 -0
  788. package/skills/skills/lingshu-compiler/units/compiler-39457d2e/SKILL.md +45 -0
  789. package/skills/skills/lingshu-compiler/units/compiler-39fb5926/SKILL.md +45 -0
  790. package/skills/skills/lingshu-compiler/units/compiler-47f4fbfa/SKILL.md +45 -0
  791. package/skills/skills/lingshu-compiler/units/compiler-4a8cd1f1/SKILL.md +45 -0
  792. package/skills/skills/lingshu-compiler/units/compiler-4b230b6b/SKILL.md +45 -0
  793. package/skills/skills/lingshu-compiler/units/compiler-4cbbda95/SKILL.md +45 -0
  794. package/skills/skills/lingshu-compiler/units/compiler-4d5a68ff/SKILL.md +45 -0
  795. package/skills/skills/lingshu-compiler/units/compiler-56dc9bdd/SKILL.md +45 -0
  796. package/skills/skills/lingshu-compiler/units/compiler-57e76ebe/SKILL.md +45 -0
  797. package/skills/skills/lingshu-compiler/units/compiler-61ff016b/SKILL.md +45 -0
  798. package/skills/skills/lingshu-compiler/units/compiler-63eae588/SKILL.md +45 -0
  799. package/skills/skills/lingshu-compiler/units/compiler-64c4224b/SKILL.md +45 -0
  800. package/skills/skills/lingshu-compiler/units/compiler-66377955/SKILL.md +45 -0
  801. package/skills/skills/lingshu-compiler/units/compiler-674ab4f6/SKILL.md +45 -0
  802. package/skills/skills/lingshu-compiler/units/compiler-6af76fd6/SKILL.md +45 -0
  803. package/skills/skills/lingshu-compiler/units/compiler-6d979db2/SKILL.md +45 -0
  804. package/skills/skills/lingshu-compiler/units/compiler-6de326c0/SKILL.md +45 -0
  805. package/skills/skills/lingshu-compiler/units/compiler-6f1c0eea/SKILL.md +45 -0
  806. package/skills/skills/lingshu-compiler/units/compiler-724d6c9b/SKILL.md +45 -0
  807. package/skills/skills/lingshu-compiler/units/compiler-7690177f/SKILL.md +45 -0
  808. package/skills/skills/lingshu-compiler/units/compiler-7b229a7d/SKILL.md +45 -0
  809. package/skills/skills/lingshu-compiler/units/compiler-7f471b3a/SKILL.md +45 -0
  810. package/skills/skills/lingshu-compiler/units/compiler-815cad08/SKILL.md +45 -0
  811. package/skills/skills/lingshu-compiler/units/compiler-83c61634/SKILL.md +45 -0
  812. package/skills/skills/lingshu-compiler/units/compiler-8c798c81/SKILL.md +45 -0
  813. package/skills/skills/lingshu-compiler/units/compiler-8dd747ac/SKILL.md +45 -0
  814. package/skills/skills/lingshu-compiler/units/compiler-90324d0a/SKILL.md +45 -0
  815. package/skills/skills/lingshu-compiler/units/compiler-94b8d72d/SKILL.md +45 -0
  816. package/skills/skills/lingshu-compiler/units/compiler-94f12231/SKILL.md +45 -0
  817. package/skills/skills/lingshu-compiler/units/compiler-95937c16/SKILL.md +45 -0
  818. package/skills/skills/lingshu-compiler/units/compiler-98a5625b/SKILL.md +45 -0
  819. package/skills/skills/lingshu-compiler/units/compiler-98b4c42f/SKILL.md +45 -0
  820. package/skills/skills/lingshu-compiler/units/compiler-98e3894a/SKILL.md +45 -0
  821. package/skills/skills/lingshu-compiler/units/compiler-9bdfe4b8/SKILL.md +45 -0
  822. package/skills/skills/lingshu-compiler/units/compiler-9d9b4e83/SKILL.md +45 -0
  823. package/skills/skills/lingshu-compiler/units/compiler-9f7be5ad/SKILL.md +45 -0
  824. package/skills/skills/lingshu-compiler/units/compiler-a6daf076/SKILL.md +45 -0
  825. package/skills/skills/lingshu-compiler/units/compiler-a7995a0c/SKILL.md +45 -0
  826. package/skills/skills/lingshu-compiler/units/compiler-a8399248/SKILL.md +45 -0
  827. package/skills/skills/lingshu-compiler/units/compiler-aabbd099/SKILL.md +45 -0
  828. package/skills/skills/lingshu-compiler/units/compiler-afe169d8/SKILL.md +45 -0
  829. package/skills/skills/lingshu-compiler/units/compiler-b0678bda/SKILL.md +45 -0
  830. package/skills/skills/lingshu-compiler/units/compiler-b09bd196/SKILL.md +45 -0
  831. package/skills/skills/lingshu-compiler/units/compiler-b1396e23/SKILL.md +45 -0
  832. package/skills/skills/lingshu-compiler/units/compiler-b9b31ce0/SKILL.md +45 -0
  833. package/skills/skills/lingshu-compiler/units/compiler-c10264a7/SKILL.md +45 -0
  834. package/skills/skills/lingshu-compiler/units/compiler-cb1e8e4b/SKILL.md +45 -0
  835. package/skills/skills/lingshu-compiler/units/compiler-ccafd438/SKILL.md +45 -0
  836. package/skills/skills/lingshu-compiler/units/compiler-cda9c262/SKILL.md +45 -0
  837. package/skills/skills/lingshu-compiler/units/compiler-ce648068/SKILL.md +45 -0
  838. package/skills/skills/lingshu-compiler/units/compiler-cf5776a4/SKILL.md +45 -0
  839. package/skills/skills/lingshu-compiler/units/compiler-d974e5d3/SKILL.md +45 -0
  840. package/skills/skills/lingshu-compiler/units/compiler-e3979fd3/SKILL.md +45 -0
  841. package/skills/skills/lingshu-compiler/units/compiler-eb1cf2b5/SKILL.md +45 -0
  842. package/skills/skills/lingshu-compiler/units/compiler-ecb30d5b/SKILL.md +45 -0
  843. package/skills/skills/lingshu-compiler/units/compiler-f8c8b24b/SKILL.md +45 -0
  844. package/skills/skills/lingshu-compiler/units/compiler-f99fedbe/SKILL.md +45 -0
  845. package/skills/skills/lingshu-compiler/units/compiler-fa8ff5f7/SKILL.md +45 -0
  846. package/skills/skills/lingshu-compiler/units/compiler-fe1b058d/SKILL.md +45 -0
  847. package/skills/skills/lingshu-compiler/units/lex-chinese-program/SKILL.md +45 -0
  848. package/skills/skills/lingshu-compiler/units/lex-dao-de-jing/SKILL.md +45 -0
  849. package/skills/skills/lingshu-compiler/units/lex-nine-chapters/SKILL.md +45 -0
  850. package/skills/skills/lingshu-compiler/units/vm-arithmetic/SKILL.md +45 -0
  851. package/skills/skills/lingshu-compiler/units/vm-array-ops/SKILL.md +45 -0
  852. package/skills/skills/lingshu-compiler/units/vm-closure-call/SKILL.md +45 -0
  853. package/skills/skills/lingshu-compiler/units/vm-closure-create/SKILL.md +45 -0
  854. package/skills/skills/lingshu-compiler/units/vm-compare/SKILL.md +45 -0
  855. package/skills/skills/lingshu-compiler/units/vm-cond-jump/SKILL.md +45 -0
  856. package/skills/skills/lingshu-compiler/units/vm-cond-space/SKILL.md +45 -0
  857. package/skills/skills/lingshu-compiler/units/vm-exception/SKILL.md +45 -0
  858. package/skills/skills/lingshu-compiler/units/vm-func-call/SKILL.md +45 -0
  859. package/skills/skills/lingshu-compiler/units/vm-loop-run/SKILL.md +45 -0
  860. package/skills/skills/lingshu-compiler/units/vm-profiling/SKILL.md +45 -0
  861. package/skills/skills/lingshu-compiler/units/vm-refcount/SKILL.md +45 -0
  862. package/skills/skills/lingshu-compiler/units/vm-run-loop/SKILL.md +45 -0
  863. package/skills/skills/lingshu-compiler/units/vm-short-circuit/SKILL.md +45 -0
  864. package/skills/skills/lingshu-compiler/units/vm-stack-guard/SKILL.md +45 -0
  865. package/skills/skills/lingshu-compiler/units/vm-stack-ops/SKILL.md +45 -0
  866. package/skills/skills/lingshu-compiler/units/vm-trust-accum/SKILL.md +45 -0
  867. package/skills/skills/lingshu-graph/SKILL.md +63 -0
  868. package/skills/skills/lingshu-graph/units/graph-04cd431b/SKILL.md +45 -0
  869. package/skills/skills/lingshu-graph/units/graph-06e2b1f2/SKILL.md +45 -0
  870. package/skills/skills/lingshu-graph/units/graph-0de12477/SKILL.md +45 -0
  871. package/skills/skills/lingshu-graph/units/graph-0e564e68/SKILL.md +45 -0
  872. package/skills/skills/lingshu-graph/units/graph-10d58a7b/SKILL.md +45 -0
  873. package/skills/skills/lingshu-graph/units/graph-12cd830a/SKILL.md +45 -0
  874. package/skills/skills/lingshu-graph/units/graph-185f2cd2/SKILL.md +45 -0
  875. package/skills/skills/lingshu-graph/units/graph-19a6a301/SKILL.md +45 -0
  876. package/skills/skills/lingshu-graph/units/graph-1b266557/SKILL.md +45 -0
  877. package/skills/skills/lingshu-graph/units/graph-1b707621/SKILL.md +45 -0
  878. package/skills/skills/lingshu-graph/units/graph-1d73b597/SKILL.md +45 -0
  879. package/skills/skills/lingshu-graph/units/graph-2041fa98/SKILL.md +45 -0
  880. package/skills/skills/lingshu-graph/units/graph-2461bc41/SKILL.md +45 -0
  881. package/skills/skills/lingshu-graph/units/graph-2465dff8/SKILL.md +45 -0
  882. package/skills/skills/lingshu-graph/units/graph-2508389f/SKILL.md +45 -0
  883. package/skills/skills/lingshu-graph/units/graph-276d554d/SKILL.md +45 -0
  884. package/skills/skills/lingshu-graph/units/graph-299f4a32/SKILL.md +45 -0
  885. package/skills/skills/lingshu-graph/units/graph-2d455cd8/SKILL.md +45 -0
  886. package/skills/skills/lingshu-graph/units/graph-2fddf701/SKILL.md +45 -0
  887. package/skills/skills/lingshu-graph/units/graph-33385442/SKILL.md +45 -0
  888. package/skills/skills/lingshu-graph/units/graph-34a1dba7/SKILL.md +45 -0
  889. package/skills/skills/lingshu-graph/units/graph-3721be1c/SKILL.md +45 -0
  890. package/skills/skills/lingshu-graph/units/graph-3755dbc9/SKILL.md +45 -0
  891. package/skills/skills/lingshu-graph/units/graph-37a45d4b/SKILL.md +45 -0
  892. package/skills/skills/lingshu-graph/units/graph-3a4a984c/SKILL.md +45 -0
  893. package/skills/skills/lingshu-graph/units/graph-3aa4c941/SKILL.md +45 -0
  894. package/skills/skills/lingshu-graph/units/graph-3b69a528/SKILL.md +45 -0
  895. package/skills/skills/lingshu-graph/units/graph-3bc2eb69/SKILL.md +45 -0
  896. package/skills/skills/lingshu-graph/units/graph-3d255ed4/SKILL.md +45 -0
  897. package/skills/skills/lingshu-graph/units/graph-3d34961d/SKILL.md +45 -0
  898. package/skills/skills/lingshu-graph/units/graph-3e18a380/SKILL.md +45 -0
  899. package/skills/skills/lingshu-graph/units/graph-3f920bf3/SKILL.md +45 -0
  900. package/skills/skills/lingshu-graph/units/graph-40b7bf61/SKILL.md +45 -0
  901. package/skills/skills/lingshu-graph/units/graph-42187d5d/SKILL.md +45 -0
  902. package/skills/skills/lingshu-graph/units/graph-4361c60e/SKILL.md +45 -0
  903. package/skills/skills/lingshu-graph/units/graph-44e56113/SKILL.md +45 -0
  904. package/skills/skills/lingshu-graph/units/graph-4b363727/SKILL.md +45 -0
  905. package/skills/skills/lingshu-graph/units/graph-52e6e216/SKILL.md +45 -0
  906. package/skills/skills/lingshu-graph/units/graph-53fbfef5/SKILL.md +45 -0
  907. package/skills/skills/lingshu-graph/units/graph-54ac2988/SKILL.md +45 -0
  908. package/skills/skills/lingshu-graph/units/graph-580dadcd/SKILL.md +45 -0
  909. package/skills/skills/lingshu-graph/units/graph-5ca34baa/SKILL.md +45 -0
  910. package/skills/skills/lingshu-graph/units/graph-5cb7fbdf/SKILL.md +45 -0
  911. package/skills/skills/lingshu-graph/units/graph-5f894c05/SKILL.md +45 -0
  912. package/skills/skills/lingshu-graph/units/graph-656e7bd4/SKILL.md +45 -0
  913. package/skills/skills/lingshu-graph/units/graph-6dc48231/SKILL.md +45 -0
  914. package/skills/skills/lingshu-graph/units/graph-7186924a/SKILL.md +45 -0
  915. package/skills/skills/lingshu-graph/units/graph-72ce5342/SKILL.md +45 -0
  916. package/skills/skills/lingshu-graph/units/graph-7376a24e/SKILL.md +45 -0
  917. package/skills/skills/lingshu-graph/units/graph-7412a7cb/SKILL.md +45 -0
  918. package/skills/skills/lingshu-graph/units/graph-7becedf0/SKILL.md +45 -0
  919. package/skills/skills/lingshu-graph/units/graph-7c38fbf3/SKILL.md +45 -0
  920. package/skills/skills/lingshu-graph/units/graph-7dc36de7/SKILL.md +45 -0
  921. package/skills/skills/lingshu-graph/units/graph-7fe49de7/SKILL.md +45 -0
  922. package/skills/skills/lingshu-graph/units/graph-80d82194/SKILL.md +45 -0
  923. package/skills/skills/lingshu-graph/units/graph-85bf101e/SKILL.md +45 -0
  924. package/skills/skills/lingshu-graph/units/graph-8650548b/SKILL.md +45 -0
  925. package/skills/skills/lingshu-graph/units/graph-86583b09/SKILL.md +45 -0
  926. package/skills/skills/lingshu-graph/units/graph-8727827c/SKILL.md +45 -0
  927. package/skills/skills/lingshu-graph/units/graph-873fb505/SKILL.md +45 -0
  928. package/skills/skills/lingshu-graph/units/graph-89b11de0/SKILL.md +45 -0
  929. package/skills/skills/lingshu-graph/units/graph-8d7b569b/SKILL.md +45 -0
  930. package/skills/skills/lingshu-graph/units/graph-8e920d5d/SKILL.md +45 -0
  931. package/skills/skills/lingshu-graph/units/graph-8eb38e3d/SKILL.md +45 -0
  932. package/skills/skills/lingshu-graph/units/graph-94582f69/SKILL.md +45 -0
  933. package/skills/skills/lingshu-graph/units/graph-947355f7/SKILL.md +45 -0
  934. package/skills/skills/lingshu-graph/units/graph-9507aff7/SKILL.md +45 -0
  935. package/skills/skills/lingshu-graph/units/graph-95b86a8b/SKILL.md +45 -0
  936. package/skills/skills/lingshu-graph/units/graph-96b85e1f/SKILL.md +45 -0
  937. package/skills/skills/lingshu-graph/units/graph-97b22f09/SKILL.md +45 -0
  938. package/skills/skills/lingshu-graph/units/graph-9833cfda/SKILL.md +45 -0
  939. package/skills/skills/lingshu-graph/units/graph-9aa8a3f4/SKILL.md +45 -0
  940. package/skills/skills/lingshu-graph/units/graph-9f6665c0/SKILL.md +45 -0
  941. package/skills/skills/lingshu-graph/units/graph-a125d282/SKILL.md +45 -0
  942. package/skills/skills/lingshu-graph/units/graph-a49ef4f0/SKILL.md +45 -0
  943. package/skills/skills/lingshu-graph/units/graph-a5cd04ae/SKILL.md +45 -0
  944. package/skills/skills/lingshu-graph/units/graph-add9a63b/SKILL.md +45 -0
  945. package/skills/skills/lingshu-graph/units/graph-b00e3dc7/SKILL.md +45 -0
  946. package/skills/skills/lingshu-graph/units/graph-b33a7662/SKILL.md +45 -0
  947. package/skills/skills/lingshu-graph/units/graph-b76d15ee/SKILL.md +45 -0
  948. package/skills/skills/lingshu-graph/units/graph-b77fa05a/SKILL.md +45 -0
  949. package/skills/skills/lingshu-graph/units/graph-b912fc3b/SKILL.md +45 -0
  950. package/skills/skills/lingshu-graph/units/graph-baf61b7c/SKILL.md +45 -0
  951. package/skills/skills/lingshu-graph/units/graph-c1d5687b/SKILL.md +45 -0
  952. package/skills/skills/lingshu-graph/units/graph-c407bbed/SKILL.md +45 -0
  953. package/skills/skills/lingshu-graph/units/graph-c4676460/SKILL.md +45 -0
  954. package/skills/skills/lingshu-graph/units/graph-c4a59d80/SKILL.md +45 -0
  955. package/skills/skills/lingshu-graph/units/graph-c5815621/SKILL.md +45 -0
  956. package/skills/skills/lingshu-graph/units/graph-ccad55f1/SKILL.md +45 -0
  957. package/skills/skills/lingshu-graph/units/graph-d0677ce1/SKILL.md +45 -0
  958. package/skills/skills/lingshu-graph/units/graph-d1289b39/SKILL.md +45 -0
  959. package/skills/skills/lingshu-graph/units/graph-d15f39b1/SKILL.md +45 -0
  960. package/skills/skills/lingshu-graph/units/graph-d40691ca/SKILL.md +45 -0
  961. package/skills/skills/lingshu-graph/units/graph-d43b387a/SKILL.md +45 -0
  962. package/skills/skills/lingshu-graph/units/graph-d4dd02f4/SKILL.md +45 -0
  963. package/skills/skills/lingshu-graph/units/graph-d724ea18/SKILL.md +45 -0
  964. package/skills/skills/lingshu-graph/units/graph-d74d36fd/SKILL.md +45 -0
  965. package/skills/skills/lingshu-graph/units/graph-d9d3934c/SKILL.md +45 -0
  966. package/skills/skills/lingshu-graph/units/graph-ddf563ff/SKILL.md +45 -0
  967. package/skills/skills/lingshu-graph/units/graph-de00894f/SKILL.md +45 -0
  968. package/skills/skills/lingshu-graph/units/graph-df1ebb63/SKILL.md +45 -0
  969. package/skills/skills/lingshu-graph/units/graph-e2905c20/SKILL.md +45 -0
  970. package/skills/skills/lingshu-graph/units/graph-e4f8cefd/SKILL.md +45 -0
  971. package/skills/skills/lingshu-graph/units/graph-ea3150e7/SKILL.md +45 -0
  972. package/skills/skills/lingshu-graph/units/graph-eb4ac7dd/SKILL.md +45 -0
  973. package/skills/skills/lingshu-graph/units/graph-ee9f6dfa/SKILL.md +45 -0
  974. package/skills/skills/lingshu-graph/units/graph-f055b2ea/SKILL.md +45 -0
  975. package/skills/skills/lingshu-graph/units/graph-f1891287/SKILL.md +45 -0
  976. package/skills/skills/lingshu-graph/units/graph-f1bb5aa1/SKILL.md +45 -0
  977. package/skills/skills/lingshu-graph/units/graph-f56fa220/SKILL.md +45 -0
  978. package/skills/skills/lingshu-graph/units/graph-f729034f/SKILL.md +45 -0
  979. package/skills/skills/lingshu-graph/units/graph-f748a63f/SKILL.md +45 -0
  980. package/skills/skills/lingshu-graph/units/graph-f8c4a59e/SKILL.md +45 -0
  981. package/skills/skills/lingshu-graph/units/graph-fca3d129/SKILL.md +45 -0
  982. package/skills/skills/lingshu-graph/units/graph-fd02d934/SKILL.md +45 -0
  983. package/skills/skills/lingshu-graph/units/graph-fd51ece9/SKILL.md +45 -0
  984. package/skills/skills/lingshu-graph/units/graph-fd6a81ab/SKILL.md +45 -0
  985. package/skills/skills/lingshu-net/SKILL.md +48 -0
  986. package/skills/skills/lingshu-net/units/net-02090d29/SKILL.md +45 -0
  987. package/skills/skills/lingshu-net/units/net-05937712/SKILL.md +45 -0
  988. package/skills/skills/lingshu-net/units/net-059d072f/SKILL.md +45 -0
  989. package/skills/skills/lingshu-net/units/net-080f6012/SKILL.md +45 -0
  990. package/skills/skills/lingshu-net/units/net-08a2fc88/SKILL.md +45 -0
  991. package/skills/skills/lingshu-net/units/net-0935edf1/SKILL.md +45 -0
  992. package/skills/skills/lingshu-net/units/net-0e7f91e4/SKILL.md +45 -0
  993. package/skills/skills/lingshu-net/units/net-0f2850e0/SKILL.md +45 -0
  994. package/skills/skills/lingshu-net/units/net-107ab486/SKILL.md +45 -0
  995. package/skills/skills/lingshu-net/units/net-111e79b0/SKILL.md +45 -0
  996. package/skills/skills/lingshu-net/units/net-126876c1/SKILL.md +45 -0
  997. package/skills/skills/lingshu-net/units/net-13eeb575/SKILL.md +45 -0
  998. package/skills/skills/lingshu-net/units/net-14102d54/SKILL.md +45 -0
  999. package/skills/skills/lingshu-net/units/net-14e9ad0d/SKILL.md +45 -0
  1000. package/skills/skills/lingshu-net/units/net-184175d3/SKILL.md +45 -0
  1001. package/skills/skills/lingshu-net/units/net-1da1c695/SKILL.md +45 -0
  1002. package/skills/skills/lingshu-net/units/net-240a14ec/SKILL.md +45 -0
  1003. package/skills/skills/lingshu-net/units/net-2784f98b/SKILL.md +45 -0
  1004. package/skills/skills/lingshu-net/units/net-292ef917/SKILL.md +45 -0
  1005. package/skills/skills/lingshu-net/units/net-3434e92f/SKILL.md +45 -0
  1006. package/skills/skills/lingshu-net/units/net-35019e6b/SKILL.md +45 -0
  1007. package/skills/skills/lingshu-net/units/net-3bbc6afb/SKILL.md +45 -0
  1008. package/skills/skills/lingshu-net/units/net-3bdf9d9d/SKILL.md +45 -0
  1009. package/skills/skills/lingshu-net/units/net-3dcb84d3/SKILL.md +45 -0
  1010. package/skills/skills/lingshu-net/units/net-431cccf9/SKILL.md +45 -0
  1011. package/skills/skills/lingshu-net/units/net-435a9f7f/SKILL.md +45 -0
  1012. package/skills/skills/lingshu-net/units/net-4508101f/SKILL.md +45 -0
  1013. package/skills/skills/lingshu-net/units/net-4585c9e7/SKILL.md +45 -0
  1014. package/skills/skills/lingshu-net/units/net-479612a0/SKILL.md +45 -0
  1015. package/skills/skills/lingshu-net/units/net-47a19838/SKILL.md +45 -0
  1016. package/skills/skills/lingshu-net/units/net-4e36e1e3/SKILL.md +45 -0
  1017. package/skills/skills/lingshu-net/units/net-509b8001/SKILL.md +45 -0
  1018. package/skills/skills/lingshu-net/units/net-51930c5e/SKILL.md +45 -0
  1019. package/skills/skills/lingshu-net/units/net-56dbd63f/SKILL.md +45 -0
  1020. package/skills/skills/lingshu-net/units/net-57387462/SKILL.md +45 -0
  1021. package/skills/skills/lingshu-net/units/net-5c115606/SKILL.md +45 -0
  1022. package/skills/skills/lingshu-net/units/net-5d27f392/SKILL.md +45 -0
  1023. package/skills/skills/lingshu-net/units/net-5f69c938/SKILL.md +45 -0
  1024. package/skills/skills/lingshu-net/units/net-5fa6c13b/SKILL.md +45 -0
  1025. package/skills/skills/lingshu-net/units/net-61580202/SKILL.md +45 -0
  1026. package/skills/skills/lingshu-net/units/net-61926703/SKILL.md +45 -0
  1027. package/skills/skills/lingshu-net/units/net-61f64fbc/SKILL.md +45 -0
  1028. package/skills/skills/lingshu-net/units/net-6200f3b2/SKILL.md +45 -0
  1029. package/skills/skills/lingshu-net/units/net-63c3eda3/SKILL.md +45 -0
  1030. package/skills/skills/lingshu-net/units/net-66e6119b/SKILL.md +45 -0
  1031. package/skills/skills/lingshu-net/units/net-68643014/SKILL.md +45 -0
  1032. package/skills/skills/lingshu-net/units/net-686632aa/SKILL.md +45 -0
  1033. package/skills/skills/lingshu-net/units/net-6967ff14/SKILL.md +45 -0
  1034. package/skills/skills/lingshu-net/units/net-6996f499/SKILL.md +45 -0
  1035. package/skills/skills/lingshu-net/units/net-6c3b02c2/SKILL.md +45 -0
  1036. package/skills/skills/lingshu-net/units/net-6eb37f63/SKILL.md +45 -0
  1037. package/skills/skills/lingshu-net/units/net-6f96c190/SKILL.md +45 -0
  1038. package/skills/skills/lingshu-net/units/net-6fb27488/SKILL.md +45 -0
  1039. package/skills/skills/lingshu-net/units/net-703559d0/SKILL.md +45 -0
  1040. package/skills/skills/lingshu-net/units/net-706d2692/SKILL.md +45 -0
  1041. package/skills/skills/lingshu-net/units/net-70a20e04/SKILL.md +45 -0
  1042. package/skills/skills/lingshu-net/units/net-7376158c/SKILL.md +45 -0
  1043. package/skills/skills/lingshu-net/units/net-74d647cb/SKILL.md +45 -0
  1044. package/skills/skills/lingshu-net/units/net-74e8a576/SKILL.md +45 -0
  1045. package/skills/skills/lingshu-net/units/net-7801c2c0/SKILL.md +45 -0
  1046. package/skills/skills/lingshu-net/units/net-78cae54d/SKILL.md +45 -0
  1047. package/skills/skills/lingshu-net/units/net-78ec0324/SKILL.md +45 -0
  1048. package/skills/skills/lingshu-net/units/net-7998097c/SKILL.md +45 -0
  1049. package/skills/skills/lingshu-net/units/net-7d81ae06/SKILL.md +45 -0
  1050. package/skills/skills/lingshu-net/units/net-7eabbbc8/SKILL.md +45 -0
  1051. package/skills/skills/lingshu-net/units/net-7ed4f2c5/SKILL.md +45 -0
  1052. package/skills/skills/lingshu-net/units/net-80b56cd6/SKILL.md +45 -0
  1053. package/skills/skills/lingshu-net/units/net-83447546/SKILL.md +45 -0
  1054. package/skills/skills/lingshu-net/units/net-8361fe5b/SKILL.md +45 -0
  1055. package/skills/skills/lingshu-net/units/net-85e3996c/SKILL.md +45 -0
  1056. package/skills/skills/lingshu-net/units/net-8897d5cc/SKILL.md +45 -0
  1057. package/skills/skills/lingshu-net/units/net-88ad93a6/SKILL.md +45 -0
  1058. package/skills/skills/lingshu-net/units/net-8e6f359e/SKILL.md +45 -0
  1059. package/skills/skills/lingshu-net/units/net-8edc4cdb/SKILL.md +45 -0
  1060. package/skills/skills/lingshu-net/units/net-8f6169e9/SKILL.md +45 -0
  1061. package/skills/skills/lingshu-net/units/net-91e00638/SKILL.md +45 -0
  1062. package/skills/skills/lingshu-net/units/net-96c61a3c/SKILL.md +45 -0
  1063. package/skills/skills/lingshu-net/units/net-99076a29/SKILL.md +45 -0
  1064. package/skills/skills/lingshu-net/units/net-998f3641/SKILL.md +45 -0
  1065. package/skills/skills/lingshu-net/units/net-a1d7228a/SKILL.md +45 -0
  1066. package/skills/skills/lingshu-net/units/net-a74da501/SKILL.md +45 -0
  1067. package/skills/skills/lingshu-net/units/net-ac57deb7/SKILL.md +45 -0
  1068. package/skills/skills/lingshu-net/units/net-b22d2f2b/SKILL.md +45 -0
  1069. package/skills/skills/lingshu-net/units/net-b2b29d8d/SKILL.md +45 -0
  1070. package/skills/skills/lingshu-net/units/net-b2ddce5d/SKILL.md +45 -0
  1071. package/skills/skills/lingshu-net/units/net-b4151e9a/SKILL.md +45 -0
  1072. package/skills/skills/lingshu-net/units/net-b873d6f7/SKILL.md +45 -0
  1073. package/skills/skills/lingshu-net/units/net-bd3d2d55/SKILL.md +45 -0
  1074. package/skills/skills/lingshu-net/units/net-c2a3f019/SKILL.md +45 -0
  1075. package/skills/skills/lingshu-net/units/net-c685b788/SKILL.md +45 -0
  1076. package/skills/skills/lingshu-net/units/net-c6c1fd79/SKILL.md +45 -0
  1077. package/skills/skills/lingshu-net/units/net-c74a1b5d/SKILL.md +45 -0
  1078. package/skills/skills/lingshu-net/units/net-cdac702d/SKILL.md +45 -0
  1079. package/skills/skills/lingshu-net/units/net-d12dff5c/SKILL.md +45 -0
  1080. package/skills/skills/lingshu-net/units/net-d3747882/SKILL.md +45 -0
  1081. package/skills/skills/lingshu-net/units/net-d5fefa59/SKILL.md +45 -0
  1082. package/skills/skills/lingshu-net/units/net-d67ec725/SKILL.md +45 -0
  1083. package/skills/skills/lingshu-net/units/net-d80c1c4c/SKILL.md +45 -0
  1084. package/skills/skills/lingshu-net/units/net-d9cb43b0/SKILL.md +45 -0
  1085. package/skills/skills/lingshu-net/units/net-da559517/SKILL.md +45 -0
  1086. package/skills/skills/lingshu-net/units/net-db4f414e/SKILL.md +45 -0
  1087. package/skills/skills/lingshu-net/units/net-dc09d67c/SKILL.md +45 -0
  1088. package/skills/skills/lingshu-net/units/net-e2d185de/SKILL.md +45 -0
  1089. package/skills/skills/lingshu-net/units/net-e2fc73f8/SKILL.md +45 -0
  1090. package/skills/skills/lingshu-net/units/net-e33ef0c2/SKILL.md +45 -0
  1091. package/skills/skills/lingshu-net/units/net-e346863c/SKILL.md +45 -0
  1092. package/skills/skills/lingshu-net/units/net-e6b3389a/SKILL.md +45 -0
  1093. package/skills/skills/lingshu-net/units/net-e9758fc0/SKILL.md +45 -0
  1094. package/skills/skills/lingshu-net/units/net-e9a9747a/SKILL.md +45 -0
  1095. package/skills/skills/lingshu-net/units/net-ea14aab8/SKILL.md +45 -0
  1096. package/skills/skills/lingshu-net/units/net-eba92ac1/SKILL.md +45 -0
  1097. package/skills/skills/lingshu-net/units/net-f29d91d2/SKILL.md +45 -0
  1098. package/skills/skills/lingshu-net/units/net-f314dd0d/SKILL.md +45 -0
  1099. package/skills/skills/lingshu-net/units/net-f332b629/SKILL.md +45 -0
  1100. package/skills/skills/lingshu-net/units/net-f7df127c/SKILL.md +45 -0
  1101. package/skills/skills/lingshu-net/units/net-fb9d8f5d/SKILL.md +45 -0
  1102. package/skills/skills/lingshu-net/units/net-fdec2c86/SKILL.md +45 -0
  1103. package/skills/skills/lingshu-os/SKILL.md +64 -0
  1104. package/skills/skills/lingshu-os/units/os-0205cf9b/SKILL.md +45 -0
  1105. package/skills/skills/lingshu-os/units/os-027dc9be/SKILL.md +45 -0
  1106. package/skills/skills/lingshu-os/units/os-03c0d7d6/SKILL.md +45 -0
  1107. package/skills/skills/lingshu-os/units/os-040b5505/SKILL.md +45 -0
  1108. package/skills/skills/lingshu-os/units/os-06fa98ed/SKILL.md +45 -0
  1109. package/skills/skills/lingshu-os/units/os-0854291c/SKILL.md +45 -0
  1110. package/skills/skills/lingshu-os/units/os-0c7f14cb/SKILL.md +45 -0
  1111. package/skills/skills/lingshu-os/units/os-0d855af2/SKILL.md +45 -0
  1112. package/skills/skills/lingshu-os/units/os-0e87e997/SKILL.md +45 -0
  1113. package/skills/skills/lingshu-os/units/os-0f8ed882/SKILL.md +45 -0
  1114. package/skills/skills/lingshu-os/units/os-111ce1de/SKILL.md +45 -0
  1115. package/skills/skills/lingshu-os/units/os-1234eb00/SKILL.md +45 -0
  1116. package/skills/skills/lingshu-os/units/os-128f3820/SKILL.md +45 -0
  1117. package/skills/skills/lingshu-os/units/os-15796db5/SKILL.md +45 -0
  1118. package/skills/skills/lingshu-os/units/os-1898928a/SKILL.md +45 -0
  1119. package/skills/skills/lingshu-os/units/os-192b8ca9/SKILL.md +45 -0
  1120. package/skills/skills/lingshu-os/units/os-1d3bcf28/SKILL.md +45 -0
  1121. package/skills/skills/lingshu-os/units/os-1f224514/SKILL.md +45 -0
  1122. package/skills/skills/lingshu-os/units/os-26a4f86a/SKILL.md +45 -0
  1123. package/skills/skills/lingshu-os/units/os-29c96147/SKILL.md +45 -0
  1124. package/skills/skills/lingshu-os/units/os-2ea9a5ff/SKILL.md +45 -0
  1125. package/skills/skills/lingshu-os/units/os-300ef22c/SKILL.md +45 -0
  1126. package/skills/skills/lingshu-os/units/os-310dda5b/SKILL.md +45 -0
  1127. package/skills/skills/lingshu-os/units/os-313ef4ed/SKILL.md +45 -0
  1128. package/skills/skills/lingshu-os/units/os-329a2147/SKILL.md +45 -0
  1129. package/skills/skills/lingshu-os/units/os-34ad4b62/SKILL.md +45 -0
  1130. package/skills/skills/lingshu-os/units/os-350bc623/SKILL.md +45 -0
  1131. package/skills/skills/lingshu-os/units/os-35ee1a30/SKILL.md +45 -0
  1132. package/skills/skills/lingshu-os/units/os-3cd28220/SKILL.md +45 -0
  1133. package/skills/skills/lingshu-os/units/os-3d84e0c9/SKILL.md +45 -0
  1134. package/skills/skills/lingshu-os/units/os-3db42aac/SKILL.md +45 -0
  1135. package/skills/skills/lingshu-os/units/os-3e0aff42/SKILL.md +45 -0
  1136. package/skills/skills/lingshu-os/units/os-3e9405d2/SKILL.md +45 -0
  1137. package/skills/skills/lingshu-os/units/os-41d14544/SKILL.md +45 -0
  1138. package/skills/skills/lingshu-os/units/os-462f3ed4/SKILL.md +45 -0
  1139. package/skills/skills/lingshu-os/units/os-485833fa/SKILL.md +45 -0
  1140. package/skills/skills/lingshu-os/units/os-4a1cf781/SKILL.md +45 -0
  1141. package/skills/skills/lingshu-os/units/os-4bf77933/SKILL.md +45 -0
  1142. package/skills/skills/lingshu-os/units/os-4c14cec2/SKILL.md +45 -0
  1143. package/skills/skills/lingshu-os/units/os-4f05d577/SKILL.md +45 -0
  1144. package/skills/skills/lingshu-os/units/os-4f50ad0b/SKILL.md +45 -0
  1145. package/skills/skills/lingshu-os/units/os-509a4596/SKILL.md +45 -0
  1146. package/skills/skills/lingshu-os/units/os-512b1b6c/SKILL.md +45 -0
  1147. package/skills/skills/lingshu-os/units/os-5192621b/SKILL.md +45 -0
  1148. package/skills/skills/lingshu-os/units/os-55672763/SKILL.md +45 -0
  1149. package/skills/skills/lingshu-os/units/os-5582bce6/SKILL.md +45 -0
  1150. package/skills/skills/lingshu-os/units/os-5a096a1f/SKILL.md +45 -0
  1151. package/skills/skills/lingshu-os/units/os-5ca15108/SKILL.md +45 -0
  1152. package/skills/skills/lingshu-os/units/os-601663e1/SKILL.md +45 -0
  1153. package/skills/skills/lingshu-os/units/os-607f1963/SKILL.md +45 -0
  1154. package/skills/skills/lingshu-os/units/os-6158581b/SKILL.md +45 -0
  1155. package/skills/skills/lingshu-os/units/os-62f9278b/SKILL.md +45 -0
  1156. package/skills/skills/lingshu-os/units/os-63797b86/SKILL.md +45 -0
  1157. package/skills/skills/lingshu-os/units/os-6a1fe224/SKILL.md +45 -0
  1158. package/skills/skills/lingshu-os/units/os-6b0a68bf/SKILL.md +45 -0
  1159. package/skills/skills/lingshu-os/units/os-6e5cee67/SKILL.md +45 -0
  1160. package/skills/skills/lingshu-os/units/os-6fb1ff58/SKILL.md +45 -0
  1161. package/skills/skills/lingshu-os/units/os-71389592/SKILL.md +45 -0
  1162. package/skills/skills/lingshu-os/units/os-72e879a3/SKILL.md +45 -0
  1163. package/skills/skills/lingshu-os/units/os-7598748a/SKILL.md +45 -0
  1164. package/skills/skills/lingshu-os/units/os-80cc3283/SKILL.md +45 -0
  1165. package/skills/skills/lingshu-os/units/os-819f3093/SKILL.md +45 -0
  1166. package/skills/skills/lingshu-os/units/os-83670c2b/SKILL.md +45 -0
  1167. package/skills/skills/lingshu-os/units/os-878c18b3/SKILL.md +45 -0
  1168. package/skills/skills/lingshu-os/units/os-89ed7af1/SKILL.md +45 -0
  1169. package/skills/skills/lingshu-os/units/os-8cb7279d/SKILL.md +45 -0
  1170. package/skills/skills/lingshu-os/units/os-92276145/SKILL.md +45 -0
  1171. package/skills/skills/lingshu-os/units/os-955c4d66/SKILL.md +45 -0
  1172. package/skills/skills/lingshu-os/units/os-97aacf40/SKILL.md +45 -0
  1173. package/skills/skills/lingshu-os/units/os-9b6ed02c/SKILL.md +45 -0
  1174. package/skills/skills/lingshu-os/units/os-9c86a7a2/SKILL.md +45 -0
  1175. package/skills/skills/lingshu-os/units/os-a13ce4aa/SKILL.md +45 -0
  1176. package/skills/skills/lingshu-os/units/os-a568affe/SKILL.md +45 -0
  1177. package/skills/skills/lingshu-os/units/os-abd48f17/SKILL.md +45 -0
  1178. package/skills/skills/lingshu-os/units/os-b0416edc/SKILL.md +45 -0
  1179. package/skills/skills/lingshu-os/units/os-b6509cac/SKILL.md +45 -0
  1180. package/skills/skills/lingshu-os/units/os-b718657b/SKILL.md +45 -0
  1181. package/skills/skills/lingshu-os/units/os-b776ade1/SKILL.md +45 -0
  1182. package/skills/skills/lingshu-os/units/os-ba24fa08/SKILL.md +45 -0
  1183. package/skills/skills/lingshu-os/units/os-bd1fc177/SKILL.md +45 -0
  1184. package/skills/skills/lingshu-os/units/os-bda92711/SKILL.md +45 -0
  1185. package/skills/skills/lingshu-os/units/os-c0fa71bd/SKILL.md +45 -0
  1186. package/skills/skills/lingshu-os/units/os-c3d5cd44/SKILL.md +45 -0
  1187. package/skills/skills/lingshu-os/units/os-c6b6a763/SKILL.md +45 -0
  1188. package/skills/skills/lingshu-os/units/os-c7661eb1/SKILL.md +45 -0
  1189. package/skills/skills/lingshu-os/units/os-c76b5a43/SKILL.md +45 -0
  1190. package/skills/skills/lingshu-os/units/os-c7d35a30/SKILL.md +45 -0
  1191. package/skills/skills/lingshu-os/units/os-c980a25d/SKILL.md +45 -0
  1192. package/skills/skills/lingshu-os/units/os-c9f8df6e/SKILL.md +45 -0
  1193. package/skills/skills/lingshu-os/units/os-cc49ef2f/SKILL.md +45 -0
  1194. package/skills/skills/lingshu-os/units/os-cd9e686a/SKILL.md +45 -0
  1195. package/skills/skills/lingshu-os/units/os-cfa66a1b/SKILL.md +45 -0
  1196. package/skills/skills/lingshu-os/units/os-d237e500/SKILL.md +45 -0
  1197. package/skills/skills/lingshu-os/units/os-d39ef086/SKILL.md +45 -0
  1198. package/skills/skills/lingshu-os/units/os-d4f9e813/SKILL.md +45 -0
  1199. package/skills/skills/lingshu-os/units/os-d97915c0/SKILL.md +45 -0
  1200. package/skills/skills/lingshu-os/units/os-da0aadde/SKILL.md +45 -0
  1201. package/skills/skills/lingshu-os/units/os-da482caf/SKILL.md +45 -0
  1202. package/skills/skills/lingshu-os/units/os-dd4ff45e/SKILL.md +45 -0
  1203. package/skills/skills/lingshu-os/units/os-de0556c5/SKILL.md +45 -0
  1204. package/skills/skills/lingshu-os/units/os-e0ad3364/SKILL.md +45 -0
  1205. package/skills/skills/lingshu-os/units/os-e7612c68/SKILL.md +45 -0
  1206. package/skills/skills/lingshu-os/units/os-ea444e45/SKILL.md +45 -0
  1207. package/skills/skills/lingshu-os/units/os-ea6e7e0b/SKILL.md +45 -0
  1208. package/skills/skills/lingshu-os/units/os-ebc34d83/SKILL.md +45 -0
  1209. package/skills/skills/lingshu-os/units/os-ecbebbe3/SKILL.md +45 -0
  1210. package/skills/skills/lingshu-os/units/os-ecfceae7/SKILL.md +45 -0
  1211. package/skills/skills/lingshu-os/units/os-ed8de3a3/SKILL.md +45 -0
  1212. package/skills/skills/lingshu-os/units/os-f69c0b08/SKILL.md +45 -0
  1213. package/skills/skills/lingshu-os/units/os-f6ae6205/SKILL.md +45 -0
  1214. package/skills/skills/lingshu-os/units/os-f9bf8dd4/SKILL.md +45 -0
  1215. package/skills/skills/lingshu-os/units/os-fcdd828d/SKILL.md +45 -0
  1216. package/skills/skills/lingshu-pylang/SKILL.md +71 -0
  1217. package/skills/skills/lingshu-pylang/units/pylang-01b23f80/SKILL.md +45 -0
  1218. package/skills/skills/lingshu-pylang/units/pylang-074fd698/SKILL.md +45 -0
  1219. package/skills/skills/lingshu-pylang/units/pylang-0b490bb2/SKILL.md +45 -0
  1220. package/skills/skills/lingshu-pylang/units/pylang-0ca7f08b/SKILL.md +45 -0
  1221. package/skills/skills/lingshu-pylang/units/pylang-10ce3e91/SKILL.md +45 -0
  1222. package/skills/skills/lingshu-pylang/units/pylang-15f76c64/SKILL.md +45 -0
  1223. package/skills/skills/lingshu-pylang/units/pylang-1703046f/SKILL.md +45 -0
  1224. package/skills/skills/lingshu-pylang/units/pylang-1aa3e939/SKILL.md +45 -0
  1225. package/skills/skills/lingshu-pylang/units/pylang-1bed54cf/SKILL.md +45 -0
  1226. package/skills/skills/lingshu-pylang/units/pylang-1dd35612/SKILL.md +45 -0
  1227. package/skills/skills/lingshu-pylang/units/pylang-24273d7b/SKILL.md +45 -0
  1228. package/skills/skills/lingshu-pylang/units/pylang-2853f59f/SKILL.md +45 -0
  1229. package/skills/skills/lingshu-pylang/units/pylang-2a6bc16e/SKILL.md +45 -0
  1230. package/skills/skills/lingshu-pylang/units/pylang-2ae78997/SKILL.md +45 -0
  1231. package/skills/skills/lingshu-pylang/units/pylang-2bc88f4c/SKILL.md +45 -0
  1232. package/skills/skills/lingshu-pylang/units/pylang-31f5b8db/SKILL.md +45 -0
  1233. package/skills/skills/lingshu-pylang/units/pylang-36d178bc/SKILL.md +45 -0
  1234. package/skills/skills/lingshu-pylang/units/pylang-38600583/SKILL.md +45 -0
  1235. package/skills/skills/lingshu-pylang/units/pylang-38e8f9ff/SKILL.md +45 -0
  1236. package/skills/skills/lingshu-pylang/units/pylang-395085ca/SKILL.md +45 -0
  1237. package/skills/skills/lingshu-pylang/units/pylang-399b317e/SKILL.md +45 -0
  1238. package/skills/skills/lingshu-pylang/units/pylang-39c72c78/SKILL.md +45 -0
  1239. package/skills/skills/lingshu-pylang/units/pylang-3a659480/SKILL.md +45 -0
  1240. package/skills/skills/lingshu-pylang/units/pylang-482be62b/SKILL.md +45 -0
  1241. package/skills/skills/lingshu-pylang/units/pylang-486a1e94/SKILL.md +45 -0
  1242. package/skills/skills/lingshu-pylang/units/pylang-49026041/SKILL.md +45 -0
  1243. package/skills/skills/lingshu-pylang/units/pylang-4963b28a/SKILL.md +45 -0
  1244. package/skills/skills/lingshu-pylang/units/pylang-4af9140e/SKILL.md +45 -0
  1245. package/skills/skills/lingshu-pylang/units/pylang-4ca283f2/SKILL.md +45 -0
  1246. package/skills/skills/lingshu-pylang/units/pylang-4ddf31f3/SKILL.md +45 -0
  1247. package/skills/skills/lingshu-pylang/units/pylang-50614726/SKILL.md +45 -0
  1248. package/skills/skills/lingshu-pylang/units/pylang-5102c069/SKILL.md +45 -0
  1249. package/skills/skills/lingshu-pylang/units/pylang-521b1bf8/SKILL.md +45 -0
  1250. package/skills/skills/lingshu-pylang/units/pylang-5880b7a1/SKILL.md +45 -0
  1251. package/skills/skills/lingshu-pylang/units/pylang-61a9102d/SKILL.md +45 -0
  1252. package/skills/skills/lingshu-pylang/units/pylang-621123dd/SKILL.md +45 -0
  1253. package/skills/skills/lingshu-pylang/units/pylang-642cd625/SKILL.md +45 -0
  1254. package/skills/skills/lingshu-pylang/units/pylang-65ca79b7/SKILL.md +45 -0
  1255. package/skills/skills/lingshu-pylang/units/pylang-672df225/SKILL.md +45 -0
  1256. package/skills/skills/lingshu-pylang/units/pylang-67d3368e/SKILL.md +45 -0
  1257. package/skills/skills/lingshu-pylang/units/pylang-6be54340/SKILL.md +45 -0
  1258. package/skills/skills/lingshu-pylang/units/pylang-70b2006f/SKILL.md +45 -0
  1259. package/skills/skills/lingshu-pylang/units/pylang-70b215f1/SKILL.md +45 -0
  1260. package/skills/skills/lingshu-pylang/units/pylang-730c3fe4/SKILL.md +45 -0
  1261. package/skills/skills/lingshu-pylang/units/pylang-733c1286/SKILL.md +45 -0
  1262. package/skills/skills/lingshu-pylang/units/pylang-79845f4d/SKILL.md +45 -0
  1263. package/skills/skills/lingshu-pylang/units/pylang-7c4cc6f8/SKILL.md +45 -0
  1264. package/skills/skills/lingshu-pylang/units/pylang-7c7193ad/SKILL.md +45 -0
  1265. package/skills/skills/lingshu-pylang/units/pylang-7d86ab5d/SKILL.md +45 -0
  1266. package/skills/skills/lingshu-pylang/units/pylang-7df8ca78/SKILL.md +45 -0
  1267. package/skills/skills/lingshu-pylang/units/pylang-8182681d/SKILL.md +45 -0
  1268. package/skills/skills/lingshu-pylang/units/pylang-81ad40ee/SKILL.md +45 -0
  1269. package/skills/skills/lingshu-pylang/units/pylang-8283d7c0/SKILL.md +45 -0
  1270. package/skills/skills/lingshu-pylang/units/pylang-82b73f3d/SKILL.md +45 -0
  1271. package/skills/skills/lingshu-pylang/units/pylang-8404bbde/SKILL.md +45 -0
  1272. package/skills/skills/lingshu-pylang/units/pylang-8584040d/SKILL.md +45 -0
  1273. package/skills/skills/lingshu-pylang/units/pylang-85d8617b/SKILL.md +45 -0
  1274. package/skills/skills/lingshu-pylang/units/pylang-886935a3/SKILL.md +45 -0
  1275. package/skills/skills/lingshu-pylang/units/pylang-88ab2f96/SKILL.md +45 -0
  1276. package/skills/skills/lingshu-pylang/units/pylang-8b6f071e/SKILL.md +45 -0
  1277. package/skills/skills/lingshu-pylang/units/pylang-8d6ec58a/SKILL.md +45 -0
  1278. package/skills/skills/lingshu-pylang/units/pylang-8fe98252/SKILL.md +45 -0
  1279. package/skills/skills/lingshu-pylang/units/pylang-9018c39a/SKILL.md +45 -0
  1280. package/skills/skills/lingshu-pylang/units/pylang-91277748/SKILL.md +45 -0
  1281. package/skills/skills/lingshu-pylang/units/pylang-943b9dcb/SKILL.md +45 -0
  1282. package/skills/skills/lingshu-pylang/units/pylang-961e9e43/SKILL.md +45 -0
  1283. package/skills/skills/lingshu-pylang/units/pylang-962954d9/SKILL.md +45 -0
  1284. package/skills/skills/lingshu-pylang/units/pylang-9dbd8e2b/SKILL.md +45 -0
  1285. package/skills/skills/lingshu-pylang/units/pylang-a02eac31/SKILL.md +45 -0
  1286. package/skills/skills/lingshu-pylang/units/pylang-a4d3d7b1/SKILL.md +45 -0
  1287. package/skills/skills/lingshu-pylang/units/pylang-a7c3d0e2/SKILL.md +45 -0
  1288. package/skills/skills/lingshu-pylang/units/pylang-a88db70d/SKILL.md +45 -0
  1289. package/skills/skills/lingshu-pylang/units/pylang-ab7dddc2/SKILL.md +45 -0
  1290. package/skills/skills/lingshu-pylang/units/pylang-ac2a4b38/SKILL.md +45 -0
  1291. package/skills/skills/lingshu-pylang/units/pylang-afaf67c0/SKILL.md +45 -0
  1292. package/skills/skills/lingshu-pylang/units/pylang-b00660e6/SKILL.md +45 -0
  1293. package/skills/skills/lingshu-pylang/units/pylang-b4d7616d/SKILL.md +45 -0
  1294. package/skills/skills/lingshu-pylang/units/pylang-b67b1878/SKILL.md +45 -0
  1295. package/skills/skills/lingshu-pylang/units/pylang-b8040e1c/SKILL.md +45 -0
  1296. package/skills/skills/lingshu-pylang/units/pylang-b880c6c6/SKILL.md +45 -0
  1297. package/skills/skills/lingshu-pylang/units/pylang-b8d45f76/SKILL.md +45 -0
  1298. package/skills/skills/lingshu-pylang/units/pylang-ba956e52/SKILL.md +45 -0
  1299. package/skills/skills/lingshu-pylang/units/pylang-bb18b1f9/SKILL.md +45 -0
  1300. package/skills/skills/lingshu-pylang/units/pylang-bb46f3f2/SKILL.md +45 -0
  1301. package/skills/skills/lingshu-pylang/units/pylang-be55a094/SKILL.md +45 -0
  1302. package/skills/skills/lingshu-pylang/units/pylang-beb47b63/SKILL.md +45 -0
  1303. package/skills/skills/lingshu-pylang/units/pylang-c017681a/SKILL.md +45 -0
  1304. package/skills/skills/lingshu-pylang/units/pylang-c1317cd9/SKILL.md +45 -0
  1305. package/skills/skills/lingshu-pylang/units/pylang-c36fabf7/SKILL.md +45 -0
  1306. package/skills/skills/lingshu-pylang/units/pylang-c42465ec/SKILL.md +45 -0
  1307. package/skills/skills/lingshu-pylang/units/pylang-c5c76a12/SKILL.md +45 -0
  1308. package/skills/skills/lingshu-pylang/units/pylang-c910ad31/SKILL.md +45 -0
  1309. package/skills/skills/lingshu-pylang/units/pylang-ca9332cf/SKILL.md +45 -0
  1310. package/skills/skills/lingshu-pylang/units/pylang-cce90fa0/SKILL.md +45 -0
  1311. package/skills/skills/lingshu-pylang/units/pylang-cd4234a5/SKILL.md +45 -0
  1312. package/skills/skills/lingshu-pylang/units/pylang-cf0fca1c/SKILL.md +45 -0
  1313. package/skills/skills/lingshu-pylang/units/pylang-d2001e1f/SKILL.md +45 -0
  1314. package/skills/skills/lingshu-pylang/units/pylang-d616eb28/SKILL.md +45 -0
  1315. package/skills/skills/lingshu-pylang/units/pylang-d8962e66/SKILL.md +45 -0
  1316. package/skills/skills/lingshu-pylang/units/pylang-db6214cd/SKILL.md +45 -0
  1317. package/skills/skills/lingshu-pylang/units/pylang-dcde3040/SKILL.md +45 -0
  1318. package/skills/skills/lingshu-pylang/units/pylang-dfad3dba/SKILL.md +45 -0
  1319. package/skills/skills/lingshu-pylang/units/pylang-dfd5aac2/SKILL.md +45 -0
  1320. package/skills/skills/lingshu-pylang/units/pylang-e1aa3818/SKILL.md +45 -0
  1321. package/skills/skills/lingshu-pylang/units/pylang-e476915b/SKILL.md +45 -0
  1322. package/skills/skills/lingshu-pylang/units/pylang-e88e31fd/SKILL.md +45 -0
  1323. package/skills/skills/lingshu-pylang/units/pylang-ecd569d2/SKILL.md +45 -0
  1324. package/skills/skills/lingshu-pylang/units/pylang-ecf27e0c/SKILL.md +45 -0
  1325. package/skills/skills/lingshu-pylang/units/pylang-f124f0e6/SKILL.md +45 -0
  1326. package/skills/skills/lingshu-pylang/units/pylang-f127a8d1/SKILL.md +45 -0
  1327. package/skills/skills/lingshu-pylang/units/pylang-f2d6ec27/SKILL.md +45 -0
  1328. package/skills/skills/lingshu-pylang/units/pylang-f2f40090/SKILL.md +45 -0
  1329. package/skills/skills/lingshu-pylang/units/pylang-f4aa9e65/SKILL.md +45 -0
  1330. package/skills/skills/lingshu-pylang/units/pylang-f4f820d4/SKILL.md +45 -0
  1331. package/skills/skills/lingshu-pylang/units/pylang-f5b34833/SKILL.md +45 -0
  1332. package/skills/skills/lingshu-pylang/units/pylang-f6ebb66e/SKILL.md +45 -0
  1333. package/skills/skills/lingshu-pylang/units/pylang-f78bdcd7/SKILL.md +45 -0
  1334. package/skills/skills/lingshu-pylang/units/pylang-f92bc49b/SKILL.md +45 -0
  1335. package/skills/skills/lingshu-pylang/units/pylang-fd7595f0/SKILL.md +45 -0
  1336. package/skills/skills/lingshu-pylang/units/pylang-fda87aa1/SKILL.md +45 -0
  1337. package/src/bridge.ts +7 -7
  1338. package/src/hooks.ts +78 -27
  1339. package/src/index.ts +277 -68
  1340. package/src/lib/datapath.ts +112 -0
  1341. package/src/lib/mdcg_client.ts +362 -0
  1342. package/src/lib/roleplay_web.ts +932 -0
  1343. package/src/lib/token_store.ts +183 -0
  1344. package/src/{llm_adapter.ts → lib/whitebox_llm.ts} +13 -7
  1345. package/src/tools.ts +41 -55
  1346. /package/src/{mutual.ts → lib/mutual.ts} +0 -0
@@ -0,0 +1,1065 @@
1
+ """
2
+ parser.py · 语法分析器 v2.0
3
+ 将 Token 序列构建为抽象语法树(AST)
4
+ 支持:条件语句、指令语句、九章算术结构
5
+
6
+ v2.0 变更:
7
+ - 新增 _merge_identifiers:合并紧密相连的 IDENTIFIER/NUMBER 序列
8
+ - 修复"道 新信任路径"被切成多个操作数的问题
9
+ - 支持"止 X 于 Y"结构中的多词 X
10
+ """
11
+
12
+ from enum import Enum, auto
13
+ from dataclasses import dataclass, field
14
+ from typing import List, Optional, Union, Any, Tuple
15
+ from .lexer import Token, TokenType
16
+
17
+
18
+ # =============================================================================
19
+ # AST 节点类型
20
+ # =============================================================================
21
+
22
+ class NodeType(Enum):
23
+ """AST 节点类型"""
24
+
25
+ # === 顶层 ===
26
+ PROGRAM = auto() # 整个程序
27
+
28
+ # === 九章算术结构 ===
29
+ WENYUE = auto() # 问曰
30
+ DAYUE = auto() # 答曰
31
+ SHUYUE = auto() # 术曰
32
+ STEP = auto() # 步骤(序号.操作)
33
+
34
+ # === 语句 ===
35
+ CONDITION_STMT = auto() # 条件语句(若...则...)
36
+ LOOP_STMT = auto() # 循环语句(当...执行...)
37
+ BLOCK = auto() # 语句块(多条顺序语句)
38
+ FUNC_DEF = auto() # 函数定义(定义 名(参数):语句)
39
+ RETURN_STMT = auto() # 返回语句(返回 表达式)
40
+ ASSIGN_STMT = auto() # 赋值语句
41
+ INSTRUCTION_STMT = auto() # 指令语句(道德经助记符)
42
+ OPERATION_STMT = auto() # 操作语句
43
+
44
+ # === 表达式 ===
45
+ BINARY_EXPR = auto() # 二元表达式
46
+ UNARY_EXPR = auto() # 一元表达式
47
+ IDENTIFIER = auto() # 标识符
48
+ LITERAL = auto() # 字面量
49
+ CALL_EXPR = auto() # 调用表达式
50
+
51
+ # === 条件 ===
52
+ COMPARISON = auto() # 比较表达式
53
+
54
+
55
+ # =============================================================================
56
+ # AST 节点定义
57
+ # =============================================================================
58
+
59
+ @dataclass
60
+ class ASTNode:
61
+ """AST 节点基类"""
62
+ type: NodeType
63
+ line: int = 1
64
+ column: int = 1
65
+ children: List['ASTNode'] = field(default_factory=list)
66
+ value: Any = None
67
+ attributes: dict = field(default_factory=dict)
68
+
69
+ def add_child(self, child: 'ASTNode'):
70
+ """追加子节点(None 直接忽略)。"""
71
+ if child is not None:
72
+ self.children.append(child)
73
+
74
+ def __repr__(self) -> str:
75
+ """AST 节点调试表示:类型与子节点概览。"""
76
+ return f"ASTNode({self.type.name}, value={self.value!r}, children={len(self.children)})"
77
+
78
+
79
+ @dataclass
80
+ class ProgramNode(ASTNode):
81
+ """程序根节点"""
82
+ def __init__(self, line: int = 1, column: int = 1):
83
+ """构造 ProgramNode:绑定本节点的声明字段与子结构。"""
84
+ super().__init__(NodeType.PROGRAM, line, column)
85
+ self.statements: List[ASTNode] = []
86
+
87
+ def add_statement(self, stmt: ASTNode):
88
+ """追加语句并同时挂入子树。"""
89
+ if stmt is not None:
90
+ self.statements.append(stmt)
91
+ self.add_child(stmt)
92
+
93
+
94
+ @dataclass
95
+ class WenyueNode(ASTNode):
96
+ """问曰节点"""
97
+ def __init__(self, question: str, line: int = 1, column: int = 1):
98
+ """构造 WenyueNode:绑定本节点的声明字段与子结构。"""
99
+ super().__init__(NodeType.WENYUE, line, column)
100
+ self.question = question
101
+ self.value = question
102
+
103
+
104
+ @dataclass
105
+ class DayueNode(ASTNode):
106
+ """答曰节点"""
107
+ def __init__(self, answer: str, line: int = 1, column: int = 1):
108
+ """构造 DayueNode:绑定本节点的声明字段与子结构。"""
109
+ super().__init__(NodeType.DAYUE, line, column)
110
+ self.answer = answer
111
+ self.value = answer
112
+
113
+
114
+ @dataclass
115
+ class ShuyueNode(ASTNode):
116
+ """术曰节点"""
117
+ def __init__(self, line: int = 1, column: int = 1):
118
+ """构造 ShuyueNode:绑定本节点的声明字段与子结构。"""
119
+ super().__init__(NodeType.SHUYUE, line, column)
120
+ self.steps: List['StepNode'] = []
121
+
122
+ def add_step(self, step: 'StepNode'):
123
+ """追加步骤节点并挂入子树。"""
124
+ self.steps.append(step)
125
+ self.add_child(step)
126
+
127
+
128
+ @dataclass
129
+ class StepNode(ASTNode):
130
+ """步骤节点"""
131
+ def __init__(self, step_num: int, statement: ASTNode, line: int = 1, column: int = 1):
132
+ """构造 StepNode:绑定本节点的声明字段与子结构。"""
133
+ super().__init__(NodeType.STEP, line, column)
134
+ self.step_num = step_num
135
+ self.statement = statement
136
+ self.add_child(statement)
137
+
138
+
139
+ @dataclass
140
+ class ConditionStmtNode(ASTNode):
141
+ """条件语句:若 [条件] 则 [操作] [否则 [操作]](body 可为语句列表)"""
142
+ def __init__(self, condition: ASTNode, then_body, else_body=None,
143
+ line: int = 1, column: int = 1):
144
+ """构造 ConditionStmtNode:绑定本节点的声明字段与子结构。"""
145
+ super().__init__(NodeType.CONDITION_STMT, line, column)
146
+ self.condition = condition
147
+ self.then_body = then_body
148
+ self.else_body = else_body
149
+ self.add_child(condition)
150
+ self.add_child(then_body)
151
+ if else_body is not None:
152
+ self.add_child(else_body)
153
+
154
+
155
+ @dataclass
156
+ class LoopStmtNode(ASTNode):
157
+ """循环语句:当 [条件] 执行 [操作](while 语义,body 可为语句列表)"""
158
+ def __init__(self, condition: ASTNode, body, line: int = 1, column: int = 1):
159
+ """构造 LoopStmtNode:绑定本节点的声明字段与子结构。"""
160
+ super().__init__(NodeType.LOOP_STMT, line, column)
161
+ self.condition = condition
162
+ self.body = body
163
+ self.add_child(condition)
164
+ self.add_child(body)
165
+
166
+
167
+ @dataclass
168
+ class BlockNode(ASTNode):
169
+ """语句块:多条顺序执行的语句(循环体/条件体多语句支持)"""
170
+ def __init__(self, statements, line: int = 1, column: int = 1):
171
+ """构造 BlockNode:绑定本节点的声明字段与子结构。"""
172
+ super().__init__(NodeType.BLOCK, line, column)
173
+ self.statements = statements
174
+ for s in statements:
175
+ self.add_child(s)
176
+
177
+
178
+ @dataclass
179
+ class FuncDefNode(ASTNode):
180
+ """函数定义:定义 名(参数):语句(body 可为语句列表)"""
181
+ def __init__(self, name: str, params: List[str], body, line: int = 1, column: int = 1):
182
+ """构造 FuncDefNode:绑定本节点的声明字段与子结构。"""
183
+ super().__init__(NodeType.FUNC_DEF, line, column)
184
+ self.name = name
185
+ self.params = params
186
+ self.body = body
187
+ self.add_child(body)
188
+
189
+
190
+ @dataclass
191
+ class ReturnStmtNode(ASTNode):
192
+ """返回语句:返回 [表达式]"""
193
+ def __init__(self, value: Optional[ASTNode], line: int = 1, column: int = 1):
194
+ """构造 ReturnStmtNode:绑定本节点的声明字段与子结构。"""
195
+ super().__init__(NodeType.RETURN_STMT, line, column)
196
+ self.value = value
197
+ if value:
198
+ self.add_child(value)
199
+
200
+
201
+ @dataclass
202
+ class CallExprNode(ASTNode):
203
+ """函数调用:名(参数1,参数2)"""
204
+ def __init__(self, name: str, args: List[ASTNode], line: int = 1, column: int = 1):
205
+ """构造 CallExprNode:绑定本节点的声明字段与子结构。"""
206
+ super().__init__(NodeType.CALL_EXPR, line, column)
207
+ self.name = name
208
+ self.args = args
209
+ for a in args:
210
+ self.add_child(a)
211
+
212
+
213
+ @dataclass
214
+ class InstructionStmtNode(ASTNode):
215
+ """指令语句:道德经助记符 + 操作数"""
216
+ def __init__(self, instruction: TokenType, operands: List[ASTNode] = None,
217
+ line: int = 1, column: int = 1):
218
+ """构造 InstructionStmtNode:绑定本节点的声明字段与子结构。"""
219
+ super().__init__(NodeType.INSTRUCTION_STMT, line, column)
220
+ self.instruction = instruction
221
+ self.operands = operands or []
222
+ for op in self.operands:
223
+ self.add_child(op)
224
+
225
+
226
+ @dataclass
227
+ class AssignStmtNode(ASTNode):
228
+ """赋值语句:标识符 = 值"""
229
+ def __init__(self, target: str, value: ASTNode, line: int = 1, column: int = 1):
230
+ """构造 AssignStmtNode:绑定本节点的声明字段与子结构。"""
231
+ super().__init__(NodeType.ASSIGN_STMT, line, column)
232
+ self.target = target
233
+ self.value_node = value
234
+ self.add_child(value)
235
+
236
+
237
+ @dataclass
238
+ class BinaryExprNode(ASTNode):
239
+ """二元表达式:左 操作符 右"""
240
+ def __init__(self, left: ASTNode, operator: str, right: ASTNode,
241
+ line: int = 1, column: int = 1):
242
+ """构造 BinaryExprNode:绑定本节点的声明字段与子结构。"""
243
+ super().__init__(NodeType.BINARY_EXPR, line, column)
244
+ self.left = left
245
+ self.operator = operator
246
+ self.right = right
247
+ self.add_child(left)
248
+ self.add_child(right)
249
+
250
+
251
+ @dataclass
252
+ class ComparisonNode(ASTNode):
253
+ """比较表达式"""
254
+ def __init__(self, left: ASTNode, op: str, right: ASTNode,
255
+ line: int = 1, column: int = 1):
256
+ """构造 ComparisonNode:绑定本节点的声明字段与子结构。"""
257
+ super().__init__(NodeType.COMPARISON, line, column)
258
+ self.left = left
259
+ self.op = op
260
+ self.right = right
261
+ self.add_child(left)
262
+ self.add_child(right)
263
+
264
+
265
+ @dataclass
266
+ class IdentifierNode(ASTNode):
267
+ """标识符"""
268
+ def __init__(self, name: str, line: int = 1, column: int = 1):
269
+ """构造 IdentifierNode:绑定本节点的声明字段与子结构。"""
270
+ super().__init__(NodeType.IDENTIFIER, line, column)
271
+ self.name = name
272
+ self.value = name
273
+
274
+
275
+ @dataclass
276
+ class LiteralNode(ASTNode):
277
+ """字面量"""
278
+ def __init__(self, value: Union[str, float, int], literal_type: str,
279
+ line: int = 1, column: int = 1):
280
+ """构造 LiteralNode:绑定本节点的声明字段与子结构。"""
281
+ super().__init__(NodeType.LITERAL, line, column)
282
+ self.literal_value = value
283
+ self.literal_type = literal_type # "number", "string"
284
+ self.value = value
285
+
286
+
287
+ # =============================================================================
288
+ # 语法分析器
289
+ # =============================================================================
290
+
291
+ class Parser:
292
+ """
293
+ 语法分析器 v2.0
294
+ 将 Token 序列构建为 AST
295
+ """
296
+
297
+ # 指令助记符集合
298
+ INSTRUCTION_TOKENS = {
299
+ TokenType.DAO, TokenType.DE, TokenType.ZIRAN,
300
+ TokenType.WUWEI, TokenType.GU, TokenType.PIN,
301
+ TokenType.ROU, TokenType.PU, TokenType.ZHI, TokenType.ZHIZU,
302
+ }
303
+
304
+ def __init__(self, tokens: List[Token], errors: List[str] = None):
305
+ """构造 Parser:绑定本节点的声明字段与子结构。"""
306
+ self.tokens = tokens
307
+ self.pos = 0
308
+ self.errors: List[str] = errors or []
309
+ self.current_token = self.tokens[0] if tokens else None
310
+
311
+ def parse(self) -> ProgramNode:
312
+ """解析整个程序"""
313
+ program = ProgramNode()
314
+
315
+ while not self._is_at_end():
316
+ if self._match(TokenType.NEWLINE, TokenType.SEMICOLON, TokenType.COMMA):
317
+ continue
318
+
319
+ stmt = self._parse_statement()
320
+ if stmt:
321
+ program.add_statement(stmt)
322
+ # DEBUG
323
+ # print(f" [parse] Added: type={stmt.type.name} value={stmt.value!r}")
324
+ # if hasattr(stmt, 'operands'):
325
+ # for j, op in enumerate(stmt.operands):
326
+ # print(f" op{j}: {op.type.name} value={op.value!r}")
327
+ else:
328
+ # print(f" [parse] None at {self.current_token}")
329
+ self._advance()
330
+
331
+ return program
332
+
333
+ # ---- 语句解析 ----
334
+
335
+ def _parse_statement(self) -> Optional[ASTNode]:
336
+ """解析单个语句"""
337
+ token = self.current_token
338
+
339
+ if token is None or token.type == TokenType.EOF:
340
+ return None
341
+
342
+ # 问曰 → 答曰 → 术曰(九章算术结构)
343
+ if token.type == TokenType.WENYUE:
344
+ return self._parse_wenyue_block()
345
+
346
+ # 术曰 → 术曰块(可以独立出现)
347
+ if token.type == TokenType.SHUYUE:
348
+ return self._parse_shuyue_block()
349
+
350
+ # 若 → 条件语句
351
+ if token.type == TokenType.RUO:
352
+ return self._parse_condition()
353
+
354
+ # 当 → 循环语句(白箱循环语法:当 条件 执行 操作)
355
+ if token.type == TokenType.DANG:
356
+ return self._parse_loop()
357
+
358
+ # 定义 → 函数定义(定义 名(参数):语句)
359
+ if token.type == TokenType.DINGYI:
360
+ return self._parse_func_def()
361
+
362
+ # 返回 → 返回语句(返回 表达式)
363
+ if token.type == TokenType.FANHUI:
364
+ self._advance()
365
+ val = self._parse_expression() if self.current_token else None
366
+ return ReturnStmtNode(val,
367
+ line=token.line, column=token.column)
368
+
369
+ # 道德经助记符 → 指令语句
370
+ if token.type in self.INSTRUCTION_TOKENS:
371
+ return self._parse_instruction()
372
+
373
+ # 标识符 → 可能是赋值
374
+ if token.type == TokenType.IDENTIFIER:
375
+ return self._parse_assign_or_call()
376
+
377
+ # 句号结束
378
+ if token.type == TokenType.PERIOD:
379
+ self._advance()
380
+ return None
381
+
382
+ # 无法识别
383
+ self.errors.append(
384
+ f"L{token.line}:C{token.column} 无法解析的语句开头: '{token.value}' ({token.type.name})"
385
+ )
386
+ self._advance()
387
+ return None
388
+
389
+ def _parse_shuyue_block(self) -> Optional[ASTNode]:
390
+ """
391
+ 解析术曰块(独立形式):术曰:1。... 2。...
392
+ 不依赖前面的问曰/答曰
393
+ """
394
+ self._consume(TokenType.SHUYUE, "期望 '术曰'")
395
+
396
+ shuyue = ShuyueNode(line=self.current_token.line if self.current_token else 1,
397
+ column=self.current_token.column if self.current_token else 1)
398
+
399
+ # 解析步骤序列
400
+ while not self._is_at_end():
401
+ # 跳过分隔符
402
+ while (self.current_token and
403
+ self.current_token.type in (TokenType.SEMICOLON,
404
+ TokenType.COMMA,
405
+ TokenType.COLON)):
406
+ self._advance()
407
+
408
+ if self.current_token and self.current_token.type == TokenType.NUMBER:
409
+ step_num = int(float(self.current_token.value))
410
+ self._advance()
411
+
412
+ if self.current_token and self.current_token.type == TokenType.PERIOD:
413
+ self._advance()
414
+
415
+ step_content = self._parse_step_content()
416
+ if step_content:
417
+ shuyue.add_step(StepNode(step_num, step_content,
418
+ line=step_content.line,
419
+ column=step_content.column))
420
+ else:
421
+ break
422
+
423
+ return shuyue
424
+
425
+ def _parse_wenyue_block(self) -> Optional[ASTNode]:
426
+ """解析 问曰:... 答曰:... 术曰:... 结构"""
427
+ # 问曰
428
+ self._consume(TokenType.WENYUE, "期望 '问曰'")
429
+ question_parts = self._collect_until(TokenType.DAYUE)
430
+ question = "".join(p.value for p in question_parts).strip()
431
+
432
+ # 答曰
433
+ self._consume(TokenType.DAYUE, "期望 '答曰'")
434
+ answer_parts = self._collect_until(TokenType.SHUYUE)
435
+ answer = "".join(p.value for p in answer_parts).strip()
436
+
437
+ # 术曰
438
+ self._consume(TokenType.SHUYUE, "期望 '术曰'")
439
+
440
+ # 用独立的术曰解析逻辑
441
+ shuyue = ShuyueNode(line=self.current_token.line if self.current_token else 1,
442
+ column=self.current_token.column if self.current_token else 1)
443
+
444
+ while not self._is_at_end():
445
+ # 跳过分隔符
446
+ while (self.current_token and
447
+ self.current_token.type in (TokenType.SEMICOLON,
448
+ TokenType.COMMA,
449
+ TokenType.COLON)):
450
+ self._advance()
451
+
452
+ if self.current_token and self.current_token.type == TokenType.NUMBER:
453
+ step_num = int(float(self.current_token.value))
454
+ self._advance()
455
+
456
+ if self.current_token and self.current_token.type == TokenType.PERIOD:
457
+ self._advance()
458
+
459
+ step_content = self._parse_step_content()
460
+ if step_content:
461
+ shuyue.add_step(StepNode(step_num, step_content,
462
+ line=step_content.line,
463
+ column=step_content.column))
464
+ else:
465
+ break
466
+
467
+ shuyue.attributes["question"] = question
468
+ shuyue.attributes["answer"] = answer
469
+
470
+ return shuyue
471
+
472
+ def _parse_step_content(self) -> Optional[ASTNode]:
473
+ """解析步骤内容"""
474
+ if self.current_token and self.current_token.type == TokenType.RUO:
475
+ return self._parse_condition()
476
+ elif self.current_token and self.current_token.type == TokenType.DANG:
477
+ return self._parse_loop()
478
+ elif self.current_token and self.current_token.type == TokenType.DINGYI:
479
+ return self._parse_func_def()
480
+ elif self.current_token and self.current_token.type == TokenType.FANHUI:
481
+ self._advance()
482
+ val = self._parse_expression() if self.current_token else None
483
+ return ReturnStmtNode(val, line=1, column=1)
484
+ elif self.current_token and self.current_token.type in self.INSTRUCTION_TOKENS:
485
+ return self._parse_instruction()
486
+ elif self.current_token and self.current_token.type == TokenType.IDENTIFIER:
487
+ # 可能是单个标识符或合并后的多词短语
488
+ merged = self._merge_identifiers()
489
+ return merged
490
+ else:
491
+ parts = []
492
+ while (self.current_token and
493
+ self.current_token.type not in (TokenType.NUMBER, TokenType.PERIOD) and
494
+ not self._is_at_end()):
495
+ parts.append(self.current_token.value)
496
+ self._advance()
497
+ if parts:
498
+ return LiteralNode("".join(parts).strip(), "string",
499
+ line=self.current_token.line if self.current_token else 1,
500
+ column=self.current_token.column if self.current_token else 1)
501
+ return None
502
+
503
+ def _parse_condition(self) -> Optional[ASTNode]:
504
+ """解析条件语句:若 [条件] 则 [操作] [否则 [操作]]"""
505
+ start_line = self.current_token.line if self.current_token else 1
506
+ start_col = self.current_token.column if self.current_token else 1
507
+
508
+ self._consume(TokenType.RUO, "期望 '若'")
509
+
510
+ condition = self._parse_comparison()
511
+
512
+ self._skip_punctuation_before(TokenType.ZE)
513
+
514
+ self._consume(TokenType.ZE, "期望 '则'")
515
+
516
+ then_body = self._parse_single_statement()
517
+
518
+ else_body = None
519
+ # 跳过 then 与 否则 之间的分隔符(逗号/分号等)
520
+ self._skip_punctuation_before(TokenType.FOUZE)
521
+ if self.current_token and self.current_token.type == TokenType.FOUZE:
522
+ self._advance()
523
+ else_body = self._parse_single_statement()
524
+
525
+ return ConditionStmtNode(condition, then_body, else_body, start_line, start_col)
526
+
527
+ def _parse_loop(self) -> Optional[ASTNode]:
528
+ """解析循环语句:当 [条件] 执行 [操作](while 语义)"""
529
+ start_line = self.current_token.line if self.current_token else 1
530
+ start_col = self.current_token.column if self.current_token else 1
531
+
532
+ self._consume(TokenType.DANG, "期望 '当'")
533
+
534
+ condition = self._parse_comparison()
535
+
536
+ self._skip_punctuation_before(TokenType.ZHIXING)
537
+
538
+ self._consume(TokenType.ZHIXING, "期望 '执行'")
539
+
540
+ body = self._parse_statement_or_block()
541
+
542
+ return LoopStmtNode(condition, body, start_line, start_col)
543
+
544
+ def _parse_func_def(self) -> Optional[ASTNode]:
545
+ """解析函数定义:定义 名(参数1,参数2):语句
546
+ 参数在( )内,逗号分隔;返回 FuncDefNode(body 可为块)"""
547
+ start_line = self.current_token.line if self.current_token else 1
548
+ start_col = self.current_token.column if self.current_token else 1
549
+
550
+ self._consume(TokenType.DINGYI, "期望 '定义'")
551
+
552
+ # 函数名(标识符)
553
+ if not (self.current_token and self.current_token.type == TokenType.IDENTIFIER):
554
+ self.errors.append("定义后期望函数名")
555
+ return None
556
+ name = self.current_token.value
557
+ self._advance()
558
+
559
+ # 参数列表( )
560
+ params = []
561
+ if self.current_token and self.current_token.type == TokenType.LPAREN:
562
+ self._advance()
563
+ while (self.current_token and
564
+ self.current_token.type != TokenType.RPAREN and
565
+ not self._is_at_end()):
566
+ if self.current_token.type == TokenType.IDENTIFIER:
567
+ params.append(self.current_token.value)
568
+ self._advance() # 跳过标识符/逗号/空格
569
+ if self.current_token and self.current_token.type == TokenType.RPAREN:
570
+ self._advance()
571
+
572
+ # 冒号(可选分隔)
573
+ if self.current_token and self.current_token.type == TokenType.COLON:
574
+ self._advance()
575
+
576
+ body = self._parse_single_statement()
577
+
578
+ return FuncDefNode(name, params, body, start_line, start_col)
579
+
580
+ def _skip_punctuation_before(self, *target_types: TokenType):
581
+ """跳过标点符号"""
582
+ while self.current_token and self.current_token.type in (
583
+ TokenType.COMMA, TokenType.PERIOD, TokenType.SEMICOLON,
584
+ TokenType.COLON, TokenType.QUESTION, TokenType.EXCLAM,
585
+ ):
586
+ self._advance()
587
+
588
+ def _parse_statement_or_block(self) -> Any:
589
+ """解析语句或块:返回语句列表(单语句=[stmt];分号/句号分隔多条)
590
+ 块内多条语句:`则 语句1;语句2;...`(支持循环体/条件体多语句)"""
591
+ stmts = []
592
+ while True:
593
+ stmt = self._parse_single_statement()
594
+ if stmt is not None:
595
+ stmts.append(stmt)
596
+ # 分隔符:分号/句号 → 继续收下一条;否则块结束
597
+ if self.current_token and self.current_token.type in (
598
+ TokenType.SEMICOLON, TokenType.PERIOD, TokenType.COMMA):
599
+ self._advance()
600
+ # 分隔符后若是步骤号/块边界 → 块结束(九章算术步骤边界 1。…2。…)
601
+ if (self.current_token and
602
+ self.current_token.type in (TokenType.NUMBER, TokenType.SHUYUE)):
603
+ break
604
+ continue
605
+ break
606
+ if not stmts:
607
+ return None
608
+ if len(stmts) == 1:
609
+ return stmts[0]
610
+ return BlockNode(stmts, line=stmts[0].line, column=stmts[0].column)
611
+
612
+ def _parse_single_statement(self) -> Optional[ASTNode]:
613
+ """解析单条语句"""
614
+ if self.current_token and self.current_token.type == TokenType.RUO:
615
+ return self._parse_condition()
616
+ elif self.current_token and self.current_token.type == TokenType.DANG:
617
+ return self._parse_loop()
618
+ elif self.current_token and self.current_token.type == TokenType.DINGYI:
619
+ return self._parse_func_def()
620
+ elif self.current_token and self.current_token.type == TokenType.FANHUI:
621
+ self._advance()
622
+ val = self._parse_expression() if self.current_token else None
623
+ return ReturnStmtNode(val, line=1, column=1)
624
+ elif self.current_token and self.current_token.type in self.INSTRUCTION_TOKENS:
625
+ return self._parse_instruction()
626
+ elif self.current_token and self.current_token.type == TokenType.IDENTIFIER:
627
+ return self._parse_assign_or_call()
628
+ else:
629
+ parts = []
630
+ # 停止条件:标点符号 + 语句开头关键字
631
+ _STOP = (
632
+ TokenType.PERIOD, TokenType.COMMA, TokenType.SEMICOLON,
633
+ TokenType.WENYUE, TokenType.DAYUE, TokenType.SHUYUE,
634
+ TokenType.RUO, TokenType.FOUZE, TokenType.DANG,
635
+ TokenType.ZHIXING,
636
+ )
637
+ while (self.current_token and
638
+ self.current_token.type not in _STOP and
639
+ not self._is_at_end()):
640
+ parts.append(self.current_token.value)
641
+ self._advance()
642
+ text = "".join(parts).strip()
643
+ if text:
644
+ return LiteralNode(text, "string")
645
+ return None
646
+
647
+ def _parse_instruction(self) -> Optional[ASTNode]:
648
+ """
649
+ 解析指令语句 v2.0
650
+
651
+ 关键改进:使用 _merge_identifiers 合并紧密相连的
652
+ IDENTIFIER/NUMBER 序列为一个逻辑操作数。
653
+
654
+ 例:道 新信任路径 → 道 + [ID(新信任路径)]
655
+ 例:柔 响应强度 → 柔 + [ID(响应强度)]
656
+ 例:止情感权重于0.15 → 止 + [ID(情感权重)] + [Lit(0.15)]
657
+ """
658
+ instr_token = self.current_token
659
+ instr_type = instr_token.type
660
+ self._advance()
661
+
662
+ operands = []
663
+
664
+ # 停止条件:标点符号 + 语句开头关键字(防止跨语句吞噬)
665
+ _INST_STOP = (
666
+ TokenType.PERIOD, TokenType.COMMA, TokenType.SEMICOLON,
667
+ TokenType.EOF,
668
+ # 语句开头关键字 —— 遇到这些说明指令操作数已结束
669
+ TokenType.WENYUE, # 问曰 → 新语句
670
+ TokenType.DAYUE, # 答曰 → 新语句
671
+ TokenType.SHUYUE, # 术曰 → 新语句
672
+ TokenType.RUO, # 若 → 条件语句
673
+ TokenType.FOUZE, # 否则 → 条件语句
674
+ TokenType.DAO, # 道 → 指令(但不在操作数位置)
675
+ TokenType.DE, # 德 → 指令
676
+ TokenType.ZIRAN, # 自然 → 指令
677
+ TokenType.WUWEI, # 无为 → 指令
678
+ TokenType.GU, # 谷 → 指令
679
+ TokenType.PIN, # 牝 → 指令
680
+ TokenType.ROU, # 柔 → 指令
681
+ TokenType.PU, # 朴 → 指令
682
+ TokenType.ZHI, # 止 → 指令
683
+ TokenType.ZHIZU, # 知足 → 指令
684
+ )
685
+
686
+ while (self.current_token and
687
+ self.current_token.type not in _INST_STOP and
688
+ not self._is_at_end()):
689
+
690
+ tok = self.current_token
691
+
692
+ if tok.type == TokenType.YU:
693
+ # "于" → 后面跟数值
694
+ self._advance()
695
+ value = self._parse_numeric_value()
696
+ if value is not None:
697
+ operands.append(value)
698
+ continue
699
+
700
+ elif tok.type == TokenType.IDENTIFIER:
701
+ # 合并后续紧密相连的 IDENTIFIER/NUMBER
702
+ merged = self._merge_identifiers()
703
+ operands.append(merged)
704
+
705
+ elif tok.type == TokenType.NUMBER:
706
+ operands.append(LiteralNode(float(tok.value), "number", tok.line, tok.column))
707
+ self._advance()
708
+
709
+ elif tok.type == TokenType.STRING:
710
+ operands.append(LiteralNode(tok.value, "string", tok.line, tok.column))
711
+ self._advance()
712
+
713
+ else:
714
+ self._advance()
715
+
716
+ return InstructionStmtNode(instr_type, operands,
717
+ line=instr_token.line,
718
+ column=instr_token.column)
719
+
720
+ def _merge_identifiers(self) -> ASTNode:
721
+ """
722
+ 合并从当前位置开始的紧密相连的 IDENTIFIER/NUMBER 序列
723
+
724
+ 例:ID(新) ID(信任) ID(路径) → IdentifierNode("新信任路径")
725
+ 例:ID(响应) ID(强度) → IdentifierNode("响应强度")
726
+ 例:ID(累积) ID(信任值) → IdentifierNode("累积信任值")
727
+
728
+ 判断标准:同一行、列号连续
729
+ """
730
+ start_tok = self.current_token
731
+ parts = [start_tok.value]
732
+ line = start_tok.line
733
+ col = start_tok.column
734
+ self._advance()
735
+
736
+ while (self.current_token and
737
+ self.current_token.line == line and
738
+ self.current_token.type in (TokenType.IDENTIFIER, TokenType.NUMBER)):
739
+ parts.append(self.current_token.value)
740
+ self._advance()
741
+
742
+ merged_name = "".join(parts)
743
+ return IdentifierNode(merged_name, line, col)
744
+
745
+ def _parse_numeric_value(self) -> Optional[ASTNode]:
746
+ """解析数值(可能跨多个 token)"""
747
+ if self.current_token is None:
748
+ return None
749
+
750
+ if self.current_token.type == TokenType.NUMBER:
751
+ val = float(self.current_token.value)
752
+ line, col = self.current_token.line, self.current_token.column
753
+ self._advance()
754
+ return LiteralNode(val, "number", line, col)
755
+
756
+ if self.current_token.type == TokenType.IDENTIFIER:
757
+ prefix = self.current_token.value
758
+ line, col = self.current_token.line, self.current_token.column
759
+ self._advance()
760
+
761
+ if self.current_token and self.current_token.type == TokenType.PERIOD:
762
+ self._advance()
763
+ if self.current_token and self.current_token.type == TokenType.NUMBER:
764
+ val = float(prefix + "." + self.current_token.value)
765
+ self._advance()
766
+ return LiteralNode(val, "number", line, col)
767
+ else:
768
+ try:
769
+ return LiteralNode(float(prefix), "number", line, col)
770
+ except ValueError:
771
+ return IdentifierNode(prefix, line, col)
772
+ elif self.current_token and self.current_token.type == TokenType.NUMBER:
773
+ val = float(prefix + self.current_token.value)
774
+ self._advance()
775
+ return LiteralNode(val, "number", line, col)
776
+ else:
777
+ return IdentifierNode(prefix, line, col)
778
+
779
+ return None
780
+
781
+ def _parse_assign_or_call(self) -> Optional[ASTNode]:
782
+ """解析赋值或调用
783
+
784
+ 若后面紧跟 = 或 = → 赋值语句
785
+ 若后面紧跟 ( → 函数调用表达式(名(参数))
786
+ 否则 → 标识符表达式
787
+ """
788
+ ident = self.current_token.value
789
+ line = self.current_token.line
790
+ col = self.current_token.column
791
+ self._advance()
792
+
793
+ # 检查是否是赋值
794
+ if self.current_token and self.current_token.type == TokenType.EQUALS:
795
+ self._advance() # 跳过 =
796
+ value_node = self._parse_expression()
797
+ return AssignStmtNode(
798
+ target=ident,
799
+ value=value_node,
800
+ line=line,
801
+ column=col
802
+ )
803
+
804
+ # 函数调用:名(参数1,参数2)
805
+ if self.current_token and self.current_token.type == TokenType.LPAREN:
806
+ self._advance()
807
+ args = []
808
+ while (self.current_token and
809
+ self.current_token.type != TokenType.RPAREN and
810
+ not self._is_at_end()):
811
+ # 参数可为表达式(n 减 1)/标识符/数值
812
+ if self.current_token.type in (TokenType.IDENTIFIER,
813
+ TokenType.NUMBER):
814
+ args.append(self._parse_expression())
815
+ else:
816
+ self._advance()
817
+ if self.current_token and self.current_token.type == TokenType.RPAREN:
818
+ self._advance()
819
+ return CallExprNode(ident, args, line, col)
820
+
821
+ return IdentifierNode(ident, line, col)
822
+
823
+ def _parse_comparison(self) -> ASTNode:
824
+ """解析比较表达式"""
825
+ left = self._parse_expression()
826
+
827
+ if self.current_token and self.current_token.type in (
828
+ TokenType.DENGYU, TokenType.DAYU, TokenType.XIAOYU,
829
+ TokenType.WEI, TokenType.BUWEI,
830
+ ):
831
+ op_token = self.current_token
832
+ op_map = {
833
+ TokenType.DENGYU: "==",
834
+ TokenType.DAYU: ">",
835
+ TokenType.XIAOYU: "<",
836
+ TokenType.WEI: "==",
837
+ TokenType.BUWEI: "!=",
838
+ }
839
+ op = op_map.get(op_token.type, "==")
840
+ self._advance()
841
+
842
+ right = self._parse_numeric_value()
843
+ if right is None:
844
+ right = self._parse_expression()
845
+ return ComparisonNode(left, op, right, line=op_token.line, column=op_token.column)
846
+
847
+ return left
848
+
849
+ def _parse_expression(self) -> ASTNode:
850
+ """解析表达式(支持二元算术 + 括号优先:标识符/数值/(表达式) + 运算符 + 右)"""
851
+ if self.current_token is None:
852
+ return LiteralNode("", "string")
853
+
854
+ if self.current_token.type == TokenType.LPAREN:
855
+ # 括号优先: ( 表达式 )
856
+ line = self.current_token.line
857
+ col = self.current_token.column
858
+ self._advance()
859
+ inner = self._parse_expression()
860
+ if self.current_token and self.current_token.type == TokenType.RPAREN:
861
+ self._advance()
862
+ return self._parse_binary_tail(inner)
863
+
864
+ if self.current_token.type == TokenType.IDENTIFIER:
865
+ # 若后跟 ( → 函数调用;否则合并多词短语
866
+ if (self._peek_next() and
867
+ self._peek_next().type == TokenType.LPAREN):
868
+ name = self.current_token.value
869
+ line = self.current_token.line
870
+ col = self.current_token.column
871
+ self._advance() # 消费函数名
872
+ self._advance() # 消费 (
873
+ args = []
874
+ while (self.current_token and
875
+ self.current_token.type != TokenType.RPAREN and
876
+ not self._is_at_end()):
877
+ if self.current_token.type in (TokenType.IDENTIFIER,
878
+ TokenType.NUMBER):
879
+ args.append(self._parse_expression())
880
+ else:
881
+ self._advance()
882
+ if self.current_token and self.current_token.type == TokenType.RPAREN:
883
+ self._advance()
884
+ return self._parse_binary_tail(
885
+ CallExprNode(name, args, line, col))
886
+ left = self._merge_identifiers()
887
+ return self._parse_binary_tail(left)
888
+ elif self.current_token.type == TokenType.NUMBER:
889
+ node = LiteralNode(float(self.current_token.value), "number",
890
+ self.current_token.line,
891
+ self.current_token.column)
892
+ self._advance()
893
+ return self._parse_binary_tail(node)
894
+ elif self.current_token.type == TokenType.STRING:
895
+ node = LiteralNode(self.current_token.value, "string",
896
+ self.current_token.line,
897
+ self.current_token.column)
898
+ self._advance()
899
+ return self._parse_binary_tail(node)
900
+ else:
901
+ parts = []
902
+ # 停止条件:标点符号 + 语句开头关键字
903
+ _EXPR_STOP = (
904
+ TokenType.ZE, TokenType.FOUZE,
905
+ TokenType.PERIOD, TokenType.COMMA, TokenType.SEMICOLON,
906
+ TokenType.WENYUE, TokenType.DAYUE, TokenType.SHUYUE,
907
+ TokenType.RUO, TokenType.DAO, TokenType.DE,
908
+ TokenType.ZIRAN, TokenType.WUWEI, TokenType.GU,
909
+ TokenType.PIN, TokenType.ROU, TokenType.PU,
910
+ TokenType.ZHI, TokenType.ZHIZU,
911
+ )
912
+ while (self.current_token and
913
+ self.current_token.type not in _EXPR_STOP and
914
+ not self._is_at_end()):
915
+ parts.append(self.current_token.value)
916
+ self._advance()
917
+ return LiteralNode("".join(parts).strip(), "string")
918
+
919
+ def _parse_binary_tail(self, left: ASTNode) -> ASTNode:
920
+ """解析二元算术尾部:left [+|-|*|/] right(右结合单级,满足循环体自增语义)"""
921
+ if self.current_token and self.current_token.type in (
922
+ TokenType.OP_ADD, TokenType.OP_SUB,
923
+ TokenType.OP_MUL, TokenType.OP_DIV,
924
+ ):
925
+ op_token = self.current_token
926
+ op_map = {
927
+ TokenType.OP_ADD: "+", TokenType.OP_SUB: "-",
928
+ TokenType.OP_MUL: "*", TokenType.OP_DIV: "/",
929
+ }
930
+ op = op_map[op_token.type]
931
+ self._advance()
932
+ right = self._parse_expression()
933
+ return BinaryExprNode(left, op, right,
934
+ line=op_token.line, column=op_token.column)
935
+ return left
936
+
937
+ # ---- 辅助方法 ----
938
+
939
+ def _is_at_end(self) -> bool:
940
+ """指针越界探测:True=已消费全部 token。"""
941
+ return self.pos >= len(self.tokens) or (
942
+ self.current_token is not None and self.current_token.type == TokenType.EOF
943
+ )
944
+
945
+ def _advance(self) -> Optional[Token]:
946
+ """消费当前 token 并前进一格。"""
947
+ if self.pos < len(self.tokens) - 1:
948
+ self.pos += 1
949
+ self.current_token = self.tokens[self.pos]
950
+ elif self.pos == len(self.tokens) - 1:
951
+ self.pos += 1
952
+ self.current_token = None
953
+ return self.current_token
954
+
955
+ def _peek_next(self) -> Optional[Token]:
956
+ """查看下一个 token(不消费)"""
957
+ if self.pos < len(self.tokens) - 1:
958
+ return self.tokens[self.pos + 1]
959
+ return None
960
+
961
+ def _match(self, *types: TokenType) -> bool:
962
+ """类型相符即消费返回 True,否则 False。"""
963
+ if self.current_token and self.current_token.type in types:
964
+ self._advance()
965
+ return True
966
+ return False
967
+
968
+ def _consume(self, token_type: TokenType, message: str) -> Optional[Token]:
969
+ """消费当前 token:类型相符即前进返回,否则带行列定位报错。"""
970
+ if self.current_token and self.current_token.type == token_type:
971
+ token = self.current_token
972
+ self._advance()
973
+ return token
974
+ else:
975
+ loc = f"L{self.current_token.line}:C{self.current_token.column}" if self.current_token else "EOF"
976
+ self.errors.append(f"{loc} {message},实际得到: '{self.current_token.value if self.current_token else 'EOF'}'")
977
+ return None
978
+
979
+ def _collect_until(self, *stop_types: TokenType) -> List[Token]:
980
+ """收集 Token 直到遇到停止类型"""
981
+ parts = []
982
+ while (self.current_token and
983
+ self.current_token.type not in stop_types and
984
+ self.current_token.type != TokenType.EOF):
985
+ if self.current_token.type == TokenType.COLON:
986
+ self._advance()
987
+ continue
988
+ parts.append(self.current_token)
989
+ self._advance()
990
+ return parts
991
+
992
+
993
+ # =============================================================================
994
+ # 便捷函数
995
+ # =============================================================================
996
+
997
+ def parse_tokens(tokens: List[Token], errors: List[str] = None) -> ProgramNode:
998
+ """便捷函数:将 Token 列表解析为 AST"""
999
+ parser = Parser(tokens, errors or [])
1000
+ return parser.parse()
1001
+
1002
+
1003
+ def parse_source(source: str) -> tuple:
1004
+ """便捷函数:从源代码直接解析为 AST"""
1005
+ from .lexer import tokenize
1006
+ tokens, lex_errors = tokenize(source)
1007
+ ast = parse_tokens(tokens, [])
1008
+ return ast, lex_errors, ast.errors if hasattr(ast, 'errors') else []
1009
+
1010
+
1011
+ # =============================================================================
1012
+ # 测试
1013
+ # =============================================================================
1014
+
1015
+ if __name__ == "__main__":
1016
+ test_code = """若条件空间为伴侣,则止情感权重于0.15。
1017
+ 道 新信任路径
1018
+ 德 累积信任值
1019
+ 问曰:如何验证信任?
1020
+ 答曰:信任值大于0.7。
1021
+ 术曰:1。柔 响应强度;2。自然 恢复默认;3。知足 验证单元。"""
1022
+
1023
+ print("=" * 60)
1024
+ print("语法分析器 v2.0 测试")
1025
+ print("=" * 60)
1026
+ print(f"源代码:\n{test_code}\n")
1027
+
1028
+ from .lexer import tokenize
1029
+ tokens, lex_errors = tokenize(test_code)
1030
+
1031
+ if lex_errors:
1032
+ print("词法错误:")
1033
+ for e in lex_errors:
1034
+ print(f" ❌ {e}")
1035
+
1036
+ parser = Parser(tokens, [])
1037
+ ast = parser.parse()
1038
+
1039
+ print(f"\nAST 根节点:{ast.type.name}")
1040
+ print(f"语句数量:{len(ast.statements)}")
1041
+ print()
1042
+
1043
+ for i, stmt in enumerate(ast.statements):
1044
+ print(f" 语句{i+1}: {stmt.type.name}")
1045
+ if stmt.type == NodeType.SHUYUE:
1046
+ print(f" 问题: {stmt.attributes.get('question', '')}")
1047
+ print(f" 答案: {stmt.attributes.get('answer', '')}")
1048
+ for step in stmt.steps:
1049
+ op_count = len(step.statement.children) if step.statement else 0
1050
+ print(f" 步骤{step.step_num}: {step.statement.type.name if step.statement else 'None'}")
1051
+ elif stmt.type == NodeType.INSTRUCTION_STMT:
1052
+ op_names = []
1053
+ for op in stmt.operands:
1054
+ if hasattr(op, 'name'):
1055
+ op_names.append(f"ID({op.name})")
1056
+ elif hasattr(op, 'literal_value'):
1057
+ op_names.append(f"Lit({op.literal_value})")
1058
+ print(f" 操作数: [{', '.join(op_names)}]")
1059
+
1060
+ if parser.errors:
1061
+ print(f"\n语法错误:")
1062
+ for e in parser.errors:
1063
+ print(f" ❌ {e}")
1064
+
1065
+ print(f"\n总计:{len(parser.errors)} 个语法错误")