@mux/ai 0.39.0 → 0.40.0
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/dist/index.d.ts +2 -2
- package/dist/index.js +10 -37
- package/dist/index.js.map +1 -1
- package/dist/workflows/index.d.ts +1 -1
- package/dist/workflows/index.js +9 -36
- package/dist/workflows/index.js.map +1 -1
- package/package.json +17 -3
- package/dist/{index-Wjbq-_Z0.d.ts → index-UhRs9t1h.d.ts} +6 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mux/ai",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.40.0",
|
|
5
5
|
"description": "AI library for Mux",
|
|
6
6
|
"author": "Mux",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"devDependencies": {
|
|
134
134
|
"@antfu/eslint-config": "^6.2.0",
|
|
135
135
|
"@types/node": "^20.0.0",
|
|
136
|
-
"@vitest/ui": "^4.
|
|
136
|
+
"@vitest/ui": "^4.1.11",
|
|
137
137
|
"commander": "^14.0.2",
|
|
138
138
|
"eslint": "^9.39.1",
|
|
139
139
|
"eslint-plugin-format": "^1.0.2",
|
|
@@ -145,7 +145,21 @@
|
|
|
145
145
|
"tsconfig-paths": "^4.2.0",
|
|
146
146
|
"tsup": "^8.5.0",
|
|
147
147
|
"typescript": "^5.0.0",
|
|
148
|
-
"vitest": "^4.
|
|
148
|
+
"vitest": "^4.1.11",
|
|
149
149
|
"workflow": "^4.2.4"
|
|
150
|
+
},
|
|
151
|
+
"overrides": {
|
|
152
|
+
"@workflow/core": {
|
|
153
|
+
"nanoid": "^5.1.16"
|
|
154
|
+
},
|
|
155
|
+
"@workflow/world-local": {
|
|
156
|
+
"undici": "^7.29.0"
|
|
157
|
+
},
|
|
158
|
+
"@workflow/world-vercel": {
|
|
159
|
+
"undici": "^7.29.0"
|
|
160
|
+
},
|
|
161
|
+
"evalite": {
|
|
162
|
+
"@fastify/static": "^10.1.2"
|
|
163
|
+
}
|
|
150
164
|
}
|
|
151
165
|
}
|
|
@@ -407,16 +407,16 @@ declare const questionAnswerSchema: z.ZodObject<{
|
|
|
407
407
|
reasoning: z.ZodString;
|
|
408
408
|
skipped: z.ZodBoolean;
|
|
409
409
|
}, "strip", z.ZodTypeAny, {
|
|
410
|
-
reasoning: string;
|
|
411
410
|
question: string;
|
|
412
411
|
answer: string | null;
|
|
413
412
|
confidence: number;
|
|
413
|
+
reasoning: string;
|
|
414
414
|
skipped: boolean;
|
|
415
415
|
}, {
|
|
416
|
-
reasoning: string;
|
|
417
416
|
question: string;
|
|
418
417
|
answer: string | null;
|
|
419
418
|
confidence: number;
|
|
419
|
+
reasoning: string;
|
|
420
420
|
skipped: boolean;
|
|
421
421
|
}>;
|
|
422
422
|
type QuestionAnswerType = z.infer<typeof questionAnswerSchema>;
|
|
@@ -434,32 +434,32 @@ declare function createAskQuestionsSchema(answerSchema: z.ZodType<string>): z.Zo
|
|
|
434
434
|
} & {
|
|
435
435
|
answer: z.ZodType<string, z.ZodTypeDef, string>;
|
|
436
436
|
}, "strip", z.ZodTypeAny, {
|
|
437
|
-
reasoning: string;
|
|
438
437
|
question: string;
|
|
439
438
|
answer: string;
|
|
440
439
|
confidence: number;
|
|
440
|
+
reasoning: string;
|
|
441
441
|
skipped: boolean;
|
|
442
442
|
}, {
|
|
443
|
-
reasoning: string;
|
|
444
443
|
question: string;
|
|
445
444
|
answer: string;
|
|
446
445
|
confidence: number;
|
|
446
|
+
reasoning: string;
|
|
447
447
|
skipped: boolean;
|
|
448
448
|
}>, "many">;
|
|
449
449
|
}, "strip", z.ZodTypeAny, {
|
|
450
450
|
answers: {
|
|
451
|
-
reasoning: string;
|
|
452
451
|
question: string;
|
|
453
452
|
answer: string;
|
|
454
453
|
confidence: number;
|
|
454
|
+
reasoning: string;
|
|
455
455
|
skipped: boolean;
|
|
456
456
|
}[];
|
|
457
457
|
}, {
|
|
458
458
|
answers: {
|
|
459
|
-
reasoning: string;
|
|
460
459
|
question: string;
|
|
461
460
|
answer: string;
|
|
462
461
|
confidence: number;
|
|
462
|
+
reasoning: string;
|
|
463
463
|
skipped: boolean;
|
|
464
464
|
}[];
|
|
465
465
|
}>;
|