@dxos/plugin-transcription 0.8.4-main.28f8d3d → 0.8.4-main.406dc2a

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