@basaltkit/ai 1.6.2 → 1.6.3

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.
@@ -84,7 +84,7 @@ export function renderPrismaRepository(name, fields, options) {
84
84
  // A missing tenant is a client error (400) — never a silent 500.
85
85
  const currentTenantId = (): string => {
86
86
  const id = (tryCtx()?.['tenant'] as { id?: string } | undefined)?.id
87
- if (!id) throw new HttpError(400, 'TENANT_REQUIRED', 'No tenant in context — send the x-tenant-id header (or resolve a tenant first).')
87
+ if (!id) throw new HttpError(400, 'TENANT_REQUIRED', 'No tenant in context — reach this route the way tenancyPlugin resolves tenants (subdomain, domain, route or x-tenant-id header).')
88
88
  return id
89
89
  }
90
90
  `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basaltkit/ai",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "engines": {
5
5
  "node": ">=22.5.0"
6
6
  },
@@ -31,7 +31,7 @@
31
31
  ],
32
32
  "dependencies": {
33
33
  "zod": "^4.6.7",
34
- "@basaltkit/cli": "^1.7.1",
34
+ "@basaltkit/cli": "^1.8.0",
35
35
  "@basaltkit/generator": "^1.7.0"
36
36
  },
37
37
  "devDependencies": {