@dxos/plugin-transcription 0.8.4-main.2e9d522 → 0.8.4-main.5ea62a8

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