@basaltkit/ai 1.1.0 → 1.1.2

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 (2) hide show
  1. package/dist/commands.js +3 -0
  2. package/package.json +8 -4
package/dist/commands.js CHANGED
@@ -234,6 +234,9 @@ export function aiCommands(options = {}) {
234
234
  // delegate for the new model, so every route 500s. Offer it right here.
235
235
  if (!result.migration &&
236
236
  result.schema?.found &&
237
+ // `--no-migrate` parses as `migrate: false` (cli parseArgv negation);
238
+ // the legacy literal key stays accepted for programmatic callers.
239
+ flags['migrate'] !== false &&
237
240
  flags['no-migrate'] !== true &&
238
241
  result.resources.some((r) => r.prisma)) {
239
242
  io.log('');
package/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "name": "@basaltkit/ai",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
+ "engines": {
5
+ "node": ">=22.5.0"
6
+ },
4
7
  "description": "AI-native developer experience for Basalt: a provider-agnostic engine plus `basalt ai` CLI that understands the project's stack, analyzes it, and diagnoses issues — following the framework's own conventions, not inventing new ones.",
5
8
  "license": "MIT",
6
9
  "type": "module",
10
+ "sideEffects": false,
7
11
  "exports": {
8
12
  ".": {
9
13
  "types": "./dist/index.d.ts",
@@ -26,9 +30,9 @@
26
30
  "dist"
27
31
  ],
28
32
  "dependencies": {
29
- "zod": "^4.0.0",
30
- "@basaltkit/cli": "^1.2.1",
31
- "@basaltkit/generator": "^1.2.0"
33
+ "zod": "^3.24.0 || ^4.0.0",
34
+ "@basaltkit/cli": "^1.2.3",
35
+ "@basaltkit/generator": "^1.2.2"
32
36
  },
33
37
  "devDependencies": {
34
38
  "@types/node": "^26.3.0",