@dxos/protocols 2.28.6-dev.27b17756 → 2.28.6-dev.50c5d54b
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/package.json +2 -2
- package/src/proto/dxos/bot.proto +6 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/protocols",
|
|
3
|
-
"version": "2.28.6-dev.
|
|
3
|
+
"version": "2.28.6-dev.50c5d54b",
|
|
4
4
|
"description": "Protobuf definitions for DXOS protocols.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "DXOS.org",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"src"
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@dxos/codec-protobuf": "2.28.6-dev.
|
|
14
|
+
"@dxos/codec-protobuf": "2.28.6-dev.50c5d54b"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@dxos/eslint-plugin": "~1.0.27",
|
package/src/proto/dxos/bot.proto
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
|
|
3
3
|
import "google/protobuf/empty.proto";
|
|
4
|
+
|
|
4
5
|
import "./client.proto";
|
|
5
6
|
import "./config.proto";
|
|
6
7
|
import "./echo/invitation.proto";
|
|
7
8
|
|
|
8
9
|
package dxos.bot;
|
|
9
10
|
|
|
11
|
+
// TODO(burdon): Rename.
|
|
10
12
|
message BotPackageSpecifier {
|
|
11
13
|
oneof kind {
|
|
12
|
-
string dxn = 1;
|
|
14
|
+
string dxn = 1; // TODO(burdon): name.
|
|
13
15
|
string ipfs_cid = 2;
|
|
14
16
|
string local_path = 3;
|
|
15
17
|
}
|
|
@@ -85,16 +87,16 @@ service BotFactoryService {
|
|
|
85
87
|
rpc GetBots(google.protobuf.Empty) returns (GetBotsResponse);
|
|
86
88
|
|
|
87
89
|
rpc SpawnBot(SpawnBotRequest) returns (Bot);
|
|
88
|
-
|
|
90
|
+
|
|
89
91
|
// TODO(dmaretskyi): Invitations.
|
|
90
92
|
|
|
91
93
|
rpc Start(Bot) returns (Bot);
|
|
92
94
|
rpc Stop(Bot) returns (Bot);
|
|
93
95
|
rpc Remove(Bot) returns (google.protobuf.Empty);
|
|
94
96
|
rpc GetLogs(GetLogsRequest) returns (stream GetLogsResponse);
|
|
95
|
-
|
|
97
|
+
|
|
96
98
|
// TODO(dmaretskyi): querying metrics/state.
|
|
97
|
-
|
|
99
|
+
|
|
98
100
|
rpc SendCommand(SendCommandRequest) returns (SendCommandResponse);
|
|
99
101
|
|
|
100
102
|
rpc RemoveAll(google.protobuf.Empty) returns (google.protobuf.Empty);
|