@dxos/assistant-toolkit 0.8.4-main.21d9917
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/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +2880 -0
- package/dist/lib/browser/index.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -0
- package/dist/lib/browser/testing/index.mjs +43 -0
- package/dist/lib/browser/testing/index.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +2881 -0
- package/dist/lib/node-esm/index.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -0
- package/dist/lib/node-esm/testing/index.mjs +44 -0
- package/dist/lib/node-esm/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 +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 +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 +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 +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/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/index.d.ts +13 -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 +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 +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 +6 -0
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/types/src/initiative/Initiative.d.ts +84 -0
- package/dist/types/src/initiative/Initiative.d.ts.map +1 -0
- package/dist/types/src/initiative/InitiativeSchema.d.ts +19 -0
- package/dist/types/src/initiative/InitiativeSchema.d.ts.map +1 -0
- package/dist/types/src/initiative/functions/agent.d.ts +37 -0
- package/dist/types/src/initiative/functions/agent.d.ts.map +1 -0
- package/dist/types/src/initiative/functions/getContext.d.ts +17 -0
- package/dist/types/src/initiative/functions/getContext.d.ts.map +1 -0
- package/dist/types/src/initiative/functions/index.d.ts +4 -0
- package/dist/types/src/initiative/functions/index.d.ts.map +1 -0
- package/dist/types/src/initiative/functions/update.d.ts +7 -0
- package/dist/types/src/initiative/functions/update.d.ts.map +1 -0
- package/dist/types/src/initiative/index.d.ts +1 -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/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/index.d.ts +3 -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 +83 -0
- package/src/blueprints/design/design-blueprint.test.ts +105 -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 +10 -0
- package/src/blueprints/linear/index.ts +7 -0
- package/src/blueprints/linear/linear-blueprint.ts +33 -0
- package/src/blueprints/planning/index.ts +7 -0
- package/src/blueprints/planning/planning-blueprint.test.ts +126 -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 +34 -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/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 +111 -0
- package/src/functions/agent/index.ts +11 -0
- package/src/functions/agent/prompt.ts +118 -0
- package/src/functions/discord/fetch-messages.test.ts +58 -0
- package/src/functions/discord/fetch-messages.ts +252 -0
- package/src/functions/discord/index.ts +9 -0
- package/src/functions/document/index.ts +12 -0
- package/src/functions/document/read.ts +30 -0
- package/src/functions/document/update.ts +33 -0
- package/src/functions/entity-extraction/entity-extraction.conversations.json +6597 -0
- package/src/functions/entity-extraction/entity-extraction.test.ts +93 -0
- package/src/functions/entity-extraction/entity-extraction.ts +183 -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 +84 -0
- package/src/functions/linear/sync-issues.ts +191 -0
- package/src/functions/research/document-create.ts +76 -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 +171 -0
- package/src/functions/research/research.ts +189 -0
- package/src/functions/research/types.ts +26 -0
- package/src/functions/tasks/index.ts +11 -0
- package/src/functions/tasks/read.ts +35 -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 +53 -0
- package/src/index.ts +9 -0
- package/src/initiative/Initiative.ts +99 -0
- package/src/initiative/InitiativeSchema.ts +37 -0
- package/src/initiative/functions/agent.ts +57 -0
- package/src/initiative/functions/getContext.ts +74 -0
- package/src/initiative/functions/index.ts +7 -0
- package/src/initiative/functions/update.ts +63 -0
- package/src/initiative/index.ts +3 -0
- package/src/initiative/initiative.conversations.json +1 -0
- package/src/initiative/initiative.test.ts +485 -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 +68 -0
- package/src/toolkits/AssistantToolkit.conversations.json +1 -0
- package/src/toolkits/AssistantToolkit.test.ts +94 -0
- package/src/toolkits/AssistantToolkit.ts +70 -0
- package/src/toolkits/SystemToolkit.ts +299 -0
- package/src/toolkits/index.ts +6 -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 @@
|
|
|
1
|
+
{"version":3,"file":"feed.test.d.ts","sourceRoot":"","sources":["../../../../src/experimental/feed.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/agent/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAI1D,yBAAiB,KAAK,CAAC;IACd,MAAM,MAAM,EAAE,kBAAkB,CAAC,GAAa,CAAC;CACvD"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
|
+
readonly prompt: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
3
|
+
readonly description?: string | undefined;
|
|
4
|
+
readonly name?: string | undefined;
|
|
5
|
+
readonly context: readonly any[];
|
|
6
|
+
readonly instructions: {
|
|
7
|
+
source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
8
|
+
readonly content: string;
|
|
9
|
+
}>;
|
|
10
|
+
inputs?: {
|
|
11
|
+
function?: string | undefined;
|
|
12
|
+
name: string;
|
|
13
|
+
kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
14
|
+
default?: any;
|
|
15
|
+
}[] | undefined;
|
|
16
|
+
};
|
|
17
|
+
readonly input: import("@dxos/echo/internal").JsonSchemaType;
|
|
18
|
+
readonly output: import("@dxos/echo/internal").JsonSchemaType;
|
|
19
|
+
readonly blueprints: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
20
|
+
readonly description?: string | undefined;
|
|
21
|
+
readonly name: string;
|
|
22
|
+
readonly key: string;
|
|
23
|
+
readonly instructions: {
|
|
24
|
+
source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
25
|
+
readonly content: string;
|
|
26
|
+
}>;
|
|
27
|
+
inputs?: {
|
|
28
|
+
function?: string | undefined;
|
|
29
|
+
name: string;
|
|
30
|
+
kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
31
|
+
default?: any;
|
|
32
|
+
}[] | undefined;
|
|
33
|
+
};
|
|
34
|
+
readonly tools: readonly (string & import("effect/Brand").Brand<"ToolId">)[];
|
|
35
|
+
}>[];
|
|
36
|
+
}>;
|
|
37
|
+
readonly input: any;
|
|
38
|
+
readonly systemPrompt?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
39
|
+
readonly description?: string | undefined;
|
|
40
|
+
readonly name?: string | undefined;
|
|
41
|
+
readonly context: readonly any[];
|
|
42
|
+
readonly instructions: {
|
|
43
|
+
source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
44
|
+
readonly content: string;
|
|
45
|
+
}>;
|
|
46
|
+
inputs?: {
|
|
47
|
+
function?: string | undefined;
|
|
48
|
+
name: string;
|
|
49
|
+
kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
50
|
+
default?: any;
|
|
51
|
+
}[] | undefined;
|
|
52
|
+
};
|
|
53
|
+
readonly input: import("@dxos/echo/internal").JsonSchemaType;
|
|
54
|
+
readonly output: import("@dxos/echo/internal").JsonSchemaType;
|
|
55
|
+
readonly blueprints: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
56
|
+
readonly description?: string | undefined;
|
|
57
|
+
readonly name: string;
|
|
58
|
+
readonly key: string;
|
|
59
|
+
readonly instructions: {
|
|
60
|
+
source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
61
|
+
readonly content: string;
|
|
62
|
+
}>;
|
|
63
|
+
inputs?: {
|
|
64
|
+
function?: string | undefined;
|
|
65
|
+
name: string;
|
|
66
|
+
kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
67
|
+
default?: any;
|
|
68
|
+
}[] | undefined;
|
|
69
|
+
};
|
|
70
|
+
readonly tools: readonly (string & import("effect/Brand").Brand<"ToolId">)[];
|
|
71
|
+
}>[];
|
|
72
|
+
}> | undefined;
|
|
73
|
+
readonly model?: "@anthropic/claude-3-5-haiku-latest" | "@anthropic/claude-3-5-haiku-20241022" | "@anthropic/claude-3-5-sonnet-20241022" | "@anthropic/claude-opus-4-0" | "@anthropic/claude-haiku-4-5" | "@anthropic/claude-sonnet-4-0" | "@anthropic/claude-sonnet-4-5" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@hf/nousresearch/hermes-2-pro-mistral-7b" | "@ollama/llama-3-1-nemotron-70b-instruct" | "@ollama/llama-3-1-nemotron-mini-4b-instruct" | "@ollama/llama-3-2-3b" | "@google/gemma-3-27b" | "@meta/llama-3.1-8b-instruct" | "@meta/llama-3.2-3b-instruct" | "ministral-3-14b-reasoning" | "openai/gpt-oss-20b" | "qwen2.5:14b" | "llama3.2:1b" | "llama3:70b" | "deepseek-r1:latest" | "@openai/gpt-4o" | "@openai/gpt-4o-mini" | "@openai/o1" | "@openai/o3" | "@openai/o3-mini" | undefined;
|
|
74
|
+
}, any, import("@dxos/functions").FunctionServices>;
|
|
75
|
+
export default _default;
|
|
76
|
+
//# sourceMappingURL=prompt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../../../../src/functions/agent/prompt.ts"],"names":[],"mappings":";;;;;;;;;kBAgB4D,CAAC;wBACzC,CAAA;;oBAE8B,CAAC;uBAKf,CAAA;;;;;;gCAUL,CAAC;;;;;;;sBASiB,CAAC;4BAA4B,CAAC;;wBAEtD,CAAA;2BAGW,CAAC;;;;;;;;;;;;;;;kBAhCuB,CAAC;wBACzC,CAAA;;oBAE8B,CAAC;uBAKf,CAAA;;;;;;gCAUL,CAAC;;;;;;;sBASiB,CAAC;4BAA4B,CAAC;;wBAEtD,CAAA;2BAGW,CAAC;;;;;;;;AA3BrC,wBAgGG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
|
+
readonly serverId: string;
|
|
3
|
+
readonly channelId?: string | undefined;
|
|
4
|
+
readonly after?: number | undefined;
|
|
5
|
+
readonly last: string;
|
|
6
|
+
readonly limit?: number | undefined;
|
|
7
|
+
readonly pageSize?: number | undefined;
|
|
8
|
+
readonly ignoreUsernames?: readonly string[] | undefined;
|
|
9
|
+
}, string, import("@dxos/functions").FunctionServices>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=fetch-messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-messages.d.ts","sourceRoot":"","sources":["../../../../../src/functions/discord/fetch-messages.ts"],"names":[],"mappings":";;;;;;;;;AA4EA,wBAqIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-messages.test.d.ts","sourceRoot":"","sources":["../../../../../src/functions/discord/fetch-messages.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare namespace Discord {
|
|
2
|
+
const fetch: import("@dxos/functions").FunctionDefinition<{
|
|
3
|
+
readonly serverId: string;
|
|
4
|
+
readonly channelId?: string | undefined;
|
|
5
|
+
readonly after?: number | undefined;
|
|
6
|
+
readonly last: string;
|
|
7
|
+
readonly limit?: number | undefined;
|
|
8
|
+
readonly pageSize?: number | undefined;
|
|
9
|
+
readonly ignoreUsernames?: readonly string[] | undefined;
|
|
10
|
+
}, string, import("@dxos/functions").FunctionServices>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/discord/index.ts"],"names":[],"mappings":"AAMA,yBAAiB,OAAO,CAAC;IAChB,MAAM,KAAK;;;;;;;;0DAAS,CAAC;CAC7B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** @deprecated */
|
|
2
|
+
export declare namespace Document {
|
|
3
|
+
const read: import("@dxos/functions").FunctionDefinition<{
|
|
4
|
+
readonly id: string;
|
|
5
|
+
}, {
|
|
6
|
+
readonly content: string;
|
|
7
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
8
|
+
const update: import("@dxos/functions").FunctionDefinition<{
|
|
9
|
+
readonly id: string;
|
|
10
|
+
readonly content: string;
|
|
11
|
+
}, void, import("@dxos/functions").FunctionServices>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/document/index.ts"],"names":[],"mappings":"AAOA,kBAAkB;AAClB,yBAAiB,QAAQ,CAAC;IACjB,MAAM,IAAI;;;;kDAAQ,CAAC;IACnB,MAAM,MAAM;;;wDAAU,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../../../../src/functions/document/read.ts"],"names":[],"mappings":";;;;;AAYA,wBAiBG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../src/functions/document/update.ts"],"names":[],"mappings":";;;;AAYA,wBAoBG"}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
|
+
readonly instructions?: string | undefined;
|
|
3
|
+
readonly source: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
4
|
+
readonly id: string;
|
|
5
|
+
readonly parentMessage?: string | undefined;
|
|
6
|
+
readonly created: string;
|
|
7
|
+
readonly sender: {
|
|
8
|
+
name?: string | undefined;
|
|
9
|
+
role?: "user" | "assistant" | "tool" | undefined;
|
|
10
|
+
contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
11
|
+
readonly image?: string | undefined;
|
|
12
|
+
readonly fullName?: string | undefined;
|
|
13
|
+
readonly preferredName?: string | undefined;
|
|
14
|
+
readonly nickname?: string | undefined;
|
|
15
|
+
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
16
|
+
readonly description?: string | undefined;
|
|
17
|
+
readonly name?: string | undefined;
|
|
18
|
+
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
19
|
+
readonly image?: string | undefined;
|
|
20
|
+
readonly website?: string | undefined;
|
|
21
|
+
} & {
|
|
22
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
23
|
+
}> | undefined;
|
|
24
|
+
readonly jobTitle?: string | undefined;
|
|
25
|
+
readonly department?: string | undefined;
|
|
26
|
+
readonly notes?: string | undefined;
|
|
27
|
+
readonly emails?: {
|
|
28
|
+
readonly value: string;
|
|
29
|
+
readonly label?: string | undefined;
|
|
30
|
+
}[] | undefined;
|
|
31
|
+
readonly identities?: {
|
|
32
|
+
readonly value: string;
|
|
33
|
+
readonly label?: string | undefined;
|
|
34
|
+
}[] | undefined;
|
|
35
|
+
readonly phoneNumbers?: {
|
|
36
|
+
readonly value: string;
|
|
37
|
+
readonly label?: string | undefined;
|
|
38
|
+
}[] | undefined;
|
|
39
|
+
readonly fields?: {
|
|
40
|
+
readonly value: string;
|
|
41
|
+
readonly label: string;
|
|
42
|
+
readonly category?: string | undefined;
|
|
43
|
+
}[] | undefined;
|
|
44
|
+
readonly addresses?: {
|
|
45
|
+
readonly value: {
|
|
46
|
+
readonly street?: string | undefined;
|
|
47
|
+
readonly extended?: string | undefined;
|
|
48
|
+
readonly locality?: string | undefined;
|
|
49
|
+
readonly region?: string | undefined;
|
|
50
|
+
readonly postalCode?: string | undefined;
|
|
51
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
52
|
+
readonly country?: string | undefined;
|
|
53
|
+
};
|
|
54
|
+
readonly label?: string | undefined;
|
|
55
|
+
}[] | undefined;
|
|
56
|
+
readonly urls?: {
|
|
57
|
+
readonly value: string;
|
|
58
|
+
readonly label?: string | undefined;
|
|
59
|
+
}[] | undefined;
|
|
60
|
+
readonly birthday?: string | undefined;
|
|
61
|
+
} & {
|
|
62
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
63
|
+
}> | undefined;
|
|
64
|
+
identityDid?: string | undefined;
|
|
65
|
+
identityKey?: string | undefined;
|
|
66
|
+
email?: string | undefined;
|
|
67
|
+
};
|
|
68
|
+
readonly blocks: ({
|
|
69
|
+
pending?: boolean | undefined;
|
|
70
|
+
text: string;
|
|
71
|
+
mimeType?: string | undefined;
|
|
72
|
+
disposition?: string | undefined;
|
|
73
|
+
_tag: "text";
|
|
74
|
+
} | {
|
|
75
|
+
pending?: boolean | undefined;
|
|
76
|
+
_tag: "reasoning";
|
|
77
|
+
reasoningText?: string | undefined;
|
|
78
|
+
redactedText?: string | undefined;
|
|
79
|
+
signature?: string | undefined;
|
|
80
|
+
} | {
|
|
81
|
+
name: string;
|
|
82
|
+
pending?: boolean | undefined;
|
|
83
|
+
_tag: "toolCall";
|
|
84
|
+
toolCallId: string;
|
|
85
|
+
input: string;
|
|
86
|
+
providerExecuted: boolean;
|
|
87
|
+
} | {
|
|
88
|
+
name: string;
|
|
89
|
+
pending?: boolean | undefined;
|
|
90
|
+
_tag: "toolResult";
|
|
91
|
+
toolCallId: string;
|
|
92
|
+
providerExecuted: boolean;
|
|
93
|
+
result?: string | undefined;
|
|
94
|
+
error?: string | undefined;
|
|
95
|
+
} | {
|
|
96
|
+
pending?: boolean | undefined;
|
|
97
|
+
mimeType?: string | undefined;
|
|
98
|
+
_tag: "summary";
|
|
99
|
+
message?: string | undefined;
|
|
100
|
+
model?: string | undefined;
|
|
101
|
+
usage?: {
|
|
102
|
+
readonly inputTokens?: number | undefined;
|
|
103
|
+
readonly outputTokens?: number | undefined;
|
|
104
|
+
readonly totalTokens?: number | undefined;
|
|
105
|
+
} | undefined;
|
|
106
|
+
toolCalls?: number | undefined;
|
|
107
|
+
errors?: number | undefined;
|
|
108
|
+
duration?: number | undefined;
|
|
109
|
+
} | {
|
|
110
|
+
source?: {
|
|
111
|
+
type: "base64";
|
|
112
|
+
mediaType: string;
|
|
113
|
+
data: string;
|
|
114
|
+
} | {
|
|
115
|
+
type: "http";
|
|
116
|
+
url: string;
|
|
117
|
+
} | undefined;
|
|
118
|
+
id?: string | undefined;
|
|
119
|
+
pending?: boolean | undefined;
|
|
120
|
+
_tag: "image";
|
|
121
|
+
} | {
|
|
122
|
+
name?: string | undefined;
|
|
123
|
+
pending?: boolean | undefined;
|
|
124
|
+
_tag: "file";
|
|
125
|
+
mediaType?: string | undefined;
|
|
126
|
+
url: string;
|
|
127
|
+
} | {
|
|
128
|
+
pending?: boolean | undefined;
|
|
129
|
+
_tag: "reference";
|
|
130
|
+
reference: import("@dxos/echo/internal").Ref<any>;
|
|
131
|
+
} | {
|
|
132
|
+
pending?: boolean | undefined;
|
|
133
|
+
text: string;
|
|
134
|
+
_tag: "transcript";
|
|
135
|
+
started: string;
|
|
136
|
+
} | {
|
|
137
|
+
pending?: boolean | undefined;
|
|
138
|
+
_tag: "status";
|
|
139
|
+
statusText: string;
|
|
140
|
+
} | {
|
|
141
|
+
pending?: boolean | undefined;
|
|
142
|
+
text: string;
|
|
143
|
+
_tag: "suggestion";
|
|
144
|
+
} | {
|
|
145
|
+
pending?: boolean | undefined;
|
|
146
|
+
_tag: "select";
|
|
147
|
+
options: string[];
|
|
148
|
+
} | {
|
|
149
|
+
version: unknown;
|
|
150
|
+
pending?: boolean | undefined;
|
|
151
|
+
_tag: "anchor";
|
|
152
|
+
objectId: string;
|
|
153
|
+
} | {
|
|
154
|
+
pending?: boolean | undefined;
|
|
155
|
+
text: string;
|
|
156
|
+
_tag: "proposal";
|
|
157
|
+
} | {
|
|
158
|
+
pending?: boolean | undefined;
|
|
159
|
+
_tag: "toolkit";
|
|
160
|
+
} | {
|
|
161
|
+
pending?: boolean | undefined;
|
|
162
|
+
disposition?: string | undefined;
|
|
163
|
+
_tag: "json";
|
|
164
|
+
data: string;
|
|
165
|
+
})[];
|
|
166
|
+
readonly properties?: {
|
|
167
|
+
[x: string]: any;
|
|
168
|
+
} | undefined;
|
|
169
|
+
};
|
|
170
|
+
}, {
|
|
171
|
+
readonly entities?: readonly any[] | undefined;
|
|
172
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
173
|
+
export default _default;
|
|
174
|
+
//# 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":";;;;;;;gBAWkF,CAAC;gBACjF,CAAC;mBACO,CAAC;8BAE6D,CAAC;iCAEzE,CAAA;sCACuB,CAAC;iCAAmD,CAAC;qCAG1E,CAAC;wCAGgB,CAAC;iCACmB,CAAC;mCAEvB,CAAC;kCAEO,CAAC;oCACY,CAAC;;qCAGJ,CAAC;;iCAEpB,CAAC;mCAGf,CAAA;8BACgB,CAAC;+BACkB,CAAC;;kCAKpC,CAAC;;mCACoD,CAAC;;kCAElC,CAAA;;qCACiB,CAAC;;kCAGhC,CAAL;;+BAC2C,CAAC;;;qCAGF,CAAC;;kCACC,CAAC;;uCAGtC,CAAT;yCAA2D,CAAC;yCAGrD,CAAD;uCAEK,CAAR;2CAA6D,CAAC;oDACzB,CAAC;wCACvB,CAAC;;kCAAuE,CAAC;;6BAEhC,CAAA;;kCAKlD,CAAL;;iCACmB,CAAC;;iCACsB,CAAC;;uBAEpC,CAAC;uBACD,CAAA;iBACK,CAAC;;;mBAES,CAAC;;oBACsB,CAAC;uBAK7C,CAAA;;;mBACsD,CAAC;;yBAKrD,CAAR;wBAA0C,CAAC;qBAAuC,CAAC;;;mBAE3E,CAAD;;;;;;;mBAGuD,CAAC;;;;kBAQ5C,CAAC;iBAAmC,CAAC;;mBAA+C,CAAC;oBAElG,CAAC;;mBAEiB,CAAC;iBAAmC,CAAC;iBAI3D,CAAD;oCAAoC,CAAC;qCAEnC,CAAC;oCACsB,CAAC;;qBAA8D,CAAC;kBACxF,CAAF;oBAAsC,CAAC;;kBACf,CAAC;;;;;;;;cAQnB,CAAC;mBAAsC,CAAA;;;gBAErC,CAAC;mBAEA,CAAA;;qBAGI,CAAC;;;mBAKN,CAAC;;;;mBAEsD,CAAC;;;;;mBAMhC,CAAA;;;;mBACN,CAAC;;;;mBAIjB,CAAN;;;;;mBAII,CAFc;;;;mBAGd,CAAF;;;;mBAEoC,CAAC;;;mBAElC,CAAC;uBAEW,CAAC;;;;;;;;;;;AA5ItB,wBAiFG"}
|
|
@@ -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,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
|
+
name?: string | undefined;
|
|
10
|
+
role?: "user" | "assistant" | "tool" | undefined;
|
|
11
|
+
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?: {
|
|
29
|
+
readonly value: string;
|
|
30
|
+
readonly label?: string | undefined;
|
|
31
|
+
}[] | undefined;
|
|
32
|
+
readonly identities?: {
|
|
33
|
+
readonly value: string;
|
|
34
|
+
readonly label?: string | undefined;
|
|
35
|
+
}[] | undefined;
|
|
36
|
+
readonly phoneNumbers?: {
|
|
37
|
+
readonly value: string;
|
|
38
|
+
readonly label?: string | undefined;
|
|
39
|
+
}[] | undefined;
|
|
40
|
+
readonly fields?: {
|
|
41
|
+
readonly value: string;
|
|
42
|
+
readonly label: string;
|
|
43
|
+
readonly category?: string | undefined;
|
|
44
|
+
}[] | undefined;
|
|
45
|
+
readonly addresses?: {
|
|
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?: {
|
|
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
|
+
identityDid?: string | undefined;
|
|
66
|
+
identityKey?: string | undefined;
|
|
67
|
+
email?: string | undefined;
|
|
68
|
+
};
|
|
69
|
+
readonly blocks: ({
|
|
70
|
+
pending?: boolean | undefined;
|
|
71
|
+
text: string;
|
|
72
|
+
mimeType?: string | undefined;
|
|
73
|
+
disposition?: string | undefined;
|
|
74
|
+
_tag: "text";
|
|
75
|
+
} | {
|
|
76
|
+
pending?: boolean | undefined;
|
|
77
|
+
_tag: "reasoning";
|
|
78
|
+
reasoningText?: string | undefined;
|
|
79
|
+
redactedText?: string | undefined;
|
|
80
|
+
signature?: string | undefined;
|
|
81
|
+
} | {
|
|
82
|
+
name: string;
|
|
83
|
+
pending?: boolean | undefined;
|
|
84
|
+
_tag: "toolCall";
|
|
85
|
+
toolCallId: string;
|
|
86
|
+
input: string;
|
|
87
|
+
providerExecuted: boolean;
|
|
88
|
+
} | {
|
|
89
|
+
name: string;
|
|
90
|
+
pending?: boolean | undefined;
|
|
91
|
+
_tag: "toolResult";
|
|
92
|
+
toolCallId: string;
|
|
93
|
+
providerExecuted: boolean;
|
|
94
|
+
result?: string | undefined;
|
|
95
|
+
error?: string | undefined;
|
|
96
|
+
} | {
|
|
97
|
+
pending?: boolean | undefined;
|
|
98
|
+
mimeType?: string | undefined;
|
|
99
|
+
_tag: "summary";
|
|
100
|
+
message?: string | undefined;
|
|
101
|
+
model?: string | undefined;
|
|
102
|
+
usage?: {
|
|
103
|
+
readonly inputTokens?: number | undefined;
|
|
104
|
+
readonly outputTokens?: number | undefined;
|
|
105
|
+
readonly totalTokens?: number | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
toolCalls?: number | undefined;
|
|
108
|
+
errors?: number | undefined;
|
|
109
|
+
duration?: number | undefined;
|
|
110
|
+
} | {
|
|
111
|
+
source?: {
|
|
112
|
+
type: "base64";
|
|
113
|
+
mediaType: string;
|
|
114
|
+
data: string;
|
|
115
|
+
} | {
|
|
116
|
+
type: "http";
|
|
117
|
+
url: string;
|
|
118
|
+
} | undefined;
|
|
119
|
+
id?: string | undefined;
|
|
120
|
+
pending?: boolean | undefined;
|
|
121
|
+
_tag: "image";
|
|
122
|
+
} | {
|
|
123
|
+
name?: string | undefined;
|
|
124
|
+
pending?: boolean | undefined;
|
|
125
|
+
_tag: "file";
|
|
126
|
+
mediaType?: string | undefined;
|
|
127
|
+
url: string;
|
|
128
|
+
} | {
|
|
129
|
+
pending?: boolean | undefined;
|
|
130
|
+
_tag: "reference";
|
|
131
|
+
reference: import("@dxos/echo/internal").Ref<any>;
|
|
132
|
+
} | {
|
|
133
|
+
pending?: boolean | undefined;
|
|
134
|
+
text: string;
|
|
135
|
+
_tag: "transcript";
|
|
136
|
+
started: string;
|
|
137
|
+
} | {
|
|
138
|
+
pending?: boolean | undefined;
|
|
139
|
+
_tag: "status";
|
|
140
|
+
statusText: string;
|
|
141
|
+
} | {
|
|
142
|
+
pending?: boolean | undefined;
|
|
143
|
+
text: string;
|
|
144
|
+
_tag: "suggestion";
|
|
145
|
+
} | {
|
|
146
|
+
pending?: boolean | undefined;
|
|
147
|
+
_tag: "select";
|
|
148
|
+
options: string[];
|
|
149
|
+
} | {
|
|
150
|
+
version: unknown;
|
|
151
|
+
pending?: boolean | undefined;
|
|
152
|
+
_tag: "anchor";
|
|
153
|
+
objectId: string;
|
|
154
|
+
} | {
|
|
155
|
+
pending?: boolean | undefined;
|
|
156
|
+
text: string;
|
|
157
|
+
_tag: "proposal";
|
|
158
|
+
} | {
|
|
159
|
+
pending?: boolean | undefined;
|
|
160
|
+
_tag: "toolkit";
|
|
161
|
+
} | {
|
|
162
|
+
pending?: boolean | undefined;
|
|
163
|
+
disposition?: string | undefined;
|
|
164
|
+
_tag: "json";
|
|
165
|
+
data: string;
|
|
166
|
+
})[];
|
|
167
|
+
readonly properties?: {
|
|
168
|
+
[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;;;;;;;oBAEqL,CAAC;oBAAkC,CAAC;uBAA4D,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;;sCAA0E,CAAC;;uCAAkF,CAAC;;sCAA0E,CAAC;;yCAAoF,CAAC;;sCAA0E,CAAC;;mCAA8E,CAAC;;;yCAAqH,CAAC;;sCAAiF,CAAC;;2CAAyE,CAAC;6CAA2D,CAAC;6CAA2D,CAAC;2CAAyD,CAAC;+CAA6D,CAAC;wDAAsE,CAAC;4CAA0D,CAAC;;sCAAuE,CAAC;;iCAA4E,CAAC;;sCAA0E,CAAC;;qCAAgF,CAAC;;qCAAiE,CAAC;;2BAA2G,CAAC;2BAAyC,CAAC;qBAAmC,CAAC;;;uBAAoE,CAAC;;wBAA6D,CAAC;2BAAyC,CAAC;;;uBAAqE,CAAC;;6BAAuE,CAAC;4BAA0C,CAAC;yBAAuC,CAAC;;;uBAAqE,CAAC;;;;;;;uBAAsL,CAAC;;;;sBAAgI,CAAC;qBAAmC,CAAC;;uBAA+C,CAAC;wBAAuC,CAAC;;uBAA8D,CAAC;qBAAmC,CAAC;qBAAmC,CAAC;wCAAoC,CAAC;yCAAuD,CAAC;wCAAsD,CAAC;;yBAA8D,CAAC;sBAAoC,CAAC;wBAAsC,CAAC;;sBAA8C,CAAC;;;;;;;;kBAA2L,CAAC;uBAAqC,CAAC;;;oBAAoE,CAAC;uBAAqC,CAAC;;yBAA8D,CAAC;;;uBAAoE,CAAC;;;;uBAAsI,CAAC;;;;;uBAA2H,CAAC;;;;uBAAoG,CAAC;;;;uBAAkG,CAAC;;;;;uBAA6H,CAAC;;;;uBAAkG,CAAC;;;;uBAAgG,CAAC;;;uBAAyE,CAAC;2BAA0C,CAAC;;;;;;;;;;kDAF3rL,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"}
|