@acontext/acontext 0.0.5 → 0.0.6

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.
@@ -38,6 +38,6 @@ export declare const SpaceSearchResultSchema: z.ZodObject<{
38
38
  props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
39
39
  distance: z.ZodNullable<z.ZodNumber>;
40
40
  }, z.core.$strip>>;
41
- final_answer: z.ZodNullable<z.ZodString>;
41
+ final_answer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  }, z.core.$strip>;
43
43
  export type SpaceSearchResult = z.infer<typeof SpaceSearchResultSchema>;
@@ -26,5 +26,5 @@ exports.SearchResultBlockItemSchema = zod_1.z.object({
26
26
  });
27
27
  exports.SpaceSearchResultSchema = zod_1.z.object({
28
28
  cited_blocks: zod_1.z.array(exports.SearchResultBlockItemSchema),
29
- final_answer: zod_1.z.string().nullable(),
29
+ final_answer: zod_1.z.string().nullable().optional(),
30
30
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acontext/acontext",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "TypeScript SDK for the Acontext API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",