@dxos/assistant-toolkit 0.8.4-main.7ace549 → 0.8.4-main.9735255
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 +366 -264
- 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 +366 -264
- 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 +13 -14
- 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 +13 -14
- 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 +120 -118
- package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts.map +1 -1
- package/dist/types/src/functions/entity-extraction/index.d.ts +120 -118
- 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 +8 -7
- 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/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 +21 -23
- 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 +38 -19
- 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 +11 -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/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} +13 -13
- 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
|
@@ -2,49 +2,47 @@ export declare namespace EntityExtraction {
|
|
|
2
2
|
const extract: import("@dxos/functions").FunctionDefinition<{
|
|
3
3
|
readonly instructions?: string | undefined;
|
|
4
4
|
readonly source: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
website?: string | undefined;
|
|
25
|
-
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
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;
|
|
26
24
|
}> | undefined;
|
|
27
|
-
jobTitle?: string | undefined;
|
|
28
|
-
department?: string | undefined;
|
|
29
|
-
notes?: string | undefined;
|
|
30
|
-
emails?: {
|
|
25
|
+
readonly jobTitle?: string | undefined;
|
|
26
|
+
readonly department?: string | undefined;
|
|
27
|
+
readonly notes?: string | undefined;
|
|
28
|
+
readonly emails?: readonly {
|
|
31
29
|
readonly value: string;
|
|
32
30
|
readonly label?: string | undefined;
|
|
33
31
|
}[] | undefined;
|
|
34
|
-
identities?: {
|
|
32
|
+
readonly identities?: readonly {
|
|
35
33
|
readonly value: string;
|
|
36
34
|
readonly label?: string | undefined;
|
|
37
35
|
}[] | undefined;
|
|
38
|
-
phoneNumbers?: {
|
|
36
|
+
readonly phoneNumbers?: readonly {
|
|
39
37
|
readonly value: string;
|
|
40
38
|
readonly label?: string | undefined;
|
|
41
39
|
}[] | undefined;
|
|
42
|
-
fields?: {
|
|
40
|
+
readonly fields?: readonly {
|
|
43
41
|
readonly value: string;
|
|
44
42
|
readonly label: string;
|
|
45
43
|
readonly category?: string | undefined;
|
|
46
44
|
}[] | undefined;
|
|
47
|
-
addresses?: {
|
|
45
|
+
readonly addresses?: readonly {
|
|
48
46
|
readonly value: {
|
|
49
47
|
readonly street?: string | undefined;
|
|
50
48
|
readonly extended?: string | undefined;
|
|
@@ -56,118 +54,122 @@ export declare namespace EntityExtraction {
|
|
|
56
54
|
};
|
|
57
55
|
readonly label?: string | undefined;
|
|
58
56
|
}[] | undefined;
|
|
59
|
-
urls?: {
|
|
57
|
+
readonly urls?: readonly {
|
|
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
|
-
identityDid?: string | undefined;
|
|
67
|
-
identityKey?: string | undefined;
|
|
68
|
-
email?: string | undefined;
|
|
65
|
+
readonly identityDid?: string | undefined;
|
|
66
|
+
readonly identityKey?: string | undefined;
|
|
67
|
+
readonly email?: string | undefined;
|
|
69
68
|
};
|
|
70
|
-
blocks: ({
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
75
|
} | {
|
|
76
|
-
|
|
77
|
-
_tag: "
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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
81
|
} | {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
url: string;
|
|
89
|
-
} | undefined;
|
|
90
|
-
id?: string | undefined;
|
|
91
|
-
_tag: "image";
|
|
92
|
-
pending?: boolean | undefined;
|
|
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;
|
|
93
88
|
} | {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
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;
|
|
98
96
|
} | {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
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;
|
|
102
110
|
} | {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
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";
|
|
108
122
|
} | {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
123
|
+
readonly name?: string | undefined;
|
|
124
|
+
readonly pending?: boolean | undefined;
|
|
125
|
+
readonly _tag: "file";
|
|
126
|
+
readonly mediaType?: string | undefined;
|
|
127
|
+
readonly url: string;
|
|
112
128
|
} | {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
129
|
+
readonly pending?: boolean | undefined;
|
|
130
|
+
readonly _tag: "reference";
|
|
131
|
+
readonly reference: import("@dxos/echo/internal").Ref<any>;
|
|
116
132
|
} | {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
133
|
+
readonly pending?: boolean | undefined;
|
|
134
|
+
readonly text: string;
|
|
135
|
+
readonly _tag: "transcript";
|
|
136
|
+
readonly started: string;
|
|
120
137
|
} | {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
138
|
+
readonly pending?: boolean | undefined;
|
|
139
|
+
readonly _tag: "status";
|
|
140
|
+
readonly statusText: string;
|
|
124
141
|
} | {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
mimeType?: string | undefined;
|
|
129
|
-
message?: string | undefined;
|
|
130
|
-
usage?: {
|
|
131
|
-
readonly inputTokens?: number | undefined;
|
|
132
|
-
readonly outputTokens?: number | undefined;
|
|
133
|
-
readonly totalTokens?: number | undefined;
|
|
134
|
-
} | undefined;
|
|
135
|
-
toolCalls?: number | undefined;
|
|
136
|
-
errors?: number | undefined;
|
|
137
|
-
duration?: number | undefined;
|
|
142
|
+
readonly pending?: boolean | undefined;
|
|
143
|
+
readonly text: string;
|
|
144
|
+
readonly _tag: "suggestion";
|
|
138
145
|
} | {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
disposition?: string | undefined;
|
|
143
|
-
mimeType?: string | undefined;
|
|
146
|
+
readonly pending?: boolean | undefined;
|
|
147
|
+
readonly _tag: "select";
|
|
148
|
+
readonly options: string[];
|
|
144
149
|
} | {
|
|
145
|
-
|
|
146
|
-
pending?: boolean | undefined;
|
|
150
|
+
readonly version: unknown;
|
|
151
|
+
readonly pending?: boolean | undefined;
|
|
152
|
+
readonly _tag: "anchor";
|
|
153
|
+
readonly objectId: string;
|
|
147
154
|
} | {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
_tag: "
|
|
151
|
-
pending?: boolean | undefined;
|
|
152
|
-
toolCallId: string;
|
|
153
|
-
providerExecuted: boolean;
|
|
155
|
+
readonly pending?: boolean | undefined;
|
|
156
|
+
readonly text: string;
|
|
157
|
+
readonly _tag: "proposal";
|
|
154
158
|
} | {
|
|
155
|
-
|
|
156
|
-
_tag: "
|
|
157
|
-
pending?: boolean | undefined;
|
|
158
|
-
toolCallId: string;
|
|
159
|
-
providerExecuted: boolean;
|
|
160
|
-
result?: string | undefined;
|
|
161
|
-
error?: string | undefined;
|
|
159
|
+
readonly pending?: boolean | undefined;
|
|
160
|
+
readonly _tag: "toolkit";
|
|
162
161
|
} | {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
162
|
+
readonly pending?: boolean | undefined;
|
|
163
|
+
readonly disposition?: string | undefined;
|
|
164
|
+
readonly _tag: "json";
|
|
165
|
+
readonly data: string;
|
|
167
166
|
})[];
|
|
167
|
+
readonly properties?: {
|
|
168
|
+
readonly [x: string]: any;
|
|
169
|
+
} | undefined;
|
|
168
170
|
};
|
|
169
171
|
}, {
|
|
170
|
-
readonly entities?: readonly
|
|
172
|
+
readonly entities?: readonly any[] | undefined;
|
|
171
173
|
}, import("@dxos/functions").FunctionServices>;
|
|
172
174
|
}
|
|
173
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;;;;;;;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 @@
|
|
|
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"}
|
|
@@ -2,17 +2,18 @@ import * as Effect from 'effect/Effect';
|
|
|
2
2
|
import * as Layer from 'effect/Layer';
|
|
3
3
|
import * as Schema from 'effect/Schema';
|
|
4
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: import("@dxos/echo/internal").
|
|
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,EAAmB,IAAI,EAAE,MAAM,YAAY,CAAC;
|
|
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":"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
|
+
readonly from: string;
|
|
44
|
+
readonly to: string;
|
|
45
|
+
readonly body: string;
|
|
46
|
+
readonly created: string;
|
|
47
|
+
readonly subject: string;
|
|
48
|
+
} | {
|
|
49
|
+
readonly queue: string;
|
|
50
|
+
readonly item: any;
|
|
51
|
+
readonly cursor: string;
|
|
52
|
+
} | {
|
|
53
|
+
readonly type: string;
|
|
54
|
+
readonly subject: import("@dxos/echo/internal").Ref<any>;
|
|
55
|
+
readonly changedObjectId?: string | undefined;
|
|
56
|
+
} | {
|
|
57
|
+
readonly tick: number;
|
|
58
|
+
} | {
|
|
59
|
+
readonly url: string;
|
|
60
|
+
readonly method: "GET" | "POST";
|
|
61
|
+
readonly headers: {
|
|
62
|
+
readonly [x: string]: string;
|
|
63
|
+
};
|
|
64
|
+
readonly 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
|
+
readonly source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
73
|
+
readonly content: string;
|
|
74
|
+
}>;
|
|
75
|
+
readonly inputs?: readonly {
|
|
76
|
+
readonly function?: string | undefined;
|
|
77
|
+
readonly name: string;
|
|
78
|
+
readonly kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
79
|
+
readonly 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;;;;;;;;uBAZF,CAAC;6BACzB,CAAN;;yBAGoB,CAAC;4BAQD,CAAC;;;;EAmCnB,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
|
+
readonly from: string;
|
|
13
|
+
readonly to: string;
|
|
14
|
+
readonly body: string;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly subject: string;
|
|
17
|
+
} | {
|
|
18
|
+
readonly queue: string;
|
|
19
|
+
readonly item: any;
|
|
20
|
+
readonly cursor: string;
|
|
21
|
+
} | {
|
|
22
|
+
readonly type: string;
|
|
23
|
+
readonly subject: import("@dxos/echo/internal").Ref<any>;
|
|
24
|
+
readonly changedObjectId?: string | undefined;
|
|
25
|
+
} | {
|
|
26
|
+
readonly tick: number;
|
|
27
|
+
} | {
|
|
28
|
+
readonly url: string;
|
|
29
|
+
readonly method: "GET" | "POST";
|
|
30
|
+
readonly headers: {
|
|
31
|
+
readonly [x: string]: string;
|
|
32
|
+
};
|
|
33
|
+
readonly 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":""}
|