@databricks/appkit-ui 0.11.2 → 0.12.1

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 (447) hide show
  1. package/CLAUDE.md +155 -143
  2. package/NOTICE.md +1 -0
  3. package/dist/cli/commands/docs.js +80 -17
  4. package/dist/cli/commands/docs.js.map +1 -1
  5. package/dist/react/charts/area/index.d.ts +2 -2
  6. package/dist/react/charts/bar/index.d.ts +2 -2
  7. package/dist/react/charts/base.d.ts +2 -2
  8. package/dist/react/charts/base.d.ts.map +1 -1
  9. package/dist/react/charts/base.js.map +1 -1
  10. package/dist/react/charts/chart-error-boundary.js.map +1 -1
  11. package/dist/react/charts/create-chart.d.ts +2 -2
  12. package/dist/react/charts/create-chart.d.ts.map +1 -1
  13. package/dist/react/charts/create-chart.js.map +1 -1
  14. package/dist/react/charts/empty.js.map +1 -1
  15. package/dist/react/charts/error.js.map +1 -1
  16. package/dist/react/charts/heatmap/index.d.ts +2 -2
  17. package/dist/react/charts/line/index.d.ts +2 -2
  18. package/dist/react/charts/loading.js.map +1 -1
  19. package/dist/react/charts/options.d.ts.map +1 -1
  20. package/dist/react/charts/pie/index.d.ts +3 -3
  21. package/dist/react/charts/radar/index.d.ts +2 -2
  22. package/dist/react/charts/scatter/index.d.ts +2 -2
  23. package/dist/react/charts/wrapper.d.ts +2 -2
  24. package/dist/react/charts/wrapper.d.ts.map +1 -1
  25. package/dist/react/charts/wrapper.js.map +1 -1
  26. package/dist/react/genie/genie-chat-input.d.ts +23 -0
  27. package/dist/react/genie/genie-chat-input.d.ts.map +1 -0
  28. package/dist/react/genie/genie-chat-input.js +58 -0
  29. package/dist/react/genie/genie-chat-input.js.map +1 -0
  30. package/dist/react/genie/genie-chat-message-list.d.ts +21 -0
  31. package/dist/react/genie/genie-chat-message-list.d.ts.map +1 -0
  32. package/dist/react/genie/genie-chat-message-list.js +64 -0
  33. package/dist/react/genie/genie-chat-message-list.js.map +1 -0
  34. package/dist/react/genie/genie-chat-message.d.ts +18 -0
  35. package/dist/react/genie/genie-chat-message.d.ts.map +1 -0
  36. package/dist/react/genie/genie-chat-message.js +71 -0
  37. package/dist/react/genie/genie-chat-message.js.map +1 -0
  38. package/dist/react/genie/genie-chat.d.ts +14 -0
  39. package/dist/react/genie/genie-chat.d.ts.map +1 -0
  40. package/dist/react/genie/genie-chat.js +47 -0
  41. package/dist/react/genie/genie-chat.js.map +1 -0
  42. package/dist/react/genie/index.js +5 -0
  43. package/dist/react/genie/types.d.ts +44 -0
  44. package/dist/react/genie/types.d.ts.map +1 -0
  45. package/dist/react/genie/use-genie-chat.d.ts +17 -0
  46. package/dist/react/genie/use-genie-chat.d.ts.map +1 -0
  47. package/dist/react/genie/use-genie-chat.js +254 -0
  48. package/dist/react/genie/use-genie-chat.js.map +1 -0
  49. package/dist/react/index.d.ts +8 -1
  50. package/dist/react/index.js +14 -8
  51. package/dist/react/portal-container-context.js.map +1 -1
  52. package/dist/react/table/data-table.js +2 -2
  53. package/dist/react/table/data-table.js.map +1 -1
  54. package/dist/react/table/empty.js.map +1 -1
  55. package/dist/react/table/error.js.map +1 -1
  56. package/dist/react/table/loading.js.map +1 -1
  57. package/dist/react/table/table-wrapper.js +2 -2
  58. package/dist/react/table/table-wrapper.js.map +1 -1
  59. package/dist/react/ui/accordion.d.ts +5 -5
  60. package/dist/react/ui/accordion.d.ts.map +1 -1
  61. package/dist/react/ui/accordion.js.map +1 -1
  62. package/dist/react/ui/alert-dialog.d.ts +12 -12
  63. package/dist/react/ui/alert-dialog.js +1 -1
  64. package/dist/react/ui/alert-dialog.js.map +1 -1
  65. package/dist/react/ui/alert.d.ts +4 -4
  66. package/dist/react/ui/alert.d.ts.map +1 -1
  67. package/dist/react/ui/alert.js.map +1 -1
  68. package/dist/react/ui/aspect-ratio.d.ts +2 -2
  69. package/dist/react/ui/aspect-ratio.js.map +1 -1
  70. package/dist/react/ui/avatar.d.ts +4 -4
  71. package/dist/react/ui/avatar.js.map +1 -1
  72. package/dist/react/ui/badge.d.ts +4 -4
  73. package/dist/react/ui/badge.js.map +1 -1
  74. package/dist/react/ui/breadcrumb.d.ts +8 -8
  75. package/dist/react/ui/breadcrumb.js +1 -1
  76. package/dist/react/ui/breadcrumb.js.map +1 -1
  77. package/dist/react/ui/button-group.d.ts +6 -6
  78. package/dist/react/ui/button-group.js.map +1 -1
  79. package/dist/react/ui/button.d.ts +4 -4
  80. package/dist/react/ui/button.js.map +1 -1
  81. package/dist/react/ui/calendar.d.ts +3 -3
  82. package/dist/react/ui/calendar.js.map +1 -1
  83. package/dist/react/ui/card.d.ts +8 -8
  84. package/dist/react/ui/card.js.map +1 -1
  85. package/dist/react/ui/carousel.d.ts +6 -6
  86. package/dist/react/ui/carousel.js.map +1 -1
  87. package/dist/react/ui/chart.d.ts +5 -5
  88. package/dist/react/ui/chart.js.map +1 -1
  89. package/dist/react/ui/checkbox.d.ts +2 -2
  90. package/dist/react/ui/checkbox.js.map +1 -1
  91. package/dist/react/ui/collapsible.d.ts +4 -4
  92. package/dist/react/ui/collapsible.js.map +1 -1
  93. package/dist/react/ui/command.d.ts +10 -10
  94. package/dist/react/ui/command.js.map +1 -1
  95. package/dist/react/ui/context-menu.d.ts +16 -16
  96. package/dist/react/ui/context-menu.js.map +1 -1
  97. package/dist/react/ui/dialog.d.ts +11 -11
  98. package/dist/react/ui/dialog.d.ts.map +1 -1
  99. package/dist/react/ui/dialog.js.map +1 -1
  100. package/dist/react/ui/drawer.d.ts +11 -11
  101. package/dist/react/ui/drawer.js.map +1 -1
  102. package/dist/react/ui/dropdown-menu.d.ts +16 -16
  103. package/dist/react/ui/dropdown-menu.js.map +1 -1
  104. package/dist/react/ui/empty.d.ts +7 -7
  105. package/dist/react/ui/empty.js.map +1 -1
  106. package/dist/react/ui/field.d.ts +11 -11
  107. package/dist/react/ui/field.js.map +1 -1
  108. package/dist/react/ui/form.d.ts +7 -7
  109. package/dist/react/ui/form.js.map +1 -1
  110. package/dist/react/ui/hover-card.d.ts +4 -4
  111. package/dist/react/ui/hover-card.js.map +1 -1
  112. package/dist/react/ui/index.js +5 -5
  113. package/dist/react/ui/input-group.d.ts +7 -7
  114. package/dist/react/ui/input-group.js.map +1 -1
  115. package/dist/react/ui/input-otp.d.ts +5 -5
  116. package/dist/react/ui/input-otp.js.map +1 -1
  117. package/dist/react/ui/input.d.ts +2 -2
  118. package/dist/react/ui/input.js.map +1 -1
  119. package/dist/react/ui/item.d.ts +11 -11
  120. package/dist/react/ui/item.js.map +1 -1
  121. package/dist/react/ui/kbd.d.ts +3 -3
  122. package/dist/react/ui/kbd.js.map +1 -1
  123. package/dist/react/ui/label.d.ts +2 -2
  124. package/dist/react/ui/label.js.map +1 -1
  125. package/dist/react/ui/menubar.d.ts +17 -17
  126. package/dist/react/ui/menubar.js.map +1 -1
  127. package/dist/react/ui/navigation-menu.d.ts +9 -9
  128. package/dist/react/ui/navigation-menu.js +1 -1
  129. package/dist/react/ui/navigation-menu.js.map +1 -1
  130. package/dist/react/ui/pagination.d.ts +8 -8
  131. package/dist/react/ui/pagination.js.map +1 -1
  132. package/dist/react/ui/popover.d.ts +5 -5
  133. package/dist/react/ui/popover.js.map +1 -1
  134. package/dist/react/ui/progress.d.ts +2 -2
  135. package/dist/react/ui/progress.js.map +1 -1
  136. package/dist/react/ui/radio-group.d.ts +3 -3
  137. package/dist/react/ui/radio-group.js.map +1 -1
  138. package/dist/react/ui/resizable.d.ts +4 -4
  139. package/dist/react/ui/resizable.js.map +1 -1
  140. package/dist/react/ui/scroll-area.d.ts +3 -3
  141. package/dist/react/ui/scroll-area.js.map +1 -1
  142. package/dist/react/ui/select.d.ts +11 -11
  143. package/dist/react/ui/select.js.map +1 -1
  144. package/dist/react/ui/separator.d.ts +2 -2
  145. package/dist/react/ui/separator.js.map +1 -1
  146. package/dist/react/ui/sheet.d.ts +9 -9
  147. package/dist/react/ui/sheet.js.map +1 -1
  148. package/dist/react/ui/sidebar.d.ts +24 -24
  149. package/dist/react/ui/sidebar.js +2 -2
  150. package/dist/react/ui/sidebar.js.map +1 -1
  151. package/dist/react/ui/skeleton.d.ts +2 -2
  152. package/dist/react/ui/skeleton.js.map +1 -1
  153. package/dist/react/ui/slider.d.ts +2 -2
  154. package/dist/react/ui/slider.js.map +1 -1
  155. package/dist/react/ui/sonner.d.ts +2 -2
  156. package/dist/react/ui/sonner.js.map +1 -1
  157. package/dist/react/ui/spinner.d.ts +2 -2
  158. package/dist/react/ui/spinner.js.map +1 -1
  159. package/dist/react/ui/switch.d.ts +2 -2
  160. package/dist/react/ui/switch.js.map +1 -1
  161. package/dist/react/ui/table.d.ts +9 -9
  162. package/dist/react/ui/table.js.map +1 -1
  163. package/dist/react/ui/tabs.d.ts +5 -5
  164. package/dist/react/ui/tabs.js.map +1 -1
  165. package/dist/react/ui/textarea.d.ts +2 -2
  166. package/dist/react/ui/textarea.js.map +1 -1
  167. package/dist/react/ui/toggle-group.d.ts +3 -3
  168. package/dist/react/ui/toggle-group.js.map +1 -1
  169. package/dist/react/ui/toggle.d.ts +2 -2
  170. package/dist/react/ui/toggle.js.map +1 -1
  171. package/dist/react/ui/tooltip.d.ts +5 -5
  172. package/dist/react/ui/tooltip.d.ts.map +1 -1
  173. package/dist/react/ui/tooltip.js.map +1 -1
  174. package/dist/shared/src/genie.d.ts +48 -0
  175. package/dist/shared/src/genie.d.ts.map +1 -0
  176. package/docs/{docs/api → api}/appkit/Class.AppKitError.md +8 -8
  177. package/docs/{docs/api → api}/appkit/Class.AuthenticationError.md +9 -9
  178. package/docs/{docs/api → api}/appkit/Class.ConfigurationError.md +9 -9
  179. package/docs/{docs/api → api}/appkit/Class.ConnectionError.md +9 -9
  180. package/docs/{docs/api → api}/appkit/Class.ExecutionError.md +9 -9
  181. package/docs/{docs/api → api}/appkit/Class.InitializationError.md +9 -9
  182. package/docs/{docs/api → api}/appkit/Class.Plugin.md +2 -2
  183. package/docs/{docs/api → api}/appkit/Class.ResourceRegistry.md +11 -11
  184. package/docs/{docs/api → api}/appkit/Class.ServerError.md +9 -9
  185. package/docs/{docs/api → api}/appkit/Class.TunnelError.md +9 -9
  186. package/docs/{docs/api → api}/appkit/Class.ValidationError.md +9 -9
  187. package/docs/{docs/api → api}/appkit/Function.createApp.md +3 -3
  188. package/docs/{docs/api → api}/appkit/Function.createLakebasePool.md +1 -1
  189. package/docs/{docs/api → api}/appkit/Function.generateDatabaseCredential.md +2 -2
  190. package/docs/{docs/api → api}/appkit/Function.getLakebaseOrmConfig.md +1 -1
  191. package/docs/{docs/api → api}/appkit/Function.getLakebasePgConfig.md +1 -1
  192. package/docs/{docs/api → api}/appkit/Function.getPluginManifest.md +1 -1
  193. package/docs/{docs/api → api}/appkit/Function.getUsernameWithApiLookup.md +1 -1
  194. package/docs/{docs/api → api}/appkit/Function.getWorkspaceClient.md +1 -1
  195. package/docs/{docs/api → api}/appkit/Interface.ResourceEntry.md +8 -8
  196. package/docs/{docs/api → api}/appkit/Interface.ResourceRequirement.md +1 -1
  197. package/docs/api/appkit-ui/genie/GenieChat.md +43 -0
  198. package/docs/api/appkit-ui/genie/GenieChatInput.md +27 -0
  199. package/docs/api/appkit-ui/genie/GenieChatMessage.md +25 -0
  200. package/docs/api/appkit-ui/genie/GenieChatMessageList.md +26 -0
  201. package/docs/{docs/api → api}/appkit-ui/styling.md +1 -1
  202. package/docs/api/appkit.md +78 -0
  203. package/docs/{docs/api.md → api.md} +4 -4
  204. package/docs/{docs/app-management.md → app-management.md} +2 -2
  205. package/docs/{docs/architecture.md → architecture.md} +6 -6
  206. package/docs/{docs/configuration.md → configuration.md} +2 -2
  207. package/docs/{docs/development → development}/ai-assisted-development.md +5 -3
  208. package/docs/{docs/development → development}/llm-guide.md +7 -6
  209. package/docs/{docs/development → development}/local-development.md +2 -2
  210. package/docs/{docs/development → development}/project-setup.md +3 -3
  211. package/docs/{docs/development → development}/remote-bridge.md +1 -1
  212. package/docs/{docs/development → development}/type-generation.md +2 -2
  213. package/docs/development.md +22 -0
  214. package/docs/{docs/plugins → plugins}/analytics.md +1 -1
  215. package/docs/{docs/plugins → plugins}/custom-plugins.md +6 -6
  216. package/docs/{docs/plugins → plugins}/lakebase.md +25 -24
  217. package/docs/{docs/plugins.md → plugins.md} +2 -2
  218. package/{docs/docs.md → docs.md} +4 -4
  219. package/llms.txt +155 -143
  220. package/package.json +3 -1
  221. package/docs/docs/api/appkit/Class.AppKitError/index.html +0 -79
  222. package/docs/docs/api/appkit/Class.AuthenticationError/index.html +0 -110
  223. package/docs/docs/api/appkit/Class.ConfigurationError/index.html +0 -112
  224. package/docs/docs/api/appkit/Class.ConnectionError/index.html +0 -120
  225. package/docs/docs/api/appkit/Class.ExecutionError/index.html +0 -116
  226. package/docs/docs/api/appkit/Class.InitializationError/index.html +0 -104
  227. package/docs/docs/api/appkit/Class.Plugin/index.html +0 -168
  228. package/docs/docs/api/appkit/Class.ResourceRegistry/index.html +0 -150
  229. package/docs/docs/api/appkit/Class.ServerError/index.html +0 -108
  230. package/docs/docs/api/appkit/Class.TunnelError/index.html +0 -108
  231. package/docs/docs/api/appkit/Class.ValidationError/index.html +0 -106
  232. package/docs/docs/api/appkit/Enumeration.RequestedClaimsPermissionSet/index.html +0 -21
  233. package/docs/docs/api/appkit/Enumeration.ResourceType/index.html +0 -53
  234. package/docs/docs/api/appkit/Function.appKitTypesPlugin/index.html +0 -24
  235. package/docs/docs/api/appkit/Function.createApp/index.html +0 -24
  236. package/docs/docs/api/appkit/Function.createLakebasePool/index.html +0 -24
  237. package/docs/docs/api/appkit/Function.generateDatabaseCredential/index.html +0 -30
  238. package/docs/docs/api/appkit/Function.getExecutionContext/index.html +0 -26
  239. package/docs/docs/api/appkit/Function.getLakebaseOrmConfig/index.html +0 -39
  240. package/docs/docs/api/appkit/Function.getLakebasePgConfig/index.html +0 -27
  241. package/docs/docs/api/appkit/Function.getPluginManifest/index.html +0 -26
  242. package/docs/docs/api/appkit/Function.getResourceRequirements/index.html +0 -28
  243. package/docs/docs/api/appkit/Function.getUsernameWithApiLookup/index.html +0 -35
  244. package/docs/docs/api/appkit/Function.getWorkspaceClient/index.html +0 -22
  245. package/docs/docs/api/appkit/Function.isSQLTypeMarker/index.html +0 -25
  246. package/docs/docs/api/appkit/Interface.BasePluginConfig/index.html +0 -28
  247. package/docs/docs/api/appkit/Interface.CacheConfig/index.html +0 -63
  248. package/docs/docs/api/appkit/Interface.DatabaseCredential/index.html +0 -28
  249. package/docs/docs/api/appkit/Interface.GenerateDatabaseCredentialRequest/index.html +0 -32
  250. package/docs/docs/api/appkit/Interface.ITelemetry/index.html +0 -73
  251. package/docs/docs/api/appkit/Interface.LakebasePoolConfig/index.html +0 -75
  252. package/docs/docs/api/appkit/Interface.PluginManifest/index.html +0 -67
  253. package/docs/docs/api/appkit/Interface.RequestedClaims/index.html +0 -26
  254. package/docs/docs/api/appkit/Interface.RequestedResource/index.html +0 -27
  255. package/docs/docs/api/appkit/Interface.ResourceEntry/index.html +0 -83
  256. package/docs/docs/api/appkit/Interface.ResourceFieldEntry/index.html +0 -26
  257. package/docs/docs/api/appkit/Interface.ResourceRequirement/index.html +0 -51
  258. package/docs/docs/api/appkit/Interface.StreamExecutionSettings/index.html +0 -26
  259. package/docs/docs/api/appkit/Interface.TelemetryConfig/index.html +0 -32
  260. package/docs/docs/api/appkit/Interface.ValidationResult/index.html +0 -29
  261. package/docs/docs/api/appkit/TypeAlias.ConfigSchema/index.html +0 -21
  262. package/docs/docs/api/appkit/TypeAlias.IAppRouter/index.html +0 -18
  263. package/docs/docs/api/appkit/TypeAlias.ResourcePermission/index.html +0 -18
  264. package/docs/docs/api/appkit/TypeAlias.ToPlugin/index.html +0 -23
  265. package/docs/docs/api/appkit/Variable.sql/index.html +0 -98
  266. package/docs/docs/api/appkit/index.html +0 -30
  267. package/docs/docs/api/appkit-ui/data/AreaChart/index.html +0 -29
  268. package/docs/docs/api/appkit-ui/data/BarChart/index.html +0 -29
  269. package/docs/docs/api/appkit-ui/data/DataTable/index.html +0 -36
  270. package/docs/docs/api/appkit-ui/data/DonutChart/index.html +0 -29
  271. package/docs/docs/api/appkit-ui/data/HeatmapChart/index.html +0 -35
  272. package/docs/docs/api/appkit-ui/data/LineChart/index.html +0 -29
  273. package/docs/docs/api/appkit-ui/data/PieChart/index.html +0 -29
  274. package/docs/docs/api/appkit-ui/data/RadarChart/index.html +0 -29
  275. package/docs/docs/api/appkit-ui/data/ScatterChart/index.html +0 -29
  276. package/docs/docs/api/appkit-ui/index.html +0 -23
  277. package/docs/docs/api/appkit-ui/styling/index.html +0 -74
  278. package/docs/docs/api/appkit-ui/ui/Accordion/index.html +0 -48
  279. package/docs/docs/api/appkit-ui/ui/Alert/index.html +0 -41
  280. package/docs/docs/api/appkit-ui/ui/AlertDialog/index.html +0 -97
  281. package/docs/docs/api/appkit-ui/ui/AspectRatio/index.html +0 -27
  282. package/docs/docs/api/appkit-ui/ui/Avatar/index.html +0 -41
  283. package/docs/docs/api/appkit-ui/ui/Badge/index.html +0 -27
  284. package/docs/docs/api/appkit-ui/ui/Breadcrumb/index.html +0 -69
  285. package/docs/docs/api/appkit-ui/ui/Button/index.html +0 -27
  286. package/docs/docs/api/appkit-ui/ui/ButtonGroup/index.html +0 -38
  287. package/docs/docs/api/appkit-ui/ui/Calendar/index.html +0 -34
  288. package/docs/docs/api/appkit-ui/ui/Card/index.html +0 -69
  289. package/docs/docs/api/appkit-ui/ui/Carousel/index.html +0 -55
  290. package/docs/docs/api/appkit-ui/ui/ChartContainer/index.html +0 -58
  291. package/docs/docs/api/appkit-ui/ui/Checkbox/index.html +0 -27
  292. package/docs/docs/api/appkit-ui/ui/Collapsible/index.html +0 -41
  293. package/docs/docs/api/appkit-ui/ui/Command/index.html +0 -83
  294. package/docs/docs/api/appkit-ui/ui/ContextMenu/index.html +0 -111
  295. package/docs/docs/api/appkit-ui/ui/Dialog/index.html +0 -90
  296. package/docs/docs/api/appkit-ui/ui/Drawer/index.html +0 -90
  297. package/docs/docs/api/appkit-ui/ui/DropdownMenu/index.html +0 -111
  298. package/docs/docs/api/appkit-ui/ui/Empty/index.html +0 -54
  299. package/docs/docs/api/appkit-ui/ui/Field/index.html +0 -87
  300. package/docs/docs/api/appkit-ui/ui/FormControl/index.html +0 -59
  301. package/docs/docs/api/appkit-ui/ui/HoverCard/index.html +0 -39
  302. package/docs/docs/api/appkit-ui/ui/Input/index.html +0 -27
  303. package/docs/docs/api/appkit-ui/ui/InputGroup/index.html +0 -59
  304. package/docs/docs/api/appkit-ui/ui/InputOTP/index.html +0 -48
  305. package/docs/docs/api/appkit-ui/ui/Item/index.html +0 -78
  306. package/docs/docs/api/appkit-ui/ui/Kbd/index.html +0 -30
  307. package/docs/docs/api/appkit-ui/ui/Label/index.html +0 -27
  308. package/docs/docs/api/appkit-ui/ui/Menubar/index.html +0 -117
  309. package/docs/docs/api/appkit-ui/ui/NavigationMenu/index.html +0 -76
  310. package/docs/docs/api/appkit-ui/ui/Pagination/index.html +0 -69
  311. package/docs/docs/api/appkit-ui/ui/Popover/index.html +0 -45
  312. package/docs/docs/api/appkit-ui/ui/Progress/index.html +0 -27
  313. package/docs/docs/api/appkit-ui/ui/RadioGroup/index.html +0 -33
  314. package/docs/docs/api/appkit-ui/ui/ResizableHandle/index.html +0 -41
  315. package/docs/docs/api/appkit-ui/ui/ScrollArea/index.html +0 -34
  316. package/docs/docs/api/appkit-ui/ui/Select/index.html +0 -82
  317. package/docs/docs/api/appkit-ui/ui/Separator/index.html +0 -27
  318. package/docs/docs/api/appkit-ui/ui/Sheet/index.html +0 -76
  319. package/docs/docs/api/appkit-ui/ui/Sidebar/index.html +0 -183
  320. package/docs/docs/api/appkit-ui/ui/Skeleton/index.html +0 -27
  321. package/docs/docs/api/appkit-ui/ui/Slider/index.html +0 -27
  322. package/docs/docs/api/appkit-ui/ui/Spinner/index.html +0 -24
  323. package/docs/docs/api/appkit-ui/ui/Switch/index.html +0 -27
  324. package/docs/docs/api/appkit-ui/ui/Table/index.html +0 -69
  325. package/docs/docs/api/appkit-ui/ui/Tabs/index.html +0 -48
  326. package/docs/docs/api/appkit-ui/ui/Textarea/index.html +0 -27
  327. package/docs/docs/api/appkit-ui/ui/Toaster/index.html +0 -27
  328. package/docs/docs/api/appkit-ui/ui/Toggle/index.html +0 -27
  329. package/docs/docs/api/appkit-ui/ui/ToggleGroup/index.html +0 -33
  330. package/docs/docs/api/appkit-ui/ui/Tooltip/index.html +0 -46
  331. package/docs/docs/api/appkit.md +0 -78
  332. package/docs/docs/api/index.html +0 -28
  333. package/docs/docs/app-management/index.html +0 -106
  334. package/docs/docs/architecture/index.html +0 -71
  335. package/docs/docs/category/development/index.html +0 -16
  336. package/docs/docs/category/development.md +0 -3
  337. package/docs/docs/configuration/index.html +0 -66
  338. package/docs/docs/core-principles/index.html +0 -38
  339. package/docs/docs/development/ai-assisted-development/index.html +0 -33
  340. package/docs/docs/development/index.html +0 -35
  341. package/docs/docs/development/llm-guide/index.html +0 -84
  342. package/docs/docs/development/local-development/index.html +0 -27
  343. package/docs/docs/development/project-setup/index.html +0 -69
  344. package/docs/docs/development/remote-bridge/index.html +0 -76
  345. package/docs/docs/development/type-generation/index.html +0 -65
  346. package/docs/docs/development.md +0 -22
  347. package/docs/docs/index.html +0 -58
  348. package/docs/docs/plugins/analytics/index.html +0 -53
  349. package/docs/docs/plugins/caching/index.html +0 -23
  350. package/docs/docs/plugins/custom-plugins/index.html +0 -49
  351. package/docs/docs/plugins/execution-context/index.html +0 -40
  352. package/docs/docs/plugins/index.html +0 -29
  353. package/docs/docs/plugins/lakebase/index.html +0 -62
  354. package/docs/docs/plugins/plugin-management/index.html +0 -44
  355. package/docs/docs/plugins/server/index.html +0 -45
  356. /package/docs/{docs/api → api}/appkit/Enumeration.RequestedClaimsPermissionSet.md +0 -0
  357. /package/docs/{docs/api → api}/appkit/Enumeration.ResourceType.md +0 -0
  358. /package/docs/{docs/api → api}/appkit/Function.appKitTypesPlugin.md +0 -0
  359. /package/docs/{docs/api → api}/appkit/Function.getExecutionContext.md +0 -0
  360. /package/docs/{docs/api → api}/appkit/Function.getResourceRequirements.md +0 -0
  361. /package/docs/{docs/api → api}/appkit/Function.isSQLTypeMarker.md +0 -0
  362. /package/docs/{docs/api → api}/appkit/Interface.BasePluginConfig.md +0 -0
  363. /package/docs/{docs/api → api}/appkit/Interface.CacheConfig.md +0 -0
  364. /package/docs/{docs/api → api}/appkit/Interface.DatabaseCredential.md +0 -0
  365. /package/docs/{docs/api → api}/appkit/Interface.GenerateDatabaseCredentialRequest.md +0 -0
  366. /package/docs/{docs/api → api}/appkit/Interface.ITelemetry.md +0 -0
  367. /package/docs/{docs/api → api}/appkit/Interface.LakebasePoolConfig.md +0 -0
  368. /package/docs/{docs/api → api}/appkit/Interface.PluginManifest.md +0 -0
  369. /package/docs/{docs/api → api}/appkit/Interface.RequestedClaims.md +0 -0
  370. /package/docs/{docs/api → api}/appkit/Interface.RequestedResource.md +0 -0
  371. /package/docs/{docs/api → api}/appkit/Interface.ResourceFieldEntry.md +0 -0
  372. /package/docs/{docs/api → api}/appkit/Interface.StreamExecutionSettings.md +0 -0
  373. /package/docs/{docs/api → api}/appkit/Interface.TelemetryConfig.md +0 -0
  374. /package/docs/{docs/api → api}/appkit/Interface.ValidationResult.md +0 -0
  375. /package/docs/{docs/api → api}/appkit/TypeAlias.ConfigSchema.md +0 -0
  376. /package/docs/{docs/api → api}/appkit/TypeAlias.IAppRouter.md +0 -0
  377. /package/docs/{docs/api → api}/appkit/TypeAlias.ResourcePermission.md +0 -0
  378. /package/docs/{docs/api → api}/appkit/TypeAlias.ToPlugin.md +0 -0
  379. /package/docs/{docs/api → api}/appkit/Variable.sql.md +0 -0
  380. /package/docs/{docs/api → api}/appkit-ui/data/AreaChart.md +0 -0
  381. /package/docs/{docs/api → api}/appkit-ui/data/BarChart.md +0 -0
  382. /package/docs/{docs/api → api}/appkit-ui/data/DataTable.md +0 -0
  383. /package/docs/{docs/api → api}/appkit-ui/data/DonutChart.md +0 -0
  384. /package/docs/{docs/api → api}/appkit-ui/data/HeatmapChart.md +0 -0
  385. /package/docs/{docs/api → api}/appkit-ui/data/LineChart.md +0 -0
  386. /package/docs/{docs/api → api}/appkit-ui/data/PieChart.md +0 -0
  387. /package/docs/{docs/api → api}/appkit-ui/data/RadarChart.md +0 -0
  388. /package/docs/{docs/api → api}/appkit-ui/data/ScatterChart.md +0 -0
  389. /package/docs/{docs/api → api}/appkit-ui/ui/Accordion.md +0 -0
  390. /package/docs/{docs/api → api}/appkit-ui/ui/Alert.md +0 -0
  391. /package/docs/{docs/api → api}/appkit-ui/ui/AlertDialog.md +0 -0
  392. /package/docs/{docs/api → api}/appkit-ui/ui/AspectRatio.md +0 -0
  393. /package/docs/{docs/api → api}/appkit-ui/ui/Avatar.md +0 -0
  394. /package/docs/{docs/api → api}/appkit-ui/ui/Badge.md +0 -0
  395. /package/docs/{docs/api → api}/appkit-ui/ui/Breadcrumb.md +0 -0
  396. /package/docs/{docs/api → api}/appkit-ui/ui/Button.md +0 -0
  397. /package/docs/{docs/api → api}/appkit-ui/ui/ButtonGroup.md +0 -0
  398. /package/docs/{docs/api → api}/appkit-ui/ui/Calendar.md +0 -0
  399. /package/docs/{docs/api → api}/appkit-ui/ui/Card.md +0 -0
  400. /package/docs/{docs/api → api}/appkit-ui/ui/Carousel.md +0 -0
  401. /package/docs/{docs/api → api}/appkit-ui/ui/ChartContainer.md +0 -0
  402. /package/docs/{docs/api → api}/appkit-ui/ui/Checkbox.md +0 -0
  403. /package/docs/{docs/api → api}/appkit-ui/ui/Collapsible.md +0 -0
  404. /package/docs/{docs/api → api}/appkit-ui/ui/Command.md +0 -0
  405. /package/docs/{docs/api → api}/appkit-ui/ui/ContextMenu.md +0 -0
  406. /package/docs/{docs/api → api}/appkit-ui/ui/Dialog.md +0 -0
  407. /package/docs/{docs/api → api}/appkit-ui/ui/Drawer.md +0 -0
  408. /package/docs/{docs/api → api}/appkit-ui/ui/DropdownMenu.md +0 -0
  409. /package/docs/{docs/api → api}/appkit-ui/ui/Empty.md +0 -0
  410. /package/docs/{docs/api → api}/appkit-ui/ui/Field.md +0 -0
  411. /package/docs/{docs/api → api}/appkit-ui/ui/FormControl.md +0 -0
  412. /package/docs/{docs/api → api}/appkit-ui/ui/HoverCard.md +0 -0
  413. /package/docs/{docs/api → api}/appkit-ui/ui/Input.md +0 -0
  414. /package/docs/{docs/api → api}/appkit-ui/ui/InputGroup.md +0 -0
  415. /package/docs/{docs/api → api}/appkit-ui/ui/InputOTP.md +0 -0
  416. /package/docs/{docs/api → api}/appkit-ui/ui/Item.md +0 -0
  417. /package/docs/{docs/api → api}/appkit-ui/ui/Kbd.md +0 -0
  418. /package/docs/{docs/api → api}/appkit-ui/ui/Label.md +0 -0
  419. /package/docs/{docs/api → api}/appkit-ui/ui/Menubar.md +0 -0
  420. /package/docs/{docs/api → api}/appkit-ui/ui/NavigationMenu.md +0 -0
  421. /package/docs/{docs/api → api}/appkit-ui/ui/Pagination.md +0 -0
  422. /package/docs/{docs/api → api}/appkit-ui/ui/Popover.md +0 -0
  423. /package/docs/{docs/api → api}/appkit-ui/ui/Progress.md +0 -0
  424. /package/docs/{docs/api → api}/appkit-ui/ui/RadioGroup.md +0 -0
  425. /package/docs/{docs/api → api}/appkit-ui/ui/ResizableHandle.md +0 -0
  426. /package/docs/{docs/api → api}/appkit-ui/ui/ScrollArea.md +0 -0
  427. /package/docs/{docs/api → api}/appkit-ui/ui/Select.md +0 -0
  428. /package/docs/{docs/api → api}/appkit-ui/ui/Separator.md +0 -0
  429. /package/docs/{docs/api → api}/appkit-ui/ui/Sheet.md +0 -0
  430. /package/docs/{docs/api → api}/appkit-ui/ui/Sidebar.md +0 -0
  431. /package/docs/{docs/api → api}/appkit-ui/ui/Skeleton.md +0 -0
  432. /package/docs/{docs/api → api}/appkit-ui/ui/Slider.md +0 -0
  433. /package/docs/{docs/api → api}/appkit-ui/ui/Spinner.md +0 -0
  434. /package/docs/{docs/api → api}/appkit-ui/ui/Switch.md +0 -0
  435. /package/docs/{docs/api → api}/appkit-ui/ui/Table.md +0 -0
  436. /package/docs/{docs/api → api}/appkit-ui/ui/Tabs.md +0 -0
  437. /package/docs/{docs/api → api}/appkit-ui/ui/Textarea.md +0 -0
  438. /package/docs/{docs/api → api}/appkit-ui/ui/Toaster.md +0 -0
  439. /package/docs/{docs/api → api}/appkit-ui/ui/Toggle.md +0 -0
  440. /package/docs/{docs/api → api}/appkit-ui/ui/ToggleGroup.md +0 -0
  441. /package/docs/{docs/api → api}/appkit-ui/ui/Tooltip.md +0 -0
  442. /package/docs/{docs/api → api}/appkit-ui.md +0 -0
  443. /package/docs/{docs/core-principles.md → core-principles.md} +0 -0
  444. /package/docs/{docs/plugins → plugins}/caching.md +0 -0
  445. /package/docs/{docs/plugins → plugins}/execution-context.md +0 -0
  446. /package/docs/{docs/plugins → plugins}/plugin-management.md +0 -0
  447. /package/docs/{docs/plugins → plugins}/server.md +0 -0
@@ -0,0 +1,78 @@
1
+ # @databricks/appkit
2
+
3
+ Core library for building Databricks applications with type-safe SQL queries, plugin architecture, and React integration.
4
+
5
+ ## Enumerations[​](#enumerations "Direct link to Enumerations")
6
+
7
+ | Enumeration | Description |
8
+ | --------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
9
+ | [RequestedClaimsPermissionSet](./docs/api/appkit/Enumeration.RequestedClaimsPermissionSet.md) | Permission set for Unity Catalog table access |
10
+ | [ResourceType](./docs/api/appkit/Enumeration.ResourceType.md) | Resource types from schema $defs.resourceType.enum |
11
+
12
+ ## Classes[​](#classes "Direct link to Classes")
13
+
14
+ | Class | Description |
15
+ | --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
16
+ | [AppKitError](./docs/api/appkit/Class.AppKitError.md) | Base error class for all AppKit errors. Provides a consistent structure for error handling across the framework. |
17
+ | [AuthenticationError](./docs/api/appkit/Class.AuthenticationError.md) | Error thrown when authentication fails. Use for missing tokens, invalid credentials, or authorization failures. |
18
+ | [ConfigurationError](./docs/api/appkit/Class.ConfigurationError.md) | Error thrown when configuration is missing or invalid. Use for missing environment variables, invalid settings, or setup issues. |
19
+ | [ConnectionError](./docs/api/appkit/Class.ConnectionError.md) | Error thrown when a connection or network operation fails. Use for database pool errors, API failures, timeouts, etc. |
20
+ | [ExecutionError](./docs/api/appkit/Class.ExecutionError.md) | Error thrown when an operation execution fails. Use for statement failures, canceled operations, or unexpected states. |
21
+ | [InitializationError](./docs/api/appkit/Class.InitializationError.md) | Error thrown when a service or component is not properly initialized. Use when accessing services before they are ready. |
22
+ | [Plugin](./docs/api/appkit/Class.Plugin.md) | Base abstract class for creating AppKit plugins. |
23
+ | [ResourceRegistry](./docs/api/appkit/Class.ResourceRegistry.md) | Central registry for tracking plugin resource requirements. Deduplication uses type + resourceKey (machine-stable); alias is for display only. |
24
+ | [ServerError](./docs/api/appkit/Class.ServerError.md) | Error thrown when server lifecycle operations fail. Use for server start/stop issues, configuration conflicts, etc. |
25
+ | [TunnelError](./docs/api/appkit/Class.TunnelError.md) | Error thrown when remote tunnel operations fail. Use for tunnel connection issues, message parsing failures, etc. |
26
+ | [ValidationError](./docs/api/appkit/Class.ValidationError.md) | Error thrown when input validation fails. Use for invalid parameters, missing required fields, or type mismatches. |
27
+
28
+ ## Interfaces[​](#interfaces "Direct link to Interfaces")
29
+
30
+ | Interface | Description |
31
+ | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
32
+ | [BasePluginConfig](./docs/api/appkit/Interface.BasePluginConfig.md) | Base configuration interface for AppKit plugins |
33
+ | [CacheConfig](./docs/api/appkit/Interface.CacheConfig.md) | Configuration for caching |
34
+ | [DatabaseCredential](./docs/api/appkit/Interface.DatabaseCredential.md) | Database credentials with OAuth token for Postgres connection |
35
+ | [GenerateDatabaseCredentialRequest](./docs/api/appkit/Interface.GenerateDatabaseCredentialRequest.md) | Request parameters for generating database OAuth credentials |
36
+ | [ITelemetry](./docs/api/appkit/Interface.ITelemetry.md) | Plugin-facing interface for OpenTelemetry instrumentation. Provides a thin abstraction over OpenTelemetry APIs for plugins. |
37
+ | [LakebasePoolConfig](./docs/api/appkit/Interface.LakebasePoolConfig.md) | Configuration for creating a Lakebase connection pool |
38
+ | [PluginManifest](./docs/api/appkit/Interface.PluginManifest.md) | Plugin manifest that declares metadata and resource requirements. Attached to plugin classes as a static property. |
39
+ | [RequestedClaims](./docs/api/appkit/Interface.RequestedClaims.md) | Optional claims for fine-grained Unity Catalog table permissions When specified, the returned token will be scoped to only the requested tables |
40
+ | [RequestedResource](./docs/api/appkit/Interface.RequestedResource.md) | Resource to request permissions for in Unity Catalog |
41
+ | [ResourceEntry](./docs/api/appkit/Interface.ResourceEntry.md) | Internal representation of a resource in the registry. Extends ResourceRequirement with resolution state and plugin ownership. |
42
+ | [ResourceFieldEntry](./docs/api/appkit/Interface.ResourceFieldEntry.md) | Defines a single field for a resource. Each field has its own environment variable and optional description. Single-value types use one key (e.g. id); multi-value types (database, secret) use multiple (e.g. instance\_name, database\_name or scope, key). |
43
+ | [ResourceRequirement](./docs/api/appkit/Interface.ResourceRequirement.md) | Declares a resource requirement for a plugin. Can be defined statically in a manifest or dynamically via getResourceRequirements(). |
44
+ | [StreamExecutionSettings](./docs/api/appkit/Interface.StreamExecutionSettings.md) | Configuration for streaming execution with default and user-scoped settings |
45
+ | [TelemetryConfig](./docs/api/appkit/Interface.TelemetryConfig.md) | OpenTelemetry configuration for AppKit applications |
46
+ | [ValidationResult](./docs/api/appkit/Interface.ValidationResult.md) | Result of validating all registered resources against the environment. |
47
+
48
+ ## Type Aliases[​](#type-aliases "Direct link to Type Aliases")
49
+
50
+ | Type Alias | Description |
51
+ | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
52
+ | [ConfigSchema](./docs/api/appkit/TypeAlias.ConfigSchema.md) | Configuration schema definition for plugin config. Re-exported from the standard JSON Schema Draft 7 types. |
53
+ | [IAppRouter](./docs/api/appkit/TypeAlias.IAppRouter.md) | Express router type for plugin route registration |
54
+ | [ResourcePermission](./docs/api/appkit/TypeAlias.ResourcePermission.md) | Union of all possible permission levels across all resource types. |
55
+ | [ToPlugin](./docs/api/appkit/TypeAlias.ToPlugin.md) | - |
56
+
57
+ ## Variables[​](#variables "Direct link to Variables")
58
+
59
+ | Variable | Description |
60
+ | ---------------------------------------------- | -------------------- |
61
+ | [sql](./docs/api/appkit/Variable.sql.md) | SQL helper namespace |
62
+
63
+ ## Functions[​](#functions "Direct link to Functions")
64
+
65
+ | Function | Description |
66
+ | -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
67
+ | [appKitTypesPlugin](./docs/api/appkit/Function.appKitTypesPlugin.md) | Vite plugin to generate types for AppKit queries. Calls generateFromEntryPoint under the hood. |
68
+ | [createApp](./docs/api/appkit/Function.createApp.md) | Bootstraps AppKit with the provided configuration. |
69
+ | [createLakebasePool](./docs/api/appkit/Function.createLakebasePool.md) | Create a Lakebase pool with appkit's logger integration. Telemetry automatically uses appkit's OpenTelemetry configuration via global registry. |
70
+ | [generateDatabaseCredential](./docs/api/appkit/Function.generateDatabaseCredential.md) | Generate OAuth credentials for Postgres database connection using the proper Postgres API. |
71
+ | [getExecutionContext](./docs/api/appkit/Function.getExecutionContext.md) | Get the current execution context. |
72
+ | [getLakebaseOrmConfig](./docs/api/appkit/Function.getLakebaseOrmConfig.md) | Get Lakebase connection configuration for ORMs that don't accept pg.Pool directly. |
73
+ | [getLakebasePgConfig](./docs/api/appkit/Function.getLakebasePgConfig.md) | Get Lakebase connection configuration for PostgreSQL clients. |
74
+ | [getPluginManifest](./docs/api/appkit/Function.getPluginManifest.md) | Loads and validates the manifest from a plugin constructor. Normalizes string type/permission to strict ResourceType/ResourcePermission. |
75
+ | [getResourceRequirements](./docs/api/appkit/Function.getResourceRequirements.md) | Gets the resource requirements from a plugin's manifest. |
76
+ | [getUsernameWithApiLookup](./docs/api/appkit/Function.getUsernameWithApiLookup.md) | Resolves the PostgreSQL username for a Lakebase connection. |
77
+ | [getWorkspaceClient](./docs/api/appkit/Function.getWorkspaceClient.md) | Get workspace client from config or SDK default auth chain |
78
+ | [isSQLTypeMarker](./docs/api/appkit/Function.isSQLTypeMarker.md) | Type guard to check if a value is a SQL type marker |
@@ -4,14 +4,14 @@ This section contains the API reference for the AppKit packages.
4
4
 
5
5
  ## Modules[​](#modules "Direct link to Modules")
6
6
 
7
- * [`appkit`](/appkit/docs/api/appkit.md) - Core library. Provides the core functionality for building Databricks applications.
8
- * [`appkit-ui`](/appkit/docs/api/appkit-ui.md) - UI components library. Provides a set of UI primitives for building Databricks apps in [React](https://react.dev/).
7
+ * [`appkit`](./docs/api/appkit.md) - Core library. Provides the core functionality for building Databricks applications.
8
+ * [`appkit-ui`](./docs/api/appkit-ui.md) - UI components library. Provides a set of UI primitives for building Databricks apps in [React](https://react.dev/).
9
9
 
10
- Learn more about the architecture of AppKit in the [architecture](/appkit/docs/architecture.md) document.
10
+ Learn more about the architecture of AppKit in the [architecture](./docs/architecture.md) document.
11
11
 
12
12
  ## Getting started[​](#getting-started "Direct link to Getting started")
13
13
 
14
- To learn how to get started with AppKit, see the [getting started guide](/appkit/docs.md) for AI-assisted and manual quick start options.
14
+ To learn how to get started with AppKit, see the [getting started guide](./docs.md) for AI-assisted and manual quick start options.
15
15
 
16
16
  ## Installation[​](#installation "Direct link to Installation")
17
17
 
@@ -9,11 +9,11 @@ Manage your AppKit application throughout its lifecycle using the Databricks CLI
9
9
 
10
10
  ## Create app[​](#create-app "Direct link to Create app")
11
11
 
12
- See the [Quick start](/appkit/docs.md#quick-start) section to create a new Databricks app with AppKit installed.
12
+ See the [Quick start](./docs.md#quick-start) section to create a new Databricks app with AppKit installed.
13
13
 
14
14
  ## Configuration[​](#configuration "Direct link to Configuration")
15
15
 
16
- Before deploying your app, you need to configure it. See the [Configuration guide](/appkit/docs/configuration.md) for details on:
16
+ Before deploying your app, you need to configure it. See the [Configuration guide](./docs/configuration.md) for details on:
17
17
 
18
18
  * `app.yaml` configuration and command specification
19
19
  * Environment variables and SQL warehouse binding
@@ -20,7 +20,7 @@ The backend SDK that provides the plugin architecture and core functionality. It
20
20
  * Cache management and streaming capabilities
21
21
  * Type generation for SQL queries
22
22
 
23
- See the [Plugins](/appkit/docs/plugins.md) and [API reference](/appkit/docs/api/appkit.md) documentation for detailed information.
23
+ See the [Plugins](./docs/plugins.md) and [API reference](./docs/api/appkit.md) documentation for detailed information.
24
24
 
25
25
  ### @databricks/appkit-ui[​](#databricksappkit-ui "Direct link to @databricks/appkit-ui")
26
26
 
@@ -31,7 +31,7 @@ A React UI library with pre-built components optimized for data applications:
31
31
  * Data visualization components
32
32
  * Type-safe integration with backend queries
33
33
 
34
- See the [API reference](/appkit/docs/api/appkit-ui.md) for component documentation.
34
+ See the [API reference](./docs/api/appkit-ui.md) for component documentation.
35
35
 
36
36
  ## Application layers[​](#application-layers "Direct link to Application layers")
37
37
 
@@ -63,7 +63,7 @@ Integration with Databricks services:
63
63
 
64
64
  ## See also[​](#see-also "Direct link to See also")
65
65
 
66
- * [Plugins](/appkit/docs/plugins.md): Deep dive into the plugin system
67
- * [API reference](/appkit/docs/api.md): Complete API documentation
68
- * [Development](/appkit/docs/development.md): Explore development workflows
69
- * [Core Principles](/appkit/docs/core-principles.md): Learn about AppKit's design philosophy
66
+ * [Plugins](./docs/plugins.md): Deep dive into the plugin system
67
+ * [API reference](./docs/api.md): Complete API documentation
68
+ * [Development](./docs/development.md): Explore development workflows
69
+ * [Core Principles](./docs/core-principles.md): Learn about AppKit's design philosophy
@@ -146,5 +146,5 @@ For advanced Databricks Apps configuration (authorization, networking, resource
146
146
 
147
147
  ## See also[​](#see-also "Direct link to See also")
148
148
 
149
- * [App management](/appkit/docs/app-management.md) - Deploying and managing apps
150
- * [Plugins](/appkit/docs/plugins.md) - Plugin configuration options
149
+ * [App management](./docs/app-management.md) - Deploying and managing apps
150
+ * [Plugins](./docs/plugins.md) - Plugin configuration options
@@ -4,7 +4,7 @@
4
4
 
5
5
  * [Node.js](https://nodejs.org) v22+ environment with `npm`
6
6
  * Databricks CLI (v0.287.0 or higher): install and configure it according to the [official tutorial](https://docs.databricks.com/aws/en/dev-tools/cli/tutorial).
7
- * A new Databricks app with AppKit installed. See the [Quick start](/appkit/docs.md#quick-start) for more details.
7
+ * A new Databricks app with AppKit installed. See the [Quick start](./docs.md#quick-start) for more details.
8
8
 
9
9
  AppKit-specific agent skills for AI coding assistants are coming soon. This documentation will be updated with instructions when available.
10
10
 
@@ -20,7 +20,9 @@ If you're building applications using AppKit packages, reference the `llms.txt`
20
20
  2. Use the `npx @databricks/appkit docs` command to view the documentation in the terminal.
21
21
 
22
22
  ```bash
23
- npx @databricks/appkit docs # returns the llms.txt file content with all available documentation pages
24
- npx @databricks/appkit docs <path> # for specific documentation file
23
+ npx @databricks/appkit docs # documentation index with section overview
24
+ npx @databricks/appkit docs "appkit-ui API reference" # view a specific section
25
+ npx @databricks/appkit docs --full # full index with all API entries
26
+ npx @databricks/appkit docs ./docs.md # view a specific documentation file
25
27
 
26
28
  ```
@@ -46,17 +46,18 @@ View API reference (docs only, NOT for scaffolding):
46
46
 
47
47
  ```bash
48
48
  # ONLY for viewing documentation - do NOT use for init/scaffold
49
- npx @databricks/appkit docs <path>
49
+ npx @databricks/appkit docs <query>
50
50
 
51
51
  ```
52
52
 
53
- **IMPORTANT**: ALWAYS run `npx @databricks/appkit docs` (no path) FIRST to see available pages. DO NOT guess paths - use the index to find correct paths.
53
+ **IMPORTANT**: ALWAYS run `npx @databricks/appkit docs` (no query) FIRST to see the documentation index. DO NOT guess paths - use the index to find correct paths.
54
54
 
55
- Examples of known paths:
55
+ Examples:
56
56
 
57
- * Root index: `npx @databricks/appkit docs`
58
- * API reference: `npx @databricks/appkit docs ./docs/docs/api.md`
59
- * Component docs: `npx @databricks/appkit docs ./docs/docs/api/appkit-ui/components/Sidebar.md`
57
+ * Documentation index: `npx @databricks/appkit docs`
58
+ * View a section: `npx @databricks/appkit docs "appkit-ui API reference"`
59
+ * Full index (all API entries): `npx @databricks/appkit docs --full`
60
+ * View specific doc: `npx @databricks/appkit docs ./docs/plugins/analytics.md`
60
61
 
61
62
  ## LLM checklist (before finalizing code)[​](#llm-checklist-before-finalizing-code "Direct link to LLM checklist (before finalizing code)")
62
63
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  * [Node.js](https://nodejs.org) v22+ environment with `npm`
6
6
  * Databricks CLI (v0.287.0 or higher): install and configure it according to the [official tutorial](https://docs.databricks.com/aws/en/dev-tools/cli/tutorial).
7
- * A new Databricks app with AppKit installed. See the [Quick start](/appkit/docs.md#quick-start) for more details.
7
+ * A new Databricks app with AppKit installed. See the [Quick start](./docs.md#quick-start) for more details.
8
8
 
9
- Once your app is bootstrapped according to the [Quick start](/appkit/docs.md#quick-start) guide, you can start the development server with hot reload for both UI and backend code.
9
+ Once your app is bootstrapped according to the [Quick start](./docs.md#quick-start) guide, you can start the development server with hot reload for both UI and backend code.
10
10
 
11
11
  In the application root directory, run the following command to start the development server:
12
12
 
@@ -241,6 +241,6 @@ Then create `config/queries/` and add your `.sql` files.
241
241
 
242
242
  ## See also[​](#see-also "Direct link to See also")
243
243
 
244
- * [Local development](/appkit/docs/development/local-development.md) - Running the dev server
245
- * [Configuration](/appkit/docs/configuration.md) - Environment variables
246
- * [Plugins](/appkit/docs/plugins.md) - Plugin configuration
244
+ * [Local development](./docs/development/local-development.md) - Running the dev server
245
+ * [Configuration](./docs/configuration.md) - Environment variables
246
+ * [Plugins](./docs/plugins.md) - Plugin configuration
@@ -4,7 +4,7 @@
4
4
 
5
5
  * [Node.js](https://nodejs.org) v22+ environment with `npm`
6
6
  * Databricks CLI (v0.287.0 or higher): install and configure it according to the [official tutorial](https://docs.databricks.com/aws/en/dev-tools/cli/tutorial).
7
- * A new Databricks app with AppKit installed. See the [Quick start](/appkit/docs.md#quick-start) for more details.
7
+ * A new Databricks app with AppKit installed. See the [Quick start](./docs.md#quick-start) for more details.
8
8
 
9
9
  Remote bridge allows you to develop against a deployed backend while keeping your UI and queries local. This is useful for testing against production data or debugging deployed backend code without redeploying your app.
10
10
 
@@ -106,5 +106,5 @@ data?.forEach(row => {
106
106
 
107
107
  ## See also[​](#see-also "Direct link to See also")
108
108
 
109
- * [Plugins](/appkit/docs/plugins.md) - Analytics plugin configuration
110
- * [API Reference](/appkit/docs/api/appkit-ui.md) - Complete UI components API documentation
109
+ * [Plugins](./docs/plugins.md) - Analytics plugin configuration
110
+ * [API Reference](./docs/api/appkit-ui.md) - Complete UI components API documentation
@@ -0,0 +1,22 @@
1
+ # Development
2
+
3
+ AppKit provides multiple development workflows to suit different needs: local development with hot reload, AI-assisted development with MCP, and remote tunneling to deployed backends.
4
+
5
+ ## Prerequisites[​](#prerequisites "Direct link to Prerequisites")
6
+
7
+ * [Node.js](https://nodejs.org) v22+ environment with `npm`
8
+ * Databricks CLI (v0.287.0 or higher): install and configure it according to the [official tutorial](https://docs.databricks.com/aws/en/dev-tools/cli/tutorial).
9
+ * A new Databricks app with AppKit installed. See the [Quick start](./docs.md#quick-start) for more details.
10
+
11
+ ## Development flows[​](#development-flows "Direct link to Development flows")
12
+
13
+ There are multiple supported development flows available with AppKit:
14
+
15
+ 1. **[Local development](./docs/development/local-development.md)**: Run the development server with hot reload for both UI and backend code. This is the default development flow and is suitable for most use cases.
16
+ 2. **[AI-assisted development](./docs/development/ai-assisted-development.md)**: Use an AI coding assistant to explore data, run CLI commands, and scaffold your app interactively.
17
+ 3. **[Remote Bridge](./docs/development/remote-bridge.md)**: Create a remote bridge to a deployed backend while keeping your queries and UI local. This is useful for testing against production data or debugging deployed backend code without redeploying your app.
18
+
19
+ ## See also[​](#see-also "Direct link to See also")
20
+
21
+ * [App management](./docs/app-management.md): Manage your AppKit application throughout its lifecycle using the Databricks CLI
22
+ * [Architecture](./docs/architecture.md): Learn about the architecture of AppKit
@@ -5,7 +5,7 @@ Enables SQL query execution against Databricks SQL Warehouses.
5
5
  **Key features:**
6
6
 
7
7
  * File-based SQL queries with automatic type generation
8
- * Parameterized queries with type-safe [SQL helpers](/appkit/docs/api/appkit/Variable.sql.md)
8
+ * Parameterized queries with type-safe [SQL helpers](./docs/api/appkit/Variable.sql.md)
9
9
  * JSON and Arrow format support
10
10
  * Built-in caching and retry logic
11
11
  * Server-Sent Events (SSE) streaming
@@ -11,7 +11,7 @@ For a deeper understanding of the plugin structure, read on.
11
11
 
12
12
  ## Basic plugin example[​](#basic-plugin-example "Direct link to Basic plugin example")
13
13
 
14
- Extend the [`Plugin`](/appkit/docs/api/appkit/Class.Plugin.md) class and export with `toPlugin()`:
14
+ Extend the [`Plugin`](./docs/api/appkit/Class.Plugin.md) class and export with `toPlugin()`:
15
15
 
16
16
  ```typescript
17
17
  import { Plugin, toPlugin } from "@databricks/appkit";
@@ -128,7 +128,7 @@ This pattern allows:
128
128
 
129
129
  ## Key extension points[​](#key-extension-points "Direct link to Key extension points")
130
130
 
131
- * **Route injection**: Implement `injectRoutes()` to add custom endpoints using [`IAppRouter`](/appkit/docs/api/appkit/TypeAlias.IAppRouter.md)
131
+ * **Route injection**: Implement `injectRoutes()` to add custom endpoints using [`IAppRouter`](./docs/api/appkit/TypeAlias.IAppRouter.md)
132
132
 
133
133
  * **Lifecycle hooks**: Override `setup()`, and `shutdown()` methods
134
134
 
@@ -136,10 +136,10 @@ This pattern allows:
136
136
 
137
137
  <!-- -->
138
138
 
139
- * **Cache management**: Access the cache service via `this.cache`. See [`CacheConfig`](/appkit/docs/api/appkit/Interface.CacheConfig.md) for configuration.
140
- * **Telemetry**: Instrument your plugin with traces and metrics via `this.telemetry`. See [`ITelemetry`](/appkit/docs/api/appkit/Interface.ITelemetry.md).
139
+ * **Cache management**: Access the cache service via `this.cache`. See [`CacheConfig`](./docs/api/appkit/Interface.CacheConfig.md) for configuration.
140
+ * **Telemetry**: Instrument your plugin with traces and metrics via `this.telemetry`. See [`ITelemetry`](./docs/api/appkit/Interface.ITelemetry.md).
141
141
 
142
- * **Execution interceptors**: Use `execute()` and `executeStream()` with [`StreamExecutionSettings`](/appkit/docs/api/appkit/Interface.StreamExecutionSettings.md)
142
+ * **Execution interceptors**: Use `execute()` and `executeStream()` with [`StreamExecutionSettings`](./docs/api/appkit/Interface.StreamExecutionSettings.md)
143
143
 
144
144
  **Consuming your plugin programmatically**
145
145
 
@@ -158,4 +158,4 @@ AppKit.myPlugin.myCustomMethod();
158
158
 
159
159
  ```
160
160
 
161
- See the [`Plugin`](/appkit/docs/api/appkit/Class.Plugin.md) API reference for complete documentation.
161
+ See the [`Plugin`](./docs/api/appkit/Class.Plugin.md) API reference for complete documentation.
@@ -58,33 +58,34 @@ Click the **Connect** button on your Lakebase branch and copy the `PGHOST` and `
58
58
 
59
59
  ### 5. Grant access to the service principal[​](#5-grant-access-to-the-service-principal "Direct link to 5. Grant access to the service principal")
60
60
 
61
- Navigate to the **SQL Editor** tab on your Lakebase branch. Run the following SQL against the `databricks_postgres` database, replacing `<DATABRICKS_CLIENT_ID>` with the value from step 1 everywhere it appears:
61
+ Navigate to the **SQL Editor** tab on your Lakebase branch. Run the following SQL against the `databricks_postgres` database, replacing the service principal ID in the `DECLARE` block with the `DATABRICKS_CLIENT_ID` value from step 1:
62
62
 
63
63
  ```sql
64
- -- 1. Create the extension and role
65
64
  CREATE EXTENSION IF NOT EXISTS databricks_auth;
66
- SELECT databricks_create_role('<DATABRICKS_CLIENT_ID>', 'SERVICE_PRINCIPAL');
67
-
68
- -- 2. Basic connection & usage
69
- GRANT CONNECT ON DATABASE "databricks_postgres" TO "<DATABRICKS_CLIENT_ID>";
70
- GRANT ALL ON SCHEMA public TO "<DATABRICKS_CLIENT_ID>";
71
-
72
- -- 3. Grant on existing objects
73
- GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "<DATABRICKS_CLIENT_ID>";
74
- GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO "<DATABRICKS_CLIENT_ID>";
75
- GRANT ALL PRIVILEGES ON ALL FUNCTIONS IN SCHEMA public TO "<DATABRICKS_CLIENT_ID>";
76
- GRANT ALL PRIVILEGES ON ALL PROCEDURES IN SCHEMA public TO "<DATABRICKS_CLIENT_ID>";
77
-
78
- -- 4. Grant on future objects
79
- -- NOTE: This applies to objects created by the user running this script.
80
- ALTER DEFAULT PRIVILEGES IN SCHEMA public
81
- GRANT ALL ON TABLES TO "<DATABRICKS_CLIENT_ID>";
82
- ALTER DEFAULT PRIVILEGES IN SCHEMA public
83
- GRANT ALL ON SEQUENCES TO "<DATABRICKS_CLIENT_ID>";
84
- ALTER DEFAULT PRIVILEGES IN SCHEMA public
85
- GRANT ALL ON FUNCTIONS TO "<DATABRICKS_CLIENT_ID>";
86
- ALTER DEFAULT PRIVILEGES IN SCHEMA public
87
- GRANT ALL ON ROUTINES TO "<DATABRICKS_CLIENT_ID>";
65
+
66
+ DO $$
67
+ DECLARE
68
+ sp TEXT := 'your-service-principal-id'; -- Replace with DATABRICKS_CLIENT_ID from Step 1
69
+ BEGIN
70
+ -- Create service principal role
71
+ PERFORM databricks_create_role(sp, 'SERVICE_PRINCIPAL');
72
+
73
+ -- Connection and schema access
74
+ EXECUTE format('GRANT CONNECT ON DATABASE "databricks_postgres" TO %I', sp);
75
+ EXECUTE format('GRANT ALL ON SCHEMA public TO %I', sp);
76
+
77
+ -- Privileges on existing objects
78
+ EXECUTE format('GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO %I', sp);
79
+ EXECUTE format('GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO %I', sp);
80
+ EXECUTE format('GRANT ALL PRIVILEGES ON ALL FUNCTIONS IN SCHEMA public TO %I', sp);
81
+ EXECUTE format('GRANT ALL PRIVILEGES ON ALL PROCEDURES IN SCHEMA public TO %I', sp);
82
+
83
+ -- Default privileges on future objects you create
84
+ EXECUTE format('ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON TABLES TO %I', sp);
85
+ EXECUTE format('ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON SEQUENCES TO %I', sp);
86
+ EXECUTE format('ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON FUNCTIONS TO %I', sp);
87
+ EXECUTE format('ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON ROUTINES TO %I', sp);
88
+ END $$;
88
89
 
89
90
  ```
90
91
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Plugins are modular extensions that add capabilities to your AppKit application. They follow a defined lifecycle and have access to shared services like caching, telemetry, and streaming.
4
4
 
5
- For complete API documentation, see the [`Plugin`](/appkit/docs/api/appkit/Class.Plugin.md) class reference.
5
+ For complete API documentation, see the [`Plugin`](./docs/api/appkit/Class.Plugin.md) class reference.
6
6
 
7
7
  ## Using plugins[​](#using-plugins "Direct link to Using plugins")
8
8
 
@@ -20,7 +20,7 @@ const AppKit = await createApp({
20
20
 
21
21
  ```
22
22
 
23
- For complete configuration options, see [`createApp`](/appkit/docs/api/appkit/Function.createApp.md).
23
+ For complete configuration options, see [`createApp`](./docs/api/appkit/Function.createApp.md).
24
24
 
25
25
  ## Plugin phases[​](#plugin-phases "Direct link to Plugin phases")
26
26
 
@@ -44,7 +44,7 @@ The command will guide you through the process of:
44
44
  * (optionally) deploying the app to Databricks
45
45
  * (optionally) running the app in development mode
46
46
 
47
- Learn more about the various [development flows](/appkit/docs/development.md) available with AppKit.
47
+ Learn more about the various [development flows](./docs/development.md) available with AppKit.
48
48
 
49
49
  ### Deploy the app to Databricks[​](#deploy-the-app-to-databricks "Direct link to Deploy the app to Databricks")
50
50
 
@@ -59,6 +59,6 @@ This deploys the sample app to Databricks.
59
59
 
60
60
  ## Next steps[​](#next-steps "Direct link to Next steps")
61
61
 
62
- * **[App management](/appkit/docs/app-management.md)**: Manage your AppKit application throughout its lifecycle using the Databricks CLI
63
- * **[API reference](/appkit/docs/api/appkit.md)**: Explore the complete API documentation
64
- * **[Core concepts](/appkit/docs/core-principles.md)**: Learn about AppKit's design principles and architecture
62
+ * **[App management](./docs/app-management.md)**: Manage your AppKit application throughout its lifecycle using the Databricks CLI
63
+ * **[API reference](./docs/api/appkit.md)**: Explore the complete API documentation
64
+ * **[Core concepts](./docs/core-principles.md)**: Learn about AppKit's design principles and architecture