@dxos/plugin-transcription 0.8.4-main.67995b8 → 0.8.4-main.ae835ea

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.
Files changed (172) hide show
  1. package/dist/lib/browser/TranscriptContainer-2GSL2XB5.mjs +11 -0
  2. package/dist/lib/browser/blueprint-definition-UAAJYVLZ.mjs +150 -0
  3. package/dist/lib/browser/blueprint-definition-UAAJYVLZ.mjs.map +7 -0
  4. package/dist/lib/browser/{chunk-U6QBOGTN.mjs → chunk-3MKZ2MNQ.mjs} +5 -5
  5. package/dist/lib/browser/chunk-3MKZ2MNQ.mjs.map +7 -0
  6. package/dist/lib/browser/{chunk-4FJIYH7T.mjs → chunk-535OJKFO.mjs} +2 -2
  7. package/dist/lib/browser/{chunk-5KPYIC3N.mjs → chunk-7DR6HZEF.mjs} +332 -363
  8. package/dist/lib/browser/chunk-7DR6HZEF.mjs.map +7 -0
  9. package/dist/lib/browser/chunk-VBUIO677.mjs +29 -0
  10. package/dist/lib/browser/chunk-VBUIO677.mjs.map +7 -0
  11. package/dist/lib/browser/chunk-W7WKZTM4.mjs +63 -0
  12. package/dist/lib/browser/chunk-W7WKZTM4.mjs.map +7 -0
  13. package/dist/lib/browser/{chunk-FFEPEPCU.mjs → chunk-WH36ENNE.mjs} +49 -78
  14. package/dist/lib/browser/chunk-WH36ENNE.mjs.map +7 -0
  15. package/dist/lib/browser/index.mjs +24 -19
  16. package/dist/lib/browser/index.mjs.map +3 -3
  17. package/dist/lib/browser/intent-resolver-ZTKTEAQX.mjs +25 -0
  18. package/dist/lib/browser/intent-resolver-ZTKTEAQX.mjs.map +7 -0
  19. package/dist/lib/browser/meta.json +1 -1
  20. package/dist/lib/browser/{react-surface-E5D5AE3F.mjs → react-surface-KA32A72I.mjs} +10 -10
  21. package/dist/lib/browser/react-surface-KA32A72I.mjs.map +7 -0
  22. package/dist/lib/browser/{transcriber-PXT4QBFY.mjs → transcriber-LWOLYQHC.mjs} +7 -7
  23. package/dist/lib/browser/transcriber-LWOLYQHC.mjs.map +7 -0
  24. package/dist/lib/browser/types/index.mjs +6 -8
  25. package/dist/lib/node-esm/{TranscriptContainer-VBAOM5DG.mjs → TranscriptContainer-GRLDCESB.mjs} +4 -4
  26. package/dist/lib/node-esm/blueprint-definition-Z3LTZ3ID.mjs +151 -0
  27. package/dist/lib/node-esm/blueprint-definition-Z3LTZ3ID.mjs.map +7 -0
  28. package/dist/lib/node-esm/{chunk-TJKAO7VR.mjs → chunk-K4AZOB5Y.mjs} +332 -363
  29. package/dist/lib/node-esm/chunk-K4AZOB5Y.mjs.map +7 -0
  30. package/dist/lib/node-esm/chunk-OLMSTF3M.mjs +64 -0
  31. package/dist/lib/node-esm/chunk-OLMSTF3M.mjs.map +7 -0
  32. package/dist/lib/node-esm/{chunk-Y2B4HWSS.mjs → chunk-Q6WD7L2J.mjs} +2 -2
  33. package/dist/lib/node-esm/{chunk-RHF2ALML.mjs → chunk-SWUVPFKR.mjs} +5 -5
  34. package/dist/lib/node-esm/chunk-SWUVPFKR.mjs.map +7 -0
  35. package/dist/lib/node-esm/{chunk-HT3W7LDP.mjs → chunk-YFN4FJFK.mjs} +49 -78
  36. package/dist/lib/node-esm/chunk-YFN4FJFK.mjs.map +7 -0
  37. package/dist/lib/node-esm/chunk-YVNQN2J6.mjs +30 -0
  38. package/dist/lib/node-esm/chunk-YVNQN2J6.mjs.map +7 -0
  39. package/dist/lib/node-esm/index.mjs +24 -19
  40. package/dist/lib/node-esm/index.mjs.map +3 -3
  41. package/dist/lib/node-esm/intent-resolver-55WH2GY6.mjs +26 -0
  42. package/dist/lib/node-esm/intent-resolver-55WH2GY6.mjs.map +7 -0
  43. package/dist/lib/node-esm/meta.json +1 -1
  44. package/dist/lib/node-esm/{react-surface-QRDJOHN5.mjs → react-surface-GU7LW2JO.mjs} +10 -10
  45. package/dist/lib/node-esm/react-surface-GU7LW2JO.mjs.map +7 -0
  46. package/dist/lib/node-esm/{transcriber-YUTEVANE.mjs → transcriber-UGB7ECX6.mjs} +7 -7
  47. package/dist/lib/node-esm/transcriber-UGB7ECX6.mjs.map +7 -0
  48. package/dist/lib/node-esm/types/index.mjs +6 -8
  49. package/dist/types/src/TranscriptionPlugin.d.ts +1 -1
  50. package/dist/types/src/TranscriptionPlugin.d.ts.map +1 -1
  51. package/dist/types/src/capabilities/blueprint-definition.d.ts +5 -0
  52. package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -0
  53. package/dist/types/src/capabilities/capabilities.d.ts +1 -1
  54. package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
  55. package/dist/types/src/capabilities/index.d.ts +3 -2
  56. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  57. package/dist/types/src/capabilities/intent-resolver.d.ts +1 -1
  58. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
  59. package/dist/types/src/capabilities/react-surface.d.ts +1 -1
  60. package/dist/types/src/capabilities/transcriber.d.ts +1 -1
  61. package/dist/types/src/capabilities/transcriber.d.ts.map +1 -1
  62. package/dist/types/src/components/Transcript/Transcript.d.ts +5 -5
  63. package/dist/types/src/components/Transcript/Transcript.d.ts.map +1 -1
  64. package/dist/types/src/components/Transcript/Transcript.stories.d.ts +31 -16
  65. package/dist/types/src/components/Transcript/Transcript.stories.d.ts.map +1 -1
  66. package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts +3 -3
  67. package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts.map +1 -1
  68. package/dist/types/src/components/Transcript/transcript-extension.d.ts +1 -5
  69. package/dist/types/src/components/Transcript/transcript-extension.d.ts.map +1 -1
  70. package/dist/types/src/components/TranscriptContainer.d.ts +2 -2
  71. package/dist/types/src/components/TranscriptContainer.d.ts.map +1 -1
  72. package/dist/types/src/components/stories/FileTranscription.stories.d.ts +5 -4
  73. package/dist/types/src/components/stories/FileTranscription.stories.d.ts.map +1 -1
  74. package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts +10 -6
  75. package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts.map +1 -1
  76. package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts +7 -6
  77. package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts.map +1 -1
  78. package/dist/types/src/components/stories/TranscriptionStory.d.ts +2 -1
  79. package/dist/types/src/components/stories/TranscriptionStory.d.ts.map +1 -1
  80. package/dist/types/src/functions/index.d.ts +3 -0
  81. package/dist/types/src/functions/index.d.ts.map +1 -0
  82. package/dist/types/src/functions/open.d.ts +7 -0
  83. package/dist/types/src/functions/open.d.ts.map +1 -0
  84. package/dist/types/src/functions/summarize.d.ts +11 -0
  85. package/dist/types/src/functions/summarize.d.ts.map +1 -0
  86. package/dist/types/src/hooks/useAudioFile.d.ts.map +1 -1
  87. package/dist/types/src/hooks/useVoiceInput.d.ts.map +1 -1
  88. package/dist/types/src/meta.d.ts +0 -1
  89. package/dist/types/src/meta.d.ts.map +1 -1
  90. package/dist/types/src/segments-normalization/normalization.d.ts +388 -328
  91. package/dist/types/src/segments-normalization/normalization.d.ts.map +1 -1
  92. package/dist/types/src/testing/testing.d.ts +2 -2
  93. package/dist/types/src/testing/testing.d.ts.map +1 -1
  94. package/dist/types/src/transcriber/media-stream-recorder.d.ts +1 -1
  95. package/dist/types/src/transcriber/media-stream-recorder.d.ts.map +1 -1
  96. package/dist/types/src/transcriber/transcriber.d.ts.map +1 -1
  97. package/dist/types/src/transcriber/transcription-manager.d.ts +3 -7
  98. package/dist/types/src/transcriber/transcription-manager.d.ts.map +1 -1
  99. package/dist/types/src/types/Transcript.d.ts +30 -0
  100. package/dist/types/src/types/Transcript.d.ts.map +1 -0
  101. package/dist/types/src/types/TranscriptAction.d.ts +23 -0
  102. package/dist/types/src/types/TranscriptAction.d.ts.map +1 -0
  103. package/dist/types/src/types/index.d.ts +2 -1
  104. package/dist/types/src/types/index.d.ts.map +1 -1
  105. package/dist/types/src/types/types.d.ts +0 -26
  106. package/dist/types/src/types/types.d.ts.map +1 -1
  107. package/dist/types/tsconfig.tsbuildinfo +1 -1
  108. package/package.json +65 -66
  109. package/src/TranscriptionPlugin.tsx +58 -53
  110. package/src/capabilities/blueprint-definition.ts +31 -0
  111. package/src/capabilities/capabilities.ts +6 -6
  112. package/src/capabilities/index.ts +1 -0
  113. package/src/capabilities/intent-resolver.ts +5 -11
  114. package/src/capabilities/react-surface.tsx +2 -2
  115. package/src/capabilities/transcriber.ts +3 -2
  116. package/src/components/Transcript/Transcript.stories.tsx +34 -31
  117. package/src/components/Transcript/Transcript.tsx +20 -27
  118. package/src/components/Transcript/deprecated/OldTranscript.tsx +9 -9
  119. package/src/components/Transcript/transcript-extension.ts +2 -39
  120. package/src/components/TranscriptContainer.tsx +7 -6
  121. package/src/components/stories/FileTranscription.stories.tsx +47 -36
  122. package/src/components/stories/KeyWordRecognition.stories.tsx +14 -10
  123. package/src/components/stories/MicrophoneTranscription.stories.tsx +40 -37
  124. package/src/components/stories/TranscriptionStory.tsx +10 -6
  125. package/src/functions/index.ts +6 -0
  126. package/src/functions/open.ts +39 -0
  127. package/src/functions/summarize.ts +103 -0
  128. package/src/hooks/useAudioFile.ts +49 -53
  129. package/src/hooks/useVoiceInput.ts +3 -2
  130. package/src/meta.ts +7 -4
  131. package/src/model/model.test.ts +1 -1
  132. package/src/segments-normalization/message-normalizer.ts +1 -1
  133. package/src/segments-normalization/normalization.test.ts +5 -5
  134. package/src/segments-normalization/normalization.ts +38 -37
  135. package/src/testing/testing.ts +7 -7
  136. package/src/transcriber/media-stream-recorder.ts +1 -1
  137. package/src/transcriber/transcriber.browser.test.ts +2 -1
  138. package/src/transcriber/transcriber.ts +2 -1
  139. package/src/transcriber/transcription-manager.ts +17 -38
  140. package/src/types/{schema.ts → Transcript.ts} +12 -9
  141. package/src/types/TranscriptAction.ts +24 -0
  142. package/src/types/index.ts +2 -1
  143. package/src/types/types.ts +0 -23
  144. package/dist/lib/browser/TranscriptContainer-6WCKCXQ6.mjs +0 -11
  145. package/dist/lib/browser/chunk-5KPYIC3N.mjs.map +0 -7
  146. package/dist/lib/browser/chunk-5WH45KBY.mjs +0 -19
  147. package/dist/lib/browser/chunk-5WH45KBY.mjs.map +0 -7
  148. package/dist/lib/browser/chunk-FFEPEPCU.mjs.map +0 -7
  149. package/dist/lib/browser/chunk-R7INNNUQ.mjs +0 -55
  150. package/dist/lib/browser/chunk-R7INNNUQ.mjs.map +0 -7
  151. package/dist/lib/browser/chunk-U6QBOGTN.mjs.map +0 -7
  152. package/dist/lib/browser/intent-resolver-3O33MMP5.mjs +0 -30
  153. package/dist/lib/browser/intent-resolver-3O33MMP5.mjs.map +0 -7
  154. package/dist/lib/browser/react-surface-E5D5AE3F.mjs.map +0 -7
  155. package/dist/lib/browser/transcriber-PXT4QBFY.mjs.map +0 -7
  156. package/dist/lib/node-esm/chunk-HT3W7LDP.mjs.map +0 -7
  157. package/dist/lib/node-esm/chunk-RHF2ALML.mjs.map +0 -7
  158. package/dist/lib/node-esm/chunk-TJKAO7VR.mjs.map +0 -7
  159. package/dist/lib/node-esm/chunk-U65ZWK3L.mjs +0 -56
  160. package/dist/lib/node-esm/chunk-U65ZWK3L.mjs.map +0 -7
  161. package/dist/lib/node-esm/chunk-XMUCZBP3.mjs +0 -21
  162. package/dist/lib/node-esm/chunk-XMUCZBP3.mjs.map +0 -7
  163. package/dist/lib/node-esm/intent-resolver-YMN5SXNC.mjs +0 -31
  164. package/dist/lib/node-esm/intent-resolver-YMN5SXNC.mjs.map +0 -7
  165. package/dist/lib/node-esm/react-surface-QRDJOHN5.mjs.map +0 -7
  166. package/dist/lib/node-esm/transcriber-YUTEVANE.mjs.map +0 -7
  167. package/dist/types/src/types/schema.d.ts +0 -41
  168. package/dist/types/src/types/schema.d.ts.map +0 -1
  169. /package/dist/lib/browser/{TranscriptContainer-6WCKCXQ6.mjs.map → TranscriptContainer-2GSL2XB5.mjs.map} +0 -0
  170. /package/dist/lib/browser/{chunk-4FJIYH7T.mjs.map → chunk-535OJKFO.mjs.map} +0 -0
  171. /package/dist/lib/node-esm/{TranscriptContainer-VBAOM5DG.mjs.map → TranscriptContainer-GRLDCESB.mjs.map} +0 -0
  172. /package/dist/lib/node-esm/{chunk-Y2B4HWSS.mjs.map → chunk-Q6WD7L2J.mjs.map} +0 -0
@@ -1,135 +1,155 @@
1
- import { Schema } from 'effect';
1
+ import * as Schema from 'effect/Schema';
2
2
  declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
3
3
  id: import("@dxos/keys").ObjectIdClass;
4
- created: import("effect/Schema").SchemaClass<string, string, never>;
5
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
6
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
7
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
8
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
9
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
10
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
11
- organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
4
+ parentMessage: Schema.optional<import("@dxos/keys").ObjectIdClass>;
5
+ created: Schema.SchemaClass<string, string, never>;
6
+ sender: Schema.mutable<Schema.Struct<{
7
+ contact: Schema.optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<Schema.extend<Schema.Struct<{
8
+ fullName: Schema.optional<Schema.SchemaClass<string, string, never>>;
9
+ preferredName: Schema.optional<Schema.SchemaClass<string, string, never>>;
10
+ nickname: Schema.optional<Schema.SchemaClass<string, string, never>>;
11
+ image: Schema.optional<Schema.SchemaClass<string, string, never>>;
12
+ organization: Schema.optional<Schema.Schema<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
12
13
  id: string;
13
- name?: string | undefined;
14
14
  description?: string | undefined;
15
+ name?: string | undefined;
15
16
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
16
17
  image?: string | undefined;
17
18
  website?: string | undefined;
19
+ location?: readonly [number, number, (number | undefined)?] | undefined;
18
20
  }>, import("@dxos/echo-protocol").EncodedReference, never>>;
19
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
20
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
21
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
22
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
23
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
24
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
21
+ jobTitle: Schema.optional<Schema.SchemaClass<string, string, never>>;
22
+ department: Schema.optional<Schema.SchemaClass<string, string, never>>;
23
+ notes: Schema.optional<Schema.SchemaClass<string, string, never>>;
24
+ emails: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
25
+ label: Schema.optional<typeof Schema.String>;
26
+ value: Schema.refine<string, typeof Schema.String>;
25
27
  }>>>>;
26
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
27
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
28
- value: typeof import("effect/Schema").String;
28
+ identities: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
29
+ label: Schema.optional<typeof Schema.String>;
30
+ value: typeof Schema.String;
29
31
  }>>>>;
30
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
31
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
32
- value: typeof import("effect/Schema").String;
32
+ phoneNumbers: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
33
+ label: Schema.optional<typeof Schema.String>;
34
+ value: typeof Schema.String;
33
35
  }>>>>;
34
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
35
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
36
- value: import("effect/Schema").Struct<{
37
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
38
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
39
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
40
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
41
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
42
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
43
- country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
36
+ addresses: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
37
+ label: Schema.optional<typeof Schema.String>;
38
+ value: Schema.Struct<{
39
+ street: Schema.optional<Schema.SchemaClass<string, string, never>>;
40
+ extended: Schema.optional<Schema.SchemaClass<string, string, never>>;
41
+ locality: Schema.optional<Schema.SchemaClass<string, string, never>>;
42
+ region: Schema.optional<Schema.SchemaClass<string, string, never>>;
43
+ postalCode: Schema.optional<Schema.SchemaClass<string, string, never>>;
44
+ postOfficeBoxNumber: Schema.optional<Schema.SchemaClass<string, string, never>>;
45
+ country: Schema.optional<Schema.SchemaClass<string, string, never>>;
44
46
  }>;
45
47
  }>>>>;
46
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
47
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
48
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
48
+ urls: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
49
+ label: Schema.optional<typeof Schema.String>;
50
+ value: Schema.refine<string, typeof Schema.String>;
49
51
  }>>>>;
50
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
51
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
52
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
53
- label: typeof import("effect/Schema").String;
54
- value: typeof import("effect/Schema").String;
52
+ birthday: Schema.optional<Schema.SchemaClass<string, string, never>>;
53
+ fields: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
54
+ category: Schema.optional<typeof Schema.String>;
55
+ label: typeof Schema.String;
56
+ value: typeof Schema.String;
55
57
  }>>>>;
56
- }>>>>;
57
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
58
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
59
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
60
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
61
- role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
58
+ }>, Schema.Struct<{
59
+ location: Schema.optional<Schema.Tuple<[Schema.filter<Schema.transform<Schema.SchemaClass<number, number, never>, Schema.filter<Schema.SchemaClass<number, number, never>>>>, Schema.filter<Schema.transform<Schema.SchemaClass<number, number, never>, Schema.filter<Schema.SchemaClass<number, number, never>>>>, Schema.Element<typeof Schema.Number, "?">]>>;
60
+ }>>>>>;
61
+ identityDid: Schema.optional<typeof Schema.String>;
62
+ identityKey: Schema.optional<typeof Schema.String>;
63
+ email: Schema.optional<typeof Schema.String>;
64
+ name: Schema.optional<typeof Schema.String>;
65
+ role: Schema.optional<Schema.Literal<["user", "assistant", "tool"]>>;
62
66
  }>>;
63
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
64
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
67
+ blocks: Schema.mutable<Schema.Array$<Schema.Union<[Schema.mutable<Schema.TaggedStruct<"anchor", {
68
+ pending: Schema.optional<typeof Schema.Boolean>;
65
69
  objectId: import("@dxos/keys").ObjectIdClass;
66
- version: typeof import("effect/Schema").Unknown;
67
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
68
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
69
- url: typeof import("effect/Schema").String;
70
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
71
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
72
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
73
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
74
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
75
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
76
- type: import("effect/Schema").Literal<["base64"]>;
77
- mediaType: typeof import("effect/Schema").String;
78
- data: typeof import("effect/Schema").String;
79
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
80
- type: import("effect/Schema").Literal<["http"]>;
81
- url: typeof import("effect/Schema").String;
70
+ version: typeof Schema.Unknown;
71
+ }>>, Schema.mutable<Schema.TaggedStruct<"file", {
72
+ pending: Schema.optional<typeof Schema.Boolean>;
73
+ url: typeof Schema.String;
74
+ name: Schema.optional<typeof Schema.String>;
75
+ mediaType: Schema.optional<typeof Schema.String>;
76
+ }>>, Schema.mutable<Schema.TaggedStruct<"image", {
77
+ pending: Schema.optional<typeof Schema.Boolean>;
78
+ id: Schema.optional<typeof Schema.String>;
79
+ source: Schema.optional<Schema.Union<[Schema.mutable<Schema.Struct<{
80
+ type: Schema.Literal<["base64"]>;
81
+ mediaType: typeof Schema.String;
82
+ data: typeof Schema.String;
83
+ }>>, Schema.mutable<Schema.Struct<{
84
+ type: Schema.Literal<["http"]>;
85
+ url: typeof Schema.String;
82
86
  }>>]>>;
83
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
84
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
85
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
86
- data: typeof import("effect/Schema").String;
87
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
88
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
89
- text: typeof import("effect/Schema").String;
90
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
91
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
92
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
93
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
94
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
95
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
96
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
97
- reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
87
+ }>>, Schema.mutable<Schema.TaggedStruct<"json", {
88
+ pending: Schema.optional<typeof Schema.Boolean>;
89
+ disposition: Schema.optional<typeof Schema.String>;
90
+ data: typeof Schema.String;
91
+ }>>, Schema.mutable<Schema.TaggedStruct<"proposal", {
92
+ pending: Schema.optional<typeof Schema.Boolean>;
93
+ text: typeof Schema.String;
94
+ }>>, Schema.mutable<Schema.TaggedStruct<"reasoning", {
95
+ pending: Schema.optional<typeof Schema.Boolean>;
96
+ reasoningText: Schema.optional<typeof Schema.String>;
97
+ redactedText: Schema.optional<typeof Schema.String>;
98
+ signature: Schema.optional<typeof Schema.String>;
99
+ }>>, Schema.mutable<Schema.TaggedStruct<"reference", {
100
+ pending: Schema.optional<typeof Schema.Boolean>;
101
+ reference: import("@dxos/echo/Type").ref<Schema.Schema<import("@dxos/echo/Type").Expando, {
98
102
  [x: string]: any;
99
103
  id: string;
100
104
  }, never>>;
101
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
102
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
103
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
104
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
105
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
106
- statusText: typeof import("effect/Schema").String;
107
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
108
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
109
- text: typeof import("effect/Schema").String;
110
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
111
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
112
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
113
- text: typeof import("effect/Schema").String;
114
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
115
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
116
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
117
- toolCallId: typeof import("effect/Schema").String;
118
- name: typeof import("effect/Schema").String;
119
- input: typeof import("effect/Schema").Unknown;
120
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolList", {
121
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
122
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
123
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
124
- toolCallId: typeof import("effect/Schema").String;
125
- name: typeof import("effect/Schema").String;
126
- result: typeof import("effect/Schema").Unknown;
127
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
128
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
129
- started: typeof import("effect/Schema").String;
130
- text: typeof import("effect/Schema").String;
105
+ }>>, Schema.mutable<Schema.TaggedStruct<"select", {
106
+ pending: Schema.optional<typeof Schema.Boolean>;
107
+ options: Schema.Array$<typeof Schema.String>;
108
+ }>>, Schema.mutable<Schema.TaggedStruct<"status", {
109
+ pending: Schema.optional<typeof Schema.Boolean>;
110
+ statusText: typeof Schema.String;
111
+ }>>, Schema.mutable<Schema.TaggedStruct<"suggestion", {
112
+ pending: Schema.optional<typeof Schema.Boolean>;
113
+ text: typeof Schema.String;
114
+ }>>, Schema.mutable<Schema.TaggedStruct<"summary", {
115
+ pending: Schema.optional<typeof Schema.Boolean>;
116
+ mimeType: Schema.optional<typeof Schema.String>;
117
+ message: Schema.optional<typeof Schema.String>;
118
+ model: Schema.optional<typeof Schema.String>;
119
+ usage: Schema.optional<Schema.Struct<{
120
+ inputTokens: Schema.optional<typeof Schema.Number>;
121
+ outputTokens: Schema.optional<typeof Schema.Number>;
122
+ totalTokens: Schema.optional<typeof Schema.Number>;
123
+ }>>;
124
+ toolCalls: Schema.optional<typeof Schema.Number>;
125
+ errors: Schema.optional<typeof Schema.Number>;
126
+ duration: Schema.optional<typeof Schema.Number>;
127
+ }>>, Schema.mutable<Schema.TaggedStruct<"text", {
128
+ pending: Schema.optional<typeof Schema.Boolean>;
129
+ mimeType: Schema.optional<typeof Schema.String>;
130
+ text: typeof Schema.String;
131
+ disposition: Schema.optional<typeof Schema.String>;
132
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolkit", {
133
+ pending: Schema.optional<typeof Schema.Boolean>;
134
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolCall", {
135
+ pending: Schema.optional<typeof Schema.Boolean>;
136
+ toolCallId: typeof Schema.String;
137
+ name: typeof Schema.String;
138
+ input: typeof Schema.String;
139
+ providerExecuted: typeof Schema.Boolean;
140
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolResult", {
141
+ pending: Schema.optional<typeof Schema.Boolean>;
142
+ toolCallId: typeof Schema.String;
143
+ name: typeof Schema.String;
144
+ result: Schema.optional<typeof Schema.String>;
145
+ error: Schema.optional<typeof Schema.String>;
146
+ providerExecuted: typeof Schema.Boolean;
147
+ }>>, Schema.mutable<Schema.TaggedStruct<"transcript", {
148
+ pending: Schema.optional<typeof Schema.Boolean>;
149
+ started: typeof Schema.String;
150
+ text: typeof Schema.String;
131
151
  }>>]>>>;
132
- properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
152
+ properties: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>>;
133
153
  }>>, Schema.Struct<{
134
154
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
135
155
  }>>;
@@ -138,135 +158,155 @@ export interface MessageWithRangeId extends Schema.Schema.Type<typeof MessageWit
138
158
  export declare const NormalizationInput: Schema.Struct<{
139
159
  messages: Schema.Array$<Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
140
160
  id: import("@dxos/keys").ObjectIdClass;
141
- created: import("effect/Schema").SchemaClass<string, string, never>;
142
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
143
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
144
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
145
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
146
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
147
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
148
- organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
161
+ parentMessage: Schema.optional<import("@dxos/keys").ObjectIdClass>;
162
+ created: Schema.SchemaClass<string, string, never>;
163
+ sender: Schema.mutable<Schema.Struct<{
164
+ contact: Schema.optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<Schema.extend<Schema.Struct<{
165
+ fullName: Schema.optional<Schema.SchemaClass<string, string, never>>;
166
+ preferredName: Schema.optional<Schema.SchemaClass<string, string, never>>;
167
+ nickname: Schema.optional<Schema.SchemaClass<string, string, never>>;
168
+ image: Schema.optional<Schema.SchemaClass<string, string, never>>;
169
+ organization: Schema.optional<Schema.Schema<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
149
170
  id: string;
150
- name?: string | undefined;
151
171
  description?: string | undefined;
172
+ name?: string | undefined;
152
173
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
153
174
  image?: string | undefined;
154
175
  website?: string | undefined;
176
+ location?: readonly [number, number, (number | undefined)?] | undefined;
155
177
  }>, import("@dxos/echo-protocol").EncodedReference, never>>;
156
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
157
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
158
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
159
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
160
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
161
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
178
+ jobTitle: Schema.optional<Schema.SchemaClass<string, string, never>>;
179
+ department: Schema.optional<Schema.SchemaClass<string, string, never>>;
180
+ notes: Schema.optional<Schema.SchemaClass<string, string, never>>;
181
+ emails: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
182
+ label: Schema.optional<typeof Schema.String>;
183
+ value: Schema.refine<string, typeof Schema.String>;
162
184
  }>>>>;
163
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
164
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
165
- value: typeof import("effect/Schema").String;
185
+ identities: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
186
+ label: Schema.optional<typeof Schema.String>;
187
+ value: typeof Schema.String;
166
188
  }>>>>;
167
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
168
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
169
- value: typeof import("effect/Schema").String;
189
+ phoneNumbers: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
190
+ label: Schema.optional<typeof Schema.String>;
191
+ value: typeof Schema.String;
170
192
  }>>>>;
171
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
172
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
173
- value: import("effect/Schema").Struct<{
174
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
175
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
176
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
177
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
178
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
179
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
180
- country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
193
+ addresses: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
194
+ label: Schema.optional<typeof Schema.String>;
195
+ value: Schema.Struct<{
196
+ street: Schema.optional<Schema.SchemaClass<string, string, never>>;
197
+ extended: Schema.optional<Schema.SchemaClass<string, string, never>>;
198
+ locality: Schema.optional<Schema.SchemaClass<string, string, never>>;
199
+ region: Schema.optional<Schema.SchemaClass<string, string, never>>;
200
+ postalCode: Schema.optional<Schema.SchemaClass<string, string, never>>;
201
+ postOfficeBoxNumber: Schema.optional<Schema.SchemaClass<string, string, never>>;
202
+ country: Schema.optional<Schema.SchemaClass<string, string, never>>;
181
203
  }>;
182
204
  }>>>>;
183
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
184
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
185
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
205
+ urls: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
206
+ label: Schema.optional<typeof Schema.String>;
207
+ value: Schema.refine<string, typeof Schema.String>;
186
208
  }>>>>;
187
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
188
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
189
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
190
- label: typeof import("effect/Schema").String;
191
- value: typeof import("effect/Schema").String;
209
+ birthday: Schema.optional<Schema.SchemaClass<string, string, never>>;
210
+ fields: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
211
+ category: Schema.optional<typeof Schema.String>;
212
+ label: typeof Schema.String;
213
+ value: typeof Schema.String;
192
214
  }>>>>;
193
- }>>>>;
194
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
195
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
196
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
197
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
198
- role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
215
+ }>, Schema.Struct<{
216
+ location: Schema.optional<Schema.Tuple<[Schema.filter<Schema.transform<Schema.SchemaClass<number, number, never>, Schema.filter<Schema.SchemaClass<number, number, never>>>>, Schema.filter<Schema.transform<Schema.SchemaClass<number, number, never>, Schema.filter<Schema.SchemaClass<number, number, never>>>>, Schema.Element<typeof Schema.Number, "?">]>>;
217
+ }>>>>>;
218
+ identityDid: Schema.optional<typeof Schema.String>;
219
+ identityKey: Schema.optional<typeof Schema.String>;
220
+ email: Schema.optional<typeof Schema.String>;
221
+ name: Schema.optional<typeof Schema.String>;
222
+ role: Schema.optional<Schema.Literal<["user", "assistant", "tool"]>>;
199
223
  }>>;
200
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
201
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
224
+ blocks: Schema.mutable<Schema.Array$<Schema.Union<[Schema.mutable<Schema.TaggedStruct<"anchor", {
225
+ pending: Schema.optional<typeof Schema.Boolean>;
202
226
  objectId: import("@dxos/keys").ObjectIdClass;
203
- version: typeof import("effect/Schema").Unknown;
204
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
205
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
206
- url: typeof import("effect/Schema").String;
207
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
208
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
209
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
210
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
211
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
212
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
213
- type: import("effect/Schema").Literal<["base64"]>;
214
- mediaType: typeof import("effect/Schema").String;
215
- data: typeof import("effect/Schema").String;
216
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
217
- type: import("effect/Schema").Literal<["http"]>;
218
- url: typeof import("effect/Schema").String;
227
+ version: typeof Schema.Unknown;
228
+ }>>, Schema.mutable<Schema.TaggedStruct<"file", {
229
+ pending: Schema.optional<typeof Schema.Boolean>;
230
+ url: typeof Schema.String;
231
+ name: Schema.optional<typeof Schema.String>;
232
+ mediaType: Schema.optional<typeof Schema.String>;
233
+ }>>, Schema.mutable<Schema.TaggedStruct<"image", {
234
+ pending: Schema.optional<typeof Schema.Boolean>;
235
+ id: Schema.optional<typeof Schema.String>;
236
+ source: Schema.optional<Schema.Union<[Schema.mutable<Schema.Struct<{
237
+ type: Schema.Literal<["base64"]>;
238
+ mediaType: typeof Schema.String;
239
+ data: typeof Schema.String;
240
+ }>>, Schema.mutable<Schema.Struct<{
241
+ type: Schema.Literal<["http"]>;
242
+ url: typeof Schema.String;
219
243
  }>>]>>;
220
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
221
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
222
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
223
- data: typeof import("effect/Schema").String;
224
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
225
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
226
- text: typeof import("effect/Schema").String;
227
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
228
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
229
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
230
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
231
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
232
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
233
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
234
- reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
244
+ }>>, Schema.mutable<Schema.TaggedStruct<"json", {
245
+ pending: Schema.optional<typeof Schema.Boolean>;
246
+ disposition: Schema.optional<typeof Schema.String>;
247
+ data: typeof Schema.String;
248
+ }>>, Schema.mutable<Schema.TaggedStruct<"proposal", {
249
+ pending: Schema.optional<typeof Schema.Boolean>;
250
+ text: typeof Schema.String;
251
+ }>>, Schema.mutable<Schema.TaggedStruct<"reasoning", {
252
+ pending: Schema.optional<typeof Schema.Boolean>;
253
+ reasoningText: Schema.optional<typeof Schema.String>;
254
+ redactedText: Schema.optional<typeof Schema.String>;
255
+ signature: Schema.optional<typeof Schema.String>;
256
+ }>>, Schema.mutable<Schema.TaggedStruct<"reference", {
257
+ pending: Schema.optional<typeof Schema.Boolean>;
258
+ reference: import("@dxos/echo/Type").ref<Schema.Schema<import("@dxos/echo/Type").Expando, {
235
259
  [x: string]: any;
236
260
  id: string;
237
261
  }, never>>;
238
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
239
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
240
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
241
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
242
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
243
- statusText: typeof import("effect/Schema").String;
244
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
245
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
246
- text: typeof import("effect/Schema").String;
247
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
248
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
249
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
250
- text: typeof import("effect/Schema").String;
251
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
252
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
253
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
254
- toolCallId: typeof import("effect/Schema").String;
255
- name: typeof import("effect/Schema").String;
256
- input: typeof import("effect/Schema").Unknown;
257
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolList", {
258
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
259
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
260
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
261
- toolCallId: typeof import("effect/Schema").String;
262
- name: typeof import("effect/Schema").String;
263
- result: typeof import("effect/Schema").Unknown;
264
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
265
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
266
- started: typeof import("effect/Schema").String;
267
- text: typeof import("effect/Schema").String;
262
+ }>>, Schema.mutable<Schema.TaggedStruct<"select", {
263
+ pending: Schema.optional<typeof Schema.Boolean>;
264
+ options: Schema.Array$<typeof Schema.String>;
265
+ }>>, Schema.mutable<Schema.TaggedStruct<"status", {
266
+ pending: Schema.optional<typeof Schema.Boolean>;
267
+ statusText: typeof Schema.String;
268
+ }>>, Schema.mutable<Schema.TaggedStruct<"suggestion", {
269
+ pending: Schema.optional<typeof Schema.Boolean>;
270
+ text: typeof Schema.String;
271
+ }>>, Schema.mutable<Schema.TaggedStruct<"summary", {
272
+ pending: Schema.optional<typeof Schema.Boolean>;
273
+ mimeType: Schema.optional<typeof Schema.String>;
274
+ message: Schema.optional<typeof Schema.String>;
275
+ model: Schema.optional<typeof Schema.String>;
276
+ usage: Schema.optional<Schema.Struct<{
277
+ inputTokens: Schema.optional<typeof Schema.Number>;
278
+ outputTokens: Schema.optional<typeof Schema.Number>;
279
+ totalTokens: Schema.optional<typeof Schema.Number>;
280
+ }>>;
281
+ toolCalls: Schema.optional<typeof Schema.Number>;
282
+ errors: Schema.optional<typeof Schema.Number>;
283
+ duration: Schema.optional<typeof Schema.Number>;
284
+ }>>, Schema.mutable<Schema.TaggedStruct<"text", {
285
+ pending: Schema.optional<typeof Schema.Boolean>;
286
+ mimeType: Schema.optional<typeof Schema.String>;
287
+ text: typeof Schema.String;
288
+ disposition: Schema.optional<typeof Schema.String>;
289
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolkit", {
290
+ pending: Schema.optional<typeof Schema.Boolean>;
291
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolCall", {
292
+ pending: Schema.optional<typeof Schema.Boolean>;
293
+ toolCallId: typeof Schema.String;
294
+ name: typeof Schema.String;
295
+ input: typeof Schema.String;
296
+ providerExecuted: typeof Schema.Boolean;
297
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolResult", {
298
+ pending: Schema.optional<typeof Schema.Boolean>;
299
+ toolCallId: typeof Schema.String;
300
+ name: typeof Schema.String;
301
+ result: Schema.optional<typeof Schema.String>;
302
+ error: Schema.optional<typeof Schema.String>;
303
+ providerExecuted: typeof Schema.Boolean;
304
+ }>>, Schema.mutable<Schema.TaggedStruct<"transcript", {
305
+ pending: Schema.optional<typeof Schema.Boolean>;
306
+ started: typeof Schema.String;
307
+ text: typeof Schema.String;
268
308
  }>>]>>>;
269
- properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
309
+ properties: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>>;
270
310
  }>>, Schema.Struct<{
271
311
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
272
312
  }>>>;
@@ -276,135 +316,155 @@ export interface NormalizationInput extends Schema.Schema.Type<typeof Normalizat
276
316
  export declare const NormalizationOutput: Schema.Struct<{
277
317
  sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
278
318
  id: import("@dxos/keys").ObjectIdClass;
279
- created: import("effect/Schema").SchemaClass<string, string, never>;
280
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
281
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
282
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
283
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
284
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
285
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
286
- organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
319
+ parentMessage: Schema.optional<import("@dxos/keys").ObjectIdClass>;
320
+ created: Schema.SchemaClass<string, string, never>;
321
+ sender: Schema.mutable<Schema.Struct<{
322
+ contact: Schema.optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<Schema.extend<Schema.Struct<{
323
+ fullName: Schema.optional<Schema.SchemaClass<string, string, never>>;
324
+ preferredName: Schema.optional<Schema.SchemaClass<string, string, never>>;
325
+ nickname: Schema.optional<Schema.SchemaClass<string, string, never>>;
326
+ image: Schema.optional<Schema.SchemaClass<string, string, never>>;
327
+ organization: Schema.optional<Schema.Schema<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
287
328
  id: string;
288
- name?: string | undefined;
289
329
  description?: string | undefined;
330
+ name?: string | undefined;
290
331
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
291
332
  image?: string | undefined;
292
333
  website?: string | undefined;
334
+ location?: readonly [number, number, (number | undefined)?] | undefined;
293
335
  }>, import("@dxos/echo-protocol").EncodedReference, never>>;
294
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
295
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
296
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
297
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
298
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
299
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
336
+ jobTitle: Schema.optional<Schema.SchemaClass<string, string, never>>;
337
+ department: Schema.optional<Schema.SchemaClass<string, string, never>>;
338
+ notes: Schema.optional<Schema.SchemaClass<string, string, never>>;
339
+ emails: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
340
+ label: Schema.optional<typeof Schema.String>;
341
+ value: Schema.refine<string, typeof Schema.String>;
300
342
  }>>>>;
301
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
302
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
303
- value: typeof import("effect/Schema").String;
343
+ identities: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
344
+ label: Schema.optional<typeof Schema.String>;
345
+ value: typeof Schema.String;
304
346
  }>>>>;
305
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
306
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
307
- value: typeof import("effect/Schema").String;
347
+ phoneNumbers: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
348
+ label: Schema.optional<typeof Schema.String>;
349
+ value: typeof Schema.String;
308
350
  }>>>>;
309
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
310
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
311
- value: import("effect/Schema").Struct<{
312
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
313
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
314
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
315
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
316
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
317
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
318
- country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
351
+ addresses: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
352
+ label: Schema.optional<typeof Schema.String>;
353
+ value: Schema.Struct<{
354
+ street: Schema.optional<Schema.SchemaClass<string, string, never>>;
355
+ extended: Schema.optional<Schema.SchemaClass<string, string, never>>;
356
+ locality: Schema.optional<Schema.SchemaClass<string, string, never>>;
357
+ region: Schema.optional<Schema.SchemaClass<string, string, never>>;
358
+ postalCode: Schema.optional<Schema.SchemaClass<string, string, never>>;
359
+ postOfficeBoxNumber: Schema.optional<Schema.SchemaClass<string, string, never>>;
360
+ country: Schema.optional<Schema.SchemaClass<string, string, never>>;
319
361
  }>;
320
362
  }>>>>;
321
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
322
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
323
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
363
+ urls: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
364
+ label: Schema.optional<typeof Schema.String>;
365
+ value: Schema.refine<string, typeof Schema.String>;
324
366
  }>>>>;
325
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
326
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
327
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
328
- label: typeof import("effect/Schema").String;
329
- value: typeof import("effect/Schema").String;
367
+ birthday: Schema.optional<Schema.SchemaClass<string, string, never>>;
368
+ fields: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
369
+ category: Schema.optional<typeof Schema.String>;
370
+ label: typeof Schema.String;
371
+ value: typeof Schema.String;
330
372
  }>>>>;
331
- }>>>>;
332
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
333
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
334
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
335
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
336
- role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
373
+ }>, Schema.Struct<{
374
+ location: Schema.optional<Schema.Tuple<[Schema.filter<Schema.transform<Schema.SchemaClass<number, number, never>, Schema.filter<Schema.SchemaClass<number, number, never>>>>, Schema.filter<Schema.transform<Schema.SchemaClass<number, number, never>, Schema.filter<Schema.SchemaClass<number, number, never>>>>, Schema.Element<typeof Schema.Number, "?">]>>;
375
+ }>>>>>;
376
+ identityDid: Schema.optional<typeof Schema.String>;
377
+ identityKey: Schema.optional<typeof Schema.String>;
378
+ email: Schema.optional<typeof Schema.String>;
379
+ name: Schema.optional<typeof Schema.String>;
380
+ role: Schema.optional<Schema.Literal<["user", "assistant", "tool"]>>;
337
381
  }>>;
338
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
339
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
382
+ blocks: Schema.mutable<Schema.Array$<Schema.Union<[Schema.mutable<Schema.TaggedStruct<"anchor", {
383
+ pending: Schema.optional<typeof Schema.Boolean>;
340
384
  objectId: import("@dxos/keys").ObjectIdClass;
341
- version: typeof import("effect/Schema").Unknown;
342
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
343
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
344
- url: typeof import("effect/Schema").String;
345
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
346
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
347
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
348
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
349
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
350
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
351
- type: import("effect/Schema").Literal<["base64"]>;
352
- mediaType: typeof import("effect/Schema").String;
353
- data: typeof import("effect/Schema").String;
354
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
355
- type: import("effect/Schema").Literal<["http"]>;
356
- url: typeof import("effect/Schema").String;
385
+ version: typeof Schema.Unknown;
386
+ }>>, Schema.mutable<Schema.TaggedStruct<"file", {
387
+ pending: Schema.optional<typeof Schema.Boolean>;
388
+ url: typeof Schema.String;
389
+ name: Schema.optional<typeof Schema.String>;
390
+ mediaType: Schema.optional<typeof Schema.String>;
391
+ }>>, Schema.mutable<Schema.TaggedStruct<"image", {
392
+ pending: Schema.optional<typeof Schema.Boolean>;
393
+ id: Schema.optional<typeof Schema.String>;
394
+ source: Schema.optional<Schema.Union<[Schema.mutable<Schema.Struct<{
395
+ type: Schema.Literal<["base64"]>;
396
+ mediaType: typeof Schema.String;
397
+ data: typeof Schema.String;
398
+ }>>, Schema.mutable<Schema.Struct<{
399
+ type: Schema.Literal<["http"]>;
400
+ url: typeof Schema.String;
357
401
  }>>]>>;
358
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
359
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
360
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
361
- data: typeof import("effect/Schema").String;
362
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
363
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
364
- text: typeof import("effect/Schema").String;
365
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
366
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
367
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
368
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
369
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
370
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
371
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
372
- reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
402
+ }>>, Schema.mutable<Schema.TaggedStruct<"json", {
403
+ pending: Schema.optional<typeof Schema.Boolean>;
404
+ disposition: Schema.optional<typeof Schema.String>;
405
+ data: typeof Schema.String;
406
+ }>>, Schema.mutable<Schema.TaggedStruct<"proposal", {
407
+ pending: Schema.optional<typeof Schema.Boolean>;
408
+ text: typeof Schema.String;
409
+ }>>, Schema.mutable<Schema.TaggedStruct<"reasoning", {
410
+ pending: Schema.optional<typeof Schema.Boolean>;
411
+ reasoningText: Schema.optional<typeof Schema.String>;
412
+ redactedText: Schema.optional<typeof Schema.String>;
413
+ signature: Schema.optional<typeof Schema.String>;
414
+ }>>, Schema.mutable<Schema.TaggedStruct<"reference", {
415
+ pending: Schema.optional<typeof Schema.Boolean>;
416
+ reference: import("@dxos/echo/Type").ref<Schema.Schema<import("@dxos/echo/Type").Expando, {
373
417
  [x: string]: any;
374
418
  id: string;
375
419
  }, never>>;
376
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
377
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
378
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
379
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
380
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
381
- statusText: typeof import("effect/Schema").String;
382
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
383
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
384
- text: typeof import("effect/Schema").String;
385
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
386
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
387
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
388
- text: typeof import("effect/Schema").String;
389
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
390
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
391
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
392
- toolCallId: typeof import("effect/Schema").String;
393
- name: typeof import("effect/Schema").String;
394
- input: typeof import("effect/Schema").Unknown;
395
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolList", {
396
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
397
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
398
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
399
- toolCallId: typeof import("effect/Schema").String;
400
- name: typeof import("effect/Schema").String;
401
- result: typeof import("effect/Schema").Unknown;
402
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
403
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
404
- started: typeof import("effect/Schema").String;
405
- text: typeof import("effect/Schema").String;
420
+ }>>, Schema.mutable<Schema.TaggedStruct<"select", {
421
+ pending: Schema.optional<typeof Schema.Boolean>;
422
+ options: Schema.Array$<typeof Schema.String>;
423
+ }>>, Schema.mutable<Schema.TaggedStruct<"status", {
424
+ pending: Schema.optional<typeof Schema.Boolean>;
425
+ statusText: typeof Schema.String;
426
+ }>>, Schema.mutable<Schema.TaggedStruct<"suggestion", {
427
+ pending: Schema.optional<typeof Schema.Boolean>;
428
+ text: typeof Schema.String;
429
+ }>>, Schema.mutable<Schema.TaggedStruct<"summary", {
430
+ pending: Schema.optional<typeof Schema.Boolean>;
431
+ mimeType: Schema.optional<typeof Schema.String>;
432
+ message: Schema.optional<typeof Schema.String>;
433
+ model: Schema.optional<typeof Schema.String>;
434
+ usage: Schema.optional<Schema.Struct<{
435
+ inputTokens: Schema.optional<typeof Schema.Number>;
436
+ outputTokens: Schema.optional<typeof Schema.Number>;
437
+ totalTokens: Schema.optional<typeof Schema.Number>;
438
+ }>>;
439
+ toolCalls: Schema.optional<typeof Schema.Number>;
440
+ errors: Schema.optional<typeof Schema.Number>;
441
+ duration: Schema.optional<typeof Schema.Number>;
442
+ }>>, Schema.mutable<Schema.TaggedStruct<"text", {
443
+ pending: Schema.optional<typeof Schema.Boolean>;
444
+ mimeType: Schema.optional<typeof Schema.String>;
445
+ text: typeof Schema.String;
446
+ disposition: Schema.optional<typeof Schema.String>;
447
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolkit", {
448
+ pending: Schema.optional<typeof Schema.Boolean>;
449
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolCall", {
450
+ pending: Schema.optional<typeof Schema.Boolean>;
451
+ toolCallId: typeof Schema.String;
452
+ name: typeof Schema.String;
453
+ input: typeof Schema.String;
454
+ providerExecuted: typeof Schema.Boolean;
455
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolResult", {
456
+ pending: Schema.optional<typeof Schema.Boolean>;
457
+ toolCallId: typeof Schema.String;
458
+ name: typeof Schema.String;
459
+ result: Schema.optional<typeof Schema.String>;
460
+ error: Schema.optional<typeof Schema.String>;
461
+ providerExecuted: typeof Schema.Boolean;
462
+ }>>, Schema.mutable<Schema.TaggedStruct<"transcript", {
463
+ pending: Schema.optional<typeof Schema.Boolean>;
464
+ started: typeof Schema.String;
465
+ text: typeof Schema.String;
406
466
  }>>]>>>;
407
- properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
467
+ properties: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>>;
408
468
  }>>, Schema.Struct<{
409
469
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
410
470
  }>>>>>;