@dxos/assistant-toolkit 0.8.4-main.ae835ea
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/LICENSE +8 -0
- package/README.md +3 -0
- package/dist/lib/browser/index.mjs +2481 -0
- package/dist/lib/browser/index.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -0
- package/dist/lib/node-esm/index.mjs +2483 -0
- package/dist/lib/node-esm/index.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -0
- package/dist/types/src/blueprints/design/design-blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/design/design-blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/design/design-blueprint.test.d.ts +2 -0
- package/dist/types/src/blueprints/design/design-blueprint.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/design/index.d.ts +3 -0
- package/dist/types/src/blueprints/design/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/discord/discord-blueprint.d.ts +18 -0
- package/dist/types/src/blueprints/discord/discord-blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/discord/index.d.ts +3 -0
- package/dist/types/src/blueprints/discord/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/index.d.ts +7 -0
- package/dist/types/src/blueprints/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/linear/index.d.ts +3 -0
- package/dist/types/src/blueprints/linear/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/linear/linear-blueprint.d.ts +18 -0
- package/dist/types/src/blueprints/linear/linear-blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning/index.d.ts +3 -0
- package/dist/types/src/blueprints/planning/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning/planning-blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/planning/planning-blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning/planning-blueprint.test.d.ts +2 -0
- package/dist/types/src/blueprints/planning/planning-blueprint.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/research/index.d.ts +3 -0
- package/dist/types/src/blueprints/research/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/research/research-blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/research/research-blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/research/research-blueprint.test.d.ts +2 -0
- package/dist/types/src/blueprints/research/research-blueprint.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/testing.d.ts +12 -0
- package/dist/types/src/blueprints/testing.d.ts.map +1 -0
- package/dist/types/src/blueprints/websearch/index.d.ts +4 -0
- package/dist/types/src/blueprints/websearch/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/websearch/websearch-blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/websearch/websearch-blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/websearch/websearch-toolkit.d.ts +26 -0
- package/dist/types/src/blueprints/websearch/websearch-toolkit.d.ts.map +1 -0
- package/dist/types/src/experimental/feed.test.d.ts +2 -0
- package/dist/types/src/experimental/feed.test.d.ts.map +1 -0
- package/dist/types/src/functions/agent/index.d.ts +5 -0
- package/dist/types/src/functions/agent/index.d.ts.map +1 -0
- package/dist/types/src/functions/agent/prompt.d.ts +11 -0
- package/dist/types/src/functions/agent/prompt.d.ts.map +1 -0
- package/dist/types/src/functions/discord/fetch-messages.d.ts +11 -0
- package/dist/types/src/functions/discord/fetch-messages.d.ts.map +1 -0
- package/dist/types/src/functions/discord/fetch-messages.test.d.ts +2 -0
- package/dist/types/src/functions/discord/fetch-messages.test.d.ts.map +1 -0
- package/dist/types/src/functions/discord/index.d.ts +12 -0
- package/dist/types/src/functions/discord/index.d.ts.map +1 -0
- package/dist/types/src/functions/document/index.d.ts +12 -0
- package/dist/types/src/functions/document/index.d.ts.map +1 -0
- package/dist/types/src/functions/document/read.d.ts +7 -0
- package/dist/types/src/functions/document/read.d.ts.map +1 -0
- package/dist/types/src/functions/document/update.d.ts +6 -0
- package/dist/types/src/functions/document/update.d.ts.map +1 -0
- package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts +173 -0
- package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts.map +1 -0
- package/dist/types/src/functions/entity-extraction/entity-extraction.test.d.ts +2 -0
- package/dist/types/src/functions/entity-extraction/entity-extraction.test.d.ts.map +1 -0
- package/dist/types/src/functions/entity-extraction/index.d.ts +174 -0
- package/dist/types/src/functions/entity-extraction/index.d.ts.map +1 -0
- package/dist/types/src/functions/exa/exa.d.ts +5 -0
- package/dist/types/src/functions/exa/exa.d.ts.map +1 -0
- package/dist/types/src/functions/exa/index.d.ts +3 -0
- package/dist/types/src/functions/exa/index.d.ts.map +1 -0
- package/dist/types/src/functions/exa/mock.d.ts +5 -0
- package/dist/types/src/functions/exa/mock.d.ts.map +1 -0
- package/dist/types/src/functions/github/fetch-prs.d.ts +6 -0
- package/dist/types/src/functions/github/fetch-prs.d.ts.map +1 -0
- package/dist/types/src/functions/index.d.ts +8 -0
- package/dist/types/src/functions/index.d.ts.map +1 -0
- package/dist/types/src/functions/linear/index.d.ts +9 -0
- package/dist/types/src/functions/linear/index.d.ts.map +1 -0
- package/dist/types/src/functions/linear/linear.test.d.ts +2 -0
- package/dist/types/src/functions/linear/linear.test.d.ts.map +1 -0
- package/dist/types/src/functions/linear/sync-issues.d.ts +12 -0
- package/dist/types/src/functions/linear/sync-issues.d.ts.map +1 -0
- package/dist/types/src/functions/research/create-document.d.ts +7 -0
- package/dist/types/src/functions/research/create-document.d.ts.map +1 -0
- package/dist/types/src/functions/research/graph.d.ts +64 -0
- package/dist/types/src/functions/research/graph.d.ts.map +1 -0
- package/dist/types/src/functions/research/graph.test.d.ts +2 -0
- package/dist/types/src/functions/research/graph.test.d.ts.map +1 -0
- package/dist/types/src/functions/research/index.d.ts +19 -0
- package/dist/types/src/functions/research/index.d.ts.map +1 -0
- package/dist/types/src/functions/research/research-graph.d.ts +18 -0
- package/dist/types/src/functions/research/research-graph.d.ts.map +1 -0
- package/dist/types/src/functions/research/research.d.ts +13 -0
- package/dist/types/src/functions/research/research.d.ts.map +1 -0
- package/dist/types/src/functions/research/research.test.d.ts +2 -0
- package/dist/types/src/functions/research/research.test.d.ts.map +1 -0
- package/dist/types/src/functions/research/types.d.ts +384 -0
- package/dist/types/src/functions/research/types.d.ts.map +1 -0
- package/dist/types/src/functions/tasks/index.d.ts +15 -0
- package/dist/types/src/functions/tasks/index.d.ts.map +1 -0
- package/dist/types/src/functions/tasks/read.d.ts +7 -0
- package/dist/types/src/functions/tasks/read.d.ts.map +1 -0
- package/dist/types/src/functions/tasks/task-list.d.ts +74 -0
- package/dist/types/src/functions/tasks/task-list.d.ts.map +1 -0
- package/dist/types/src/functions/tasks/task-list.test.d.ts +2 -0
- package/dist/types/src/functions/tasks/task-list.test.d.ts.map +1 -0
- package/dist/types/src/functions/tasks/update.d.ts +9 -0
- package/dist/types/src/functions/tasks/update.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +5 -0
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/types/src/plugins.d.ts +19 -0
- package/dist/types/src/plugins.d.ts.map +1 -0
- package/dist/types/src/sync/index.d.ts +2 -0
- package/dist/types/src/sync/index.d.ts.map +1 -0
- package/dist/types/src/sync/sync.d.ts +15 -0
- package/dist/types/src/sync/sync.d.ts.map +1 -0
- package/dist/types/src/testing/data/exa-search-1748337321991.d.ts +38 -0
- package/dist/types/src/testing/data/exa-search-1748337321991.d.ts.map +1 -0
- package/dist/types/src/testing/data/exa-search-1748337331526.d.ts +37 -0
- package/dist/types/src/testing/data/exa-search-1748337331526.d.ts.map +1 -0
- package/dist/types/src/testing/data/exa-search-1748337344119.d.ts +58 -0
- package/dist/types/src/testing/data/exa-search-1748337344119.d.ts.map +1 -0
- package/dist/types/src/testing/data/index.d.ts +3 -0
- package/dist/types/src/testing/data/index.d.ts.map +1 -0
- package/dist/types/src/testing/index.d.ts +2 -0
- package/dist/types/src/testing/index.d.ts.map +1 -0
- package/dist/types/src/util/graphql.d.ts +22 -0
- package/dist/types/src/util/graphql.d.ts.map +1 -0
- package/dist/types/src/util/index.d.ts +2 -0
- package/dist/types/src/util/index.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/package.json +67 -0
- package/src/blueprints/design/design-blueprint.test.ts +108 -0
- package/src/blueprints/design/design-blueprint.ts +33 -0
- package/src/blueprints/design/index.ts +7 -0
- package/src/blueprints/discord/discord-blueprint.ts +34 -0
- package/src/blueprints/discord/index.ts +7 -0
- package/src/blueprints/index.ts +10 -0
- package/src/blueprints/linear/index.ts +7 -0
- package/src/blueprints/linear/linear-blueprint.ts +35 -0
- package/src/blueprints/planning/index.ts +7 -0
- package/src/blueprints/planning/planning-blueprint.test.ts +129 -0
- package/src/blueprints/planning/planning-blueprint.ts +98 -0
- package/src/blueprints/research/index.ts +7 -0
- package/src/blueprints/research/research-blueprint.test.ts +7 -0
- package/src/blueprints/research/research-blueprint.ts +45 -0
- package/src/blueprints/testing.ts +34 -0
- package/src/blueprints/websearch/index.ts +8 -0
- package/src/blueprints/websearch/websearch-blueprint.ts +20 -0
- package/src/blueprints/websearch/websearch-toolkit.ts +8 -0
- package/src/experimental/feed.test.ts +108 -0
- package/src/functions/agent/index.ts +11 -0
- package/src/functions/agent/prompt.ts +101 -0
- package/src/functions/discord/fetch-messages.test.ts +59 -0
- package/src/functions/discord/fetch-messages.ts +251 -0
- package/src/functions/discord/index.ts +9 -0
- package/src/functions/document/index.ts +11 -0
- package/src/functions/document/read.ts +29 -0
- package/src/functions/document/update.ts +30 -0
- package/src/functions/entity-extraction/entity-extraction.conversations.json +1 -0
- package/src/functions/entity-extraction/entity-extraction.test.ts +100 -0
- package/src/functions/entity-extraction/entity-extraction.ts +163 -0
- package/src/functions/entity-extraction/index.ts +9 -0
- package/src/functions/exa/exa.ts +37 -0
- package/src/functions/exa/index.ts +6 -0
- package/src/functions/exa/mock.ts +71 -0
- package/src/functions/github/fetch-prs.ts +30 -0
- package/src/functions/index.ts +11 -0
- package/src/functions/linear/index.ts +9 -0
- package/src/functions/linear/linear.test.ts +86 -0
- package/src/functions/linear/sync-issues.ts +189 -0
- package/src/functions/research/create-document.ts +69 -0
- package/src/functions/research/graph.test.ts +69 -0
- package/src/functions/research/graph.ts +388 -0
- package/src/functions/research/index.ts +15 -0
- package/src/functions/research/instructions-research.tpl +98 -0
- package/src/functions/research/research-graph.ts +47 -0
- package/src/functions/research/research.conversations.json +10714 -0
- package/src/functions/research/research.test.ts +240 -0
- package/src/functions/research/research.ts +155 -0
- package/src/functions/research/types.ts +24 -0
- package/src/functions/tasks/index.ts +11 -0
- package/src/functions/tasks/read.ts +34 -0
- package/src/functions/tasks/task-list.test.ts +99 -0
- package/src/functions/tasks/task-list.ts +165 -0
- package/src/functions/tasks/update.ts +52 -0
- package/src/index.ts +8 -0
- package/src/plugins.tsx +68 -0
- package/src/sync/index.ts +5 -0
- package/src/sync/sync.ts +87 -0
- package/src/testing/data/exa-search-1748337321991.ts +131 -0
- package/src/testing/data/exa-search-1748337331526.ts +144 -0
- package/src/testing/data/exa-search-1748337344119.ts +133 -0
- package/src/testing/data/index.ts +11 -0
- package/src/testing/index.ts +5 -0
- package/src/typedefs.d.ts +8 -0
- package/src/util/graphql.ts +31 -0
- package/src/util/index.ts +5 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
|
+
readonly instructions?: string | undefined;
|
|
3
|
+
readonly source: import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
4
|
+
properties?: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
} | undefined;
|
|
7
|
+
id: string;
|
|
8
|
+
parentMessage?: string | undefined;
|
|
9
|
+
created: string;
|
|
10
|
+
sender: {
|
|
11
|
+
name?: string | undefined;
|
|
12
|
+
contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
13
|
+
fields?: {
|
|
14
|
+
readonly value: string;
|
|
15
|
+
readonly category?: string | undefined;
|
|
16
|
+
readonly label: string;
|
|
17
|
+
}[] | undefined;
|
|
18
|
+
fullName?: string | undefined;
|
|
19
|
+
preferredName?: string | undefined;
|
|
20
|
+
nickname?: string | undefined;
|
|
21
|
+
image?: string | undefined;
|
|
22
|
+
organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
23
|
+
id: string;
|
|
24
|
+
description?: string | undefined;
|
|
25
|
+
name?: string | undefined;
|
|
26
|
+
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
27
|
+
image?: string | undefined;
|
|
28
|
+
website?: string | undefined;
|
|
29
|
+
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
30
|
+
}> | undefined;
|
|
31
|
+
jobTitle?: string | undefined;
|
|
32
|
+
department?: string | undefined;
|
|
33
|
+
notes?: string | undefined;
|
|
34
|
+
emails?: {
|
|
35
|
+
readonly value: string;
|
|
36
|
+
readonly label?: string | undefined;
|
|
37
|
+
}[] | undefined;
|
|
38
|
+
identities?: {
|
|
39
|
+
readonly value: string;
|
|
40
|
+
readonly label?: string | undefined;
|
|
41
|
+
}[] | undefined;
|
|
42
|
+
phoneNumbers?: {
|
|
43
|
+
readonly value: string;
|
|
44
|
+
readonly label?: string | undefined;
|
|
45
|
+
}[] | undefined;
|
|
46
|
+
addresses?: {
|
|
47
|
+
readonly value: {
|
|
48
|
+
readonly street?: string | undefined;
|
|
49
|
+
readonly extended?: string | undefined;
|
|
50
|
+
readonly locality?: string | undefined;
|
|
51
|
+
readonly region?: string | undefined;
|
|
52
|
+
readonly postalCode?: string | undefined;
|
|
53
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
54
|
+
readonly country?: string | undefined;
|
|
55
|
+
};
|
|
56
|
+
readonly label?: string | undefined;
|
|
57
|
+
}[] | undefined;
|
|
58
|
+
urls?: {
|
|
59
|
+
readonly value: string;
|
|
60
|
+
readonly label?: string | undefined;
|
|
61
|
+
}[] | undefined;
|
|
62
|
+
birthday?: string | undefined;
|
|
63
|
+
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
64
|
+
}> | undefined;
|
|
65
|
+
identityDid?: string | undefined;
|
|
66
|
+
identityKey?: string | undefined;
|
|
67
|
+
email?: string | undefined;
|
|
68
|
+
role?: "user" | "assistant" | "tool" | undefined;
|
|
69
|
+
};
|
|
70
|
+
blocks: ({
|
|
71
|
+
version: unknown;
|
|
72
|
+
_tag: "anchor";
|
|
73
|
+
pending?: boolean | undefined;
|
|
74
|
+
objectId: string;
|
|
75
|
+
} | {
|
|
76
|
+
name?: string | undefined;
|
|
77
|
+
_tag: "file";
|
|
78
|
+
url: string;
|
|
79
|
+
pending?: boolean | undefined;
|
|
80
|
+
mediaType?: string | undefined;
|
|
81
|
+
} | {
|
|
82
|
+
source?: {
|
|
83
|
+
type: "base64";
|
|
84
|
+
data: string;
|
|
85
|
+
mediaType: string;
|
|
86
|
+
} | {
|
|
87
|
+
type: "http";
|
|
88
|
+
url: string;
|
|
89
|
+
} | undefined;
|
|
90
|
+
id?: string | undefined;
|
|
91
|
+
_tag: "image";
|
|
92
|
+
pending?: boolean | undefined;
|
|
93
|
+
} | {
|
|
94
|
+
data: string;
|
|
95
|
+
_tag: "json";
|
|
96
|
+
pending?: boolean | undefined;
|
|
97
|
+
disposition?: string | undefined;
|
|
98
|
+
} | {
|
|
99
|
+
_tag: "proposal";
|
|
100
|
+
text: string;
|
|
101
|
+
pending?: boolean | undefined;
|
|
102
|
+
} | {
|
|
103
|
+
_tag: "reasoning";
|
|
104
|
+
pending?: boolean | undefined;
|
|
105
|
+
reasoningText?: string | undefined;
|
|
106
|
+
redactedText?: string | undefined;
|
|
107
|
+
signature?: string | undefined;
|
|
108
|
+
} | {
|
|
109
|
+
reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").Expando>;
|
|
110
|
+
_tag: "reference";
|
|
111
|
+
pending?: boolean | undefined;
|
|
112
|
+
} | {
|
|
113
|
+
_tag: "select";
|
|
114
|
+
pending?: boolean | undefined;
|
|
115
|
+
options: readonly string[];
|
|
116
|
+
} | {
|
|
117
|
+
_tag: "status";
|
|
118
|
+
pending?: boolean | undefined;
|
|
119
|
+
statusText: string;
|
|
120
|
+
} | {
|
|
121
|
+
_tag: "suggestion";
|
|
122
|
+
text: string;
|
|
123
|
+
pending?: boolean | undefined;
|
|
124
|
+
} | {
|
|
125
|
+
model?: string | undefined;
|
|
126
|
+
_tag: "summary";
|
|
127
|
+
pending?: boolean | undefined;
|
|
128
|
+
mimeType?: string | undefined;
|
|
129
|
+
message?: string | undefined;
|
|
130
|
+
usage?: {
|
|
131
|
+
readonly inputTokens?: number | undefined;
|
|
132
|
+
readonly outputTokens?: number | undefined;
|
|
133
|
+
readonly totalTokens?: number | undefined;
|
|
134
|
+
} | undefined;
|
|
135
|
+
toolCalls?: number | undefined;
|
|
136
|
+
errors?: number | undefined;
|
|
137
|
+
duration?: number | undefined;
|
|
138
|
+
} | {
|
|
139
|
+
_tag: "text";
|
|
140
|
+
text: string;
|
|
141
|
+
pending?: boolean | undefined;
|
|
142
|
+
disposition?: string | undefined;
|
|
143
|
+
mimeType?: string | undefined;
|
|
144
|
+
} | {
|
|
145
|
+
_tag: "toolkit";
|
|
146
|
+
pending?: boolean | undefined;
|
|
147
|
+
} | {
|
|
148
|
+
name: string;
|
|
149
|
+
input: string;
|
|
150
|
+
_tag: "toolCall";
|
|
151
|
+
pending?: boolean | undefined;
|
|
152
|
+
toolCallId: string;
|
|
153
|
+
providerExecuted: boolean;
|
|
154
|
+
} | {
|
|
155
|
+
name: string;
|
|
156
|
+
_tag: "toolResult";
|
|
157
|
+
pending?: boolean | undefined;
|
|
158
|
+
toolCallId: string;
|
|
159
|
+
providerExecuted: boolean;
|
|
160
|
+
result?: string | undefined;
|
|
161
|
+
error?: string | undefined;
|
|
162
|
+
} | {
|
|
163
|
+
_tag: "transcript";
|
|
164
|
+
text: string;
|
|
165
|
+
pending?: boolean | undefined;
|
|
166
|
+
started: string;
|
|
167
|
+
})[];
|
|
168
|
+
};
|
|
169
|
+
}, {
|
|
170
|
+
readonly entities?: readonly (import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {})[] | undefined;
|
|
171
|
+
}>;
|
|
172
|
+
export default _default;
|
|
173
|
+
//# sourceMappingURL=entity-extraction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-extraction.d.ts","sourceRoot":"","sources":["../../../../../src/functions/entity-extraction/entity-extraction.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,wBAqEG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-extraction.test.d.ts","sourceRoot":"","sources":["../../../../../src/functions/entity-extraction/entity-extraction.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
export declare namespace EntityExtraction {
|
|
2
|
+
const extract: import("@dxos/functions").FunctionDefinition<{
|
|
3
|
+
readonly instructions?: string | undefined;
|
|
4
|
+
readonly source: import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
5
|
+
properties?: {
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
} | undefined;
|
|
8
|
+
id: string;
|
|
9
|
+
parentMessage?: string | undefined;
|
|
10
|
+
created: string;
|
|
11
|
+
sender: {
|
|
12
|
+
name?: string | undefined;
|
|
13
|
+
contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
14
|
+
fields?: {
|
|
15
|
+
readonly value: string;
|
|
16
|
+
readonly category?: string | undefined;
|
|
17
|
+
readonly label: string;
|
|
18
|
+
}[] | undefined;
|
|
19
|
+
fullName?: string | undefined;
|
|
20
|
+
preferredName?: string | undefined;
|
|
21
|
+
nickname?: string | undefined;
|
|
22
|
+
image?: string | undefined;
|
|
23
|
+
organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
24
|
+
id: string;
|
|
25
|
+
description?: string | undefined;
|
|
26
|
+
name?: string | undefined;
|
|
27
|
+
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
28
|
+
image?: string | undefined;
|
|
29
|
+
website?: string | undefined;
|
|
30
|
+
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
31
|
+
}> | undefined;
|
|
32
|
+
jobTitle?: string | undefined;
|
|
33
|
+
department?: string | undefined;
|
|
34
|
+
notes?: string | undefined;
|
|
35
|
+
emails?: {
|
|
36
|
+
readonly value: string;
|
|
37
|
+
readonly label?: string | undefined;
|
|
38
|
+
}[] | undefined;
|
|
39
|
+
identities?: {
|
|
40
|
+
readonly value: string;
|
|
41
|
+
readonly label?: string | undefined;
|
|
42
|
+
}[] | undefined;
|
|
43
|
+
phoneNumbers?: {
|
|
44
|
+
readonly value: string;
|
|
45
|
+
readonly label?: string | undefined;
|
|
46
|
+
}[] | undefined;
|
|
47
|
+
addresses?: {
|
|
48
|
+
readonly value: {
|
|
49
|
+
readonly street?: string | undefined;
|
|
50
|
+
readonly extended?: string | undefined;
|
|
51
|
+
readonly locality?: string | undefined;
|
|
52
|
+
readonly region?: string | undefined;
|
|
53
|
+
readonly postalCode?: string | undefined;
|
|
54
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
55
|
+
readonly country?: string | undefined;
|
|
56
|
+
};
|
|
57
|
+
readonly label?: string | undefined;
|
|
58
|
+
}[] | undefined;
|
|
59
|
+
urls?: {
|
|
60
|
+
readonly value: string;
|
|
61
|
+
readonly label?: string | undefined;
|
|
62
|
+
}[] | undefined;
|
|
63
|
+
birthday?: string | undefined;
|
|
64
|
+
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
65
|
+
}> | undefined;
|
|
66
|
+
identityDid?: string | undefined;
|
|
67
|
+
identityKey?: string | undefined;
|
|
68
|
+
email?: string | undefined;
|
|
69
|
+
role?: "user" | "assistant" | "tool" | undefined;
|
|
70
|
+
};
|
|
71
|
+
blocks: ({
|
|
72
|
+
version: unknown;
|
|
73
|
+
_tag: "anchor";
|
|
74
|
+
pending?: boolean | undefined;
|
|
75
|
+
objectId: string;
|
|
76
|
+
} | {
|
|
77
|
+
name?: string | undefined;
|
|
78
|
+
_tag: "file";
|
|
79
|
+
url: string;
|
|
80
|
+
pending?: boolean | undefined;
|
|
81
|
+
mediaType?: string | undefined;
|
|
82
|
+
} | {
|
|
83
|
+
source?: {
|
|
84
|
+
type: "base64";
|
|
85
|
+
data: string;
|
|
86
|
+
mediaType: string;
|
|
87
|
+
} | {
|
|
88
|
+
type: "http";
|
|
89
|
+
url: string;
|
|
90
|
+
} | undefined;
|
|
91
|
+
id?: string | undefined;
|
|
92
|
+
_tag: "image";
|
|
93
|
+
pending?: boolean | undefined;
|
|
94
|
+
} | {
|
|
95
|
+
data: string;
|
|
96
|
+
_tag: "json";
|
|
97
|
+
pending?: boolean | undefined;
|
|
98
|
+
disposition?: string | undefined;
|
|
99
|
+
} | {
|
|
100
|
+
_tag: "proposal";
|
|
101
|
+
text: string;
|
|
102
|
+
pending?: boolean | undefined;
|
|
103
|
+
} | {
|
|
104
|
+
_tag: "reasoning";
|
|
105
|
+
pending?: boolean | undefined;
|
|
106
|
+
reasoningText?: string | undefined;
|
|
107
|
+
redactedText?: string | undefined;
|
|
108
|
+
signature?: string | undefined;
|
|
109
|
+
} | {
|
|
110
|
+
reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").Expando>;
|
|
111
|
+
_tag: "reference";
|
|
112
|
+
pending?: boolean | undefined;
|
|
113
|
+
} | {
|
|
114
|
+
_tag: "select";
|
|
115
|
+
pending?: boolean | undefined;
|
|
116
|
+
options: readonly string[];
|
|
117
|
+
} | {
|
|
118
|
+
_tag: "status";
|
|
119
|
+
pending?: boolean | undefined;
|
|
120
|
+
statusText: string;
|
|
121
|
+
} | {
|
|
122
|
+
_tag: "suggestion";
|
|
123
|
+
text: string;
|
|
124
|
+
pending?: boolean | undefined;
|
|
125
|
+
} | {
|
|
126
|
+
model?: string | undefined;
|
|
127
|
+
_tag: "summary";
|
|
128
|
+
pending?: boolean | undefined;
|
|
129
|
+
mimeType?: string | undefined;
|
|
130
|
+
message?: string | undefined;
|
|
131
|
+
usage?: {
|
|
132
|
+
readonly inputTokens?: number | undefined;
|
|
133
|
+
readonly outputTokens?: number | undefined;
|
|
134
|
+
readonly totalTokens?: number | undefined;
|
|
135
|
+
} | undefined;
|
|
136
|
+
toolCalls?: number | undefined;
|
|
137
|
+
errors?: number | undefined;
|
|
138
|
+
duration?: number | undefined;
|
|
139
|
+
} | {
|
|
140
|
+
_tag: "text";
|
|
141
|
+
text: string;
|
|
142
|
+
pending?: boolean | undefined;
|
|
143
|
+
disposition?: string | undefined;
|
|
144
|
+
mimeType?: string | undefined;
|
|
145
|
+
} | {
|
|
146
|
+
_tag: "toolkit";
|
|
147
|
+
pending?: boolean | undefined;
|
|
148
|
+
} | {
|
|
149
|
+
name: string;
|
|
150
|
+
input: string;
|
|
151
|
+
_tag: "toolCall";
|
|
152
|
+
pending?: boolean | undefined;
|
|
153
|
+
toolCallId: string;
|
|
154
|
+
providerExecuted: boolean;
|
|
155
|
+
} | {
|
|
156
|
+
name: string;
|
|
157
|
+
_tag: "toolResult";
|
|
158
|
+
pending?: boolean | undefined;
|
|
159
|
+
toolCallId: string;
|
|
160
|
+
providerExecuted: boolean;
|
|
161
|
+
result?: string | undefined;
|
|
162
|
+
error?: string | undefined;
|
|
163
|
+
} | {
|
|
164
|
+
_tag: "transcript";
|
|
165
|
+
text: string;
|
|
166
|
+
pending?: boolean | undefined;
|
|
167
|
+
started: string;
|
|
168
|
+
})[];
|
|
169
|
+
};
|
|
170
|
+
}, {
|
|
171
|
+
readonly entities?: readonly (import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {})[] | undefined;
|
|
172
|
+
}>;
|
|
173
|
+
}
|
|
174
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/entity-extraction/index.ts"],"names":[],"mappings":"AAMA,yBAAiB,gBAAgB,CAAC;IACzB,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAW,CAAC;CACjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exa.d.ts","sourceRoot":"","sources":["../../../../../src/functions/exa/exa.ts"],"names":[],"mappings":";;;AAUA,wBA0BG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/exa/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../../src/functions/exa/mock.ts"],"names":[],"mappings":";;;AAWA,wBAmCG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-prs.d.ts","sourceRoot":"","sources":["../../../../../src/functions/github/fetch-prs.ts"],"names":[],"mappings":";;;;AAUA,wBAmBG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/functions/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/linear/index.ts"],"names":[],"mappings":"AAMA,yBAAiB,MAAM,CAAC;IACf,MAAM,IAAI;;;;;MAAQ,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linear.test.d.ts","sourceRoot":"","sources":["../../../../../src/functions/linear/linear.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Obj } from '@dxos/echo';
|
|
2
|
+
export declare const LINEAR_ID_KEY = "linear.app/id";
|
|
3
|
+
export declare const LINEAR_TEAM_ID_KEY = "linear.app/teamId";
|
|
4
|
+
export declare const LINEAR_UPDATED_AT_KEY = "linear.app/updatedAt";
|
|
5
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
6
|
+
readonly team: string;
|
|
7
|
+
}, {
|
|
8
|
+
objects: Obj.Any[];
|
|
9
|
+
syncComplete: boolean;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=sync-issues.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-issues.d.ts","sourceRoot":"","sources":["../../../../../src/functions/linear/sync-issues.ts"],"names":[],"mappings":"AAWA,OAAO,EAAU,GAAG,EAAyB,MAAM,YAAY,CAAC;AA6DhE,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AACtD,eAAO,MAAM,qBAAqB,yBAAyB,CAAC;;;;;;;AAE5D,wBAmCG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-document.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/create-document.ts"],"names":[],"mappings":";;;;;AAgBA,wBAoDG"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as Tool from '@effect/ai/Tool';
|
|
2
|
+
import * as Toolkit from '@effect/ai/Toolkit';
|
|
3
|
+
import * as Schema from 'effect/Schema';
|
|
4
|
+
import { Obj } from '@dxos/echo';
|
|
5
|
+
import { type EchoDatabase, type Queue } from '@dxos/echo-db';
|
|
6
|
+
import { ContextQueueService, DatabaseService } from '@dxos/functions';
|
|
7
|
+
import { DXN } from '@dxos/keys';
|
|
8
|
+
export declare const Subgraph: Schema.Struct<{
|
|
9
|
+
/** Objects and relations. */
|
|
10
|
+
objects: Schema.Array$<typeof Schema.Any>;
|
|
11
|
+
}>;
|
|
12
|
+
export interface Subgraph extends Schema.Schema.Type<typeof Subgraph> {
|
|
13
|
+
}
|
|
14
|
+
export type RelatedSchema = {
|
|
15
|
+
schema: Schema.Schema.AnyNoContext;
|
|
16
|
+
kind: 'reference' | 'relation';
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Find all schemas that are related to the given schema.
|
|
20
|
+
*
|
|
21
|
+
* @param db
|
|
22
|
+
* @param schema
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
export declare const findRelatedSchema: (db: EchoDatabase, anchor: Schema.Schema.AnyNoContext) => Promise<RelatedSchema[]>;
|
|
26
|
+
/**
|
|
27
|
+
* Perform vector search in the local database.
|
|
28
|
+
*/
|
|
29
|
+
export declare const LocalSearchToolkit: Toolkit.Toolkit<{
|
|
30
|
+
readonly search_local_search: Tool.Tool<"search_local_search", {
|
|
31
|
+
readonly parameters: Schema.Struct<{
|
|
32
|
+
query: Schema.SchemaClass<string, string, never>;
|
|
33
|
+
}>;
|
|
34
|
+
readonly success: typeof Schema.Unknown;
|
|
35
|
+
readonly failure: typeof Schema.Never;
|
|
36
|
+
}, DatabaseService>;
|
|
37
|
+
}>;
|
|
38
|
+
export declare const LocalSearchHandler: import("effect/Layer").Layer<Tool.Handler<"search_local_search">, never, never>;
|
|
39
|
+
/**
|
|
40
|
+
* Forms typed objects that can be written to the graph database.
|
|
41
|
+
*/
|
|
42
|
+
export declare const makeGraphWriterToolkit: ({ schema }: {
|
|
43
|
+
schema: Schema.Schema.AnyNoContext[];
|
|
44
|
+
}) => Toolkit.Toolkit<{
|
|
45
|
+
readonly graph_writer: Tool.Tool<"graph_writer", {
|
|
46
|
+
readonly parameters: Schema.Struct<Readonly<{
|
|
47
|
+
[k: string]: Schema.optional<Schema.Array$<Schema.Schema.AnyNoContext>>;
|
|
48
|
+
}>>;
|
|
49
|
+
readonly success: typeof Schema.Unknown;
|
|
50
|
+
readonly failure: typeof Schema.Never;
|
|
51
|
+
}, DatabaseService | ContextQueueService>;
|
|
52
|
+
}>;
|
|
53
|
+
export declare const makeGraphWriterHandler: (toolkit: ReturnType<typeof makeGraphWriterToolkit>, { onAppend, }?: {
|
|
54
|
+
onAppend?: (object: DXN[]) => void;
|
|
55
|
+
}) => import("effect/Layer").Layer<Tool.Handler<"graph_writer">, never, never>;
|
|
56
|
+
/**
|
|
57
|
+
* Create a schema for structured data extraction.
|
|
58
|
+
*/
|
|
59
|
+
export declare const createExtractionSchema: (types: Schema.Schema.AnyNoContext[]) => Schema.Struct<{
|
|
60
|
+
[k: string]: Schema.optional<Schema.Array$<Schema.Schema.AnyNoContext>>;
|
|
61
|
+
}>;
|
|
62
|
+
export declare const getSanitizedSchemaName: (schema: Schema.Schema.AnyNoContext) => string;
|
|
63
|
+
export declare const sanitizeObjects: (types: Schema.Schema.AnyNoContext[], data: Record<string, readonly unknown[]>, db: EchoDatabase, queue?: Queue) => Promise<Obj.Any[]>;
|
|
64
|
+
//# sourceMappingURL=graph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/graph.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAK9C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,GAAG,EAAiB,MAAM,YAAY,CAAC;AAiBhD,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;AAG9D,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAKjC,eAAO,MAAM,QAAQ;IACnB,6BAA6B;;EAE7B,CAAC;AAEH,MAAM,WAAW,QAAS,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC;CAAG;AAExE,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC;IACnC,IAAI,EAAE,WAAW,GAAG,UAAU,CAAC;CAChC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAC5B,IAAI,YAAY,EAChB,QAAQ,MAAM,CAAC,MAAM,CAAC,YAAY,KACjC,OAAO,CAAC,aAAa,EAAE,CAsBzB,CAAC;AAmBF;;GAEG;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;EAY9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,iFAkB7B,CAAC;AAYH;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,YAAY;IAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,CAAA;CAAE;;;;;;;;EAU1F,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,SAAS,UAAU,CAAC,OAAO,sBAAsB,CAAC,EAClD,gBAEG;IACD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;CAC/B,6EAmBP,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,OAAO,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE;;EAWzE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,QAAQ,MAAM,CAAC,MAAM,CAAC,YAAY,WAIxE,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,OAAO,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,EACnC,MAAM,MAAM,CAAC,MAAM,EAAE,SAAS,OAAO,EAAE,CAAC,EACxC,IAAI,YAAY,EAChB,QAAQ,KAAK,KACZ,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAyHnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph.test.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/graph.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './graph';
|
|
2
|
+
export * from './research-graph';
|
|
3
|
+
export * from './types';
|
|
4
|
+
export declare namespace Research {
|
|
5
|
+
const create: import("@dxos/functions").FunctionDefinition<{
|
|
6
|
+
readonly name: string;
|
|
7
|
+
readonly content: string;
|
|
8
|
+
readonly target: string;
|
|
9
|
+
}, {}>;
|
|
10
|
+
const research: import("@dxos/functions").FunctionDefinition<{
|
|
11
|
+
readonly query: string;
|
|
12
|
+
readonly researchInstructions?: string | undefined;
|
|
13
|
+
readonly mockSearch?: boolean | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
readonly objects: readonly unknown[];
|
|
16
|
+
readonly note?: string | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/index.ts"],"names":[],"mappings":"AAOA,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AAExB,yBAAiB,QAAQ,CAAC;IACjB,MAAM,MAAM;;;;UAAU,CAAC;IACvB,MAAM,QAAQ;;;;;;;MAAY,CAAC;CACnC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import * as Layer from 'effect/Layer';
|
|
3
|
+
import * as Schema from 'effect/Schema';
|
|
4
|
+
import { Obj, Type } from '@dxos/echo';
|
|
5
|
+
import { Queue } from '@dxos/echo-db';
|
|
6
|
+
import { ContextQueueService, DatabaseService, QueueService } from '@dxos/functions';
|
|
7
|
+
/**
|
|
8
|
+
* Container for a set of ephemeral research results.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ResearchGraph: Type.obj<Schema.Struct<{
|
|
11
|
+
queue: Type.ref<Schema.Schema<Queue<Obj.Any | import("@dxos/echo/Relation").Any>, Queue<Obj.Any | import("@dxos/echo/Relation").Any>, never>>;
|
|
12
|
+
}>>;
|
|
13
|
+
export interface ResearchGraph extends Schema.Schema.Type<typeof ResearchGraph> {
|
|
14
|
+
}
|
|
15
|
+
export declare const queryResearchGraph: () => Effect.Effect<ResearchGraph | undefined, never, DatabaseService>;
|
|
16
|
+
export declare const createResearchGraph: () => Effect.Effect<ResearchGraph, never, DatabaseService | QueueService>;
|
|
17
|
+
export declare const contextQueueLayerFromResearchGraph: Layer.Layer<ContextQueueService, import("@dxos/echo").ObjectNotFoundError, DatabaseService | QueueService>;
|
|
18
|
+
//# sourceMappingURL=research-graph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"research-graph.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/research-graph.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,GAAG,EAAc,IAAI,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAErF;;GAEG;AACH,eAAO,MAAM,aAAa;;GAOzB,CAAC;AAEF,MAAM,WAAW,aAAc,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC;CAAG;AAElF,eAAO,MAAM,kBAAkB,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,aAAa,GAAG,SAAS,EAAE,KAAK,EAAE,eAAe,CAKpG,CAAC;AAEH,eAAO,MAAM,mBAAmB,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,KAAK,EAAE,eAAe,GAAG,YAAY,CAKxG,CAAC;AAEH,eAAO,MAAM,kCAAkC,4GAM9C,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Exec external service and return the results as a Subgraph.
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
5
|
+
readonly query: string;
|
|
6
|
+
readonly researchInstructions?: string | undefined;
|
|
7
|
+
readonly mockSearch?: boolean | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
readonly objects: readonly unknown[];
|
|
10
|
+
readonly note?: string | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=research.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"research.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/research.ts"],"names":[],"mappings":"AAgCA;;GAEG;;;;;;;;;AACH,wBAuHG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"research.test.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/research.test.ts"],"names":[],"mappings":""}
|