@dxos/assistant-toolkit 0.8.4-main.1068cf700f
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/neutral/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +3708 -0
- package/dist/lib/neutral/index.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/testing/index.mjs +44 -0
- package/dist/lib/neutral/testing/index.mjs.map +7 -0
- package/dist/types/src/blueprints/design/design-blueprint.d.ts +18 -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 +8 -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/markdown/index.d.ts +3 -0
- package/dist/types/src/blueprints/markdown/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/markdown/markdown-blueprint.d.ts +18 -0
- package/dist/types/src/blueprints/markdown/markdown-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 +18 -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 +18 -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 +10 -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 +18 -0
- package/dist/types/src/blueprints/websearch/websearch-blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/websearch/websearch-toolkit.d.ts +27 -0
- package/dist/types/src/blueprints/websearch/websearch-toolkit.d.ts.map +1 -0
- package/dist/types/src/chat/Chat.d.ts +31 -0
- package/dist/types/src/chat/Chat.d.ts.map +1 -0
- package/dist/types/src/chat/index.d.ts +2 -0
- package/dist/types/src/chat/index.d.ts.map +1 -0
- package/dist/types/src/crud/graph.d.ts +67 -0
- package/dist/types/src/crud/graph.d.ts.map +1 -0
- package/dist/types/src/crud/graph.test.d.ts +2 -0
- package/dist/types/src/crud/graph.test.d.ts.map +1 -0
- package/dist/types/src/crud/index.d.ts +2 -0
- package/dist/types/src/crud/index.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 +76 -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/create.d.ts +6 -0
- package/dist/types/src/functions/document/create.d.ts.map +1 -0
- package/dist/types/src/functions/document/index.d.ts +30 -0
- package/dist/types/src/functions/document/index.d.ts.map +1 -0
- package/dist/types/src/functions/document/read.d.ts +14 -0
- package/dist/types/src/functions/document/read.d.ts.map +1 -0
- package/dist/types/src/functions/document/update.d.ts +13 -0
- package/dist/types/src/functions/document/update.d.ts.map +1 -0
- package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts +174 -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 +175 -0
- package/dist/types/src/functions/entity-extraction/index.d.ts.map +1 -0
- package/dist/types/src/functions/exa/data/exa-search-1748337321991.d.ts +38 -0
- package/dist/types/src/functions/exa/data/exa-search-1748337321991.d.ts.map +1 -0
- package/dist/types/src/functions/exa/data/exa-search-1748337331526.d.ts +37 -0
- package/dist/types/src/functions/exa/data/exa-search-1748337331526.d.ts.map +1 -0
- package/dist/types/src/functions/exa/data/exa-search-1748337344119.d.ts +58 -0
- package/dist/types/src/functions/exa/data/exa-search-1748337344119.d.ts.map +1 -0
- package/dist/types/src/functions/exa/data/index.d.ts +3 -0
- package/dist/types/src/functions/exa/data/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/document-create.d.ts +9 -0
- package/dist/types/src/functions/research/document-create.d.ts.map +1 -0
- package/dist/types/src/functions/research/index.d.ts +21 -0
- package/dist/types/src/functions/research/index.d.ts.map +1 -0
- package/dist/types/src/functions/research/research-graph.d.ts +19 -0
- package/dist/types/src/functions/research/research-graph.d.ts.map +1 -0
- package/dist/types/src/functions/research/research.d.ts +14 -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 +6 -0
- package/dist/types/src/functions/research/types.d.ts.map +1 -0
- package/dist/types/src/functions/tasks/index.d.ts +29 -0
- package/dist/types/src/functions/tasks/index.d.ts.map +1 -0
- package/dist/types/src/functions/tasks/read.d.ts +14 -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 +16 -0
- package/dist/types/src/functions/tasks/update.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +9 -0
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/types/src/initiative/Initiative.d.ts +41 -0
- package/dist/types/src/initiative/Initiative.d.ts.map +1 -0
- package/dist/types/src/initiative/blueprint.d.ts +153 -0
- package/dist/types/src/initiative/blueprint.d.ts.map +1 -0
- package/dist/types/src/initiative/functions/addArtifact.d.ts +6 -0
- package/dist/types/src/initiative/functions/addArtifact.d.ts.map +1 -0
- package/dist/types/src/initiative/functions/agent.d.ts +62 -0
- package/dist/types/src/initiative/functions/agent.d.ts.map +1 -0
- package/dist/types/src/initiative/functions/getContext.d.ts +13 -0
- package/dist/types/src/initiative/functions/getContext.d.ts.map +1 -0
- package/dist/types/src/initiative/functions/index.d.ts +5 -0
- package/dist/types/src/initiative/functions/index.d.ts.map +1 -0
- package/dist/types/src/initiative/functions/qualifier.d.ts +60 -0
- package/dist/types/src/initiative/functions/qualifier.d.ts.map +1 -0
- package/dist/types/src/initiative/index.d.ts +6 -0
- package/dist/types/src/initiative/index.d.ts.map +1 -0
- package/dist/types/src/initiative/initiative.test.d.ts +2 -0
- package/dist/types/src/initiative/initiative.test.d.ts.map +1 -0
- package/dist/types/src/initiative/plan.d.ts +77 -0
- package/dist/types/src/initiative/plan.d.ts.map +1 -0
- package/dist/types/src/initiative/util.d.ts +29 -0
- package/dist/types/src/initiative/util.d.ts.map +1 -0
- package/dist/types/src/planning/blueprint.d.ts +18 -0
- package/dist/types/src/planning/blueprint.d.ts.map +1 -0
- package/dist/types/src/planning/functions/index.d.ts +2 -0
- package/dist/types/src/planning/functions/index.d.ts.map +1 -0
- package/dist/types/src/planning/functions/update-tasks.d.ts +9 -0
- package/dist/types/src/planning/functions/update-tasks.d.ts.map +1 -0
- package/dist/types/src/planning/index.d.ts +3 -0
- package/dist/types/src/planning/index.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/index.d.ts +2 -0
- package/dist/types/src/testing/index.d.ts.map +1 -0
- package/dist/types/src/testing/plugins.d.ts +19 -0
- package/dist/types/src/testing/plugins.d.ts.map +1 -0
- package/dist/types/src/toolkits/AssistantToolkit.d.ts +43 -0
- package/dist/types/src/toolkits/AssistantToolkit.d.ts.map +1 -0
- package/dist/types/src/toolkits/AssistantToolkit.test.d.ts +2 -0
- package/dist/types/src/toolkits/AssistantToolkit.test.d.ts.map +1 -0
- package/dist/types/src/toolkits/SystemToolkit.d.ts +99 -0
- package/dist/types/src/toolkits/SystemToolkit.d.ts.map +1 -0
- package/dist/types/src/toolkits/WebToolkit.d.ts +38 -0
- package/dist/types/src/toolkits/WebToolkit.d.ts.map +1 -0
- package/dist/types/src/toolkits/index.d.ts +4 -0
- package/dist/types/src/toolkits/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 +74 -0
- package/src/blueprints/design/design-blueprint.test.ts +100 -0
- package/src/blueprints/design/design-blueprint.ts +31 -0
- package/src/blueprints/design/index.ts +7 -0
- package/src/blueprints/discord/discord-blueprint.ts +32 -0
- package/src/blueprints/discord/index.ts +7 -0
- package/src/blueprints/index.ts +11 -0
- package/src/blueprints/linear/index.ts +7 -0
- package/src/blueprints/linear/linear-blueprint.ts +33 -0
- package/src/blueprints/markdown/index.ts +7 -0
- package/src/blueprints/markdown/markdown-blueprint.ts +24 -0
- package/src/blueprints/planning/index.ts +7 -0
- package/src/blueprints/planning/planning-blueprint.test.ts +120 -0
- package/src/blueprints/planning/planning-blueprint.ts +96 -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 +51 -0
- package/src/blueprints/testing.ts +30 -0
- package/src/blueprints/websearch/index.ts +9 -0
- package/src/blueprints/websearch/websearch-blueprint.ts +18 -0
- package/src/blueprints/websearch/websearch-toolkit.ts +8 -0
- package/src/chat/Chat.ts +45 -0
- package/src/chat/index.ts +5 -0
- package/src/crud/graph.test.ts +46 -0
- package/src/crud/graph.ts +380 -0
- package/src/crud/index.ts +5 -0
- package/src/experimental/feed.test.ts +106 -0
- package/src/functions/agent/index.ts +11 -0
- package/src/functions/agent/prompt.ts +116 -0
- package/src/functions/discord/fetch-messages.test.ts +54 -0
- package/src/functions/discord/fetch-messages.ts +252 -0
- package/src/functions/discord/index.ts +9 -0
- package/src/functions/document/create.ts +29 -0
- package/src/functions/document/index.ts +13 -0
- package/src/functions/document/read.ts +32 -0
- package/src/functions/document/update.ts +32 -0
- package/src/functions/entity-extraction/entity-extraction.conversations.json +1 -0
- package/src/functions/entity-extraction/entity-extraction.test.ts +74 -0
- package/src/functions/entity-extraction/entity-extraction.ts +181 -0
- package/src/functions/entity-extraction/index.ts +9 -0
- package/src/functions/exa/data/exa-search-1748337321991.ts +131 -0
- package/src/functions/exa/data/exa-search-1748337331526.ts +144 -0
- package/src/functions/exa/data/exa-search-1748337344119.ts +133 -0
- package/src/functions/exa/data/index.ts +11 -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 +31 -0
- package/src/functions/index.ts +11 -0
- package/src/functions/linear/index.ts +9 -0
- package/src/functions/linear/linear.test.ts +58 -0
- package/src/functions/linear/sync-issues.ts +191 -0
- package/src/functions/research/document-create.ts +73 -0
- package/src/functions/research/index.ts +14 -0
- package/src/functions/research/research-graph.ts +49 -0
- package/src/functions/research/research-instructions.tpl +106 -0
- package/src/functions/research/research.conversations.json +1 -0
- package/src/functions/research/research.test.ts +144 -0
- package/src/functions/research/research.ts +182 -0
- package/src/functions/research/types.ts +26 -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 +12 -0
- package/src/initiative/Initiative.ts +61 -0
- package/src/initiative/blueprint.ts +60 -0
- package/src/initiative/functions/addArtifact.ts +41 -0
- package/src/initiative/functions/agent.ts +77 -0
- package/src/initiative/functions/getContext.ts +54 -0
- package/src/initiative/functions/index.ts +8 -0
- package/src/initiative/functions/qualifier.ts +98 -0
- package/src/initiative/index.ts +9 -0
- package/src/initiative/initiative.test.ts +584 -0
- package/src/initiative/plan.ts +107 -0
- package/src/initiative/util.ts +137 -0
- package/src/planning/blueprint.ts +14 -0
- package/src/planning/functions/index.ts +5 -0
- package/src/planning/functions/update-tasks.ts +168 -0
- package/src/planning/index.ts +6 -0
- package/src/sync/index.ts +5 -0
- package/src/sync/sync.ts +95 -0
- package/src/testing/index.ts +5 -0
- package/src/testing/plugins.tsx +69 -0
- package/src/toolkits/AssistantToolkit.conversations.json +1 -0
- package/src/toolkits/AssistantToolkit.test.ts +72 -0
- package/src/toolkits/AssistantToolkit.ts +70 -0
- package/src/toolkits/SystemToolkit.ts +299 -0
- package/src/toolkits/WebToolkit.ts +34 -0
- package/src/toolkits/index.ts +7 -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,175 @@
|
|
|
1
|
+
export declare namespace EntityExtraction {
|
|
2
|
+
const extract: import("@dxos/functions").FunctionDefinition<{
|
|
3
|
+
readonly instructions?: string | undefined;
|
|
4
|
+
readonly source: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
readonly parentMessage?: string | undefined;
|
|
7
|
+
readonly created: string;
|
|
8
|
+
readonly sender: {
|
|
9
|
+
readonly name?: string | undefined;
|
|
10
|
+
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
11
|
+
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
12
|
+
readonly image?: string | undefined;
|
|
13
|
+
readonly fullName?: string | undefined;
|
|
14
|
+
readonly preferredName?: string | undefined;
|
|
15
|
+
readonly nickname?: string | undefined;
|
|
16
|
+
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
17
|
+
readonly description?: string | undefined;
|
|
18
|
+
readonly name?: string | undefined;
|
|
19
|
+
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
20
|
+
readonly image?: string | undefined;
|
|
21
|
+
readonly website?: string | undefined;
|
|
22
|
+
} & {
|
|
23
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
24
|
+
}> | undefined;
|
|
25
|
+
readonly jobTitle?: string | undefined;
|
|
26
|
+
readonly department?: string | undefined;
|
|
27
|
+
readonly notes?: string | undefined;
|
|
28
|
+
readonly emails?: readonly {
|
|
29
|
+
readonly value: string;
|
|
30
|
+
readonly label?: string | undefined;
|
|
31
|
+
}[] | undefined;
|
|
32
|
+
readonly identities?: readonly {
|
|
33
|
+
readonly value: string;
|
|
34
|
+
readonly label?: string | undefined;
|
|
35
|
+
}[] | undefined;
|
|
36
|
+
readonly phoneNumbers?: readonly {
|
|
37
|
+
readonly value: string;
|
|
38
|
+
readonly label?: string | undefined;
|
|
39
|
+
}[] | undefined;
|
|
40
|
+
readonly fields?: readonly {
|
|
41
|
+
readonly value: string;
|
|
42
|
+
readonly label: string;
|
|
43
|
+
readonly category?: string | undefined;
|
|
44
|
+
}[] | undefined;
|
|
45
|
+
readonly addresses?: readonly {
|
|
46
|
+
readonly value: {
|
|
47
|
+
readonly street?: string | undefined;
|
|
48
|
+
readonly extended?: string | undefined;
|
|
49
|
+
readonly locality?: string | undefined;
|
|
50
|
+
readonly region?: string | undefined;
|
|
51
|
+
readonly postalCode?: string | undefined;
|
|
52
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
53
|
+
readonly country?: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
readonly label?: string | undefined;
|
|
56
|
+
}[] | undefined;
|
|
57
|
+
readonly urls?: readonly {
|
|
58
|
+
readonly value: string;
|
|
59
|
+
readonly label?: string | undefined;
|
|
60
|
+
}[] | undefined;
|
|
61
|
+
readonly birthday?: string | undefined;
|
|
62
|
+
} & {
|
|
63
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
64
|
+
}> | undefined;
|
|
65
|
+
readonly identityDid?: string | undefined;
|
|
66
|
+
readonly identityKey?: string | undefined;
|
|
67
|
+
readonly email?: string | undefined;
|
|
68
|
+
};
|
|
69
|
+
readonly blocks: readonly ({
|
|
70
|
+
readonly pending?: boolean | undefined;
|
|
71
|
+
readonly text: string;
|
|
72
|
+
readonly mimeType?: string | undefined;
|
|
73
|
+
readonly disposition?: string | undefined;
|
|
74
|
+
readonly _tag: "text";
|
|
75
|
+
} | {
|
|
76
|
+
readonly pending?: boolean | undefined;
|
|
77
|
+
readonly _tag: "reasoning";
|
|
78
|
+
readonly reasoningText?: string | undefined;
|
|
79
|
+
readonly redactedText?: string | undefined;
|
|
80
|
+
readonly signature?: string | undefined;
|
|
81
|
+
} | {
|
|
82
|
+
readonly name: string;
|
|
83
|
+
readonly pending?: boolean | undefined;
|
|
84
|
+
readonly _tag: "toolCall";
|
|
85
|
+
readonly toolCallId: string;
|
|
86
|
+
readonly input: string;
|
|
87
|
+
readonly providerExecuted: boolean;
|
|
88
|
+
} | {
|
|
89
|
+
readonly name: string;
|
|
90
|
+
readonly pending?: boolean | undefined;
|
|
91
|
+
readonly _tag: "toolResult";
|
|
92
|
+
readonly toolCallId: string;
|
|
93
|
+
readonly providerExecuted: boolean;
|
|
94
|
+
readonly result?: string | undefined;
|
|
95
|
+
readonly error?: string | undefined;
|
|
96
|
+
} | {
|
|
97
|
+
readonly pending?: boolean | undefined;
|
|
98
|
+
readonly mimeType?: string | undefined;
|
|
99
|
+
readonly _tag: "summary";
|
|
100
|
+
readonly message?: string | undefined;
|
|
101
|
+
readonly model?: string | undefined;
|
|
102
|
+
readonly usage?: {
|
|
103
|
+
readonly inputTokens?: number | undefined;
|
|
104
|
+
readonly outputTokens?: number | undefined;
|
|
105
|
+
readonly totalTokens?: number | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
readonly toolCalls?: number | undefined;
|
|
108
|
+
readonly errors?: number | undefined;
|
|
109
|
+
readonly duration?: number | undefined;
|
|
110
|
+
} | {
|
|
111
|
+
readonly source?: {
|
|
112
|
+
readonly type: "base64";
|
|
113
|
+
readonly mediaType: string;
|
|
114
|
+
readonly data: string;
|
|
115
|
+
} | {
|
|
116
|
+
readonly type: "http";
|
|
117
|
+
readonly url: string;
|
|
118
|
+
} | undefined;
|
|
119
|
+
readonly id?: string | undefined;
|
|
120
|
+
readonly pending?: boolean | undefined;
|
|
121
|
+
readonly _tag: "image";
|
|
122
|
+
} | {
|
|
123
|
+
readonly name?: string | undefined;
|
|
124
|
+
readonly pending?: boolean | undefined;
|
|
125
|
+
readonly _tag: "file";
|
|
126
|
+
readonly mediaType?: string | undefined;
|
|
127
|
+
readonly url: string;
|
|
128
|
+
} | {
|
|
129
|
+
readonly pending?: boolean | undefined;
|
|
130
|
+
readonly _tag: "reference";
|
|
131
|
+
readonly reference: import("@dxos/echo/internal").Ref<any>;
|
|
132
|
+
} | {
|
|
133
|
+
readonly pending?: boolean | undefined;
|
|
134
|
+
readonly text: string;
|
|
135
|
+
readonly _tag: "transcript";
|
|
136
|
+
readonly started: string;
|
|
137
|
+
} | {
|
|
138
|
+
readonly pending?: boolean | undefined;
|
|
139
|
+
readonly _tag: "status";
|
|
140
|
+
readonly statusText: string;
|
|
141
|
+
} | {
|
|
142
|
+
readonly pending?: boolean | undefined;
|
|
143
|
+
readonly text: string;
|
|
144
|
+
readonly _tag: "suggestion";
|
|
145
|
+
} | {
|
|
146
|
+
readonly pending?: boolean | undefined;
|
|
147
|
+
readonly _tag: "select";
|
|
148
|
+
readonly options: string[];
|
|
149
|
+
} | {
|
|
150
|
+
readonly version: unknown;
|
|
151
|
+
readonly pending?: boolean | undefined;
|
|
152
|
+
readonly _tag: "anchor";
|
|
153
|
+
readonly objectId: string;
|
|
154
|
+
} | {
|
|
155
|
+
readonly pending?: boolean | undefined;
|
|
156
|
+
readonly text: string;
|
|
157
|
+
readonly _tag: "proposal";
|
|
158
|
+
} | {
|
|
159
|
+
readonly pending?: boolean | undefined;
|
|
160
|
+
readonly _tag: "toolkit";
|
|
161
|
+
} | {
|
|
162
|
+
readonly pending?: boolean | undefined;
|
|
163
|
+
readonly disposition?: string | undefined;
|
|
164
|
+
readonly _tag: "json";
|
|
165
|
+
readonly data: string;
|
|
166
|
+
})[];
|
|
167
|
+
readonly properties?: {
|
|
168
|
+
readonly [x: string]: any;
|
|
169
|
+
} | undefined;
|
|
170
|
+
};
|
|
171
|
+
}, {
|
|
172
|
+
readonly entities?: readonly any[] | undefined;
|
|
173
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
174
|
+
}
|
|
175
|
+
//# 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;;;;;;;6BAE8L,CAAC;6BAA2C,CAAC;gCAAqE,CAAC;kCAAsJ,CAAC;qCAAmD,CAAC;0CAAwD,CAAC;qCAAmD,CAAC;yCAAuD,CAAC;4CAAgK,CAAC;qCAAmD,CAAC;uCAAqD,CAAC;sCAAuG,CAAC;wCAAsD,CAAC;;yCAAyE,CAAC;;qCAAyH,CAAC;uCAAqD,CAAC;kCAAgD,CAAC;mCAAiD,CAAC;;sCAAmF,CAAC;;uCAAkF,CAAC;;sCAAmF,CAAC;;yCAAoF,CAAC;;sCAAmF,CAAC;;mCAA8E,CAAC;;;yCAA8H,CAAC;;sCAAiF,CAAC;;2CAAkF,CAAC;6CAA2D,CAAC;6CAA2D,CAAC;2CAAyD,CAAC;+CAA6D,CAAC;wDAAsE,CAAC;4CAA0D,CAAC;;sCAAuE,CAAC;;iCAA4E,CAAC;;sCAAmF,CAAC;;qCAAgF,CAAC;;qCAAiE,CAAC;;oCAAoH,CAAC;oCAAkD,CAAC;8BAA4C,CAAC;;;gCAAsF,CAAC;;iCAA+E,CAAC;oCAAkD,CAAC;;;gCAAuF,CAAC;;sCAAyF,CAAC;qCAAmD,CAAC;kCAAgD,CAAC;;;gCAAuF,CAAC;;;;;;;gCAA4O,CAAC;;;;+BAAoK,CAAC;8BAA4C,CAAC;;gCAAwD,CAAC;iCAAgD,CAAC;;gCAAgF,CAAC;8BAA4C,CAAC;8BAA4C,CAAC;wCAAoC,CAAC;yCAAuD,CAAC;wCAAsD,CAAC;;kCAAuE,CAAC;+BAA6C,CAAC;iCAA+C,CAAC;;+BAAuD,CAAC;;;;;;;;2BAAiP,CAAC;gCAA8C,CAAC;;;6BAAsF,CAAC;gCAA8C,CAAC;;kCAAgF,CAAC;;;gCAAsF,CAAC;;;;gCAAiK,CAAC;;;;;gCAA+J,CAAC;;;;gCAA+H,CAAC;;;;gCAA6H,CAAC;;;;;gCAAiK,CAAC;;;;gCAA6H,CAAC;;;;gCAA2H,CAAC;;;gCAA2F,CAAC;oCAAmD,CAAC;;;;;;;;;;kDAFj8M,CAAC;CACjC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
requestId: string;
|
|
3
|
+
autopromptString: string;
|
|
4
|
+
autoDate: string;
|
|
5
|
+
resolvedSearchType: string;
|
|
6
|
+
results: ({
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
url: string;
|
|
10
|
+
publishedDate: string;
|
|
11
|
+
author: string;
|
|
12
|
+
score: number;
|
|
13
|
+
text: string;
|
|
14
|
+
image?: undefined;
|
|
15
|
+
favicon?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
id: string;
|
|
18
|
+
title: string;
|
|
19
|
+
url: string;
|
|
20
|
+
publishedDate: string;
|
|
21
|
+
author: string;
|
|
22
|
+
score: number;
|
|
23
|
+
text: string;
|
|
24
|
+
image: string;
|
|
25
|
+
favicon: string;
|
|
26
|
+
})[];
|
|
27
|
+
costDollars: {
|
|
28
|
+
total: number;
|
|
29
|
+
search: {
|
|
30
|
+
neural: number;
|
|
31
|
+
};
|
|
32
|
+
contents: {
|
|
33
|
+
text: number;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export default _default;
|
|
38
|
+
//# sourceMappingURL=exa-search-1748337321991.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exa-search-1748337321991.d.ts","sourceRoot":"","sources":["../../../../../../src/functions/exa/data/exa-search-1748337321991.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBA8HE"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
requestId: string;
|
|
3
|
+
autopromptString: string;
|
|
4
|
+
resolvedSearchType: string;
|
|
5
|
+
results: ({
|
|
6
|
+
id: string;
|
|
7
|
+
title: string;
|
|
8
|
+
url: string;
|
|
9
|
+
publishedDate: string;
|
|
10
|
+
author: string;
|
|
11
|
+
score: number;
|
|
12
|
+
text: string;
|
|
13
|
+
image: string;
|
|
14
|
+
favicon: string;
|
|
15
|
+
} | {
|
|
16
|
+
id: string;
|
|
17
|
+
title: string;
|
|
18
|
+
url: string;
|
|
19
|
+
publishedDate: string;
|
|
20
|
+
author: string;
|
|
21
|
+
text: string;
|
|
22
|
+
image: string;
|
|
23
|
+
favicon: string;
|
|
24
|
+
score?: undefined;
|
|
25
|
+
})[];
|
|
26
|
+
costDollars: {
|
|
27
|
+
total: number;
|
|
28
|
+
search: {
|
|
29
|
+
neural: number;
|
|
30
|
+
};
|
|
31
|
+
contents: {
|
|
32
|
+
text: number;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export default _default;
|
|
37
|
+
//# sourceMappingURL=exa-search-1748337331526.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exa-search-1748337331526.d.ts","sourceRoot":"","sources":["../../../../../../src/functions/exa/data/exa-search-1748337331526.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBA2IE"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
requestId: string;
|
|
3
|
+
autopromptString: string;
|
|
4
|
+
autoDate: string;
|
|
5
|
+
resolvedSearchType: string;
|
|
6
|
+
results: ({
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
url: string;
|
|
10
|
+
publishedDate: string;
|
|
11
|
+
author: string;
|
|
12
|
+
score: number;
|
|
13
|
+
text: string;
|
|
14
|
+
favicon: string;
|
|
15
|
+
image?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
id: string;
|
|
18
|
+
title: string;
|
|
19
|
+
url: string;
|
|
20
|
+
publishedDate: string;
|
|
21
|
+
author: string;
|
|
22
|
+
score: number;
|
|
23
|
+
text: string;
|
|
24
|
+
favicon?: undefined;
|
|
25
|
+
image?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
id: string;
|
|
28
|
+
title: string;
|
|
29
|
+
url: string;
|
|
30
|
+
publishedDate: string;
|
|
31
|
+
author: string;
|
|
32
|
+
score: number;
|
|
33
|
+
text: string;
|
|
34
|
+
image: string;
|
|
35
|
+
favicon: string;
|
|
36
|
+
} | {
|
|
37
|
+
id: string;
|
|
38
|
+
title: string;
|
|
39
|
+
url: string;
|
|
40
|
+
author: string;
|
|
41
|
+
text: string;
|
|
42
|
+
image: string;
|
|
43
|
+
favicon: string;
|
|
44
|
+
publishedDate?: undefined;
|
|
45
|
+
score?: undefined;
|
|
46
|
+
})[];
|
|
47
|
+
costDollars: {
|
|
48
|
+
total: number;
|
|
49
|
+
search: {
|
|
50
|
+
neural: number;
|
|
51
|
+
};
|
|
52
|
+
contents: {
|
|
53
|
+
text: number;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
export default _default;
|
|
58
|
+
//# sourceMappingURL=exa-search-1748337344119.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exa-search-1748337344119.d.ts","sourceRoot":"","sources":["../../../../../../src/functions/exa/data/exa-search-1748337344119.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAgIE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/functions/exa/data/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAM7C,eAAO,MAAM,cAAc,EAAE,cAAc,CAAC,GAAG,CAAC,EAAgC,CAAC"}
|
|
@@ -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,wBAoBG"}
|
|
@@ -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,9 @@
|
|
|
1
|
+
export declare namespace Linear {
|
|
2
|
+
const sync: import("@dxos/functions").FunctionDefinition<{
|
|
3
|
+
readonly team: string;
|
|
4
|
+
}, {
|
|
5
|
+
objects: import("@dxos/echo/Obj").Unknown[];
|
|
6
|
+
syncComplete: boolean;
|
|
7
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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;;;;;kDAAQ,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.Unknown[];
|
|
9
|
+
syncComplete: boolean;
|
|
10
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
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;AA8DhE,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AACtD,eAAO,MAAM,qBAAqB,yBAAyB,CAAC;;;;;;;AAE5D,wBAoCG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
|
+
readonly name: string;
|
|
3
|
+
readonly content: string;
|
|
4
|
+
readonly subject: import("@dxos/echo/internal").Ref<any>;
|
|
5
|
+
}, {
|
|
6
|
+
readonly document: string;
|
|
7
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=document-create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-create.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/document-create.ts"],"names":[],"mappings":";;;;;;;AAcA,wBA0DG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export * from './research-graph';
|
|
2
|
+
export * from './types';
|
|
3
|
+
export declare namespace Research {
|
|
4
|
+
const create: import("@dxos/functions").FunctionDefinition<{
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly content: string;
|
|
7
|
+
readonly subject: import("@dxos/echo/internal").Ref<any>;
|
|
8
|
+
}, {
|
|
9
|
+
readonly document: string;
|
|
10
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
11
|
+
const research: import("@dxos/functions").FunctionDefinition<{
|
|
12
|
+
readonly instructions?: string | undefined;
|
|
13
|
+
readonly query: string;
|
|
14
|
+
readonly mockSearch?: boolean | undefined;
|
|
15
|
+
readonly entityExtraction?: boolean | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
readonly document?: string | undefined;
|
|
18
|
+
readonly objects: readonly unknown[];
|
|
19
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
20
|
+
}
|
|
21
|
+
//# 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,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AAExB,yBAAiB,QAAQ,CAAC;IACjB,MAAM,MAAM;;;;;;kDAAU,CAAC;IACvB,MAAM,QAAQ;;;;;;;;kDAAY,CAAC;CACnC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import * as Layer from 'effect/Layer';
|
|
3
|
+
import * as Schema from 'effect/Schema';
|
|
4
|
+
import { Type } from '@dxos/echo';
|
|
5
|
+
import { Database } from '@dxos/echo';
|
|
6
|
+
import { Queue } from '@dxos/echo-db';
|
|
7
|
+
import { ContextQueueService, QueueService } from '@dxos/functions';
|
|
8
|
+
/**
|
|
9
|
+
* Container for a set of ephemeral research results.
|
|
10
|
+
*/
|
|
11
|
+
export declare const ResearchGraph: Type.Obj<{
|
|
12
|
+
readonly queue: import("@dxos/echo/internal").Ref<Queue<import("@dxos/echo/Entity").Unknown>>;
|
|
13
|
+
}, Schema.Struct.Fields>;
|
|
14
|
+
export interface ResearchGraph extends Schema.Schema.Type<typeof ResearchGraph> {
|
|
15
|
+
}
|
|
16
|
+
export declare const queryResearchGraph: () => Effect.Effect<ResearchGraph | undefined, never, Database.Service>;
|
|
17
|
+
export declare const createResearchGraph: () => Effect.Effect<ResearchGraph, never, Database.Service | QueueService>;
|
|
18
|
+
export declare const contextQueueLayerFromResearchGraph: Layer.Layer<ContextQueueService, import("@dxos/echo/Err").ObjectNotFoundError, Database.Service | QueueService>;
|
|
19
|
+
//# 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,EAAmB,IAAI,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,aAAa;;wBAQzB,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,QAAQ,CAAC,OAAO,CAKrG,CAAC;AAEH,eAAO,MAAM,mBAAmB,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,KAAK,EAAE,QAAQ,CAAC,OAAO,GAAG,YAAY,CAIvG,CAAC;AAEL,eAAO,MAAM,kCAAkC,iHAM9C,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Exec external service and return the results as a Subgraph.
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
5
|
+
readonly instructions?: string | undefined;
|
|
6
|
+
readonly query: string;
|
|
7
|
+
readonly mockSearch?: boolean | undefined;
|
|
8
|
+
readonly entityExtraction?: boolean | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
readonly document?: string | undefined;
|
|
11
|
+
readonly objects: readonly unknown[];
|
|
12
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=research.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"research.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/research.ts"],"names":[],"mappings":"AA+BA;;GAEG;;;;;;;;;;AACH,wBAwHG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"research.test.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/research.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAIvC;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,EAc9C,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare namespace Tasks {
|
|
2
|
+
const read: import("@dxos/functions").FunctionDefinition<{
|
|
3
|
+
readonly doc: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
4
|
+
readonly name?: string | undefined;
|
|
5
|
+
readonly description?: string | undefined;
|
|
6
|
+
readonly fallbackName?: string | undefined;
|
|
7
|
+
readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
8
|
+
readonly content: string;
|
|
9
|
+
}>;
|
|
10
|
+
}>;
|
|
11
|
+
}, {
|
|
12
|
+
readonly content: string;
|
|
13
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
14
|
+
const update: import("@dxos/functions").FunctionDefinition<{
|
|
15
|
+
readonly doc: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
16
|
+
readonly name?: string | undefined;
|
|
17
|
+
readonly description?: string | undefined;
|
|
18
|
+
readonly fallbackName?: string | undefined;
|
|
19
|
+
readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
20
|
+
readonly content: string;
|
|
21
|
+
}>;
|
|
22
|
+
}>;
|
|
23
|
+
readonly operations?: readonly any[] | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
readonly content: string;
|
|
26
|
+
readonly numberedContent: string;
|
|
27
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/tasks/index.ts"],"names":[],"mappings":"AAOA,yBAAiB,KAAK,CAAC;IACd,MAAM,IAAI;;;;;;;;;;;kDAAQ,CAAC;IACnB,MAAM,MAAM;;;;;;;;;;;;;kDAAU,CAAC;CAC/B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
|
+
readonly doc: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
3
|
+
readonly name?: string | undefined;
|
|
4
|
+
readonly description?: string | undefined;
|
|
5
|
+
readonly fallbackName?: string | undefined;
|
|
6
|
+
readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
7
|
+
readonly content: string;
|
|
8
|
+
}>;
|
|
9
|
+
}>;
|
|
10
|
+
}, {
|
|
11
|
+
readonly content: string;
|
|
12
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=read.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../../../../src/functions/tasks/read.ts"],"names":[],"mappings":";;;;;;;;;;;;AAWA,wBAsBG"}
|