@metorial-services/subspace-client 1.0.3 → 1.0.4
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 +1477 -1
- package/dist/index.d.ts +1477 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -13509,13 +13509,1489 @@ declare let createSubspaceControllerClient: (o: Parameters<typeof createClient<S
|
|
|
13509
13509
|
};
|
|
13510
13510
|
}>;
|
|
13511
13511
|
};
|
|
13512
|
+
sessionEvent: {
|
|
13513
|
+
list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
|
|
13514
|
+
tenantId: string;
|
|
13515
|
+
environmentId: string;
|
|
13516
|
+
allowDeleted: boolean | undefined;
|
|
13517
|
+
types: (string | number | boolean)[] | undefined;
|
|
13518
|
+
ids: string[] | undefined;
|
|
13519
|
+
sessionIds: string[] | undefined;
|
|
13520
|
+
sessionProviderIds: string[] | undefined;
|
|
13521
|
+
sessionConnectionIds: string[] | undefined;
|
|
13522
|
+
providerRunIds: string[] | undefined;
|
|
13523
|
+
sessionMessageIds: string[] | undefined;
|
|
13524
|
+
sessionErrorIds: string[] | undefined;
|
|
13525
|
+
}, "allowDeleted" | "ids" | "sessionProviderIds" | "sessionIds" | "types" | "sessionConnectionIds" | "providerRunIds" | "sessionMessageIds" | "sessionErrorIds">> & {
|
|
13526
|
+
tenantId: string;
|
|
13527
|
+
environmentId: string;
|
|
13528
|
+
} & {
|
|
13529
|
+
limit?: number;
|
|
13530
|
+
after?: string;
|
|
13531
|
+
before?: string;
|
|
13532
|
+
cursor?: string;
|
|
13533
|
+
order?: "asc" | "desc";
|
|
13534
|
+
}, {
|
|
13535
|
+
__typename: string;
|
|
13536
|
+
items: {
|
|
13537
|
+
object: string;
|
|
13538
|
+
id: string;
|
|
13539
|
+
type: _metorial_subspace_db.SessionEventType;
|
|
13540
|
+
sessionId: string;
|
|
13541
|
+
connection: {
|
|
13542
|
+
object: string;
|
|
13543
|
+
id: string;
|
|
13544
|
+
status: _metorial_subspace_db.SessionConnectionStatus;
|
|
13545
|
+
connectionState: _metorial_subspace_db.SessionConnectionState;
|
|
13546
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
13547
|
+
usage: {
|
|
13548
|
+
totalProductiveClientMessageCount: number;
|
|
13549
|
+
totalProductiveServerMessageCount: number;
|
|
13550
|
+
};
|
|
13551
|
+
mcp: {
|
|
13552
|
+
capabilities: {
|
|
13553
|
+
experimental?: {
|
|
13554
|
+
[x: string]: object;
|
|
13555
|
+
} | undefined;
|
|
13556
|
+
sampling?: {
|
|
13557
|
+
context?: object | undefined;
|
|
13558
|
+
tools?: object | undefined;
|
|
13559
|
+
} | undefined;
|
|
13560
|
+
elicitation?: {
|
|
13561
|
+
[x: string]: unknown;
|
|
13562
|
+
form?: {
|
|
13563
|
+
[x: string]: unknown;
|
|
13564
|
+
applyDefaults?: boolean | undefined;
|
|
13565
|
+
} | undefined;
|
|
13566
|
+
url?: object | undefined;
|
|
13567
|
+
} | undefined;
|
|
13568
|
+
roots?: {
|
|
13569
|
+
listChanged?: boolean | undefined;
|
|
13570
|
+
} | undefined;
|
|
13571
|
+
tasks?: {
|
|
13572
|
+
[x: string]: unknown;
|
|
13573
|
+
list?: object | undefined;
|
|
13574
|
+
cancel?: object | undefined;
|
|
13575
|
+
requests?: {
|
|
13576
|
+
[x: string]: unknown;
|
|
13577
|
+
sampling?: {
|
|
13578
|
+
[x: string]: unknown;
|
|
13579
|
+
createMessage?: object | undefined;
|
|
13580
|
+
} | undefined;
|
|
13581
|
+
elicitation?: {
|
|
13582
|
+
[x: string]: unknown;
|
|
13583
|
+
create?: object | undefined;
|
|
13584
|
+
} | undefined;
|
|
13585
|
+
} | undefined;
|
|
13586
|
+
} | undefined;
|
|
13587
|
+
};
|
|
13588
|
+
protocolVersion: string;
|
|
13589
|
+
transport: _metorial_subspace_db.SessionConnectionMcpConnectionTransport;
|
|
13590
|
+
} | null;
|
|
13591
|
+
sessionId: string;
|
|
13592
|
+
participant: {
|
|
13593
|
+
object: string;
|
|
13594
|
+
id: string;
|
|
13595
|
+
type: _metorial_subspace_db.SessionParticipantType;
|
|
13596
|
+
identifier: string;
|
|
13597
|
+
name: string;
|
|
13598
|
+
data: PrismaJson.SessionParticipantPayload;
|
|
13599
|
+
providerId: string | undefined;
|
|
13600
|
+
createdAt: Date;
|
|
13601
|
+
} | null;
|
|
13602
|
+
createdAt: Date;
|
|
13603
|
+
lastMessageAt: Date | null;
|
|
13604
|
+
lastActiveAt: Date | null;
|
|
13605
|
+
} | null;
|
|
13606
|
+
providerRun: {
|
|
13607
|
+
object: string;
|
|
13608
|
+
id: string;
|
|
13609
|
+
status: _metorial_subspace_db.ProviderRunStatus;
|
|
13610
|
+
providerId: string;
|
|
13611
|
+
sessionId: string;
|
|
13612
|
+
sessionProviderId: string;
|
|
13613
|
+
connectionId: string;
|
|
13614
|
+
createdAt: Date;
|
|
13615
|
+
updatedAt: Date;
|
|
13616
|
+
completedAt: Date | null;
|
|
13617
|
+
} | null;
|
|
13618
|
+
message: {
|
|
13619
|
+
object: string;
|
|
13620
|
+
id: string;
|
|
13621
|
+
type: _metorial_subspace_db.SessionMessageType;
|
|
13622
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
13623
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
13624
|
+
sessionId: string;
|
|
13625
|
+
sessionProviderId: string | null;
|
|
13626
|
+
connectionId: string | null;
|
|
13627
|
+
providerRunId: string | null;
|
|
13628
|
+
hierarchy: {
|
|
13629
|
+
type: string;
|
|
13630
|
+
parentMessageId: string | undefined;
|
|
13631
|
+
childMessageIds: string[];
|
|
13632
|
+
};
|
|
13633
|
+
transport: {
|
|
13634
|
+
object: string;
|
|
13635
|
+
type: _metorial_subspace_db.SessionConnectionTransport;
|
|
13636
|
+
mcp: {
|
|
13637
|
+
object: string;
|
|
13638
|
+
id: any;
|
|
13639
|
+
protocolVersion: string;
|
|
13640
|
+
transport: string;
|
|
13641
|
+
} | undefined;
|
|
13642
|
+
toolCall: {
|
|
13643
|
+
object: string;
|
|
13644
|
+
id: string | null;
|
|
13645
|
+
} | undefined;
|
|
13646
|
+
};
|
|
13647
|
+
input: {
|
|
13648
|
+
method: string;
|
|
13649
|
+
jsonrpc: "2.0";
|
|
13650
|
+
params?: {
|
|
13651
|
+
[x: string]: unknown;
|
|
13652
|
+
_meta?: {
|
|
13653
|
+
[x: string]: unknown;
|
|
13654
|
+
progressToken?: string | number | undefined;
|
|
13655
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
13656
|
+
taskId: string;
|
|
13657
|
+
} | undefined;
|
|
13658
|
+
} | undefined;
|
|
13659
|
+
} | undefined;
|
|
13660
|
+
} | {
|
|
13661
|
+
jsonrpc: "2.0";
|
|
13662
|
+
id: string | number;
|
|
13663
|
+
result: {
|
|
13664
|
+
[x: string]: unknown;
|
|
13665
|
+
_meta?: {
|
|
13666
|
+
[x: string]: unknown;
|
|
13667
|
+
progressToken?: string | number | undefined;
|
|
13668
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
13669
|
+
taskId: string;
|
|
13670
|
+
} | undefined;
|
|
13671
|
+
} | undefined;
|
|
13672
|
+
};
|
|
13673
|
+
} | {
|
|
13674
|
+
jsonrpc: "2.0";
|
|
13675
|
+
error: {
|
|
13676
|
+
code: number;
|
|
13677
|
+
message: string;
|
|
13678
|
+
data?: unknown;
|
|
13679
|
+
};
|
|
13680
|
+
id?: string | number | undefined;
|
|
13681
|
+
} | null;
|
|
13682
|
+
output: {
|
|
13683
|
+
method: string;
|
|
13684
|
+
jsonrpc: "2.0";
|
|
13685
|
+
params?: {
|
|
13686
|
+
[x: string]: unknown;
|
|
13687
|
+
_meta?: {
|
|
13688
|
+
[x: string]: unknown;
|
|
13689
|
+
progressToken?: string | number | undefined;
|
|
13690
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
13691
|
+
taskId: string;
|
|
13692
|
+
} | undefined;
|
|
13693
|
+
} | undefined;
|
|
13694
|
+
} | undefined;
|
|
13695
|
+
} | {
|
|
13696
|
+
jsonrpc: "2.0";
|
|
13697
|
+
id: string | number;
|
|
13698
|
+
result: {
|
|
13699
|
+
[x: string]: unknown;
|
|
13700
|
+
_meta?: {
|
|
13701
|
+
[x: string]: unknown;
|
|
13702
|
+
progressToken?: string | number | undefined;
|
|
13703
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
13704
|
+
taskId: string;
|
|
13705
|
+
} | undefined;
|
|
13706
|
+
} | undefined;
|
|
13707
|
+
};
|
|
13708
|
+
} | {
|
|
13709
|
+
jsonrpc: "2.0";
|
|
13710
|
+
error: {
|
|
13711
|
+
code: number;
|
|
13712
|
+
message: string;
|
|
13713
|
+
data?: unknown;
|
|
13714
|
+
};
|
|
13715
|
+
id?: string | number | undefined;
|
|
13716
|
+
} | null;
|
|
13717
|
+
toolCall: {
|
|
13718
|
+
object: string;
|
|
13719
|
+
id: string;
|
|
13720
|
+
toolKey: string;
|
|
13721
|
+
type: string;
|
|
13722
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
13723
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
13724
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
13725
|
+
sessionId: string;
|
|
13726
|
+
messageId: string;
|
|
13727
|
+
sessionProviderId: string | null;
|
|
13728
|
+
connectionId: string | null;
|
|
13729
|
+
providerRunId: string | null;
|
|
13730
|
+
tool: {
|
|
13731
|
+
object: string;
|
|
13732
|
+
id: string;
|
|
13733
|
+
key: string;
|
|
13734
|
+
name: string;
|
|
13735
|
+
description: string | null;
|
|
13736
|
+
capabilities: {
|
|
13737
|
+
[key: string]: any;
|
|
13738
|
+
};
|
|
13739
|
+
constraints: string[];
|
|
13740
|
+
inputJsonSchema: Record<string, any>;
|
|
13741
|
+
instructions: string[];
|
|
13742
|
+
outputJsonSchema: Record<string, any> | undefined;
|
|
13743
|
+
tags: {
|
|
13744
|
+
destructive?: boolean | undefined;
|
|
13745
|
+
readOnly?: boolean | undefined;
|
|
13746
|
+
} | undefined;
|
|
13747
|
+
specificationId: string;
|
|
13748
|
+
createdAt: Date;
|
|
13749
|
+
updatedAt: Date;
|
|
13750
|
+
};
|
|
13751
|
+
input: any;
|
|
13752
|
+
output: any;
|
|
13753
|
+
error: Promise<{
|
|
13754
|
+
object: string;
|
|
13755
|
+
id: string;
|
|
13756
|
+
code: string;
|
|
13757
|
+
message: string;
|
|
13758
|
+
data: unknown;
|
|
13759
|
+
sessionId: string;
|
|
13760
|
+
providerRunId: string | null;
|
|
13761
|
+
connectionId: string | null;
|
|
13762
|
+
groupId: string;
|
|
13763
|
+
similarErrorCount: number;
|
|
13764
|
+
createdAt: Date;
|
|
13765
|
+
}> | null;
|
|
13766
|
+
createdAt: Date;
|
|
13767
|
+
} | null;
|
|
13768
|
+
senderParticipant: {
|
|
13769
|
+
object: string;
|
|
13770
|
+
id: string;
|
|
13771
|
+
type: _metorial_subspace_db.SessionParticipantType;
|
|
13772
|
+
identifier: string;
|
|
13773
|
+
name: string;
|
|
13774
|
+
data: PrismaJson.SessionParticipantPayload;
|
|
13775
|
+
providerId: string | undefined;
|
|
13776
|
+
createdAt: Date;
|
|
13777
|
+
};
|
|
13778
|
+
responderParticipant: {
|
|
13779
|
+
object: string;
|
|
13780
|
+
id: string;
|
|
13781
|
+
type: _metorial_subspace_db.SessionParticipantType;
|
|
13782
|
+
identifier: string;
|
|
13783
|
+
name: string;
|
|
13784
|
+
data: PrismaJson.SessionParticipantPayload;
|
|
13785
|
+
providerId: string | undefined;
|
|
13786
|
+
createdAt: Date;
|
|
13787
|
+
} | null;
|
|
13788
|
+
error: Promise<{
|
|
13789
|
+
object: string;
|
|
13790
|
+
id: string;
|
|
13791
|
+
code: string;
|
|
13792
|
+
message: string;
|
|
13793
|
+
data: unknown;
|
|
13794
|
+
sessionId: string;
|
|
13795
|
+
providerRunId: string | null;
|
|
13796
|
+
connectionId: string | null;
|
|
13797
|
+
groupId: string;
|
|
13798
|
+
similarErrorCount: number;
|
|
13799
|
+
createdAt: Date;
|
|
13800
|
+
}> | null;
|
|
13801
|
+
createdAt: Date;
|
|
13802
|
+
} | null;
|
|
13803
|
+
error: {
|
|
13804
|
+
object: string;
|
|
13805
|
+
id: string;
|
|
13806
|
+
code: string;
|
|
13807
|
+
message: string;
|
|
13808
|
+
data: unknown;
|
|
13809
|
+
sessionId: string;
|
|
13810
|
+
providerRunId: string | null;
|
|
13811
|
+
connectionId: string | null;
|
|
13812
|
+
groupId: string;
|
|
13813
|
+
similarErrorCount: number;
|
|
13814
|
+
createdAt: Date;
|
|
13815
|
+
} | null;
|
|
13816
|
+
createdAt: Date;
|
|
13817
|
+
}[];
|
|
13818
|
+
pagination: {
|
|
13819
|
+
has_more_after: boolean;
|
|
13820
|
+
has_more_before: boolean;
|
|
13821
|
+
};
|
|
13822
|
+
}, {
|
|
13823
|
+
solution: {} & {
|
|
13824
|
+
oid: number;
|
|
13825
|
+
id: string;
|
|
13826
|
+
identifier: string;
|
|
13827
|
+
name: string;
|
|
13828
|
+
createdAt: Date;
|
|
13829
|
+
};
|
|
13830
|
+
tenant: {} & {
|
|
13831
|
+
oid: bigint;
|
|
13832
|
+
id: string;
|
|
13833
|
+
identifier: string;
|
|
13834
|
+
name: string;
|
|
13835
|
+
createdAt: Date;
|
|
13836
|
+
urlKey: string;
|
|
13837
|
+
slateTenantId: string | null;
|
|
13838
|
+
slateTenantIdentifier: string | null;
|
|
13839
|
+
shuttleTenantId: string | null;
|
|
13840
|
+
shuttleTenantIdentifier: string | null;
|
|
13841
|
+
originTenantId: string | null;
|
|
13842
|
+
originTenantIdentifier: string | null;
|
|
13843
|
+
logRetentionInDays: number;
|
|
13844
|
+
} & {
|
|
13845
|
+
environments: {
|
|
13846
|
+
oid: bigint;
|
|
13847
|
+
id: string;
|
|
13848
|
+
identifier: string;
|
|
13849
|
+
name: string;
|
|
13850
|
+
createdAt: Date;
|
|
13851
|
+
type: _metorial_subspace_db.EnvironmentType;
|
|
13852
|
+
tenantOid: bigint;
|
|
13853
|
+
}[];
|
|
13854
|
+
};
|
|
13855
|
+
environment: {
|
|
13856
|
+
oid: bigint;
|
|
13857
|
+
id: string;
|
|
13858
|
+
identifier: string;
|
|
13859
|
+
name: string;
|
|
13860
|
+
createdAt: Date;
|
|
13861
|
+
type: _metorial_subspace_db.EnvironmentType;
|
|
13862
|
+
tenantOid: bigint;
|
|
13863
|
+
};
|
|
13864
|
+
}>;
|
|
13865
|
+
get: _lowerdeck_rpc_server.Handler<_lowerdeck_validation_dist_validators.UndefinedIsOptional<{
|
|
13866
|
+
tenantId: string;
|
|
13867
|
+
environmentId: string;
|
|
13868
|
+
sessionEventId: string;
|
|
13869
|
+
allowDeleted: boolean | undefined;
|
|
13870
|
+
}>, {
|
|
13871
|
+
object: string;
|
|
13872
|
+
id: string;
|
|
13873
|
+
type: _metorial_subspace_db.SessionEventType;
|
|
13874
|
+
sessionId: string;
|
|
13875
|
+
connection: {
|
|
13876
|
+
object: string;
|
|
13877
|
+
id: string;
|
|
13878
|
+
status: _metorial_subspace_db.SessionConnectionStatus;
|
|
13879
|
+
connectionState: _metorial_subspace_db.SessionConnectionState;
|
|
13880
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
13881
|
+
usage: {
|
|
13882
|
+
totalProductiveClientMessageCount: number;
|
|
13883
|
+
totalProductiveServerMessageCount: number;
|
|
13884
|
+
};
|
|
13885
|
+
mcp: {
|
|
13886
|
+
capabilities: {
|
|
13887
|
+
experimental?: {
|
|
13888
|
+
[x: string]: object;
|
|
13889
|
+
} | undefined;
|
|
13890
|
+
sampling?: {
|
|
13891
|
+
context?: object | undefined;
|
|
13892
|
+
tools?: object | undefined;
|
|
13893
|
+
} | undefined;
|
|
13894
|
+
elicitation?: {
|
|
13895
|
+
[x: string]: unknown;
|
|
13896
|
+
form?: {
|
|
13897
|
+
[x: string]: unknown;
|
|
13898
|
+
applyDefaults?: boolean | undefined;
|
|
13899
|
+
} | undefined;
|
|
13900
|
+
url?: object | undefined;
|
|
13901
|
+
} | undefined;
|
|
13902
|
+
roots?: {
|
|
13903
|
+
listChanged?: boolean | undefined;
|
|
13904
|
+
} | undefined;
|
|
13905
|
+
tasks?: {
|
|
13906
|
+
[x: string]: unknown;
|
|
13907
|
+
list?: object | undefined;
|
|
13908
|
+
cancel?: object | undefined;
|
|
13909
|
+
requests?: {
|
|
13910
|
+
[x: string]: unknown;
|
|
13911
|
+
sampling?: {
|
|
13912
|
+
[x: string]: unknown;
|
|
13913
|
+
createMessage?: object | undefined;
|
|
13914
|
+
} | undefined;
|
|
13915
|
+
elicitation?: {
|
|
13916
|
+
[x: string]: unknown;
|
|
13917
|
+
create?: object | undefined;
|
|
13918
|
+
} | undefined;
|
|
13919
|
+
} | undefined;
|
|
13920
|
+
} | undefined;
|
|
13921
|
+
};
|
|
13922
|
+
protocolVersion: string;
|
|
13923
|
+
transport: _metorial_subspace_db.SessionConnectionMcpConnectionTransport;
|
|
13924
|
+
} | null;
|
|
13925
|
+
sessionId: string;
|
|
13926
|
+
participant: {
|
|
13927
|
+
object: string;
|
|
13928
|
+
id: string;
|
|
13929
|
+
type: _metorial_subspace_db.SessionParticipantType;
|
|
13930
|
+
identifier: string;
|
|
13931
|
+
name: string;
|
|
13932
|
+
data: PrismaJson.SessionParticipantPayload;
|
|
13933
|
+
providerId: string | undefined;
|
|
13934
|
+
createdAt: Date;
|
|
13935
|
+
} | null;
|
|
13936
|
+
createdAt: Date;
|
|
13937
|
+
lastMessageAt: Date | null;
|
|
13938
|
+
lastActiveAt: Date | null;
|
|
13939
|
+
} | null;
|
|
13940
|
+
providerRun: {
|
|
13941
|
+
object: string;
|
|
13942
|
+
id: string;
|
|
13943
|
+
status: _metorial_subspace_db.ProviderRunStatus;
|
|
13944
|
+
providerId: string;
|
|
13945
|
+
sessionId: string;
|
|
13946
|
+
sessionProviderId: string;
|
|
13947
|
+
connectionId: string;
|
|
13948
|
+
createdAt: Date;
|
|
13949
|
+
updatedAt: Date;
|
|
13950
|
+
completedAt: Date | null;
|
|
13951
|
+
} | null;
|
|
13952
|
+
message: {
|
|
13953
|
+
object: string;
|
|
13954
|
+
id: string;
|
|
13955
|
+
type: _metorial_subspace_db.SessionMessageType;
|
|
13956
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
13957
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
13958
|
+
sessionId: string;
|
|
13959
|
+
sessionProviderId: string | null;
|
|
13960
|
+
connectionId: string | null;
|
|
13961
|
+
providerRunId: string | null;
|
|
13962
|
+
hierarchy: {
|
|
13963
|
+
type: string;
|
|
13964
|
+
parentMessageId: string | undefined;
|
|
13965
|
+
childMessageIds: string[];
|
|
13966
|
+
};
|
|
13967
|
+
transport: {
|
|
13968
|
+
object: string;
|
|
13969
|
+
type: _metorial_subspace_db.SessionConnectionTransport;
|
|
13970
|
+
mcp: {
|
|
13971
|
+
object: string;
|
|
13972
|
+
id: any;
|
|
13973
|
+
protocolVersion: string;
|
|
13974
|
+
transport: string;
|
|
13975
|
+
} | undefined;
|
|
13976
|
+
toolCall: {
|
|
13977
|
+
object: string;
|
|
13978
|
+
id: string | null;
|
|
13979
|
+
} | undefined;
|
|
13980
|
+
};
|
|
13981
|
+
input: {
|
|
13982
|
+
method: string;
|
|
13983
|
+
jsonrpc: "2.0";
|
|
13984
|
+
params?: {
|
|
13985
|
+
[x: string]: unknown;
|
|
13986
|
+
_meta?: {
|
|
13987
|
+
[x: string]: unknown;
|
|
13988
|
+
progressToken?: string | number | undefined;
|
|
13989
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
13990
|
+
taskId: string;
|
|
13991
|
+
} | undefined;
|
|
13992
|
+
} | undefined;
|
|
13993
|
+
} | undefined;
|
|
13994
|
+
} | {
|
|
13995
|
+
jsonrpc: "2.0";
|
|
13996
|
+
id: string | number;
|
|
13997
|
+
result: {
|
|
13998
|
+
[x: string]: unknown;
|
|
13999
|
+
_meta?: {
|
|
14000
|
+
[x: string]: unknown;
|
|
14001
|
+
progressToken?: string | number | undefined;
|
|
14002
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
14003
|
+
taskId: string;
|
|
14004
|
+
} | undefined;
|
|
14005
|
+
} | undefined;
|
|
14006
|
+
};
|
|
14007
|
+
} | {
|
|
14008
|
+
jsonrpc: "2.0";
|
|
14009
|
+
error: {
|
|
14010
|
+
code: number;
|
|
14011
|
+
message: string;
|
|
14012
|
+
data?: unknown;
|
|
14013
|
+
};
|
|
14014
|
+
id?: string | number | undefined;
|
|
14015
|
+
} | null;
|
|
14016
|
+
output: {
|
|
14017
|
+
method: string;
|
|
14018
|
+
jsonrpc: "2.0";
|
|
14019
|
+
params?: {
|
|
14020
|
+
[x: string]: unknown;
|
|
14021
|
+
_meta?: {
|
|
14022
|
+
[x: string]: unknown;
|
|
14023
|
+
progressToken?: string | number | undefined;
|
|
14024
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
14025
|
+
taskId: string;
|
|
14026
|
+
} | undefined;
|
|
14027
|
+
} | undefined;
|
|
14028
|
+
} | undefined;
|
|
14029
|
+
} | {
|
|
14030
|
+
jsonrpc: "2.0";
|
|
14031
|
+
id: string | number;
|
|
14032
|
+
result: {
|
|
14033
|
+
[x: string]: unknown;
|
|
14034
|
+
_meta?: {
|
|
14035
|
+
[x: string]: unknown;
|
|
14036
|
+
progressToken?: string | number | undefined;
|
|
14037
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
14038
|
+
taskId: string;
|
|
14039
|
+
} | undefined;
|
|
14040
|
+
} | undefined;
|
|
14041
|
+
};
|
|
14042
|
+
} | {
|
|
14043
|
+
jsonrpc: "2.0";
|
|
14044
|
+
error: {
|
|
14045
|
+
code: number;
|
|
14046
|
+
message: string;
|
|
14047
|
+
data?: unknown;
|
|
14048
|
+
};
|
|
14049
|
+
id?: string | number | undefined;
|
|
14050
|
+
} | null;
|
|
14051
|
+
toolCall: {
|
|
14052
|
+
object: string;
|
|
14053
|
+
id: string;
|
|
14054
|
+
toolKey: string;
|
|
14055
|
+
type: string;
|
|
14056
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
14057
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
14058
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
14059
|
+
sessionId: string;
|
|
14060
|
+
messageId: string;
|
|
14061
|
+
sessionProviderId: string | null;
|
|
14062
|
+
connectionId: string | null;
|
|
14063
|
+
providerRunId: string | null;
|
|
14064
|
+
tool: {
|
|
14065
|
+
object: string;
|
|
14066
|
+
id: string;
|
|
14067
|
+
key: string;
|
|
14068
|
+
name: string;
|
|
14069
|
+
description: string | null;
|
|
14070
|
+
capabilities: {
|
|
14071
|
+
[key: string]: any;
|
|
14072
|
+
};
|
|
14073
|
+
constraints: string[];
|
|
14074
|
+
inputJsonSchema: Record<string, any>;
|
|
14075
|
+
instructions: string[];
|
|
14076
|
+
outputJsonSchema: Record<string, any> | undefined;
|
|
14077
|
+
tags: {
|
|
14078
|
+
destructive?: boolean | undefined;
|
|
14079
|
+
readOnly?: boolean | undefined;
|
|
14080
|
+
} | undefined;
|
|
14081
|
+
specificationId: string;
|
|
14082
|
+
createdAt: Date;
|
|
14083
|
+
updatedAt: Date;
|
|
14084
|
+
};
|
|
14085
|
+
input: any;
|
|
14086
|
+
output: any;
|
|
14087
|
+
error: Promise<{
|
|
14088
|
+
object: string;
|
|
14089
|
+
id: string;
|
|
14090
|
+
code: string;
|
|
14091
|
+
message: string;
|
|
14092
|
+
data: unknown;
|
|
14093
|
+
sessionId: string;
|
|
14094
|
+
providerRunId: string | null;
|
|
14095
|
+
connectionId: string | null;
|
|
14096
|
+
groupId: string;
|
|
14097
|
+
similarErrorCount: number;
|
|
14098
|
+
createdAt: Date;
|
|
14099
|
+
}> | null;
|
|
14100
|
+
createdAt: Date;
|
|
14101
|
+
} | null;
|
|
14102
|
+
senderParticipant: {
|
|
14103
|
+
object: string;
|
|
14104
|
+
id: string;
|
|
14105
|
+
type: _metorial_subspace_db.SessionParticipantType;
|
|
14106
|
+
identifier: string;
|
|
14107
|
+
name: string;
|
|
14108
|
+
data: PrismaJson.SessionParticipantPayload;
|
|
14109
|
+
providerId: string | undefined;
|
|
14110
|
+
createdAt: Date;
|
|
14111
|
+
};
|
|
14112
|
+
responderParticipant: {
|
|
14113
|
+
object: string;
|
|
14114
|
+
id: string;
|
|
14115
|
+
type: _metorial_subspace_db.SessionParticipantType;
|
|
14116
|
+
identifier: string;
|
|
14117
|
+
name: string;
|
|
14118
|
+
data: PrismaJson.SessionParticipantPayload;
|
|
14119
|
+
providerId: string | undefined;
|
|
14120
|
+
createdAt: Date;
|
|
14121
|
+
} | null;
|
|
14122
|
+
error: Promise<{
|
|
14123
|
+
object: string;
|
|
14124
|
+
id: string;
|
|
14125
|
+
code: string;
|
|
14126
|
+
message: string;
|
|
14127
|
+
data: unknown;
|
|
14128
|
+
sessionId: string;
|
|
14129
|
+
providerRunId: string | null;
|
|
14130
|
+
connectionId: string | null;
|
|
14131
|
+
groupId: string;
|
|
14132
|
+
similarErrorCount: number;
|
|
14133
|
+
createdAt: Date;
|
|
14134
|
+
}> | null;
|
|
14135
|
+
createdAt: Date;
|
|
14136
|
+
} | null;
|
|
14137
|
+
error: {
|
|
14138
|
+
object: string;
|
|
14139
|
+
id: string;
|
|
14140
|
+
code: string;
|
|
14141
|
+
message: string;
|
|
14142
|
+
data: unknown;
|
|
14143
|
+
sessionId: string;
|
|
14144
|
+
providerRunId: string | null;
|
|
14145
|
+
connectionId: string | null;
|
|
14146
|
+
groupId: string;
|
|
14147
|
+
similarErrorCount: number;
|
|
14148
|
+
createdAt: Date;
|
|
14149
|
+
} | null;
|
|
14150
|
+
createdAt: Date;
|
|
14151
|
+
}, {
|
|
14152
|
+
solution: {} & {
|
|
14153
|
+
oid: number;
|
|
14154
|
+
id: string;
|
|
14155
|
+
identifier: string;
|
|
14156
|
+
name: string;
|
|
14157
|
+
createdAt: Date;
|
|
14158
|
+
};
|
|
14159
|
+
tenant: {} & {
|
|
14160
|
+
oid: bigint;
|
|
14161
|
+
id: string;
|
|
14162
|
+
identifier: string;
|
|
14163
|
+
name: string;
|
|
14164
|
+
createdAt: Date;
|
|
14165
|
+
urlKey: string;
|
|
14166
|
+
slateTenantId: string | null;
|
|
14167
|
+
slateTenantIdentifier: string | null;
|
|
14168
|
+
shuttleTenantId: string | null;
|
|
14169
|
+
shuttleTenantIdentifier: string | null;
|
|
14170
|
+
originTenantId: string | null;
|
|
14171
|
+
originTenantIdentifier: string | null;
|
|
14172
|
+
logRetentionInDays: number;
|
|
14173
|
+
} & {
|
|
14174
|
+
environments: {
|
|
14175
|
+
oid: bigint;
|
|
14176
|
+
id: string;
|
|
14177
|
+
identifier: string;
|
|
14178
|
+
name: string;
|
|
14179
|
+
createdAt: Date;
|
|
14180
|
+
type: _metorial_subspace_db.EnvironmentType;
|
|
14181
|
+
tenantOid: bigint;
|
|
14182
|
+
}[];
|
|
14183
|
+
};
|
|
14184
|
+
environment: {
|
|
14185
|
+
oid: bigint;
|
|
14186
|
+
id: string;
|
|
14187
|
+
identifier: string;
|
|
14188
|
+
name: string;
|
|
14189
|
+
createdAt: Date;
|
|
14190
|
+
type: _metorial_subspace_db.EnvironmentType;
|
|
14191
|
+
tenantOid: bigint;
|
|
14192
|
+
};
|
|
14193
|
+
sessionEvent: {
|
|
14194
|
+
error: ({
|
|
14195
|
+
session: {
|
|
14196
|
+
oid: bigint;
|
|
14197
|
+
id: string;
|
|
14198
|
+
name: string | null;
|
|
14199
|
+
createdAt: Date;
|
|
14200
|
+
tenantOid: bigint;
|
|
14201
|
+
status: _metorial_subspace_db.SessionStatus;
|
|
14202
|
+
isEphemeral: boolean;
|
|
14203
|
+
description: string | null;
|
|
14204
|
+
metadata: unknown | null;
|
|
14205
|
+
updatedAt: Date;
|
|
14206
|
+
solutionOid: number;
|
|
14207
|
+
environmentOid: bigint;
|
|
14208
|
+
totalProductiveClientMessageCount: number;
|
|
14209
|
+
totalProductiveServerMessageCount: number;
|
|
14210
|
+
lastMessageAt: Date | null;
|
|
14211
|
+
lastActiveAt: Date | null;
|
|
14212
|
+
connectionState: _metorial_subspace_db.SessionConnectionState;
|
|
14213
|
+
isStarted: boolean;
|
|
14214
|
+
sharedProviderName: string | null;
|
|
14215
|
+
sharedProviderDescription: string | null;
|
|
14216
|
+
lastConnectionCreatedAt: Date | null;
|
|
14217
|
+
};
|
|
14218
|
+
providerRun: {
|
|
14219
|
+
oid: bigint;
|
|
14220
|
+
id: string;
|
|
14221
|
+
createdAt: Date;
|
|
14222
|
+
tenantOid: bigint;
|
|
14223
|
+
status: _metorial_subspace_db.ProviderRunStatus;
|
|
14224
|
+
isParentDeleted: boolean;
|
|
14225
|
+
updatedAt: Date;
|
|
14226
|
+
providerOid: bigint;
|
|
14227
|
+
solutionOid: number;
|
|
14228
|
+
environmentOid: bigint;
|
|
14229
|
+
lastPingAt: Date | null;
|
|
14230
|
+
sessionOid: bigint;
|
|
14231
|
+
connectionOid: bigint;
|
|
14232
|
+
completedAt: Date | null;
|
|
14233
|
+
sessionProviderOid: bigint;
|
|
14234
|
+
providerVersionOid: bigint;
|
|
14235
|
+
instanceOid: bigint;
|
|
14236
|
+
} | null;
|
|
14237
|
+
group: {
|
|
14238
|
+
oid: bigint;
|
|
14239
|
+
id: string;
|
|
14240
|
+
createdAt: Date;
|
|
14241
|
+
type: _metorial_subspace_db.SessionErrorType;
|
|
14242
|
+
tenantOid: bigint;
|
|
14243
|
+
providerOid: bigint | null;
|
|
14244
|
+
environmentOid: bigint;
|
|
14245
|
+
code: string;
|
|
14246
|
+
message: string;
|
|
14247
|
+
hash: string;
|
|
14248
|
+
occurrenceCount: number;
|
|
14249
|
+
firstOccurrenceOid: bigint | null;
|
|
14250
|
+
} | null;
|
|
14251
|
+
connection: {
|
|
14252
|
+
oid: bigint;
|
|
14253
|
+
id: string;
|
|
14254
|
+
createdAt: Date;
|
|
14255
|
+
tenantOid: bigint;
|
|
14256
|
+
status: _metorial_subspace_db.SessionConnectionStatus;
|
|
14257
|
+
isParentDeleted: boolean;
|
|
14258
|
+
isEphemeral: boolean;
|
|
14259
|
+
solutionOid: number;
|
|
14260
|
+
environmentOid: bigint;
|
|
14261
|
+
expiresAt: Date;
|
|
14262
|
+
token: string;
|
|
14263
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
14264
|
+
state: _metorial_subspace_db.SessionConnectionState;
|
|
14265
|
+
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
14266
|
+
isManuallyDisabled: boolean;
|
|
14267
|
+
isReplaced: boolean;
|
|
14268
|
+
totalProductiveClientMessageCount: number;
|
|
14269
|
+
totalProductiveServerMessageCount: number;
|
|
14270
|
+
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
14271
|
+
mcpTransport: _metorial_subspace_db.SessionConnectionMcpConnectionTransport;
|
|
14272
|
+
mcpProtocolVersion: string | null;
|
|
14273
|
+
lastPingAt: Date | null;
|
|
14274
|
+
lastMessageAt: Date | null;
|
|
14275
|
+
lastActiveAt: Date | null;
|
|
14276
|
+
disconnectedAt: Date | null;
|
|
14277
|
+
sessionOid: bigint;
|
|
14278
|
+
participantOid: bigint | null;
|
|
14279
|
+
} | null;
|
|
14280
|
+
} & {
|
|
14281
|
+
oid: bigint;
|
|
14282
|
+
id: string;
|
|
14283
|
+
createdAt: Date;
|
|
14284
|
+
type: _metorial_subspace_db.SessionErrorType;
|
|
14285
|
+
tenantOid: bigint;
|
|
14286
|
+
isParentDeleted: boolean;
|
|
14287
|
+
solutionOid: number;
|
|
14288
|
+
environmentOid: bigint;
|
|
14289
|
+
sessionOid: bigint;
|
|
14290
|
+
code: string;
|
|
14291
|
+
message: string;
|
|
14292
|
+
isProcessing: boolean;
|
|
14293
|
+
payload: unknown | null;
|
|
14294
|
+
groupOid: bigint | null;
|
|
14295
|
+
connectionOid: bigint | null;
|
|
14296
|
+
providerRunOid: bigint | null;
|
|
14297
|
+
}) | null;
|
|
14298
|
+
session: {
|
|
14299
|
+
oid: bigint;
|
|
14300
|
+
id: string;
|
|
14301
|
+
name: string | null;
|
|
14302
|
+
createdAt: Date;
|
|
14303
|
+
tenantOid: bigint;
|
|
14304
|
+
status: _metorial_subspace_db.SessionStatus;
|
|
14305
|
+
isEphemeral: boolean;
|
|
14306
|
+
description: string | null;
|
|
14307
|
+
metadata: unknown | null;
|
|
14308
|
+
updatedAt: Date;
|
|
14309
|
+
solutionOid: number;
|
|
14310
|
+
environmentOid: bigint;
|
|
14311
|
+
totalProductiveClientMessageCount: number;
|
|
14312
|
+
totalProductiveServerMessageCount: number;
|
|
14313
|
+
lastMessageAt: Date | null;
|
|
14314
|
+
lastActiveAt: Date | null;
|
|
14315
|
+
connectionState: _metorial_subspace_db.SessionConnectionState;
|
|
14316
|
+
isStarted: boolean;
|
|
14317
|
+
sharedProviderName: string | null;
|
|
14318
|
+
sharedProviderDescription: string | null;
|
|
14319
|
+
lastConnectionCreatedAt: Date | null;
|
|
14320
|
+
};
|
|
14321
|
+
providerRun: ({
|
|
14322
|
+
provider: {
|
|
14323
|
+
oid: bigint;
|
|
14324
|
+
id: string;
|
|
14325
|
+
identifier: string;
|
|
14326
|
+
name: string;
|
|
14327
|
+
createdAt: Date;
|
|
14328
|
+
status: _metorial_subspace_db.ProviderStatus;
|
|
14329
|
+
description: string | null;
|
|
14330
|
+
metadata: unknown | null;
|
|
14331
|
+
updatedAt: Date;
|
|
14332
|
+
slug: string;
|
|
14333
|
+
tag: string;
|
|
14334
|
+
access: _metorial_subspace_db.ProviderAccess;
|
|
14335
|
+
hasEnvironments: boolean;
|
|
14336
|
+
globalIdentifier: string | null;
|
|
14337
|
+
entryOid: bigint;
|
|
14338
|
+
publisherOid: bigint;
|
|
14339
|
+
ownerTenantOid: bigint | null;
|
|
14340
|
+
ownerSolutionOid: number | null;
|
|
14341
|
+
defaultVariantOid: bigint | null;
|
|
14342
|
+
typeOid: number;
|
|
14343
|
+
};
|
|
14344
|
+
session: {
|
|
14345
|
+
oid: bigint;
|
|
14346
|
+
id: string;
|
|
14347
|
+
name: string | null;
|
|
14348
|
+
createdAt: Date;
|
|
14349
|
+
tenantOid: bigint;
|
|
14350
|
+
status: _metorial_subspace_db.SessionStatus;
|
|
14351
|
+
isEphemeral: boolean;
|
|
14352
|
+
description: string | null;
|
|
14353
|
+
metadata: unknown | null;
|
|
14354
|
+
updatedAt: Date;
|
|
14355
|
+
solutionOid: number;
|
|
14356
|
+
environmentOid: bigint;
|
|
14357
|
+
totalProductiveClientMessageCount: number;
|
|
14358
|
+
totalProductiveServerMessageCount: number;
|
|
14359
|
+
lastMessageAt: Date | null;
|
|
14360
|
+
lastActiveAt: Date | null;
|
|
14361
|
+
connectionState: _metorial_subspace_db.SessionConnectionState;
|
|
14362
|
+
isStarted: boolean;
|
|
14363
|
+
sharedProviderName: string | null;
|
|
14364
|
+
sharedProviderDescription: string | null;
|
|
14365
|
+
lastConnectionCreatedAt: Date | null;
|
|
14366
|
+
};
|
|
14367
|
+
sessionProvider: {
|
|
14368
|
+
oid: bigint;
|
|
14369
|
+
id: string;
|
|
14370
|
+
createdAt: Date;
|
|
14371
|
+
tenantOid: bigint;
|
|
14372
|
+
status: _metorial_subspace_db.SessionProviderStatus;
|
|
14373
|
+
isParentDeleted: boolean;
|
|
14374
|
+
isEphemeral: boolean;
|
|
14375
|
+
updatedAt: Date;
|
|
14376
|
+
providerOid: bigint;
|
|
14377
|
+
solutionOid: number;
|
|
14378
|
+
deploymentOid: bigint;
|
|
14379
|
+
environmentOid: bigint;
|
|
14380
|
+
authConfigOid: bigint | null;
|
|
14381
|
+
configOid: bigint;
|
|
14382
|
+
totalProductiveClientMessageCount: number;
|
|
14383
|
+
totalProductiveServerMessageCount: number;
|
|
14384
|
+
lastMessageAt: Date | null;
|
|
14385
|
+
sessionOid: bigint;
|
|
14386
|
+
tag: string;
|
|
14387
|
+
toolFilter: PrismaJson.ToolFilter;
|
|
14388
|
+
fromTemplateOid: bigint | null;
|
|
14389
|
+
fromTemplateProviderOid: bigint | null;
|
|
14390
|
+
};
|
|
14391
|
+
connection: {
|
|
14392
|
+
oid: bigint;
|
|
14393
|
+
id: string;
|
|
14394
|
+
createdAt: Date;
|
|
14395
|
+
tenantOid: bigint;
|
|
14396
|
+
status: _metorial_subspace_db.SessionConnectionStatus;
|
|
14397
|
+
isParentDeleted: boolean;
|
|
14398
|
+
isEphemeral: boolean;
|
|
14399
|
+
solutionOid: number;
|
|
14400
|
+
environmentOid: bigint;
|
|
14401
|
+
expiresAt: Date;
|
|
14402
|
+
token: string;
|
|
14403
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
14404
|
+
state: _metorial_subspace_db.SessionConnectionState;
|
|
14405
|
+
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
14406
|
+
isManuallyDisabled: boolean;
|
|
14407
|
+
isReplaced: boolean;
|
|
14408
|
+
totalProductiveClientMessageCount: number;
|
|
14409
|
+
totalProductiveServerMessageCount: number;
|
|
14410
|
+
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
14411
|
+
mcpTransport: _metorial_subspace_db.SessionConnectionMcpConnectionTransport;
|
|
14412
|
+
mcpProtocolVersion: string | null;
|
|
14413
|
+
lastPingAt: Date | null;
|
|
14414
|
+
lastMessageAt: Date | null;
|
|
14415
|
+
lastActiveAt: Date | null;
|
|
14416
|
+
disconnectedAt: Date | null;
|
|
14417
|
+
sessionOid: bigint;
|
|
14418
|
+
participantOid: bigint | null;
|
|
14419
|
+
};
|
|
14420
|
+
} & {
|
|
14421
|
+
oid: bigint;
|
|
14422
|
+
id: string;
|
|
14423
|
+
createdAt: Date;
|
|
14424
|
+
tenantOid: bigint;
|
|
14425
|
+
status: _metorial_subspace_db.ProviderRunStatus;
|
|
14426
|
+
isParentDeleted: boolean;
|
|
14427
|
+
updatedAt: Date;
|
|
14428
|
+
providerOid: bigint;
|
|
14429
|
+
solutionOid: number;
|
|
14430
|
+
environmentOid: bigint;
|
|
14431
|
+
lastPingAt: Date | null;
|
|
14432
|
+
sessionOid: bigint;
|
|
14433
|
+
connectionOid: bigint;
|
|
14434
|
+
completedAt: Date | null;
|
|
14435
|
+
sessionProviderOid: bigint;
|
|
14436
|
+
providerVersionOid: bigint;
|
|
14437
|
+
instanceOid: bigint;
|
|
14438
|
+
}) | null;
|
|
14439
|
+
message: ({
|
|
14440
|
+
error: ({
|
|
14441
|
+
session: {
|
|
14442
|
+
oid: bigint;
|
|
14443
|
+
id: string;
|
|
14444
|
+
name: string | null;
|
|
14445
|
+
createdAt: Date;
|
|
14446
|
+
tenantOid: bigint;
|
|
14447
|
+
status: _metorial_subspace_db.SessionStatus;
|
|
14448
|
+
isEphemeral: boolean;
|
|
14449
|
+
description: string | null;
|
|
14450
|
+
metadata: unknown | null;
|
|
14451
|
+
updatedAt: Date;
|
|
14452
|
+
solutionOid: number;
|
|
14453
|
+
environmentOid: bigint;
|
|
14454
|
+
totalProductiveClientMessageCount: number;
|
|
14455
|
+
totalProductiveServerMessageCount: number;
|
|
14456
|
+
lastMessageAt: Date | null;
|
|
14457
|
+
lastActiveAt: Date | null;
|
|
14458
|
+
connectionState: _metorial_subspace_db.SessionConnectionState;
|
|
14459
|
+
isStarted: boolean;
|
|
14460
|
+
sharedProviderName: string | null;
|
|
14461
|
+
sharedProviderDescription: string | null;
|
|
14462
|
+
lastConnectionCreatedAt: Date | null;
|
|
14463
|
+
};
|
|
14464
|
+
providerRun: {
|
|
14465
|
+
oid: bigint;
|
|
14466
|
+
id: string;
|
|
14467
|
+
createdAt: Date;
|
|
14468
|
+
tenantOid: bigint;
|
|
14469
|
+
status: _metorial_subspace_db.ProviderRunStatus;
|
|
14470
|
+
isParentDeleted: boolean;
|
|
14471
|
+
updatedAt: Date;
|
|
14472
|
+
providerOid: bigint;
|
|
14473
|
+
solutionOid: number;
|
|
14474
|
+
environmentOid: bigint;
|
|
14475
|
+
lastPingAt: Date | null;
|
|
14476
|
+
sessionOid: bigint;
|
|
14477
|
+
connectionOid: bigint;
|
|
14478
|
+
completedAt: Date | null;
|
|
14479
|
+
sessionProviderOid: bigint;
|
|
14480
|
+
providerVersionOid: bigint;
|
|
14481
|
+
instanceOid: bigint;
|
|
14482
|
+
} | null;
|
|
14483
|
+
group: {
|
|
14484
|
+
oid: bigint;
|
|
14485
|
+
id: string;
|
|
14486
|
+
createdAt: Date;
|
|
14487
|
+
type: _metorial_subspace_db.SessionErrorType;
|
|
14488
|
+
tenantOid: bigint;
|
|
14489
|
+
providerOid: bigint | null;
|
|
14490
|
+
environmentOid: bigint;
|
|
14491
|
+
code: string;
|
|
14492
|
+
message: string;
|
|
14493
|
+
hash: string;
|
|
14494
|
+
occurrenceCount: number;
|
|
14495
|
+
firstOccurrenceOid: bigint | null;
|
|
14496
|
+
} | null;
|
|
14497
|
+
connection: {
|
|
14498
|
+
oid: bigint;
|
|
14499
|
+
id: string;
|
|
14500
|
+
createdAt: Date;
|
|
14501
|
+
tenantOid: bigint;
|
|
14502
|
+
status: _metorial_subspace_db.SessionConnectionStatus;
|
|
14503
|
+
isParentDeleted: boolean;
|
|
14504
|
+
isEphemeral: boolean;
|
|
14505
|
+
solutionOid: number;
|
|
14506
|
+
environmentOid: bigint;
|
|
14507
|
+
expiresAt: Date;
|
|
14508
|
+
token: string;
|
|
14509
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
14510
|
+
state: _metorial_subspace_db.SessionConnectionState;
|
|
14511
|
+
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
14512
|
+
isManuallyDisabled: boolean;
|
|
14513
|
+
isReplaced: boolean;
|
|
14514
|
+
totalProductiveClientMessageCount: number;
|
|
14515
|
+
totalProductiveServerMessageCount: number;
|
|
14516
|
+
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
14517
|
+
mcpTransport: _metorial_subspace_db.SessionConnectionMcpConnectionTransport;
|
|
14518
|
+
mcpProtocolVersion: string | null;
|
|
14519
|
+
lastPingAt: Date | null;
|
|
14520
|
+
lastMessageAt: Date | null;
|
|
14521
|
+
lastActiveAt: Date | null;
|
|
14522
|
+
disconnectedAt: Date | null;
|
|
14523
|
+
sessionOid: bigint;
|
|
14524
|
+
participantOid: bigint | null;
|
|
14525
|
+
} | null;
|
|
14526
|
+
} & {
|
|
14527
|
+
oid: bigint;
|
|
14528
|
+
id: string;
|
|
14529
|
+
createdAt: Date;
|
|
14530
|
+
type: _metorial_subspace_db.SessionErrorType;
|
|
14531
|
+
tenantOid: bigint;
|
|
14532
|
+
isParentDeleted: boolean;
|
|
14533
|
+
solutionOid: number;
|
|
14534
|
+
environmentOid: bigint;
|
|
14535
|
+
sessionOid: bigint;
|
|
14536
|
+
code: string;
|
|
14537
|
+
message: string;
|
|
14538
|
+
isProcessing: boolean;
|
|
14539
|
+
payload: unknown | null;
|
|
14540
|
+
groupOid: bigint | null;
|
|
14541
|
+
connectionOid: bigint | null;
|
|
14542
|
+
providerRunOid: bigint | null;
|
|
14543
|
+
}) | null;
|
|
14544
|
+
session: {
|
|
14545
|
+
oid: bigint;
|
|
14546
|
+
id: string;
|
|
14547
|
+
name: string | null;
|
|
14548
|
+
createdAt: Date;
|
|
14549
|
+
tenantOid: bigint;
|
|
14550
|
+
status: _metorial_subspace_db.SessionStatus;
|
|
14551
|
+
isEphemeral: boolean;
|
|
14552
|
+
description: string | null;
|
|
14553
|
+
metadata: unknown | null;
|
|
14554
|
+
updatedAt: Date;
|
|
14555
|
+
solutionOid: number;
|
|
14556
|
+
environmentOid: bigint;
|
|
14557
|
+
totalProductiveClientMessageCount: number;
|
|
14558
|
+
totalProductiveServerMessageCount: number;
|
|
14559
|
+
lastMessageAt: Date | null;
|
|
14560
|
+
lastActiveAt: Date | null;
|
|
14561
|
+
connectionState: _metorial_subspace_db.SessionConnectionState;
|
|
14562
|
+
isStarted: boolean;
|
|
14563
|
+
sharedProviderName: string | null;
|
|
14564
|
+
sharedProviderDescription: string | null;
|
|
14565
|
+
lastConnectionCreatedAt: Date | null;
|
|
14566
|
+
};
|
|
14567
|
+
sessionProvider: {
|
|
14568
|
+
oid: bigint;
|
|
14569
|
+
id: string;
|
|
14570
|
+
createdAt: Date;
|
|
14571
|
+
tenantOid: bigint;
|
|
14572
|
+
status: _metorial_subspace_db.SessionProviderStatus;
|
|
14573
|
+
isParentDeleted: boolean;
|
|
14574
|
+
isEphemeral: boolean;
|
|
14575
|
+
updatedAt: Date;
|
|
14576
|
+
providerOid: bigint;
|
|
14577
|
+
solutionOid: number;
|
|
14578
|
+
deploymentOid: bigint;
|
|
14579
|
+
environmentOid: bigint;
|
|
14580
|
+
authConfigOid: bigint | null;
|
|
14581
|
+
configOid: bigint;
|
|
14582
|
+
totalProductiveClientMessageCount: number;
|
|
14583
|
+
totalProductiveServerMessageCount: number;
|
|
14584
|
+
lastMessageAt: Date | null;
|
|
14585
|
+
sessionOid: bigint;
|
|
14586
|
+
tag: string;
|
|
14587
|
+
toolFilter: PrismaJson.ToolFilter;
|
|
14588
|
+
fromTemplateOid: bigint | null;
|
|
14589
|
+
fromTemplateProviderOid: bigint | null;
|
|
14590
|
+
} | null;
|
|
14591
|
+
providerRun: {
|
|
14592
|
+
oid: bigint;
|
|
14593
|
+
id: string;
|
|
14594
|
+
createdAt: Date;
|
|
14595
|
+
tenantOid: bigint;
|
|
14596
|
+
status: _metorial_subspace_db.ProviderRunStatus;
|
|
14597
|
+
isParentDeleted: boolean;
|
|
14598
|
+
updatedAt: Date;
|
|
14599
|
+
providerOid: bigint;
|
|
14600
|
+
solutionOid: number;
|
|
14601
|
+
environmentOid: bigint;
|
|
14602
|
+
lastPingAt: Date | null;
|
|
14603
|
+
sessionOid: bigint;
|
|
14604
|
+
connectionOid: bigint;
|
|
14605
|
+
completedAt: Date | null;
|
|
14606
|
+
sessionProviderOid: bigint;
|
|
14607
|
+
providerVersionOid: bigint;
|
|
14608
|
+
instanceOid: bigint;
|
|
14609
|
+
} | null;
|
|
14610
|
+
toolCall: ({
|
|
14611
|
+
tool: {
|
|
14612
|
+
provider: {
|
|
14613
|
+
oid: bigint;
|
|
14614
|
+
id: string;
|
|
14615
|
+
identifier: string;
|
|
14616
|
+
name: string;
|
|
14617
|
+
createdAt: Date;
|
|
14618
|
+
status: _metorial_subspace_db.ProviderStatus;
|
|
14619
|
+
description: string | null;
|
|
14620
|
+
metadata: unknown | null;
|
|
14621
|
+
updatedAt: Date;
|
|
14622
|
+
slug: string;
|
|
14623
|
+
tag: string;
|
|
14624
|
+
access: _metorial_subspace_db.ProviderAccess;
|
|
14625
|
+
hasEnvironments: boolean;
|
|
14626
|
+
globalIdentifier: string | null;
|
|
14627
|
+
entryOid: bigint;
|
|
14628
|
+
publisherOid: bigint;
|
|
14629
|
+
ownerTenantOid: bigint | null;
|
|
14630
|
+
ownerSolutionOid: number | null;
|
|
14631
|
+
defaultVariantOid: bigint | null;
|
|
14632
|
+
typeOid: number;
|
|
14633
|
+
};
|
|
14634
|
+
specification: {
|
|
14635
|
+
value: PrismaJson.ProviderSpecificationValue;
|
|
14636
|
+
oid: bigint;
|
|
14637
|
+
id: string;
|
|
14638
|
+
name: string;
|
|
14639
|
+
createdAt: Date;
|
|
14640
|
+
type: _metorial_subspace_db.ProviderSpecificationType;
|
|
14641
|
+
key: string;
|
|
14642
|
+
description: string | null;
|
|
14643
|
+
updatedAt: Date;
|
|
14644
|
+
providerOid: bigint;
|
|
14645
|
+
hash: string;
|
|
14646
|
+
specId: string;
|
|
14647
|
+
specUniqueIdentifier: string;
|
|
14648
|
+
supportsAuthMethod: boolean;
|
|
14649
|
+
configContainsAuth: boolean;
|
|
14650
|
+
};
|
|
14651
|
+
} & {
|
|
14652
|
+
value: PrismaJson.ProviderToolValue;
|
|
14653
|
+
oid: bigint;
|
|
14654
|
+
id: string;
|
|
14655
|
+
name: string;
|
|
14656
|
+
createdAt: Date;
|
|
14657
|
+
key: string;
|
|
14658
|
+
description: string | null;
|
|
14659
|
+
updatedAt: Date;
|
|
14660
|
+
providerOid: bigint;
|
|
14661
|
+
specificationOid: bigint;
|
|
14662
|
+
hash: string;
|
|
14663
|
+
specId: string;
|
|
14664
|
+
specUniqueIdentifier: string;
|
|
14665
|
+
callableId: string;
|
|
14666
|
+
globalOid: bigint;
|
|
14667
|
+
};
|
|
14668
|
+
} & {
|
|
14669
|
+
oid: bigint;
|
|
14670
|
+
id: string;
|
|
14671
|
+
createdAt: Date;
|
|
14672
|
+
tenantOid: bigint;
|
|
14673
|
+
solutionOid: number;
|
|
14674
|
+
environmentOid: bigint;
|
|
14675
|
+
sessionOid: bigint;
|
|
14676
|
+
providerRunOid: bigint | null;
|
|
14677
|
+
sessionProviderOid: bigint | null;
|
|
14678
|
+
toolKey: string;
|
|
14679
|
+
messageId: string;
|
|
14680
|
+
toolOid: bigint;
|
|
14681
|
+
}) | null;
|
|
14682
|
+
connection: {
|
|
14683
|
+
oid: bigint;
|
|
14684
|
+
id: string;
|
|
14685
|
+
createdAt: Date;
|
|
14686
|
+
tenantOid: bigint;
|
|
14687
|
+
status: _metorial_subspace_db.SessionConnectionStatus;
|
|
14688
|
+
isParentDeleted: boolean;
|
|
14689
|
+
isEphemeral: boolean;
|
|
14690
|
+
solutionOid: number;
|
|
14691
|
+
environmentOid: bigint;
|
|
14692
|
+
expiresAt: Date;
|
|
14693
|
+
token: string;
|
|
14694
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
14695
|
+
state: _metorial_subspace_db.SessionConnectionState;
|
|
14696
|
+
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
14697
|
+
isManuallyDisabled: boolean;
|
|
14698
|
+
isReplaced: boolean;
|
|
14699
|
+
totalProductiveClientMessageCount: number;
|
|
14700
|
+
totalProductiveServerMessageCount: number;
|
|
14701
|
+
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
14702
|
+
mcpTransport: _metorial_subspace_db.SessionConnectionMcpConnectionTransport;
|
|
14703
|
+
mcpProtocolVersion: string | null;
|
|
14704
|
+
lastPingAt: Date | null;
|
|
14705
|
+
lastMessageAt: Date | null;
|
|
14706
|
+
lastActiveAt: Date | null;
|
|
14707
|
+
disconnectedAt: Date | null;
|
|
14708
|
+
sessionOid: bigint;
|
|
14709
|
+
participantOid: bigint | null;
|
|
14710
|
+
} | null;
|
|
14711
|
+
parentMessage: {
|
|
14712
|
+
oid: bigint;
|
|
14713
|
+
id: string;
|
|
14714
|
+
createdAt: Date;
|
|
14715
|
+
type: _metorial_subspace_db.SessionMessageType;
|
|
14716
|
+
tenantOid: bigint;
|
|
14717
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
14718
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
14719
|
+
isParentDeleted: boolean;
|
|
14720
|
+
solutionOid: number;
|
|
14721
|
+
environmentOid: bigint;
|
|
14722
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
14723
|
+
sessionOid: bigint;
|
|
14724
|
+
connectionOid: bigint | null;
|
|
14725
|
+
providerRunOid: bigint | null;
|
|
14726
|
+
errorOid: bigint | null;
|
|
14727
|
+
failureReason: _metorial_subspace_db.SessionMessageFailureReason;
|
|
14728
|
+
methodOrToolKey: string | null;
|
|
14729
|
+
clientMcpId: PrismaJson.SessionMessageClientMcpId;
|
|
14730
|
+
providerMcpId: string | null;
|
|
14731
|
+
input: PrismaJson.SessionMessageInput | null;
|
|
14732
|
+
output: PrismaJson.SessionMessageOutput | null;
|
|
14733
|
+
isProductive: boolean;
|
|
14734
|
+
isOffloadedToStorage: boolean;
|
|
14735
|
+
completedAt: Date | null;
|
|
14736
|
+
parentMessageOid: bigint | null;
|
|
14737
|
+
bucketOid: number;
|
|
14738
|
+
senderParticipantOid: bigint;
|
|
14739
|
+
responderParticipantOid: bigint | null;
|
|
14740
|
+
sessionProviderOid: bigint | null;
|
|
14741
|
+
slateToolCallOid: bigint | null;
|
|
14742
|
+
providerToolOid: bigint | null;
|
|
14743
|
+
} | null;
|
|
14744
|
+
childMessages: {
|
|
14745
|
+
oid: bigint;
|
|
14746
|
+
id: string;
|
|
14747
|
+
createdAt: Date;
|
|
14748
|
+
type: _metorial_subspace_db.SessionMessageType;
|
|
14749
|
+
tenantOid: bigint;
|
|
14750
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
14751
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
14752
|
+
isParentDeleted: boolean;
|
|
14753
|
+
solutionOid: number;
|
|
14754
|
+
environmentOid: bigint;
|
|
14755
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
14756
|
+
sessionOid: bigint;
|
|
14757
|
+
connectionOid: bigint | null;
|
|
14758
|
+
providerRunOid: bigint | null;
|
|
14759
|
+
errorOid: bigint | null;
|
|
14760
|
+
failureReason: _metorial_subspace_db.SessionMessageFailureReason;
|
|
14761
|
+
methodOrToolKey: string | null;
|
|
14762
|
+
clientMcpId: PrismaJson.SessionMessageClientMcpId;
|
|
14763
|
+
providerMcpId: string | null;
|
|
14764
|
+
input: PrismaJson.SessionMessageInput | null;
|
|
14765
|
+
output: PrismaJson.SessionMessageOutput | null;
|
|
14766
|
+
isProductive: boolean;
|
|
14767
|
+
isOffloadedToStorage: boolean;
|
|
14768
|
+
completedAt: Date | null;
|
|
14769
|
+
parentMessageOid: bigint | null;
|
|
14770
|
+
bucketOid: number;
|
|
14771
|
+
senderParticipantOid: bigint;
|
|
14772
|
+
responderParticipantOid: bigint | null;
|
|
14773
|
+
sessionProviderOid: bigint | null;
|
|
14774
|
+
slateToolCallOid: bigint | null;
|
|
14775
|
+
providerToolOid: bigint | null;
|
|
14776
|
+
}[];
|
|
14777
|
+
senderParticipant: {
|
|
14778
|
+
provider: {
|
|
14779
|
+
oid: bigint;
|
|
14780
|
+
id: string;
|
|
14781
|
+
identifier: string;
|
|
14782
|
+
name: string;
|
|
14783
|
+
createdAt: Date;
|
|
14784
|
+
status: _metorial_subspace_db.ProviderStatus;
|
|
14785
|
+
description: string | null;
|
|
14786
|
+
metadata: unknown | null;
|
|
14787
|
+
updatedAt: Date;
|
|
14788
|
+
slug: string;
|
|
14789
|
+
tag: string;
|
|
14790
|
+
access: _metorial_subspace_db.ProviderAccess;
|
|
14791
|
+
hasEnvironments: boolean;
|
|
14792
|
+
globalIdentifier: string | null;
|
|
14793
|
+
entryOid: bigint;
|
|
14794
|
+
publisherOid: bigint;
|
|
14795
|
+
ownerTenantOid: bigint | null;
|
|
14796
|
+
ownerSolutionOid: number | null;
|
|
14797
|
+
defaultVariantOid: bigint | null;
|
|
14798
|
+
typeOid: number;
|
|
14799
|
+
} | null;
|
|
14800
|
+
} & {
|
|
14801
|
+
oid: bigint;
|
|
14802
|
+
id: string;
|
|
14803
|
+
identifier: string;
|
|
14804
|
+
name: string;
|
|
14805
|
+
createdAt: Date;
|
|
14806
|
+
type: _metorial_subspace_db.SessionParticipantType;
|
|
14807
|
+
tenantOid: bigint;
|
|
14808
|
+
providerOid: bigint | null;
|
|
14809
|
+
environmentOid: bigint;
|
|
14810
|
+
hash: string;
|
|
14811
|
+
payload: PrismaJson.SessionParticipantPayload;
|
|
14812
|
+
};
|
|
14813
|
+
responderParticipant: ({
|
|
14814
|
+
provider: {
|
|
14815
|
+
oid: bigint;
|
|
14816
|
+
id: string;
|
|
14817
|
+
identifier: string;
|
|
14818
|
+
name: string;
|
|
14819
|
+
createdAt: Date;
|
|
14820
|
+
status: _metorial_subspace_db.ProviderStatus;
|
|
14821
|
+
description: string | null;
|
|
14822
|
+
metadata: unknown | null;
|
|
14823
|
+
updatedAt: Date;
|
|
14824
|
+
slug: string;
|
|
14825
|
+
tag: string;
|
|
14826
|
+
access: _metorial_subspace_db.ProviderAccess;
|
|
14827
|
+
hasEnvironments: boolean;
|
|
14828
|
+
globalIdentifier: string | null;
|
|
14829
|
+
entryOid: bigint;
|
|
14830
|
+
publisherOid: bigint;
|
|
14831
|
+
ownerTenantOid: bigint | null;
|
|
14832
|
+
ownerSolutionOid: number | null;
|
|
14833
|
+
defaultVariantOid: bigint | null;
|
|
14834
|
+
typeOid: number;
|
|
14835
|
+
} | null;
|
|
14836
|
+
} & {
|
|
14837
|
+
oid: bigint;
|
|
14838
|
+
id: string;
|
|
14839
|
+
identifier: string;
|
|
14840
|
+
name: string;
|
|
14841
|
+
createdAt: Date;
|
|
14842
|
+
type: _metorial_subspace_db.SessionParticipantType;
|
|
14843
|
+
tenantOid: bigint;
|
|
14844
|
+
providerOid: bigint | null;
|
|
14845
|
+
environmentOid: bigint;
|
|
14846
|
+
hash: string;
|
|
14847
|
+
payload: PrismaJson.SessionParticipantPayload;
|
|
14848
|
+
}) | null;
|
|
14849
|
+
} & {
|
|
14850
|
+
oid: bigint;
|
|
14851
|
+
id: string;
|
|
14852
|
+
createdAt: Date;
|
|
14853
|
+
type: _metorial_subspace_db.SessionMessageType;
|
|
14854
|
+
tenantOid: bigint;
|
|
14855
|
+
source: _metorial_subspace_db.SessionMessageSource;
|
|
14856
|
+
status: _metorial_subspace_db.SessionMessageStatus;
|
|
14857
|
+
isParentDeleted: boolean;
|
|
14858
|
+
solutionOid: number;
|
|
14859
|
+
environmentOid: bigint;
|
|
14860
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
14861
|
+
sessionOid: bigint;
|
|
14862
|
+
connectionOid: bigint | null;
|
|
14863
|
+
providerRunOid: bigint | null;
|
|
14864
|
+
errorOid: bigint | null;
|
|
14865
|
+
failureReason: _metorial_subspace_db.SessionMessageFailureReason;
|
|
14866
|
+
methodOrToolKey: string | null;
|
|
14867
|
+
clientMcpId: PrismaJson.SessionMessageClientMcpId;
|
|
14868
|
+
providerMcpId: string | null;
|
|
14869
|
+
input: PrismaJson.SessionMessageInput | null;
|
|
14870
|
+
output: PrismaJson.SessionMessageOutput | null;
|
|
14871
|
+
isProductive: boolean;
|
|
14872
|
+
isOffloadedToStorage: boolean;
|
|
14873
|
+
completedAt: Date | null;
|
|
14874
|
+
parentMessageOid: bigint | null;
|
|
14875
|
+
bucketOid: number;
|
|
14876
|
+
senderParticipantOid: bigint;
|
|
14877
|
+
responderParticipantOid: bigint | null;
|
|
14878
|
+
sessionProviderOid: bigint | null;
|
|
14879
|
+
slateToolCallOid: bigint | null;
|
|
14880
|
+
providerToolOid: bigint | null;
|
|
14881
|
+
}) | null;
|
|
14882
|
+
connection: ({
|
|
14883
|
+
session: {
|
|
14884
|
+
oid: bigint;
|
|
14885
|
+
id: string;
|
|
14886
|
+
name: string | null;
|
|
14887
|
+
createdAt: Date;
|
|
14888
|
+
tenantOid: bigint;
|
|
14889
|
+
status: _metorial_subspace_db.SessionStatus;
|
|
14890
|
+
isEphemeral: boolean;
|
|
14891
|
+
description: string | null;
|
|
14892
|
+
metadata: unknown | null;
|
|
14893
|
+
updatedAt: Date;
|
|
14894
|
+
solutionOid: number;
|
|
14895
|
+
environmentOid: bigint;
|
|
14896
|
+
totalProductiveClientMessageCount: number;
|
|
14897
|
+
totalProductiveServerMessageCount: number;
|
|
14898
|
+
lastMessageAt: Date | null;
|
|
14899
|
+
lastActiveAt: Date | null;
|
|
14900
|
+
connectionState: _metorial_subspace_db.SessionConnectionState;
|
|
14901
|
+
isStarted: boolean;
|
|
14902
|
+
sharedProviderName: string | null;
|
|
14903
|
+
sharedProviderDescription: string | null;
|
|
14904
|
+
lastConnectionCreatedAt: Date | null;
|
|
14905
|
+
};
|
|
14906
|
+
participant: ({
|
|
14907
|
+
provider: {
|
|
14908
|
+
oid: bigint;
|
|
14909
|
+
id: string;
|
|
14910
|
+
identifier: string;
|
|
14911
|
+
name: string;
|
|
14912
|
+
createdAt: Date;
|
|
14913
|
+
status: _metorial_subspace_db.ProviderStatus;
|
|
14914
|
+
description: string | null;
|
|
14915
|
+
metadata: unknown | null;
|
|
14916
|
+
updatedAt: Date;
|
|
14917
|
+
slug: string;
|
|
14918
|
+
tag: string;
|
|
14919
|
+
access: _metorial_subspace_db.ProviderAccess;
|
|
14920
|
+
hasEnvironments: boolean;
|
|
14921
|
+
globalIdentifier: string | null;
|
|
14922
|
+
entryOid: bigint;
|
|
14923
|
+
publisherOid: bigint;
|
|
14924
|
+
ownerTenantOid: bigint | null;
|
|
14925
|
+
ownerSolutionOid: number | null;
|
|
14926
|
+
defaultVariantOid: bigint | null;
|
|
14927
|
+
typeOid: number;
|
|
14928
|
+
} | null;
|
|
14929
|
+
} & {
|
|
14930
|
+
oid: bigint;
|
|
14931
|
+
id: string;
|
|
14932
|
+
identifier: string;
|
|
14933
|
+
name: string;
|
|
14934
|
+
createdAt: Date;
|
|
14935
|
+
type: _metorial_subspace_db.SessionParticipantType;
|
|
14936
|
+
tenantOid: bigint;
|
|
14937
|
+
providerOid: bigint | null;
|
|
14938
|
+
environmentOid: bigint;
|
|
14939
|
+
hash: string;
|
|
14940
|
+
payload: PrismaJson.SessionParticipantPayload;
|
|
14941
|
+
}) | null;
|
|
14942
|
+
} & {
|
|
14943
|
+
oid: bigint;
|
|
14944
|
+
id: string;
|
|
14945
|
+
createdAt: Date;
|
|
14946
|
+
tenantOid: bigint;
|
|
14947
|
+
status: _metorial_subspace_db.SessionConnectionStatus;
|
|
14948
|
+
isParentDeleted: boolean;
|
|
14949
|
+
isEphemeral: boolean;
|
|
14950
|
+
solutionOid: number;
|
|
14951
|
+
environmentOid: bigint;
|
|
14952
|
+
expiresAt: Date;
|
|
14953
|
+
token: string;
|
|
14954
|
+
transport: _metorial_subspace_db.SessionConnectionTransport;
|
|
14955
|
+
state: _metorial_subspace_db.SessionConnectionState;
|
|
14956
|
+
initState: _metorial_subspace_db.SessionConnectionInitState;
|
|
14957
|
+
isManuallyDisabled: boolean;
|
|
14958
|
+
isReplaced: boolean;
|
|
14959
|
+
totalProductiveClientMessageCount: number;
|
|
14960
|
+
totalProductiveServerMessageCount: number;
|
|
14961
|
+
mcpData: PrismaJson.SessionConnectionMcpData;
|
|
14962
|
+
mcpTransport: _metorial_subspace_db.SessionConnectionMcpConnectionTransport;
|
|
14963
|
+
mcpProtocolVersion: string | null;
|
|
14964
|
+
lastPingAt: Date | null;
|
|
14965
|
+
lastMessageAt: Date | null;
|
|
14966
|
+
lastActiveAt: Date | null;
|
|
14967
|
+
disconnectedAt: Date | null;
|
|
14968
|
+
sessionOid: bigint;
|
|
14969
|
+
participantOid: bigint | null;
|
|
14970
|
+
}) | null;
|
|
14971
|
+
} & {
|
|
14972
|
+
oid: bigint;
|
|
14973
|
+
id: string;
|
|
14974
|
+
createdAt: Date;
|
|
14975
|
+
type: _metorial_subspace_db.SessionEventType;
|
|
14976
|
+
tenantOid: bigint;
|
|
14977
|
+
isParentDeleted: boolean;
|
|
14978
|
+
solutionOid: number;
|
|
14979
|
+
environmentOid: bigint;
|
|
14980
|
+
sessionOid: bigint;
|
|
14981
|
+
connectionOid: bigint | null;
|
|
14982
|
+
providerRunOid: bigint | null;
|
|
14983
|
+
messageOid: bigint | null;
|
|
14984
|
+
errorOid: bigint | null;
|
|
14985
|
+
};
|
|
14986
|
+
}>;
|
|
14987
|
+
};
|
|
13512
14988
|
sessionMessage: {
|
|
13513
14989
|
list: _lowerdeck_rpc_server.Handler<Partial<Pick<{
|
|
13514
14990
|
tenantId: string;
|
|
13515
14991
|
environmentId: string;
|
|
13516
14992
|
types: ("unknown" | "tool_call" | "mcp_control" | "mcp_message")[] | undefined;
|
|
13517
14993
|
source: ("provider" | "client")[] | undefined;
|
|
13518
|
-
hierarchy: ("
|
|
14994
|
+
hierarchy: ("child" | "parent")[] | undefined;
|
|
13519
14995
|
allowDeleted: boolean | undefined;
|
|
13520
14996
|
ids: string[] | undefined;
|
|
13521
14997
|
sessionIds: string[] | undefined;
|