@dxos/protocols 0.4.10-main.e2d2318 → 0.4.10-main.e6ba7bc

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.
Files changed (153) hide show
  1. package/dist/cjs/src/indexing.d.ts +7 -3
  2. package/dist/cjs/src/indexing.d.ts.map +1 -1
  3. package/dist/cjs/src/indexing.js.map +1 -1
  4. package/dist/cjs/src/proto/gen/dxos/agent/dashboard.d.ts.map +1 -1
  5. package/dist/cjs/src/proto/gen/dxos/bot.d.ts.map +1 -1
  6. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +182 -186
  7. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  8. package/dist/cjs/src/proto/gen/dxos/client/services.js +25 -25
  9. package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
  10. package/dist/cjs/src/proto/gen/dxos/config.d.ts +5 -0
  11. package/dist/cjs/src/proto/gen/dxos/config.d.ts.map +1 -1
  12. package/dist/cjs/src/proto/gen/dxos/config.js.map +1 -1
  13. package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  14. package/dist/cjs/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
  15. package/dist/cjs/src/proto/gen/dxos/echo/filter.d.ts.map +1 -1
  16. package/dist/cjs/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
  17. package/dist/cjs/src/proto/gen/dxos/echo/query.d.ts +49 -0
  18. package/dist/cjs/src/proto/gen/dxos/echo/query.d.ts.map +1 -0
  19. package/dist/cjs/src/proto/gen/dxos/echo/query.js.map +1 -0
  20. package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts +11 -1
  21. package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  22. package/dist/cjs/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  23. package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts +7 -0
  24. package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
  25. package/dist/cjs/src/proto/gen/dxos/halo/credentials.js.map +1 -1
  26. package/dist/cjs/src/proto/gen/dxos/halo/invitations.d.ts +30 -0
  27. package/dist/cjs/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
  28. package/dist/cjs/src/proto/gen/dxos/mesh/swarm.d.ts +6 -2
  29. package/dist/cjs/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
  30. package/dist/cjs/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
  31. package/dist/cjs/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
  32. package/dist/cjs/src/proto/gen/dxos/tracing.d.ts.map +1 -1
  33. package/dist/cjs/src/proto/gen/index.d.ts +8 -5
  34. package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
  35. package/dist/cjs/src/proto/gen/index.js +1 -1
  36. package/dist/cjs/src/proto/gen/index.js.map +1 -1
  37. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  38. package/dist/esm/src/indexing.d.ts +7 -3
  39. package/dist/esm/src/indexing.d.ts.map +1 -1
  40. package/dist/esm/src/indexing.js.map +1 -1
  41. package/dist/esm/src/proto/gen/dxos/agent/dashboard.d.ts.map +1 -1
  42. package/dist/esm/src/proto/gen/dxos/bot.d.ts.map +1 -1
  43. package/dist/esm/src/proto/gen/dxos/client/services.d.ts +182 -186
  44. package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  45. package/dist/esm/src/proto/gen/dxos/client/services.js +24 -24
  46. package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
  47. package/dist/esm/src/proto/gen/dxos/config.d.ts +5 -0
  48. package/dist/esm/src/proto/gen/dxos/config.d.ts.map +1 -1
  49. package/dist/esm/src/proto/gen/dxos/config.js.map +1 -1
  50. package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  51. package/dist/esm/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
  52. package/dist/esm/src/proto/gen/dxos/echo/filter.d.ts.map +1 -1
  53. package/dist/esm/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
  54. package/dist/esm/src/proto/gen/dxos/echo/query.d.ts +49 -0
  55. package/dist/esm/src/proto/gen/dxos/echo/query.d.ts.map +1 -0
  56. package/dist/esm/src/proto/gen/dxos/echo/query.js.map +1 -0
  57. package/dist/esm/src/proto/gen/dxos/echo/service.d.ts +11 -1
  58. package/dist/esm/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  59. package/dist/esm/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  60. package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts +7 -0
  61. package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
  62. package/dist/esm/src/proto/gen/dxos/halo/credentials.js.map +1 -1
  63. package/dist/esm/src/proto/gen/dxos/halo/invitations.d.ts +30 -0
  64. package/dist/esm/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
  65. package/dist/esm/src/proto/gen/dxos/mesh/swarm.d.ts +6 -2
  66. package/dist/esm/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
  67. package/dist/esm/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
  68. package/dist/esm/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
  69. package/dist/esm/src/proto/gen/dxos/tracing.d.ts.map +1 -1
  70. package/dist/esm/src/proto/gen/index.d.ts +8 -5
  71. package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
  72. package/dist/esm/src/proto/gen/index.js +1 -1
  73. package/dist/esm/src/proto/gen/index.js.map +1 -1
  74. package/package.json +5 -5
  75. package/src/indexing.ts +8 -4
  76. package/src/proto/dxos/client/services.proto +3 -13
  77. package/src/proto/dxos/config.proto +5 -1
  78. package/src/proto/dxos/echo/query.proto +37 -0
  79. package/src/proto/dxos/echo/service.proto +6 -1
  80. package/src/proto/dxos/halo/credentials.proto +3 -0
  81. package/src/proto/dxos/halo/invitations.proto +16 -0
  82. package/src/proto/dxos/mesh/swarm.proto +11 -3
  83. package/src/proto/gen/dxos/agent/dashboard.ts +1 -1
  84. package/src/proto/gen/dxos/agent/echoproxy.ts +1 -1
  85. package/src/proto/gen/dxos/agent/epoch.ts +1 -1
  86. package/src/proto/gen/dxos/agent/functions.ts +1 -1
  87. package/src/proto/gen/dxos/bot.ts +1 -1
  88. package/src/proto/gen/dxos/client/services.ts +183 -185
  89. package/src/proto/gen/dxos/config.ts +6 -1
  90. package/src/proto/gen/dxos/devtools/host.ts +1 -1
  91. package/src/proto/gen/dxos/devtools/swarm.ts +1 -1
  92. package/src/proto/gen/dxos/echo/blob.ts +1 -1
  93. package/src/proto/gen/dxos/echo/feed.ts +1 -1
  94. package/src/proto/gen/dxos/echo/filter.ts +1 -1
  95. package/src/proto/gen/dxos/echo/indexing.ts +1 -1
  96. package/src/proto/gen/dxos/echo/metadata.ts +1 -1
  97. package/src/proto/gen/dxos/echo/model/document.ts +1 -1
  98. package/src/proto/gen/dxos/echo/model/messenger.ts +1 -1
  99. package/src/proto/gen/dxos/echo/model/text.ts +1 -1
  100. package/src/proto/gen/dxos/echo/object.ts +1 -1
  101. package/src/proto/gen/dxos/{agent → echo}/query.ts +28 -19
  102. package/src/proto/gen/dxos/echo/service.ts +12 -2
  103. package/src/proto/gen/dxos/echo/snapshot.ts +1 -1
  104. package/src/proto/gen/dxos/echo/timeframe.ts +1 -1
  105. package/src/proto/gen/dxos/error.ts +1 -1
  106. package/src/proto/gen/dxos/gravity.ts +1 -1
  107. package/src/proto/gen/dxos/halo/credentials/auth.ts +1 -1
  108. package/src/proto/gen/dxos/halo/credentials/greet.ts +1 -1
  109. package/src/proto/gen/dxos/halo/credentials/identity.ts +1 -1
  110. package/src/proto/gen/dxos/halo/credentials.ts +8 -1
  111. package/src/proto/gen/dxos/halo/invitations.ts +31 -1
  112. package/src/proto/gen/dxos/halo/keyring.ts +1 -1
  113. package/src/proto/gen/dxos/halo/keys.ts +1 -1
  114. package/src/proto/gen/dxos/halo/signed.ts +1 -1
  115. package/src/proto/gen/dxos/iframe.ts +1 -1
  116. package/src/proto/gen/dxos/keys.ts +1 -1
  117. package/src/proto/gen/dxos/mesh/bridge.ts +1 -1
  118. package/src/proto/gen/dxos/mesh/broadcast.ts +1 -1
  119. package/src/proto/gen/dxos/mesh/messaging.ts +1 -1
  120. package/src/proto/gen/dxos/mesh/muxer.ts +1 -1
  121. package/src/proto/gen/dxos/mesh/presence.ts +1 -1
  122. package/src/proto/gen/dxos/mesh/protocol.ts +1 -1
  123. package/src/proto/gen/dxos/mesh/replicator.ts +1 -1
  124. package/src/proto/gen/dxos/mesh/signal.ts +1 -1
  125. package/src/proto/gen/dxos/mesh/swarm.ts +7 -3
  126. package/src/proto/gen/dxos/mesh/teleport/auth.ts +1 -1
  127. package/src/proto/gen/dxos/mesh/teleport/automerge.ts +1 -1
  128. package/src/proto/gen/dxos/mesh/teleport/blobsync.ts +1 -1
  129. package/src/proto/gen/dxos/mesh/teleport/control.ts +1 -1
  130. package/src/proto/gen/dxos/mesh/teleport/gossip.ts +1 -1
  131. package/src/proto/gen/dxos/mesh/teleport/notarization.ts +1 -1
  132. package/src/proto/gen/dxos/mesh/teleport/replicator.ts +1 -1
  133. package/src/proto/gen/dxos/registry.ts +1 -1
  134. package/src/proto/gen/dxos/rpc.ts +1 -1
  135. package/src/proto/gen/dxos/service/publisher.ts +1 -1
  136. package/src/proto/gen/dxos/service/supervisor.ts +1 -1
  137. package/src/proto/gen/dxos/service/tunnel.ts +1 -1
  138. package/src/proto/gen/dxos/tracing.ts +1 -1
  139. package/src/proto/gen/dxos/type.ts +1 -1
  140. package/src/proto/gen/dxos/value.ts +1 -1
  141. package/src/proto/gen/example/testing/data.ts +1 -1
  142. package/src/proto/gen/example/testing/rpc.ts +1 -1
  143. package/src/proto/gen/google/protobuf.ts +1 -1
  144. package/src/proto/gen/index.ts +9 -6
  145. package/dist/cjs/src/proto/gen/dxos/agent/query.d.ts +0 -38
  146. package/dist/cjs/src/proto/gen/dxos/agent/query.d.ts.map +0 -1
  147. package/dist/cjs/src/proto/gen/dxos/agent/query.js.map +0 -1
  148. package/dist/esm/src/proto/gen/dxos/agent/query.d.ts +0 -38
  149. package/dist/esm/src/proto/gen/dxos/agent/query.d.ts.map +0 -1
  150. package/dist/esm/src/proto/gen/dxos/agent/query.js.map +0 -1
  151. package/src/proto/dxos/agent/query.proto +0 -28
  152. /package/dist/cjs/src/proto/gen/dxos/{agent → echo}/query.js +0 -0
  153. /package/dist/esm/src/proto/gen/dxos/{agent → echo}/query.js +0 -0
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "../agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "../agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "../agent/epoch";
6
6
  import * as dxos_agent_functions from "../agent/functions";
7
- import * as dxos_agent_query from "../agent/query";
8
7
  import * as dxos_bot from "../bot";
9
8
  import * as dxos_config from "../config";
10
9
  import * as dxos_devtools_host from "../devtools/host";
@@ -18,6 +17,7 @@ import * as dxos_echo_model_document from "../echo/model/document";
18
17
  import * as dxos_echo_model_messenger from "../echo/model/messenger";
19
18
  import * as dxos_echo_model_text from "../echo/model/text";
20
19
  import * as dxos_echo_object from "../echo/object";
20
+ import * as dxos_echo_query from "../echo/query";
21
21
  import * as dxos_echo_service from "../echo/service";
22
22
  import * as dxos_echo_snapshot from "../echo/snapshot";
23
23
  import * as dxos_echo_timeframe from "../echo/timeframe";
@@ -60,181 +60,6 @@ import * as dxos_value from "../value";
60
60
  import * as example_testing_data from "../../example/testing/data";
61
61
  import * as example_testing_rpc from "../../example/testing/rpc";
62
62
  import * as google_protobuf from "../../google/protobuf";
63
- /**
64
- * Defined in:
65
- * {@link file://./../../../dxos/client/logging.proto}
66
- */
67
- export interface Metrics {
68
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
69
- values?: Metrics.KeyPair[];
70
- }
71
- export namespace Metrics {
72
- /**
73
- * Defined in:
74
- * {@link file://./../../../dxos/client/logging.proto}
75
- */
76
- export interface KeyPair {
77
- /**
78
- * Options:
79
- * - proto3_optional = true
80
- */
81
- key?: string;
82
- /**
83
- * Options:
84
- * - proto3_optional = true
85
- */
86
- value?: dxos_value.Value;
87
- /**
88
- * Options:
89
- * - proto3_optional = true
90
- */
91
- stats?: dxos_value.Stats;
92
- }
93
- }
94
- /**
95
- * Defined in:
96
- * {@link file://./../../../dxos/client/logging.proto}
97
- */
98
- export interface ControlMetricsRequest {
99
- /**
100
- * Options:
101
- * - proto3_optional = true
102
- */
103
- reset?: boolean;
104
- /**
105
- * Options:
106
- * - proto3_optional = true
107
- */
108
- record?: boolean;
109
- }
110
- /**
111
- * Defined in:
112
- * {@link file://./../../../dxos/client/logging.proto}
113
- */
114
- export interface ControlMetricsResponse {
115
- /**
116
- * Options:
117
- * - proto3_optional = true
118
- */
119
- recording?: boolean;
120
- }
121
- /**
122
- * Defined in:
123
- * {@link file://./../../../dxos/client/logging.proto}
124
- */
125
- export interface QueryMetricsRequest {
126
- /**
127
- * Options:
128
- * - proto3_optional = true
129
- */
130
- interval?: number;
131
- }
132
- /**
133
- * Defined in:
134
- * {@link file://./../../../dxos/client/logging.proto}
135
- */
136
- export interface QueryMetricsResponse {
137
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
138
- metrics: Metrics;
139
- }
140
- /**
141
- * Defined in:
142
- * {@link file://./../../../dxos/client/logging.proto}
143
- */
144
- export enum LogLevel {
145
- TRACE = 5,
146
- DEBUG = 10,
147
- INFO = 11,
148
- WARN = 12,
149
- ERROR = 13
150
- }
151
- /**
152
- * Defined in:
153
- * {@link file://./../../../dxos/client/logging.proto}
154
- */
155
- export interface QueryLogsRequest {
156
- filters?: QueryLogsRequest.Filter[];
157
- /**
158
- * Options:
159
- * - proto3_optional = true
160
- */
161
- options?: QueryLogsRequest.MatchingOptions;
162
- }
163
- export namespace QueryLogsRequest {
164
- /**
165
- * Defined in:
166
- * {@link file://./../../../dxos/client/logging.proto}
167
- */
168
- export enum MatchingOptions {
169
- INCLUSIVE = 1,
170
- EXPLICIT = 2
171
- }
172
- /**
173
- * Defined in:
174
- * {@link file://./../../../dxos/client/logging.proto}
175
- */
176
- export interface Filter {
177
- level: LogLevel;
178
- /**
179
- * Options:
180
- * - proto3_optional = true
181
- */
182
- pattern?: string;
183
- }
184
- }
185
- /**
186
- * Defined in:
187
- * {@link file://./../../../dxos/client/logging.proto}
188
- */
189
- export interface LogEntry {
190
- level: LogLevel;
191
- message: string;
192
- /**
193
- * Options:
194
- * - proto3_optional = true
195
- */
196
- context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
197
- /**
198
- * Options:
199
- * - proto3_optional = true
200
- */
201
- meta?: LogEntry.Meta;
202
- /**
203
- * Options:
204
- * - proto3_optional = true
205
- */
206
- error?: dxos_error.Error;
207
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
208
- }
209
- export namespace LogEntry {
210
- /**
211
- * Defined in:
212
- * {@link file://./../../../dxos/client/logging.proto}
213
- */
214
- export interface Meta {
215
- file: string;
216
- line: number;
217
- /**
218
- * Options:
219
- * - proto3_optional = true
220
- */
221
- scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
222
- /**
223
- * Options:
224
- * - proto3_optional = true
225
- */
226
- resourceId?: number;
227
- }
228
- }
229
- /**
230
- * Defined in:
231
- * {@link file://./../../../dxos/client/logging.proto}
232
- */
233
- export interface LoggingService {
234
- controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
235
- queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
236
- queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
237
- }
238
63
  /**
239
64
  * Defined in:
240
65
  * {@link file://./../../../dxos/client/services.proto}
@@ -834,14 +659,6 @@ export interface SpacesService {
834
659
  queryCredentials: (request: QueryCredentialsRequest, options?: RequestOptions) => Stream<dxos_halo_credentials.Credential>;
835
660
  createEpoch: (request: CreateEpochRequest, options?: RequestOptions) => Promise<void>;
836
661
  }
837
- /**
838
- * Defined in:
839
- * {@link file://./../../../dxos/client/services.proto}
840
- */
841
- export interface IndexService {
842
- setConfig: (request: dxos_echo_indexing.IndexConfig, options?: RequestOptions) => Promise<void>;
843
- find: (request: dxos_agent_query.QueryRequest, options?: RequestOptions) => Stream<dxos_agent_query.QueryResponse>;
844
- }
845
662
  /**
846
663
  * Represents the invitation state passed between client and service.
847
664
  *
@@ -939,6 +756,13 @@ export interface Invitation {
939
756
  * - proto3_optional = true
940
757
  */
941
758
  guestKeypair?: AdmissionKeypair;
759
+ /**
760
+ * Present on Type.DELEGATED invitations.
761
+ *
762
+ * Options:
763
+ * - proto3_optional = true
764
+ */
765
+ delegationCredentialId?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
942
766
  }
943
767
  export namespace Invitation {
944
768
  /**
@@ -1082,7 +906,6 @@ export interface InvitationsService {
1082
906
  authenticate: (request: AuthenticationRequest, options?: RequestOptions) => Promise<void>;
1083
907
  cancelInvitation: (request: CancelInvitationRequest, options?: RequestOptions) => Promise<void>;
1084
908
  queryInvitations: (request: void, options?: RequestOptions) => Stream<QueryInvitationsResponse>;
1085
- loadPersistentInvitations: (request: void, options?: RequestOptions) => Promise<LoadPersistentInvitationsResponse>;
1086
909
  }
1087
910
  /**
1088
911
  * Defined in:
@@ -1126,3 +949,178 @@ export interface NetworkService {
1126
949
  updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
1127
950
  queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
1128
951
  }
952
+ /**
953
+ * Defined in:
954
+ * {@link file://./../../../dxos/client/logging.proto}
955
+ */
956
+ export interface Metrics {
957
+ timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
958
+ values?: Metrics.KeyPair[];
959
+ }
960
+ export namespace Metrics {
961
+ /**
962
+ * Defined in:
963
+ * {@link file://./../../../dxos/client/logging.proto}
964
+ */
965
+ export interface KeyPair {
966
+ /**
967
+ * Options:
968
+ * - proto3_optional = true
969
+ */
970
+ key?: string;
971
+ /**
972
+ * Options:
973
+ * - proto3_optional = true
974
+ */
975
+ value?: dxos_value.Value;
976
+ /**
977
+ * Options:
978
+ * - proto3_optional = true
979
+ */
980
+ stats?: dxos_value.Stats;
981
+ }
982
+ }
983
+ /**
984
+ * Defined in:
985
+ * {@link file://./../../../dxos/client/logging.proto}
986
+ */
987
+ export interface ControlMetricsRequest {
988
+ /**
989
+ * Options:
990
+ * - proto3_optional = true
991
+ */
992
+ reset?: boolean;
993
+ /**
994
+ * Options:
995
+ * - proto3_optional = true
996
+ */
997
+ record?: boolean;
998
+ }
999
+ /**
1000
+ * Defined in:
1001
+ * {@link file://./../../../dxos/client/logging.proto}
1002
+ */
1003
+ export interface ControlMetricsResponse {
1004
+ /**
1005
+ * Options:
1006
+ * - proto3_optional = true
1007
+ */
1008
+ recording?: boolean;
1009
+ }
1010
+ /**
1011
+ * Defined in:
1012
+ * {@link file://./../../../dxos/client/logging.proto}
1013
+ */
1014
+ export interface QueryMetricsRequest {
1015
+ /**
1016
+ * Options:
1017
+ * - proto3_optional = true
1018
+ */
1019
+ interval?: number;
1020
+ }
1021
+ /**
1022
+ * Defined in:
1023
+ * {@link file://./../../../dxos/client/logging.proto}
1024
+ */
1025
+ export interface QueryMetricsResponse {
1026
+ timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
1027
+ metrics: Metrics;
1028
+ }
1029
+ /**
1030
+ * Defined in:
1031
+ * {@link file://./../../../dxos/client/logging.proto}
1032
+ */
1033
+ export enum LogLevel {
1034
+ TRACE = 5,
1035
+ DEBUG = 10,
1036
+ INFO = 11,
1037
+ WARN = 12,
1038
+ ERROR = 13
1039
+ }
1040
+ /**
1041
+ * Defined in:
1042
+ * {@link file://./../../../dxos/client/logging.proto}
1043
+ */
1044
+ export interface QueryLogsRequest {
1045
+ filters?: QueryLogsRequest.Filter[];
1046
+ /**
1047
+ * Options:
1048
+ * - proto3_optional = true
1049
+ */
1050
+ options?: QueryLogsRequest.MatchingOptions;
1051
+ }
1052
+ export namespace QueryLogsRequest {
1053
+ /**
1054
+ * Defined in:
1055
+ * {@link file://./../../../dxos/client/logging.proto}
1056
+ */
1057
+ export enum MatchingOptions {
1058
+ INCLUSIVE = 1,
1059
+ EXPLICIT = 2
1060
+ }
1061
+ /**
1062
+ * Defined in:
1063
+ * {@link file://./../../../dxos/client/logging.proto}
1064
+ */
1065
+ export interface Filter {
1066
+ level: LogLevel;
1067
+ /**
1068
+ * Options:
1069
+ * - proto3_optional = true
1070
+ */
1071
+ pattern?: string;
1072
+ }
1073
+ }
1074
+ /**
1075
+ * Defined in:
1076
+ * {@link file://./../../../dxos/client/logging.proto}
1077
+ */
1078
+ export interface LogEntry {
1079
+ level: LogLevel;
1080
+ message: string;
1081
+ /**
1082
+ * Options:
1083
+ * - proto3_optional = true
1084
+ */
1085
+ context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
1086
+ /**
1087
+ * Options:
1088
+ * - proto3_optional = true
1089
+ */
1090
+ meta?: LogEntry.Meta;
1091
+ /**
1092
+ * Options:
1093
+ * - proto3_optional = true
1094
+ */
1095
+ error?: dxos_error.Error;
1096
+ timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
1097
+ }
1098
+ export namespace LogEntry {
1099
+ /**
1100
+ * Defined in:
1101
+ * {@link file://./../../../dxos/client/logging.proto}
1102
+ */
1103
+ export interface Meta {
1104
+ file: string;
1105
+ line: number;
1106
+ /**
1107
+ * Options:
1108
+ * - proto3_optional = true
1109
+ */
1110
+ scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
1111
+ /**
1112
+ * Options:
1113
+ * - proto3_optional = true
1114
+ */
1115
+ resourceId?: number;
1116
+ }
1117
+ }
1118
+ /**
1119
+ * Defined in:
1120
+ * {@link file://./../../../dxos/client/logging.proto}
1121
+ */
1122
+ export interface LoggingService {
1123
+ controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
1124
+ queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
1125
+ queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
1126
+ }
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "./agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "./agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "./agent/epoch";
6
6
  import * as dxos_agent_functions from "./agent/functions";
7
- import * as dxos_agent_query from "./agent/query";
8
7
  import * as dxos_bot from "./bot";
9
8
  import * as dxos_client_services from "./client/services";
10
9
  import * as dxos_devtools_host from "./devtools/host";
@@ -18,6 +17,7 @@ import * as dxos_echo_model_document from "./echo/model/document";
18
17
  import * as dxos_echo_model_messenger from "./echo/model/messenger";
19
18
  import * as dxos_echo_model_text from "./echo/model/text";
20
19
  import * as dxos_echo_object from "./echo/object";
20
+ import * as dxos_echo_query from "./echo/query";
21
21
  import * as dxos_echo_service from "./echo/service";
22
22
  import * as dxos_echo_snapshot from "./echo/snapshot";
23
23
  import * as dxos_echo_timeframe from "./echo/timeframe";
@@ -291,6 +291,11 @@ export namespace Runtime {
291
291
  * - proto3_optional = true
292
292
  */
293
293
  remoteSource?: string;
294
+ /**
295
+ * Options:
296
+ * - proto3_optional = true
297
+ */
298
+ remoteSourceAuthenticationToken?: string;
294
299
  /**
295
300
  * Connect to and serve client services to a remote proxy.
296
301
  *
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "../agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "../agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "../agent/epoch";
6
6
  import * as dxos_agent_functions from "../agent/functions";
7
- import * as dxos_agent_query from "../agent/query";
8
7
  import * as dxos_bot from "../bot";
9
8
  import * as dxos_client_services from "../client/services";
10
9
  import * as dxos_config from "../config";
@@ -18,6 +17,7 @@ import * as dxos_echo_model_document from "../echo/model/document";
18
17
  import * as dxos_echo_model_messenger from "../echo/model/messenger";
19
18
  import * as dxos_echo_model_text from "../echo/model/text";
20
19
  import * as dxos_echo_object from "../echo/object";
20
+ import * as dxos_echo_query from "../echo/query";
21
21
  import * as dxos_echo_service from "../echo/service";
22
22
  import * as dxos_echo_snapshot from "../echo/snapshot";
23
23
  import * as dxos_echo_timeframe from "../echo/timeframe";
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "../agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "../agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "../agent/epoch";
6
6
  import * as dxos_agent_functions from "../agent/functions";
7
- import * as dxos_agent_query from "../agent/query";
8
7
  import * as dxos_bot from "../bot";
9
8
  import * as dxos_client_services from "../client/services";
10
9
  import * as dxos_config from "../config";
@@ -18,6 +17,7 @@ import * as dxos_echo_model_document from "../echo/model/document";
18
17
  import * as dxos_echo_model_messenger from "../echo/model/messenger";
19
18
  import * as dxos_echo_model_text from "../echo/model/text";
20
19
  import * as dxos_echo_object from "../echo/object";
20
+ import * as dxos_echo_query from "../echo/query";
21
21
  import * as dxos_echo_service from "../echo/service";
22
22
  import * as dxos_echo_snapshot from "../echo/snapshot";
23
23
  import * as dxos_echo_timeframe from "../echo/timeframe";
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "../agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "../agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "../agent/epoch";
6
6
  import * as dxos_agent_functions from "../agent/functions";
7
- import * as dxos_agent_query from "../agent/query";
8
7
  import * as dxos_bot from "../bot";
9
8
  import * as dxos_client_services from "../client/services";
10
9
  import * as dxos_config from "../config";
@@ -18,6 +17,7 @@ import * as dxos_echo_model_document from "./model/document";
18
17
  import * as dxos_echo_model_messenger from "./model/messenger";
19
18
  import * as dxos_echo_model_text from "./model/text";
20
19
  import * as dxos_echo_object from "./object";
20
+ import * as dxos_echo_query from "./query";
21
21
  import * as dxos_echo_service from "./service";
22
22
  import * as dxos_echo_snapshot from "./snapshot";
23
23
  import * as dxos_echo_timeframe from "./timeframe";
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "../agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "../agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "../agent/epoch";
6
6
  import * as dxos_agent_functions from "../agent/functions";
7
- import * as dxos_agent_query from "../agent/query";
8
7
  import * as dxos_bot from "../bot";
9
8
  import * as dxos_client_services from "../client/services";
10
9
  import * as dxos_config from "../config";
@@ -18,6 +17,7 @@ import * as dxos_echo_model_document from "./model/document";
18
17
  import * as dxos_echo_model_messenger from "./model/messenger";
19
18
  import * as dxos_echo_model_text from "./model/text";
20
19
  import * as dxos_echo_object from "./object";
20
+ import * as dxos_echo_query from "./query";
21
21
  import * as dxos_echo_service from "./service";
22
22
  import * as dxos_echo_snapshot from "./snapshot";
23
23
  import * as dxos_echo_timeframe from "./timeframe";
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "../agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "../agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "../agent/epoch";
6
6
  import * as dxos_agent_functions from "../agent/functions";
7
- import * as dxos_agent_query from "../agent/query";
8
7
  import * as dxos_bot from "../bot";
9
8
  import * as dxos_client_services from "../client/services";
10
9
  import * as dxos_config from "../config";
@@ -18,6 +17,7 @@ import * as dxos_echo_model_document from "./model/document";
18
17
  import * as dxos_echo_model_messenger from "./model/messenger";
19
18
  import * as dxos_echo_model_text from "./model/text";
20
19
  import * as dxos_echo_object from "./object";
20
+ import * as dxos_echo_query from "./query";
21
21
  import * as dxos_echo_service from "./service";
22
22
  import * as dxos_echo_snapshot from "./snapshot";
23
23
  import * as dxos_echo_timeframe from "./timeframe";
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "../agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "../agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "../agent/epoch";
6
6
  import * as dxos_agent_functions from "../agent/functions";
7
- import * as dxos_agent_query from "../agent/query";
8
7
  import * as dxos_bot from "../bot";
9
8
  import * as dxos_client_services from "../client/services";
10
9
  import * as dxos_config from "../config";
@@ -18,6 +17,7 @@ import * as dxos_echo_model_document from "./model/document";
18
17
  import * as dxos_echo_model_messenger from "./model/messenger";
19
18
  import * as dxos_echo_model_text from "./model/text";
20
19
  import * as dxos_echo_object from "./object";
20
+ import * as dxos_echo_query from "./query";
21
21
  import * as dxos_echo_service from "./service";
22
22
  import * as dxos_echo_snapshot from "./snapshot";
23
23
  import * as dxos_echo_timeframe from "./timeframe";
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "../agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "../agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "../agent/epoch";
6
6
  import * as dxos_agent_functions from "../agent/functions";
7
- import * as dxos_agent_query from "../agent/query";
8
7
  import * as dxos_bot from "../bot";
9
8
  import * as dxos_client_services from "../client/services";
10
9
  import * as dxos_config from "../config";
@@ -18,6 +17,7 @@ import * as dxos_echo_model_document from "./model/document";
18
17
  import * as dxos_echo_model_messenger from "./model/messenger";
19
18
  import * as dxos_echo_model_text from "./model/text";
20
19
  import * as dxos_echo_object from "./object";
20
+ import * as dxos_echo_query from "./query";
21
21
  import * as dxos_echo_service from "./service";
22
22
  import * as dxos_echo_snapshot from "./snapshot";
23
23
  import * as dxos_echo_timeframe from "./timeframe";
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "../../agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "../../agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "../../agent/epoch";
6
6
  import * as dxos_agent_functions from "../../agent/functions";
7
- import * as dxos_agent_query from "../../agent/query";
8
7
  import * as dxos_bot from "../../bot";
9
8
  import * as dxos_client_services from "../../client/services";
10
9
  import * as dxos_config from "../../config";
@@ -18,6 +17,7 @@ import * as dxos_echo_metadata from "../metadata";
18
17
  import * as dxos_echo_model_messenger from "./messenger";
19
18
  import * as dxos_echo_model_text from "./text";
20
19
  import * as dxos_echo_object from "../object";
20
+ import * as dxos_echo_query from "../query";
21
21
  import * as dxos_echo_service from "../service";
22
22
  import * as dxos_echo_snapshot from "../snapshot";
23
23
  import * as dxos_echo_timeframe from "../timeframe";
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "../../agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "../../agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "../../agent/epoch";
6
6
  import * as dxos_agent_functions from "../../agent/functions";
7
- import * as dxos_agent_query from "../../agent/query";
8
7
  import * as dxos_bot from "../../bot";
9
8
  import * as dxos_client_services from "../../client/services";
10
9
  import * as dxos_config from "../../config";
@@ -18,6 +17,7 @@ import * as dxos_echo_metadata from "../metadata";
18
17
  import * as dxos_echo_model_document from "./document";
19
18
  import * as dxos_echo_model_text from "./text";
20
19
  import * as dxos_echo_object from "../object";
20
+ import * as dxos_echo_query from "../query";
21
21
  import * as dxos_echo_service from "../service";
22
22
  import * as dxos_echo_snapshot from "../snapshot";
23
23
  import * as dxos_echo_timeframe from "../timeframe";
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "../../agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "../../agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "../../agent/epoch";
6
6
  import * as dxos_agent_functions from "../../agent/functions";
7
- import * as dxos_agent_query from "../../agent/query";
8
7
  import * as dxos_bot from "../../bot";
9
8
  import * as dxos_client_services from "../../client/services";
10
9
  import * as dxos_config from "../../config";
@@ -18,6 +17,7 @@ import * as dxos_echo_metadata from "../metadata";
18
17
  import * as dxos_echo_model_document from "./document";
19
18
  import * as dxos_echo_model_messenger from "./messenger";
20
19
  import * as dxos_echo_object from "../object";
20
+ import * as dxos_echo_query from "../query";
21
21
  import * as dxos_echo_service from "../service";
22
22
  import * as dxos_echo_snapshot from "../snapshot";
23
23
  import * as dxos_echo_timeframe from "../timeframe";
@@ -4,7 +4,6 @@ import * as dxos_agent_dashboard from "../agent/dashboard";
4
4
  import * as dxos_agent_echoproxy from "../agent/echoproxy";
5
5
  import * as dxos_agent_epoch from "../agent/epoch";
6
6
  import * as dxos_agent_functions from "../agent/functions";
7
- import * as dxos_agent_query from "../agent/query";
8
7
  import * as dxos_bot from "../bot";
9
8
  import * as dxos_client_services from "../client/services";
10
9
  import * as dxos_config from "../config";
@@ -18,6 +17,7 @@ import * as dxos_echo_metadata from "./metadata";
18
17
  import * as dxos_echo_model_document from "./model/document";
19
18
  import * as dxos_echo_model_messenger from "./model/messenger";
20
19
  import * as dxos_echo_model_text from "./model/text";
20
+ import * as dxos_echo_query from "./query";
21
21
  import * as dxos_echo_service from "./service";
22
22
  import * as dxos_echo_snapshot from "./snapshot";
23
23
  import * as dxos_echo_timeframe from "./timeframe";