@dxos/assistant 0.8.4-main.fd6878d → 0.8.4-main.fffef41

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 (122) hide show
  1. package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
  2. package/dist/lib/browser/extraction/index.mjs +121 -165
  3. package/dist/lib/browser/extraction/index.mjs.map +4 -4
  4. package/dist/lib/browser/index.mjs +1097 -161
  5. package/dist/lib/browser/index.mjs.map +4 -4
  6. package/dist/lib/browser/meta.json +1 -1
  7. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
  8. package/dist/lib/node-esm/extraction/index.mjs +121 -165
  9. package/dist/lib/node-esm/extraction/index.mjs.map +4 -4
  10. package/dist/lib/node-esm/index.mjs +1097 -161
  11. package/dist/lib/node-esm/index.mjs.map +4 -4
  12. package/dist/lib/node-esm/meta.json +1 -1
  13. package/dist/types/src/conversation/context.d.ts +23 -10
  14. package/dist/types/src/conversation/context.d.ts.map +1 -1
  15. package/dist/types/src/conversation/conversation.d.ts +22 -31
  16. package/dist/types/src/conversation/conversation.d.ts.map +1 -1
  17. package/dist/types/src/diff.d.ts +15 -0
  18. package/dist/types/src/diff.d.ts.map +1 -0
  19. package/dist/types/src/diff.test.d.ts +2 -0
  20. package/dist/types/src/diff.test.d.ts.map +1 -0
  21. package/dist/types/src/errors.d.ts +45 -13
  22. package/dist/types/src/errors.d.ts.map +1 -1
  23. package/dist/types/src/execution-graph.d.ts +85 -0
  24. package/dist/types/src/execution-graph.d.ts.map +1 -0
  25. package/dist/types/src/execution-graph.test.d.ts +2 -0
  26. package/dist/types/src/execution-graph.test.d.ts.map +1 -0
  27. package/dist/types/src/extraction/extraction-llm-function/extraction-llm-function.d.ts +1 -1
  28. package/dist/types/src/extraction/extraction-llm-function/extraction-llm-function.d.ts.map +1 -1
  29. package/dist/types/src/extraction/extraction-ner-function/extraction-ner-function.d.ts +82 -43
  30. package/dist/types/src/extraction/extraction-ner-function/extraction-ner-function.d.ts.map +1 -1
  31. package/dist/types/src/extraction/extraction-ner-function/named-entity-recognition.d.ts.map +1 -1
  32. package/dist/types/src/extraction/extraction.d.ts +262 -225
  33. package/dist/types/src/extraction/extraction.d.ts.map +1 -1
  34. package/dist/types/src/extraction/quotes.d.ts +1 -1
  35. package/dist/types/src/extraction/quotes.d.ts.map +1 -1
  36. package/dist/types/src/functions/services.d.ts +18 -5
  37. package/dist/types/src/functions/services.d.ts.map +1 -1
  38. package/dist/types/src/index.d.ts +3 -1
  39. package/dist/types/src/index.d.ts.map +1 -1
  40. package/dist/types/src/session/GenericToolkit.d.ts +84 -0
  41. package/dist/types/src/session/GenericToolkit.d.ts.map +1 -0
  42. package/dist/types/src/session/artifact-diff.d.ts +2 -2
  43. package/dist/types/src/session/artifact-diff.d.ts.map +1 -1
  44. package/dist/types/src/session/error-handling.d.ts +4 -0
  45. package/dist/types/src/session/error-handling.d.ts.map +1 -0
  46. package/dist/types/src/session/format.d.ts +5 -161
  47. package/dist/types/src/session/format.d.ts.map +1 -1
  48. package/dist/types/src/session/index.d.ts +3 -0
  49. package/dist/types/src/session/index.d.ts.map +1 -1
  50. package/dist/types/src/session/observer.d.ts +22 -0
  51. package/dist/types/src/session/observer.d.ts.map +1 -0
  52. package/dist/types/src/session/session.d.ts +22 -138
  53. package/dist/types/src/session/session.d.ts.map +1 -1
  54. package/dist/types/src/session/toolkit.d.ts +15 -0
  55. package/dist/types/src/session/toolkit.d.ts.map +1 -0
  56. package/dist/types/src/session/version-pin.d.ts +3 -3
  57. package/dist/types/src/session/version-pin.d.ts.map +1 -1
  58. package/dist/types/src/templates/system.d.ts +8 -12
  59. package/dist/types/src/templates/system.d.ts.map +1 -1
  60. package/dist/types/src/types/artifact.d.ts +20 -0
  61. package/dist/types/src/types/artifact.d.ts.map +1 -0
  62. package/dist/types/src/types/index.d.ts +2 -0
  63. package/dist/types/src/types/index.d.ts.map +1 -0
  64. package/dist/types/tsconfig.tsbuildinfo +1 -1
  65. package/package.json +29 -31
  66. package/src/conversation/context.ts +75 -22
  67. package/src/conversation/conversation.ts +80 -77
  68. package/src/diff.test.ts +43 -0
  69. package/src/diff.ts +84 -0
  70. package/src/errors.ts +6 -1
  71. package/src/execution-graph.test.ts +740 -0
  72. package/src/execution-graph.ts +509 -0
  73. package/src/extraction/extraction-llm-function/extraction-llm-function.test.ts +9 -9
  74. package/src/extraction/extraction-llm-function/extraction-llm-function.ts +47 -56
  75. package/src/extraction/extraction-ner-function/extraction-ner-function.test.ts +16 -16
  76. package/src/extraction/extraction-ner-function/extraction-ner-function.ts +42 -43
  77. package/src/extraction/extraction-ner-function/named-entity-recognition.test.ts +12 -6
  78. package/src/extraction/extraction-ner-function/named-entity-recognition.ts +2 -0
  79. package/src/extraction/extraction.ts +7 -6
  80. package/src/extraction/quotes.test.ts +2 -2
  81. package/src/extraction/quotes.ts +3 -3
  82. package/src/functions/services.ts +104 -56
  83. package/src/index.ts +3 -1
  84. package/src/session/GenericToolkit.ts +130 -0
  85. package/src/session/artifact-diff.ts +8 -4
  86. package/src/session/error-handling.ts +41 -0
  87. package/src/session/format.test.ts +5 -4
  88. package/src/session/format.ts +27 -22
  89. package/src/session/index.ts +4 -0
  90. package/src/session/observer.ts +59 -0
  91. package/src/session/session.conversations.json +1 -0
  92. package/src/session/session.test.ts +35 -191
  93. package/src/session/session.ts +119 -185
  94. package/src/session/toolkit.ts +48 -0
  95. package/src/session/version-pin.ts +4 -5
  96. package/src/templates/{format.tpl → instructions/format.tpl} +8 -2
  97. package/src/templates/{system.tpl → instructions/system.tpl} +15 -14
  98. package/src/templates/system.ts +25 -16
  99. package/src/{types.ts → types/artifact.ts} +22 -3
  100. package/src/types/index.ts +5 -0
  101. package/dist/lib/browser/chunk-6WRGDEMH.mjs +0 -89
  102. package/dist/lib/browser/chunk-6WRGDEMH.mjs.map +0 -7
  103. package/dist/lib/browser/chunk-NZGGCEF3.mjs +0 -341
  104. package/dist/lib/browser/chunk-NZGGCEF3.mjs.map +0 -7
  105. package/dist/lib/browser/named-entity-recognition-O46UTCLR.mjs +0 -13
  106. package/dist/lib/node-esm/chunk-3UU5V4FS.mjs +0 -91
  107. package/dist/lib/node-esm/chunk-3UU5V4FS.mjs.map +0 -7
  108. package/dist/lib/node-esm/chunk-XOOPGSGW.mjs +0 -343
  109. package/dist/lib/node-esm/chunk-XOOPGSGW.mjs.map +0 -7
  110. package/dist/lib/node-esm/named-entity-recognition-W4VMRCH6.mjs +0 -14
  111. package/dist/types/src/session/version-pin.test.d.ts +0 -2
  112. package/dist/types/src/session/version-pin.test.d.ts.map +0 -1
  113. package/dist/types/src/summarization/summarization.test.d.ts +0 -2
  114. package/dist/types/src/summarization/summarization.test.d.ts.map +0 -1
  115. package/dist/types/src/types.d.ts +0 -16
  116. package/dist/types/src/types.d.ts.map +0 -1
  117. package/src/session/__snapshots__/session.test.ts.snap +0 -32
  118. package/src/session/version-pin.test.ts +0 -7
  119. package/src/summarization/summarization.test.ts +0 -197
  120. /package/dist/lib/browser/{named-entity-recognition-O46UTCLR.mjs.map → chunk-J5LGTIGS.mjs.map} +0 -0
  121. /package/dist/lib/node-esm/{named-entity-recognition-W4VMRCH6.mjs.map → chunk-HSLMI22Q.mjs.map} +0 -0
  122. /package/src/extraction/extraction-llm-function/{instructions.tpl → transcription-instructions.tpl} +0 -0
@@ -1,140 +1,159 @@
1
- import { Schema } from 'effect';
2
- import { Expando } from '@dxos/echo-schema';
3
- import { type FunctionDefinition, type FunctionExecutor } from '@dxos/functions';
1
+ import * as Schema from 'effect/Schema';
2
+ import { Expando } from '@dxos/echo/internal';
3
+ import { type FunctionDefinition } from '@dxos/functions';
4
+ import { type FunctionExecutor } from '@dxos/functions-runtime';
4
5
  export declare const ExtractionInput: Schema.Struct<{
5
6
  message: import("@dxos/echo/Type").obj<Schema.Struct<{
6
7
  id: import("@dxos/keys").ObjectIdClass;
7
- parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
8
- created: import("effect/Schema").SchemaClass<string, string, never>;
9
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
10
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
11
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
12
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
13
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
14
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
15
- 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> & {
8
+ parentMessage: Schema.optional<import("@dxos/keys").ObjectIdClass>;
9
+ created: Schema.SchemaClass<string, string, never>;
10
+ sender: Schema.mutable<Schema.Struct<{
11
+ contact: Schema.optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<Schema.extend<Schema.Struct<{
12
+ fullName: Schema.optional<Schema.SchemaClass<string, string, never>>;
13
+ preferredName: Schema.optional<Schema.SchemaClass<string, string, never>>;
14
+ nickname: Schema.optional<Schema.SchemaClass<string, string, never>>;
15
+ image: Schema.optional<Schema.SchemaClass<string, string, never>>;
16
+ organization: Schema.optional<Schema.Schema<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
17
+ description?: string | undefined;
16
18
  id: string;
17
19
  name?: string | undefined;
18
- description?: string | undefined;
19
20
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
20
21
  image?: string | undefined;
21
22
  website?: string | undefined;
23
+ location?: readonly [number, number, (number | undefined)?] | undefined;
22
24
  }>, import("@dxos/echo-protocol").EncodedReference, never>>;
23
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
24
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
25
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
26
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
27
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
28
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
25
+ jobTitle: Schema.optional<Schema.SchemaClass<string, string, never>>;
26
+ department: Schema.optional<Schema.SchemaClass<string, string, never>>;
27
+ notes: Schema.optional<Schema.SchemaClass<string, string, never>>;
28
+ emails: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
29
+ label: Schema.optional<typeof Schema.String>;
30
+ value: Schema.refine<string, typeof Schema.String>;
29
31
  }>>>>;
30
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
31
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
32
- value: typeof import("effect/Schema").String;
32
+ identities: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
33
+ label: Schema.optional<typeof Schema.String>;
34
+ value: typeof Schema.String;
33
35
  }>>>>;
34
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
35
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
36
- value: typeof import("effect/Schema").String;
36
+ phoneNumbers: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
37
+ label: Schema.optional<typeof Schema.String>;
38
+ value: typeof Schema.String;
37
39
  }>>>>;
38
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
39
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
40
- value: import("effect/Schema").Struct<{
41
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
42
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
43
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
44
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
45
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
46
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
47
- country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
40
+ addresses: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
41
+ label: Schema.optional<typeof Schema.String>;
42
+ value: Schema.Struct<{
43
+ street: Schema.optional<Schema.SchemaClass<string, string, never>>;
44
+ extended: Schema.optional<Schema.SchemaClass<string, string, never>>;
45
+ locality: Schema.optional<Schema.SchemaClass<string, string, never>>;
46
+ region: Schema.optional<Schema.SchemaClass<string, string, never>>;
47
+ postalCode: Schema.optional<Schema.SchemaClass<string, string, never>>;
48
+ postOfficeBoxNumber: Schema.optional<Schema.SchemaClass<string, string, never>>;
49
+ country: Schema.optional<Schema.SchemaClass<string, string, never>>;
48
50
  }>;
49
51
  }>>>>;
50
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
51
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
52
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
52
+ urls: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
53
+ label: Schema.optional<typeof Schema.String>;
54
+ value: Schema.refine<string, typeof Schema.String>;
53
55
  }>>>>;
54
- birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
55
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
56
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
57
- label: typeof import("effect/Schema").String;
58
- value: typeof import("effect/Schema").String;
56
+ birthday: Schema.optional<Schema.SchemaClass<string, string, never>>;
57
+ fields: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
58
+ category: Schema.optional<typeof Schema.String>;
59
+ label: typeof Schema.String;
60
+ value: typeof Schema.String;
59
61
  }>>>>;
60
- }>>>>;
61
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
62
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
63
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
64
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
65
- role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
62
+ }>, Schema.Struct<{
63
+ 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, "?">]>>;
64
+ }>>>>>;
65
+ identityDid: Schema.optional<typeof Schema.String>;
66
+ identityKey: Schema.optional<typeof Schema.String>;
67
+ email: Schema.optional<typeof Schema.String>;
68
+ name: Schema.optional<typeof Schema.String>;
69
+ role: Schema.optional<Schema.Literal<["user", "assistant", "tool"]>>;
66
70
  }>>;
67
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
68
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
71
+ blocks: Schema.mutable<Schema.Array$<Schema.Union<[Schema.mutable<Schema.TaggedStruct<"anchor", {
72
+ pending: Schema.optional<typeof Schema.Boolean>;
69
73
  objectId: import("@dxos/keys").ObjectIdClass;
70
- version: typeof import("effect/Schema").Unknown;
71
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
72
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
73
- url: typeof import("effect/Schema").String;
74
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
75
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
76
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
77
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
78
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
79
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
80
- type: import("effect/Schema").Literal<["base64"]>;
81
- mediaType: typeof import("effect/Schema").String;
82
- data: typeof import("effect/Schema").String;
83
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
84
- type: import("effect/Schema").Literal<["http"]>;
85
- url: typeof import("effect/Schema").String;
74
+ version: typeof Schema.Unknown;
75
+ }>>, Schema.mutable<Schema.TaggedStruct<"file", {
76
+ pending: Schema.optional<typeof Schema.Boolean>;
77
+ url: typeof Schema.String;
78
+ name: Schema.optional<typeof Schema.String>;
79
+ mediaType: Schema.optional<typeof Schema.String>;
80
+ }>>, Schema.mutable<Schema.TaggedStruct<"image", {
81
+ pending: Schema.optional<typeof Schema.Boolean>;
82
+ id: Schema.optional<typeof Schema.String>;
83
+ source: Schema.optional<Schema.Union<[Schema.mutable<Schema.Struct<{
84
+ type: Schema.Literal<["base64"]>;
85
+ mediaType: typeof Schema.String;
86
+ data: typeof Schema.String;
87
+ }>>, Schema.mutable<Schema.Struct<{
88
+ type: Schema.Literal<["http"]>;
89
+ url: typeof Schema.String;
86
90
  }>>]>>;
87
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
88
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
89
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
90
- data: typeof import("effect/Schema").String;
91
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
92
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
93
- text: typeof import("effect/Schema").String;
94
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
95
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
96
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
97
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
98
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
99
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
100
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
101
- reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
91
+ }>>, Schema.mutable<Schema.TaggedStruct<"json", {
92
+ pending: Schema.optional<typeof Schema.Boolean>;
93
+ disposition: Schema.optional<typeof Schema.String>;
94
+ data: typeof Schema.String;
95
+ }>>, Schema.mutable<Schema.TaggedStruct<"proposal", {
96
+ pending: Schema.optional<typeof Schema.Boolean>;
97
+ text: typeof Schema.String;
98
+ }>>, Schema.mutable<Schema.TaggedStruct<"reasoning", {
99
+ pending: Schema.optional<typeof Schema.Boolean>;
100
+ reasoningText: Schema.optional<typeof Schema.String>;
101
+ redactedText: Schema.optional<typeof Schema.String>;
102
+ signature: Schema.optional<typeof Schema.String>;
103
+ }>>, Schema.mutable<Schema.TaggedStruct<"reference", {
104
+ pending: Schema.optional<typeof Schema.Boolean>;
105
+ reference: import("@dxos/echo/Type").ref<Schema.Schema<import("@dxos/echo/Type").Expando, {
102
106
  [x: string]: any;
103
107
  id: string;
104
108
  }, never>>;
105
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
106
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
107
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
108
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
109
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
110
- statusText: typeof import("effect/Schema").String;
111
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
112
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
113
- text: typeof import("effect/Schema").String;
114
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
115
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
116
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
117
- text: typeof import("effect/Schema").String;
118
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
119
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
120
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
121
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
122
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
123
- toolCallId: typeof import("effect/Schema").String;
124
- name: typeof import("effect/Schema").String;
125
- input: typeof import("effect/Schema").Unknown;
126
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
127
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
128
- toolCallId: typeof import("effect/Schema").String;
129
- name: typeof import("effect/Schema").String;
130
- result: typeof import("effect/Schema").Unknown;
131
- error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
132
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
133
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
134
- started: typeof import("effect/Schema").String;
135
- text: typeof import("effect/Schema").String;
109
+ }>>, Schema.mutable<Schema.TaggedStruct<"select", {
110
+ pending: Schema.optional<typeof Schema.Boolean>;
111
+ options: Schema.Array$<typeof Schema.String>;
112
+ }>>, Schema.mutable<Schema.TaggedStruct<"status", {
113
+ pending: Schema.optional<typeof Schema.Boolean>;
114
+ statusText: typeof Schema.String;
115
+ }>>, Schema.mutable<Schema.TaggedStruct<"suggestion", {
116
+ pending: Schema.optional<typeof Schema.Boolean>;
117
+ text: typeof Schema.String;
118
+ }>>, Schema.mutable<Schema.TaggedStruct<"summary", {
119
+ pending: Schema.optional<typeof Schema.Boolean>;
120
+ mimeType: Schema.optional<typeof Schema.String>;
121
+ message: Schema.optional<typeof Schema.String>;
122
+ model: Schema.optional<typeof Schema.String>;
123
+ usage: Schema.optional<Schema.Struct<{
124
+ inputTokens: Schema.optional<typeof Schema.Number>;
125
+ outputTokens: Schema.optional<typeof Schema.Number>;
126
+ totalTokens: Schema.optional<typeof Schema.Number>;
127
+ }>>;
128
+ toolCalls: Schema.optional<typeof Schema.Number>;
129
+ errors: Schema.optional<typeof Schema.Number>;
130
+ duration: Schema.optional<typeof Schema.Number>;
131
+ }>>, Schema.mutable<Schema.TaggedStruct<"text", {
132
+ pending: Schema.optional<typeof Schema.Boolean>;
133
+ mimeType: Schema.optional<typeof Schema.String>;
134
+ text: typeof Schema.String;
135
+ disposition: Schema.optional<typeof Schema.String>;
136
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolkit", {
137
+ pending: Schema.optional<typeof Schema.Boolean>;
138
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolCall", {
139
+ pending: Schema.optional<typeof Schema.Boolean>;
140
+ toolCallId: typeof Schema.String;
141
+ name: typeof Schema.String;
142
+ input: typeof Schema.String;
143
+ providerExecuted: typeof Schema.Boolean;
144
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolResult", {
145
+ pending: Schema.optional<typeof Schema.Boolean>;
146
+ toolCallId: typeof Schema.String;
147
+ name: typeof Schema.String;
148
+ result: Schema.optional<typeof Schema.String>;
149
+ error: Schema.optional<typeof Schema.String>;
150
+ providerExecuted: typeof Schema.Boolean;
151
+ }>>, Schema.mutable<Schema.TaggedStruct<"transcript", {
152
+ pending: Schema.optional<typeof Schema.Boolean>;
153
+ started: typeof Schema.String;
154
+ text: typeof Schema.String;
136
155
  }>>]>>>;
137
- properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
156
+ properties: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>>;
138
157
  }>>;
139
158
  objects: Schema.optional<Schema.Array$<Schema.Schema<Expando, Expando, never>>>;
140
159
  options: Schema.optional<Schema.Struct<{
@@ -147,137 +166,155 @@ export interface ExtractionInput extends Schema.Schema.Type<typeof ExtractionInp
147
166
  export declare const ExtractionOutput: Schema.Struct<{
148
167
  message: import("@dxos/echo/Type").obj<Schema.Struct<{
149
168
  id: import("@dxos/keys").ObjectIdClass;
150
- parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
151
- created: import("effect/Schema").SchemaClass<string, string, never>;
152
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
153
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
154
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
155
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
156
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
157
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
158
- 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> & {
169
+ parentMessage: Schema.optional<import("@dxos/keys").ObjectIdClass>;
170
+ created: Schema.SchemaClass<string, string, never>;
171
+ sender: Schema.mutable<Schema.Struct<{
172
+ contact: Schema.optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<Schema.extend<Schema.Struct<{
173
+ fullName: Schema.optional<Schema.SchemaClass<string, string, never>>;
174
+ preferredName: Schema.optional<Schema.SchemaClass<string, string, never>>;
175
+ nickname: Schema.optional<Schema.SchemaClass<string, string, never>>;
176
+ image: Schema.optional<Schema.SchemaClass<string, string, never>>;
177
+ organization: Schema.optional<Schema.Schema<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
178
+ description?: string | undefined;
159
179
  id: string;
160
180
  name?: string | undefined;
161
- description?: string | undefined;
162
181
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
163
182
  image?: string | undefined;
164
183
  website?: string | undefined;
184
+ location?: readonly [number, number, (number | undefined)?] | undefined;
165
185
  }>, import("@dxos/echo-protocol").EncodedReference, never>>;
166
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
167
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
168
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
169
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
170
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
171
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
186
+ jobTitle: Schema.optional<Schema.SchemaClass<string, string, never>>;
187
+ department: Schema.optional<Schema.SchemaClass<string, string, never>>;
188
+ notes: Schema.optional<Schema.SchemaClass<string, string, never>>;
189
+ emails: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
190
+ label: Schema.optional<typeof Schema.String>;
191
+ value: Schema.refine<string, typeof Schema.String>;
172
192
  }>>>>;
173
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
174
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
175
- value: typeof import("effect/Schema").String;
193
+ identities: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
194
+ label: Schema.optional<typeof Schema.String>;
195
+ value: typeof Schema.String;
176
196
  }>>>>;
177
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
178
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
179
- value: typeof import("effect/Schema").String;
197
+ phoneNumbers: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
198
+ label: Schema.optional<typeof Schema.String>;
199
+ value: typeof Schema.String;
180
200
  }>>>>;
181
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
182
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
183
- value: import("effect/Schema").Struct<{
184
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
185
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
186
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
187
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
188
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
189
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
190
- country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
201
+ addresses: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
202
+ label: Schema.optional<typeof Schema.String>;
203
+ value: Schema.Struct<{
204
+ street: Schema.optional<Schema.SchemaClass<string, string, never>>;
205
+ extended: Schema.optional<Schema.SchemaClass<string, string, never>>;
206
+ locality: Schema.optional<Schema.SchemaClass<string, string, never>>;
207
+ region: Schema.optional<Schema.SchemaClass<string, string, never>>;
208
+ postalCode: Schema.optional<Schema.SchemaClass<string, string, never>>;
209
+ postOfficeBoxNumber: Schema.optional<Schema.SchemaClass<string, string, never>>;
210
+ country: Schema.optional<Schema.SchemaClass<string, string, never>>;
191
211
  }>;
192
212
  }>>>>;
193
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
194
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
195
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
213
+ urls: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
214
+ label: Schema.optional<typeof Schema.String>;
215
+ value: Schema.refine<string, typeof Schema.String>;
196
216
  }>>>>;
197
- birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
198
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
199
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
200
- label: typeof import("effect/Schema").String;
201
- value: typeof import("effect/Schema").String;
217
+ birthday: Schema.optional<Schema.SchemaClass<string, string, never>>;
218
+ fields: Schema.optional<Schema.mutable<Schema.Array$<Schema.Struct<{
219
+ category: Schema.optional<typeof Schema.String>;
220
+ label: typeof Schema.String;
221
+ value: typeof Schema.String;
202
222
  }>>>>;
203
- }>>>>;
204
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
205
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
206
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
207
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
208
- role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
223
+ }>, Schema.Struct<{
224
+ 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, "?">]>>;
225
+ }>>>>>;
226
+ identityDid: Schema.optional<typeof Schema.String>;
227
+ identityKey: Schema.optional<typeof Schema.String>;
228
+ email: Schema.optional<typeof Schema.String>;
229
+ name: Schema.optional<typeof Schema.String>;
230
+ role: Schema.optional<Schema.Literal<["user", "assistant", "tool"]>>;
209
231
  }>>;
210
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
211
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
232
+ blocks: Schema.mutable<Schema.Array$<Schema.Union<[Schema.mutable<Schema.TaggedStruct<"anchor", {
233
+ pending: Schema.optional<typeof Schema.Boolean>;
212
234
  objectId: import("@dxos/keys").ObjectIdClass;
213
- version: typeof import("effect/Schema").Unknown;
214
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
215
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
216
- url: typeof import("effect/Schema").String;
217
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
218
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
219
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
220
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
221
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
222
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
223
- type: import("effect/Schema").Literal<["base64"]>;
224
- mediaType: typeof import("effect/Schema").String;
225
- data: typeof import("effect/Schema").String;
226
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
227
- type: import("effect/Schema").Literal<["http"]>;
228
- url: typeof import("effect/Schema").String;
235
+ version: typeof Schema.Unknown;
236
+ }>>, Schema.mutable<Schema.TaggedStruct<"file", {
237
+ pending: Schema.optional<typeof Schema.Boolean>;
238
+ url: typeof Schema.String;
239
+ name: Schema.optional<typeof Schema.String>;
240
+ mediaType: Schema.optional<typeof Schema.String>;
241
+ }>>, Schema.mutable<Schema.TaggedStruct<"image", {
242
+ pending: Schema.optional<typeof Schema.Boolean>;
243
+ id: Schema.optional<typeof Schema.String>;
244
+ source: Schema.optional<Schema.Union<[Schema.mutable<Schema.Struct<{
245
+ type: Schema.Literal<["base64"]>;
246
+ mediaType: typeof Schema.String;
247
+ data: typeof Schema.String;
248
+ }>>, Schema.mutable<Schema.Struct<{
249
+ type: Schema.Literal<["http"]>;
250
+ url: typeof Schema.String;
229
251
  }>>]>>;
230
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
231
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
232
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
233
- data: typeof import("effect/Schema").String;
234
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
235
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
236
- text: typeof import("effect/Schema").String;
237
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
238
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
239
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
240
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
241
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
242
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
243
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
244
- reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
252
+ }>>, Schema.mutable<Schema.TaggedStruct<"json", {
253
+ pending: Schema.optional<typeof Schema.Boolean>;
254
+ disposition: Schema.optional<typeof Schema.String>;
255
+ data: typeof Schema.String;
256
+ }>>, Schema.mutable<Schema.TaggedStruct<"proposal", {
257
+ pending: Schema.optional<typeof Schema.Boolean>;
258
+ text: typeof Schema.String;
259
+ }>>, Schema.mutable<Schema.TaggedStruct<"reasoning", {
260
+ pending: Schema.optional<typeof Schema.Boolean>;
261
+ reasoningText: Schema.optional<typeof Schema.String>;
262
+ redactedText: Schema.optional<typeof Schema.String>;
263
+ signature: Schema.optional<typeof Schema.String>;
264
+ }>>, Schema.mutable<Schema.TaggedStruct<"reference", {
265
+ pending: Schema.optional<typeof Schema.Boolean>;
266
+ reference: import("@dxos/echo/Type").ref<Schema.Schema<import("@dxos/echo/Type").Expando, {
245
267
  [x: string]: any;
246
268
  id: string;
247
269
  }, never>>;
248
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
249
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
250
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
251
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
252
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
253
- statusText: typeof import("effect/Schema").String;
254
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
255
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
256
- text: typeof import("effect/Schema").String;
257
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
258
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
259
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
260
- text: typeof import("effect/Schema").String;
261
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
262
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
263
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
264
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
265
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
266
- toolCallId: typeof import("effect/Schema").String;
267
- name: typeof import("effect/Schema").String;
268
- input: typeof import("effect/Schema").Unknown;
269
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
270
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
271
- toolCallId: typeof import("effect/Schema").String;
272
- name: typeof import("effect/Schema").String;
273
- result: typeof import("effect/Schema").Unknown;
274
- error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
275
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
276
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
277
- started: typeof import("effect/Schema").String;
278
- text: typeof import("effect/Schema").String;
270
+ }>>, Schema.mutable<Schema.TaggedStruct<"select", {
271
+ pending: Schema.optional<typeof Schema.Boolean>;
272
+ options: Schema.Array$<typeof Schema.String>;
273
+ }>>, Schema.mutable<Schema.TaggedStruct<"status", {
274
+ pending: Schema.optional<typeof Schema.Boolean>;
275
+ statusText: typeof Schema.String;
276
+ }>>, Schema.mutable<Schema.TaggedStruct<"suggestion", {
277
+ pending: Schema.optional<typeof Schema.Boolean>;
278
+ text: typeof Schema.String;
279
+ }>>, Schema.mutable<Schema.TaggedStruct<"summary", {
280
+ pending: Schema.optional<typeof Schema.Boolean>;
281
+ mimeType: Schema.optional<typeof Schema.String>;
282
+ message: Schema.optional<typeof Schema.String>;
283
+ model: Schema.optional<typeof Schema.String>;
284
+ usage: Schema.optional<Schema.Struct<{
285
+ inputTokens: Schema.optional<typeof Schema.Number>;
286
+ outputTokens: Schema.optional<typeof Schema.Number>;
287
+ totalTokens: Schema.optional<typeof Schema.Number>;
288
+ }>>;
289
+ toolCalls: Schema.optional<typeof Schema.Number>;
290
+ errors: Schema.optional<typeof Schema.Number>;
291
+ duration: Schema.optional<typeof Schema.Number>;
292
+ }>>, Schema.mutable<Schema.TaggedStruct<"text", {
293
+ pending: Schema.optional<typeof Schema.Boolean>;
294
+ mimeType: Schema.optional<typeof Schema.String>;
295
+ text: typeof Schema.String;
296
+ disposition: Schema.optional<typeof Schema.String>;
297
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolkit", {
298
+ pending: Schema.optional<typeof Schema.Boolean>;
299
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolCall", {
300
+ pending: Schema.optional<typeof Schema.Boolean>;
301
+ toolCallId: typeof Schema.String;
302
+ name: typeof Schema.String;
303
+ input: typeof Schema.String;
304
+ providerExecuted: typeof Schema.Boolean;
305
+ }>>, Schema.mutable<Schema.TaggedStruct<"toolResult", {
306
+ pending: Schema.optional<typeof Schema.Boolean>;
307
+ toolCallId: typeof Schema.String;
308
+ name: typeof Schema.String;
309
+ result: Schema.optional<typeof Schema.String>;
310
+ error: Schema.optional<typeof Schema.String>;
311
+ providerExecuted: typeof Schema.Boolean;
312
+ }>>, Schema.mutable<Schema.TaggedStruct<"transcript", {
313
+ pending: Schema.optional<typeof Schema.Boolean>;
314
+ started: typeof Schema.String;
315
+ text: typeof Schema.String;
279
316
  }>>]>>>;
280
- properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
317
+ properties: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>>;
281
318
  }>>;
282
319
  timeElapsed: typeof Schema.Number;
283
320
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"extraction.d.ts","sourceRoot":"","sources":["../../../../src/extraction/extraction.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAIjF,eAAO,MAAM,eAAe;;;;;;;;;;;;;wBA+D40iB,CAAC;+BAAqD,CAAC;0BAAgD,CAAC;yBAAkG,CAAC;2BAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAtDnmjB,CAAC;AACH,MAAM,WAAW,eAAgB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,eAAe,CAAC;CAAG;AAEtF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;wBAmD20iB,CAAC;+BAAqD,CAAC;0BAAgD,CAAC;yBAAkG,CAAC;2BAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAhDnmjB,CAAC;AACH,MAAM,WAAW,gBAAiB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC;CAAG;AAExF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,EAAE,eAAe,CAAC;IACvB,QAAQ,EAAE,kBAAkB,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;IAChE,QAAQ,EAAE,gBAAgB,CAAC;IAE3B,OAAO,CAAC,EAAE;QACR;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB;;;;WAIG;QACH,aAAa,CAAC,EAAE,OAAO,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;AAEvF;;GAEG;AAEH,eAAO,MAAM,wBAAwB,GAAU,QAAQ,8BAA8B,KAAG,OAAO,CAAC,gBAAgB,CAkB/G,CAAC"}
1
+ {"version":3,"file":"extraction.d.ts","sourceRoot":"","sources":["../../../../src/extraction/extraction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAIhE,eAAO,MAAM,eAAe;;;;;;;;;;;;+BAoBJ,CAAC;;wBACG,CAAC;0BAIT,CAAC;yBAKc,CAAA;2BACd,CAAA;4BACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAvBf,CAAC;AACH,MAAM,WAAW,eAAgB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,eAAe,CAAC;CAAG;AAEtF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;+BAQL,CAAC;;wBACG,CAAC;0BAIT,CAAC;yBAKc,CAAA;2BACd,CAAA;4BACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAjBf,CAAC;AACH,MAAM,WAAW,gBAAiB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC;CAAG;AAExF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,EAAE,eAAe,CAAC;IACvB,QAAQ,EAAE,kBAAkB,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;IAChE,QAAQ,EAAE,gBAAgB,CAAC;IAE3B,OAAO,CAAC,EAAE;QACR;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB;;;;WAIG;QACH,aAAa,CAAC,EAAE,OAAO,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;AAEvF;;GAEG;AAEH,eAAO,MAAM,wBAAwB,GAAU,QAAQ,8BAA8B,KAAG,OAAO,CAAC,gBAAgB,CAkB/G,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Schema } from 'effect';
1
+ import * as Schema from 'effect/Schema';
2
2
  import { type EchoDatabase } from '@dxos/echo-db';
3
3
  export declare const ReferencedQuotes: Schema.Struct<{
4
4
  references: Schema.mutable<Schema.Array$<Schema.Struct<{