@coze-arch/cli 0.0.1-alpha.307a2b → 0.0.1-alpha.3260db

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 (454) hide show
  1. package/lib/__templates__/expo/.cozeproj/scripts/server_dev_run.sh +1 -1
  2. package/lib/__templates__/expo/README.md +12 -16
  3. package/lib/__templates__/expo/client/app/+not-found.tsx +4 -19
  4. package/lib/__templates__/expo/client/app/_layout.tsx +5 -3
  5. package/lib/__templates__/expo/client/components/Screen.tsx +4 -1
  6. package/lib/__templates__/expo/client/global.css +6 -0
  7. package/lib/__templates__/expo/client/heroui/components/accordion/accordion.animation.ts +178 -0
  8. package/lib/__templates__/expo/client/heroui/components/accordion/accordion.constants.ts +62 -0
  9. package/lib/__templates__/expo/client/heroui/components/accordion/accordion.md +437 -0
  10. package/lib/__templates__/expo/client/heroui/components/accordion/accordion.styles.ts +95 -0
  11. package/lib/__templates__/expo/client/heroui/components/accordion/accordion.tsx +340 -0
  12. package/lib/__templates__/expo/client/heroui/components/accordion/accordion.types.ts +267 -0
  13. package/lib/__templates__/expo/client/heroui/components/accordion/index.ts +17 -0
  14. package/lib/__templates__/expo/client/heroui/components/alert/alert.constants.ts +13 -0
  15. package/lib/__templates__/expo/client/heroui/components/alert/alert.hooks.ts +28 -0
  16. package/lib/__templates__/expo/client/heroui/components/alert/alert.md +263 -0
  17. package/lib/__templates__/expo/client/heroui/components/alert/alert.styles.ts +65 -0
  18. package/lib/__templates__/expo/client/heroui/components/alert/alert.tsx +181 -0
  19. package/lib/__templates__/expo/client/heroui/components/alert/alert.types.ts +99 -0
  20. package/lib/__templates__/expo/client/heroui/components/alert/alert.utils.tsx +25 -0
  21. package/lib/__templates__/expo/client/heroui/components/alert/default-icon.tsx +28 -0
  22. package/lib/__templates__/expo/client/heroui/components/alert/index.ts +15 -0
  23. package/lib/__templates__/expo/client/heroui/components/alert/success-icon.tsx +28 -0
  24. package/lib/__templates__/expo/client/heroui/components/alert/warning-icon.tsx +28 -0
  25. package/lib/__templates__/expo/client/heroui/components/avatar/avatar.animation.ts +123 -0
  26. package/lib/__templates__/expo/client/heroui/components/avatar/avatar.constants.ts +19 -0
  27. package/lib/__templates__/expo/client/heroui/components/avatar/avatar.context.ts +11 -0
  28. package/lib/__templates__/expo/client/heroui/components/avatar/avatar.md +386 -0
  29. package/lib/__templates__/expo/client/heroui/components/avatar/avatar.styles.ts +145 -0
  30. package/lib/__templates__/expo/client/heroui/components/avatar/avatar.tsx +307 -0
  31. package/lib/__templates__/expo/client/heroui/components/avatar/avatar.types.ts +239 -0
  32. package/lib/__templates__/expo/client/heroui/components/avatar/index.ts +13 -0
  33. package/lib/__templates__/expo/client/heroui/components/avatar/person-icon.tsx +23 -0
  34. package/lib/__templates__/expo/client/heroui/components/bottom-sheet/bottom-sheet.animation.ts +42 -0
  35. package/lib/__templates__/expo/client/heroui/components/bottom-sheet/bottom-sheet.constants.ts +13 -0
  36. package/lib/__templates__/expo/client/heroui/components/bottom-sheet/bottom-sheet.md +349 -0
  37. package/lib/__templates__/expo/client/heroui/components/bottom-sheet/bottom-sheet.styles.ts +66 -0
  38. package/lib/__templates__/expo/client/heroui/components/bottom-sheet/bottom-sheet.tsx +351 -0
  39. package/lib/__templates__/expo/client/heroui/components/bottom-sheet/bottom-sheet.types.ts +150 -0
  40. package/lib/__templates__/expo/client/heroui/components/bottom-sheet/index.ts +16 -0
  41. package/lib/__templates__/expo/client/heroui/components/button/button.constants.ts +7 -0
  42. package/lib/__templates__/expo/client/heroui/components/button/button.md +381 -0
  43. package/lib/__templates__/expo/client/heroui/components/button/button.styles.ts +89 -0
  44. package/lib/__templates__/expo/client/heroui/components/button/button.tsx +284 -0
  45. package/lib/__templates__/expo/client/heroui/components/button/button.types.ts +175 -0
  46. package/lib/__templates__/expo/client/heroui/components/button/button.utils.ts +34 -0
  47. package/lib/__templates__/expo/client/heroui/components/button/index.ts +9 -0
  48. package/lib/__templates__/expo/client/heroui/components/card/card.constants.ts +11 -0
  49. package/lib/__templates__/expo/client/heroui/components/card/card.md +186 -0
  50. package/lib/__templates__/expo/client/heroui/components/card/card.styles.ts +35 -0
  51. package/lib/__templates__/expo/client/heroui/components/card/card.tsx +153 -0
  52. package/lib/__templates__/expo/client/heroui/components/card/card.types.ts +77 -0
  53. package/lib/__templates__/expo/client/heroui/components/card/index.ts +10 -0
  54. package/lib/__templates__/expo/client/heroui/components/checkbox/checkbox.animation.ts +202 -0
  55. package/lib/__templates__/expo/client/heroui/components/checkbox/checkbox.constants.ts +6 -0
  56. package/lib/__templates__/expo/client/heroui/components/checkbox/checkbox.md +311 -0
  57. package/lib/__templates__/expo/client/heroui/components/checkbox/checkbox.styles.ts +105 -0
  58. package/lib/__templates__/expo/client/heroui/components/checkbox/checkbox.tsx +251 -0
  59. package/lib/__templates__/expo/client/heroui/components/checkbox/checkbox.types.ts +216 -0
  60. package/lib/__templates__/expo/client/heroui/components/checkbox/index.ts +3 -0
  61. package/lib/__templates__/expo/client/heroui/components/chip/chip.animation.ts +18 -0
  62. package/lib/__templates__/expo/client/heroui/components/chip/chip.constants.ts +7 -0
  63. package/lib/__templates__/expo/client/heroui/components/chip/chip.md +190 -0
  64. package/lib/__templates__/expo/client/heroui/components/chip/chip.styles.ts +234 -0
  65. package/lib/__templates__/expo/client/heroui/components/chip/chip.tsx +125 -0
  66. package/lib/__templates__/expo/client/heroui/components/chip/chip.types.ts +69 -0
  67. package/lib/__templates__/expo/client/heroui/components/chip/index.ts +3 -0
  68. package/lib/__templates__/expo/client/heroui/components/close-button/close-button.constants.ts +6 -0
  69. package/lib/__templates__/expo/client/heroui/components/close-button/close-button.md +109 -0
  70. package/lib/__templates__/expo/client/heroui/components/close-button/close-button.styles.ts +13 -0
  71. package/lib/__templates__/expo/client/heroui/components/close-button/close-button.tsx +57 -0
  72. package/lib/__templates__/expo/client/heroui/components/close-button/close-button.types.ts +30 -0
  73. package/lib/__templates__/expo/client/heroui/components/close-button/index.ts +6 -0
  74. package/lib/__templates__/expo/client/heroui/components/control-field/control-field.animation.ts +18 -0
  75. package/lib/__templates__/expo/client/heroui/components/control-field/control-field.constants.ts +7 -0
  76. package/lib/__templates__/expo/client/heroui/components/control-field/control-field.context.ts +14 -0
  77. package/lib/__templates__/expo/client/heroui/components/control-field/control-field.md +241 -0
  78. package/lib/__templates__/expo/client/heroui/components/control-field/control-field.styles.ts +15 -0
  79. package/lib/__templates__/expo/client/heroui/components/control-field/control-field.tsx +245 -0
  80. package/lib/__templates__/expo/client/heroui/components/control-field/control-field.types.ts +67 -0
  81. package/lib/__templates__/expo/client/heroui/components/control-field/index.ts +6 -0
  82. package/lib/__templates__/expo/client/heroui/components/description/description.animation.ts +53 -0
  83. package/lib/__templates__/expo/client/heroui/components/description/description.constants.ts +30 -0
  84. package/lib/__templates__/expo/client/heroui/components/description/description.md +129 -0
  85. package/lib/__templates__/expo/client/heroui/components/description/description.styles.ts +25 -0
  86. package/lib/__templates__/expo/client/heroui/components/description/description.tsx +81 -0
  87. package/lib/__templates__/expo/client/heroui/components/description/description.types.ts +77 -0
  88. package/lib/__templates__/expo/client/heroui/components/description/index.ts +3 -0
  89. package/lib/__templates__/expo/client/heroui/components/dialog/dialog.animation.ts +9 -0
  90. package/lib/__templates__/expo/client/heroui/components/dialog/dialog.constants.ts +13 -0
  91. package/lib/__templates__/expo/client/heroui/components/dialog/dialog.md +288 -0
  92. package/lib/__templates__/expo/client/heroui/components/dialog/dialog.styles.ts +77 -0
  93. package/lib/__templates__/expo/client/heroui/components/dialog/dialog.tsx +379 -0
  94. package/lib/__templates__/expo/client/heroui/components/dialog/dialog.types.ts +199 -0
  95. package/lib/__templates__/expo/client/heroui/components/dialog/index.ts +12 -0
  96. package/lib/__templates__/expo/client/heroui/components/field-error/field-error.animation.ts +50 -0
  97. package/lib/__templates__/expo/client/heroui/components/field-error/field-error.constants.ts +31 -0
  98. package/lib/__templates__/expo/client/heroui/components/field-error/field-error.md +204 -0
  99. package/lib/__templates__/expo/client/heroui/components/field-error/field-error.styles.ts +23 -0
  100. package/lib/__templates__/expo/client/heroui/components/field-error/field-error.tsx +91 -0
  101. package/lib/__templates__/expo/client/heroui/components/field-error/field-error.types.ts +79 -0
  102. package/lib/__templates__/expo/client/heroui/components/field-error/index.ts +3 -0
  103. package/lib/__templates__/expo/client/heroui/components/input/index.ts +3 -0
  104. package/lib/__templates__/expo/client/heroui/components/input/input.constants.ts +6 -0
  105. package/lib/__templates__/expo/client/heroui/components/input/input.md +193 -0
  106. package/lib/__templates__/expo/client/heroui/components/input/input.styles.ts +51 -0
  107. package/lib/__templates__/expo/client/heroui/components/input/input.tsx +96 -0
  108. package/lib/__templates__/expo/client/heroui/components/input/input.types.ts +44 -0
  109. package/lib/__templates__/expo/client/heroui/components/input-group/index.ts +9 -0
  110. package/lib/__templates__/expo/client/heroui/components/input-group/input-group.animation.ts +14 -0
  111. package/lib/__templates__/expo/client/heroui/components/input-group/input-group.constants.ts +6 -0
  112. package/lib/__templates__/expo/client/heroui/components/input-group/input-group.md +197 -0
  113. package/lib/__templates__/expo/client/heroui/components/input-group/input-group.styles.ts +31 -0
  114. package/lib/__templates__/expo/client/heroui/components/input-group/input-group.tsx +239 -0
  115. package/lib/__templates__/expo/client/heroui/components/input-group/input-group.types.ts +98 -0
  116. package/lib/__templates__/expo/client/heroui/components/input-otp/index.ts +9 -0
  117. package/lib/__templates__/expo/client/heroui/components/input-otp/input-otp.animation.ts +199 -0
  118. package/lib/__templates__/expo/client/heroui/components/input-otp/input-otp.constants.ts +12 -0
  119. package/lib/__templates__/expo/client/heroui/components/input-otp/input-otp.md +376 -0
  120. package/lib/__templates__/expo/client/heroui/components/input-otp/input-otp.styles.ts +68 -0
  121. package/lib/__templates__/expo/client/heroui/components/input-otp/input-otp.tsx +414 -0
  122. package/lib/__templates__/expo/client/heroui/components/input-otp/input-otp.types.ts +275 -0
  123. package/lib/__templates__/expo/client/heroui/components/label/index.ts +3 -0
  124. package/lib/__templates__/expo/client/heroui/components/label/label.animation.ts +18 -0
  125. package/lib/__templates__/expo/client/heroui/components/label/label.constants.ts +7 -0
  126. package/lib/__templates__/expo/client/heroui/components/label/label.md +187 -0
  127. package/lib/__templates__/expo/client/heroui/components/label/label.styles.ts +44 -0
  128. package/lib/__templates__/expo/client/heroui/components/label/label.tsx +172 -0
  129. package/lib/__templates__/expo/client/heroui/components/label/label.types.ts +86 -0
  130. package/lib/__templates__/expo/client/heroui/components/list-group/index.ts +17 -0
  131. package/lib/__templates__/expo/client/heroui/components/list-group/list-group.constants.ts +17 -0
  132. package/lib/__templates__/expo/client/heroui/components/list-group/list-group.md +387 -0
  133. package/lib/__templates__/expo/client/heroui/components/list-group/list-group.styles.ts +40 -0
  134. package/lib/__templates__/expo/client/heroui/components/list-group/list-group.tsx +206 -0
  135. package/lib/__templates__/expo/client/heroui/components/list-group/list-group.types.ts +132 -0
  136. package/lib/__templates__/expo/client/heroui/components/menu/index.ts +38 -0
  137. package/lib/__templates__/expo/client/heroui/components/menu/menu.animation.ts +121 -0
  138. package/lib/__templates__/expo/client/heroui/components/menu/menu.constants.ts +37 -0
  139. package/lib/__templates__/expo/client/heroui/components/menu/menu.md +620 -0
  140. package/lib/__templates__/expo/client/heroui/components/menu/menu.styles.ts +107 -0
  141. package/lib/__templates__/expo/client/heroui/components/menu/menu.tsx +664 -0
  142. package/lib/__templates__/expo/client/heroui/components/menu/menu.types.ts +394 -0
  143. package/lib/__templates__/expo/client/heroui/components/popover/arrow-svg.tsx +180 -0
  144. package/lib/__templates__/expo/client/heroui/components/popover/index.ts +18 -0
  145. package/lib/__templates__/expo/client/heroui/components/popover/popover.animation.ts +9 -0
  146. package/lib/__templates__/expo/client/heroui/components/popover/popover.constants.ts +34 -0
  147. package/lib/__templates__/expo/client/heroui/components/popover/popover.md +508 -0
  148. package/lib/__templates__/expo/client/heroui/components/popover/popover.styles.ts +98 -0
  149. package/lib/__templates__/expo/client/heroui/components/popover/popover.tsx +624 -0
  150. package/lib/__templates__/expo/client/heroui/components/popover/popover.types.ts +290 -0
  151. package/lib/__templates__/expo/client/heroui/components/pressable-feedback/index.ts +4 -0
  152. package/lib/__templates__/expo/client/heroui/components/pressable-feedback/pressable-feedback.animation.ts +449 -0
  153. package/lib/__templates__/expo/client/heroui/components/pressable-feedback/pressable-feedback.constants.ts +12 -0
  154. package/lib/__templates__/expo/client/heroui/components/pressable-feedback/pressable-feedback.md +328 -0
  155. package/lib/__templates__/expo/client/heroui/components/pressable-feedback/pressable-feedback.styles.ts +85 -0
  156. package/lib/__templates__/expo/client/heroui/components/pressable-feedback/pressable-feedback.tsx +330 -0
  157. package/lib/__templates__/expo/client/heroui/components/pressable-feedback/pressable-feedback.types.ts +386 -0
  158. package/lib/__templates__/expo/client/heroui/components/radio/index.ts +9 -0
  159. package/lib/__templates__/expo/client/heroui/components/radio/radio.animation.ts +92 -0
  160. package/lib/__templates__/expo/client/heroui/components/radio/radio.constants.ts +11 -0
  161. package/lib/__templates__/expo/client/heroui/components/radio/radio.md +339 -0
  162. package/lib/__templates__/expo/client/heroui/components/radio/radio.styles.ts +80 -0
  163. package/lib/__templates__/expo/client/heroui/components/radio/radio.tsx +217 -0
  164. package/lib/__templates__/expo/client/heroui/components/radio/radio.types.ts +106 -0
  165. package/lib/__templates__/expo/client/heroui/components/radio-group/index.ts +9 -0
  166. package/lib/__templates__/expo/client/heroui/components/radio-group/radio-group.animation.ts +20 -0
  167. package/lib/__templates__/expo/client/heroui/components/radio-group/radio-group.constants.ts +7 -0
  168. package/lib/__templates__/expo/client/heroui/components/radio-group/radio-group.context.ts +14 -0
  169. package/lib/__templates__/expo/client/heroui/components/radio-group/radio-group.md +273 -0
  170. package/lib/__templates__/expo/client/heroui/components/radio-group/radio-group.styles.ts +15 -0
  171. package/lib/__templates__/expo/client/heroui/components/radio-group/radio-group.tsx +220 -0
  172. package/lib/__templates__/expo/client/heroui/components/radio-group/radio-group.types.ts +64 -0
  173. package/lib/__templates__/expo/client/heroui/components/scroll-shadow/index.ts +7 -0
  174. package/lib/__templates__/expo/client/heroui/components/scroll-shadow/scroll-shadow.animation.ts +132 -0
  175. package/lib/__templates__/expo/client/heroui/components/scroll-shadow/scroll-shadow.constants.ts +21 -0
  176. package/lib/__templates__/expo/client/heroui/components/scroll-shadow/scroll-shadow.md +206 -0
  177. package/lib/__templates__/expo/client/heroui/components/scroll-shadow/scroll-shadow.styles.ts +52 -0
  178. package/lib/__templates__/expo/client/heroui/components/scroll-shadow/scroll-shadow.tsx +262 -0
  179. package/lib/__templates__/expo/client/heroui/components/scroll-shadow/scroll-shadow.types.ts +121 -0
  180. package/lib/__templates__/expo/client/heroui/components/search-field/index.ts +17 -0
  181. package/lib/__templates__/expo/client/heroui/components/search-field/search-field.animation.ts +18 -0
  182. package/lib/__templates__/expo/client/heroui/components/search-field/search-field.constants.ts +10 -0
  183. package/lib/__templates__/expo/client/heroui/components/search-field/search-field.md +231 -0
  184. package/lib/__templates__/expo/client/heroui/components/search-field/search-field.styles.ts +35 -0
  185. package/lib/__templates__/expo/client/heroui/components/search-field/search-field.tsx +253 -0
  186. package/lib/__templates__/expo/client/heroui/components/search-field/search-field.types.ts +160 -0
  187. package/lib/__templates__/expo/client/heroui/components/search-field/search-icon.tsx +37 -0
  188. package/lib/__templates__/expo/client/heroui/components/select/index.ts +28 -0
  189. package/lib/__templates__/expo/client/heroui/components/select/select.animation.ts +92 -0
  190. package/lib/__templates__/expo/client/heroui/components/select/select.constants.ts +53 -0
  191. package/lib/__templates__/expo/client/heroui/components/select/select.md +796 -0
  192. package/lib/__templates__/expo/client/heroui/components/select/select.styles.ts +149 -0
  193. package/lib/__templates__/expo/client/heroui/components/select/select.tsx +828 -0
  194. package/lib/__templates__/expo/client/heroui/components/select/select.types.ts +438 -0
  195. package/lib/__templates__/expo/client/heroui/components/separator/index.ts +7 -0
  196. package/lib/__templates__/expo/client/heroui/components/separator/separator.constants.ts +6 -0
  197. package/lib/__templates__/expo/client/heroui/components/separator/separator.md +106 -0
  198. package/lib/__templates__/expo/client/heroui/components/separator/separator.styles.ts +50 -0
  199. package/lib/__templates__/expo/client/heroui/components/separator/separator.tsx +62 -0
  200. package/lib/__templates__/expo/client/heroui/components/separator/separator.types.ts +40 -0
  201. package/lib/__templates__/expo/client/heroui/components/skeleton/index.ts +7 -0
  202. package/lib/__templates__/expo/client/heroui/components/skeleton/linear-gradient.tsx +45 -0
  203. package/lib/__templates__/expo/client/heroui/components/skeleton/skeleton.animation.ts +350 -0
  204. package/lib/__templates__/expo/client/heroui/components/skeleton/skeleton.constants.ts +39 -0
  205. package/lib/__templates__/expo/client/heroui/components/skeleton/skeleton.md +208 -0
  206. package/lib/__templates__/expo/client/heroui/components/skeleton/skeleton.styles.ts +49 -0
  207. package/lib/__templates__/expo/client/heroui/components/skeleton/skeleton.tsx +183 -0
  208. package/lib/__templates__/expo/client/heroui/components/skeleton/skeleton.types.ts +191 -0
  209. package/lib/__templates__/expo/client/heroui/components/skeleton-group/index.ts +7 -0
  210. package/lib/__templates__/expo/client/heroui/components/skeleton-group/skeleton-group.constants.ts +7 -0
  211. package/lib/__templates__/expo/client/heroui/components/skeleton-group/skeleton-group.md +247 -0
  212. package/lib/__templates__/expo/client/heroui/components/skeleton-group/skeleton-group.styles.ts +10 -0
  213. package/lib/__templates__/expo/client/heroui/components/skeleton-group/skeleton-group.tsx +94 -0
  214. package/lib/__templates__/expo/client/heroui/components/skeleton-group/skeleton-group.types.ts +28 -0
  215. package/lib/__templates__/expo/client/heroui/components/slider/index.ts +23 -0
  216. package/lib/__templates__/expo/client/heroui/components/slider/slider.animation.ts +87 -0
  217. package/lib/__templates__/expo/client/heroui/components/slider/slider.constants.ts +24 -0
  218. package/lib/__templates__/expo/client/heroui/components/slider/slider.md +348 -0
  219. package/lib/__templates__/expo/client/heroui/components/slider/slider.styles.ts +85 -0
  220. package/lib/__templates__/expo/client/heroui/components/slider/slider.tsx +413 -0
  221. package/lib/__templates__/expo/client/heroui/components/slider/slider.types.ts +120 -0
  222. package/lib/__templates__/expo/client/heroui/components/spinner/index.ts +10 -0
  223. package/lib/__templates__/expo/client/heroui/components/spinner/spinner-icon.tsx +49 -0
  224. package/lib/__templates__/expo/client/heroui/components/spinner/spinner.animation.ts +150 -0
  225. package/lib/__templates__/expo/client/heroui/components/spinner/spinner.constants.ts +36 -0
  226. package/lib/__templates__/expo/client/heroui/components/spinner/spinner.md +199 -0
  227. package/lib/__templates__/expo/client/heroui/components/spinner/spinner.styles.ts +44 -0
  228. package/lib/__templates__/expo/client/heroui/components/spinner/spinner.tsx +198 -0
  229. package/lib/__templates__/expo/client/heroui/components/spinner/spinner.types.ts +158 -0
  230. package/lib/__templates__/expo/client/heroui/components/surface/index.ts +3 -0
  231. package/lib/__templates__/expo/client/heroui/components/surface/surface.animation.ts +18 -0
  232. package/lib/__templates__/expo/client/heroui/components/surface/surface.constants.ts +6 -0
  233. package/lib/__templates__/expo/client/heroui/components/surface/surface.md +136 -0
  234. package/lib/__templates__/expo/client/heroui/components/surface/surface.styles.ts +28 -0
  235. package/lib/__templates__/expo/client/heroui/components/surface/surface.tsx +66 -0
  236. package/lib/__templates__/expo/client/heroui/components/surface/surface.types.ts +46 -0
  237. package/lib/__templates__/expo/client/heroui/components/switch/index.ts +3 -0
  238. package/lib/__templates__/expo/client/heroui/components/switch/switch.animation.ts +243 -0
  239. package/lib/__templates__/expo/client/heroui/components/switch/switch.constants.ts +26 -0
  240. package/lib/__templates__/expo/client/heroui/components/switch/switch.md +334 -0
  241. package/lib/__templates__/expo/client/heroui/components/switch/switch.styles.ts +83 -0
  242. package/lib/__templates__/expo/client/heroui/components/switch/switch.tsx +280 -0
  243. package/lib/__templates__/expo/client/heroui/components/switch/switch.types.ts +208 -0
  244. package/lib/__templates__/expo/client/heroui/components/tabs/index.ts +8 -0
  245. package/lib/__templates__/expo/client/heroui/components/tabs/tabs.animation.ts +246 -0
  246. package/lib/__templates__/expo/client/heroui/components/tabs/tabs.constants.ts +17 -0
  247. package/lib/__templates__/expo/client/heroui/components/tabs/tabs.context.ts +28 -0
  248. package/lib/__templates__/expo/client/heroui/components/tabs/tabs.md +565 -0
  249. package/lib/__templates__/expo/client/heroui/components/tabs/tabs.styles.ts +168 -0
  250. package/lib/__templates__/expo/client/heroui/components/tabs/tabs.tsx +445 -0
  251. package/lib/__templates__/expo/client/heroui/components/tabs/tabs.types.ts +341 -0
  252. package/lib/__templates__/expo/client/heroui/components/tag-group/index.ts +15 -0
  253. package/lib/__templates__/expo/client/heroui/components/tag-group/tag-group.animation.ts +17 -0
  254. package/lib/__templates__/expo/client/heroui/components/tag-group/tag-group.constants.ts +10 -0
  255. package/lib/__templates__/expo/client/heroui/components/tag-group/tag-group.md +404 -0
  256. package/lib/__templates__/expo/client/heroui/components/tag-group/tag-group.styles.ts +74 -0
  257. package/lib/__templates__/expo/client/heroui/components/tag-group/tag-group.tsx +325 -0
  258. package/lib/__templates__/expo/client/heroui/components/tag-group/tag-group.types.ts +125 -0
  259. package/lib/__templates__/expo/client/heroui/components/text-area/index.ts +3 -0
  260. package/lib/__templates__/expo/client/heroui/components/text-area/text-area.constants.ts +6 -0
  261. package/lib/__templates__/expo/client/heroui/components/text-area/text-area.md +133 -0
  262. package/lib/__templates__/expo/client/heroui/components/text-area/text-area.styles.ts +10 -0
  263. package/lib/__templates__/expo/client/heroui/components/text-area/text-area.tsx +44 -0
  264. package/lib/__templates__/expo/client/heroui/components/text-area/text-area.types.ts +6 -0
  265. package/lib/__templates__/expo/client/heroui/components/text-field/index.ts +3 -0
  266. package/lib/__templates__/expo/client/heroui/components/text-field/text-field.animation.ts +20 -0
  267. package/lib/__templates__/expo/client/heroui/components/text-field/text-field.constants.ts +6 -0
  268. package/lib/__templates__/expo/client/heroui/components/text-field/text-field.md +256 -0
  269. package/lib/__templates__/expo/client/heroui/components/text-field/text-field.styles.ts +10 -0
  270. package/lib/__templates__/expo/client/heroui/components/text-field/text-field.tsx +82 -0
  271. package/lib/__templates__/expo/client/heroui/components/text-field/text-field.types.ts +56 -0
  272. package/lib/__templates__/expo/client/heroui/components/toast/index.ts +4 -0
  273. package/lib/__templates__/expo/client/heroui/components/toast/toast.animation.ts +381 -0
  274. package/lib/__templates__/expo/client/heroui/components/toast/toast.constants.ts +10 -0
  275. package/lib/__templates__/expo/client/heroui/components/toast/toast.hooks.ts +73 -0
  276. package/lib/__templates__/expo/client/heroui/components/toast/toast.md +420 -0
  277. package/lib/__templates__/expo/client/heroui/components/toast/toast.styles.ts +89 -0
  278. package/lib/__templates__/expo/client/heroui/components/toast/toast.tsx +472 -0
  279. package/lib/__templates__/expo/client/heroui/components/toast/toast.types.ts +320 -0
  280. package/lib/__templates__/expo/client/heroui/docs.md +54 -0
  281. package/lib/__templates__/expo/client/heroui/helpers/external/hooks/index.ts +3 -0
  282. package/lib/__templates__/expo/client/heroui/helpers/external/hooks/use-is-on-surface.ts +8 -0
  283. package/lib/__templates__/expo/client/heroui/helpers/external/hooks/use-theme-color.ts +137 -0
  284. package/lib/__templates__/expo/client/heroui/helpers/external/utils/cn.ts +12 -0
  285. package/lib/__templates__/expo/client/heroui/helpers/external/utils/color-kit/index.ts +2392 -0
  286. package/lib/__templates__/expo/client/heroui/helpers/external/utils/color-kit/types.ts +212 -0
  287. package/lib/__templates__/expo/client/heroui/helpers/external/utils/index.ts +2 -0
  288. package/lib/__templates__/expo/client/heroui/helpers/internal/components/animated-check-icon.tsx +78 -0
  289. package/lib/__templates__/expo/client/heroui/helpers/internal/components/bottom-sheet-content-container.tsx +97 -0
  290. package/lib/__templates__/expo/client/heroui/helpers/internal/components/bottom-sheet-content.tsx +158 -0
  291. package/lib/__templates__/expo/client/heroui/helpers/internal/components/check-icon.tsx +28 -0
  292. package/lib/__templates__/expo/client/heroui/helpers/internal/components/chevron-down-icon.tsx +28 -0
  293. package/lib/__templates__/expo/client/heroui/helpers/internal/components/chevron-right-icon.tsx +29 -0
  294. package/lib/__templates__/expo/client/heroui/helpers/internal/components/close-icon.tsx +29 -0
  295. package/lib/__templates__/expo/client/heroui/helpers/internal/components/full-window-overlay.tsx +48 -0
  296. package/lib/__templates__/expo/client/heroui/helpers/internal/components/hero-text.tsx +71 -0
  297. package/lib/__templates__/expo/client/heroui/helpers/internal/components/index.ts +9 -0
  298. package/lib/__templates__/expo/client/heroui/helpers/internal/contexts/animation-settings-context.ts +19 -0
  299. package/lib/__templates__/expo/client/heroui/helpers/internal/contexts/bottom-sheet-is-dragging-context.ts +11 -0
  300. package/lib/__templates__/expo/client/heroui/helpers/internal/contexts/form-field-context.ts +36 -0
  301. package/lib/__templates__/expo/client/heroui/helpers/internal/contexts/index.ts +3 -0
  302. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/index.ts +14 -0
  303. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-augmented-ref.ts +32 -0
  304. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-bottom-sheet-aware-handlers.ts +94 -0
  305. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-bottom-sheet-gesture-handlers.ts +52 -0
  306. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-combined-animation-disabled-state.ts +49 -0
  307. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-controllable-state.ts +124 -0
  308. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-dev-info.ts +38 -0
  309. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-keyboard-status.ts +22 -0
  310. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-popup-bottom-sheet-content-animation.ts +67 -0
  311. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-popup-dialog-content-animation.ts +296 -0
  312. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-popup-overlay-animation.ts +91 -0
  313. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-popup-popover-content-animation.ts +199 -0
  314. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-popup-root-animation.ts +26 -0
  315. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-relative-position.ts +353 -0
  316. package/lib/__templates__/expo/client/heroui/helpers/internal/hooks/use-resolved-style-property.ts +118 -0
  317. package/lib/__templates__/expo/client/heroui/helpers/internal/types/animation.ts +131 -0
  318. package/lib/__templates__/expo/client/heroui/helpers/internal/types/bottom-sheet.ts +99 -0
  319. package/lib/__templates__/expo/client/heroui/helpers/internal/types/index.ts +5 -0
  320. package/lib/__templates__/expo/client/heroui/helpers/internal/types/misc.ts +10 -0
  321. package/lib/__templates__/expo/client/heroui/helpers/internal/types/primitives.ts +146 -0
  322. package/lib/__templates__/expo/client/heroui/helpers/internal/types/theme.ts +18 -0
  323. package/lib/__templates__/expo/client/heroui/helpers/internal/utils/animation.ts +266 -0
  324. package/lib/__templates__/expo/client/heroui/helpers/internal/utils/children-to-string.ts +117 -0
  325. package/lib/__templates__/expo/client/heroui/helpers/internal/utils/combine-styles.ts +17 -0
  326. package/lib/__templates__/expo/client/heroui/helpers/internal/utils/create-context.ts +60 -0
  327. package/lib/__templates__/expo/client/heroui/helpers/internal/utils/ease-gradient/create-interpolation.ts +35 -0
  328. package/lib/__templates__/expo/client/heroui/helpers/internal/utils/ease-gradient/index.ts +97 -0
  329. package/lib/__templates__/expo/client/heroui/helpers/internal/utils/get-element-by-display-name.ts +15 -0
  330. package/lib/__templates__/expo/client/heroui/helpers/internal/utils/get-element-with-default.ts +17 -0
  331. package/lib/__templates__/expo/client/heroui/helpers/internal/utils/has-prop.ts +18 -0
  332. package/lib/__templates__/expo/client/heroui/helpers/internal/utils/index.ts +8 -0
  333. package/lib/__templates__/expo/client/heroui/index.tsx +51 -0
  334. package/lib/__templates__/expo/client/heroui/primitives/README.md +27 -0
  335. package/lib/__templates__/expo/client/heroui/primitives/accordion/accordion.tsx +270 -0
  336. package/lib/__templates__/expo/client/heroui/primitives/accordion/accordion.types.ts +117 -0
  337. package/lib/__templates__/expo/client/heroui/primitives/accordion/accordion.utils.ts +12 -0
  338. package/lib/__templates__/expo/client/heroui/primitives/accordion/index.ts +2 -0
  339. package/lib/__templates__/expo/client/heroui/primitives/activity-indicator/activity-indicator.tsx +50 -0
  340. package/lib/__templates__/expo/client/heroui/primitives/activity-indicator/activity-indicator.types.ts +24 -0
  341. package/lib/__templates__/expo/client/heroui/primitives/activity-indicator/index.ts +2 -0
  342. package/lib/__templates__/expo/client/heroui/primitives/alert/alert.tsx +124 -0
  343. package/lib/__templates__/expo/client/heroui/primitives/alert/alert.types.ts +87 -0
  344. package/lib/__templates__/expo/client/heroui/primitives/alert/index.ts +2 -0
  345. package/lib/__templates__/expo/client/heroui/primitives/avatar/avatar.tsx +171 -0
  346. package/lib/__templates__/expo/client/heroui/primitives/avatar/avatar.types.ts +62 -0
  347. package/lib/__templates__/expo/client/heroui/primitives/avatar/avatar.utils.ts +102 -0
  348. package/lib/__templates__/expo/client/heroui/primitives/avatar/index.ts +2 -0
  349. package/lib/__templates__/expo/client/heroui/primitives/bottom-sheet/bottom-sheet.tsx +235 -0
  350. package/lib/__templates__/expo/client/heroui/primitives/bottom-sheet/bottom-sheet.types.ts +127 -0
  351. package/lib/__templates__/expo/client/heroui/primitives/bottom-sheet/index.ts +2 -0
  352. package/lib/__templates__/expo/client/heroui/primitives/checkbox/checkbox.tsx +119 -0
  353. package/lib/__templates__/expo/client/heroui/primitives/checkbox/checkbox.types.ts +37 -0
  354. package/lib/__templates__/expo/client/heroui/primitives/checkbox/index.ts +2 -0
  355. package/lib/__templates__/expo/client/heroui/primitives/dialog/dialog.tsx +274 -0
  356. package/lib/__templates__/expo/client/heroui/primitives/dialog/dialog.types.ts +129 -0
  357. package/lib/__templates__/expo/client/heroui/primitives/dialog/index.ts +2 -0
  358. package/lib/__templates__/expo/client/heroui/primitives/input-otp/index.ts +3 -0
  359. package/lib/__templates__/expo/client/heroui/primitives/input-otp/input-otp.tsx +431 -0
  360. package/lib/__templates__/expo/client/heroui/primitives/input-otp/input-otp.types.ts +169 -0
  361. package/lib/__templates__/expo/client/heroui/primitives/input-otp/input-otp.utils.ts +31 -0
  362. package/lib/__templates__/expo/client/heroui/primitives/label/index.ts +2 -0
  363. package/lib/__templates__/expo/client/heroui/primitives/label/label.tsx +24 -0
  364. package/lib/__templates__/expo/client/heroui/primitives/label/label.types.ts +39 -0
  365. package/lib/__templates__/expo/client/heroui/primitives/menu/index.ts +2 -0
  366. package/lib/__templates__/expo/client/heroui/primitives/menu/menu.tsx +765 -0
  367. package/lib/__templates__/expo/client/heroui/primitives/menu/menu.types.ts +401 -0
  368. package/lib/__templates__/expo/client/heroui/primitives/popover/index.ts +2 -0
  369. package/lib/__templates__/expo/client/heroui/primitives/popover/popover.tsx +382 -0
  370. package/lib/__templates__/expo/client/heroui/primitives/popover/popover.types.ts +201 -0
  371. package/lib/__templates__/expo/client/heroui/primitives/portal/index.ts +1 -0
  372. package/lib/__templates__/expo/client/heroui/primitives/portal/portal.tsx +126 -0
  373. package/lib/__templates__/expo/client/heroui/primitives/radio/index.ts +2 -0
  374. package/lib/__templates__/expo/client/heroui/primitives/radio/radio.tsx +133 -0
  375. package/lib/__templates__/expo/client/heroui/primitives/radio/radio.types.ts +47 -0
  376. package/lib/__templates__/expo/client/heroui/primitives/radio-group/index.ts +2 -0
  377. package/lib/__templates__/expo/client/heroui/primitives/radio-group/radio-group.tsx +114 -0
  378. package/lib/__templates__/expo/client/heroui/primitives/radio-group/radio-group.types.ts +65 -0
  379. package/lib/__templates__/expo/client/heroui/primitives/select/index.ts +2 -0
  380. package/lib/__templates__/expo/client/heroui/primitives/select/select.tsx +705 -0
  381. package/lib/__templates__/expo/client/heroui/primitives/select/select.types.ts +409 -0
  382. package/lib/__templates__/expo/client/heroui/primitives/select/select.utils.ts +35 -0
  383. package/lib/__templates__/expo/client/heroui/primitives/slider/index.ts +3 -0
  384. package/lib/__templates__/expo/client/heroui/primitives/slider/slider.tsx +463 -0
  385. package/lib/__templates__/expo/client/heroui/primitives/slider/slider.types.ts +208 -0
  386. package/lib/__templates__/expo/client/heroui/primitives/slider/slider.utils.ts +93 -0
  387. package/lib/__templates__/expo/client/heroui/primitives/slot/index.ts +1 -0
  388. package/lib/__templates__/expo/client/heroui/primitives/slot/slot.tsx +121 -0
  389. package/lib/__templates__/expo/client/heroui/primitives/slot/types.ts +19 -0
  390. package/lib/__templates__/expo/client/heroui/primitives/slot/utils.ts +96 -0
  391. package/lib/__templates__/expo/client/heroui/primitives/switch/index.ts +2 -0
  392. package/lib/__templates__/expo/client/heroui/primitives/switch/switch.tsx +61 -0
  393. package/lib/__templates__/expo/client/heroui/primitives/switch/switch.types.ts +55 -0
  394. package/lib/__templates__/expo/client/heroui/primitives/tabs/index.ts +2 -0
  395. package/lib/__templates__/expo/client/heroui/primitives/tabs/tabs.tsx +202 -0
  396. package/lib/__templates__/expo/client/heroui/primitives/tabs/tabs.types.ts +77 -0
  397. package/lib/__templates__/expo/client/heroui/primitives/tag-group/index.ts +2 -0
  398. package/lib/__templates__/expo/client/heroui/primitives/tag-group/tag-group.tsx +324 -0
  399. package/lib/__templates__/expo/client/heroui/primitives/tag-group/tag-group.types.ts +119 -0
  400. package/lib/__templates__/expo/client/heroui/primitives/toast/index.ts +2 -0
  401. package/lib/__templates__/expo/client/heroui/primitives/toast/toast.tsx +138 -0
  402. package/lib/__templates__/expo/client/heroui/primitives/toast/toast.types.ts +86 -0
  403. package/lib/__templates__/expo/client/heroui/providers/animation-settings/index.ts +8 -0
  404. package/lib/__templates__/expo/client/heroui/providers/animation-settings/provider.tsx +47 -0
  405. package/lib/__templates__/expo/client/heroui/providers/animation-settings/types.ts +27 -0
  406. package/lib/__templates__/expo/client/heroui/providers/hero-ui-native/index.ts +2 -0
  407. package/lib/__templates__/expo/client/heroui/providers/hero-ui-native/provider.tsx +67 -0
  408. package/lib/__templates__/expo/client/heroui/providers/hero-ui-native/types.ts +114 -0
  409. package/lib/__templates__/expo/client/heroui/providers/hero-ui-native-raw/index.ts +2 -0
  410. package/lib/__templates__/expo/client/heroui/providers/hero-ui-native-raw/provider.tsx +50 -0
  411. package/lib/__templates__/expo/client/heroui/providers/hero-ui-native-raw/types.ts +39 -0
  412. package/lib/__templates__/expo/client/heroui/providers/text-component/index.ts +2 -0
  413. package/lib/__templates__/expo/client/heroui/providers/text-component/provider.tsx +9 -0
  414. package/lib/__templates__/expo/client/heroui/providers/text-component/types.ts +52 -0
  415. package/lib/__templates__/expo/client/heroui/providers/toast/index.ts +3 -0
  416. package/lib/__templates__/expo/client/heroui/providers/toast/insets-container.tsx +87 -0
  417. package/lib/__templates__/expo/client/heroui/providers/toast/provider.tsx +431 -0
  418. package/lib/__templates__/expo/client/heroui/providers/toast/reducer.ts +34 -0
  419. package/lib/__templates__/expo/client/heroui/providers/toast/toast-config.context.ts +27 -0
  420. package/lib/__templates__/expo/client/heroui/providers/toast/toast-item-renderer.tsx +45 -0
  421. package/lib/__templates__/expo/client/heroui/providers/toast/types.ts +373 -0
  422. package/lib/__templates__/expo/client/heroui/styles/index.css +3 -0
  423. package/lib/__templates__/expo/client/heroui/styles/theme.css +112 -0
  424. package/lib/__templates__/expo/client/heroui/styles/utilities.css +8 -0
  425. package/lib/__templates__/expo/client/heroui/styles/variables.css +146 -0
  426. package/lib/__templates__/expo/client/metro.config.js +8 -1
  427. package/lib/__templates__/expo/client/package.json +7 -2
  428. package/lib/__templates__/expo/client/screens/demo/index.tsx +7 -13
  429. package/lib/__templates__/expo/client/theme.css +263 -0
  430. package/lib/__templates__/expo/client/uniwind-types.d.ts +10 -0
  431. package/lib/__templates__/expo/pnpm-lock.yaml +101 -45
  432. package/lib/__templates__/expo/server/package.json +9 -7
  433. package/lib/__templates__/nextjs/package.json +3 -1
  434. package/lib/__templates__/nextjs/pnpm-lock.yaml +119 -106
  435. package/lib/__templates__/taro/.cozeproj/scripts/deploy_build.sh +2 -2
  436. package/lib/__templates__/taro/.cozeproj/scripts/deploy_run.sh +4 -3
  437. package/lib/__templates__/taro/.cozeproj/scripts/dev_build.sh +0 -15
  438. package/lib/__templates__/taro/.cozeproj/scripts/dev_run.sh +27 -5
  439. package/lib/__templates__/taro/README.md +77 -17
  440. package/lib/__templates__/taro/package.json +4 -2
  441. package/lib/__templates__/taro/pnpm-lock.yaml +392 -114
  442. package/lib/__templates__/taro/server/package.json +4 -1
  443. package/lib/__templates__/taro/server/src/main.ts +14 -2
  444. package/lib/__templates__/taro/src/app.css +18 -18
  445. package/lib/__templates__/taro/src/index.html +20 -1
  446. package/lib/__templates__/taro/src/utils/h5-styles.ts +15 -4
  447. package/lib/__templates__/vite/package.json +5 -1
  448. package/lib/__templates__/vite/pnpm-lock.yaml +146 -1659
  449. package/lib/cli.js +5 -59
  450. package/package.json +1 -1
  451. package/lib/__templates__/expo/client/constants/theme.ts +0 -177
  452. package/lib/__templates__/expo/client/hooks/useColorScheme.tsx +0 -48
  453. package/lib/__templates__/expo/client/hooks/useTheme.ts +0 -33
  454. package/lib/__templates__/expo/client/screens/demo/styles.ts +0 -28
@@ -1,24 +1,18 @@
1
1
  import { View, Text } from 'react-native';
2
2
  import { Image } from 'expo-image';
3
3
 
4
- import { useTheme } from '@/hooks/useTheme';
5
4
  import { Screen } from '@/components/Screen';
6
- import { styles } from './styles';
7
5
 
8
6
  export default function DemoPage() {
9
- const { theme, isDark } = useTheme();
10
-
11
7
  return (
12
- <Screen backgroundColor={theme.backgroundRoot} statusBarStyle={isDark ? 'light' : 'dark'}>
13
- <View
14
- style={styles.container}
15
- >
8
+ <Screen backgroundColor="var(--background)" statusBarStyle="auto">
9
+ <View className="absolute top-0 left-0 w-full h-full flex flex-col items-center justify-center">
16
10
  <Image
17
- style={styles.logo}
18
- source="https://lf-coze-web-cdn.coze.cn/obj/eden-cn/lm-lgvj/ljhwZthlaukjlkulzlp/coze-coding/icon/coze-coding.gif"
19
- ></Image>
20
- <Text style={{...styles.title, color: theme.textPrimary}}>应用开发中</Text>
21
- <Text style={{...styles.description, color: theme.textSecondary}}>请稍候,界面即将呈现</Text>
11
+ className="w-[130px] h-[109px]"
12
+ source="https://lf-coze-web-cdn.coze.cn/obj/eden-cn/lm-lgvj/ljhwZthlaukjlkulzlp/coze-coding/expo/coze-loading.gif"
13
+ />
14
+ <Text className="text-base font-bold text-foreground">APP 开发中</Text>
15
+ <Text className="text-sm mt-2 text-muted">即将为您呈现应用界面</Text>
22
16
  </View>
23
17
  </Screen>
24
18
  );
@@ -0,0 +1,263 @@
1
+ @theme {
2
+ /* Primitive Colors (Do not change between light and dark) */
3
+ --white: oklch(100% 0 0);
4
+ --black: oklch(0% 0 0);
5
+ --snow: oklch(0.9911 0 0);
6
+ --eclipse: oklch(0.2103 0.0059 285.89);
7
+
8
+ /* Border */
9
+ --border-width: 1px;
10
+ --field-border-width: 0px;
11
+
12
+ /* Base radius */
13
+ --radius: 0.5rem;
14
+ --field-radius: calc(var(--radius) * 1.5);
15
+
16
+ /* Opacity */
17
+ --opacity-disabled: 0.5;
18
+ }
19
+
20
+ @layer theme {
21
+ :root {
22
+ @variant light {
23
+ /* Base Colors */
24
+ --background: oklch(0.9702 0 0);
25
+ --foreground: var(--eclipse);
26
+
27
+ /* Surface: Used for non-overlay components (cards, accordions, disclosure groups) */
28
+ --surface: var(--white);
29
+ --surface-foreground: var(--foreground);
30
+
31
+ /* Overlay: Used for floating/overlay components (dialogs, popovers, modals, menus) */
32
+ --overlay: var(--white);
33
+ --overlay-foreground: var(--foreground);
34
+
35
+ --muted: oklch(0.5517 0.0138 285.94);
36
+
37
+ --default: oklch(94% 0.001 286.375);
38
+ --default-foreground: var(--eclipse);
39
+
40
+ --accent: oklch(0.6204 0.195 253.83);
41
+ --accent-foreground: var(--snow);
42
+
43
+ /* Form Fields */
44
+ --field-background: var(--white);
45
+ --field-foreground: oklch(0.2103 0.0059 285.89);
46
+ --field-placeholder: var(--muted);
47
+ --field-border: transparent; /* no border by default on form fields */
48
+
49
+ /* Status Colors */
50
+ --success: oklch(0.7329 0.1935 150.81);
51
+ --success-foreground: var(--eclipse);
52
+
53
+ --warning: oklch(0.7819 0.1585 72.33);
54
+ --warning-foreground: var(--eclipse);
55
+
56
+ --danger: oklch(0.6532 0.2328 25.74);
57
+ --danger-foreground: var(--snow);
58
+
59
+ /* Component Colors */
60
+ --segment: var(--white);
61
+ --segment-foreground: var(--eclipse);
62
+
63
+ /* Misc Colors */
64
+ --border: oklch(90% 0.004 286.32);
65
+ --separator: oklch(74% 0.004 286.32);
66
+ --focus: var(--accent);
67
+ --link: var(--foreground);
68
+
69
+ /* Shadows */
70
+ --surface-shadow:
71
+ 0 2px 4px 0 rgba(0, 0, 0, 0.04), 0 1px 2px 0 rgba(0, 0, 0, 0.06),
72
+ 0 0 1px 0 rgba(0, 0, 0, 0.06);
73
+ --overlay-shadow:
74
+ 0 2px 8px 0 rgba(0, 0, 0, 0.04), 0 -6px 12px 0 rgba(0, 0, 0, 0.02),
75
+ 0 14px 28px 0 rgba(0, 0, 0, 0.06);
76
+ --field-shadow:
77
+ 0 2px 4px 0 rgba(0, 0, 0, 0.04), 0 1px 2px 0 rgba(0, 0, 0, 0.06),
78
+ 0 0 1px 0 rgba(0, 0, 0, 0.06);
79
+ }
80
+
81
+ @variant dark {
82
+ /* Base Colors */
83
+ --background: oklch(12% 0.005 285.823);
84
+ --foreground: var(--snow);
85
+
86
+ /* Surface: Used for non-overlay components (cards, accordions, disclosure groups) */
87
+ --surface: oklch(0.2103 0.0059 285.89);
88
+ --surface-foreground: var(--foreground);
89
+
90
+ /* Overlay: Used for floating/overlay components (dialogs, popovers, modals, menus) - lighter for contrast */
91
+ --overlay: oklch(0.2103 0.0059 285.89);
92
+ --overlay-foreground: var(--foreground);
93
+
94
+ --muted: oklch(70.5% 0.015 286.067);
95
+
96
+ --default: oklch(27.4% 0.006 286.033);
97
+ --default-foreground: var(--snow);
98
+
99
+ --accent: oklch(0.6204 0.195 253.83);
100
+ --accent-foreground: var(--snow);
101
+
102
+ /* Form Field Defaults - Colors (only the ones that are different from light theme) */
103
+ --field-background: oklch(0.2103 0.0059 285.89);
104
+ --field-foreground: var(--foreground);
105
+ --field-placeholder: var(--muted);
106
+ --field-border: transparent; /* no border by default on form fields */
107
+
108
+ /* Status Colors */
109
+ --success: oklch(0.7329 0.1935 150.81);
110
+ --success-foreground: var(--eclipse);
111
+
112
+ --warning: oklch(0.8203 0.1388 76.34);
113
+ --warning-foreground: var(--eclipse);
114
+
115
+ --danger: oklch(0.594 0.1967 24.63);
116
+ --danger-foreground: var(--snow);
117
+
118
+ /* Component Colors */
119
+ --segment: oklch(0.3964 0.01 285.93);
120
+ --segment-foreground: var(--foreground);
121
+
122
+ /* Misc Colors */
123
+ --border: oklch(28% 0.006 286.033);
124
+ --separator: oklch(40% 0.006 286.033);
125
+ --focus: var(--accent);
126
+ --link: var(--foreground);
127
+
128
+ /* Shadows */
129
+ --surface-shadow: 0 0 0 0 transparent inset; /* No shadow on dark mode */
130
+ --overlay-shadow: 0 0 1px 0 rgba(255, 255, 255, 0.2) inset;
131
+ --field-shadow: 0 0 0 0 transparent inset; /* Transparent shadow to allow ring utilities to work */
132
+ }
133
+ }
134
+ }
135
+
136
+ @theme inline static {
137
+ --color-background: var(--background);
138
+ --color-foreground: var(--foreground);
139
+
140
+ --color-surface: var(--surface);
141
+ --color-surface-foreground: var(--surface-foreground);
142
+ --color-surface-hover: color-mix(in oklab, var(--surface) 92%, var(--surface-foreground) 8%);
143
+
144
+ --color-overlay: var(--overlay);
145
+ --color-overlay-foreground: var(--overlay-foreground);
146
+
147
+ --color-muted: var(--muted);
148
+
149
+ --color-accent: var(--accent);
150
+ --color-accent-foreground: var(--accent-foreground);
151
+
152
+ --color-segment: var(--segment);
153
+ --color-segment-foreground: var(--segment-foreground);
154
+
155
+ --color-border: var(--border);
156
+ --color-separator: var(--separator);
157
+ --color-focus: var(--focus);
158
+ --color-link: var(--link);
159
+
160
+ --color-default: var(--default);
161
+ --color-default-foreground: var(--default-foreground);
162
+
163
+ --color-success: var(--success);
164
+ --color-success-foreground: var(--success-foreground);
165
+
166
+ --color-warning: var(--warning);
167
+ --color-warning-foreground: var(--warning-foreground);
168
+
169
+ --color-danger: var(--danger);
170
+ --color-danger-foreground: var(--danger-foreground);
171
+
172
+ /* Form Field Tokens */
173
+ --color-field: var(--field-background, var(--default));
174
+ --color-field-foreground: var(--field-foreground, var(--foreground));
175
+ --color-field-placeholder: var(--field-placeholder, var(--muted));
176
+ --color-field-border: var(--field-border, var(--border));
177
+ --radius-field: var(--field-radius, var(--radius-xl));
178
+ --border-width-field: var(--field-border-width, var(--border-width));
179
+
180
+ --shadow-surface: var(--surface-shadow);
181
+ --shadow-overlay: var(--overlay-shadow);
182
+ --shadow-field: var(--field-shadow);
183
+
184
+ /* Calculated Variables */
185
+
186
+ /* Colors */
187
+
188
+ /* --- background shades --- */
189
+ --color-background-secondary: color-mix(in oklab, var(--background) 96%, var(--foreground) 4%);
190
+ --color-background-tertiary: color-mix(in oklab, var(--background) 92%, var(--foreground) 8%);
191
+ --color-background-inverse: var(--foreground);
192
+
193
+ /* ------------------------- */
194
+ --color-default-hover: color-mix(in oklab, var(--default) 96%, var(--default-foreground) 4%);
195
+ --color-accent-hover: color-mix(in oklab, var(--accent) 90%, var(--accent-foreground) 10%);
196
+ --color-success-hover: color-mix(in oklab, var(--success) 90%, var(--success-foreground) 10%);
197
+ --color-warning-hover: color-mix(in oklab, var(--warning) 90%, var(--warning-foreground) 10%);
198
+ --color-danger-hover: color-mix(in oklab, var(--danger) 90%, var(--danger-foreground) 10%);
199
+
200
+ /* Form Field Colors */
201
+ --color-field-hover: color-mix(in oklab, var(--field-background, var(--default)) 90%, var(--field-foreground, var(--foreground)) 2%);
202
+ --color-field-focus: var(--field-background, var(--default));
203
+ --color-field-border-hover: color-mix(in oklab, var(--field-border, var(--border)) 88%, var(--field-foreground, var(--foreground)) 10%);
204
+ --color-field-border-focus: color-mix(in oklab, var(--field-border, var(--border)) 74%, var(--field-foreground, var(--foreground)) 22%);
205
+
206
+ /* Soft Colors */
207
+ --color-accent-soft: color-mix(in oklab, var(--accent) 15%, transparent);
208
+ --color-accent-soft-foreground: var(--accent);
209
+ --color-accent-soft-hover: color-mix(in oklab, var(--accent) 20%, transparent);
210
+
211
+ --color-danger-soft: color-mix(in oklab, var(--danger) 15%, transparent);
212
+ --color-danger-soft-foreground: var(--danger);
213
+ --color-danger-soft-hover: color-mix(in oklab, var(--danger) 20%, transparent);
214
+
215
+ --color-warning-soft: color-mix(in oklab, var(--warning) 15%, transparent);
216
+ --color-warning-soft-foreground: var(--warning);
217
+ --color-warning-soft-hover: color-mix(in oklab, var(--warning) 20%, transparent);
218
+
219
+ --color-success-soft: color-mix(in oklab, var(--success) 15%, transparent);
220
+ --color-success-soft-foreground: var(--success);
221
+ --color-success-soft-hover: color-mix(in oklab, var(--success) 20%, transparent);
222
+
223
+ /* Surface Levels - progressively darker/lighter shades for layering */
224
+ --color-surface-secondary: color-mix(in oklab, var(--surface) 94%, var(--surface-foreground) 6%);
225
+ --color-surface-tertiary: color-mix(in oklab, var(--surface) 92%, var(--surface-foreground) 8%);
226
+
227
+ /* On Surface Colors */
228
+ --color-on-surface: color-mix(in oklab, var(--surface) 93%, var(--surface-foreground) 7%);
229
+ --color-on-surface-foreground: var(--surface-foreground);
230
+ --color-on-surface-hover: color-mix(in oklab, var(--surface) 91%, var(--surface-foreground) 9%);
231
+ --color-on-surface-focus: color-mix(in oklab, var(--surface) 93%, var(--surface-foreground) 7%);
232
+
233
+ /* On Surface Colors - Secondary (on secondary surface) */
234
+ --color-on-surface-secondary: color-mix(in oklab, var(--surface) 87%, var(--surface-foreground) 13%);
235
+ --color-on-surface-secondary-foreground: var(--surface-foreground);
236
+ --color-on-surface-secondary-hover: color-mix(in oklab, var(--surface) 85%, var(--surface-foreground) 15%);
237
+ --color-on-surface-secondary-focus: color-mix(in oklab, var(--surface) 87%, var(--surface-foreground) 13%);
238
+
239
+ /* On Surface Colors - Tertiary (on tertiary surface) */
240
+ --color-on-surface-tertiary: color-mix(in oklab, var(--surface) 85%, var(--surface-foreground) 15%);
241
+ --color-on-surface-tertiary-foreground: var(--surface-foreground);
242
+ --color-on-surface-tertiary-hover: color-mix(in oklab, var(--surface) 84%, var(--surface-foreground) 16%);
243
+ --color-on-surface-tertiary-focus: color-mix(in oklab, var(--surface) 85%, var(--surface-foreground) 15%);
244
+
245
+ /* Separator Colors - Levels */
246
+ --color-separator-secondary: color-mix(in oklab, var(--surface) 85%, var(--surface-foreground) 15%);
247
+ --color-separator-tertiary: color-mix(in oklab, var(--surface) 81%, var(--surface-foreground) 19%);
248
+
249
+ /* Border Colors - Levels (progressive contrast: default → secondary → tertiary) */
250
+ /* Light mode: lighter → darker | Dark mode: darker → lighter */
251
+ --color-border-secondary: color-mix(in oklab, var(--surface) 78%, var(--surface-foreground) 22%);
252
+ --color-border-tertiary: color-mix(in oklab, var(--surface) 66%, var(--surface-foreground) 34%);
253
+
254
+ /* Radius and default sizes - defaults can change by just changing the --radius */
255
+ --radius-xs: calc(var(--radius) * 0.25); /* 0.125rem (2px) */
256
+ --radius-sm: calc(var(--radius) * 0.5); /* 0.25rem (4px) */
257
+ --radius-md: calc(var(--radius) * 0.75); /* 0.375rem (6px) */
258
+ --radius-lg: calc(var(--radius) * 1); /* 0.5rem (8px) */
259
+ --radius-xl: calc(var(--radius) * 1.5); /* 0.75rem (12px) */
260
+ --radius-2xl: calc(var(--radius) * 2); /* 1rem (16px) */
261
+ --radius-3xl: calc(var(--radius) * 3); /* 1.5rem (24px) */
262
+ --radius-4xl: calc(var(--radius) * 4); /* 2rem (32px) */
263
+ }
@@ -0,0 +1,10 @@
1
+ // NOTE: This file is generated by uniwind and it should not be edited manually.
2
+ /// <reference types="uniwind/types" />
3
+
4
+ declare module 'uniwind' {
5
+ export interface UniwindConfig {
6
+ themes: readonly ['light', 'dark']
7
+ }
8
+ }
9
+
10
+ export {}
@@ -244,15 +244,21 @@ importers:
244
244
 
245
245
  server:
246
246
  dependencies:
247
+ '@supabase/supabase-js':
248
+ specifier: 2.95.3
249
+ version: 2.95.3
247
250
  cors:
248
251
  specifier: ^2.8.5
249
252
  version: 2.8.6
250
253
  coze-coding-dev-sdk:
251
- specifier: ^0.7.10
252
- version: 0.7.10(openai@6.16.0(ws@8.19.0)(zod@4.3.6))(ws@8.19.0)
254
+ specifier: ^0.7.16
255
+ version: 0.7.16(openai@6.16.0(ws@8.19.0)(zod@4.3.6))(ws@8.19.0)
253
256
  dayjs:
254
257
  specifier: ^1.11.19
255
258
  version: 1.11.19
259
+ dotenv:
260
+ specifier: ^17.2.3
261
+ version: 17.2.4
256
262
  drizzle-orm:
257
263
  specifier: ^0.45.1
258
264
  version: 0.45.1(@types/pg@8.16.0)(pg@8.17.2)
@@ -1674,6 +1680,30 @@ packages:
1674
1680
  '@sinonjs/fake-timers@10.3.0':
1675
1681
  resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==}
1676
1682
 
1683
+ '@supabase/auth-js@2.95.3':
1684
+ resolution: {integrity: sha512-vD2YoS8E2iKIX0F7EwXTmqhUpaNsmbU6X2R0/NdFcs02oEfnHyNP/3M716f3wVJ2E5XHGiTFXki6lRckhJ0Thg==}
1685
+ engines: {node: '>=20.0.0'}
1686
+
1687
+ '@supabase/functions-js@2.95.3':
1688
+ resolution: {integrity: sha512-uTuOAKzs9R/IovW1krO0ZbUHSJnsnyJElTXIRhjJTqymIVGcHzkAYnBCJqd7468Fs/Foz1BQ7Dv6DCl05lr7ig==}
1689
+ engines: {node: '>=20.0.0'}
1690
+
1691
+ '@supabase/postgrest-js@2.95.3':
1692
+ resolution: {integrity: sha512-LTrRBqU1gOovxRm1vRXPItSMPBmEFqrfTqdPTRtzOILV4jPSueFz6pES5hpb4LRlkFwCPRmv3nQJ5N625V2Xrg==}
1693
+ engines: {node: '>=20.0.0'}
1694
+
1695
+ '@supabase/realtime-js@2.95.3':
1696
+ resolution: {integrity: sha512-D7EAtfU3w6BEUxDACjowWNJo/ZRo7sDIuhuOGKHIm9FHieGeoJV5R6GKTLtga/5l/6fDr2u+WcW/m8I9SYmaIw==}
1697
+ engines: {node: '>=20.0.0'}
1698
+
1699
+ '@supabase/storage-js@2.95.3':
1700
+ resolution: {integrity: sha512-4GxkJiXI3HHWjxpC3sDx1BVrV87O0hfX+wvJdqGv67KeCu+g44SPnII8y0LL/Wr677jB7tpjAxKdtVWf+xhc9A==}
1701
+ engines: {node: '>=20.0.0'}
1702
+
1703
+ '@supabase/supabase-js@2.95.3':
1704
+ resolution: {integrity: sha512-Fukw1cUTQ6xdLiHDJhKKPu6svEPaCEDvThqCne3OaQyZvuq2qjhJAd91kJu3PXLG18aooCgYBaB6qQz35hhABg==}
1705
+ engines: {node: '>=20.0.0'}
1706
+
1677
1707
  '@tootallnate/once@2.0.0':
1678
1708
  resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==}
1679
1709
  engines: {node: '>= 10'}
@@ -1759,6 +1789,9 @@ packages:
1759
1789
  '@types/pg@8.16.0':
1760
1790
  resolution: {integrity: sha512-RmhMd/wD+CF8Dfo+cVIy3RR5cl8CyfXQ0tGgW6XBL8L4LM/UTEbNXYRbLwU6w+CgrKBNbrQWt4FUtTfaU5jSYQ==}
1761
1791
 
1792
+ '@types/phoenix@1.6.7':
1793
+ resolution: {integrity: sha512-oN9ive//QSBkf19rfDv45M7eZPi0eEXylht2OLEXicu5b4KoQ1OzXIw+xDSGWxSxe1JmepRR/ZH283vsu518/Q==}
1794
+
1762
1795
  '@types/qs@6.14.0':
1763
1796
  resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==}
1764
1797
 
@@ -1786,6 +1819,9 @@ packages:
1786
1819
  '@types/uuid@10.0.0':
1787
1820
  resolution: {integrity: sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==}
1788
1821
 
1822
+ '@types/ws@8.18.1':
1823
+ resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==}
1824
+
1789
1825
  '@types/yargs-parser@21.0.3':
1790
1826
  resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==}
1791
1827
 
@@ -2479,8 +2515,8 @@ packages:
2479
2515
  resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==}
2480
2516
  engines: {node: '>=10'}
2481
2517
 
2482
- coze-coding-dev-sdk@0.7.10:
2483
- resolution: {integrity: sha512-Wg+YXbzR1Ln5abhL1scAfhMBdegYe0KSS2M2KiSUCNcDCNJLkyynDvQnZ6yoPscX/lZ1CZ4OA6rr94Kx8DBTEA==}
2518
+ coze-coding-dev-sdk@0.7.16:
2519
+ resolution: {integrity: sha512-B7gRPBa+sfrZL8ur0+F/92SOgZgFaWD/fOnCN2DjthnHSdmCYhAJWCfqzG2oO2vwTiYCXkKUuTBZ3MJLMj886g==}
2484
2520
  engines: {node: '>=18.0.0'}
2485
2521
  hasBin: true
2486
2522
 
@@ -2685,6 +2721,10 @@ packages:
2685
2721
  resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==}
2686
2722
  engines: {node: '>=12'}
2687
2723
 
2724
+ dotenv@17.2.4:
2725
+ resolution: {integrity: sha512-mudtfb4zRB4bVvdj0xRo+e6duH1csJRM8IukBqfTRvHotn9+LBXB8ynAidP9zHqoRC/fsllXgk4kCKlR21fIhw==}
2726
+ engines: {node: '>=12'}
2727
+
2688
2728
  drizzle-kit@0.31.8:
2689
2729
  resolution: {integrity: sha512-O9EC/miwdnRDY10qRxM8P3Pg8hXe3LyU4ZipReKOgTwn4OqANmftj8XJz1UPUAS6NMHf0E2htjsbQujUTkncCg==}
2690
2730
  hasBin: true
@@ -3598,6 +3638,10 @@ packages:
3598
3638
  hyphenate-style-name@1.1.0:
3599
3639
  resolution: {integrity: sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==}
3600
3640
 
3641
+ iceberg-js@0.8.1:
3642
+ resolution: {integrity: sha512-1dhVQZXhcHje7798IVM+xoo/1ZdVfzOMIc8/rgVSijRK38EDqOJoGula9N/8ZI5RD8QTxNQtK/Gozpr+qUqRRA==}
3643
+ engines: {node: '>=20.0.0'}
3644
+
3601
3645
  iconv-lite@0.4.24:
3602
3646
  resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
3603
3647
  engines: {node: '>=0.10.0'}
@@ -4667,9 +4711,6 @@ packages:
4667
4711
  resolution: {integrity: sha512-3mqcLomDBXOo7Fo+UlaenG6f71bk1ZezPQy2JCmYHy2W2k5VKpP+Jbin9H0bjXynelTbglCqdFhSEkeIkKTYUA==}
4668
4712
  engines: {node: '>=0.11.0'}
4669
4713
 
4670
- pg-cloudflare@1.2.7:
4671
- resolution: {integrity: sha512-YgCtzMH0ptvZJslLM1ffsY4EuGaU0cx4XSdXLRFae8bPP4dS5xL1tNB3k2o/N64cHJpwU7dxKli/nZ2lUa5fLg==}
4672
-
4673
4714
  pg-connection-string@2.10.1:
4674
4715
  resolution: {integrity: sha512-iNzslsoeSH2/gmDDKiyMqF64DATUCWj3YJ0wP14kqcsf2TUklwimd+66yYojKwZCA7h2yRNLGug71hCBA2a4sw==}
4675
4716
 
@@ -4677,19 +4718,11 @@ packages:
4677
4718
  resolution: {integrity: sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==}
4678
4719
  engines: {node: '>=4.0.0'}
4679
4720
 
4680
- pg-pool@3.10.1:
4681
- resolution: {integrity: sha512-Tu8jMlcX+9d8+QVzKIvM/uJtp07PKr82IUOYEphaWcoBhIYkoHpLXN3qO59nAI11ripznDsEzEv8nUxBVWajGg==}
4682
- peerDependencies:
4683
- pg: '>=8.0'
4684
-
4685
4721
  pg-pool@3.11.0:
4686
4722
  resolution: {integrity: sha512-MJYfvHwtGp870aeusDh+hg9apvOe2zmpZJpyt+BMtzUWlVqbhFmMK6bOBXLBUPd7iRtIF9fZplDc7KrPN3PN7w==}
4687
4723
  peerDependencies:
4688
4724
  pg: '>=8.0'
4689
4725
 
4690
- pg-protocol@1.10.3:
4691
- resolution: {integrity: sha512-6DIBgBQaTKDJyxnXaLiLR8wBpQQcGWuAESkRBX/t6OwA8YsqP+iVSiond2EDy6Y/dsGk8rh/jtax3js5NeV7JQ==}
4692
-
4693
4726
  pg-protocol@1.11.0:
4694
4727
  resolution: {integrity: sha512-pfsxk2M9M3BuGgDOfuy37VNRRX3jmKgMjcvAcWqNDpZSf4cUmv8HSOl5ViRQFsfARFn0KuUQTgLxVMbNq5NW3g==}
4695
4728
 
@@ -4697,15 +4730,6 @@ packages:
4697
4730
  resolution: {integrity: sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==}
4698
4731
  engines: {node: '>=4'}
4699
4732
 
4700
- pg@8.16.3:
4701
- resolution: {integrity: sha512-enxc1h0jA/aq5oSDMvqyW3q89ra6XIIDZgCX9vkMrnz5DFTw/Ny3Li2lFQ+pt3L6MCgm/5o2o8HW9hiJji+xvw==}
4702
- engines: {node: '>= 16.0.0'}
4703
- peerDependencies:
4704
- pg-native: '>=3.0.1'
4705
- peerDependenciesMeta:
4706
- pg-native:
4707
- optional: true
4708
-
4709
4733
  pg@8.17.2:
4710
4734
  resolution: {integrity: sha512-vjbKdiBJRqzcYw1fNU5KuHyYvdJ1qpcQg1CeBrHFqV1pWgHeVR6j/+kX0E1AAXfyuLUGY1ICrN2ELKA/z2HWzw==}
4711
4735
  engines: {node: '>= 16.0.0'}
@@ -7684,6 +7708,44 @@ snapshots:
7684
7708
  dependencies:
7685
7709
  '@sinonjs/commons': 3.0.1
7686
7710
 
7711
+ '@supabase/auth-js@2.95.3':
7712
+ dependencies:
7713
+ tslib: 2.8.1
7714
+
7715
+ '@supabase/functions-js@2.95.3':
7716
+ dependencies:
7717
+ tslib: 2.8.1
7718
+
7719
+ '@supabase/postgrest-js@2.95.3':
7720
+ dependencies:
7721
+ tslib: 2.8.1
7722
+
7723
+ '@supabase/realtime-js@2.95.3':
7724
+ dependencies:
7725
+ '@types/phoenix': 1.6.7
7726
+ '@types/ws': 8.18.1
7727
+ tslib: 2.8.1
7728
+ ws: 8.19.0
7729
+ transitivePeerDependencies:
7730
+ - bufferutil
7731
+ - utf-8-validate
7732
+
7733
+ '@supabase/storage-js@2.95.3':
7734
+ dependencies:
7735
+ iceberg-js: 0.8.1
7736
+ tslib: 2.8.1
7737
+
7738
+ '@supabase/supabase-js@2.95.3':
7739
+ dependencies:
7740
+ '@supabase/auth-js': 2.95.3
7741
+ '@supabase/functions-js': 2.95.3
7742
+ '@supabase/postgrest-js': 2.95.3
7743
+ '@supabase/realtime-js': 2.95.3
7744
+ '@supabase/storage-js': 2.95.3
7745
+ transitivePeerDependencies:
7746
+ - bufferutil
7747
+ - utf-8-validate
7748
+
7687
7749
  '@tootallnate/once@2.0.0': {}
7688
7750
 
7689
7751
  '@tybys/wasm-util@0.10.1':
@@ -7795,6 +7857,8 @@ snapshots:
7795
7857
  pg-protocol: 1.11.0
7796
7858
  pg-types: 2.2.0
7797
7859
 
7860
+ '@types/phoenix@1.6.7': {}
7861
+
7798
7862
  '@types/qs@6.14.0': {}
7799
7863
 
7800
7864
  '@types/range-parser@1.2.7': {}
@@ -7822,6 +7886,10 @@ snapshots:
7822
7886
 
7823
7887
  '@types/uuid@10.0.0': {}
7824
7888
 
7889
+ '@types/ws@8.18.1':
7890
+ dependencies:
7891
+ '@types/node': 25.0.10
7892
+
7825
7893
  '@types/yargs-parser@21.0.3': {}
7826
7894
 
7827
7895
  '@types/yargs@17.0.35':
@@ -8627,19 +8695,22 @@ snapshots:
8627
8695
  path-type: 4.0.0
8628
8696
  yaml: 1.10.2
8629
8697
 
8630
- coze-coding-dev-sdk@0.7.10(openai@6.16.0(ws@8.19.0)(zod@4.3.6))(ws@8.19.0):
8698
+ coze-coding-dev-sdk@0.7.16(openai@6.16.0(ws@8.19.0)(zod@4.3.6))(ws@8.19.0):
8631
8699
  dependencies:
8632
8700
  '@langchain/core': 1.1.17(openai@6.16.0(ws@8.19.0)(zod@4.3.6))
8633
8701
  '@langchain/openai': 1.2.3(@langchain/core@1.1.17(openai@6.16.0(ws@8.19.0)(zod@4.3.6)))(ws@8.19.0)
8702
+ '@supabase/supabase-js': 2.95.3
8634
8703
  axios: 1.13.3
8635
- pg: 8.16.3
8704
+ pg: 8.17.2
8636
8705
  transitivePeerDependencies:
8637
8706
  - '@opentelemetry/api'
8638
8707
  - '@opentelemetry/exporter-trace-otlp-proto'
8639
8708
  - '@opentelemetry/sdk-trace-base'
8709
+ - bufferutil
8640
8710
  - debug
8641
8711
  - openai
8642
8712
  - pg-native
8713
+ - utf-8-validate
8643
8714
  - ws
8644
8715
 
8645
8716
  create-jest@29.7.0(@types/node@25.0.10):
@@ -8848,6 +8919,8 @@ snapshots:
8848
8919
 
8849
8920
  dotenv@16.4.7: {}
8850
8921
 
8922
+ dotenv@17.2.4: {}
8923
+
8851
8924
  drizzle-kit@0.31.8:
8852
8925
  dependencies:
8853
8926
  '@drizzle-team/brocli': 0.10.2
@@ -9917,6 +9990,8 @@ snapshots:
9917
9990
 
9918
9991
  hyphenate-style-name@1.1.0: {}
9919
9992
 
9993
+ iceberg-js@0.8.1: {}
9994
+
9920
9995
  iconv-lite@0.4.24:
9921
9996
  dependencies:
9922
9997
  safer-buffer: 2.1.2
@@ -11256,23 +11331,14 @@ snapshots:
11256
11331
 
11257
11332
  paths-js@0.4.11: {}
11258
11333
 
11259
- pg-cloudflare@1.2.7:
11260
- optional: true
11261
-
11262
11334
  pg-connection-string@2.10.1: {}
11263
11335
 
11264
11336
  pg-int8@1.0.1: {}
11265
11337
 
11266
- pg-pool@3.10.1(pg@8.16.3):
11267
- dependencies:
11268
- pg: 8.16.3
11269
-
11270
11338
  pg-pool@3.11.0(pg@8.17.2):
11271
11339
  dependencies:
11272
11340
  pg: 8.17.2
11273
11341
 
11274
- pg-protocol@1.10.3: {}
11275
-
11276
11342
  pg-protocol@1.11.0: {}
11277
11343
 
11278
11344
  pg-types@2.2.0:
@@ -11283,16 +11349,6 @@ snapshots:
11283
11349
  postgres-date: 1.0.7
11284
11350
  postgres-interval: 1.2.0
11285
11351
 
11286
- pg@8.16.3:
11287
- dependencies:
11288
- pg-connection-string: 2.10.1
11289
- pg-pool: 3.10.1(pg@8.16.3)
11290
- pg-protocol: 1.10.3
11291
- pg-types: 2.2.0
11292
- pgpass: 1.0.5
11293
- optionalDependencies:
11294
- pg-cloudflare: 1.2.7
11295
-
11296
11352
  pg@8.17.2:
11297
11353
  dependencies:
11298
11354
  pg-connection-string: 2.10.1
@@ -3,18 +3,20 @@
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "scripts": {
6
- "preinstall": "npx only-allow pnpm",
7
- "dev": "bash ../.cozeproj/scripts/server_dev_run.sh",
8
6
  "build": "node build.js",
7
+ "dev": "bash ../.cozeproj/scripts/server_dev_run.sh",
8
+ "preinstall": "npx only-allow pnpm",
9
9
  "start": "NODE_ENV=production PORT=${PORT:-5000} node dist/index.js"
10
10
  },
11
11
  "dependencies": {
12
- "express": "^4.22.1",
12
+ "@supabase/supabase-js": "2.95.3",
13
13
  "cors": "^2.8.5",
14
- "coze-coding-dev-sdk": "^0.7.10",
14
+ "coze-coding-dev-sdk": "^0.7.16",
15
15
  "dayjs": "^1.11.19",
16
+ "dotenv": "^17.2.3",
16
17
  "drizzle-orm": "^0.45.1",
17
18
  "drizzle-zod": "^0.8.3",
19
+ "express": "^4.22.1",
18
20
  "multer": "^2.0.2",
19
21
  "pg": "^8.16.3",
20
22
  "zod": "^4.2.1"
@@ -22,11 +24,11 @@
22
24
  "devDependencies": {
23
25
  "@types/cors": "^2.8.19",
24
26
  "@types/express": "^5.0.6",
25
- "tsx": "^4.21.0",
26
27
  "@types/multer": "^2.0.0",
27
28
  "@types/pg": "^8.16.0",
29
+ "drizzle-kit": "^0.31.8",
28
30
  "esbuild": "0.27.2",
29
- "typescript": "^5.8.3",
30
- "drizzle-kit": "^0.31.8"
31
+ "tsx": "^4.21.0",
32
+ "typescript": "^5.8.3"
31
33
  }
32
34
  }
@@ -40,11 +40,13 @@
40
40
  "@radix-ui/react-toggle": "^1.1.10",
41
41
  "@radix-ui/react-toggle-group": "^1.1.11",
42
42
  "@radix-ui/react-tooltip": "^1.2.8",
43
+ "@supabase/supabase-js": "2.95.3",
43
44
  "class-variance-authority": "^0.7.1",
44
45
  "clsx": "^2.1.1",
45
46
  "cmdk": "^1.1.1",
46
- "coze-coding-dev-sdk": "^0.7.3",
47
+ "coze-coding-dev-sdk": "^0.7.16",
47
48
  "date-fns": "^4.1.0",
49
+ "dotenv": "^17.2.3",
48
50
  "drizzle-kit": "^0.31.8",
49
51
  "drizzle-orm": "^0.45.1",
50
52
  "drizzle-zod": "^0.8.3",