termcast 1.3.9 → 1.3.16

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 (559) hide show
  1. package/dist/action-utils.js +1 -1
  2. package/dist/action-utils.js.map +1 -1
  3. package/dist/apis/ai.js +1 -1
  4. package/dist/apis/ai.js.map +1 -1
  5. package/dist/apis/clipboard.js +2 -2
  6. package/dist/apis/clipboard.js.map +1 -1
  7. package/dist/apis/hud.d.ts +2 -2
  8. package/dist/apis/hud.d.ts.map +1 -1
  9. package/dist/apis/hud.js +5 -5
  10. package/dist/apis/hud.js.map +1 -1
  11. package/dist/apis/oauth.d.ts +1 -1
  12. package/dist/apis/oauth.d.ts.map +1 -1
  13. package/dist/apis/oauth.js +8 -8
  14. package/dist/apis/oauth.js.map +1 -1
  15. package/dist/apis/preferences.js +4 -4
  16. package/dist/apis/preferences.js.map +1 -1
  17. package/dist/apis/toast.d.ts +1 -5
  18. package/dist/apis/toast.d.ts.map +1 -1
  19. package/dist/apis/toast.js +26 -20
  20. package/dist/apis/toast.js.map +1 -1
  21. package/dist/build.d.ts +2 -0
  22. package/dist/build.d.ts.map +1 -1
  23. package/dist/build.js +9 -8
  24. package/dist/build.js.map +1 -1
  25. package/dist/cli.js +44 -2
  26. package/dist/cli.js.map +1 -1
  27. package/dist/colors.d.ts +8 -1
  28. package/dist/colors.d.ts.map +1 -1
  29. package/dist/colors.js +12 -0
  30. package/dist/colors.js.map +1 -1
  31. package/dist/compile.d.ts +30 -0
  32. package/dist/compile.d.ts.map +1 -0
  33. package/dist/compile.js +156 -0
  34. package/dist/compile.js.map +1 -0
  35. package/dist/components/actions.d.ts +2 -1
  36. package/dist/components/actions.d.ts.map +1 -1
  37. package/dist/components/actions.js +11 -8
  38. package/dist/components/actions.js.map +1 -1
  39. package/dist/components/alert.js +4 -4
  40. package/dist/components/alert.js.map +1 -1
  41. package/dist/components/command-arguments.d.ts +9 -0
  42. package/dist/components/command-arguments.d.ts.map +1 -0
  43. package/dist/components/command-arguments.js +21 -0
  44. package/dist/components/command-arguments.js.map +1 -0
  45. package/dist/components/detail.d.ts +3 -3
  46. package/dist/components/detail.d.ts.map +1 -1
  47. package/dist/components/detail.js +20 -42
  48. package/dist/components/detail.js.map +1 -1
  49. package/dist/components/dropdown.d.ts +2 -1
  50. package/dist/components/dropdown.d.ts.map +1 -1
  51. package/dist/components/dropdown.js +81 -25
  52. package/dist/components/dropdown.js.map +1 -1
  53. package/dist/components/extension-preferences.d.ts.map +1 -1
  54. package/dist/components/extension-preferences.js +23 -33
  55. package/dist/components/extension-preferences.js.map +1 -1
  56. package/dist/components/form/checkbox.d.ts.map +1 -1
  57. package/dist/components/form/checkbox.js +11 -4
  58. package/dist/components/form/checkbox.js.map +1 -1
  59. package/dist/components/form/date-picker.d.ts.map +1 -1
  60. package/dist/components/form/date-picker.js +18 -31
  61. package/dist/components/form/date-picker.js.map +1 -1
  62. package/dist/components/form/description.d.ts +2 -0
  63. package/dist/components/form/description.d.ts.map +1 -1
  64. package/dist/components/form/description.js +21 -3
  65. package/dist/components/form/description.js.map +1 -1
  66. package/dist/components/form/dropdown.d.ts.map +1 -1
  67. package/dist/components/form/dropdown.js +17 -32
  68. package/dist/components/form/dropdown.js.map +1 -1
  69. package/dist/components/form/file-autocomplete.d.ts +7 -4
  70. package/dist/components/form/file-autocomplete.d.ts.map +1 -1
  71. package/dist/components/form/file-autocomplete.js +56 -48
  72. package/dist/components/form/file-autocomplete.js.map +1 -1
  73. package/dist/components/form/file-picker.d.ts +5 -0
  74. package/dist/components/form/file-picker.d.ts.map +1 -1
  75. package/dist/components/form/file-picker.js +48 -51
  76. package/dist/components/form/file-picker.js.map +1 -1
  77. package/dist/components/form/form-end.js +1 -1
  78. package/dist/components/form/form-end.js.map +1 -1
  79. package/dist/components/form/form-ref.d.ts +43 -0
  80. package/dist/components/form/form-ref.d.ts.map +1 -0
  81. package/dist/components/form/form-ref.js +53 -0
  82. package/dist/components/form/form-ref.js.map +1 -0
  83. package/dist/components/form/index.d.ts +16 -0
  84. package/dist/components/form/index.d.ts.map +1 -1
  85. package/dist/components/form/index.js +90 -27
  86. package/dist/components/form/index.js.map +1 -1
  87. package/dist/components/form/password-field.d.ts.map +1 -1
  88. package/dist/components/form/password-field.js +33 -17
  89. package/dist/components/form/password-field.js.map +1 -1
  90. package/dist/components/form/separator.js +1 -1
  91. package/dist/components/form/separator.js.map +1 -1
  92. package/dist/components/form/tagpicker.d.ts +1 -1
  93. package/dist/components/form/tagpicker.d.ts.map +1 -1
  94. package/dist/components/form/text-area.d.ts.map +1 -1
  95. package/dist/components/form/text-area.js +33 -16
  96. package/dist/components/form/text-area.js.map +1 -1
  97. package/dist/components/form/text-field.d.ts.map +1 -1
  98. package/dist/components/form/text-field.js +38 -18
  99. package/dist/components/form/text-field.js.map +1 -1
  100. package/dist/components/form/use-form-navigation.d.ts +4 -0
  101. package/dist/components/form/use-form-navigation.d.ts.map +1 -1
  102. package/dist/components/form/use-form-navigation.js +35 -18
  103. package/dist/components/form/use-form-navigation.js.map +1 -1
  104. package/dist/components/form/with-left-border.d.ts.map +1 -1
  105. package/dist/components/form/with-left-border.js +3 -3
  106. package/dist/components/form/with-left-border.js.map +1 -1
  107. package/dist/components/icon.d.ts +3 -1
  108. package/dist/components/icon.d.ts.map +1 -1
  109. package/dist/components/icon.js +494 -469
  110. package/dist/components/icon.js.map +1 -1
  111. package/dist/components/image.js +1 -1
  112. package/dist/components/image.js.map +1 -1
  113. package/dist/components/list.d.ts +12 -8
  114. package/dist/components/list.d.ts.map +1 -1
  115. package/dist/components/list.js +172 -40
  116. package/dist/components/list.js.map +1 -1
  117. package/dist/components/loading-bar.js +2 -2
  118. package/dist/components/loading-bar.js.map +1 -1
  119. package/dist/components/menubar-extra.d.ts +1 -1
  120. package/dist/components/menubar-extra.d.ts.map +1 -1
  121. package/dist/components/menubar-extra.js +2 -2
  122. package/dist/components/menubar-extra.js.map +1 -1
  123. package/dist/descendants.d.ts.map +1 -1
  124. package/dist/descendants.js +8 -5
  125. package/dist/descendants.js.map +1 -1
  126. package/dist/e2e-node.d.ts +2 -0
  127. package/dist/e2e-node.d.ts.map +1 -1
  128. package/dist/e2e-node.js +14 -0
  129. package/dist/e2e-node.js.map +1 -1
  130. package/dist/examples/action-show-in-finder.js +3 -3
  131. package/dist/examples/action-show-in-finder.js.map +1 -1
  132. package/dist/examples/environment-test.js +4 -4
  133. package/dist/examples/environment-test.js.map +1 -1
  134. package/dist/examples/error-boundary.js +5 -5
  135. package/dist/examples/error-boundary.js.map +1 -1
  136. package/dist/examples/form-basic.d.ts.map +1 -1
  137. package/dist/examples/form-basic.js +6 -6
  138. package/dist/examples/form-basic.js.map +1 -1
  139. package/dist/examples/form-dropdown.js +3 -3
  140. package/dist/examples/form-dropdown.js.map +1 -1
  141. package/dist/examples/form-scroll.d.ts +2 -0
  142. package/dist/examples/form-scroll.d.ts.map +1 -0
  143. package/dist/examples/form-scroll.js +8 -0
  144. package/dist/examples/form-scroll.js.map +1 -0
  145. package/dist/examples/form-tagpicker.js +3 -3
  146. package/dist/examples/form-tagpicker.js.map +1 -1
  147. package/dist/examples/internal/descendants-filtering.js +10 -5
  148. package/dist/examples/internal/descendants-filtering.js.map +1 -1
  149. package/dist/examples/internal/descendants.js +13 -6
  150. package/dist/examples/internal/descendants.js.map +1 -1
  151. package/dist/examples/internal/rhf-custom-ref.d.ts +2 -0
  152. package/dist/examples/internal/rhf-custom-ref.d.ts.map +1 -0
  153. package/dist/examples/internal/rhf-custom-ref.js +67 -0
  154. package/dist/examples/internal/rhf-custom-ref.js.map +1 -0
  155. package/dist/examples/internal/scrollbox-demo.js +4 -8
  156. package/dist/examples/internal/scrollbox-demo.js.map +1 -1
  157. package/dist/examples/internal/scrollbox-with-descendants.d.ts +2 -0
  158. package/dist/examples/internal/scrollbox-with-descendants.d.ts.map +1 -0
  159. package/dist/examples/internal/scrollbox-with-descendants.js +63 -0
  160. package/dist/examples/internal/scrollbox-with-descendants.js.map +1 -0
  161. package/dist/examples/internal/simple-dialog.js +7 -7
  162. package/dist/examples/internal/simple-dialog.js.map +1 -1
  163. package/dist/examples/internal/simple-scrollbox.d.ts +2 -0
  164. package/dist/examples/internal/simple-scrollbox.d.ts.map +1 -0
  165. package/dist/examples/internal/simple-scrollbox.js +25 -0
  166. package/dist/examples/internal/simple-scrollbox.js.map +1 -0
  167. package/dist/examples/internal/text-stacking.js +4 -2
  168. package/dist/examples/internal/text-stacking.js.map +1 -1
  169. package/dist/examples/list-dropdown-default.js +3 -3
  170. package/dist/examples/list-dropdown-default.js.map +1 -1
  171. package/dist/examples/list-fetch-data.js +3 -3
  172. package/dist/examples/list-fetch-data.js.map +1 -1
  173. package/dist/examples/list-scrollbox.d.ts +2 -0
  174. package/dist/examples/list-scrollbox.d.ts.map +1 -0
  175. package/dist/examples/list-scrollbox.js +29 -0
  176. package/dist/examples/list-scrollbox.js.map +1 -0
  177. package/dist/examples/list-with-detail.js +2 -2
  178. package/dist/examples/list-with-detail.js.map +1 -1
  179. package/dist/examples/list-with-dropdown.js +2 -2
  180. package/dist/examples/list-with-dropdown.js.map +1 -1
  181. package/dist/examples/list-with-sections.js +6 -6
  182. package/dist/examples/list-with-sections.js.map +1 -1
  183. package/dist/examples/miscellaneous.js +14 -14
  184. package/dist/examples/miscellaneous.js.map +1 -1
  185. package/dist/examples/nested-navigation.js +9 -7
  186. package/dist/examples/nested-navigation.js.map +1 -1
  187. package/dist/examples/preferences-test.js +4 -4
  188. package/dist/examples/preferences-test.js.map +1 -1
  189. package/dist/examples/simple-dropdown.js +4 -4
  190. package/dist/examples/simple-dropdown.js.map +1 -1
  191. package/dist/examples/simple-file-picker.js +3 -3
  192. package/dist/examples/simple-file-picker.js.map +1 -1
  193. package/dist/examples/simple-grid.js +2 -2
  194. package/dist/examples/simple-grid.js.map +1 -1
  195. package/dist/examples/simple-hud.js +4 -4
  196. package/dist/examples/simple-hud.js.map +1 -1
  197. package/dist/examples/simple-list-search.js +21 -5
  198. package/dist/examples/simple-list-search.js.map +1 -1
  199. package/dist/examples/simple-list.js +4 -4
  200. package/dist/examples/simple-list.js.map +1 -1
  201. package/dist/examples/simple-navigation.js +9 -7
  202. package/dist/examples/simple-navigation.js.map +1 -1
  203. package/dist/examples/store.js +1 -1
  204. package/dist/examples/store.js.map +1 -1
  205. package/dist/examples/submodule-diff.d.ts +2 -0
  206. package/dist/examples/submodule-diff.d.ts.map +1 -0
  207. package/dist/examples/submodule-diff.js +99 -0
  208. package/dist/examples/submodule-diff.js.map +1 -0
  209. package/dist/examples/tanstack-demo.js +3 -3
  210. package/dist/examples/tanstack-demo.js.map +1 -1
  211. package/dist/examples/use-promise-demo.js +3 -3
  212. package/dist/examples/use-promise-demo.js.map +1 -1
  213. package/dist/extensions/dev.d.ts +8 -0
  214. package/dist/extensions/dev.d.ts.map +1 -1
  215. package/dist/extensions/dev.js +60 -35
  216. package/dist/extensions/dev.js.map +1 -1
  217. package/dist/extensions/home.d.ts.map +1 -1
  218. package/dist/extensions/home.js +22 -97
  219. package/dist/extensions/home.js.map +1 -1
  220. package/dist/extensions/store.js +2 -2
  221. package/dist/extensions/store.js.map +1 -1
  222. package/dist/globals.js +1 -1
  223. package/dist/globals.js.map +1 -1
  224. package/dist/hooks/index.d.ts +1 -1
  225. package/dist/hooks/index.d.ts.map +1 -1
  226. package/dist/hooks/index.js +1 -1
  227. package/dist/hooks/index.js.map +1 -1
  228. package/dist/hooks/use-action-panel.js +1 -1
  229. package/dist/hooks/use-action-panel.js.map +1 -1
  230. package/dist/hooks/use-unstable-ai.js +1 -1
  231. package/dist/hooks/use-unstable-ai.js.map +1 -1
  232. package/dist/index.d.ts +57 -55
  233. package/dist/index.d.ts.map +1 -1
  234. package/dist/index.js +42 -38
  235. package/dist/index.js.map +1 -1
  236. package/dist/internal/date-picker-widget.d.ts.map +1 -1
  237. package/dist/internal/date-picker-widget.js +56 -48
  238. package/dist/internal/date-picker-widget.js.map +1 -1
  239. package/dist/internal/dialog.d.ts +3 -3
  240. package/dist/internal/dialog.d.ts.map +1 -1
  241. package/dist/internal/dialog.js +10 -10
  242. package/dist/internal/dialog.js.map +1 -1
  243. package/dist/internal/error-handler.js +2 -2
  244. package/dist/internal/error-handler.js.map +1 -1
  245. package/dist/internal/focus-context.d.ts +1 -1
  246. package/dist/internal/focus-context.d.ts.map +1 -1
  247. package/dist/internal/navigation.d.ts +1 -1
  248. package/dist/internal/navigation.d.ts.map +1 -1
  249. package/dist/internal/navigation.js +2 -2
  250. package/dist/internal/navigation.js.map +1 -1
  251. package/dist/internal/providers.d.ts +2 -2
  252. package/dist/internal/providers.d.ts.map +1 -1
  253. package/dist/internal/providers.js +9 -9
  254. package/dist/internal/providers.js.map +1 -1
  255. package/dist/internal/scrollbox.d.ts +12 -0
  256. package/dist/internal/scrollbox.d.ts.map +1 -0
  257. package/dist/internal/scrollbox.js +34 -0
  258. package/dist/internal/scrollbox.js.map +1 -0
  259. package/dist/preload.js +1 -1
  260. package/dist/preload.js.map +1 -1
  261. package/dist/release.d.ts +11 -0
  262. package/dist/release.d.ts.map +1 -0
  263. package/dist/release.js +113 -0
  264. package/dist/release.js.map +1 -0
  265. package/dist/state.d.ts +1 -0
  266. package/dist/state.d.ts.map +1 -1
  267. package/dist/state.js +1 -0
  268. package/dist/state.js.map +1 -1
  269. package/dist/theme.d.ts +11 -8
  270. package/dist/theme.d.ts.map +1 -1
  271. package/dist/theme.js +31 -8
  272. package/dist/theme.js.map +1 -1
  273. package/dist/utils/run-command.d.ts +22 -0
  274. package/dist/utils/run-command.d.ts.map +1 -0
  275. package/dist/utils/run-command.js +127 -0
  276. package/dist/utils/run-command.js.map +1 -0
  277. package/dist/utils.d.ts +1 -1
  278. package/dist/utils.d.ts.map +1 -1
  279. package/dist/utils.js +6 -4
  280. package/dist/utils.js.map +1 -1
  281. package/package.json +13 -8
  282. package/src/apis/toast.tsx +38 -17
  283. package/src/build.tsx +5 -3
  284. package/src/cli.tsx +46 -0
  285. package/src/colors.tsx +22 -1
  286. package/src/compile.tsx +219 -0
  287. package/src/components/actions.tsx +7 -1
  288. package/src/components/command-arguments.tsx +81 -0
  289. package/src/components/detail.tsx +26 -58
  290. package/src/components/dropdown.tsx +108 -23
  291. package/src/components/extension-preferences.tsx +55 -35
  292. package/src/components/form/checkbox.tsx +13 -5
  293. package/src/components/form/date-picker.tsx +24 -29
  294. package/src/components/form/description.tsx +35 -7
  295. package/src/components/form/dropdown.tsx +16 -30
  296. package/src/components/form/file-autocomplete.tsx +87 -77
  297. package/src/components/form/file-picker.tsx +69 -57
  298. package/src/components/form/form-ref.tsx +68 -0
  299. package/src/components/form/index.tsx +152 -41
  300. package/src/components/form/password-field.tsx +35 -22
  301. package/src/components/form/text-area.tsx +78 -58
  302. package/src/components/form/text-field.tsx +82 -61
  303. package/src/components/form/use-form-navigation.tsx +43 -23
  304. package/src/components/form/with-left-border.tsx +2 -1
  305. package/src/components/icon.tsx +497 -469
  306. package/src/components/list.tsx +279 -112
  307. package/src/components/loading-bar.tsx +1 -1
  308. package/src/descendants.tsx +15 -5
  309. package/src/e2e-node.tsx +16 -0
  310. package/src/examples/action-show-in-finder.tsx +1 -1
  311. package/src/examples/environment-test.tsx +1 -1
  312. package/src/examples/error-boundary.tsx +1 -1
  313. package/src/examples/file-autocomplete.vitest.tsx +245 -0
  314. package/src/examples/form-basic.tsx +12 -12
  315. package/src/examples/form-basic.vitest.tsx +297 -671
  316. package/src/examples/form-dropdown.tsx +1 -1
  317. package/src/examples/form-dropdown.vitest.tsx +353 -221
  318. package/src/examples/form-scroll.tsx +56 -0
  319. package/src/examples/form-scroll.vitest.tsx +228 -0
  320. package/src/examples/form-tagpicker.tsx +1 -1
  321. package/src/examples/form-tagpicker.vitest.tsx +438 -193
  322. package/src/examples/internal/descendants-filtering.tsx +13 -5
  323. package/src/examples/internal/descendants.tsx +17 -5
  324. package/src/examples/internal/rhf-custom-ref.tsx +152 -0
  325. package/src/examples/internal/scrollbox-demo.tsx +15 -7
  326. package/src/examples/internal/scrollbox-with-descendants.tsx +94 -0
  327. package/src/examples/internal/simple-dialog.tsx +1 -1
  328. package/src/examples/internal/simple-scrollbox.tsx +58 -0
  329. package/src/examples/internal/simple-scrollbox.vitest.tsx +104 -0
  330. package/src/examples/internal/text-stacking.tsx +4 -2
  331. package/src/examples/list-dropdown-default.tsx +1 -1
  332. package/src/examples/list-dropdown-default.vitest.tsx +136 -71
  333. package/src/examples/list-fetch-data.tsx +1 -1
  334. package/src/examples/list-fetch-data.vitest.tsx +42 -33
  335. package/src/examples/list-scrollbox.tsx +46 -0
  336. package/src/examples/list-scrollbox.vitest.tsx +103 -0
  337. package/src/examples/list-with-detail.tsx +1 -1
  338. package/src/examples/list-with-detail.vitest.tsx +290 -294
  339. package/src/examples/list-with-dropdown.tsx +1 -1
  340. package/src/examples/list-with-dropdown.vitest.tsx +190 -150
  341. package/src/examples/list-with-sections.tsx +12 -1
  342. package/src/examples/list-with-sections.vitest.tsx +390 -218
  343. package/src/examples/miscellaneous.tsx +1 -1
  344. package/src/examples/nested-navigation.tsx +7 -5
  345. package/src/examples/preferences-test.tsx +1 -1
  346. package/src/examples/simple-dropdown.tsx +1 -1
  347. package/src/examples/simple-file-picker.tsx +1 -1
  348. package/src/examples/simple-file-picker.vitest.tsx +533 -127
  349. package/src/examples/simple-grid.tsx +1 -1
  350. package/src/examples/simple-grid.vitest.tsx +258 -234
  351. package/src/examples/simple-hud.tsx +1 -1
  352. package/src/examples/simple-list-search.tsx +42 -1
  353. package/src/examples/simple-list.tsx +1 -1
  354. package/src/examples/simple-navigation.tsx +7 -5
  355. package/src/examples/simple-navigation.vitest.tsx +434 -238
  356. package/src/examples/store.tsx +1 -1
  357. package/src/examples/store.vitest.tsx +31 -14
  358. package/src/examples/submodule-diff.tsx +153 -0
  359. package/src/examples/tanstack-demo.tsx +1 -1
  360. package/src/examples/use-promise-demo.tsx +1 -1
  361. package/src/extensions/dev.tsx +76 -38
  362. package/src/extensions/dev.vitest.tsx +220 -0
  363. package/src/extensions/home.tsx +20 -121
  364. package/src/globals.ts +1 -1
  365. package/src/index.tsx +12 -25
  366. package/src/internal/date-picker-widget.tsx +56 -46
  367. package/src/internal/dialog.tsx +6 -6
  368. package/src/internal/providers.tsx +1 -1
  369. package/src/internal/scrollbox.tsx +63 -0
  370. package/src/release.tsx +159 -0
  371. package/src/state.tsx +2 -0
  372. package/src/store-api/search.test.tsx +4 -13
  373. package/src/theme.tsx +33 -8
  374. package/src/utils/run-command.tsx +204 -0
  375. package/src/utils.tsx +6 -4
  376. package/dist/ai.d.ts +0 -104
  377. package/dist/ai.d.ts.map +0 -1
  378. package/dist/ai.js +0 -135
  379. package/dist/ai.js.map +0 -1
  380. package/dist/apis/cache.test.d.ts +0 -2
  381. package/dist/apis/cache.test.d.ts.map +0 -1
  382. package/dist/apis/cache.test.js +0 -246
  383. package/dist/apis/cache.test.js.map +0 -1
  384. package/dist/apis/localstorage.test.d.ts +0 -2
  385. package/dist/apis/localstorage.test.d.ts.map +0 -1
  386. package/dist/apis/localstorage.test.js +0 -131
  387. package/dist/apis/localstorage.test.js.map +0 -1
  388. package/dist/apis/toast.test.d.ts +0 -2
  389. package/dist/apis/toast.test.d.ts.map +0 -1
  390. package/dist/apis/toast.test.js +0 -67
  391. package/dist/apis/toast.test.js.map +0 -1
  392. package/dist/build.test.d.ts +0 -2
  393. package/dist/build.test.d.ts.map +0 -1
  394. package/dist/build.test.js +0 -73
  395. package/dist/build.test.js.map +0 -1
  396. package/dist/cache.d.ts +0 -32
  397. package/dist/cache.d.ts.map +0 -1
  398. package/dist/cache.js +0 -205
  399. package/dist/cache.js.map +0 -1
  400. package/dist/cache.test.d.ts +0 -2
  401. package/dist/cache.test.d.ts.map +0 -1
  402. package/dist/cache.test.js +0 -246
  403. package/dist/cache.test.js.map +0 -1
  404. package/dist/clipboard.d.ts +0 -36
  405. package/dist/clipboard.d.ts.map +0 -1
  406. package/dist/clipboard.js +0 -154
  407. package/dist/clipboard.js.map +0 -1
  408. package/dist/components/form/form-type-only.d.ts +0 -174
  409. package/dist/components/form/form-type-only.d.ts.map +0 -1
  410. package/dist/components/form/form-type-only.js +0 -2
  411. package/dist/components/form/form-type-only.js.map +0 -1
  412. package/dist/components/form/use-form-handling.d.ts +0 -4
  413. package/dist/components/form/use-form-handling.d.ts.map +0 -1
  414. package/dist/components/form/use-form-handling.js +0 -37
  415. package/dist/components/form/use-form-handling.js.map +0 -1
  416. package/dist/dev-ui.d.ts +0 -7
  417. package/dist/dev-ui.d.ts.map +0 -1
  418. package/dist/dev-ui.js +0 -118
  419. package/dist/dev-ui.js.map +0 -1
  420. package/dist/environment.d.ts +0 -63
  421. package/dist/environment.d.ts.map +0 -1
  422. package/dist/environment.js +0 -189
  423. package/dist/environment.js.map +0 -1
  424. package/dist/examples/datepicker.d.ts +0 -2
  425. package/dist/examples/datepicker.d.ts.map +0 -1
  426. package/dist/examples/datepicker.js +0 -344
  427. package/dist/examples/datepicker.js.map +0 -1
  428. package/dist/examples/form-basic-arrow-keys.vitest.d.ts +0 -2
  429. package/dist/examples/form-basic-arrow-keys.vitest.d.ts.map +0 -1
  430. package/dist/examples/form-basic-arrow-keys.vitest.js +0 -46
  431. package/dist/examples/form-basic-arrow-keys.vitest.js.map +0 -1
  432. package/dist/examples/form-basic.vitest.d.ts +0 -2
  433. package/dist/examples/form-basic.vitest.d.ts.map +0 -1
  434. package/dist/examples/form-basic.vitest.js +0 -995
  435. package/dist/examples/form-basic.vitest.js.map +0 -1
  436. package/dist/examples/form-dropdown-with-sections.d.ts +0 -2
  437. package/dist/examples/form-dropdown-with-sections.d.ts.map +0 -1
  438. package/dist/examples/form-dropdown-with-sections.js +0 -13
  439. package/dist/examples/form-dropdown-with-sections.js.map +0 -1
  440. package/dist/examples/form-dropdown-with-sections.vitest.d.ts +0 -2
  441. package/dist/examples/form-dropdown-with-sections.vitest.d.ts.map +0 -1
  442. package/dist/examples/form-dropdown-with-sections.vitest.js +0 -75
  443. package/dist/examples/form-dropdown-with-sections.vitest.js.map +0 -1
  444. package/dist/examples/form-dropdown.vitest.d.ts +0 -2
  445. package/dist/examples/form-dropdown.vitest.d.ts.map +0 -1
  446. package/dist/examples/form-dropdown.vitest.js +0 -722
  447. package/dist/examples/form-dropdown.vitest.js.map +0 -1
  448. package/dist/examples/form-multiselect-dropdown.d.ts +0 -2
  449. package/dist/examples/form-multiselect-dropdown.d.ts.map +0 -1
  450. package/dist/examples/form-multiselect-dropdown.js +0 -13
  451. package/dist/examples/form-multiselect-dropdown.js.map +0 -1
  452. package/dist/examples/form-tagpicker.vitest.d.ts +0 -2
  453. package/dist/examples/form-tagpicker.vitest.d.ts.map +0 -1
  454. package/dist/examples/form-tagpicker.vitest.js +0 -491
  455. package/dist/examples/form-tagpicker.vitest.js.map +0 -1
  456. package/dist/examples/internal/nested-boxes.d.ts +0 -2
  457. package/dist/examples/internal/nested-boxes.d.ts.map +0 -1
  458. package/dist/examples/internal/nested-boxes.js +0 -7
  459. package/dist/examples/internal/nested-boxes.js.map +0 -1
  460. package/dist/examples/internal/unicode-square-repro.d.ts +0 -2
  461. package/dist/examples/internal/unicode-square-repro.d.ts.map +0 -1
  462. package/dist/examples/internal/unicode-square-repro.js +0 -7
  463. package/dist/examples/internal/unicode-square-repro.js.map +0 -1
  464. package/dist/examples/list-dropdown-default.vitest.d.ts +0 -2
  465. package/dist/examples/list-dropdown-default.vitest.d.ts.map +0 -1
  466. package/dist/examples/list-dropdown-default.vitest.js +0 -164
  467. package/dist/examples/list-dropdown-default.vitest.js.map +0 -1
  468. package/dist/examples/list-fetch-data.vitest.d.ts +0 -2
  469. package/dist/examples/list-fetch-data.vitest.d.ts.map +0 -1
  470. package/dist/examples/list-fetch-data.vitest.js +0 -103
  471. package/dist/examples/list-fetch-data.vitest.js.map +0 -1
  472. package/dist/examples/list-filter-navigation.d.ts +0 -2
  473. package/dist/examples/list-filter-navigation.d.ts.map +0 -1
  474. package/dist/examples/list-filter-navigation.js +0 -8
  475. package/dist/examples/list-filter-navigation.js.map +0 -1
  476. package/dist/examples/list-with-detail.vitest.d.ts +0 -2
  477. package/dist/examples/list-with-detail.vitest.d.ts.map +0 -1
  478. package/dist/examples/list-with-detail.vitest.js +0 -438
  479. package/dist/examples/list-with-detail.vitest.js.map +0 -1
  480. package/dist/examples/list-with-dropdown.vitest.d.ts +0 -2
  481. package/dist/examples/list-with-dropdown.vitest.d.ts.map +0 -1
  482. package/dist/examples/list-with-dropdown.vitest.js +0 -297
  483. package/dist/examples/list-with-dropdown.vitest.js.map +0 -1
  484. package/dist/examples/list-with-sections.vitest.d.ts +0 -2
  485. package/dist/examples/list-with-sections.vitest.d.ts.map +0 -1
  486. package/dist/examples/list-with-sections.vitest.js +0 -441
  487. package/dist/examples/list-with-sections.vitest.js.map +0 -1
  488. package/dist/examples/simple-file-picker.vitest.d.ts +0 -2
  489. package/dist/examples/simple-file-picker.vitest.d.ts.map +0 -1
  490. package/dist/examples/simple-file-picker.vitest.js +0 -277
  491. package/dist/examples/simple-file-picker.vitest.js.map +0 -1
  492. package/dist/examples/simple-grid.vitest.d.ts +0 -2
  493. package/dist/examples/simple-grid.vitest.d.ts.map +0 -1
  494. package/dist/examples/simple-grid.vitest.js +0 -498
  495. package/dist/examples/simple-grid.vitest.js.map +0 -1
  496. package/dist/examples/simple-navigation.vitest.d.ts +0 -2
  497. package/dist/examples/simple-navigation.vitest.d.ts.map +0 -1
  498. package/dist/examples/simple-navigation.vitest.js +0 -522
  499. package/dist/examples/simple-navigation.vitest.js.map +0 -1
  500. package/dist/examples/store.vitest.d.ts +0 -2
  501. package/dist/examples/store.vitest.d.ts.map +0 -1
  502. package/dist/examples/store.vitest.js +0 -52
  503. package/dist/examples/store.vitest.js.map +0 -1
  504. package/dist/home-command.d.ts +0 -8
  505. package/dist/home-command.d.ts.map +0 -1
  506. package/dist/home-command.js +0 -181
  507. package/dist/home-command.js.map +0 -1
  508. package/dist/hooks/hooks.test.d.ts +0 -2
  509. package/dist/hooks/hooks.test.d.ts.map +0 -1
  510. package/dist/hooks/hooks.test.js +0 -37
  511. package/dist/hooks/hooks.test.js.map +0 -1
  512. package/dist/hover-repro.d.ts +0 -2
  513. package/dist/hover-repro.d.ts.map +0 -1
  514. package/dist/hover-repro.js +0 -20
  515. package/dist/hover-repro.js.map +0 -1
  516. package/dist/localstorage.d.ts +0 -13
  517. package/dist/localstorage.d.ts.map +0 -1
  518. package/dist/localstorage.js +0 -190
  519. package/dist/localstorage.js.map +0 -1
  520. package/dist/localstorage.test.d.ts +0 -2
  521. package/dist/localstorage.test.d.ts.map +0 -1
  522. package/dist/localstorage.test.js +0 -131
  523. package/dist/localstorage.test.js.map +0 -1
  524. package/dist/oauth.d.ts +0 -142
  525. package/dist/oauth.d.ts.map +0 -1
  526. package/dist/oauth.js +0 -551
  527. package/dist/oauth.js.map +0 -1
  528. package/dist/preferences.d.ts +0 -23
  529. package/dist/preferences.d.ts.map +0 -1
  530. package/dist/preferences.js +0 -105
  531. package/dist/preferences.js.map +0 -1
  532. package/dist/store-api/download.test.d.ts +0 -2
  533. package/dist/store-api/download.test.d.ts.map +0 -1
  534. package/dist/store-api/download.test.js +0 -36
  535. package/dist/store-api/download.test.js.map +0 -1
  536. package/dist/store-api/extension.test.d.ts +0 -2
  537. package/dist/store-api/extension.test.d.ts.map +0 -1
  538. package/dist/store-api/extension.test.js +0 -22
  539. package/dist/store-api/extension.test.js.map +0 -1
  540. package/dist/store-api/search.test.d.ts +0 -2
  541. package/dist/store-api/search.test.d.ts.map +0 -1
  542. package/dist/store-api/search.test.js +0 -45
  543. package/dist/store-api/search.test.js.map +0 -1
  544. package/dist/store.d.ts +0 -21
  545. package/dist/store.d.ts.map +0 -1
  546. package/dist/store.js +0 -84
  547. package/dist/store.js.map +0 -1
  548. package/dist/toast.d.ts +0 -44
  549. package/dist/toast.d.ts.map +0 -1
  550. package/dist/toast.js +0 -221
  551. package/dist/toast.js.map +0 -1
  552. package/dist/utils.test.d.ts +0 -2
  553. package/dist/utils.test.d.ts.map +0 -1
  554. package/dist/utils.test.js +0 -152
  555. package/dist/utils.test.js.map +0 -1
  556. package/dist/window.d.ts +0 -12
  557. package/dist/window.d.ts.map +0 -1
  558. package/dist/window.js +0 -48
  559. package/dist/window.js.map +0 -1
@@ -1,17 +1,18 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@opentui/react/jsx-runtime";
2
2
  import fs from 'node:fs';
3
3
  import React from 'react';
4
- import { render } from '@opentui/react';
5
- import { List, logger } from '@termcast/cli';
6
- import { Action, ActionPanel } from '@termcast/cli';
7
- import { useNavigation } from '@termcast/cli/src/internal/navigation';
8
- import { Providers } from '@termcast/cli/src/internal/providers';
9
- import { showToast, Toast } from '@termcast/cli/src/apis/toast';
10
- import { Icon } from '@termcast/cli';
4
+ import { createRoot } from '@opentui/react';
5
+ import { createCliRenderer } from '@opentui/core';
6
+ import { List, logger } from 'termcast';
7
+ import { Action, ActionPanel } from 'termcast';
8
+ import { useNavigation } from 'termcast/src/internal/navigation';
9
+ import { TermcastProvider } from 'termcast/src/internal/providers';
10
+ import { showToast, Toast } from 'termcast/src/apis/toast';
11
+ import { Icon } from 'termcast';
11
12
  import { getStoredExtensions } from '../utils';
12
13
  import Store from './store';
13
14
  import { ExtensionPreferences } from '../components/extension-preferences';
14
- import { LocalStorage } from '@termcast/cli/src/apis/localstorage';
15
+ import { runCommand, clearCommandArguments } from '../utils/run-command';
15
16
  import '../globals';
16
17
  // Built-in extensions available globally
17
18
  const builtinExtensions = [
@@ -32,8 +33,16 @@ function ExtensionsList({ allCommands, initialSearchQuery = '', }) {
32
33
  const { push } = useNavigation();
33
34
  const [searchText, setSearchText] = React.useState(initialSearchQuery);
34
35
  const handleCommandSelect = async (item) => {
36
+ clearCommandArguments();
35
37
  try {
36
- await runCommand(item);
38
+ await runCommand({
39
+ command: item.command,
40
+ extensionName: item.extensionName,
41
+ packageJson: item.packageJson,
42
+ bundledPath: item.bundledPath,
43
+ Component: item.Component,
44
+ push,
45
+ });
37
46
  }
38
47
  catch (error) {
39
48
  await showToast({
@@ -43,89 +52,6 @@ function ExtensionsList({ allCommands, initialSearchQuery = '', }) {
43
52
  });
44
53
  }
45
54
  };
46
- const runCommand = async (item) => {
47
- // Check if command has required preferences that are missing
48
- const checkRequiredPreferences = async () => {
49
- // Get package.json to check required preferences
50
- if (!item.bundledPath || item.Component || !item.packageJson) {
51
- // Built-in commands or commands without packageJson don't have preferences
52
- return { hasRequiredPreferences: true };
53
- }
54
- const packageJson = item.packageJson;
55
- // Check command-specific preferences
56
- const command = packageJson.commands?.find((cmd) => cmd.name === item.command.name);
57
- const commandPrefs = command?.preferences || [];
58
- // Check extension-wide preferences
59
- const extensionPrefs = packageJson.preferences || [];
60
- // Get saved preferences
61
- const commandPrefsKey = `preferences.${item.extensionName}.${item.command.name}`;
62
- const extensionPrefsKey = `preferences.${item.extensionName}`;
63
- const savedCommandPrefs = await LocalStorage.getItem(commandPrefsKey);
64
- const savedExtensionPrefs = await LocalStorage.getItem(extensionPrefsKey);
65
- const parsedCommandPrefs = savedCommandPrefs
66
- ? JSON.parse(savedCommandPrefs)
67
- : {};
68
- const parsedExtensionPrefs = savedExtensionPrefs
69
- ? JSON.parse(savedExtensionPrefs)
70
- : {};
71
- // Check if all required command preferences are set
72
- for (const pref of commandPrefs) {
73
- if (pref.required && parsedCommandPrefs[pref.name] == null) {
74
- return {
75
- hasRequiredPreferences: false,
76
- requiredPreferences: 'command',
77
- };
78
- }
79
- }
80
- // Check if all required extension preferences are set
81
- for (const pref of extensionPrefs) {
82
- if (pref.required && parsedExtensionPrefs[pref.name] == null) {
83
- return {
84
- hasRequiredPreferences: false,
85
- requiredPreferences: 'extension',
86
- };
87
- }
88
- }
89
- return { hasRequiredPreferences: true };
90
- };
91
- const prefsCheck = await checkRequiredPreferences();
92
- if (!prefsCheck.hasRequiredPreferences) {
93
- // TODO: Use replace instead of push to avoid stacking navigation
94
- // Redirect to preferences with onSubmit to run command after
95
- push(_jsx(ExtensionPreferences, { extensionName: item.extensionName, commandName: prefsCheck.requiredPreferences === 'command'
96
- ? item.command.name
97
- : undefined, onSubmit: () => {
98
- // Recursively run command after preferences are set
99
- runCommand(item);
100
- } }));
101
- return;
102
- }
103
- let Component;
104
- if (item.Component) {
105
- Component = item.Component;
106
- }
107
- else if (item.bundledPath) {
108
- const module = await import(item.bundledPath);
109
- Component = module.default;
110
- if (!Component) {
111
- await showToast({
112
- style: Toast.Style.Failure,
113
- title: 'No default export',
114
- message: `Command file ${item.command.name} has no default export`,
115
- });
116
- return;
117
- }
118
- }
119
- else {
120
- await showToast({
121
- style: Toast.Style.Failure,
122
- title: 'Command not available',
123
- message: `Command ${item.command.name} has no implementation`,
124
- });
125
- return;
126
- }
127
- push(_jsx(Component, {}));
128
- };
129
55
  // Group commands by extension
130
56
  const groupedByExtension = allCommands.reduce((acc, cmd) => {
131
57
  if (!acc[cmd.extensionName]) {
@@ -146,19 +72,18 @@ function ExtensionsList({ allCommands, initialSearchQuery = '', }) {
146
72
  handleCommandSelect(item);
147
73
  } }), _jsx(Action, { title: 'Configure Extension', onAction: () => {
148
74
  push(_jsx(ExtensionPreferences, { extensionName: item.extensionName, onSubmit: () => {
149
- // After configuring extension preferences, try to run the command
150
- runCommand(item);
75
+ handleCommandSelect(item);
151
76
  } }));
152
77
  } }), _jsx(Action, { title: 'Configure Command', onAction: () => {
153
78
  push(_jsx(ExtensionPreferences, { extensionName: item.extensionName, commandName: item.command.name, onSubmit: () => {
154
- // After configuring command preferences, try to run the command
155
- runCommand(item);
79
+ handleCommandSelect(item);
156
80
  } }));
157
81
  } }), item.bundledPath && (_jsx(Action.CopyToClipboard, { content: item.bundledPath, title: 'Copy Bundle Path' })), _jsx(Action.CopyToClipboard, { content: JSON.stringify(item.command, null, 2), title: 'Copy Command Info' })] }) }, `${item.extensionName}-${item.command.name}`))) }, extensionName))), allCommands.length === 0 && (_jsx(List.Section, { title: 'No Commands', children: _jsx(List.Item, { title: 'No extensions installed', subtitle: 'Use "termcast build" to install an extension' }) }))] }));
158
82
  }
159
83
  export async function runHomeCommand() {
160
84
  logger.log(`preparing to render the home command component`);
161
- await render(_jsx(Providers, { children: _jsx(Home, {}) }));
85
+ const renderer = await createCliRenderer();
86
+ createRoot(renderer).render(_jsx(TermcastProvider, { children: _jsx(Home, {}) }));
162
87
  logger.log(`rendered home command component`);
163
88
  }
164
89
  export default function Home({ initialSearchQuery = '', key, }) {
@@ -1 +1 @@
1
- {"version":3,"file":"home.js","sourceRoot":"","sources":["../../src/extensions/home.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,SAAS,CAAA;AACxB,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAY,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAChE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAA;AAClE,OAAO,YAAY,CAAA;AAWnB,yCAAyC;AACzC,MAAM,iBAAiB,GAAuB;IAC5C;QACE,aAAa,EAAE,gBAAgB;QAC/B,cAAc,EAAE,gBAAgB;QAChC,OAAO,EAAE;YACP,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,4BAA4B;YACnC,WAAW,EAAE,sDAAsD;YACnE,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,OAAO;SACd;Q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ACH,CAAC;IAED,OAAO,CACL,KAAC,cAAc,IACb,WAAW,EAAE,WAAW,EACxB,kBAAkB,EAAE,kBAAkB,GACtC,CACH,CAAA;AACH,CAAC"}
@@ -4,8 +4,8 @@ import fs from 'node:fs';
4
4
  import path from 'node:path';
5
5
  import dedent from 'string-dedent';
6
6
  import { useQuery } from '@tanstack/react-query';
7
- import { List, Detail, Action, ActionPanel, showToast, Toast, } from '@termcast/cli';
8
- import { useNavigation } from '@termcast/cli/src/internal/navigation';
7
+ import { List, Detail, Action, ActionPanel, showToast, Toast, } from 'termcast';
8
+ import { useNavigation } from 'termcast/src/internal/navigation';
9
9
  import { ExtensionPreferences } from '../components/extension-preferences';
10
10
  import { searchStoreListings } from '../store-api/search';
11
11
  import { downloadExtension } from '../store-api/download';
@@ -1 +1 @@
1
- {"version":3,"file":"store.js","sourceRoot":"","sources":["../../src/extensions/store.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,MAAM,SAAS,CAAA;AACxB,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,MAAM,MAAM,eAAe,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,OAAO,EACL,IAAI,EACJ,MAAM,EACN,MAAM,EACN,WAAW,EACX,SAAS,EACT,KAAK,GAEN,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAEzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AACjD,OAAO,EAAE,MAAM,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tB,KAAC,oBAAoB,IAAC,aAAa,EAAE,SAAS,CAAC,IAAI,GAAI,CACxD,CAAA;gCACD,SAAS,CAAC,WAAW,GAAG,qBAAqB,SAAS,CAAC,IAAI,EAAE,CAAA;gCAC7D,IAAI,CAAC,KAAC,SAAS,KAAG,CAAC,CAAA;4BACrB,CAAC,GACD,CACH,EACH,KAAC,MAAM,IAAC,KAAK,EAAC,qBAAqB,EAAC,QAAQ,EAAE,aAAa,GAAI,IAC9D,CACJ,EACD,KAAC,MAAM,CAAC,aAAa,IACnB,GAAG,EAAE,uBAAuB,SAAS,CAAC,KAAK,CAAC,MAAM,IAAI,SAAS,CAAC,IAAI,EAAE,EACtE,KAAK,EAAC,uBAAuB,GAC7B,IACU,GAEhB,CACH,CAAA;AACH,CAAC;AACD,gBAAgB,CAAC,WAAW,GAAG,kBAAkB,CAAA;AAEjD,WAAW,CAAC,WAAW,GAAG,aAAa,CAAA;AACvC,MAAM,CAAC,OAAO,UAAU,KAAK;IAC3B,OAAO,KAAC,WAAW,KAAG,CAAA;AACxB,CAAC;AACD,KAAK,CAAC,WAAW,GAAG,OAAO,CAAA"}
package/dist/globals.js CHANGED
@@ -7,7 +7,7 @@ import * as opentuiCore from '@opentui/core';
7
7
  import * as opentuiReact from '@opentui/react';
8
8
  import * as react from 'react';
9
9
  import * as reactJsxRuntime from 'react/jsx-runtime';
10
- import * as termcastApi from '@termcast/cli';
10
+ import * as termcastApi from './index';
11
11
  // Initialize globals
12
12
  globalThis.opentuiCore = opentuiCore;
13
13
  globalThis.opentuiReact = opentuiReact;
@@ -1 +1 @@
1
- {"version":3,"file":"globals.js","sourceRoot":"","sources":["../src/globals.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,iDAAiD;AACjD,EAAE;AACF,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,OAAO,CAAC,GAAG,CAAC,QAAQ,GAAG,MAAM,CAAA;AAE7B,OAAO,KAAK,WAAW,MAAM,eAAe,CAAA;A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A;AACrC,UAAU,CAAC,KAAK,GAAG,eAAe,CAAC,IAAI,CAAA;AACvC,UAAU,CAAC,SAAS,GAAG,eAAe,CAAC,QAAQ,CAAA;AAE/C,UAAU,CAAC,eAAe,GAAG,eAAe,CAAA;AAC5C,UAAU,CAAC,WAAW,GAAG,WAAW,CAAA;AAEpC,UAAU,CAAC,MAAM,GAAG,MAAM,CAAA"}
@@ -1,6 +1,6 @@
1
1
  export { useActionPanel } from './use-action-panel';
2
2
  export { useId } from './use-id';
3
- export { useNavigation } from '@termcast/cli/src/internal/navigation';
3
+ export { useNavigation } from 'termcast/src/internal/navigation';
4
4
  export { useUnstableAI } from './use-unstable-ai';
5
5
  export type { ActionPanelState } from './use-action-panel';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAGjD,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAGjD,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  // Export all Raycast API hooks
2
2
  export { useActionPanel } from './use-action-panel';
3
3
  export { useId } from './use-id';
4
- export { useNavigation } from '@termcast/cli/src/internal/navigation';
4
+ export { useNavigation } from 'termcast/src/internal/navigation';
5
5
  export { useUnstableAI } from './use-unstable-ai';
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.tsx"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.tsx"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA"}
@@ -1,4 +1,4 @@
1
- import { logger } from '@termcast/cli/src/logger';
1
+ import { logger } from 'termcast/src/logger';
2
2
  /**
3
3
  * @deprecated No alternative :(
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"use-action-panel.js","sourceRoot":"","sources":["../../src/hooks/use-action-panel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AASjD;;;;;;GAMG;AACH,MAAM,UAAU,cAAc;IAC5B,MAAM,CAAC,IAAI,CAAC,qDAAqD,CAAC,CAAA;IAElE,OAAO;QACL,MAAM,EAAE,CAAC,WAAsB,EAAE,EAAE;YACjC,MAAM,CAAC,IAAI,CAAC,sDAAsD,EAAE;gBAClE,WAAW;aACZ,CAAC,CAAA;QACJ,CAAC;KACF,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"use-action-panel.js","sourceRoot":"","sources":["../../src/hooks/use-action-panel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAS5C;;;;;;GAMG;AACH,MAAM,UAAU,cAAc;IAC5B,MAAM,CAAC,IAAI,CAAC,qDAAqD,CAAC,CAAA;IAElE,OAAO;QACL,MAAM,EAAE,CAAC,WAAsB,EAAE,EAAE;YACjC,MAAM,CAAC,IAAI,CAAC,sDAAsD,EAAE;gBAClE,WAAW;aACZ,CAAC,CAAA;QACJ,CAAC;KACF,CAAA;AACH,CAAC"}
@@ -1,4 +1,4 @@
1
- import { logger } from '@termcast/cli/src/logger';
1
+ import { logger } from 'termcast/src/logger';
2
2
  /**
3
3
  * @deprecated Use `useAI` from `@raycast/utils`
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"use-unstable-ai.js","sourceRoot":"","sources":["../../src/hooks/use-unstable-ai.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AAEjD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,GAAc,EAAE;IAC3C,MAAM,CAAC,IAAI,CACT,oEAAoE,CACrE,CAAA;IACD,OAAO,SAAS,CAAA;AAClB,CAAC,CAAA"}
1
+ {"version":3,"file":"use-unstable-ai.js","sourceRoot":"","sources":["../../src/hooks/use-unstable-ai.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAE5C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,GAAc,EAAE;IAC3C,MAAM,CAAC,IAAI,CACT,oEAAoE,CACrE,CAAA;IACD,OAAO,SAAS,CAAA;AAClB,CAAC,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,58 +1,60 @@
1
- import { LaunchType } from '@termcast/cli/src/apis/environment';
1
+ import { LaunchType } from 'termcast/src/apis/environment';
2
2
  import './globals';
3
- export { List, Grid } from '@termcast/cli/src/components/list';
4
- export { List as default } from '@termcast/cli/src/components/list';
5
- export type { ListProps, ItemProps as ListItemProps, SectionProps as ListSectionProps, DetailProps as ListDetailProps, MetadataProps as ListMetadataProps, DropdownProps as ListDropdownProps, DropdownItemProps as ListDropdownItemProps, DropdownSectionProps as ListDropdownSectionProps, ItemAccessory, Color as ListColor, GridProps, GridItemProps, GridSectionProps, GridInset, } from '@termcast/cli/src/components/list';
6
- export { Dropdown } from '@termcast/cli/src/components/dropdown';
7
- export type { DropdownProps, DropdownItemProps, DropdownSectionProps, } from '@termcast/cli/src/components/dropdown';
8
- export { Action, ActionPanel, ActionStyle, } from '@termcast/cli/src/components/actions';
9
- export type { ActionProps, ActionPanelProps, ActionPanelSectionProps, } from '@termcast/cli/src/components/actions';
10
- export { Detail } from '@termcast/cli/src/components/detail';
11
- export type { DetailProps, DetailPropsWithLoading, } from '@termcast/cli/src/components/detail';
12
- export { Form, useFormContext, useFormSubmit, } from '@termcast/cli/src/components/form/index';
13
- export { TextField } from '@termcast/cli/src/components/form/text-field';
14
- export type { TextFieldProps, TextFieldRef, } from '@termcast/cli/src/components/form/text-field';
15
- export { TextArea } from '@termcast/cli/src/components/form/text-area';
16
- export type { TextAreaProps, TextAreaRef, } from '@termcast/cli/src/components/form/text-area';
17
- export { PasswordField } from '@termcast/cli/src/components/form/password-field';
18
- export type { PasswordFieldProps, PasswordFieldRef, } from '@termcast/cli/src/components/form/password-field';
19
- export { Checkbox } from '@termcast/cli/src/components/form/checkbox';
20
- export type { CheckboxProps, CheckboxRef, } from '@termcast/cli/src/components/form/checkbox';
21
- export { Dropdown as FormDropdown } from '@termcast/cli/src/components/form/dropdown';
22
- export type { DropdownProps as FormDropdownProps, DropdownItemProps as FormDropdownItemProps, DropdownSectionProps as FormDropdownSectionProps, DropdownRef as FormDropdownRef, } from '@termcast/cli/src/components/form/dropdown';
23
- export type { FormProps, FormValues, FormValue, FormItemProps, FormItemRef, FormEvent, FormEventType, } from '@termcast/cli/src/components/form/types';
24
- export { Icon, getIconEmoji, IconComponent, } from '@termcast/cli/src/components/icon';
25
- export { Image, ImageMask } from '@termcast/cli/src/components/image';
26
- export type { ImageProps, ImageSource, FileIcon, ImageLike, } from '@termcast/cli/src/components/image';
27
- export { Alert, confirmAlert } from '@termcast/cli/src/components/alert';
28
- export { MenuBarExtra } from '@termcast/cli/src/components/menubar-extra';
29
- export type { MenuBarExtraProps, MenuBarExtraItemProps, MenuBarExtraSeparatorProps, MenuBarExtraSubmenuProps, MenuBarExtraSectionProps, MenuBarExtraActionEvent, } from '@termcast/cli/src/components/menubar-extra';
30
- export { AI } from '@termcast/cli/src/apis/ai';
31
- export { OAuth } from '@termcast/cli/src/apis/oauth';
32
- export { Color } from '@termcast/cli/src/colors';
33
- export { useNavigation, NavigationContainer, } from '@termcast/cli/src/internal/navigation';
34
- export { useActionPanel, useId, useUnstableAI, } from '@termcast/cli/src/hooks/index';
35
- export type { ActionPanelState } from '@termcast/cli/src/hooks/index';
36
- export { InFocus, useIsInFocus } from '@termcast/cli/src/internal/focus-context';
37
- export { Dialog, DialogProvider, useDialog, } from '@termcast/cli/src/internal/dialog';
38
- export { Toast, showToast, showFailureToast, } from '@termcast/cli/src/apis/toast';
39
- export { Clipboard, copyTextToClipboard, clearClipboard, pasteText, } from '@termcast/cli/src/apis/clipboard';
40
- export { Cache } from '@termcast/cli/src/apis/cache';
41
- export { LocalStorage } from '@termcast/cli/src/apis/localstorage';
42
- export { copyToClipboard, openInBrowser, openFile, pasteContent, showInFinder, moveToTrash, } from '@termcast/cli/src/action-utils';
43
- export { getApplications, getDefaultApplication, getFrontmostApplication, trash, open, captureException, } from '@termcast/cli/src/utils';
44
- export { environment, getSelectedFinderItems, getSelectedText, } from '@termcast/cli/src/apis/environment';
45
- export type { Environment, LaunchProps, } from '@termcast/cli/src/apis/environment';
3
+ export { List, Grid } from 'termcast/src/components/list';
4
+ export { List as default } from 'termcast/src/components/list';
5
+ export type { ListProps, ItemProps as ListItemProps, SectionProps as ListSectionProps, DetailProps as ListDetailProps, MetadataProps as ListMetadataProps, DropdownProps as ListDropdownProps, DropdownItemProps as ListDropdownItemProps, DropdownSectionProps as ListDropdownSectionProps, ItemAccessory, Color as ListColor, GridProps, GridItemProps, GridSectionProps, GridInset, } from 'termcast/src/components/list';
6
+ export { Dropdown } from 'termcast/src/components/dropdown';
7
+ export type { DropdownProps, DropdownItemProps, DropdownSectionProps, } from 'termcast/src/components/dropdown';
8
+ export { Action, ActionPanel, ActionStyle, } from 'termcast/src/components/actions';
9
+ export type { ActionProps, ActionPanelProps, ActionPanelSectionProps, } from 'termcast/src/components/actions';
10
+ export { Detail } from 'termcast/src/components/detail';
11
+ export type { DetailProps, DetailPropsWithLoading, } from 'termcast/src/components/detail';
12
+ export { Form, useFormContext, useFormSubmit, } from 'termcast/src/components/form/index';
13
+ export { TextField } from 'termcast/src/components/form/text-field';
14
+ export type { TextFieldProps, TextFieldRef, } from 'termcast/src/components/form/text-field';
15
+ export { TextArea } from 'termcast/src/components/form/text-area';
16
+ export type { TextAreaProps, TextAreaRef, } from 'termcast/src/components/form/text-area';
17
+ export { PasswordField } from 'termcast/src/components/form/password-field';
18
+ export type { PasswordFieldProps, PasswordFieldRef, } from 'termcast/src/components/form/password-field';
19
+ export { Checkbox } from 'termcast/src/components/form/checkbox';
20
+ export type { CheckboxProps, CheckboxRef, } from 'termcast/src/components/form/checkbox';
21
+ export { Dropdown as FormDropdown } from 'termcast/src/components/form/dropdown';
22
+ export type { DropdownProps as FormDropdownProps, DropdownItemProps as FormDropdownItemProps, DropdownSectionProps as FormDropdownSectionProps, DropdownRef as FormDropdownRef, } from 'termcast/src/components/form/dropdown';
23
+ export type { FormProps, FormValues, FormValue, FormItemProps, FormItemRef, FormEvent, FormEventType, } from 'termcast/src/components/form/types';
24
+ export { Icon, getIconEmoji, getIconShape, IconComponent } from 'termcast/src/components/icon';
25
+ export { Image, ImageMask } from 'termcast/src/components/image';
26
+ export type { ImageProps, ImageSource, FileIcon, ImageLike, } from 'termcast/src/components/image';
27
+ export { Alert, confirmAlert } from 'termcast/src/components/alert';
28
+ export { CommandArguments } from 'termcast/src/components/command-arguments';
29
+ export { MenuBarExtra } from 'termcast/src/components/menubar-extra';
30
+ export type { MenuBarExtraProps, MenuBarExtraItemProps, MenuBarExtraSeparatorProps, MenuBarExtraSubmenuProps, MenuBarExtraSectionProps, MenuBarExtraActionEvent, } from 'termcast/src/components/menubar-extra';
31
+ export { AI } from 'termcast/src/apis/ai';
32
+ export { OAuth } from 'termcast/src/apis/oauth';
33
+ export { Color } from 'termcast/src/colors';
34
+ export { useNavigation, NavigationContainer, } from 'termcast/src/internal/navigation';
35
+ export { useActionPanel, useId, useUnstableAI } from 'termcast/src/hooks/index';
36
+ export type { ActionPanelState } from 'termcast/src/hooks/index';
37
+ export { InFocus, useIsInFocus } from 'termcast/src/internal/focus-context';
38
+ export { Dialog, DialogProvider, useDialog } from 'termcast/src/internal/dialog';
39
+ export { Toast, showToast, showFailureToast } from 'termcast/src/apis/toast';
40
+ export { Clipboard, copyTextToClipboard, clearClipboard, pasteText, } from 'termcast/src/apis/clipboard';
41
+ export { Cache } from 'termcast/src/apis/cache';
42
+ export { LocalStorage } from 'termcast/src/apis/localstorage';
43
+ export { copyToClipboard, openInBrowser, openFile, pasteContent, showInFinder, moveToTrash, } from 'termcast/src/action-utils';
44
+ export { getApplications, getDefaultApplication, getFrontmostApplication, trash, open, captureException, } from 'termcast/src/utils';
45
+ export { environment, getSelectedFinderItems, getSelectedText, } from 'termcast/src/apis/environment';
46
+ export type { Environment, LaunchProps } from 'termcast/src/apis/environment';
46
47
  export { LaunchType };
47
- export { getPreferenceValues, openExtensionPreferences, openCommandPreferences, } from '@termcast/cli/src/apis/preferences';
48
- export type { PreferenceValues } from '@termcast/cli/src/apis/preferences';
49
- export type { CommonProps } from '@termcast/cli/src/utils';
50
- export { Theme } from '@termcast/cli/src/theme';
51
- export { logger } from '@termcast/cli/src/logger';
52
- export { useStore } from '@termcast/cli/src/state';
53
- export type { DialogPosition } from '@termcast/cli/src/state';
54
- export { Providers } from '@termcast/cli/src/internal/providers';
55
- export { renderWithProviders } from '@termcast/cli/src/utils';
56
- export { closeMainWindow, PopToRootType } from '@termcast/cli/src/apis/window';
57
- export { showHUD } from '@termcast/cli/src/apis/hud';
48
+ export { getPreferenceValues, openExtensionPreferences, openCommandPreferences, } from 'termcast/src/apis/preferences';
49
+ export type { PreferenceValues } from 'termcast/src/apis/preferences';
50
+ export type { CommonProps } from 'termcast/src/utils';
51
+ export { Theme } from 'termcast/src/theme';
52
+ export { logger } from 'termcast/src/logger';
53
+ export { useStore } from 'termcast/src/state';
54
+ export type { DialogPosition } from 'termcast/src/state';
55
+ export { TermcastProvider } from 'termcast/src/internal/providers';
56
+ export { renderWithProviders } from 'termcast/src/utils';
57
+ export { closeMainWindow, PopToRootType } from 'termcast/src/apis/window';
58
+ export { showHUD } from 'termcast/src/apis/hud';
59
+ export { startCompiledExtension } from 'termcast/src/extensions/dev';
58
60
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAC/D,OAAO,WAAW,CAAA;AAKlB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAA;AAC9D,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAA;AACnE,YAAY,EACV,SAAS,EACT,SAAS,IAAI,aAAa,EAC1B,YAAY,IAAI,gBAAgB,EAChC,WAAW,IAAI,eAAe,EAC9B,aAAa,IAAI,iBAAiB,EAClC,aAAa,IAAI,iBAAiB,EAClC,iBAAiB,IAAI,qBAAqB,EAC1C,oBAAoB,IAAI,wBAAwB,EAChD,aAAa,EACb,KAAK,IAAI,SAAS,EAClB,SAAS,EACT,aAA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AAc,EAAE,MAAM,oBAAoB,CAAA;AAGxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAGlE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAGxD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAGzE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAG/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA"}
package/dist/index.js CHANGED
@@ -1,71 +1,75 @@
1
1
  // Import globals to set up global references
2
- import { LaunchType } from '@termcast/cli/src/apis/environment';
2
+ import { LaunchType } from 'termcast/src/apis/environment';
3
3
  import './globals';
4
4
  // termcastApi will be set by the runtime when needed
5
5
  // Core UI Components - Lists
6
- export { List, Grid } from '@termcast/cli/src/components/list';
7
- export { List as default } from '@termcast/cli/src/components/list';
6
+ export { List, Grid } from 'termcast/src/components/list';
7
+ export { List as default } from 'termcast/src/components/list';
8
8
  // Core UI Components - Dropdowns
9
- export { Dropdown } from '@termcast/cli/src/components/dropdown';
9
+ export { Dropdown } from 'termcast/src/components/dropdown';
10
10
  // Core UI Components - Actions
11
- export { Action, ActionPanel, ActionStyle, } from '@termcast/cli/src/components/actions';
11
+ export { Action, ActionPanel, ActionStyle, } from 'termcast/src/components/actions';
12
12
  // Core UI Components - Detail
13
- export { Detail } from '@termcast/cli/src/components/detail';
13
+ export { Detail } from 'termcast/src/components/detail';
14
14
  // Form Components
15
- export { Form, useFormContext, useFormSubmit, } from '@termcast/cli/src/components/form/index';
16
- export { TextField } from '@termcast/cli/src/components/form/text-field';
17
- export { TextArea } from '@termcast/cli/src/components/form/text-area';
18
- export { PasswordField } from '@termcast/cli/src/components/form/password-field';
19
- export { Checkbox } from '@termcast/cli/src/components/form/checkbox';
20
- export { Dropdown as FormDropdown } from '@termcast/cli/src/components/form/dropdown';
15
+ export { Form, useFormContext, useFormSubmit, } from 'termcast/src/components/form/index';
16
+ export { TextField } from 'termcast/src/components/form/text-field';
17
+ export { TextArea } from 'termcast/src/components/form/text-area';
18
+ export { PasswordField } from 'termcast/src/components/form/password-field';
19
+ export { Checkbox } from 'termcast/src/components/form/checkbox';
20
+ export { Dropdown as FormDropdown } from 'termcast/src/components/form/dropdown';
21
21
  // Icons and Images
22
- export { Icon, getIconEmoji, IconComponent, } from '@termcast/cli/src/components/icon';
23
- export { Image, ImageMask } from '@termcast/cli/src/components/image';
22
+ export { Icon, getIconEmoji, getIconShape, IconComponent } from 'termcast/src/components/icon';
23
+ export { Image, ImageMask } from 'termcast/src/components/image';
24
24
  // Alerts
25
- export { Alert, confirmAlert } from '@termcast/cli/src/components/alert';
25
+ export { Alert, confirmAlert } from 'termcast/src/components/alert';
26
+ // Command Arguments
27
+ export { CommandArguments } from 'termcast/src/components/command-arguments';
26
28
  // MenuBar
27
- export { MenuBarExtra } from '@termcast/cli/src/components/menubar-extra';
29
+ export { MenuBarExtra } from 'termcast/src/components/menubar-extra';
28
30
  // AI
29
- export { AI } from '@termcast/cli/src/apis/ai';
31
+ export { AI } from 'termcast/src/apis/ai';
30
32
  // OAuth
31
- export { OAuth } from '@termcast/cli/src/apis/oauth';
33
+ export { OAuth } from 'termcast/src/apis/oauth';
32
34
  // Colors
33
- export { Color } from '@termcast/cli/src/colors';
35
+ export { Color } from 'termcast/src/colors';
34
36
  // Navigation
35
- export { useNavigation, NavigationContainer, } from '@termcast/cli/src/internal/navigation';
37
+ export { useNavigation, NavigationContainer, } from 'termcast/src/internal/navigation';
36
38
  // Hooks
37
- export { useActionPanel, useId, useUnstableAI, } from '@termcast/cli/src/hooks/index';
39
+ export { useActionPanel, useId, useUnstableAI } from 'termcast/src/hooks/index';
38
40
  // Focus Context
39
- export { InFocus, useIsInFocus } from '@termcast/cli/src/internal/focus-context';
41
+ export { InFocus, useIsInFocus } from 'termcast/src/internal/focus-context';
40
42
  // Dialog
41
- export { Dialog, DialogProvider, useDialog, } from '@termcast/cli/src/internal/dialog';
43
+ export { Dialog, DialogProvider, useDialog } from 'termcast/src/internal/dialog';
42
44
  // Toast
43
- export { Toast, showToast, showFailureToast, } from '@termcast/cli/src/apis/toast';
45
+ export { Toast, showToast, showFailureToast } from 'termcast/src/apis/toast';
44
46
  // Clipboard
45
- export { Clipboard, copyTextToClipboard, clearClipboard, pasteText, } from '@termcast/cli/src/apis/clipboard';
47
+ export { Clipboard, copyTextToClipboard, clearClipboard, pasteText, } from 'termcast/src/apis/clipboard';
46
48
  // Storage
47
- export { Cache } from '@termcast/cli/src/apis/cache';
48
- export { LocalStorage } from '@termcast/cli/src/apis/localstorage';
49
+ export { Cache } from 'termcast/src/apis/cache';
50
+ export { LocalStorage } from 'termcast/src/apis/localstorage';
49
51
  // Utilities
50
- export { copyToClipboard, openInBrowser, openFile, pasteContent, showInFinder, moveToTrash, } from '@termcast/cli/src/action-utils';
51
- export { getApplications, getDefaultApplication, getFrontmostApplication, trash, open, captureException, } from '@termcast/cli/src/utils';
52
+ export { copyToClipboard, openInBrowser, openFile, pasteContent, showInFinder, moveToTrash, } from 'termcast/src/action-utils';
53
+ export { getApplications, getDefaultApplication, getFrontmostApplication, trash, open, captureException, } from 'termcast/src/utils';
52
54
  // Environment
53
- export { environment, getSelectedFinderItems, getSelectedText, } from '@termcast/cli/src/apis/environment';
55
+ export { environment, getSelectedFinderItems, getSelectedText, } from 'termcast/src/apis/environment';
54
56
  export { LaunchType };
55
57
  // Preferences
56
- export { getPreferenceValues, openExtensionPreferences, openCommandPreferences, } from '@termcast/cli/src/apis/preferences';
58
+ export { getPreferenceValues, openExtensionPreferences, openCommandPreferences, } from 'termcast/src/apis/preferences';
57
59
  // Theme
58
- export { Theme } from '@termcast/cli/src/theme';
60
+ export { Theme } from 'termcast/src/theme';
59
61
  // Logger
60
- export { logger } from '@termcast/cli/src/logger';
62
+ export { logger } from 'termcast/src/logger';
61
63
  // State Management (internal use)
62
- export { useStore } from '@termcast/cli/src/state';
64
+ export { useStore } from 'termcast/src/state';
63
65
  // Providers (for app setup)
64
- export { Providers } from '@termcast/cli/src/internal/providers';
66
+ export { TermcastProvider } from 'termcast/src/internal/providers';
65
67
  // Helper function for rendering examples
66
- export { renderWithProviders } from '@termcast/cli/src/utils';
68
+ export { renderWithProviders } from 'termcast/src/utils';
67
69
  // Window Management
68
- export { closeMainWindow, PopToRootType } from '@termcast/cli/src/apis/window';
70
+ export { closeMainWindow, PopToRootType } from 'termcast/src/apis/window';
69
71
  // HUD
70
- export { showHUD } from '@termcast/cli/src/apis/hud';
72
+ export { showHUD } from 'termcast/src/apis/hud';
73
+ // Compile support
74
+ export { startCompiledExtension } from 'termcast/src/extensions/dev';
71
75
  //# sourceMappingURL=index.js.map