@dxos/plugin-transcription 0.8.4-main.28f8d3d → 0.8.4-main.2c6827d

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 (168) hide show
  1. package/dist/lib/browser/TranscriptContainer-OQFBAGSP.mjs +11 -0
  2. package/dist/lib/browser/blueprint-definition-GZ7NOODS.mjs +147 -0
  3. package/dist/lib/browser/blueprint-definition-GZ7NOODS.mjs.map +7 -0
  4. package/dist/lib/browser/{chunk-SREIAQSP.mjs → chunk-3MKZ2MNQ.mjs} +5 -5
  5. package/dist/lib/browser/chunk-3MKZ2MNQ.mjs.map +7 -0
  6. package/dist/lib/browser/{chunk-KJIQQHJB.mjs → chunk-7GNN7E3U.mjs} +18 -58
  7. package/dist/lib/browser/chunk-7GNN7E3U.mjs.map +7 -0
  8. package/dist/lib/browser/{chunk-BJWYA2BU.mjs → chunk-C5YV3JZF.mjs} +91 -135
  9. package/dist/lib/browser/chunk-C5YV3JZF.mjs.map +7 -0
  10. package/dist/lib/browser/{chunk-UKUSJTQW.mjs → chunk-O33THH53.mjs} +2 -2
  11. package/dist/lib/browser/chunk-QOSZIUE2.mjs +32 -0
  12. package/dist/lib/browser/chunk-QOSZIUE2.mjs.map +7 -0
  13. package/dist/lib/browser/chunk-VBUIO677.mjs +29 -0
  14. package/dist/lib/browser/chunk-VBUIO677.mjs.map +7 -0
  15. package/dist/lib/browser/index.mjs +23 -20
  16. package/dist/lib/browser/index.mjs.map +3 -3
  17. package/dist/lib/browser/intent-resolver-5CGCLOXB.mjs +25 -0
  18. package/dist/lib/browser/intent-resolver-5CGCLOXB.mjs.map +7 -0
  19. package/dist/lib/browser/meta.json +1 -1
  20. package/dist/lib/browser/{react-surface-4MEJMKYQ.mjs → react-surface-OK55WK7J.mjs} +9 -11
  21. package/dist/lib/browser/react-surface-OK55WK7J.mjs.map +7 -0
  22. package/dist/lib/browser/{transcriber-V77CN7XX.mjs → transcriber-6YDM5ZDT.mjs} +7 -7
  23. package/dist/lib/browser/{transcriber-V77CN7XX.mjs.map → transcriber-6YDM5ZDT.mjs.map} +1 -1
  24. package/dist/lib/browser/types/index.mjs +4 -8
  25. package/dist/lib/node-esm/{TranscriptContainer-GEUOOYHX.mjs → TranscriptContainer-GM47P6WH.mjs} +4 -4
  26. package/dist/lib/node-esm/blueprint-definition-GAHQBYTF.mjs +148 -0
  27. package/dist/lib/node-esm/blueprint-definition-GAHQBYTF.mjs.map +7 -0
  28. package/dist/lib/node-esm/{chunk-A33GNR44.mjs → chunk-5JN2MHYA.mjs} +18 -58
  29. package/dist/lib/node-esm/chunk-5JN2MHYA.mjs.map +7 -0
  30. package/dist/lib/node-esm/{chunk-Y7PCJ34K.mjs → chunk-IKGUNN3Z.mjs} +91 -135
  31. package/dist/lib/node-esm/chunk-IKGUNN3Z.mjs.map +7 -0
  32. package/dist/lib/node-esm/{chunk-PHP7MCAY.mjs → chunk-SSYFSLB7.mjs} +2 -2
  33. package/dist/lib/node-esm/{chunk-TM2ASOZA.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-U4YPUD2F.mjs +33 -0
  36. package/dist/lib/node-esm/chunk-U4YPUD2F.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 +23 -20
  40. package/dist/lib/node-esm/index.mjs.map +3 -3
  41. package/dist/lib/node-esm/intent-resolver-4H4CXIAL.mjs +26 -0
  42. package/dist/lib/node-esm/intent-resolver-4H4CXIAL.mjs.map +7 -0
  43. package/dist/lib/node-esm/meta.json +1 -1
  44. package/dist/lib/node-esm/{react-surface-EZUPNHUC.mjs → react-surface-EK6K2MMD.mjs} +9 -11
  45. package/dist/lib/node-esm/react-surface-EK6K2MMD.mjs.map +7 -0
  46. package/dist/lib/node-esm/{transcriber-3SX3DNLV.mjs → transcriber-CPD3FZ7M.mjs} +7 -7
  47. package/dist/lib/node-esm/{transcriber-3SX3DNLV.mjs.map → transcriber-CPD3FZ7M.mjs.map} +1 -1
  48. package/dist/lib/node-esm/types/index.mjs +4 -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.map +1 -1
  54. package/dist/types/src/capabilities/index.d.ts +3 -2
  55. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  56. package/dist/types/src/capabilities/intent-resolver.d.ts +1 -1
  57. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
  58. package/dist/types/src/capabilities/react-surface.d.ts +1 -1
  59. package/dist/types/src/capabilities/transcriber.d.ts +1 -1
  60. package/dist/types/src/components/Transcript/Transcript.d.ts +6 -7
  61. package/dist/types/src/components/Transcript/Transcript.d.ts.map +1 -1
  62. package/dist/types/src/components/Transcript/Transcript.stories.d.ts +33 -18
  63. package/dist/types/src/components/Transcript/Transcript.stories.d.ts.map +1 -1
  64. package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts +3 -3
  65. package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts.map +1 -1
  66. package/dist/types/src/components/Transcript/transcript-extension.d.ts +3 -7
  67. package/dist/types/src/components/Transcript/transcript-extension.d.ts.map +1 -1
  68. package/dist/types/src/components/TranscriptContainer.d.ts +2 -2
  69. package/dist/types/src/components/TranscriptContainer.d.ts.map +1 -1
  70. package/dist/types/src/components/stories/FileTranscription.stories.d.ts +5 -4
  71. package/dist/types/src/components/stories/FileTranscription.stories.d.ts.map +1 -1
  72. package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts +10 -6
  73. package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts.map +1 -1
  74. package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts +7 -6
  75. package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts.map +1 -1
  76. package/dist/types/src/components/stories/TranscriptionStory.d.ts +4 -3
  77. package/dist/types/src/components/stories/TranscriptionStory.d.ts.map +1 -1
  78. package/dist/types/src/functions/index.d.ts +3 -0
  79. package/dist/types/src/functions/index.d.ts.map +1 -0
  80. package/dist/types/src/functions/open.d.ts +7 -0
  81. package/dist/types/src/functions/open.d.ts.map +1 -0
  82. package/dist/types/src/functions/summarize.d.ts +11 -0
  83. package/dist/types/src/functions/summarize.d.ts.map +1 -0
  84. package/dist/types/src/hooks/useAudioFile.d.ts.map +1 -1
  85. package/dist/types/src/hooks/useTranscriber.d.ts.map +1 -1
  86. package/dist/types/src/meta.d.ts +0 -1
  87. package/dist/types/src/meta.d.ts.map +1 -1
  88. package/dist/types/src/segments-normalization/message-normalizer.d.ts +3 -3
  89. package/dist/types/src/segments-normalization/message-normalizer.d.ts.map +1 -1
  90. package/dist/types/src/segments-normalization/normalization.d.ts +389 -335
  91. package/dist/types/src/segments-normalization/normalization.d.ts.map +1 -1
  92. package/dist/types/src/segments-normalization/utils.d.ts +2 -2
  93. package/dist/types/src/segments-normalization/utils.d.ts.map +1 -1
  94. package/dist/types/src/testing/testing.d.ts +6 -6
  95. package/dist/types/src/testing/testing.d.ts.map +1 -1
  96. package/dist/types/src/transcriber/transcriber.d.ts +2 -2
  97. package/dist/types/src/transcriber/transcriber.d.ts.map +1 -1
  98. package/dist/types/src/transcriber/transcription-manager.d.ts +6 -10
  99. package/dist/types/src/transcriber/transcription-manager.d.ts.map +1 -1
  100. package/dist/types/src/types/TranscriptAction.d.ts +23 -0
  101. package/dist/types/src/types/TranscriptAction.d.ts.map +1 -0
  102. package/dist/types/src/types/index.d.ts +1 -1
  103. package/dist/types/src/types/index.d.ts.map +1 -1
  104. package/dist/types/src/types/types.d.ts +0 -26
  105. package/dist/types/src/types/types.d.ts.map +1 -1
  106. package/dist/types/tsconfig.tsbuildinfo +1 -1
  107. package/package.json +64 -63
  108. package/src/TranscriptionPlugin.tsx +58 -54
  109. package/src/capabilities/blueprint-definition.ts +31 -0
  110. package/src/capabilities/capabilities.ts +3 -3
  111. package/src/capabilities/index.ts +1 -0
  112. package/src/capabilities/intent-resolver.ts +5 -10
  113. package/src/capabilities/react-surface.tsx +2 -2
  114. package/src/components/Transcript/Transcript.stories.tsx +35 -33
  115. package/src/components/Transcript/Transcript.tsx +21 -29
  116. package/src/components/Transcript/deprecated/OldTranscript.tsx +7 -7
  117. package/src/components/Transcript/transcript-extension.ts +11 -44
  118. package/src/components/TranscriptContainer.tsx +10 -10
  119. package/src/components/stories/FileTranscription.stories.tsx +48 -37
  120. package/src/components/stories/KeyWordRecognition.stories.tsx +15 -11
  121. package/src/components/stories/MicrophoneTranscription.stories.tsx +43 -40
  122. package/src/components/stories/TranscriptionStory.tsx +14 -11
  123. package/src/functions/index.ts +6 -0
  124. package/src/functions/open.ts +38 -0
  125. package/src/functions/summarize.ts +103 -0
  126. package/src/hooks/useAudioFile.ts +49 -53
  127. package/src/hooks/useTranscriber.ts +7 -2
  128. package/src/meta.ts +7 -4
  129. package/src/model/model.test.ts +11 -11
  130. package/src/segments-normalization/message-normalizer.ts +6 -6
  131. package/src/segments-normalization/normalization.test.ts +6 -6
  132. package/src/segments-normalization/normalization.ts +7 -7
  133. package/src/segments-normalization/utils.ts +2 -2
  134. package/src/testing/testing.ts +25 -20
  135. package/src/transcriber/transcriber.browser.test.ts +3 -3
  136. package/src/transcriber/transcriber.ts +3 -3
  137. package/src/transcriber/transcription-manager.ts +23 -44
  138. package/src/types/TranscriptAction.ts +23 -0
  139. package/src/types/index.ts +1 -1
  140. package/src/types/types.ts +0 -24
  141. package/dist/lib/browser/TranscriptContainer-FH7VAWYA.mjs +0 -11
  142. package/dist/lib/browser/chunk-5WH45KBY.mjs +0 -19
  143. package/dist/lib/browser/chunk-5WH45KBY.mjs.map +0 -7
  144. package/dist/lib/browser/chunk-BJWYA2BU.mjs.map +0 -7
  145. package/dist/lib/browser/chunk-KJIQQHJB.mjs.map +0 -7
  146. package/dist/lib/browser/chunk-KWOOVS5G.mjs +0 -55
  147. package/dist/lib/browser/chunk-KWOOVS5G.mjs.map +0 -7
  148. package/dist/lib/browser/chunk-SREIAQSP.mjs.map +0 -7
  149. package/dist/lib/browser/intent-resolver-AOVQ7JI4.mjs +0 -30
  150. package/dist/lib/browser/intent-resolver-AOVQ7JI4.mjs.map +0 -7
  151. package/dist/lib/browser/react-surface-4MEJMKYQ.mjs.map +0 -7
  152. package/dist/lib/node-esm/chunk-A33GNR44.mjs.map +0 -7
  153. package/dist/lib/node-esm/chunk-IKQMDRY6.mjs +0 -56
  154. package/dist/lib/node-esm/chunk-IKQMDRY6.mjs.map +0 -7
  155. package/dist/lib/node-esm/chunk-TM2ASOZA.mjs.map +0 -7
  156. package/dist/lib/node-esm/chunk-XMUCZBP3.mjs +0 -21
  157. package/dist/lib/node-esm/chunk-XMUCZBP3.mjs.map +0 -7
  158. package/dist/lib/node-esm/chunk-Y7PCJ34K.mjs.map +0 -7
  159. package/dist/lib/node-esm/intent-resolver-P4XPIKQF.mjs +0 -31
  160. package/dist/lib/node-esm/intent-resolver-P4XPIKQF.mjs.map +0 -7
  161. package/dist/lib/node-esm/react-surface-EZUPNHUC.mjs.map +0 -7
  162. package/dist/types/src/types/schema.d.ts +0 -41
  163. package/dist/types/src/types/schema.d.ts.map +0 -1
  164. package/src/types/schema.ts +0 -41
  165. /package/dist/lib/browser/{TranscriptContainer-FH7VAWYA.mjs.map → TranscriptContainer-OQFBAGSP.mjs.map} +0 -0
  166. /package/dist/lib/browser/{chunk-UKUSJTQW.mjs.map → chunk-O33THH53.mjs.map} +0 -0
  167. /package/dist/lib/node-esm/{TranscriptContainer-GEUOOYHX.mjs.map → TranscriptContainer-GM47P6WH.mjs.map} +0 -0
  168. /package/dist/lib/node-esm/{chunk-PHP7MCAY.mjs.map → chunk-SSYFSLB7.mjs.map} +0 -0
@@ -1,137 +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
- parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
5
- created: import("effect/Schema").SchemaClass<string, string, never>;
6
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
7
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
8
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
9
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
10
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
11
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
12
- 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> & {
13
+ description?: string | undefined;
13
14
  id: string;
14
15
  name?: string | undefined;
15
- description?: string | undefined;
16
16
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
17
17
  image?: string | undefined;
18
18
  website?: string | undefined;
19
+ location?: readonly [number, number, (number | undefined)?] | undefined;
19
20
  }>, import("@dxos/echo-protocol").EncodedReference, never>>;
20
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
21
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
22
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
23
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
24
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
25
- 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>;
26
27
  }>>>>;
27
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
28
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
29
- 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;
30
31
  }>>>>;
31
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
32
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
33
- 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;
34
35
  }>>>>;
35
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
36
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
37
- value: import("effect/Schema").Struct<{
38
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
39
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
40
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
41
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
42
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
43
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
44
- 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>>;
45
46
  }>;
46
47
  }>>>>;
47
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
48
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
49
- 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>;
50
51
  }>>>>;
51
- birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
52
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
53
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
54
- label: typeof import("effect/Schema").String;
55
- 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;
56
57
  }>>>>;
57
- }>>>>;
58
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
59
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
60
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
61
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
62
- 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"]>>;
63
66
  }>>;
64
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
65
- 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>;
66
69
  objectId: import("@dxos/keys").ObjectIdClass;
67
- version: typeof import("effect/Schema").Unknown;
68
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
69
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
70
- url: typeof import("effect/Schema").String;
71
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
72
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
73
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
74
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
75
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
76
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
77
- type: import("effect/Schema").Literal<["base64"]>;
78
- mediaType: typeof import("effect/Schema").String;
79
- data: typeof import("effect/Schema").String;
80
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
81
- type: import("effect/Schema").Literal<["http"]>;
82
- 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;
83
86
  }>>]>>;
84
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
85
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
86
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
87
- data: typeof import("effect/Schema").String;
88
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
89
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
90
- text: typeof import("effect/Schema").String;
91
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
92
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
93
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
94
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
95
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
96
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
97
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
98
- 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, {
99
102
  [x: string]: any;
100
103
  id: string;
101
104
  }, never>>;
102
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
103
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
104
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
105
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
106
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
107
- statusText: typeof import("effect/Schema").String;
108
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
109
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
110
- text: typeof import("effect/Schema").String;
111
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
112
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
113
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
114
- text: typeof import("effect/Schema").String;
115
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
116
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
117
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
118
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
119
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
120
- toolCallId: typeof import("effect/Schema").String;
121
- name: typeof import("effect/Schema").String;
122
- input: typeof import("effect/Schema").Unknown;
123
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
124
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
125
- toolCallId: typeof import("effect/Schema").String;
126
- name: typeof import("effect/Schema").String;
127
- result: typeof import("effect/Schema").Unknown;
128
- error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
129
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
130
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
131
- started: typeof import("effect/Schema").String;
132
- 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;
133
151
  }>>]>>>;
134
- 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>>>;
135
153
  }>>, Schema.Struct<{
136
154
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
137
155
  }>>;
@@ -140,137 +158,155 @@ export interface MessageWithRangeId extends Schema.Schema.Type<typeof MessageWit
140
158
  export declare const NormalizationInput: Schema.Struct<{
141
159
  messages: Schema.Array$<Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
142
160
  id: import("@dxos/keys").ObjectIdClass;
143
- parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
144
- created: import("effect/Schema").SchemaClass<string, string, never>;
145
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
146
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
147
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
148
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
149
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
150
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
151
- 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> & {
170
+ description?: string | undefined;
152
171
  id: string;
153
172
  name?: string | undefined;
154
- description?: string | undefined;
155
173
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
156
174
  image?: string | undefined;
157
175
  website?: string | undefined;
176
+ location?: readonly [number, number, (number | undefined)?] | undefined;
158
177
  }>, import("@dxos/echo-protocol").EncodedReference, never>>;
159
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
160
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
161
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
162
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
163
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
164
- 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>;
165
184
  }>>>>;
166
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
167
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
168
- 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;
169
188
  }>>>>;
170
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
171
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
172
- 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;
173
192
  }>>>>;
174
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
175
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
176
- value: import("effect/Schema").Struct<{
177
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
178
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
179
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
180
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
181
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
182
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
183
- 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>>;
184
203
  }>;
185
204
  }>>>>;
186
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
187
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
188
- 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>;
189
208
  }>>>>;
190
- birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
191
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
192
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
193
- label: typeof import("effect/Schema").String;
194
- 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;
195
214
  }>>>>;
196
- }>>>>;
197
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
198
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
199
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
200
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
201
- 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"]>>;
202
223
  }>>;
203
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
204
- 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>;
205
226
  objectId: import("@dxos/keys").ObjectIdClass;
206
- version: typeof import("effect/Schema").Unknown;
207
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
208
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
209
- url: typeof import("effect/Schema").String;
210
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
211
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
212
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
213
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
214
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
215
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
216
- type: import("effect/Schema").Literal<["base64"]>;
217
- mediaType: typeof import("effect/Schema").String;
218
- data: typeof import("effect/Schema").String;
219
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
220
- type: import("effect/Schema").Literal<["http"]>;
221
- 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;
222
243
  }>>]>>;
223
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
224
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
225
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
226
- data: typeof import("effect/Schema").String;
227
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
228
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
229
- text: typeof import("effect/Schema").String;
230
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
231
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
232
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
233
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
234
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
235
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
236
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
237
- 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, {
238
259
  [x: string]: any;
239
260
  id: string;
240
261
  }, never>>;
241
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
242
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
243
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
244
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
245
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
246
- statusText: typeof import("effect/Schema").String;
247
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
248
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
249
- text: typeof import("effect/Schema").String;
250
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
251
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
252
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
253
- text: typeof import("effect/Schema").String;
254
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
255
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
256
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
257
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
258
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
259
- toolCallId: typeof import("effect/Schema").String;
260
- name: typeof import("effect/Schema").String;
261
- input: typeof import("effect/Schema").Unknown;
262
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
263
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
264
- toolCallId: typeof import("effect/Schema").String;
265
- name: typeof import("effect/Schema").String;
266
- result: typeof import("effect/Schema").Unknown;
267
- error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
268
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
269
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
270
- started: typeof import("effect/Schema").String;
271
- 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;
272
308
  }>>]>>>;
273
- 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>>>;
274
310
  }>>, Schema.Struct<{
275
311
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
276
312
  }>>>;
@@ -280,143 +316,161 @@ export interface NormalizationInput extends Schema.Schema.Type<typeof Normalizat
280
316
  export declare const NormalizationOutput: Schema.Struct<{
281
317
  sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
282
318
  id: import("@dxos/keys").ObjectIdClass;
283
- parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
284
- created: import("effect/Schema").SchemaClass<string, string, never>;
285
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
286
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
287
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
288
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
289
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
290
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
291
- 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> & {
328
+ description?: string | undefined;
292
329
  id: string;
293
330
  name?: string | undefined;
294
- description?: string | undefined;
295
331
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
296
332
  image?: string | undefined;
297
333
  website?: string | undefined;
334
+ location?: readonly [number, number, (number | undefined)?] | undefined;
298
335
  }>, import("@dxos/echo-protocol").EncodedReference, never>>;
299
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
300
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
301
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
302
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
303
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
304
- 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>;
305
342
  }>>>>;
306
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
307
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
308
- 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;
309
346
  }>>>>;
310
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
311
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
312
- 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;
313
350
  }>>>>;
314
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
315
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
316
- value: import("effect/Schema").Struct<{
317
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
318
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
319
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
320
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
321
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
322
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
323
- 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>>;
324
361
  }>;
325
362
  }>>>>;
326
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
327
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
328
- 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>;
329
366
  }>>>>;
330
- birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
331
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
332
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
333
- label: typeof import("effect/Schema").String;
334
- 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;
335
372
  }>>>>;
336
- }>>>>;
337
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
338
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
339
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
340
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
341
- 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"]>>;
342
381
  }>>;
343
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
344
- 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>;
345
384
  objectId: import("@dxos/keys").ObjectIdClass;
346
- version: typeof import("effect/Schema").Unknown;
347
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
348
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
349
- url: typeof import("effect/Schema").String;
350
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
351
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
352
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
353
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
354
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
355
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
356
- type: import("effect/Schema").Literal<["base64"]>;
357
- mediaType: typeof import("effect/Schema").String;
358
- data: typeof import("effect/Schema").String;
359
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
360
- type: import("effect/Schema").Literal<["http"]>;
361
- 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;
362
401
  }>>]>>;
363
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
364
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
365
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
366
- data: typeof import("effect/Schema").String;
367
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
368
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
369
- text: typeof import("effect/Schema").String;
370
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
371
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
372
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
373
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
374
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
375
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
376
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
377
- 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, {
378
417
  [x: string]: any;
379
418
  id: string;
380
419
  }, never>>;
381
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
382
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
383
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
384
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
385
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
386
- statusText: typeof import("effect/Schema").String;
387
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
388
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
389
- text: typeof import("effect/Schema").String;
390
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
391
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
392
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
393
- text: typeof import("effect/Schema").String;
394
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
395
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
396
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
397
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
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
- input: typeof import("effect/Schema").Unknown;
402
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
403
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
404
- toolCallId: typeof import("effect/Schema").String;
405
- name: typeof import("effect/Schema").String;
406
- result: typeof import("effect/Schema").Unknown;
407
- error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
408
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
409
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
410
- started: typeof import("effect/Schema").String;
411
- 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;
412
466
  }>>]>>>;
413
- 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>>>;
414
468
  }>>, Schema.Struct<{
415
469
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
416
470
  }>>>>>;
417
471
  }>;
418
472
  export interface NormalizationOutput extends Schema.Schema.Type<typeof NormalizationOutput> {
419
473
  }
420
- export declare const sentenceNormalization: import("@dxos/functions").FunctionDefinition<NormalizationInput, NormalizationOutput>;
474
+ export declare const sentenceNormalization: import("@dxos/functions").FunctionDefinition<NormalizationInput, NormalizationOutput, import("@dxos/functions").FunctionServices>;
421
475
  export {};
422
476
  //# sourceMappingURL=normalization.d.ts.map