@kaeawc/auto-mobile 0.0.91 → 0.0.92

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 (267) hide show
  1. package/dist/build-info.json +12 -12
  2. package/dist/schemas/README.md +16 -0
  3. package/dist/schemas/prototype-icon-names.json +302 -0
  4. package/dist/src/chunk-09442h7v.js +4 -0
  5. package/dist/src/chunk-0dfnyfkh.js +5 -0
  6. package/dist/src/chunk-0e4gm1kj.js +5 -0
  7. package/dist/src/chunk-0eb8576f.js +4 -0
  8. package/dist/src/chunk-0rjm4nx7.js +5 -0
  9. package/dist/src/chunk-0w1spptt.js +6 -0
  10. package/dist/src/chunk-1zmh2eak.js +4 -0
  11. package/dist/src/chunk-28k63ha3.js +5 -0
  12. package/dist/src/chunk-2d4wmp8b.js +4 -0
  13. package/dist/src/chunk-2e6s75qv.js +78 -0
  14. package/dist/src/chunk-2v7tw1nj.js +5 -0
  15. package/dist/src/chunk-32jpxz2y.js +323 -0
  16. package/dist/src/chunk-34zxqcmq.js +5 -0
  17. package/dist/src/chunk-3jmvqygr.js +238 -0
  18. package/dist/src/chunk-3swvfhqt.js +5 -0
  19. package/dist/src/chunk-44bt78m9.js +5 -0
  20. package/dist/src/chunk-488vt2bp.js +4 -0
  21. package/dist/src/chunk-4fgdhcwx.js +5 -0
  22. package/dist/src/chunk-4jp2se4w.js +4 -0
  23. package/dist/src/chunk-4pfftt07.js +5 -0
  24. package/dist/src/chunk-4vhr9e4t.js +4 -0
  25. package/dist/src/chunk-4xd6zs3y.js +15 -0
  26. package/dist/src/chunk-51567pg8.js +4 -0
  27. package/dist/src/chunk-5agqsfev.js +4 -0
  28. package/dist/src/chunk-5d706gmr.js +4 -0
  29. package/dist/src/chunk-5kd4rqk7.js +5 -0
  30. package/dist/src/chunk-5s645vr4.js +4 -0
  31. package/dist/src/chunk-61t538bm.js +4 -0
  32. package/dist/src/chunk-6d3mmqxt.js +54 -0
  33. package/dist/src/chunk-6hyt398x.js +5 -0
  34. package/dist/src/chunk-6mnr8kpm.js +4 -0
  35. package/dist/src/chunk-6pg7bqck.js +4 -0
  36. package/dist/src/chunk-79q5xsdc.js +42 -0
  37. package/dist/src/chunk-7bdgand3.js +4 -0
  38. package/dist/src/chunk-84cp9dw5.js +4 -0
  39. package/dist/src/chunk-86f2h5ww.js +5 -0
  40. package/dist/src/chunk-8cghfzb2.js +19 -0
  41. package/dist/src/chunk-8en08r7q.js +5 -0
  42. package/dist/src/chunk-950qcq1e.js +10 -0
  43. package/dist/src/chunk-9rkfyt6q.js +5 -0
  44. package/dist/src/chunk-9tf2p9y9.js +5 -0
  45. package/dist/src/chunk-9y5bcy28.js +6 -0
  46. package/dist/src/chunk-a2sc4jm0.js +5 -0
  47. package/dist/src/chunk-a4k9rt7z.js +5 -0
  48. package/dist/src/chunk-aa5ng3d1.js +4 -0
  49. package/dist/src/chunk-ajsrz473.js +5 -0
  50. package/dist/src/chunk-b3h0a6ca.js +4 -0
  51. package/dist/src/chunk-b4cxdzwy.js +20 -0
  52. package/dist/src/chunk-b6a737qt.js +4 -0
  53. package/dist/src/chunk-bn64x5z5.js +5 -0
  54. package/dist/src/chunk-bvh649za.js +12 -0
  55. package/dist/src/chunk-c9nk1r78.js +5 -0
  56. package/dist/src/chunk-c9tyfg4j.js +26 -0
  57. package/dist/src/chunk-cfsdfqnm.js +4 -0
  58. package/dist/src/chunk-cxyf04jc.js +7 -0
  59. package/dist/src/chunk-d57432wq.js +4 -0
  60. package/dist/src/chunk-da08tx5v.js +4 -0
  61. package/dist/src/chunk-eka89q3k.js +4 -0
  62. package/dist/src/chunk-f2tc08m2.js +4 -0
  63. package/dist/src/chunk-f8tnk179.js +5 -0
  64. package/dist/src/chunk-f9s1kkhx.js +5 -0
  65. package/dist/src/chunk-fbp8a4rx.js +4 -0
  66. package/dist/src/chunk-fd2z0sze.js +4 -0
  67. package/dist/src/chunk-fk927f4q.js +54 -0
  68. package/dist/src/chunk-fxmr3a0f.js +4 -0
  69. package/dist/src/chunk-gaqwhd44.js +4 -0
  70. package/dist/src/chunk-ggtd5x5a.js +5 -0
  71. package/dist/src/chunk-gndcfrm7.js +4 -0
  72. package/dist/src/chunk-h3n4adc6.js +310 -0
  73. package/dist/src/chunk-h5pjbb83.js +4 -0
  74. package/dist/src/chunk-hgnnh302.js +4 -0
  75. package/dist/src/chunk-hmke8nhx.js +5 -0
  76. package/dist/src/chunk-j2bx12hn.js +4 -0
  77. package/dist/src/chunk-j70y1a2g.js +4 -0
  78. package/dist/src/chunk-jdqvcq0a.js +5 -0
  79. package/dist/src/chunk-jhnbfj19.js +55 -0
  80. package/dist/src/chunk-js1jpyxp.js +6 -0
  81. package/dist/src/chunk-kbjq0qvb.js +4 -0
  82. package/dist/src/chunk-kfwx57xd.js +4 -0
  83. package/dist/src/chunk-km0dy5vc.js +71 -0
  84. package/dist/src/chunk-kzwctna2.js +4 -0
  85. package/dist/src/chunk-m9ehyehy.js +4 -0
  86. package/dist/src/chunk-mct91p1f.js +4 -0
  87. package/dist/src/chunk-mf9spd4g.js +5 -0
  88. package/dist/src/chunk-mgrcansb.js +4 -0
  89. package/dist/src/chunk-mqc1d0eb.js +6 -0
  90. package/dist/src/chunk-n1zmpk0z.js +4 -0
  91. package/dist/src/chunk-ncyjf63g.js +4 -0
  92. package/dist/src/chunk-nr64d21q.js +973 -0
  93. package/dist/src/chunk-nwm2pq5v.js +168 -0
  94. package/dist/src/chunk-pm06b05d.js +9 -0
  95. package/dist/src/chunk-q50s00ry.js +4 -0
  96. package/dist/src/chunk-qv2918jt.js +4 -0
  97. package/dist/src/chunk-qwye1958.js +14 -0
  98. package/dist/src/chunk-r0f1q783.js +5 -0
  99. package/dist/src/chunk-r14wwk37.js +18 -0
  100. package/dist/src/chunk-r20pe1nv.js +5 -0
  101. package/dist/src/chunk-r8z9pfve.js +5 -0
  102. package/dist/src/chunk-rdpgkjf6.js +4 -0
  103. package/dist/src/chunk-rkr0dks9.js +5 -0
  104. package/dist/src/chunk-rn84t3sf.js +11 -0
  105. package/dist/src/chunk-s123kn7n.js +4 -0
  106. package/dist/src/chunk-s1zq65ny.js +4 -0
  107. package/dist/src/chunk-s73qn3fx.js +4 -0
  108. package/dist/src/chunk-sjn0nj4p.js +5 -0
  109. package/dist/src/chunk-sns0c35v.js +7 -0
  110. package/dist/src/chunk-stfzjr9y.js +8 -0
  111. package/dist/src/chunk-sz1a7p43.js +4 -0
  112. package/dist/src/chunk-t4dr5c8v.js +8 -0
  113. package/dist/src/chunk-tc8k9c1j.js +4 -0
  114. package/dist/src/chunk-teznhase.js +4 -0
  115. package/dist/src/chunk-ty9xgmz4.js +4 -0
  116. package/dist/src/chunk-tyazf3sk.js +145 -0
  117. package/dist/src/chunk-v6npjrjm.js +5 -0
  118. package/dist/src/chunk-v90es00d.js +4 -0
  119. package/dist/src/chunk-vbvtzkwz.js +5 -0
  120. package/dist/src/chunk-vefd8qee.js +8 -0
  121. package/dist/src/chunk-vs9r72ta.js +17 -0
  122. package/dist/src/chunk-w2mwa0jk.js +4 -0
  123. package/dist/src/chunk-w7zsh13a.js +9 -0
  124. package/dist/src/chunk-w88k0bgr.js +4 -0
  125. package/dist/src/chunk-wry6skrm.js +4 -0
  126. package/dist/src/chunk-wzdt0enk.js +4 -0
  127. package/dist/src/chunk-xhhv854c.js +4 -0
  128. package/dist/src/chunk-y58270hd.js +4 -0
  129. package/dist/src/chunk-yk0hmbex.js +4 -0
  130. package/dist/src/chunk-ympy4fdz.js +28 -0
  131. package/dist/src/chunk-yw436axy.js +4 -0
  132. package/dist/src/chunk-z04jrpjy.js +5 -0
  133. package/dist/src/chunk-z2xznczw.js +4 -0
  134. package/dist/src/chunk-z4xnrgps.js +4 -0
  135. package/dist/src/chunk-z7csyszv.js +4 -0
  136. package/dist/src/chunk-z8t0v07j.js +11 -0
  137. package/dist/src/chunk-z916af47.js +228 -0
  138. package/dist/src/chunk-zcr8he8q.js +5 -0
  139. package/dist/src/chunk-zd9vmkzn.js +9 -0
  140. package/dist/src/chunk-zg67wjkh.js +5 -0
  141. package/dist/src/chunk-zj939v0h.js +5 -0
  142. package/dist/src/chunk-zkdjwtc1.js +4 -0
  143. package/dist/src/chunk-zkv5kzt6.js +4 -0
  144. package/dist/src/daemon/processEntry.js +4 -0
  145. package/dist/src/index.js +4 -2843
  146. package/dist/src/runtime/bunRuntimeGuard.js +4 -0
  147. package/dist/src/utils/workers/iosBundleExtractWorker.js +2 -3
  148. package/package.json +5 -5
  149. package/schemas/README.md +16 -0
  150. package/schemas/prototype-icon-names.json +302 -0
  151. package/node_modules/@borewit/text-codec/README.md +0 -87
  152. package/node_modules/@jimp/diff/node_modules/pixelmatch/README.md +0 -110
  153. package/node_modules/@jimp/diff/node_modules/pixelmatch/node_modules/pngjs/README.md +0 -433
  154. package/node_modules/@jimp/file-ops/dist/browser/index.js +0 -8
  155. package/node_modules/@jimp/js-png/README.md +0 -35
  156. package/node_modules/@jimp/js-png/src/__image_snapshots__/index-node-test-ts-png-should-use-png-options-1-snap.png +0 -0
  157. package/node_modules/@jimp/js-png/src/output.png +0 -0
  158. package/node_modules/@jimp/js-png/vitest.config.browser.mjs +0 -3
  159. package/node_modules/@jimp/plugin-resize/README.md +0 -12
  160. package/node_modules/@jimp/plugin-resize/vitest.config.browser.mjs +0 -3
  161. package/node_modules/@tokenizer/inflate/README.md +0 -114
  162. package/node_modules/@tokenizer/token/README.md +0 -19
  163. package/node_modules/await-to-js/README.md +0 -82
  164. package/node_modules/debug/README.md +0 -481
  165. package/node_modules/exif-parser/README.md +0 -83
  166. package/node_modules/file-type/readme.md +0 -667
  167. package/node_modules/ieee754/README.md +0 -51
  168. package/node_modules/mime/README.md +0 -178
  169. package/node_modules/ms/readme.md +0 -59
  170. package/node_modules/parse-bmfont-xml/README.md +0 -74
  171. package/node_modules/parse-bmfont-xml/lib/browser.js +0 -85
  172. package/node_modules/parse-bmfont-xml/node_modules/xml2js/README.md +0 -507
  173. package/node_modules/pngjs/README.md +0 -287
  174. package/node_modules/sax/README.md +0 -228
  175. package/node_modules/strtok3/README.md +0 -795
  176. package/node_modules/tinycolor2/README.md +0 -492
  177. package/node_modules/tinycolor2/cjs/test.js +0 -2191
  178. package/node_modules/tinycolor2/cjs/test_template.js +0 -26
  179. package/node_modules/tinycolor2/deno_asserts@0.168.0.mjs +0 -807
  180. package/node_modules/tinycolor2/esm/test.js +0 -2189
  181. package/node_modules/tinycolor2/esm/test_template.js +0 -24
  182. package/node_modules/tinycolor2/tinycolor.js +0 -1191
  183. package/node_modules/token-types/README.md +0 -160
  184. package/node_modules/uint8array-extras/readme.md +0 -318
  185. package/node_modules/xml-parse-from-string/README.md +0 -35
  186. package/node_modules/xmlbuilder/README.md +0 -86
  187. package/node_modules/zod/README.md +0 -208
  188. package/node_modules/zod/v4/locales/ar.d.cts +0 -4
  189. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  190. package/node_modules/zod/v4/locales/az.d.cts +0 -4
  191. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  192. package/node_modules/zod/v4/locales/be.d.cts +0 -4
  193. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  194. package/node_modules/zod/v4/locales/ca.d.cts +0 -4
  195. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  196. package/node_modules/zod/v4/locales/cs.d.cts +0 -4
  197. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  198. package/node_modules/zod/v4/locales/de.d.cts +0 -4
  199. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  200. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  201. package/node_modules/zod/v4/locales/en.d.ts +0 -5
  202. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  203. package/node_modules/zod/v4/locales/eo.d.ts +0 -5
  204. package/node_modules/zod/v4/locales/es.d.cts +0 -4
  205. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  206. package/node_modules/zod/v4/locales/fa.d.cts +0 -4
  207. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  208. package/node_modules/zod/v4/locales/fi.d.cts +0 -4
  209. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  210. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  211. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  212. package/node_modules/zod/v4/locales/fr.d.cts +0 -4
  213. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  214. package/node_modules/zod/v4/locales/he.d.cts +0 -4
  215. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  216. package/node_modules/zod/v4/locales/hu.d.cts +0 -4
  217. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  218. package/node_modules/zod/v4/locales/id.d.cts +0 -4
  219. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  220. package/node_modules/zod/v4/locales/index.d.cts +0 -39
  221. package/node_modules/zod/v4/locales/index.d.ts +0 -39
  222. package/node_modules/zod/v4/locales/it.d.cts +0 -4
  223. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  224. package/node_modules/zod/v4/locales/ja.d.cts +0 -4
  225. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  226. package/node_modules/zod/v4/locales/kh.d.cts +0 -4
  227. package/node_modules/zod/v4/locales/kh.d.ts +0 -4
  228. package/node_modules/zod/v4/locales/ko.d.cts +0 -4
  229. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  230. package/node_modules/zod/v4/locales/mk.d.cts +0 -4
  231. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  232. package/node_modules/zod/v4/locales/ms.d.cts +0 -4
  233. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  234. package/node_modules/zod/v4/locales/nl.d.cts +0 -4
  235. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  236. package/node_modules/zod/v4/locales/no.d.cts +0 -4
  237. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  238. package/node_modules/zod/v4/locales/ota.d.cts +0 -4
  239. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  240. package/node_modules/zod/v4/locales/pl.d.cts +0 -4
  241. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  242. package/node_modules/zod/v4/locales/ps.d.cts +0 -4
  243. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  244. package/node_modules/zod/v4/locales/pt.d.cts +0 -4
  245. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  246. package/node_modules/zod/v4/locales/ru.d.cts +0 -4
  247. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  248. package/node_modules/zod/v4/locales/sl.d.cts +0 -4
  249. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  250. package/node_modules/zod/v4/locales/sv.d.cts +0 -4
  251. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  252. package/node_modules/zod/v4/locales/ta.d.cts +0 -4
  253. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  254. package/node_modules/zod/v4/locales/th.d.cts +0 -4
  255. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  256. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  257. package/node_modules/zod/v4/locales/tr.d.ts +0 -5
  258. package/node_modules/zod/v4/locales/ua.d.cts +0 -4
  259. package/node_modules/zod/v4/locales/ua.d.ts +0 -4
  260. package/node_modules/zod/v4/locales/ur.d.cts +0 -4
  261. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  262. package/node_modules/zod/v4/locales/vi.d.cts +0 -4
  263. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  264. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  265. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  266. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  267. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
@@ -0,0 +1,4 @@
1
+ // @bun
2
+ import{o2}from"./chunk-8en08r7q.js";import"./chunk-z8t0v07j.js";import"./chunk-mf9spd4g.js";export{o2 as stopManagedAdbServer};
3
+
4
+ //# debugId=6FD79B3AF6E71D1B64756E2164756E21
@@ -0,0 +1,4 @@
1
+ // @bun
2
+ import{nt}from"./chunk-z8t0v07j.js";export{nt as isProcessRunning};
3
+
4
+ //# debugId=D512351CE2410FF464756E2164756E21
@@ -0,0 +1,5 @@
1
+ // @bun
2
+ import{K,E}from"./chunk-mf9spd4g.js";import{cn,i,e}from"./chunk-z8t0v07j.js";import{Pl}from"./chunk-2v7tw1nj.js";import y from"fs";import m from"path";import{fileURLToPath as A}from"url";import{createHash as D}from"crypto";import{spawnSync as P}from"child_process";import{execFile as _}from"child_process";import{readFileSync as C,statSync as w}from"fs";import{dirname as S,join as l,resolve as u}from"path";var I={kind(r){let t=w(r,{throwIfNoEntry:!1});return t?.isDirectory()?"directory":t?.isFile()?"file":null},readFile(r){try{return C(r,"utf8")}catch(t){if(t instanceof Error&&"code"in t&&t.code==="ENOENT")return null;throw t}}},T="@kaeawc/auto-mobile",R=2000,N=(r,t,{cwd:n,timeoutMs:o})=>{let s=null;try{s=P("git",t,{cwd:n,encoding:"utf-8",timeout:o,killSignal:"SIGTERM"})}catch(a){}if(!s||s.status!==0||s.error)return null;return(typeof s.stdout==="string"?s.stdout:s.stdout.toString()).trim()},O=async(r,t,{cwd:n,timeoutMs:o})=>{try{return await new Promise((s)=>{_(r,t,{cwd:n,encoding:"utf8",timeout:o,killSignal:"SIGTERM"},(a,c)=>s(a?null:c.trim()))})}catch(s){return e.warn("Async git version probe failed",s),null}};class V{run;fs;runAsync;env;constructor(r=N,t=I,n=O,o=process.env){this.run=r;this.fs=t;this.runAsync=n;this.env=o}readVersion(r,t){if(r.split(/[\\/]/).includes("node_modules"))return null;let n=this.locate(r);if(!n?.toplevel||t(n.toplevel)!==T)return null;let o=this.readHead(n)??this.execute(r,["rev-parse","HEAD"]);if(!o)return null;return{shortSha:o.slice(0,12),dirty:!1,dirtyHash:null}}async readDirtyState(r){let t={cwd:r,timeoutMs:R},n=await this.runAsync("git",["status","--porcelain","--untracked-files=no"],t);if(n===null)return null;let o=n.length>0,s=null;if(o){let a=await this.runAsync("git",["diff","HEAD"],t);if(a)s=D("sha256").update(a).digest("hex").slice(0,12)}return{dirty:o,dirtyHash:s}}locate(r){let t=E(K.GIT_DIR,this.env),n=E(K.GIT_WORK_TREE,this.env),o=E(K.GIT_COMMON_DIR,this.env);if(t===""||n===""||o==="")return{toplevel:this.execute(r,["rev-parse","--show-toplevel"]),dotgit:null};let s=o===void 0?void 0:u(r,o);if(t!==void 0)return{toplevel:n===void 0?this.execute(r,["rev-parse","--show-toplevel"]):u(r,n),dotgit:u(r,t),commonDirOverride:s};let a=this.findRoot(r);if(!a)return null;return{toplevel:n===void 0?a:u(r,n),dotgit:l(a,".git"),commonDirOverride:s}}findRoot(r){try{let t=u(r);while(!0){if(this.fs.kind(l(t,".git")))return t;let n=S(t);if(n===t)return null;t=n}}catch(t){return null}}resolveGitdir(r){if(this.fs.kind(r)==="directory")return r;let t=this.fs.readFile(r)?.replace(/\r?\n$/,"");if(!t?.startsWith("gitdir: ")||/[\r\n\0]/.test(t))return null;let n=t.slice(8);return n?u(S(r),n):null}resolveCommondir(r){let t=this.fs.readFile(l(r,"commondir"));if(t===null)return r;let n=t.replace(/\r?\n$/,"");return n&&!/[\r\n\0]/.test(n)?u(r,n):null}isValidRef(r){return r.startsWith("refs/")&&!/[\x00-\x20\x7f~^:?*\[\\]/.test(r)&&!r.includes("..")&&!r.includes("@{")&&!r.endsWith(".")&&r.split("/").every((t)=>!!t&&!t.startsWith(".")&&!t.endsWith(".lock"))}readRef(r,t,n){let o=/^refs\/(bisect|worktree|rewritten)\//.test(n)?r:t,s=this.fs.readFile(l(o,n));if(s!==null)return s.trim();let d=this.fs.readFile(l(o,"packed-refs"))?.split(/\r?\n/).find((f)=>f.endsWith(` ${n}`))?.match(/^([0-9a-f]{40}|[0-9a-f]{64}) (refs\/\S+)$/);return d?.[2]===n?d[1]:null}resolveHead(r,t){let n=this.fs.readFile(l(r,"HEAD"))?.trim(),o=new Set;while(n?.startsWith("ref: ")){let s=n.slice(5);if(!this.isValidRef(s)||o.has(s)||o.size>=32)return null;o.add(s),n=this.readRef(r,t,s)??void 0}return n&&/^(?:[0-9a-f]{40}|[0-9a-f]{64})$/.test(n)&&!/^0+$/.test(n)?n:null}readHead({dotgit:r,commonDirOverride:t}){try{let n=r&&this.resolveGitdir(r);if(!n)return null;let o=t??this.resolveCommondir(n);if(!o||this.fs.kind(l(o,"reftable")))return null;return this.resolveHead(n,o)}catch(n){return null}}execute(r,t){return this.run("git",t,{cwd:r,timeoutMs:R})}}var v=new V;var G=(r)=>{let t=r;for(let n=0;n<6;n++){let o=m.join(t,"package.json");if(y.existsSync(o))return o;let s=m.dirname(t);if(s===t)break;t=s}return null},g=()=>m.dirname(A(import.meta.url)),H=(r)=>Pl(()=>{let t=y.readFileSync(m.join(r,"package.json"),"utf-8");return JSON.parse(t).name??null},()=>null),b=()=>{let r=G(g())??G(process.cwd());if(!r)return null;return Pl(()=>{let t=y.readFileSync(r,"utf-8");return JSON.parse(t).version??null},()=>null)},F=(r=g(),t=v,n=H)=>t.readVersion(r,n),an=(r)=>r.split("+")[0],HR=(r)=>r.replace(/(\+g[\da-f]+)\.dirty(?:\.[\da-f]+)?$/i,"$1"),M=(r,t)=>{if(!t||t.shortSha.length===0)return r;let n=t.dirty?t.dirtyHash?`.dirty.${t.dirtyHash}`:".dirty":"";return`${r}+g${t.shortSha}${n}`};var k=(r)=>{let t=null,n,o,s=!1,a=()=>o??=n?.()??Promise.resolve();return{current(){if(t!==null)return t;let c=r.env.MCP_SERVER_VERSION;if(c)return t=c,t;let d=r.readPackageVersion()||r.env.npm_package_version||"unknown",f=d==="unknown"?null:r.readGitVersion();if(t=M(d,f),f)n=async()=>{try{let p=await r.readDirtyState();if(p?.dirty)t=M(d,{...f,...p})}catch(p){e.warn("Background git dirty-state resolution failed",p)}finally{s=!0}},r.timer.setTimeout(()=>void a(),0);return t},isSettled(){return this.current(),n===void 0||s},async resolveSettled(){return this.current(),await a(),this.current()}}},W,x=()=>({env:{MCP_SERVER_VERSION:E(K.MCP_SERVER_VERSION),npm_package_version:E(K.NPM_PACKAGE_VERSION)},readPackageVersion:b,readGitVersion:()=>F(g(),cn.gitMetadataClient),readDirtyState:()=>(cn.gitMetadataClient??v).readDirtyState(g()),timer:{setTimeout(r,t){let n=i.setTimeout(r,t);return n.unref?.(),n}}}),h=()=>W??=k(x()),xY=()=>k(x()).resolveSettled(),kn=()=>h().current(),CY=()=>h().isSettled(),DY=()=>h().resolveSettled();
3
+ export{an,HR,xY,kn,CY,DY};
4
+
5
+ //# debugId=C0DC0ADED697D01C64756E2164756E21
@@ -0,0 +1,4 @@
1
+ // @bun
2
+ import{s2,a2,c2}from"./chunk-5kd4rqk7.js";import"./chunk-ympy4fdz.js";import"./chunk-r20pe1nv.js";import"./chunk-f9s1kkhx.js";import"./chunk-6d3mmqxt.js";import"./chunk-zg67wjkh.js";import"./chunk-h3n4adc6.js";import"./chunk-32jpxz2y.js";import"./chunk-79q5xsdc.js";import"./chunk-ggtd5x5a.js";import"./chunk-z8t0v07j.js";import"./chunk-mf9spd4g.js";export{s2 as getVideoRecordingSocketPath,a2 as startVideoRecordingSocketServer,c2 as stopVideoRecordingSocketServer};
3
+
4
+ //# debugId=F307E390BE8A7EC264756E2164756E21