@lota-sdk/shared 0.1.7 → 0.1.9

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": "@lota-sdk/shared",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -3,8 +3,6 @@ import { z } from 'zod'
3
3
 
4
4
  import type { CoreChatTools } from './tools'
5
5
 
6
- const publicWorkstreamStateSchema = z.record(z.string(), z.unknown())
7
-
8
6
  export const messageMetadataSchema = z
9
7
  .object({
10
8
  agentId: z.string().optional(),
@@ -32,9 +30,9 @@ export function parseRowMetadata(raw: unknown): MessageMetadata {
32
30
  return result.success ? result.data : undefined
33
31
  }
34
32
 
35
- export const dataPartsSchema = { workstreamTracker: publicWorkstreamStateSchema }
33
+ export const dataPartsSchema = {}
36
34
 
37
- export type CustomDataParts = { workstreamTracker: z.infer<typeof publicWorkstreamStateSchema> }
35
+ export type CustomDataParts = {}
38
36
 
39
37
  export type AnyChatTools = Record<string, { input: unknown; output: unknown }>
40
38
  export type HostExtensionChatTools = AnyChatTools
@@ -36,7 +36,7 @@ export const sdkWorkstreamRecordSchema = z.object({
36
36
  memoryBlock: z.string().nullish(),
37
37
  memoryBlockSummary: z.string().nullish(),
38
38
  activeRunId: z.string().nullish(),
39
- chatSummary: z.string().nullish(),
39
+ compactionSummary: z.string().nullish(),
40
40
  lastCompactedMessageId: z.string().nullish(),
41
41
  nameGenerated: z.boolean().optional(),
42
42
  isCompacting: z.boolean().optional(),