@ai-matrx/chat 0.4.20 → 0.4.21
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/CHANGELOG.md +7 -0
- package/dist/agents/components/memory/hooks/useAgentMemories.d.ts +6 -6
- package/dist/agents/components/messages-display/user/AgentUserMessage.js +5 -2
- package/dist/agents/redux/tools/tools.selectors.d.ts +84 -84
- package/dist/agents/redux/tools/tools.thunks.d.ts +14 -14
- package/dist/host/db-types.d.ts +3 -51998
- package/dist/ui/mandates-storage/mandateStorage.d.ts +276 -276
- package/dist/ui/mandates-storage/shortcutStorage.d.ts +970 -970
- package/dist/utils/client-lazy.d.ts +1 -16
- package/dist/utils/client-lazy.js +1 -22
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @ai-matrx/chat
|
|
2
2
|
|
|
3
|
+
## 0.4.21
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/chat/v0.4.20..npm/chat/v0.4.21 -- apps/shared/chat`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
3
9
|
## 0.4.20 — The credential capture card moves into the package
|
|
4
10
|
|
|
5
11
|
- New `@ai-matrx/chat/agents/ui-first-tools/ui/CredentialCaptureCard`: the one card for an agent
|
|
@@ -1616,3 +1622,4 @@ First release. Phases 0 and 1 of
|
|
|
1616
1622
|
declared in the export map, so importing one fails honestly instead of resolving to a
|
|
1617
1623
|
half-built screen. `./native` is reserved for the first real React Native consumer (C25).
|
|
1618
1624
|
|
|
1625
|
+
|
|
@@ -19,7 +19,7 @@ export declare function useAgentMemories(): {
|
|
|
19
19
|
content: string;
|
|
20
20
|
created_at: string;
|
|
21
21
|
created_by: string | null;
|
|
22
|
-
custom_fields: import("
|
|
22
|
+
custom_fields: import("@ai-matrx/data/types").Json;
|
|
23
23
|
deleted_at: string | null;
|
|
24
24
|
expires_at: string | null;
|
|
25
25
|
id: string;
|
|
@@ -27,14 +27,14 @@ export declare function useAgentMemories(): {
|
|
|
27
27
|
key: string;
|
|
28
28
|
last_accessed_at: string | null;
|
|
29
29
|
memory_type: string;
|
|
30
|
-
metadata: import("
|
|
30
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
31
31
|
organization_id: string;
|
|
32
32
|
scope: string;
|
|
33
33
|
scope_id: string | null;
|
|
34
34
|
updated_at: string;
|
|
35
35
|
updated_by: string | null;
|
|
36
36
|
version: number;
|
|
37
|
-
visibility: import("
|
|
37
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
38
38
|
}[];
|
|
39
39
|
totalCount: number;
|
|
40
40
|
sortMode: MemorySortMode;
|
|
@@ -49,7 +49,7 @@ export declare function useAgentMemories(): {
|
|
|
49
49
|
content: string;
|
|
50
50
|
created_at: string;
|
|
51
51
|
created_by: string | null;
|
|
52
|
-
custom_fields: import("
|
|
52
|
+
custom_fields: import("@ai-matrx/data/types").Json;
|
|
53
53
|
deleted_at: string | null;
|
|
54
54
|
expires_at: string | null;
|
|
55
55
|
id: string;
|
|
@@ -57,14 +57,14 @@ export declare function useAgentMemories(): {
|
|
|
57
57
|
key: string;
|
|
58
58
|
last_accessed_at: string | null;
|
|
59
59
|
memory_type: string;
|
|
60
|
-
metadata: import("
|
|
60
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
61
61
|
organization_id: string;
|
|
62
62
|
scope: string;
|
|
63
63
|
scope_id: string | null;
|
|
64
64
|
updated_at: string;
|
|
65
65
|
updated_by: string | null;
|
|
66
66
|
version: number;
|
|
67
|
-
visibility: import("
|
|
67
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
68
68
|
} | null;
|
|
69
69
|
saving: boolean;
|
|
70
70
|
deletingId: string | null;
|
|
@@ -262,7 +262,7 @@ function AgentUserMessage({
|
|
|
262
262
|
}
|
|
263
263
|
);
|
|
264
264
|
}
|
|
265
|
-
const containerMargin = compact ? "" : "ml-12";
|
|
265
|
+
const containerMargin = compact || compactUserMessage ? "" : "ml-12";
|
|
266
266
|
return /* @__PURE__ */ jsxs(
|
|
267
267
|
"div",
|
|
268
268
|
{
|
|
@@ -287,7 +287,10 @@ function AgentUserMessage({
|
|
|
287
287
|
/* @__PURE__ */ jsx(
|
|
288
288
|
"div",
|
|
289
289
|
{
|
|
290
|
-
className: compactUserMessage ?
|
|
290
|
+
className: compactUserMessage ? (
|
|
291
|
+
// Tight: no inset from the left, and the markdown paragraph's own margins dropped.
|
|
292
|
+
"bg-muted rounded-md px-3 py-2 [&_.math-content-wrapper]:my-0 [&_p:last-child]:mb-0"
|
|
293
|
+
) : "bg-muted border border-border rounded-lg px-2 py-2",
|
|
291
294
|
"data-user-message-style": compactUserMessage ? "compact" : "card",
|
|
292
295
|
children: /* @__PURE__ */ jsxs("div", { className: "relative min-w-0", children: [
|
|
293
296
|
/* @__PURE__ */ jsxs(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChatRootState } from "../../../store/root-state.js";
|
|
2
2
|
export declare const selectAllTools: (state: ChatRootState) => {
|
|
3
3
|
admin_only: boolean;
|
|
4
|
-
annotations: import("
|
|
4
|
+
annotations: import("@ai-matrx/data/types").Json | null;
|
|
5
5
|
category: string | null;
|
|
6
6
|
created_at: string;
|
|
7
7
|
created_by: string | null;
|
|
@@ -9,22 +9,22 @@ export declare const selectAllTools: (state: ChatRootState) => {
|
|
|
9
9
|
dedupe_exempt: boolean;
|
|
10
10
|
deleted_at: string | null;
|
|
11
11
|
description: string;
|
|
12
|
-
gating: import("
|
|
12
|
+
gating: import("@ai-matrx/data/types").Json;
|
|
13
13
|
icon: string | null;
|
|
14
14
|
id: string;
|
|
15
15
|
is_active: boolean;
|
|
16
16
|
managed_by_server_id: string | null;
|
|
17
17
|
max_client_wait_seconds: number | null;
|
|
18
|
-
metadata: import("
|
|
18
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
19
19
|
name: string;
|
|
20
20
|
organization_id: string;
|
|
21
|
-
output_schema: import("
|
|
22
|
-
parameters: import("
|
|
21
|
+
output_schema: import("@ai-matrx/data/types").Json | null;
|
|
22
|
+
parameters: import("@ai-matrx/data/types").Json;
|
|
23
23
|
published_to_web: boolean;
|
|
24
24
|
published_to_web_at: string | null;
|
|
25
25
|
published_to_web_by: string | null;
|
|
26
26
|
semver: string | null;
|
|
27
|
-
shown_to: import("
|
|
27
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
28
28
|
side_effect_class: string | null;
|
|
29
29
|
source_kind: string;
|
|
30
30
|
tags: string[] | null;
|
|
@@ -36,14 +36,14 @@ export declare const selectAllTools: (state: ChatRootState) => {
|
|
|
36
36
|
updated_by_tier: string | null;
|
|
37
37
|
validation_exempt: boolean;
|
|
38
38
|
version: number;
|
|
39
|
-
visibility: import("
|
|
39
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
40
40
|
}[];
|
|
41
41
|
export declare const selectToolsStatus: (state: ChatRootState) => "failed" | "idle" | "loading" | "succeeded";
|
|
42
42
|
export declare const selectToolsError: (state: ChatRootState) => string | null;
|
|
43
43
|
export declare const selectToolsReady: (state: ChatRootState) => boolean;
|
|
44
44
|
export declare const selectToolIdentityMap: (state: ChatRootState) => Record<string, {
|
|
45
45
|
admin_only: boolean;
|
|
46
|
-
annotations: import("
|
|
46
|
+
annotations: import("@ai-matrx/data/types").Json | null;
|
|
47
47
|
category: string | null;
|
|
48
48
|
created_at: string;
|
|
49
49
|
created_by: string | null;
|
|
@@ -51,22 +51,22 @@ export declare const selectToolIdentityMap: (state: ChatRootState) => Record<str
|
|
|
51
51
|
dedupe_exempt: boolean;
|
|
52
52
|
deleted_at: string | null;
|
|
53
53
|
description: string;
|
|
54
|
-
gating: import("
|
|
54
|
+
gating: import("@ai-matrx/data/types").Json;
|
|
55
55
|
icon: string | null;
|
|
56
56
|
id: string;
|
|
57
57
|
is_active: boolean;
|
|
58
58
|
managed_by_server_id: string | null;
|
|
59
59
|
max_client_wait_seconds: number | null;
|
|
60
|
-
metadata: import("
|
|
60
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
61
61
|
name: string;
|
|
62
62
|
organization_id: string;
|
|
63
|
-
output_schema: import("
|
|
64
|
-
parameters: import("
|
|
63
|
+
output_schema: import("@ai-matrx/data/types").Json | null;
|
|
64
|
+
parameters: import("@ai-matrx/data/types").Json;
|
|
65
65
|
published_to_web: boolean;
|
|
66
66
|
published_to_web_at: string | null;
|
|
67
67
|
published_to_web_by: string | null;
|
|
68
68
|
semver: string | null;
|
|
69
|
-
shown_to: import("
|
|
69
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
70
70
|
side_effect_class: string | null;
|
|
71
71
|
source_kind: string;
|
|
72
72
|
tags: string[] | null;
|
|
@@ -78,7 +78,7 @@ export declare const selectToolIdentityMap: (state: ChatRootState) => Record<str
|
|
|
78
78
|
updated_by_tier: string | null;
|
|
79
79
|
validation_exempt: boolean;
|
|
80
80
|
version: number;
|
|
81
|
-
visibility: import("
|
|
81
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
82
82
|
}>;
|
|
83
83
|
/** Factory because many references can resolve different tool IDs at once. */
|
|
84
84
|
export declare const makeSelectToolById: () => ((state: {
|
|
@@ -127,7 +127,7 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
127
127
|
hostConversations: import("../execution-system/host-conversations/host-conversations.slice.js").HostConversationsState;
|
|
128
128
|
} & import("../../../store/root-state.js").ChatHostReadSlices, toolId: string) => {
|
|
129
129
|
admin_only: boolean;
|
|
130
|
-
annotations: import("
|
|
130
|
+
annotations: import("@ai-matrx/data/types").Json | null;
|
|
131
131
|
category: string | null;
|
|
132
132
|
created_at: string;
|
|
133
133
|
created_by: string | null;
|
|
@@ -135,22 +135,22 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
135
135
|
dedupe_exempt: boolean;
|
|
136
136
|
deleted_at: string | null;
|
|
137
137
|
description: string;
|
|
138
|
-
gating: import("
|
|
138
|
+
gating: import("@ai-matrx/data/types").Json;
|
|
139
139
|
icon: string | null;
|
|
140
140
|
id: string;
|
|
141
141
|
is_active: boolean;
|
|
142
142
|
managed_by_server_id: string | null;
|
|
143
143
|
max_client_wait_seconds: number | null;
|
|
144
|
-
metadata: import("
|
|
144
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
145
145
|
name: string;
|
|
146
146
|
organization_id: string;
|
|
147
|
-
output_schema: import("
|
|
148
|
-
parameters: import("
|
|
147
|
+
output_schema: import("@ai-matrx/data/types").Json | null;
|
|
148
|
+
parameters: import("@ai-matrx/data/types").Json;
|
|
149
149
|
published_to_web: boolean;
|
|
150
150
|
published_to_web_at: string | null;
|
|
151
151
|
published_to_web_by: string | null;
|
|
152
152
|
semver: string | null;
|
|
153
|
-
shown_to: import("
|
|
153
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
154
154
|
side_effect_class: string | null;
|
|
155
155
|
source_kind: string;
|
|
156
156
|
tags: string[] | null;
|
|
@@ -162,7 +162,7 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
162
162
|
updated_by_tier: string | null;
|
|
163
163
|
validation_exempt: boolean;
|
|
164
164
|
version: number;
|
|
165
|
-
visibility: import("
|
|
165
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
166
166
|
}) & {
|
|
167
167
|
clearCache: () => void;
|
|
168
168
|
resultsCount: () => number;
|
|
@@ -170,7 +170,7 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
170
170
|
} & {
|
|
171
171
|
resultFunc: (resultFuncArgs_0: {
|
|
172
172
|
admin_only: boolean;
|
|
173
|
-
annotations: import("
|
|
173
|
+
annotations: import("@ai-matrx/data/types").Json | null;
|
|
174
174
|
category: string | null;
|
|
175
175
|
created_at: string;
|
|
176
176
|
created_by: string | null;
|
|
@@ -178,22 +178,22 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
178
178
|
dedupe_exempt: boolean;
|
|
179
179
|
deleted_at: string | null;
|
|
180
180
|
description: string;
|
|
181
|
-
gating: import("
|
|
181
|
+
gating: import("@ai-matrx/data/types").Json;
|
|
182
182
|
icon: string | null;
|
|
183
183
|
id: string;
|
|
184
184
|
is_active: boolean;
|
|
185
185
|
managed_by_server_id: string | null;
|
|
186
186
|
max_client_wait_seconds: number | null;
|
|
187
|
-
metadata: import("
|
|
187
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
188
188
|
name: string;
|
|
189
189
|
organization_id: string;
|
|
190
|
-
output_schema: import("
|
|
191
|
-
parameters: import("
|
|
190
|
+
output_schema: import("@ai-matrx/data/types").Json | null;
|
|
191
|
+
parameters: import("@ai-matrx/data/types").Json;
|
|
192
192
|
published_to_web: boolean;
|
|
193
193
|
published_to_web_at: string | null;
|
|
194
194
|
published_to_web_by: string | null;
|
|
195
195
|
semver: string | null;
|
|
196
|
-
shown_to: import("
|
|
196
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
197
197
|
side_effect_class: string | null;
|
|
198
198
|
source_kind: string;
|
|
199
199
|
tags: string[] | null;
|
|
@@ -205,10 +205,10 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
205
205
|
updated_by_tier: string | null;
|
|
206
206
|
validation_exempt: boolean;
|
|
207
207
|
version: number;
|
|
208
|
-
visibility: import("
|
|
208
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
209
209
|
}[], resultFuncArgs_1: Record<string, {
|
|
210
210
|
admin_only: boolean;
|
|
211
|
-
annotations: import("
|
|
211
|
+
annotations: import("@ai-matrx/data/types").Json | null;
|
|
212
212
|
category: string | null;
|
|
213
213
|
created_at: string;
|
|
214
214
|
created_by: string | null;
|
|
@@ -216,22 +216,22 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
216
216
|
dedupe_exempt: boolean;
|
|
217
217
|
deleted_at: string | null;
|
|
218
218
|
description: string;
|
|
219
|
-
gating: import("
|
|
219
|
+
gating: import("@ai-matrx/data/types").Json;
|
|
220
220
|
icon: string | null;
|
|
221
221
|
id: string;
|
|
222
222
|
is_active: boolean;
|
|
223
223
|
managed_by_server_id: string | null;
|
|
224
224
|
max_client_wait_seconds: number | null;
|
|
225
|
-
metadata: import("
|
|
225
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
226
226
|
name: string;
|
|
227
227
|
organization_id: string;
|
|
228
|
-
output_schema: import("
|
|
229
|
-
parameters: import("
|
|
228
|
+
output_schema: import("@ai-matrx/data/types").Json | null;
|
|
229
|
+
parameters: import("@ai-matrx/data/types").Json;
|
|
230
230
|
published_to_web: boolean;
|
|
231
231
|
published_to_web_at: string | null;
|
|
232
232
|
published_to_web_by: string | null;
|
|
233
233
|
semver: string | null;
|
|
234
|
-
shown_to: import("
|
|
234
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
235
235
|
side_effect_class: string | null;
|
|
236
236
|
source_kind: string;
|
|
237
237
|
tags: string[] | null;
|
|
@@ -243,10 +243,10 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
243
243
|
updated_by_tier: string | null;
|
|
244
244
|
validation_exempt: boolean;
|
|
245
245
|
version: number;
|
|
246
|
-
visibility: import("
|
|
246
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
247
247
|
}>, resultFuncArgs_2: string) => {
|
|
248
248
|
admin_only: boolean;
|
|
249
|
-
annotations: import("
|
|
249
|
+
annotations: import("@ai-matrx/data/types").Json | null;
|
|
250
250
|
category: string | null;
|
|
251
251
|
created_at: string;
|
|
252
252
|
created_by: string | null;
|
|
@@ -254,22 +254,22 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
254
254
|
dedupe_exempt: boolean;
|
|
255
255
|
deleted_at: string | null;
|
|
256
256
|
description: string;
|
|
257
|
-
gating: import("
|
|
257
|
+
gating: import("@ai-matrx/data/types").Json;
|
|
258
258
|
icon: string | null;
|
|
259
259
|
id: string;
|
|
260
260
|
is_active: boolean;
|
|
261
261
|
managed_by_server_id: string | null;
|
|
262
262
|
max_client_wait_seconds: number | null;
|
|
263
|
-
metadata: import("
|
|
263
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
264
264
|
name: string;
|
|
265
265
|
organization_id: string;
|
|
266
|
-
output_schema: import("
|
|
267
|
-
parameters: import("
|
|
266
|
+
output_schema: import("@ai-matrx/data/types").Json | null;
|
|
267
|
+
parameters: import("@ai-matrx/data/types").Json;
|
|
268
268
|
published_to_web: boolean;
|
|
269
269
|
published_to_web_at: string | null;
|
|
270
270
|
published_to_web_by: string | null;
|
|
271
271
|
semver: string | null;
|
|
272
|
-
shown_to: import("
|
|
272
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
273
273
|
side_effect_class: string | null;
|
|
274
274
|
source_kind: string;
|
|
275
275
|
tags: string[] | null;
|
|
@@ -281,11 +281,11 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
281
281
|
updated_by_tier: string | null;
|
|
282
282
|
validation_exempt: boolean;
|
|
283
283
|
version: number;
|
|
284
|
-
visibility: import("
|
|
284
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
285
285
|
};
|
|
286
286
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
287
287
|
admin_only: boolean;
|
|
288
|
-
annotations: import("
|
|
288
|
+
annotations: import("@ai-matrx/data/types").Json | null;
|
|
289
289
|
category: string | null;
|
|
290
290
|
created_at: string;
|
|
291
291
|
created_by: string | null;
|
|
@@ -293,22 +293,22 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
293
293
|
dedupe_exempt: boolean;
|
|
294
294
|
deleted_at: string | null;
|
|
295
295
|
description: string;
|
|
296
|
-
gating: import("
|
|
296
|
+
gating: import("@ai-matrx/data/types").Json;
|
|
297
297
|
icon: string | null;
|
|
298
298
|
id: string;
|
|
299
299
|
is_active: boolean;
|
|
300
300
|
managed_by_server_id: string | null;
|
|
301
301
|
max_client_wait_seconds: number | null;
|
|
302
|
-
metadata: import("
|
|
302
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
303
303
|
name: string;
|
|
304
304
|
organization_id: string;
|
|
305
|
-
output_schema: import("
|
|
306
|
-
parameters: import("
|
|
305
|
+
output_schema: import("@ai-matrx/data/types").Json | null;
|
|
306
|
+
parameters: import("@ai-matrx/data/types").Json;
|
|
307
307
|
published_to_web: boolean;
|
|
308
308
|
published_to_web_at: string | null;
|
|
309
309
|
published_to_web_by: string | null;
|
|
310
310
|
semver: string | null;
|
|
311
|
-
shown_to: import("
|
|
311
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
312
312
|
side_effect_class: string | null;
|
|
313
313
|
source_kind: string;
|
|
314
314
|
tags: string[] | null;
|
|
@@ -320,10 +320,10 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
320
320
|
updated_by_tier: string | null;
|
|
321
321
|
validation_exempt: boolean;
|
|
322
322
|
version: number;
|
|
323
|
-
visibility: import("
|
|
323
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
324
324
|
}[], resultFuncArgs_1: Record<string, {
|
|
325
325
|
admin_only: boolean;
|
|
326
|
-
annotations: import("
|
|
326
|
+
annotations: import("@ai-matrx/data/types").Json | null;
|
|
327
327
|
category: string | null;
|
|
328
328
|
created_at: string;
|
|
329
329
|
created_by: string | null;
|
|
@@ -331,22 +331,22 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
331
331
|
dedupe_exempt: boolean;
|
|
332
332
|
deleted_at: string | null;
|
|
333
333
|
description: string;
|
|
334
|
-
gating: import("
|
|
334
|
+
gating: import("@ai-matrx/data/types").Json;
|
|
335
335
|
icon: string | null;
|
|
336
336
|
id: string;
|
|
337
337
|
is_active: boolean;
|
|
338
338
|
managed_by_server_id: string | null;
|
|
339
339
|
max_client_wait_seconds: number | null;
|
|
340
|
-
metadata: import("
|
|
340
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
341
341
|
name: string;
|
|
342
342
|
organization_id: string;
|
|
343
|
-
output_schema: import("
|
|
344
|
-
parameters: import("
|
|
343
|
+
output_schema: import("@ai-matrx/data/types").Json | null;
|
|
344
|
+
parameters: import("@ai-matrx/data/types").Json;
|
|
345
345
|
published_to_web: boolean;
|
|
346
346
|
published_to_web_at: string | null;
|
|
347
347
|
published_to_web_by: string | null;
|
|
348
348
|
semver: string | null;
|
|
349
|
-
shown_to: import("
|
|
349
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
350
350
|
side_effect_class: string | null;
|
|
351
351
|
source_kind: string;
|
|
352
352
|
tags: string[] | null;
|
|
@@ -358,10 +358,10 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
358
358
|
updated_by_tier: string | null;
|
|
359
359
|
validation_exempt: boolean;
|
|
360
360
|
version: number;
|
|
361
|
-
visibility: import("
|
|
361
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
362
362
|
}>, resultFuncArgs_2: string) => {
|
|
363
363
|
admin_only: boolean;
|
|
364
|
-
annotations: import("
|
|
364
|
+
annotations: import("@ai-matrx/data/types").Json | null;
|
|
365
365
|
category: string | null;
|
|
366
366
|
created_at: string;
|
|
367
367
|
created_by: string | null;
|
|
@@ -369,22 +369,22 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
369
369
|
dedupe_exempt: boolean;
|
|
370
370
|
deleted_at: string | null;
|
|
371
371
|
description: string;
|
|
372
|
-
gating: import("
|
|
372
|
+
gating: import("@ai-matrx/data/types").Json;
|
|
373
373
|
icon: string | null;
|
|
374
374
|
id: string;
|
|
375
375
|
is_active: boolean;
|
|
376
376
|
managed_by_server_id: string | null;
|
|
377
377
|
max_client_wait_seconds: number | null;
|
|
378
|
-
metadata: import("
|
|
378
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
379
379
|
name: string;
|
|
380
380
|
organization_id: string;
|
|
381
|
-
output_schema: import("
|
|
382
|
-
parameters: import("
|
|
381
|
+
output_schema: import("@ai-matrx/data/types").Json | null;
|
|
382
|
+
parameters: import("@ai-matrx/data/types").Json;
|
|
383
383
|
published_to_web: boolean;
|
|
384
384
|
published_to_web_at: string | null;
|
|
385
385
|
published_to_web_by: string | null;
|
|
386
386
|
semver: string | null;
|
|
387
|
-
shown_to: import("
|
|
387
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
388
388
|
side_effect_class: string | null;
|
|
389
389
|
source_kind: string;
|
|
390
390
|
tags: string[] | null;
|
|
@@ -396,7 +396,7 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
396
396
|
updated_by_tier: string | null;
|
|
397
397
|
validation_exempt: boolean;
|
|
398
398
|
version: number;
|
|
399
|
-
visibility: import("
|
|
399
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
400
400
|
}) & {
|
|
401
401
|
clearCache: () => void;
|
|
402
402
|
resultsCount: () => number;
|
|
@@ -404,7 +404,7 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
404
404
|
};
|
|
405
405
|
lastResult: () => {
|
|
406
406
|
admin_only: boolean;
|
|
407
|
-
annotations: import("
|
|
407
|
+
annotations: import("@ai-matrx/data/types").Json | null;
|
|
408
408
|
category: string | null;
|
|
409
409
|
created_at: string;
|
|
410
410
|
created_by: string | null;
|
|
@@ -412,22 +412,22 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
412
412
|
dedupe_exempt: boolean;
|
|
413
413
|
deleted_at: string | null;
|
|
414
414
|
description: string;
|
|
415
|
-
gating: import("
|
|
415
|
+
gating: import("@ai-matrx/data/types").Json;
|
|
416
416
|
icon: string | null;
|
|
417
417
|
id: string;
|
|
418
418
|
is_active: boolean;
|
|
419
419
|
managed_by_server_id: string | null;
|
|
420
420
|
max_client_wait_seconds: number | null;
|
|
421
|
-
metadata: import("
|
|
421
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
422
422
|
name: string;
|
|
423
423
|
organization_id: string;
|
|
424
|
-
output_schema: import("
|
|
425
|
-
parameters: import("
|
|
424
|
+
output_schema: import("@ai-matrx/data/types").Json | null;
|
|
425
|
+
parameters: import("@ai-matrx/data/types").Json;
|
|
426
426
|
published_to_web: boolean;
|
|
427
427
|
published_to_web_at: string | null;
|
|
428
428
|
published_to_web_by: string | null;
|
|
429
429
|
semver: string | null;
|
|
430
|
-
shown_to: import("
|
|
430
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
431
431
|
side_effect_class: string | null;
|
|
432
432
|
source_kind: string;
|
|
433
433
|
tags: string[] | null;
|
|
@@ -439,11 +439,11 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
439
439
|
updated_by_tier: string | null;
|
|
440
440
|
validation_exempt: boolean;
|
|
441
441
|
version: number;
|
|
442
|
-
visibility: import("
|
|
442
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
443
443
|
};
|
|
444
444
|
dependencies: [(state: ChatRootState) => {
|
|
445
445
|
admin_only: boolean;
|
|
446
|
-
annotations: import("
|
|
446
|
+
annotations: import("@ai-matrx/data/types").Json | null;
|
|
447
447
|
category: string | null;
|
|
448
448
|
created_at: string;
|
|
449
449
|
created_by: string | null;
|
|
@@ -451,22 +451,22 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
451
451
|
dedupe_exempt: boolean;
|
|
452
452
|
deleted_at: string | null;
|
|
453
453
|
description: string;
|
|
454
|
-
gating: import("
|
|
454
|
+
gating: import("@ai-matrx/data/types").Json;
|
|
455
455
|
icon: string | null;
|
|
456
456
|
id: string;
|
|
457
457
|
is_active: boolean;
|
|
458
458
|
managed_by_server_id: string | null;
|
|
459
459
|
max_client_wait_seconds: number | null;
|
|
460
|
-
metadata: import("
|
|
460
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
461
461
|
name: string;
|
|
462
462
|
organization_id: string;
|
|
463
|
-
output_schema: import("
|
|
464
|
-
parameters: import("
|
|
463
|
+
output_schema: import("@ai-matrx/data/types").Json | null;
|
|
464
|
+
parameters: import("@ai-matrx/data/types").Json;
|
|
465
465
|
published_to_web: boolean;
|
|
466
466
|
published_to_web_at: string | null;
|
|
467
467
|
published_to_web_by: string | null;
|
|
468
468
|
semver: string | null;
|
|
469
|
-
shown_to: import("
|
|
469
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
470
470
|
side_effect_class: string | null;
|
|
471
471
|
source_kind: string;
|
|
472
472
|
tags: string[] | null;
|
|
@@ -478,10 +478,10 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
478
478
|
updated_by_tier: string | null;
|
|
479
479
|
validation_exempt: boolean;
|
|
480
480
|
version: number;
|
|
481
|
-
visibility: import("
|
|
481
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
482
482
|
}[], (state: ChatRootState) => Record<string, {
|
|
483
483
|
admin_only: boolean;
|
|
484
|
-
annotations: import("
|
|
484
|
+
annotations: import("@ai-matrx/data/types").Json | null;
|
|
485
485
|
category: string | null;
|
|
486
486
|
created_at: string;
|
|
487
487
|
created_by: string | null;
|
|
@@ -489,22 +489,22 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
489
489
|
dedupe_exempt: boolean;
|
|
490
490
|
deleted_at: string | null;
|
|
491
491
|
description: string;
|
|
492
|
-
gating: import("
|
|
492
|
+
gating: import("@ai-matrx/data/types").Json;
|
|
493
493
|
icon: string | null;
|
|
494
494
|
id: string;
|
|
495
495
|
is_active: boolean;
|
|
496
496
|
managed_by_server_id: string | null;
|
|
497
497
|
max_client_wait_seconds: number | null;
|
|
498
|
-
metadata: import("
|
|
498
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
499
499
|
name: string;
|
|
500
500
|
organization_id: string;
|
|
501
|
-
output_schema: import("
|
|
502
|
-
parameters: import("
|
|
501
|
+
output_schema: import("@ai-matrx/data/types").Json | null;
|
|
502
|
+
parameters: import("@ai-matrx/data/types").Json;
|
|
503
503
|
published_to_web: boolean;
|
|
504
504
|
published_to_web_at: string | null;
|
|
505
505
|
published_to_web_by: string | null;
|
|
506
506
|
semver: string | null;
|
|
507
|
-
shown_to: import("
|
|
507
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
508
508
|
side_effect_class: string | null;
|
|
509
509
|
source_kind: string;
|
|
510
510
|
tags: string[] | null;
|
|
@@ -516,7 +516,7 @@ export declare const makeSelectToolById: () => ((state: {
|
|
|
516
516
|
updated_by_tier: string | null;
|
|
517
517
|
validation_exempt: boolean;
|
|
518
518
|
version: number;
|
|
519
|
-
visibility: import("
|
|
519
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
520
520
|
}>, (_state: ChatRootState, toolId: string) => string];
|
|
521
521
|
recomputations: () => number;
|
|
522
522
|
resetRecomputations: () => void;
|