anhedral 0.13.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/README.md +23 -229
  2. package/assets/patches/audit-deps.mjs +12 -2
  3. package/assets/stack/ai-schema.ts.txt +5 -0
  4. package/assets/stack/ai.ts.txt +30 -0
  5. package/assets/stack/api-index.ts.txt +15 -0
  6. package/assets/stack/auth-features.ts.txt +4 -0
  7. package/assets/stack/auth-journal.json.txt +13 -0
  8. package/assets/stack/auth-migration.sql.txt +53 -0
  9. package/assets/stack/auth-routes.ts.txt +11 -0
  10. package/assets/stack/auth-schema.ts.txt +64 -0
  11. package/assets/stack/auth-snapshot.json.txt +346 -0
  12. package/assets/stack/auth.ts.txt +32 -0
  13. package/assets/stack/billing-mode.ts.txt +8 -0
  14. package/assets/stack/billing-schema.ts.txt +11 -0
  15. package/assets/stack/desktop.rs.txt +21 -0
  16. package/assets/stack/entitlement-guard.ts.txt +32 -0
  17. package/assets/stack/entitlements.ts.txt +8 -0
  18. package/assets/stack/events-schema.ts.txt +12 -0
  19. package/assets/stack/events.ts.txt +59 -0
  20. package/assets/stack/mobile-auth.ts.txt +25 -0
  21. package/assets/stack/mobile-billing.tsx.txt +63 -0
  22. package/assets/stack/mobile-session.tsx.txt +83 -0
  23. package/assets/stack/native-button.tsx.txt +108 -0
  24. package/assets/stack/native-global.css.txt +4 -0
  25. package/assets/stack/native-lib-utils.ts.txt +5 -0
  26. package/assets/stack/native-metro.config.js.txt +6 -0
  27. package/assets/stack/native-nativewind-env.d.ts.txt +1 -0
  28. package/assets/stack/native-tailwind.config.js.txt +73 -0
  29. package/assets/stack/native-text.tsx.txt +89 -0
  30. package/assets/stack/purchases.ts.txt +65 -0
  31. package/assets/stack/revenuecat.ts.txt +88 -0
  32. package/assets/stack/rtc-schema.ts.txt +10 -0
  33. package/assets/stack/rtc.ts.txt +122 -0
  34. package/assets/stack/security.ts.txt +31 -0
  35. package/assets/stack/storage.ts.txt +36 -0
  36. package/assets/stack/stripe.ts.txt +126 -0
  37. package/assets/stack/web-sign-in.tsx.txt +51 -0
  38. package/assets/ui/LICENSE.react-native-reusables +21 -0
  39. package/assets/ui/LICENSE.shadcn +21 -0
  40. package/assets/ui/UPSTREAM.json +39 -0
  41. package/assets/ui/catalog.json +891 -0
  42. package/assets/ui/extensions/registry.json +6 -0
  43. package/assets/ui/native/_controls.tsx +521 -0
  44. package/assets/ui/native/_core.tsx +118 -0
  45. package/assets/ui/native/_data.tsx +200 -0
  46. package/assets/ui/native/_display.tsx +453 -0
  47. package/assets/ui/native/_feedback.tsx +242 -0
  48. package/assets/ui/native/_legacy-dialog.tsx +38 -0
  49. package/assets/ui/native/_motion.tsx +520 -0
  50. package/assets/ui/native/_overlay.tsx +402 -0
  51. package/assets/ui/native/_selection.tsx +366 -0
  52. package/assets/ui/native/accordion.tsx +1 -0
  53. package/assets/ui/native/alert-dialog.tsx +11 -0
  54. package/assets/ui/native/alert.tsx +1 -0
  55. package/assets/ui/native/aspect-ratio.tsx +1 -0
  56. package/assets/ui/native/attachment.tsx +8 -0
  57. package/assets/ui/native/avatar.tsx +8 -0
  58. package/assets/ui/native/badge.tsx +1 -0
  59. package/assets/ui/native/breadcrumb.tsx +9 -0
  60. package/assets/ui/native/bubble.tsx +1 -0
  61. package/assets/ui/native/button-group.tsx +1 -0
  62. package/assets/ui/native/button.tsx +86 -0
  63. package/assets/ui/native/calendar.tsx +170 -0
  64. package/assets/ui/native/card.tsx +44 -0
  65. package/assets/ui/native/carousel.tsx +1 -0
  66. package/assets/ui/native/chart.tsx +193 -0
  67. package/assets/ui/native/checkbox.tsx +1 -0
  68. package/assets/ui/native/code-block.tsx +137 -0
  69. package/assets/ui/native/collapsible.tsx +1 -0
  70. package/assets/ui/native/combobox.tsx +1 -0
  71. package/assets/ui/native/command.tsx +11 -0
  72. package/assets/ui/native/context-menu.tsx +16 -0
  73. package/assets/ui/native/data-table.tsx +1 -0
  74. package/assets/ui/native/date-picker.tsx +43 -0
  75. package/assets/ui/native/dialog.tsx +15 -0
  76. package/assets/ui/native/direction.tsx +1 -0
  77. package/assets/ui/native/drawer.tsx +10 -0
  78. package/assets/ui/native/dropdown-menu.tsx +16 -0
  79. package/assets/ui/native/empty.tsx +8 -0
  80. package/assets/ui/native/field.tsx +13 -0
  81. package/assets/ui/native/hover-card.tsx +1 -0
  82. package/assets/ui/native/input-group.tsx +8 -0
  83. package/assets/ui/native/input-otp.tsx +1 -0
  84. package/assets/ui/native/input.tsx +28 -0
  85. package/assets/ui/native/item.tsx +12 -0
  86. package/assets/ui/native/kbd.tsx +1 -0
  87. package/assets/ui/native/label.tsx +4 -0
  88. package/assets/ui/native/layout.tsx +26 -0
  89. package/assets/ui/native/marker.tsx +1 -0
  90. package/assets/ui/native/menubar.tsx +17 -0
  91. package/assets/ui/native/message-scroller.tsx +6 -0
  92. package/assets/ui/native/message.tsx +10 -0
  93. package/assets/ui/native/native-select.tsx +1 -0
  94. package/assets/ui/native/navigation-menu.tsx +10 -0
  95. package/assets/ui/native/pagination.tsx +9 -0
  96. package/assets/ui/native/popover.tsx +1 -0
  97. package/assets/ui/native/progress.tsx +1 -0
  98. package/assets/ui/native/questionnaire.tsx +130 -0
  99. package/assets/ui/native/radio-group.tsx +1 -0
  100. package/assets/ui/native/registry.json +1103 -0
  101. package/assets/ui/native/resizable.tsx +1 -0
  102. package/assets/ui/native/scroll-area.tsx +1 -0
  103. package/assets/ui/native/select.tsx +11 -0
  104. package/assets/ui/native/separator.tsx +1 -0
  105. package/assets/ui/native/sheet.tsx +10 -0
  106. package/assets/ui/native/sidebar.tsx +22 -0
  107. package/assets/ui/native/skeleton.tsx +1 -0
  108. package/assets/ui/native/slider.tsx +1 -0
  109. package/assets/ui/native/spinner.tsx +1 -0
  110. package/assets/ui/native/switch.tsx +1 -0
  111. package/assets/ui/native/table.tsx +10 -0
  112. package/assets/ui/native/tabs.tsx +1 -0
  113. package/assets/ui/native/text.tsx +20 -0
  114. package/assets/ui/native/textarea.tsx +1 -0
  115. package/assets/ui/native/theme-switcher.tsx +22 -0
  116. package/assets/ui/native/toast.tsx +11 -0
  117. package/assets/ui/native/toggle-group.tsx +1 -0
  118. package/assets/ui/native/toggle.tsx +1 -0
  119. package/assets/ui/native/tooltip.tsx +1 -0
  120. package/assets/ui/native/trace.tsx +20 -0
  121. package/assets/ui/native/typography.tsx +15 -0
  122. package/assets/ui/theme-storage.ts +25 -0
  123. package/assets/ui/theme.tsx +66 -0
  124. package/assets/ui/web/button.tsx +59 -0
  125. package/assets/ui/web/input.tsx +21 -0
  126. package/assets/ui/web/label.tsx +19 -0
  127. package/dist/bin.js +7 -12
  128. package/dist/capabilities.d.ts +4 -33
  129. package/dist/capabilities.js +2 -84
  130. package/dist/capability-catalog.d.ts +83 -0
  131. package/dist/capability-catalog.js +121 -0
  132. package/dist/capability-command.d.ts +3 -0
  133. package/dist/capability-command.js +188 -0
  134. package/dist/capability-editor.d.ts +17 -0
  135. package/dist/capability-editor.js +97 -0
  136. package/dist/capability-recipes.d.ts +4 -0
  137. package/dist/capability-recipes.js +520 -0
  138. package/dist/capability-references.d.ts +4 -0
  139. package/dist/capability-references.js +7 -0
  140. package/dist/cli-commands.d.ts +1 -2
  141. package/dist/cli-commands.js +10 -104
  142. package/dist/cli-output.d.ts +1 -2
  143. package/dist/cli-output.js +6 -251
  144. package/dist/command-schema.js +40 -374
  145. package/dist/dependencies.d.ts +34 -62
  146. package/dist/dependencies.js +112 -199
  147. package/dist/index.d.ts +1 -45
  148. package/dist/index.js +1 -30
  149. package/dist/platforms/mobile.js +29 -139
  150. package/dist/platforms/web.d.ts +3 -0
  151. package/dist/platforms/web.js +251 -0
  152. package/dist/project-config.d.ts +2 -13
  153. package/dist/project-config.js +10 -83
  154. package/dist/registry/context.js +0 -1
  155. package/dist/registry/options.js +6 -40
  156. package/dist/registry/resolve.d.ts +3 -4
  157. package/dist/registry/resolve.js +18 -108
  158. package/dist/registry/types.d.ts +1 -7
  159. package/dist/registry/usage.js +3 -9
  160. package/dist/runtime-policy.d.ts +0 -2
  161. package/dist/runtime-policy.js +0 -16
  162. package/dist/scaffold/backend.d.ts +0 -4
  163. package/dist/scaffold/backend.js +1 -189
  164. package/dist/scaffold/bootstrap.d.ts +2 -3
  165. package/dist/scaffold/bootstrap.js +37 -43
  166. package/dist/scaffold/compose.js +2 -14
  167. package/dist/scaffold/database.d.ts +1 -1
  168. package/dist/scaffold/database.js +19 -126
  169. package/dist/scaffold/documentation.d.ts +0 -1
  170. package/dist/scaffold/documentation.js +82 -84
  171. package/dist/scaffold/expo-runtime.d.ts +2 -2
  172. package/dist/scaffold/expo-runtime.js +9 -101
  173. package/dist/scaffold/native-ui.d.ts +2 -0
  174. package/dist/scaffold/native-ui.js +74 -0
  175. package/dist/scaffold/stack-documentation.d.ts +0 -1
  176. package/dist/scaffold/stack-documentation.js +3 -49
  177. package/dist/scaffold/storage.d.ts +2 -0
  178. package/dist/scaffold/storage.js +21 -0
  179. package/dist/scaffold/styling.d.ts +1 -1
  180. package/dist/scaffold/styling.js +20 -28
  181. package/dist/scaffold/workspace.js +63 -199
  182. package/dist/stack-registry.d.ts +2 -58
  183. package/dist/stack-registry.js +22 -446
  184. package/dist/standard.js +7 -24
  185. package/dist/ui-catalog.d.ts +26 -0
  186. package/dist/ui-catalog.js +31 -0
  187. package/dist/ui-command.d.ts +3 -0
  188. package/dist/ui-command.js +219 -0
  189. package/dist/ui-project.d.ts +22 -0
  190. package/dist/ui-project.js +110 -0
  191. package/dist/version.d.ts +1 -1
  192. package/dist/version.js +1 -1
  193. package/docs/anhedral-stack.md +4 -119
  194. package/docs/capabilities.md +110 -0
  195. package/docs/native-ui.md +102 -0
  196. package/docs/software-factory.md +16 -577
  197. package/docs/stack-standard.md +11 -307
  198. package/docs/ui.md +33 -0
  199. package/docs/verification.md +511 -0
  200. package/package.json +26 -27
  201. package/dist/access.d.ts +0 -10
  202. package/dist/access.js +0 -93
  203. package/dist/auth-schema-snapshot.d.ts +0 -346
  204. package/dist/auth-schema-snapshot.js +0 -347
  205. package/dist/auth-schema.d.ts +0 -1
  206. package/dist/auth-schema.js +0 -57
  207. package/dist/capability-contract.d.ts +0 -47
  208. package/dist/capability-contract.js +0 -168
  209. package/dist/catalog-model.d.ts +0 -24
  210. package/dist/catalog-model.js +0 -1
  211. package/dist/catalog-registration.d.ts +0 -16
  212. package/dist/catalog-registration.js +0 -22
  213. package/dist/catalog-snapshot.d.ts +0 -5
  214. package/dist/catalog-snapshot.js +0 -97
  215. package/dist/cli-delivery.d.ts +0 -3
  216. package/dist/cli-delivery.js +0 -172
  217. package/dist/cloudflare.d.ts +0 -25
  218. package/dist/cloudflare.js +0 -226
  219. package/dist/delivery-evidence.d.ts +0 -62
  220. package/dist/delivery-evidence.js +0 -186
  221. package/dist/delivery.d.ts +0 -88
  222. package/dist/delivery.js +0 -570
  223. package/dist/inspector-model.d.ts +0 -123
  224. package/dist/inspector-model.js +0 -1
  225. package/dist/integration-service-readers.d.ts +0 -13
  226. package/dist/integration-service-readers.js +0 -173
  227. package/dist/lifecycle-model.d.ts +0 -15
  228. package/dist/lifecycle-model.js +0 -20
  229. package/dist/lifecycle.d.ts +0 -11
  230. package/dist/lifecycle.js +0 -91
  231. package/dist/management.d.ts +0 -3
  232. package/dist/management.js +0 -47
  233. package/dist/mobile-delivery.d.ts +0 -77
  234. package/dist/mobile-delivery.js +0 -366
  235. package/dist/neon-service-data.d.ts +0 -8
  236. package/dist/neon-service-data.js +0 -117
  237. package/dist/platforms/desktop.d.ts +0 -2
  238. package/dist/platforms/desktop.js +0 -415
  239. package/dist/platforms/extension.d.ts +0 -2
  240. package/dist/platforms/extension.js +0 -328
  241. package/dist/project-catalog.d.ts +0 -41
  242. package/dist/project-catalog.js +0 -288
  243. package/dist/project-inspector.d.ts +0 -4
  244. package/dist/project-inspector.js +0 -702
  245. package/dist/project-lifecycle.d.ts +0 -25
  246. package/dist/project-lifecycle.js +0 -57
  247. package/dist/project-state.d.ts +0 -49
  248. package/dist/project-state.js +0 -563
  249. package/dist/provider-auth.d.ts +0 -41
  250. package/dist/provider-auth.js +0 -215
  251. package/dist/provider-readiness.d.ts +0 -30
  252. package/dist/provider-readiness.js +0 -104
  253. package/dist/providers/adapters.d.ts +0 -17
  254. package/dist/providers/adapters.js +0 -278
  255. package/dist/providers/api.d.ts +0 -29
  256. package/dist/providers/api.js +0 -253
  257. package/dist/providers/config.d.ts +0 -15
  258. package/dist/providers/config.js +0 -182
  259. package/dist/providers/definitions.d.ts +0 -318
  260. package/dist/providers/definitions.js +0 -127
  261. package/dist/providers/provision.d.ts +0 -24
  262. package/dist/providers/provision.js +0 -76
  263. package/dist/providers/receipts.d.ts +0 -20
  264. package/dist/providers/receipts.js +0 -66
  265. package/dist/providers/recovery-verification.d.ts +0 -7
  266. package/dist/providers/recovery-verification.js +0 -112
  267. package/dist/providers/recovery.d.ts +0 -30
  268. package/dist/providers/recovery.js +0 -34
  269. package/dist/providers/runtime.d.ts +0 -10
  270. package/dist/providers/runtime.js +0 -265
  271. package/dist/providers/schema.d.ts +0 -28
  272. package/dist/providers/schema.js +0 -49
  273. package/dist/providers/state.d.ts +0 -55
  274. package/dist/providers/state.js +0 -289
  275. package/dist/provision.d.ts +0 -55
  276. package/dist/provision.js +0 -284
  277. package/dist/r2-service-data.d.ts +0 -2
  278. package/dist/r2-service-data.js +0 -136
  279. package/dist/readiness.d.ts +0 -23
  280. package/dist/readiness.js +0 -122
  281. package/dist/registry/add.d.ts +0 -24
  282. package/dist/registry/add.js +0 -270
  283. package/dist/registry/bootstrap.d.ts +0 -2
  284. package/dist/registry/bootstrap.js +0 -14
  285. package/dist/registry/commands.d.ts +0 -3
  286. package/dist/registry/commands.js +0 -85
  287. package/dist/registry/presets.d.ts +0 -4
  288. package/dist/registry/presets.js +0 -41
  289. package/dist/registry/preview.d.ts +0 -11
  290. package/dist/registry/preview.js +0 -91
  291. package/dist/registry/receipt.d.ts +0 -3
  292. package/dist/registry/receipt.js +0 -68
  293. package/dist/repository.d.ts +0 -24
  294. package/dist/repository.js +0 -96
  295. package/dist/scaffold/auth.d.ts +0 -3
  296. package/dist/scaffold/auth.js +0 -151
  297. package/dist/scaffold/billing-config.d.ts +0 -1
  298. package/dist/scaffold/billing-config.js +0 -73
  299. package/dist/scaffold/billing-contracts.d.ts +0 -2
  300. package/dist/scaffold/billing-contracts.js +0 -48
  301. package/dist/scaffold/billing-providers.d.ts +0 -1
  302. package/dist/scaffold/billing-providers.js +0 -249
  303. package/dist/scaffold/billing-schema.d.ts +0 -1
  304. package/dist/scaffold/billing-schema.js +0 -34
  305. package/dist/scaffold/billing-security.d.ts +0 -1
  306. package/dist/scaffold/billing-security.js +0 -46
  307. package/dist/scaffold/billing-server.d.ts +0 -1
  308. package/dist/scaffold/billing-server.js +0 -139
  309. package/dist/scaffold/billing-store.d.ts +0 -1
  310. package/dist/scaffold/billing-store.js +0 -72
  311. package/dist/scaffold/billing.d.ts +0 -2
  312. package/dist/scaffold/billing.js +0 -216
  313. package/dist/scaffold/cloudflare-services.d.ts +0 -8
  314. package/dist/scaffold/cloudflare-services.js +0 -198
  315. package/dist/scaffold/expo-auth.d.ts +0 -3
  316. package/dist/scaffold/expo-auth.js +0 -192
  317. package/dist/scaffold/expo-billing.d.ts +0 -3
  318. package/dist/scaffold/expo-billing.js +0 -292
  319. package/dist/scaffold/integrations.d.ts +0 -4
  320. package/dist/scaffold/integrations.js +0 -12
  321. package/dist/scaffold/lint.d.ts +0 -4
  322. package/dist/scaffold/lint.js +0 -56
  323. package/dist/scaffold/neon-realtime.d.ts +0 -2
  324. package/dist/scaffold/neon-realtime.js +0 -97
  325. package/dist/scaffold/services.d.ts +0 -5
  326. package/dist/scaffold/services.js +0 -108
  327. package/dist/scaffold/stream.d.ts +0 -2
  328. package/dist/scaffold/stream.js +0 -114
  329. package/dist/scaffold/void.d.ts +0 -4
  330. package/dist/scaffold/void.js +0 -264
  331. package/dist/scaffold/web.d.ts +0 -2
  332. package/dist/scaffold/web.js +0 -130
  333. package/dist/service-deletion.d.ts +0 -29
  334. package/dist/service-deletion.js +0 -195
  335. package/dist/service-descriptor.d.ts +0 -10
  336. package/dist/service-descriptor.js +0 -78
  337. package/dist/service-model.d.ts +0 -49
  338. package/dist/service-model.js +0 -8
  339. package/dist/service-operations.d.ts +0 -29
  340. package/dist/service-operations.js +0 -78
  341. package/dist/service-readers.d.ts +0 -8
  342. package/dist/service-readers.js +0 -247
  343. package/dist/services-command.d.ts +0 -39
  344. package/dist/services-command.js +0 -102
  345. package/dist/ship.d.ts +0 -348
  346. package/dist/ship.js +0 -239
  347. package/dist/vercel-project.d.ts +0 -101
  348. package/dist/vercel-project.js +0 -305
  349. package/dist/vercel.d.ts +0 -67
  350. package/dist/vercel.js +0 -581
  351. package/dist/vinext.d.ts +0 -2
  352. package/dist/vinext.js +0 -86
  353. package/dist/void-execution.d.ts +0 -10
  354. package/dist/void-execution.js +0 -94
  355. package/dist/void-migrations.d.ts +0 -6
  356. package/dist/void-migrations.js +0 -110
  357. package/dist/void-state.d.ts +0 -16
  358. package/dist/void-state.js +0 -65
  359. package/dist/void.d.ts +0 -3
  360. package/dist/void.js +0 -5
@@ -1,347 +0,0 @@
1
- // Generated by drizzle-kit 0.31.11 from the pinned Better Auth core schema.
2
- export const betterAuthSqliteSnapshot = {
3
- version: '6',
4
- dialect: 'sqlite',
5
- id: 'b0e40d2d-45e2-4317-9f1b-ec413de82c9f',
6
- prevId: '00000000-0000-0000-0000-000000000000',
7
- tables: {
8
- account: {
9
- name: 'account',
10
- columns: {
11
- id: {
12
- name: 'id',
13
- type: 'text',
14
- primaryKey: true,
15
- notNull: true,
16
- autoincrement: false,
17
- },
18
- account_id: {
19
- name: 'account_id',
20
- type: 'text',
21
- primaryKey: false,
22
- notNull: true,
23
- autoincrement: false,
24
- },
25
- provider_id: {
26
- name: 'provider_id',
27
- type: 'text',
28
- primaryKey: false,
29
- notNull: true,
30
- autoincrement: false,
31
- },
32
- user_id: {
33
- name: 'user_id',
34
- type: 'text',
35
- primaryKey: false,
36
- notNull: true,
37
- autoincrement: false,
38
- },
39
- access_token: {
40
- name: 'access_token',
41
- type: 'text',
42
- primaryKey: false,
43
- notNull: false,
44
- autoincrement: false,
45
- },
46
- refresh_token: {
47
- name: 'refresh_token',
48
- type: 'text',
49
- primaryKey: false,
50
- notNull: false,
51
- autoincrement: false,
52
- },
53
- id_token: {
54
- name: 'id_token',
55
- type: 'text',
56
- primaryKey: false,
57
- notNull: false,
58
- autoincrement: false,
59
- },
60
- access_token_expires_at: {
61
- name: 'access_token_expires_at',
62
- type: 'integer',
63
- primaryKey: false,
64
- notNull: false,
65
- autoincrement: false,
66
- },
67
- refresh_token_expires_at: {
68
- name: 'refresh_token_expires_at',
69
- type: 'integer',
70
- primaryKey: false,
71
- notNull: false,
72
- autoincrement: false,
73
- },
74
- scope: {
75
- name: 'scope',
76
- type: 'text',
77
- primaryKey: false,
78
- notNull: false,
79
- autoincrement: false,
80
- },
81
- password: {
82
- name: 'password',
83
- type: 'text',
84
- primaryKey: false,
85
- notNull: false,
86
- autoincrement: false,
87
- },
88
- created_at: {
89
- name: 'created_at',
90
- type: 'integer',
91
- primaryKey: false,
92
- notNull: true,
93
- autoincrement: false,
94
- },
95
- updated_at: {
96
- name: 'updated_at',
97
- type: 'integer',
98
- primaryKey: false,
99
- notNull: true,
100
- autoincrement: false,
101
- },
102
- },
103
- indexes: {
104
- account_user_id_idx: {
105
- name: 'account_user_id_idx',
106
- columns: ['user_id'],
107
- isUnique: false,
108
- },
109
- },
110
- foreignKeys: {
111
- account_user_id_user_id_fk: {
112
- name: 'account_user_id_user_id_fk',
113
- tableFrom: 'account',
114
- tableTo: 'user',
115
- columnsFrom: ['user_id'],
116
- columnsTo: ['id'],
117
- onDelete: 'cascade',
118
- onUpdate: 'no action',
119
- },
120
- },
121
- compositePrimaryKeys: {},
122
- uniqueConstraints: {},
123
- checkConstraints: {},
124
- },
125
- session: {
126
- name: 'session',
127
- columns: {
128
- id: {
129
- name: 'id',
130
- type: 'text',
131
- primaryKey: true,
132
- notNull: true,
133
- autoincrement: false,
134
- },
135
- expires_at: {
136
- name: 'expires_at',
137
- type: 'integer',
138
- primaryKey: false,
139
- notNull: true,
140
- autoincrement: false,
141
- },
142
- token: {
143
- name: 'token',
144
- type: 'text',
145
- primaryKey: false,
146
- notNull: true,
147
- autoincrement: false,
148
- },
149
- created_at: {
150
- name: 'created_at',
151
- type: 'integer',
152
- primaryKey: false,
153
- notNull: true,
154
- autoincrement: false,
155
- },
156
- updated_at: {
157
- name: 'updated_at',
158
- type: 'integer',
159
- primaryKey: false,
160
- notNull: true,
161
- autoincrement: false,
162
- },
163
- ip_address: {
164
- name: 'ip_address',
165
- type: 'text',
166
- primaryKey: false,
167
- notNull: false,
168
- autoincrement: false,
169
- },
170
- user_agent: {
171
- name: 'user_agent',
172
- type: 'text',
173
- primaryKey: false,
174
- notNull: false,
175
- autoincrement: false,
176
- },
177
- user_id: {
178
- name: 'user_id',
179
- type: 'text',
180
- primaryKey: false,
181
- notNull: true,
182
- autoincrement: false,
183
- },
184
- },
185
- indexes: {
186
- session_token_unique: {
187
- name: 'session_token_unique',
188
- columns: ['token'],
189
- isUnique: true,
190
- },
191
- session_user_id_idx: {
192
- name: 'session_user_id_idx',
193
- columns: ['user_id'],
194
- isUnique: false,
195
- },
196
- },
197
- foreignKeys: {
198
- session_user_id_user_id_fk: {
199
- name: 'session_user_id_user_id_fk',
200
- tableFrom: 'session',
201
- tableTo: 'user',
202
- columnsFrom: ['user_id'],
203
- columnsTo: ['id'],
204
- onDelete: 'cascade',
205
- onUpdate: 'no action',
206
- },
207
- },
208
- compositePrimaryKeys: {},
209
- uniqueConstraints: {},
210
- checkConstraints: {},
211
- },
212
- user: {
213
- name: 'user',
214
- columns: {
215
- id: {
216
- name: 'id',
217
- type: 'text',
218
- primaryKey: true,
219
- notNull: true,
220
- autoincrement: false,
221
- },
222
- name: {
223
- name: 'name',
224
- type: 'text',
225
- primaryKey: false,
226
- notNull: true,
227
- autoincrement: false,
228
- },
229
- email: {
230
- name: 'email',
231
- type: 'text',
232
- primaryKey: false,
233
- notNull: true,
234
- autoincrement: false,
235
- },
236
- email_verified: {
237
- name: 'email_verified',
238
- type: 'integer',
239
- primaryKey: false,
240
- notNull: true,
241
- autoincrement: false,
242
- default: false,
243
- },
244
- image: {
245
- name: 'image',
246
- type: 'text',
247
- primaryKey: false,
248
- notNull: false,
249
- autoincrement: false,
250
- },
251
- created_at: {
252
- name: 'created_at',
253
- type: 'integer',
254
- primaryKey: false,
255
- notNull: true,
256
- autoincrement: false,
257
- },
258
- updated_at: {
259
- name: 'updated_at',
260
- type: 'integer',
261
- primaryKey: false,
262
- notNull: true,
263
- autoincrement: false,
264
- },
265
- },
266
- indexes: {
267
- user_email_unique: {
268
- name: 'user_email_unique',
269
- columns: ['email'],
270
- isUnique: true,
271
- },
272
- },
273
- foreignKeys: {},
274
- compositePrimaryKeys: {},
275
- uniqueConstraints: {},
276
- checkConstraints: {},
277
- },
278
- verification: {
279
- name: 'verification',
280
- columns: {
281
- id: {
282
- name: 'id',
283
- type: 'text',
284
- primaryKey: true,
285
- notNull: true,
286
- autoincrement: false,
287
- },
288
- identifier: {
289
- name: 'identifier',
290
- type: 'text',
291
- primaryKey: false,
292
- notNull: true,
293
- autoincrement: false,
294
- },
295
- value: {
296
- name: 'value',
297
- type: 'text',
298
- primaryKey: false,
299
- notNull: true,
300
- autoincrement: false,
301
- },
302
- expires_at: {
303
- name: 'expires_at',
304
- type: 'integer',
305
- primaryKey: false,
306
- notNull: true,
307
- autoincrement: false,
308
- },
309
- created_at: {
310
- name: 'created_at',
311
- type: 'integer',
312
- primaryKey: false,
313
- notNull: true,
314
- autoincrement: false,
315
- },
316
- updated_at: {
317
- name: 'updated_at',
318
- type: 'integer',
319
- primaryKey: false,
320
- notNull: true,
321
- autoincrement: false,
322
- },
323
- },
324
- indexes: {
325
- verification_identifier_idx: {
326
- name: 'verification_identifier_idx',
327
- columns: ['identifier'],
328
- isUnique: false,
329
- },
330
- },
331
- foreignKeys: {},
332
- compositePrimaryKeys: {},
333
- uniqueConstraints: {},
334
- checkConstraints: {},
335
- },
336
- },
337
- views: {},
338
- enums: {},
339
- _meta: {
340
- schemas: {},
341
- tables: {},
342
- columns: {},
343
- },
344
- internal: {
345
- indexes: {},
346
- },
347
- };
@@ -1 +0,0 @@
1
- export declare function writeBetterAuthSchema(root: string, postgres: boolean): void;
@@ -1,57 +0,0 @@
1
- import path from 'node:path';
2
- import { betterAuthSqliteSnapshot } from './auth-schema-snapshot.js';
3
- import { writeFile } from './util.js';
4
- // Better Auth 1.7.7 core user/session/account/verification schema, without plugins.
5
- // Product plugins/additional fields require a reviewed schema regeneration/migration.
6
- export function writeBetterAuthSchema(root, postgres) {
7
- const table = postgres ? 'pgTable' : 'sqliteTable';
8
- const date = (column) => postgres
9
- ? `timestamp('${column}', { withTimezone: true })`
10
- : `integer('${column}', { mode: 'timestamp_ms' })`;
11
- const bool = postgres
12
- ? "boolean('email_verified')"
13
- : "integer('email_verified', { mode: 'boolean' })";
14
- const updated = `${date('updated_at')}.notNull().$defaultFn(() => new Date()).$onUpdate(() => new Date())`;
15
- const created = `${date('created_at')}.notNull().$defaultFn(() => new Date())`;
16
- const schema = `import { ${table}, text, ${postgres ? 'timestamp, boolean' : 'integer'}, index } from 'drizzle-orm/${postgres ? 'pg-core' : 'sqlite-core'}';
17
- export const user = ${table}('user', {
18
- id: text('id').primaryKey(), name: text('name').notNull(), email: text('email').notNull().unique(),
19
- emailVerified: ${bool}.notNull().default(false), image: text('image'), createdAt: ${created}, updatedAt: ${updated},
20
- });
21
- export const session = ${table}('session', {
22
- id: text('id').primaryKey(), expiresAt: ${date('expires_at')}.notNull(), token: text('token').notNull().unique(),
23
- createdAt: ${created}, updatedAt: ${updated}, ipAddress: text('ip_address'), userAgent: text('user_agent'),
24
- userId: text('user_id').notNull().references(() => user.id, { onDelete: 'cascade' }),
25
- }, (table) => [index('session_user_id_idx').on(table.userId)]);
26
- export const account = ${table}('account', {
27
- id: text('id').primaryKey(), accountId: text('account_id').notNull(), providerId: text('provider_id').notNull(),
28
- userId: text('user_id').notNull().references(() => user.id, { onDelete: 'cascade' }),
29
- accessToken: text('access_token'), refreshToken: text('refresh_token'), idToken: text('id_token'),
30
- accessTokenExpiresAt: ${date('access_token_expires_at')}, refreshTokenExpiresAt: ${date('refresh_token_expires_at')},
31
- scope: text('scope'), password: text('password'), createdAt: ${created}, updatedAt: ${updated},
32
- }, (table) => [index('account_user_id_idx').on(table.userId)]);
33
- export const verification = ${table}('verification', {
34
- id: text('id').primaryKey(), identifier: text('identifier').notNull(), value: text('value').notNull(),
35
- expiresAt: ${date('expires_at')}.notNull(), createdAt: ${created}, updatedAt: ${updated},
36
- }, (table) => [index('verification_identifier_idx').on(table.identifier)]);
37
- `;
38
- writeFile(path.join(root, 'packages/db/src/schema.ts'), schema);
39
- if (!postgres) {
40
- writeFile(path.join(root, 'packages/db/drizzle/meta/0000_snapshot.json'), JSON.stringify(betterAuthSqliteSnapshot, null, 2) + '\n');
41
- writeFile(path.join(root, 'packages/db/drizzle/meta/_journal.json'), JSON.stringify({
42
- version: '7',
43
- dialect: 'sqlite',
44
- entries: [
45
- {
46
- idx: 0,
47
- version: '6',
48
- when: 1791504000000,
49
- tag: '0000_better_auth',
50
- breakpoints: true,
51
- },
52
- ],
53
- }, null, 2) + '\n');
54
- }
55
- if (!postgres)
56
- writeFile(path.join(root, 'packages/db/drizzle/0000_better_auth.sql'), 'CREATE TABLE `account` (\n\t`id` text PRIMARY KEY NOT NULL,\n\t`account_id` text NOT NULL,\n\t`provider_id` text NOT NULL,\n\t`user_id` text NOT NULL,\n\t`access_token` text,\n\t`refresh_token` text,\n\t`id_token` text,\n\t`access_token_expires_at` integer,\n\t`refresh_token_expires_at` integer,\n\t`scope` text,\n\t`password` text,\n\t`created_at` integer NOT NULL,\n\t`updated_at` integer NOT NULL,\n\tFOREIGN KEY (`user_id`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE cascade\n);\n--> statement-breakpoint\nCREATE INDEX `account_user_id_idx` ON `account` (`user_id`);--> statement-breakpoint\nCREATE TABLE `session` (\n\t`id` text PRIMARY KEY NOT NULL,\n\t`expires_at` integer NOT NULL,\n\t`token` text NOT NULL,\n\t`created_at` integer NOT NULL,\n\t`updated_at` integer NOT NULL,\n\t`ip_address` text,\n\t`user_agent` text,\n\t`user_id` text NOT NULL,\n\tFOREIGN KEY (`user_id`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE cascade\n);\n--> statement-breakpoint\nCREATE UNIQUE INDEX `session_token_unique` ON `session` (`token`);--> statement-breakpoint\nCREATE INDEX `session_user_id_idx` ON `session` (`user_id`);--> statement-breakpoint\nCREATE TABLE `user` (\n\t`id` text PRIMARY KEY NOT NULL,\n\t`name` text NOT NULL,\n\t`email` text NOT NULL,\n\t`email_verified` integer DEFAULT false NOT NULL,\n\t`image` text,\n\t`created_at` integer NOT NULL,\n\t`updated_at` integer NOT NULL\n);\n--> statement-breakpoint\nCREATE UNIQUE INDEX `user_email_unique` ON `user` (`email`);--> statement-breakpoint\nCREATE TABLE `verification` (\n\t`id` text PRIMARY KEY NOT NULL,\n\t`identifier` text NOT NULL,\n\t`value` text NOT NULL,\n\t`expires_at` integer NOT NULL,\n\t`created_at` integer NOT NULL,\n\t`updated_at` integer NOT NULL\n);\n--> statement-breakpoint\nCREATE INDEX `verification_identifier_idx` ON `verification` (`identifier`);');
57
- }
@@ -1,47 +0,0 @@
1
- import type { StackSelection, StandardProduct } from './registry/types.js';
2
- export type CapabilitySupport = 'implemented' | 'scaffold-only' | 'unsupported' | 'not-applicable';
3
- export type CapabilityEvidence = 'local-contract' | 'unverified';
4
- export interface CapabilityStage {
5
- support: CapabilitySupport;
6
- evidence: CapabilityEvidence;
7
- scope: string;
8
- }
9
- export interface ProductCapability {
10
- id: StandardProduct;
11
- description: string;
12
- targets: readonly string[];
13
- registryDependencies: readonly string[];
14
- selection: StackSelection;
15
- scaffold: CapabilityStage;
16
- provisioning: CapabilityStage;
17
- delivery: CapabilityStage;
18
- limits: readonly string[];
19
- }
20
- /** Advertises implemented scope and the evidence level separately. This catalog is
21
- * pure metadata; consulting it never authenticates, provisions, or verifies a live account. */
22
- export declare const CAPABILITY_CONTRACT: {
23
- schemaVersion: number;
24
- cliVersion: string;
25
- mutation: boolean;
26
- liveAcceptance: "unverified";
27
- products: ProductCapability[];
28
- providers: {
29
- id: string;
30
- managementCredential: "RESEND_API_KEY" | "STRIPE_SECRET_KEY" | "NEON_API_KEY" | "CLERK_PLATFORM_API_KEY" | "RC_API_KEY" | "SENTRY_AUTH_TOKEN" | "POSTHOG_PERSONAL_API_KEY" | "OPENAI_ADMIN_KEY";
31
- resources: readonly ["project", "database connection"] | readonly ["application", "environment keys"] | readonly ["domain", "sending key"] | readonly ["account verification", "webhook"] | readonly ["project", "application", "SDK keys"] | readonly ["project", "DSN"] | readonly ["project", "ingestion configuration"] | readonly ["project", "service account", "runtime key"];
32
- provisioning: CapabilityStage;
33
- liveAcceptance: "unverified";
34
- ownerSteps: readonly ["Choose an organization and region; approve any provider billing requirements."] | readonly ["Obtain Platform API access; configure production domains, DNS, and OAuth credentials."] | readonly ["Publish domain verification DNS records and wait for verification."] | readonly ["Complete account activation; define products, prices, and purchase behavior."] | readonly ["Configure store credentials or Stripe, products, offerings, and entitlements; verify purchases."] | readonly ["Choose organization and team access; configure source maps and application instrumentation."] | readonly ["Choose organization and region; define analytics events and consent behavior."] | readonly ["Obtain organization administration access; configure billing and application usage limits."];
35
- }[];
36
- hosts: {
37
- id: string;
38
- delivery: CapabilityStage;
39
- liveAcceptance: "unverified";
40
- }[];
41
- plugin: {
42
- id: string;
43
- capability: CapabilityStage;
44
- }[];
45
- limits: string[];
46
- };
47
- export declare function formatCapabilityContract(): string;
@@ -1,168 +0,0 @@
1
- import { STANDARD_PRODUCTS, getStackItem } from './stack-registry.js';
2
- import { PROVIDER_DEFINITIONS } from './providers/definitions.js';
3
- import { GENERATOR_VERSION } from './version.js';
4
- const stage = (support, scope, evidence = 'local-contract') => ({ support, evidence, scope });
5
- const none = (scope) => stage('not-applicable', scope, 'unverified');
6
- const cloudflareResources = ['d1', 'r2', 'kv', 'queues', 'basin'];
7
- const deploymentBindings = [
8
- 'realtime',
9
- 'cron',
10
- 'workflows',
11
- 'workers-ai',
12
- 'analytics-engine',
13
- 'images',
14
- ];
15
- function integration(id) {
16
- const provider = id === 'ai-sdk' ? 'openai' : id;
17
- return Object.hasOwn(PROVIDER_DEFINITIONS, provider)
18
- ? provider
19
- : undefined;
20
- }
21
- function productCapability(id) {
22
- const item = getStackItem(id);
23
- const provider = integration(id);
24
- let provisioning = none('No separately provisioned resource.');
25
- let delivery = none('Delivered as part of the selected application.');
26
- const limits = [
27
- 'Generated primitives require application feature development and acceptance checks.',
28
- ];
29
- if (provider) {
30
- provisioning = stage('implemented', `Selected ${PROVIDER_DEFINITIONS[provider].resources.join(', ')} through provider APIs.`);
31
- limits.push(...PROVIDER_DEFINITIONS[provider].ownerSteps, 'Live account permissions and provider behavior require authorized acceptance.');
32
- }
33
- if (cloudflareResources.includes(id)) {
34
- provisioning = stage('implemented', id === 'basin'
35
- ? 'Private Cloudflare stream and Worker binding.'
36
- : 'Selected Cloudflare resource and checked Worker binding.');
37
- limits.push('Account eligibility, quotas, and live runtime behavior require authorized acceptance.');
38
- if (id === 'basin')
39
- limits.push('Pipeline transforms and sinks are outside automated provisioning.');
40
- }
41
- if (deploymentBindings.includes(id)) {
42
- provisioning = stage('implemented', 'Worker deployment configures the selected binding or trigger.');
43
- limits.push('Configured bindings and triggers do not establish application behavior or execution success.');
44
- }
45
- if (['vinext', 'next', 'hono'].includes(id))
46
- delivery = stage('implemented', id === 'next'
47
- ? 'Selected Cloudflare or Vercel deployment with provider identity and source checks.'
48
- : 'Cloudflare Worker deployment with provider identity and source checks.');
49
- if (id === 'expo') {
50
- delivery = stage('implemented', 'EAS build request, build receipt verification, and artifact link.');
51
- limits.push('No store submission; signing, enrollment, device testing, and store distribution remain developer responsibilities.');
52
- }
53
- if (id === 'electron' || id === 'wxt') {
54
- delivery = stage('scaffold-only', 'Generated application and local build tooling; automated distribution is unavailable.');
55
- limits.push(id === 'electron'
56
- ? 'Signing, notarization, installers, updates, and distribution require a separate delivery workflow.'
57
- : 'Extension signing, store submission, review, and distribution require a separate delivery workflow.');
58
- }
59
- if (id === 'realtimekit' || id === 'video') {
60
- provisioning = stage('scaffold-only', 'Manual account activation and service configuration; no provider activation or credential installation during generation.', 'unverified');
61
- limits.push('Server-only helper; product authorization routes, client UI and live provider acceptance remain required.');
62
- }
63
- if (id === 'stream') {
64
- provisioning = stage('scaffold-only', 'Manual Stream activation and live input setup; no automatic Stream provisioning or runtime credential installation.', 'unverified');
65
- limits.push('Server management factory only; creator/player UI, WHIP/WHEP signaling and playback token issuance require application implementation.', 'Keep management tokens server-only and disclose secret WHIP URLs only to authorized creators; verify private media access independently of hosting protection.', 'One-to-many broadcasts; conferencing, recording, HLS/DASH bridging, restreaming and live viewer counts are outside this integration.', 'Usage-based viewer-minute billing, account eligibility and live broadcast/playback acceptance require separate verification.');
66
- }
67
- if (id === 'neon-realtime') {
68
- provisioning = stage('scaffold-only', 'Manually enable Realtime on the intended Neon branch, configure allowed origins and supply its private secret and public URL; no automatic Realtime provisioning.', 'unverified');
69
- limits.push('Neon Realtime is beta and does not support RLS; authenticate requests and seal only explicitly scoped, read-only application queries.', 'Keep DATABASE_URL and NEON_REALTIME_SECRET server-only; clients use the public NEON_REALTIME_URL and short-lived sealed queries.', 'The package exposes separate server/client factories and a Drizzle adapter; no arbitrary SQL endpoint or application subscription flow is generated.', 'Live subscriptions, renewal, revocation, allowed origins and cross-tenant isolation require authorized acceptance; live behavior remains unverified.');
70
- }
71
- if (id === 'better-auth')
72
- limits.push('Configure private authentication secret and public origin; apply and verify database migrations and authorization rules.');
73
- return {
74
- id,
75
- description: item.description,
76
- targets: item.targets,
77
- registryDependencies: item.registryDependencies,
78
- selection: item.selection,
79
- scaffold: stage('implemented', 'Bundled source recipe and stack composition.'),
80
- provisioning,
81
- delivery,
82
- limits,
83
- };
84
- }
85
- /** Advertises implemented scope and the evidence level separately. This catalog is
86
- * pure metadata; consulting it never authenticates, provisions, or verifies a live account. */
87
- export const CAPABILITY_CONTRACT = {
88
- schemaVersion: 1,
89
- cliVersion: GENERATOR_VERSION,
90
- mutation: false,
91
- liveAcceptance: 'unverified',
92
- products: STANDARD_PRODUCTS.map(productCapability),
93
- providers: Object.entries(PROVIDER_DEFINITIONS).map(([id, definition]) => ({
94
- id,
95
- managementCredential: definition.credential,
96
- resources: definition.resources,
97
- provisioning: stage('implemented', 'Selected resources through provider APIs; fixture-tested local contracts.'),
98
- liveAcceptance: 'unverified',
99
- ownerSteps: definition.ownerSteps,
100
- })),
101
- hosts: [
102
- {
103
- id: 'cloudflare',
104
- delivery: stage('implemented', 'Provision selected resources, configure bindings/secrets, deploy Workers, inspect provider identity and source receipts.'),
105
- liveAcceptance: 'unverified',
106
- },
107
- {
108
- id: 'vercel',
109
- delivery: stage('implemented', 'Configure the selected project environment, deploy the web app, inspect provider identity and source receipts.'),
110
- liveAcceptance: 'unverified',
111
- },
112
- ],
113
- plugin: [
114
- {
115
- id: 'project-inspection',
116
- capability: stage('implemented', 'Offline versioned stack, setup prerequisites and target-specific recorded delivery evidence, shared by CLI and optional UI.'),
117
- },
118
- {
119
- id: 'project-catalog',
120
- capability: stage('implemented', 'Local projects, configuration, and recorded delivery receipts.'),
121
- },
122
- {
123
- id: 'native-host-installation',
124
- capability: stage('implemented', 'Packaged plugin and host integration.', 'unverified'),
125
- },
126
- {
127
- id: 'live-analytics',
128
- capability: stage('implemented', 'Explicit selected-resource analytics for Cloudflare Workers/D1, Vercel and PostHog; provider access and metric availability require live acceptance.'),
129
- },
130
- {
131
- id: 'live-database-reader',
132
- capability: stage('implemented', 'Explicit bounded D1 and restricted read-only Neon data reads; masked rows and schema are private app metadata.'),
133
- },
134
- {
135
- id: 'live-provider-health',
136
- capability: stage('implemented', 'Explicit resource existence, identity and recorded deployment status checks; these do not certify application health.'),
137
- },
138
- {
139
- id: 'schedule-execution',
140
- capability: stage('unsupported', 'Schedules are declared configuration; no execution-history reader is implemented.', 'unverified'),
141
- },
142
- ],
143
- limits: [
144
- 'Local contract tests are separate from live provider acceptance and completed application verification.',
145
- 'Account selection, enrollment, billing approval, DNS ownership, and signing can require owner action.',
146
- 'Mixed hosting is sequential; no atomic cross-provider rollback or cached phase skipping is promised.',
147
- 'The CLI scaffolds supported primitives; customer application features remain development work.',
148
- ],
149
- };
150
- export function formatCapabilityContract() {
151
- return [
152
- `Anhedral ${CAPABILITY_CONTRACT.cliVersion} capabilities`,
153
- 'Evidence: local contracts; live provider acceptance remains unverified.',
154
- '',
155
- 'Product Provisioning Delivery',
156
- ...CAPABILITY_CONTRACT.products.map((product) => `${product.id.padEnd(20)}${product.provisioning.support.padEnd(20)}${product.delivery.support}`),
157
- '',
158
- 'Providers: ' + CAPABILITY_CONTRACT.providers.map((provider) => provider.id).join(', '),
159
- 'Expo delivery returns EAS artifacts; it does not submit to stores.',
160
- 'Electron and WXT distribution: scaffold only.',
161
- 'Plugin: explicit selected-resource analytics, bounded database reads and provider status checks; live acceptance remains unverified.',
162
- 'Schedule execution history: unavailable. Resource status does not certify application health.',
163
- '',
164
- ...CAPABILITY_CONTRACT.limits,
165
- '',
166
- 'Use --json for scope, owner steps, and evidence for every capability.',
167
- ].join('\n');
168
- }
@@ -1,24 +0,0 @@
1
- import type { ProjectInspection } from './inspector-model.js';
2
- export interface ProjectSummary {
3
- id: string;
4
- name: string;
5
- sourceName: string;
6
- updatedAt: string;
7
- products: string[];
8
- status: 'recorded' | 'source' | 'unavailable';
9
- message?: string;
10
- inspection?: ProjectInspection;
11
- }
12
- export interface Dashboard {
13
- projects: ProjectSummary[];
14
- selectedId: string | null;
15
- preferences: {
16
- view: 'list' | 'grid';
17
- };
18
- }
19
- export interface ToolArguments {
20
- id?: string;
21
- name?: string;
22
- view?: 'list' | 'grid';
23
- }
24
- export type DashboardTool = 'list_projects' | 'get_project' | 'rename_project' | 'forget_project' | 'set_view';
@@ -1 +0,0 @@
1
- export {};
@@ -1,16 +0,0 @@
1
- export declare function catalogDirectory(env?: NodeJS.ProcessEnv): string;
2
- /** Every successful CLI init records a local app unless explicitly disabled.
3
- * Registration failure never undoes generated source. */
4
- export declare function registerGeneratedProject(root: string, env?: NodeJS.ProcessEnv): {
5
- state: "not-enabled";
6
- id?: undefined;
7
- nextAction?: undefined;
8
- } | {
9
- state: "registered";
10
- id: string;
11
- nextAction?: undefined;
12
- } | {
13
- state: "pending";
14
- nextAction: string;
15
- id?: undefined;
16
- };