@silvana-one/agent 1.0.36 → 1.0.38

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.
@@ -1,9 +1,67 @@
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 data_availability = 1;
13
+ */
14
+ dataAvailability: string;
15
+ /**
16
+ * @generated from field: uint64 block_number = 2;
17
+ */
18
+ blockNumber: bigint;
19
+ /**
20
+ * @generated from field: optional bool block_proof = 3;
21
+ */
22
+ blockProof?: boolean;
23
+ /**
24
+ * @generated from field: silvana.coordinator.v1.ProofEventType proof_event_type = 4;
25
+ */
26
+ proofEventType: ProofEventType;
27
+ /**
28
+ * @generated from field: repeated uint64 sequences = 5;
29
+ */
30
+ sequences: bigint[];
31
+ /**
32
+ * @generated from field: repeated uint64 merged_sequences_1 = 6;
33
+ */
34
+ mergedSequences1: bigint[];
35
+ /**
36
+ * @generated from field: repeated uint64 merged_sequences_2 = 7;
37
+ */
38
+ mergedSequences2: bigint[];
39
+ };
40
+ /**
41
+ * Describes the message silvana.coordinator.v1.ProofEventRequest.
42
+ * Use `create(ProofEventRequestSchema)` to create a new message.
43
+ */
44
+ export declare const ProofEventRequestSchema: GenMessage<ProofEventRequest>;
45
+ /**
46
+ * Response message for job completion
47
+ *
48
+ * @generated from message silvana.coordinator.v1.ProofEventResponse
49
+ */
50
+ export type ProofEventResponse = Message<"silvana.coordinator.v1.ProofEventResponse"> & {
51
+ /**
52
+ * @generated from field: bool success = 1;
53
+ */
54
+ success: boolean;
55
+ /**
56
+ * @generated from field: string message = 2;
57
+ */
58
+ message: string;
59
+ };
60
+ /**
61
+ * Describes the message silvana.coordinator.v1.ProofEventResponse.
62
+ * Use `create(ProofEventResponseSchema)` to create a new message.
63
+ */
64
+ export declare const ProofEventResponseSchema: GenMessage<ProofEventResponse>;
7
65
  /**
8
66
  * Job message matching the partial Move struct
9
67
  *
@@ -1385,6 +1443,46 @@ export type UpdateBlockSettlementTxIncludedInBlockResponse = Message<"silvana.co
1385
1443
  * Use `create(UpdateBlockSettlementTxIncludedInBlockResponseSchema)` to create a new message.
1386
1444
  */
1387
1445
  export declare const UpdateBlockSettlementTxIncludedInBlockResponseSchema: GenMessage<UpdateBlockSettlementTxIncludedInBlockResponse>;
1446
+ /**
1447
+ * Agent Events
1448
+ *
1449
+ * @generated from message silvana.coordinator.v1.AgentMessageRequest
1450
+ */
1451
+ export type AgentMessageRequest = Message<"silvana.coordinator.v1.AgentMessageRequest"> & {
1452
+ /**
1453
+ * @generated from field: silvana.coordinator.v1.LogLevel level = 1;
1454
+ */
1455
+ level: LogLevel;
1456
+ /**
1457
+ * @generated from field: string message = 2;
1458
+ */
1459
+ message: string;
1460
+ };
1461
+ /**
1462
+ * Describes the message silvana.coordinator.v1.AgentMessageRequest.
1463
+ * Use `create(AgentMessageRequestSchema)` to create a new message.
1464
+ */
1465
+ export declare const AgentMessageRequestSchema: GenMessage<AgentMessageRequest>;
1466
+ /**
1467
+ * Response message for agent message
1468
+ *
1469
+ * @generated from message silvana.coordinator.v1.AgentMessageResponse
1470
+ */
1471
+ export type AgentMessageResponse = Message<"silvana.coordinator.v1.AgentMessageResponse"> & {
1472
+ /**
1473
+ * @generated from field: bool success = 1;
1474
+ */
1475
+ success: boolean;
1476
+ /**
1477
+ * @generated from field: string message = 2;
1478
+ */
1479
+ message: string;
1480
+ };
1481
+ /**
1482
+ * Describes the message silvana.coordinator.v1.AgentMessageResponse.
1483
+ * Use `create(AgentMessageResponseSchema)` to create a new message.
1484
+ */
1485
+ export declare const AgentMessageResponseSchema: GenMessage<AgentMessageResponse>;
1388
1486
  /**
1389
1487
  * Request message for creating an app job
1390
1488
  *
@@ -1771,6 +1869,76 @@ export type UpdateBlockSettlementResponse = Message<"silvana.coordinator.v1.Upda
1771
1869
  * Use `create(UpdateBlockSettlementResponseSchema)` to create a new message.
1772
1870
  */
1773
1871
  export declare const UpdateBlockSettlementResponseSchema: GenMessage<UpdateBlockSettlementResponse>;
1872
+ /**
1873
+ * Log level enumeration for messages
1874
+ *
1875
+ * @generated from enum silvana.coordinator.v1.LogLevel
1876
+ */
1877
+ export declare enum LogLevel {
1878
+ /**
1879
+ * @generated from enum value: LOG_LEVEL_UNSPECIFIED = 0;
1880
+ */
1881
+ UNSPECIFIED = 0,
1882
+ /**
1883
+ * @generated from enum value: LOG_LEVEL_DEBUG = 1;
1884
+ */
1885
+ DEBUG = 1,
1886
+ /**
1887
+ * @generated from enum value: LOG_LEVEL_INFO = 2;
1888
+ */
1889
+ INFO = 2,
1890
+ /**
1891
+ * @generated from enum value: LOG_LEVEL_WARN = 3;
1892
+ */
1893
+ WARN = 3,
1894
+ /**
1895
+ * @generated from enum value: LOG_LEVEL_ERROR = 4;
1896
+ */
1897
+ ERROR = 4,
1898
+ /**
1899
+ * @generated from enum value: LOG_LEVEL_FATAL = 5;
1900
+ */
1901
+ FATAL = 5
1902
+ }
1903
+ /**
1904
+ * Describes the enum silvana.coordinator.v1.LogLevel.
1905
+ */
1906
+ export declare const LogLevelSchema: GenEnum<LogLevel>;
1907
+ /**
1908
+ * Job result enumeration
1909
+ *
1910
+ * @generated from enum silvana.coordinator.v1.ProofEventType
1911
+ */
1912
+ export declare enum ProofEventType {
1913
+ /**
1914
+ * @generated from enum value: PROOF_EVENT_TYPE_UNSPECIFIED = 0;
1915
+ */
1916
+ PROOF_EVENT_TYPE_UNSPECIFIED = 0,
1917
+ /**
1918
+ * @generated from enum value: PROOF_SUBMITTED = 1;
1919
+ */
1920
+ PROOF_SUBMITTED = 1,
1921
+ /**
1922
+ * @generated from enum value: PROOF_FETCHED = 2;
1923
+ */
1924
+ PROOF_FETCHED = 2,
1925
+ /**
1926
+ * @generated from enum value: PROOF_VERIFIED = 3;
1927
+ */
1928
+ PROOF_VERIFIED = 3,
1929
+ /**
1930
+ * @generated from enum value: PROOF_UNAVAILABLE = 5;
1931
+ */
1932
+ PROOF_UNAVAILABLE = 5,
1933
+ /**
1934
+ * @generated from enum value: PROOF_REJECTED = 6;
1935
+ */
1936
+ PROOF_REJECTED = 6
1937
+ }
1938
+ /**
1939
+ * Describes the enum silvana.coordinator.v1.ProofEventType.
1940
+ */
1941
+ export declare const ProofEventTypeSchema: GenEnum<ProofEventType>;
1774
1942
  /**
1775
1943
  * gRPC service definition
1776
1944
  *
@@ -1953,6 +2121,22 @@ export declare const CoordinatorService: GenService<{
1953
2121
  input: typeof UpdateBlockSettlementTxIncludedInBlockRequestSchema;
1954
2122
  output: typeof UpdateBlockSettlementTxIncludedInBlockResponseSchema;
1955
2123
  };
2124
+ /**
2125
+ * @generated from rpc silvana.coordinator.v1.CoordinatorService.AgentMessage
2126
+ */
2127
+ agentMessage: {
2128
+ methodKind: "unary";
2129
+ input: typeof AgentMessageRequestSchema;
2130
+ output: typeof AgentMessageResponseSchema;
2131
+ };
2132
+ /**
2133
+ * @generated from rpc silvana.coordinator.v1.CoordinatorService.ProofEvent
2134
+ */
2135
+ proofEvent: {
2136
+ methodKind: "unary";
2137
+ input: typeof ProofEventRequestSchema;
2138
+ output: typeof ProofEventResponseSchema;
2139
+ };
1956
2140
  /**
1957
2141
  * @generated from rpc silvana.coordinator.v1.CoordinatorService.CreateAppJob
1958
2142
  */