@tai42/studio-sdk 25.0.0 → 26.0.0
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/README.md +143 -26
- package/dist/components/action-menu.d.ts +30 -0
- package/dist/components/action-menu.d.ts.map +1 -0
- package/dist/components/action-menu.js +101 -0
- package/dist/components/action-menu.js.map +1 -0
- package/dist/components/agent-picker.d.ts +22 -0
- package/dist/components/agent-picker.d.ts.map +1 -0
- package/dist/components/agent-picker.js +17 -0
- package/dist/components/agent-picker.js.map +1 -0
- package/dist/components/channel-picker.d.ts +27 -0
- package/dist/components/channel-picker.d.ts.map +1 -0
- package/dist/components/channel-picker.js +26 -0
- package/dist/components/channel-picker.js.map +1 -0
- package/dist/components/components.css +226 -8
- package/dist/components/confirm-dialog.d.ts +3 -1
- package/dist/components/confirm-dialog.d.ts.map +1 -1
- package/dist/components/confirm-dialog.js +2 -2
- package/dist/components/confirm-dialog.js.map +1 -1
- package/dist/components/execution-key-picker.d.ts +26 -10
- package/dist/components/execution-key-picker.d.ts.map +1 -1
- package/dist/components/execution-key-picker.js +134 -15
- package/dist/components/execution-key-picker.js.map +1 -1
- package/dist/components/extension-combo-builder.d.ts +7 -7
- package/dist/components/extension-combo-builder.d.ts.map +1 -1
- package/dist/components/extension-combo-builder.js +42 -16
- package/dist/components/extension-combo-builder.js.map +1 -1
- package/dist/components/extension-combo-parts.d.ts +13 -11
- package/dist/components/extension-combo-parts.d.ts.map +1 -1
- package/dist/components/extension-combo-parts.js +10 -19
- package/dist/components/extension-combo-parts.js.map +1 -1
- package/dist/components/extension-config-editor.d.ts +33 -0
- package/dist/components/extension-config-editor.d.ts.map +1 -0
- package/dist/components/extension-config-editor.js +190 -0
- package/dist/components/extension-config-editor.js.map +1 -0
- package/dist/components/extension-grouping.d.ts +4 -41
- package/dist/components/extension-grouping.d.ts.map +1 -1
- package/dist/components/extension-grouping.js +1 -48
- package/dist/components/extension-grouping.js.map +1 -1
- package/dist/components/extension-picker.d.ts +4 -3
- package/dist/components/extension-picker.d.ts.map +1 -1
- package/dist/components/extension-picker.js +6 -6
- package/dist/components/extension-picker.js.map +1 -1
- package/dist/components/fleet-report.d.ts +8 -3
- package/dist/components/fleet-report.d.ts.map +1 -1
- package/dist/components/fleet-report.js +12 -2
- package/dist/components/fleet-report.js.map +1 -1
- package/dist/components/holder-kinds.d.ts +18 -0
- package/dist/components/holder-kinds.d.ts.map +1 -0
- package/dist/components/holder-kinds.js +41 -0
- package/dist/components/holder-kinds.js.map +1 -0
- package/dist/components/holder-list.d.ts +58 -0
- package/dist/components/holder-list.d.ts.map +1 -0
- package/dist/components/holder-list.js +77 -0
- package/dist/components/holder-list.js.map +1 -0
- package/dist/components/icons/index.d.ts +1 -1
- package/dist/components/icons/index.d.ts.map +1 -1
- package/dist/components/icons/index.js +1 -1
- package/dist/components/icons/index.js.map +1 -1
- package/dist/components/icons/nav-map.d.ts.map +1 -1
- package/dist/components/icons/nav-map.js +1 -3
- package/dist/components/icons/nav-map.js.map +1 -1
- package/dist/components/icons/nav-marks.d.ts +0 -4
- package/dist/components/icons/nav-marks.d.ts.map +1 -1
- package/dist/components/icons/nav-marks.js +0 -4
- package/dist/components/icons/nav-marks.js.map +1 -1
- package/dist/components/named-list-picker.d.ts +39 -0
- package/dist/components/named-list-picker.d.ts.map +1 -0
- package/dist/components/named-list-picker.js +61 -0
- package/dist/components/named-list-picker.js.map +1 -0
- package/dist/components/named-list-test-utils.d.ts +23 -0
- package/dist/components/named-list-test-utils.d.ts.map +1 -0
- package/dist/components/named-list-test-utils.js +33 -0
- package/dist/components/named-list-test-utils.js.map +1 -0
- package/dist/components/recycle-roll.d.ts +23 -0
- package/dist/components/recycle-roll.d.ts.map +1 -0
- package/dist/components/recycle-roll.js +47 -0
- package/dist/components/recycle-roll.js.map +1 -0
- package/dist/components/stepper.d.ts +28 -0
- package/dist/components/stepper.d.ts.map +1 -0
- package/dist/components/stepper.js +33 -0
- package/dist/components/stepper.js.map +1 -0
- package/dist/components/subject-section.d.ts +2 -1
- package/dist/components/subject-section.d.ts.map +1 -1
- package/dist/components/subject-section.js +10 -5
- package/dist/components/subject-section.js.map +1 -1
- package/dist/components/tokens.css +31 -41
- package/dist/components/tokens.d.ts +3 -4
- package/dist/components/tokens.d.ts.map +1 -1
- package/dist/components/tokens.js +5 -13
- package/dist/components/tokens.js.map +1 -1
- package/dist/components/tool-picker-parts.d.ts +5 -1
- package/dist/components/tool-picker-parts.d.ts.map +1 -1
- package/dist/components/tool-picker-parts.js +8 -6
- package/dist/components/tool-picker-parts.js.map +1 -1
- package/dist/components/tool-picker.d.ts +77 -2
- package/dist/components/tool-picker.d.ts.map +1 -1
- package/dist/components/tool-picker.js +87 -29
- package/dist/components/tool-picker.js.map +1 -1
- package/dist/components/version-history-panel.d.ts +7 -1
- package/dist/components/version-history-panel.d.ts.map +1 -1
- package/dist/components/version-history-panel.js +2 -2
- package/dist/components/version-history-panel.js.map +1 -1
- package/dist/components/version-history-rows.d.ts +4 -2
- package/dist/components/version-history-rows.d.ts.map +1 -1
- package/dist/components/version-history-rows.js +14 -2
- package/dist/components/version-history-rows.js.map +1 -1
- package/dist/errors.d.ts +5 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +7 -0
- package/dist/errors.js.map +1 -1
- package/dist/hooks/useApi.d.ts +524 -197
- package/dist/hooks/useApi.d.ts.map +1 -1
- package/dist/hooks/useCapabilities.d.ts +43 -10
- package/dist/hooks/useCapabilities.d.ts.map +1 -1
- package/dist/hooks/useCapabilities.js +39 -10
- package/dist/hooks/useCapabilities.js.map +1 -1
- package/dist/index.d.ts +25 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -6
- package/dist/index.js.map +1 -1
- package/dist/marketplace-install/env-var-fields.d.ts +17 -0
- package/dist/marketplace-install/env-var-fields.d.ts.map +1 -0
- package/dist/marketplace-install/env-var-fields.js +22 -0
- package/dist/marketplace-install/env-var-fields.js.map +1 -0
- package/dist/marketplace-install/index.d.ts +18 -0
- package/dist/marketplace-install/index.d.ts.map +1 -0
- package/dist/marketplace-install/index.js +8 -0
- package/dist/marketplace-install/index.js.map +1 -0
- package/dist/marketplace-install/install-env.d.ts +21 -0
- package/dist/marketplace-install/install-env.d.ts.map +1 -0
- package/dist/marketplace-install/install-env.js +22 -0
- package/dist/marketplace-install/install-env.js.map +1 -0
- package/dist/marketplace-install/install-mount.d.ts +42 -0
- package/dist/marketplace-install/install-mount.d.ts.map +1 -0
- package/dist/marketplace-install/install-mount.js +62 -0
- package/dist/marketplace-install/install-mount.js.map +1 -0
- package/dist/marketplace-install/install-report.d.ts +14 -0
- package/dist/marketplace-install/install-report.d.ts.map +1 -0
- package/dist/marketplace-install/install-report.js +19 -0
- package/dist/marketplace-install/install-report.js.map +1 -0
- package/dist/marketplace-install/install-shell.d.ts +34 -0
- package/dist/marketplace-install/install-shell.d.ts.map +1 -0
- package/dist/marketplace-install/install-shell.js +32 -0
- package/dist/marketplace-install/install-shell.js.map +1 -0
- package/dist/marketplace-install/mount-install.d.ts +41 -0
- package/dist/marketplace-install/mount-install.d.ts.map +1 -0
- package/dist/marketplace-install/mount-install.js +90 -0
- package/dist/marketplace-install/mount-install.js.map +1 -0
- package/dist/marketplace-install/plugin-detail.d.ts +17 -0
- package/dist/marketplace-install/plugin-detail.d.ts.map +1 -0
- package/dist/marketplace-install/plugin-detail.js +41 -0
- package/dist/marketplace-install/plugin-detail.js.map +1 -0
- package/dist/marketplace-install/plugin-install.d.ts +27 -0
- package/dist/marketplace-install/plugin-install.d.ts.map +1 -0
- package/dist/marketplace-install/plugin-install.js +89 -0
- package/dist/marketplace-install/plugin-install.js.map +1 -0
- package/dist/marketplace-install/route-items.d.ts +14 -0
- package/dist/marketplace-install/route-items.d.ts.map +1 -0
- package/dist/marketplace-install/route-items.js +11 -0
- package/dist/marketplace-install/route-items.js.map +1 -0
- package/dist/marketplace-install/use-debounced-value.d.ts +6 -0
- package/dist/marketplace-install/use-debounced-value.d.ts.map +1 -0
- package/dist/marketplace-install/use-debounced-value.js +18 -0
- package/dist/marketplace-install/use-debounced-value.js.map +1 -0
- package/dist/marketplace-install/use-install-action.d.ts +26 -0
- package/dist/marketplace-install/use-install-action.d.ts.map +1 -0
- package/dist/marketplace-install/use-install-action.js +35 -0
- package/dist/marketplace-install/use-install-action.js.map +1 -0
- package/dist/marketplace-install/use-install-preview.d.ts +33 -0
- package/dist/marketplace-install/use-install-preview.d.ts.map +1 -0
- package/dist/marketplace-install/use-install-preview.js +44 -0
- package/dist/marketplace-install/use-install-preview.js.map +1 -0
- package/dist/marketplace-install/use-mount-install.d.ts +80 -0
- package/dist/marketplace-install/use-mount-install.d.ts.map +1 -0
- package/dist/marketplace-install/use-mount-install.js +75 -0
- package/dist/marketplace-install/use-mount-install.js.map +1 -0
- package/dist/navigation/index.d.ts +1 -1
- package/dist/navigation/index.d.ts.map +1 -1
- package/dist/navigation/index.js.map +1 -1
- package/dist/navigation/types.d.ts +23 -7
- package/dist/navigation/types.d.ts.map +1 -1
- package/dist/plugin/registry.d.ts +0 -8
- package/dist/plugin/registry.d.ts.map +1 -1
- package/dist/plugin/registry.js +25 -1
- package/dist/plugin/registry.js.map +1 -1
- package/dist/plugin/types.d.ts +36 -12
- package/dist/plugin/types.d.ts.map +1 -1
- package/dist/plugin/version.d.ts +6 -4
- package/dist/plugin/version.d.ts.map +1 -1
- package/dist/plugin/version.js +6 -4
- package/dist/plugin/version.js.map +1 -1
- package/dist/query-keys.d.ts +45 -4
- package/dist/query-keys.d.ts.map +1 -1
- package/dist/query-keys.js +52 -4
- package/dist/query-keys.js.map +1 -1
- package/dist/schema-form/json-schema-meta.d.ts +3 -0
- package/dist/schema-form/json-schema-meta.d.ts.map +1 -0
- package/dist/schema-form/json-schema-meta.js +3 -0
- package/dist/schema-form/json-schema-meta.js.map +1 -0
- package/dist/testing.d.ts +2 -0
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +2 -0
- package/dist/testing.js.map +1 -1
- package/dist/token-rules.d.ts +26 -0
- package/dist/token-rules.d.ts.map +1 -0
- package/dist/token-rules.js +64 -0
- package/dist/token-rules.js.map +1 -0
- package/package.json +7 -7
- package/src/components/action-menu.tsx +160 -0
- package/src/components/agent-picker.tsx +53 -0
- package/src/components/channel-picker.tsx +68 -0
- package/src/components/components.css +226 -8
- package/src/components/confirm-dialog.tsx +4 -1
- package/src/components/execution-key-picker.tsx +252 -36
- package/src/components/extension-combo-builder.tsx +61 -29
- package/src/components/extension-combo-parts.tsx +28 -38
- package/src/components/extension-config-editor.tsx +307 -0
- package/src/components/extension-grouping.ts +4 -73
- package/src/components/extension-picker.tsx +13 -13
- package/src/components/fleet-report.tsx +38 -4
- package/src/components/holder-kinds.ts +60 -0
- package/src/components/holder-list.tsx +163 -0
- package/src/components/icons/index.ts +0 -2
- package/src/components/icons/nav-map.ts +0 -4
- package/src/components/icons/nav-marks.tsx +0 -15
- package/src/components/named-list-picker.tsx +182 -0
- package/src/components/named-list-test-utils.tsx +47 -0
- package/src/components/recycle-roll.tsx +120 -0
- package/src/components/stepper.tsx +111 -0
- package/src/components/subject-section.tsx +10 -5
- package/src/components/tokens.css +31 -41
- package/src/components/tokens.ts +5 -13
- package/src/components/tool-picker-parts.tsx +17 -6
- package/src/components/tool-picker.tsx +215 -41
- package/src/components/version-history-panel.tsx +8 -0
- package/src/components/version-history-rows.tsx +14 -2
- package/src/errors.ts +10 -0
- package/src/hooks/useCapabilities.ts +59 -10
- package/src/index.ts +54 -14
- package/src/marketplace-install/env-var-fields.tsx +59 -0
- package/src/marketplace-install/index.ts +17 -0
- package/src/marketplace-install/install-env.ts +39 -0
- package/src/marketplace-install/install-mount.ts +96 -0
- package/src/marketplace-install/install-report.tsx +54 -0
- package/src/marketplace-install/install-shell.tsx +99 -0
- package/src/marketplace-install/mount-install.tsx +290 -0
- package/src/marketplace-install/plugin-detail.ts +60 -0
- package/src/marketplace-install/plugin-install.tsx +221 -0
- package/src/marketplace-install/route-items.ts +20 -0
- package/src/marketplace-install/use-debounced-value.ts +18 -0
- package/src/marketplace-install/use-install-action.ts +60 -0
- package/src/marketplace-install/use-install-preview.ts +74 -0
- package/src/marketplace-install/use-mount-install.ts +116 -0
- package/src/navigation/index.ts +1 -0
- package/src/navigation/types.ts +27 -7
- package/src/plugin/registry.ts +19 -1
- package/src/plugin/types.ts +40 -12
- package/src/plugin/version.ts +6 -4
- package/src/query-keys.ts +71 -4
- package/src/schema-form/json-schema-meta.ts +2 -0
- package/src/testing.ts +2 -0
- package/src/token-rules.ts +66 -0
package/dist/hooks/useApi.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
83
83
|
base: string;
|
|
84
84
|
paths: {
|
|
85
85
|
path: string;
|
|
86
|
-
methods: ("GET" | "
|
|
86
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
87
87
|
public: boolean;
|
|
88
88
|
}[];
|
|
89
89
|
} | null | undefined;
|
|
@@ -131,7 +131,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
131
131
|
conflict_path: string;
|
|
132
132
|
full_path: string;
|
|
133
133
|
item: string;
|
|
134
|
-
methods: ("GET" | "
|
|
134
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
135
135
|
}[];
|
|
136
136
|
delivery: "package" | "descriptor";
|
|
137
137
|
items: {
|
|
@@ -141,7 +141,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
141
141
|
kind: string;
|
|
142
142
|
routes: {
|
|
143
143
|
full_path: string;
|
|
144
|
-
methods: ("GET" | "
|
|
144
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
145
145
|
path: string;
|
|
146
146
|
public: boolean;
|
|
147
147
|
}[];
|
|
@@ -150,12 +150,12 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
150
150
|
new_public_routes: {
|
|
151
151
|
full_path: string;
|
|
152
152
|
item: string;
|
|
153
|
-
methods: ("GET" | "
|
|
153
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
154
154
|
}[];
|
|
155
155
|
public_routes: {
|
|
156
156
|
full_path: string;
|
|
157
157
|
item: string;
|
|
158
|
-
methods: ("GET" | "
|
|
158
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
159
159
|
}[];
|
|
160
160
|
ref: string;
|
|
161
161
|
required_env: {
|
|
@@ -170,27 +170,28 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
170
170
|
package: string | null;
|
|
171
171
|
pip_output: string | null;
|
|
172
172
|
ref: string;
|
|
173
|
+
routes: {
|
|
174
|
+
full_path: string;
|
|
175
|
+
item: string;
|
|
176
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
177
|
+
public: boolean;
|
|
178
|
+
}[];
|
|
179
|
+
version: string;
|
|
180
|
+
advisories: {
|
|
181
|
+
id: number;
|
|
182
|
+
listing: string;
|
|
183
|
+
affected_versions: string;
|
|
184
|
+
severity: string;
|
|
185
|
+
summary: string;
|
|
186
|
+
created_at: string;
|
|
187
|
+
withdrawn_at: string | null;
|
|
188
|
+
}[];
|
|
173
189
|
reload: {
|
|
174
190
|
awaiting_respawn: {
|
|
175
191
|
keys: string[];
|
|
176
192
|
name: string;
|
|
177
193
|
}[];
|
|
178
194
|
env_keys: number;
|
|
179
|
-
fanout: {
|
|
180
|
-
error: string | null;
|
|
181
|
-
local_only: boolean | null;
|
|
182
|
-
mode: string;
|
|
183
|
-
note: string | null;
|
|
184
|
-
op: string | null;
|
|
185
|
-
reachable: boolean | null;
|
|
186
|
-
results: {
|
|
187
|
-
detail: string | null;
|
|
188
|
-
error: string | null;
|
|
189
|
-
name: string;
|
|
190
|
-
outcome: string;
|
|
191
|
-
payload: unknown;
|
|
192
|
-
}[] | null;
|
|
193
|
-
};
|
|
194
195
|
recycle: {
|
|
195
196
|
fresh: {
|
|
196
197
|
generation: number;
|
|
@@ -210,49 +211,50 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
210
211
|
name: string | null;
|
|
211
212
|
} | null;
|
|
212
213
|
} | null;
|
|
214
|
+
span_release_error: string | null;
|
|
213
215
|
status: string;
|
|
216
|
+
fanout: {
|
|
217
|
+
mode: "local-only";
|
|
218
|
+
note: string;
|
|
219
|
+
} | {
|
|
220
|
+
error: string | null;
|
|
221
|
+
local_only: boolean;
|
|
222
|
+
op: string;
|
|
223
|
+
reachable: boolean;
|
|
224
|
+
results: {
|
|
225
|
+
detail: string | null;
|
|
226
|
+
error: string | null;
|
|
227
|
+
name: string;
|
|
228
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
229
|
+
payload: unknown;
|
|
230
|
+
}[];
|
|
231
|
+
mode: "fleet";
|
|
232
|
+
} | {
|
|
233
|
+
error: string | null;
|
|
234
|
+
local_only: boolean;
|
|
235
|
+
op: string;
|
|
236
|
+
reachable: boolean;
|
|
237
|
+
results: {
|
|
238
|
+
detail: string | null;
|
|
239
|
+
error: string | null;
|
|
240
|
+
name: string;
|
|
241
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
242
|
+
payload: unknown;
|
|
243
|
+
}[];
|
|
244
|
+
mode: "unreachable";
|
|
245
|
+
};
|
|
214
246
|
};
|
|
215
|
-
routes: {
|
|
216
|
-
full_path: string;
|
|
217
|
-
item: string;
|
|
218
|
-
methods: ("GET" | "DELETE" | "PATCH" | "POST" | "PUT")[];
|
|
219
|
-
public: boolean;
|
|
220
|
-
}[];
|
|
221
|
-
version: string;
|
|
222
|
-
advisories: {
|
|
223
|
-
id: number;
|
|
224
|
-
listing: string;
|
|
225
|
-
affected_versions: string;
|
|
226
|
-
severity: string;
|
|
227
|
-
summary: string;
|
|
228
|
-
created_at: string;
|
|
229
|
-
withdrawn_at: string | null;
|
|
230
|
-
}[];
|
|
231
247
|
}>;
|
|
232
248
|
readonly uninstallMarketplacePlugin: (body: import("@tai42/api-client").MarketplaceUninstallBody) => Promise<{
|
|
233
249
|
notes: string[];
|
|
234
250
|
ref: string;
|
|
251
|
+
uninstalled: boolean;
|
|
235
252
|
reload: {
|
|
236
253
|
awaiting_respawn: {
|
|
237
254
|
keys: string[];
|
|
238
255
|
name: string;
|
|
239
256
|
}[];
|
|
240
257
|
env_keys: number;
|
|
241
|
-
fanout: {
|
|
242
|
-
error: string | null;
|
|
243
|
-
local_only: boolean | null;
|
|
244
|
-
mode: string;
|
|
245
|
-
note: string | null;
|
|
246
|
-
op: string | null;
|
|
247
|
-
reachable: boolean | null;
|
|
248
|
-
results: {
|
|
249
|
-
detail: string | null;
|
|
250
|
-
error: string | null;
|
|
251
|
-
name: string;
|
|
252
|
-
outcome: string;
|
|
253
|
-
payload: unknown;
|
|
254
|
-
}[] | null;
|
|
255
|
-
};
|
|
256
258
|
recycle: {
|
|
257
259
|
fresh: {
|
|
258
260
|
generation: number;
|
|
@@ -272,36 +274,67 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
272
274
|
name: string | null;
|
|
273
275
|
} | null;
|
|
274
276
|
} | null;
|
|
277
|
+
span_release_error: string | null;
|
|
275
278
|
status: string;
|
|
279
|
+
fanout: {
|
|
280
|
+
mode: "local-only";
|
|
281
|
+
note: string;
|
|
282
|
+
} | {
|
|
283
|
+
error: string | null;
|
|
284
|
+
local_only: boolean;
|
|
285
|
+
op: string;
|
|
286
|
+
reachable: boolean;
|
|
287
|
+
results: {
|
|
288
|
+
detail: string | null;
|
|
289
|
+
error: string | null;
|
|
290
|
+
name: string;
|
|
291
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
292
|
+
payload: unknown;
|
|
293
|
+
}[];
|
|
294
|
+
mode: "fleet";
|
|
295
|
+
} | {
|
|
296
|
+
error: string | null;
|
|
297
|
+
local_only: boolean;
|
|
298
|
+
op: string;
|
|
299
|
+
reachable: boolean;
|
|
300
|
+
results: {
|
|
301
|
+
detail: string | null;
|
|
302
|
+
error: string | null;
|
|
303
|
+
name: string;
|
|
304
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
305
|
+
payload: unknown;
|
|
306
|
+
}[];
|
|
307
|
+
mode: "unreachable";
|
|
308
|
+
};
|
|
276
309
|
} | null;
|
|
277
|
-
uninstalled: boolean;
|
|
278
310
|
}>;
|
|
279
311
|
readonly updateMarketplacePlugin: (body: import("@tai42/api-client").MarketplaceInstallBody) => Promise<{
|
|
280
312
|
notes: string[];
|
|
281
313
|
package: string | null;
|
|
282
314
|
pip_output: string | null;
|
|
283
315
|
ref: string;
|
|
316
|
+
routes: {
|
|
317
|
+
full_path: string;
|
|
318
|
+
item: string;
|
|
319
|
+
methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
320
|
+
public: boolean;
|
|
321
|
+
}[];
|
|
322
|
+
version: string;
|
|
323
|
+
advisories: {
|
|
324
|
+
id: number;
|
|
325
|
+
listing: string;
|
|
326
|
+
affected_versions: string;
|
|
327
|
+
severity: string;
|
|
328
|
+
summary: string;
|
|
329
|
+
created_at: string;
|
|
330
|
+
withdrawn_at: string | null;
|
|
331
|
+
}[];
|
|
284
332
|
reload: {
|
|
285
333
|
awaiting_respawn: {
|
|
286
334
|
keys: string[];
|
|
287
335
|
name: string;
|
|
288
336
|
}[];
|
|
289
337
|
env_keys: number;
|
|
290
|
-
fanout: {
|
|
291
|
-
error: string | null;
|
|
292
|
-
local_only: boolean | null;
|
|
293
|
-
mode: string;
|
|
294
|
-
note: string | null;
|
|
295
|
-
op: string | null;
|
|
296
|
-
reachable: boolean | null;
|
|
297
|
-
results: {
|
|
298
|
-
detail: string | null;
|
|
299
|
-
error: string | null;
|
|
300
|
-
name: string;
|
|
301
|
-
outcome: string;
|
|
302
|
-
payload: unknown;
|
|
303
|
-
}[] | null;
|
|
304
|
-
};
|
|
305
338
|
recycle: {
|
|
306
339
|
fresh: {
|
|
307
340
|
generation: number;
|
|
@@ -321,30 +354,46 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
321
354
|
name: string | null;
|
|
322
355
|
} | null;
|
|
323
356
|
} | null;
|
|
357
|
+
span_release_error: string | null;
|
|
324
358
|
status: string;
|
|
359
|
+
fanout: {
|
|
360
|
+
mode: "local-only";
|
|
361
|
+
note: string;
|
|
362
|
+
} | {
|
|
363
|
+
error: string | null;
|
|
364
|
+
local_only: boolean;
|
|
365
|
+
op: string;
|
|
366
|
+
reachable: boolean;
|
|
367
|
+
results: {
|
|
368
|
+
detail: string | null;
|
|
369
|
+
error: string | null;
|
|
370
|
+
name: string;
|
|
371
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
372
|
+
payload: unknown;
|
|
373
|
+
}[];
|
|
374
|
+
mode: "fleet";
|
|
375
|
+
} | {
|
|
376
|
+
error: string | null;
|
|
377
|
+
local_only: boolean;
|
|
378
|
+
op: string;
|
|
379
|
+
reachable: boolean;
|
|
380
|
+
results: {
|
|
381
|
+
detail: string | null;
|
|
382
|
+
error: string | null;
|
|
383
|
+
name: string;
|
|
384
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
385
|
+
payload: unknown;
|
|
386
|
+
}[];
|
|
387
|
+
mode: "unreachable";
|
|
388
|
+
};
|
|
325
389
|
};
|
|
326
|
-
routes: {
|
|
327
|
-
full_path: string;
|
|
328
|
-
item: string;
|
|
329
|
-
methods: ("GET" | "DELETE" | "PATCH" | "POST" | "PUT")[];
|
|
330
|
-
public: boolean;
|
|
331
|
-
}[];
|
|
332
|
-
version: string;
|
|
333
|
-
advisories: {
|
|
334
|
-
id: number;
|
|
335
|
-
listing: string;
|
|
336
|
-
affected_versions: string;
|
|
337
|
-
severity: string;
|
|
338
|
-
summary: string;
|
|
339
|
-
created_at: string;
|
|
340
|
-
withdrawn_at: string | null;
|
|
341
|
-
}[];
|
|
342
390
|
}>;
|
|
343
391
|
readonly upgradeAllMarketplacePlugins: () => Promise<{
|
|
344
392
|
results: {
|
|
345
393
|
detail: string;
|
|
346
394
|
outcome: "failed" | "upgraded" | "up-to-date" | "no-compatible-version";
|
|
347
395
|
ref: string;
|
|
396
|
+
span_release_error: string | null;
|
|
348
397
|
}[];
|
|
349
398
|
}>;
|
|
350
399
|
readonly getMarketplaceAdvisories: (signal?: AbortSignal) => Promise<{
|
|
@@ -394,7 +443,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
394
443
|
inputPreview: unknown;
|
|
395
444
|
latencyMs: number | null;
|
|
396
445
|
outputPreview: unknown;
|
|
397
|
-
status: "
|
|
446
|
+
status: "success" | "error";
|
|
398
447
|
tags: string[];
|
|
399
448
|
totalTokens: number | null;
|
|
400
449
|
traceId: string;
|
|
@@ -460,7 +509,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
460
509
|
readonly getResolvedSpanValue: (traceId: string, spanId: string, field: "input" | "output", options?: {
|
|
461
510
|
readonly pointer?: string;
|
|
462
511
|
}, signal?: AbortSignal) => Promise<{
|
|
463
|
-
field: "
|
|
512
|
+
field: "input" | "output";
|
|
464
513
|
pointer: string;
|
|
465
514
|
spanId: string;
|
|
466
515
|
traceId: string;
|
|
@@ -540,6 +589,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
540
589
|
} | null;
|
|
541
590
|
} | null;
|
|
542
591
|
skipped: number;
|
|
592
|
+
span_release_error: string | null;
|
|
543
593
|
updated: number;
|
|
544
594
|
fanout: {
|
|
545
595
|
mode: "local-only";
|
|
@@ -666,6 +716,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
666
716
|
owner_user_id: string;
|
|
667
717
|
}>;
|
|
668
718
|
readonly getMe: (signal?: AbortSignal) => Promise<{
|
|
719
|
+
access_control_enabled: boolean;
|
|
669
720
|
admin: boolean;
|
|
670
721
|
agents: string[];
|
|
671
722
|
mintable: boolean;
|
|
@@ -910,6 +961,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
910
961
|
mapped: string | null;
|
|
911
962
|
methods: string[];
|
|
912
963
|
path: string;
|
|
964
|
+
role_reach: "public" | "level" | "self_service" | "admin_only" | null;
|
|
913
965
|
summary: string;
|
|
914
966
|
tags: string[];
|
|
915
967
|
}[]>;
|
|
@@ -1047,7 +1099,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
1047
1099
|
kwargs?: Record<string, unknown> | undefined;
|
|
1048
1100
|
};
|
|
1049
1101
|
kind: string;
|
|
1050
|
-
target_kind: "
|
|
1102
|
+
target_kind: "agent" | "tool";
|
|
1051
1103
|
target_name: string;
|
|
1052
1104
|
} | null;
|
|
1053
1105
|
tool: string;
|
|
@@ -1208,7 +1260,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
1208
1260
|
id?: string | undefined;
|
|
1209
1261
|
kwargs?: Record<string, unknown> | undefined;
|
|
1210
1262
|
} | null;
|
|
1211
|
-
target_kind: "
|
|
1263
|
+
target_kind: "agent" | "tool";
|
|
1212
1264
|
target_name: string;
|
|
1213
1265
|
turns_per_hour_override: number | null;
|
|
1214
1266
|
} | {
|
|
@@ -1265,7 +1317,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
1265
1317
|
id?: string | undefined;
|
|
1266
1318
|
kwargs?: Record<string, unknown> | undefined;
|
|
1267
1319
|
} | null;
|
|
1268
|
-
target_kind: "
|
|
1320
|
+
target_kind: "agent" | "tool";
|
|
1269
1321
|
target_name: string;
|
|
1270
1322
|
turns_per_hour_override: number | null;
|
|
1271
1323
|
})[];
|
|
@@ -1329,7 +1381,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
1329
1381
|
id?: string | undefined;
|
|
1330
1382
|
kwargs?: Record<string, unknown> | undefined;
|
|
1331
1383
|
} | null;
|
|
1332
|
-
target_kind: "
|
|
1384
|
+
target_kind: "agent" | "tool";
|
|
1333
1385
|
target_name: string;
|
|
1334
1386
|
turns_per_hour_override: number | null;
|
|
1335
1387
|
} | {
|
|
@@ -1386,7 +1438,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
1386
1438
|
id?: string | undefined;
|
|
1387
1439
|
kwargs?: Record<string, unknown> | undefined;
|
|
1388
1440
|
} | null;
|
|
1389
|
-
target_kind: "
|
|
1441
|
+
target_kind: "agent" | "tool";
|
|
1390
1442
|
target_name: string;
|
|
1391
1443
|
turns_per_hour_override: number | null;
|
|
1392
1444
|
};
|
|
@@ -1940,7 +1992,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
1940
1992
|
}[];
|
|
1941
1993
|
}[];
|
|
1942
1994
|
} | null;
|
|
1943
|
-
target_kind: "
|
|
1995
|
+
target_kind: "agent" | "tool";
|
|
1944
1996
|
target_name: string;
|
|
1945
1997
|
}[];
|
|
1946
1998
|
total: number;
|
|
@@ -1992,7 +2044,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
1992
2044
|
}[];
|
|
1993
2045
|
}[];
|
|
1994
2046
|
} | null;
|
|
1995
|
-
target_kind: "
|
|
2047
|
+
target_kind: "agent" | "tool";
|
|
1996
2048
|
target_name: string;
|
|
1997
2049
|
}>;
|
|
1998
2050
|
readonly setConversationConfig: (config: import("@tai42/api-client").TargetConversationConfig) => Promise<{
|
|
@@ -2042,16 +2094,16 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2042
2094
|
}[];
|
|
2043
2095
|
}[];
|
|
2044
2096
|
} | null;
|
|
2045
|
-
target_kind: "
|
|
2097
|
+
target_kind: "agent" | "tool";
|
|
2046
2098
|
target_name: string;
|
|
2047
2099
|
};
|
|
2048
2100
|
created: boolean;
|
|
2049
|
-
target_kind: "
|
|
2101
|
+
target_kind: "agent" | "tool";
|
|
2050
2102
|
target_name: string;
|
|
2051
2103
|
}>;
|
|
2052
2104
|
readonly deleteConversationConfig: (targetKind: import("@tai42/api-client").ConversationTargetKind, targetName: string) => Promise<{
|
|
2053
2105
|
removed: boolean;
|
|
2054
|
-
target_kind: "
|
|
2106
|
+
target_kind: "agent" | "tool";
|
|
2055
2107
|
target_name: string;
|
|
2056
2108
|
}>;
|
|
2057
2109
|
readonly listFailedConversationMessages: (signal?: AbortSignal) => Promise<{
|
|
@@ -2298,7 +2350,10 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2298
2350
|
states_erased: number;
|
|
2299
2351
|
}>;
|
|
2300
2352
|
readonly listChannels: (signal?: AbortSignal) => Promise<{
|
|
2301
|
-
channels:
|
|
2353
|
+
channels: {
|
|
2354
|
+
identity_hint: string | null;
|
|
2355
|
+
name: string;
|
|
2356
|
+
}[];
|
|
2302
2357
|
}>;
|
|
2303
2358
|
readonly listInteractions: (page: number, pageSize: number, signal?: AbortSignal) => Promise<{
|
|
2304
2359
|
next_page: number | null;
|
|
@@ -2307,7 +2362,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2307
2362
|
total: number;
|
|
2308
2363
|
truncated: boolean;
|
|
2309
2364
|
items: {
|
|
2310
|
-
answer_format: "
|
|
2365
|
+
answer_format: "free" | "confirm" | "form" | "text" | "select" | "external";
|
|
2311
2366
|
audience: string | null;
|
|
2312
2367
|
channel: string | null;
|
|
2313
2368
|
created_at: string;
|
|
@@ -2400,6 +2455,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2400
2455
|
scopes: string[];
|
|
2401
2456
|
}[];
|
|
2402
2457
|
};
|
|
2458
|
+
span_release_error: string | null;
|
|
2403
2459
|
fanout: {
|
|
2404
2460
|
mode: "local-only";
|
|
2405
2461
|
note: string;
|
|
@@ -2434,6 +2490,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2434
2490
|
readonly removeProvider: (id: string) => Promise<{
|
|
2435
2491
|
provider_id: string;
|
|
2436
2492
|
removed_clients: number;
|
|
2493
|
+
span_release_error: string | null;
|
|
2437
2494
|
fanout: {
|
|
2438
2495
|
mode: "local-only";
|
|
2439
2496
|
note: string;
|
|
@@ -2490,6 +2547,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2490
2547
|
scopes: string[];
|
|
2491
2548
|
}[];
|
|
2492
2549
|
};
|
|
2550
|
+
span_release_error: string | null;
|
|
2493
2551
|
fanout: {
|
|
2494
2552
|
mode: "local-only";
|
|
2495
2553
|
note: string;
|
|
@@ -2588,6 +2646,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2588
2646
|
} | {
|
|
2589
2647
|
added_manifest_entries: string[];
|
|
2590
2648
|
connection_id: string;
|
|
2649
|
+
span_release_error: string | null;
|
|
2591
2650
|
fanout: {
|
|
2592
2651
|
mode: "local-only";
|
|
2593
2652
|
note: string;
|
|
@@ -2622,6 +2681,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2622
2681
|
readonly disconnect: (id: string) => Promise<{
|
|
2623
2682
|
connection_id: string;
|
|
2624
2683
|
removed_manifest_entries: string[];
|
|
2684
|
+
span_release_error: string | null;
|
|
2625
2685
|
upstream_revoke_outcome: "success" | "failed" | "skipped";
|
|
2626
2686
|
upstream_revoke_status: number | null;
|
|
2627
2687
|
fanout: {
|
|
@@ -2667,6 +2727,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2667
2727
|
enabled_sub_services: string[];
|
|
2668
2728
|
flow_id: string | null;
|
|
2669
2729
|
removed_manifest_entries: string[];
|
|
2730
|
+
span_release_error: string | null;
|
|
2670
2731
|
fanout: {
|
|
2671
2732
|
mode: "local-only";
|
|
2672
2733
|
note: string;
|
|
@@ -2710,6 +2771,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2710
2771
|
connection_id: string;
|
|
2711
2772
|
kind: "success";
|
|
2712
2773
|
return_url: string;
|
|
2774
|
+
span_release_error: string | null;
|
|
2713
2775
|
fanout: {
|
|
2714
2776
|
mode: "local-only";
|
|
2715
2777
|
note: string;
|
|
@@ -2766,6 +2828,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2766
2828
|
name: string | null;
|
|
2767
2829
|
} | null;
|
|
2768
2830
|
} | null;
|
|
2831
|
+
span_release_error: string | null;
|
|
2769
2832
|
status: string;
|
|
2770
2833
|
fanout: {
|
|
2771
2834
|
mode: "local-only";
|
|
@@ -2808,6 +2871,28 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2808
2871
|
sub_service: string;
|
|
2809
2872
|
} | null | undefined;
|
|
2810
2873
|
}[];
|
|
2874
|
+
extension_settings: {
|
|
2875
|
+
backend_module: string | null;
|
|
2876
|
+
extensions_modules: string[];
|
|
2877
|
+
tools: {
|
|
2878
|
+
title: string;
|
|
2879
|
+
extensions: Record<string, (string | {
|
|
2880
|
+
name: string;
|
|
2881
|
+
config: Record<string, unknown>;
|
|
2882
|
+
})[][]>;
|
|
2883
|
+
}[];
|
|
2884
|
+
mcp: {
|
|
2885
|
+
title: string;
|
|
2886
|
+
extensions: Record<string, (string | {
|
|
2887
|
+
name: string;
|
|
2888
|
+
config: Record<string, unknown>;
|
|
2889
|
+
})[][]>;
|
|
2890
|
+
}[];
|
|
2891
|
+
api_tools: Record<string, (string | {
|
|
2892
|
+
name: string;
|
|
2893
|
+
config: Record<string, unknown>;
|
|
2894
|
+
})[][]>;
|
|
2895
|
+
};
|
|
2811
2896
|
}>;
|
|
2812
2897
|
readonly getMcpEnvRefs: (signal?: AbortSignal) => Promise<{
|
|
2813
2898
|
has_default: boolean;
|
|
@@ -2866,6 +2951,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2866
2951
|
name: string | null;
|
|
2867
2952
|
} | null;
|
|
2868
2953
|
refused: string[];
|
|
2954
|
+
span_release_error: string | null;
|
|
2869
2955
|
fanout: {
|
|
2870
2956
|
mode: "local-only";
|
|
2871
2957
|
note: string;
|
|
@@ -2950,6 +3036,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
2950
3036
|
name: string | null;
|
|
2951
3037
|
} | null;
|
|
2952
3038
|
} | null;
|
|
3039
|
+
span_release_error: string | null;
|
|
2953
3040
|
status: string;
|
|
2954
3041
|
fanout: {
|
|
2955
3042
|
mode: "local-only";
|
|
@@ -3015,18 +3102,37 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3015
3102
|
removed: boolean;
|
|
3016
3103
|
slug: string;
|
|
3017
3104
|
}>;
|
|
3018
|
-
readonly
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
} | null | undefined;
|
|
3105
|
+
readonly getMcpStatus: (signal?: AbortSignal) => Promise<{
|
|
3106
|
+
bound: Record<string, string[]>;
|
|
3107
|
+
failed: {
|
|
3108
|
+
category: string;
|
|
3109
|
+
http_status: number | null;
|
|
3110
|
+
message: string;
|
|
3111
|
+
status: string;
|
|
3112
|
+
title: string;
|
|
3027
3113
|
}[];
|
|
3114
|
+
health: Record<string, {
|
|
3115
|
+
consecutive_failures: number;
|
|
3116
|
+
failing_since: string | null;
|
|
3117
|
+
last_error: Record<string, string> | null;
|
|
3118
|
+
last_success: string | null;
|
|
3119
|
+
}>;
|
|
3028
3120
|
}>;
|
|
3029
|
-
readonly
|
|
3121
|
+
readonly listMcpAdvertisedTools: (title: string, signal?: AbortSignal) => Promise<{
|
|
3122
|
+
exclude: string[];
|
|
3123
|
+
include: string[];
|
|
3124
|
+
title: string;
|
|
3125
|
+
tools: {
|
|
3126
|
+
bound: boolean;
|
|
3127
|
+
description: string | null;
|
|
3128
|
+
name: string;
|
|
3129
|
+
selected: boolean;
|
|
3130
|
+
title: string | null;
|
|
3131
|
+
unbound_reason: "server_failed" | "not_loaded" | "preset_conflict" | "unusable_schema" | "not_listed_at_bind" | null;
|
|
3132
|
+
}[];
|
|
3133
|
+
unadvertised: string[];
|
|
3134
|
+
}>;
|
|
3135
|
+
readonly setMcpToolFilter: (title: string, filter: import("@tai42/api-client").McpToolFilter) => Promise<{
|
|
3030
3136
|
awaiting_respawn: {
|
|
3031
3137
|
keys: string[];
|
|
3032
3138
|
name: string;
|
|
@@ -3051,6 +3157,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3051
3157
|
name: string | null;
|
|
3052
3158
|
} | null;
|
|
3053
3159
|
} | null;
|
|
3160
|
+
span_release_error: string | null;
|
|
3054
3161
|
status: string;
|
|
3055
3162
|
fanout: {
|
|
3056
3163
|
mode: "local-only";
|
|
@@ -3083,23 +3190,21 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3083
3190
|
mode: "unreachable";
|
|
3084
3191
|
};
|
|
3085
3192
|
}>;
|
|
3086
|
-
readonly
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3193
|
+
readonly reloadMcp: (title: string) => Promise<{
|
|
3194
|
+
error: string | null;
|
|
3195
|
+
local_only: boolean;
|
|
3196
|
+
ok: boolean;
|
|
3197
|
+
op: string;
|
|
3198
|
+
reachable: boolean;
|
|
3199
|
+
results: {
|
|
3200
|
+
detail: string | null;
|
|
3201
|
+
error: string | null;
|
|
3202
|
+
name: string;
|
|
3203
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
3204
|
+
payload: unknown;
|
|
3094
3205
|
}[];
|
|
3095
|
-
health: Record<string, {
|
|
3096
|
-
consecutive_failures: number;
|
|
3097
|
-
failing_since: string | null;
|
|
3098
|
-
last_error: Record<string, string> | null;
|
|
3099
|
-
last_success: string | null;
|
|
3100
|
-
}>;
|
|
3101
3206
|
}>;
|
|
3102
|
-
readonly
|
|
3207
|
+
readonly listFailedMcps: (signal?: AbortSignal) => Promise<{
|
|
3103
3208
|
error: string | null;
|
|
3104
3209
|
local_only: boolean;
|
|
3105
3210
|
ok: boolean;
|
|
@@ -3113,7 +3218,68 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3113
3218
|
payload: unknown;
|
|
3114
3219
|
}[];
|
|
3115
3220
|
}>;
|
|
3116
|
-
readonly
|
|
3221
|
+
readonly reloadFailedMcps: () => Promise<{
|
|
3222
|
+
error: string | null;
|
|
3223
|
+
local_only: boolean;
|
|
3224
|
+
ok: boolean;
|
|
3225
|
+
op: string;
|
|
3226
|
+
reachable: boolean;
|
|
3227
|
+
results: {
|
|
3228
|
+
detail: string | null;
|
|
3229
|
+
error: string | null;
|
|
3230
|
+
name: string;
|
|
3231
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
3232
|
+
payload: unknown;
|
|
3233
|
+
}[];
|
|
3234
|
+
}>;
|
|
3235
|
+
readonly deregisterMcp: (title: string) => Promise<{
|
|
3236
|
+
error: string | null;
|
|
3237
|
+
local_only: boolean;
|
|
3238
|
+
ok: boolean;
|
|
3239
|
+
op: string;
|
|
3240
|
+
reachable: boolean;
|
|
3241
|
+
results: {
|
|
3242
|
+
detail: string | null;
|
|
3243
|
+
error: string | null;
|
|
3244
|
+
name: string;
|
|
3245
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
3246
|
+
payload: unknown;
|
|
3247
|
+
}[];
|
|
3248
|
+
}>;
|
|
3249
|
+
readonly getManifest: (signal?: AbortSignal) => Promise<{
|
|
3250
|
+
user_tools: string[];
|
|
3251
|
+
mcp: {
|
|
3252
|
+
[x: string]: unknown;
|
|
3253
|
+
managed?: {
|
|
3254
|
+
connection_id: string;
|
|
3255
|
+
provider_id: string;
|
|
3256
|
+
sub_service: string;
|
|
3257
|
+
} | null | undefined;
|
|
3258
|
+
}[];
|
|
3259
|
+
extension_settings: {
|
|
3260
|
+
backend_module: string | null;
|
|
3261
|
+
extensions_modules: string[];
|
|
3262
|
+
tools: {
|
|
3263
|
+
title: string;
|
|
3264
|
+
extensions: Record<string, (string | {
|
|
3265
|
+
name: string;
|
|
3266
|
+
config: Record<string, unknown>;
|
|
3267
|
+
})[][]>;
|
|
3268
|
+
}[];
|
|
3269
|
+
mcp: {
|
|
3270
|
+
title: string;
|
|
3271
|
+
extensions: Record<string, (string | {
|
|
3272
|
+
name: string;
|
|
3273
|
+
config: Record<string, unknown>;
|
|
3274
|
+
})[][]>;
|
|
3275
|
+
}[];
|
|
3276
|
+
api_tools: Record<string, (string | {
|
|
3277
|
+
name: string;
|
|
3278
|
+
config: Record<string, unknown>;
|
|
3279
|
+
})[][]>;
|
|
3280
|
+
};
|
|
3281
|
+
}>;
|
|
3282
|
+
readonly setMcpConfig: (mcp: unknown[]) => Promise<{
|
|
3117
3283
|
awaiting_respawn: {
|
|
3118
3284
|
keys: string[];
|
|
3119
3285
|
name: string;
|
|
@@ -3138,6 +3304,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3138
3304
|
name: string | null;
|
|
3139
3305
|
} | null;
|
|
3140
3306
|
} | null;
|
|
3307
|
+
span_release_error: string | null;
|
|
3141
3308
|
status: string;
|
|
3142
3309
|
fanout: {
|
|
3143
3310
|
mode: "local-only";
|
|
@@ -3170,7 +3337,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3170
3337
|
mode: "unreachable";
|
|
3171
3338
|
};
|
|
3172
3339
|
}>;
|
|
3173
|
-
readonly
|
|
3340
|
+
readonly addToolsEntries: (entries: readonly unknown[], replace?: boolean) => Promise<{
|
|
3174
3341
|
awaiting_respawn: {
|
|
3175
3342
|
keys: string[];
|
|
3176
3343
|
name: string;
|
|
@@ -3195,6 +3362,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3195
3362
|
name: string | null;
|
|
3196
3363
|
} | null;
|
|
3197
3364
|
} | null;
|
|
3365
|
+
span_release_error: string | null;
|
|
3198
3366
|
status: string;
|
|
3199
3367
|
fanout: {
|
|
3200
3368
|
mode: "local-only";
|
|
@@ -3227,7 +3395,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3227
3395
|
mode: "unreachable";
|
|
3228
3396
|
};
|
|
3229
3397
|
}>;
|
|
3230
|
-
readonly
|
|
3398
|
+
readonly removeToolsEntry: (title: string) => Promise<{
|
|
3231
3399
|
awaiting_respawn: {
|
|
3232
3400
|
keys: string[];
|
|
3233
3401
|
name: string;
|
|
@@ -3252,6 +3420,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3252
3420
|
name: string | null;
|
|
3253
3421
|
} | null;
|
|
3254
3422
|
} | null;
|
|
3423
|
+
span_release_error: string | null;
|
|
3255
3424
|
status: string;
|
|
3256
3425
|
fanout: {
|
|
3257
3426
|
mode: "local-only";
|
|
@@ -3284,7 +3453,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3284
3453
|
mode: "unreachable";
|
|
3285
3454
|
};
|
|
3286
3455
|
}>;
|
|
3287
|
-
readonly
|
|
3456
|
+
readonly addAgentsEntries: (entries: readonly unknown[], replace?: boolean) => Promise<{
|
|
3288
3457
|
awaiting_respawn: {
|
|
3289
3458
|
keys: string[];
|
|
3290
3459
|
name: string;
|
|
@@ -3309,6 +3478,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3309
3478
|
name: string | null;
|
|
3310
3479
|
} | null;
|
|
3311
3480
|
} | null;
|
|
3481
|
+
span_release_error: string | null;
|
|
3312
3482
|
status: string;
|
|
3313
3483
|
fanout: {
|
|
3314
3484
|
mode: "local-only";
|
|
@@ -3341,7 +3511,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3341
3511
|
mode: "unreachable";
|
|
3342
3512
|
};
|
|
3343
3513
|
}>;
|
|
3344
|
-
readonly
|
|
3514
|
+
readonly removeAgentsEntry: (title: string) => Promise<{
|
|
3345
3515
|
awaiting_respawn: {
|
|
3346
3516
|
keys: string[];
|
|
3347
3517
|
name: string;
|
|
@@ -3366,6 +3536,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3366
3536
|
name: string | null;
|
|
3367
3537
|
} | null;
|
|
3368
3538
|
} | null;
|
|
3539
|
+
span_release_error: string | null;
|
|
3369
3540
|
status: string;
|
|
3370
3541
|
fanout: {
|
|
3371
3542
|
mode: "local-only";
|
|
@@ -3398,52 +3569,86 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3398
3569
|
mode: "unreachable";
|
|
3399
3570
|
};
|
|
3400
3571
|
}>;
|
|
3401
|
-
readonly
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
ok: boolean;
|
|
3405
|
-
op: string;
|
|
3406
|
-
reachable: boolean;
|
|
3407
|
-
results: {
|
|
3408
|
-
detail: string | null;
|
|
3409
|
-
error: string | null;
|
|
3572
|
+
readonly updateApiTools: (body: import("@tai42/api-client").ApiToolsListsBody) => Promise<{
|
|
3573
|
+
awaiting_respawn: {
|
|
3574
|
+
keys: string[];
|
|
3410
3575
|
name: string;
|
|
3411
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
3412
|
-
payload: unknown;
|
|
3413
3576
|
}[];
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3577
|
+
env_keys: number;
|
|
3578
|
+
recycle: {
|
|
3579
|
+
fresh: {
|
|
3580
|
+
generation: number;
|
|
3581
|
+
kind: string;
|
|
3582
|
+
name: string;
|
|
3583
|
+
}[];
|
|
3584
|
+
recycle: {
|
|
3585
|
+
detail: string | null;
|
|
3586
|
+
generation_before: number;
|
|
3587
|
+
kind: string;
|
|
3588
|
+
name: string;
|
|
3589
|
+
status: string;
|
|
3590
|
+
}[];
|
|
3591
|
+
recycle_stopped: {
|
|
3592
|
+
detail: string;
|
|
3593
|
+
kind: string;
|
|
3594
|
+
name: string | null;
|
|
3595
|
+
} | null;
|
|
3596
|
+
} | null;
|
|
3597
|
+
span_release_error: string | null;
|
|
3598
|
+
status: string;
|
|
3599
|
+
fanout: {
|
|
3600
|
+
mode: "local-only";
|
|
3601
|
+
note: string;
|
|
3602
|
+
} | {
|
|
3423
3603
|
error: string | null;
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
detail: string | null;
|
|
3604
|
+
local_only: boolean;
|
|
3605
|
+
op: string;
|
|
3606
|
+
reachable: boolean;
|
|
3607
|
+
results: {
|
|
3608
|
+
detail: string | null;
|
|
3609
|
+
error: string | null;
|
|
3610
|
+
name: string;
|
|
3611
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
3612
|
+
payload: unknown;
|
|
3613
|
+
}[];
|
|
3614
|
+
mode: "fleet";
|
|
3615
|
+
} | {
|
|
3437
3616
|
error: string | null;
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3617
|
+
local_only: boolean;
|
|
3618
|
+
op: string;
|
|
3619
|
+
reachable: boolean;
|
|
3620
|
+
results: {
|
|
3621
|
+
detail: string | null;
|
|
3622
|
+
error: string | null;
|
|
3623
|
+
name: string;
|
|
3624
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
|
|
3625
|
+
payload: unknown;
|
|
3626
|
+
}[];
|
|
3627
|
+
mode: "unreachable";
|
|
3628
|
+
};
|
|
3442
3629
|
}>;
|
|
3443
3630
|
readonly listTemplates: (signal?: AbortSignal) => Promise<string[]>;
|
|
3444
3631
|
readonly getTemplate: (templateId: string) => Promise<{
|
|
3445
|
-
|
|
3446
|
-
|
|
3632
|
+
content_type: string | null;
|
|
3633
|
+
id: string;
|
|
3634
|
+
kind: "binary";
|
|
3635
|
+
schema: null;
|
|
3636
|
+
size: number;
|
|
3637
|
+
} | {
|
|
3638
|
+
content: string;
|
|
3639
|
+
content_type: string | null;
|
|
3640
|
+
id: string;
|
|
3641
|
+
kind: "document";
|
|
3642
|
+
schema: null;
|
|
3643
|
+
size: number;
|
|
3644
|
+
} | {
|
|
3645
|
+
content: string;
|
|
3646
|
+
content_type: string | null;
|
|
3647
|
+
id: string;
|
|
3648
|
+
kind: "text";
|
|
3649
|
+
schema: Record<string, unknown> | null;
|
|
3650
|
+
schema_error: string | null;
|
|
3651
|
+
size: number;
|
|
3447
3652
|
}>;
|
|
3448
3653
|
readonly uploadTemplate: (path: string, content: string) => Promise<{
|
|
3449
3654
|
fanout: {
|
|
@@ -3524,12 +3729,14 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3524
3729
|
};
|
|
3525
3730
|
}>;
|
|
3526
3731
|
readonly listExtensions: (signal?: AbortSignal) => Promise<{
|
|
3732
|
+
config_schema: Record<string, unknown> | null;
|
|
3527
3733
|
kind: string;
|
|
3528
3734
|
multiple: boolean;
|
|
3529
3735
|
name: string;
|
|
3530
3736
|
}[]>;
|
|
3531
3737
|
readonly getToolExtensions: (name: string, signal?: AbortSignal) => Promise<{
|
|
3532
3738
|
available: {
|
|
3739
|
+
config_schema: Record<string, unknown> | null;
|
|
3533
3740
|
kind: string;
|
|
3534
3741
|
multiple: boolean;
|
|
3535
3742
|
name: string;
|
|
@@ -3564,6 +3771,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3564
3771
|
name: string | null;
|
|
3565
3772
|
} | null;
|
|
3566
3773
|
} | null;
|
|
3774
|
+
span_release_error: string | null;
|
|
3567
3775
|
status: string;
|
|
3568
3776
|
fanout: {
|
|
3569
3777
|
mode: "local-only";
|
|
@@ -3636,10 +3844,29 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3636
3844
|
module: string | null;
|
|
3637
3845
|
present: boolean;
|
|
3638
3846
|
provider: string | null;
|
|
3847
|
+
surfaces: ("templates" | "storage")[];
|
|
3639
3848
|
}>;
|
|
3640
3849
|
readonly listStorageResources: (signal?: AbortSignal) => Promise<{
|
|
3641
3850
|
resources: string[];
|
|
3642
3851
|
}>;
|
|
3852
|
+
readonly readStorageResource: (id: string, signal?: AbortSignal) => Promise<{
|
|
3853
|
+
content_type: string | null;
|
|
3854
|
+
id: string;
|
|
3855
|
+
kind: "binary";
|
|
3856
|
+
size: number;
|
|
3857
|
+
} | {
|
|
3858
|
+
content: string;
|
|
3859
|
+
content_type: string | null;
|
|
3860
|
+
id: string;
|
|
3861
|
+
kind: "document";
|
|
3862
|
+
size: number;
|
|
3863
|
+
} | {
|
|
3864
|
+
content: string;
|
|
3865
|
+
content_type: string | null;
|
|
3866
|
+
id: string;
|
|
3867
|
+
kind: "text";
|
|
3868
|
+
size: number;
|
|
3869
|
+
}>;
|
|
3643
3870
|
readonly statStorageResource: (id: string, signal?: AbortSignal) => Promise<{
|
|
3644
3871
|
content_type: string | null;
|
|
3645
3872
|
id: string;
|
|
@@ -3763,7 +3990,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3763
3990
|
subjects: {
|
|
3764
3991
|
key: string;
|
|
3765
3992
|
kind: string;
|
|
3766
|
-
target_kind: "
|
|
3993
|
+
target_kind: "agent" | "tool";
|
|
3767
3994
|
target_name: string;
|
|
3768
3995
|
}[];
|
|
3769
3996
|
}[] | undefined;
|
|
@@ -3788,7 +4015,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3788
4015
|
subjects: {
|
|
3789
4016
|
key: string;
|
|
3790
4017
|
kind: string;
|
|
3791
|
-
target_kind: "
|
|
4018
|
+
target_kind: "agent" | "tool";
|
|
3792
4019
|
target_name: string;
|
|
3793
4020
|
}[];
|
|
3794
4021
|
}[] | undefined;
|
|
@@ -3816,7 +4043,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3816
4043
|
subjects: {
|
|
3817
4044
|
key: string;
|
|
3818
4045
|
kind: string;
|
|
3819
|
-
target_kind: "
|
|
4046
|
+
target_kind: "agent" | "tool";
|
|
3820
4047
|
target_name: string;
|
|
3821
4048
|
}[];
|
|
3822
4049
|
}[] | undefined;
|
|
@@ -3826,6 +4053,15 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3826
4053
|
template: string;
|
|
3827
4054
|
updated: boolean;
|
|
3828
4055
|
}>;
|
|
4056
|
+
readonly getStateTemplateReferees: (name: string, template: string, signal?: AbortSignal) => Promise<{
|
|
4057
|
+
action: "rename" | "delete" | "detach";
|
|
4058
|
+
holders: {
|
|
4059
|
+
kind: string;
|
|
4060
|
+
locator: Record<string, string | number>;
|
|
4061
|
+
name: string;
|
|
4062
|
+
summary: string;
|
|
4063
|
+
}[];
|
|
4064
|
+
}>;
|
|
3829
4065
|
readonly detachStateTemplate: (name: string, template: string) => Promise<{
|
|
3830
4066
|
detached: boolean;
|
|
3831
4067
|
state: string;
|
|
@@ -3839,7 +4075,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3839
4075
|
subject: {
|
|
3840
4076
|
key: string;
|
|
3841
4077
|
kind: string;
|
|
3842
|
-
target_kind: "
|
|
4078
|
+
target_kind: "agent" | "tool";
|
|
3843
4079
|
target_name: string;
|
|
3844
4080
|
};
|
|
3845
4081
|
updated_at: number;
|
|
@@ -3850,7 +4086,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3850
4086
|
subjects: {
|
|
3851
4087
|
key: string;
|
|
3852
4088
|
kind: string;
|
|
3853
|
-
target_kind: "
|
|
4089
|
+
target_kind: "agent" | "tool";
|
|
3854
4090
|
target_name: string;
|
|
3855
4091
|
}[];
|
|
3856
4092
|
}[] | undefined;
|
|
@@ -3862,7 +4098,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3862
4098
|
subject: {
|
|
3863
4099
|
key: string;
|
|
3864
4100
|
kind: string;
|
|
3865
|
-
target_kind: "
|
|
4101
|
+
target_kind: "agent" | "tool";
|
|
3866
4102
|
target_name: string;
|
|
3867
4103
|
};
|
|
3868
4104
|
updated_at: number;
|
|
@@ -3874,7 +4110,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3874
4110
|
subjects: {
|
|
3875
4111
|
key: string;
|
|
3876
4112
|
kind: string;
|
|
3877
|
-
target_kind: "
|
|
4113
|
+
target_kind: "agent" | "tool";
|
|
3878
4114
|
target_name: string;
|
|
3879
4115
|
}[];
|
|
3880
4116
|
}[] | undefined;
|
|
@@ -3896,7 +4132,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3896
4132
|
subjects: {
|
|
3897
4133
|
key: string;
|
|
3898
4134
|
kind: string;
|
|
3899
|
-
target_kind: "
|
|
4135
|
+
target_kind: "agent" | "tool";
|
|
3900
4136
|
target_name: string;
|
|
3901
4137
|
}[];
|
|
3902
4138
|
}[];
|
|
@@ -3908,7 +4144,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3908
4144
|
subject: {
|
|
3909
4145
|
key: string;
|
|
3910
4146
|
kind: string;
|
|
3911
|
-
target_kind: "
|
|
4147
|
+
target_kind: "agent" | "tool";
|
|
3912
4148
|
target_name: string;
|
|
3913
4149
|
};
|
|
3914
4150
|
updated_at: number;
|
|
@@ -3919,14 +4155,14 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3919
4155
|
canonical_subject: {
|
|
3920
4156
|
key: string;
|
|
3921
4157
|
kind: string;
|
|
3922
|
-
target_kind: "
|
|
4158
|
+
target_kind: "agent" | "tool";
|
|
3923
4159
|
target_name: string;
|
|
3924
4160
|
};
|
|
3925
4161
|
data: Record<string, unknown>;
|
|
3926
4162
|
folded_from: {
|
|
3927
4163
|
key: string;
|
|
3928
4164
|
kind: string;
|
|
3929
|
-
target_kind: "
|
|
4165
|
+
target_kind: "agent" | "tool";
|
|
3930
4166
|
target_name: string;
|
|
3931
4167
|
}[];
|
|
3932
4168
|
seq: number;
|
|
@@ -3934,7 +4170,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3934
4170
|
subject: {
|
|
3935
4171
|
key: string;
|
|
3936
4172
|
kind: string;
|
|
3937
|
-
target_kind: "
|
|
4173
|
+
target_kind: "agent" | "tool";
|
|
3938
4174
|
target_name: string;
|
|
3939
4175
|
};
|
|
3940
4176
|
} | null>;
|
|
@@ -3942,14 +4178,14 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3942
4178
|
canonical_subject: {
|
|
3943
4179
|
key: string;
|
|
3944
4180
|
kind: string;
|
|
3945
|
-
target_kind: "
|
|
4181
|
+
target_kind: "agent" | "tool";
|
|
3946
4182
|
target_name: string;
|
|
3947
4183
|
};
|
|
3948
4184
|
data: Record<string, unknown>;
|
|
3949
4185
|
folded_from: {
|
|
3950
4186
|
key: string;
|
|
3951
4187
|
kind: string;
|
|
3952
|
-
target_kind: "
|
|
4188
|
+
target_kind: "agent" | "tool";
|
|
3953
4189
|
target_name: string;
|
|
3954
4190
|
}[];
|
|
3955
4191
|
seq: number;
|
|
@@ -3957,7 +4193,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3957
4193
|
subject: {
|
|
3958
4194
|
key: string;
|
|
3959
4195
|
kind: string;
|
|
3960
|
-
target_kind: "
|
|
4196
|
+
target_kind: "agent" | "tool";
|
|
3961
4197
|
target_name: string;
|
|
3962
4198
|
};
|
|
3963
4199
|
}>;
|
|
@@ -3965,14 +4201,14 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3965
4201
|
canonical_subject: {
|
|
3966
4202
|
key: string;
|
|
3967
4203
|
kind: string;
|
|
3968
|
-
target_kind: "
|
|
4204
|
+
target_kind: "agent" | "tool";
|
|
3969
4205
|
target_name: string;
|
|
3970
4206
|
};
|
|
3971
4207
|
data: Record<string, unknown>;
|
|
3972
4208
|
folded_from: {
|
|
3973
4209
|
key: string;
|
|
3974
4210
|
kind: string;
|
|
3975
|
-
target_kind: "
|
|
4211
|
+
target_kind: "agent" | "tool";
|
|
3976
4212
|
target_name: string;
|
|
3977
4213
|
}[];
|
|
3978
4214
|
seq: number;
|
|
@@ -3980,7 +4216,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
3980
4216
|
subject: {
|
|
3981
4217
|
key: string;
|
|
3982
4218
|
kind: string;
|
|
3983
|
-
target_kind: "
|
|
4219
|
+
target_kind: "agent" | "tool";
|
|
3984
4220
|
target_name: string;
|
|
3985
4221
|
};
|
|
3986
4222
|
}>;
|
|
@@ -4028,7 +4264,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
4028
4264
|
origin: {
|
|
4029
4265
|
actor: string | null;
|
|
4030
4266
|
consumer: string | null;
|
|
4031
|
-
door: "
|
|
4267
|
+
door: "api" | "tool" | "conversation" | "hook" | "schedule" | "operator";
|
|
4032
4268
|
inbound_id: string | null;
|
|
4033
4269
|
meta: Record<string, unknown> | null;
|
|
4034
4270
|
op_id: string | null;
|
|
@@ -4239,7 +4475,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
4239
4475
|
subjects: {
|
|
4240
4476
|
key: string;
|
|
4241
4477
|
kind: string;
|
|
4242
|
-
target_kind: "
|
|
4478
|
+
target_kind: "agent" | "tool";
|
|
4243
4479
|
target_name: string;
|
|
4244
4480
|
}[];
|
|
4245
4481
|
}[] | undefined;
|
|
@@ -4267,7 +4503,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
4267
4503
|
subject: {
|
|
4268
4504
|
key: string;
|
|
4269
4505
|
kind: string;
|
|
4270
|
-
target_kind: "
|
|
4506
|
+
target_kind: "agent" | "tool";
|
|
4271
4507
|
target_name: string;
|
|
4272
4508
|
};
|
|
4273
4509
|
}[];
|
|
@@ -4289,9 +4525,27 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
4289
4525
|
conflicted: boolean;
|
|
4290
4526
|
conflicted_reason: string | null;
|
|
4291
4527
|
description: string;
|
|
4292
|
-
|
|
4528
|
+
input_map: string | {
|
|
4529
|
+
content?: string | undefined;
|
|
4530
|
+
id?: string | undefined;
|
|
4531
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4532
|
+
} | null;
|
|
4533
|
+
input_schema: Record<string, unknown> | {
|
|
4534
|
+
content?: string | undefined;
|
|
4535
|
+
id?: string | undefined;
|
|
4536
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4537
|
+
} | null;
|
|
4293
4538
|
name: string;
|
|
4294
|
-
|
|
4539
|
+
output_map: string | {
|
|
4540
|
+
content?: string | undefined;
|
|
4541
|
+
id?: string | undefined;
|
|
4542
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4543
|
+
} | null;
|
|
4544
|
+
output_schema: Record<string, unknown> | {
|
|
4545
|
+
content?: string | undefined;
|
|
4546
|
+
id?: string | undefined;
|
|
4547
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4548
|
+
} | null;
|
|
4295
4549
|
used_by: string[];
|
|
4296
4550
|
uses: string[];
|
|
4297
4551
|
extensions: (string | {
|
|
@@ -4305,9 +4559,27 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
4305
4559
|
conflicted: boolean;
|
|
4306
4560
|
conflicted_reason: string | null;
|
|
4307
4561
|
description: string;
|
|
4308
|
-
|
|
4562
|
+
input_map: string | {
|
|
4563
|
+
content?: string | undefined;
|
|
4564
|
+
id?: string | undefined;
|
|
4565
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4566
|
+
} | null;
|
|
4567
|
+
input_schema: Record<string, unknown> | {
|
|
4568
|
+
content?: string | undefined;
|
|
4569
|
+
id?: string | undefined;
|
|
4570
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4571
|
+
} | null;
|
|
4309
4572
|
name: string;
|
|
4310
|
-
|
|
4573
|
+
output_map: string | {
|
|
4574
|
+
content?: string | undefined;
|
|
4575
|
+
id?: string | undefined;
|
|
4576
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4577
|
+
} | null;
|
|
4578
|
+
output_schema: Record<string, unknown> | {
|
|
4579
|
+
content?: string | undefined;
|
|
4580
|
+
id?: string | undefined;
|
|
4581
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4582
|
+
} | null;
|
|
4311
4583
|
used_by: string[];
|
|
4312
4584
|
uses: string[];
|
|
4313
4585
|
extensions: (string | {
|
|
@@ -4322,9 +4594,27 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
4322
4594
|
conflicted_reason: string | null;
|
|
4323
4595
|
description: string;
|
|
4324
4596
|
fixed_kwargs: Record<string, unknown>;
|
|
4325
|
-
|
|
4597
|
+
input_map: string | {
|
|
4598
|
+
content?: string | undefined;
|
|
4599
|
+
id?: string | undefined;
|
|
4600
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4601
|
+
} | null;
|
|
4602
|
+
input_schema: Record<string, unknown> | {
|
|
4603
|
+
content?: string | undefined;
|
|
4604
|
+
id?: string | undefined;
|
|
4605
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4606
|
+
} | null;
|
|
4326
4607
|
name: string;
|
|
4327
|
-
|
|
4608
|
+
output_map: string | {
|
|
4609
|
+
content?: string | undefined;
|
|
4610
|
+
id?: string | undefined;
|
|
4611
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4612
|
+
} | null;
|
|
4613
|
+
output_schema: Record<string, unknown> | {
|
|
4614
|
+
content?: string | undefined;
|
|
4615
|
+
id?: string | undefined;
|
|
4616
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4617
|
+
} | null;
|
|
4328
4618
|
used_by: string[];
|
|
4329
4619
|
uses: string[];
|
|
4330
4620
|
extensions: (string | {
|
|
@@ -4342,11 +4632,21 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
4342
4632
|
description: string;
|
|
4343
4633
|
extensions: (string | Record<string, unknown>)[][];
|
|
4344
4634
|
fixed_kwargs: Record<string, unknown>;
|
|
4635
|
+
input_map: string | {
|
|
4636
|
+
content?: string | undefined;
|
|
4637
|
+
id?: string | undefined;
|
|
4638
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4639
|
+
} | null;
|
|
4345
4640
|
input_schema: Record<string, unknown> | {
|
|
4346
4641
|
content?: string | undefined;
|
|
4347
4642
|
id?: string | undefined;
|
|
4348
4643
|
kwargs?: Record<string, unknown> | undefined;
|
|
4349
4644
|
} | null;
|
|
4645
|
+
output_map: string | {
|
|
4646
|
+
content?: string | undefined;
|
|
4647
|
+
id?: string | undefined;
|
|
4648
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4649
|
+
} | null;
|
|
4350
4650
|
output_schema: Record<string, unknown> | {
|
|
4351
4651
|
content?: string | undefined;
|
|
4352
4652
|
id?: string | undefined;
|
|
@@ -4407,11 +4707,21 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
4407
4707
|
description: string;
|
|
4408
4708
|
extensions: (string | Record<string, unknown>)[][];
|
|
4409
4709
|
fixed_kwargs: Record<string, unknown>;
|
|
4710
|
+
input_map: string | {
|
|
4711
|
+
content?: string | undefined;
|
|
4712
|
+
id?: string | undefined;
|
|
4713
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4714
|
+
} | null;
|
|
4410
4715
|
input_schema: Record<string, unknown> | {
|
|
4411
4716
|
content?: string | undefined;
|
|
4412
4717
|
id?: string | undefined;
|
|
4413
4718
|
kwargs?: Record<string, unknown> | undefined;
|
|
4414
4719
|
} | null;
|
|
4720
|
+
output_map: string | {
|
|
4721
|
+
content?: string | undefined;
|
|
4722
|
+
id?: string | undefined;
|
|
4723
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4724
|
+
} | null;
|
|
4415
4725
|
output_schema: Record<string, unknown> | {
|
|
4416
4726
|
content?: string | undefined;
|
|
4417
4727
|
id?: string | undefined;
|
|
@@ -4472,11 +4782,21 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
4472
4782
|
description: string;
|
|
4473
4783
|
extensions: (string | Record<string, unknown>)[][];
|
|
4474
4784
|
fixed_kwargs: Record<string, unknown>;
|
|
4785
|
+
input_map: string | {
|
|
4786
|
+
content?: string | undefined;
|
|
4787
|
+
id?: string | undefined;
|
|
4788
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4789
|
+
} | null;
|
|
4475
4790
|
input_schema: Record<string, unknown> | {
|
|
4476
4791
|
content?: string | undefined;
|
|
4477
4792
|
id?: string | undefined;
|
|
4478
4793
|
kwargs?: Record<string, unknown> | undefined;
|
|
4479
4794
|
} | null;
|
|
4795
|
+
output_map: string | {
|
|
4796
|
+
content?: string | undefined;
|
|
4797
|
+
id?: string | undefined;
|
|
4798
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
4799
|
+
} | null;
|
|
4480
4800
|
output_schema: Record<string, unknown> | {
|
|
4481
4801
|
content?: string | undefined;
|
|
4482
4802
|
id?: string | undefined;
|
|
@@ -4585,9 +4905,14 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
4585
4905
|
name: string;
|
|
4586
4906
|
renamed_from: string;
|
|
4587
4907
|
}>;
|
|
4588
|
-
readonly getPresetReferees: (name: string, signal?: AbortSignal) => Promise<{
|
|
4589
|
-
|
|
4590
|
-
|
|
4908
|
+
readonly getPresetReferees: (name: string, action: import("@tai42/api-client").PresetHolderAction, signal?: AbortSignal) => Promise<{
|
|
4909
|
+
action: "rename" | "delete" | "detach";
|
|
4910
|
+
holders: {
|
|
4911
|
+
kind: string;
|
|
4912
|
+
locator: Record<string, string | number>;
|
|
4913
|
+
name: string;
|
|
4914
|
+
summary: string;
|
|
4915
|
+
}[];
|
|
4591
4916
|
}>;
|
|
4592
4917
|
readonly validatePreset: (body: import("@tai42/api-client").ValidatePresetBody) => Promise<{
|
|
4593
4918
|
error: string | null;
|
|
@@ -4795,7 +5120,9 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
4795
5120
|
readonly MEDIA_ROUTE_PREFIX: "/api/interactions/media/";
|
|
4796
5121
|
readonly PERSON_KIND: "person";
|
|
4797
5122
|
};
|
|
4798
|
-
readonly request: <S extends Parameters<typeof import("@tai42/api-client").apiRequest>[2]>(path: string, schema: S, options?: Parameters<typeof import("@tai42/api-client").apiRequest>[3]) => Promise<import("zod").
|
|
5123
|
+
readonly request: <S extends Parameters<typeof import("@tai42/api-client").apiRequest>[2]>(path: string, schema: S, options?: Parameters<typeof import("@tai42/api-client").apiRequest>[3]) => Promise<import("zod").output<S>>;
|
|
5124
|
+
readonly holdersFromError: typeof import("../../../api-client/dist/errors").holdersFromError;
|
|
5125
|
+
readonly storedPresetFaultFromError: typeof import("../../../api-client/dist/errors").storedPresetFaultFromError;
|
|
4799
5126
|
} | null>;
|
|
4800
5127
|
export declare function useApi(): ApiClient;
|
|
4801
5128
|
export type { ApiClient };
|