@quickback-dev/cli 0.66.0 → 0.66.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 (75) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/wrangler-resources.d.ts.map +1 -1
  3. package/dist/lib/wrangler-resources.js +5 -2
  4. package/dist/lib/wrangler-resources.js.map +1 -1
  5. package/dist/lib/wrangler-resources.test.js +6 -0
  6. package/dist/lib/wrangler-resources.test.js.map +1 -1
  7. package/dist/skill/SKILL.md +18 -3
  8. package/dist/skill/docs/changelog/index.md +8 -0
  9. package/dist/skill/docs/configure/domains.md +1 -1
  10. package/dist/skill/docs/configure/index.md +3 -2
  11. package/dist/skill/docs/configure/providers.md +5 -3
  12. package/dist/skill/docs/configure/single-tenant.md +7 -3
  13. package/dist/skill/docs/define/access.md +3 -0
  14. package/dist/skill/docs/define/actions/index.md +1 -1
  15. package/dist/skill/docs/define/actions/scoped-db.md +22 -5
  16. package/dist/skill/docs/define/feature.md +3 -1
  17. package/dist/skill/docs/define/firewall.md +2 -0
  18. package/dist/skill/docs/define/index.md +1 -1
  19. package/dist/skill/docs/define/relationships.md +7 -0
  20. package/dist/skill/docs/define/schema.md +21 -1
  21. package/dist/skill/docs/define/triggers.md +14 -3
  22. package/dist/skill/docs/platform/auth/api-keys.md +1 -1
  23. package/dist/skill/docs/platform/database/d1.md +13 -1
  24. package/dist/skill/docs/platform/realtime/using-realtime.md +6 -4
  25. package/dist/skill/docs/start/deploy-browser.md +2 -2
  26. package/dist/skill/docs/start/deploy-owner-access.md +49 -50
  27. package/dist/skill/docs/start/deploy.md +2 -2
  28. package/dist/skill/docs/start/first-api.md +1 -1
  29. package/dist/skill/docs/start/patterns.md +17 -2
  30. package/dist/skill/docs/start/template-cloudflare.md +1 -1
  31. package/dist/skill/docs/tooling/cli.md +1 -1
  32. package/dist/skill/docs/tooling/cloud-compiler/authentication.md +1 -1
  33. package/dist/skill/docs/tooling/cloud-compiler/troubleshooting.md +28 -0
  34. package/dist/skill/docs/ui/account/customization.md +1 -1
  35. package/dist/skill/docs/ui/account/features/api-keys.md +10 -8
  36. package/dist/skill/docs/ui/account/features/index.md +7 -6
  37. package/dist/skill/docs/ui/account/features/organizations.md +1 -1
  38. package/dist/skill/docs/ui/account/hooks.md +2 -0
  39. package/dist/skill/docs/ui/account/index.md +7 -4
  40. package/dist/skill/docs/ui/account/with-quickback.md +1 -1
  41. package/package.json +1 -1
  42. package/src/skill/SKILL.md +18 -3
  43. package/src/skill/docs/changelog/index.md +8 -0
  44. package/src/skill/docs/configure/domains.md +1 -1
  45. package/src/skill/docs/configure/index.md +3 -2
  46. package/src/skill/docs/configure/providers.md +5 -3
  47. package/src/skill/docs/configure/single-tenant.md +7 -3
  48. package/src/skill/docs/define/access.md +3 -0
  49. package/src/skill/docs/define/actions/index.md +1 -1
  50. package/src/skill/docs/define/actions/scoped-db.md +22 -5
  51. package/src/skill/docs/define/feature.md +3 -1
  52. package/src/skill/docs/define/firewall.md +2 -0
  53. package/src/skill/docs/define/index.md +1 -1
  54. package/src/skill/docs/define/relationships.md +7 -0
  55. package/src/skill/docs/define/schema.md +21 -1
  56. package/src/skill/docs/define/triggers.md +14 -3
  57. package/src/skill/docs/platform/auth/api-keys.md +1 -1
  58. package/src/skill/docs/platform/database/d1.md +13 -1
  59. package/src/skill/docs/platform/realtime/using-realtime.md +6 -4
  60. package/src/skill/docs/start/deploy-browser.md +2 -2
  61. package/src/skill/docs/start/deploy-owner-access.md +49 -50
  62. package/src/skill/docs/start/deploy.md +2 -2
  63. package/src/skill/docs/start/first-api.md +1 -1
  64. package/src/skill/docs/start/patterns.md +17 -2
  65. package/src/skill/docs/start/template-cloudflare.md +1 -1
  66. package/src/skill/docs/tooling/cli.md +1 -1
  67. package/src/skill/docs/tooling/cloud-compiler/authentication.md +1 -1
  68. package/src/skill/docs/tooling/cloud-compiler/troubleshooting.md +28 -0
  69. package/src/skill/docs/ui/account/customization.md +1 -1
  70. package/src/skill/docs/ui/account/features/api-keys.md +10 -8
  71. package/src/skill/docs/ui/account/features/index.md +7 -6
  72. package/src/skill/docs/ui/account/features/organizations.md +1 -1
  73. package/src/skill/docs/ui/account/hooks.md +2 -0
  74. package/src/skill/docs/ui/account/index.md +7 -4
  75. package/src/skill/docs/ui/account/with-quickback.md +1 -1
@@ -8,13 +8,15 @@ Account UI is a single React SPA that contains three distinct sections:
8
8
 
9
9
  ### Account (every user)
10
10
 
11
- Login, signup, profile editing, password management, device sessions, email changes, and account deletion. This is what every user interacts with.
11
+ Login, signup, profile editing, password management, device sessions, email changes, and account deletion. This is what every user interacts with. After sign-in, Account UI lands on `/profile`.
12
+
13
+ When organizations are enabled, `/profile` has **Manage Organizations** (the `/dashboard` org list and invites) and a **Go to…** control that opens the tenant app. The URL is `account.appUrl` plus `account.tenantPattern` with the org slug substituted (the same `getTenantUrl` used on the org dashboard). One org is a single button; several orgs is a picker. The control is hidden when those config values cannot produce a URL.
12
14
 
13
15
  Served on its own domain (e.g., `auth.example.com`) or at `/account/` when embedded alongside the CMS.
14
16
 
15
17
  ### Organization Management (multi-tenant)
16
18
 
17
- Dashboard with org switching, org creation, member invitations, role management, and org settings. Only available when `auth.organizations` is enabled.
19
+ `/dashboard` is org management — org list, pending invitations, and the path into org settings (`/$slug`). Personal account settings stay on `/profile`. Only available when `auth.organizations` is enabled.
18
20
 
19
21
  ### Admin Panel (admin users only)
20
22
 
@@ -86,7 +88,7 @@ Auth feature flags control which pages are included in the bundle:
86
88
  | `auth.password` | Password login, inline password change on profile |
87
89
  | `auth.emailOTP` | Email OTP login flow, email-based password reset |
88
90
  | `auth.passkey` | Passkey setup and management |
89
- | `auth.organizations` | Dashboard, org creation, member management, invitations |
91
+ | `auth.organizations` | `/dashboard` (org list + invitations), org creation, member management |
90
92
  | `auth.admin` | Admin panel (user management) |
91
93
 
92
94
  When a flag is `false`, the corresponding routes **guard themselves at runtime** — each feature route checks its flag from the worker-injected `window.__QUICKBACK_RUNTIME` config in `beforeLoad` and redirects away, and navigation entries for it are hidden. The Account SPA ships as one generic prebuilt bundle; flags decide which surfaces exist for your project.
@@ -95,9 +97,10 @@ When a flag is `false`, the corresponding routes **guard themselves at runtime**
95
97
 
96
98
  - **Authentication** — Email/password, passkeys (WebAuthn), email OTP, magic links, email verification, password reset
97
99
  - **Account Management** — Profile editing, avatar upload, password changes, device/session management, account deletion
100
+ - **Connected Accounts** — Link Google and Cloudflare logins from `/connected-accounts` (linked from profile)
98
101
  - **Organizations** — Multi-tenant org management with owner/admin/member roles, invitations, and org settings
99
102
  - **Admin Panel** — User management dashboard with search, create, ban/unban, password reset, and session viewing
100
- - **API Keys** — Generate and manage API keys for programmatic access
103
+ - **API Keys** — Generate and manage API keys from `/api-keys` (linked from profile)
101
104
  - **CLI Authorization** — Device authorization flow for `quickback login`
102
105
 
103
106
  ## Next Steps
@@ -68,7 +68,7 @@ auth: {
68
68
  password: true, // Email/password login + inline password change
69
69
  emailOTP: false, // Email OTP login flow
70
70
  passkey: true, // WebAuthn passkey setup + management
71
- organizations: true, // Dashboard, org management, invitations
71
+ organizations: true, // /dashboard org list, org management, invitations
72
72
  admin: true, // Admin panel (user management)
73
73
  }
74
74
  ```