@organizaone/o1-code 0.22.1 → 0.22.2

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 (274) hide show
  1. package/bundled/qc-helper/docs/support/troubleshooting.md +4 -0
  2. package/chunks/{MaxSizedBox-RVGQPVQO.js → MaxSizedBox-H6TTYZHO.js} +17 -17
  3. package/chunks/{StandaloneSessionPicker-BMI42LHG.js → StandaloneSessionPicker-G5FLW7TR.js} +33 -33
  4. package/chunks/{acp-subagent-executor-UAXJUFQK.js → acp-subagent-executor-PFIDAFOD.js} +19 -19
  5. package/chunks/{acpAgent-4ZEY3OME.js → acpAgent-4PUZMTSI.js} +58 -58
  6. package/chunks/{agent-NH2EHRJ3.js → agent-XS2VGVGO.js} +9 -9
  7. package/chunks/{agent-headless-SNT5BKJU.js → agent-headless-474ZYFSJ.js} +9 -9
  8. package/chunks/{all-providers-7WVHE4GD.js → all-providers-67KTP3MN.js} +2 -2
  9. package/chunks/{anthropicContentGenerator-CJDEP3M6.js → anthropicContentGenerator-RTEGRYPV.js} +5 -5
  10. package/chunks/{bridge-RTND6IB6.js → bridge-HPTKSOIC.js} +19 -19
  11. package/chunks/{chunk-VUPOGOOS.js → chunk-2GNKUQNV.js} +43 -30
  12. package/chunks/{chunk-YK6Z7PNX.js → chunk-35IZ2AEV.js} +4 -4
  13. package/chunks/{chunk-GR4V6J5L.js → chunk-3CJZHWKH.js} +1 -1
  14. package/chunks/{chunk-OPWIQQ3C.js → chunk-3HQMSMNA.js} +1 -1
  15. package/chunks/{chunk-KQ7E7FOJ.js → chunk-3J63UVMG.js} +1 -1
  16. package/chunks/{chunk-QWDKIHIR.js → chunk-3OLRYJYM.js} +3 -3
  17. package/chunks/{chunk-SRA3CI5I.js → chunk-44YL3A4I.js} +1 -1
  18. package/chunks/{chunk-NPFU56EO.js → chunk-4T3CEDPG.js} +5 -5
  19. package/chunks/{chunk-HUW7MDI7.js → chunk-54DBAFQ2.js} +1 -1
  20. package/chunks/{chunk-LGXLBYI3.js → chunk-5OKLHC2S.js} +1 -1
  21. package/chunks/{chunk-RXJMYK2R.js → chunk-62T6BNFW.js} +4 -4
  22. package/chunks/{chunk-44NP2DKE.js → chunk-63XITVIE.js} +13 -13
  23. package/chunks/{chunk-NAEZE5OL.js → chunk-6MXIK5CK.js} +1 -1
  24. package/chunks/{chunk-F2EWJITM.js → chunk-6N5O34AT.js} +5 -5
  25. package/chunks/{chunk-KWV4ZB3F.js → chunk-6XZZIE7V.js} +2 -2
  26. package/chunks/{chunk-KNWO6F63.js → chunk-73K63OUJ.js} +7 -7
  27. package/chunks/{chunk-IKHE2AI7.js → chunk-7FFS7D63.js} +1 -1
  28. package/chunks/{chunk-FLBRWOOW.js → chunk-7MFRXLVG.js} +1 -1
  29. package/chunks/{chunk-FYI2IX5L.js → chunk-7O3XB3FJ.js} +2 -2
  30. package/chunks/{chunk-OCOO6CMW.js → chunk-AFXPLQYA.js} +3 -3
  31. package/chunks/{chunk-R6HGPORE.js → chunk-ARKI4LOD.js} +3 -3
  32. package/chunks/{chunk-YRVUYXMC.js → chunk-B4WT73ZC.js} +2 -2
  33. package/chunks/{chunk-VFMFOTNC.js → chunk-BPZ6GQBH.js} +2 -2
  34. package/chunks/{chunk-AOO6ZUFV.js → chunk-C6O3NG4T.js} +1 -1
  35. package/chunks/{chunk-RUJW2EYS.js → chunk-COBKDL54.js} +2 -2
  36. package/chunks/{chunk-SDB4PPQF.js → chunk-CQ33RPSY.js} +8 -8
  37. package/chunks/{chunk-RANMV3VA.js → chunk-D24NFPPO.js} +4 -4
  38. package/chunks/{chunk-VSZBTI6Z.js → chunk-DGEOQOYK.js} +5 -5
  39. package/chunks/{chunk-IZBRJ2HF.js → chunk-DNROOYR3.js} +2 -2
  40. package/chunks/{chunk-F6YTVAGO.js → chunk-EOIZZLQD.js} +1 -1
  41. package/chunks/{chunk-JSL55Y6I.js → chunk-EU7GXSE7.js} +7 -7
  42. package/chunks/{chunk-UHPISANS.js → chunk-EUIN36RL.js} +1 -1
  43. package/chunks/{chunk-Z6WSMXW5.js → chunk-F5JXVZVJ.js} +2 -2
  44. package/chunks/{chunk-QUVGCD32.js → chunk-FI7LCEJ7.js} +27 -27
  45. package/chunks/{chunk-3DE6KFXZ.js → chunk-FLIJQ7IC.js} +3 -3
  46. package/chunks/{chunk-RQPDN23V.js → chunk-FT7HBT5S.js} +2 -2
  47. package/chunks/{chunk-BSW6OIM7.js → chunk-FXSQ3EB2.js} +3 -3
  48. package/chunks/{chunk-Z2HNRDOD.js → chunk-GDOMZBF3.js} +1 -1
  49. package/chunks/{chunk-H7IF7CAJ.js → chunk-GLKPOCPH.js} +2 -2
  50. package/chunks/{chunk-4A6A4AS6.js → chunk-GW7QA3HN.js} +3 -3
  51. package/chunks/{chunk-4GJBQ3MM.js → chunk-GXHLZHKS.js} +1 -1
  52. package/chunks/{chunk-AG4W5EZN.js → chunk-HEFYYQ5F.js} +2 -2
  53. package/chunks/{chunk-PWXL2VKU.js → chunk-HLBNALL4.js} +1 -1
  54. package/chunks/{chunk-TOIXYNL6.js → chunk-I3OOIGJI.js} +3 -3
  55. package/chunks/{chunk-BUDPTG55.js → chunk-IFJ3RGFY.js} +2 -2
  56. package/chunks/{chunk-FAKFP7PE.js → chunk-IRP7MQRE.js} +2 -2
  57. package/chunks/{chunk-KK2RIV4A.js → chunk-IUDP2ML3.js} +3 -3
  58. package/chunks/{chunk-IIICLNER.js → chunk-JFKJW3BP.js} +1 -1
  59. package/chunks/{chunk-VHMXJAL4.js → chunk-K44D6MLS.js} +48 -48
  60. package/chunks/{chunk-YDBDPF4G.js → chunk-KL5NEBVZ.js} +4 -4
  61. package/chunks/{chunk-4MANEJTL.js → chunk-KSQ3A4MU.js} +5 -5
  62. package/chunks/{chunk-WZSZXEAQ.js → chunk-LSRS3YN5.js} +1 -1
  63. package/chunks/{chunk-PAEZIQXY.js → chunk-LSY2TNVO.js} +3 -3
  64. package/chunks/{chunk-CGTBVU3O.js → chunk-LWQVH7RG.js} +2 -2
  65. package/chunks/{chunk-VMYLENRS.js → chunk-LZCNINKB.js} +1 -1
  66. package/chunks/{chunk-T374RNAS.js → chunk-MVWEGM3N.js} +1 -1
  67. package/chunks/{chunk-F4FU6VM5.js → chunk-OJ2CVNVP.js} +1 -1
  68. package/chunks/{chunk-7CKBM5N3.js → chunk-P3H5PNSO.js} +1 -1
  69. package/chunks/{chunk-E27VESCX.js → chunk-PFBUKEWV.js} +2 -2
  70. package/chunks/{chunk-N5KJNQIZ.js → chunk-PT32HMCN.js} +1 -1
  71. package/chunks/{chunk-KRLE7IDY.js → chunk-PVYRIVM3.js} +1 -1
  72. package/chunks/{chunk-6E6FTN4Z.js → chunk-RBZFW23K.js} +3 -3
  73. package/chunks/{chunk-7BGLVYAH.js → chunk-ROE3Y42D.js} +2 -2
  74. package/chunks/{chunk-O5AS4OOX.js → chunk-SHOCUW3R.js} +2 -2
  75. package/chunks/{chunk-5POXLSBR.js → chunk-SKQECA3Y.js} +1 -1
  76. package/chunks/{chunk-EMXYZZ5Y.js → chunk-SN3M4SEK.js} +13 -13
  77. package/chunks/{chunk-LWC7HPRI.js → chunk-SPRNR2PU.js} +2 -2
  78. package/chunks/{chunk-BKZ3FWIY.js → chunk-STL6XNJK.js} +3 -3
  79. package/chunks/{chunk-BDZ6CKXF.js → chunk-TAHFZVR5.js} +7 -7
  80. package/chunks/{chunk-GCEFGJQL.js → chunk-TD2B7LOS.js} +1 -1
  81. package/chunks/{chunk-Y4DKB3I4.js → chunk-TZ7PFWVT.js} +1 -1
  82. package/chunks/{chunk-6HVK5AB6.js → chunk-UUAWQAX6.js} +5 -5
  83. package/chunks/{chunk-HA4IBUMM.js → chunk-VMLVJOQL.js} +2 -2
  84. package/chunks/{chunk-WKYZUJ5O.js → chunk-WCPTHHFI.js} +1 -1
  85. package/chunks/{chunk-DYPQF4VS.js → chunk-X2SSZR6M.js} +5 -5
  86. package/chunks/{chunk-EADQN4GH.js → chunk-XGXVMNHI.js} +4 -4
  87. package/chunks/{chunk-KIF3TIH4.js → chunk-XHQEB4WW.js} +1 -1
  88. package/chunks/{chunk-U7HTBVK6.js → chunk-XZDGZX34.js} +2 -2
  89. package/chunks/{chunk-2TXSMV3M.js → chunk-Y34E6WY7.js} +8 -8
  90. package/chunks/{chunk-BFD5HYRL.js → chunk-YEG2VKSR.js} +2 -2
  91. package/chunks/{chunk-E6Q7UUWN.js → chunk-YRKUDWZP.js} +2 -2
  92. package/chunks/{chunk-O5BCFPOB.js → chunk-YXTBS65N.js} +2 -2
  93. package/chunks/{chunk-AN76M2SF.js → chunk-ZBP2DKL7.js} +1 -1
  94. package/chunks/{chunk-3HYHMJZ7.js → chunk-ZPJTYCOY.js} +2 -2
  95. package/chunks/{chunk-GDRXAL2V.js → chunk-ZUBCKLDM.js} +3 -3
  96. package/chunks/{codex-subagent-executor-QKMKATHR.js → codex-subagent-executor-CVPJBY7H.js} +19 -19
  97. package/chunks/{contextCommand-Q4HCSERF.js → contextCommand-VQP42E45.js} +19 -19
  98. package/chunks/{core-runtime-77F57PX4.js → core-runtime-UGTGVETQ.js} +17 -17
  99. package/chunks/{create-sub-session-F5JXMYGW.js → create-sub-session-W7HDHA47.js} +18 -18
  100. package/chunks/{daemon-git-worktree-guard-ZQCJ7RWX.js → daemon-git-worktree-guard-OYHWZ4DT.js} +17 -17
  101. package/chunks/{daemon-status-provider-TOCJXPVE.js → daemon-status-provider-BPA4OMKT.js} +23 -23
  102. package/chunks/{daemon-trust-policy-YGUS4YMJ.js → daemon-trust-policy-LR3O2LHO.js} +23 -23
  103. package/chunks/{daemon-trust-policy-monitor-ENPQVTNO.js → daemon-trust-policy-monitor-XYJBQS5K.js} +23 -23
  104. package/chunks/{deferred-core-runtime-ULSOQU3T.js → deferred-core-runtime-2JRX7S37.js} +17 -17
  105. package/chunks/{edit-TSSCUSYW.js → edit-C5EXC227.js} +11 -11
  106. package/chunks/{en-XSSA4TGG.js → en-QBY42TC3.js} +1 -0
  107. package/chunks/{enterPlanMode-ZSQKJKZQ.js → enterPlanMode-LRUOZ2DX.js} +9 -9
  108. package/chunks/{environment-EAKV3SOY.js → environment-AK5W47CA.js} +19 -19
  109. package/chunks/{errors-GGFY5RFH.js → errors-V77HGFV3.js} +19 -19
  110. package/chunks/{execution-tool-VACK7N45.js → execution-tool-NK2ST2RX.js} +11 -11
  111. package/chunks/{execution-worker-627YBBCO.js → execution-worker-QO36YMNT.js} +14 -14
  112. package/chunks/{exitPlanMode-MUPEFJZW.js → exitPlanMode-OPS5BP27.js} +9 -9
  113. package/chunks/{fast-path-RTN33F3G.js → fast-path-SAXQN2PO.js} +2 -2
  114. package/chunks/{foreground-runner-AB6I7DAO.js → foreground-runner-WUF5YIVW.js} +19 -19
  115. package/chunks/{glob-2CHWQ3H5.js → glob-EAIWIACU.js} +9 -9
  116. package/chunks/{goal-tools-XLPICZ5T.js → goal-tools-IM4K7YYV.js} +9 -9
  117. package/chunks/{handleAutoUpdate-NZPFDQK6.js → handleAutoUpdate-XGWLFCZ3.js} +20 -20
  118. package/chunks/{i18n-FV2KRBLI.js → i18n-A3JWISCI.js} +18 -18
  119. package/chunks/{initializer-CTPFYJCS.js → initializer-WF7GJJSN.js} +23 -23
  120. package/chunks/{installationInfo-IJIMCPDB.js → installationInfo-UGZLB5DE.js} +17 -17
  121. package/chunks/{list-TIROYVTJ.js → list-XL33NYFQ.js} +25 -25
  122. package/chunks/{llm-YA3VVASU.js → llm-5ZIFZWYM.js} +48 -48
  123. package/chunks/{llm-content-generator-5BMSF46V.js → llm-content-generator-IP6THV2F.js} +4 -4
  124. package/chunks/{loadedSettingsAdapter-V3A6MMRM.js → loadedSettingsAdapter-BBOBGOFY.js} +23 -23
  125. package/chunks/{local-execution-environment-PFBURDOE.js → local-execution-environment-OHZ6JHBJ.js} +14 -14
  126. package/chunks/{loggingContentGenerator-RCDGCQQS.js → loggingContentGenerator-ZB6YBQ4A.js} +9 -9
  127. package/chunks/{managed-npm-update-4EBV5AOX.js → managed-npm-update-U2LTQRW5.js} +30 -19
  128. package/chunks/{mcp-VDFHAJKP.js → mcp-7TSDK7XG.js} +23 -23
  129. package/chunks/{model-call-collection-CER6UKZQ.js → model-call-collection-Q6XLRBD4.js} +1 -1
  130. package/chunks/{model-configuration-RJ6KIRTB.js → model-configuration-YHPN6XLJ.js} +24 -24
  131. package/chunks/{modelConfigUtils-YCRDHNRZ.js → modelConfigUtils-KXEA5X5L.js} +19 -19
  132. package/chunks/{monitor-3DZ6543L.js → monitor-YUS5UHUB.js} +9 -9
  133. package/chunks/{nonInteractiveCli-PGIOCHOP.js → nonInteractiveCli-H5OSIGXO.js} +50 -50
  134. package/chunks/{nonInteractiveToolExecutor-7YVAC45H.js → nonInteractiveToolExecutor-KOOCZSZM.js} +10 -10
  135. package/chunks/{notebook-edit-EC3X76GJ.js → notebook-edit-XYZLSPWF.js} +10 -10
  136. package/chunks/{omni-NTS5DKKW.js → omni-QS5RRGPB.js} +9 -9
  137. package/chunks/{openaiContentGenerator-HE3UYNTG.js → openaiContentGenerator-37E2A7VN.js} +6 -6
  138. package/chunks/{openaiResponsesContentGenerator-V3QXQKGY.js → openaiResponsesContentGenerator-PMCEAG55.js} +4 -4
  139. package/chunks/{processUtils-Q77SJQTK.js → processUtils-CQXO2K7O.js} +2 -2
  140. package/chunks/{prompt-terminal-ledger-FIRVFZQ6.js → prompt-terminal-ledger-ZRCMVONU.js} +18 -18
  141. package/chunks/{pt-KI6OT4C4.js → pt-DHKQQO6C.js} +1 -0
  142. package/chunks/{reactive-degrade-R7SJ2NH6.js → reactive-degrade-ZJ3JVKAL.js} +8 -8
  143. package/chunks/{read-file-NRMGUMQM.js → read-file-MOY3AEWH.js} +1 -1
  144. package/chunks/{resumeHistoryUtils-O2COILCI.js → resumeHistoryUtils-HATXAZWB.js} +21 -21
  145. package/chunks/{ripGrep-WQJTNYRZ.js → ripGrep-DRZ55VHF.js} +1 -1
  146. package/chunks/{run-o1-code-serve-TBV42OCR.js → run-o1-code-serve-QG3EUGCC.js} +32 -32
  147. package/chunks/{sandboxConfig-4GA3BYJS.js → sandboxConfig-67KD25RA.js} +17 -17
  148. package/chunks/{scheduled-tasks-6VDCN5PB.js → scheduled-tasks-SUK36YBV.js} +22 -22
  149. package/chunks/{scheduler-P5IJ7A74.js → scheduler-VGATQHDI.js} +19 -19
  150. package/chunks/{serve-2ZQ532LO.js → serve-4JYKC5U3.js} +23 -23
  151. package/chunks/{server-BUDZHTIT.js → server-ID2MQUOZ.js} +48 -48
  152. package/chunks/{session-26SOOJEN.js → session-FEM6CGKX.js} +1 -1
  153. package/chunks/{session-CKAFUD43.js → session-SBJFEMA7.js} +51 -51
  154. package/chunks/{session-attachments-root-MJ3BQ3LD.js → session-attachments-root-ILVWUB6H.js} +17 -17
  155. package/chunks/{session-pr-refresh-OB6N6BHR.js → session-pr-refresh-PMD3YR6L.js} +21 -21
  156. package/chunks/{settings-6AXVX7VZ.js → settings-7BOOCLET.js} +22 -22
  157. package/chunks/{shell-ENJCXAKQ.js → shell-PWH465OV.js} +9 -9
  158. package/chunks/{skill-JI7DIIC5.js → skill-6CYVI2NR.js} +1 -1
  159. package/chunks/{skill-settings-QM6FE65C.js → skill-settings-5HIZWK7Y.js} +22 -22
  160. package/chunks/{spawnChannel-YT5XGUD4.js → spawnChannel-OOMVR63F.js} +18 -18
  161. package/chunks/{standalone-update-PQTPOQ7H.js → standalone-update-MXJDDVFO.js} +19 -19
  162. package/chunks/{startInteractiveUI-YTXYK5FE.js → startInteractiveUI-IHLZORH3.js} +59 -59
  163. package/chunks/{supervisor-runner-GTHTY2VP.js → supervisor-runner-I3KOH7AT.js} +2 -2
  164. package/chunks/{team-create-JFKXHYVG.js → team-create-NNXUJHYM.js} +9 -9
  165. package/chunks/{team-plan-approval-XTW6G7MY.js → team-plan-approval-NGGXGRN5.js} +9 -9
  166. package/chunks/{terminal-image-renderer-GDTTKHI4.js → terminal-image-renderer-QPJZUQOY.js} +17 -17
  167. package/chunks/{theme-manager-MRHNSAFC.js → theme-manager-YN3VTWUS.js} +17 -17
  168. package/chunks/{tool-result-media-MXVFMVH2.js → tool-result-media-ELNVF7HV.js} +9 -9
  169. package/chunks/{tool-search-RK5PYIEA.js → tool-search-3MQVPZN2.js} +1 -1
  170. package/chunks/{total-session-admission-KPWNF4I7.js → total-session-admission-RQ2GWA4J.js} +19 -19
  171. package/chunks/{trustedFolders-SWKT5ICG.js → trustedFolders-ANMISMAZ.js} +18 -18
  172. package/chunks/{update-relaunch-EXMQLKEJ.js → update-relaunch-ANCIYSER.js} +5 -5
  173. package/chunks/{updateCheck-MP42WBSG.js → updateCheck-QGDY5DY2.js} +19 -19
  174. package/chunks/{upload-config-AIRMZDHT.js → upload-config-V6CJBH2Z.js} +6 -6
  175. package/chunks/{useAutoAcceptIndicator-K3T576EB.js → useAutoAcceptIndicator-H4PUESJW.js} +25 -25
  176. package/chunks/{validateNonInterActiveAuth-4KATGUJO.js → validateNonInterActiveAuth-3D6LYNKP.js} +47 -47
  177. package/chunks/{version-JEM4ONGO.js → version-M7PIODKT.js} +1 -1
  178. package/chunks/{web-fetch-TZXOJ74M.js → web-fetch-VJSQST7P.js} +1 -1
  179. package/chunks/{web-search-RDZCW5MX.js → web-search-CVFACVJV.js} +7 -7
  180. package/chunks/{workflow-NTR7LISE.js → workflow-O3XZL3Z4.js} +10 -10
  181. package/chunks/{workspace-providers-status-BOEHLEC6.js → workspace-providers-status-M47T3M22.js} +27 -27
  182. package/chunks/{workspace-registration-store-A4RBAXBF.js → workspace-registration-store-HGSY3RON.js} +1 -1
  183. package/chunks/{workspace-registry-QADKTWBR.js → workspace-registry-LYEI3DR3.js} +19 -19
  184. package/chunks/{workspace-runtime-coordinator-M2LCS2XW.js → workspace-runtime-coordinator-OHXZ4IPK.js} +19 -19
  185. package/chunks/{workspace-service-7P5UZHEE.js → workspace-service-VII7ZCF7.js} +26 -26
  186. package/chunks/{workspace-skills-status-MRA7H2M5.js → workspace-skills-status-7GG3A3TL.js} +23 -23
  187. package/chunks/{workspace-trust-reconciler-JTU5ZT3E.js → workspace-trust-reconciler-GGKNXRVC.js} +25 -25
  188. package/chunks/{write-file-TYMBS3Z4.js → write-file-K5V3EMTE.js} +11 -11
  189. package/chunks/{zoom-image-OYDAJGIC.js → zoom-image-TROZVSMN.js} +1 -1
  190. package/cli.js +15 -15
  191. package/execution-worker.js +1 -1
  192. package/export-transcript-document.js +1 -1
  193. package/locales/en.js +2 -0
  194. package/locales/pt.js +2 -0
  195. package/node_modules/koffi/LICENSE.txt +22 -0
  196. package/node_modules/koffi/README.md +46 -0
  197. package/node_modules/koffi/index.cjs +1 -0
  198. package/node_modules/koffi/index.d.ts +390 -0
  199. package/node_modules/koffi/index.js +2 -0
  200. package/node_modules/koffi/indirect.cjs +1 -0
  201. package/node_modules/koffi/indirect.js +2 -0
  202. package/node_modules/koffi/package.json +63 -0
  203. package/node_modules/koffi/src/koffi/index.cjs +327 -0
  204. package/node_modules/koffi/src/koffi/index.js +312 -0
  205. package/node_modules/koffi/src/koffi/indirect.cjs +326 -0
  206. package/node_modules/koffi/src/koffi/indirect.js +311 -0
  207. package/node_modules/koffi/src/koffi/src/static.cjs +170 -0
  208. package/node_modules/koffi/src/koffi/src/static.js +173 -0
  209. package/package.json +25 -2
  210. package/release-notes.json +7 -0
  211. package/web-shell/assets/{abnfDiagram-VCTEODGH-2Dj_wAO-.js → abnfDiagram-VCTEODGH-1p6NHpAP.js} +1 -1
  212. package/web-shell/assets/{arc-CM8UdMfv.js → arc-zZSvt9kN.js} +1 -1
  213. package/web-shell/assets/{architectureDiagram-5GKGNRK7-DVRUp2sY.js → architectureDiagram-5GKGNRK7-C1H1DVM2.js} +1 -1
  214. package/web-shell/assets/{blockDiagram-NRAW4CY4-LlLViOqt.js → blockDiagram-NRAW4CY4-CLvQiMuT.js} +1 -1
  215. package/web-shell/assets/{c4Diagram-UCG6FXSJ-s9MPoxak.js → c4Diagram-UCG6FXSJ-verRTIfv.js} +1 -1
  216. package/web-shell/assets/channel-BL_seGtn.js +1 -0
  217. package/web-shell/assets/{chunk-2Q5K7J3B-HlTfhwBU.js → chunk-2Q5K7J3B-BIX6o24B.js} +1 -1
  218. package/web-shell/assets/{chunk-5VM5RSS4-CxS42ksC.js → chunk-5VM5RSS4-hp0xJxSu.js} +1 -1
  219. package/web-shell/assets/{chunk-F27PBJKO-DPeeODpW.js → chunk-F27PBJKO-BHY8_5WY.js} +1 -1
  220. package/web-shell/assets/{chunk-G27WJ6UU-CQYZmE5k.js → chunk-G27WJ6UU-Bq3iuQSE.js} +1 -1
  221. package/web-shell/assets/{chunk-JWPE2WC7-Bq0TMyxv.js → chunk-JWPE2WC7-nl0EYjjD.js} +1 -1
  222. package/web-shell/assets/{chunk-LCL6LL3I-BtnHzA-D.js → chunk-LCL6LL3I-CstAiHwj.js} +1 -1
  223. package/web-shell/assets/{chunk-POPQ4Y6H-BRNWOxIT.js → chunk-POPQ4Y6H-BWSrwMPq.js} +1 -1
  224. package/web-shell/assets/{chunk-SVP7TREG-By9FnFN2.js → chunk-SVP7TREG-BHoHrDvN.js} +1 -1
  225. package/web-shell/assets/{chunk-XXDRQBXY-w0nYUkdp.js → chunk-XXDRQBXY-_raB2Fx7.js} +1 -1
  226. package/web-shell/assets/classDiagram-DTDB5LWJ-CSUKMc0D.js +1 -0
  227. package/web-shell/assets/classDiagram-v2-JRS7N3AN-CSUKMc0D.js +1 -0
  228. package/web-shell/assets/{cose-bilkent-JH36ORCC-YpgXH3_-.js → cose-bilkent-JH36ORCC-DzohBTSN.js} +1 -1
  229. package/web-shell/assets/{cynefin-OW5HDTMX-BamkWNPO.js → cynefin-OW5HDTMX-DUuz4IOx.js} +1 -1
  230. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-Dpxn8LCb.js → cynefinDiagram-5FMLGOSQ-CUWRH3bQ.js} +1 -1
  231. package/web-shell/assets/{dagre-3AP2YEHR-CxuJQGMd.js → dagre-3AP2YEHR-DccvRFOk.js} +1 -1
  232. package/web-shell/assets/{diagram-S7CK7UJ4-DjccNeUH.js → diagram-S7CK7UJ4-iGT749Oj.js} +1 -1
  233. package/web-shell/assets/{diagram-UQ7AKVKN-8EkBLWb_.js → diagram-UQ7AKVKN-DO-brOdV.js} +1 -1
  234. package/web-shell/assets/{diagram-VSXAHHWV-CdR64P66.js → diagram-VSXAHHWV-BTxQOmxL.js} +1 -1
  235. package/web-shell/assets/{diagram-VX7I27RA-CjQqXx8a.js → diagram-VX7I27RA-B4qvwv51.js} +1 -1
  236. package/web-shell/assets/{diagram-Z3DM3KII-CPVQ6neh.js → diagram-Z3DM3KII-rBgjOTjS.js} +1 -1
  237. package/web-shell/assets/{ebnfDiagram-PWID7BFC-Cd2nbw6-.js → ebnfDiagram-PWID7BFC-pm_yhGF5.js} +1 -1
  238. package/web-shell/assets/{erDiagram-SSCWMZ5O-BGnAX0IM.js → erDiagram-SSCWMZ5O-CYu1ceNm.js} +1 -1
  239. package/web-shell/assets/{flowDiagram-A5DVABFB-DcX08Nbr.js → flowDiagram-A5DVABFB-VaNRVW2d.js} +1 -1
  240. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-CVXiMVzW.js → ganttDiagram-EL5Y4UJY-DyvaaUFV.js} +1 -1
  241. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-BBxhu9G7.js → gitGraphDiagram-WWUBYQGX-ATr3REtt.js} +1 -1
  242. package/web-shell/assets/{index-B5aKf1AA.js → index-B3YLpUKu.js} +1 -1
  243. package/web-shell/assets/{index-zwHrQxqv.js → index-C4N7bP4K.js} +3 -3
  244. package/web-shell/assets/{infoDiagram-RXCK75RN-C-1qC66j.js → infoDiagram-RXCK75RN-C94by8Av.js} +1 -1
  245. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-C8_mTu_r.js → ishikawaDiagram-5VMMS53U-DzjDX0-x.js} +1 -1
  246. package/web-shell/assets/{journeyDiagram-EYS64GPL-CROANElQ.js → journeyDiagram-EYS64GPL-BW955BgY.js} +1 -1
  247. package/web-shell/assets/{kanban-definition-3QL26DDD-DfeA7UBv.js → kanban-definition-3QL26DDD-BtbAjdCr.js} +1 -1
  248. package/web-shell/assets/{layout-Dkjy38dJ.js → layout-U3vDc3pe.js} +1 -1
  249. package/web-shell/assets/{linear-Bk2c8hgK.js → linear-B5nTSs6h.js} +1 -1
  250. package/web-shell/assets/{mermaid.core-BQpb5--e.js → mermaid.core-ezhLxuW5.js} +6 -6
  251. package/web-shell/assets/{mindmap-definition-FBJOCRG2-niwVx50h.js → mindmap-definition-FBJOCRG2-BVcRjZNc.js} +1 -1
  252. package/web-shell/assets/{pegDiagram-XKGWAZYB-CzwTglvx.js → pegDiagram-XKGWAZYB-BnYXkIZM.js} +1 -1
  253. package/web-shell/assets/{pieDiagram-E7YTZNPT-BOTnaopZ.js → pieDiagram-E7YTZNPT-DooJLvL9.js} +1 -1
  254. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-ANc-jmLm.js → quadrantDiagram-AXDQQJYC-MywT58KI.js} +1 -1
  255. package/web-shell/assets/{railroadDiagram-O6MQD6OU-DactPRXN.js → railroadDiagram-O6MQD6OU-kZGgDmOU.js} +1 -1
  256. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BhJYhbQx.js → requirementDiagram-EFPCY7ZU-BTR494PR.js} +1 -1
  257. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-CKmj4FSV.js → sankeyDiagram-P5KCCOFB-DCC0qZFO.js} +1 -1
  258. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-qqYmFKVm.js → sequenceDiagram-WJ2MYXX4-DDvDBq18.js} +1 -1
  259. package/web-shell/assets/{sizeCapture-X5ZJPWSS-IZThfnGj.js → sizeCapture-X5ZJPWSS-C3GSzMrx.js} +1 -1
  260. package/web-shell/assets/{stateDiagram-HBIQ2CUA-DRVEahaQ.js → stateDiagram-HBIQ2CUA-Dr4BXIdu.js} +1 -1
  261. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DPa_JZnG.js +1 -0
  262. package/web-shell/assets/{swimlanes-XN3QIQJK-C-gt3GcA.js → swimlanes-XN3QIQJK-CTc5retR.js} +1 -1
  263. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-WV4-2ySQ.js +8 -0
  264. package/web-shell/assets/{timeline-definition-24CTP7MA-CyyrqcKX.js → timeline-definition-24CTP7MA-DlCHZahl.js} +1 -1
  265. package/web-shell/assets/{vennDiagram-4TSXK5OY-cuY4y_eV.js → vennDiagram-4TSXK5OY-DSEiDJ6-.js} +1 -1
  266. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-Dh2Zg335.js → wardleyDiagram-VM6X3IG4-BSky5BAj.js} +1 -1
  267. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-CmGN9rRU.js → xychartDiagram-S5SC5T6Z-C-_l5Eqg.js} +1 -1
  268. package/web-shell/index.html +1 -1
  269. package/web-shell/sw.js +1 -1
  270. package/web-shell/assets/channel-NvsLvieh.js +0 -1
  271. package/web-shell/assets/classDiagram-DTDB5LWJ-BhmijuT4.js +0 -1
  272. package/web-shell/assets/classDiagram-v2-JRS7N3AN-BhmijuT4.js +0 -1
  273. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Ck-zs-A0.js +0 -1
  274. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-C9LTcitD.js +0 -8
@@ -0,0 +1,170 @@
1
+ // SPDX-License-Identifier: MIT
2
+ // SPDX-FileCopyrightText: 2026 Niels Martignène <niels.martignene@protonmail.com>
3
+
4
+ function loadStatic(pkg) {
5
+ let native = null;
6
+
7
+ if (pkg == 'linux-arm') {
8
+ try {
9
+ native = require('@koromix/koffi-linux-arm');
10
+ } catch (err) {
11
+ // Go on
12
+ }
13
+ }
14
+
15
+ if (pkg == 'linux-arm64') {
16
+ try {
17
+ native = require('@koromix/koffi-linux-arm64');
18
+ } catch (err) {
19
+ // Go on
20
+ }
21
+ }
22
+
23
+ if (pkg == 'linux-ia32') {
24
+ try {
25
+ native = require('@koromix/koffi-linux-ia32');
26
+ } catch (err) {
27
+ // Go on
28
+ }
29
+ }
30
+
31
+ if (pkg == 'linux-x64') {
32
+ try {
33
+ native = require('@koromix/koffi-linux-x64');
34
+ } catch (err) {
35
+ // Go on
36
+ }
37
+ }
38
+
39
+ if (pkg == 'linux-riscv64') {
40
+ try {
41
+ native = require('@koromix/koffi-linux-riscv64');
42
+ } catch (err) {
43
+ // Go on
44
+ }
45
+ }
46
+
47
+ if (pkg == 'freebsd-ia32') {
48
+ try {
49
+ native = require('@koromix/koffi-freebsd-ia32');
50
+ } catch (err) {
51
+ // Go on
52
+ }
53
+ }
54
+
55
+ if (pkg == 'freebsd-x64') {
56
+ try {
57
+ native = require('@koromix/koffi-freebsd-x64');
58
+ } catch (err) {
59
+ // Go on
60
+ }
61
+ }
62
+
63
+ if (pkg == 'freebsd-arm64') {
64
+ try {
65
+ native = require('@koromix/koffi-freebsd-arm64');
66
+ } catch (err) {
67
+ // Go on
68
+ }
69
+ }
70
+
71
+ if (pkg == 'openbsd-ia32') {
72
+ try {
73
+ native = require('@koromix/koffi-openbsd-ia32');
74
+ } catch (err) {
75
+ // Go on
76
+ }
77
+ }
78
+
79
+ if (pkg == 'openbsd-x64') {
80
+ try {
81
+ native = require('@koromix/koffi-openbsd-x64');
82
+ } catch (err) {
83
+ // Go on
84
+ }
85
+ }
86
+
87
+ if (pkg == 'win32-ia32') {
88
+ try {
89
+ native = require('@koromix/koffi-win32-ia32');
90
+ } catch (err) {
91
+ // Go on
92
+ }
93
+ }
94
+
95
+ if (pkg == 'win32-x64') {
96
+ try {
97
+ native = require('@koromix/koffi-win32-x64');
98
+ } catch (err) {
99
+ // Go on
100
+ }
101
+ }
102
+
103
+ if (pkg == 'win32-arm64') {
104
+ try {
105
+ native = require('@koromix/koffi-win32-arm64');
106
+ } catch (err) {
107
+ // Go on
108
+ }
109
+ }
110
+
111
+ if (pkg == 'darwin-x64') {
112
+ try {
113
+ native = require('@koromix/koffi-darwin-x64');
114
+ } catch (err) {
115
+ // Go on
116
+ }
117
+ }
118
+
119
+ if (pkg == 'darwin-arm64') {
120
+ try {
121
+ native = require('@koromix/koffi-darwin-arm64');
122
+ } catch (err) {
123
+ // Go on
124
+ }
125
+ }
126
+
127
+ if (pkg == 'linux-loong64') {
128
+ try {
129
+ native = require('@koromix/koffi-linux-loong64');
130
+ } catch (err) {
131
+ // Go on
132
+ }
133
+ }
134
+
135
+ if (pkg == 'android-arm64') {
136
+ try {
137
+ native = require('@koromix/koffi-android-arm64');
138
+ } catch (err) {
139
+ // Go on
140
+ }
141
+ }
142
+
143
+ if (pkg == 'android-x64') {
144
+ try {
145
+ native = require('@koromix/koffi-android-x64');
146
+ } catch (err) {
147
+ // Go on
148
+ }
149
+ }
150
+
151
+ if (pkg == 'linux-ppc64') {
152
+ try {
153
+ native = require('@koromix/koffi-linux-ppc64');
154
+ } catch (err) {
155
+ // Go on
156
+ }
157
+ }
158
+
159
+ if (pkg == 'openbsd-arm64') {
160
+ try {
161
+ native = require('@koromix/koffi-openbsd-arm64');
162
+ } catch (err) {
163
+ // Go on
164
+ }
165
+ }
166
+
167
+ return native;
168
+ }
169
+
170
+ module.exports = { loadStatic };
@@ -0,0 +1,173 @@
1
+ // SPDX-License-Identifier: MIT
2
+ // SPDX-FileCopyrightText: 2026 Niels Martignène <niels.martignene@protonmail.com>
3
+
4
+ import { createRequire } from "node:module";
5
+ const require = createRequire(import.meta.url);
6
+
7
+ function loadStatic(pkg) {
8
+ let native = null;
9
+
10
+ if (pkg == 'linux-arm') {
11
+ try {
12
+ native = require('@koromix/koffi-linux-arm');
13
+ } catch (err) {
14
+ // Go on
15
+ }
16
+ }
17
+
18
+ if (pkg == 'linux-arm64') {
19
+ try {
20
+ native = require('@koromix/koffi-linux-arm64');
21
+ } catch (err) {
22
+ // Go on
23
+ }
24
+ }
25
+
26
+ if (pkg == 'linux-ia32') {
27
+ try {
28
+ native = require('@koromix/koffi-linux-ia32');
29
+ } catch (err) {
30
+ // Go on
31
+ }
32
+ }
33
+
34
+ if (pkg == 'linux-x64') {
35
+ try {
36
+ native = require('@koromix/koffi-linux-x64');
37
+ } catch (err) {
38
+ // Go on
39
+ }
40
+ }
41
+
42
+ if (pkg == 'linux-riscv64') {
43
+ try {
44
+ native = require('@koromix/koffi-linux-riscv64');
45
+ } catch (err) {
46
+ // Go on
47
+ }
48
+ }
49
+
50
+ if (pkg == 'freebsd-ia32') {
51
+ try {
52
+ native = require('@koromix/koffi-freebsd-ia32');
53
+ } catch (err) {
54
+ // Go on
55
+ }
56
+ }
57
+
58
+ if (pkg == 'freebsd-x64') {
59
+ try {
60
+ native = require('@koromix/koffi-freebsd-x64');
61
+ } catch (err) {
62
+ // Go on
63
+ }
64
+ }
65
+
66
+ if (pkg == 'freebsd-arm64') {
67
+ try {
68
+ native = require('@koromix/koffi-freebsd-arm64');
69
+ } catch (err) {
70
+ // Go on
71
+ }
72
+ }
73
+
74
+ if (pkg == 'openbsd-ia32') {
75
+ try {
76
+ native = require('@koromix/koffi-openbsd-ia32');
77
+ } catch (err) {
78
+ // Go on
79
+ }
80
+ }
81
+
82
+ if (pkg == 'openbsd-x64') {
83
+ try {
84
+ native = require('@koromix/koffi-openbsd-x64');
85
+ } catch (err) {
86
+ // Go on
87
+ }
88
+ }
89
+
90
+ if (pkg == 'win32-ia32') {
91
+ try {
92
+ native = require('@koromix/koffi-win32-ia32');
93
+ } catch (err) {
94
+ // Go on
95
+ }
96
+ }
97
+
98
+ if (pkg == 'win32-x64') {
99
+ try {
100
+ native = require('@koromix/koffi-win32-x64');
101
+ } catch (err) {
102
+ // Go on
103
+ }
104
+ }
105
+
106
+ if (pkg == 'win32-arm64') {
107
+ try {
108
+ native = require('@koromix/koffi-win32-arm64');
109
+ } catch (err) {
110
+ // Go on
111
+ }
112
+ }
113
+
114
+ if (pkg == 'darwin-x64') {
115
+ try {
116
+ native = require('@koromix/koffi-darwin-x64');
117
+ } catch (err) {
118
+ // Go on
119
+ }
120
+ }
121
+
122
+ if (pkg == 'darwin-arm64') {
123
+ try {
124
+ native = require('@koromix/koffi-darwin-arm64');
125
+ } catch (err) {
126
+ // Go on
127
+ }
128
+ }
129
+
130
+ if (pkg == 'linux-loong64') {
131
+ try {
132
+ native = require('@koromix/koffi-linux-loong64');
133
+ } catch (err) {
134
+ // Go on
135
+ }
136
+ }
137
+
138
+ if (pkg == 'android-arm64') {
139
+ try {
140
+ native = require('@koromix/koffi-android-arm64');
141
+ } catch (err) {
142
+ // Go on
143
+ }
144
+ }
145
+
146
+ if (pkg == 'android-x64') {
147
+ try {
148
+ native = require('@koromix/koffi-android-x64');
149
+ } catch (err) {
150
+ // Go on
151
+ }
152
+ }
153
+
154
+ if (pkg == 'linux-ppc64') {
155
+ try {
156
+ native = require('@koromix/koffi-linux-ppc64');
157
+ } catch (err) {
158
+ // Go on
159
+ }
160
+ }
161
+
162
+ if (pkg == 'openbsd-arm64') {
163
+ try {
164
+ native = require('@koromix/koffi-openbsd-arm64');
165
+ } catch (err) {
166
+ // Go on
167
+ }
168
+ }
169
+
170
+ return native;
171
+ }
172
+
173
+ export { loadStatic }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@organizaone/o1-code",
3
- "version": "0.22.1",
3
+ "version": "0.22.2",
4
4
  "description": "O1-Code - AI-powered coding assistant",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -43,11 +43,34 @@
43
43
  "release-notes.json"
44
44
  ],
45
45
  "config": {
46
- "sandboxImageUri": "ghcr.io/organizaone/o1-code:0.22.1"
46
+ "sandboxImageUri": "ghcr.io/organizaone/o1-code:0.22.2"
47
47
  },
48
48
  "dependencies": {},
49
+ "bundledDependencies": [
50
+ "koffi"
51
+ ],
49
52
  "optionalDependencies": {
50
53
  "koffi": "3.3.2",
54
+ "@koromix/koffi-linux-arm": "3.3.2",
55
+ "@koromix/koffi-linux-arm64": "3.3.2",
56
+ "@koromix/koffi-linux-ia32": "3.3.2",
57
+ "@koromix/koffi-linux-x64": "3.3.2",
58
+ "@koromix/koffi-linux-riscv64": "3.3.2",
59
+ "@koromix/koffi-freebsd-ia32": "3.3.2",
60
+ "@koromix/koffi-freebsd-x64": "3.3.2",
61
+ "@koromix/koffi-freebsd-arm64": "3.3.2",
62
+ "@koromix/koffi-openbsd-ia32": "3.3.2",
63
+ "@koromix/koffi-openbsd-x64": "3.3.2",
64
+ "@koromix/koffi-win32-ia32": "3.3.2",
65
+ "@koromix/koffi-win32-x64": "3.3.2",
66
+ "@koromix/koffi-win32-arm64": "3.3.2",
67
+ "@koromix/koffi-darwin-x64": "3.3.2",
68
+ "@koromix/koffi-darwin-arm64": "3.3.2",
69
+ "@koromix/koffi-linux-loong64": "3.3.2",
70
+ "@koromix/koffi-android-arm64": "3.3.2",
71
+ "@koromix/koffi-android-x64": "3.3.2",
72
+ "@koromix/koffi-linux-ppc64": "3.3.2",
73
+ "@koromix/koffi-openbsd-arm64": "3.3.2",
51
74
  "@lydell/node-pty": "1.2.0-beta.10",
52
75
  "@lydell/node-pty-darwin-arm64": "1.2.0-beta.10",
53
76
  "@lydell/node-pty-darwin-x64": "1.2.0-beta.10",
@@ -1,4 +1,11 @@
1
1
  {
2
+ "0.22.2": {
3
+ "highlights": [
4
+ "npm installations no longer request approval for Koffi's source-build script",
5
+ "Failed managed npm updates retain the underlying npm error in the update dialog instead of reporting only an…",
6
+ "/update confirms available updates in the conversation history even when the update dialog must wait for an i…"
7
+ ]
8
+ },
2
9
  "0.22.1": {
3
10
  "highlights": [
4
11
  "Application updates open a dialog when the terminal is idle, showing the current and new versions with restar…",
@@ -1 +1 @@
1
- import{g as p,r as u,d as a}from"./chunk-SVP7TREG-By9FnFN2.js";import{p as f}from"./chunk-JWPE2WC7-Bq0TMyxv.js";import{_ as n,l as o}from"./mermaid.core-BQpb5--e.js";import{M as c,b as d}from"./cynefin-OW5HDTMX-BamkWNPO.js";import"./index-zwHrQxqv.js";var v=d().RailroadAbnf.parser.LangiumParser,i=n(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=n(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=n(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=n(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=n(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=n(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=n(e=>{f(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(P(r)))},"populateDb"),R={parse:n(e=>{a.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:a}},B={parser:R,db:a,renderer:u,styles:p};export{B as diagram};
1
+ import{g as p,r as u,d as a}from"./chunk-SVP7TREG-BHoHrDvN.js";import{p as f}from"./chunk-JWPE2WC7-nl0EYjjD.js";import{_ as n,l as o}from"./mermaid.core-ezhLxuW5.js";import{M as c,b as d}from"./cynefin-OW5HDTMX-DUuz4IOx.js";import"./index-C4N7bP4K.js";var v=d().RailroadAbnf.parser.LangiumParser,i=n(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=n(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=n(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=n(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=n(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=n(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=n(e=>{f(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(P(r)))},"populateDb"),R={parse:n(e=>{a.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:a}},B={parser:R,db:a,renderer:u,styles:p};export{B as diagram};
@@ -1 +1 @@
1
- import{H as ln,I as un,J as y,K as tn,L as Q,M as I,N as _,O as an,P as rn,Q as j,R as o,S as K,T as sn,V as on,W as fn}from"./mermaid.core-BQpb5--e.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function dn(l){return l.endAngle}function mn(l){return l&&l.padAngle}function pn(l,h,q,O,v,R,L,u){var D=q-l,i=O-h,n=L-v,d=u-R,a=d*D-n*i;if(!(a*a<y))return a=(n*(h-R)-d*(l-v))/a,[l+a*D,h+a*i]}function U(l,h,q,O,v,R,L){var u=l-q,D=h-O,i=(L?R:-R)/j(u*u+D*D),n=i*D,d=-i*u,a=l+n,s=h+d,f=q+n,c=O+d,M=(a+f)/2,t=(s+c)/2,m=f-a,g=c-s,A=m*m+g*g,T=v-R,P=a*c-f*s,E=(g<0?-1:1)*j(fn(0,T*T*A-P*P)),H=(P*g-m*E)/A,J=(-P*m-g*E)/A,w=(P*g+m*E)/A,p=(-P*m+g*E)/A,x=H-M,e=J-t,r=w-M,N=p-t;return x*x+e*e>r*r+N*N&&(H=w,J=p),{cx:H,cy:J,x01:-n,y01:-d,x11:H*(v/T-1),y11:J*(v/T-1)}}function hn(){var l=cn,h=yn,q=K(0),O=null,v=gn,R=dn,L=mn,u=null,D=ln(i);function i(){var n,d,a=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-un,c=R.apply(this,arguments)-un,M=an(c-f),t=c>f;if(u||(u=n=D()),s<a&&(d=s,s=a,a=d),!(s>y))u.moveTo(0,0);else if(M>tn-y)u.moveTo(s*Q(f),s*I(f)),u.arc(0,0,s,f,c,!t),a>y&&(u.moveTo(a*Q(c),a*I(c)),u.arc(0,0,a,c,f,t));else{var m=f,g=c,A=f,T=c,P=M,E=M,H=L.apply(this,arguments)/2,J=H>y&&(O?+O.apply(this,arguments):j(a*a+s*s)),w=_(an(s-a)/2,+q.apply(this,arguments)),p=w,x=w,e,r;if(J>y){var N=sn(J/a*I(H)),z=sn(J/s*I(H));(P-=N*2)>y?(N*=t?1:-1,A+=N,T-=N):(P=0,A=T=(f+c)/2),(E-=z*2)>y?(z*=t?1:-1,m+=z,g-=z):(E=0,m=g=(f+c)/2)}var V=s*Q(m),W=s*I(m),B=a*Q(T),C=a*I(T);if(w>y){var F=s*Q(g),G=s*I(g),X=a*Q(A),Y=a*I(A),S;if(M<rn)if(S=pn(V,W,X,Y,F,G,B,C)){var Z=V-S[0],$=W-S[1],k=F-S[0],b=G-S[1],nn=1/I(on((Z*k+$*b)/(j(Z*Z+$*$)*j(k*k+b*b)))/2),en=j(S[0]*S[0]+S[1]*S[1]);p=_(w,(a-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}E>y?x>y?(e=U(X,Y,V,W,s,x,t),r=U(F,G,B,C,s,x,t),u.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?u.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(r.y01,r.x01),!t):(u.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!t),u.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),!t),u.arc(r.cx,r.cy,x,o(r.y11,r.x11),o(r.y01,r.x01),!t))):(u.moveTo(V,W),u.arc(0,0,s,m,g,!t)):u.moveTo(V,W),!(a>y)||!(P>y)?u.lineTo(B,C):p>y?(e=U(B,C,F,G,a,-p,t),r=U(V,W,X,Y,a,-p,t),u.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?u.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(r.y01,r.x01),!t):(u.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!t),u.arc(0,0,a,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),t),u.arc(r.cx,r.cy,p,o(r.y11,r.x11),o(r.y01,r.x01),!t))):u.arc(0,0,a,T,A,t)}if(u.closePath(),n)return u=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,d=(+v.apply(this,arguments)+ +R.apply(this,arguments))/2-rn/2;return[Q(d)*n,I(d)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:K(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:K(+n),i):h},i.cornerRadius=function(n){return arguments.length?(q=typeof n=="function"?n:K(+n),i):q},i.padRadius=function(n){return arguments.length?(O=n==null?null:typeof n=="function"?n:K(+n),i):O},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:K(+n),i):v},i.endAngle=function(n){return arguments.length?(R=typeof n=="function"?n:K(+n),i):R},i.padAngle=function(n){return arguments.length?(L=typeof n=="function"?n:K(+n),i):L},i.context=function(n){return arguments.length?(u=n??null,i):u},i}export{hn as d};
1
+ import{H as ln,I as un,J as y,K as tn,L as Q,M as I,N as _,O as an,P as rn,Q as j,R as o,S as K,T as sn,V as on,W as fn}from"./mermaid.core-ezhLxuW5.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function dn(l){return l.endAngle}function mn(l){return l&&l.padAngle}function pn(l,h,q,O,v,R,L,u){var D=q-l,i=O-h,n=L-v,d=u-R,a=d*D-n*i;if(!(a*a<y))return a=(n*(h-R)-d*(l-v))/a,[l+a*D,h+a*i]}function U(l,h,q,O,v,R,L){var u=l-q,D=h-O,i=(L?R:-R)/j(u*u+D*D),n=i*D,d=-i*u,a=l+n,s=h+d,f=q+n,c=O+d,M=(a+f)/2,t=(s+c)/2,m=f-a,g=c-s,A=m*m+g*g,T=v-R,P=a*c-f*s,E=(g<0?-1:1)*j(fn(0,T*T*A-P*P)),H=(P*g-m*E)/A,J=(-P*m-g*E)/A,w=(P*g+m*E)/A,p=(-P*m+g*E)/A,x=H-M,e=J-t,r=w-M,N=p-t;return x*x+e*e>r*r+N*N&&(H=w,J=p),{cx:H,cy:J,x01:-n,y01:-d,x11:H*(v/T-1),y11:J*(v/T-1)}}function hn(){var l=cn,h=yn,q=K(0),O=null,v=gn,R=dn,L=mn,u=null,D=ln(i);function i(){var n,d,a=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-un,c=R.apply(this,arguments)-un,M=an(c-f),t=c>f;if(u||(u=n=D()),s<a&&(d=s,s=a,a=d),!(s>y))u.moveTo(0,0);else if(M>tn-y)u.moveTo(s*Q(f),s*I(f)),u.arc(0,0,s,f,c,!t),a>y&&(u.moveTo(a*Q(c),a*I(c)),u.arc(0,0,a,c,f,t));else{var m=f,g=c,A=f,T=c,P=M,E=M,H=L.apply(this,arguments)/2,J=H>y&&(O?+O.apply(this,arguments):j(a*a+s*s)),w=_(an(s-a)/2,+q.apply(this,arguments)),p=w,x=w,e,r;if(J>y){var N=sn(J/a*I(H)),z=sn(J/s*I(H));(P-=N*2)>y?(N*=t?1:-1,A+=N,T-=N):(P=0,A=T=(f+c)/2),(E-=z*2)>y?(z*=t?1:-1,m+=z,g-=z):(E=0,m=g=(f+c)/2)}var V=s*Q(m),W=s*I(m),B=a*Q(T),C=a*I(T);if(w>y){var F=s*Q(g),G=s*I(g),X=a*Q(A),Y=a*I(A),S;if(M<rn)if(S=pn(V,W,X,Y,F,G,B,C)){var Z=V-S[0],$=W-S[1],k=F-S[0],b=G-S[1],nn=1/I(on((Z*k+$*b)/(j(Z*Z+$*$)*j(k*k+b*b)))/2),en=j(S[0]*S[0]+S[1]*S[1]);p=_(w,(a-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}E>y?x>y?(e=U(X,Y,V,W,s,x,t),r=U(F,G,B,C,s,x,t),u.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?u.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(r.y01,r.x01),!t):(u.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!t),u.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),!t),u.arc(r.cx,r.cy,x,o(r.y11,r.x11),o(r.y01,r.x01),!t))):(u.moveTo(V,W),u.arc(0,0,s,m,g,!t)):u.moveTo(V,W),!(a>y)||!(P>y)?u.lineTo(B,C):p>y?(e=U(B,C,F,G,a,-p,t),r=U(V,W,X,Y,a,-p,t),u.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?u.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(r.y01,r.x01),!t):(u.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!t),u.arc(0,0,a,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),t),u.arc(r.cx,r.cy,p,o(r.y11,r.x11),o(r.y01,r.x01),!t))):u.arc(0,0,a,T,A,t)}if(u.closePath(),n)return u=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,d=(+v.apply(this,arguments)+ +R.apply(this,arguments))/2-rn/2;return[Q(d)*n,I(d)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:K(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:K(+n),i):h},i.cornerRadius=function(n){return arguments.length?(q=typeof n=="function"?n:K(+n),i):q},i.padRadius=function(n){return arguments.length?(O=n==null?null:typeof n=="function"?n:K(+n),i):O},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:K(+n),i):v},i.endAngle=function(n){return arguments.length?(R=typeof n=="function"?n:K(+n),i):R},i.padAngle=function(n){return arguments.length?(L=typeof n=="function"?n:K(+n),i):L},i.context=function(n){return arguments.length?(u=n??null,i):u},i}export{hn as d};