@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.
- package/dist/lib/browser/TranscriptContainer-QN5WUMWJ.mjs +11 -0
- package/dist/lib/browser/blueprint-definition-GO6GTEBT.mjs +150 -0
- package/dist/lib/browser/blueprint-definition-GO6GTEBT.mjs.map +7 -0
- package/dist/lib/browser/{chunk-UKUSJTQW.mjs → chunk-77NWYLC6.mjs} +2 -2
- package/dist/lib/browser/{chunk-5WH45KBY.mjs → chunk-7LNCQDTT.mjs} +9 -4
- package/dist/lib/browser/chunk-7LNCQDTT.mjs.map +7 -0
- package/dist/lib/browser/{chunk-KJIQQHJB.mjs → chunk-COBQIZ6B.mjs} +78 -98
- package/dist/lib/browser/{chunk-KJIQQHJB.mjs.map → chunk-COBQIZ6B.mjs.map} +3 -3
- package/dist/lib/browser/chunk-GGHMOEKZ.mjs +63 -0
- package/dist/lib/browser/chunk-GGHMOEKZ.mjs.map +7 -0
- package/dist/lib/browser/{chunk-SREIAQSP.mjs → chunk-LCK3YRQF.mjs} +5 -5
- package/dist/lib/browser/chunk-LCK3YRQF.mjs.map +7 -0
- package/dist/lib/browser/{chunk-BJWYA2BU.mjs → chunk-ZS2FXKEF.mjs} +141 -168
- package/dist/lib/browser/chunk-ZS2FXKEF.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +22 -18
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/intent-resolver-52EPFRMR.mjs +25 -0
- package/dist/lib/browser/intent-resolver-52EPFRMR.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-4MEJMKYQ.mjs → react-surface-LCP2D2MF.mjs} +10 -10
- package/dist/lib/browser/react-surface-LCP2D2MF.mjs.map +7 -0
- package/dist/lib/browser/{transcriber-V77CN7XX.mjs → transcriber-NG5MRCP6.mjs} +7 -7
- package/dist/lib/browser/{transcriber-V77CN7XX.mjs.map → transcriber-NG5MRCP6.mjs.map} +1 -1
- package/dist/lib/browser/types/index.mjs +6 -8
- package/dist/lib/node-esm/{TranscriptContainer-GEUOOYHX.mjs → TranscriptContainer-WCUWVVSD.mjs} +4 -4
- package/dist/lib/node-esm/blueprint-definition-6SU7GLBR.mjs +151 -0
- package/dist/lib/node-esm/blueprint-definition-6SU7GLBR.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-A33GNR44.mjs → chunk-A6SB234F.mjs} +78 -98
- package/dist/lib/node-esm/{chunk-A33GNR44.mjs.map → chunk-A6SB234F.mjs.map} +3 -3
- package/dist/lib/node-esm/chunk-FTTZ4YSX.mjs +64 -0
- package/dist/lib/node-esm/chunk-FTTZ4YSX.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-XMUCZBP3.mjs → chunk-KLTPFUKN.mjs} +8 -4
- package/dist/lib/node-esm/chunk-KLTPFUKN.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-PHP7MCAY.mjs → chunk-N5Z4SKPH.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-Y7PCJ34K.mjs → chunk-PEZRQYKO.mjs} +141 -168
- package/dist/lib/node-esm/chunk-PEZRQYKO.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-TM2ASOZA.mjs → chunk-RWRG3S2O.mjs} +5 -5
- package/dist/lib/node-esm/chunk-RWRG3S2O.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +22 -18
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/intent-resolver-DZBQQRHN.mjs +26 -0
- package/dist/lib/node-esm/intent-resolver-DZBQQRHN.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-EZUPNHUC.mjs → react-surface-7UC2YXX2.mjs} +10 -10
- package/dist/lib/node-esm/react-surface-7UC2YXX2.mjs.map +7 -0
- package/dist/lib/node-esm/{transcriber-3SX3DNLV.mjs → transcriber-SMU7HD6F.mjs} +7 -7
- package/dist/lib/node-esm/{transcriber-3SX3DNLV.mjs.map → transcriber-SMU7HD6F.mjs.map} +1 -1
- package/dist/lib/node-esm/types/index.mjs +6 -8
- package/dist/types/src/TranscriptionPlugin.d.ts +1 -1
- package/dist/types/src/TranscriptionPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/blueprint-definition.d.ts +5 -0
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -0
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +3 -2
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +1 -1
- package/dist/types/src/capabilities/transcriber.d.ts +1 -1
- package/dist/types/src/components/Transcript/Transcript.d.ts +5 -5
- package/dist/types/src/components/Transcript/Transcript.d.ts.map +1 -1
- package/dist/types/src/components/Transcript/Transcript.stories.d.ts +31 -16
- package/dist/types/src/components/Transcript/Transcript.stories.d.ts.map +1 -1
- package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts +3 -3
- package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts.map +1 -1
- package/dist/types/src/components/Transcript/transcript-extension.d.ts +1 -5
- package/dist/types/src/components/Transcript/transcript-extension.d.ts.map +1 -1
- package/dist/types/src/components/TranscriptContainer.d.ts +2 -2
- package/dist/types/src/components/TranscriptContainer.d.ts.map +1 -1
- package/dist/types/src/components/stories/FileTranscription.stories.d.ts +8 -4
- package/dist/types/src/components/stories/FileTranscription.stories.d.ts.map +1 -1
- package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts +13 -6
- package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts.map +1 -1
- package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts +10 -6
- package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts.map +1 -1
- package/dist/types/src/components/stories/TranscriptionStory.d.ts +2 -1
- package/dist/types/src/components/stories/TranscriptionStory.d.ts.map +1 -1
- package/dist/types/src/functions/index.d.ts +3 -0
- package/dist/types/src/functions/index.d.ts.map +1 -0
- package/dist/types/src/functions/open.d.ts +7 -0
- package/dist/types/src/functions/open.d.ts.map +1 -0
- package/dist/types/src/functions/summarize.d.ts +11 -0
- package/dist/types/src/functions/summarize.d.ts.map +1 -0
- package/dist/types/src/hooks/useAudioFile.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +0 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/segments-normalization/normalization.d.ts +376 -331
- package/dist/types/src/segments-normalization/normalization.d.ts.map +1 -1
- package/dist/types/src/testing/testing.d.ts +1 -1
- package/dist/types/src/testing/testing.d.ts.map +1 -1
- package/dist/types/src/transcriber/transcription-manager.d.ts +3 -7
- package/dist/types/src/transcriber/transcription-manager.d.ts.map +1 -1
- package/dist/types/src/types/Transcript.d.ts +30 -0
- package/dist/types/src/types/Transcript.d.ts.map +1 -0
- package/dist/types/src/types/TranscriptAction.d.ts +23 -0
- package/dist/types/src/types/TranscriptAction.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +2 -1
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +0 -26
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +61 -62
- package/src/TranscriptionPlugin.tsx +57 -53
- package/src/capabilities/blueprint-definition.ts +31 -0
- package/src/capabilities/capabilities.ts +3 -3
- package/src/capabilities/index.ts +1 -0
- package/src/capabilities/intent-resolver.ts +4 -10
- package/src/capabilities/react-surface.tsx +2 -2
- package/src/components/Transcript/Transcript.stories.tsx +32 -30
- package/src/components/Transcript/Transcript.tsx +17 -25
- package/src/components/Transcript/deprecated/OldTranscript.tsx +7 -7
- package/src/components/Transcript/transcript-extension.ts +2 -39
- package/src/components/TranscriptContainer.tsx +6 -6
- package/src/components/stories/FileTranscription.stories.tsx +42 -30
- package/src/components/stories/KeyWordRecognition.stories.tsx +16 -9
- package/src/components/stories/MicrophoneTranscription.stories.tsx +36 -32
- package/src/components/stories/TranscriptionStory.tsx +10 -6
- package/src/functions/index.ts +6 -0
- package/src/functions/open.ts +39 -0
- package/src/functions/summarize.ts +103 -0
- package/src/hooks/useAudioFile.ts +49 -53
- package/src/meta.ts +1 -3
- package/src/segments-normalization/normalization.test.ts +1 -1
- package/src/segments-normalization/normalization.ts +1 -1
- package/src/testing/testing.ts +5 -5
- package/src/transcriber/transcription-manager.ts +17 -38
- package/src/types/{schema.ts → Transcript.ts} +12 -9
- package/src/types/TranscriptAction.ts +24 -0
- package/src/types/index.ts +2 -1
- package/src/types/types.ts +0 -24
- package/dist/lib/browser/TranscriptContainer-FH7VAWYA.mjs +0 -11
- package/dist/lib/browser/chunk-5WH45KBY.mjs.map +0 -7
- package/dist/lib/browser/chunk-BJWYA2BU.mjs.map +0 -7
- package/dist/lib/browser/chunk-KWOOVS5G.mjs +0 -55
- package/dist/lib/browser/chunk-KWOOVS5G.mjs.map +0 -7
- package/dist/lib/browser/chunk-SREIAQSP.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-AOVQ7JI4.mjs +0 -30
- package/dist/lib/browser/intent-resolver-AOVQ7JI4.mjs.map +0 -7
- package/dist/lib/browser/react-surface-4MEJMKYQ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-IKQMDRY6.mjs +0 -56
- package/dist/lib/node-esm/chunk-IKQMDRY6.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-TM2ASOZA.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-XMUCZBP3.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-Y7PCJ34K.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-P4XPIKQF.mjs +0 -31
- package/dist/lib/node-esm/intent-resolver-P4XPIKQF.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-EZUPNHUC.mjs.map +0 -7
- package/dist/types/src/types/schema.d.ts +0 -41
- package/dist/types/src/types/schema.d.ts.map +0 -1
- /package/dist/lib/browser/{TranscriptContainer-FH7VAWYA.mjs.map → TranscriptContainer-QN5WUMWJ.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-UKUSJTQW.mjs.map → chunk-77NWYLC6.mjs.map} +0 -0
- /package/dist/lib/node-esm/{TranscriptContainer-GEUOOYHX.mjs.map → TranscriptContainer-WCUWVVSD.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-PHP7MCAY.mjs.map → chunk-N5Z4SKPH.mjs.map} +0 -0
|
@@ -1,137 +1,152 @@
|
|
|
1
|
-
import
|
|
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:
|
|
5
|
-
created:
|
|
6
|
-
sender:
|
|
7
|
-
contact:
|
|
8
|
-
fullName:
|
|
9
|
-
preferredName:
|
|
10
|
-
nickname:
|
|
11
|
-
image:
|
|
12
|
-
organization:
|
|
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:
|
|
21
|
-
department:
|
|
22
|
-
notes:
|
|
23
|
-
emails:
|
|
24
|
-
label:
|
|
25
|
-
value:
|
|
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:
|
|
28
|
-
label:
|
|
29
|
-
value: typeof
|
|
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:
|
|
32
|
-
label:
|
|
33
|
-
value: typeof
|
|
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:
|
|
36
|
-
label:
|
|
37
|
-
value:
|
|
38
|
-
street:
|
|
39
|
-
extended:
|
|
40
|
-
locality:
|
|
41
|
-
region:
|
|
42
|
-
postalCode:
|
|
43
|
-
postOfficeBoxNumber:
|
|
44
|
-
country:
|
|
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:
|
|
48
|
-
label:
|
|
49
|
-
value:
|
|
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:
|
|
52
|
-
fields:
|
|
53
|
-
category:
|
|
54
|
-
label: typeof
|
|
55
|
-
value: typeof
|
|
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:
|
|
59
|
-
identityKey:
|
|
60
|
-
email:
|
|
61
|
-
name:
|
|
62
|
-
role:
|
|
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:
|
|
65
|
-
pending:
|
|
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
|
|
68
|
-
}>>,
|
|
69
|
-
pending:
|
|
70
|
-
url: typeof
|
|
71
|
-
name:
|
|
72
|
-
mediaType:
|
|
73
|
-
}>>,
|
|
74
|
-
pending:
|
|
75
|
-
id:
|
|
76
|
-
source:
|
|
77
|
-
type:
|
|
78
|
-
mediaType: typeof
|
|
79
|
-
data: typeof
|
|
80
|
-
}>>,
|
|
81
|
-
type:
|
|
82
|
-
url: typeof
|
|
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
|
-
}>>,
|
|
85
|
-
pending:
|
|
86
|
-
disposition:
|
|
87
|
-
data: typeof
|
|
88
|
-
}>>,
|
|
89
|
-
pending:
|
|
90
|
-
text: typeof
|
|
91
|
-
}>>,
|
|
92
|
-
pending:
|
|
93
|
-
reasoningText:
|
|
94
|
-
redactedText:
|
|
95
|
-
signature:
|
|
96
|
-
}>>,
|
|
97
|
-
pending:
|
|
98
|
-
reference: import("@dxos/echo/Type").ref<
|
|
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
|
-
}>>,
|
|
103
|
-
pending:
|
|
104
|
-
options:
|
|
105
|
-
}>>,
|
|
106
|
-
pending:
|
|
107
|
-
statusText: typeof
|
|
108
|
-
}>>,
|
|
109
|
-
pending:
|
|
110
|
-
text: typeof
|
|
111
|
-
}>>,
|
|
112
|
-
pending:
|
|
113
|
-
mimeType:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}>>,
|
|
130
|
-
pending:
|
|
131
|
-
|
|
132
|
-
|
|
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:
|
|
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:
|
|
144
|
-
created:
|
|
145
|
-
sender:
|
|
146
|
-
contact:
|
|
147
|
-
fullName:
|
|
148
|
-
preferredName:
|
|
149
|
-
nickname:
|
|
150
|
-
image:
|
|
151
|
-
organization:
|
|
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:
|
|
160
|
-
department:
|
|
161
|
-
notes:
|
|
162
|
-
emails:
|
|
163
|
-
label:
|
|
164
|
-
value:
|
|
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:
|
|
167
|
-
label:
|
|
168
|
-
value: typeof
|
|
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:
|
|
171
|
-
label:
|
|
172
|
-
value: typeof
|
|
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:
|
|
175
|
-
label:
|
|
176
|
-
value:
|
|
177
|
-
street:
|
|
178
|
-
extended:
|
|
179
|
-
locality:
|
|
180
|
-
region:
|
|
181
|
-
postalCode:
|
|
182
|
-
postOfficeBoxNumber:
|
|
183
|
-
country:
|
|
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:
|
|
187
|
-
label:
|
|
188
|
-
value:
|
|
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:
|
|
191
|
-
fields:
|
|
192
|
-
category:
|
|
193
|
-
label: typeof
|
|
194
|
-
value: typeof
|
|
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:
|
|
198
|
-
identityKey:
|
|
199
|
-
email:
|
|
200
|
-
name:
|
|
201
|
-
role:
|
|
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:
|
|
204
|
-
pending:
|
|
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
|
|
207
|
-
}>>,
|
|
208
|
-
pending:
|
|
209
|
-
url: typeof
|
|
210
|
-
name:
|
|
211
|
-
mediaType:
|
|
212
|
-
}>>,
|
|
213
|
-
pending:
|
|
214
|
-
id:
|
|
215
|
-
source:
|
|
216
|
-
type:
|
|
217
|
-
mediaType: typeof
|
|
218
|
-
data: typeof
|
|
219
|
-
}>>,
|
|
220
|
-
type:
|
|
221
|
-
url: typeof
|
|
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
|
-
}>>,
|
|
224
|
-
pending:
|
|
225
|
-
disposition:
|
|
226
|
-
data: typeof
|
|
227
|
-
}>>,
|
|
228
|
-
pending:
|
|
229
|
-
text: typeof
|
|
230
|
-
}>>,
|
|
231
|
-
pending:
|
|
232
|
-
reasoningText:
|
|
233
|
-
redactedText:
|
|
234
|
-
signature:
|
|
235
|
-
}>>,
|
|
236
|
-
pending:
|
|
237
|
-
reference: import("@dxos/echo/Type").ref<
|
|
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
|
-
}>>,
|
|
242
|
-
pending:
|
|
243
|
-
options:
|
|
244
|
-
}>>,
|
|
245
|
-
pending:
|
|
246
|
-
statusText: typeof
|
|
247
|
-
}>>,
|
|
248
|
-
pending:
|
|
249
|
-
text: typeof
|
|
250
|
-
}>>,
|
|
251
|
-
pending:
|
|
252
|
-
mimeType:
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
}>>,
|
|
269
|
-
pending:
|
|
270
|
-
|
|
271
|
-
|
|
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:
|
|
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:
|
|
284
|
-
created:
|
|
285
|
-
sender:
|
|
286
|
-
contact:
|
|
287
|
-
fullName:
|
|
288
|
-
preferredName:
|
|
289
|
-
nickname:
|
|
290
|
-
image:
|
|
291
|
-
organization:
|
|
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:
|
|
300
|
-
department:
|
|
301
|
-
notes:
|
|
302
|
-
emails:
|
|
303
|
-
label:
|
|
304
|
-
value:
|
|
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:
|
|
307
|
-
label:
|
|
308
|
-
value: typeof
|
|
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:
|
|
311
|
-
label:
|
|
312
|
-
value: typeof
|
|
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:
|
|
315
|
-
label:
|
|
316
|
-
value:
|
|
317
|
-
street:
|
|
318
|
-
extended:
|
|
319
|
-
locality:
|
|
320
|
-
region:
|
|
321
|
-
postalCode:
|
|
322
|
-
postOfficeBoxNumber:
|
|
323
|
-
country:
|
|
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:
|
|
327
|
-
label:
|
|
328
|
-
value:
|
|
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:
|
|
331
|
-
fields:
|
|
332
|
-
category:
|
|
333
|
-
label: typeof
|
|
334
|
-
value: typeof
|
|
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:
|
|
338
|
-
identityKey:
|
|
339
|
-
email:
|
|
340
|
-
name:
|
|
341
|
-
role:
|
|
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:
|
|
344
|
-
pending:
|
|
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
|
|
347
|
-
}>>,
|
|
348
|
-
pending:
|
|
349
|
-
url: typeof
|
|
350
|
-
name:
|
|
351
|
-
mediaType:
|
|
352
|
-
}>>,
|
|
353
|
-
pending:
|
|
354
|
-
id:
|
|
355
|
-
source:
|
|
356
|
-
type:
|
|
357
|
-
mediaType: typeof
|
|
358
|
-
data: typeof
|
|
359
|
-
}>>,
|
|
360
|
-
type:
|
|
361
|
-
url: typeof
|
|
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
|
-
}>>,
|
|
364
|
-
pending:
|
|
365
|
-
disposition:
|
|
366
|
-
data: typeof
|
|
367
|
-
}>>,
|
|
368
|
-
pending:
|
|
369
|
-
text: typeof
|
|
370
|
-
}>>,
|
|
371
|
-
pending:
|
|
372
|
-
reasoningText:
|
|
373
|
-
redactedText:
|
|
374
|
-
signature:
|
|
375
|
-
}>>,
|
|
376
|
-
pending:
|
|
377
|
-
reference: import("@dxos/echo/Type").ref<
|
|
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
|
-
}>>,
|
|
382
|
-
pending:
|
|
383
|
-
options:
|
|
384
|
-
}>>,
|
|
385
|
-
pending:
|
|
386
|
-
statusText: typeof
|
|
387
|
-
}>>,
|
|
388
|
-
pending:
|
|
389
|
-
text: typeof
|
|
390
|
-
}>>,
|
|
391
|
-
pending:
|
|
392
|
-
mimeType:
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
}>>,
|
|
409
|
-
pending:
|
|
410
|
-
|
|
411
|
-
|
|
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:
|
|
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
|
}>>>>>;
|