@silvana-one/agent 1.0.37 → 1.0.39
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/node/grpc.d.ts +39 -2
- package/dist/node/grpc.js +115 -1
- package/dist/node/grpc.js.map +1 -1
- package/dist/node/index.cjs +145 -31
- package/dist/node/proto/silvana/coordinator/v1/coordinator_pb.d.ts +201 -1
- package/dist/node/proto/silvana/coordinator/v1/coordinator_pb.js +153 -61
- package/dist/node/proto/silvana/coordinator/v1/coordinator_pb.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/tsconfig.web.tsbuildinfo +1 -1
- package/dist/web/grpc.d.ts +39 -2
- package/dist/web/grpc.js +115 -1
- package/dist/web/grpc.js.map +1 -1
- package/dist/web/proto/silvana/coordinator/v1/coordinator_pb.d.ts +201 -1
- package/dist/web/proto/silvana/coordinator/v1/coordinator_pb.js +153 -61
- package/dist/web/proto/silvana/coordinator/v1/coordinator_pb.js.map +1 -1
- package/package.json +2 -7
- package/src/grpc.ts +150 -0
- package/src/proto/silvana/coordinator/v1/coordinator_pb.ts +303 -62
- package/dist/node/proto/proto/coordinator/v1/coordinator_pb.d.ts +0 -1990
- package/dist/node/proto/proto/coordinator/v1/coordinator_pb.js +0 -424
- package/dist/node/proto/proto/coordinator/v1/coordinator_pb.js.map +0 -1
- package/dist/web/proto/proto/coordinator/v1/coordinator_pb.d.ts +0 -1990
- package/dist/web/proto/proto/coordinator/v1/coordinator_pb.js +0 -424
- package/dist/web/proto/proto/coordinator/v1/coordinator_pb.js.map +0 -1
- package/src/proto/proto/coordinator/v1/coordinator_pb.ts +0 -2481
|
@@ -1,9 +1,75 @@
|
|
|
1
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Message } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file proto/silvana/coordinator/v1/coordinator.proto.
|
|
5
5
|
*/
|
|
6
6
|
export declare const file_proto_silvana_coordinator_v1_coordinator: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message silvana.coordinator.v1.ProofEventRequest
|
|
9
|
+
*/
|
|
10
|
+
export type ProofEventRequest = Message<"silvana.coordinator.v1.ProofEventRequest"> & {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from field: string job_id = 1;
|
|
13
|
+
*/
|
|
14
|
+
jobId: string;
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: string session_id = 2;
|
|
17
|
+
*/
|
|
18
|
+
sessionId: string;
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string data_availability = 3;
|
|
21
|
+
*/
|
|
22
|
+
dataAvailability: string;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: uint64 block_number = 4;
|
|
25
|
+
*/
|
|
26
|
+
blockNumber: bigint;
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: optional bool block_proof = 5;
|
|
29
|
+
*/
|
|
30
|
+
blockProof?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: silvana.coordinator.v1.ProofEventType proof_event_type = 6;
|
|
33
|
+
*/
|
|
34
|
+
proofEventType: ProofEventType;
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: repeated uint64 sequences = 7;
|
|
37
|
+
*/
|
|
38
|
+
sequences: bigint[];
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: repeated uint64 merged_sequences_1 = 8;
|
|
41
|
+
*/
|
|
42
|
+
mergedSequences1: bigint[];
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: repeated uint64 merged_sequences_2 = 9;
|
|
45
|
+
*/
|
|
46
|
+
mergedSequences2: bigint[];
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message silvana.coordinator.v1.ProofEventRequest.
|
|
50
|
+
* Use `create(ProofEventRequestSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export declare const ProofEventRequestSchema: GenMessage<ProofEventRequest>;
|
|
53
|
+
/**
|
|
54
|
+
* Response message for job completion
|
|
55
|
+
*
|
|
56
|
+
* @generated from message silvana.coordinator.v1.ProofEventResponse
|
|
57
|
+
*/
|
|
58
|
+
export type ProofEventResponse = Message<"silvana.coordinator.v1.ProofEventResponse"> & {
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: bool success = 1;
|
|
61
|
+
*/
|
|
62
|
+
success: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: string message = 2;
|
|
65
|
+
*/
|
|
66
|
+
message: string;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message silvana.coordinator.v1.ProofEventResponse.
|
|
70
|
+
* Use `create(ProofEventResponseSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export declare const ProofEventResponseSchema: GenMessage<ProofEventResponse>;
|
|
7
73
|
/**
|
|
8
74
|
* Job message matching the partial Move struct
|
|
9
75
|
*
|
|
@@ -1385,6 +1451,54 @@ export type UpdateBlockSettlementTxIncludedInBlockResponse = Message<"silvana.co
|
|
|
1385
1451
|
* Use `create(UpdateBlockSettlementTxIncludedInBlockResponseSchema)` to create a new message.
|
|
1386
1452
|
*/
|
|
1387
1453
|
export declare const UpdateBlockSettlementTxIncludedInBlockResponseSchema: GenMessage<UpdateBlockSettlementTxIncludedInBlockResponse>;
|
|
1454
|
+
/**
|
|
1455
|
+
* Agent Events
|
|
1456
|
+
*
|
|
1457
|
+
* @generated from message silvana.coordinator.v1.AgentMessageRequest
|
|
1458
|
+
*/
|
|
1459
|
+
export type AgentMessageRequest = Message<"silvana.coordinator.v1.AgentMessageRequest"> & {
|
|
1460
|
+
/**
|
|
1461
|
+
* @generated from field: string job_id = 1;
|
|
1462
|
+
*/
|
|
1463
|
+
jobId: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* @generated from field: string session_id = 2;
|
|
1466
|
+
*/
|
|
1467
|
+
sessionId: string;
|
|
1468
|
+
/**
|
|
1469
|
+
* @generated from field: silvana.coordinator.v1.LogLevel level = 3;
|
|
1470
|
+
*/
|
|
1471
|
+
level: LogLevel;
|
|
1472
|
+
/**
|
|
1473
|
+
* @generated from field: string message = 4;
|
|
1474
|
+
*/
|
|
1475
|
+
message: string;
|
|
1476
|
+
};
|
|
1477
|
+
/**
|
|
1478
|
+
* Describes the message silvana.coordinator.v1.AgentMessageRequest.
|
|
1479
|
+
* Use `create(AgentMessageRequestSchema)` to create a new message.
|
|
1480
|
+
*/
|
|
1481
|
+
export declare const AgentMessageRequestSchema: GenMessage<AgentMessageRequest>;
|
|
1482
|
+
/**
|
|
1483
|
+
* Response message for agent message
|
|
1484
|
+
*
|
|
1485
|
+
* @generated from message silvana.coordinator.v1.AgentMessageResponse
|
|
1486
|
+
*/
|
|
1487
|
+
export type AgentMessageResponse = Message<"silvana.coordinator.v1.AgentMessageResponse"> & {
|
|
1488
|
+
/**
|
|
1489
|
+
* @generated from field: bool success = 1;
|
|
1490
|
+
*/
|
|
1491
|
+
success: boolean;
|
|
1492
|
+
/**
|
|
1493
|
+
* @generated from field: string message = 2;
|
|
1494
|
+
*/
|
|
1495
|
+
message: string;
|
|
1496
|
+
};
|
|
1497
|
+
/**
|
|
1498
|
+
* Describes the message silvana.coordinator.v1.AgentMessageResponse.
|
|
1499
|
+
* Use `create(AgentMessageResponseSchema)` to create a new message.
|
|
1500
|
+
*/
|
|
1501
|
+
export declare const AgentMessageResponseSchema: GenMessage<AgentMessageResponse>;
|
|
1388
1502
|
/**
|
|
1389
1503
|
* Request message for creating an app job
|
|
1390
1504
|
*
|
|
@@ -1771,6 +1885,76 @@ export type UpdateBlockSettlementResponse = Message<"silvana.coordinator.v1.Upda
|
|
|
1771
1885
|
* Use `create(UpdateBlockSettlementResponseSchema)` to create a new message.
|
|
1772
1886
|
*/
|
|
1773
1887
|
export declare const UpdateBlockSettlementResponseSchema: GenMessage<UpdateBlockSettlementResponse>;
|
|
1888
|
+
/**
|
|
1889
|
+
* Log level enumeration for messages
|
|
1890
|
+
*
|
|
1891
|
+
* @generated from enum silvana.coordinator.v1.LogLevel
|
|
1892
|
+
*/
|
|
1893
|
+
export declare enum LogLevel {
|
|
1894
|
+
/**
|
|
1895
|
+
* @generated from enum value: LOG_LEVEL_UNSPECIFIED = 0;
|
|
1896
|
+
*/
|
|
1897
|
+
UNSPECIFIED = 0,
|
|
1898
|
+
/**
|
|
1899
|
+
* @generated from enum value: LOG_LEVEL_DEBUG = 1;
|
|
1900
|
+
*/
|
|
1901
|
+
DEBUG = 1,
|
|
1902
|
+
/**
|
|
1903
|
+
* @generated from enum value: LOG_LEVEL_INFO = 2;
|
|
1904
|
+
*/
|
|
1905
|
+
INFO = 2,
|
|
1906
|
+
/**
|
|
1907
|
+
* @generated from enum value: LOG_LEVEL_WARN = 3;
|
|
1908
|
+
*/
|
|
1909
|
+
WARN = 3,
|
|
1910
|
+
/**
|
|
1911
|
+
* @generated from enum value: LOG_LEVEL_ERROR = 4;
|
|
1912
|
+
*/
|
|
1913
|
+
ERROR = 4,
|
|
1914
|
+
/**
|
|
1915
|
+
* @generated from enum value: LOG_LEVEL_FATAL = 5;
|
|
1916
|
+
*/
|
|
1917
|
+
FATAL = 5
|
|
1918
|
+
}
|
|
1919
|
+
/**
|
|
1920
|
+
* Describes the enum silvana.coordinator.v1.LogLevel.
|
|
1921
|
+
*/
|
|
1922
|
+
export declare const LogLevelSchema: GenEnum<LogLevel>;
|
|
1923
|
+
/**
|
|
1924
|
+
* Job result enumeration
|
|
1925
|
+
*
|
|
1926
|
+
* @generated from enum silvana.coordinator.v1.ProofEventType
|
|
1927
|
+
*/
|
|
1928
|
+
export declare enum ProofEventType {
|
|
1929
|
+
/**
|
|
1930
|
+
* @generated from enum value: PROOF_EVENT_TYPE_UNSPECIFIED = 0;
|
|
1931
|
+
*/
|
|
1932
|
+
PROOF_EVENT_TYPE_UNSPECIFIED = 0,
|
|
1933
|
+
/**
|
|
1934
|
+
* @generated from enum value: PROOF_SUBMITTED = 1;
|
|
1935
|
+
*/
|
|
1936
|
+
PROOF_SUBMITTED = 1,
|
|
1937
|
+
/**
|
|
1938
|
+
* @generated from enum value: PROOF_FETCHED = 2;
|
|
1939
|
+
*/
|
|
1940
|
+
PROOF_FETCHED = 2,
|
|
1941
|
+
/**
|
|
1942
|
+
* @generated from enum value: PROOF_VERIFIED = 3;
|
|
1943
|
+
*/
|
|
1944
|
+
PROOF_VERIFIED = 3,
|
|
1945
|
+
/**
|
|
1946
|
+
* @generated from enum value: PROOF_UNAVAILABLE = 5;
|
|
1947
|
+
*/
|
|
1948
|
+
PROOF_UNAVAILABLE = 5,
|
|
1949
|
+
/**
|
|
1950
|
+
* @generated from enum value: PROOF_REJECTED = 6;
|
|
1951
|
+
*/
|
|
1952
|
+
PROOF_REJECTED = 6
|
|
1953
|
+
}
|
|
1954
|
+
/**
|
|
1955
|
+
* Describes the enum silvana.coordinator.v1.ProofEventType.
|
|
1956
|
+
*/
|
|
1957
|
+
export declare const ProofEventTypeSchema: GenEnum<ProofEventType>;
|
|
1774
1958
|
/**
|
|
1775
1959
|
* gRPC service definition
|
|
1776
1960
|
*
|
|
@@ -1953,6 +2137,22 @@ export declare const CoordinatorService: GenService<{
|
|
|
1953
2137
|
input: typeof UpdateBlockSettlementTxIncludedInBlockRequestSchema;
|
|
1954
2138
|
output: typeof UpdateBlockSettlementTxIncludedInBlockResponseSchema;
|
|
1955
2139
|
};
|
|
2140
|
+
/**
|
|
2141
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.AgentMessage
|
|
2142
|
+
*/
|
|
2143
|
+
agentMessage: {
|
|
2144
|
+
methodKind: "unary";
|
|
2145
|
+
input: typeof AgentMessageRequestSchema;
|
|
2146
|
+
output: typeof AgentMessageResponseSchema;
|
|
2147
|
+
};
|
|
2148
|
+
/**
|
|
2149
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.ProofEvent
|
|
2150
|
+
*/
|
|
2151
|
+
proofEvent: {
|
|
2152
|
+
methodKind: "unary";
|
|
2153
|
+
input: typeof ProofEventRequestSchema;
|
|
2154
|
+
output: typeof ProofEventResponseSchema;
|
|
2155
|
+
};
|
|
1956
2156
|
/**
|
|
1957
2157
|
* @generated from rpc silvana.coordinator.v1.CoordinatorService.CreateAppJob
|
|
1958
2158
|
*/
|