@lemoncat7/dsh-partner 2.4.2 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (671) hide show
  1. package/README.md +8 -0
  2. package/docs/THIRD_PARTY_LICENSES.md +13 -0
  3. package/docs/attachment-storage.md +18 -0
  4. package/docs/director-skills.md +24 -0
  5. package/docs/long-task-continuation.md +51 -0
  6. package/docs/releases/2.5.0.md +13 -0
  7. package/docs/releases/2.6.0.md +11 -0
  8. package/docs/releases/2.7.0.md +21 -0
  9. package/lib/agent-runtime.d.ts +9 -1
  10. package/lib/agent-runtime.d.ts.map +1 -1
  11. package/lib/agent-runtime.js +117 -17
  12. package/lib/agent-runtime.js.map +1 -1
  13. package/lib/api/features/attachments-api.d.ts.map +1 -1
  14. package/lib/api/features/attachments-api.js +31 -1
  15. package/lib/api/features/attachments-api.js.map +1 -1
  16. package/lib/api.d.ts +1 -1
  17. package/lib/api.d.ts.map +1 -1
  18. package/lib/api.js +1 -1
  19. package/lib/api.js.map +1 -1
  20. package/lib/attachments/grouped-storage.d.ts +5 -0
  21. package/lib/attachments/grouped-storage.d.ts.map +1 -0
  22. package/lib/attachments/grouped-storage.js +47 -0
  23. package/lib/attachments/grouped-storage.js.map +1 -0
  24. package/lib/attachments/service.d.ts +17 -0
  25. package/lib/attachments/service.d.ts.map +1 -1
  26. package/lib/attachments/service.js +100 -8
  27. package/lib/attachments/service.js.map +1 -1
  28. package/lib/attachments/shared-storage.d.ts +7 -0
  29. package/lib/attachments/shared-storage.d.ts.map +1 -0
  30. package/lib/attachments/shared-storage.js +44 -0
  31. package/lib/attachments/shared-storage.js.map +1 -0
  32. package/lib/attachments/storage-admin.d.ts +6 -0
  33. package/lib/attachments/storage-admin.d.ts.map +1 -0
  34. package/lib/attachments/storage-admin.js +43 -0
  35. package/lib/attachments/storage-admin.js.map +1 -0
  36. package/lib/attachments/storage-types.d.ts +33 -0
  37. package/lib/attachments/storage-types.d.ts.map +1 -0
  38. package/lib/attachments/storage-types.js +2 -0
  39. package/lib/attachments/storage-types.js.map +1 -0
  40. package/lib/attachments/tool.d.ts.map +1 -1
  41. package/lib/attachments/tool.js +16 -5
  42. package/lib/attachments/tool.js.map +1 -1
  43. package/lib/channels/delivery-policy.d.ts.map +1 -1
  44. package/lib/channels/delivery-policy.js +7 -4
  45. package/lib/channels/delivery-policy.js.map +1 -1
  46. package/lib/channels/direct/message-format.js +418 -281
  47. package/lib/channels/direct/message-format.js.map +4 -4
  48. package/lib/channels/manager.d.ts +7 -3
  49. package/lib/channels/manager.d.ts.map +1 -1
  50. package/lib/channels/manager.js +73 -38
  51. package/lib/channels/manager.js.map +1 -1
  52. package/lib/channels/weixin/api.d.ts.map +1 -1
  53. package/lib/channels/weixin/api.js +7 -2
  54. package/lib/channels/weixin/api.js.map +1 -1
  55. package/lib/channels/weixin/errors.d.ts +14 -0
  56. package/lib/channels/weixin/errors.d.ts.map +1 -0
  57. package/lib/channels/weixin/errors.js +29 -0
  58. package/lib/channels/weixin/errors.js.map +1 -0
  59. package/lib/channels/weixin/poll.d.ts +14 -0
  60. package/lib/channels/weixin/poll.d.ts.map +1 -0
  61. package/lib/channels/weixin/poll.js +50 -0
  62. package/lib/channels/weixin/poll.js.map +1 -0
  63. package/lib/client-api.d.ts +1 -23
  64. package/lib/client-api.d.ts.map +1 -1
  65. package/lib/client-api.js.map +1 -1
  66. package/lib/client-controller.d.ts.map +1 -1
  67. package/lib/client-controller.js +3 -3
  68. package/lib/client-controller.js.map +1 -1
  69. package/lib/client.d.ts.map +1 -1
  70. package/lib/client.js +1078 -679
  71. package/lib/client.js.map +4 -4
  72. package/lib/collaboration/composition.d.ts.map +1 -1
  73. package/lib/collaboration/composition.js +32 -8
  74. package/lib/collaboration/composition.js.map +1 -1
  75. package/lib/collaboration/domain.d.ts +8 -0
  76. package/lib/collaboration/domain.d.ts.map +1 -1
  77. package/lib/collaboration/domain.js.map +1 -1
  78. package/lib/collaboration/service.d.ts.map +1 -1
  79. package/lib/collaboration/service.js +38 -5
  80. package/lib/collaboration/service.js.map +1 -1
  81. package/lib/concern-notification.d.ts.map +1 -1
  82. package/lib/concern-notification.js +2 -1
  83. package/lib/concern-notification.js.map +1 -1
  84. package/lib/concern-tool.js +1 -1
  85. package/lib/concern-tool.js.map +1 -1
  86. package/lib/execution/reply-progress.d.ts.map +1 -1
  87. package/lib/execution/reply-progress.js +4 -2
  88. package/lib/execution/reply-progress.js.map +1 -1
  89. package/lib/execution/service.d.ts +1 -1
  90. package/lib/execution/service.d.ts.map +1 -1
  91. package/lib/execution/service.js +4 -7
  92. package/lib/execution/service.js.map +1 -1
  93. package/lib/index.d.ts.map +1 -1
  94. package/lib/index.js +7 -1
  95. package/lib/index.js.map +1 -1
  96. package/lib/memory-reflection.js +2 -2
  97. package/lib/memory-reflection.js.map +1 -1
  98. package/lib/message-source.d.ts +25 -0
  99. package/lib/message-source.d.ts.map +1 -0
  100. package/lib/message-source.js +8 -0
  101. package/lib/message-source.js.map +1 -0
  102. package/lib/observation-loop.js +4 -4
  103. package/lib/observation-loop.js.map +1 -1
  104. package/lib/pendant/reader.js +1 -1
  105. package/lib/pendant/reader.js.map +1 -1
  106. package/lib/pendant/settings-panel.js +1 -1
  107. package/lib/pendant/settings-panel.js.map +1 -1
  108. package/lib/persona/service.js +1 -1
  109. package/lib/persona/service.js.map +1 -1
  110. package/lib/requirements/attachments.d.ts +7 -0
  111. package/lib/requirements/attachments.d.ts.map +1 -0
  112. package/lib/requirements/attachments.js +26 -0
  113. package/lib/requirements/attachments.js.map +1 -0
  114. package/lib/requirements/domain.d.ts +1 -1
  115. package/lib/requirements/domain.d.ts.map +1 -1
  116. package/lib/requirements/service.d.ts.map +1 -1
  117. package/lib/requirements/service.js +4 -1
  118. package/lib/requirements/service.js.map +1 -1
  119. package/lib/scheduler/channel-origin.d.ts +7 -0
  120. package/lib/scheduler/channel-origin.d.ts.map +1 -0
  121. package/lib/scheduler/channel-origin.js +27 -0
  122. package/lib/scheduler/channel-origin.js.map +1 -0
  123. package/lib/scheduler/continuations.d.ts +29 -0
  124. package/lib/scheduler/continuations.d.ts.map +1 -0
  125. package/lib/scheduler/continuations.js +286 -0
  126. package/lib/scheduler/continuations.js.map +1 -0
  127. package/lib/scheduler/domain.d.ts +40 -0
  128. package/lib/scheduler/domain.d.ts.map +1 -1
  129. package/lib/scheduler/final-reply.d.ts +13 -0
  130. package/lib/scheduler/final-reply.d.ts.map +1 -0
  131. package/lib/scheduler/final-reply.js +21 -0
  132. package/lib/scheduler/final-reply.js.map +1 -0
  133. package/lib/scheduler/service.d.ts +2 -0
  134. package/lib/scheduler/service.d.ts.map +1 -1
  135. package/lib/scheduler/service.js +30 -1
  136. package/lib/scheduler/service.js.map +1 -1
  137. package/lib/scheduler/wakeup-context.d.ts +7 -0
  138. package/lib/scheduler/wakeup-context.d.ts.map +1 -0
  139. package/lib/scheduler/wakeup-context.js +14 -0
  140. package/lib/scheduler/wakeup-context.js.map +1 -0
  141. package/lib/scheduler/wakeup.d.ts +11 -0
  142. package/lib/scheduler/wakeup.d.ts.map +1 -0
  143. package/lib/scheduler/wakeup.js +52 -0
  144. package/lib/scheduler/wakeup.js.map +1 -0
  145. package/lib/skills/builtin-resources.d.ts +6 -0
  146. package/lib/skills/builtin-resources.d.ts.map +1 -0
  147. package/lib/skills/builtin-resources.js +47 -0
  148. package/lib/skills/builtin-resources.js.map +1 -0
  149. package/lib/skills/builtin.d.ts +2 -5
  150. package/lib/skills/builtin.d.ts.map +1 -1
  151. package/lib/skills/builtin.js +11 -0
  152. package/lib/skills/builtin.js.map +1 -1
  153. package/lib/skills/director-builtins.d.ts +8 -0
  154. package/lib/skills/director-builtins.d.ts.map +1 -0
  155. package/lib/skills/director-builtins.js +65 -0
  156. package/lib/skills/director-builtins.js.map +1 -0
  157. package/lib/skills/drama-builtin.d.ts +3 -0
  158. package/lib/skills/drama-builtin.d.ts.map +1 -0
  159. package/lib/skills/drama-builtin.js +49 -0
  160. package/lib/skills/drama-builtin.js.map +1 -0
  161. package/lib/skills/long-task-continuation.d.ts +4 -0
  162. package/lib/skills/long-task-continuation.d.ts.map +1 -0
  163. package/lib/skills/long-task-continuation.js +43 -0
  164. package/lib/skills/long-task-continuation.js.map +1 -0
  165. package/lib/skills/service.d.ts.map +1 -1
  166. package/lib/skills/service.js +8 -3
  167. package/lib/skills/service.js.map +1 -1
  168. package/lib/skills/viora-canvas-builtin.d.ts +3 -0
  169. package/lib/skills/viora-canvas-builtin.d.ts.map +1 -0
  170. package/lib/skills/viora-canvas-builtin.js +19 -0
  171. package/lib/skills/viora-canvas-builtin.js.map +1 -0
  172. package/lib/storage/migrate-layout.d.ts.map +1 -1
  173. package/lib/storage/migrate-layout.js +13 -4
  174. package/lib/storage/migrate-layout.js.map +1 -1
  175. package/lib/store.d.ts.map +1 -1
  176. package/lib/store.js +2 -0
  177. package/lib/store.js.map +1 -1
  178. package/lib/tasks/context.js +1 -0
  179. package/lib/tasks/context.js.map +1 -1
  180. package/lib/tasks/continuation-yield.d.ts +4 -0
  181. package/lib/tasks/continuation-yield.d.ts.map +1 -0
  182. package/lib/tasks/continuation-yield.js +27 -0
  183. package/lib/tasks/continuation-yield.js.map +1 -0
  184. package/lib/tasks/continuation.d.ts +13 -0
  185. package/lib/tasks/continuation.d.ts.map +1 -0
  186. package/lib/tasks/continuation.js +106 -0
  187. package/lib/tasks/continuation.js.map +1 -0
  188. package/lib/tasks/domain.d.ts +2 -0
  189. package/lib/tasks/domain.d.ts.map +1 -1
  190. package/lib/tasks/scheduling.d.ts.map +1 -1
  191. package/lib/tasks/scheduling.js +7 -0
  192. package/lib/tasks/scheduling.js.map +1 -1
  193. package/lib/tasks/service.d.ts +2 -1
  194. package/lib/tasks/service.d.ts.map +1 -1
  195. package/lib/tasks/service.js +19 -1
  196. package/lib/tasks/service.js.map +1 -1
  197. package/lib/ui/attachment-storage.d.ts +2 -0
  198. package/lib/ui/attachment-storage.d.ts.map +1 -0
  199. package/lib/ui/attachment-storage.js +59 -0
  200. package/lib/ui/attachment-storage.js.map +1 -0
  201. package/lib/ui/capability-editor.js +1 -1
  202. package/lib/ui/capability-editor.js.map +1 -1
  203. package/lib/ui/companion-access-panel.js +1 -1
  204. package/lib/ui/companion-access-panel.js.map +1 -1
  205. package/lib/ui/companion-create.js +1 -1
  206. package/lib/ui/companion-create.js.map +1 -1
  207. package/lib/ui/companion-picker.js +1 -1
  208. package/lib/ui/companion-picker.js.map +1 -1
  209. package/lib/ui/identity-editor.js +1 -1
  210. package/lib/ui/identity-editor.js.map +1 -1
  211. package/lib/ui/mcp-capabilities.js +1 -1
  212. package/lib/ui/mcp-capabilities.js.map +1 -1
  213. package/lib/ui/mcp-panel.js +1 -1
  214. package/lib/ui/mcp-panel.js.map +1 -1
  215. package/lib/ui/memory/concern-board.js +2 -2
  216. package/lib/ui/memory/concern-board.js.map +1 -1
  217. package/lib/ui/memory/concern-deletion.d.ts +1 -1
  218. package/lib/ui/memory/concern-deletion.d.ts.map +1 -1
  219. package/lib/ui/memory/concern-deletion.js +9 -4
  220. package/lib/ui/memory/concern-deletion.js.map +1 -1
  221. package/lib/ui/memory/concern-panel.js +1 -1
  222. package/lib/ui/memory/concern-panel.js.map +1 -1
  223. package/lib/ui/memory/memory-library.js +1 -1
  224. package/lib/ui/memory/memory-library.js.map +1 -1
  225. package/lib/ui/memory/memory-panel.js +1 -1
  226. package/lib/ui/memory/memory-panel.js.map +1 -1
  227. package/lib/ui/partner-components.js +1 -1
  228. package/lib/ui/partner-components.js.map +1 -1
  229. package/lib/ui/requirement-board.js +1 -1
  230. package/lib/ui/requirement-board.js.map +1 -1
  231. package/lib/ui/requirement-dialog.js +1 -1
  232. package/lib/ui/requirement-dialog.js.map +1 -1
  233. package/lib/ui/requirement-tasks-panel.js +1 -1
  234. package/lib/ui/requirement-tasks-panel.js.map +1 -1
  235. package/lib/ui/schedule-panel.d.ts.map +1 -1
  236. package/lib/ui/schedule-panel.js +20 -4
  237. package/lib/ui/schedule-panel.js.map +1 -1
  238. package/lib/ui/skills-panel.js +1 -1
  239. package/lib/ui/skills-panel.js.map +1 -1
  240. package/lib/ui/storage-settings.d.ts.map +1 -1
  241. package/lib/ui/storage-settings.js +2 -1
  242. package/lib/ui/storage-settings.js.map +1 -1
  243. package/lib/ui/task-board-stage.js +1 -1
  244. package/lib/ui/task-board-stage.js.map +1 -1
  245. package/lib/ui/workspace-components.js +1 -1
  246. package/lib/ui/workspace-components.js.map +1 -1
  247. package/lib/ui/workspace-navigation.d.ts +16 -16
  248. package/lib/ui/workspace-navigation.js +1 -1
  249. package/lib/ui/workspace-navigation.js.map +1 -1
  250. package/package.json +55 -41
  251. package/resources/skills/cinematic-director/manifest.json +205 -0
  252. package/resources/skills/cinematic-director/upstream/CHANGELOG.md +213 -0
  253. package/resources/skills/cinematic-director/upstream/CONTRIBUTING.md +316 -0
  254. package/resources/skills/cinematic-director/upstream/LICENSE +21 -0
  255. package/resources/skills/cinematic-director/upstream/README.md +507 -0
  256. package/resources/skills/cinematic-director/upstream/SKILL.md +420 -0
  257. package/resources/skills/cinematic-director/upstream/assets/beat-sheet-template.md +97 -0
  258. package/resources/skills/cinematic-director/upstream/assets/director-book-template.md +254 -0
  259. package/resources/skills/cinematic-director/upstream/assets/edit-timeline-template.md +147 -0
  260. package/resources/skills/cinematic-director/upstream/assets/keyframe-prompt-template.md +334 -0
  261. package/resources/skills/cinematic-director/upstream/assets/qc-checklist.md +153 -0
  262. package/resources/skills/cinematic-director/upstream/assets/shot-plan-template.md +95 -0
  263. package/resources/skills/cinematic-director/upstream/assets/sound-plan-template.md +181 -0
  264. package/resources/skills/cinematic-director/upstream/assets/video-prompt-template.md +305 -0
  265. package/resources/skills/cinematic-director/upstream/evals/run.md +69 -0
  266. package/resources/skills/cinematic-director/upstream/references/ai-video-tool-adapters.md +527 -0
  267. package/resources/skills/cinematic-director/upstream/references/blocking-and-staging.md +424 -0
  268. package/resources/skills/cinematic-director/upstream/references/cinematic-language.md +595 -0
  269. package/resources/skills/cinematic-director/upstream/references/continuity-bible.md +410 -0
  270. package/resources/skills/cinematic-director/upstream/references/director_styles/01_spielberg.md +192 -0
  271. package/resources/skills/cinematic-director/upstream/references/director_styles/02_hitchcock.md +193 -0
  272. package/resources/skills/cinematic-director/upstream/references/director_styles/03_kubrick.md +196 -0
  273. package/resources/skills/cinematic-director/upstream/references/director_styles/04_kurosawa.md +196 -0
  274. package/resources/skills/cinematic-director/upstream/references/director_styles/05_scorsese.md +195 -0
  275. package/resources/skills/cinematic-director/upstream/references/director_styles/06_fellini.md +197 -0
  276. package/resources/skills/cinematic-director/upstream/references/director_styles/07_bergman.md +197 -0
  277. package/resources/skills/cinematic-director/upstream/references/director_styles/08_tarkovsky.md +184 -0
  278. package/resources/skills/cinematic-director/upstream/references/director_styles/09_wong_kar_wai.md +189 -0
  279. package/resources/skills/cinematic-director/upstream/references/director_styles/10_nolan.md +185 -0
  280. package/resources/skills/cinematic-director/upstream/references/director_styles/11_villeneuve.md +188 -0
  281. package/resources/skills/cinematic-director/upstream/references/director_styles/12_fincher.md +185 -0
  282. package/resources/skills/cinematic-director/upstream/references/director_styles/13_refn.md +186 -0
  283. package/resources/skills/cinematic-director/upstream/references/director_styles/14_bi_gan.md +188 -0
  284. package/resources/skills/cinematic-director/upstream/references/director_styles/15_zhang_yimou.md +192 -0
  285. package/resources/skills/cinematic-director/upstream/references/director_styles/16_hou_hsiao_hsien.md +192 -0
  286. package/resources/skills/cinematic-director/upstream/references/director_styles/17_park_chan_wook.md +192 -0
  287. package/resources/skills/cinematic-director/upstream/references/director_styles/18_malick.md +191 -0
  288. package/resources/skills/cinematic-director/upstream/references/director_styles/19_michael_mann.md +192 -0
  289. package/resources/skills/cinematic-director/upstream/references/director_styles/20_coen_brothers.md +194 -0
  290. package/resources/skills/cinematic-director/upstream/references/director_styles/README.md +89 -0
  291. package/resources/skills/cinematic-director/upstream/references/director_styles/example_comparisons.md +140 -0
  292. package/resources/skills/cinematic-director/upstream/references/editing-and-assembly.md +263 -0
  293. package/resources/skills/cinematic-director/upstream/references/failure-modes.md +594 -0
  294. package/resources/skills/cinematic-director/upstream/references/genre-playbooks.md +407 -0
  295. package/resources/skills/cinematic-director/upstream/references/image-model-adapters.md +290 -0
  296. package/resources/skills/cinematic-director/upstream/references/lighting-and-color.md +349 -0
  297. package/resources/skills/cinematic-director/upstream/references/product-and-macro.md +207 -0
  298. package/resources/skills/cinematic-director/upstream/references/production-workflow.md +238 -0
  299. package/resources/skills/cinematic-director/upstream/references/prompt-lexicon.md +602 -0
  300. package/resources/skills/cinematic-director/upstream/references/sound-and-dialogue.md +364 -0
  301. package/resources/skills/director-skills/manifest.json +541 -0
  302. package/resources/skills/director-skills/upstream/CHANGELOG.md +32 -0
  303. package/resources/skills/director-skills/upstream/LICENSE +21 -0
  304. package/resources/skills/director-skills/upstream/MANIFEST.md +366 -0
  305. package/resources/skills/director-skills/upstream/README.md +251 -0
  306. package/resources/skills/director-skills/upstream/RESEARCH_PROVENANCE.md +37 -0
  307. package/resources/skills/director-skills/upstream/SKILL.md +114 -0
  308. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/SKILL.md +81 -0
  309. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/checklists/continuity_checklist.md +8 -0
  310. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/examples/character_continuity_update.md +9 -0
  311. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/examples/location_continuity_update.md +9 -0
  312. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/references/continuity_system.md +21 -0
  313. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/references/golden_image_workflow.md +29 -0
  314. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/references/identity_anchors.md +14 -0
  315. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/references/visual_bible_system.md +15 -0
  316. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/templates/character_profile.md +15 -0
  317. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/templates/continuity_checklist.md +11 -0
  318. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/templates/costume_profile.md +12 -0
  319. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/templates/location_profile.md +14 -0
  320. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/templates/prop_profile.md +13 -0
  321. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/templates/visual_style_bible.md +15 -0
  322. package/resources/skills/director-skills/upstream/skills/character-location-prop-bible/tests/continuity_tests.md +6 -0
  323. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/SKILL.md +80 -0
  324. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/checklists/image_prompt_quality_checklist.md +10 -0
  325. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/examples/shot_list_to_image_prompts.md +4 -0
  326. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/references/image_prompt_components.md +22 -0
  327. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/references/lighting_and_photorealism.md +19 -0
  328. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/references/negative_prompt_patterns.md +18 -0
  329. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/references/prompt_anatomy.md +18 -0
  330. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/templates/character_reference_sheet_prompt.md +5 -0
  331. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/templates/cinematic_still_prompt.md +3 -0
  332. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/templates/keyframe_prompt.md +6 -0
  333. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/templates/location_reference_prompt.md +3 -0
  334. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/templates/prop_prompt.md +3 -0
  335. package/resources/skills/director-skills/upstream/skills/cinematic-image-prompting/tests/image_prompt_completeness_tests.md +5 -0
  336. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/SKILL.md +84 -0
  337. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/checklists/video_prompt_quality_checklist.md +9 -0
  338. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/examples/image_prompt_to_video_prompt.md +3 -0
  339. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/references/ai_film_production_pipeline.md +21 -0
  340. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/references/audio_motion_timing.md +16 -0
  341. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/references/camera_lens_movement.md +26 -0
  342. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/references/negative_prompt_patterns.md +18 -0
  343. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/references/prompt_anatomy.md +18 -0
  344. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/references/video_prompt_components.md +25 -0
  345. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/templates/image_to_video_prompt.md +5 -0
  346. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/templates/text_to_video_prompt.md +5 -0
  347. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/templates/video_beat_prompt.md +9 -0
  348. package/resources/skills/director-skills/upstream/skills/cinematic-video-prompting/tests/video_prompt_completeness_tests.md +5 -0
  349. package/resources/skills/director-skills/upstream/skills/model-adaptation/SKILL.md +82 -0
  350. package/resources/skills/director-skills/upstream/skills/model-adaptation/checklists/model_export_checklist.md +9 -0
  351. package/resources/skills/director-skills/upstream/skills/model-adaptation/examples/failed_model_transfer_diagnosis.md +5 -0
  352. package/resources/skills/director-skills/upstream/skills/model-adaptation/examples/image_prompt_translation.md +10 -0
  353. package/resources/skills/director-skills/upstream/skills/model-adaptation/examples/same_scene_across_models.md +9 -0
  354. package/resources/skills/director-skills/upstream/skills/model-adaptation/examples/universal_prompt_to_model_specific_exports.md +14 -0
  355. package/resources/skills/director-skills/upstream/skills/model-adaptation/examples/video_prompt_translation.md +9 -0
  356. package/resources/skills/director-skills/upstream/skills/model-adaptation/references/failure_modes_by_model.md +13 -0
  357. package/resources/skills/director-skills/upstream/skills/model-adaptation/references/image_model_profiles.md +226 -0
  358. package/resources/skills/director-skills/upstream/skills/model-adaptation/references/model_capability_matrix.md +24 -0
  359. package/resources/skills/director-skills/upstream/skills/model-adaptation/references/model_update_protocol.md +10 -0
  360. package/resources/skills/director-skills/upstream/skills/model-adaptation/references/parameter_compatibility.md +20 -0
  361. package/resources/skills/director-skills/upstream/skills/model-adaptation/references/prompt_translation_rules.md +18 -0
  362. package/resources/skills/director-skills/upstream/skills/model-adaptation/references/video_model_profiles.md +251 -0
  363. package/resources/skills/director-skills/upstream/skills/model-adaptation/templates/model_comparison_table.md +4 -0
  364. package/resources/skills/director-skills/upstream/skills/model-adaptation/templates/model_specific_prompt_export.md +21 -0
  365. package/resources/skills/director-skills/upstream/skills/model-adaptation/templates/multi_model_export_package.md +18 -0
  366. package/resources/skills/director-skills/upstream/skills/model-adaptation/templates/prompt_translation_report.md +13 -0
  367. package/resources/skills/director-skills/upstream/skills/model-adaptation/templates/universal_prompt_brief.md +25 -0
  368. package/resources/skills/director-skills/upstream/skills/model-adaptation/tests/model_routing_tests.md +8 -0
  369. package/resources/skills/director-skills/upstream/skills/model-adaptation/tests/prompt_translation_tests.md +7 -0
  370. package/resources/skills/director-skills/upstream/skills/model-adaptation/tests/research_provenance_tests.md +6 -0
  371. package/resources/skills/director-skills/upstream/skills/model-adaptation/tests/unknown_capability_tests.md +7 -0
  372. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/SKILL.md +82 -0
  373. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/checklists/diagnostic_checklist.md +8 -0
  374. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/checklists/release_quality_checklist.md +9 -0
  375. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/examples/failed_output_to_revised_prompt.md +10 -0
  376. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/examples/final_prompt_package_export.md +10 -0
  377. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/references/failure_modes.md +13 -0
  378. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/references/iteration_diagnostics.md +17 -0
  379. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/references/revision_loops.md +17 -0
  380. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/references/story_voice_release_qc.md +30 -0
  381. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/templates/failed_output_intake.md +13 -0
  382. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/templates/final_production_package.md +11 -0
  383. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/templates/prompt_revision_report.md +17 -0
  384. package/resources/skills/director-skills/upstream/skills/prompt-iteration-and-diagnostics/tests/prompt_quality_checklist_tests.md +6 -0
  385. package/resources/skills/director-skills/upstream/skills/screenplay-and-scene-writing/SKILL.md +81 -0
  386. package/resources/skills/director-skills/upstream/skills/screenplay-and-scene-writing/checklists/scene_quality_checklist.md +8 -0
  387. package/resources/skills/director-skills/upstream/skills/screenplay-and-scene-writing/examples/scene_to_screenplay_excerpt.md +18 -0
  388. package/resources/skills/director-skills/upstream/skills/screenplay-and-scene-writing/references/dialogue_and_subtext.md +15 -0
  389. package/resources/skills/director-skills/upstream/skills/screenplay-and-scene-writing/references/fountain_workflow.md +29 -0
  390. package/resources/skills/director-skills/upstream/skills/screenplay-and-scene-writing/references/scene_construction.md +20 -0
  391. package/resources/skills/director-skills/upstream/skills/screenplay-and-scene-writing/references/screenplay_format.md +18 -0
  392. package/resources/skills/director-skills/upstream/skills/screenplay-and-scene-writing/templates/beat_sheet.md +6 -0
  393. package/resources/skills/director-skills/upstream/skills/screenplay-and-scene-writing/templates/dialogue_pass.md +9 -0
  394. package/resources/skills/director-skills/upstream/skills/screenplay-and-scene-writing/templates/fountain_scene.md +25 -0
  395. package/resources/skills/director-skills/upstream/skills/screenplay-and-scene-writing/templates/screenplay_scene.md +19 -0
  396. package/resources/skills/director-skills/upstream/skills/screenplay-and-scene-writing/tests/screenplay_scene_tests.md +6 -0
  397. package/resources/skills/director-skills/upstream/skills/short-film-development/SKILL.md +83 -0
  398. package/resources/skills/director-skills/upstream/skills/short-film-development/checklists/concept_quality_checklist.md +8 -0
  399. package/resources/skills/director-skills/upstream/skills/short-film-development/examples/idea_to_logline.md +13 -0
  400. package/resources/skills/director-skills/upstream/skills/short-film-development/examples/logline_to_outline.md +10 -0
  401. package/resources/skills/director-skills/upstream/skills/short-film-development/references/ai_storytelling_workflow.md +46 -0
  402. package/resources/skills/director-skills/upstream/skills/short-film-development/references/continuity_handoff.md +8 -0
  403. package/resources/skills/director-skills/upstream/skills/short-film-development/references/screenplay_structure.md +19 -0
  404. package/resources/skills/director-skills/upstream/skills/short-film-development/references/story_development_workflow.md +23 -0
  405. package/resources/skills/director-skills/upstream/skills/short-film-development/templates/beat_sheet.md +7 -0
  406. package/resources/skills/director-skills/upstream/skills/short-film-development/templates/idea_intake.md +16 -0
  407. package/resources/skills/director-skills/upstream/skills/short-film-development/templates/logline.md +10 -0
  408. package/resources/skills/director-skills/upstream/skills/short-film-development/templates/short_film_treatment.md +23 -0
  409. package/resources/skills/director-skills/upstream/skills/short-film-development/templates/short_story_plan.md +22 -0
  410. package/resources/skills/director-skills/upstream/skills/short-film-development/templates/story_premise.md +19 -0
  411. package/resources/skills/director-skills/upstream/skills/short-film-development/templates/story_revision_audit.md +22 -0
  412. package/resources/skills/director-skills/upstream/skills/short-film-development/tests/output_format_tests.md +3 -0
  413. package/resources/skills/director-skills/upstream/skills/short-film-development/tests/routing_tests.md +7 -0
  414. package/resources/skills/director-skills/upstream/skills/shotlist-and-visual-breakdown/SKILL.md +77 -0
  415. package/resources/skills/director-skills/upstream/skills/shotlist-and-visual-breakdown/checklists/shotlist_quality_checklist.md +8 -0
  416. package/resources/skills/director-skills/upstream/skills/shotlist-and-visual-breakdown/examples/screenplay_scene_to_shot_list.md +8 -0
  417. package/resources/skills/director-skills/upstream/skills/shotlist-and-visual-breakdown/references/camera_plan.md +11 -0
  418. package/resources/skills/director-skills/upstream/skills/shotlist-and-visual-breakdown/references/production_breakdown.md +11 -0
  419. package/resources/skills/director-skills/upstream/skills/shotlist-and-visual-breakdown/references/shotlist_schema.md +21 -0
  420. package/resources/skills/director-skills/upstream/skills/shotlist-and-visual-breakdown/templates/asset_list.md +7 -0
  421. package/resources/skills/director-skills/upstream/skills/shotlist-and-visual-breakdown/templates/camera_plan.md +10 -0
  422. package/resources/skills/director-skills/upstream/skills/shotlist-and-visual-breakdown/templates/scene_breakdown.md +16 -0
  423. package/resources/skills/director-skills/upstream/skills/shotlist-and-visual-breakdown/templates/shot_list.md +5 -0
  424. package/resources/skills/director-skills/upstream/skills/shotlist-and-visual-breakdown/tests/screenplay_to_shotlist_tests.md +5 -0
  425. package/resources/skills/director-skills/upstream/skills/style-cinematography-director/SKILL.md +77 -0
  426. package/resources/skills/director-skills/upstream/skills/style-cinematography-director/checklists/style_quality_checklist.md +8 -0
  427. package/resources/skills/director-skills/upstream/skills/style-cinematography-director/examples/genre_to_visual_direction.md +15 -0
  428. package/resources/skills/director-skills/upstream/skills/style-cinematography-director/references/camera_lens_movement.md +26 -0
  429. package/resources/skills/director-skills/upstream/skills/style-cinematography-director/references/cinematic_language.md +32 -0
  430. package/resources/skills/director-skills/upstream/skills/style-cinematography-director/references/genre_style_tone.md +17 -0
  431. package/resources/skills/director-skills/upstream/skills/style-cinematography-director/references/lighting_and_photorealism.md +19 -0
  432. package/resources/skills/director-skills/upstream/skills/style-cinematography-director/templates/visual_style_bible.md +33 -0
  433. package/resources/skills/director-skills/upstream/skills/style-cinematography-director/tests/style_translation_tests.md +5 -0
  434. package/resources/skills/director-skills/upstream/tests/master_router_tests.md +80 -0
  435. package/resources/skills/drama-production/manifest.json +933 -0
  436. package/resources/skills/drama-production/upstream/LICENSE +21 -0
  437. package/resources/skills/drama-production/upstream/skills/short-drama/SKILL.md +153 -0
  438. package/resources/skills/drama-production/upstream/skills/short-drama/agents/openai.yaml +4 -0
  439. package/resources/skills/drama-production/upstream/skills/short-drama/assets/creator-decision.example.jsonl +4 -0
  440. package/resources/skills/drama-production/upstream/skills/short-drama/assets/dashboard/app.js +1263 -0
  441. package/resources/skills/drama-production/upstream/skills/short-drama/assets/dashboard/index.html +114 -0
  442. package/resources/skills/drama-production/upstream/skills/short-drama/assets/dashboard/styles.css +297 -0
  443. package/resources/skills/drama-production/upstream/skills/short-drama/assets/production-observation.example.jsonl +2 -0
  444. package/resources/skills/drama-production/upstream/skills/short-drama/assets/project-template/short-drama.json +36 -0
  445. package/resources/skills/drama-production/upstream/skills/short-drama/assets/reference-observation.example.jsonl +2 -0
  446. package/resources/skills/drama-production/upstream/skills/short-drama/references/audience-reveal.md +21 -0
  447. package/resources/skills/drama-production/upstream/skills/short-drama/references/contract-and-ownership.md +45 -0
  448. package/resources/skills/drama-production/upstream/skills/short-drama/references/creator-documents.md +230 -0
  449. package/resources/skills/drama-production/upstream/skills/short-drama/references/creator-workflow.md +98 -0
  450. package/resources/skills/drama-production/upstream/skills/short-drama/references/form-cards/Q/347/211/210/350/241/250/350/276/276.md +73 -0
  451. package/resources/skills/drama-production/upstream/skills/short-drama/references/form-cards//344/272/214/347/273/264/345/212/250/346/200/201/346/274/253.md +74 -0
  452. package/resources/skills/drama-production/upstream/skills/short-drama/references/form-cards//345/233/275/346/274/253/344/272/214/346/254/241/345/205/203.md +79 -0
  453. package/resources/skills/drama-production/upstream/skills/short-drama/references/form-cards//345/256/236/346/213/215.md +75 -0
  454. package/resources/skills/drama-production/upstream/skills/short-drama/references/form-cards//346/260/264/345/242/250/347/254/224/350/247/246.md +85 -0
  455. package/resources/skills/drama-production/upstream/skills/short-drama/references/form-cards//351/243/216/346/240/274/345/214/226/344/270/211/347/273/264.md +72 -0
  456. package/resources/skills/drama-production/upstream/skills/short-drama/references/knowhow-index.md +85 -0
  457. package/resources/skills/drama-production/upstream/skills/short-drama/references/look-development.md +51 -0
  458. package/resources/skills/drama-production/upstream/skills/short-drama/references/pickup-and-alternate.md +24 -0
  459. package/resources/skills/drama-production/upstream/skills/short-drama/references/production-form-profiles.md +126 -0
  460. package/resources/skills/drama-production/upstream/skills/short-drama/references/reference-roles.md +53 -0
  461. package/resources/skills/drama-production/upstream/skills/short-drama/references/runtime-preflight.md +24 -0
  462. package/resources/skills/drama-production/upstream/skills/short-drama/scripts/creator_markdown_check.py +1413 -0
  463. package/resources/skills/drama-production/upstream/skills/short-drama/scripts/dashboard_server.py +1798 -0
  464. package/resources/skills/drama-production/upstream/skills/short-drama/scripts/project_tool.py +2454 -0
  465. package/resources/skills/drama-production/upstream/skills/short-drama/scripts/selftest.py +287 -0
  466. package/resources/skills/drama-production/upstream/skills/short-drama-assets/SKILL.md +76 -0
  467. package/resources/skills/drama-production/upstream/skills/short-drama-assets/agents/openai.yaml +4 -0
  468. package/resources/skills/drama-production/upstream/skills/short-drama-assets/assets/character-look.example.jsonl +3 -0
  469. package/resources/skills/drama-production/upstream/skills/short-drama-assets/assets/continuity.example.jsonl +4 -0
  470. package/resources/skills/drama-production/upstream/skills/short-drama-assets/assets/decisions.example.jsonl +5 -0
  471. package/resources/skills/drama-production/upstream/skills/short-drama-assets/assets/location-view.example.jsonl +3 -0
  472. package/resources/skills/drama-production/upstream/skills/short-drama-assets/assets/occurrences.example.jsonl +5 -0
  473. package/resources/skills/drama-production/upstream/skills/short-drama-assets/assets/prop-state.example.jsonl +3 -0
  474. package/resources/skills/drama-production/upstream/skills/short-drama-assets/examples/minimal/characters.jsonl +2 -0
  475. package/resources/skills/drama-production/upstream/skills/short-drama-assets/examples/minimal/looks.jsonl +2 -0
  476. package/resources/skills/drama-production/upstream/skills/short-drama-assets/references/asset-review-checklist.md +82 -0
  477. package/resources/skills/drama-production/upstream/skills/short-drama-assets/references/character-and-look.md +190 -0
  478. package/resources/skills/drama-production/upstream/skills/short-drama-assets/references/continuity-delta.md +120 -0
  479. package/resources/skills/drama-production/upstream/skills/short-drama-assets/references/continuity-lock.md +122 -0
  480. package/resources/skills/drama-production/upstream/skills/short-drama-assets/references/identity-vs-variant.md +140 -0
  481. package/resources/skills/drama-production/upstream/skills/short-drama-assets/references/location-and-view.md +84 -0
  482. package/resources/skills/drama-production/upstream/skills/short-drama-assets/references/occurrence-extraction.md +108 -0
  483. package/resources/skills/drama-production/upstream/skills/short-drama-assets/references/prop-and-state.md +126 -0
  484. package/resources/skills/drama-production/upstream/skills/short-drama-assets/references/stage-contract.md +43 -0
  485. package/resources/skills/drama-production/upstream/skills/short-drama-assets/references/voice-direction.md +179 -0
  486. package/resources/skills/drama-production/upstream/skills/short-drama-assets/scripts/asset_check.py +267 -0
  487. package/resources/skills/drama-production/upstream/skills/short-drama-assets/scripts/selftest.py +89 -0
  488. package/resources/skills/drama-production/upstream/skills/short-drama-develop/SKILL.md +157 -0
  489. package/resources/skills/drama-production/upstream/skills/short-drama-develop/agents/openai.yaml +4 -0
  490. package/resources/skills/drama-production/upstream/skills/short-drama-develop/assets/adaptation-map.example.jsonl +1 -0
  491. package/resources/skills/drama-production/upstream/skills/short-drama-develop/assets/creative-brief.md +120 -0
  492. package/resources/skills/drama-production/upstream/skills/short-drama-develop/assets/episode-map.jsonl +1 -0
  493. package/resources/skills/drama-production/upstream/skills/short-drama-develop/assets/story-engine.md +181 -0
  494. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/adaptation-craft.md +219 -0
  495. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/creative-reference-intake.md +57 -0
  496. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/director-brief-craft.md +113 -0
  497. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/episode-design.md +509 -0
  498. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-and-hook-playbook.md +240 -0
  499. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards//344/272/262/345/255/220/351/232/220/347/247/230.md +112 -0
  500. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards//344/273/231/344/276/240/344/277/256/347/234/237.md +51 -0
  501. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards//345/212/250/344/275/234/344/273/273/345/212/241.md +51 -0
  502. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards//345/217/244/350/243/205/346/235/203/350/260/213.md +51 -0
  503. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards//345/244/215/344/273/207/346/211/223/350/204/270.md +51 -0
  504. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards//345/256/266/345/272/255/345/205/263/347/263/273.md +51 -0
  505. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards//346/202/254/347/226/221/350/247/204/345/210/231.md +51 -0
  506. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards//347/224/237/346/264/273/346/265/201.md +51 -0
  507. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards//347/240/264/351/225/234/351/207/215/345/234/206.md +109 -0
  508. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards//350/201/214/345/234/272/345/226/234/345/211/247.md +51 -0
  509. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards//350/261/252/351/227/250/345/251/232/346/201/213.md +51 -0
  510. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards//350/272/253/344/273/275/351/224/231/344/275/215.md +51 -0
  511. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/genre-cards.md +92 -0
  512. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/mechanism-loop.md +282 -0
  513. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/multi-episode-intake.md +128 -0
  514. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/premise-devices.md +211 -0
  515. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/reveal-reversal-payoff.md +99 -0
  516. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/serial-character-and-memory.md +293 -0
  517. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/stage-contract.md +88 -0
  518. package/resources/skills/drama-production/upstream/skills/short-drama-develop/references/story-craft.md +359 -0
  519. package/resources/skills/drama-production/upstream/skills/short-drama-develop/scripts/episode_intake.py +699 -0
  520. package/resources/skills/drama-production/upstream/skills/short-drama-develop/scripts/selftest.py +47 -0
  521. package/resources/skills/drama-production/upstream/skills/short-drama-edit/SKILL.md +146 -0
  522. package/resources/skills/drama-production/upstream/skills/short-drama-edit/agents/openai.yaml +4 -0
  523. package/resources/skills/drama-production/upstream/skills/short-drama-edit/assets/remotion/README.md +60 -0
  524. package/resources/skills/drama-production/upstream/skills/short-drama-edit/assets/remotion/package.json +15 -0
  525. package/resources/skills/drama-production/upstream/skills/short-drama-edit/assets/remotion/remotion.config.ts +6 -0
  526. package/resources/skills/drama-production/upstream/skills/short-drama-edit/assets/remotion/src/Root.tsx +26 -0
  527. package/resources/skills/drama-production/upstream/skills/short-drama-edit/assets/remotion/src/Subtitles.tsx +88 -0
  528. package/resources/skills/drama-production/upstream/skills/short-drama-edit/assets/remotion/src/font.ts +46 -0
  529. package/resources/skills/drama-production/upstream/skills/short-drama-edit/assets/remotion/src/index.ts +4 -0
  530. package/resources/skills/drama-production/upstream/skills/short-drama-edit/assets/remotion/src/schema.ts +32 -0
  531. package/resources/skills/drama-production/upstream/skills/short-drama-edit/assets/remotion/tsconfig.json +13 -0
  532. package/resources/skills/drama-production/upstream/skills/short-drama-edit/assets//345/211/252/350/276/221/345/215/225.md +43 -0
  533. package/resources/skills/drama-production/upstream/skills/short-drama-edit/references/cut-craft.md +38 -0
  534. package/resources/skills/drama-production/upstream/skills/short-drama-edit/references/delivery-verify.md +29 -0
  535. package/resources/skills/drama-production/upstream/skills/short-drama-edit/references/generated-footage.md +54 -0
  536. package/resources/skills/drama-production/upstream/skills/short-drama-edit/references/sound-and-subtitles.md +60 -0
  537. package/resources/skills/drama-production/upstream/skills/short-drama-edit/references/stage-contract.md +51 -0
  538. package/resources/skills/drama-production/upstream/skills/short-drama-edit/scripts/edit_tool.py +1156 -0
  539. package/resources/skills/drama-production/upstream/skills/short-drama-edit/scripts/selftest.py +520 -0
  540. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/SKILL.md +73 -0
  541. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/agents/openai.yaml +4 -0
  542. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/assets/image-prompt-spec.jsonl.md +187 -0
  543. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/assets/image-prompts.md +42 -0
  544. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/assets/lookdev-frame-spec.jsonl.md +128 -0
  545. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/assets/lookdev-prompts.md +34 -0
  546. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/examples/minimal-image-prompt-specs.jsonl +2 -0
  547. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/references/character-and-look.md +153 -0
  548. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/references/common-recipe.md +241 -0
  549. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/references/edit-and-revision.md +110 -0
  550. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/references/location-plate.md +151 -0
  551. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/references/look-and-state-variant.md +97 -0
  552. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/references/lookdev-frame.md +34 -0
  553. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/references/production-sheet-recipes.md +177 -0
  554. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/references/prop-plate.md +137 -0
  555. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/references/review-and-fixtures.md +92 -0
  556. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/references/stage-contract.md +32 -0
  557. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/scripts/image_prompt_check.py +443 -0
  558. package/resources/skills/drama-production/upstream/skills/short-drama-image-prompts/scripts/selftest.py +95 -0
  559. package/resources/skills/drama-production/upstream/skills/short-drama-novel-analyze/SKILL.md +245 -0
  560. package/resources/skills/drama-production/upstream/skills/short-drama-novel-analyze/agents/openai.yaml +4 -0
  561. package/resources/skills/drama-production/upstream/skills/short-drama-novel-analyze/assets/episode-candidate.example.jsonl +3 -0
  562. package/resources/skills/drama-production/upstream/skills/short-drama-novel-analyze/references/adaptation-triage.md +116 -0
  563. package/resources/skills/drama-production/upstream/skills/short-drama-novel-analyze/references/adaptation-value.md +124 -0
  564. package/resources/skills/drama-production/upstream/skills/short-drama-novel-analyze/references/aggregation-and-entities.md +155 -0
  565. package/resources/skills/drama-production/upstream/skills/short-drama-novel-analyze/references/chapter-extraction.md +144 -0
  566. package/resources/skills/drama-production/upstream/skills/short-drama-novel-analyze/references/stage-contract.md +67 -0
  567. package/resources/skills/drama-production/upstream/skills/short-drama-novel-analyze/scripts/novel_index.py +651 -0
  568. package/resources/skills/drama-production/upstream/skills/short-drama-novel-analyze/scripts/selftest.py +51 -0
  569. package/resources/skills/drama-production/upstream/skills/short-drama-produce/SKILL.md +183 -0
  570. package/resources/skills/drama-production/upstream/skills/short-drama-produce/agents/openai.yaml +4 -0
  571. package/resources/skills/drama-production/upstream/skills/short-drama-produce/references/adapter-contract.md +219 -0
  572. package/resources/skills/drama-production/upstream/skills/short-drama-produce/references/providers/gpt-image-2.md +24 -0
  573. package/resources/skills/drama-production/upstream/skills/short-drama-produce/references/providers/minimax-h3-video.md +86 -0
  574. package/resources/skills/drama-production/upstream/skills/short-drama-produce/references/providers/minimax-music.md +25 -0
  575. package/resources/skills/drama-production/upstream/skills/short-drama-produce/references/providers/minimax-speech.md +41 -0
  576. package/resources/skills/drama-production/upstream/skills/short-drama-produce/references/providers/seedance.md +64 -0
  577. package/resources/skills/drama-production/upstream/skills/short-drama-produce/scripts/fixture_adapter.py +77 -0
  578. package/resources/skills/drama-production/upstream/skills/short-drama-produce/scripts/production_tool.py +2205 -0
  579. package/resources/skills/drama-production/upstream/skills/short-drama-produce/scripts/provider_adapters.py +1747 -0
  580. package/resources/skills/drama-production/upstream/skills/short-drama-produce/scripts/selftest.py +135 -0
  581. package/resources/skills/drama-production/upstream/skills/short-drama-review/SKILL.md +118 -0
  582. package/resources/skills/drama-production/upstream/skills/short-drama-review/agents/openai.yaml +4 -0
  583. package/resources/skills/drama-production/upstream/skills/short-drama-review/assets/finding-template.jsonl +2 -0
  584. package/resources/skills/drama-production/upstream/skills/short-drama-review/assets/supersession-decision.example.json +42 -0
  585. package/resources/skills/drama-production/upstream/skills/short-drama-review/assets/verdict-template.json +32 -0
  586. package/resources/skills/drama-production/upstream/skills/short-drama-review/examples/minimal-findings.jsonl +2 -0
  587. package/resources/skills/drama-production/upstream/skills/short-drama-review/examples/minimal-verdict.json +34 -0
  588. package/resources/skills/drama-production/upstream/skills/short-drama-review/references/anti-template-repair.md +109 -0
  589. package/resources/skills/drama-production/upstream/skills/short-drama-review/references/production-quality-gates.md +276 -0
  590. package/resources/skills/drama-production/upstream/skills/short-drama-review/references/project-calibration.md +83 -0
  591. package/resources/skills/drama-production/upstream/skills/short-drama-review/references/review-method.md +81 -0
  592. package/resources/skills/drama-production/upstream/skills/short-drama-review/references/rubric-assets-prompts.md +111 -0
  593. package/resources/skills/drama-production/upstream/skills/short-drama-review/references/rubric-source-analysis.md +108 -0
  594. package/resources/skills/drama-production/upstream/skills/short-drama-review/references/rubric-story-script.md +264 -0
  595. package/resources/skills/drama-production/upstream/skills/short-drama-review/references/rubric-visual-motion.md +184 -0
  596. package/resources/skills/drama-production/upstream/skills/short-drama-review/references/stage-contract.md +28 -0
  597. package/resources/skills/drama-production/upstream/skills/short-drama-review/scripts/review_check.py +325 -0
  598. package/resources/skills/drama-production/upstream/skills/short-drama-review/scripts/selftest.py +87 -0
  599. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/SKILL.md +175 -0
  600. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/agents/openai.yaml +4 -0
  601. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/assets/coverage-audition.example.jsonl +2 -0
  602. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/assets/coverage-template.json +49 -0
  603. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/assets/keyframe-prompts.md +36 -0
  604. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/assets/keyframe-template.jsonl +2 -0
  605. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/assets/revision-lineage.fragment.json +12 -0
  606. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/assets/scene-visual-plan.example.jsonl +2 -0
  607. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/assets/shot-template.jsonl +2 -0
  608. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/references/blocking-playbooks.md +216 -0
  609. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/references/comic-keyframe-lexicon.md +156 -0
  610. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/references/coverage-audition.md +34 -0
  611. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/references/keyframe-craft.md +174 -0
  612. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/references/lighting-craft.md +39 -0
  613. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/references/production-shot-grammar.md +279 -0
  614. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/references/review-and-fixtures.md +36 -0
  615. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/references/scene-visual-plan.md +30 -0
  616. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/references/screenplay-to-keyframe-example.md +155 -0
  617. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/references/shot-craft.md +266 -0
  618. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/references/shot-revision-identity.md +25 -0
  619. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/references/stage-contract.md +57 -0
  620. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/scripts/selftest.py +191 -0
  621. package/resources/skills/drama-production/upstream/skills/short-drama-storyboard/scripts/storyboard_check.py +824 -0
  622. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/SKILL.md +154 -0
  623. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/agents/openai.yaml +4 -0
  624. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/assets/coverage-scope.fragment.json +21 -0
  625. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/assets/delivery-container.jsonl.md +101 -0
  626. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/assets/motion-spec.jsonl.md +217 -0
  627. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/assets/motion-terminal.example.jsonl +2 -0
  628. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/assets/music-spec.jsonl.md +31 -0
  629. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/assets/performance.fragment.json +38 -0
  630. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/assets/video-prompts.md +67 -0
  631. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/examples/minimal-music-specs.jsonl +2 -0
  632. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/references/camera-audio-continuity.md +259 -0
  633. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/references/delivery-profile.md +273 -0
  634. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/references/generability.md +93 -0
  635. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/references/minimax-h3.md +253 -0
  636. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/references/motion-recipe.md +315 -0
  637. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/references/performance-action-timing.md +209 -0
  638. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/references/production-prompt-grammar.md +304 -0
  639. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/references/review-and-fixtures.md +139 -0
  640. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/references/seedance-2.0.md +50 -0
  641. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/references/seedance-2.5.md +122 -0
  642. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/references/stage-contract.md +60 -0
  643. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/references/target-model-profile.md +116 -0
  644. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/scripts/container_check.py +329 -0
  645. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/scripts/motion_timing_check.py +450 -0
  646. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/scripts/music_spec_check.py +327 -0
  647. package/resources/skills/drama-production/upstream/skills/short-drama-video-prompts/scripts/selftest.py +82 -0
  648. package/resources/skills/drama-production/upstream/skills/short-drama-write/SKILL.md +99 -0
  649. package/resources/skills/drama-production/upstream/skills/short-drama-write/agents/openai.yaml +4 -0
  650. package/resources/skills/drama-production/upstream/skills/short-drama-write/assets/beats.jsonl +2 -0
  651. package/resources/skills/drama-production/upstream/skills/short-drama-write/assets/episode-card-standalone.json +120 -0
  652. package/resources/skills/drama-production/upstream/skills/short-drama-write/assets/episode-card.json +55 -0
  653. package/resources/skills/drama-production/upstream/skills/short-drama-write/assets/screenplay.md +36 -0
  654. package/resources/skills/drama-production/upstream/skills/short-drama-write/assets/voice-record-sheet.jsonl.md +89 -0
  655. package/resources/skills/drama-production/upstream/skills/short-drama-write/references/dialogue-craft.md +526 -0
  656. package/resources/skills/drama-production/upstream/skills/short-drama-write/references/production-format-dialect.md +273 -0
  657. package/resources/skills/drama-production/upstream/skills/short-drama-write/references/scene-handoff-capsule.md +25 -0
  658. package/resources/skills/drama-production/upstream/skills/short-drama-write/references/scene-sound-dramaturgy.md +43 -0
  659. package/resources/skills/drama-production/upstream/skills/short-drama-write/references/screenplay-format.md +266 -0
  660. package/resources/skills/drama-production/upstream/skills/short-drama-write/references/script-craft.md +745 -0
  661. package/resources/skills/drama-production/upstream/skills/short-drama-write/references/stage-contract.md +36 -0
  662. package/resources/skills/drama-production/upstream/skills/short-drama-write/references/substitutable-realization.md +107 -0
  663. package/resources/skills/drama-production/upstream/skills/short-drama-write/scripts/duration_estimate.py +309 -0
  664. package/resources/skills/drama-production/upstream/skills/short-drama-write/scripts/screenplay_index.py +1091 -0
  665. package/resources/skills/drama-production/upstream/skills/short-drama-write/scripts/selftest.py +229 -0
  666. package/resources/skills/drama-production/upstream/skills/short-drama-write/scripts/voice_sheet_check.py +416 -0
  667. package/resources/skills/viora-canvas-production/manifest.json +23 -0
  668. package/resources/skills/viora-canvas-production/references/canvas-contract.md +50 -0
  669. package/resources/skills/viora-canvas-production/references/creative-production.md +50 -0
  670. package/resources/skills/viora-canvas-production/references/generation-delivery.md +36 -0
  671. package/resources/skills/viora-canvas-production/references/production-ledger.md +25 -0
@@ -4,7 +4,7 @@ var __export = (target, all2) => {
4
4
  __defProp(target, name, { get: all2[name], enumerable: true });
5
5
  };
6
6
 
7
- // node_modules/mdast-util-to-string/lib/index.js
7
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-string/lib/index.js
8
8
  var emptyOptions = {};
9
9
  function toString(value, options) {
10
10
  const settings = options || emptyOptions;
@@ -41,7 +41,7 @@ function node(value) {
41
41
  return Boolean(value && typeof value === "object");
42
42
  }
43
43
 
44
- // node_modules/character-entities/index.js
44
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/character-entities/index.js
45
45
  var characterEntities = {
46
46
  AElig: "\xC6",
47
47
  AMP: "&",
@@ -2170,13 +2170,13 @@ var characterEntities = {
2170
2170
  zwnj: "\u200C"
2171
2171
  };
2172
2172
 
2173
- // node_modules/decode-named-character-reference/index.js
2173
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/decode-named-character-reference/index.js
2174
2174
  var own = {}.hasOwnProperty;
2175
2175
  function decodeNamedCharacterReference(value) {
2176
2176
  return own.call(characterEntities, value) ? characterEntities[value] : false;
2177
2177
  }
2178
2178
 
2179
- // node_modules/micromark-util-chunked/index.js
2179
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-util-chunked/index.js
2180
2180
  function splice(list4, start, remove, items) {
2181
2181
  const end = list4.length;
2182
2182
  let chunkStart = 0;
@@ -2210,7 +2210,7 @@ function push(list4, items) {
2210
2210
  return items;
2211
2211
  }
2212
2212
 
2213
- // node_modules/micromark-util-combine-extensions/index.js
2213
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-util-combine-extensions/index.js
2214
2214
  var hasOwnProperty = {}.hasOwnProperty;
2215
2215
  function combineExtensions(extensions) {
2216
2216
  const all2 = {};
@@ -2250,7 +2250,7 @@ function constructs(existing, list4) {
2250
2250
  splice(existing, 0, 0, before);
2251
2251
  }
2252
2252
 
2253
- // node_modules/micromark-util-decode-numeric-character-reference/index.js
2253
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-util-decode-numeric-character-reference/index.js
2254
2254
  function decodeNumericCharacterReference(value, base) {
2255
2255
  const code3 = Number.parseInt(value, base);
2256
2256
  if (
@@ -2268,12 +2268,12 @@ function decodeNumericCharacterReference(value, base) {
2268
2268
  return String.fromCodePoint(code3);
2269
2269
  }
2270
2270
 
2271
- // node_modules/micromark-util-normalize-identifier/index.js
2271
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-util-normalize-identifier/index.js
2272
2272
  function normalizeIdentifier(value) {
2273
2273
  return value.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
2274
2274
  }
2275
2275
 
2276
- // node_modules/micromark-util-character/index.js
2276
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-util-character/index.js
2277
2277
  var asciiAlpha = regexCheck(/[A-Za-z]/);
2278
2278
  var asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
2279
2279
  var asciiAtext = regexCheck(/[#-'*+\--9=?A-Z^-~]/);
@@ -2305,9 +2305,9 @@ function regexCheck(regex) {
2305
2305
  }
2306
2306
  }
2307
2307
 
2308
- // node_modules/micromark-factory-space/index.js
2308
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-factory-space/index.js
2309
2309
  function factorySpace(effects, ok3, type, max) {
2310
- const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
2310
+ const limit = max ? max - 1 : Infinity;
2311
2311
  let size = 0;
2312
2312
  return start;
2313
2313
  function start(code3) {
@@ -2326,8 +2326,31 @@ function factorySpace(effects, ok3, type, max) {
2326
2326
  return ok3(code3);
2327
2327
  }
2328
2328
  }
2329
+ function factorySpaceMinMax(effects, ok3, nok, type, min, max) {
2330
+ let size = 0;
2331
+ return start;
2332
+ function start(code3) {
2333
+ if (max > 0 && markdownSpace(code3)) {
2334
+ effects.enter(type);
2335
+ return prefix(code3);
2336
+ }
2337
+ return after(code3);
2338
+ }
2339
+ function prefix(code3) {
2340
+ if (markdownSpace(code3) && size < max) {
2341
+ effects.consume(code3);
2342
+ size++;
2343
+ return prefix;
2344
+ }
2345
+ effects.exit(type);
2346
+ return after(code3);
2347
+ }
2348
+ function after(code3) {
2349
+ return size >= min ? ok3(code3) : nok(code3);
2350
+ }
2351
+ }
2329
2352
 
2330
- // node_modules/micromark/lib/initialize/content.js
2353
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark/lib/initialize/content.js
2331
2354
  var content = {
2332
2355
  tokenize: initializeContent
2333
2356
  };
@@ -2377,7 +2400,105 @@ function initializeContent(effects) {
2377
2400
  }
2378
2401
  }
2379
2402
 
2380
- // node_modules/micromark/lib/initialize/document.js
2403
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-util-edit-map/index.js
2404
+ var EditMap = class {
2405
+ /**
2406
+ * Create a new edit map.
2407
+ *
2408
+ * @returns
2409
+ * New instance.
2410
+ */
2411
+ constructor() {
2412
+ this.index = /* @__PURE__ */ new Map();
2413
+ this.map = [];
2414
+ }
2415
+ /**
2416
+ * Create an edit: a remove and/or add at a certain place.
2417
+ *
2418
+ * @param {number} index
2419
+ * Index at which to apply the edit.
2420
+ * @param {number} remove
2421
+ * Count of items to remove at the index.
2422
+ * @param {Array<Event>} add
2423
+ * Items to add at the index.
2424
+ * @returns {undefined}
2425
+ * Nothing.
2426
+ */
2427
+ add(index2, remove, add) {
2428
+ addImplementation(this, index2, remove, add, false);
2429
+ }
2430
+ /**
2431
+ * Create an edit: but insert `add` before existing additions, instead of
2432
+ * after them.
2433
+ *
2434
+ * @param {number} index
2435
+ * Index at which to apply the edit.
2436
+ * @param {number} remove
2437
+ * Count of items to remove at the index.
2438
+ * @param {Array<Event>} add
2439
+ * Items to add at the index.
2440
+ * @returns {undefined}
2441
+ * Nothing.
2442
+ */
2443
+ addBefore(index2, remove, add) {
2444
+ addImplementation(this, index2, remove, add, true);
2445
+ }
2446
+ /**
2447
+ * Done, change the events.
2448
+ *
2449
+ * @param {Array<Event>} events
2450
+ * List of events to apply the edits to.
2451
+ * @returns {undefined}
2452
+ * Nothing.
2453
+ */
2454
+ consume(events) {
2455
+ this.map.sort(function(a, b) {
2456
+ return a[0] - b[0];
2457
+ });
2458
+ if (this.map.length === 0) {
2459
+ return;
2460
+ }
2461
+ let index2 = this.map.length;
2462
+ const vecs = [];
2463
+ while (index2 > 0) {
2464
+ index2 -= 1;
2465
+ vecs.push(events.slice(this.map[index2][0] + this.map[index2][1]), this.map[index2][2]);
2466
+ events.length = this.map[index2][0];
2467
+ }
2468
+ vecs.push(events.slice());
2469
+ events.length = 0;
2470
+ let slice = vecs.pop();
2471
+ while (slice) {
2472
+ for (const element of slice) {
2473
+ events.push(element);
2474
+ }
2475
+ slice = vecs.pop();
2476
+ }
2477
+ this.map.length = 0;
2478
+ this.index.clear();
2479
+ }
2480
+ };
2481
+ function addImplementation(editMap, at, remove, add, before) {
2482
+ if (remove === 0 && add.length === 0) {
2483
+ return;
2484
+ }
2485
+ const existing = editMap.index.get(at);
2486
+ if (existing) {
2487
+ existing[1] += remove;
2488
+ if (before) {
2489
+ add.push(...existing[2]);
2490
+ existing[2] = add;
2491
+ } else {
2492
+ existing[2].push(...add);
2493
+ }
2494
+ return;
2495
+ }
2496
+ const change = [at, remove, add];
2497
+ editMap.map.push(change);
2498
+ editMap.index.set(at, change);
2499
+ }
2500
+
2501
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark/lib/initialize/document.js
2381
2502
  var document = {
2382
2503
  tokenize: initializeDocument
2383
2504
  };
@@ -2424,8 +2545,10 @@ function initializeDocument(effects) {
2424
2545
  };
2425
2546
  index2++;
2426
2547
  }
2427
- splice(self.events, indexBeforeFlow + 1, 0, self.events.slice(indexBeforeExits));
2428
- self.events.length = index2;
2548
+ const editMap = new EditMap();
2549
+ editMap.add(indexBeforeFlow + 1, 0, self.events.slice(indexBeforeExits));
2550
+ editMap.add(indexBeforeExits, index2 - indexBeforeExits, []);
2551
+ editMap.consume(self.events);
2429
2552
  return checkNewContainers(code3);
2430
2553
  }
2431
2554
  return start(code3);
@@ -2444,7 +2567,9 @@ function initializeDocument(effects) {
2444
2567
  return effects.check(containerConstruct, thereIsANewContainer, thereIsNoNewContainer)(code3);
2445
2568
  }
2446
2569
  function thereIsANewContainer(code3) {
2447
- if (childFlow) closeFlow();
2570
+ if (childFlow) {
2571
+ closeFlow();
2572
+ }
2448
2573
  exitContainers(continued);
2449
2574
  return documentContinued(code3);
2450
2575
  }
@@ -2464,7 +2589,9 @@ function initializeDocument(effects) {
2464
2589
  }
2465
2590
  function flowStart(code3) {
2466
2591
  if (code3 === null) {
2467
- if (childFlow) closeFlow();
2592
+ if (childFlow) {
2593
+ closeFlow();
2594
+ }
2468
2595
  exitContainers(0);
2469
2596
  effects.consume(code3);
2470
2597
  return;
@@ -2496,9 +2623,13 @@ function initializeDocument(effects) {
2496
2623
  }
2497
2624
  function writeToChild(token, endOfFile) {
2498
2625
  const stream = self.sliceStream(token);
2499
- if (endOfFile) stream.push(null);
2626
+ if (endOfFile) {
2627
+ stream.push(null);
2628
+ }
2500
2629
  token.previous = childToken;
2501
- if (childToken) childToken.next = token;
2630
+ if (childToken) {
2631
+ childToken.next = token;
2632
+ }
2502
2633
  childToken = token;
2503
2634
  childFlow.defineSkip(token.start);
2504
2635
  childFlow.write(stream);
@@ -2535,8 +2666,10 @@ function initializeDocument(effects) {
2535
2666
  };
2536
2667
  index2++;
2537
2668
  }
2538
- splice(self.events, indexBeforeFlow + 1, 0, self.events.slice(indexBeforeExits));
2539
- self.events.length = index2;
2669
+ const editMap = new EditMap();
2670
+ editMap.add(indexBeforeFlow + 1, 0, self.events.slice(indexBeforeExits));
2671
+ editMap.add(indexBeforeExits, index2 - indexBeforeExits, []);
2672
+ editMap.consume(self.events);
2540
2673
  }
2541
2674
  }
2542
2675
  function exitContainers(size) {
@@ -2559,7 +2692,7 @@ function tokenizeContainer(effects, ok3, nok) {
2559
2692
  return factorySpace(effects, effects.attempt(this.parser.constructs.document, ok3, nok), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
2560
2693
  }
2561
2694
 
2562
- // node_modules/micromark-util-classify-character/index.js
2695
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-util-classify-character/index.js
2563
2696
  function classifyCharacter(code3) {
2564
2697
  if (code3 === null || markdownLineEndingOrSpace(code3) || unicodeWhitespace(code3)) {
2565
2698
  return 1;
@@ -2569,7 +2702,7 @@ function classifyCharacter(code3) {
2569
2702
  }
2570
2703
  }
2571
2704
 
2572
- // node_modules/micromark-util-resolve-all/index.js
2705
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-util-resolve-all/index.js
2573
2706
  function resolveAll(constructs2, events, context) {
2574
2707
  const called = [];
2575
2708
  let index2 = -1;
@@ -2583,7 +2716,7 @@ function resolveAll(constructs2, events, context) {
2583
2716
  return events;
2584
2717
  }
2585
2718
 
2586
- // node_modules/micromark-core-commonmark/lib/attention.js
2719
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/attention.js
2587
2720
  var attention = {
2588
2721
  name: "attention",
2589
2722
  resolveAll: resolveAllAttention,
@@ -2591,24 +2724,17 @@ var attention = {
2591
2724
  };
2592
2725
  function resolveAllAttention(events, context) {
2593
2726
  let index2 = -1;
2594
- let open;
2595
- let group;
2596
- let text5;
2597
- let openingSequence;
2598
- let closingSequence;
2599
- let use;
2600
2727
  let nextEvents;
2601
- let offset;
2602
2728
  while (++index2 < events.length) {
2603
2729
  if (events[index2][0] === "enter" && events[index2][1].type === "attentionSequence" && events[index2][1]._close) {
2604
- open = index2;
2730
+ let open = index2;
2605
2731
  while (open--) {
2606
2732
  if (events[open][0] === "exit" && events[open][1].type === "attentionSequence" && events[open][1]._open && // If the markers are the same:
2607
2733
  context.sliceSerialize(events[open][1]).charCodeAt(0) === context.sliceSerialize(events[index2][1]).charCodeAt(0)) {
2608
2734
  if ((events[open][1]._close || events[index2][1]._open) && (events[index2][1].end.offset - events[index2][1].start.offset) % 3 && !((events[open][1].end.offset - events[open][1].start.offset + events[index2][1].end.offset - events[index2][1].start.offset) % 3)) {
2609
2735
  continue;
2610
2736
  }
2611
- use = events[open][1].end.offset - events[open][1].start.offset > 1 && events[index2][1].end.offset - events[index2][1].start.offset > 1 ? 2 : 1;
2737
+ const use = events[open][1].end.offset - events[open][1].start.offset > 1 && events[index2][1].end.offset - events[index2][1].start.offset > 1 ? 2 : 1;
2612
2738
  const start = {
2613
2739
  ...events[open][1].end
2614
2740
  };
@@ -2617,21 +2743,21 @@ function resolveAllAttention(events, context) {
2617
2743
  };
2618
2744
  movePoint(start, -use);
2619
2745
  movePoint(end, use);
2620
- openingSequence = {
2746
+ const openingSequence = {
2621
2747
  type: use > 1 ? "strongSequence" : "emphasisSequence",
2622
2748
  start,
2623
2749
  end: {
2624
2750
  ...events[open][1].end
2625
2751
  }
2626
2752
  };
2627
- closingSequence = {
2753
+ const closingSequence = {
2628
2754
  type: use > 1 ? "strongSequence" : "emphasisSequence",
2629
2755
  start: {
2630
2756
  ...events[index2][1].start
2631
2757
  },
2632
2758
  end
2633
2759
  };
2634
- text5 = {
2760
+ const text5 = {
2635
2761
  type: use > 1 ? "strongText" : "emphasisText",
2636
2762
  start: {
2637
2763
  ...events[open][1].end
@@ -2640,7 +2766,7 @@ function resolveAllAttention(events, context) {
2640
2766
  ...events[index2][1].start
2641
2767
  }
2642
2768
  };
2643
- group = {
2769
+ const group = {
2644
2770
  type: use > 1 ? "strong" : "emphasis",
2645
2771
  start: {
2646
2772
  ...openingSequence.start
@@ -2662,11 +2788,10 @@ function resolveAllAttention(events, context) {
2662
2788
  nextEvents = push(nextEvents, [["enter", group, context], ["enter", openingSequence, context], ["exit", openingSequence, context], ["enter", text5, context]]);
2663
2789
  nextEvents = push(nextEvents, resolveAll(context.parser.constructs.insideSpan.null, events.slice(open + 1, index2), context));
2664
2790
  nextEvents = push(nextEvents, [["exit", text5, context], ["enter", closingSequence, context], ["exit", closingSequence, context], ["exit", group, context]]);
2791
+ let offset = 0;
2665
2792
  if (events[index2][1].end.offset - events[index2][1].start.offset) {
2666
2793
  offset = 2;
2667
2794
  nextEvents = push(nextEvents, [["enter", events[index2][1], context], ["exit", events[index2][1], context]]);
2668
- } else {
2669
- offset = 0;
2670
2795
  }
2671
2796
  splice(events, open - 1, index2 - open + 3, nextEvents);
2672
2797
  index2 = open + nextEvents.length - offset - 2;
@@ -2701,8 +2826,8 @@ function tokenizeAttention(effects, ok3) {
2701
2826
  }
2702
2827
  const token = effects.exit("attentionSequence");
2703
2828
  const after = classifyCharacter(code3);
2704
- const open = !after || after === 2 && before || attentionMarkers2.includes(code3);
2705
- const close = !before || before === 2 && after || attentionMarkers2.includes(previous3);
2829
+ const open = !after || after === 2 && before || attentionMarkers2.includes(code3) && code3 !== 42 && code3 !== 95;
2830
+ const close = !before || before === 2 && after || attentionMarkers2.includes(previous3) && previous3 !== 42 && previous3 !== 95;
2706
2831
  token._open = Boolean(marker === 42 ? open : open && (before || !close));
2707
2832
  token._close = Boolean(marker === 42 ? close : close && (after || !open));
2708
2833
  return ok3(code3);
@@ -2714,7 +2839,7 @@ function movePoint(point3, offset) {
2714
2839
  point3._bufferIndex += offset;
2715
2840
  }
2716
2841
 
2717
- // node_modules/micromark-core-commonmark/lib/autolink.js
2842
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/autolink.js
2718
2843
  var autolink = {
2719
2844
  name: "autolink",
2720
2845
  tokenize: tokenizeAutolink
@@ -2815,7 +2940,7 @@ function tokenizeAutolink(effects, ok3, nok) {
2815
2940
  }
2816
2941
  }
2817
2942
 
2818
- // node_modules/micromark-core-commonmark/lib/blank-line.js
2943
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/blank-line.js
2819
2944
  var blankLine = {
2820
2945
  partial: true,
2821
2946
  tokenize: tokenizeBlankLine
@@ -2830,7 +2955,7 @@ function tokenizeBlankLine(effects, ok3, nok) {
2830
2955
  }
2831
2956
  }
2832
2957
 
2833
- // node_modules/micromark-core-commonmark/lib/block-quote.js
2958
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/block-quote.js
2834
2959
  var blockQuote = {
2835
2960
  continuation: {
2836
2961
  tokenize: tokenizeBlockQuoteContinuation
@@ -2888,7 +3013,7 @@ function exit(effects) {
2888
3013
  effects.exit("blockQuote");
2889
3014
  }
2890
3015
 
2891
- // node_modules/micromark-core-commonmark/lib/character-escape.js
3016
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/character-escape.js
2892
3017
  var characterEscape = {
2893
3018
  name: "characterEscape",
2894
3019
  tokenize: tokenizeCharacterEscape
@@ -2914,7 +3039,7 @@ function tokenizeCharacterEscape(effects, ok3, nok) {
2914
3039
  }
2915
3040
  }
2916
3041
 
2917
- // node_modules/micromark-core-commonmark/lib/character-reference.js
3042
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/character-reference.js
2918
3043
  var characterReference = {
2919
3044
  name: "characterReference",
2920
3045
  tokenize: tokenizeCharacterReference
@@ -2979,11 +3104,29 @@ function tokenizeCharacterReference(effects, ok3, nok) {
2979
3104
  }
2980
3105
  }
2981
3106
 
2982
- // node_modules/micromark-core-commonmark/lib/code-fenced.js
3107
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js
2983
3108
  var nonLazyContinuation = {
2984
3109
  partial: true,
2985
3110
  tokenize: tokenizeNonLazyContinuation
2986
3111
  };
3112
+ function tokenizeNonLazyContinuation(effects, ok3, nok) {
3113
+ const self = this;
3114
+ return start;
3115
+ function start(code3) {
3116
+ if (code3 === null) {
3117
+ return nok(code3);
3118
+ }
3119
+ effects.enter("lineEnding");
3120
+ effects.consume(code3);
3121
+ effects.exit("lineEnding");
3122
+ return after;
3123
+ }
3124
+ function after(code3) {
3125
+ return self.parser.lazy[self.now().line] ? nok(code3) : ok3(code3);
3126
+ }
3127
+ }
3128
+
3129
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/code-fenced.js
2987
3130
  var codeFenced = {
2988
3131
  concrete: true,
2989
3132
  name: "codeFenced",
@@ -3145,24 +3288,8 @@ function tokenizeCodeFenced(effects, ok3, nok) {
3145
3288
  }
3146
3289
  }
3147
3290
  }
3148
- function tokenizeNonLazyContinuation(effects, ok3, nok) {
3149
- const self = this;
3150
- return start;
3151
- function start(code3) {
3152
- if (code3 === null) {
3153
- return nok(code3);
3154
- }
3155
- effects.enter("lineEnding");
3156
- effects.consume(code3);
3157
- effects.exit("lineEnding");
3158
- return lineStart;
3159
- }
3160
- function lineStart(code3) {
3161
- return self.parser.lazy[self.now().line] ? nok(code3) : ok3(code3);
3162
- }
3163
- }
3164
3291
 
3165
- // node_modules/micromark-core-commonmark/lib/code-indented.js
3292
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/code-indented.js
3166
3293
  var codeIndented = {
3167
3294
  name: "codeIndented",
3168
3295
  tokenize: tokenizeCodeIndented
@@ -3172,15 +3299,10 @@ var furtherStart = {
3172
3299
  tokenize: tokenizeFurtherStart
3173
3300
  };
3174
3301
  function tokenizeCodeIndented(effects, ok3, nok) {
3175
- const self = this;
3176
3302
  return start;
3177
3303
  function start(code3) {
3178
3304
  effects.enter("codeIndented");
3179
- return factorySpace(effects, afterPrefix, "linePrefix", 4 + 1)(code3);
3180
- }
3181
- function afterPrefix(code3) {
3182
- const tail = self.events[self.events.length - 1];
3183
- return tail && tail[1].type === "linePrefix" && tail[2].sliceSerialize(tail[1], true).length >= 4 ? atBreak(code3) : nok(code3);
3305
+ return factorySpaceMinMax(effects, atBreak, nok, "linePrefix", 4, 4)(code3);
3184
3306
  }
3185
3307
  function atBreak(code3) {
3186
3308
  if (code3 === null) {
@@ -3218,15 +3340,14 @@ function tokenizeFurtherStart(effects, ok3, nok) {
3218
3340
  effects.exit("lineEnding");
3219
3341
  return furtherStart2;
3220
3342
  }
3221
- return factorySpace(effects, afterPrefix, "linePrefix", 4 + 1)(code3);
3343
+ return factorySpaceMinMax(effects, ok3, onNotEnoughPrefix, "linePrefix", 4, 4)(code3);
3222
3344
  }
3223
- function afterPrefix(code3) {
3224
- const tail = self.events[self.events.length - 1];
3225
- return tail && tail[1].type === "linePrefix" && tail[2].sliceSerialize(tail[1], true).length >= 4 ? ok3(code3) : markdownLineEnding(code3) ? furtherStart2(code3) : nok(code3);
3345
+ function onNotEnoughPrefix(code3) {
3346
+ return markdownLineEnding(code3) ? furtherStart2(code3) : nok(code3);
3226
3347
  }
3227
3348
  }
3228
3349
 
3229
- // node_modules/micromark-core-commonmark/lib/code-text.js
3350
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/code-text.js
3230
3351
  var codeText = {
3231
3352
  name: "codeText",
3232
3353
  previous,
@@ -3341,7 +3462,7 @@ function tokenizeCodeText(effects, ok3, nok) {
3341
3462
  }
3342
3463
  }
3343
3464
 
3344
- // node_modules/micromark-util-subtokenize/lib/splice-buffer.js
3465
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-util-subtokenize/lib/splice-buffer.js
3345
3466
  var SpliceBuffer = class {
3346
3467
  /**
3347
3468
  * @param {ReadonlyArray<T> | null | undefined} [initial]
@@ -3534,7 +3655,7 @@ function chunkedPush(list4, right) {
3534
3655
  }
3535
3656
  }
3536
3657
 
3537
- // node_modules/micromark-util-subtokenize/index.js
3658
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-util-subtokenize/index.js
3538
3659
  function subtokenize(eventsArray) {
3539
3660
  const jumps = {};
3540
3661
  let index2 = -1;
@@ -3687,7 +3808,7 @@ function subcontent(events, eventIndex) {
3687
3808
  return gaps;
3688
3809
  }
3689
3810
 
3690
- // node_modules/micromark-core-commonmark/lib/content.js
3811
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/content.js
3691
3812
  var content2 = {
3692
3813
  resolve: resolveContent,
3693
3814
  tokenize: tokenizeContent
@@ -3758,7 +3879,7 @@ function tokenizeContinuation(effects, ok3, nok) {
3758
3879
  }
3759
3880
  }
3760
3881
 
3761
- // node_modules/micromark-factory-destination/index.js
3882
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-factory-destination/index.js
3762
3883
  function factoryDestination(effects, ok3, nok, type, literalType, literalMarkerType, rawType, stringType, max) {
3763
3884
  const limit = max || Number.POSITIVE_INFINITY;
3764
3885
  let balance = 0;
@@ -3850,7 +3971,7 @@ function factoryDestination(effects, ok3, nok, type, literalType, literalMarkerT
3850
3971
  }
3851
3972
  }
3852
3973
 
3853
- // node_modules/micromark-factory-label/index.js
3974
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-factory-label/index.js
3854
3975
  function factoryLabel(effects, ok3, nok, type, markerType, stringType) {
3855
3976
  const self = this;
3856
3977
  let size = 0;
@@ -3911,7 +4032,7 @@ function factoryLabel(effects, ok3, nok, type, markerType, stringType) {
3911
4032
  }
3912
4033
  }
3913
4034
 
3914
- // node_modules/micromark-factory-title/index.js
4035
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-factory-title/index.js
3915
4036
  function factoryTitle(effects, ok3, nok, type, markerType, stringType) {
3916
4037
  let marker;
3917
4038
  return start;
@@ -3973,7 +4094,7 @@ function factoryTitle(effects, ok3, nok, type, markerType, stringType) {
3973
4094
  }
3974
4095
  }
3975
4096
 
3976
- // node_modules/micromark-factory-whitespace/index.js
4097
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-factory-whitespace/index.js
3977
4098
  function factoryWhitespace(effects, ok3) {
3978
4099
  let seen;
3979
4100
  return start;
@@ -3992,7 +4113,7 @@ function factoryWhitespace(effects, ok3) {
3992
4113
  }
3993
4114
  }
3994
4115
 
3995
- // node_modules/micromark-core-commonmark/lib/definition.js
4116
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/definition.js
3996
4117
  var definition = {
3997
4118
  name: "definition",
3998
4119
  tokenize: tokenizeDefinition
@@ -4078,7 +4199,7 @@ function tokenizeTitleBefore(effects, ok3, nok) {
4078
4199
  }
4079
4200
  }
4080
4201
 
4081
- // node_modules/micromark-core-commonmark/lib/hard-break-escape.js
4202
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/hard-break-escape.js
4082
4203
  var hardBreakEscape = {
4083
4204
  name: "hardBreakEscape",
4084
4205
  tokenize: tokenizeHardBreakEscape
@@ -4099,7 +4220,7 @@ function tokenizeHardBreakEscape(effects, ok3, nok) {
4099
4220
  }
4100
4221
  }
4101
4222
 
4102
- // node_modules/micromark-core-commonmark/lib/heading-atx.js
4223
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/heading-atx.js
4103
4224
  var headingAtx = {
4104
4225
  name: "headingAtx",
4105
4226
  resolve: resolveHeadingAtx,
@@ -4108,8 +4229,6 @@ var headingAtx = {
4108
4229
  function resolveHeadingAtx(events, context) {
4109
4230
  let contentEnd = events.length - 2;
4110
4231
  let contentStart = 3;
4111
- let content3;
4112
- let text5;
4113
4232
  if (events[contentStart][1].type === "whitespace") {
4114
4233
  contentStart += 2;
4115
4234
  }
@@ -4120,12 +4239,12 @@ function resolveHeadingAtx(events, context) {
4120
4239
  contentEnd -= contentStart + 1 === contentEnd ? 2 : 4;
4121
4240
  }
4122
4241
  if (contentEnd > contentStart) {
4123
- content3 = {
4242
+ const content3 = {
4124
4243
  type: "atxHeadingText",
4125
4244
  start: events[contentStart][1].start,
4126
4245
  end: events[contentEnd][1].end
4127
4246
  };
4128
- text5 = {
4247
+ const text5 = {
4129
4248
  type: "chunkText",
4130
4249
  start: events[contentStart][1].start,
4131
4250
  end: events[contentEnd][1].end,
@@ -4190,7 +4309,7 @@ function tokenizeHeadingAtx(effects, ok3, nok) {
4190
4309
  }
4191
4310
  }
4192
4311
 
4193
- // node_modules/micromark-util-html-tag-name/index.js
4312
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-util-html-tag-name/index.js
4194
4313
  var htmlBlockNames = [
4195
4314
  "address",
4196
4315
  "article",
@@ -4257,7 +4376,7 @@ var htmlBlockNames = [
4257
4376
  ];
4258
4377
  var htmlRawNames = ["pre", "script", "style", "textarea"];
4259
4378
 
4260
- // node_modules/micromark-core-commonmark/lib/html-flow.js
4379
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/html-flow.js
4261
4380
  var htmlFlow = {
4262
4381
  concrete: true,
4263
4382
  name: "htmlFlow",
@@ -4268,10 +4387,6 @@ var blankLineBefore = {
4268
4387
  partial: true,
4269
4388
  tokenize: tokenizeBlankLineBefore
4270
4389
  };
4271
- var nonLazyContinuationStart = {
4272
- partial: true,
4273
- tokenize: tokenizeNonLazyContinuationStart
4274
- };
4275
4390
  function resolveToHtmlFlow(events) {
4276
4391
  let index2 = events.length;
4277
4392
  while (index2--) {
@@ -4533,7 +4648,7 @@ function tokenizeHtmlFlow(effects, ok3, nok) {
4533
4648
  return continuation;
4534
4649
  }
4535
4650
  function continuationStart(code3) {
4536
- return effects.check(nonLazyContinuationStart, continuationStartNonLazy, continuationAfter)(code3);
4651
+ return effects.check(nonLazyContinuation, continuationStartNonLazy, continuationAfter)(code3);
4537
4652
  }
4538
4653
  function continuationStartNonLazy(code3) {
4539
4654
  effects.enter("lineEnding");
@@ -4610,22 +4725,6 @@ function tokenizeHtmlFlow(effects, ok3, nok) {
4610
4725
  return ok3(code3);
4611
4726
  }
4612
4727
  }
4613
- function tokenizeNonLazyContinuationStart(effects, ok3, nok) {
4614
- const self = this;
4615
- return start;
4616
- function start(code3) {
4617
- if (markdownLineEnding(code3)) {
4618
- effects.enter("lineEnding");
4619
- effects.consume(code3);
4620
- effects.exit("lineEnding");
4621
- return after;
4622
- }
4623
- return nok(code3);
4624
- }
4625
- function after(code3) {
4626
- return self.parser.lazy[self.now().line] ? nok(code3) : ok3(code3);
4627
- }
4628
- }
4629
4728
  function tokenizeBlankLineBefore(effects, ok3, nok) {
4630
4729
  return start;
4631
4730
  function start(code3) {
@@ -4636,7 +4735,7 @@ function tokenizeBlankLineBefore(effects, ok3, nok) {
4636
4735
  }
4637
4736
  }
4638
4737
 
4639
- // node_modules/micromark-core-commonmark/lib/html-text.js
4738
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/html-text.js
4640
4739
  var htmlText = {
4641
4740
  name: "htmlText",
4642
4741
  tokenize: tokenizeHtmlText
@@ -4942,7 +5041,7 @@ function tokenizeHtmlText(effects, ok3, nok) {
4942
5041
  }
4943
5042
  }
4944
5043
 
4945
- // node_modules/micromark-core-commonmark/lib/label-end.js
5044
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/label-end.js
4946
5045
  var labelEnd = {
4947
5046
  name: "labelEnd",
4948
5047
  resolveAll: resolveAllLabelEnd,
@@ -4978,12 +5077,11 @@ function resolveAllLabelEnd(events) {
4978
5077
  function resolveToLabelEnd(events, context) {
4979
5078
  let index2 = events.length;
4980
5079
  let offset = 0;
4981
- let token;
4982
5080
  let open;
4983
5081
  let close;
4984
5082
  let media;
4985
5083
  while (index2--) {
4986
- token = events[index2][1];
5084
+ const token = events[index2][1];
4987
5085
  if (open) {
4988
5086
  if (token.type === "link" || token.type === "labelLink" && token._inactive) {
4989
5087
  break;
@@ -5042,14 +5140,14 @@ function resolveToLabelEnd(events, context) {
5042
5140
  }
5043
5141
  function tokenizeLabelEnd(effects, ok3, nok) {
5044
5142
  const self = this;
5045
- let index2 = self.events.length;
5143
+ const labelStarts = self._labelStarts;
5046
5144
  let labelStart;
5047
5145
  let defined;
5048
- while (index2--) {
5049
- if ((self.events[index2][1].type === "labelImage" || self.events[index2][1].type === "labelLink") && !self.events[index2][1]._balanced) {
5050
- labelStart = self.events[index2][1];
5051
- break;
5146
+ if (labelStarts) {
5147
+ while (labelStarts.length > 0 && labelStarts[labelStarts.length - 1]._balanced) {
5148
+ labelStarts.pop();
5052
5149
  }
5150
+ labelStart = labelStarts[labelStarts.length - 1];
5053
5151
  }
5054
5152
  return start;
5055
5153
  function start(code3) {
@@ -5083,6 +5181,7 @@ function tokenizeLabelEnd(effects, ok3, nok) {
5083
5181
  return effects.attempt(referenceCollapsedConstruct, labelEndOk, labelEndNok)(code3);
5084
5182
  }
5085
5183
  function labelEndOk(code3) {
5184
+ labelStarts.pop();
5086
5185
  return ok3(code3);
5087
5186
  }
5088
5187
  function labelEndNok(code3) {
@@ -5168,7 +5267,7 @@ function tokenizeReferenceCollapsed(effects, ok3, nok) {
5168
5267
  }
5169
5268
  }
5170
5269
 
5171
- // node_modules/micromark-core-commonmark/lib/label-start-image.js
5270
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/label-start-image.js
5172
5271
  var labelStartImage = {
5173
5272
  name: "labelStartImage",
5174
5273
  resolveAll: labelEnd.resolveAll,
@@ -5176,6 +5275,7 @@ var labelStartImage = {
5176
5275
  };
5177
5276
  function tokenizeLabelStartImage(effects, ok3, nok) {
5178
5277
  const self = this;
5278
+ let labelImage;
5179
5279
  return start;
5180
5280
  function start(code3) {
5181
5281
  effects.enter("labelImage");
@@ -5189,17 +5289,22 @@ function tokenizeLabelStartImage(effects, ok3, nok) {
5189
5289
  effects.enter("labelMarker");
5190
5290
  effects.consume(code3);
5191
5291
  effects.exit("labelMarker");
5192
- effects.exit("labelImage");
5292
+ labelImage = effects.exit("labelImage");
5193
5293
  return after;
5194
5294
  }
5195
5295
  return nok(code3);
5196
5296
  }
5197
5297
  function after(code3) {
5198
- return code3 === 94 && "_hiddenFootnoteSupport" in self.parser.constructs ? nok(code3) : ok3(code3);
5298
+ if (code3 === 94 && "_hiddenFootnoteSupport" in self.parser.constructs) {
5299
+ return nok(code3);
5300
+ }
5301
+ self._labelStarts = self._labelStarts || [];
5302
+ self._labelStarts.push(labelImage);
5303
+ return ok3(code3);
5199
5304
  }
5200
5305
  }
5201
5306
 
5202
- // node_modules/micromark-core-commonmark/lib/label-start-link.js
5307
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/label-start-link.js
5203
5308
  var labelStartLink = {
5204
5309
  name: "labelStartLink",
5205
5310
  resolveAll: labelEnd.resolveAll,
@@ -5207,21 +5312,27 @@ var labelStartLink = {
5207
5312
  };
5208
5313
  function tokenizeLabelStartLink(effects, ok3, nok) {
5209
5314
  const self = this;
5315
+ let labelLink;
5210
5316
  return start;
5211
5317
  function start(code3) {
5212
5318
  effects.enter("labelLink");
5213
5319
  effects.enter("labelMarker");
5214
5320
  effects.consume(code3);
5215
5321
  effects.exit("labelMarker");
5216
- effects.exit("labelLink");
5322
+ labelLink = effects.exit("labelLink");
5217
5323
  return after;
5218
5324
  }
5219
5325
  function after(code3) {
5220
- return code3 === 94 && "_hiddenFootnoteSupport" in self.parser.constructs ? nok(code3) : ok3(code3);
5326
+ if (code3 === 94 && "_hiddenFootnoteSupport" in self.parser.constructs) {
5327
+ return nok(code3);
5328
+ }
5329
+ self._labelStarts = self._labelStarts || [];
5330
+ self._labelStarts.push(labelLink);
5331
+ return ok3(code3);
5221
5332
  }
5222
5333
  }
5223
5334
 
5224
- // node_modules/micromark-core-commonmark/lib/line-ending.js
5335
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/line-ending.js
5225
5336
  var lineEnding = {
5226
5337
  name: "lineEnding",
5227
5338
  tokenize: tokenizeLineEnding
@@ -5236,7 +5347,7 @@ function tokenizeLineEnding(effects, ok3) {
5236
5347
  }
5237
5348
  }
5238
5349
 
5239
- // node_modules/micromark-core-commonmark/lib/thematic-break.js
5350
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/thematic-break.js
5240
5351
  var thematicBreak = {
5241
5352
  name: "thematicBreak",
5242
5353
  tokenize: tokenizeThematicBreak
@@ -5275,7 +5386,7 @@ function tokenizeThematicBreak(effects, ok3, nok) {
5275
5386
  }
5276
5387
  }
5277
5388
 
5278
- // node_modules/micromark-core-commonmark/lib/list.js
5389
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/list.js
5279
5390
  var list = {
5280
5391
  continuation: {
5281
5392
  tokenize: tokenizeListContinuation
@@ -5405,13 +5516,14 @@ function tokenizeListItemPrefixWhitespace(effects, ok3, nok) {
5405
5516
  }
5406
5517
  }
5407
5518
 
5408
- // node_modules/micromark-core-commonmark/lib/setext-underline.js
5519
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-core-commonmark/lib/setext-underline.js
5409
5520
  var setextUnderline = {
5410
5521
  name: "setextUnderline",
5411
5522
  resolveTo: resolveToSetextUnderline,
5412
5523
  tokenize: tokenizeSetextUnderline
5413
5524
  };
5414
5525
  function resolveToSetextUnderline(events, context) {
5526
+ const editMap = new EditMap();
5415
5527
  let index2 = events.length;
5416
5528
  let content3;
5417
5529
  let text5;
@@ -5427,7 +5539,7 @@ function resolveToSetextUnderline(events, context) {
5427
5539
  }
5428
5540
  } else {
5429
5541
  if (events[index2][1].type === "content") {
5430
- events.splice(index2, 1);
5542
+ editMap.add(index2, 1, []);
5431
5543
  }
5432
5544
  if (!definition3 && events[index2][1].type === "definition") {
5433
5545
  definition3 = index2;
@@ -5445,15 +5557,16 @@ function resolveToSetextUnderline(events, context) {
5445
5557
  };
5446
5558
  events[text5][1].type = "setextHeadingText";
5447
5559
  if (definition3) {
5448
- events.splice(text5, 0, ["enter", heading2, context]);
5449
- events.splice(definition3 + 1, 0, ["exit", events[content3][1], context]);
5560
+ editMap.add(text5, 0, [["enter", heading2, context]]);
5561
+ editMap.add(definition3 + 1, 0, [["exit", events[content3][1], context]]);
5450
5562
  events[content3][1].end = {
5451
5563
  ...events[definition3][1].end
5452
5564
  };
5453
5565
  } else {
5454
5566
  events[content3][1] = heading2;
5455
5567
  }
5456
- events.push(["exit", heading2, context]);
5568
+ editMap.add(events.length, 0, [["exit", heading2, context]]);
5569
+ editMap.consume(events);
5457
5570
  return events;
5458
5571
  }
5459
5572
  function tokenizeSetextUnderline(effects, ok3, nok) {
@@ -5497,7 +5610,7 @@ function tokenizeSetextUnderline(effects, ok3, nok) {
5497
5610
  }
5498
5611
  }
5499
5612
 
5500
- // node_modules/micromark/lib/initialize/flow.js
5613
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark/lib/initialize/flow.js
5501
5614
  var flow = {
5502
5615
  tokenize: initializeFlow
5503
5616
  };
@@ -5535,7 +5648,7 @@ function initializeFlow(effects) {
5535
5648
  }
5536
5649
  }
5537
5650
 
5538
- // node_modules/micromark/lib/initialize/text.js
5651
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark/lib/initialize/text.js
5539
5652
  var resolver = {
5540
5653
  resolveAll: createResolver()
5541
5654
  };
@@ -5613,6 +5726,7 @@ function createResolver(extraResolver) {
5613
5726
  }
5614
5727
  }
5615
5728
  function resolveAllLineSuffixes(events, context) {
5729
+ const editMap = new EditMap();
5616
5730
  let eventIndex = 0;
5617
5731
  while (++eventIndex <= events.length) {
5618
5732
  if ((eventIndex === events.length || events[eventIndex][1].type === "lineEnding") && events[eventIndex - 1][1].type === "data") {
@@ -5630,7 +5744,9 @@ function resolveAllLineSuffixes(events, context) {
5630
5744
  size++;
5631
5745
  bufferIndex--;
5632
5746
  }
5633
- if (bufferIndex) break;
5747
+ if (bufferIndex) {
5748
+ break;
5749
+ }
5634
5750
  bufferIndex = -1;
5635
5751
  } else if (chunk === -2) {
5636
5752
  tabs = true;
@@ -5664,17 +5780,17 @@ function resolveAllLineSuffixes(events, context) {
5664
5780
  if (data.start.offset === data.end.offset) {
5665
5781
  Object.assign(data, token);
5666
5782
  } else {
5667
- events.splice(eventIndex, 0, ["enter", token, context], ["exit", token, context]);
5668
- eventIndex += 2;
5783
+ editMap.add(eventIndex, 0, [["enter", token, context], ["exit", token, context]]);
5669
5784
  }
5670
5785
  }
5671
5786
  eventIndex++;
5672
5787
  }
5673
5788
  }
5789
+ editMap.consume(events);
5674
5790
  return events;
5675
5791
  }
5676
5792
 
5677
- // node_modules/micromark/lib/constructs.js
5793
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark/lib/constructs.js
5678
5794
  var constructs_exports = {};
5679
5795
  __export(constructs_exports, {
5680
5796
  attentionMarkers: () => attentionMarkers,
@@ -5749,7 +5865,7 @@ var disable = {
5749
5865
  null: []
5750
5866
  };
5751
5867
 
5752
- // node_modules/micromark/lib/create-tokenizer.js
5868
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark/lib/create-tokenizer.js
5753
5869
  function createTokenizer(parser, initialize, from) {
5754
5870
  let point3 = {
5755
5871
  _bufferIndex: -1,
@@ -5828,11 +5944,10 @@ function createTokenizer(parser, initialize, from) {
5828
5944
  accountForPotentialSkip();
5829
5945
  }
5830
5946
  function main() {
5831
- let chunkIndex;
5832
5947
  while (point3._index < chunks.length) {
5833
5948
  const chunk = chunks[point3._index];
5834
5949
  if (typeof chunk === "string") {
5835
- chunkIndex = point3._index;
5950
+ const chunkIndex = point3._index;
5836
5951
  if (point3._bufferIndex < 0) {
5837
5952
  point3._bufferIndex = 0;
5838
5953
  }
@@ -6040,30 +6155,34 @@ function serializeChunks(chunks, expandTabs) {
6040
6155
  let value;
6041
6156
  if (typeof chunk === "string") {
6042
6157
  value = chunk;
6043
- } else switch (chunk) {
6044
- case -5: {
6045
- value = "\r";
6046
- break;
6047
- }
6048
- case -4: {
6049
- value = "\n";
6050
- break;
6051
- }
6052
- case -3: {
6053
- value = "\r\n";
6054
- break;
6055
- }
6056
- case -2: {
6057
- value = expandTabs ? " " : " ";
6058
- break;
6059
- }
6060
- case -1: {
6061
- if (!expandTabs && atTab) continue;
6062
- value = " ";
6063
- break;
6064
- }
6065
- default: {
6066
- value = String.fromCharCode(chunk);
6158
+ } else {
6159
+ switch (chunk) {
6160
+ case -5: {
6161
+ value = "\r";
6162
+ break;
6163
+ }
6164
+ case -4: {
6165
+ value = "\n";
6166
+ break;
6167
+ }
6168
+ case -3: {
6169
+ value = "\r\n";
6170
+ break;
6171
+ }
6172
+ case -2: {
6173
+ value = expandTabs ? " " : " ";
6174
+ break;
6175
+ }
6176
+ case -1: {
6177
+ if (!expandTabs && atTab) {
6178
+ continue;
6179
+ }
6180
+ value = " ";
6181
+ break;
6182
+ }
6183
+ default: {
6184
+ value = String.fromCharCode(chunk);
6185
+ }
6067
6186
  }
6068
6187
  }
6069
6188
  atTab = chunk === -2;
@@ -6072,7 +6191,7 @@ function serializeChunks(chunks, expandTabs) {
6072
6191
  return result.join("");
6073
6192
  }
6074
6193
 
6075
- // node_modules/micromark/lib/parse.js
6194
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark/lib/parse.js
6076
6195
  function parse(options) {
6077
6196
  const settings = options || {};
6078
6197
  const constructs2 = (
@@ -6098,14 +6217,14 @@ function parse(options) {
6098
6217
  }
6099
6218
  }
6100
6219
 
6101
- // node_modules/micromark/lib/postprocess.js
6220
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark/lib/postprocess.js
6102
6221
  function postprocess(events) {
6103
6222
  while (!subtokenize(events)) {
6104
6223
  }
6105
6224
  return events;
6106
6225
  }
6107
6226
 
6108
- // node_modules/micromark/lib/preprocess.js
6227
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark/lib/preprocess.js
6109
6228
  var search = /[\0\t\n\r]/g;
6110
6229
  function preprocess() {
6111
6230
  let column = 1;
@@ -6114,14 +6233,9 @@ function preprocess() {
6114
6233
  let atCarriageReturn;
6115
6234
  return preprocessor;
6116
6235
  function preprocessor(value, encoding, end) {
6117
- const chunks = [];
6118
- let match;
6119
- let next;
6120
- let startPosition;
6121
- let endPosition;
6122
- let code3;
6123
6236
  value = buffer + (typeof value === "string" ? value.toString() : new TextDecoder(encoding || void 0).decode(value));
6124
- startPosition = 0;
6237
+ const chunks = [];
6238
+ let startPosition = 0;
6125
6239
  buffer = "";
6126
6240
  if (start) {
6127
6241
  if (value.charCodeAt(0) === 65279) {
@@ -6131,9 +6245,9 @@ function preprocess() {
6131
6245
  }
6132
6246
  while (startPosition < value.length) {
6133
6247
  search.lastIndex = startPosition;
6134
- match = search.exec(value);
6135
- endPosition = match && match.index !== void 0 ? match.index : value.length;
6136
- code3 = value.charCodeAt(endPosition);
6248
+ const match = search.exec(value);
6249
+ const endPosition = match && match.index !== void 0 ? match.index : value.length;
6250
+ const code3 = value.charCodeAt(endPosition);
6137
6251
  if (!match) {
6138
6252
  buffer = value.slice(startPosition);
6139
6253
  break;
@@ -6157,9 +6271,11 @@ function preprocess() {
6157
6271
  break;
6158
6272
  }
6159
6273
  case 9: {
6160
- next = Math.ceil(column / 4) * 4;
6274
+ const next = Math.ceil(column / 4) * 4;
6161
6275
  chunks.push(-2);
6162
- while (column++ < next) chunks.push(-1);
6276
+ while (column++ < next) {
6277
+ chunks.push(-1);
6278
+ }
6163
6279
  break;
6164
6280
  }
6165
6281
  case 10: {
@@ -6176,15 +6292,19 @@ function preprocess() {
6176
6292
  startPosition = endPosition + 1;
6177
6293
  }
6178
6294
  if (end) {
6179
- if (atCarriageReturn) chunks.push(-5);
6180
- if (buffer) chunks.push(buffer);
6295
+ if (atCarriageReturn) {
6296
+ chunks.push(-5);
6297
+ }
6298
+ if (buffer) {
6299
+ chunks.push(buffer);
6300
+ }
6181
6301
  chunks.push(null);
6182
6302
  }
6183
6303
  return chunks;
6184
6304
  }
6185
6305
  }
6186
6306
 
6187
- // node_modules/micromark-util-decode-string/index.js
6307
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-util-decode-string/index.js
6188
6308
  var characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
6189
6309
  function decodeString(value) {
6190
6310
  return value.replace(characterEscapeOrReference, decode);
@@ -6202,7 +6322,7 @@ function decode($0, $1, $2) {
6202
6322
  return decodeNamedCharacterReference($2) || $0;
6203
6323
  }
6204
6324
 
6205
- // node_modules/unist-util-stringify-position/lib/index.js
6325
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/unist-util-stringify-position/lib/index.js
6206
6326
  function stringifyPosition(value) {
6207
6327
  if (!value || typeof value !== "object") {
6208
6328
  return "";
@@ -6228,7 +6348,7 @@ function index(value) {
6228
6348
  return value && typeof value === "number" ? value : 1;
6229
6349
  }
6230
6350
 
6231
- // node_modules/mdast-util-from-markdown/lib/index.js
6351
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-from-markdown/lib/index.js
6232
6352
  var own2 = {}.hasOwnProperty;
6233
6353
  function fromMarkdown(value, encoding, options) {
6234
6354
  if (encoding && typeof encoding === "object") {
@@ -6937,7 +7057,7 @@ function defaultOnError(left, right) {
6937
7057
  }
6938
7058
  }
6939
7059
 
6940
- // node_modules/ccount/index.js
7060
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/ccount/index.js
6941
7061
  function ccount(value, character) {
6942
7062
  const source = String(value);
6943
7063
  if (typeof character !== "string") {
@@ -6952,11 +7072,11 @@ function ccount(value, character) {
6952
7072
  return count;
6953
7073
  }
6954
7074
 
6955
- // node_modules/devlop/lib/default.js
7075
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/devlop/lib/default.js
6956
7076
  function ok() {
6957
7077
  }
6958
7078
 
6959
- // node_modules/escape-string-regexp/index.js
7079
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/escape-string-regexp/index.js
6960
7080
  function escapeStringRegexp(string3) {
6961
7081
  if (typeof string3 !== "string") {
6962
7082
  throw new TypeError("Expected a string");
@@ -6964,7 +7084,7 @@ function escapeStringRegexp(string3) {
6964
7084
  return string3.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
6965
7085
  }
6966
7086
 
6967
- // node_modules/unist-util-is/lib/index.js
7087
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/unist-util-is/lib/index.js
6968
7088
  var convert = (
6969
7089
  // Note: overloads in JSDoc can’t yet use different `@template`s.
6970
7090
  /**
@@ -7063,12 +7183,12 @@ function looksLikeANode(value) {
7063
7183
  return value !== null && typeof value === "object" && "type" in value;
7064
7184
  }
7065
7185
 
7066
- // node_modules/unist-util-visit-parents/lib/color.node.js
7186
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/unist-util-visit-parents/lib/color.node.js
7067
7187
  function color(d) {
7068
7188
  return "\x1B[33m" + d + "\x1B[39m";
7069
7189
  }
7070
7190
 
7071
- // node_modules/unist-util-visit-parents/lib/index.js
7191
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/unist-util-visit-parents/lib/index.js
7072
7192
  var empty = [];
7073
7193
  var CONTINUE = true;
7074
7194
  var EXIT = false;
@@ -7145,7 +7265,7 @@ function toResult(value) {
7145
7265
  return value === null || value === void 0 ? empty : [value];
7146
7266
  }
7147
7267
 
7148
- // node_modules/mdast-util-find-and-replace/lib/index.js
7268
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-find-and-replace/lib/index.js
7149
7269
  function findAndReplace(tree, list4, options) {
7150
7270
  const settings = options || {};
7151
7271
  const ignored = convert(settings.ignore || []);
@@ -7250,7 +7370,7 @@ function toFunction(replace2) {
7250
7370
  };
7251
7371
  }
7252
7372
 
7253
- // node_modules/mdast-util-gfm-autolink-literal/lib/index.js
7373
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-gfm-autolink-literal/lib/index.js
7254
7374
  var inConstruct = "phrasing";
7255
7375
  var notInConstruct = ["autolink", "link", "image", "label"];
7256
7376
  function gfmAutolinkLiteralFromMarkdown() {
@@ -7400,7 +7520,7 @@ function previous2(match, email) {
7400
7520
  (!email || code3 !== 47);
7401
7521
  }
7402
7522
 
7403
- // node_modules/mdast-util-gfm-footnote/lib/index.js
7523
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-gfm-footnote/lib/index.js
7404
7524
  footnoteReference.peek = footnoteReferencePeek;
7405
7525
  function enterFootnoteCallString() {
7406
7526
  this.buffer();
@@ -7513,7 +7633,7 @@ function mapAll(line, index2, blank) {
7513
7633
  return (blank ? "" : " ") + line;
7514
7634
  }
7515
7635
 
7516
- // node_modules/mdast-util-gfm-strikethrough/lib/index.js
7636
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-gfm-strikethrough/lib/index.js
7517
7637
  var constructsWithoutStrikethrough = [
7518
7638
  "autolink",
7519
7639
  "destinationLiteral",
@@ -7522,6 +7642,7 @@ var constructsWithoutStrikethrough = [
7522
7642
  "titleQuote",
7523
7643
  "titleApostrophe"
7524
7644
  ];
7645
+ handleDelete.attention = attentionDelete;
7525
7646
  handleDelete.peek = peekDelete;
7526
7647
  function gfmStrikethroughFromMarkdown() {
7527
7648
  return {
@@ -7532,40 +7653,44 @@ function gfmStrikethroughFromMarkdown() {
7532
7653
  }
7533
7654
  function gfmStrikethroughToMarkdown() {
7534
7655
  return {
7656
+ handlers: { delete: handleDelete },
7535
7657
  unsafe: [
7536
7658
  {
7537
7659
  character: "~",
7538
7660
  inConstruct: "phrasing",
7539
7661
  notInConstruct: constructsWithoutStrikethrough
7540
7662
  }
7541
- ],
7542
- handlers: { delete: handleDelete }
7663
+ ]
7543
7664
  };
7544
7665
  }
7545
7666
  function enterStrikethrough(token) {
7546
- this.enter({ type: "delete", children: [] }, token);
7667
+ this.enter({ type: "delete", children: [], position: void 0 }, token);
7547
7668
  }
7548
7669
  function exitStrikethrough(token) {
7549
7670
  this.exit(token);
7550
7671
  }
7551
7672
  function handleDelete(node2, _, state, info) {
7552
7673
  const tracker = state.createTracker(info);
7674
+ const sequence = state.stack.includes("strikethrough") ? "~" : "~~";
7553
7675
  const exit3 = state.enter("strikethrough");
7554
- let value = tracker.move("~~");
7676
+ let value = tracker.move(sequence);
7555
7677
  value += state.containerPhrasing(node2, {
7556
7678
  ...tracker.current(),
7557
7679
  before: value,
7558
7680
  after: "~"
7559
7681
  });
7560
- value += tracker.move("~~");
7682
+ value += tracker.move(sequence);
7561
7683
  exit3();
7562
7684
  return value;
7563
7685
  }
7686
+ function attentionDelete() {
7687
+ return { construct: "strikethrough", markers: ["~"], sizes: [2, 1] };
7688
+ }
7564
7689
  function peekDelete() {
7565
7690
  return "~";
7566
7691
  }
7567
7692
 
7568
- // node_modules/markdown-table/index.js
7693
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/markdown-table/index.js
7569
7694
  function defaultStringLength(value) {
7570
7695
  return value.length;
7571
7696
  }
@@ -7706,7 +7831,7 @@ function toAlignment(value) {
7706
7831
  return code3 === 67 || code3 === 99 ? 99 : code3 === 76 || code3 === 108 ? 108 : code3 === 82 || code3 === 114 ? 114 : 0;
7707
7832
  }
7708
7833
 
7709
- // node_modules/zwitch/index.js
7834
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/zwitch/index.js
7710
7835
  var own3 = {}.hasOwnProperty;
7711
7836
  function zwitch(key, options) {
7712
7837
  const settings = options || {};
@@ -7727,7 +7852,7 @@ function zwitch(key, options) {
7727
7852
  return one2;
7728
7853
  }
7729
7854
 
7730
- // node_modules/mdast-util-to-markdown/lib/configure.js
7855
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/configure.js
7731
7856
  var own4 = {}.hasOwnProperty;
7732
7857
  function configure2(base, extension2) {
7733
7858
  let index2 = -1;
@@ -7775,7 +7900,7 @@ function map(left, right) {
7775
7900
  }
7776
7901
  }
7777
7902
 
7778
- // node_modules/mdast-util-to-markdown/lib/handle/blockquote.js
7903
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js
7779
7904
  function blockquote(node2, _, state, info) {
7780
7905
  const exit3 = state.enter("blockquote");
7781
7906
  const tracker = state.createTracker(info);
@@ -7792,7 +7917,7 @@ function map2(line, _, blank) {
7792
7917
  return ">" + (blank ? "" : " ") + line;
7793
7918
  }
7794
7919
 
7795
- // node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js
7920
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js
7796
7921
  function patternInScope(stack, pattern) {
7797
7922
  return listInScope(stack, pattern.inConstruct, true) && !listInScope(stack, pattern.notInConstruct, false);
7798
7923
  }
@@ -7812,7 +7937,7 @@ function listInScope(stack, list4, none) {
7812
7937
  return false;
7813
7938
  }
7814
7939
 
7815
- // node_modules/mdast-util-to-markdown/lib/handle/break.js
7940
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/break.js
7816
7941
  function hardBreak(_, _1, state, info) {
7817
7942
  let index2 = -1;
7818
7943
  while (++index2 < state.unsafe.length) {
@@ -7823,7 +7948,7 @@ function hardBreak(_, _1, state, info) {
7823
7948
  return "\\\n";
7824
7949
  }
7825
7950
 
7826
- // node_modules/longest-streak/index.js
7951
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/longest-streak/index.js
7827
7952
  function longestStreak(value, substring) {
7828
7953
  const source = String(value);
7829
7954
  let index2 = source.indexOf(substring);
@@ -7847,7 +7972,7 @@ function longestStreak(value, substring) {
7847
7972
  return max;
7848
7973
  }
7849
7974
 
7850
- // node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js
7975
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js
7851
7976
  function formatCodeAsIndented(node2, state) {
7852
7977
  return Boolean(
7853
7978
  state.options.fences === false && node2.value && // If there’s no info…
@@ -7857,7 +7982,7 @@ function formatCodeAsIndented(node2, state) {
7857
7982
  );
7858
7983
  }
7859
7984
 
7860
- // node_modules/mdast-util-to-markdown/lib/util/check-fence.js
7985
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/check-fence.js
7861
7986
  function checkFence(state) {
7862
7987
  const marker = state.options.fence || "`";
7863
7988
  if (marker !== "`" && marker !== "~") {
@@ -7868,7 +7993,7 @@ function checkFence(state) {
7868
7993
  return marker;
7869
7994
  }
7870
7995
 
7871
- // node_modules/mdast-util-to-markdown/lib/handle/code.js
7996
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/code.js
7872
7997
  function code(node2, _, state, info) {
7873
7998
  const marker = checkFence(state);
7874
7999
  const raw = node2.value || "";
@@ -7920,7 +8045,7 @@ function map3(line, _, blank) {
7920
8045
  return (blank ? "" : " ") + line;
7921
8046
  }
7922
8047
 
7923
- // node_modules/mdast-util-to-markdown/lib/util/check-quote.js
8048
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/check-quote.js
7924
8049
  function checkQuote(state) {
7925
8050
  const marker = state.options.quote || '"';
7926
8051
  if (marker !== '"' && marker !== "'") {
@@ -7931,7 +8056,7 @@ function checkQuote(state) {
7931
8056
  return marker;
7932
8057
  }
7933
8058
 
7934
- // node_modules/mdast-util-to-markdown/lib/handle/definition.js
8059
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/definition.js
7935
8060
  function definition2(node2, _, state, info) {
7936
8061
  const quote = checkQuote(state);
7937
8062
  const suffix = quote === '"' ? "Quote" : "Apostrophe";
@@ -7987,7 +8112,7 @@ function definition2(node2, _, state, info) {
7987
8112
  return value;
7988
8113
  }
7989
8114
 
7990
- // node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
8115
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
7991
8116
  function checkEmphasis(state) {
7992
8117
  const marker = state.options.emphasis || "*";
7993
8118
  if (marker !== "*" && marker !== "_") {
@@ -7998,12 +8123,12 @@ function checkEmphasis(state) {
7998
8123
  return marker;
7999
8124
  }
8000
8125
 
8001
- // node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
8126
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
8002
8127
  function encodeCharacterReference(code3) {
8003
8128
  return "&#x" + code3.toString(16).toUpperCase() + ";";
8004
8129
  }
8005
8130
 
8006
- // node_modules/mdast-util-to-markdown/lib/util/encode-info.js
8131
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/encode-info.js
8007
8132
  function encodeInfo(outside, inside, marker) {
8008
8133
  const outsideKind = classifyCharacter(outside);
8009
8134
  const insideKind = classifyCharacter(inside);
@@ -8045,7 +8170,7 @@ function encodeInfo(outside, inside, marker) {
8045
8170
  );
8046
8171
  }
8047
8172
 
8048
- // node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
8173
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
8049
8174
  emphasis.peek = emphasisPeek;
8050
8175
  function emphasis(node2, _, state, info) {
8051
8176
  const marker = checkEmphasis(state);
@@ -8085,7 +8210,7 @@ function emphasisPeek(_, _1, state) {
8085
8210
  return state.options.emphasis || "*";
8086
8211
  }
8087
8212
 
8088
- // node_modules/unist-util-visit/lib/index.js
8213
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/unist-util-visit/lib/index.js
8089
8214
  function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
8090
8215
  let reverse;
8091
8216
  let test;
@@ -8107,7 +8232,7 @@ function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
8107
8232
  }
8108
8233
  }
8109
8234
 
8110
- // node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js
8235
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js
8111
8236
  function formatHeadingAsSetext(node2, state) {
8112
8237
  let literalWithBreak = false;
8113
8238
  visit(node2, function(node3) {
@@ -8121,7 +8246,7 @@ function formatHeadingAsSetext(node2, state) {
8121
8246
  );
8122
8247
  }
8123
8248
 
8124
- // node_modules/mdast-util-to-markdown/lib/handle/heading.js
8249
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/heading.js
8125
8250
  function heading(node2, _, state, info) {
8126
8251
  const rank = Math.max(Math.min(6, node2.depth || 1), 1);
8127
8252
  const tracker = state.createTracker(info);
@@ -8163,7 +8288,7 @@ function heading(node2, _, state, info) {
8163
8288
  return value;
8164
8289
  }
8165
8290
 
8166
- // node_modules/mdast-util-to-markdown/lib/handle/html.js
8291
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/html.js
8167
8292
  html.peek = htmlPeek;
8168
8293
  function html(node2) {
8169
8294
  return node2.value || "";
@@ -8172,7 +8297,7 @@ function htmlPeek() {
8172
8297
  return "<";
8173
8298
  }
8174
8299
 
8175
- // node_modules/mdast-util-to-markdown/lib/handle/image.js
8300
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/image.js
8176
8301
  image.peek = imagePeek;
8177
8302
  function image(node2, _, state, info) {
8178
8303
  const quote = checkQuote(state);
@@ -8229,7 +8354,7 @@ function imagePeek() {
8229
8354
  return "!";
8230
8355
  }
8231
8356
 
8232
- // node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
8357
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
8233
8358
  imageReference.peek = imageReferencePeek;
8234
8359
  function imageReference(node2, _, state, info) {
8235
8360
  const type = node2.referenceType;
@@ -8268,7 +8393,7 @@ function imageReferencePeek() {
8268
8393
  return "!";
8269
8394
  }
8270
8395
 
8271
- // node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
8396
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
8272
8397
  inlineCode.peek = inlineCodePeek;
8273
8398
  function inlineCode(node2, _, state) {
8274
8399
  let value = node2.value || "";
@@ -8299,7 +8424,7 @@ function inlineCodePeek() {
8299
8424
  return "`";
8300
8425
  }
8301
8426
 
8302
- // node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
8427
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
8303
8428
  function formatLinkAsAutolink(node2, state) {
8304
8429
  const raw = toString(node2);
8305
8430
  return Boolean(
@@ -8314,7 +8439,7 @@ function formatLinkAsAutolink(node2, state) {
8314
8439
  );
8315
8440
  }
8316
8441
 
8317
- // node_modules/mdast-util-to-markdown/lib/handle/link.js
8442
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/link.js
8318
8443
  link.peek = linkPeek;
8319
8444
  function link(node2, _, state, info) {
8320
8445
  const quote = checkQuote(state);
@@ -8394,7 +8519,7 @@ function linkPeek(node2, _, state) {
8394
8519
  return formatLinkAsAutolink(node2, state) ? "<" : "[";
8395
8520
  }
8396
8521
 
8397
- // node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
8522
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
8398
8523
  linkReference.peek = linkReferencePeek;
8399
8524
  function linkReference(node2, _, state, info) {
8400
8525
  const type = node2.referenceType;
@@ -8433,7 +8558,7 @@ function linkReferencePeek() {
8433
8558
  return "[";
8434
8559
  }
8435
8560
 
8436
- // node_modules/mdast-util-to-markdown/lib/util/check-bullet.js
8561
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js
8437
8562
  function checkBullet(state) {
8438
8563
  const marker = state.options.bullet || "*";
8439
8564
  if (marker !== "*" && marker !== "+" && marker !== "-") {
@@ -8444,7 +8569,7 @@ function checkBullet(state) {
8444
8569
  return marker;
8445
8570
  }
8446
8571
 
8447
- // node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js
8572
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js
8448
8573
  function checkBulletOther(state) {
8449
8574
  const bullet = checkBullet(state);
8450
8575
  const bulletOther = state.options.bulletOther;
@@ -8464,7 +8589,7 @@ function checkBulletOther(state) {
8464
8589
  return bulletOther;
8465
8590
  }
8466
8591
 
8467
- // node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js
8592
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js
8468
8593
  function checkBulletOrdered(state) {
8469
8594
  const marker = state.options.bulletOrdered || ".";
8470
8595
  if (marker !== "." && marker !== ")") {
@@ -8475,7 +8600,7 @@ function checkBulletOrdered(state) {
8475
8600
  return marker;
8476
8601
  }
8477
8602
 
8478
- // node_modules/mdast-util-to-markdown/lib/util/check-rule.js
8603
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/check-rule.js
8479
8604
  function checkRule(state) {
8480
8605
  const marker = state.options.rule || "*";
8481
8606
  if (marker !== "*" && marker !== "-" && marker !== "_") {
@@ -8486,7 +8611,7 @@ function checkRule(state) {
8486
8611
  return marker;
8487
8612
  }
8488
8613
 
8489
- // node_modules/mdast-util-to-markdown/lib/handle/list.js
8614
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/list.js
8490
8615
  function list3(node2, parent, state, info) {
8491
8616
  const exit3 = state.enter("list");
8492
8617
  const bulletCurrent = state.bulletCurrent;
@@ -8526,7 +8651,7 @@ function list3(node2, parent, state, info) {
8526
8651
  return value;
8527
8652
  }
8528
8653
 
8529
- // node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js
8654
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js
8530
8655
  function checkListItemIndent(state) {
8531
8656
  const style = state.options.listItemIndent || "one";
8532
8657
  if (style !== "tab" && style !== "one" && style !== "mixed") {
@@ -8537,7 +8662,7 @@ function checkListItemIndent(state) {
8537
8662
  return style;
8538
8663
  }
8539
8664
 
8540
- // node_modules/mdast-util-to-markdown/lib/handle/list-item.js
8665
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/list-item.js
8541
8666
  function listItem(node2, parent, state, info) {
8542
8667
  const listItemIndent = checkListItemIndent(state);
8543
8668
  let bullet = state.bulletCurrent || checkBullet(state);
@@ -8566,7 +8691,7 @@ function listItem(node2, parent, state, info) {
8566
8691
  }
8567
8692
  }
8568
8693
 
8569
- // node_modules/mdast-util-to-markdown/lib/handle/paragraph.js
8694
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js
8570
8695
  function paragraph(node2, _, state, info) {
8571
8696
  const exit3 = state.enter("paragraph");
8572
8697
  const subexit = state.enter("phrasing");
@@ -8576,7 +8701,7 @@ function paragraph(node2, _, state, info) {
8576
8701
  return value;
8577
8702
  }
8578
8703
 
8579
- // node_modules/mdast-util-phrasing/lib/index.js
8704
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-phrasing/lib/index.js
8580
8705
  var phrasing = (
8581
8706
  /** @type {(node?: unknown) => node is Exclude<PhrasingContent, Html>} */
8582
8707
  convert([
@@ -8604,7 +8729,7 @@ var phrasing = (
8604
8729
  ])
8605
8730
  );
8606
8731
 
8607
- // node_modules/mdast-util-to-markdown/lib/handle/root.js
8732
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/root.js
8608
8733
  function root(node2, _, state, info) {
8609
8734
  const hasPhrasing = node2.children.some(function(d) {
8610
8735
  return phrasing(d);
@@ -8613,7 +8738,7 @@ function root(node2, _, state, info) {
8613
8738
  return container.call(state, node2, info);
8614
8739
  }
8615
8740
 
8616
- // node_modules/mdast-util-to-markdown/lib/util/check-strong.js
8741
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/check-strong.js
8617
8742
  function checkStrong(state) {
8618
8743
  const marker = state.options.strong || "*";
8619
8744
  if (marker !== "*" && marker !== "_") {
@@ -8624,7 +8749,7 @@ function checkStrong(state) {
8624
8749
  return marker;
8625
8750
  }
8626
8751
 
8627
- // node_modules/mdast-util-to-markdown/lib/handle/strong.js
8752
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/strong.js
8628
8753
  strong.peek = strongPeek;
8629
8754
  function strong(node2, _, state, info) {
8630
8755
  const marker = checkStrong(state);
@@ -8664,12 +8789,12 @@ function strongPeek(_, _1, state) {
8664
8789
  return state.options.strong || "*";
8665
8790
  }
8666
8791
 
8667
- // node_modules/mdast-util-to-markdown/lib/handle/text.js
8792
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/text.js
8668
8793
  function text3(node2, _, state, info) {
8669
8794
  return state.safe(node2.value, info);
8670
8795
  }
8671
8796
 
8672
- // node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js
8797
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js
8673
8798
  function checkRuleRepetition(state) {
8674
8799
  const repetition = state.options.ruleRepetition || 3;
8675
8800
  if (repetition < 3) {
@@ -8680,13 +8805,13 @@ function checkRuleRepetition(state) {
8680
8805
  return repetition;
8681
8806
  }
8682
8807
 
8683
- // node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js
8808
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js
8684
8809
  function thematicBreak2(_, _1, state) {
8685
8810
  const value = (checkRule(state) + (state.options.ruleSpaces ? " " : "")).repeat(checkRuleRepetition(state));
8686
8811
  return state.options.ruleSpaces ? value.slice(0, -1) : value;
8687
8812
  }
8688
8813
 
8689
- // node_modules/mdast-util-to-markdown/lib/handle/index.js
8814
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/handle/index.js
8690
8815
  var handle = {
8691
8816
  blockquote,
8692
8817
  break: hardBreak,
@@ -8710,7 +8835,7 @@ var handle = {
8710
8835
  thematicBreak: thematicBreak2
8711
8836
  };
8712
8837
 
8713
- // node_modules/mdast-util-to-markdown/lib/join.js
8838
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/join.js
8714
8839
  var join = [joinDefaults];
8715
8840
  function joinDefaults(left, right, parent, state) {
8716
8841
  if (right.type === "code" && formatCodeAsIndented(right, state) && (left.type === "list" || left.type === right.type && formatCodeAsIndented(left, state))) {
@@ -8726,7 +8851,7 @@ function joinDefaults(left, right, parent, state) {
8726
8851
  }
8727
8852
  }
8728
8853
 
8729
- // node_modules/mdast-util-to-markdown/lib/unsafe.js
8854
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/unsafe.js
8730
8855
  var fullPhrasingSpans = [
8731
8856
  "autolink",
8732
8857
  "destinationLiteral",
@@ -8860,7 +8985,7 @@ var unsafe = [
8860
8985
  { atBreak: true, character: "~" }
8861
8986
  ];
8862
8987
 
8863
- // node_modules/mdast-util-to-markdown/lib/util/association.js
8988
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/association.js
8864
8989
  function association(node2) {
8865
8990
  if (node2.label || !node2.identifier) {
8866
8991
  return node2.label || "";
@@ -8868,7 +8993,7 @@ function association(node2) {
8868
8993
  return decodeString(node2.identifier);
8869
8994
  }
8870
8995
 
8871
- // node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js
8996
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js
8872
8997
  function compilePattern(pattern) {
8873
8998
  if (!pattern._compiled) {
8874
8999
  const before = (pattern.atBreak ? "[\\r\\n][\\t ]*" : "") + (pattern.before ? "(?:" + pattern.before + ")" : "");
@@ -8880,7 +9005,7 @@ function compilePattern(pattern) {
8880
9005
  return pattern._compiled;
8881
9006
  }
8882
9007
 
8883
- // node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js
9008
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js
8884
9009
  function containerPhrasing(parent, state, info) {
8885
9010
  const indexStack = state.indexStack;
8886
9011
  const children = parent.children || [];
@@ -8939,7 +9064,7 @@ function containerPhrasing(parent, state, info) {
8939
9064
  return results.join("");
8940
9065
  }
8941
9066
 
8942
- // node_modules/mdast-util-to-markdown/lib/util/container-flow.js
9067
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/container-flow.js
8943
9068
  function containerFlow(parent, state, info) {
8944
9069
  const indexStack = state.indexStack;
8945
9070
  const children = parent.children || [];
@@ -8988,7 +9113,7 @@ function between(left, right, parent, state) {
8988
9113
  return "\n\n";
8989
9114
  }
8990
9115
 
8991
- // node_modules/mdast-util-to-markdown/lib/util/indent-lines.js
9116
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js
8992
9117
  var eol = /\r?\n|\r/g;
8993
9118
  function indentLines(value, map4) {
8994
9119
  const result = [];
@@ -9008,7 +9133,7 @@ function indentLines(value, map4) {
9008
9133
  }
9009
9134
  }
9010
9135
 
9011
- // node_modules/mdast-util-to-markdown/lib/util/safe.js
9136
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/safe.js
9012
9137
  function safe(state, input, config) {
9013
9138
  const value = (config.before || "") + (input || "") + (config.after || "");
9014
9139
  const positions = [];
@@ -9090,7 +9215,7 @@ function escapeBackslashes(value, after) {
9090
9215
  return results.join("");
9091
9216
  }
9092
9217
 
9093
- // node_modules/mdast-util-to-markdown/lib/util/track.js
9218
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/util/track.js
9094
9219
  function track(config) {
9095
9220
  const options = config || {};
9096
9221
  const now = options.now || {};
@@ -9114,7 +9239,7 @@ function track(config) {
9114
9239
  }
9115
9240
  }
9116
9241
 
9117
- // node_modules/mdast-util-to-markdown/lib/index.js
9242
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-to-markdown/lib/index.js
9118
9243
  function toMarkdown(tree, options) {
9119
9244
  const settings = options || {};
9120
9245
  const state = {
@@ -9189,7 +9314,7 @@ function safeBound(value, config) {
9189
9314
  return safe(this, value, config);
9190
9315
  }
9191
9316
 
9192
- // node_modules/mdast-util-gfm-table/lib/index.js
9317
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-gfm-table/lib/index.js
9193
9318
  function gfmTableFromMarkdown() {
9194
9319
  return {
9195
9320
  enter: {
@@ -9342,7 +9467,7 @@ function gfmTableToMarkdown(options) {
9342
9467
  }
9343
9468
  }
9344
9469
 
9345
- // node_modules/mdast-util-gfm-task-list-item/lib/index.js
9470
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-gfm-task-list-item/lib/index.js
9346
9471
  function gfmTaskListItemFromMarkdown() {
9347
9472
  return {
9348
9473
  exit: {
@@ -9415,7 +9540,7 @@ function listItemWithTaskListItem(node2, parent, state, info) {
9415
9540
  }
9416
9541
  }
9417
9542
 
9418
- // node_modules/mdast-util-gfm/lib/index.js
9543
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/mdast-util-gfm/lib/index.js
9419
9544
  function gfmFromMarkdown() {
9420
9545
  return [
9421
9546
  gfmAutolinkLiteralFromMarkdown(),
@@ -9437,7 +9562,7 @@ function gfmToMarkdown(options) {
9437
9562
  };
9438
9563
  }
9439
9564
 
9440
- // node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
9565
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
9441
9566
  var wwwPrefix = {
9442
9567
  tokenize: tokenizeWwwPrefix,
9443
9568
  partial: true
@@ -9779,7 +9904,7 @@ function previousUnbalanced(events) {
9779
9904
  return result;
9780
9905
  }
9781
9906
 
9782
- // node_modules/micromark-extension-gfm-footnote/lib/syntax.js
9907
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-extension-gfm-footnote/lib/syntax.js
9783
9908
  var indent = {
9784
9909
  tokenize: tokenizeIndent2,
9785
9910
  partial: true
@@ -10054,7 +10179,7 @@ function tokenizeIndent2(effects, ok3, nok) {
10054
10179
  }
10055
10180
  }
10056
10181
 
10057
- // node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
10182
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
10058
10183
  function gfmStrikethrough(options) {
10059
10184
  const options_ = options || {};
10060
10185
  let single = options_.singleTilde;
@@ -10148,24 +10273,29 @@ function gfmStrikethrough(options) {
10148
10273
  }
10149
10274
  }
10150
10275
 
10151
- // node_modules/micromark-extension-gfm-table/lib/edit-map.js
10152
- var EditMap = class {
10276
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-extension-gfm-table/lib/edit-map.js
10277
+ var EditMap2 = class {
10153
10278
  /**
10154
10279
  * Create a new edit map.
10155
10280
  */
10156
10281
  constructor() {
10157
10282
  this.map = [];
10283
+ this.index = /* @__PURE__ */ new Map();
10158
10284
  }
10159
10285
  /**
10160
10286
  * Create an edit: a remove and/or add at a certain place.
10161
10287
  *
10162
10288
  * @param {number} index
10289
+ * Index at which to apply the edit.
10163
10290
  * @param {number} remove
10291
+ * Count of items to remove at the index.
10164
10292
  * @param {Array<Event>} add
10293
+ * Items to add at the index.
10165
10294
  * @returns {undefined}
10295
+ * Nothing.
10166
10296
  */
10167
10297
  add(index2, remove, add) {
10168
- addImplementation(this, index2, remove, add);
10298
+ addImplementation2(this, index2, remove, add);
10169
10299
  }
10170
10300
  // To do: add this when moving to `micromark`.
10171
10301
  // /**
@@ -10183,7 +10313,9 @@ var EditMap = class {
10183
10313
  * Done, change the events.
10184
10314
  *
10185
10315
  * @param {Array<Event>} events
10316
+ * List of events to apply the edits to.
10186
10317
  * @returns {undefined}
10318
+ * Nothing.
10187
10319
  */
10188
10320
  consume(events) {
10189
10321
  this.map.sort(function(a, b) {
@@ -10209,25 +10341,25 @@ var EditMap = class {
10209
10341
  slice = vecs.pop();
10210
10342
  }
10211
10343
  this.map.length = 0;
10344
+ this.index.clear();
10212
10345
  }
10213
10346
  };
10214
- function addImplementation(editMap, at, remove, add) {
10215
- let index2 = 0;
10347
+ function addImplementation2(editMap, at, remove, add) {
10216
10348
  if (remove === 0 && add.length === 0) {
10217
10349
  return;
10218
10350
  }
10219
- while (index2 < editMap.map.length) {
10220
- if (editMap.map[index2][0] === at) {
10221
- editMap.map[index2][1] += remove;
10222
- editMap.map[index2][2].push(...add);
10223
- return;
10224
- }
10225
- index2 += 1;
10351
+ const existing = editMap.index.get(at);
10352
+ if (existing) {
10353
+ existing[1] += remove;
10354
+ existing[2].push(...add);
10355
+ return;
10226
10356
  }
10227
- editMap.map.push([at, remove, add]);
10357
+ const change = [at, remove, add];
10358
+ editMap.map.push(change);
10359
+ editMap.index.set(at, change);
10228
10360
  }
10229
10361
 
10230
- // node_modules/micromark-extension-gfm-table/lib/infer.js
10362
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-extension-gfm-table/lib/infer.js
10231
10363
  function gfmTableAlign(events, index2) {
10232
10364
  let inDelimiterRow = false;
10233
10365
  const align = [];
@@ -10254,7 +10386,7 @@ function gfmTableAlign(events, index2) {
10254
10386
  return align;
10255
10387
  }
10256
10388
 
10257
- // node_modules/micromark-extension-gfm-table/lib/syntax.js
10389
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-extension-gfm-table/lib/syntax.js
10258
10390
  function gfmTable() {
10259
10391
  return {
10260
10392
  flow: {
@@ -10275,10 +10407,15 @@ function tokenizeTable(effects, ok3, nok) {
10275
10407
  function start(code3) {
10276
10408
  let index2 = self.events.length - 1;
10277
10409
  while (index2 > -1) {
10278
- const type = self.events[index2][1].type;
10410
+ const {
10411
+ type
10412
+ } = self.events[index2][1];
10279
10413
  if (type === "lineEnding" || // Note: markdown-rs uses `whitespace` instead of `linePrefix`
10280
- type === "linePrefix") index2--;
10281
- else break;
10414
+ type === "linePrefix") {
10415
+ index2--;
10416
+ } else {
10417
+ break;
10418
+ }
10282
10419
  }
10283
10420
  const tail = index2 > -1 ? self.events[index2][1].type : null;
10284
10421
  const next = tail === "tableHead" || tail === "tableRow" ? bodyRowStart : headRowBefore;
@@ -10492,7 +10629,7 @@ function resolveTable(events, context) {
10492
10629
  let currentTable;
10493
10630
  let currentBody;
10494
10631
  let currentCell;
10495
- const map4 = new EditMap();
10632
+ const map4 = new EditMap2();
10496
10633
  while (++index2 < events.length) {
10497
10634
  const event = events[index2];
10498
10635
  const token = event[1];
@@ -10640,7 +10777,7 @@ function getPoint(events, index2) {
10640
10777
  return event[1][side];
10641
10778
  }
10642
10779
 
10643
- // node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
10780
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
10644
10781
  var tasklistCheck = {
10645
10782
  name: "tasklistCheck",
10646
10783
  tokenize: tokenizeTasklistCheck
@@ -10714,7 +10851,7 @@ function spaceThenNonSpace(effects, ok3, nok) {
10714
10851
  }
10715
10852
  }
10716
10853
 
10717
- // node_modules/micromark-extension-gfm/index.js
10854
+ // ../../../home/moye/Online Document/dsh-plugins/dsh-partner/node_modules/micromark-extension-gfm/index.js
10718
10855
  function gfm(options) {
10719
10856
  return combineExtensions([
10720
10857
  gfmAutolinkLiteral(),