@dxos/protocols 0.3.7-main.cdda206 → 0.3.7-main.d721c9c

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 (149) hide show
  1. package/dist/cjs/src/proto/gen/dxos/agent/dashboard.d.ts +3 -3
  2. package/dist/cjs/src/proto/gen/dxos/agent/dashboard.d.ts.map +1 -1
  3. package/dist/cjs/src/proto/gen/dxos/agent/functions.d.ts +3 -2
  4. package/dist/cjs/src/proto/gen/dxos/agent/functions.d.ts.map +1 -1
  5. package/dist/cjs/src/proto/gen/dxos/bot.d.ts +14 -14
  6. package/dist/cjs/src/proto/gen/dxos/bot.d.ts.map +1 -1
  7. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +205 -205
  8. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  9. package/dist/cjs/src/proto/gen/dxos/client/services.js +25 -25
  10. package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
  11. package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts +24 -24
  12. package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  13. package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts +4 -4
  14. package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  15. package/dist/cjs/src/proto/gen/dxos/halo/invitations.d.ts +5 -4
  16. package/dist/cjs/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
  17. package/dist/cjs/src/proto/gen/dxos/iframe.d.ts +5 -4
  18. package/dist/cjs/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  19. package/dist/cjs/src/proto/gen/dxos/mesh/bridge.d.ts +5 -5
  20. package/dist/cjs/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
  21. package/dist/cjs/src/proto/gen/dxos/mesh/signal.d.ts +4 -4
  22. package/dist/cjs/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
  23. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/auth.d.ts +2 -1
  24. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
  25. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts +3 -2
  26. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts.map +1 -1
  27. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/control.d.ts +3 -2
  28. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
  29. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/gossip.d.ts +2 -1
  30. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/gossip.d.ts.map +1 -1
  31. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/notarization.d.ts +2 -1
  32. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
  33. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/replicator.d.ts +4 -3
  34. package/dist/cjs/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
  35. package/dist/cjs/src/proto/gen/dxos/service/publisher.d.ts +4 -3
  36. package/dist/cjs/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
  37. package/dist/cjs/src/proto/gen/dxos/service/supervisor.d.ts +6 -5
  38. package/dist/cjs/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
  39. package/dist/cjs/src/proto/gen/dxos/service/tunnel.d.ts +3 -2
  40. package/dist/cjs/src/proto/gen/dxos/service/tunnel.d.ts.map +1 -1
  41. package/dist/cjs/src/proto/gen/dxos/tracing.d.ts +2 -2
  42. package/dist/cjs/src/proto/gen/dxos/tracing.d.ts.map +1 -1
  43. package/dist/cjs/src/proto/gen/example/testing/rpc.d.ts +8 -8
  44. package/dist/cjs/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
  45. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  46. package/dist/esm/src/proto/gen/dxos/agent/dashboard.d.ts +3 -3
  47. package/dist/esm/src/proto/gen/dxos/agent/dashboard.d.ts.map +1 -1
  48. package/dist/esm/src/proto/gen/dxos/agent/functions.d.ts +3 -2
  49. package/dist/esm/src/proto/gen/dxos/agent/functions.d.ts.map +1 -1
  50. package/dist/esm/src/proto/gen/dxos/bot.d.ts +14 -14
  51. package/dist/esm/src/proto/gen/dxos/bot.d.ts.map +1 -1
  52. package/dist/esm/src/proto/gen/dxos/client/services.d.ts +205 -205
  53. package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  54. package/dist/esm/src/proto/gen/dxos/client/services.js +24 -24
  55. package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
  56. package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts +24 -24
  57. package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  58. package/dist/esm/src/proto/gen/dxos/echo/service.d.ts +4 -4
  59. package/dist/esm/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  60. package/dist/esm/src/proto/gen/dxos/halo/invitations.d.ts +5 -4
  61. package/dist/esm/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
  62. package/dist/esm/src/proto/gen/dxos/iframe.d.ts +5 -4
  63. package/dist/esm/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  64. package/dist/esm/src/proto/gen/dxos/mesh/bridge.d.ts +5 -5
  65. package/dist/esm/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
  66. package/dist/esm/src/proto/gen/dxos/mesh/signal.d.ts +4 -4
  67. package/dist/esm/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
  68. package/dist/esm/src/proto/gen/dxos/mesh/teleport/auth.d.ts +2 -1
  69. package/dist/esm/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
  70. package/dist/esm/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts +3 -2
  71. package/dist/esm/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts.map +1 -1
  72. package/dist/esm/src/proto/gen/dxos/mesh/teleport/control.d.ts +3 -2
  73. package/dist/esm/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
  74. package/dist/esm/src/proto/gen/dxos/mesh/teleport/gossip.d.ts +2 -1
  75. package/dist/esm/src/proto/gen/dxos/mesh/teleport/gossip.d.ts.map +1 -1
  76. package/dist/esm/src/proto/gen/dxos/mesh/teleport/notarization.d.ts +2 -1
  77. package/dist/esm/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
  78. package/dist/esm/src/proto/gen/dxos/mesh/teleport/replicator.d.ts +4 -3
  79. package/dist/esm/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
  80. package/dist/esm/src/proto/gen/dxos/service/publisher.d.ts +4 -3
  81. package/dist/esm/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
  82. package/dist/esm/src/proto/gen/dxos/service/supervisor.d.ts +6 -5
  83. package/dist/esm/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
  84. package/dist/esm/src/proto/gen/dxos/service/tunnel.d.ts +3 -2
  85. package/dist/esm/src/proto/gen/dxos/service/tunnel.d.ts.map +1 -1
  86. package/dist/esm/src/proto/gen/dxos/tracing.d.ts +2 -2
  87. package/dist/esm/src/proto/gen/dxos/tracing.d.ts.map +1 -1
  88. package/dist/esm/src/proto/gen/example/testing/rpc.d.ts +8 -8
  89. package/dist/esm/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
  90. package/package.json +5 -5
  91. package/src/proto/gen/dxos/agent/dashboard.ts +3 -3
  92. package/src/proto/gen/dxos/agent/echoproxy.ts +1 -1
  93. package/src/proto/gen/dxos/agent/epoch.ts +1 -1
  94. package/src/proto/gen/dxos/agent/functions.ts +3 -3
  95. package/src/proto/gen/dxos/agent/query.ts +1 -1
  96. package/src/proto/gen/dxos/bot.ts +14 -14
  97. package/src/proto/gen/dxos/client/services.ts +205 -205
  98. package/src/proto/gen/dxos/config.ts +1 -1
  99. package/src/proto/gen/dxos/devtools/host.ts +24 -24
  100. package/src/proto/gen/dxos/devtools/swarm.ts +1 -1
  101. package/src/proto/gen/dxos/echo/blob.ts +1 -1
  102. package/src/proto/gen/dxos/echo/feed.ts +1 -1
  103. package/src/proto/gen/dxos/echo/filter.ts +1 -1
  104. package/src/proto/gen/dxos/echo/metadata.ts +1 -1
  105. package/src/proto/gen/dxos/echo/model/document.ts +1 -1
  106. package/src/proto/gen/dxos/echo/model/messenger.ts +1 -1
  107. package/src/proto/gen/dxos/echo/model/text.ts +1 -1
  108. package/src/proto/gen/dxos/echo/object.ts +1 -1
  109. package/src/proto/gen/dxos/echo/service.ts +4 -4
  110. package/src/proto/gen/dxos/echo/snapshot.ts +1 -1
  111. package/src/proto/gen/dxos/echo/timeframe.ts +1 -1
  112. package/src/proto/gen/dxos/error.ts +1 -1
  113. package/src/proto/gen/dxos/gravity.ts +1 -1
  114. package/src/proto/gen/dxos/halo/credentials/auth.ts +1 -1
  115. package/src/proto/gen/dxos/halo/credentials/greet.ts +1 -1
  116. package/src/proto/gen/dxos/halo/credentials/identity.ts +1 -1
  117. package/src/proto/gen/dxos/halo/credentials.ts +1 -1
  118. package/src/proto/gen/dxos/halo/invitations.ts +5 -5
  119. package/src/proto/gen/dxos/halo/keyring.ts +1 -1
  120. package/src/proto/gen/dxos/halo/keys.ts +1 -1
  121. package/src/proto/gen/dxos/halo/signed.ts +1 -1
  122. package/src/proto/gen/dxos/iframe.ts +5 -5
  123. package/src/proto/gen/dxos/keys.ts +1 -1
  124. package/src/proto/gen/dxos/mesh/bridge.ts +5 -5
  125. package/src/proto/gen/dxos/mesh/broadcast.ts +1 -1
  126. package/src/proto/gen/dxos/mesh/messaging.ts +1 -1
  127. package/src/proto/gen/dxos/mesh/muxer.ts +1 -1
  128. package/src/proto/gen/dxos/mesh/presence.ts +1 -1
  129. package/src/proto/gen/dxos/mesh/protocol.ts +1 -1
  130. package/src/proto/gen/dxos/mesh/replicator.ts +1 -1
  131. package/src/proto/gen/dxos/mesh/signal.ts +4 -4
  132. package/src/proto/gen/dxos/mesh/swarm.ts +1 -1
  133. package/src/proto/gen/dxos/mesh/teleport/auth.ts +2 -2
  134. package/src/proto/gen/dxos/mesh/teleport/blobsync.ts +3 -3
  135. package/src/proto/gen/dxos/mesh/teleport/control.ts +3 -3
  136. package/src/proto/gen/dxos/mesh/teleport/gossip.ts +2 -2
  137. package/src/proto/gen/dxos/mesh/teleport/notarization.ts +2 -2
  138. package/src/proto/gen/dxos/mesh/teleport/replicator.ts +4 -4
  139. package/src/proto/gen/dxos/registry.ts +1 -1
  140. package/src/proto/gen/dxos/rpc.ts +1 -1
  141. package/src/proto/gen/dxos/service/publisher.ts +4 -4
  142. package/src/proto/gen/dxos/service/supervisor.ts +6 -6
  143. package/src/proto/gen/dxos/service/tunnel.ts +3 -3
  144. package/src/proto/gen/dxos/tracing.ts +2 -2
  145. package/src/proto/gen/dxos/type.ts +1 -1
  146. package/src/proto/gen/dxos/value.ts +1 -1
  147. package/src/proto/gen/example/testing/data.ts +1 -1
  148. package/src/proto/gen/example/testing/rpc.ts +8 -8
  149. package/src/proto/gen/google/protobuf.ts +1 -1
@@ -1,4 +1,4 @@
1
- import type { Stream } from "@dxos/codec-protobuf";
1
+ import type { Stream, RequestOptions } from "@dxos/codec-protobuf";
2
2
  import * as dxos_config from "../config";
3
3
  /**
4
4
  * Defined in:
@@ -51,7 +51,7 @@ export interface PluginState {
51
51
  * {@link file://./../../../dxos/agent/dashboard.proto}
52
52
  */
53
53
  export interface DashboardService {
54
- status: (request: void) => Stream<AgentStatus>;
55
- changePluginConfig: (request: PluginState) => Promise<void>;
54
+ status: (request: void, options?: RequestOptions) => Stream<AgentStatus>;
55
+ changePluginConfig: (request: PluginState, options?: RequestOptions) => Promise<void>;
56
56
  }
57
57
  //# sourceMappingURL=dashboard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/gen/dxos/agent/dashboard.ts"],"names":[],"mappings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AC,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;CAC3B;AACD,yBAAiB,WAAW,CAAC;IACzB;;;OAGG;IACH,KAAY,MAAM;QACd,EAAE,IAAI;QACN,GAAG,IAAI;KACV;IACD;;;OAGG;IACH,UAAiB,MAAM;QACnB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AACD;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC;CAC5C;AACD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC7B,MAAM,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,MAAM,CAAC,WAAW,CAAC,CAAC;IACzE,kBAAkB,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACzF"}
@@ -1,3 +1,4 @@
1
+ import type { RequestOptions } from "@dxos/codec-protobuf";
1
2
  /**
2
3
  * Defined in:
3
4
  * {@link file://./../../../dxos/agent/functions.proto}
@@ -43,7 +44,7 @@ export interface UnregisterRequest {
43
44
  * {@link file://./../../../dxos/agent/functions.proto}
44
45
  */
45
46
  export interface FunctionRegistryService {
46
- register: (request: RegisterRequest) => Promise<RegisterResponse>;
47
- unregister: (request: UnregisterRequest) => Promise<void>;
47
+ register: (request: RegisterRequest, options?: RequestOptions) => Promise<RegisterResponse>;
48
+ unregister: (request: UnregisterRequest, options?: RequestOptions) => Promise<void>;
48
49
  }
49
50
  //# sourceMappingURL=functions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/gen/dxos/agent/functions.ts"],"names":[],"mappings":"AA4DA;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AACD;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,MAAM,CAAC;CAChB;AACD;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CAC1B;AACD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC7B,cAAc,EAAE,MAAM,CAAC;CAC1B;AACD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,cAAc,EAAE,MAAM,CAAC;CAC1B;AACD;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACpC,QAAQ,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAClE,UAAU,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7D"}
1
+ {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/gen/dxos/agent/functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,cAAc,EAAE,MAAM,sBAAsB,CAAC;AA4DnE;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AACD;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,MAAM,CAAC;CAChB;AACD;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CAC1B;AACD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC7B,cAAc,EAAE,MAAM,CAAC;CAC1B;AACD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,cAAc,EAAE,MAAM,CAAC;CAC1B;AACD;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACpC,QAAQ,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC5F,UAAU,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACvF"}
@@ -1,4 +1,4 @@
1
- import type { Stream } from "@dxos/codec-protobuf";
1
+ import type { Stream, RequestOptions } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../substitutions";
3
3
  import * as dxos_client_services from "./client/services";
4
4
  import * as dxos_config from "./config";
@@ -190,14 +190,14 @@ export interface BotReport {
190
190
  * {@link file://./../../dxos/bot.proto}
191
191
  */
192
192
  export interface BotFactoryService {
193
- getBots: (request: void) => Promise<GetBotsResponse>;
194
- spawnBot: (request: SpawnBotRequest) => Promise<Bot>;
195
- start: (request: Bot) => Promise<Bot>;
196
- stop: (request: Bot) => Promise<Bot>;
197
- remove: (request: Bot) => Promise<void>;
198
- getLogs: (request: GetLogsRequest) => Stream<GetLogsResponse>;
199
- sendCommand: (request: SendCommandRequest) => Promise<SendCommandResponse>;
200
- removeAll: (request: void) => Promise<void>;
193
+ getBots: (request: void, options?: RequestOptions) => Promise<GetBotsResponse>;
194
+ spawnBot: (request: SpawnBotRequest, options?: RequestOptions) => Promise<Bot>;
195
+ start: (request: Bot, options?: RequestOptions) => Promise<Bot>;
196
+ stop: (request: Bot, options?: RequestOptions) => Promise<Bot>;
197
+ remove: (request: Bot, options?: RequestOptions) => Promise<void>;
198
+ getLogs: (request: GetLogsRequest, options?: RequestOptions) => Stream<GetLogsResponse>;
199
+ sendCommand: (request: SendCommandRequest, options?: RequestOptions) => Promise<SendCommandResponse>;
200
+ removeAll: (request: void, options?: RequestOptions) => Promise<void>;
201
201
  }
202
202
  /**
203
203
  * Defined in:
@@ -246,22 +246,22 @@ export interface BotService {
246
246
  /**
247
247
  * Initialize Client, create profile, and join a space.
248
248
  */
249
- initialize: (request: InitializeRequest) => Promise<void>;
249
+ initialize: (request: InitializeRequest, options?: RequestOptions) => Promise<void>;
250
250
  /**
251
251
  * Start an initialized bot.
252
252
  */
253
- start: (request: StartRequest) => Promise<void>;
253
+ start: (request: StartRequest, options?: RequestOptions) => Promise<void>;
254
254
  /**
255
255
  * Custom commands sent to the bot factory.
256
256
  */
257
- command: (request: SendCommandRequest) => Promise<SendCommandResponse>;
257
+ command: (request: SendCommandRequest, options?: RequestOptions) => Promise<SendCommandResponse>;
258
258
  /**
259
259
  * Stop the bot.
260
260
  */
261
- stop: (request: void) => Promise<void>;
261
+ stop: (request: void, options?: RequestOptions) => Promise<void>;
262
262
  /**
263
263
  * Send periodic reports of the bot's state.
264
264
  */
265
- startReporting: (request: void) => Stream<BotReport>;
265
+ startReporting: (request: void, options?: RequestOptions) => Stream<BotReport>;
266
266
  }
267
267
  //# sourceMappingURL=bot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bot.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/bot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,aAAa,MAAM,qBAAqB,CAAC;AAMhD,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,WAAW,MAAM,UAAU,CAAC;AAoDxC;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AACD;;;GAGG;AACH,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC;IACpB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;;OAEG;IACH,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjE;;OAEG;IACH,cAAc,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,MAAM,CAAC,SAAS,CAAC,CAAC;CAClF"}
@@ -1,4 +1,4 @@
1
- import type { Stream } from "@dxos/codec-protobuf";
1
+ import type { Stream, RequestOptions } from "@dxos/codec-protobuf";
2
2
  import substitutions from "../../../substitutions";
3
3
  import * as dxos_config from "../config";
4
4
  import * as dxos_echo_metadata from "../echo/metadata";
@@ -8,181 +8,6 @@ import * as dxos_mesh_presence from "../mesh/presence";
8
8
  import * as dxos_mesh_signal from "../mesh/signal";
9
9
  import * as dxos_mesh_teleport_gossip from "../mesh/teleport/gossip";
10
10
  import * as dxos_value from "../value";
11
- /**
12
- * Defined in:
13
- * {@link file://./../../../dxos/client/logging.proto}
14
- */
15
- export interface Metrics {
16
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
17
- values?: Metrics.KeyPair[];
18
- }
19
- export declare namespace Metrics {
20
- /**
21
- * Defined in:
22
- * {@link file://./../../../dxos/client/logging.proto}
23
- */
24
- interface KeyPair {
25
- /**
26
- * Options:
27
- * - proto3_optional = true
28
- */
29
- key?: string;
30
- /**
31
- * Options:
32
- * - proto3_optional = true
33
- */
34
- value?: dxos_value.Value;
35
- /**
36
- * Options:
37
- * - proto3_optional = true
38
- */
39
- stats?: dxos_value.Stats;
40
- }
41
- }
42
- /**
43
- * Defined in:
44
- * {@link file://./../../../dxos/client/logging.proto}
45
- */
46
- export interface ControlMetricsRequest {
47
- /**
48
- * Options:
49
- * - proto3_optional = true
50
- */
51
- reset?: boolean;
52
- /**
53
- * Options:
54
- * - proto3_optional = true
55
- */
56
- record?: boolean;
57
- }
58
- /**
59
- * Defined in:
60
- * {@link file://./../../../dxos/client/logging.proto}
61
- */
62
- export interface ControlMetricsResponse {
63
- /**
64
- * Options:
65
- * - proto3_optional = true
66
- */
67
- recording?: boolean;
68
- }
69
- /**
70
- * Defined in:
71
- * {@link file://./../../../dxos/client/logging.proto}
72
- */
73
- export interface QueryMetricsRequest {
74
- /**
75
- * Options:
76
- * - proto3_optional = true
77
- */
78
- interval?: number;
79
- }
80
- /**
81
- * Defined in:
82
- * {@link file://./../../../dxos/client/logging.proto}
83
- */
84
- export interface QueryMetricsResponse {
85
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
86
- metrics: Metrics;
87
- }
88
- /**
89
- * Defined in:
90
- * {@link file://./../../../dxos/client/logging.proto}
91
- */
92
- export declare enum LogLevel {
93
- TRACE = 5,
94
- DEBUG = 10,
95
- INFO = 11,
96
- WARN = 12,
97
- ERROR = 13
98
- }
99
- /**
100
- * Defined in:
101
- * {@link file://./../../../dxos/client/logging.proto}
102
- */
103
- export interface QueryLogsRequest {
104
- filters?: QueryLogsRequest.Filter[];
105
- /**
106
- * Options:
107
- * - proto3_optional = true
108
- */
109
- options?: QueryLogsRequest.MatchingOptions;
110
- }
111
- export declare namespace QueryLogsRequest {
112
- /**
113
- * Defined in:
114
- * {@link file://./../../../dxos/client/logging.proto}
115
- */
116
- enum MatchingOptions {
117
- INCLUSIVE = 1,
118
- EXPLICIT = 2
119
- }
120
- /**
121
- * Defined in:
122
- * {@link file://./../../../dxos/client/logging.proto}
123
- */
124
- interface Filter {
125
- level: LogLevel;
126
- /**
127
- * Options:
128
- * - proto3_optional = true
129
- */
130
- pattern?: string;
131
- }
132
- }
133
- /**
134
- * Defined in:
135
- * {@link file://./../../../dxos/client/logging.proto}
136
- */
137
- export interface LogEntry {
138
- level: LogLevel;
139
- message: string;
140
- /**
141
- * Options:
142
- * - proto3_optional = true
143
- */
144
- context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
145
- /**
146
- * Options:
147
- * - proto3_optional = true
148
- */
149
- meta?: LogEntry.Meta;
150
- /**
151
- * Options:
152
- * - proto3_optional = true
153
- */
154
- error?: dxos_error.Error;
155
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
156
- }
157
- export declare namespace LogEntry {
158
- /**
159
- * Defined in:
160
- * {@link file://./../../../dxos/client/logging.proto}
161
- */
162
- interface Meta {
163
- file: string;
164
- line: number;
165
- /**
166
- * Options:
167
- * - proto3_optional = true
168
- */
169
- scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
170
- /**
171
- * Options:
172
- * - proto3_optional = true
173
- */
174
- resourceId?: number;
175
- }
176
- }
177
- /**
178
- * Defined in:
179
- * {@link file://./../../../dxos/client/logging.proto}
180
- */
181
- export interface LoggingService {
182
- controlMetrics: (request: ControlMetricsRequest) => Promise<ControlMetricsResponse>;
183
- queryMetrics: (request: QueryMetricsRequest) => Stream<QueryMetricsResponse>;
184
- queryLogs: (request: QueryLogsRequest) => Stream<LogEntry>;
185
- }
186
11
  /**
187
12
  * Defined in:
188
13
  * {@link file://./../../../dxos/client/services.proto}
@@ -254,23 +79,23 @@ export interface SystemService {
254
79
  /**
255
80
  * Get the static config of the client.
256
81
  */
257
- getConfig: (request: void) => Promise<dxos_config.Config>;
82
+ getConfig: (request: void, options?: RequestOptions) => Promise<dxos_config.Config>;
258
83
  /**
259
84
  * Get the diagnostics snapshot.
260
85
  */
261
- getDiagnostics: (request: GetDiagnosticsRequest) => Promise<GetDiagnosticsResponse>;
86
+ getDiagnostics: (request: GetDiagnosticsRequest, options?: RequestOptions) => Promise<GetDiagnosticsResponse>;
262
87
  /**
263
88
  * Update the status of the client. Used to re-activate an inactive client.
264
89
  */
265
- updateStatus: (request: UpdateStatusRequest) => Promise<void>;
90
+ updateStatus: (request: UpdateStatusRequest, options?: RequestOptions) => Promise<void>;
266
91
  /**
267
92
  * Stream the status of the client.
268
93
  */
269
- queryStatus: (request: QueryStatusRequest) => Stream<QueryStatusResponse>;
94
+ queryStatus: (request: QueryStatusRequest, options?: RequestOptions) => Stream<QueryStatusResponse>;
270
95
  /**
271
96
  * Reset the client.
272
97
  */
273
- reset: (request: void) => Promise<void>;
98
+ reset: (request: void, options?: RequestOptions) => Promise<void>;
274
99
  }
275
100
  /**
276
101
  * Defined in:
@@ -324,11 +149,11 @@ export interface SignPresentationRequest {
324
149
  * {@link file://./../../../dxos/client/services.proto}
325
150
  */
326
151
  export interface IdentityService {
327
- createIdentity: (request: dxos_halo_credentials.ProfileDocument) => Promise<Identity>;
328
- recoverIdentity: (request: RecoverIdentityRequest) => Promise<Identity>;
329
- queryIdentity: (request: void) => Stream<QueryIdentityResponse>;
330
- updateProfile: (request: dxos_halo_credentials.ProfileDocument) => Promise<Identity>;
331
- signPresentation: (request: SignPresentationRequest) => Promise<dxos_halo_credentials.Presentation>;
152
+ createIdentity: (request: dxos_halo_credentials.ProfileDocument, options?: RequestOptions) => Promise<Identity>;
153
+ recoverIdentity: (request: RecoverIdentityRequest, options?: RequestOptions) => Promise<Identity>;
154
+ queryIdentity: (request: void, options?: RequestOptions) => Stream<QueryIdentityResponse>;
155
+ updateProfile: (request: dxos_halo_credentials.ProfileDocument, options?: RequestOptions) => Promise<Identity>;
156
+ signPresentation: (request: SignPresentationRequest, options?: RequestOptions) => Promise<dxos_halo_credentials.Presentation>;
332
157
  }
333
158
  /**
334
159
  * Defined in:
@@ -363,8 +188,8 @@ export interface QueryDevicesResponse {
363
188
  * {@link file://./../../../dxos/client/services.proto}
364
189
  */
365
190
  export interface DevicesService {
366
- updateDevice: (request: dxos_halo_credentials.DeviceProfileDocument) => Promise<Device>;
367
- queryDevices: (request: void) => Stream<QueryDevicesResponse>;
191
+ updateDevice: (request: dxos_halo_credentials.DeviceProfileDocument, options?: RequestOptions) => Promise<Device>;
192
+ queryDevices: (request: void, options?: RequestOptions) => Stream<QueryDevicesResponse>;
368
193
  }
369
194
  /**
370
195
  * Defined in:
@@ -378,8 +203,8 @@ export interface Contact {
378
203
  * {@link file://./../../../dxos/client/services.proto}
379
204
  */
380
205
  export interface ContactsService {
381
- updateContact: (request: void) => Promise<Contact>;
382
- queryContacts: (request: void) => Stream<Contact>;
206
+ updateContact: (request: void, options?: RequestOptions) => Promise<Contact>;
207
+ queryContacts: (request: void, options?: RequestOptions) => Stream<Contact>;
383
208
  }
384
209
  /**
385
210
  * Defined in:
@@ -652,26 +477,26 @@ export interface CreateEpochRequest {
652
477
  * {@link file://./../../../dxos/client/services.proto}
653
478
  */
654
479
  export interface SpacesService {
655
- createSpace: (request: void) => Promise<Space>;
656
- updateSpace: (request: UpdateSpaceRequest) => Promise<void>;
657
- querySpaces: (request: void) => Stream<QuerySpacesResponse>;
480
+ createSpace: (request: void, options?: RequestOptions) => Promise<Space>;
481
+ updateSpace: (request: UpdateSpaceRequest, options?: RequestOptions) => Promise<void>;
482
+ querySpaces: (request: void, options?: RequestOptions) => Stream<QuerySpacesResponse>;
658
483
  /**
659
484
  * Broadcast an ephemeral message to the space swarm.
660
485
  */
661
- postMessage: (request: PostMessageRequest) => Promise<void>;
486
+ postMessage: (request: PostMessageRequest, options?: RequestOptions) => Promise<void>;
662
487
  /**
663
488
  * Subscribe to messages from the space swarm.
664
489
  */
665
- subscribeMessages: (request: SubscribeMessagesRequest) => Stream<dxos_mesh_teleport_gossip.GossipMessage>;
490
+ subscribeMessages: (request: SubscribeMessagesRequest, options?: RequestOptions) => Stream<dxos_mesh_teleport_gossip.GossipMessage>;
666
491
  /**
667
492
  * Write credentials to the space control feed.
668
493
  */
669
- writeCredentials: (request: WriteCredentialsRequest) => Promise<void>;
494
+ writeCredentials: (request: WriteCredentialsRequest, options?: RequestOptions) => Promise<void>;
670
495
  /**
671
496
  * Query credentials from the space control feed.
672
497
  */
673
- queryCredentials: (request: QueryCredentialsRequest) => Stream<dxos_halo_credentials.Credential>;
674
- createEpoch: (request: CreateEpochRequest) => Promise<void>;
498
+ queryCredentials: (request: QueryCredentialsRequest, options?: RequestOptions) => Stream<dxos_halo_credentials.Credential>;
499
+ createEpoch: (request: CreateEpochRequest, options?: RequestOptions) => Promise<void>;
675
500
  }
676
501
  /**
677
502
  * Represents the invitation state passed between client and service.
@@ -830,11 +655,11 @@ export declare namespace QueryInvitationsResponse {
830
655
  * {@link file://./../../../dxos/client/services.proto}
831
656
  */
832
657
  export interface InvitationsService {
833
- createInvitation: (request: Invitation) => Stream<Invitation>;
834
- acceptInvitation: (request: Invitation) => Stream<Invitation>;
835
- authenticate: (request: AuthenticationRequest) => Promise<void>;
836
- cancelInvitation: (request: CancelInvitationRequest) => Promise<void>;
837
- queryInvitations: (request: void) => Stream<QueryInvitationsResponse>;
658
+ createInvitation: (request: Invitation, options?: RequestOptions) => Stream<Invitation>;
659
+ acceptInvitation: (request: Invitation, options?: RequestOptions) => Stream<Invitation>;
660
+ authenticate: (request: AuthenticationRequest, options?: RequestOptions) => Promise<void>;
661
+ cancelInvitation: (request: CancelInvitationRequest, options?: RequestOptions) => Promise<void>;
662
+ queryInvitations: (request: void, options?: RequestOptions) => Stream<QueryInvitationsResponse>;
838
663
  }
839
664
  /**
840
665
  * Defined in:
@@ -874,7 +699,182 @@ export interface UpdateConfigRequest {
874
699
  * {@link file://./../../../dxos/client/services.proto}
875
700
  */
876
701
  export interface NetworkService {
877
- updateConfig: (request: UpdateConfigRequest) => Promise<void>;
878
- queryStatus: (request: void) => Stream<NetworkStatus>;
702
+ updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
703
+ queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
704
+ }
705
+ /**
706
+ * Defined in:
707
+ * {@link file://./../../../dxos/client/logging.proto}
708
+ */
709
+ export interface Metrics {
710
+ timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
711
+ values?: Metrics.KeyPair[];
712
+ }
713
+ export declare namespace Metrics {
714
+ /**
715
+ * Defined in:
716
+ * {@link file://./../../../dxos/client/logging.proto}
717
+ */
718
+ interface KeyPair {
719
+ /**
720
+ * Options:
721
+ * - proto3_optional = true
722
+ */
723
+ key?: string;
724
+ /**
725
+ * Options:
726
+ * - proto3_optional = true
727
+ */
728
+ value?: dxos_value.Value;
729
+ /**
730
+ * Options:
731
+ * - proto3_optional = true
732
+ */
733
+ stats?: dxos_value.Stats;
734
+ }
735
+ }
736
+ /**
737
+ * Defined in:
738
+ * {@link file://./../../../dxos/client/logging.proto}
739
+ */
740
+ export interface ControlMetricsRequest {
741
+ /**
742
+ * Options:
743
+ * - proto3_optional = true
744
+ */
745
+ reset?: boolean;
746
+ /**
747
+ * Options:
748
+ * - proto3_optional = true
749
+ */
750
+ record?: boolean;
751
+ }
752
+ /**
753
+ * Defined in:
754
+ * {@link file://./../../../dxos/client/logging.proto}
755
+ */
756
+ export interface ControlMetricsResponse {
757
+ /**
758
+ * Options:
759
+ * - proto3_optional = true
760
+ */
761
+ recording?: boolean;
762
+ }
763
+ /**
764
+ * Defined in:
765
+ * {@link file://./../../../dxos/client/logging.proto}
766
+ */
767
+ export interface QueryMetricsRequest {
768
+ /**
769
+ * Options:
770
+ * - proto3_optional = true
771
+ */
772
+ interval?: number;
773
+ }
774
+ /**
775
+ * Defined in:
776
+ * {@link file://./../../../dxos/client/logging.proto}
777
+ */
778
+ export interface QueryMetricsResponse {
779
+ timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
780
+ metrics: Metrics;
781
+ }
782
+ /**
783
+ * Defined in:
784
+ * {@link file://./../../../dxos/client/logging.proto}
785
+ */
786
+ export declare enum LogLevel {
787
+ TRACE = 5,
788
+ DEBUG = 10,
789
+ INFO = 11,
790
+ WARN = 12,
791
+ ERROR = 13
792
+ }
793
+ /**
794
+ * Defined in:
795
+ * {@link file://./../../../dxos/client/logging.proto}
796
+ */
797
+ export interface QueryLogsRequest {
798
+ filters?: QueryLogsRequest.Filter[];
799
+ /**
800
+ * Options:
801
+ * - proto3_optional = true
802
+ */
803
+ options?: QueryLogsRequest.MatchingOptions;
804
+ }
805
+ export declare namespace QueryLogsRequest {
806
+ /**
807
+ * Defined in:
808
+ * {@link file://./../../../dxos/client/logging.proto}
809
+ */
810
+ enum MatchingOptions {
811
+ INCLUSIVE = 1,
812
+ EXPLICIT = 2
813
+ }
814
+ /**
815
+ * Defined in:
816
+ * {@link file://./../../../dxos/client/logging.proto}
817
+ */
818
+ interface Filter {
819
+ level: LogLevel;
820
+ /**
821
+ * Options:
822
+ * - proto3_optional = true
823
+ */
824
+ pattern?: string;
825
+ }
826
+ }
827
+ /**
828
+ * Defined in:
829
+ * {@link file://./../../../dxos/client/logging.proto}
830
+ */
831
+ export interface LogEntry {
832
+ level: LogLevel;
833
+ message: string;
834
+ /**
835
+ * Options:
836
+ * - proto3_optional = true
837
+ */
838
+ context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
839
+ /**
840
+ * Options:
841
+ * - proto3_optional = true
842
+ */
843
+ meta?: LogEntry.Meta;
844
+ /**
845
+ * Options:
846
+ * - proto3_optional = true
847
+ */
848
+ error?: dxos_error.Error;
849
+ timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
850
+ }
851
+ export declare namespace LogEntry {
852
+ /**
853
+ * Defined in:
854
+ * {@link file://./../../../dxos/client/logging.proto}
855
+ */
856
+ interface Meta {
857
+ file: string;
858
+ line: number;
859
+ /**
860
+ * Options:
861
+ * - proto3_optional = true
862
+ */
863
+ scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
864
+ /**
865
+ * Options:
866
+ * - proto3_optional = true
867
+ */
868
+ resourceId?: number;
869
+ }
870
+ }
871
+ /**
872
+ * Defined in:
873
+ * {@link file://./../../../dxos/client/logging.proto}
874
+ */
875
+ export interface LoggingService {
876
+ controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
877
+ queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
878
+ queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
879
879
  }
880
880
  //# sourceMappingURL=services.d.ts.map