omnara 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +258 -32
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -681,18 +681,148 @@ var zAgentConfigModel = z.object({
|
|
|
681
681
|
input_modalities: z.array(z.string()),
|
|
682
682
|
output_modalities: z.array(z.string())
|
|
683
683
|
});
|
|
684
|
-
var
|
|
684
|
+
var zCompiledEventWebhook = z.object({
|
|
685
|
+
url: z.string(),
|
|
686
|
+
events: z.array(z.enum([
|
|
687
|
+
"agent_input",
|
|
688
|
+
"model_output",
|
|
689
|
+
"tool_result",
|
|
690
|
+
"context_checkpoint",
|
|
691
|
+
"tool_call_update"
|
|
692
|
+
])).min(1),
|
|
693
|
+
signing_secret_id: zSecretId.optional()
|
|
694
|
+
});
|
|
695
|
+
var zCompiledModelReasoning = z.object({
|
|
696
|
+
effort: z.string()
|
|
697
|
+
});
|
|
698
|
+
var zCompiledAgentModel = z.object({
|
|
699
|
+
configured_model_id: zConfiguredModelId,
|
|
700
|
+
context_window_tokens: z.int().optional(),
|
|
701
|
+
default_max_output_tokens: z.int().optional(),
|
|
702
|
+
cache_retention: zModelCacheRetention.optional(),
|
|
703
|
+
reasoning: zCompiledModelReasoning.optional()
|
|
704
|
+
});
|
|
705
|
+
var zCompiledMachineSource = z.object({
|
|
706
|
+
machine_id: zMachineId.optional(),
|
|
707
|
+
machine_pool_id: zMachinePoolId.optional(),
|
|
708
|
+
max_machines: z.int().optional(),
|
|
709
|
+
initial_num_machines: z.int().optional(),
|
|
710
|
+
delete_after_idle_minutes: z.int().optional(),
|
|
711
|
+
cwd: z.string().optional(),
|
|
712
|
+
machine_cpu: z.int().optional(),
|
|
713
|
+
machine_memory_mb: z.int().optional(),
|
|
714
|
+
env_overlay: z.record(z.string(), z.string().nullable()).optional(),
|
|
715
|
+
secret_env_overlay: z.record(z.string(), zSecretId.nullable()).optional(),
|
|
716
|
+
machine_provider_options_overlay: z.record(z.string(), z.unknown()).optional(),
|
|
717
|
+
description: z.string().optional()
|
|
718
|
+
});
|
|
719
|
+
var zCompiledTool = z.object({
|
|
720
|
+
enabled: z.boolean(),
|
|
721
|
+
type: z.enum(["built_in", "custom"]).optional(),
|
|
722
|
+
permission: zToolPermissionSelection,
|
|
723
|
+
deferred: z.boolean().optional(),
|
|
724
|
+
description: z.string().optional(),
|
|
725
|
+
input_schema: z.record(z.string(), z.unknown()).optional()
|
|
726
|
+
});
|
|
727
|
+
var zCompiledMcpAuthBearer = z.object({
|
|
728
|
+
type: z.enum(["bearer"]),
|
|
729
|
+
secret_id: zSecretId
|
|
730
|
+
});
|
|
731
|
+
var zCompiledMcpAuthOAuth = z.object({
|
|
732
|
+
type: z.enum(["oauth"]),
|
|
733
|
+
secret_id: zSecretId
|
|
734
|
+
});
|
|
735
|
+
var zCompiledMcpAuthSigV4 = z.object({
|
|
736
|
+
type: z.enum(["sigv4"]),
|
|
737
|
+
secret_id: zSecretId,
|
|
738
|
+
service: z.string().min(1),
|
|
739
|
+
region: z.string().min(1)
|
|
740
|
+
});
|
|
741
|
+
var zCompiledMcpAuth = z.discriminatedUnion("type", [
|
|
742
|
+
zCompiledMcpAuthBearer.extend({ type: z.literal("bearer") }),
|
|
743
|
+
zCompiledMcpAuthOAuth.extend({ type: z.literal("oauth") }),
|
|
744
|
+
zCompiledMcpAuthSigV4.extend({ type: z.literal("sigv4") })
|
|
745
|
+
]);
|
|
746
|
+
var zCompiledMcpTool = z.object({
|
|
747
|
+
enabled: z.boolean().optional(),
|
|
748
|
+
permission: zToolPermissionSelection.optional(),
|
|
749
|
+
deferred: z.boolean().optional()
|
|
750
|
+
});
|
|
751
|
+
var zCompiledMcpServer = z.object({
|
|
752
|
+
url: z.string(),
|
|
753
|
+
auth: zCompiledMcpAuth.optional(),
|
|
754
|
+
default_enabled: z.boolean(),
|
|
755
|
+
permission: zToolPermissionSelection,
|
|
756
|
+
deferred: z.boolean().optional(),
|
|
757
|
+
tools: z.record(z.string(), zCompiledMcpTool).optional()
|
|
758
|
+
});
|
|
759
|
+
var zCompiledSkill = z.object({
|
|
760
|
+
id: zSkillId
|
|
761
|
+
});
|
|
762
|
+
var zCompiledSubagentModel = z.object({
|
|
763
|
+
configured_model_id: zConfiguredModelId.optional(),
|
|
764
|
+
context_window_tokens: z.int().optional(),
|
|
765
|
+
default_max_output_tokens: z.int().optional(),
|
|
766
|
+
cache_retention: zModelCacheRetention.optional(),
|
|
767
|
+
reasoning: zCompiledModelReasoning.optional()
|
|
768
|
+
});
|
|
769
|
+
var zCompiledSelfSubagent = z.object({
|
|
770
|
+
type: z.enum(["self"]),
|
|
771
|
+
description: z.string().optional(),
|
|
772
|
+
model: zCompiledSubagentModel.optional(),
|
|
773
|
+
instruction_append: z.string().optional(),
|
|
774
|
+
max_instances: z.int().optional(),
|
|
775
|
+
archive_after_idle_minutes: z.int().optional()
|
|
776
|
+
});
|
|
777
|
+
var zCompiledProfileSubagent = z.object({
|
|
778
|
+
type: z.enum(["profile"]),
|
|
779
|
+
profile_id: zAgentProfileId,
|
|
780
|
+
description: z.string().optional(),
|
|
781
|
+
model: zCompiledSubagentModel.optional(),
|
|
782
|
+
instruction_append: z.string().optional(),
|
|
783
|
+
max_instances: z.int().optional(),
|
|
784
|
+
archive_after_idle_minutes: z.int().optional()
|
|
785
|
+
});
|
|
786
|
+
var zCompiledSubagent = z.discriminatedUnion("type", [
|
|
787
|
+
zCompiledSelfSubagent.extend({ type: z.literal("self") }),
|
|
788
|
+
zCompiledProfileSubagent.extend({ type: z.literal("profile") })
|
|
789
|
+
]);
|
|
790
|
+
var zCompiledAgentConfig = z.object({
|
|
791
|
+
version: z.string().optional(),
|
|
792
|
+
instruction: z.string(),
|
|
793
|
+
model: zCompiledAgentModel,
|
|
794
|
+
machine_sources: z.array(zCompiledMachineSource).optional(),
|
|
795
|
+
tools: z.record(z.string(), zCompiledTool).optional(),
|
|
796
|
+
mcp: z.record(z.string(), zCompiledMcpServer).optional(),
|
|
797
|
+
event_webhook: zCompiledEventWebhook.optional(),
|
|
798
|
+
skills: z.array(zCompiledSkill).optional(),
|
|
799
|
+
subagents: z.record(z.string(), zCompiledSubagent).optional(),
|
|
800
|
+
max_subagents: z.int().optional(),
|
|
801
|
+
max_depth: z.int().optional()
|
|
802
|
+
});
|
|
803
|
+
var zAgentConfigSummary = z.object({
|
|
685
804
|
id: zAgentConfigId,
|
|
686
805
|
org_id: zOrganizationId,
|
|
687
806
|
project_id: zProjectId,
|
|
688
807
|
source: z.string().optional(),
|
|
689
808
|
source_format: z.enum(["yaml", "json"]).optional(),
|
|
690
|
-
compiler_version: z.string().optional(),
|
|
691
809
|
effective_definition_hash: z.string(),
|
|
692
810
|
model: zAgentConfigModel,
|
|
693
811
|
instruction_hash: z.string().optional(),
|
|
694
812
|
created_at: zTimestamp
|
|
695
813
|
});
|
|
814
|
+
var zAgentConfig = z.object({
|
|
815
|
+
id: zAgentConfigId,
|
|
816
|
+
org_id: zOrganizationId,
|
|
817
|
+
project_id: zProjectId,
|
|
818
|
+
source: z.string().optional(),
|
|
819
|
+
source_format: z.enum(["yaml", "json"]).optional(),
|
|
820
|
+
effective_definition_hash: z.string(),
|
|
821
|
+
model: zAgentConfigModel,
|
|
822
|
+
instruction_hash: z.string().optional(),
|
|
823
|
+
created_at: zTimestamp,
|
|
824
|
+
compiled_definition: zCompiledAgentConfig
|
|
825
|
+
});
|
|
696
826
|
var zCreateAgentProfileRequest = z.object({
|
|
697
827
|
name: zResourceName,
|
|
698
828
|
config: zAgentConfigId
|
|
@@ -704,6 +834,17 @@ var zUpdateAgentProfileRequest = z.object({
|
|
|
704
834
|
var zRenameAgentProfileRequest = z.object({
|
|
705
835
|
name: zResourceName
|
|
706
836
|
});
|
|
837
|
+
var zAgentProfileSummary = z.object({
|
|
838
|
+
id: zAgentProfileId,
|
|
839
|
+
org_id: zOrganizationId,
|
|
840
|
+
project_id: zProjectId,
|
|
841
|
+
name: zResourceName,
|
|
842
|
+
current_config_id: zAgentConfigId,
|
|
843
|
+
current_generation: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
844
|
+
created_at: zTimestamp,
|
|
845
|
+
updated_at: zTimestamp,
|
|
846
|
+
current_config: zAgentConfigSummary
|
|
847
|
+
});
|
|
707
848
|
var zAgentProfile = z.object({
|
|
708
849
|
id: zAgentProfileId,
|
|
709
850
|
org_id: zOrganizationId,
|
|
@@ -711,12 +852,12 @@ var zAgentProfile = z.object({
|
|
|
711
852
|
name: zResourceName,
|
|
712
853
|
current_config_id: zAgentConfigId,
|
|
713
854
|
current_generation: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
714
|
-
current_config: zAgentConfig,
|
|
715
855
|
created_at: zTimestamp,
|
|
716
|
-
updated_at: zTimestamp
|
|
856
|
+
updated_at: zTimestamp,
|
|
857
|
+
current_config: zAgentConfig
|
|
717
858
|
});
|
|
718
859
|
var zListAgentProfilesResponse = z.object({
|
|
719
|
-
data: z.array(
|
|
860
|
+
data: z.array(zAgentProfileSummary),
|
|
720
861
|
next_cursor: z.string().nullable()
|
|
721
862
|
});
|
|
722
863
|
var zAgentProfileCronTriggerTarget = z.object({
|
|
@@ -1137,6 +1278,22 @@ var zContextCheckpointEvent = z.object({
|
|
|
1137
1278
|
summary: z.string(),
|
|
1138
1279
|
created_at: zTimestamp
|
|
1139
1280
|
});
|
|
1281
|
+
var zEventWebhookAgentInputEvent = z.object({
|
|
1282
|
+
event: z.enum(["agent_input"]),
|
|
1283
|
+
data: zAgentInputEvent
|
|
1284
|
+
});
|
|
1285
|
+
var zEventWebhookToolResultEvent = z.object({
|
|
1286
|
+
event: z.enum(["tool_result"]),
|
|
1287
|
+
data: zToolResultEvent
|
|
1288
|
+
});
|
|
1289
|
+
var zEventWebhookContextCheckpointEvent = z.object({
|
|
1290
|
+
event: z.enum(["context_checkpoint"]),
|
|
1291
|
+
data: zContextCheckpointEvent
|
|
1292
|
+
});
|
|
1293
|
+
var zEventWebhookToolCallUpdate = z.object({
|
|
1294
|
+
event: z.enum(["tool_call_update"]),
|
|
1295
|
+
data: zToolCallUpdate
|
|
1296
|
+
});
|
|
1140
1297
|
var zModelOutputTextStreamBlock = z.object({
|
|
1141
1298
|
kind: z.enum(["text"])
|
|
1142
1299
|
});
|
|
@@ -1202,6 +1359,17 @@ var zModelOutputEvent = z.object({
|
|
|
1202
1359
|
provider_metadata: z.record(z.string(), z.unknown()).optional(),
|
|
1203
1360
|
created_at: zTimestamp
|
|
1204
1361
|
});
|
|
1362
|
+
var zEventWebhookModelOutputEvent = z.object({
|
|
1363
|
+
event: z.enum(["model_output"]),
|
|
1364
|
+
data: zModelOutputEvent
|
|
1365
|
+
});
|
|
1366
|
+
var zEventWebhookPayload = z.discriminatedUnion("event", [
|
|
1367
|
+
zEventWebhookAgentInputEvent.extend({ event: z.literal("agent_input") }),
|
|
1368
|
+
zEventWebhookModelOutputEvent.extend({ event: z.literal("model_output") }),
|
|
1369
|
+
zEventWebhookToolResultEvent.extend({ event: z.literal("tool_result") }),
|
|
1370
|
+
zEventWebhookContextCheckpointEvent.extend({ event: z.literal("context_checkpoint") }),
|
|
1371
|
+
zEventWebhookToolCallUpdate.extend({ event: z.literal("tool_call_update") })
|
|
1372
|
+
]);
|
|
1205
1373
|
var zAgentEvent = z.discriminatedUnion("event_kind", [
|
|
1206
1374
|
zAgentInputEvent.extend({ event_kind: z.literal("agent_input") }),
|
|
1207
1375
|
zModelOutputEvent.extend({ event_kind: z.literal("model_output") }),
|
|
@@ -2105,7 +2273,7 @@ var zListProjectsResponse = z.object({
|
|
|
2105
2273
|
var zOrgOverviewResponse = z.object({
|
|
2106
2274
|
projects: z.array(zVisibleProject),
|
|
2107
2275
|
recent_agents: z.array(zAgent),
|
|
2108
|
-
recent_agent_profiles: z.array(
|
|
2276
|
+
recent_agent_profiles: z.array(zAgentProfileSummary)
|
|
2109
2277
|
});
|
|
2110
2278
|
var zUsageTokenTotals = z.object({
|
|
2111
2279
|
input_tokens_total: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
@@ -8584,6 +8752,7 @@ var createQueryKey = (id, options, infinite, tags) => {
|
|
|
8584
8752
|
}
|
|
8585
8753
|
return [params];
|
|
8586
8754
|
};
|
|
8755
|
+
var listAgentsQueryKey = (options) => createQueryKey("listAgents", options);
|
|
8587
8756
|
var getAgentQueryKey = (options) => createQueryKey("getAgent", options);
|
|
8588
8757
|
var getAgentOptions = (options) => queryOptions({
|
|
8589
8758
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -8623,6 +8792,19 @@ var listQueuedBacklogInputsOptions = (options) => queryOptions({
|
|
|
8623
8792
|
},
|
|
8624
8793
|
queryKey: listQueuedBacklogInputsQueryKey(options)
|
|
8625
8794
|
});
|
|
8795
|
+
var getActorQueryKey = (options) => createQueryKey("getActor", options);
|
|
8796
|
+
var getActorOptions = (options) => queryOptions({
|
|
8797
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
8798
|
+
const { data } = await getActor({
|
|
8799
|
+
...options,
|
|
8800
|
+
...queryKey[0],
|
|
8801
|
+
signal,
|
|
8802
|
+
throwOnError: true
|
|
8803
|
+
});
|
|
8804
|
+
return data;
|
|
8805
|
+
},
|
|
8806
|
+
queryKey: getActorQueryKey(options)
|
|
8807
|
+
});
|
|
8626
8808
|
|
|
8627
8809
|
// ../react/src/domains/actors.ts
|
|
8628
8810
|
import { useSuspenseQuery } from "@tanstack/react-query";
|
|
@@ -8665,9 +8847,7 @@ function projectActorsQueryPredicate(orgID, projectID) {
|
|
|
8665
8847
|
}
|
|
8666
8848
|
|
|
8667
8849
|
// ../react/src/domains/agent-chat.ts
|
|
8668
|
-
import {
|
|
8669
|
-
useQueryClient as useQueryClient3
|
|
8670
|
-
} from "@tanstack/react-query";
|
|
8850
|
+
import { useQueryClient as useQueryClient3 } from "@tanstack/react-query";
|
|
8671
8851
|
import { useCallback, useEffect, useMemo, useSyncExternalStore } from "react";
|
|
8672
8852
|
|
|
8673
8853
|
// ../react/src/domains/agent-chat-history.ts
|
|
@@ -9122,6 +9302,12 @@ function useAgentChatHistory(client2, scope) {
|
|
|
9122
9302
|
staleTime: Infinity
|
|
9123
9303
|
});
|
|
9124
9304
|
}
|
|
9305
|
+
function historyHasEvent(queryClient, scope, matches) {
|
|
9306
|
+
const history = queryClient.getQueryData(
|
|
9307
|
+
agentChatHistoryQueryKey(scope)
|
|
9308
|
+
);
|
|
9309
|
+
return history?.pages.some((page) => page.data.some(matches)) ?? false;
|
|
9310
|
+
}
|
|
9125
9311
|
|
|
9126
9312
|
// ../react/src/domains/agent-chat-transport.ts
|
|
9127
9313
|
var sourceLabels = { web: "web app", cli: "CLI" };
|
|
@@ -9351,6 +9537,38 @@ function useResolveAgentInteraction(orgID, projectID, agentID) {
|
|
|
9351
9537
|
}
|
|
9352
9538
|
});
|
|
9353
9539
|
}
|
|
9540
|
+
function spawnsSubagent(event, hasEvent) {
|
|
9541
|
+
if (event.event_kind !== "tool_result") return false;
|
|
9542
|
+
return hasEvent(
|
|
9543
|
+
(candidate) => candidate.event_kind === "model_output" && candidate.content_blocks.some(
|
|
9544
|
+
(block) => block.type === "tool_call" && block.tool_call_id === event.tool_call_id && block.name === "spawn_agent"
|
|
9545
|
+
)
|
|
9546
|
+
);
|
|
9547
|
+
}
|
|
9548
|
+
function isAgentActor(actor) {
|
|
9549
|
+
return actor.provider === "omnara" && actor.provider_user_id.startsWith("agt_");
|
|
9550
|
+
}
|
|
9551
|
+
async function sentBySubagent(queryClient, client2, scope, event) {
|
|
9552
|
+
if (event.event_kind !== "agent_input" || event.actor_id == null) return false;
|
|
9553
|
+
const actor = await queryClient.ensureQueryData(
|
|
9554
|
+
getActorOptions({
|
|
9555
|
+
path: { orgID: scope.orgID, projectID: scope.projectID, actorID: event.actor_id },
|
|
9556
|
+
client: client2
|
|
9557
|
+
})
|
|
9558
|
+
).catch(() => null);
|
|
9559
|
+
return actor != null && isAgentActor(actor);
|
|
9560
|
+
}
|
|
9561
|
+
async function invalidateSubagentList(queryClient, client2, scope, event, hasEvent) {
|
|
9562
|
+
if (!spawnsSubagent(event, hasEvent) && !await sentBySubagent(queryClient, client2, scope, event)) {
|
|
9563
|
+
return;
|
|
9564
|
+
}
|
|
9565
|
+
await queryClient.invalidateQueries({
|
|
9566
|
+
queryKey: listAgentsQueryKey({
|
|
9567
|
+
path: { orgID: scope.orgID, projectID: scope.projectID },
|
|
9568
|
+
client: client2
|
|
9569
|
+
})
|
|
9570
|
+
});
|
|
9571
|
+
}
|
|
9354
9572
|
|
|
9355
9573
|
// ../react/src/domains/usage.ts
|
|
9356
9574
|
import { keepPreviousData, useQuery as useQuery3 } from "@tanstack/react-query";
|
|
@@ -9527,12 +9745,12 @@ var AgentChatSession = class {
|
|
|
9527
9745
|
if (changed) this.notify();
|
|
9528
9746
|
};
|
|
9529
9747
|
inputEchoLoaded(id) {
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
const history = this.queryClient.getQueryData(
|
|
9533
|
-
agentChatHistoryQueryKey(this.scope)
|
|
9748
|
+
return this.hasLoadedEvent(
|
|
9749
|
+
(event) => event.event_kind === "agent_input" && event.input_idempotency_key === id
|
|
9534
9750
|
);
|
|
9535
|
-
|
|
9751
|
+
}
|
|
9752
|
+
hasLoadedEvent(matches) {
|
|
9753
|
+
return this.events.some(matches) || historyHasEvent(this.queryClient, this.scope, matches);
|
|
9536
9754
|
}
|
|
9537
9755
|
notify() {
|
|
9538
9756
|
const localInputs = [...this.localInputs.values()];
|
|
@@ -9594,6 +9812,13 @@ var AgentChatSession = class {
|
|
|
9594
9812
|
if (hasToolCalls(event) || event.event_kind === "tool_result" || isControlEvent(event)) {
|
|
9595
9813
|
this.invalidateInteractions();
|
|
9596
9814
|
}
|
|
9815
|
+
void invalidateSubagentList(
|
|
9816
|
+
this.queryClient,
|
|
9817
|
+
this.client,
|
|
9818
|
+
this.scope,
|
|
9819
|
+
event,
|
|
9820
|
+
(matches) => this.hasLoadedEvent(matches)
|
|
9821
|
+
);
|
|
9597
9822
|
this.notify();
|
|
9598
9823
|
}
|
|
9599
9824
|
invalidateInteractions() {
|
|
@@ -9761,7 +9986,8 @@ function useAgentChat(scope, options) {
|
|
|
9761
9986
|
}
|
|
9762
9987
|
|
|
9763
9988
|
// ../react/src/domains/agent-config-tools.ts
|
|
9764
|
-
import { useQuery as useQuery4 } from "@tanstack/react-query";
|
|
9989
|
+
import { useQuery as useQuery4, useQueryClient as useQueryClient4 } from "@tanstack/react-query";
|
|
9990
|
+
import { useId } from "react";
|
|
9765
9991
|
|
|
9766
9992
|
// ../react/src/domains/agent-event-preview.ts
|
|
9767
9993
|
function truncate2(value, width) {
|
|
@@ -9804,7 +10030,7 @@ import {
|
|
|
9804
10030
|
useInfiniteQuery as useInfiniteQuery2,
|
|
9805
10031
|
useMutation as useMutation4,
|
|
9806
10032
|
useQuery as useQuery5,
|
|
9807
|
-
useQueryClient as
|
|
10033
|
+
useQueryClient as useQueryClient5,
|
|
9808
10034
|
useSuspenseQuery as useSuspenseQuery2
|
|
9809
10035
|
} from "@tanstack/react-query";
|
|
9810
10036
|
|
|
@@ -9821,27 +10047,27 @@ import {
|
|
|
9821
10047
|
useInfiniteQuery as useInfiniteQuery3,
|
|
9822
10048
|
useMutation as useMutation5,
|
|
9823
10049
|
useQuery as useQuery6,
|
|
9824
|
-
useQueryClient as
|
|
10050
|
+
useQueryClient as useQueryClient6,
|
|
9825
10051
|
useSuspenseQuery as useSuspenseQuery3
|
|
9826
10052
|
} from "@tanstack/react-query";
|
|
9827
10053
|
|
|
9828
10054
|
// ../react/src/domains/cron-triggers.ts
|
|
9829
|
-
import { useInfiniteQuery as useInfiniteQuery4, useMutation as useMutation6, useQueryClient as
|
|
10055
|
+
import { useInfiniteQuery as useInfiniteQuery4, useMutation as useMutation6, useQueryClient as useQueryClient7 } from "@tanstack/react-query";
|
|
9830
10056
|
|
|
9831
10057
|
// ../react/src/domains/integration-installs.ts
|
|
9832
|
-
import { useInfiniteQuery as useInfiniteQuery5, useMutation as useMutation7, useQueryClient as
|
|
10058
|
+
import { useInfiniteQuery as useInfiniteQuery5, useMutation as useMutation7, useQueryClient as useQueryClient8 } from "@tanstack/react-query";
|
|
9833
10059
|
|
|
9834
10060
|
// ../react/src/domains/invitations.ts
|
|
9835
|
-
import { useMutation as useMutation8, useQuery as useQuery7, useQueryClient as
|
|
10061
|
+
import { useMutation as useMutation8, useQuery as useQuery7, useQueryClient as useQueryClient9, useSuspenseQuery as useSuspenseQuery4 } from "@tanstack/react-query";
|
|
9836
10062
|
|
|
9837
10063
|
// ../react/src/domains/machine-pools.ts
|
|
9838
|
-
import { useInfiniteQuery as useInfiniteQuery6, useMutation as useMutation9, useQuery as useQuery8, useQueryClient as
|
|
10064
|
+
import { useInfiniteQuery as useInfiniteQuery6, useMutation as useMutation9, useQuery as useQuery8, useQueryClient as useQueryClient10 } from "@tanstack/react-query";
|
|
9839
10065
|
|
|
9840
10066
|
// ../react/src/domains/machines.ts
|
|
9841
|
-
import { useInfiniteQuery as useInfiniteQuery7, useMutation as useMutation10, useQuery as useQuery9, useQueryClient as
|
|
10067
|
+
import { useInfiniteQuery as useInfiniteQuery7, useMutation as useMutation10, useQuery as useQuery9, useQueryClient as useQueryClient11 } from "@tanstack/react-query";
|
|
9842
10068
|
|
|
9843
10069
|
// ../react/src/domains/mcp-registry.ts
|
|
9844
|
-
import { useInfiniteQuery as useInfiniteQuery8, useQuery as useQuery10, useQueryClient as
|
|
10070
|
+
import { useInfiniteQuery as useInfiniteQuery8, useQuery as useQuery10, useQueryClient as useQueryClient12 } from "@tanstack/react-query";
|
|
9845
10071
|
var serverInfoStaleTime = 5 * 60 * 1e3;
|
|
9846
10072
|
|
|
9847
10073
|
// ../react/src/domains/mcp-server-tools.ts
|
|
@@ -9857,31 +10083,31 @@ import {
|
|
|
9857
10083
|
useMutation as useMutation11,
|
|
9858
10084
|
useQueries,
|
|
9859
10085
|
useQuery as useQuery12,
|
|
9860
|
-
useQueryClient as
|
|
10086
|
+
useQueryClient as useQueryClient13
|
|
9861
10087
|
} from "@tanstack/react-query";
|
|
9862
10088
|
import { useEffect as useEffect2 } from "react";
|
|
9863
10089
|
var modelCatalogPricingStaleTime = 5 * 60 * 1e3;
|
|
9864
10090
|
|
|
9865
10091
|
// ../react/src/domains/org-api-keys.ts
|
|
9866
|
-
import { useInfiniteQuery as useInfiniteQuery10, useMutation as useMutation12, useQuery as useQuery13, useQueryClient as
|
|
10092
|
+
import { useInfiniteQuery as useInfiniteQuery10, useMutation as useMutation12, useQuery as useQuery13, useQueryClient as useQueryClient14 } from "@tanstack/react-query";
|
|
9867
10093
|
|
|
9868
10094
|
// ../react/src/domains/org-members.ts
|
|
9869
|
-
import { useMutation as useMutation13, useQuery as useQuery14, useQueryClient as
|
|
10095
|
+
import { useMutation as useMutation13, useQuery as useQuery14, useQueryClient as useQueryClient15 } from "@tanstack/react-query";
|
|
9870
10096
|
|
|
9871
10097
|
// ../react/src/domains/orgs.ts
|
|
9872
|
-
import { useInfiniteQuery as useInfiniteQuery11, useMutation as useMutation14, useQuery as useQuery15, useQueryClient as
|
|
10098
|
+
import { useInfiniteQuery as useInfiniteQuery11, useMutation as useMutation14, useQuery as useQuery15, useQueryClient as useQueryClient16 } from "@tanstack/react-query";
|
|
9873
10099
|
|
|
9874
10100
|
// ../react/src/domains/personal-access-tokens.ts
|
|
9875
|
-
import { useInfiniteQuery as useInfiniteQuery12, useMutation as useMutation15, useQueryClient as
|
|
10101
|
+
import { useInfiniteQuery as useInfiniteQuery12, useMutation as useMutation15, useQueryClient as useQueryClient17 } from "@tanstack/react-query";
|
|
9876
10102
|
|
|
9877
10103
|
// ../react/src/domains/project-grants.ts
|
|
9878
|
-
import { useInfiniteQuery as useInfiniteQuery13, useMutation as useMutation16, useQueryClient as
|
|
10104
|
+
import { useInfiniteQuery as useInfiniteQuery13, useMutation as useMutation16, useQueryClient as useQueryClient18 } from "@tanstack/react-query";
|
|
9879
10105
|
|
|
9880
10106
|
// ../react/src/domains/projects.ts
|
|
9881
10107
|
import {
|
|
9882
10108
|
skipToken,
|
|
9883
10109
|
useInfiniteQuery as useInfiniteQuery14,
|
|
9884
|
-
useQueryClient as
|
|
10110
|
+
useQueryClient as useQueryClient19,
|
|
9885
10111
|
useSuspenseInfiniteQuery
|
|
9886
10112
|
} from "@tanstack/react-query";
|
|
9887
10113
|
|
|
@@ -9890,7 +10116,7 @@ import {
|
|
|
9890
10116
|
useInfiniteQuery as useInfiniteQuery15,
|
|
9891
10117
|
useMutation as useMutation17,
|
|
9892
10118
|
useQuery as useQuery16,
|
|
9893
|
-
useQueryClient as
|
|
10119
|
+
useQueryClient as useQueryClient20
|
|
9894
10120
|
} from "@tanstack/react-query";
|
|
9895
10121
|
|
|
9896
10122
|
// ../react/src/domains/skills.ts
|
|
@@ -9898,7 +10124,7 @@ import {
|
|
|
9898
10124
|
useInfiniteQuery as useInfiniteQuery16,
|
|
9899
10125
|
useMutation as useMutation18,
|
|
9900
10126
|
useQuery as useQuery17,
|
|
9901
|
-
useQueryClient as
|
|
10127
|
+
useQueryClient as useQueryClient21
|
|
9902
10128
|
} from "@tanstack/react-query";
|
|
9903
10129
|
|
|
9904
10130
|
// ../react/src/domains/tool-catalog.ts
|
package/package.json
CHANGED