@lage-run/rpc 1.2.0 → 1.2.2

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/CHANGELOG.json CHANGED
@@ -2,7 +2,37 @@
2
2
  "name": "@lage-run/rpc",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 13 Sep 2024 18:04:33 GMT",
5
+ "date": "Wed, 02 Oct 2024 20:25:42 GMT",
6
+ "version": "1.2.2",
7
+ "tag": "@lage-run/rpc_v1.2.2",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "kchau@microsoft.com",
12
+ "package": "@lage-run/rpc",
13
+ "commit": "6ecbd570669a07fa87429af5de13ec1adc58b864",
14
+ "comment": "Simulate file access for lage server"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Fri, 27 Sep 2024 20:03:49 GMT",
21
+ "version": "1.2.1",
22
+ "tag": "@lage-run/rpc_v1.2.1",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "kchau@microsoft.com",
27
+ "package": "@lage-run/rpc",
28
+ "commit": "2919f9041f931dc6ef65017f7aedb9fef9dab66d",
29
+ "comment": "Simulate file access for lage server"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Fri, 13 Sep 2024 18:05:04 GMT",
6
36
  "version": "1.2.0",
7
37
  "tag": "@lage-run/rpc_v1.2.0",
8
38
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,28 @@
1
1
  # Change Log - @lage-run/rpc
2
2
 
3
- <!-- This log was last generated on Fri, 13 Sep 2024 18:04:33 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Wed, 02 Oct 2024 20:25:42 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.2.2
8
+
9
+ Wed, 02 Oct 2024 20:25:42 GMT
10
+
11
+ ### Patches
12
+
13
+ - Simulate file access for lage server (kchau@microsoft.com)
14
+
15
+ ## 1.2.1
16
+
17
+ Fri, 27 Sep 2024 20:03:49 GMT
18
+
19
+ ### Patches
20
+
21
+ - Simulate file access for lage server (kchau@microsoft.com)
22
+
7
23
  ## 1.2.0
8
24
 
9
- Fri, 13 Sep 2024 18:04:33 GMT
25
+ Fri, 13 Sep 2024 18:05:04 GMT
10
26
 
11
27
  ### Minor changes
12
28
 
@@ -15,7 +15,8 @@ async function createServer(lageService, abortController) {
15
15
  const server = (0, _fastify.fastify)();
16
16
  await server.register(_connectfastify.fastifyConnectPlugin, {
17
17
  routes: (0, _createRoutes.createRoutes)(lageService),
18
- shutdownSignal: abortController.signal
18
+ shutdownSignal: abortController.signal,
19
+ compressMinBytes: 512
19
20
  });
20
21
  server.get("/", (_, reply)=>{
21
22
  reply.type("text/plain");
@@ -38,17 +38,29 @@ export declare class RunTargetRequest extends Message<RunTargetRequest> {
38
38
  */
39
39
  export declare class RunTargetResponse extends Message<RunTargetResponse> {
40
40
  /**
41
- * @generated from field: optional string package_name = 1;
41
+ * @generated from field: string id = 1;
42
+ */
43
+ id: string;
44
+ /**
45
+ * @generated from field: optional string package_name = 2;
42
46
  */
43
47
  packageName?: string;
44
48
  /**
45
- * @generated from field: string task = 2;
49
+ * @generated from field: string task = 3;
46
50
  */
47
51
  task: string;
48
52
  /**
49
- * @generated from field: int32 exit_code = 5;
53
+ * @generated from field: int32 exit_code = 4;
50
54
  */
51
55
  exitCode: number;
56
+ /**
57
+ * @generated from field: repeated string inputs = 5;
58
+ */
59
+ inputs: string[];
60
+ /**
61
+ * @generated from field: repeated string outputs = 6;
62
+ */
63
+ outputs: string[];
52
64
  constructor(data?: PartialMessage<RunTargetResponse>);
53
65
  static readonly runtime: typeof proto3;
54
66
  static readonly typeName = "connectrpc.lage.v1.RunTargetResponse";
@@ -124,14 +124,23 @@ class RunTargetResponse extends _protobuf.Message {
124
124
  constructor(data){
125
125
  super();
126
126
  /**
127
- * @generated from field: optional string package_name = 1;
127
+ * @generated from field: string id = 1;
128
+ */ _define_property(this, "id", "");
129
+ /**
130
+ * @generated from field: optional string package_name = 2;
128
131
  */ _define_property(this, "packageName", void 0);
129
132
  /**
130
- * @generated from field: string task = 2;
133
+ * @generated from field: string task = 3;
131
134
  */ _define_property(this, "task", "");
132
135
  /**
133
- * @generated from field: int32 exit_code = 5;
136
+ * @generated from field: int32 exit_code = 4;
134
137
  */ _define_property(this, "exitCode", 0);
138
+ /**
139
+ * @generated from field: repeated string inputs = 5;
140
+ */ _define_property(this, "inputs", []);
141
+ /**
142
+ * @generated from field: repeated string outputs = 6;
143
+ */ _define_property(this, "outputs", []);
135
144
  _protobuf.proto3.util.initPartial(data, this);
136
145
  }
137
146
  }
@@ -140,22 +149,42 @@ _define_property(RunTargetResponse, "typeName", "connectrpc.lage.v1.RunTargetRes
140
149
  _define_property(RunTargetResponse, "fields", _protobuf.proto3.util.newFieldList(()=>[
141
150
  {
142
151
  no: 1,
152
+ name: "id",
153
+ kind: "scalar",
154
+ T: 9 /* ScalarType.STRING */
155
+ },
156
+ {
157
+ no: 2,
143
158
  name: "package_name",
144
159
  kind: "scalar",
145
160
  T: 9 /* ScalarType.STRING */ ,
146
161
  opt: true
147
162
  },
148
163
  {
149
- no: 2,
164
+ no: 3,
150
165
  name: "task",
151
166
  kind: "scalar",
152
167
  T: 9 /* ScalarType.STRING */
153
168
  },
154
169
  {
155
- no: 5,
170
+ no: 4,
156
171
  name: "exit_code",
157
172
  kind: "scalar",
158
173
  T: 5 /* ScalarType.INT32 */
174
+ },
175
+ {
176
+ no: 5,
177
+ name: "inputs",
178
+ kind: "scalar",
179
+ T: 9 /* ScalarType.STRING */ ,
180
+ repeated: true
181
+ },
182
+ {
183
+ no: 6,
184
+ name: "outputs",
185
+ kind: "scalar",
186
+ T: 9 /* ScalarType.STRING */ ,
187
+ repeated: true
159
188
  }
160
189
  ]));
161
190
  class PingRequest extends _protobuf.Message {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lage-run/rpc",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "RPC server and client for Lage",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,9 +11,12 @@ message RunTargetRequest {
11
11
  }
12
12
 
13
13
  message RunTargetResponse {
14
- optional string package_name = 1;
15
- string task = 2;
16
- int32 exit_code = 5;
14
+ string id = 1;
15
+ optional string package_name = 2;
16
+ string task = 3;
17
+ int32 exit_code = 4;
18
+ repeated string inputs = 5;
19
+ repeated string outputs = 6;
17
20
  }
18
21
 
19
22
  message PingRequest {}