@dxos/protocols 0.3.3-main.f2ca85a → 0.3.3-main.ff5734a
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/cjs/src/proto/gen/dxos/agent/dashboard.d.ts +37 -13
- package/dist/cjs/src/proto/gen/dxos/agent/dashboard.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/agent/dashboard.js +5 -5
- package/dist/cjs/src/proto/gen/dxos/agent/dashboard.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/agent/{indexing.d.ts → search.d.ts} +6 -6
- package/dist/cjs/src/proto/gen/dxos/agent/search.d.ts.map +1 -0
- package/dist/cjs/src/proto/gen/dxos/agent/{indexing.js → search.js} +2 -2
- package/dist/cjs/src/proto/gen/dxos/agent/search.js.map +1 -0
- package/dist/cjs/src/proto/gen/dxos/config.d.ts +28 -3
- package/dist/cjs/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts +31 -31
- package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/tracing.d.ts +23 -0
- package/dist/cjs/src/proto/gen/dxos/tracing.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts +8 -8
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts +15 -11
- package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.js +1 -1
- package/dist/cjs/src/proto/gen/index.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/proto/gen/dxos/agent/dashboard.d.ts +37 -13
- package/dist/esm/src/proto/gen/dxos/agent/dashboard.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/agent/dashboard.js +4 -4
- package/dist/esm/src/proto/gen/dxos/agent/dashboard.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/agent/{indexing.d.ts → search.d.ts} +6 -6
- package/dist/esm/src/proto/gen/dxos/agent/search.d.ts.map +1 -0
- package/dist/esm/src/proto/gen/dxos/agent/{indexing.js → search.js} +2 -2
- package/dist/esm/src/proto/gen/dxos/agent/search.js.map +1 -0
- package/dist/esm/src/proto/gen/dxos/config.d.ts +28 -3
- package/dist/esm/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts +31 -31
- package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/tracing.d.ts +23 -0
- package/dist/esm/src/proto/gen/dxos/tracing.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.d.ts +8 -8
- package/dist/esm/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/esm/src/proto/gen/index.d.ts +15 -11
- package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.js +1 -1
- package/dist/esm/src/proto/gen/index.js.map +1 -1
- package/package.json +5 -5
- package/src/proto/dxos/agent/dashboard.proto +22 -8
- package/src/proto/dxos/agent/{indexing.proto → search.proto} +1 -2
- package/src/proto/dxos/config.proto +9 -3
- package/src/proto/dxos/tracing.proto +11 -0
- package/src/proto/gen/dxos/agent/dashboard.ts +36 -14
- package/src/proto/gen/dxos/agent/functions.ts +1 -1
- package/src/proto/gen/dxos/agent/{indexing.ts → search.ts} +5 -5
- package/src/proto/gen/dxos/bot.ts +1 -1
- package/src/proto/gen/dxos/client/services.ts +1 -1
- package/src/proto/gen/dxos/config.ts +29 -4
- package/src/proto/gen/dxos/devtools/host.ts +32 -32
- package/src/proto/gen/dxos/devtools/swarm.ts +1 -1
- package/src/proto/gen/dxos/echo/blob.ts +1 -1
- package/src/proto/gen/dxos/echo/feed.ts +1 -1
- package/src/proto/gen/dxos/echo/metadata.ts +1 -1
- package/src/proto/gen/dxos/echo/model/document.ts +1 -1
- package/src/proto/gen/dxos/echo/model/messenger.ts +1 -1
- package/src/proto/gen/dxos/echo/model/text.ts +1 -1
- package/src/proto/gen/dxos/echo/object.ts +1 -1
- package/src/proto/gen/dxos/echo/service.ts +1 -1
- package/src/proto/gen/dxos/echo/snapshot.ts +1 -1
- package/src/proto/gen/dxos/echo/timeframe.ts +1 -1
- package/src/proto/gen/dxos/error.ts +1 -1
- package/src/proto/gen/dxos/gravity.ts +1 -1
- package/src/proto/gen/dxos/halo/credentials/auth.ts +1 -1
- package/src/proto/gen/dxos/halo/credentials/greet.ts +1 -1
- package/src/proto/gen/dxos/halo/credentials/identity.ts +1 -1
- package/src/proto/gen/dxos/halo/credentials.ts +1 -1
- package/src/proto/gen/dxos/halo/invitations.ts +1 -1
- package/src/proto/gen/dxos/halo/keyring.ts +1 -1
- package/src/proto/gen/dxos/halo/keys.ts +1 -1
- package/src/proto/gen/dxos/halo/signed.ts +1 -1
- package/src/proto/gen/dxos/iframe.ts +1 -1
- package/src/proto/gen/dxos/keys.ts +1 -1
- package/src/proto/gen/dxos/mesh/bridge.ts +1 -1
- package/src/proto/gen/dxos/mesh/broadcast.ts +1 -1
- package/src/proto/gen/dxos/mesh/messaging.ts +1 -1
- package/src/proto/gen/dxos/mesh/muxer.ts +1 -1
- package/src/proto/gen/dxos/mesh/presence.ts +1 -1
- package/src/proto/gen/dxos/mesh/protocol.ts +1 -1
- package/src/proto/gen/dxos/mesh/replicator.ts +1 -1
- package/src/proto/gen/dxos/mesh/signal.ts +1 -1
- package/src/proto/gen/dxos/mesh/swarm.ts +1 -1
- package/src/proto/gen/dxos/mesh/teleport/auth.ts +1 -1
- package/src/proto/gen/dxos/mesh/teleport/blobsync.ts +1 -1
- package/src/proto/gen/dxos/mesh/teleport/control.ts +1 -1
- package/src/proto/gen/dxos/mesh/teleport/gossip.ts +1 -1
- package/src/proto/gen/dxos/mesh/teleport/notarization.ts +1 -1
- package/src/proto/gen/dxos/mesh/teleport/replicator.ts +1 -1
- package/src/proto/gen/dxos/registry.ts +1 -1
- package/src/proto/gen/dxos/rpc.ts +1 -1
- package/src/proto/gen/dxos/service/publisher.ts +1 -1
- package/src/proto/gen/dxos/service/supervisor.ts +1 -1
- package/src/proto/gen/dxos/service/tunnel.ts +1 -1
- package/src/proto/gen/dxos/tracing.ts +24 -1
- package/src/proto/gen/dxos/type.ts +1 -1
- package/src/proto/gen/dxos/value.ts +1 -1
- package/src/proto/gen/example/testing/data.ts +1 -1
- package/src/proto/gen/example/testing/rpc.ts +1 -1
- package/src/proto/gen/google/protobuf.ts +9 -9
- package/src/proto/gen/index.ts +16 -12
- package/dist/cjs/src/proto/gen/dxos/agent/indexing.d.ts.map +0 -1
- package/dist/cjs/src/proto/gen/dxos/agent/indexing.js.map +0 -1
- package/dist/esm/src/proto/gen/dxos/agent/indexing.d.ts.map +0 -1
- package/dist/esm/src/proto/gen/dxos/agent/indexing.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAyDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAyDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAigB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,km8FAAkm8F,CAAC,CAAC,CAAC;AAC3p8F,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/protocols",
|
|
3
|
-
"version": "0.3.3-main.
|
|
3
|
+
"version": "0.3.3-main.ff5734a",
|
|
4
4
|
"description": "Protobuf definitions for DXOS protocols.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"src"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@dxos/
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
36
|
+
"@dxos/codec-protobuf": "0.3.3-main.ff5734a",
|
|
37
|
+
"@dxos/invariant": "0.3.3-main.ff5734a",
|
|
38
|
+
"@dxos/keys": "0.3.3-main.ff5734a",
|
|
39
|
+
"@dxos/timeframe": "0.3.3-main.ff5734a"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"glob": "~7.1.6"
|
|
@@ -5,22 +5,36 @@
|
|
|
5
5
|
syntax = "proto3";
|
|
6
6
|
|
|
7
7
|
package dxos.agent.dashboard;
|
|
8
|
+
import "google/protobuf/empty.proto";
|
|
9
|
+
import "google/protobuf/struct.proto";
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
import "dxos/config.proto";
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
message DashboardResponse {
|
|
13
|
+
message AgentStatus {
|
|
14
14
|
enum Status {
|
|
15
15
|
ON = 0;
|
|
16
16
|
OFF = 1;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
message
|
|
20
|
-
|
|
21
|
-
string
|
|
19
|
+
message Memory {
|
|
20
|
+
/// The total amount of system memory in bytes as a string.
|
|
21
|
+
string total = 1;
|
|
22
|
+
/// The amount of free system memory in bytes as a string.
|
|
23
|
+
string free = 2;
|
|
24
|
+
string ram_usage = 3;
|
|
22
25
|
}
|
|
23
26
|
|
|
24
27
|
Status status = 1;
|
|
25
|
-
|
|
28
|
+
optional Memory memory = 2;
|
|
29
|
+
repeated PluginState plugins = 3;
|
|
26
30
|
}
|
|
31
|
+
|
|
32
|
+
message PluginState {
|
|
33
|
+
string plugin_id = 1;
|
|
34
|
+
google.protobuf.Struct plugin_config = 2;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
service DashboardService {
|
|
38
|
+
rpc status(google.protobuf.Empty) returns (stream AgentStatus);
|
|
39
|
+
rpc changePluginConfig(PluginState) returns (google.protobuf.Empty);
|
|
40
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
syntax = "proto3";
|
|
6
6
|
|
|
7
|
-
package dxos.agent.
|
|
7
|
+
package dxos.agent.search;
|
|
8
8
|
|
|
9
9
|
message SearchRequest {
|
|
10
10
|
enum Type {
|
|
@@ -14,7 +14,6 @@ message SearchRequest {
|
|
|
14
14
|
|
|
15
15
|
string query = 1;
|
|
16
16
|
Type type = 2;
|
|
17
|
-
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
message SearchResponse {
|
|
@@ -153,7 +153,8 @@ message Runtime {
|
|
|
153
153
|
message Agent {
|
|
154
154
|
message Plugins {
|
|
155
155
|
message Functions {
|
|
156
|
-
|
|
156
|
+
optional bool enabled = 1;
|
|
157
|
+
optional int32 port = 2;
|
|
157
158
|
}
|
|
158
159
|
|
|
159
160
|
/// Automatic epoch creation.
|
|
@@ -174,7 +175,7 @@ message Runtime {
|
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
/// Automatic index spaces
|
|
177
|
-
message
|
|
178
|
+
message Search {
|
|
178
179
|
optional bool enabled = 1;
|
|
179
180
|
}
|
|
180
181
|
|
|
@@ -183,9 +184,14 @@ message Runtime {
|
|
|
183
184
|
optional bool enabled = 1;
|
|
184
185
|
}
|
|
185
186
|
|
|
187
|
+
message EchoProxy {
|
|
188
|
+
optional bool enabled = 1;
|
|
189
|
+
optional int32 port = 2;
|
|
190
|
+
}
|
|
191
|
+
|
|
186
192
|
optional Functions functions = 1;
|
|
187
193
|
optional EpochMontior epoch_monitor = 2;
|
|
188
|
-
optional
|
|
194
|
+
optional Search search = 3;
|
|
189
195
|
optional Dashboard dashboard = 4;
|
|
190
196
|
}
|
|
191
197
|
|
|
@@ -72,6 +72,16 @@ message Metric {
|
|
|
72
72
|
optional string units = 2;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
message MultiCounter {
|
|
76
|
+
message Record {
|
|
77
|
+
string key = 1;
|
|
78
|
+
double value = 2;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
repeated Record records = 1;
|
|
82
|
+
optional string units = 2;
|
|
83
|
+
}
|
|
84
|
+
|
|
75
85
|
message TimeSeries {
|
|
76
86
|
message Point {
|
|
77
87
|
double value = 1;
|
|
@@ -96,6 +106,7 @@ message Metric {
|
|
|
96
106
|
oneof Value {
|
|
97
107
|
Counter counter = 100;
|
|
98
108
|
TimeSeries time_series = 101;
|
|
109
|
+
MultiCounter multi_counter = 102;
|
|
99
110
|
Custom custom = 199;
|
|
100
111
|
}
|
|
101
112
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Stream } from "@dxos/codec-protobuf";
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_functions from "./functions";
|
|
4
|
-
import * as
|
|
4
|
+
import * as dxos_agent_search from "./search";
|
|
5
5
|
import * as dxos_bot from "../bot";
|
|
6
6
|
import * as dxos_client_services from "../client/services";
|
|
7
7
|
import * as dxos_config from "../config";
|
|
@@ -59,17 +59,16 @@ import * as google_protobuf from "../../google/protobuf";
|
|
|
59
59
|
* Defined in:
|
|
60
60
|
* {@link file://./../../../dxos/agent/dashboard.proto}
|
|
61
61
|
*/
|
|
62
|
-
export interface
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
plugins?: DashboardResponse.Plugin[];
|
|
62
|
+
export interface AgentStatus {
|
|
63
|
+
status: AgentStatus.Status;
|
|
64
|
+
/**
|
|
65
|
+
* Options:
|
|
66
|
+
* - proto3_optional = true
|
|
67
|
+
*/
|
|
68
|
+
memory?: AgentStatus.Memory;
|
|
69
|
+
plugins?: PluginState[];
|
|
71
70
|
}
|
|
72
|
-
export namespace
|
|
71
|
+
export namespace AgentStatus {
|
|
73
72
|
/**
|
|
74
73
|
* Defined in:
|
|
75
74
|
* {@link file://./../../../dxos/agent/dashboard.proto}
|
|
@@ -82,8 +81,31 @@ export namespace DashboardResponse {
|
|
|
82
81
|
* Defined in:
|
|
83
82
|
* {@link file://./../../../dxos/agent/dashboard.proto}
|
|
84
83
|
*/
|
|
85
|
-
export interface
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
export interface Memory {
|
|
85
|
+
/**
|
|
86
|
+
* The total amount of system memory in bytes as a string.
|
|
87
|
+
*/
|
|
88
|
+
total: string;
|
|
89
|
+
/**
|
|
90
|
+
* The amount of free system memory in bytes as a string.
|
|
91
|
+
*/
|
|
92
|
+
free: string;
|
|
93
|
+
ramUsage: string;
|
|
88
94
|
}
|
|
89
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* Defined in:
|
|
98
|
+
* {@link file://./../../../dxos/agent/dashboard.proto}
|
|
99
|
+
*/
|
|
100
|
+
export interface PluginState {
|
|
101
|
+
pluginId: string;
|
|
102
|
+
pluginConfig: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Defined in:
|
|
106
|
+
* {@link file://./../../../dxos/agent/dashboard.proto}
|
|
107
|
+
*/
|
|
108
|
+
export interface DashboardService {
|
|
109
|
+
status: (request: void) => Stream<AgentStatus>;
|
|
110
|
+
changePluginConfig: (request: PluginState) => Promise<void>;
|
|
111
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Stream } from "@dxos/codec-protobuf";
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "./dashboard";
|
|
4
|
-
import * as
|
|
4
|
+
import * as dxos_agent_search from "./search";
|
|
5
5
|
import * as dxos_bot from "../bot";
|
|
6
6
|
import * as dxos_client_services from "../client/services";
|
|
7
7
|
import * as dxos_config from "../config";
|
|
@@ -57,7 +57,7 @@ import * as example_testing_rpc from "../../example/testing/rpc";
|
|
|
57
57
|
import * as google_protobuf from "../../google/protobuf";
|
|
58
58
|
/**
|
|
59
59
|
* Defined in:
|
|
60
|
-
* {@link file://./../../../dxos/agent/
|
|
60
|
+
* {@link file://./../../../dxos/agent/search.proto}
|
|
61
61
|
*/
|
|
62
62
|
export interface SearchRequest {
|
|
63
63
|
query: string;
|
|
@@ -66,7 +66,7 @@ export interface SearchRequest {
|
|
|
66
66
|
export namespace SearchRequest {
|
|
67
67
|
/**
|
|
68
68
|
* Defined in:
|
|
69
|
-
* {@link file://./../../../dxos/agent/
|
|
69
|
+
* {@link file://./../../../dxos/agent/search.proto}
|
|
70
70
|
*/
|
|
71
71
|
export enum Type {
|
|
72
72
|
EXACT = 0,
|
|
@@ -75,7 +75,7 @@ export namespace SearchRequest {
|
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
77
|
* Defined in:
|
|
78
|
-
* {@link file://./../../../dxos/agent/
|
|
78
|
+
* {@link file://./../../../dxos/agent/search.proto}
|
|
79
79
|
*/
|
|
80
80
|
export interface SearchResponse {
|
|
81
81
|
results?: SearchResponse.Result[];
|
|
@@ -83,7 +83,7 @@ export interface SearchResponse {
|
|
|
83
83
|
export namespace SearchResponse {
|
|
84
84
|
/**
|
|
85
85
|
* Defined in:
|
|
86
|
-
* {@link file://./../../../dxos/agent/
|
|
86
|
+
* {@link file://./../../../dxos/agent/search.proto}
|
|
87
87
|
*/
|
|
88
88
|
export interface Result {
|
|
89
89
|
spaceKey: string;
|
|
@@ -94,7 +94,7 @@ export namespace SearchResponse {
|
|
|
94
94
|
export namespace Result {
|
|
95
95
|
/**
|
|
96
96
|
* Defined in:
|
|
97
|
-
* {@link file://./../../../dxos/agent/
|
|
97
|
+
* {@link file://./../../../dxos/agent/search.proto}
|
|
98
98
|
*/
|
|
99
99
|
export interface Match {
|
|
100
100
|
term: string;
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "./agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "./agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "./agent/search";
|
|
6
6
|
import * as dxos_client_services from "./client/services";
|
|
7
7
|
import * as dxos_config from "./config";
|
|
8
8
|
import * as dxos_devtools_host from "./devtools/host";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_config from "../config";
|
|
8
8
|
import * as dxos_devtools_host from "../devtools/host";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "./agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "./agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "./agent/search";
|
|
6
6
|
import * as dxos_bot from "./bot";
|
|
7
7
|
import * as dxos_client_services from "./client/services";
|
|
8
8
|
import * as dxos_devtools_host from "./devtools/host";
|
|
@@ -456,7 +456,7 @@ export namespace Runtime {
|
|
|
456
456
|
* Options:
|
|
457
457
|
* - proto3_optional = true
|
|
458
458
|
*/
|
|
459
|
-
|
|
459
|
+
search?: Runtime.Agent.Plugins.Search;
|
|
460
460
|
/**
|
|
461
461
|
* Options:
|
|
462
462
|
* - proto3_optional = true
|
|
@@ -469,7 +469,16 @@ export namespace Runtime {
|
|
|
469
469
|
* {@link file://./../../dxos/config.proto}
|
|
470
470
|
*/
|
|
471
471
|
export interface Functions {
|
|
472
|
-
|
|
472
|
+
/**
|
|
473
|
+
* Options:
|
|
474
|
+
* - proto3_optional = true
|
|
475
|
+
*/
|
|
476
|
+
enabled?: boolean;
|
|
477
|
+
/**
|
|
478
|
+
* Options:
|
|
479
|
+
* - proto3_optional = true
|
|
480
|
+
*/
|
|
481
|
+
port?: number;
|
|
473
482
|
}
|
|
474
483
|
/**
|
|
475
484
|
* Automatic epoch creation.
|
|
@@ -518,7 +527,7 @@ export namespace Runtime {
|
|
|
518
527
|
* Defined in:
|
|
519
528
|
* {@link file://./../../dxos/config.proto}
|
|
520
529
|
*/
|
|
521
|
-
export interface
|
|
530
|
+
export interface Search {
|
|
522
531
|
/**
|
|
523
532
|
* Options:
|
|
524
533
|
* - proto3_optional = true
|
|
@@ -538,6 +547,22 @@ export namespace Runtime {
|
|
|
538
547
|
*/
|
|
539
548
|
enabled?: boolean;
|
|
540
549
|
}
|
|
550
|
+
/**
|
|
551
|
+
* Defined in:
|
|
552
|
+
* {@link file://./../../dxos/config.proto}
|
|
553
|
+
*/
|
|
554
|
+
export interface EchoProxy {
|
|
555
|
+
/**
|
|
556
|
+
* Options:
|
|
557
|
+
* - proto3_optional = true
|
|
558
|
+
*/
|
|
559
|
+
enabled?: boolean;
|
|
560
|
+
/**
|
|
561
|
+
* Options:
|
|
562
|
+
* - proto3_optional = true
|
|
563
|
+
*/
|
|
564
|
+
port?: number;
|
|
565
|
+
}
|
|
541
566
|
}
|
|
542
567
|
}
|
|
543
568
|
/**
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_client_services from "../client/services";
|
|
8
8
|
import * as dxos_config from "../config";
|
|
@@ -55,37 +55,6 @@ import * as dxos_value from "../value";
|
|
|
55
55
|
import * as example_testing_data from "../../example/testing/data";
|
|
56
56
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
57
57
|
import * as google_protobuf from "../../google/protobuf";
|
|
58
|
-
/**
|
|
59
|
-
* Defined in:
|
|
60
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
61
|
-
*/
|
|
62
|
-
export interface Services {
|
|
63
|
-
spaces?: SpaceStats[];
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Defined in:
|
|
67
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
68
|
-
*/
|
|
69
|
-
export interface SpaceStats {
|
|
70
|
-
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
71
|
-
peers?: PeerStats[];
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Defined in:
|
|
75
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
76
|
-
*/
|
|
77
|
-
export interface PeerStats {
|
|
78
|
-
controlFeed: FeedStats;
|
|
79
|
-
dataFeed: FeedStats;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Defined in:
|
|
83
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
84
|
-
*/
|
|
85
|
-
export interface FeedStats {
|
|
86
|
-
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
87
|
-
length: number;
|
|
88
|
-
}
|
|
89
58
|
/**
|
|
90
59
|
* Defined in:
|
|
91
60
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
@@ -508,3 +477,34 @@ export interface SubscribeToSwarmInfoRequest {
|
|
|
508
477
|
export interface SubscribeToSwarmInfoResponse {
|
|
509
478
|
data?: dxos_devtools_swarm.SwarmInfo[];
|
|
510
479
|
}
|
|
480
|
+
/**
|
|
481
|
+
* Defined in:
|
|
482
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
483
|
+
*/
|
|
484
|
+
export interface Services {
|
|
485
|
+
spaces?: SpaceStats[];
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Defined in:
|
|
489
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
490
|
+
*/
|
|
491
|
+
export interface SpaceStats {
|
|
492
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
493
|
+
peers?: PeerStats[];
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* Defined in:
|
|
497
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
498
|
+
*/
|
|
499
|
+
export interface PeerStats {
|
|
500
|
+
controlFeed: FeedStats;
|
|
501
|
+
dataFeed: FeedStats;
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* Defined in:
|
|
505
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
506
|
+
*/
|
|
507
|
+
export interface FeedStats {
|
|
508
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
509
|
+
length: number;
|
|
510
|
+
}
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_client_services from "../client/services";
|
|
8
8
|
import * as dxos_config from "../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_client_services from "../client/services";
|
|
8
8
|
import * as dxos_config from "../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_client_services from "../client/services";
|
|
8
8
|
import * as dxos_config from "../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_client_services from "../client/services";
|
|
8
8
|
import * as dxos_config from "../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../../agent/search";
|
|
6
6
|
import * as dxos_bot from "../../bot";
|
|
7
7
|
import * as dxos_client_services from "../../client/services";
|
|
8
8
|
import * as dxos_config from "../../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../../agent/search";
|
|
6
6
|
import * as dxos_bot from "../../bot";
|
|
7
7
|
import * as dxos_client_services from "../../client/services";
|
|
8
8
|
import * as dxos_config from "../../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../../agent/search";
|
|
6
6
|
import * as dxos_bot from "../../bot";
|
|
7
7
|
import * as dxos_client_services from "../../client/services";
|
|
8
8
|
import * as dxos_config from "../../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_client_services from "../client/services";
|
|
8
8
|
import * as dxos_config from "../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_client_services from "../client/services";
|
|
8
8
|
import * as dxos_config from "../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_client_services from "../client/services";
|
|
8
8
|
import * as dxos_config from "../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_client_services from "../client/services";
|
|
8
8
|
import * as dxos_config from "../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "./agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "./agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "./agent/search";
|
|
6
6
|
import * as dxos_bot from "./bot";
|
|
7
7
|
import * as dxos_client_services from "./client/services";
|
|
8
8
|
import * as dxos_config from "./config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "./agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "./agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "./agent/search";
|
|
6
6
|
import * as dxos_bot from "./bot";
|
|
7
7
|
import * as dxos_client_services from "./client/services";
|
|
8
8
|
import * as dxos_config from "./config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../../agent/search";
|
|
6
6
|
import * as dxos_bot from "../../bot";
|
|
7
7
|
import * as dxos_client_services from "../../client/services";
|
|
8
8
|
import * as dxos_config from "../../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../../agent/search";
|
|
6
6
|
import * as dxos_bot from "../../bot";
|
|
7
7
|
import * as dxos_client_services from "../../client/services";
|
|
8
8
|
import * as dxos_config from "../../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../../agent/search";
|
|
6
6
|
import * as dxos_bot from "../../bot";
|
|
7
7
|
import * as dxos_client_services from "../../client/services";
|
|
8
8
|
import * as dxos_config from "../../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_client_services from "../client/services";
|
|
8
8
|
import * as dxos_config from "../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_client_services from "../client/services";
|
|
8
8
|
import * as dxos_config from "../config";
|
|
@@ -2,7 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_functions from "../agent/functions";
|
|
5
|
-
import * as
|
|
5
|
+
import * as dxos_agent_search from "../agent/search";
|
|
6
6
|
import * as dxos_bot from "../bot";
|
|
7
7
|
import * as dxos_client_services from "../client/services";
|
|
8
8
|
import * as dxos_config from "../config";
|