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