@dxos/assistant 0.8.4-main.dedc0f3 → 0.8.4-main.ead640a

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 (89) hide show
  1. package/dist/lib/browser/{chunk-5GJYG2ML.mjs → chunk-CWGVG235.mjs} +65 -81
  2. package/dist/lib/browser/chunk-CWGVG235.mjs.map +7 -0
  3. package/dist/lib/browser/extraction/index.mjs +18 -14
  4. package/dist/lib/browser/extraction/index.mjs.map +4 -4
  5. package/dist/lib/browser/index.mjs +552 -88
  6. package/dist/lib/browser/index.mjs.map +4 -4
  7. package/dist/lib/browser/meta.json +1 -1
  8. package/dist/lib/node-esm/{chunk-FLFCEB4P.mjs → chunk-OV5PMQPB.mjs} +65 -81
  9. package/dist/lib/node-esm/chunk-OV5PMQPB.mjs.map +7 -0
  10. package/dist/lib/node-esm/extraction/index.mjs +18 -14
  11. package/dist/lib/node-esm/extraction/index.mjs.map +4 -4
  12. package/dist/lib/node-esm/index.mjs +552 -88
  13. package/dist/lib/node-esm/index.mjs.map +4 -4
  14. package/dist/lib/node-esm/meta.json +1 -1
  15. package/dist/types/src/conversation/context.d.ts +14 -7
  16. package/dist/types/src/conversation/context.d.ts.map +1 -1
  17. package/dist/types/src/conversation/conversation.d.ts +9 -10
  18. package/dist/types/src/conversation/conversation.d.ts.map +1 -1
  19. package/dist/types/src/errors.d.ts +38 -38
  20. package/dist/types/src/errors.d.ts.map +1 -1
  21. package/dist/types/src/execution-graph.d.ts +82 -0
  22. package/dist/types/src/execution-graph.d.ts.map +1 -0
  23. package/dist/types/src/execution-graph.test.d.ts +2 -0
  24. package/dist/types/src/execution-graph.test.d.ts.map +1 -0
  25. package/dist/types/src/extraction/extraction-llm-function/extraction-llm-function.d.ts.map +1 -1
  26. package/dist/types/src/extraction/extraction-ner-function/extraction-ner-function.d.ts +61 -57
  27. package/dist/types/src/extraction/extraction-ner-function/extraction-ner-function.d.ts.map +1 -1
  28. package/dist/types/src/extraction/extraction.d.ts +10 -6
  29. package/dist/types/src/extraction/extraction.d.ts.map +1 -1
  30. package/dist/types/src/extraction/quotes.d.ts +1 -1
  31. package/dist/types/src/extraction/quotes.d.ts.map +1 -1
  32. package/dist/types/src/functions/services.d.ts +17 -5
  33. package/dist/types/src/functions/services.d.ts.map +1 -1
  34. package/dist/types/src/index.d.ts +2 -1
  35. package/dist/types/src/index.d.ts.map +1 -1
  36. package/dist/types/src/session/artifact-diff.d.ts +2 -2
  37. package/dist/types/src/session/artifact-diff.d.ts.map +1 -1
  38. package/dist/types/src/session/error-handling.d.ts +2 -2
  39. package/dist/types/src/session/error-handling.d.ts.map +1 -1
  40. package/dist/types/src/session/format.d.ts +34 -32
  41. package/dist/types/src/session/format.d.ts.map +1 -1
  42. package/dist/types/src/session/observer.d.ts +1 -1
  43. package/dist/types/src/session/observer.d.ts.map +1 -1
  44. package/dist/types/src/session/session.d.ts +13 -9
  45. package/dist/types/src/session/session.d.ts.map +1 -1
  46. package/dist/types/src/session/toolkit.d.ts +7 -6
  47. package/dist/types/src/session/toolkit.d.ts.map +1 -1
  48. package/dist/types/src/session/version-pin.d.ts +2 -2
  49. package/dist/types/src/session/version-pin.d.ts.map +1 -1
  50. package/dist/types/src/{types.d.ts → types/artifact.d.ts} +3 -3
  51. package/dist/types/src/types/artifact.d.ts.map +1 -0
  52. package/dist/types/src/types/index.d.ts +2 -0
  53. package/dist/types/src/types/index.d.ts.map +1 -0
  54. package/dist/types/tsconfig.tsbuildinfo +1 -1
  55. package/package.json +26 -31
  56. package/src/conversation/context.ts +49 -17
  57. package/src/conversation/conversation.ts +23 -18
  58. package/src/errors.ts +4 -4
  59. package/src/execution-graph.test.ts +738 -0
  60. package/src/execution-graph.ts +500 -0
  61. package/src/extraction/extraction-llm-function/extraction-llm-function.ts +3 -1
  62. package/src/extraction/extraction-ner-function/extraction-ner-function.ts +3 -1
  63. package/src/extraction/extraction-ner-function/named-entity-recognition.test.ts +2 -1
  64. package/src/extraction/extraction.ts +2 -2
  65. package/src/extraction/quotes.test.ts +2 -2
  66. package/src/extraction/quotes.ts +3 -3
  67. package/src/functions/services.ts +85 -46
  68. package/src/index.ts +2 -1
  69. package/src/session/artifact-diff.ts +2 -2
  70. package/src/session/error-handling.ts +11 -6
  71. package/src/session/format.test.ts +1 -1
  72. package/src/session/format.ts +9 -6
  73. package/src/session/observer.ts +2 -1
  74. package/src/session/session.conversations.json +1 -0
  75. package/src/session/session.test.ts +50 -209
  76. package/src/session/session.ts +31 -20
  77. package/src/session/toolkit.ts +19 -13
  78. package/src/session/version-pin.ts +2 -2
  79. package/src/summarization/summarization.test.ts +8 -3
  80. package/src/templates/system.tpl +10 -12
  81. package/src/{types.ts → types/artifact.ts} +2 -2
  82. package/src/types/index.ts +5 -0
  83. package/dist/lib/browser/chunk-5GJYG2ML.mjs.map +0 -7
  84. package/dist/lib/node-esm/chunk-FLFCEB4P.mjs.map +0 -7
  85. package/dist/types/src/session/version-pin.test.d.ts +0 -2
  86. package/dist/types/src/session/version-pin.test.d.ts.map +0 -1
  87. package/dist/types/src/types.d.ts.map +0 -1
  88. package/src/session/__snapshots__/session.test.ts.snap +0 -32
  89. package/src/session/version-pin.test.ts +0 -7
@@ -1,75 +1,75 @@
1
1
  import { BaseError } from '@dxos/errors';
2
- declare const AiAssistantError_base: {
3
- new (message: string, options?: import("@dxos/errors").BaseErrorOptions): {
4
- #code: "AI_ASSISTANT_ERROR";
5
- #context: Record<string, unknown>;
6
- readonly name: "AI_ASSISTANT_ERROR";
7
- readonly code: "AI_ASSISTANT_ERROR";
8
- readonly _tag: "AI_ASSISTANT_ERROR";
2
+ declare const AiModelError_base: {
3
+ new (options?: import("@dxos/errors").BaseErrorOptions): {
4
+ "__#private@#code": "AI_MODEL_ERROR";
5
+ "__#private@#context": Record<string, unknown>;
6
+ readonly name: "AI_MODEL_ERROR";
7
+ readonly message: string;
8
+ readonly code: "AI_MODEL_ERROR";
9
+ readonly _tag: "AI_MODEL_ERROR";
9
10
  readonly context: Record<string, unknown>;
10
- message: string;
11
11
  stack?: string;
12
12
  cause?: unknown;
13
13
  };
14
- code: "AI_ASSISTANT_ERROR";
14
+ code: "AI_MODEL_ERROR";
15
15
  is(error: unknown): error is BaseError;
16
- wrap(message: string, options?: Omit<import("@dxos/errors").BaseErrorOptions, "cause">): (error: unknown) => {
17
- #code: "AI_ASSISTANT_ERROR";
18
- #context: Record<string, unknown>;
19
- readonly name: "AI_ASSISTANT_ERROR";
20
- readonly code: "AI_ASSISTANT_ERROR";
21
- readonly _tag: "AI_ASSISTANT_ERROR";
16
+ wrap(options?: Omit<import("@dxos/errors").BaseErrorOptions, "cause">): (error: unknown) => {
17
+ "__#private@#code": "AI_MODEL_ERROR";
18
+ "__#private@#context": Record<string, unknown>;
19
+ readonly name: "AI_MODEL_ERROR";
20
+ readonly message: string;
21
+ readonly code: "AI_MODEL_ERROR";
22
+ readonly _tag: "AI_MODEL_ERROR";
22
23
  readonly context: Record<string, unknown>;
23
- message: string;
24
24
  stack?: string;
25
25
  cause?: unknown;
26
26
  };
27
- extend<Code extends string>(code: Code): any;
27
+ extend<Code extends string = string>(code: Code, message?: string): any;
28
28
  isError(error: unknown): error is Error;
29
29
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
30
30
  prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
31
31
  stackTraceLimit: number;
32
32
  };
33
33
  /**
34
- * Generic error for AI agent execution.
34
+ * Generic error from AI model.
35
35
  */
36
- export declare class AiAssistantError extends AiAssistantError_base {
36
+ export declare class AiModelError extends AiModelError_base {
37
37
  }
38
- declare const AnthropicError_base: {
39
- new (message: string, options?: import("@dxos/errors").BaseErrorOptions): {
40
- #code: "ANTHROPIC_ERROR";
41
- #context: Record<string, unknown>;
42
- readonly name: "ANTHROPIC_ERROR";
43
- readonly code: "ANTHROPIC_ERROR";
44
- readonly _tag: "ANTHROPIC_ERROR";
38
+ declare const AiAssistantError_base: {
39
+ new (options?: import("@dxos/errors").BaseErrorOptions): {
40
+ "__#private@#code": "AI_ASSISTANT_ERROR";
41
+ "__#private@#context": Record<string, unknown>;
42
+ readonly name: "AI_ASSISTANT_ERROR";
43
+ readonly message: string;
44
+ readonly code: "AI_ASSISTANT_ERROR";
45
+ readonly _tag: "AI_ASSISTANT_ERROR";
45
46
  readonly context: Record<string, unknown>;
46
- message: string;
47
47
  stack?: string;
48
48
  cause?: unknown;
49
49
  };
50
- code: "ANTHROPIC_ERROR";
50
+ code: "AI_ASSISTANT_ERROR";
51
51
  is(error: unknown): error is BaseError;
52
- wrap(message: string, options?: Omit<import("@dxos/errors").BaseErrorOptions, "cause">): (error: unknown) => {
53
- #code: "ANTHROPIC_ERROR";
54
- #context: Record<string, unknown>;
55
- readonly name: "ANTHROPIC_ERROR";
56
- readonly code: "ANTHROPIC_ERROR";
57
- readonly _tag: "ANTHROPIC_ERROR";
52
+ wrap(options?: Omit<import("@dxos/errors").BaseErrorOptions, "cause">): (error: unknown) => {
53
+ "__#private@#code": "AI_ASSISTANT_ERROR";
54
+ "__#private@#context": Record<string, unknown>;
55
+ readonly name: "AI_ASSISTANT_ERROR";
56
+ readonly message: string;
57
+ readonly code: "AI_ASSISTANT_ERROR";
58
+ readonly _tag: "AI_ASSISTANT_ERROR";
58
59
  readonly context: Record<string, unknown>;
59
- message: string;
60
60
  stack?: string;
61
61
  cause?: unknown;
62
62
  };
63
- extend<Code extends string>(code: Code): any;
63
+ extend<Code extends string = string>(code: Code, message?: string): any;
64
64
  isError(error: unknown): error is Error;
65
65
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
66
66
  prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
67
67
  stackTraceLimit: number;
68
68
  };
69
69
  /**
70
- * Parsed error from the anthropic API.
70
+ * Generic error for AI agent execution.
71
71
  */
72
- export declare class AnthropicError extends AnthropicError_base {
72
+ export declare class AiAssistantError extends AiAssistantError_base {
73
73
  }
74
74
  export {};
75
75
  //# sourceMappingURL=errors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/errors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEzC;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,qBAAsC;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE/E;;GAEG;AACH,qBAAa,cAAe,SAAQ,mBAAmC;CAAG"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/errors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEzC;;GAEG;AACH,qBAAa,YAAa,SAAQ,iBAAoD;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEzF;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,qBAA4D;CAAG"}
@@ -0,0 +1,82 @@
1
+ import { Obj } from '@dxos/echo';
2
+ import { LogLevel } from '@dxos/log';
3
+ /**
4
+ * Mercurial-style Commit.
5
+ */
6
+ export type Commit = {
7
+ id: string;
8
+ parents: string[];
9
+ branch: string;
10
+ icon?: string;
11
+ level?: LogLevel;
12
+ message: string;
13
+ timestamp?: Date;
14
+ tags?: string[];
15
+ };
16
+ /**
17
+ * Models the execution graph based on a stream of events.
18
+ */
19
+ export declare class ExecutionGraph {
20
+ private _commits;
21
+ private _branchNames;
22
+ private _lastBlockId;
23
+ private _toolCallCommitIds;
24
+ private _lastCommitByBranch;
25
+ private _pendingToolResults;
26
+ /**
27
+ * Adds events to the graph.
28
+ */
29
+ addEvents(events: Obj.Any[]): void;
30
+ /**
31
+ * Processes a message event and creates commits for its blocks.
32
+ */
33
+ private _processMessage;
34
+ /**
35
+ * Processes an AgentStatus event.
36
+ */
37
+ private _processAgentStatus;
38
+ /**
39
+ * Stable sort: objects with 'created' field are sorted by it, others remain in place.
40
+ */
41
+ private sortObjectsByCreated;
42
+ /**
43
+ * Returns the current state of the graph.
44
+ */
45
+ getGraph(lastRequest?: boolean): {
46
+ branches: string[];
47
+ commits: Commit[];
48
+ };
49
+ /**
50
+ * Tracks tool calls and handles pending tool result updates.
51
+ */
52
+ private _trackToolCalls;
53
+ /**
54
+ * Updates pending tool results to point to an AgentStatus event.
55
+ */
56
+ private _updatePendingToolResults;
57
+ /**
58
+ * Handles late updates when AgentStatus is processed before tool result.
59
+ */
60
+ private _handleLateToolResultUpdate;
61
+ /**
62
+ * Gets the branch name for a tool call.
63
+ */
64
+ private _getToolCallBranch;
65
+ /**
66
+ * Gets the parents for an AgentStatus commit.
67
+ */
68
+ private _getAgentStatusParents;
69
+ /**
70
+ * Checks if a commit is a tool call commit.
71
+ */
72
+ private _isToolCallCommit;
73
+ /**
74
+ * Checks if a commit is a tool result commit.
75
+ */
76
+ private _isToolResultCommit;
77
+ /**
78
+ * Extracts tool call ID from a commit ID.
79
+ */
80
+ private _extractToolCallId;
81
+ }
82
+ //# sourceMappingURL=execution-graph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execution-graph.d.ts","sourceRoot":"","sources":["../../../src/execution-graph.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,GAAG,EAAY,MAAM,YAAY,CAAC;AAG3C,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAIrC;;GAEG;AAEH,MAAM,MAAM,MAAM,GAAG;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAqBF;;GAEG;AACH,qBAAa,cAAc;IAEzB,OAAO,CAAC,QAAQ,CAAgB;IAChC,OAAO,CAAC,YAAY,CAAqB;IACzC,OAAO,CAAC,YAAY,CAAqB;IAGzC,OAAO,CAAC,kBAAkB,CAA6B;IACvD,OAAO,CAAC,mBAAmB,CAA6B;IACxD,OAAO,CAAC,mBAAmB,CAA6B;IAExD;;OAEG;IACH,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,EAAE;IAW3B;;OAEG;IACH,OAAO,CAAC,eAAe;IAqBvB;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAyB3B;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAyB5B;;OAEG;IACH,QAAQ,CAAC,WAAW,UAAQ,GAAG;QAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,CAAA;KAAE;IAUxE;;OAEG;IACH,OAAO,CAAC,eAAe;IAqBvB;;OAEG;IACH,OAAO,CAAC,yBAAyB;IAmBjC;;OAEG;IACH,OAAO,CAAC,2BAA2B;IAoBnC;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAO1B;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAO9B;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAIzB;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAI3B;;OAEG;IACH,OAAO,CAAC,kBAAkB;CAK3B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=execution-graph.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execution-graph.test.d.ts","sourceRoot":"","sources":["../../../src/execution-graph.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"extraction-llm-function.d.ts","sourceRoot":"","sources":["../../../../../src/extraction/extraction-llm-function/extraction-llm-function.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,kBAAkB,EAAkB,MAAM,iBAAiB,CAAC;AAI1E,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAKlE,eAAO,MAAM,2BAA2B,EAAE,kBAAkB,CAAC,eAAe,EAAE,gBAAgB,CAkD5F,CAAC"}
1
+ {"version":3,"file":"extraction-llm-function.d.ts","sourceRoot":"","sources":["../../../../../src/extraction/extraction-llm-function/extraction-llm-function.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,kBAAkB,EAAkB,MAAM,iBAAiB,CAAC;AAI1E,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAKlE,eAAO,MAAM,2BAA2B,EAAE,kBAAkB,CAAC,eAAe,EAAE,gBAAgB,CAoD5F,CAAC"}
@@ -2,28 +2,21 @@
2
2
  * Named Entity Recognition model
3
3
  */
4
4
  export declare const extractionNerFunction: import("@dxos/functions").FunctionDefinition<{
5
- readonly objects?: readonly import("@dxos/echo-schema").Expando[] | undefined;
6
5
  readonly options?: {
7
6
  readonly timeout?: number | undefined;
8
7
  readonly fallbackToRaw?: boolean | undefined;
9
8
  } | undefined;
10
- readonly message: import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
9
+ readonly message: import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
11
10
  id: string;
12
11
  parentMessage?: string | undefined;
13
12
  created: string;
14
13
  sender: {
15
- name?: string | undefined;
16
- contact?: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
17
- fields?: {
18
- readonly value: string;
19
- readonly category?: string | undefined;
20
- readonly label: string;
21
- }[] | undefined;
22
- image?: string | undefined;
14
+ contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
23
15
  fullName?: string | undefined;
24
16
  preferredName?: string | undefined;
25
17
  nickname?: string | undefined;
26
- organization?: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
18
+ image?: string | undefined;
19
+ organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
27
20
  id: string;
28
21
  description?: string | undefined;
29
22
  name?: string | undefined;
@@ -35,18 +28,19 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
35
28
  department?: string | undefined;
36
29
  notes?: string | undefined;
37
30
  emails?: {
38
- readonly value: string;
39
31
  readonly label?: string | undefined;
32
+ readonly value: string;
40
33
  }[] | undefined;
41
34
  identities?: {
42
- readonly value: string;
43
35
  readonly label?: string | undefined;
36
+ readonly value: string;
44
37
  }[] | undefined;
45
38
  phoneNumbers?: {
46
- readonly value: string;
47
39
  readonly label?: string | undefined;
40
+ readonly value: string;
48
41
  }[] | undefined;
49
42
  addresses?: {
43
+ readonly label?: string | undefined;
50
44
  readonly value: {
51
45
  readonly street?: string | undefined;
52
46
  readonly extended?: string | undefined;
@@ -56,18 +50,23 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
56
50
  readonly postOfficeBoxNumber?: string | undefined;
57
51
  readonly country?: string | undefined;
58
52
  };
59
- readonly label?: string | undefined;
60
53
  }[] | undefined;
61
54
  urls?: {
62
- readonly value: string;
63
55
  readonly label?: string | undefined;
56
+ readonly value: string;
64
57
  }[] | undefined;
65
58
  birthday?: string | undefined;
59
+ fields?: {
60
+ readonly label: string;
61
+ readonly value: string;
62
+ readonly category?: string | undefined;
63
+ }[] | undefined;
66
64
  }> | undefined;
67
65
  identityDid?: string | undefined;
68
66
  identityKey?: string | undefined;
69
67
  email?: string | undefined;
70
- role?: "user" | "assistant" | undefined;
68
+ name?: string | undefined;
69
+ role?: "user" | "assistant" | "tool" | undefined;
71
70
  };
72
71
  blocks: ({
73
72
  version: unknown;
@@ -77,21 +76,21 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
77
76
  } | {
78
77
  name?: string | undefined;
79
78
  _tag: "file";
80
- url: string;
81
79
  pending?: boolean | undefined;
80
+ url: string;
82
81
  mediaType?: string | undefined;
83
82
  } | {
84
83
  id?: string | undefined;
84
+ _tag: "image";
85
+ pending?: boolean | undefined;
85
86
  source?: {
86
- type: "base64";
87
87
  mediaType: string;
88
+ type: "base64";
88
89
  data: string;
89
90
  } | {
90
- type: "http";
91
91
  url: string;
92
+ type: "http";
92
93
  } | undefined;
93
- _tag: "image";
94
- pending?: boolean | undefined;
95
94
  } | {
96
95
  _tag: "json";
97
96
  pending?: boolean | undefined;
@@ -103,13 +102,13 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
103
102
  pending?: boolean | undefined;
104
103
  } | {
105
104
  _tag: "reasoning";
105
+ pending?: boolean | undefined;
106
106
  reasoningText?: string | undefined;
107
- signature?: string | undefined;
108
107
  redactedText?: string | undefined;
109
- pending?: boolean | undefined;
108
+ signature?: string | undefined;
110
109
  } | {
110
+ reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").Expando>;
111
111
  _tag: "reference";
112
- reference: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").Expando>;
113
112
  pending?: boolean | undefined;
114
113
  } | {
115
114
  _tag: "select";
@@ -125,15 +124,15 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
125
124
  pending?: boolean | undefined;
126
125
  } | {
127
126
  _tag: "summary";
127
+ pending?: boolean | undefined;
128
+ mimeType?: string | undefined;
129
+ message?: string | undefined;
128
130
  model?: string | undefined;
129
131
  usage?: {
130
132
  readonly inputTokens?: number | undefined;
131
133
  readonly outputTokens?: number | undefined;
132
134
  readonly totalTokens?: number | undefined;
133
135
  } | undefined;
134
- pending?: boolean | undefined;
135
- mimeType?: string | undefined;
136
- message?: string | undefined;
137
136
  toolCalls?: number | undefined;
138
137
  errors?: number | undefined;
139
138
  duration?: number | undefined;
@@ -152,13 +151,15 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
152
151
  pending?: boolean | undefined;
153
152
  toolCallId: string;
154
153
  input: string;
154
+ providerExecuted: boolean;
155
155
  } | {
156
156
  name: string;
157
157
  _tag: "toolResult";
158
- error?: string | undefined;
159
158
  pending?: boolean | undefined;
160
159
  toolCallId: string;
160
+ providerExecuted: boolean;
161
161
  result?: string | undefined;
162
+ error?: string | undefined;
162
163
  } | {
163
164
  text: string;
164
165
  _tag: "transcript";
@@ -169,24 +170,19 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
169
170
  [x: string]: any;
170
171
  } | undefined;
171
172
  };
173
+ readonly objects?: readonly import("@dxos/echo/internal").Expando[] | undefined;
172
174
  }, {
173
- readonly message: import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
175
+ readonly message: import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
174
176
  id: string;
175
177
  parentMessage?: string | undefined;
176
178
  created: string;
177
179
  sender: {
178
- name?: string | undefined;
179
- contact?: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
180
- fields?: {
181
- readonly value: string;
182
- readonly category?: string | undefined;
183
- readonly label: string;
184
- }[] | undefined;
185
- image?: string | undefined;
180
+ contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
186
181
  fullName?: string | undefined;
187
182
  preferredName?: string | undefined;
188
183
  nickname?: string | undefined;
189
- organization?: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
184
+ image?: string | undefined;
185
+ organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
190
186
  id: string;
191
187
  description?: string | undefined;
192
188
  name?: string | undefined;
@@ -198,18 +194,19 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
198
194
  department?: string | undefined;
199
195
  notes?: string | undefined;
200
196
  emails?: {
201
- readonly value: string;
202
197
  readonly label?: string | undefined;
198
+ readonly value: string;
203
199
  }[] | undefined;
204
200
  identities?: {
205
- readonly value: string;
206
201
  readonly label?: string | undefined;
202
+ readonly value: string;
207
203
  }[] | undefined;
208
204
  phoneNumbers?: {
209
- readonly value: string;
210
205
  readonly label?: string | undefined;
206
+ readonly value: string;
211
207
  }[] | undefined;
212
208
  addresses?: {
209
+ readonly label?: string | undefined;
213
210
  readonly value: {
214
211
  readonly street?: string | undefined;
215
212
  readonly extended?: string | undefined;
@@ -219,18 +216,23 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
219
216
  readonly postOfficeBoxNumber?: string | undefined;
220
217
  readonly country?: string | undefined;
221
218
  };
222
- readonly label?: string | undefined;
223
219
  }[] | undefined;
224
220
  urls?: {
225
- readonly value: string;
226
221
  readonly label?: string | undefined;
222
+ readonly value: string;
227
223
  }[] | undefined;
228
224
  birthday?: string | undefined;
225
+ fields?: {
226
+ readonly label: string;
227
+ readonly value: string;
228
+ readonly category?: string | undefined;
229
+ }[] | undefined;
229
230
  }> | undefined;
230
231
  identityDid?: string | undefined;
231
232
  identityKey?: string | undefined;
232
233
  email?: string | undefined;
233
- role?: "user" | "assistant" | undefined;
234
+ name?: string | undefined;
235
+ role?: "user" | "assistant" | "tool" | undefined;
234
236
  };
235
237
  blocks: ({
236
238
  version: unknown;
@@ -240,21 +242,21 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
240
242
  } | {
241
243
  name?: string | undefined;
242
244
  _tag: "file";
243
- url: string;
244
245
  pending?: boolean | undefined;
246
+ url: string;
245
247
  mediaType?: string | undefined;
246
248
  } | {
247
249
  id?: string | undefined;
250
+ _tag: "image";
251
+ pending?: boolean | undefined;
248
252
  source?: {
249
- type: "base64";
250
253
  mediaType: string;
254
+ type: "base64";
251
255
  data: string;
252
256
  } | {
253
- type: "http";
254
257
  url: string;
258
+ type: "http";
255
259
  } | undefined;
256
- _tag: "image";
257
- pending?: boolean | undefined;
258
260
  } | {
259
261
  _tag: "json";
260
262
  pending?: boolean | undefined;
@@ -266,13 +268,13 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
266
268
  pending?: boolean | undefined;
267
269
  } | {
268
270
  _tag: "reasoning";
271
+ pending?: boolean | undefined;
269
272
  reasoningText?: string | undefined;
270
- signature?: string | undefined;
271
273
  redactedText?: string | undefined;
272
- pending?: boolean | undefined;
274
+ signature?: string | undefined;
273
275
  } | {
276
+ reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").Expando>;
274
277
  _tag: "reference";
275
- reference: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").Expando>;
276
278
  pending?: boolean | undefined;
277
279
  } | {
278
280
  _tag: "select";
@@ -288,15 +290,15 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
288
290
  pending?: boolean | undefined;
289
291
  } | {
290
292
  _tag: "summary";
293
+ pending?: boolean | undefined;
294
+ mimeType?: string | undefined;
295
+ message?: string | undefined;
291
296
  model?: string | undefined;
292
297
  usage?: {
293
298
  readonly inputTokens?: number | undefined;
294
299
  readonly outputTokens?: number | undefined;
295
300
  readonly totalTokens?: number | undefined;
296
301
  } | undefined;
297
- pending?: boolean | undefined;
298
- mimeType?: string | undefined;
299
- message?: string | undefined;
300
302
  toolCalls?: number | undefined;
301
303
  errors?: number | undefined;
302
304
  duration?: number | undefined;
@@ -315,13 +317,15 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
315
317
  pending?: boolean | undefined;
316
318
  toolCallId: string;
317
319
  input: string;
320
+ providerExecuted: boolean;
318
321
  } | {
319
322
  name: string;
320
323
  _tag: "toolResult";
321
- error?: string | undefined;
322
324
  pending?: boolean | undefined;
323
325
  toolCallId: string;
326
+ providerExecuted: boolean;
324
327
  result?: string | undefined;
328
+ error?: string | undefined;
325
329
  } | {
326
330
  text: string;
327
331
  _tag: "transcript";
@@ -1 +1 @@
1
- {"version":3,"file":"extraction-ner-function.d.ts","sourceRoot":"","sources":["../../../../../src/extraction/extraction-ner-function/extraction-ner-function.ts"],"names":[],"mappings":"AAiBA;;GAEG;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwChC,CAAC"}
1
+ {"version":3,"file":"extraction-ner-function.d.ts","sourceRoot":"","sources":["../../../../../src/extraction/extraction-ner-function/extraction-ner-function.ts"],"names":[],"mappings":"AAiBA;;GAEG;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0ChC,CAAC"}
@@ -1,5 +1,5 @@
1
- import { Schema } from 'effect';
2
- import { Expando } from '@dxos/echo-schema';
1
+ import * as Schema from 'effect/Schema';
2
+ import { Expando } from '@dxos/echo/internal';
3
3
  import { type FunctionDefinition, type FunctionExecutor } from '@dxos/functions';
4
4
  export declare const ExtractionInput: Schema.Struct<{
5
5
  message: import("@dxos/echo/Type").obj<Schema.Struct<{
@@ -12,7 +12,7 @@ export declare const ExtractionInput: Schema.Struct<{
12
12
  preferredName: Schema.optional<Schema.SchemaClass<string, string, never>>;
13
13
  nickname: Schema.optional<Schema.SchemaClass<string, string, never>>;
14
14
  image: Schema.optional<Schema.SchemaClass<string, string, never>>;
15
- organization: Schema.optional<Schema.Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
15
+ organization: Schema.optional<Schema.Schema<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
16
16
  id: string;
17
17
  description?: string | undefined;
18
18
  name?: string | undefined;
@@ -62,7 +62,7 @@ export declare const ExtractionInput: Schema.Struct<{
62
62
  identityKey: Schema.optional<typeof Schema.String>;
63
63
  email: Schema.optional<typeof Schema.String>;
64
64
  name: Schema.optional<typeof Schema.String>;
65
- role: Schema.optional<Schema.Literal<["user", "assistant"]>>;
65
+ role: Schema.optional<Schema.Literal<["user", "assistant", "tool"]>>;
66
66
  }>>;
67
67
  blocks: Schema.mutable<Schema.Array$<Schema.Union<[Schema.mutable<Schema.TaggedStruct<"anchor", {
68
68
  pending: Schema.optional<typeof Schema.Boolean>;
@@ -136,12 +136,14 @@ export declare const ExtractionInput: Schema.Struct<{
136
136
  toolCallId: typeof Schema.String;
137
137
  name: typeof Schema.String;
138
138
  input: typeof Schema.String;
139
+ providerExecuted: typeof Schema.Boolean;
139
140
  }>>, Schema.mutable<Schema.TaggedStruct<"toolResult", {
140
141
  pending: Schema.optional<typeof Schema.Boolean>;
141
142
  toolCallId: typeof Schema.String;
142
143
  name: typeof Schema.String;
143
144
  result: Schema.optional<typeof Schema.String>;
144
145
  error: Schema.optional<typeof Schema.String>;
146
+ providerExecuted: typeof Schema.Boolean;
145
147
  }>>, Schema.mutable<Schema.TaggedStruct<"transcript", {
146
148
  pending: Schema.optional<typeof Schema.Boolean>;
147
149
  started: typeof Schema.String;
@@ -168,7 +170,7 @@ export declare const ExtractionOutput: Schema.Struct<{
168
170
  preferredName: Schema.optional<Schema.SchemaClass<string, string, never>>;
169
171
  nickname: Schema.optional<Schema.SchemaClass<string, string, never>>;
170
172
  image: Schema.optional<Schema.SchemaClass<string, string, never>>;
171
- organization: Schema.optional<Schema.Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
173
+ organization: Schema.optional<Schema.Schema<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
172
174
  id: string;
173
175
  description?: string | undefined;
174
176
  name?: string | undefined;
@@ -218,7 +220,7 @@ export declare const ExtractionOutput: Schema.Struct<{
218
220
  identityKey: Schema.optional<typeof Schema.String>;
219
221
  email: Schema.optional<typeof Schema.String>;
220
222
  name: Schema.optional<typeof Schema.String>;
221
- role: Schema.optional<Schema.Literal<["user", "assistant"]>>;
223
+ role: Schema.optional<Schema.Literal<["user", "assistant", "tool"]>>;
222
224
  }>>;
223
225
  blocks: Schema.mutable<Schema.Array$<Schema.Union<[Schema.mutable<Schema.TaggedStruct<"anchor", {
224
226
  pending: Schema.optional<typeof Schema.Boolean>;
@@ -292,12 +294,14 @@ export declare const ExtractionOutput: Schema.Struct<{
292
294
  toolCallId: typeof Schema.String;
293
295
  name: typeof Schema.String;
294
296
  input: typeof Schema.String;
297
+ providerExecuted: typeof Schema.Boolean;
295
298
  }>>, Schema.mutable<Schema.TaggedStruct<"toolResult", {
296
299
  pending: Schema.optional<typeof Schema.Boolean>;
297
300
  toolCallId: typeof Schema.String;
298
301
  name: typeof Schema.String;
299
302
  result: Schema.optional<typeof Schema.String>;
300
303
  error: Schema.optional<typeof Schema.String>;
304
+ providerExecuted: typeof Schema.Boolean;
301
305
  }>>, Schema.mutable<Schema.TaggedStruct<"transcript", {
302
306
  pending: Schema.optional<typeof Schema.Boolean>;
303
307
  started: typeof Schema.String;
@@ -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;;;;;;;;;;;;;+BA+Dskb,CAAC;wBAA0C,CAAC;0BAA4C,CAAC;yBAA8F,CAAC;2BAA6C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAtDt0b,CAAC;AACH,MAAM,WAAW,eAAgB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,eAAe,CAAC;CAAG;AAEtF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;+BAmDqkb,CAAC;wBAA0C,CAAC;0BAA4C,CAAC;yBAA8F,CAAC;2BAA6C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAhDt0b,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,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAIjF,eAAO,MAAM,eAAe;;;;;;;;;;;;;+BA+Dgjc,CAAC;wBAA0C,CAAC;0BAA4C,CAAC;yBAA8F,CAAC;2BAA6C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAtDhzc,CAAC;AACH,MAAM,WAAW,eAAgB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,eAAe,CAAC;CAAG;AAEtF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;+BAmD+ic,CAAC;wBAA0C,CAAC;0BAA4C,CAAC;yBAA8F,CAAC;2BAA6C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAhDhzc,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<{
@@ -1 +1 @@
1
- {"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../../../src/extraction/quotes.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAKlD,eAAO,MAAM,gBAAgB;;;;;EAe3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3E,eAAO,MAAM,UAAU,GAAU,QAAQ,MAAM,EAAE,EAAE,IAAI,YAAY,KAAG,OAAO,CAAC,gBAAgB,CAS7F,CAAC;AAEF;;GAEG;AAEH,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,EAAE,QAAQ,gBAAgB,WAYtE,CAAC"}
1
+ {"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../../../src/extraction/quotes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAIlD,eAAO,MAAM,gBAAgB;;;;;EAe3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3E,eAAO,MAAM,UAAU,GAAU,QAAQ,MAAM,EAAE,EAAE,IAAI,YAAY,KAAG,OAAO,CAAC,gBAAgB,CAS7F,CAAC;AAEF;;GAEG;AAEH,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,EAAE,QAAQ,gBAAgB,WAYtE,CAAC"}