@dxos/assistant-toolkit 0.8.4-main.72ec0f3 → 0.8.4-main.937b3ca
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/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +388 -285
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- 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 +388 -285
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- 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 +17 -3
- package/dist/types/src/blueprints/design/design-blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/design/index.d.ts +1 -1
- package/dist/types/src/blueprints/design/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/discord/discord-blueprint.d.ts +10 -10
- package/dist/types/src/blueprints/discord/discord-blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/discord/index.d.ts +1 -1
- package/dist/types/src/blueprints/discord/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/linear/index.d.ts +1 -1
- package/dist/types/src/blueprints/linear/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/linear/linear-blueprint.d.ts +10 -10
- package/dist/types/src/blueprints/linear/linear-blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/planning/index.d.ts +1 -1
- package/dist/types/src/blueprints/planning/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/planning/planning-blueprint.d.ts +17 -3
- package/dist/types/src/blueprints/planning/planning-blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/research/index.d.ts +1 -1
- package/dist/types/src/blueprints/research/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/research/research-blueprint.d.ts +17 -3
- package/dist/types/src/blueprints/research/research-blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/testing.d.ts +2 -2
- package/dist/types/src/blueprints/testing.d.ts.map +1 -1
- package/dist/types/src/blueprints/websearch/index.d.ts +1 -1
- package/dist/types/src/blueprints/websearch/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/websearch/websearch-blueprint.d.ts +17 -3
- package/dist/types/src/blueprints/websearch/websearch-blueprint.d.ts.map +1 -1
- package/dist/types/src/crud/graph.d.ts +14 -11
- package/dist/types/src/crud/graph.d.ts.map +1 -1
- package/dist/types/src/functions/agent/prompt.d.ts +71 -4
- package/dist/types/src/functions/agent/prompt.d.ts.map +1 -1
- package/dist/types/src/functions/document/read.d.ts.map +1 -1
- package/dist/types/src/functions/document/update.d.ts.map +1 -1
- package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts +100 -99
- package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts.map +1 -1
- package/dist/types/src/functions/entity-extraction/index.d.ts +100 -99
- package/dist/types/src/functions/entity-extraction/index.d.ts.map +1 -1
- 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.map +1 -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.map +1 -0
- package/dist/types/src/functions/github/fetch-prs.d.ts.map +1 -1
- package/dist/types/src/functions/linear/index.d.ts +1 -1
- package/dist/types/src/functions/linear/sync-issues.d.ts +1 -1
- package/dist/types/src/functions/linear/sync-issues.d.ts.map +1 -1
- package/dist/types/src/functions/research/document-create.d.ts.map +1 -1
- package/dist/types/src/functions/research/research-graph.d.ts +9 -8
- package/dist/types/src/functions/research/research-graph.d.ts.map +1 -1
- package/dist/types/src/functions/research/research.d.ts.map +1 -1
- package/dist/types/src/functions/research/types.d.ts +1 -1
- package/dist/types/src/functions/research/types.d.ts.map +1 -1
- package/dist/types/src/functions/tasks/read.d.ts.map +1 -1
- package/dist/types/src/functions/tasks/update.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +0 -1
- package/dist/types/src/index.d.ts.map +1 -1
- 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/sync.d.ts +3 -3
- package/dist/types/src/sync/sync.d.ts.map +1 -1
- package/dist/types/src/testing/index.d.ts +1 -1
- package/dist/types/src/testing/index.d.ts.map +1 -1
- 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 +31 -5
- package/dist/types/src/toolkits/AssistantToolkit.d.ts.map +1 -1
- package/dist/types/src/toolkits/SystemToolkit.d.ts +42 -10
- package/dist/types/src/toolkits/SystemToolkit.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +49 -35
- package/src/blueprints/design/design-blueprint.test.ts +10 -8
- package/src/blueprints/design/design-blueprint.ts +2 -4
- package/src/blueprints/design/index.ts +1 -1
- package/src/blueprints/discord/discord-blueprint.ts +2 -4
- package/src/blueprints/discord/index.ts +1 -1
- package/src/blueprints/linear/index.ts +1 -1
- package/src/blueprints/linear/linear-blueprint.ts +2 -4
- package/src/blueprints/planning/index.ts +1 -1
- package/src/blueprints/planning/planning-blueprint.test.ts +8 -6
- package/src/blueprints/planning/planning-blueprint.ts +2 -4
- package/src/blueprints/research/index.ts +1 -1
- package/src/blueprints/research/research-blueprint.ts +2 -4
- package/src/blueprints/testing.ts +2 -2
- package/src/blueprints/websearch/index.ts +2 -1
- package/src/blueprints/websearch/websearch-blueprint.ts +2 -4
- package/src/crud/graph.test.ts +4 -27
- package/src/crud/graph.ts +32 -40
- package/src/experimental/feed.test.ts +1 -1
- package/src/functions/agent/prompt.ts +17 -13
- package/src/functions/discord/fetch-messages.test.ts +1 -1
- package/src/functions/discord/fetch-messages.ts +1 -1
- package/src/functions/document/read.ts +4 -3
- package/src/functions/document/update.ts +7 -4
- package/src/functions/entity-extraction/entity-extraction.conversations.json +6597 -1
- package/src/functions/entity-extraction/entity-extraction.test.ts +7 -6
- package/src/functions/entity-extraction/entity-extraction.ts +46 -28
- package/src/functions/exa/mock.ts +1 -1
- package/src/functions/github/fetch-prs.ts +3 -2
- package/src/functions/linear/linear.test.ts +11 -10
- package/src/functions/linear/sync-issues.ts +7 -5
- package/src/functions/research/document-create.ts +7 -6
- package/src/functions/research/research-graph.ts +13 -11
- package/src/functions/research/research.conversations.json +1 -1
- package/src/functions/research/research.test.ts +24 -32
- package/src/functions/research/research.ts +8 -9
- package/src/functions/research/types.ts +1 -1
- package/src/functions/tasks/read.ts +4 -3
- package/src/functions/tasks/update.ts +4 -3
- package/src/index.ts +0 -1
- 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/sync.ts +38 -30
- package/src/testing/index.ts +1 -1
- package/src/{plugins.tsx → testing/plugins.tsx} +15 -15
- package/src/toolkits/AssistantToolkit.conversations.json +1 -1
- package/src/toolkits/AssistantToolkit.test.ts +17 -11
- package/src/toolkits/AssistantToolkit.ts +31 -8
- package/src/toolkits/SystemToolkit.ts +100 -32
- package/dist/types/src/plugins.d.ts +0 -19
- package/dist/types/src/plugins.d.ts.map +0 -1
- package/dist/types/src/testing/data/exa-search-1748337321991.d.ts.map +0 -1
- package/dist/types/src/testing/data/exa-search-1748337331526.d.ts.map +0 -1
- package/dist/types/src/testing/data/exa-search-1748337344119.d.ts.map +0 -1
- package/dist/types/src/testing/data/index.d.ts.map +0 -1
- /package/dist/types/src/{testing → functions/exa}/data/exa-search-1748337321991.d.ts +0 -0
- /package/dist/types/src/{testing → functions/exa}/data/exa-search-1748337331526.d.ts +0 -0
- /package/dist/types/src/{testing → functions/exa}/data/exa-search-1748337344119.d.ts +0 -0
- /package/dist/types/src/{testing → functions/exa}/data/index.d.ts +0 -0
- /package/src/{testing → functions/exa}/data/exa-search-1748337321991.ts +0 -0
- /package/src/{testing → functions/exa}/data/exa-search-1748337331526.ts +0 -0
- /package/src/{testing → functions/exa}/data/exa-search-1748337344119.ts +0 -0
- /package/src/{testing → functions/exa}/data/index.ts +0 -0
|
@@ -1,50 +1,48 @@
|
|
|
1
1
|
export declare namespace EntityExtraction {
|
|
2
2
|
const extract: import("@dxos/functions").FunctionDefinition<{
|
|
3
3
|
readonly instructions?: string | undefined;
|
|
4
|
-
readonly source: import("@dxos/echo/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
parentMessage?: string | undefined;
|
|
10
|
-
created: string;
|
|
11
|
-
sender: {
|
|
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: {
|
|
12
9
|
name?: string | undefined;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
28
|
-
image?: string | undefined;
|
|
29
|
-
website?: string | undefined;
|
|
30
|
-
location?: readonly [number, number, (number | undefined)?] | 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;
|
|
31
24
|
}> | undefined;
|
|
32
|
-
jobTitle?: string | undefined;
|
|
33
|
-
department?: string | undefined;
|
|
34
|
-
notes?: string | undefined;
|
|
35
|
-
emails?: {
|
|
25
|
+
readonly jobTitle?: string | undefined;
|
|
26
|
+
readonly department?: string | undefined;
|
|
27
|
+
readonly notes?: string | undefined;
|
|
28
|
+
readonly emails?: {
|
|
36
29
|
readonly value: string;
|
|
37
30
|
readonly label?: string | undefined;
|
|
38
31
|
}[] | undefined;
|
|
39
|
-
identities?: {
|
|
32
|
+
readonly identities?: {
|
|
40
33
|
readonly value: string;
|
|
41
34
|
readonly label?: string | undefined;
|
|
42
35
|
}[] | undefined;
|
|
43
|
-
phoneNumbers?: {
|
|
36
|
+
readonly phoneNumbers?: {
|
|
44
37
|
readonly value: string;
|
|
45
38
|
readonly label?: string | undefined;
|
|
46
39
|
}[] | undefined;
|
|
47
|
-
|
|
40
|
+
readonly fields?: {
|
|
41
|
+
readonly value: string;
|
|
42
|
+
readonly label: string;
|
|
43
|
+
readonly category?: string | undefined;
|
|
44
|
+
}[] | undefined;
|
|
45
|
+
readonly addresses?: {
|
|
48
46
|
readonly value: {
|
|
49
47
|
readonly street?: string | undefined;
|
|
50
48
|
readonly extended?: string | undefined;
|
|
@@ -56,78 +54,51 @@ export declare namespace EntityExtraction {
|
|
|
56
54
|
};
|
|
57
55
|
readonly label?: string | undefined;
|
|
58
56
|
}[] | undefined;
|
|
59
|
-
urls?: {
|
|
57
|
+
readonly urls?: {
|
|
60
58
|
readonly value: string;
|
|
61
59
|
readonly label?: string | undefined;
|
|
62
60
|
}[] | undefined;
|
|
63
|
-
birthday?: string | undefined;
|
|
64
|
-
|
|
61
|
+
readonly birthday?: string | undefined;
|
|
62
|
+
} & {
|
|
63
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
65
64
|
}> | undefined;
|
|
66
65
|
identityDid?: string | undefined;
|
|
67
66
|
identityKey?: string | undefined;
|
|
68
67
|
email?: string | undefined;
|
|
69
|
-
role?: "user" | "assistant" | "tool" | undefined;
|
|
70
68
|
};
|
|
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";
|
|
69
|
+
readonly blocks: ({
|
|
97
70
|
pending?: boolean | undefined;
|
|
71
|
+
text: string;
|
|
72
|
+
mimeType?: string | undefined;
|
|
98
73
|
disposition?: string | undefined;
|
|
74
|
+
_tag: "text";
|
|
99
75
|
} | {
|
|
100
|
-
_tag: "proposal";
|
|
101
|
-
text: string;
|
|
102
76
|
pending?: boolean | undefined;
|
|
103
|
-
} | {
|
|
104
77
|
_tag: "reasoning";
|
|
105
|
-
pending?: boolean | undefined;
|
|
106
78
|
reasoningText?: string | undefined;
|
|
107
79
|
redactedText?: string | undefined;
|
|
108
80
|
signature?: string | undefined;
|
|
109
81
|
} | {
|
|
110
|
-
|
|
111
|
-
_tag: "reference";
|
|
112
|
-
pending?: boolean | undefined;
|
|
113
|
-
} | {
|
|
114
|
-
_tag: "select";
|
|
115
|
-
pending?: boolean | undefined;
|
|
116
|
-
options: readonly string[];
|
|
117
|
-
} | {
|
|
118
|
-
_tag: "status";
|
|
82
|
+
name: string;
|
|
119
83
|
pending?: boolean | undefined;
|
|
120
|
-
|
|
84
|
+
_tag: "toolCall";
|
|
85
|
+
toolCallId: string;
|
|
86
|
+
input: string;
|
|
87
|
+
providerExecuted: boolean;
|
|
121
88
|
} | {
|
|
122
|
-
|
|
123
|
-
text: string;
|
|
89
|
+
name: string;
|
|
124
90
|
pending?: boolean | undefined;
|
|
91
|
+
_tag: "toolResult";
|
|
92
|
+
toolCallId: string;
|
|
93
|
+
providerExecuted: boolean;
|
|
94
|
+
result?: string | undefined;
|
|
95
|
+
error?: string | undefined;
|
|
125
96
|
} | {
|
|
126
|
-
model?: string | undefined;
|
|
127
|
-
_tag: "summary";
|
|
128
97
|
pending?: boolean | undefined;
|
|
129
98
|
mimeType?: string | undefined;
|
|
99
|
+
_tag: "summary";
|
|
130
100
|
message?: string | undefined;
|
|
101
|
+
model?: string | undefined;
|
|
131
102
|
usage?: {
|
|
132
103
|
readonly inputTokens?: number | undefined;
|
|
133
104
|
readonly outputTokens?: number | undefined;
|
|
@@ -137,38 +108,68 @@ export declare namespace EntityExtraction {
|
|
|
137
108
|
errors?: number | undefined;
|
|
138
109
|
duration?: number | undefined;
|
|
139
110
|
} | {
|
|
140
|
-
|
|
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;
|
|
141
134
|
text: string;
|
|
135
|
+
_tag: "transcript";
|
|
136
|
+
started: string;
|
|
137
|
+
} | {
|
|
142
138
|
pending?: boolean | undefined;
|
|
143
|
-
|
|
144
|
-
|
|
139
|
+
_tag: "status";
|
|
140
|
+
statusText: string;
|
|
145
141
|
} | {
|
|
146
|
-
_tag: "toolkit";
|
|
147
142
|
pending?: boolean | undefined;
|
|
143
|
+
text: string;
|
|
144
|
+
_tag: "suggestion";
|
|
148
145
|
} | {
|
|
149
|
-
name: string;
|
|
150
|
-
input: string;
|
|
151
|
-
_tag: "toolCall";
|
|
152
146
|
pending?: boolean | undefined;
|
|
153
|
-
|
|
154
|
-
|
|
147
|
+
_tag: "select";
|
|
148
|
+
options: string[];
|
|
155
149
|
} | {
|
|
156
|
-
|
|
157
|
-
_tag: "toolResult";
|
|
150
|
+
version: unknown;
|
|
158
151
|
pending?: boolean | undefined;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
result?: string | undefined;
|
|
162
|
-
error?: string | undefined;
|
|
152
|
+
_tag: "anchor";
|
|
153
|
+
objectId: string;
|
|
163
154
|
} | {
|
|
164
|
-
|
|
155
|
+
pending?: boolean | undefined;
|
|
165
156
|
text: string;
|
|
157
|
+
_tag: "proposal";
|
|
158
|
+
} | {
|
|
166
159
|
pending?: boolean | undefined;
|
|
167
|
-
|
|
160
|
+
_tag: "toolkit";
|
|
161
|
+
} | {
|
|
162
|
+
pending?: boolean | undefined;
|
|
163
|
+
disposition?: string | undefined;
|
|
164
|
+
_tag: "json";
|
|
165
|
+
data: string;
|
|
168
166
|
})[];
|
|
167
|
+
readonly properties?: {
|
|
168
|
+
[x: string]: any;
|
|
169
|
+
} | undefined;
|
|
169
170
|
};
|
|
170
171
|
}, {
|
|
171
|
-
readonly entities?: readonly
|
|
172
|
+
readonly entities?: readonly any[] | undefined;
|
|
172
173
|
}, import("@dxos/functions").FunctionServices>;
|
|
173
174
|
}
|
|
174
175
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-prs.d.ts","sourceRoot":"","sources":["../../../../../src/functions/github/fetch-prs.ts"],"names":[],"mappings":";;;;AAUA,
|
|
1
|
+
{"version":3,"file":"fetch-prs.d.ts","sourceRoot":"","sources":["../../../../../src/functions/github/fetch-prs.ts"],"names":[],"mappings":";;;;AAUA,wBAoBG"}
|
|
@@ -2,7 +2,7 @@ export declare namespace Linear {
|
|
|
2
2
|
const sync: import("@dxos/functions").FunctionDefinition<{
|
|
3
3
|
readonly team: string;
|
|
4
4
|
}, {
|
|
5
|
-
objects: import("@dxos/echo/Obj").
|
|
5
|
+
objects: import("@dxos/echo/Obj").Unknown[];
|
|
6
6
|
syncComplete: boolean;
|
|
7
7
|
}, import("@dxos/functions").FunctionServices>;
|
|
8
8
|
}
|
|
@@ -5,7 +5,7 @@ export declare const LINEAR_UPDATED_AT_KEY = "linear.app/updatedAt";
|
|
|
5
5
|
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
6
6
|
readonly team: string;
|
|
7
7
|
}, {
|
|
8
|
-
objects: Obj.
|
|
8
|
+
objects: Obj.Unknown[];
|
|
9
9
|
syncComplete: boolean;
|
|
10
10
|
}, import("@dxos/functions").FunctionServices>;
|
|
11
11
|
export default _default;
|
|
@@ -1 +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;
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-create.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/document-create.ts"],"names":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"document-create.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/document-create.ts"],"names":[],"mappings":";;;;;;;AAgBA,wBA2DG"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
2
|
import * as Layer from 'effect/Layer';
|
|
3
3
|
import * as Schema from 'effect/Schema';
|
|
4
|
-
import {
|
|
4
|
+
import { Type } from '@dxos/echo';
|
|
5
|
+
import { Database } from '@dxos/echo';
|
|
5
6
|
import { Queue } from '@dxos/echo-db';
|
|
6
|
-
import { ContextQueueService,
|
|
7
|
+
import { ContextQueueService, QueueService } from '@dxos/functions';
|
|
7
8
|
/**
|
|
8
9
|
* Container for a set of ephemeral research results.
|
|
9
10
|
*/
|
|
10
|
-
export declare const ResearchGraph: Type.
|
|
11
|
-
queue:
|
|
12
|
-
}
|
|
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>;
|
|
13
14
|
export interface ResearchGraph extends Schema.Schema.Type<typeof ResearchGraph> {
|
|
14
15
|
}
|
|
15
|
-
export declare const queryResearchGraph: () => Effect.Effect<ResearchGraph | undefined, never,
|
|
16
|
-
export declare const createResearchGraph: () => Effect.Effect<ResearchGraph, never,
|
|
17
|
-
export declare const contextQueueLayerFromResearchGraph: Layer.Layer<ContextQueueService, import("@dxos/echo").ObjectNotFoundError,
|
|
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>;
|
|
18
19
|
//# sourceMappingURL=research-graph.d.ts.map
|
|
@@ -1 +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,
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"research.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/research.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"research.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/research.ts"],"names":[],"mappings":"AAqCA;;GAEG;;;;;;;;;;AACH,wBAyHG"}
|
|
@@ -1 +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,
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../../../../src/functions/tasks/read.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../../../../src/functions/tasks/read.ts"],"names":[],"mappings":";;;;;AAYA,wBAsBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../src/functions/tasks/update.ts"],"names":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../src/functions/tasks/update.ts"],"names":[],"mappings":";;;;;;;AAcA,wBAsCG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Blueprint } from '@dxos/blueprints';
|
|
3
|
+
import { Database, Obj, Ref } from '@dxos/echo';
|
|
4
|
+
import { QueueService } from '@dxos/functions';
|
|
5
|
+
import { Initiative } from './InitiativeSchema';
|
|
6
|
+
export { Initiative, PLAN_ARTIFACT_NAME, SPEC_ARTIFACT_NAME } from './InitiativeSchema';
|
|
7
|
+
export type { Initiative as InitiativeType } from './InitiativeSchema';
|
|
8
|
+
export declare const make: (props: Omit<Obj.MakeProps<typeof Initiative>, "artifacts" | "chat"> & Partial<Pick<Obj.MakeProps<typeof Initiative>, "artifacts">> & {
|
|
9
|
+
spec: string;
|
|
10
|
+
plan?: string;
|
|
11
|
+
blueprints?: Ref.Ref<Blueprint.Blueprint>[];
|
|
12
|
+
contextObjects?: Ref.Ref<Obj.Any>[];
|
|
13
|
+
}) => Effect.Effect<Initiative, never, QueueService | Database.Service>;
|
|
14
|
+
export declare const functions: (import("@dxos/functions").FunctionDefinition<{}, {
|
|
15
|
+
readonly spec: {
|
|
16
|
+
readonly content: string;
|
|
17
|
+
readonly dxn: string;
|
|
18
|
+
};
|
|
19
|
+
readonly artifacts: readonly {
|
|
20
|
+
readonly name: string;
|
|
21
|
+
readonly type: string;
|
|
22
|
+
readonly dxn: string;
|
|
23
|
+
}[];
|
|
24
|
+
readonly plan: {
|
|
25
|
+
readonly content: string;
|
|
26
|
+
readonly dxn: string;
|
|
27
|
+
};
|
|
28
|
+
}, import("@dxos/functions").FunctionServices> | import("@dxos/functions").FunctionDefinition<{
|
|
29
|
+
readonly name: string;
|
|
30
|
+
readonly content: string;
|
|
31
|
+
readonly create?: boolean | undefined;
|
|
32
|
+
}, void, import("@dxos/functions").FunctionServices> | import("@dxos/functions").FunctionDefinition<{
|
|
33
|
+
readonly prompt?: string | undefined;
|
|
34
|
+
readonly initiative: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
35
|
+
readonly name: string;
|
|
36
|
+
readonly artifacts: readonly {
|
|
37
|
+
readonly name: string;
|
|
38
|
+
readonly data: import("@dxos/echo/internal").Ref<any>;
|
|
39
|
+
}[];
|
|
40
|
+
readonly chat?: import("@dxos/echo/internal").Ref<import("@dxos/echo-db").Queue<import("@dxos/echo/Entity").Unknown>> | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
readonly event?: {
|
|
43
|
+
from: string;
|
|
44
|
+
to: string;
|
|
45
|
+
body: string;
|
|
46
|
+
created: string;
|
|
47
|
+
subject: string;
|
|
48
|
+
} | {
|
|
49
|
+
queue: string;
|
|
50
|
+
item: any;
|
|
51
|
+
cursor: string;
|
|
52
|
+
} | {
|
|
53
|
+
type: string;
|
|
54
|
+
subject: import("@dxos/echo/internal").Ref<any>;
|
|
55
|
+
changedObjectId?: string | undefined;
|
|
56
|
+
} | {
|
|
57
|
+
tick: number;
|
|
58
|
+
} | {
|
|
59
|
+
url: string;
|
|
60
|
+
method: "GET" | "POST";
|
|
61
|
+
headers: {
|
|
62
|
+
readonly [x: string]: string;
|
|
63
|
+
};
|
|
64
|
+
bodyText: string;
|
|
65
|
+
} | undefined;
|
|
66
|
+
}, void, import("@dxos/functions").FunctionServices>)[];
|
|
67
|
+
export declare const InitiativeBlueprint: Obj.Obj<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
68
|
+
readonly description?: string | undefined;
|
|
69
|
+
readonly name: string;
|
|
70
|
+
readonly key: string;
|
|
71
|
+
readonly instructions: {
|
|
72
|
+
source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
73
|
+
readonly content: string;
|
|
74
|
+
}>;
|
|
75
|
+
inputs?: {
|
|
76
|
+
function?: string | undefined;
|
|
77
|
+
name: string;
|
|
78
|
+
kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
79
|
+
default?: any;
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
};
|
|
82
|
+
readonly tools: readonly (string & import("effect/Brand").Brand<"ToolId">)[];
|
|
83
|
+
}>;
|
|
84
|
+
//# sourceMappingURL=Initiative.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Initiative.d.ts","sourceRoot":"","sources":["../../../../src/initiative/Initiative.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAY,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAM/C,OAAO,EAAE,UAAU,EAA0C,MAAM,oBAAoB,CAAC;AAExF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxF,YAAY,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEvE,eAAO,MAAM,IAAI,GACf,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,UAAU,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC,GACjE,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,UAAU,CAAC,EAAE,WAAW,CAAC,CAAC,GAAG;IAC7D,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC;IAC5C,cAAc,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;CACrC,KACF,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,KAAK,EAAE,YAAY,GAAG,QAAQ,CAAC,OAAO,CA+B/D,CAAC;AAEL,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA8B,CAAC;AAErD,eAAO,MAAM,mBAAmB;;;;;;;;cAbD,CAAC;oBAAwB,CAAC;;gBACjB,CAAA;mBAIJ,CAAC;;;;EA2CnC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
import { Type } from '@dxos/echo';
|
|
3
|
+
import { Queue } from '@dxos/echo-db';
|
|
4
|
+
/**
|
|
5
|
+
* Initiative schema definition.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Initiative: Type.Obj<{
|
|
8
|
+
readonly name: string;
|
|
9
|
+
readonly artifacts: readonly {
|
|
10
|
+
readonly name: string;
|
|
11
|
+
readonly data: import("@dxos/echo/internal").Ref<any>;
|
|
12
|
+
}[];
|
|
13
|
+
readonly chat?: import("@dxos/echo/internal").Ref<Queue<import("@dxos/echo/Entity").Unknown>> | undefined;
|
|
14
|
+
}, Schema.Struct.Fields>;
|
|
15
|
+
export interface Initiative extends Schema.Schema.Type<typeof Initiative> {
|
|
16
|
+
}
|
|
17
|
+
export declare const SPEC_ARTIFACT_NAME = "Spec";
|
|
18
|
+
export declare const PLAN_ARTIFACT_NAME = "Plan";
|
|
19
|
+
//# sourceMappingURL=InitiativeSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InitiativeSchema.d.ts","sourceRoot":"","sources":["../../../../src/initiative/InitiativeSchema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;wBAmBtB,CAAC;AACF,MAAM,WAAW,UAAW,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC;CAAG;AAE5E,eAAO,MAAM,kBAAkB,SAAS,CAAC;AAEzC,eAAO,MAAM,kBAAkB,SAAS,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
|
+
readonly prompt?: string | undefined;
|
|
3
|
+
readonly initiative: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
4
|
+
readonly name: string;
|
|
5
|
+
readonly artifacts: readonly {
|
|
6
|
+
readonly name: string;
|
|
7
|
+
readonly data: import("@dxos/echo/internal").Ref<any>;
|
|
8
|
+
}[];
|
|
9
|
+
readonly chat?: import("@dxos/echo/internal").Ref<import("@dxos/echo-db").Queue<import("@dxos/echo/Entity").Unknown>> | undefined;
|
|
10
|
+
}>;
|
|
11
|
+
readonly event?: {
|
|
12
|
+
from: string;
|
|
13
|
+
to: string;
|
|
14
|
+
body: string;
|
|
15
|
+
created: string;
|
|
16
|
+
subject: string;
|
|
17
|
+
} | {
|
|
18
|
+
queue: string;
|
|
19
|
+
item: any;
|
|
20
|
+
cursor: string;
|
|
21
|
+
} | {
|
|
22
|
+
type: string;
|
|
23
|
+
subject: import("@dxos/echo/internal").Ref<any>;
|
|
24
|
+
changedObjectId?: string | undefined;
|
|
25
|
+
} | {
|
|
26
|
+
tick: number;
|
|
27
|
+
} | {
|
|
28
|
+
url: string;
|
|
29
|
+
method: "GET" | "POST";
|
|
30
|
+
headers: {
|
|
31
|
+
readonly [x: string]: string;
|
|
32
|
+
};
|
|
33
|
+
bodyText: string;
|
|
34
|
+
} | undefined;
|
|
35
|
+
}, void, import("@dxos/functions").FunctionServices>;
|
|
36
|
+
export default _default;
|
|
37
|
+
//# sourceMappingURL=agent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../../src/initiative/functions/agent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,wBAyCG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{}, {
|
|
2
|
+
readonly spec: {
|
|
3
|
+
readonly content: string;
|
|
4
|
+
readonly dxn: string;
|
|
5
|
+
};
|
|
6
|
+
readonly artifacts: readonly {
|
|
7
|
+
readonly name: string;
|
|
8
|
+
readonly type: string;
|
|
9
|
+
readonly dxn: string;
|
|
10
|
+
}[];
|
|
11
|
+
readonly plan: {
|
|
12
|
+
readonly content: string;
|
|
13
|
+
readonly dxn: string;
|
|
14
|
+
};
|
|
15
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=getContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getContext.d.ts","sourceRoot":"","sources":["../../../../../src/initiative/functions/getContext.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAcA,wBA2DG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/initiative/functions/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
|
+
readonly name: string;
|
|
3
|
+
readonly content: string;
|
|
4
|
+
readonly create?: boolean | undefined;
|
|
5
|
+
}, void, import("@dxos/functions").FunctionServices>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../src/initiative/functions/update.ts"],"names":[],"mappings":";;;;;AAcA,wBAgDG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/initiative/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initiative.test.d.ts","sourceRoot":"","sources":["../../../../src/initiative/initiative.test.ts"],"names":[],"mappings":""}
|