@rubytech/create-maxy 0.4.6 → 0.4.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubytech/create-maxy",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "description": "Install Maxy — your personal AI assistant",
5
5
  "bin": {
6
6
  "create-maxy": "./dist/index.js"
@@ -1,6 +1,8 @@
1
1
  import { NextResponse } from 'next/server'
2
2
  import { execFileSync } from 'node:child_process'
3
- import { loginAnthropic, type OAuthCredentials } from '@mariozechner/pi-ai'
3
+ import { loginAnthropic } from '@mariozechner/pi-ai/dist/utils/oauth/anthropic.js'
4
+
5
+ type OAuthCredentials = { access: string; refresh: string; expires: number; email?: string }
4
6
  import { existsSync, readFileSync, writeFileSync, mkdirSync } from 'node:fs'
5
7
  import { resolve } from 'node:path'
6
8
  import { homedir } from 'node:os'
@@ -9,7 +9,7 @@
9
9
  "version": "0.1.0",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/claude-agent-sdk": "^0.2.76",
12
- "@mariozechner/pi-ai": "^0.58.2",
12
+ "@mariozechner/pi-ai": "^0.52.7",
13
13
  "lucide-react": "^0.572.0",
14
14
  "next": "16.1.6",
15
15
  "react": "^19.2.4",
@@ -1286,20 +1286,20 @@
1286
1286
  }
1287
1287
  },
1288
1288
  "node_modules/@mariozechner/pi-ai": {
1289
- "version": "0.58.2",
1290
- "resolved": "https://registry.npmjs.org/@mariozechner/pi-ai/-/pi-ai-0.58.2.tgz",
1291
- "integrity": "sha512-1JZRjmzb9ANfRFSKIGfQDX9lehS2YOg4TgGembAS2hFuiwtcOih9+VmtJ+mZj4Ng4UQfSUNA73+znhn8i2L6WQ==",
1289
+ "version": "0.52.7",
1290
+ "resolved": "https://registry.npmjs.org/@mariozechner/pi-ai/-/pi-ai-0.52.7.tgz",
1291
+ "integrity": "sha512-kr3isYX1wVxHaKok1Sa6Jbx9TgVp+Vp24LrVxUtQRXGMq6IjB5/RLLF61XT8pgGLBPhs/8esQbO/Av3l2MJibA==",
1292
1292
  "license": "MIT",
1293
1293
  "dependencies": {
1294
1294
  "@anthropic-ai/sdk": "^0.73.0",
1295
1295
  "@aws-sdk/client-bedrock-runtime": "^3.983.0",
1296
1296
  "@google/genai": "^1.40.0",
1297
- "@mistralai/mistralai": "1.14.1",
1297
+ "@mistralai/mistralai": "1.10.0",
1298
1298
  "@sinclair/typebox": "^0.34.41",
1299
1299
  "ajv": "^8.17.1",
1300
1300
  "ajv-formats": "^3.0.1",
1301
1301
  "chalk": "^5.6.2",
1302
- "openai": "6.26.0",
1302
+ "openai": "6.10.0",
1303
1303
  "partial-json": "^0.1.7",
1304
1304
  "proxy-agent": "^6.5.0",
1305
1305
  "undici": "^7.19.1",
@@ -1313,15 +1313,23 @@
1313
1313
  }
1314
1314
  },
1315
1315
  "node_modules/@mistralai/mistralai": {
1316
- "version": "1.14.1",
1317
- "resolved": "https://registry.npmjs.org/@mistralai/mistralai/-/mistralai-1.14.1.tgz",
1318
- "integrity": "sha512-IiLmmZFCCTReQgPAT33r7KQ1nYo5JPdvGkrkZqA8qQ2qB1GHgs5LoP5K2ICyrjnpw2n8oSxMM/VP+liiKcGNlQ==",
1316
+ "version": "1.10.0",
1317
+ "resolved": "https://registry.npmjs.org/@mistralai/mistralai/-/mistralai-1.10.0.tgz",
1318
+ "integrity": "sha512-tdIgWs4Le8vpvPiUEWne6tK0qbVc+jMenujnvTqOjogrJUsCSQhus0tHTU1avDDh5//Rq2dFgP9mWRAdIEoBqg==",
1319
1319
  "dependencies": {
1320
- "ws": "^8.18.0",
1321
- "zod": "^3.25.0 || ^4.0.0",
1320
+ "zod": "^3.20.0",
1322
1321
  "zod-to-json-schema": "^3.24.1"
1323
1322
  }
1324
1323
  },
1324
+ "node_modules/@mistralai/mistralai/node_modules/zod": {
1325
+ "version": "3.25.76",
1326
+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
1327
+ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
1328
+ "license": "MIT",
1329
+ "funding": {
1330
+ "url": "https://github.com/sponsors/colinhacks"
1331
+ }
1332
+ },
1325
1333
  "node_modules/@next/env": {
1326
1334
  "version": "16.1.6",
1327
1335
  "resolved": "https://registry.npmjs.org/@next/env/-/env-16.1.6.tgz",
@@ -3091,9 +3099,9 @@
3091
3099
  }
3092
3100
  },
3093
3101
  "node_modules/openai": {
3094
- "version": "6.26.0",
3095
- "resolved": "https://registry.npmjs.org/openai/-/openai-6.26.0.tgz",
3096
- "integrity": "sha512-zd23dbWTjiJ6sSAX6s0HrCZi41JwTA1bQVs0wLQPZ2/5o2gxOJA5wh7yOAUgwYybfhDXyhwlpeQf7Mlgx8EOCA==",
3102
+ "version": "6.10.0",
3103
+ "resolved": "https://registry.npmjs.org/openai/-/openai-6.10.0.tgz",
3104
+ "integrity": "sha512-ITxOGo7rO3XRMiKA5l7tQ43iNNu+iXGFAcf2t+aWVzzqRaS0i7m1K2BhxNdaveB+5eENhO0VY1FkiZzhBk4v3A==",
3097
3105
  "license": "Apache-2.0",
3098
3106
  "bin": {
3099
3107
  "openai": "bin/cli"
@@ -3838,6 +3846,7 @@
3838
3846
  "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz",
3839
3847
  "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==",
3840
3848
  "license": "MIT",
3849
+ "peer": true,
3841
3850
  "funding": {
3842
3851
  "url": "https://github.com/sponsors/colinhacks"
3843
3852
  }
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@anthropic-ai/claude-agent-sdk": "^0.2.76",
13
- "@mariozechner/pi-ai": "^0.58.2",
13
+ "@mariozechner/pi-ai": "^0.52.7",
14
14
  "lucide-react": "^0.572.0",
15
15
  "next": "16.1.6",
16
16
  "react": "^19.2.4",