@lage-run/rpc 1.3.0 → 1.4.1

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,17 +2,40 @@
2
2
  "name": "@lage-run/rpc",
3
3
  "entries": [
4
4
  {
5
- "date": "Sat, 08 Mar 2025 02:33:56 GMT",
6
- "version": "1.3.0",
7
- "tag": "@lage-run/rpc_v1.3.0",
5
+ "date": "Thu, 15 Jan 2026 23:23:27 GMT",
6
+ "version": "1.4.1",
7
+ "tag": "@lage-run/rpc_v1.4.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "nemanjatesic@microsoft.com",
12
+ "package": "@lage-run/rpc",
13
+ "commit": "3d7ac61faadf82097fb2996431b537b2a9baa0e3",
14
+ "comment": "Add lint rule for no-floating-promises and fix several places"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Sat, 29 Mar 2025 02:16:38 GMT",
21
+ "version": "1.4.0",
22
+ "tag": "@lage-run/rpc_v1.4.0",
8
23
  "comments": {
9
24
  "minor": [
10
25
  {
11
26
  "author": "kchau@microsoft.com",
12
27
  "package": "@lage-run/rpc",
13
- "commit": "10cda62c08de4bd604d80b7d0ebb9aefbb865d70",
28
+ "commit": "a680ab60dcddd84808f223a1b5f38a16e868b66f",
14
29
  "comment": "cheat on optimization by leverage the fact that 'info' command is called before anything else ALWAYS in BXL"
15
30
  }
31
+ ],
32
+ "none": [
33
+ {
34
+ "author": "elcraig@microsoft.com",
35
+ "package": "@lage-run/rpc",
36
+ "commit": "a680ab60dcddd84808f223a1b5f38a16e868b66f",
37
+ "comment": "Sync versions, and use workspace:^ versions for local deps"
38
+ }
16
39
  ]
17
40
  }
18
41
  },
package/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # Change Log - @lage-run/rpc
2
2
 
3
- <!-- This log was last generated on Sat, 08 Mar 2025 02:33:56 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Thu, 15 Jan 2026 23:23:27 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 1.3.0
7
+ ## 1.4.1
8
8
 
9
- Sat, 08 Mar 2025 02:33:56 GMT
9
+ Thu, 15 Jan 2026 23:23:27 GMT
10
+
11
+ ### Patches
12
+
13
+ - Add lint rule for no-floating-promises and fix several places (nemanjatesic@microsoft.com)
14
+
15
+ ## 1.4.0
16
+
17
+ Sat, 29 Mar 2025 02:16:38 GMT
10
18
 
11
19
  ### Minor changes
12
20
 
@@ -3,7 +3,7 @@ export interface CreateClientOptions {
3
3
  httpVersion: "1.1" | "2";
4
4
  }
5
5
  export type LageClient = ReturnType<typeof createClient>;
6
- export declare function createClient({ baseUrl, httpVersion }: CreateClientOptions): import("@connectrpc/connect").PromiseClient<{
6
+ export declare function createClient({ baseUrl, httpVersion }: CreateClientOptions): import("@connectrpc/connect").Client<{
7
7
  readonly typeName: "connectrpc.lage.v1.LageService";
8
8
  readonly methods: {
9
9
  readonly runTarget: {
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
+ /// <reference types="node" />
3
4
  import type { ILageService } from "./types/ILageService.js";
4
- export declare function createServer(lageService: ILageService, abortController: AbortController): Promise<import("fastify").FastifyInstance<import("http2").Http2Server, import("http2").Http2ServerRequest, import("http2").Http2ServerResponse, import("fastify").FastifyBaseLogger, import("fastify").FastifyTypeProviderDefault>>;
5
+ export declare function createServer(lageService: ILageService, abortController: AbortController): Promise<import("fastify").FastifyInstance<import("http2").Http2Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse, typeof import("http2").Http2ServerRequest, typeof import("http2").Http2ServerResponse>, import("http2").Http2ServerRequest, import("http2").Http2ServerResponse<import("http2").Http2ServerRequest>, import("fastify").FastifyBaseLogger, import("fastify").FastifyTypeProviderDefault>>;
@@ -22,8 +22,8 @@ async function createServer(lageService, abortController) {
22
22
  grpc: true
23
23
  });
24
24
  server.get("/", (_, reply)=>{
25
- reply.type("text/plain");
26
- reply.send("lage service");
25
+ void reply.type("text/plain");
26
+ void reply.send("lage service");
27
27
  });
28
28
  return server;
29
29
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/createServer.ts"],"sourcesContent":["import { fastify } from \"fastify\";\nimport { fastifyConnectPlugin } from \"@connectrpc/connect-fastify\";\nimport { createRoutes } from \"./createRoutes.js\";\nimport type { ILageService } from \"./types/ILageService.js\";\n\nexport async function createServer(lageService: ILageService, abortController: AbortController) {\n const server = fastify({\n http2: true,\n });\n await server.register(fastifyConnectPlugin, {\n routes: createRoutes(lageService),\n shutdownSignal: abortController.signal,\n compressMinBytes: 512,\n grpc: true,\n });\n\n server.get(\"/\", (_, reply) => {\n reply.type(\"text/plain\");\n reply.send(\"lage service\");\n });\n\n return server;\n}\n"],"names":["createServer","lageService","abortController","server","fastify","http2","register","fastifyConnectPlugin","routes","createRoutes","shutdownSignal","signal","compressMinBytes","grpc","get","_","reply","type","send"],"mappings":";;;;+BAKsBA;;;eAAAA;;;yBALE;gCACa;8BACR;AAGtB,eAAeA,aAAaC,WAAyB,EAAEC,eAAgC;IAC5F,MAAMC,SAASC,IAAAA,gBAAO,EAAC;QACrBC,OAAO;IACT;IACA,MAAMF,OAAOG,QAAQ,CAACC,oCAAoB,EAAE;QAC1CC,QAAQC,IAAAA,0BAAY,EAACR;QACrBS,gBAAgBR,gBAAgBS,MAAM;QACtCC,kBAAkB;QAClBC,MAAM;IACR;IAEAV,OAAOW,GAAG,CAAC,KAAK,CAACC,GAAGC;QAClBA,MAAMC,IAAI,CAAC;QACXD,MAAME,IAAI,CAAC;IACb;IAEA,OAAOf;AACT"}
1
+ {"version":3,"sources":["../src/createServer.ts"],"sourcesContent":["import { fastify } from \"fastify\";\nimport { fastifyConnectPlugin } from \"@connectrpc/connect-fastify\";\nimport { createRoutes } from \"./createRoutes.js\";\nimport type { ILageService } from \"./types/ILageService.js\";\n\nexport async function createServer(lageService: ILageService, abortController: AbortController) {\n const server = fastify({\n http2: true,\n });\n await server.register(fastifyConnectPlugin, {\n routes: createRoutes(lageService),\n shutdownSignal: abortController.signal,\n compressMinBytes: 512,\n grpc: true,\n });\n\n server.get(\"/\", (_, reply) => {\n void reply.type(\"text/plain\");\n void reply.send(\"lage service\");\n });\n\n return server;\n}\n"],"names":["createServer","lageService","abortController","server","fastify","http2","register","fastifyConnectPlugin","routes","createRoutes","shutdownSignal","signal","compressMinBytes","grpc","get","_","reply","type","send"],"mappings":";;;;+BAKsBA;;;eAAAA;;;yBALE;gCACa;8BACR;AAGtB,eAAeA,aAAaC,WAAyB,EAAEC,eAAgC;IAC5F,MAAMC,SAASC,IAAAA,gBAAO,EAAC;QACrBC,OAAO;IACT;IACA,MAAMF,OAAOG,QAAQ,CAACC,oCAAoB,EAAE;QAC1CC,QAAQC,IAAAA,0BAAY,EAACR;QACrBS,gBAAgBR,gBAAgBS,MAAM;QACtCC,kBAAkB;QAClBC,MAAM;IACR;IAEAV,OAAOW,GAAG,CAAC,KAAK,CAACC,GAAGC;QAClB,KAAKA,MAAMC,IAAI,CAAC;QAChB,KAAKD,MAAME,IAAI,CAAC;IAClB;IAEA,OAAOf;AACT"}
@@ -8,20 +8,20 @@ Object.defineProperty(exports, "__esModule", {
8
8
  function _export(target, all) {
9
9
  for(var name in all)Object.defineProperty(target, name, {
10
10
  enumerable: true,
11
- get: all[name]
11
+ get: Object.getOwnPropertyDescriptor(all, name).get
12
12
  });
13
13
  }
14
14
  _export(exports, {
15
- PingRequest: function() {
15
+ get PingRequest () {
16
16
  return PingRequest;
17
17
  },
18
- PingResponse: function() {
18
+ get PingResponse () {
19
19
  return PingResponse;
20
20
  },
21
- RunTargetRequest: function() {
21
+ get RunTargetRequest () {
22
22
  return RunTargetRequest;
23
23
  },
24
- RunTargetResponse: function() {
24
+ get RunTargetResponse () {
25
25
  return RunTargetResponse;
26
26
  }
27
27
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/gen/lage/v1/lage_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file lage/v1/lage.proto (package connectrpc.lage.v1, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3 } from \"@bufbuild/protobuf\";\n\n/**\n * @generated from message connectrpc.lage.v1.RunTargetRequest\n */\nexport class RunTargetRequest extends Message<RunTargetRequest> {\n /**\n * @generated from field: optional string package_name = 1;\n */\n packageName?: string;\n\n /**\n * @generated from field: string task = 2;\n */\n task = \"\";\n\n /**\n * @generated from field: repeated string taskArgs = 3;\n */\n taskArgs: string[] = [];\n\n /**\n * @generated from field: string nodeOptions = 4;\n */\n nodeOptions = \"\";\n\n /**\n * @generated from field: string npmClient = 5;\n */\n npmClient = \"\";\n\n constructor(data?: PartialMessage<RunTargetRequest>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.RunTargetRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"package_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 2, name: \"task\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"taskArgs\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"nodeOptions\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"npmClient\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunTargetRequest {\n return new RunTargetRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunTargetRequest {\n return new RunTargetRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunTargetRequest {\n return new RunTargetRequest().fromJsonString(jsonString, options);\n }\n\n static equals(\n a: RunTargetRequest | PlainMessage<RunTargetRequest> | undefined,\n b: RunTargetRequest | PlainMessage<RunTargetRequest> | undefined\n ): boolean {\n return proto3.util.equals(RunTargetRequest, a, b);\n }\n}\n\n/**\n * @generated from message connectrpc.lage.v1.RunTargetResponse\n */\nexport class RunTargetResponse extends Message<RunTargetResponse> {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: optional string package_name = 2;\n */\n packageName?: string;\n\n /**\n * @generated from field: string cwd = 3;\n */\n cwd = \"\";\n\n /**\n * @generated from field: string task = 4;\n */\n task = \"\";\n\n /**\n * @generated from field: int32 exit_code = 5;\n */\n exitCode = 0;\n\n /**\n * @generated from field: repeated string inputs = 6;\n */\n inputs: string[] = [];\n\n /**\n * @generated from field: repeated string outputs = 7;\n */\n outputs: string[] = [];\n\n /**\n * @generated from field: string stdout = 8;\n */\n stdout = \"\";\n\n /**\n * @generated from field: string stderr = 9;\n */\n stderr = \"\";\n\n /**\n * @generated from field: string global_input_hash_file = 10;\n */\n globalInputHashFile = \"\";\n\n constructor(data?: PartialMessage<RunTargetResponse>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.RunTargetResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"package_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 3, name: \"cwd\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"task\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"exit_code\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 6, name: \"inputs\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 7, name: \"outputs\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 8, name: \"stdout\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"stderr\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"global_input_hash_file\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunTargetResponse {\n return new RunTargetResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunTargetResponse {\n return new RunTargetResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunTargetResponse {\n return new RunTargetResponse().fromJsonString(jsonString, options);\n }\n\n static equals(\n a: RunTargetResponse | PlainMessage<RunTargetResponse> | undefined,\n b: RunTargetResponse | PlainMessage<RunTargetResponse> | undefined\n ): boolean {\n return proto3.util.equals(RunTargetResponse, a, b);\n }\n}\n\n/**\n * @generated from message connectrpc.lage.v1.PingRequest\n */\nexport class PingRequest extends Message<PingRequest> {\n constructor(data?: PartialMessage<PingRequest>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.PingRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => []);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PingRequest {\n return new PingRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PingRequest {\n return new PingRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PingRequest {\n return new PingRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: PingRequest | PlainMessage<PingRequest> | undefined, b: PingRequest | PlainMessage<PingRequest> | undefined): boolean {\n return proto3.util.equals(PingRequest, a, b);\n }\n}\n\n/**\n * @generated from message connectrpc.lage.v1.PingResponse\n */\nexport class PingResponse extends Message<PingResponse> {\n /**\n * @generated from field: bool pong = 1;\n */\n pong = false;\n\n constructor(data?: PartialMessage<PingResponse>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.PingResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [{ no: 1, name: \"pong\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ }]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PingResponse {\n return new PingResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PingResponse {\n return new PingResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PingResponse {\n return new PingResponse().fromJsonString(jsonString, options);\n }\n\n static equals(\n a: PingResponse | PlainMessage<PingResponse> | undefined,\n b: PingResponse | PlainMessage<PingResponse> | undefined\n ): boolean {\n return proto3.util.equals(PingResponse, a, b);\n }\n}\n"],"names":["PingRequest","PingResponse","RunTargetRequest","RunTargetResponse","Message","fromBinary","bytes","options","fromJson","jsonValue","fromJsonString","jsonString","equals","a","b","proto3","util","constructor","data","packageName","task","taskArgs","nodeOptions","npmClient","initPartial","runtime","typeName","fields","newFieldList","no","name","kind","T","opt","repeated","id","cwd","exitCode","inputs","outputs","stdout","stderr","globalInputHashFile","pong"],"mappings":"AAAA,iEAAiE;AACjE,sFAAsF;AACtF,kBAAkB,GAClB,cAAc;;;;;;;;;;;;IAsKDA,WAAW;eAAXA;;IA8BAC,YAAY;eAAZA;;IA5LAC,gBAAgB;eAAhBA;;IAgEAC,iBAAiB;eAAjBA;;;0BArEmB;;;;;;;;;;;;;;AAKzB,MAAMD,yBAAyBE,iBAAO;IAyC3C,OAAOC,WAAWC,KAAiB,EAAEC,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"\n// @generated from file lage/v1/lage.proto (package connectrpc.lage.v1, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3 } from \"@bufbuild/protobuf\";\n\n/**\n * @generated from message connectrpc.lage.v1.RunTargetRequest\n */\nexport class RunTargetRequest extends Message<RunTargetRequest> {\n /**\n * @generated from field: optional string package_name = 1;\n */\n packageName?: string;\n\n /**\n * @generated from field: string task = 2;\n */\n task = \"\";\n\n /**\n * @generated from field: repeated string taskArgs = 3;\n */\n taskArgs: string[] = [];\n\n /**\n * @generated from field: string nodeOptions = 4;\n */\n nodeOptions = \"\";\n\n /**\n * @generated from field: string npmClient = 5;\n */\n npmClient = \"\";\n\n constructor(data?: PartialMessage<RunTargetRequest>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.RunTargetRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"package_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 2, name: \"task\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"taskArgs\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"nodeOptions\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"npmClient\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunTargetRequest {\n return new RunTargetRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunTargetRequest {\n return new RunTargetRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunTargetRequest {\n return new RunTargetRequest().fromJsonString(jsonString, options);\n }\n\n static equals(\n a: RunTargetRequest | PlainMessage<RunTargetRequest> | undefined,\n b: RunTargetRequest | PlainMessage<RunTargetRequest> | undefined\n ): boolean {\n return proto3.util.equals(RunTargetRequest, a, b);\n }\n}\n\n/**\n * @generated from message connectrpc.lage.v1.RunTargetResponse\n */\nexport class RunTargetResponse extends Message<RunTargetResponse> {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: optional string package_name = 2;\n */\n packageName?: string;\n\n /**\n * @generated from field: string cwd = 3;\n */\n cwd = \"\";\n\n /**\n * @generated from field: string task = 4;\n */\n task = \"\";\n\n /**\n * @generated from field: int32 exit_code = 5;\n */\n exitCode = 0;\n\n /**\n * @generated from field: repeated string inputs = 6;\n */\n inputs: string[] = [];\n\n /**\n * @generated from field: repeated string outputs = 7;\n */\n outputs: string[] = [];\n\n /**\n * @generated from field: string stdout = 8;\n */\n stdout = \"\";\n\n /**\n * @generated from field: string stderr = 9;\n */\n stderr = \"\";\n\n /**\n * @generated from field: string global_input_hash_file = 10;\n */\n globalInputHashFile = \"\";\n\n constructor(data?: PartialMessage<RunTargetResponse>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.RunTargetResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"package_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 3, name: \"cwd\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"task\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"exit_code\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 6, name: \"inputs\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 7, name: \"outputs\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 8, name: \"stdout\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"stderr\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"global_input_hash_file\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunTargetResponse {\n return new RunTargetResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunTargetResponse {\n return new RunTargetResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunTargetResponse {\n return new RunTargetResponse().fromJsonString(jsonString, options);\n }\n\n static equals(\n a: RunTargetResponse | PlainMessage<RunTargetResponse> | undefined,\n b: RunTargetResponse | PlainMessage<RunTargetResponse> | undefined\n ): boolean {\n return proto3.util.equals(RunTargetResponse, a, b);\n }\n}\n\n/**\n * @generated from message connectrpc.lage.v1.PingRequest\n */\nexport class PingRequest extends Message<PingRequest> {\n constructor(data?: PartialMessage<PingRequest>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.PingRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => []);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PingRequest {\n return new PingRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PingRequest {\n return new PingRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PingRequest {\n return new PingRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: PingRequest | PlainMessage<PingRequest> | undefined, b: PingRequest | PlainMessage<PingRequest> | undefined): boolean {\n return proto3.util.equals(PingRequest, a, b);\n }\n}\n\n/**\n * @generated from message connectrpc.lage.v1.PingResponse\n */\nexport class PingResponse extends Message<PingResponse> {\n /**\n * @generated from field: bool pong = 1;\n */\n pong = false;\n\n constructor(data?: PartialMessage<PingResponse>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.PingResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [{ no: 1, name: \"pong\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ }]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PingResponse {\n return new PingResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PingResponse {\n return new PingResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PingResponse {\n return new PingResponse().fromJsonString(jsonString, options);\n }\n\n static equals(\n a: PingResponse | PlainMessage<PingResponse> | undefined,\n b: PingResponse | PlainMessage<PingResponse> | undefined\n ): boolean {\n return proto3.util.equals(PingResponse, a, b);\n }\n}\n"],"names":["PingRequest","PingResponse","RunTargetRequest","RunTargetResponse","Message","fromBinary","bytes","options","fromJson","jsonValue","fromJsonString","jsonString","equals","a","b","proto3","util","data","packageName","task","taskArgs","nodeOptions","npmClient","initPartial","runtime","typeName","fields","newFieldList","no","name","kind","T","opt","repeated","id","cwd","exitCode","inputs","outputs","stdout","stderr","globalInputHashFile","pong"],"mappings":"AAAA,iEAAiE;AACjE,sFAAsF;AACtF,kBAAkB,GAClB,cAAc;;;;;;;;;;;;QAsKDA;eAAAA;;QA8BAC;eAAAA;;QA5LAC;eAAAA;;QAgEAC;eAAAA;;;0BArEmB;;;;;;;;;;;;;;AAKzB,MAAMD,yBAAyBE,iBAAO;IAyC3C,OAAOC,WAAWC,KAAiB,EAAEC,OAAoC,EAAoB;QAC3F,OAAO,IAAIL,mBAAmBG,UAAU,CAACC,OAAOC;IAClD;IAEA,OAAOC,SAASC,SAAoB,EAAE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AAM,IAAI;IACpC;AAqBF;AAnBE,iBANWjB,aAMKwB,WAAyBT,gBAAM;AAC/C,iBAPWf,aAOKyB,YAAW;AAC3B,iBARWzB,aAQK0B,UAAoBX,gBAAM,CAACC,IAAI,CAACW,YAAY,CAAC,IAAM,EAAE;AAsBhE,MAAM1B,qBAAqBG,iBAAO;IAevC,OAAOC,WAAWC,KAAiB,EAAEC,OAAoC,EAAgB;QACvF,OAAO,IAAIN,eAAeI,UAAU,CAACC,OAAOC;IAC9C;IAEA,OAAOC,SAASC,SAAoB,EAAEF,OAAkC,EAAgB;QACtF,OAAO,IAAIN,eAAeO,QAAQ,CAACC,WAAWF;IAChD;IAEA,OAAOG,eAAeC,UAAkB,EAAEJ,OAAkC,EAAgB;QAC1F,OAAO,IAAIN,eAAeS,cAAc,CAACC,YAAYJ;IACvD;IAEA,OAAOK,OACLC,CAAwD,EACxDC,CAAwD,EAC/C;QACT,OAAOC,gBAAM,CAACC,IAAI,CAACJ,MAAM,CAACX,cAAcY,GAAGC;IAC7C;IA1BA,YAAYG,IAAmC,CAAE;QAC/C,KAAK,IANP;;GAEC,GACDyB,uBAAAA,QAAO;QAIL3B,gBAAM,CAACC,IAAI,CAACO,WAAW,CAACN,MAAM,IAAI;IACpC;AAwBF;AAtBE,iBAXWhB,cAWKuB,WAAyBT,gBAAM;AAC/C,iBAZWd,cAYKwB,YAAW;AAC3B,iBAbWxB,cAaKyB,UAAoBX,gBAAM,CAACC,IAAI,CAACW,YAAY,CAAC,IAAM;QAAC;YAAEC,IAAI;YAAGC,MAAM;YAAQC,MAAM;YAAUC,GAAG,EAAE,mBAAmB;QAAG;KAAE"}
package/lib/index.js CHANGED
@@ -5,20 +5,20 @@ Object.defineProperty(exports, "__esModule", {
5
5
  function _export(target, all) {
6
6
  for(var name in all)Object.defineProperty(target, name, {
7
7
  enumerable: true,
8
- get: all[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- Code: function() {
12
+ get Code () {
13
13
  return _connect.Code;
14
14
  },
15
- ConnectError: function() {
15
+ get ConnectError () {
16
16
  return _connect.ConnectError;
17
17
  },
18
- createClient: function() {
18
+ get createClient () {
19
19
  return _createClient.createClient;
20
20
  },
21
- createServer: function() {
21
+ get createServer () {
22
22
  return _createServer.createServer;
23
23
  }
24
24
  });
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { createServer } from \"./createServer.js\";\nexport { createClient, type LageClient } from \"./createClient.js\";\nexport type { ILageService } from \"./types/ILageService.js\";\nexport { ConnectError, Code } from \"@connectrpc/connect\";\n"],"names":["Code","ConnectError","createClient","createServer"],"mappings":";;;;;;;;;;;IAGuBA,IAAI;eAAJA,aAAI;;IAAlBC,YAAY;eAAZA,qBAAY;;IAFZC,YAAY;eAAZA,0BAAY;;IADZC,YAAY;eAAZA,0BAAY;;;8BAAQ;8BACiB;yBAEX"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { createServer } from \"./createServer.js\";\nexport { createClient, type LageClient } from \"./createClient.js\";\nexport type { ILageService } from \"./types/ILageService.js\";\nexport { ConnectError, Code } from \"@connectrpc/connect\";\n"],"names":["Code","ConnectError","createClient","createServer"],"mappings":";;;;;;;;;;;QAGuBA;eAAAA,aAAI;;QAAlBC;eAAAA,qBAAY;;QAFZC;eAAAA,0BAAY;;QADZC;eAAAA,0BAAY;;;8BAAQ;8BACiB;yBAEX"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lage-run/rpc",
3
- "version": "1.3.0",
3
+ "version": "1.4.1",
4
4
  "description": "RPC server and client for Lage",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "@bufbuild/buf": "^1.39.0",
27
27
  "@bufbuild/protoc-gen-es": "^1.10.0",
28
28
  "@connectrpc/protoc-gen-connect-es": "^1.4.0",
29
- "@lage-run/monorepo-scripts": "*"
29
+ "@lage-run/monorepo-scripts": "^1.0.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"