@metorial-services/subspace-client 1.0.4 → 1.0.6
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/index.d.cts +856 -2
- package/dist/index.d.ts +856 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -13056,6 +13056,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
13056
13056
|
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
13057
13057
|
isManuallyDisabled: boolean;
|
|
13058
13058
|
isReplaced: boolean;
|
|
13059
|
+
isForManualToolCalls: boolean;
|
|
13059
13060
|
totalProductiveClientMessageCount: number;
|
|
13060
13061
|
totalProductiveServerMessageCount: number;
|
|
13061
13062
|
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
@@ -13288,6 +13289,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
13288
13289
|
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
13289
13290
|
isManuallyDisabled: boolean;
|
|
13290
13291
|
isReplaced: boolean;
|
|
13292
|
+
isForManualToolCalls: boolean;
|
|
13291
13293
|
totalProductiveClientMessageCount: number;
|
|
13292
13294
|
totalProductiveServerMessageCount: number;
|
|
13293
13295
|
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
@@ -14265,6 +14267,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
14265
14267
|
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
14266
14268
|
isManuallyDisabled: boolean;
|
|
14267
14269
|
isReplaced: boolean;
|
|
14270
|
+
isForManualToolCalls: boolean;
|
|
14268
14271
|
totalProductiveClientMessageCount: number;
|
|
14269
14272
|
totalProductiveServerMessageCount: number;
|
|
14270
14273
|
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
@@ -14405,6 +14408,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
14405
14408
|
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
14406
14409
|
isManuallyDisabled: boolean;
|
|
14407
14410
|
isReplaced: boolean;
|
|
14411
|
+
isForManualToolCalls: boolean;
|
|
14408
14412
|
totalProductiveClientMessageCount: number;
|
|
14409
14413
|
totalProductiveServerMessageCount: number;
|
|
14410
14414
|
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
@@ -14511,6 +14515,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
14511
14515
|
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
14512
14516
|
isManuallyDisabled: boolean;
|
|
14513
14517
|
isReplaced: boolean;
|
|
14518
|
+
isForManualToolCalls: boolean;
|
|
14514
14519
|
totalProductiveClientMessageCount: number;
|
|
14515
14520
|
totalProductiveServerMessageCount: number;
|
|
14516
14521
|
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
@@ -14670,13 +14675,14 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
14670
14675
|
id: string;
|
|
14671
14676
|
createdAt: Date;
|
|
14672
14677
|
tenantOid: bigint;
|
|
14678
|
+
metadata: unknown | null;
|
|
14673
14679
|
solutionOid: number;
|
|
14674
14680
|
environmentOid: bigint;
|
|
14675
14681
|
sessionOid: bigint;
|
|
14676
14682
|
providerRunOid: bigint | null;
|
|
14683
|
+
messageOid: bigint;
|
|
14677
14684
|
sessionProviderOid: bigint | null;
|
|
14678
14685
|
toolKey: string;
|
|
14679
|
-
messageId: string;
|
|
14680
14686
|
toolOid: bigint;
|
|
14681
14687
|
}) | null;
|
|
14682
14688
|
connection: {
|
|
@@ -14696,6 +14702,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
14696
14702
|
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
14697
14703
|
isManuallyDisabled: boolean;
|
|
14698
14704
|
isReplaced: boolean;
|
|
14705
|
+
isForManualToolCalls: boolean;
|
|
14699
14706
|
totalProductiveClientMessageCount: number;
|
|
14700
14707
|
totalProductiveServerMessageCount: number;
|
|
14701
14708
|
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
@@ -14956,6 +14963,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
14956
14963
|
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
14957
14964
|
isManuallyDisabled: boolean;
|
|
14958
14965
|
isReplaced: boolean;
|
|
14966
|
+
isForManualToolCalls: boolean;
|
|
14959
14967
|
totalProductiveClientMessageCount: number;
|
|
14960
14968
|
totalProductiveServerMessageCount: number;
|
|
14961
14969
|
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
@@ -15550,6 +15558,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
15550
15558
|
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
15551
15559
|
isManuallyDisabled: boolean;
|
|
15552
15560
|
isReplaced: boolean;
|
|
15561
|
+
isForManualToolCalls: boolean;
|
|
15553
15562
|
totalProductiveClientMessageCount: number;
|
|
15554
15563
|
totalProductiveServerMessageCount: number;
|
|
15555
15564
|
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
@@ -15709,13 +15718,14 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
15709
15718
|
id: string;
|
|
15710
15719
|
createdAt: Date;
|
|
15711
15720
|
tenantOid: bigint;
|
|
15721
|
+
metadata: unknown | null;
|
|
15712
15722
|
solutionOid: number;
|
|
15713
15723
|
environmentOid: bigint;
|
|
15714
15724
|
sessionOid: bigint;
|
|
15715
15725
|
providerRunOid: bigint | null;
|
|
15726
|
+
messageOid: bigint;
|
|
15716
15727
|
sessionProviderOid: bigint | null;
|
|
15717
15728
|
toolKey: string;
|
|
15718
|
-
messageId: string;
|
|
15719
15729
|
toolOid: bigint;
|
|
15720
15730
|
}) | null;
|
|
15721
15731
|
connection: {
|
|
@@ -15735,6 +15745,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
15735
15745
|
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
15736
15746
|
isManuallyDisabled: boolean;
|
|
15737
15747
|
isReplaced: boolean;
|
|
15748
|
+
isForManualToolCalls: boolean;
|
|
15738
15749
|
totalProductiveClientMessageCount: number;
|
|
15739
15750
|
totalProductiveServerMessageCount: number;
|
|
15740
15751
|
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
@@ -17708,6 +17719,847 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
17708
17719
|
};
|
|
17709
17720
|
}>;
|
|
17710
17721
|
};
|
|
17722
|
+
toolCall: {
|
|
17723
|
+
list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
|
|
17724
|
+
tenantId: string;
|
|
17725
|
+
environmentId: string;
|
|
17726
|
+
status: ("active" | "archived")[] | undefined;
|
|
17727
|
+
allowDeleted: boolean | undefined;
|
|
17728
|
+
ids: string[] | undefined;
|
|
17729
|
+
sessionTemplateIds: string[] | undefined;
|
|
17730
|
+
sessionProviderIds: string[] | undefined;
|
|
17731
|
+
providerIds: string[] | undefined;
|
|
17732
|
+
providerDeploymentIds: string[] | undefined;
|
|
17733
|
+
providerConfigIds: string[] | undefined;
|
|
17734
|
+
providerAuthConfigIds: string[] | undefined;
|
|
17735
|
+
toolIds: string[] | undefined;
|
|
17736
|
+
}, "status" | "allowDeleted" | "ids" | "providerIds" | "providerDeploymentIds" | "providerAuthConfigIds" | "providerConfigIds" | "sessionTemplateIds" | "sessionProviderIds" | "toolIds">> & {
|
|
17737
|
+
tenantId: string;
|
|
17738
|
+
environmentId: string;
|
|
17739
|
+
} & {
|
|
17740
|
+
limit?: number;
|
|
17741
|
+
after?: string;
|
|
17742
|
+
before?: string;
|
|
17743
|
+
cursor?: string;
|
|
17744
|
+
order?: "asc" | "desc";
|
|
17745
|
+
}, {
|
|
17746
|
+
__typename: string;
|
|
17747
|
+
items: {
|
|
17748
|
+
object: string;
|
|
17749
|
+
id: string;
|
|
17750
|
+
toolKey: string;
|
|
17751
|
+
type: string;
|
|
17752
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
17753
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
17754
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
17755
|
+
sessionId: string;
|
|
17756
|
+
messageId: string;
|
|
17757
|
+
sessionProviderId: string | null;
|
|
17758
|
+
connectionId: string | null;
|
|
17759
|
+
providerRunId: string | null;
|
|
17760
|
+
tool: {
|
|
17761
|
+
object: string;
|
|
17762
|
+
id: string;
|
|
17763
|
+
key: string;
|
|
17764
|
+
name: string;
|
|
17765
|
+
description: string | null;
|
|
17766
|
+
capabilities: {
|
|
17767
|
+
[key: string]: any;
|
|
17768
|
+
};
|
|
17769
|
+
constraints: string[];
|
|
17770
|
+
inputJsonSchema: Record<string, any>;
|
|
17771
|
+
instructions: string[];
|
|
17772
|
+
outputJsonSchema: Record<string, any> | undefined;
|
|
17773
|
+
tags: {
|
|
17774
|
+
destructive?: boolean | undefined;
|
|
17775
|
+
readOnly?: boolean | undefined;
|
|
17776
|
+
} | undefined;
|
|
17777
|
+
specificationId: string;
|
|
17778
|
+
createdAt: Date;
|
|
17779
|
+
updatedAt: Date;
|
|
17780
|
+
};
|
|
17781
|
+
input: any;
|
|
17782
|
+
output: any;
|
|
17783
|
+
error: Promise<{
|
|
17784
|
+
object: string;
|
|
17785
|
+
id: string;
|
|
17786
|
+
code: string;
|
|
17787
|
+
message: string;
|
|
17788
|
+
data: unknown;
|
|
17789
|
+
sessionId: string;
|
|
17790
|
+
providerRunId: string | null;
|
|
17791
|
+
connectionId: string | null;
|
|
17792
|
+
groupId: string;
|
|
17793
|
+
similarErrorCount: number;
|
|
17794
|
+
createdAt: Date;
|
|
17795
|
+
}> | null;
|
|
17796
|
+
createdAt: Date;
|
|
17797
|
+
}[];
|
|
17798
|
+
pagination: {
|
|
17799
|
+
has_more_after: boolean;
|
|
17800
|
+
has_more_before: boolean;
|
|
17801
|
+
};
|
|
17802
|
+
}, {
|
|
17803
|
+
solution: {} & {
|
|
17804
|
+
oid: number;
|
|
17805
|
+
id: string;
|
|
17806
|
+
identifier: string;
|
|
17807
|
+
name: string;
|
|
17808
|
+
createdAt: Date;
|
|
17809
|
+
};
|
|
17810
|
+
tenant: {} & {
|
|
17811
|
+
oid: bigint;
|
|
17812
|
+
id: string;
|
|
17813
|
+
identifier: string;
|
|
17814
|
+
name: string;
|
|
17815
|
+
createdAt: Date;
|
|
17816
|
+
urlKey: string;
|
|
17817
|
+
slateTenantId: string | null;
|
|
17818
|
+
slateTenantIdentifier: string | null;
|
|
17819
|
+
shuttleTenantId: string | null;
|
|
17820
|
+
shuttleTenantIdentifier: string | null;
|
|
17821
|
+
originTenantId: string | null;
|
|
17822
|
+
originTenantIdentifier: string | null;
|
|
17823
|
+
logRetentionInDays: number;
|
|
17824
|
+
} & {
|
|
17825
|
+
environments: {
|
|
17826
|
+
oid: bigint;
|
|
17827
|
+
id: string;
|
|
17828
|
+
identifier: string;
|
|
17829
|
+
name: string;
|
|
17830
|
+
createdAt: Date;
|
|
17831
|
+
type: _metorial_subspace_db.EnvironmentType;
|
|
17832
|
+
tenantOid: bigint;
|
|
17833
|
+
}[];
|
|
17834
|
+
};
|
|
17835
|
+
environment: {
|
|
17836
|
+
oid: bigint;
|
|
17837
|
+
id: string;
|
|
17838
|
+
identifier: string;
|
|
17839
|
+
name: string;
|
|
17840
|
+
createdAt: Date;
|
|
17841
|
+
type: _metorial_subspace_db.EnvironmentType;
|
|
17842
|
+
tenantOid: bigint;
|
|
17843
|
+
};
|
|
17844
|
+
}>;
|
|
17845
|
+
get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
|
|
17846
|
+
tenantId: string;
|
|
17847
|
+
environmentId: string;
|
|
17848
|
+
toolCallId: string;
|
|
17849
|
+
allowDeleted: boolean | undefined;
|
|
17850
|
+
}>, {
|
|
17851
|
+
object: string;
|
|
17852
|
+
id: string;
|
|
17853
|
+
toolKey: string;
|
|
17854
|
+
type: string;
|
|
17855
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
17856
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
17857
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
17858
|
+
sessionId: string;
|
|
17859
|
+
messageId: string;
|
|
17860
|
+
sessionProviderId: string | null;
|
|
17861
|
+
connectionId: string | null;
|
|
17862
|
+
providerRunId: string | null;
|
|
17863
|
+
tool: {
|
|
17864
|
+
object: string;
|
|
17865
|
+
id: string;
|
|
17866
|
+
key: string;
|
|
17867
|
+
name: string;
|
|
17868
|
+
description: string | null;
|
|
17869
|
+
capabilities: {
|
|
17870
|
+
[key: string]: any;
|
|
17871
|
+
};
|
|
17872
|
+
constraints: string[];
|
|
17873
|
+
inputJsonSchema: Record<string, any>;
|
|
17874
|
+
instructions: string[];
|
|
17875
|
+
outputJsonSchema: Record<string, any> | undefined;
|
|
17876
|
+
tags: {
|
|
17877
|
+
destructive?: boolean | undefined;
|
|
17878
|
+
readOnly?: boolean | undefined;
|
|
17879
|
+
} | undefined;
|
|
17880
|
+
specificationId: string;
|
|
17881
|
+
createdAt: Date;
|
|
17882
|
+
updatedAt: Date;
|
|
17883
|
+
};
|
|
17884
|
+
input: any;
|
|
17885
|
+
output: any;
|
|
17886
|
+
error: Promise<{
|
|
17887
|
+
object: string;
|
|
17888
|
+
id: string;
|
|
17889
|
+
code: string;
|
|
17890
|
+
message: string;
|
|
17891
|
+
data: unknown;
|
|
17892
|
+
sessionId: string;
|
|
17893
|
+
providerRunId: string | null;
|
|
17894
|
+
connectionId: string | null;
|
|
17895
|
+
groupId: string;
|
|
17896
|
+
similarErrorCount: number;
|
|
17897
|
+
createdAt: Date;
|
|
17898
|
+
}> | null;
|
|
17899
|
+
createdAt: Date;
|
|
17900
|
+
}, {
|
|
17901
|
+
solution: {} & {
|
|
17902
|
+
oid: number;
|
|
17903
|
+
id: string;
|
|
17904
|
+
identifier: string;
|
|
17905
|
+
name: string;
|
|
17906
|
+
createdAt: Date;
|
|
17907
|
+
};
|
|
17908
|
+
tenant: {} & {
|
|
17909
|
+
oid: bigint;
|
|
17910
|
+
id: string;
|
|
17911
|
+
identifier: string;
|
|
17912
|
+
name: string;
|
|
17913
|
+
createdAt: Date;
|
|
17914
|
+
urlKey: string;
|
|
17915
|
+
slateTenantId: string | null;
|
|
17916
|
+
slateTenantIdentifier: string | null;
|
|
17917
|
+
shuttleTenantId: string | null;
|
|
17918
|
+
shuttleTenantIdentifier: string | null;
|
|
17919
|
+
originTenantId: string | null;
|
|
17920
|
+
originTenantIdentifier: string | null;
|
|
17921
|
+
logRetentionInDays: number;
|
|
17922
|
+
} & {
|
|
17923
|
+
environments: {
|
|
17924
|
+
oid: bigint;
|
|
17925
|
+
id: string;
|
|
17926
|
+
identifier: string;
|
|
17927
|
+
name: string;
|
|
17928
|
+
createdAt: Date;
|
|
17929
|
+
type: _metorial_subspace_db.EnvironmentType;
|
|
17930
|
+
tenantOid: bigint;
|
|
17931
|
+
}[];
|
|
17932
|
+
};
|
|
17933
|
+
environment: {
|
|
17934
|
+
oid: bigint;
|
|
17935
|
+
id: string;
|
|
17936
|
+
identifier: string;
|
|
17937
|
+
name: string;
|
|
17938
|
+
createdAt: Date;
|
|
17939
|
+
type: _metorial_subspace_db.EnvironmentType;
|
|
17940
|
+
tenantOid: bigint;
|
|
17941
|
+
};
|
|
17942
|
+
toolCall: {
|
|
17943
|
+
message: {
|
|
17944
|
+
error: ({
|
|
17945
|
+
session: {
|
|
17946
|
+
oid: bigint;
|
|
17947
|
+
id: string;
|
|
17948
|
+
name: string | null;
|
|
17949
|
+
createdAt: Date;
|
|
17950
|
+
tenantOid: bigint;
|
|
17951
|
+
status: _metorial_subspace_db.SessionStatus;
|
|
17952
|
+
isEphemeral: boolean;
|
|
17953
|
+
description: string | null;
|
|
17954
|
+
metadata: unknown | null;
|
|
17955
|
+
updatedAt: Date;
|
|
17956
|
+
solutionOid: number;
|
|
17957
|
+
environmentOid: bigint;
|
|
17958
|
+
totalProductiveClientMessageCount: number;
|
|
17959
|
+
totalProductiveServerMessageCount: number;
|
|
17960
|
+
lastMessageAt: Date | null;
|
|
17961
|
+
lastActiveAt: Date | null;
|
|
17962
|
+
connectionState: _metorial_subspace_db.SessionConnectionState;
|
|
17963
|
+
isStarted: boolean;
|
|
17964
|
+
sharedProviderName: string | null;
|
|
17965
|
+
sharedProviderDescription: string | null;
|
|
17966
|
+
lastConnectionCreatedAt: Date | null;
|
|
17967
|
+
};
|
|
17968
|
+
providerRun: {
|
|
17969
|
+
oid: bigint;
|
|
17970
|
+
id: string;
|
|
17971
|
+
createdAt: Date;
|
|
17972
|
+
tenantOid: bigint;
|
|
17973
|
+
status: _metorial_subspace_db.ProviderRunStatus;
|
|
17974
|
+
isParentDeleted: boolean;
|
|
17975
|
+
updatedAt: Date;
|
|
17976
|
+
providerOid: bigint;
|
|
17977
|
+
solutionOid: number;
|
|
17978
|
+
environmentOid: bigint;
|
|
17979
|
+
lastPingAt: Date | null;
|
|
17980
|
+
sessionOid: bigint;
|
|
17981
|
+
connectionOid: bigint;
|
|
17982
|
+
completedAt: Date | null;
|
|
17983
|
+
sessionProviderOid: bigint;
|
|
17984
|
+
providerVersionOid: bigint;
|
|
17985
|
+
instanceOid: bigint;
|
|
17986
|
+
} | null;
|
|
17987
|
+
group: {
|
|
17988
|
+
oid: bigint;
|
|
17989
|
+
id: string;
|
|
17990
|
+
createdAt: Date;
|
|
17991
|
+
type: _metorial_subspace_db.SessionErrorType;
|
|
17992
|
+
tenantOid: bigint;
|
|
17993
|
+
providerOid: bigint | null;
|
|
17994
|
+
environmentOid: bigint;
|
|
17995
|
+
code: string;
|
|
17996
|
+
message: string;
|
|
17997
|
+
hash: string;
|
|
17998
|
+
occurrenceCount: number;
|
|
17999
|
+
firstOccurrenceOid: bigint | null;
|
|
18000
|
+
} | null;
|
|
18001
|
+
connection: {
|
|
18002
|
+
oid: bigint;
|
|
18003
|
+
id: string;
|
|
18004
|
+
createdAt: Date;
|
|
18005
|
+
tenantOid: bigint;
|
|
18006
|
+
status: _metorial_subspace_db.SessionConnectionStatus;
|
|
18007
|
+
isParentDeleted: boolean;
|
|
18008
|
+
isEphemeral: boolean;
|
|
18009
|
+
solutionOid: number;
|
|
18010
|
+
environmentOid: bigint;
|
|
18011
|
+
expiresAt: Date;
|
|
18012
|
+
token: string;
|
|
18013
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
18014
|
+
state: _metorial_subspace_db.SessionConnectionState;
|
|
18015
|
+
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
18016
|
+
isManuallyDisabled: boolean;
|
|
18017
|
+
isReplaced: boolean;
|
|
18018
|
+
isForManualToolCalls: boolean;
|
|
18019
|
+
totalProductiveClientMessageCount: number;
|
|
18020
|
+
totalProductiveServerMessageCount: number;
|
|
18021
|
+
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
18022
|
+
mcpTransport: _metorial_subspace_db.SessionConnectionMcpConnectionTransport;
|
|
18023
|
+
mcpProtocolVersion: string | null;
|
|
18024
|
+
lastPingAt: Date | null;
|
|
18025
|
+
lastMessageAt: Date | null;
|
|
18026
|
+
lastActiveAt: Date | null;
|
|
18027
|
+
disconnectedAt: Date | null;
|
|
18028
|
+
sessionOid: bigint;
|
|
18029
|
+
participantOid: bigint | null;
|
|
18030
|
+
} | null;
|
|
18031
|
+
} & {
|
|
18032
|
+
oid: bigint;
|
|
18033
|
+
id: string;
|
|
18034
|
+
createdAt: Date;
|
|
18035
|
+
type: _metorial_subspace_db.SessionErrorType;
|
|
18036
|
+
tenantOid: bigint;
|
|
18037
|
+
isParentDeleted: boolean;
|
|
18038
|
+
solutionOid: number;
|
|
18039
|
+
environmentOid: bigint;
|
|
18040
|
+
sessionOid: bigint;
|
|
18041
|
+
code: string;
|
|
18042
|
+
message: string;
|
|
18043
|
+
isProcessing: boolean;
|
|
18044
|
+
payload: unknown | null;
|
|
18045
|
+
groupOid: bigint | null;
|
|
18046
|
+
connectionOid: bigint | null;
|
|
18047
|
+
providerRunOid: bigint | null;
|
|
18048
|
+
}) | null;
|
|
18049
|
+
session: {
|
|
18050
|
+
oid: bigint;
|
|
18051
|
+
id: string;
|
|
18052
|
+
name: string | null;
|
|
18053
|
+
createdAt: Date;
|
|
18054
|
+
tenantOid: bigint;
|
|
18055
|
+
status: _metorial_subspace_db.SessionStatus;
|
|
18056
|
+
isEphemeral: boolean;
|
|
18057
|
+
description: string | null;
|
|
18058
|
+
metadata: unknown | null;
|
|
18059
|
+
updatedAt: Date;
|
|
18060
|
+
solutionOid: number;
|
|
18061
|
+
environmentOid: bigint;
|
|
18062
|
+
totalProductiveClientMessageCount: number;
|
|
18063
|
+
totalProductiveServerMessageCount: number;
|
|
18064
|
+
lastMessageAt: Date | null;
|
|
18065
|
+
lastActiveAt: Date | null;
|
|
18066
|
+
connectionState: _metorial_subspace_db.SessionConnectionState;
|
|
18067
|
+
isStarted: boolean;
|
|
18068
|
+
sharedProviderName: string | null;
|
|
18069
|
+
sharedProviderDescription: string | null;
|
|
18070
|
+
lastConnectionCreatedAt: Date | null;
|
|
18071
|
+
};
|
|
18072
|
+
sessionProvider: {
|
|
18073
|
+
oid: bigint;
|
|
18074
|
+
id: string;
|
|
18075
|
+
createdAt: Date;
|
|
18076
|
+
tenantOid: bigint;
|
|
18077
|
+
status: _metorial_subspace_db.SessionProviderStatus;
|
|
18078
|
+
isParentDeleted: boolean;
|
|
18079
|
+
isEphemeral: boolean;
|
|
18080
|
+
updatedAt: Date;
|
|
18081
|
+
providerOid: bigint;
|
|
18082
|
+
solutionOid: number;
|
|
18083
|
+
deploymentOid: bigint;
|
|
18084
|
+
environmentOid: bigint;
|
|
18085
|
+
authConfigOid: bigint | null;
|
|
18086
|
+
configOid: bigint;
|
|
18087
|
+
totalProductiveClientMessageCount: number;
|
|
18088
|
+
totalProductiveServerMessageCount: number;
|
|
18089
|
+
lastMessageAt: Date | null;
|
|
18090
|
+
sessionOid: bigint;
|
|
18091
|
+
tag: string;
|
|
18092
|
+
toolFilter: PrismaJson.ToolFilter;
|
|
18093
|
+
fromTemplateOid: bigint | null;
|
|
18094
|
+
fromTemplateProviderOid: bigint | null;
|
|
18095
|
+
} | null;
|
|
18096
|
+
providerRun: {
|
|
18097
|
+
oid: bigint;
|
|
18098
|
+
id: string;
|
|
18099
|
+
createdAt: Date;
|
|
18100
|
+
tenantOid: bigint;
|
|
18101
|
+
status: _metorial_subspace_db.ProviderRunStatus;
|
|
18102
|
+
isParentDeleted: boolean;
|
|
18103
|
+
updatedAt: Date;
|
|
18104
|
+
providerOid: bigint;
|
|
18105
|
+
solutionOid: number;
|
|
18106
|
+
environmentOid: bigint;
|
|
18107
|
+
lastPingAt: Date | null;
|
|
18108
|
+
sessionOid: bigint;
|
|
18109
|
+
connectionOid: bigint;
|
|
18110
|
+
completedAt: Date | null;
|
|
18111
|
+
sessionProviderOid: bigint;
|
|
18112
|
+
providerVersionOid: bigint;
|
|
18113
|
+
instanceOid: bigint;
|
|
18114
|
+
} | null;
|
|
18115
|
+
toolCall: ({
|
|
18116
|
+
tool: {
|
|
18117
|
+
provider: {
|
|
18118
|
+
oid: bigint;
|
|
18119
|
+
id: string;
|
|
18120
|
+
identifier: string;
|
|
18121
|
+
name: string;
|
|
18122
|
+
createdAt: Date;
|
|
18123
|
+
status: _metorial_subspace_db.ProviderStatus;
|
|
18124
|
+
description: string | null;
|
|
18125
|
+
metadata: unknown | null;
|
|
18126
|
+
updatedAt: Date;
|
|
18127
|
+
slug: string;
|
|
18128
|
+
tag: string;
|
|
18129
|
+
access: _metorial_subspace_db.ProviderAccess;
|
|
18130
|
+
hasEnvironments: boolean;
|
|
18131
|
+
globalIdentifier: string | null;
|
|
18132
|
+
entryOid: bigint;
|
|
18133
|
+
publisherOid: bigint;
|
|
18134
|
+
ownerTenantOid: bigint | null;
|
|
18135
|
+
ownerSolutionOid: number | null;
|
|
18136
|
+
defaultVariantOid: bigint | null;
|
|
18137
|
+
typeOid: number;
|
|
18138
|
+
};
|
|
18139
|
+
specification: {
|
|
18140
|
+
value: PrismaJson.ProviderSpecificationValue;
|
|
18141
|
+
oid: bigint;
|
|
18142
|
+
id: string;
|
|
18143
|
+
name: string;
|
|
18144
|
+
createdAt: Date;
|
|
18145
|
+
type: _metorial_subspace_db.ProviderSpecificationType;
|
|
18146
|
+
key: string;
|
|
18147
|
+
description: string | null;
|
|
18148
|
+
updatedAt: Date;
|
|
18149
|
+
providerOid: bigint;
|
|
18150
|
+
hash: string;
|
|
18151
|
+
specId: string;
|
|
18152
|
+
specUniqueIdentifier: string;
|
|
18153
|
+
supportsAuthMethod: boolean;
|
|
18154
|
+
configContainsAuth: boolean;
|
|
18155
|
+
};
|
|
18156
|
+
} & {
|
|
18157
|
+
value: PrismaJson.ProviderToolValue;
|
|
18158
|
+
oid: bigint;
|
|
18159
|
+
id: string;
|
|
18160
|
+
name: string;
|
|
18161
|
+
createdAt: Date;
|
|
18162
|
+
key: string;
|
|
18163
|
+
description: string | null;
|
|
18164
|
+
updatedAt: Date;
|
|
18165
|
+
providerOid: bigint;
|
|
18166
|
+
specificationOid: bigint;
|
|
18167
|
+
hash: string;
|
|
18168
|
+
specId: string;
|
|
18169
|
+
specUniqueIdentifier: string;
|
|
18170
|
+
callableId: string;
|
|
18171
|
+
globalOid: bigint;
|
|
18172
|
+
};
|
|
18173
|
+
} & {
|
|
18174
|
+
oid: bigint;
|
|
18175
|
+
id: string;
|
|
18176
|
+
createdAt: Date;
|
|
18177
|
+
tenantOid: bigint;
|
|
18178
|
+
metadata: unknown | null;
|
|
18179
|
+
solutionOid: number;
|
|
18180
|
+
environmentOid: bigint;
|
|
18181
|
+
sessionOid: bigint;
|
|
18182
|
+
providerRunOid: bigint | null;
|
|
18183
|
+
messageOid: bigint;
|
|
18184
|
+
sessionProviderOid: bigint | null;
|
|
18185
|
+
toolKey: string;
|
|
18186
|
+
toolOid: bigint;
|
|
18187
|
+
}) | null;
|
|
18188
|
+
connection: {
|
|
18189
|
+
oid: bigint;
|
|
18190
|
+
id: string;
|
|
18191
|
+
createdAt: Date;
|
|
18192
|
+
tenantOid: bigint;
|
|
18193
|
+
status: _metorial_subspace_db.SessionConnectionStatus;
|
|
18194
|
+
isParentDeleted: boolean;
|
|
18195
|
+
isEphemeral: boolean;
|
|
18196
|
+
solutionOid: number;
|
|
18197
|
+
environmentOid: bigint;
|
|
18198
|
+
expiresAt: Date;
|
|
18199
|
+
token: string;
|
|
18200
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
18201
|
+
state: _metorial_subspace_db.SessionConnectionState;
|
|
18202
|
+
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
18203
|
+
isManuallyDisabled: boolean;
|
|
18204
|
+
isReplaced: boolean;
|
|
18205
|
+
isForManualToolCalls: boolean;
|
|
18206
|
+
totalProductiveClientMessageCount: number;
|
|
18207
|
+
totalProductiveServerMessageCount: number;
|
|
18208
|
+
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
18209
|
+
mcpTransport: _metorial_subspace_db.SessionConnectionMcpConnectionTransport;
|
|
18210
|
+
mcpProtocolVersion: string | null;
|
|
18211
|
+
lastPingAt: Date | null;
|
|
18212
|
+
lastMessageAt: Date | null;
|
|
18213
|
+
lastActiveAt: Date | null;
|
|
18214
|
+
disconnectedAt: Date | null;
|
|
18215
|
+
sessionOid: bigint;
|
|
18216
|
+
participantOid: bigint | null;
|
|
18217
|
+
} | null;
|
|
18218
|
+
parentMessage: {
|
|
18219
|
+
oid: bigint;
|
|
18220
|
+
id: string;
|
|
18221
|
+
createdAt: Date;
|
|
18222
|
+
type: _metorial_subspace_db.SessionMessageType;
|
|
18223
|
+
tenantOid: bigint;
|
|
18224
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
18225
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
18226
|
+
isParentDeleted: boolean;
|
|
18227
|
+
solutionOid: number;
|
|
18228
|
+
environmentOid: bigint;
|
|
18229
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
18230
|
+
sessionOid: bigint;
|
|
18231
|
+
connectionOid: bigint | null;
|
|
18232
|
+
providerRunOid: bigint | null;
|
|
18233
|
+
errorOid: bigint | null;
|
|
18234
|
+
failureReason: _metorial_subspace_db.SessionMessageFailureReason;
|
|
18235
|
+
methodOrToolKey: string | null;
|
|
18236
|
+
clientMcpId: PrismaJson.SessionMessageClientMcpId;
|
|
18237
|
+
providerMcpId: string | null;
|
|
18238
|
+
input: PrismaJson.SessionMessageInput | null;
|
|
18239
|
+
output: PrismaJson.SessionMessageOutput | null;
|
|
18240
|
+
isProductive: boolean;
|
|
18241
|
+
isOffloadedToStorage: boolean;
|
|
18242
|
+
completedAt: Date | null;
|
|
18243
|
+
parentMessageOid: bigint | null;
|
|
18244
|
+
bucketOid: number;
|
|
18245
|
+
senderParticipantOid: bigint;
|
|
18246
|
+
responderParticipantOid: bigint | null;
|
|
18247
|
+
sessionProviderOid: bigint | null;
|
|
18248
|
+
slateToolCallOid: bigint | null;
|
|
18249
|
+
providerToolOid: bigint | null;
|
|
18250
|
+
} | null;
|
|
18251
|
+
childMessages: {
|
|
18252
|
+
oid: bigint;
|
|
18253
|
+
id: string;
|
|
18254
|
+
createdAt: Date;
|
|
18255
|
+
type: _metorial_subspace_db.SessionMessageType;
|
|
18256
|
+
tenantOid: bigint;
|
|
18257
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
18258
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
18259
|
+
isParentDeleted: boolean;
|
|
18260
|
+
solutionOid: number;
|
|
18261
|
+
environmentOid: bigint;
|
|
18262
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
18263
|
+
sessionOid: bigint;
|
|
18264
|
+
connectionOid: bigint | null;
|
|
18265
|
+
providerRunOid: bigint | null;
|
|
18266
|
+
errorOid: bigint | null;
|
|
18267
|
+
failureReason: _metorial_subspace_db.SessionMessageFailureReason;
|
|
18268
|
+
methodOrToolKey: string | null;
|
|
18269
|
+
clientMcpId: PrismaJson.SessionMessageClientMcpId;
|
|
18270
|
+
providerMcpId: string | null;
|
|
18271
|
+
input: PrismaJson.SessionMessageInput | null;
|
|
18272
|
+
output: PrismaJson.SessionMessageOutput | null;
|
|
18273
|
+
isProductive: boolean;
|
|
18274
|
+
isOffloadedToStorage: boolean;
|
|
18275
|
+
completedAt: Date | null;
|
|
18276
|
+
parentMessageOid: bigint | null;
|
|
18277
|
+
bucketOid: number;
|
|
18278
|
+
senderParticipantOid: bigint;
|
|
18279
|
+
responderParticipantOid: bigint | null;
|
|
18280
|
+
sessionProviderOid: bigint | null;
|
|
18281
|
+
slateToolCallOid: bigint | null;
|
|
18282
|
+
providerToolOid: bigint | null;
|
|
18283
|
+
}[];
|
|
18284
|
+
senderParticipant: {
|
|
18285
|
+
provider: {
|
|
18286
|
+
oid: bigint;
|
|
18287
|
+
id: string;
|
|
18288
|
+
identifier: string;
|
|
18289
|
+
name: string;
|
|
18290
|
+
createdAt: Date;
|
|
18291
|
+
status: _metorial_subspace_db.ProviderStatus;
|
|
18292
|
+
description: string | null;
|
|
18293
|
+
metadata: unknown | null;
|
|
18294
|
+
updatedAt: Date;
|
|
18295
|
+
slug: string;
|
|
18296
|
+
tag: string;
|
|
18297
|
+
access: _metorial_subspace_db.ProviderAccess;
|
|
18298
|
+
hasEnvironments: boolean;
|
|
18299
|
+
globalIdentifier: string | null;
|
|
18300
|
+
entryOid: bigint;
|
|
18301
|
+
publisherOid: bigint;
|
|
18302
|
+
ownerTenantOid: bigint | null;
|
|
18303
|
+
ownerSolutionOid: number | null;
|
|
18304
|
+
defaultVariantOid: bigint | null;
|
|
18305
|
+
typeOid: number;
|
|
18306
|
+
} | null;
|
|
18307
|
+
} & {
|
|
18308
|
+
oid: bigint;
|
|
18309
|
+
id: string;
|
|
18310
|
+
identifier: string;
|
|
18311
|
+
name: string;
|
|
18312
|
+
createdAt: Date;
|
|
18313
|
+
type: _metorial_subspace_db.SessionParticipantType;
|
|
18314
|
+
tenantOid: bigint;
|
|
18315
|
+
providerOid: bigint | null;
|
|
18316
|
+
environmentOid: bigint;
|
|
18317
|
+
hash: string;
|
|
18318
|
+
payload: PrismaJson.SessionParticipantPayload;
|
|
18319
|
+
};
|
|
18320
|
+
responderParticipant: ({
|
|
18321
|
+
provider: {
|
|
18322
|
+
oid: bigint;
|
|
18323
|
+
id: string;
|
|
18324
|
+
identifier: string;
|
|
18325
|
+
name: string;
|
|
18326
|
+
createdAt: Date;
|
|
18327
|
+
status: _metorial_subspace_db.ProviderStatus;
|
|
18328
|
+
description: string | null;
|
|
18329
|
+
metadata: unknown | null;
|
|
18330
|
+
updatedAt: Date;
|
|
18331
|
+
slug: string;
|
|
18332
|
+
tag: string;
|
|
18333
|
+
access: _metorial_subspace_db.ProviderAccess;
|
|
18334
|
+
hasEnvironments: boolean;
|
|
18335
|
+
globalIdentifier: string | null;
|
|
18336
|
+
entryOid: bigint;
|
|
18337
|
+
publisherOid: bigint;
|
|
18338
|
+
ownerTenantOid: bigint | null;
|
|
18339
|
+
ownerSolutionOid: number | null;
|
|
18340
|
+
defaultVariantOid: bigint | null;
|
|
18341
|
+
typeOid: number;
|
|
18342
|
+
} | null;
|
|
18343
|
+
} & {
|
|
18344
|
+
oid: bigint;
|
|
18345
|
+
id: string;
|
|
18346
|
+
identifier: string;
|
|
18347
|
+
name: string;
|
|
18348
|
+
createdAt: Date;
|
|
18349
|
+
type: _metorial_subspace_db.SessionParticipantType;
|
|
18350
|
+
tenantOid: bigint;
|
|
18351
|
+
providerOid: bigint | null;
|
|
18352
|
+
environmentOid: bigint;
|
|
18353
|
+
hash: string;
|
|
18354
|
+
payload: PrismaJson.SessionParticipantPayload;
|
|
18355
|
+
}) | null;
|
|
18356
|
+
} & {
|
|
18357
|
+
oid: bigint;
|
|
18358
|
+
id: string;
|
|
18359
|
+
createdAt: Date;
|
|
18360
|
+
type: _metorial_subspace_db.SessionMessageType;
|
|
18361
|
+
tenantOid: bigint;
|
|
18362
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
18363
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
18364
|
+
isParentDeleted: boolean;
|
|
18365
|
+
solutionOid: number;
|
|
18366
|
+
environmentOid: bigint;
|
|
18367
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
18368
|
+
sessionOid: bigint;
|
|
18369
|
+
connectionOid: bigint | null;
|
|
18370
|
+
providerRunOid: bigint | null;
|
|
18371
|
+
errorOid: bigint | null;
|
|
18372
|
+
failureReason: _metorial_subspace_db.SessionMessageFailureReason;
|
|
18373
|
+
methodOrToolKey: string | null;
|
|
18374
|
+
clientMcpId: PrismaJson.SessionMessageClientMcpId;
|
|
18375
|
+
providerMcpId: string | null;
|
|
18376
|
+
input: PrismaJson.SessionMessageInput | null;
|
|
18377
|
+
output: PrismaJson.SessionMessageOutput | null;
|
|
18378
|
+
isProductive: boolean;
|
|
18379
|
+
isOffloadedToStorage: boolean;
|
|
18380
|
+
completedAt: Date | null;
|
|
18381
|
+
parentMessageOid: bigint | null;
|
|
18382
|
+
bucketOid: number;
|
|
18383
|
+
senderParticipantOid: bigint;
|
|
18384
|
+
responderParticipantOid: bigint | null;
|
|
18385
|
+
sessionProviderOid: bigint | null;
|
|
18386
|
+
slateToolCallOid: bigint | null;
|
|
18387
|
+
providerToolOid: bigint | null;
|
|
18388
|
+
};
|
|
18389
|
+
tool: {
|
|
18390
|
+
provider: {
|
|
18391
|
+
oid: bigint;
|
|
18392
|
+
id: string;
|
|
18393
|
+
identifier: string;
|
|
18394
|
+
name: string;
|
|
18395
|
+
createdAt: Date;
|
|
18396
|
+
status: _metorial_subspace_db.ProviderStatus;
|
|
18397
|
+
description: string | null;
|
|
18398
|
+
metadata: unknown | null;
|
|
18399
|
+
updatedAt: Date;
|
|
18400
|
+
slug: string;
|
|
18401
|
+
tag: string;
|
|
18402
|
+
access: _metorial_subspace_db.ProviderAccess;
|
|
18403
|
+
hasEnvironments: boolean;
|
|
18404
|
+
globalIdentifier: string | null;
|
|
18405
|
+
entryOid: bigint;
|
|
18406
|
+
publisherOid: bigint;
|
|
18407
|
+
ownerTenantOid: bigint | null;
|
|
18408
|
+
ownerSolutionOid: number | null;
|
|
18409
|
+
defaultVariantOid: bigint | null;
|
|
18410
|
+
typeOid: number;
|
|
18411
|
+
};
|
|
18412
|
+
specification: {
|
|
18413
|
+
value: PrismaJson.ProviderSpecificationValue;
|
|
18414
|
+
oid: bigint;
|
|
18415
|
+
id: string;
|
|
18416
|
+
name: string;
|
|
18417
|
+
createdAt: Date;
|
|
18418
|
+
type: _metorial_subspace_db.ProviderSpecificationType;
|
|
18419
|
+
key: string;
|
|
18420
|
+
description: string | null;
|
|
18421
|
+
updatedAt: Date;
|
|
18422
|
+
providerOid: bigint;
|
|
18423
|
+
hash: string;
|
|
18424
|
+
specId: string;
|
|
18425
|
+
specUniqueIdentifier: string;
|
|
18426
|
+
supportsAuthMethod: boolean;
|
|
18427
|
+
configContainsAuth: boolean;
|
|
18428
|
+
};
|
|
18429
|
+
} & {
|
|
18430
|
+
value: PrismaJson.ProviderToolValue;
|
|
18431
|
+
oid: bigint;
|
|
18432
|
+
id: string;
|
|
18433
|
+
name: string;
|
|
18434
|
+
createdAt: Date;
|
|
18435
|
+
key: string;
|
|
18436
|
+
description: string | null;
|
|
18437
|
+
updatedAt: Date;
|
|
18438
|
+
providerOid: bigint;
|
|
18439
|
+
specificationOid: bigint;
|
|
18440
|
+
hash: string;
|
|
18441
|
+
specId: string;
|
|
18442
|
+
specUniqueIdentifier: string;
|
|
18443
|
+
callableId: string;
|
|
18444
|
+
globalOid: bigint;
|
|
18445
|
+
};
|
|
18446
|
+
} & {
|
|
18447
|
+
oid: bigint;
|
|
18448
|
+
id: string;
|
|
18449
|
+
createdAt: Date;
|
|
18450
|
+
tenantOid: bigint;
|
|
18451
|
+
metadata: unknown | null;
|
|
18452
|
+
solutionOid: number;
|
|
18453
|
+
environmentOid: bigint;
|
|
18454
|
+
sessionOid: bigint;
|
|
18455
|
+
providerRunOid: bigint | null;
|
|
18456
|
+
messageOid: bigint;
|
|
18457
|
+
sessionProviderOid: bigint | null;
|
|
18458
|
+
toolKey: string;
|
|
18459
|
+
toolOid: bigint;
|
|
18460
|
+
};
|
|
18461
|
+
}>;
|
|
18462
|
+
create: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
|
|
18463
|
+
tenantId: string;
|
|
18464
|
+
environmentId: string;
|
|
18465
|
+
sessionId: string;
|
|
18466
|
+
metadata: Record<string, any> | undefined;
|
|
18467
|
+
input: Record<string, any>;
|
|
18468
|
+
toolId: string;
|
|
18469
|
+
}>, {
|
|
18470
|
+
object: string;
|
|
18471
|
+
id: string;
|
|
18472
|
+
toolKey: string;
|
|
18473
|
+
type: string;
|
|
18474
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
18475
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
18476
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
18477
|
+
sessionId: string;
|
|
18478
|
+
messageId: string;
|
|
18479
|
+
sessionProviderId: string | null;
|
|
18480
|
+
connectionId: string | null;
|
|
18481
|
+
providerRunId: string | null;
|
|
18482
|
+
tool: {
|
|
18483
|
+
object: string;
|
|
18484
|
+
id: string;
|
|
18485
|
+
key: string;
|
|
18486
|
+
name: string;
|
|
18487
|
+
description: string | null;
|
|
18488
|
+
capabilities: {
|
|
18489
|
+
[key: string]: any;
|
|
18490
|
+
};
|
|
18491
|
+
constraints: string[];
|
|
18492
|
+
inputJsonSchema: Record<string, any>;
|
|
18493
|
+
instructions: string[];
|
|
18494
|
+
outputJsonSchema: Record<string, any> | undefined;
|
|
18495
|
+
tags: {
|
|
18496
|
+
destructive?: boolean | undefined;
|
|
18497
|
+
readOnly?: boolean | undefined;
|
|
18498
|
+
} | undefined;
|
|
18499
|
+
specificationId: string;
|
|
18500
|
+
createdAt: Date;
|
|
18501
|
+
updatedAt: Date;
|
|
18502
|
+
};
|
|
18503
|
+
input: any;
|
|
18504
|
+
output: any;
|
|
18505
|
+
error: Promise<{
|
|
18506
|
+
object: string;
|
|
18507
|
+
id: string;
|
|
18508
|
+
code: string;
|
|
18509
|
+
message: string;
|
|
18510
|
+
data: unknown;
|
|
18511
|
+
sessionId: string;
|
|
18512
|
+
providerRunId: string | null;
|
|
18513
|
+
connectionId: string | null;
|
|
18514
|
+
groupId: string;
|
|
18515
|
+
similarErrorCount: number;
|
|
18516
|
+
createdAt: Date;
|
|
18517
|
+
}> | null;
|
|
18518
|
+
createdAt: Date;
|
|
18519
|
+
}, {
|
|
18520
|
+
solution: {} & {
|
|
18521
|
+
oid: number;
|
|
18522
|
+
id: string;
|
|
18523
|
+
identifier: string;
|
|
18524
|
+
name: string;
|
|
18525
|
+
createdAt: Date;
|
|
18526
|
+
};
|
|
18527
|
+
tenant: {} & {
|
|
18528
|
+
oid: bigint;
|
|
18529
|
+
id: string;
|
|
18530
|
+
identifier: string;
|
|
18531
|
+
name: string;
|
|
18532
|
+
createdAt: Date;
|
|
18533
|
+
urlKey: string;
|
|
18534
|
+
slateTenantId: string | null;
|
|
18535
|
+
slateTenantIdentifier: string | null;
|
|
18536
|
+
shuttleTenantId: string | null;
|
|
18537
|
+
shuttleTenantIdentifier: string | null;
|
|
18538
|
+
originTenantId: string | null;
|
|
18539
|
+
originTenantIdentifier: string | null;
|
|
18540
|
+
logRetentionInDays: number;
|
|
18541
|
+
} & {
|
|
18542
|
+
environments: {
|
|
18543
|
+
oid: bigint;
|
|
18544
|
+
id: string;
|
|
18545
|
+
identifier: string;
|
|
18546
|
+
name: string;
|
|
18547
|
+
createdAt: Date;
|
|
18548
|
+
type: _metorial_subspace_db.EnvironmentType;
|
|
18549
|
+
tenantOid: bigint;
|
|
18550
|
+
}[];
|
|
18551
|
+
};
|
|
18552
|
+
environment: {
|
|
18553
|
+
oid: bigint;
|
|
18554
|
+
id: string;
|
|
18555
|
+
identifier: string;
|
|
18556
|
+
name: string;
|
|
18557
|
+
createdAt: Date;
|
|
18558
|
+
type: _metorial_subspace_db.EnvironmentType;
|
|
18559
|
+
tenantOid: bigint;
|
|
18560
|
+
};
|
|
18561
|
+
}>;
|
|
18562
|
+
};
|
|
17711
18563
|
customProvider: {
|
|
17712
18564
|
list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
|
|
17713
18565
|
tenantId: string;
|
|
@@ -23925,6 +24777,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
23925
24777
|
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
23926
24778
|
isManuallyDisabled: boolean;
|
|
23927
24779
|
isReplaced: boolean;
|
|
24780
|
+
isForManualToolCalls: boolean;
|
|
23928
24781
|
totalProductiveClientMessageCount: number;
|
|
23929
24782
|
totalProductiveServerMessageCount: number;
|
|
23930
24783
|
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
@@ -24099,6 +24952,7 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
24099
24952
|
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
24100
24953
|
isManuallyDisabled: boolean;
|
|
24101
24954
|
isReplaced: boolean;
|
|
24955
|
+
isForManualToolCalls: boolean;
|
|
24102
24956
|
totalProductiveClientMessageCount: number;
|
|
24103
24957
|
totalProductiveServerMessageCount: number;
|
|
24104
24958
|
mcpData: PrismaJson.SessionConnectionMcpData;
|