@autocode-cli/autocode 0.29.0 → 0.37.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 (203) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_i18n/Mqu2gZRD/en/messages.json +1 -0
  3. package/.output/public/_i18n/Mqu2gZRD/fr/messages.json +1 -0
  4. package/.output/public/_nuxt/-DEWfUYv.js +1 -0
  5. package/.output/public/_nuxt/{CGH8jYZ3.js → 0VxesDuV.js} +1 -1
  6. package/.output/public/_nuxt/{Cw9GjiQd.js → 3dDT4orS.js} +1 -1
  7. package/.output/public/_nuxt/{DJ68wI4q.js → B-L8_kPw.js} +1 -1
  8. package/.output/public/_nuxt/{WXFPFJGI.js → B6_0bWxd.js} +1 -1
  9. package/.output/public/_nuxt/B8IBFC6T.js +1 -0
  10. package/.output/public/_nuxt/{mhFvEihp.js → B9-SkqjX.js} +3 -3
  11. package/.output/public/_nuxt/{DwEf6snv.js → BBTritm-.js} +1 -1
  12. package/.output/public/_nuxt/{D2yqkPsk.js → BDW6A7V8.js} +1 -1
  13. package/.output/public/_nuxt/{CuMOMF74.js → BE1Ftxsu.js} +1 -1
  14. package/.output/public/_nuxt/BF5itqHW.js +10 -0
  15. package/.output/public/_nuxt/{c7taDBy4.js → BHpbNCa8.js} +1 -1
  16. package/.output/public/_nuxt/{CUrMRCov.js → BJGB6i4C.js} +1 -1
  17. package/.output/public/_nuxt/{ttDeS43_.js → BJnlSHzy.js} +1 -1
  18. package/.output/public/_nuxt/{Dnk-IiYT.js → BNr40Cyx.js} +1 -1
  19. package/.output/public/_nuxt/{CftWxl87.js → BP-5A3ad.js} +1 -1
  20. package/.output/public/_nuxt/{CvtJgrAC.js → BPSRe1xo.js} +1 -1
  21. package/.output/public/_nuxt/{DV1gbxJr.js → BatC3POU.js} +1 -1
  22. package/.output/public/_nuxt/{QO28866g.js → BcwrT42V.js} +1 -1
  23. package/.output/public/_nuxt/{MqYwBbea.js → BmfOZEEG.js} +1 -1
  24. package/.output/public/_nuxt/BqOlVwUK.js +1 -0
  25. package/.output/public/_nuxt/{CMirklGN.js → Bx15WLHx.js} +1 -1
  26. package/.output/public/_nuxt/{s3F7y6k3.js → C1Dh6gFG.js} +1 -1
  27. package/.output/public/_nuxt/{Bb4iE1RK.js → C1d_VCXk.js} +1 -1
  28. package/.output/public/_nuxt/{YFXx8Qjo.js → C3g32ML-.js} +1 -1
  29. package/.output/public/_nuxt/{BiTHsA5D.js → C819KIPL.js} +1 -1
  30. package/.output/public/_nuxt/{DMLkLSSr.js → CDRiuU72.js} +1 -1
  31. package/.output/public/_nuxt/{BWuiHx6Z.js → CH4xRPqk.js} +1 -1
  32. package/.output/public/_nuxt/{Qp3vP2w-.js → CHFxtqug.js} +1 -1
  33. package/.output/public/_nuxt/{BhOptLaB.js → CHQoxcLf.js} +1 -1
  34. package/.output/public/_nuxt/CKyM99yH.js +1 -0
  35. package/.output/public/_nuxt/{2aYBL_7i.js → CORW7tev.js} +1 -1
  36. package/.output/public/_nuxt/{5c4wy8Fe.js → CQakkP7y.js} +1 -1
  37. package/.output/public/_nuxt/{C1majTdt.js → CTidC4T0.js} +1 -1
  38. package/.output/public/_nuxt/CWELpXTp.js +1 -0
  39. package/.output/public/_nuxt/{C8ykELcI.js → CjND9Y9S.js} +1 -1
  40. package/.output/public/_nuxt/{eAMnPBdX.js → Cm1brjPJ.js} +1 -1
  41. package/.output/public/_nuxt/{DUT6s2Vc.js → CohKcwVk.js} +1 -1
  42. package/.output/public/_nuxt/CpaAmOT1.js +1 -0
  43. package/.output/public/_nuxt/{BKohRmb3.js → CqtB_OH7.js} +1 -1
  44. package/.output/public/_nuxt/{DBRrdiDg.js → CvEn06t8.js} +1 -1
  45. package/.output/public/_nuxt/{D0l9HWst.js → D3FsoLQm.js} +1 -1
  46. package/.output/public/_nuxt/{ZxHW_Wwi.js → D3uRvzsu.js} +1 -1
  47. package/.output/public/_nuxt/{c9kaG6Mb.js → D6s--CDK.js} +1 -1
  48. package/.output/public/_nuxt/{CFO65yNa.js → DL-48EFA.js} +1 -1
  49. package/.output/public/_nuxt/{a0ULJgSn.js → DPdNpAt1.js} +1 -1
  50. package/.output/public/_nuxt/DbKMezC2.js +1 -0
  51. package/.output/public/_nuxt/{W7VQVcj3.js → DjSp0ni5.js} +3 -3
  52. package/.output/public/_nuxt/{C9F9DISc.js → Dku8fc7v.js} +1 -1
  53. package/.output/public/_nuxt/{B-SoSAQ-.js → DorDSzHT.js} +1 -1
  54. package/.output/public/_nuxt/{CtihvsfH.js → DpJr9JIo.js} +1 -1
  55. package/.output/public/_nuxt/{DS8c6APr.js → DvdVpK92.js} +1 -1
  56. package/.output/public/_nuxt/{DfzafmDP.js → DyAfzMRU.js} +1 -1
  57. package/.output/public/_nuxt/{tqfMB__6.js → G3ENYyJJ.js} +1 -1
  58. package/.output/public/_nuxt/{BvR2cHrU.js → G3RO7xM_.js} +1 -1
  59. package/.output/public/_nuxt/{BsOUGgHX.js → Q3VbeUEc.js} +1 -1
  60. package/.output/public/_nuxt/{E037g09h.js → _Lx_e17m.js} +1 -1
  61. package/.output/public/_nuxt/{DEbgyyF-.js → _S9g-Cdv.js} +1 -1
  62. package/.output/public/_nuxt/{C_XYgaP4.js → _dIH-mlE.js} +1 -1
  63. package/.output/public/_nuxt/builds/latest.json +1 -1
  64. package/.output/public/_nuxt/builds/meta/cbc2f99e-ecf0-446a-810b-808825114bc3.json +1 -0
  65. package/.output/public/_nuxt/{BrN48gj6.js → c0R8lEWK.js} +1 -1
  66. package/.output/public/_nuxt/cli.D68WAxVv.css +1 -0
  67. package/.output/public/_nuxt/{Dmbsi9xE.js → cm-fPQZs.js} +1 -1
  68. package/.output/public/_nuxt/{C2MG9-_i.js → hYe2UtEI.js} +1 -1
  69. package/.output/public/_nuxt/index.B4qqY6WX.css +1 -0
  70. package/.output/public/_nuxt/index.CPvzWVwd.css +1 -0
  71. package/.output/public/_nuxt/{Camk5F-_.js → mbPYOeR0.js} +1 -1
  72. package/.output/public/_nuxt/n-2mvXdi.js +1 -0
  73. package/.output/public/_nuxt/new.84MgEEsd.css +1 -0
  74. package/.output/public/_nuxt/prompt.CNw9EZnJ.css +1 -0
  75. package/.output/public/_nuxt/{CL8Pd5Up.js → qNJDhLpf.js} +1 -1
  76. package/.output/public/_nuxt/{CDsqJjO8.js → rFVztcxU.js} +1 -1
  77. package/.output/public/_nuxt/{BG7brVhY.js → up1a6xQr.js} +1 -1
  78. package/.output/public/_nuxt/x9aAWeiI.js +1 -0
  79. package/.output/public/_payload.json +1 -1
  80. package/.output/public/api/_openapi.json +1 -1
  81. package/.output/public/docs/api/_payload.json +1 -1
  82. package/.output/public/docs/api/index.html +8 -4
  83. package/.output/public/docs/cli/_payload.json +1 -1
  84. package/.output/public/docs/cli/index.html +13 -13
  85. package/.output/public/index.html +1 -1
  86. package/.output/server/chunks/_/en.mjs +16 -23
  87. package/.output/server/chunks/_/en.mjs.map +1 -1
  88. package/.output/server/chunks/_/fr.mjs +16 -23
  89. package/.output/server/chunks/_/fr.mjs.map +1 -1
  90. package/.output/server/chunks/build/LandingAutonomy-styles.Dvel3Juy.mjs +8 -0
  91. package/.output/server/chunks/build/LandingAutonomy-styles.Dvel3Juy.mjs.map +1 -0
  92. package/.output/server/chunks/build/LandingFooter-styles.CudcJSR4.mjs +8 -0
  93. package/.output/server/chunks/build/LandingFooter-styles.CudcJSR4.mjs.map +1 -0
  94. package/.output/server/chunks/build/LandingPipeline-styles.C8JPQYOV.mjs +8 -0
  95. package/.output/server/chunks/build/LandingPipeline-styles.C8JPQYOV.mjs.map +1 -0
  96. package/.output/server/chunks/build/{cli-CZwbcgW5.mjs → cli-S2geGQoF.mjs} +27 -14
  97. package/.output/server/chunks/build/cli-S2geGQoF.mjs.map +1 -0
  98. package/.output/server/chunks/build/cli-styles.BonhH80m.mjs +8 -0
  99. package/.output/server/chunks/build/cli-styles.BonhH80m.mjs.map +1 -0
  100. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  101. package/.output/server/chunks/build/{en-BwRtQJL1.mjs → en-nHmCjmd_.mjs} +17 -24
  102. package/.output/server/chunks/build/{en-BwRtQJL1.mjs.map → en-nHmCjmd_.mjs.map} +1 -1
  103. package/.output/server/chunks/build/{fr-BAbxj8tA.mjs → fr-7FZEU85C.mjs} +17 -24
  104. package/.output/server/chunks/build/{fr-BAbxj8tA.mjs.map → fr-7FZEU85C.mjs.map} +1 -1
  105. package/.output/server/chunks/build/{index-CKZ58Ox2.mjs → index-BZJzUQ3B.mjs} +27 -17
  106. package/.output/server/chunks/build/index-BZJzUQ3B.mjs.map +1 -0
  107. package/.output/server/chunks/build/{index-3KvoAMZW.mjs → index-DYwGkPcJ.mjs} +92 -275
  108. package/.output/server/chunks/build/index-DYwGkPcJ.mjs.map +1 -0
  109. package/.output/server/chunks/build/index-styles.BP9liX_F.mjs +8 -0
  110. package/.output/server/chunks/build/index-styles.BP9liX_F.mjs.map +1 -0
  111. package/.output/server/chunks/build/{new-BI12IpeK.mjs → new-BqYiaSD7.mjs} +19 -19
  112. package/.output/server/chunks/build/{new-BI12IpeK.mjs.map → new-BqYiaSD7.mjs.map} +1 -1
  113. package/.output/server/chunks/build/new-styles.BPjkN6Iy.mjs +8 -0
  114. package/.output/server/chunks/build/new-styles.BPjkN6Iy.mjs.map +1 -0
  115. package/.output/server/chunks/build/{prompt-BjvwrM-J.mjs → prompt-D-xu1MtO.mjs} +41 -12
  116. package/.output/server/chunks/build/prompt-D-xu1MtO.mjs.map +1 -0
  117. package/.output/server/chunks/build/prompt-styles.Dvlc6Xra.mjs +8 -0
  118. package/.output/server/chunks/build/prompt-styles.Dvlc6Xra.mjs.map +1 -0
  119. package/.output/server/chunks/build/server.mjs +9 -9
  120. package/.output/server/chunks/build/styles.mjs +29 -35
  121. package/.output/server/chunks/nitro/nitro.mjs +551 -521
  122. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  123. package/.output/server/chunks/routes/.well-known/appspecific/_...path_.mjs +34 -0
  124. package/.output/server/chunks/routes/.well-known/appspecific/_...path_.mjs.map +1 -0
  125. package/.output/server/chunks/routes/api/issues/_id/history.get.mjs +3 -2
  126. package/.output/server/chunks/routes/api/issues/_id/history.get.mjs.map +1 -1
  127. package/.output/server/node_modules/.prisma/client/index.js +4 -3
  128. package/.output/server/node_modules/.prisma/client/package.json +1 -1
  129. package/.output/server/package.json +1 -1
  130. package/bin/autocode +188 -4
  131. package/package.json +5 -6
  132. package/prisma/migrations/20260104173538_init/migration.sql +142 -0
  133. package/prisma/migrations/20260104180000_pipeline_versioning/migration.sql +216 -0
  134. package/prisma/migrations/20260104190638_add_column_prompts/migration.sql +50 -0
  135. package/prisma/migrations/20260105120000_remove_column_prompts/migration.sql +3 -0
  136. package/prisma/migrations/20260105150000_normalize_pipeline_names/migration.sql +37 -0
  137. package/prisma/migrations/20260105170000_remove_slug_prefixes/migration.sql +16 -0
  138. package/prisma/migrations/migration_lock.toml +3 -0
  139. package/prisma/schema.prisma +185 -0
  140. package/templates/prompts/_transition-decision.en.md +41 -25
  141. package/templates/prompts/_transition-decision.fr.md +28 -11
  142. package/templates/prompts/design.en.md +31 -9
  143. package/templates/prompts/design.fr.md +31 -9
  144. package/templates/prompts/git-tag.en.md +47 -11
  145. package/templates/prompts/git-tag.fr.md +47 -11
  146. package/templates/prompts/in-progress.en.md +43 -9
  147. package/templates/prompts/in-progress.fr.md +44 -10
  148. package/templates/prompts/qualification.en.md +48 -17
  149. package/templates/prompts/qualification.fr.md +48 -17
  150. package/templates/prompts/retest-cypress.en.md +14 -3
  151. package/templates/prompts/retest-cypress.fr.md +14 -3
  152. package/templates/prompts/review-security.en.md +35 -6
  153. package/templates/prompts/review-security.fr.md +35 -6
  154. package/templates/prompts/specification.en.md +29 -7
  155. package/templates/prompts/specification.fr.md +29 -7
  156. package/templates/prompts/splitter.en.md +50 -28
  157. package/templates/prompts/splitter.fr.md +52 -31
  158. package/templates/prompts/testing-cypress.en.md +14 -4
  159. package/templates/prompts/testing-cypress.fr.md +14 -4
  160. package/templates/prompts/testing-integration.en.md +39 -3
  161. package/templates/prompts/testing-integration.fr.md +39 -3
  162. package/.output/public/_i18n/_RCBbyrF/en/messages.json +0 -1
  163. package/.output/public/_i18n/_RCBbyrF/fr/messages.json +0 -1
  164. package/.output/public/_nuxt/B-QzFHDD.js +0 -1
  165. package/.output/public/_nuxt/Bn3kTsBm.js +0 -1
  166. package/.output/public/_nuxt/C2Vs_J-1.js +0 -1
  167. package/.output/public/_nuxt/CDVPefsv.js +0 -1
  168. package/.output/public/_nuxt/CSk34z2H.js +0 -1
  169. package/.output/public/_nuxt/DPWzdJ4S.js +0 -1
  170. package/.output/public/_nuxt/DrzMcrms.js +0 -1
  171. package/.output/public/_nuxt/_bAHEawb.js +0 -1
  172. package/.output/public/_nuxt/b2LQmhwq.js +0 -1
  173. package/.output/public/_nuxt/builds/meta/4d6876ea-4c52-49d1-a9d5-07bb0648a85e.json +0 -1
  174. package/.output/public/_nuxt/cli.e1u7fwy6.css +0 -1
  175. package/.output/public/_nuxt/hWy-7Z1L.js +0 -10
  176. package/.output/public/_nuxt/index.COVdL_Kx.css +0 -1
  177. package/.output/public/_nuxt/index.Dndk3KN9.css +0 -1
  178. package/.output/public/_nuxt/new.BFERdqdm.css +0 -1
  179. package/.output/public/_nuxt/prompt.DZ0wdOji.css +0 -1
  180. package/.output/server/chunks/build/LandingArchitecture-styles.Don6ug3a.mjs +0 -8
  181. package/.output/server/chunks/build/LandingArchitecture-styles.Don6ug3a.mjs.map +0 -1
  182. package/.output/server/chunks/build/LandingAutonomy-styles.D9JJFMEO.mjs +0 -8
  183. package/.output/server/chunks/build/LandingAutonomy-styles.D9JJFMEO.mjs.map +0 -1
  184. package/.output/server/chunks/build/LandingDemo-styles.WY8VUN9P.mjs +0 -8
  185. package/.output/server/chunks/build/LandingDemo-styles.WY8VUN9P.mjs.map +0 -1
  186. package/.output/server/chunks/build/LandingFooter-styles.sSpn5cgM.mjs +0 -8
  187. package/.output/server/chunks/build/LandingFooter-styles.sSpn5cgM.mjs.map +0 -1
  188. package/.output/server/chunks/build/LandingPipeline-styles.CL96fyQR.mjs +0 -8
  189. package/.output/server/chunks/build/LandingPipeline-styles.CL96fyQR.mjs.map +0 -1
  190. package/.output/server/chunks/build/LandingRoadmap-styles.DX5EsTsx.mjs +0 -8
  191. package/.output/server/chunks/build/LandingRoadmap-styles.DX5EsTsx.mjs.map +0 -1
  192. package/.output/server/chunks/build/cli-CZwbcgW5.mjs.map +0 -1
  193. package/.output/server/chunks/build/cli-styles.CSdcLhw8.mjs +0 -8
  194. package/.output/server/chunks/build/cli-styles.CSdcLhw8.mjs.map +0 -1
  195. package/.output/server/chunks/build/index-3KvoAMZW.mjs.map +0 -1
  196. package/.output/server/chunks/build/index-CKZ58Ox2.mjs.map +0 -1
  197. package/.output/server/chunks/build/index-styles.BJ7kZO7q.mjs +0 -8
  198. package/.output/server/chunks/build/index-styles.BJ7kZO7q.mjs.map +0 -1
  199. package/.output/server/chunks/build/new-styles.Chk5u_6M.mjs +0 -8
  200. package/.output/server/chunks/build/new-styles.Chk5u_6M.mjs.map +0 -1
  201. package/.output/server/chunks/build/prompt-BjvwrM-J.mjs.map +0 -1
  202. package/.output/server/chunks/build/prompt-styles.DWfublIG.mjs +0 -8
  203. package/.output/server/chunks/build/prompt-styles.DWfublIG.mjs.map +0 -1
@@ -1 +1 @@
1
- import{d as k,g as y,M as C,bs as N,r as m,T as U,L as V,t as p,N as M}from"./W7VQVcj3.js";import{d as T,aF as _,c as i,b as r,e,f as o,h as a,F as d,g as f,t as $,w as h}from"./mhFvEihp.js";import{w as D}from"./YFXx8Qjo.js";import"./92s3wAHG.js";import"./BiTHsA5D.js";import"./C1majTdt.js";import"./D0l9HWst.js";const B={class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},L={class:"flex flex-col gap-2"},W={class:"bg-b-2 rounded-lg border text-sm"},A={class:"bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3"},F={class:"text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap"},I={class:"flex items-center"},O=["href"],E={class:"flex flex-col gap-4"},P={class:"flex items-center justify-between rounded-lg border p-3 text-sm"},R=T({__name:"CollectionSettings",setup(S){const{activeCollection:t,activeWorkspace:n,activeWorkspaceCollections:v}=k(),{collectionMutators:u}=y(),{replace:x}=_(),s=C();function g(){t.value&&t.value?.documentUrl&&u.edit(t.value.uid,"watchMode",!t.value?.watchMode)}function w(){if(!t.value||!n.value)return;u.delete(t.value,n.value);const c=v.value[0];c&&x({name:"collection",params:{[p.Workspace]:n.value.uid,[p.Collection]:c.uid}}),s.hide()}return(c,l)=>(r(),i(d,null,[e("div",B,[e("div",L,[l[5]||(l[5]=e("div",{class:"flex h-8 items-center"},[e("h3",{class:"font-bold"},"Features")],-1)),e("div",W,[e("div",A,[l[2]||(l[2]=e("div",null,[e("h4",null,"Watch Mode"),e("p",{class:"text-c-2 mt-1"}," When enabled, the OpenAPI document will be polled for changes. The collection will be updated automatically. ")],-1)),o(a(N),{class:"w-4",disabled:!a(t)?.documentUrl,modelValue:a(t)?.watchMode??!1,"onUpdate:modelValue":g},null,8,["disabled","modelValue"])]),e("div",F,[e("div",I,[a(t)?.documentUrl?(r(),i(d,{key:0},[l[3]||(l[3]=e("span",{class:"bg-b-2 sticky left-0 pr-2 pl-3"},"Source",-1)),e("a",{class:"text-c-2 group rounded pr-3 no-underline hover:underline",href:a(t).documentUrl,target:"_blank"},[f($(a(t).documentUrl)+" ",1),o(a(m),{class:"ml-1 hidden w-2.5 group-hover:inline",icon:"ExternalLink"})],8,O)],64)):(r(),i(d,{key:1},[o(a(m),{class:"text-c-2 mr-2 ml-3 w-4",icon:"NotAllowed",size:"sm"}),l[4]||(l[4]=e("span",{class:"text-c-2 pr-3"}," No URL configured. Try importing an OpenAPI document from an URL. ",-1))],64))])])])]),e("div",E,[l[8]||(l[8]=e("h3",{class:"font-bold"},"Danger Zone",-1)),e("div",P,[l[7]||(l[7]=e("div",null,[e("h4",null,"Delete Collection"),e("p",{class:"text-c-2 mt-1"}," Be careful, my friend. Once deleted, there is no way to recover the collection. ")],-1)),o(a(U),{class:"custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",variant:"danger",onClick:l[0]||(l[0]=b=>a(s).show())},{default:h(()=>[...l[6]||(l[6]=[f(" Delete Collection ",-1)])]),_:1})])])]),o(a(V),{size:"xxs",state:a(s),title:`Delete ${a(t)?.info?.title}`},{default:h(()=>[o(D,{variableName:a(t)?.info?.title??"",warningMessage:"This action cannot be undone.",onClose:l[1]||(l[1]=b=>a(s).hide()),onDelete:w},null,8,["variableName"])]),_:1},8,["state","title"])],64))}}),K=M(R,[["__scopeId","data-v-f353959a"]]);export{K as default};
1
+ import{d as k,g as y,M as C,bs as N,r as m,T as U,L as V,t as p,N as M}from"./DjSp0ni5.js";import{d as T,aF as _,c as i,b as r,e,f as o,h as a,F as d,g as f,t as $,w as h}from"./B9-SkqjX.js";import{w as D}from"./C3g32ML-.js";import"./92s3wAHG.js";import"./C819KIPL.js";import"./CTidC4T0.js";import"./D3FsoLQm.js";const B={class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},L={class:"flex flex-col gap-2"},W={class:"bg-b-2 rounded-lg border text-sm"},A={class:"bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3"},F={class:"text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap"},I={class:"flex items-center"},O=["href"],E={class:"flex flex-col gap-4"},P={class:"flex items-center justify-between rounded-lg border p-3 text-sm"},R=T({__name:"CollectionSettings",setup(S){const{activeCollection:t,activeWorkspace:n,activeWorkspaceCollections:v}=k(),{collectionMutators:u}=y(),{replace:x}=_(),s=C();function g(){t.value&&t.value?.documentUrl&&u.edit(t.value.uid,"watchMode",!t.value?.watchMode)}function w(){if(!t.value||!n.value)return;u.delete(t.value,n.value);const c=v.value[0];c&&x({name:"collection",params:{[p.Workspace]:n.value.uid,[p.Collection]:c.uid}}),s.hide()}return(c,l)=>(r(),i(d,null,[e("div",B,[e("div",L,[l[5]||(l[5]=e("div",{class:"flex h-8 items-center"},[e("h3",{class:"font-bold"},"Features")],-1)),e("div",W,[e("div",A,[l[2]||(l[2]=e("div",null,[e("h4",null,"Watch Mode"),e("p",{class:"text-c-2 mt-1"}," When enabled, the OpenAPI document will be polled for changes. The collection will be updated automatically. ")],-1)),o(a(N),{class:"w-4",disabled:!a(t)?.documentUrl,modelValue:a(t)?.watchMode??!1,"onUpdate:modelValue":g},null,8,["disabled","modelValue"])]),e("div",F,[e("div",I,[a(t)?.documentUrl?(r(),i(d,{key:0},[l[3]||(l[3]=e("span",{class:"bg-b-2 sticky left-0 pr-2 pl-3"},"Source",-1)),e("a",{class:"text-c-2 group rounded pr-3 no-underline hover:underline",href:a(t).documentUrl,target:"_blank"},[f($(a(t).documentUrl)+" ",1),o(a(m),{class:"ml-1 hidden w-2.5 group-hover:inline",icon:"ExternalLink"})],8,O)],64)):(r(),i(d,{key:1},[o(a(m),{class:"text-c-2 mr-2 ml-3 w-4",icon:"NotAllowed",size:"sm"}),l[4]||(l[4]=e("span",{class:"text-c-2 pr-3"}," No URL configured. Try importing an OpenAPI document from an URL. ",-1))],64))])])])]),e("div",E,[l[8]||(l[8]=e("h3",{class:"font-bold"},"Danger Zone",-1)),e("div",P,[l[7]||(l[7]=e("div",null,[e("h4",null,"Delete Collection"),e("p",{class:"text-c-2 mt-1"}," Be careful, my friend. Once deleted, there is no way to recover the collection. ")],-1)),o(a(U),{class:"custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",variant:"danger",onClick:l[0]||(l[0]=b=>a(s).show())},{default:h(()=>[...l[6]||(l[6]=[f(" Delete Collection ",-1)])]),_:1})])])]),o(a(V),{size:"xxs",state:a(s),title:`Delete ${a(t)?.info?.title}`},{default:h(()=>[o(D,{variableName:a(t)?.info?.title??"",warningMessage:"This action cannot be undone.",onClose:l[1]||(l[1]=b=>a(s).hide()),onDelete:w},null,8,["variableName"])]),_:1},8,["state","title"])],64))}}),K=M(R,[["__scopeId","data-v-f353959a"]]);export{K as default};
@@ -1,4 +1,4 @@
1
- import{_ as Di}from"./C9F9DISc.js";import{d as Vr,m as Et,r as Xn,n as va,c as le,b as ae,s as $n,e as G,D as Zo,E as Ea,h as U,I as Ut,t as re,j as ya,k as qe,w as ot,_ as Ur,N as wn,L as It,M as Me,O as rr,P as Mi,Q as Sa,R as _o,S as jt,T as ba,U as qo,V as Ta,W as wt,X as es,Y as go,Z as Ia,$ as Oa,a0 as Na,a1 as Ca,a2 as Aa,a3 as jr,a4 as xa,a5 as Pa,a6 as Ra,f as je,x as ts,H as Da,y as Ma,o as La,a7 as $a,u as wa,v as Fa,G as Va,F as Ua,q as ja,g as vo}from"./mhFvEihp.js";import{g as Br,a as Ba}from"./92s3wAHG.js";import{i as ir,a as Eo,b as yo,u as Xa}from"./D0l9HWst.js";import{u as ns}from"./BiTHsA5D.js";import{u as Ha}from"./C1majTdt.js";const Ga={key:0,class:"icon-lock"},Ka={key:1,class:"handle-icon"},Wa={class:"column-info"},Ya={key:1,class:"column-name"},ka={class:"column-slug"},Ja={class:"column-actions"},za=["title"],Qa=Vr({__name:"PipelineColumn",props:{column:{},pipelineName:{default:""},editable:{type:Boolean,default:!0},isDragging:{type:Boolean,default:!1},showPrompt:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0},locked:{type:Boolean,default:!1}},emits:["nameChange","nameBlur","remove"],setup(e){const t=e,n=Et(()=>{const i=`/column/${t.column.slug}/prompt`,s=new URLSearchParams;return t.pipelineName&&s.set("pipeline",t.pipelineName),s.set("name",t.column.name),`${i}?${s.toString()}`}),o=Xn(t.column.name);return va(()=>t.column.name,i=>{o.value=i}),(i,s)=>{const r=Di;return ae(),le("div",{class:$n(["pipeline-column",{dragging:e.isDragging,locked:e.locked}])},[G("div",{class:$n(["column-drag-handle",{disabled:e.locked}])},[e.locked?(ae(),le("span",Ga)):(ae(),le("span",Ka))],2),G("div",Wa,[e.editable?Zo((ae(),le("input",{key:0,"onUpdate:modelValue":s[0]||(s[0]=a=>Ut(o)?o.value=a:null),class:"column-name-input",onInput:s[1]||(s[1]=a=>i.$emit("nameChange",U(o))),onBlur:s[2]||(s[2]=a=>i.$emit("nameBlur"))},null,544)),[[Ea,U(o)]]):(ae(),le("span",Ya,re(e.column.name),1)),G("span",ka,re(e.column.slug),1)]),G("div",Ja,[e.showPrompt?(ae(),ya(r,{key:0,to:U(n),class:"btn-icon",title:i.$t("column.viewPrompt")},{default:ot(()=>[...s[4]||(s[4]=[G("span",{class:"icon-eye"},null,-1)])]),_:1},8,["to","title"])):qe("",!0),e.showRemove&&!e.locked?(ae(),le("button",{key:1,class:"btn-icon btn-danger",title:i.$t("form.delete"),onClick:s[3]||(s[3]=a=>i.$emit("remove",e.column))},[...s[5]||(s[5]=[G("span",{class:"icon-remove"},null,-1)])],8,za)):qe("",!0)])],2)}}}),Za=Object.assign(Ur(Qa,[["__scopeId","data-v-b7d3d1e3"]]),{__name:"PipelineColumn"});var hr={exports:{}},li={exports:{}},ci={};const un=Symbol(""),cn=Symbol(""),Xr=Symbol(""),Hn=Symbol(""),Li=Symbol(""),Xt=Symbol(""),$i=Symbol(""),wi=Symbol(""),Hr=Symbol(""),Gr=Symbol(""),En=Symbol(""),Kr=Symbol(""),Fi=Symbol(""),Wr=Symbol(""),Yr=Symbol(""),kr=Symbol(""),Jr=Symbol(""),zr=Symbol(""),Qr=Symbol(""),Vi=Symbol(""),Ui=Symbol(""),Jn=Symbol(""),Gn=Symbol(""),Zr=Symbol(""),_r=Symbol(""),dn=Symbol(""),yn=Symbol(""),qr=Symbol(""),Nr=Symbol(""),rs=Symbol(""),Cr=Symbol(""),Kn=Symbol(""),is=Symbol(""),os=Symbol(""),ei=Symbol(""),ss=Symbol(""),as=Symbol(""),ti=Symbol(""),ji=Symbol(""),Zt={[un]:"Fragment",[cn]:"Teleport",[Xr]:"Suspense",[Hn]:"KeepAlive",[Li]:"BaseTransition",[Xt]:"openBlock",[$i]:"createBlock",[wi]:"createElementBlock",[Hr]:"createVNode",[Gr]:"createElementVNode",[En]:"createCommentVNode",[Kr]:"createTextVNode",[Fi]:"createStaticVNode",[Wr]:"resolveComponent",[Yr]:"resolveDynamicComponent",[kr]:"resolveDirective",[Jr]:"resolveFilter",[zr]:"withDirectives",[Qr]:"renderList",[Vi]:"renderSlot",[Ui]:"createSlots",[Jn]:"toDisplayString",[Gn]:"mergeProps",[Zr]:"normalizeClass",[_r]:"normalizeStyle",[dn]:"normalizeProps",[yn]:"guardReactiveProps",[qr]:"toHandlers",[Nr]:"camelize",[rs]:"capitalize",[Cr]:"toHandlerKey",[Kn]:"setBlockTracking",[is]:"pushScopeId",[os]:"popScopeId",[ei]:"withCtx",[ss]:"unref",[as]:"isRef",[ti]:"withMemo",[ji]:"isMemoSame"};function ls(e){Object.getOwnPropertySymbols(e).forEach(t=>{Zt[t]=e[t]})}const _a={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},qa={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},el={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},tl={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Le={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function cs(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Le}}function hn(e,t,n,o,i,s,r,a=!1,l=!1,c=!1,u=Le){return e&&(a?(e.helper(Xt),e.helper(en(e.inSSR,c))):e.helper(qt(e.inSSR,c)),r&&e.helper(zr)),{type:13,tag:t,props:n,children:o,patchFlag:i,dynamicProps:s,directives:r,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function Bt(e,t=Le){return{type:17,loc:t,elements:e}}function st(e,t=Le){return{type:15,loc:t,properties:e}}function Ae(e,t){return{type:16,loc:Le,key:Me(e)?Q(e,!0):e,value:t}}function Q(e,t=!1,n=Le,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function nl(e,t){return{type:5,loc:t,content:Me(e)?Q(e,!1,t):e}}function lt(e,t=Le){return{type:8,loc:t,children:e}}function Re(e,t=[],n=Le){return{type:14,loc:n,callee:e,arguments:t}}function _t(e,t=void 0,n=!1,o=!1,i=Le){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:i}}function Ar(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Le}}function fs(e,t,n=!1,o=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:o,needArraySpread:!1,loc:Le}}function us(e){return{type:21,body:e,loc:Le}}function rl(e){return{type:22,elements:e,loc:Le}}function il(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Le}}function ol(e,t){return{type:24,left:e,right:t,loc:Le}}function sl(e){return{type:25,expressions:e,loc:Le}}function al(e){return{type:26,returns:e,loc:Le}}function qt(e,t){return e||t?Hr:Gr}function en(e,t){return e||t?$i:wi}function ni(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(qt(o,e.isComponent)),t(Xt),t(en(o,e.isComponent)))}const So=new Uint8Array([123,123]),bo=new Uint8Array([125,125]);function To(e){return e>=97&&e<=122||e>=65&&e<=90}function it(e){return e===32||e===10||e===9||e===12||e===13}function Dt(e){return e===47||e===62||it(e)}function xr(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Be={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class ll{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=So,this.delimiterClose=bo,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=So,this.delimiterClose=bo}getPos(t){let n=1,o=t+1;const i=this.newlines.length;let s=-1;if(i>100){let r=-1,a=i;for(;r+1<a;){const l=r+a>>>1;this.newlines[l]<t?r=l:a=l}s=r}else for(let r=i-1;r>=0;r--)if(t>this.newlines[r]){s=r;break}return s>=0&&(n=s+2,o=t-this.newlines[s]),{column:o,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Dt(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||it(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const o=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=o}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Be.TitleEnd||this.currentSequence===Be.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Be.Cdata[this.sequenceIndex]?++this.sequenceIndex===Be.Cdata.length&&(this.state=28,this.currentSequence=Be.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Be.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):To(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Dt(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Dt(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(xr("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){it(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=To(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||it(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):it(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):it(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||Dt(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||Dt(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Dt(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Dt(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||Dt(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):it(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):it(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){it(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Be.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Be.ScriptEnd[3]?this.startSpecial(Be.ScriptEnd,4):t===Be.StyleEnd[3]?this.startSpecial(Be.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Be.TitleEnd[3]?this.startSpecial(Be.TitleEnd,4):t===Be.TextareaEnd[3]?this.startSpecial(Be.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Be.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const cl={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},fl={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function bi(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function zt(e,t){const n=bi("MODE",t),o=bi(e,t);return n===3?o===!0:o!==!1}function pn(e,t,n,...o){return zt(e,t)}function ul(e,t,n,...o){if(bi(e,t)==="suppress-warning")return;const{message:s,link:r}=fl[e],a=`(deprecation ${e}) ${typeof s=="function"?s(...o):s}${r?`
1
+ import{_ as Di}from"./Dku8fc7v.js";import{d as Vr,m as Et,r as Xn,n as va,c as le,b as ae,s as $n,e as G,D as Zo,E as Ea,h as U,I as Ut,t as re,j as ya,k as qe,w as ot,_ as Ur,N as wn,L as It,M as Me,O as rr,P as Mi,Q as Sa,R as _o,S as jt,T as ba,U as qo,V as Ta,W as wt,X as es,Y as go,Z as Ia,$ as Oa,a0 as Na,a1 as Ca,a2 as Aa,a3 as jr,a4 as xa,a5 as Pa,a6 as Ra,f as je,x as ts,H as Da,y as Ma,o as La,a7 as $a,u as wa,v as Fa,G as Va,F as Ua,q as ja,g as vo}from"./B9-SkqjX.js";import{g as Br,a as Ba}from"./92s3wAHG.js";import{i as ir,a as Eo,b as yo,u as Xa}from"./D3FsoLQm.js";import{u as ns}from"./C819KIPL.js";import{u as Ha}from"./CTidC4T0.js";const Ga={key:0,class:"icon-lock"},Ka={key:1,class:"handle-icon"},Wa={class:"column-info"},Ya={key:1,class:"column-name"},ka={class:"column-slug"},Ja={class:"column-actions"},za=["title"],Qa=Vr({__name:"PipelineColumn",props:{column:{},pipelineName:{default:""},editable:{type:Boolean,default:!0},isDragging:{type:Boolean,default:!1},showPrompt:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0},locked:{type:Boolean,default:!1}},emits:["nameChange","nameBlur","remove"],setup(e){const t=e,n=Et(()=>{const i=`/column/${t.column.slug}/prompt`,s=new URLSearchParams;return t.pipelineName&&s.set("pipeline",t.pipelineName),s.set("name",t.column.name),`${i}?${s.toString()}`}),o=Xn(t.column.name);return va(()=>t.column.name,i=>{o.value=i}),(i,s)=>{const r=Di;return ae(),le("div",{class:$n(["pipeline-column",{dragging:e.isDragging,locked:e.locked}])},[G("div",{class:$n(["column-drag-handle",{disabled:e.locked}])},[e.locked?(ae(),le("span",Ga)):(ae(),le("span",Ka))],2),G("div",Wa,[e.editable?Zo((ae(),le("input",{key:0,"onUpdate:modelValue":s[0]||(s[0]=a=>Ut(o)?o.value=a:null),class:"column-name-input",onInput:s[1]||(s[1]=a=>i.$emit("nameChange",U(o))),onBlur:s[2]||(s[2]=a=>i.$emit("nameBlur"))},null,544)),[[Ea,U(o)]]):(ae(),le("span",Ya,re(e.column.name),1)),G("span",ka,re(e.column.slug),1)]),G("div",Ja,[e.showPrompt?(ae(),ya(r,{key:0,to:U(n),class:"btn-icon",title:i.$t("column.viewPrompt")},{default:ot(()=>[...s[4]||(s[4]=[G("span",{class:"icon-eye"},null,-1)])]),_:1},8,["to","title"])):qe("",!0),e.showRemove&&!e.locked?(ae(),le("button",{key:1,class:"btn-icon btn-danger",title:i.$t("form.delete"),onClick:s[3]||(s[3]=a=>i.$emit("remove",e.column))},[...s[5]||(s[5]=[G("span",{class:"icon-remove"},null,-1)])],8,za)):qe("",!0)])],2)}}}),Za=Object.assign(Ur(Qa,[["__scopeId","data-v-b7d3d1e3"]]),{__name:"PipelineColumn"});var hr={exports:{}},li={exports:{}},ci={};const un=Symbol(""),cn=Symbol(""),Xr=Symbol(""),Hn=Symbol(""),Li=Symbol(""),Xt=Symbol(""),$i=Symbol(""),wi=Symbol(""),Hr=Symbol(""),Gr=Symbol(""),En=Symbol(""),Kr=Symbol(""),Fi=Symbol(""),Wr=Symbol(""),Yr=Symbol(""),kr=Symbol(""),Jr=Symbol(""),zr=Symbol(""),Qr=Symbol(""),Vi=Symbol(""),Ui=Symbol(""),Jn=Symbol(""),Gn=Symbol(""),Zr=Symbol(""),_r=Symbol(""),dn=Symbol(""),yn=Symbol(""),qr=Symbol(""),Nr=Symbol(""),rs=Symbol(""),Cr=Symbol(""),Kn=Symbol(""),is=Symbol(""),os=Symbol(""),ei=Symbol(""),ss=Symbol(""),as=Symbol(""),ti=Symbol(""),ji=Symbol(""),Zt={[un]:"Fragment",[cn]:"Teleport",[Xr]:"Suspense",[Hn]:"KeepAlive",[Li]:"BaseTransition",[Xt]:"openBlock",[$i]:"createBlock",[wi]:"createElementBlock",[Hr]:"createVNode",[Gr]:"createElementVNode",[En]:"createCommentVNode",[Kr]:"createTextVNode",[Fi]:"createStaticVNode",[Wr]:"resolveComponent",[Yr]:"resolveDynamicComponent",[kr]:"resolveDirective",[Jr]:"resolveFilter",[zr]:"withDirectives",[Qr]:"renderList",[Vi]:"renderSlot",[Ui]:"createSlots",[Jn]:"toDisplayString",[Gn]:"mergeProps",[Zr]:"normalizeClass",[_r]:"normalizeStyle",[dn]:"normalizeProps",[yn]:"guardReactiveProps",[qr]:"toHandlers",[Nr]:"camelize",[rs]:"capitalize",[Cr]:"toHandlerKey",[Kn]:"setBlockTracking",[is]:"pushScopeId",[os]:"popScopeId",[ei]:"withCtx",[ss]:"unref",[as]:"isRef",[ti]:"withMemo",[ji]:"isMemoSame"};function ls(e){Object.getOwnPropertySymbols(e).forEach(t=>{Zt[t]=e[t]})}const _a={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},qa={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},el={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},tl={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Le={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function cs(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Le}}function hn(e,t,n,o,i,s,r,a=!1,l=!1,c=!1,u=Le){return e&&(a?(e.helper(Xt),e.helper(en(e.inSSR,c))):e.helper(qt(e.inSSR,c)),r&&e.helper(zr)),{type:13,tag:t,props:n,children:o,patchFlag:i,dynamicProps:s,directives:r,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function Bt(e,t=Le){return{type:17,loc:t,elements:e}}function st(e,t=Le){return{type:15,loc:t,properties:e}}function Ae(e,t){return{type:16,loc:Le,key:Me(e)?Q(e,!0):e,value:t}}function Q(e,t=!1,n=Le,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function nl(e,t){return{type:5,loc:t,content:Me(e)?Q(e,!1,t):e}}function lt(e,t=Le){return{type:8,loc:t,children:e}}function Re(e,t=[],n=Le){return{type:14,loc:n,callee:e,arguments:t}}function _t(e,t=void 0,n=!1,o=!1,i=Le){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:i}}function Ar(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Le}}function fs(e,t,n=!1,o=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:o,needArraySpread:!1,loc:Le}}function us(e){return{type:21,body:e,loc:Le}}function rl(e){return{type:22,elements:e,loc:Le}}function il(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Le}}function ol(e,t){return{type:24,left:e,right:t,loc:Le}}function sl(e){return{type:25,expressions:e,loc:Le}}function al(e){return{type:26,returns:e,loc:Le}}function qt(e,t){return e||t?Hr:Gr}function en(e,t){return e||t?$i:wi}function ni(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(qt(o,e.isComponent)),t(Xt),t(en(o,e.isComponent)))}const So=new Uint8Array([123,123]),bo=new Uint8Array([125,125]);function To(e){return e>=97&&e<=122||e>=65&&e<=90}function it(e){return e===32||e===10||e===9||e===12||e===13}function Dt(e){return e===47||e===62||it(e)}function xr(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Be={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class ll{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=So,this.delimiterClose=bo,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=So,this.delimiterClose=bo}getPos(t){let n=1,o=t+1;const i=this.newlines.length;let s=-1;if(i>100){let r=-1,a=i;for(;r+1<a;){const l=r+a>>>1;this.newlines[l]<t?r=l:a=l}s=r}else for(let r=i-1;r>=0;r--)if(t>this.newlines[r]){s=r;break}return s>=0&&(n=s+2,o=t-this.newlines[s]),{column:o,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Dt(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||it(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const o=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=o}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Be.TitleEnd||this.currentSequence===Be.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Be.Cdata[this.sequenceIndex]?++this.sequenceIndex===Be.Cdata.length&&(this.state=28,this.currentSequence=Be.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Be.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):To(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Dt(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Dt(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(xr("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){it(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=To(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||it(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):it(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):it(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||Dt(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||Dt(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Dt(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Dt(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||Dt(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):it(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):it(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){it(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Be.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Be.ScriptEnd[3]?this.startSpecial(Be.ScriptEnd,4):t===Be.StyleEnd[3]?this.startSpecial(Be.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Be.TitleEnd[3]?this.startSpecial(Be.TitleEnd,4):t===Be.TextareaEnd[3]?this.startSpecial(Be.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Be.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const cl={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},fl={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function bi(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function zt(e,t){const n=bi("MODE",t),o=bi(e,t);return n===3?o===!0:o!==!1}function pn(e,t,n,...o){return zt(e,t)}function ul(e,t,n,...o){if(bi(e,t)==="suppress-warning")return;const{message:s,link:r}=fl[e],a=`(deprecation ${e}) ${typeof s=="function"?s(...o):s}${r?`
2
2
  Details: ${r}`:""}`,l=new SyntaxError(a);l.code=e,n&&(l.loc=n),t.onWarn(l)}function Bi(e){throw e}function ds(e){}function de(e,t,n,o){const i=`https://vuejs.org/error-reference/#compiler-${e}`,s=new SyntaxError(String(i));return s.code=e,s.loc=t,s}const dl={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_V_MODEL_ON_CONST:45,45:"X_V_MODEL_ON_CONST",X_INVALID_EXPRESSION:46,46:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:47,47:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:48,48:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:49,49:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:50,50:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:51,51:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:52,52:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:54,54:"__EXTEND_POINT__"},hl={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",53:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
3
3
  Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""};function pl(e,t,n=!1,o=[],i=Object.create(null)){}function ml(e,t,n){return!1}function gl(e,t){if(e&&(e.type==="ObjectProperty"||e.type==="ArrayPattern")){let n=t.length;for(;n--;){const o=t[n];if(o.type==="AssignmentExpression")return!0;if(o.type!=="ObjectProperty"&&!o.type.endsWith("Pattern"))break}}return!1}function vl(e){let t=e.length;for(;t--;){const n=e[t];if(n.type==="NewExpression")return!0;if(n.type!=="MemberExpression")break}return!1}function El(e,t){for(const n of e.params)for(const o of vt(n))t(o)}function hs(e,t){const n=e.type==="SwitchCase"?e.consequent:e.body;for(const o of n)if(o.type==="VariableDeclaration"){if(o.declare)continue;for(const i of o.declarations)for(const s of vt(i.id))t(s)}else if(o.type==="FunctionDeclaration"||o.type==="ClassDeclaration"){if(o.declare||!o.id)continue;t(o.id)}else yl(o)?Sl(o,!0,t):o.type==="SwitchStatement"&&bl(o,!0,t)}function yl(e){return e.type==="ForOfStatement"||e.type==="ForInStatement"||e.type==="ForStatement"}function Sl(e,t,n){const o=e.type==="ForStatement"?e.init:e.left;if(o&&o.type==="VariableDeclaration"&&(o.kind==="var"?t:!t))for(const i of o.declarations)for(const s of vt(i.id))n(s)}function bl(e,t,n){for(const o of e.cases){for(const i of o.consequent)if(i.type==="VariableDeclaration"&&(i.kind==="var"?t:!t))for(const s of i.declarations)for(const r of vt(s.id))n(r);hs(o,n)}}function vt(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;n.type==="MemberExpression";)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)o.type==="RestElement"?vt(o.argument,t):vt(o.value,t);break;case"ArrayPattern":e.elements.forEach(o=>{o&&vt(o,t)});break;case"RestElement":vt(e.argument,t);break;case"AssignmentPattern":vt(e.left,t);break}return t}const Tl=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),ps=e=>e&&(e.type==="ObjectProperty"||e.type==="ObjectMethod")&&!e.computed,Il=(e,t)=>ps(t)&&t.key===e,ms=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function gs(e){return ms.includes(e.type)?gs(e.expression):e}const Je=e=>e.type===4&&e.isStatic;function Xi(e){switch(e){case"Teleport":case"teleport":return cn;case"Suspense":case"suspense":return Xr;case"KeepAlive":case"keep-alive":return Hn;case"BaseTransition":case"base-transition":return Li}}const Ol=/^$|^\d|[^\$\w\xA0-\uFFFF]/,zn=e=>!Ol.test(e),Hi=/[A-Za-z_$\xA0-\uFFFF]/,Nl=/[\.\?\w$\xA0-\uFFFF]/,Cl=/\s+[.[]\s*|\s*[.[]\s+/g,vs=e=>e.type===4?e.content:e.loc.source,Es=e=>{const t=vs(e).trim().replace(Cl,a=>a.trim());let n=0,o=[],i=0,s=0,r=null;for(let a=0;a<t.length;a++){const l=t.charAt(a);switch(n){case 0:if(l==="[")o.push(n),n=1,i++;else if(l==="(")o.push(n),n=2,s++;else if(!(a===0?Hi:Nl).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(o.push(n),n=3,r=l):l==="["?i++:l==="]"&&(--i||(n=o.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")o.push(n),n=3,r=l;else if(l==="(")s++;else if(l===")"){if(a===t.length-1)return!1;--s||(n=o.pop())}break;case 3:l===r&&(n=o.pop(),r=null);break}}return!i&&!s},Al=wn,Gi=Es,xl=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,ys=e=>xl.test(vs(e)),Pl=wn,Ss=ys;function Rl(e,t,n=t.length){return bs({offset:e.offset,line:e.line,column:e.column},t,n)}function bs(e,t,n=t.length){let o=0,i=-1;for(let s=0;s<n;s++)t.charCodeAt(s)===10&&(o++,i=s);return e.offset+=n,e.line+=o,e.column=i===-1?e.column+n:n-i,e}function Dl(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function ke(e,t,n=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(i.type===7&&(n||i.exp)&&(Me(t)?i.name===t:t.test(i.name)))return i}}function Qn(e,t,n=!1,o=!1){for(let i=0;i<e.props.length;i++){const s=e.props[i];if(s.type===6){if(n)continue;if(s.name===t&&(s.value||o))return s}else if(s.name==="bind"&&(s.exp||o)&&Ft(s.arg,t))return s}}function Ft(e,t){return!!(e&&Je(e)&&e.content===t)}function Ts(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function pr(e){return e.type===5||e.type===2}function Ti(e){return e.type===7&&e.name==="pre"}function Ki(e){return e.type===7&&e.name==="slot"}function mn(e){return e.type===1&&e.tagType===3}function Wn(e){return e.type===1&&e.tagType===2}const Ml=new Set([dn,yn]);function Is(e,t=[]){if(e&&!Me(e)&&e.type===14){const n=e.callee;if(!Me(n)&&Ml.has(n))return Is(e.arguments[0],t.concat(e))}return[e,t]}function Yn(e,t,n){let o,i=e.type===13?e.props:e.arguments[2],s=[],r;if(i&&!Me(i)&&i.type===14){const a=Is(i);i=a[0],s=a[1],r=s[s.length-1]}if(i==null||Me(i))o=st([t]);else if(i.type===14){const a=i.arguments[0];!Me(a)&&a.type===15?Io(t,a)||a.properties.unshift(t):i.callee===qr?o=Re(n.helper(Gn),[st([t]),i]):i.arguments.unshift(st([t])),!o&&(o=i)}else i.type===15?(Io(t,i)||i.properties.unshift(t),o=i):(o=Re(n.helper(Gn),[st([t]),i]),r&&r.callee===yn&&(r=s[s.length-2]));e.type===13?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function Io(e,t){let n=!1;if(e.key.type===4){const o=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===o)}return n}function gn(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,o)=>n==="-"?"_":e.charCodeAt(o).toString())}`}function ht(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const o=e.props[n];if(o.type===7&&(ht(o.arg,t)||ht(o.exp,t)))return!0}return e.children.some(n=>ht(n,t));case 11:return ht(e.source,t)?!0:e.children.some(n=>ht(n,t));case 9:return e.branches.some(n=>ht(n,t));case 10:return ht(e.condition,t)?!0:e.children.some(n=>ht(n,t));case 4:return!e.isStatic&&zn(e.content)&&!!t[e.content];case 8:return e.children.some(n=>qo(n)&&ht(n,t));case 5:case 12:return ht(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function Os(e){return e.type===14&&e.callee===ti?e.arguments[1].returns:e}const Ns=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Wi(e){for(let t=0;t<e.length;t++)if(!it(e.charCodeAt(t)))return!1;return!0}function ri(e){return e.type===2&&Wi(e.content)||e.type===12&&ri(e.content)}function Yi(e){return e.type===3||ri(e)}const Cs={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:rr,isPreTag:rr,isIgnoreNewlineTag:rr,isCustomElement:rr,onError:Bi,onWarn:ds,comments:!1,prefixIdentifiers:!1};let se=Cs,kn=null,Ot="",He=null,ee=null,_e="",Tt=-1,Yt=-1,ki=0,Mt=!1,Ii=null;const me=[],Oe=new ll(me,{onerr:bt,ontext(e,t){or(Ue(e,t),e,t)},ontextentity(e,t,n){or(e,t,n)},oninterpolation(e,t){if(Mt)return or(Ue(e,t),e,t);let n=e+Oe.delimiterOpen.length,o=t-Oe.delimiterClose.length;for(;it(Ot.charCodeAt(n));)n++;for(;it(Ot.charCodeAt(o-1));)o--;let i=Ue(n,o);i.includes("&")&&(i=se.decodeEntities(i,!1)),Oi({type:5,content:gr(i,!1,Ce(n,o)),loc:Ce(e,t)})},onopentagname(e,t){const n=Ue(e,t);He={type:1,tag:n,ns:se.getNamespace(n,me[0],se.ns),tagType:0,props:[],children:[],loc:Ce(e-1,t),codegenNode:void 0}},onopentagend(e){No(e)},onclosetag(e,t){const n=Ue(e,t);if(!se.isVoidTag(n)){let o=!1;for(let i=0;i<me.length;i++)if(me[i].tag.toLowerCase()===n.toLowerCase()){o=!0,i>0&&bt(24,me[0].loc.start.offset);for(let r=0;r<=i;r++){const a=me.shift();mr(a,t,r<i)}break}o||bt(23,As(e,60))}},onselfclosingtag(e){const t=He.tag;He.isSelfClosing=!0,No(e),me[0]&&me[0].tag===t&&mr(me.shift(),e)},onattribname(e,t){ee={type:6,name:Ue(e,t),nameLoc:Ce(e,t),value:void 0,loc:Ce(e)}},ondirname(e,t){const n=Ue(e,t),o=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Mt&&o===""&&bt(26,e),Mt||o==="")ee={type:6,name:n,nameLoc:Ce(e,t),value:void 0,loc:Ce(e)};else if(ee={type:7,name:o,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[Q("prop")]:[],loc:Ce(e)},o==="pre"){Mt=Oe.inVPre=!0,Ii=He;const i=He.props;for(let s=0;s<i.length;s++)i[s].type===7&&(i[s]=Hl(i[s]))}},ondirarg(e,t){if(e===t)return;const n=Ue(e,t);if(Mt&&!Ti(ee))ee.name+=n,Jt(ee.nameLoc,t);else{const o=n[0]!=="[";ee.arg=gr(o?n:n.slice(1,-1),o,Ce(e,t),o?3:0)}},ondirmodifier(e,t){const n=Ue(e,t);if(Mt&&!Ti(ee))ee.name+="."+n,Jt(ee.nameLoc,t);else if(ee.name==="slot"){const o=ee.arg;o&&(o.content+="."+n,Jt(o.loc,t))}else{const o=Q(n,!0,Ce(e,t));ee.modifiers.push(o)}},onattribdata(e,t){_e+=Ue(e,t),Tt<0&&(Tt=e),Yt=t},onattribentity(e,t,n){_e+=e,Tt<0&&(Tt=t),Yt=n},onattribnameend(e){const t=ee.loc.start.offset,n=Ue(t,e);ee.type===7&&(ee.rawName=n),He.props.some(o=>(o.type===7?o.rawName:o.name)===n)&&bt(2,t)},onattribend(e,t){if(He&&ee){if(Jt(ee.loc,t),e!==0)if(_e.includes("&")&&(_e=se.decodeEntities(_e,!0)),ee.type===6)ee.name==="class"&&(_e=Ps(_e).trim()),e===1&&!_e&&bt(13,t),ee.value={type:2,content:_e,loc:e===1?Ce(Tt,Yt):Ce(Tt-1,Yt+1)},Oe.inSFCRoot&&He.tag==="template"&&ee.name==="lang"&&_e&&_e!=="html"&&Oe.enterRCDATA(xr("</template"),0);else{let n=0;ee.exp=gr(_e,!1,Ce(Tt,Yt),0,n),ee.name==="for"&&(ee.forParseResult=$l(ee.exp));let o=-1;ee.name==="bind"&&(o=ee.modifiers.findIndex(i=>i.content==="sync"))>-1&&pn("COMPILER_V_BIND_SYNC",se,ee.loc,ee.arg.loc.source)&&(ee.name="model",ee.modifiers.splice(o,1))}(ee.type!==7||ee.name!=="pre")&&He.props.push(ee)}_e="",Tt=Yt=-1},oncomment(e,t){se.comments&&Oi({type:3,content:Ue(e,t),loc:Ce(e-4,t+3)})},onend(){const e=Ot.length;for(let t=0;t<me.length;t++)mr(me[t],e-1),bt(24,me[t].loc.start.offset)},oncdata(e,t){me[0].ns!==0?or(Ue(e,t),e,t):bt(1,e-9)},onprocessinginstruction(e){(me[0]?me[0].ns:se.ns)===0&&bt(21,e-1)}}),Oo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ll=/^\(|\)$/g;function $l(e){const t=e.loc,n=e.content,o=n.match(Ns);if(!o)return;const[,i,s]=o,r=(f,d,h=!1)=>{const p=t.start.offset+d,m=p+f.length;return gr(f,!1,Ce(p,m),0,h?1:0)},a={source:r(s.trim(),n.indexOf(s,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=i.trim().replace(Ll,"").trim();const c=i.indexOf(l),u=l.match(Oo);if(u){l=l.replace(Oo,"").trim();const f=u[1].trim();let d;if(f&&(d=n.indexOf(f,c+l.length),a.key=r(f,d,!0)),u[2]){const h=u[2].trim();h&&(a.index=r(h,n.indexOf(h,a.key?d+f.length:c+l.length),!0))}}return l&&(a.value=r(l,c,!0)),a}function Ue(e,t){return Ot.slice(e,t)}function No(e){Oe.inSFCRoot&&(He.innerLoc=Ce(e+1,e+1)),Oi(He);const{tag:t,ns:n}=He;n===0&&se.isPreTag(t)&&ki++,se.isVoidTag(t)?mr(He,e):(me.unshift(He),(n===1||n===2)&&(Oe.inXML=!0)),He=null}function or(e,t,n){{const s=me[0]&&me[0].tag;s!=="script"&&s!=="style"&&e.includes("&")&&(e=se.decodeEntities(e,!1))}const o=me[0]||kn,i=o.children[o.children.length-1];i&&i.type===2?(i.content+=e,Jt(i.loc,n)):o.children.push({type:2,content:e,loc:Ce(t,n)})}function mr(e,t,n=!1){n?Jt(e.loc,As(t,60)):Jt(e.loc,wl(t,62)+1),Oe.inSFCRoot&&(e.children.length?e.innerLoc.end=It({},e.children[e.children.length-1].loc.end):e.innerLoc.end=It({},e.innerLoc.start),e.innerLoc.source=Ue(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:o,ns:i,children:s}=e;if(Mt||(o==="slot"?e.tagType=2:Co(e)?e.tagType=3:Vl(e)&&(e.tagType=1)),Oe.inRCDATA||(e.children=xs(s)),i===0&&se.isIgnoreNewlineTag(o)){const r=s[0];r&&r.type===2&&(r.content=r.content.replace(/^\r?\n/,""))}i===0&&se.isPreTag(o)&&ki--,Ii===e&&(Mt=Oe.inVPre=!1,Ii=null),Oe.inXML&&(me[0]?me[0].ns:se.ns)===0&&(Oe.inXML=!1);{const r=e.props;if(!Oe.inSFCRoot&&zt("COMPILER_NATIVE_TEMPLATE",se)&&e.tag==="template"&&!Co(e)){const l=me[0]||kn,c=l.children.indexOf(e);l.children.splice(c,1,...e.children)}const a=r.find(l=>l.type===6&&l.name==="inline-template");a&&pn("COMPILER_INLINE_TEMPLATE",se,a.loc)&&e.children.length&&(a.value={type:2,content:Ue(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:a.loc})}}function wl(e,t){let n=e;for(;Ot.charCodeAt(n)!==t&&n<Ot.length-1;)n++;return n}function As(e,t){let n=e;for(;Ot.charCodeAt(n)!==t&&n>=0;)n--;return n}const Fl=new Set(["if","else","else-if","for","slot"]);function Co({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&Fl.has(t[n].name))return!0}return!1}function Vl({tag:e,props:t}){if(se.isCustomElement(e))return!1;if(e==="component"||Ul(e.charCodeAt(0))||Xi(e)||se.isBuiltInComponent&&se.isBuiltInComponent(e)||se.isNativeTag&&!se.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const o=t[n];if(o.type===6){if(o.name==="is"&&o.value){if(o.value.content.startsWith("vue:"))return!0;if(pn("COMPILER_IS_ON_ELEMENT",se,o.loc))return!0}}else if(o.name==="bind"&&Ft(o.arg,"is")&&pn("COMPILER_IS_ON_ELEMENT",se,o.loc))return!0}return!1}function Ul(e){return e>64&&e<91}const jl=/\r\n/g;function xs(e){const t=se.whitespace!=="preserve";let n=!1;for(let o=0;o<e.length;o++){const i=e[o];if(i.type===2)if(ki)i.content=i.content.replace(jl,`
4
4
  `);else if(Wi(i.content)){const s=e[o-1]&&e[o-1].type,r=e[o+1]&&e[o+1].type;!s||!r||t&&(s===3&&(r===3||r===1)||s===1&&(r===3||r===1&&Bl(i.content)))?(n=!0,e[o]=null):i.content=" "}else t&&(i.content=Ps(i.content))}return n?e.filter(Boolean):e}function Bl(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function Ps(e){let t="",n=!1;for(let o=0;o<e.length;o++)it(e.charCodeAt(o))?n||(t+=" ",n=!0):(t+=e[o],n=!1);return t}function Oi(e){(me[0]||kn).children.push(e)}function Ce(e,t){return{start:Oe.getPos(e),end:t==null?t:Oe.getPos(t),source:t==null?t:Ue(e,t)}}function Xl(e){return Ce(e.start.offset,e.end.offset)}function Jt(e,t){e.end=Oe.getPos(t),e.source=Ue(e.start.offset,t)}function Hl(e){const t={type:6,name:e.rawName,nameLoc:Ce(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function gr(e,t=!1,n,o=0,i=0){return Q(e,t,n,o)}function bt(e,t,n){se.onError(de(e,Ce(t,t)))}function Gl(){Oe.reset(),He=null,ee=null,_e="",Tt=-1,Yt=-1,me.length=0}function Ji(e,t){if(Gl(),Ot=e,se=It({},Cs),t){let i;for(i in t)t[i]!=null&&(se[i]=t[i])}Oe.mode=se.parseMode==="html"?1:se.parseMode==="sfc"?2:0,Oe.inXML=se.ns===1||se.ns===2;const n=t&&t.delimiters;n&&(Oe.delimiterOpen=xr(n[0]),Oe.delimiterClose=xr(n[1]));const o=kn=cs([],e);return Oe.parse(Ot),o.loc=Ce(0,e.length),o.children=xs(o.children),kn=null,o}function Kl(e,t){vr(e,void 0,t,!!Rs(e))}function Rs(e){const t=e.children.filter(n=>n.type!==3);return t.length===1&&t[0].type===1&&!Wn(t[0])?t[0]:null}function vr(e,t,n,o=!1,i=!1){const{children:s}=e,r=[];for(let u=0;u<s.length;u++){const f=s[u];if(f.type===1&&f.tagType===0){const d=o?0:et(f,n);if(d>0){if(d>=2){f.codegenNode.patchFlag=-1,r.push(f);continue}}else{const h=f.codegenNode;if(h.type===13){const p=h.patchFlag;if((p===void 0||p===512||p===1)&&Ms(f,n)>=2){const m=Ls(f);m&&(h.props=n.hoist(m))}h.dynamicProps&&(h.dynamicProps=n.hoist(h.dynamicProps))}}}else if(f.type===12&&(o?0:et(f,n))>=2){f.codegenNode.type===14&&f.codegenNode.arguments.length>0&&f.codegenNode.arguments.push("-1"),r.push(f);continue}if(f.type===1){const d=f.tagType===1;d&&n.scopes.vSlot++,vr(f,e,n,!1,i),d&&n.scopes.vSlot--}else if(f.type===11)vr(f,e,n,f.children.length===1,!0);else if(f.type===9)for(let d=0;d<f.branches.length;d++)vr(f.branches[d],e,n,f.branches[d].children.length===1,i)}let a=!1;if(r.length===s.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&wt(e.codegenNode.children))e.codegenNode.children=l(Bt(e.codegenNode.children)),a=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!wt(e.codegenNode.children)&&e.codegenNode.children.type===15){const u=c(e.codegenNode,"default");u&&(u.returns=l(Bt(u.returns)),a=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!wt(t.codegenNode.children)&&t.codegenNode.children.type===15){const u=ke(e,"slot",!0),f=u&&u.arg&&c(t.codegenNode,u.arg);f&&(f.returns=l(Bt(f.returns)),a=!0)}}if(!a)for(const u of r)u.codegenNode=n.cache(u.codegenNode);function l(u){const f=n.cache(u);return f.needArraySpread=!0,f}function c(u,f){if(u.children&&!wt(u.children)&&u.children.type===15){const d=u.children.properties.find(h=>h.key===f||h.key.content===f);return d&&d.value}}r.length&&n.transformHoist&&n.transformHoist(s,n,e)}function et(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const o=n.get(e);if(o!==void 0)return o;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let r=3;const a=Ms(e,t);if(a===0)return n.set(e,0),0;a<r&&(r=a);for(let l=0;l<e.children.length;l++){const c=et(e.children[l],t);if(c===0)return n.set(e,0),0;c<r&&(r=c)}if(r>1)for(let l=0;l<e.props.length;l++){const c=e.props[l];if(c.type===7&&c.name==="bind"&&c.exp){const u=et(c.exp,t);if(u===0)return n.set(e,0),0;u<r&&(r=u)}}if(i.isBlock){for(let l=0;l<e.props.length;l++)if(e.props[l].type===7)return n.set(e,0),0;t.removeHelper(Xt),t.removeHelper(en(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(qt(t.inSSR,i.isComponent))}return n.set(e,r),r}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return et(e.content,t);case 4:return e.constType;case 8:let s=3;for(let r=0;r<e.children.length;r++){const a=e.children[r];if(Me(a)||Mi(a))continue;const l=et(a,t);if(l===0)return 0;l<s&&(s=l)}return s;case 20:return 2;default:return 0}}const Wl=new Set([Zr,_r,dn,yn]);function Ds(e,t){if(e.type===14&&!Me(e.callee)&&Wl.has(e.callee)){const n=e.arguments[0];if(n.type===4)return et(n,t);if(n.type===14)return Ds(n,t)}return 0}function Ms(e,t){let n=3;const o=Ls(e);if(o&&o.type===15){const{properties:i}=o;for(let s=0;s<i.length;s++){const{key:r,value:a}=i[s],l=et(r,t);if(l===0)return l;l<n&&(n=l);let c;if(a.type===4?c=et(a,t):a.type===14?c=Ds(a,t):c=0,c===0)return c;c<n&&(n=c)}}return n}function Ls(e){const t=e.codegenNode;if(t.type===13)return t.props}function $s(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,hmr:i=!1,cacheHandlers:s=!1,nodeTransforms:r=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:c=wn,isCustomElement:u=wn,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:p=!1,inSSR:m=!1,ssrCssVars:g="",bindingMetadata:v=ba,inline:E=!1,isTS:I=!1,onError:y=Bi,onWarn:N=ds,compatConfig:O}){const $=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),P={filename:t,selfName:$&&_o(jt($[1])),prefixIdentifiers:n,hoistStatic:o,hmr:i,cacheHandlers:s,nodeTransforms:r,directiveTransforms:a,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:p,inSSR:m,ssrCssVars:g,bindingMetadata:v,inline:E,isTS:I,onError:y,onWarn:N,compatConfig:O,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(S){const R=P.helpers.get(S)||0;return P.helpers.set(S,R+1),S},removeHelper(S){const R=P.helpers.get(S);if(R){const M=R-1;M?P.helpers.set(S,M):P.helpers.delete(S)}},helperString(S){return`_${Zt[P.helper(S)]}`},replaceNode(S){P.parent.children[P.childIndex]=P.currentNode=S},removeNode(S){const R=P.parent.children,M=S?R.indexOf(S):P.currentNode?P.childIndex:-1;!S||S===P.currentNode?(P.currentNode=null,P.onNodeRemoved()):P.childIndex>M&&(P.childIndex--,P.onNodeRemoved()),P.parent.children.splice(M,1)},onNodeRemoved:wn,addIdentifiers(S){},removeIdentifiers(S){},hoist(S){Me(S)&&(S=Q(S)),P.hoists.push(S);const R=Q(`_hoisted_${P.hoists.length}`,!1,S.loc,2);return R.hoisted=S,R},cache(S,R=!1,M=!1){const D=fs(P.cached.length,S,R,M);return P.cached.push(D),D}};return P.filters=new Set,P}function ws(e,t){const n=$s(e,t);Zn(e,n),t.hoistStatic&&Kl(e,n),t.ssr||Yl(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function Yl(e,t){const{helper:n}=t,{children:o}=e;if(o.length===1){const i=Rs(e);if(i&&i.codegenNode){const s=i.codegenNode;s.type===13&&ni(s,t),e.codegenNode=s}else e.codegenNode=o[0]}else if(o.length>1){let i=64;e.codegenNode=hn(t,n(un),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function kl(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];Me(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Zn(i,t))}}function Zn(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(wt(r)?o.push(...r):o.push(r)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(En);break;case 5:t.ssr||t.helper(Jn);break;case 9:for(let s=0;s<e.branches.length;s++)Zn(e.branches[s],t);break;case 10:case 11:case 1:case 0:kl(e,t);break}t.currentNode=e;let i=o.length;for(;i--;)o[i]()}function zi(e,t){const n=Me(e)?o=>o===e:o=>e.test(o);return(o,i)=>{if(o.type===1){const{props:s}=o;if(o.tagType===3&&s.some(Ki))return;const r=[];for(let a=0;a<s.length;a++){const l=s[a];if(l.type===7&&n(l.name)){s.splice(a,1),a--;const c=t(o,l,i);c&&r.push(c)}}return r}}}const ii="/*@__PURE__*/",Fs=e=>`${Zt[e]}: _${Zt[e]}`;function Jl(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:o=!1,filename:i="template.vue.html",scopeId:s=null,optimizeImports:r=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:d=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:o,filename:i,scopeId:s,optimizeImports:r,runtimeGlobalName:a,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:f,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(m){return`_${Zt[m]}`},push(m,g=-2,v){h.code+=m},indent(){p(++h.indentLevel)},deindent(m=!1){m?--h.indentLevel:p(--h.indentLevel)},newline(){p(h.indentLevel)}};function p(m){h.push(`
@@ -0,0 +1 @@
1
+ import{_ as P}from"./c0R8lEWK.js";import{_ as T}from"./Dku8fc7v.js";import{d as A}from"./C0Rlrcoy.js";import{d as F,H as M,r as V,x as $,m as w,v as B,c as n,f as b,e as c,h as s,k as C,t as e,w as D,b as r,g as L,_ as O}from"./B9-SkqjX.js";import{u as I}from"./C819KIPL.js";const S={class:"prompt-page"},E={class:"card"},R={class:"section-header"},Y={class:"session-badge"},G={key:0,class:"column-badge"},K=["title"],Q={key:0,class:"loading"},j={key:1,class:"error-message"},q={key:2,class:"empty"},z=["innerHTML"],J={key:4,class:"prompt-content prompt-raw"},U={class:"actions"},W=F({__name:"prompt",async setup(X){let o,p;const y=M(),m=y.params.id,h=y.params.sessionId,u=V(!0),{data:i}=([o,p]=$(()=>I(`/api/issues/${m}`,"$a3ca3_CGOD")),o=await o,p(),o),x=w(()=>{if(!i.value)return null;const t={id:i.value.key,title:i.value.title,column:i.value.column_slug};return i.value.priority&&(t.priority=i.value.priority),t}),{data:a,status:H,error:k}=([o,p]=$(()=>I(`/api/issues/${m}/history/${h}/prompt`,"$QrPKfenAcg")),o=await o,p(),o),N=w(()=>{if(!a.value?.content)return"";let t=a.value.content;if(t.includes("## Column Instructions")){const d="## Column Instructions\n\n```markdown\n",_="```\n\n## Your Task",l=t.indexOf(d);if(l!==-1){const v=l+d.length,f=t.indexOf(_,v);if(f!==-1){const g=t.substring(v,f);g.includes("```")&&(t=t.substring(0,l)+"## Column Instructions\n\n````markdown\n"+g+"````\n\n## Your Task"+t.substring(f+_.length))}}}return A(t)});return B({title:`Prompt ${h} - ${m} - AutoCode`}),(t,d)=>{const _=P,l=T;return r(),n("div",S,[b(_,{issue:s(x),"active-tab":"history"},null,8,["issue"]),c("div",E,[c("div",R,[c("h2",null,e(t.$t("history.viewPrompt")),1),c("span",Y,e(s(h)),1),s(a)?.column?(r(),n("span",G,e(s(a).column),1)):C("",!0),s(a)?.content?(r(),n("button",{key:1,class:"view-toggle",title:s(u)?t.$t("history.viewRaw"):t.$t("history.viewFormatted"),onClick:d[0]||(d[0]=v=>u.value=!s(u))},e(s(u)?"{ }":"Aa"),9,K)):C("",!0)]),s(H)==="pending"?(r(),n("div",Q,e(t.$t("app.loading")),1)):s(k)?(r(),n("div",j,e(s(k).message),1)):s(a)?.content?s(u)?(r(),n("div",{key:3,class:"prompt-content prompt-markdown",innerHTML:s(N)},null,8,z)):(r(),n("div",J,[c("pre",null,e(s(a).content),1)])):(r(),n("div",q,e(t.$t("column.noPrompt")),1))]),c("div",U,[b(l,{to:`/issue/${s(m)}/history`,class:"btn-secondary"},{default:D(()=>[L(e(t.$t("nav.back")),1)]),_:1},8,["to"])])])}}}),nt=O(W,[["__scopeId","data-v-9e0cebf5"]]);export{nt as default};
@@ -1 +1 @@
1
- [{"data":1,"prerenderedAt":3},["ShallowReactive",2],{},1767788341339]
1
+ [{"data":1,"prerenderedAt":3},["ShallowReactive",2],{},1767907166569]
@@ -1 +1 @@
1
- {"openapi":"3.1.0","info":{"title":"AutoCode API","version":"0.29.0","description":"REST API for AutoCode Issue Tracking Dashboard"},"servers":[{"url":"http://localhost","description":"Local Development Server","variables":{}}],"paths":{"":{"get":{"tags":["App Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/catalog/autocreate":{"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/catalog/autocreate/apply":{"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/catalog":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}},"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/changelog":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/changelog/summary":{"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/columns/{slug}/actions":{"get":{"tags":["API Routes"],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/columns/{slug}/prompt":{"get":{"tags":["API Routes"],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/columns":{"get":{"tags":["Columns"],"parameters":[],"responses":{"200":{"description":"List of columns","content":{"application/json":{"schema":{"type":"array","items":{"allOf":[{"type":"object","properties":{"segment":{"type":"string","enum":["definition","action","finish"],"description":"Pipeline segment"},"isFirst":{"type":"boolean","description":"Is first column"},"isLast":{"type":"boolean","description":"Is last column"},"isActionable":{"type":"boolean","description":"Can execute actions"}}}]}}}}}},"summary":"List active columns","description":"Get all columns from the currently active pipeline with their metadata."}},"/api/health":{"get":{"tags":["Monitoring"],"parameters":[],"responses":{"200":{"description":"Health status","content":{"application/json":{"schema":{"type":"object","properties":{"healthy":{"type":"boolean","description":"Overall health status"},"checks":{"type":"object","properties":{"database":{"type":"boolean","description":"SQLite file exists"},"databaseConnection":{"type":"boolean","description":"Can query database"},"attachments":{"type":"boolean","description":"Attachments dir exists"}}},"timestamp":{"type":"string","format":"date-time"}}}}}}},"summary":"Health check","description":"Check the health status of the application and its dependencies."}},"/api/issues/{id}":{"get":{"tags":["Issues"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key (e.g., AC-000001)","example":"AC-000001"}],"responses":{"200":{"description":"Issue details","content":{"application/json":{}}},"400":{"description":"Bad request - ID required","content":{"application/json":{}}},"404":{"description":"Issue not found","content":{"application/json":{}}}},"summary":"Get an issue by key","description":"Retrieve a single issue by its key (e.g., AC-000001)."},"patch":{"tags":["Issues"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key (e.g., AC-000001)"}],"responses":{"200":{"description":"Issue updated successfully","content":{"application/json":{}}},"400":{"description":"Bad request - ID required","content":{"application/json":{}}},"404":{"description":"Issue not found","content":{"application/json":{}}}},"summary":"Update an issue","description":"Update one or more fields of an existing issue.","requestBody":{"required":true,"content":{"application/json":{}}}}},"/api/issues/{id}/{column}/log":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"column","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/ancestors":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/archive":{"delete":{"tags":["Issues"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"}],"responses":{"200":{"description":"Issue archived","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}}}}}},"400":{"description":"Bad request","content":{"application/json":{}}},"404":{"description":"Issue not found","content":{"application/json":{}}}},"summary":"Archive an issue","description":"Move an issue to the archive (last column). This is a soft delete."}},"/api/issues/{id}/attachments":{"get":{"tags":["Attachments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"}],"responses":{"200":{"description":"List of attachments","content":{"application/json":{"schema":{"type":"array"}}}},"400":{"description":"Bad request","content":{"application/json":{}}}},"summary":"List issue attachments","description":"Get all file attachments for a specific issue."},"post":{"tags":["Attachments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"}],"responses":{"200":{"description":"Attachment uploaded","content":{"application/json":{}}},"400":{"description":"Bad request","content":{"application/json":{}}},"404":{"description":"Issue not found","content":{"application/json":{}}}},"summary":"Upload attachment","description":"Upload a file attachment to an issue.","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"File to upload"}}}}}}}},"/api/issues/{id}/attachments/{attachmentId}":{"delete":{"tags":["Attachments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"},{"name":"attachmentId","in":"path","required":true,"schema":{"type":"integer"},"description":"Attachment ID"}],"responses":{"200":{"description":"Attachment deleted","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}}}}}},"400":{"description":"Bad request","content":{"application/json":{}}},"404":{"description":"Attachment not found","content":{"application/json":{}}}},"summary":"Delete attachment","description":"Delete a file attachment from an issue."},"get":{"tags":["Attachments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"},{"name":"attachmentId","in":"path","required":true,"schema":{"type":"integer"},"description":"Attachment ID"}],"responses":{"200":{"description":"File content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad request","content":{"application/json":{}}},"404":{"description":"Attachment not found","content":{"application/json":{}}}},"summary":"Download attachment","description":"Download a specific file attachment."}},"/api/issues/{id}/children":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/comments":{"get":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"}],"responses":{"200":{"description":"List of comments","content":{"application/json":{"schema":{"type":"array"}}}},"400":{"description":"Bad request","content":{"application/json":{}}}},"summary":"List issue comments","description":"Get all comments for a specific issue."},"post":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"}],"responses":{"200":{"description":"Comment created","content":{"application/json":{}}},"400":{"description":"Bad request","content":{"application/json":{}}},"404":{"description":"Issue not found","content":{"application/json":{}}}},"summary":"Add a comment","description":"Add a new comment to an issue.","requestBody":{"required":true,"content":{"application/json":{}}}}},"/api/issues/{id}/full-history":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/full-terminal":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/history":{"get":{"tags":["History"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"}],"responses":{"200":{"description":"Issue history","content":{"application/json":{"schema":{"type":"array","items":{"allOf":[{"type":"object","properties":{"artifactsAvailable":{"type":"object","properties":{"prompt":{"type":"boolean"},"terminal":{"type":"boolean"}}}}}]}}}}},"400":{"description":"Bad request","content":{"application/json":{}}}},"summary":"Get issue history","description":"Get the movement and edit history of an issue with artifact availability info."}},"/api/issues/{id}/history/{sessionId}/log":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"sessionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/history/{sessionId}/prompt":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"sessionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/log":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/move":{"post":{"tags":["Issues"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key (e.g., AC-000001)"}],"responses":{"200":{"description":"Issue moved successfully","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"actionExecuted":{"type":"boolean","description":"Whether column action was run"},"processing":{"type":"boolean","description":"Whether action is still processing"}}}]}}}},"400":{"description":"Bad request or move failed","content":{"application/json":{}}},"404":{"description":"Issue or column not found","content":{"application/json":{}}}},"summary":"Move issue to a column","description":"Move an issue to a specific column. If the column has an action, it will be executed (async by default).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"column":{"type":"string","description":"Target column slug","example":"in-progress"},"lang":{"type":"string","enum":["en","fr"],"default":"fr","description":"Language"},"force":{"type":"boolean","default":false,"description":"Force move even if blocked"},"async":{"type":"boolean","default":true,"description":"Run action asynchronously"}},"required":["column"]}}}}}},"/api/issues/{id}/next":{"post":{"tags":["Issues"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key (e.g., AC-000001)"}],"responses":{"200":{"description":"Issue moved to next column","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"actionExecuted":{"type":"boolean","description":"Whether column action was run"}}}]}}}},"400":{"description":"Bad request or already at last column","content":{"application/json":{}}},"404":{"description":"Issue not found","content":{"application/json":{}}}},"summary":"Move issue to next column","description":"Advance an issue to the next column in the pipeline. If the column has an action, it will be executed.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"lang":{"type":"string","enum":["en","fr"],"default":"fr","description":"Language for action execution"},"force":{"type":"boolean","default":false,"description":"Force move even if blocked"}}}}}}}},"/api/issues/actionable":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/issues/autocomplete":{"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/issues/graph":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/issues":{"get":{"tags":["Issues"],"parameters":[{"name":"column","in":"query","schema":{"type":"string"},"description":"Filter by column slug (e.g., backlog, in-progress)"},{"name":"search","in":"query","schema":{"type":"string"},"description":"Search in title and description"},{"name":"limit","in":"query","schema":{"type":"integer"},"description":"Maximum number of results to return"}],"responses":{"200":{"description":"List of issues","content":{"application/json":{"schema":{"type":"array"}}}}},"summary":"List all issues","description":"Retrieve a list of issues with optional filtering by column, search term, or limit."},"post":{"tags":["Issues"],"parameters":[],"responses":{"200":{"description":"Issue created successfully","content":{"application/json":{}}},"400":{"description":"Bad request - title is required","content":{"application/json":{}}},"500":{"description":"Server error","content":{"application/json":{}}}},"summary":"Create a new issue","description":"Create a new issue in the backlog. The issue key is auto-generated (AC-XXXXXX format).","requestBody":{"required":true,"content":{"application/json":{}}}}},"/api/pipelines/{name}":{"delete":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}},"get":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}},"put":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/pipelines/{name}/activate":{"put":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/pipelines/{name}/versions":{"get":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}},"post":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/pipelines/{name}/versions/{version}":{"delete":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}},"get":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}},"put":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/pipelines/{name}/versions/{version}/activate":{"put":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/pipelines/{name}/versions/{version}/finalize":{"post":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/pipelines":{"get":{"tags":["Pipelines"],"parameters":[],"responses":{"200":{"description":"List of pipelines","content":{"application/json":{"schema":{"type":"array","items":{"allOf":[{"type":"object","properties":{"draft":{"type":"boolean","description":"Is draft version"},"createdAt":{"type":"string","format":"date-time"},"createdFromVersion":{"type":"string","nullable":true,"description":"Source version"}}}]}}}}}},"summary":"List all pipelines","description":"Get all pipeline configurations with their columns organized by segment (definition, action, finish)."},"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/purge":{"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/stats":{"get":{"tags":["Monitoring"],"parameters":[],"responses":{"200":{"description":"Usage statistics","content":{"application/json":{}}}},"summary":"Get usage statistics","description":"Get Claude API usage statistics including token counts, costs, and call history."}},"/api/status":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/workflow/health":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/ws/status":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/_ws":{"get":{"tags":["Internal"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/__nuxt_island/{*param1}":{"get":{"tags":["Internal"],"parameters":[{"name":"*param1","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/_i18n/{hash}/{locale}/messages.json":{"get":{"tags":["Internal"],"parameters":[{"name":"hash","in":"path","required":true,"schema":{"type":"string"}},{"name":"locale","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/_openapi.json":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}}}}
1
+ {"openapi":"3.1.0","info":{"title":"AutoCode API","version":"0.37.0","description":"REST API for AutoCode Issue Tracking Dashboard"},"servers":[{"url":"http://localhost","description":"Local Development Server","variables":{}}],"paths":{"":{"get":{"tags":["App Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/catalog/autocreate":{"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/catalog/autocreate/apply":{"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/catalog":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}},"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/changelog":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/changelog/summary":{"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/columns/{slug}/actions":{"get":{"tags":["API Routes"],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/columns/{slug}/prompt":{"get":{"tags":["API Routes"],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/columns":{"get":{"tags":["Columns"],"parameters":[],"responses":{"200":{"description":"List of columns","content":{"application/json":{"schema":{"type":"array","items":{"allOf":[{"type":"object","properties":{"segment":{"type":"string","enum":["definition","action","finish"],"description":"Pipeline segment"},"isFirst":{"type":"boolean","description":"Is first column"},"isLast":{"type":"boolean","description":"Is last column"},"isActionable":{"type":"boolean","description":"Can execute actions"}}}]}}}}}},"summary":"List active columns","description":"Get all columns from the currently active pipeline with their metadata."}},"/api/health":{"get":{"tags":["Monitoring"],"parameters":[],"responses":{"200":{"description":"Health status","content":{"application/json":{"schema":{"type":"object","properties":{"healthy":{"type":"boolean","description":"Overall health status"},"checks":{"type":"object","properties":{"database":{"type":"boolean","description":"SQLite file exists"},"databaseConnection":{"type":"boolean","description":"Can query database"},"attachments":{"type":"boolean","description":"Attachments dir exists"}}},"timestamp":{"type":"string","format":"date-time"}}}}}}},"summary":"Health check","description":"Check the health status of the application and its dependencies."}},"/api/issues/{id}":{"get":{"tags":["Issues"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key (e.g., AC-000001)","example":"AC-000001"}],"responses":{"200":{"description":"Issue details","content":{"application/json":{}}},"400":{"description":"Bad request - ID required","content":{"application/json":{}}},"404":{"description":"Issue not found","content":{"application/json":{}}}},"summary":"Get an issue by key","description":"Retrieve a single issue by its key (e.g., AC-000001)."},"patch":{"tags":["Issues"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key (e.g., AC-000001)"}],"responses":{"200":{"description":"Issue updated successfully","content":{"application/json":{}}},"400":{"description":"Bad request - ID required","content":{"application/json":{}}},"404":{"description":"Issue not found","content":{"application/json":{}}}},"summary":"Update an issue","description":"Update one or more fields of an existing issue.","requestBody":{"required":true,"content":{"application/json":{}}}}},"/api/issues/{id}/{column}/log":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"column","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/ancestors":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/archive":{"delete":{"tags":["Issues"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"}],"responses":{"200":{"description":"Issue archived","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}}}}}},"400":{"description":"Bad request","content":{"application/json":{}}},"404":{"description":"Issue not found","content":{"application/json":{}}}},"summary":"Archive an issue","description":"Move an issue to the archive (last column). This is a soft delete."}},"/api/issues/{id}/attachments":{"get":{"tags":["Attachments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"}],"responses":{"200":{"description":"List of attachments","content":{"application/json":{"schema":{"type":"array"}}}},"400":{"description":"Bad request","content":{"application/json":{}}}},"summary":"List issue attachments","description":"Get all file attachments for a specific issue."},"post":{"tags":["Attachments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"}],"responses":{"200":{"description":"Attachment uploaded","content":{"application/json":{}}},"400":{"description":"Bad request","content":{"application/json":{}}},"404":{"description":"Issue not found","content":{"application/json":{}}}},"summary":"Upload attachment","description":"Upload a file attachment to an issue.","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"File to upload"}}}}}}}},"/api/issues/{id}/attachments/{attachmentId}":{"delete":{"tags":["Attachments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"},{"name":"attachmentId","in":"path","required":true,"schema":{"type":"integer"},"description":"Attachment ID"}],"responses":{"200":{"description":"Attachment deleted","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}}}}}},"400":{"description":"Bad request","content":{"application/json":{}}},"404":{"description":"Attachment not found","content":{"application/json":{}}}},"summary":"Delete attachment","description":"Delete a file attachment from an issue."},"get":{"tags":["Attachments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"},{"name":"attachmentId","in":"path","required":true,"schema":{"type":"integer"},"description":"Attachment ID"}],"responses":{"200":{"description":"File content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad request","content":{"application/json":{}}},"404":{"description":"Attachment not found","content":{"application/json":{}}}},"summary":"Download attachment","description":"Download a specific file attachment."}},"/api/issues/{id}/children":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/comments":{"get":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"}],"responses":{"200":{"description":"List of comments","content":{"application/json":{"schema":{"type":"array"}}}},"400":{"description":"Bad request","content":{"application/json":{}}}},"summary":"List issue comments","description":"Get all comments for a specific issue."},"post":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"}],"responses":{"200":{"description":"Comment created","content":{"application/json":{}}},"400":{"description":"Bad request","content":{"application/json":{}}},"404":{"description":"Issue not found","content":{"application/json":{}}}},"summary":"Add a comment","description":"Add a new comment to an issue.","requestBody":{"required":true,"content":{"application/json":{}}}}},"/api/issues/{id}/full-history":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/full-terminal":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/history":{"get":{"tags":["History"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key"}],"responses":{"200":{"description":"Issue history","content":{"application/json":{"schema":{"type":"array","items":{"allOf":[{"type":"object","properties":{"artifactsAvailable":{"type":"object","properties":{"prompt":{"type":"boolean"},"terminal":{"type":"boolean"}}}}}]}}}}},"400":{"description":"Bad request","content":{"application/json":{}}}},"summary":"Get issue history","description":"Get the movement and edit history of an issue with artifact availability info."}},"/api/issues/{id}/history/{sessionId}/log":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"sessionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/history/{sessionId}/prompt":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"sessionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/log":{"get":{"tags":["API Routes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/issues/{id}/move":{"post":{"tags":["Issues"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key (e.g., AC-000001)"}],"responses":{"200":{"description":"Issue moved successfully","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"actionExecuted":{"type":"boolean","description":"Whether column action was run"},"processing":{"type":"boolean","description":"Whether action is still processing"}}}]}}}},"400":{"description":"Bad request or move failed","content":{"application/json":{}}},"404":{"description":"Issue or column not found","content":{"application/json":{}}}},"summary":"Move issue to a column","description":"Move an issue to a specific column. If the column has an action, it will be executed (async by default).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"column":{"type":"string","description":"Target column slug","example":"in-progress"},"lang":{"type":"string","enum":["en","fr"],"default":"fr","description":"Language"},"force":{"type":"boolean","default":false,"description":"Force move even if blocked"},"async":{"type":"boolean","default":true,"description":"Run action asynchronously"}},"required":["column"]}}}}}},"/api/issues/{id}/next":{"post":{"tags":["Issues"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Issue key (e.g., AC-000001)"}],"responses":{"200":{"description":"Issue moved to next column","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"actionExecuted":{"type":"boolean","description":"Whether column action was run"}}}]}}}},"400":{"description":"Bad request or already at last column","content":{"application/json":{}}},"404":{"description":"Issue not found","content":{"application/json":{}}}},"summary":"Move issue to next column","description":"Advance an issue to the next column in the pipeline. If the column has an action, it will be executed.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"lang":{"type":"string","enum":["en","fr"],"default":"fr","description":"Language for action execution"},"force":{"type":"boolean","default":false,"description":"Force move even if blocked"}}}}}}}},"/api/issues/actionable":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/issues/autocomplete":{"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/issues/graph":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/issues":{"get":{"tags":["Issues"],"parameters":[{"name":"column","in":"query","schema":{"type":"string"},"description":"Filter by column slug (e.g., backlog, in-progress)"},{"name":"search","in":"query","schema":{"type":"string"},"description":"Search in title and description"},{"name":"limit","in":"query","schema":{"type":"integer"},"description":"Maximum number of results to return"}],"responses":{"200":{"description":"List of issues","content":{"application/json":{"schema":{"type":"array"}}}}},"summary":"List all issues","description":"Retrieve a list of issues with optional filtering by column, search term, or limit."},"post":{"tags":["Issues"],"parameters":[],"responses":{"200":{"description":"Issue created successfully","content":{"application/json":{}}},"400":{"description":"Bad request - title is required","content":{"application/json":{}}},"500":{"description":"Server error","content":{"application/json":{}}}},"summary":"Create a new issue","description":"Create a new issue in the backlog. The issue key is auto-generated (AC-XXXXXX format).","requestBody":{"required":true,"content":{"application/json":{}}}}},"/api/pipelines/{name}":{"delete":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}},"get":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}},"put":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/pipelines/{name}/activate":{"put":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/pipelines/{name}/versions":{"get":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}},"post":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/pipelines/{name}/versions/{version}":{"delete":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}},"get":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}},"put":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/pipelines/{name}/versions/{version}/activate":{"put":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/pipelines/{name}/versions/{version}/finalize":{"post":{"tags":["API Routes"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/pipelines":{"get":{"tags":["Pipelines"],"parameters":[],"responses":{"200":{"description":"List of pipelines","content":{"application/json":{"schema":{"type":"array","items":{"allOf":[{"type":"object","properties":{"draft":{"type":"boolean","description":"Is draft version"},"createdAt":{"type":"string","format":"date-time"},"createdFromVersion":{"type":"string","nullable":true,"description":"Source version"}}}]}}}}}},"summary":"List all pipelines","description":"Get all pipeline configurations with their columns organized by segment (definition, action, finish)."},"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/purge":{"post":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/stats":{"get":{"tags":["Monitoring"],"parameters":[],"responses":{"200":{"description":"Usage statistics","content":{"application/json":{}}}},"summary":"Get usage statistics","description":"Get Claude API usage statistics including token counts, costs, and call history."}},"/api/status":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/workflow/health":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/api/ws/status":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/_ws":{"get":{"tags":["Internal"],"parameters":[],"responses":{"200":{"description":"OK"}}}},"/.well-known/appspecific/{path}":{"get":{"tags":["App Routes"],"parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/__nuxt_island/{*param1}":{"get":{"tags":["Internal"],"parameters":[{"name":"*param1","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/_i18n/{hash}/{locale}/messages.json":{"get":{"tags":["Internal"],"parameters":[{"name":"hash","in":"path","required":true,"schema":{"type":"string"}},{"name":"locale","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/_openapi.json":{"get":{"tags":["API Routes"],"parameters":[],"responses":{"200":{"description":"OK"}}}}}}
@@ -1 +1 @@
1
- [{"data":1,"prerenderedAt":4},["ShallowReactive",2],{"$fSxujDrcGVDMX-aq4lBRdDgPaXJP7dYu8B__h4EjJfwA":3},"{\"openapi\":\"3.1.0\",\"info\":{\"title\":\"AutoCode API\",\"version\":\"0.29.0\",\"description\":\"REST API for AutoCode Issue Tracking Dashboard\"},\"servers\":[{\"url\":\"http://localhost\",\"description\":\"Local Development Server\",\"variables\":{}}],\"paths\":{\"\":{\"get\":{\"tags\":[\"App Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/catalog/autocreate\":{\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/catalog/autocreate/apply\":{\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/catalog\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}},\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/changelog\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/changelog/summary\":{\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/columns/{slug}/actions\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"slug\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/columns/{slug}/prompt\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"slug\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/columns\":{\"get\":{\"tags\":[\"Columns\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"List of columns\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"array\",\"items\":{\"allOf\":[{\"type\":\"object\",\"properties\":{\"segment\":{\"type\":\"string\",\"enum\":[\"definition\",\"action\",\"finish\"],\"description\":\"Pipeline segment\"},\"isFirst\":{\"type\":\"boolean\",\"description\":\"Is first column\"},\"isLast\":{\"type\":\"boolean\",\"description\":\"Is last column\"},\"isActionable\":{\"type\":\"boolean\",\"description\":\"Can execute actions\"}}}]}}}}}},\"summary\":\"List active columns\",\"description\":\"Get all columns from the currently active pipeline with their metadata.\"}},\"/api/health\":{\"get\":{\"tags\":[\"Monitoring\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"Health status\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"healthy\":{\"type\":\"boolean\",\"description\":\"Overall health status\"},\"checks\":{\"type\":\"object\",\"properties\":{\"database\":{\"type\":\"boolean\",\"description\":\"SQLite file exists\"},\"databaseConnection\":{\"type\":\"boolean\",\"description\":\"Can query database\"},\"attachments\":{\"type\":\"boolean\",\"description\":\"Attachments dir exists\"}}},\"timestamp\":{\"type\":\"string\",\"format\":\"date-time\"}}}}}}},\"summary\":\"Health check\",\"description\":\"Check the health status of the application and its dependencies.\"}},\"/api/issues/{id}\":{\"get\":{\"tags\":[\"Issues\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key (e.g., AC-000001)\",\"example\":\"AC-000001\"}],\"responses\":{\"200\":{\"description\":\"Issue details\",\"content\":{\"application/json\":{}}},\"400\":{\"description\":\"Bad request - ID required\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Get an issue by key\",\"description\":\"Retrieve a single issue by its key (e.g., AC-000001).\"},\"patch\":{\"tags\":[\"Issues\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key (e.g., AC-000001)\"}],\"responses\":{\"200\":{\"description\":\"Issue updated successfully\",\"content\":{\"application/json\":{}}},\"400\":{\"description\":\"Bad request - ID required\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Update an issue\",\"description\":\"Update one or more fields of an existing issue.\",\"requestBody\":{\"required\":true,\"content\":{\"application/json\":{}}}}},\"/api/issues/{id}/{column}/log\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"column\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/ancestors\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/archive\":{\"delete\":{\"tags\":[\"Issues\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"}],\"responses\":{\"200\":{\"description\":\"Issue archived\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"success\":{\"type\":\"boolean\"}}}}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Archive an issue\",\"description\":\"Move an issue to the archive (last column). This is a soft delete.\"}},\"/api/issues/{id}/attachments\":{\"get\":{\"tags\":[\"Attachments\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"}],\"responses\":{\"200\":{\"description\":\"List of attachments\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"array\"}}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}}},\"summary\":\"List issue attachments\",\"description\":\"Get all file attachments for a specific issue.\"},\"post\":{\"tags\":[\"Attachments\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"}],\"responses\":{\"200\":{\"description\":\"Attachment uploaded\",\"content\":{\"application/json\":{}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Upload attachment\",\"description\":\"Upload a file attachment to an issue.\",\"requestBody\":{\"required\":true,\"content\":{\"multipart/form-data\":{\"schema\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"format\":\"binary\",\"description\":\"File to upload\"}}}}}}}},\"/api/issues/{id}/attachments/{attachmentId}\":{\"delete\":{\"tags\":[\"Attachments\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"},{\"name\":\"attachmentId\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"integer\"},\"description\":\"Attachment ID\"}],\"responses\":{\"200\":{\"description\":\"Attachment deleted\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"success\":{\"type\":\"boolean\"}}}}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Attachment not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Delete attachment\",\"description\":\"Delete a file attachment from an issue.\"},\"get\":{\"tags\":[\"Attachments\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"},{\"name\":\"attachmentId\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"integer\"},\"description\":\"Attachment ID\"}],\"responses\":{\"200\":{\"description\":\"File content\",\"content\":{\"application/octet-stream\":{\"schema\":{\"type\":\"string\",\"format\":\"binary\"}}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Attachment not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Download attachment\",\"description\":\"Download a specific file attachment.\"}},\"/api/issues/{id}/children\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/comments\":{\"get\":{\"tags\":[\"Comments\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"}],\"responses\":{\"200\":{\"description\":\"List of comments\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"array\"}}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}}},\"summary\":\"List issue comments\",\"description\":\"Get all comments for a specific issue.\"},\"post\":{\"tags\":[\"Comments\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"}],\"responses\":{\"200\":{\"description\":\"Comment created\",\"content\":{\"application/json\":{}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Add a comment\",\"description\":\"Add a new comment to an issue.\",\"requestBody\":{\"required\":true,\"content\":{\"application/json\":{}}}}},\"/api/issues/{id}/full-history\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/full-terminal\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/history\":{\"get\":{\"tags\":[\"History\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"}],\"responses\":{\"200\":{\"description\":\"Issue history\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"array\",\"items\":{\"allOf\":[{\"type\":\"object\",\"properties\":{\"artifactsAvailable\":{\"type\":\"object\",\"properties\":{\"prompt\":{\"type\":\"boolean\"},\"terminal\":{\"type\":\"boolean\"}}}}}]}}}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}}},\"summary\":\"Get issue history\",\"description\":\"Get the movement and edit history of an issue with artifact availability info.\"}},\"/api/issues/{id}/history/{sessionId}/log\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"sessionId\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/history/{sessionId}/prompt\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"sessionId\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/log\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/move\":{\"post\":{\"tags\":[\"Issues\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key (e.g., AC-000001)\"}],\"responses\":{\"200\":{\"description\":\"Issue moved successfully\",\"content\":{\"application/json\":{\"schema\":{\"allOf\":[{\"type\":\"object\",\"properties\":{\"actionExecuted\":{\"type\":\"boolean\",\"description\":\"Whether column action was run\"},\"processing\":{\"type\":\"boolean\",\"description\":\"Whether action is still processing\"}}}]}}}},\"400\":{\"description\":\"Bad request or move failed\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue or column not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Move issue to a column\",\"description\":\"Move an issue to a specific column. If the column has an action, it will be executed (async by default).\",\"requestBody\":{\"required\":true,\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"column\":{\"type\":\"string\",\"description\":\"Target column slug\",\"example\":\"in-progress\"},\"lang\":{\"type\":\"string\",\"enum\":[\"en\",\"fr\"],\"default\":\"fr\",\"description\":\"Language\"},\"force\":{\"type\":\"boolean\",\"default\":false,\"description\":\"Force move even if blocked\"},\"async\":{\"type\":\"boolean\",\"default\":true,\"description\":\"Run action asynchronously\"}},\"required\":[\"column\"]}}}}}},\"/api/issues/{id}/next\":{\"post\":{\"tags\":[\"Issues\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key (e.g., AC-000001)\"}],\"responses\":{\"200\":{\"description\":\"Issue moved to next column\",\"content\":{\"application/json\":{\"schema\":{\"allOf\":[{\"type\":\"object\",\"properties\":{\"actionExecuted\":{\"type\":\"boolean\",\"description\":\"Whether column action was run\"}}}]}}}},\"400\":{\"description\":\"Bad request or already at last column\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Move issue to next column\",\"description\":\"Advance an issue to the next column in the pipeline. If the column has an action, it will be executed.\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"lang\":{\"type\":\"string\",\"enum\":[\"en\",\"fr\"],\"default\":\"fr\",\"description\":\"Language for action execution\"},\"force\":{\"type\":\"boolean\",\"default\":false,\"description\":\"Force move even if blocked\"}}}}}}}},\"/api/issues/actionable\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/autocomplete\":{\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/graph\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues\":{\"get\":{\"tags\":[\"Issues\"],\"parameters\":[{\"name\":\"column\",\"in\":\"query\",\"schema\":{\"type\":\"string\"},\"description\":\"Filter by column slug (e.g., backlog, in-progress)\"},{\"name\":\"search\",\"in\":\"query\",\"schema\":{\"type\":\"string\"},\"description\":\"Search in title and description\"},{\"name\":\"limit\",\"in\":\"query\",\"schema\":{\"type\":\"integer\"},\"description\":\"Maximum number of results to return\"}],\"responses\":{\"200\":{\"description\":\"List of issues\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"array\"}}}}},\"summary\":\"List all issues\",\"description\":\"Retrieve a list of issues with optional filtering by column, search term, or limit.\"},\"post\":{\"tags\":[\"Issues\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"Issue created successfully\",\"content\":{\"application/json\":{}}},\"400\":{\"description\":\"Bad request - title is required\",\"content\":{\"application/json\":{}}},\"500\":{\"description\":\"Server error\",\"content\":{\"application/json\":{}}}},\"summary\":\"Create a new issue\",\"description\":\"Create a new issue in the backlog. The issue key is auto-generated (AC-XXXXXX format).\",\"requestBody\":{\"required\":true,\"content\":{\"application/json\":{}}}}},\"/api/pipelines/{name}\":{\"delete\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}},\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}},\"put\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/pipelines/{name}/activate\":{\"put\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/pipelines/{name}/versions\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}},\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/pipelines/{name}/versions/{version}\":{\"delete\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"version\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}},\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"version\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}},\"put\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"version\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/pipelines/{name}/versions/{version}/activate\":{\"put\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"version\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/pipelines/{name}/versions/{version}/finalize\":{\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"version\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/pipelines\":{\"get\":{\"tags\":[\"Pipelines\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"List of pipelines\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"array\",\"items\":{\"allOf\":[{\"type\":\"object\",\"properties\":{\"draft\":{\"type\":\"boolean\",\"description\":\"Is draft version\"},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"createdFromVersion\":{\"type\":\"string\",\"nullable\":true,\"description\":\"Source version\"}}}]}}}}}},\"summary\":\"List all pipelines\",\"description\":\"Get all pipeline configurations with their columns organized by segment (definition, action, finish).\"},\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/purge\":{\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/stats\":{\"get\":{\"tags\":[\"Monitoring\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"Usage statistics\",\"content\":{\"application/json\":{}}}},\"summary\":\"Get usage statistics\",\"description\":\"Get Claude API usage statistics including token counts, costs, and call history.\"}},\"/api/status\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/workflow/health\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/ws/status\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/_ws\":{\"get\":{\"tags\":[\"Internal\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/__nuxt_island/{*param1}\":{\"get\":{\"tags\":[\"Internal\"],\"parameters\":[{\"name\":\"*param1\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/_i18n/{hash}/{locale}/messages.json\":{\"get\":{\"tags\":[\"Internal\"],\"parameters\":[{\"name\":\"hash\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"locale\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/_openapi.json\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}}}}",1767788341340]
1
+ [{"data":1,"prerenderedAt":4},["ShallowReactive",2],{"$fSxujDrcGVDMX-aq4lBRdDgPaXJP7dYu8B__h4EjJfwA":3},"{\"openapi\":\"3.1.0\",\"info\":{\"title\":\"AutoCode API\",\"version\":\"0.37.0\",\"description\":\"REST API for AutoCode Issue Tracking Dashboard\"},\"servers\":[{\"url\":\"http://localhost\",\"description\":\"Local Development Server\",\"variables\":{}}],\"paths\":{\"\":{\"get\":{\"tags\":[\"App Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/catalog/autocreate\":{\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/catalog/autocreate/apply\":{\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/catalog\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}},\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/changelog\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/changelog/summary\":{\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/columns/{slug}/actions\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"slug\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/columns/{slug}/prompt\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"slug\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/columns\":{\"get\":{\"tags\":[\"Columns\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"List of columns\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"array\",\"items\":{\"allOf\":[{\"type\":\"object\",\"properties\":{\"segment\":{\"type\":\"string\",\"enum\":[\"definition\",\"action\",\"finish\"],\"description\":\"Pipeline segment\"},\"isFirst\":{\"type\":\"boolean\",\"description\":\"Is first column\"},\"isLast\":{\"type\":\"boolean\",\"description\":\"Is last column\"},\"isActionable\":{\"type\":\"boolean\",\"description\":\"Can execute actions\"}}}]}}}}}},\"summary\":\"List active columns\",\"description\":\"Get all columns from the currently active pipeline with their metadata.\"}},\"/api/health\":{\"get\":{\"tags\":[\"Monitoring\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"Health status\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"healthy\":{\"type\":\"boolean\",\"description\":\"Overall health status\"},\"checks\":{\"type\":\"object\",\"properties\":{\"database\":{\"type\":\"boolean\",\"description\":\"SQLite file exists\"},\"databaseConnection\":{\"type\":\"boolean\",\"description\":\"Can query database\"},\"attachments\":{\"type\":\"boolean\",\"description\":\"Attachments dir exists\"}}},\"timestamp\":{\"type\":\"string\",\"format\":\"date-time\"}}}}}}},\"summary\":\"Health check\",\"description\":\"Check the health status of the application and its dependencies.\"}},\"/api/issues/{id}\":{\"get\":{\"tags\":[\"Issues\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key (e.g., AC-000001)\",\"example\":\"AC-000001\"}],\"responses\":{\"200\":{\"description\":\"Issue details\",\"content\":{\"application/json\":{}}},\"400\":{\"description\":\"Bad request - ID required\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Get an issue by key\",\"description\":\"Retrieve a single issue by its key (e.g., AC-000001).\"},\"patch\":{\"tags\":[\"Issues\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key (e.g., AC-000001)\"}],\"responses\":{\"200\":{\"description\":\"Issue updated successfully\",\"content\":{\"application/json\":{}}},\"400\":{\"description\":\"Bad request - ID required\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Update an issue\",\"description\":\"Update one or more fields of an existing issue.\",\"requestBody\":{\"required\":true,\"content\":{\"application/json\":{}}}}},\"/api/issues/{id}/{column}/log\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"column\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/ancestors\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/archive\":{\"delete\":{\"tags\":[\"Issues\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"}],\"responses\":{\"200\":{\"description\":\"Issue archived\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"success\":{\"type\":\"boolean\"}}}}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Archive an issue\",\"description\":\"Move an issue to the archive (last column). This is a soft delete.\"}},\"/api/issues/{id}/attachments\":{\"get\":{\"tags\":[\"Attachments\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"}],\"responses\":{\"200\":{\"description\":\"List of attachments\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"array\"}}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}}},\"summary\":\"List issue attachments\",\"description\":\"Get all file attachments for a specific issue.\"},\"post\":{\"tags\":[\"Attachments\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"}],\"responses\":{\"200\":{\"description\":\"Attachment uploaded\",\"content\":{\"application/json\":{}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Upload attachment\",\"description\":\"Upload a file attachment to an issue.\",\"requestBody\":{\"required\":true,\"content\":{\"multipart/form-data\":{\"schema\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"format\":\"binary\",\"description\":\"File to upload\"}}}}}}}},\"/api/issues/{id}/attachments/{attachmentId}\":{\"delete\":{\"tags\":[\"Attachments\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"},{\"name\":\"attachmentId\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"integer\"},\"description\":\"Attachment ID\"}],\"responses\":{\"200\":{\"description\":\"Attachment deleted\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"success\":{\"type\":\"boolean\"}}}}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Attachment not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Delete attachment\",\"description\":\"Delete a file attachment from an issue.\"},\"get\":{\"tags\":[\"Attachments\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"},{\"name\":\"attachmentId\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"integer\"},\"description\":\"Attachment ID\"}],\"responses\":{\"200\":{\"description\":\"File content\",\"content\":{\"application/octet-stream\":{\"schema\":{\"type\":\"string\",\"format\":\"binary\"}}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Attachment not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Download attachment\",\"description\":\"Download a specific file attachment.\"}},\"/api/issues/{id}/children\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/comments\":{\"get\":{\"tags\":[\"Comments\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"}],\"responses\":{\"200\":{\"description\":\"List of comments\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"array\"}}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}}},\"summary\":\"List issue comments\",\"description\":\"Get all comments for a specific issue.\"},\"post\":{\"tags\":[\"Comments\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"}],\"responses\":{\"200\":{\"description\":\"Comment created\",\"content\":{\"application/json\":{}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Add a comment\",\"description\":\"Add a new comment to an issue.\",\"requestBody\":{\"required\":true,\"content\":{\"application/json\":{}}}}},\"/api/issues/{id}/full-history\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/full-terminal\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/history\":{\"get\":{\"tags\":[\"History\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key\"}],\"responses\":{\"200\":{\"description\":\"Issue history\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"array\",\"items\":{\"allOf\":[{\"type\":\"object\",\"properties\":{\"artifactsAvailable\":{\"type\":\"object\",\"properties\":{\"prompt\":{\"type\":\"boolean\"},\"terminal\":{\"type\":\"boolean\"}}}}}]}}}}},\"400\":{\"description\":\"Bad request\",\"content\":{\"application/json\":{}}}},\"summary\":\"Get issue history\",\"description\":\"Get the movement and edit history of an issue with artifact availability info.\"}},\"/api/issues/{id}/history/{sessionId}/log\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"sessionId\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/history/{sessionId}/prompt\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"sessionId\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/log\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/{id}/move\":{\"post\":{\"tags\":[\"Issues\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key (e.g., AC-000001)\"}],\"responses\":{\"200\":{\"description\":\"Issue moved successfully\",\"content\":{\"application/json\":{\"schema\":{\"allOf\":[{\"type\":\"object\",\"properties\":{\"actionExecuted\":{\"type\":\"boolean\",\"description\":\"Whether column action was run\"},\"processing\":{\"type\":\"boolean\",\"description\":\"Whether action is still processing\"}}}]}}}},\"400\":{\"description\":\"Bad request or move failed\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue or column not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Move issue to a column\",\"description\":\"Move an issue to a specific column. If the column has an action, it will be executed (async by default).\",\"requestBody\":{\"required\":true,\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"column\":{\"type\":\"string\",\"description\":\"Target column slug\",\"example\":\"in-progress\"},\"lang\":{\"type\":\"string\",\"enum\":[\"en\",\"fr\"],\"default\":\"fr\",\"description\":\"Language\"},\"force\":{\"type\":\"boolean\",\"default\":false,\"description\":\"Force move even if blocked\"},\"async\":{\"type\":\"boolean\",\"default\":true,\"description\":\"Run action asynchronously\"}},\"required\":[\"column\"]}}}}}},\"/api/issues/{id}/next\":{\"post\":{\"tags\":[\"Issues\"],\"parameters\":[{\"name\":\"id\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"},\"description\":\"Issue key (e.g., AC-000001)\"}],\"responses\":{\"200\":{\"description\":\"Issue moved to next column\",\"content\":{\"application/json\":{\"schema\":{\"allOf\":[{\"type\":\"object\",\"properties\":{\"actionExecuted\":{\"type\":\"boolean\",\"description\":\"Whether column action was run\"}}}]}}}},\"400\":{\"description\":\"Bad request or already at last column\",\"content\":{\"application/json\":{}}},\"404\":{\"description\":\"Issue not found\",\"content\":{\"application/json\":{}}}},\"summary\":\"Move issue to next column\",\"description\":\"Advance an issue to the next column in the pipeline. If the column has an action, it will be executed.\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"lang\":{\"type\":\"string\",\"enum\":[\"en\",\"fr\"],\"default\":\"fr\",\"description\":\"Language for action execution\"},\"force\":{\"type\":\"boolean\",\"default\":false,\"description\":\"Force move even if blocked\"}}}}}}}},\"/api/issues/actionable\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/autocomplete\":{\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues/graph\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/issues\":{\"get\":{\"tags\":[\"Issues\"],\"parameters\":[{\"name\":\"column\",\"in\":\"query\",\"schema\":{\"type\":\"string\"},\"description\":\"Filter by column slug (e.g., backlog, in-progress)\"},{\"name\":\"search\",\"in\":\"query\",\"schema\":{\"type\":\"string\"},\"description\":\"Search in title and description\"},{\"name\":\"limit\",\"in\":\"query\",\"schema\":{\"type\":\"integer\"},\"description\":\"Maximum number of results to return\"}],\"responses\":{\"200\":{\"description\":\"List of issues\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"array\"}}}}},\"summary\":\"List all issues\",\"description\":\"Retrieve a list of issues with optional filtering by column, search term, or limit.\"},\"post\":{\"tags\":[\"Issues\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"Issue created successfully\",\"content\":{\"application/json\":{}}},\"400\":{\"description\":\"Bad request - title is required\",\"content\":{\"application/json\":{}}},\"500\":{\"description\":\"Server error\",\"content\":{\"application/json\":{}}}},\"summary\":\"Create a new issue\",\"description\":\"Create a new issue in the backlog. The issue key is auto-generated (AC-XXXXXX format).\",\"requestBody\":{\"required\":true,\"content\":{\"application/json\":{}}}}},\"/api/pipelines/{name}\":{\"delete\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}},\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}},\"put\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/pipelines/{name}/activate\":{\"put\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/pipelines/{name}/versions\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}},\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/pipelines/{name}/versions/{version}\":{\"delete\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"version\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}},\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"version\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}},\"put\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"version\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/pipelines/{name}/versions/{version}/activate\":{\"put\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"version\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/pipelines/{name}/versions/{version}/finalize\":{\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[{\"name\":\"name\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"version\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/pipelines\":{\"get\":{\"tags\":[\"Pipelines\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"List of pipelines\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"array\",\"items\":{\"allOf\":[{\"type\":\"object\",\"properties\":{\"draft\":{\"type\":\"boolean\",\"description\":\"Is draft version\"},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"createdFromVersion\":{\"type\":\"string\",\"nullable\":true,\"description\":\"Source version\"}}}]}}}}}},\"summary\":\"List all pipelines\",\"description\":\"Get all pipeline configurations with their columns organized by segment (definition, action, finish).\"},\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/purge\":{\"post\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/stats\":{\"get\":{\"tags\":[\"Monitoring\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"Usage statistics\",\"content\":{\"application/json\":{}}}},\"summary\":\"Get usage statistics\",\"description\":\"Get Claude API usage statistics including token counts, costs, and call history.\"}},\"/api/status\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/workflow/health\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/ws/status\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/_ws\":{\"get\":{\"tags\":[\"Internal\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/.well-known/appspecific/{path}\":{\"get\":{\"tags\":[\"App Routes\"],\"parameters\":[{\"name\":\"path\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/__nuxt_island/{*param1}\":{\"get\":{\"tags\":[\"Internal\"],\"parameters\":[{\"name\":\"*param1\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/_i18n/{hash}/{locale}/messages.json\":{\"get\":{\"tags\":[\"Internal\"],\"parameters\":[{\"name\":\"hash\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"locale\",\"in\":\"path\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"OK\"}}}},\"/api/_openapi.json\":{\"get\":{\"tags\":[\"API Routes\"],\"parameters\":[],\"responses\":{\"200\":{\"description\":\"OK\"}}}}}}",1767907166570]