@lastbrain/ai-ui-core 1.0.26 → 1.0.27
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enhanced-gateway.d.ts","sourceRoot":"","sources":["../../../src/route-handlers/nextjs/enhanced-gateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"enhanced-gateway.d.ts","sourceRoot":"","sources":["../../../src/route-handlers/nextjs/enhanced-gateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAsKxD,wBAAsB,GAAG,CACvB,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAAE,8BAGjD;AAED,wBAAsB,IAAI,CACxB,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAAE,8BAGjD;AAED,wBAAsB,GAAG,CACvB,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAAE,8BAGjD;AAED,wBAAsB,MAAM,CAC1B,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAAE,8BAGjD"}
|
|
@@ -34,15 +34,17 @@ function mapAuthRouteToPublicRoute(path) {
|
|
|
34
34
|
"auth/ai-models-available": "ai/models/available",
|
|
35
35
|
"ai-models-available": "ai/models/available",
|
|
36
36
|
"ai/models/available": "ai/models/available", // Direct mapping
|
|
37
|
-
// AI Models - User models
|
|
37
|
+
// AI Models - User models (with both slash and dash variants)
|
|
38
38
|
"auth/ai-models-user": "ai/user/models",
|
|
39
39
|
"auth/user-models": "ai/user/models",
|
|
40
40
|
"ai-models-user": "ai/user/models",
|
|
41
41
|
"user-models": "ai/user/models",
|
|
42
|
+
"user/models": "ai/user/models", // After removing "ai/" prefix
|
|
42
43
|
"ai/user/models": "ai/user/models", // Direct mapping
|
|
43
44
|
// AI Models - Toggle
|
|
44
45
|
"auth/ai-models-toggle": "ai/user/models/toggle",
|
|
45
46
|
"ai-models-toggle": "ai/user/models/toggle",
|
|
47
|
+
"user/models/toggle": "ai/user/models/toggle", // After removing "ai/" prefix
|
|
46
48
|
"ai/user/models/toggle": "ai/user/models/toggle", // Direct mapping
|
|
47
49
|
// Text generation
|
|
48
50
|
"auth/generate-text": "text-ai",
|
package/package.json
CHANGED
|
@@ -46,16 +46,18 @@ function mapAuthRouteToPublicRoute(path: string): string {
|
|
|
46
46
|
"ai-models-available": "ai/models/available",
|
|
47
47
|
"ai/models/available": "ai/models/available", // Direct mapping
|
|
48
48
|
|
|
49
|
-
// AI Models - User models
|
|
49
|
+
// AI Models - User models (with both slash and dash variants)
|
|
50
50
|
"auth/ai-models-user": "ai/user/models",
|
|
51
51
|
"auth/user-models": "ai/user/models",
|
|
52
52
|
"ai-models-user": "ai/user/models",
|
|
53
53
|
"user-models": "ai/user/models",
|
|
54
|
+
"user/models": "ai/user/models", // After removing "ai/" prefix
|
|
54
55
|
"ai/user/models": "ai/user/models", // Direct mapping
|
|
55
56
|
|
|
56
57
|
// AI Models - Toggle
|
|
57
58
|
"auth/ai-models-toggle": "ai/user/models/toggle",
|
|
58
59
|
"ai-models-toggle": "ai/user/models/toggle",
|
|
60
|
+
"user/models/toggle": "ai/user/models/toggle", // After removing "ai/" prefix
|
|
59
61
|
"ai/user/models/toggle": "ai/user/models/toggle", // Direct mapping
|
|
60
62
|
|
|
61
63
|
// Text generation
|