@lage-run/rpc 1.4.1 → 1.4.3
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/lib/createClient.d.ts +3 -17
- package/lib/createClient.js.map +1 -1
- package/lib/createRoutes.js.map +1 -1
- package/lib/createServer.d.ts +3 -4
- package/lib/createServer.js.map +1 -1
- package/lib/gen/lage/v1/lage_connect.js.map +1 -1
- package/package.json +15 -12
- package/CHANGELOG.json +0 -139
- package/CHANGELOG.md +0 -70
- package/buf.gen.yaml +0 -9
- package/buf.yaml +0 -9
- package/proto/lage/v1/lage.proto +0 -37
- package/tsconfig.json +0 -7
package/lib/createClient.d.ts
CHANGED
|
@@ -1,22 +1,8 @@
|
|
|
1
|
+
import { type PromiseClient } from "@connectrpc/connect";
|
|
2
|
+
import { LageService } from "./gen/lage/v1/lage_connect.js";
|
|
1
3
|
export interface CreateClientOptions {
|
|
2
4
|
baseUrl: string;
|
|
3
5
|
httpVersion: "1.1" | "2";
|
|
4
6
|
}
|
|
5
7
|
export type LageClient = ReturnType<typeof createClient>;
|
|
6
|
-
export declare function createClient({ baseUrl, httpVersion }: CreateClientOptions):
|
|
7
|
-
readonly typeName: "connectrpc.lage.v1.LageService";
|
|
8
|
-
readonly methods: {
|
|
9
|
-
readonly runTarget: {
|
|
10
|
-
readonly name: "RunTarget";
|
|
11
|
-
readonly I: typeof import("./gen/lage/v1/lage_pb.js").RunTargetRequest;
|
|
12
|
-
readonly O: typeof import("./gen/lage/v1/lage_pb.js").RunTargetResponse;
|
|
13
|
-
readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
|
|
14
|
-
};
|
|
15
|
-
readonly ping: {
|
|
16
|
-
readonly name: "Ping";
|
|
17
|
-
readonly I: typeof import("./gen/lage/v1/lage_pb.js").PingRequest;
|
|
18
|
-
readonly O: typeof import("./gen/lage/v1/lage_pb.js").PingResponse;
|
|
19
|
-
readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
}>;
|
|
8
|
+
export declare function createClient({ baseUrl, httpVersion }: CreateClientOptions): PromiseClient<typeof LageService>;
|
package/lib/createClient.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/createClient.ts"],"sourcesContent":["import { createPromiseClient } from \"@connectrpc/connect\";\nimport { createGrpcTransport } from \"@connectrpc/connect-node\";\nimport { LageService } from \"./gen/lage/v1/lage_connect.js\";\n\nexport interface CreateClientOptions {\n baseUrl: string;\n httpVersion: \"1.1\" | \"2\";\n}\n\nexport type LageClient = ReturnType<typeof createClient>;\n\nexport function createClient({ baseUrl, httpVersion }: CreateClientOptions) {\n const transport = createGrpcTransport({\n httpVersion,\n baseUrl,\n });\n\n return createPromiseClient(LageService, transport);\n}\n"],"names":["createClient","baseUrl","httpVersion","transport","createGrpcTransport","createPromiseClient","LageService"],"mappings":";;;;+BAWgBA;;;eAAAA;;;
|
|
1
|
+
{"version":3,"sources":["../src/createClient.ts"],"sourcesContent":["import { createPromiseClient, type PromiseClient } from \"@connectrpc/connect\";\nimport { createGrpcTransport } from \"@connectrpc/connect-node\";\nimport { LageService } from \"./gen/lage/v1/lage_connect.js\";\n\nexport interface CreateClientOptions {\n baseUrl: string;\n httpVersion: \"1.1\" | \"2\";\n}\n\nexport type LageClient = ReturnType<typeof createClient>;\n\nexport function createClient({ baseUrl, httpVersion }: CreateClientOptions): PromiseClient<typeof LageService> {\n const transport = createGrpcTransport({\n httpVersion,\n baseUrl,\n });\n\n return createPromiseClient(LageService, transport);\n}\n"],"names":["createClient","baseUrl","httpVersion","transport","createGrpcTransport","createPromiseClient","LageService"],"mappings":";;;;+BAWgBA;;;eAAAA;;;yBAXwC;6BACpB;8BACR;AASrB,SAASA,aAAa,EAAEC,OAAO,EAAEC,WAAW,EAAuB;IACxE,MAAMC,YAAYC,IAAAA,gCAAmB,EAAC;QACpCF;QACAD;IACF;IAEA,OAAOI,IAAAA,4BAAmB,EAACC,yBAAW,EAAEH;AAC1C"}
|
package/lib/createRoutes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/createRoutes.ts"],"sourcesContent":["import { type ConnectRouter } from \"@connectrpc/connect\";\nimport { LageService } from \"./gen/lage/v1/lage_connect.js\";\nimport { type ILageService } from \"./types/ILageService.js\";\n\nexport function createRoutes(serviceImpl: ILageService) {\n return (router: ConnectRouter) => {\n router.service(LageService, serviceImpl);\n };\n}\n"],"names":["createRoutes","serviceImpl","router","service","LageService"],"mappings":";;;;+BAIgBA;;;eAAAA;;;8BAHY;AAGrB,SAASA,aAAaC,WAAyB;IACpD,OAAO,CAACC;QACNA,OAAOC,OAAO,CAACC,yBAAW,EAAEH;IAC9B;AACF"}
|
|
1
|
+
{"version":3,"sources":["../src/createRoutes.ts"],"sourcesContent":["import { type ConnectRouter } from \"@connectrpc/connect\";\nimport { LageService } from \"./gen/lage/v1/lage_connect.js\";\nimport { type ILageService } from \"./types/ILageService.js\";\n\nexport function createRoutes(serviceImpl: ILageService) {\n return (router: ConnectRouter): void => {\n router.service(LageService, serviceImpl);\n };\n}\n"],"names":["createRoutes","serviceImpl","router","service","LageService"],"mappings":";;;;+BAIgBA;;;eAAAA;;;8BAHY;AAGrB,SAASA,aAAaC,WAAyB;IACpD,OAAO,CAACC;QACNA,OAAOC,OAAO,CAACC,yBAAW,EAAEH;IAC9B;AACF"}
|
package/lib/createServer.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
/// <reference types="node" />
|
|
4
1
|
import type { ILageService } from "./types/ILageService.js";
|
|
5
|
-
|
|
2
|
+
import type { FastifyInstance, FastifyBaseLogger, FastifyTypeProviderDefault } from "fastify";
|
|
3
|
+
import type { Http2Server, Http2ServerRequest, Http2ServerResponse } from "http2";
|
|
4
|
+
export declare function createServer(lageService: ILageService, abortController: AbortController): Promise<FastifyInstance<Http2Server, Http2ServerRequest, Http2ServerResponse, FastifyBaseLogger, FastifyTypeProviderDefault>>;
|
package/lib/createServer.js.map
CHANGED
|
@@ -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
|
|
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\nimport type { FastifyInstance, FastifyBaseLogger, FastifyTypeProviderDefault } from \"fastify\";\nimport type { Http2Server, Http2ServerRequest, Http2ServerResponse } from \"http2\";\n\nexport async function createServer(\n lageService: ILageService,\n abortController: AbortController\n): Promise<FastifyInstance<Http2Server, Http2ServerRequest, Http2ServerResponse, FastifyBaseLogger, FastifyTypeProviderDefault>> {\n const server = fastify({\n http2: true,\n });\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":";;;;+BAQsBA;;;eAAAA;;;yBARE;gCACa;8BACR;AAMtB,eAAeA,aACpBC,WAAyB,EACzBC,eAAgC;IAEhC,MAAMC,SAASC,IAAAA,gBAAO,EAAC;QACrBC,OAAO;IACT;IAEA,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/gen/lage/v1/lage_connect.ts"],"sourcesContent":["// @generated by protoc-gen-connect-es v1.4.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 { PingRequest, PingResponse, RunTargetRequest, RunTargetResponse } from \"./lage_pb.js\";\nimport { MethodKind } from \"@bufbuild/protobuf\";\n\n/**\n * @generated from service connectrpc.lage.v1.LageService\n */\nexport const LageService = {\n typeName: \"connectrpc.lage.v1.LageService\",\n methods: {\n /**\n * @generated from rpc connectrpc.lage.v1.LageService.RunTarget\n */\n runTarget: {\n name: \"RunTarget\",\n I: RunTargetRequest,\n O: RunTargetResponse,\n kind: MethodKind.Unary,\n },\n /**\n * a ping function to check if the server is up\n *\n * @generated from rpc connectrpc.lage.v1.LageService.Ping\n */\n ping: {\n name: \"Ping\",\n I: PingRequest,\n O: PingResponse,\n kind: MethodKind.Unary,\n },\n },\n} as const;\n"],"names":["LageService","typeName","methods","runTarget","name","I","RunTargetRequest","O","RunTargetResponse","kind","MethodKind","Unary","ping","PingRequest","PingResponse"],"mappings":"AAAA,wEAAwE;AACxE,sFAAsF;AACtF,kBAAkB,GAClB,cAAc;;;;;+BAQDA;;;eAAAA;;;yBANkE;0BACpD;AAKpB,MAAMA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/gen/lage/v1/lage_connect.ts"],"sourcesContent":["// @generated by protoc-gen-connect-es v1.4.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 { PingRequest, PingResponse, RunTargetRequest, RunTargetResponse } from \"./lage_pb.js\";\nimport { MethodKind } from \"@bufbuild/protobuf\";\n\n/**\n * @generated from service connectrpc.lage.v1.LageService\n */\nexport const LageService: {\n readonly typeName: \"connectrpc.lage.v1.LageService\";\n readonly methods: {\n /**\n * @generated from rpc connectrpc.lage.v1.LageService.RunTarget\n */\n readonly runTarget: {\n readonly name: \"RunTarget\";\n readonly I: typeof RunTargetRequest;\n readonly O: typeof RunTargetResponse;\n readonly kind: MethodKind.Unary;\n };\n /**\n * a ping function to check if the server is up\n *\n * @generated from rpc connectrpc.lage.v1.LageService.Ping\n */\n readonly ping: {\n readonly name: \"Ping\";\n readonly I: typeof PingRequest;\n readonly O: typeof PingResponse;\n readonly kind: MethodKind.Unary;\n };\n };\n} = {\n typeName: \"connectrpc.lage.v1.LageService\",\n methods: {\n /**\n * @generated from rpc connectrpc.lage.v1.LageService.RunTarget\n */\n runTarget: {\n name: \"RunTarget\",\n I: RunTargetRequest,\n O: RunTargetResponse,\n kind: MethodKind.Unary,\n },\n /**\n * a ping function to check if the server is up\n *\n * @generated from rpc connectrpc.lage.v1.LageService.Ping\n */\n ping: {\n name: \"Ping\",\n I: PingRequest,\n O: PingResponse,\n kind: MethodKind.Unary,\n },\n },\n} as const;\n"],"names":["LageService","typeName","methods","runTarget","name","I","RunTargetRequest","O","RunTargetResponse","kind","MethodKind","Unary","ping","PingRequest","PingResponse"],"mappings":"AAAA,wEAAwE;AACxE,sFAAsF;AACtF,kBAAkB,GAClB,cAAc;;;;;+BAQDA;;;eAAAA;;;yBANkE;0BACpD;AAKpB,MAAMA,cAwBT;IACFC,UAAU;IACVC,SAAS;QACP;;KAEC,GACDC,WAAW;YACTC,MAAM;YACNC,GAAGC,yBAAgB;YACnBC,GAAGC,0BAAiB;YACpBC,MAAMC,oBAAU,CAACC,KAAK;QACxB;QACA;;;;KAIC,GACDC,MAAM;YACJR,MAAM;YACNC,GAAGQ,oBAAW;YACdN,GAAGO,qBAAY;YACfL,MAAMC,oBAAU,CAACC,KAAK;QACxB;IACF;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lage-run/rpc",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "RPC server and client for Lage",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,24 +11,27 @@
|
|
|
11
11
|
"main": "lib/index.js",
|
|
12
12
|
"types": "lib/index.d.ts",
|
|
13
13
|
"scripts": {
|
|
14
|
+
"build": "yarn types && yarn transpile",
|
|
15
|
+
"transpile": "monorepo-scripts transpile",
|
|
16
|
+
"types": "yarn run -T tsc",
|
|
14
17
|
"lint": "buf lint",
|
|
15
|
-
"generate": "buf generate"
|
|
16
|
-
"build": "tsc"
|
|
18
|
+
"generate": "buf generate"
|
|
17
19
|
},
|
|
18
20
|
"dependencies": {
|
|
19
|
-
"@bufbuild/protobuf": "^1.10.
|
|
20
|
-
"@connectrpc/connect": "^1.
|
|
21
|
-
"@connectrpc/connect-fastify": "^1.
|
|
22
|
-
"@connectrpc/connect-node": "^1.
|
|
23
|
-
"fastify": "^4.
|
|
21
|
+
"@bufbuild/protobuf": "^1.10.1",
|
|
22
|
+
"@connectrpc/connect": "^1.7.0",
|
|
23
|
+
"@connectrpc/connect-fastify": "^1.7.0",
|
|
24
|
+
"@connectrpc/connect-node": "^1.7.0",
|
|
25
|
+
"fastify": "^4.29.1"
|
|
24
26
|
},
|
|
25
27
|
"devDependencies": {
|
|
26
28
|
"@bufbuild/buf": "^1.39.0",
|
|
27
29
|
"@bufbuild/protoc-gen-es": "^1.10.0",
|
|
28
|
-
"@connectrpc/protoc-gen-connect-es": "
|
|
30
|
+
"@connectrpc/protoc-gen-connect-es": "1.7.0",
|
|
29
31
|
"@lage-run/monorepo-scripts": "^1.0.0"
|
|
30
32
|
},
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
33
|
+
"files": [
|
|
34
|
+
"lib/!(__*)",
|
|
35
|
+
"lib/!(__*)/**"
|
|
36
|
+
]
|
|
34
37
|
}
|
package/CHANGELOG.json
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@lage-run/rpc",
|
|
3
|
-
"entries": [
|
|
4
|
-
{
|
|
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",
|
|
23
|
-
"comments": {
|
|
24
|
-
"minor": [
|
|
25
|
-
{
|
|
26
|
-
"author": "kchau@microsoft.com",
|
|
27
|
-
"package": "@lage-run/rpc",
|
|
28
|
-
"commit": "a680ab60dcddd84808f223a1b5f38a16e868b66f",
|
|
29
|
-
"comment": "cheat on optimization by leverage the fact that 'info' command is called before anything else ALWAYS in BXL"
|
|
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
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"date": "Mon, 10 Feb 2025 00:35:53 GMT",
|
|
44
|
-
"version": "1.2.7",
|
|
45
|
-
"tag": "@lage-run/rpc_v1.2.7",
|
|
46
|
-
"comments": {
|
|
47
|
-
"patch": [
|
|
48
|
-
{
|
|
49
|
-
"author": "kchau@microsoft.com",
|
|
50
|
-
"package": "@lage-run/rpc",
|
|
51
|
-
"commit": "031ad89ab6a0c64d46c79318377399d15e730e84",
|
|
52
|
-
"comment": "adding some global inputs to be separately tracked in the protocol"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"author": "kchau@microsoft.com",
|
|
56
|
-
"package": "@lage-run/rpc",
|
|
57
|
-
"commit": "031ad89ab6a0c64d46c79318377399d15e730e84",
|
|
58
|
-
"comment": "simulate transitives by doing our own hashing"
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"date": "Fri, 04 Oct 2024 23:41:44 GMT",
|
|
65
|
-
"version": "1.2.3",
|
|
66
|
-
"tag": "@lage-run/rpc_v1.2.3",
|
|
67
|
-
"comments": {
|
|
68
|
-
"patch": [
|
|
69
|
-
{
|
|
70
|
-
"author": "kchau@microsoft.com",
|
|
71
|
-
"package": "@lage-run/rpc",
|
|
72
|
-
"commit": "5030c3eca2e52a4b31e4246b06dea37e126aa659",
|
|
73
|
-
"comment": "adds support for stdout / stderr output"
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"date": "Wed, 02 Oct 2024 20:26:19 GMT",
|
|
80
|
-
"version": "1.2.2",
|
|
81
|
-
"tag": "@lage-run/rpc_v1.2.2",
|
|
82
|
-
"comments": {
|
|
83
|
-
"patch": [
|
|
84
|
-
{
|
|
85
|
-
"author": "kchau@microsoft.com",
|
|
86
|
-
"package": "@lage-run/rpc",
|
|
87
|
-
"commit": "6ecbd570669a07fa87429af5de13ec1adc58b864",
|
|
88
|
-
"comment": "Simulate file access for lage server"
|
|
89
|
-
}
|
|
90
|
-
]
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"date": "Fri, 27 Sep 2024 20:03:49 GMT",
|
|
95
|
-
"version": "1.2.1",
|
|
96
|
-
"tag": "@lage-run/rpc_v1.2.1",
|
|
97
|
-
"comments": {
|
|
98
|
-
"patch": [
|
|
99
|
-
{
|
|
100
|
-
"author": "kchau@microsoft.com",
|
|
101
|
-
"package": "@lage-run/rpc",
|
|
102
|
-
"commit": "2919f9041f931dc6ef65017f7aedb9fef9dab66d",
|
|
103
|
-
"comment": "Simulate file access for lage server"
|
|
104
|
-
}
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"date": "Fri, 13 Sep 2024 18:05:04 GMT",
|
|
110
|
-
"version": "1.2.0",
|
|
111
|
-
"tag": "@lage-run/rpc_v1.2.0",
|
|
112
|
-
"comments": {
|
|
113
|
-
"minor": [
|
|
114
|
-
{
|
|
115
|
-
"author": "kchau@microsoft.com",
|
|
116
|
-
"package": "@lage-run/rpc",
|
|
117
|
-
"commit": "924b93e66ae3cc60effa7cfc1f5254e1e59e9969",
|
|
118
|
-
"comment": "modified to allow for lage-server"
|
|
119
|
-
}
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"date": "Fri, 06 Sep 2024 20:03:01 GMT",
|
|
125
|
-
"version": "1.1.0",
|
|
126
|
-
"tag": "@lage-run/rpc_v1.1.0",
|
|
127
|
-
"comments": {
|
|
128
|
-
"minor": [
|
|
129
|
-
{
|
|
130
|
-
"author": "kchau@microsoft.com",
|
|
131
|
-
"package": "@lage-run/rpc",
|
|
132
|
-
"commit": "0d2a6f936b7250959f5a42f3c79908b8a475d28d",
|
|
133
|
-
"comment": "remote execution RPC server and client for Lage"
|
|
134
|
-
}
|
|
135
|
-
]
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# Change Log - @lage-run/rpc
|
|
2
|
-
|
|
3
|
-
<!-- This log was last generated on Thu, 15 Jan 2026 23:23:27 GMT and should not be manually modified. -->
|
|
4
|
-
|
|
5
|
-
<!-- Start content -->
|
|
6
|
-
|
|
7
|
-
## 1.4.1
|
|
8
|
-
|
|
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
|
|
18
|
-
|
|
19
|
-
### Minor changes
|
|
20
|
-
|
|
21
|
-
- cheat on optimization by leverage the fact that 'info' command is called before anything else ALWAYS in BXL (kchau@microsoft.com)
|
|
22
|
-
|
|
23
|
-
## 1.2.7
|
|
24
|
-
|
|
25
|
-
Mon, 10 Feb 2025 00:35:53 GMT
|
|
26
|
-
|
|
27
|
-
### Patches
|
|
28
|
-
|
|
29
|
-
- adding some global inputs to be separately tracked in the protocol (kchau@microsoft.com)
|
|
30
|
-
- simulate transitives by doing our own hashing (kchau@microsoft.com)
|
|
31
|
-
|
|
32
|
-
## 1.2.3
|
|
33
|
-
|
|
34
|
-
Fri, 04 Oct 2024 23:41:44 GMT
|
|
35
|
-
|
|
36
|
-
### Patches
|
|
37
|
-
|
|
38
|
-
- adds support for stdout / stderr output (kchau@microsoft.com)
|
|
39
|
-
|
|
40
|
-
## 1.2.2
|
|
41
|
-
|
|
42
|
-
Wed, 02 Oct 2024 20:26:19 GMT
|
|
43
|
-
|
|
44
|
-
### Patches
|
|
45
|
-
|
|
46
|
-
- Simulate file access for lage server (kchau@microsoft.com)
|
|
47
|
-
|
|
48
|
-
## 1.2.1
|
|
49
|
-
|
|
50
|
-
Fri, 27 Sep 2024 20:03:49 GMT
|
|
51
|
-
|
|
52
|
-
### Patches
|
|
53
|
-
|
|
54
|
-
- Simulate file access for lage server (kchau@microsoft.com)
|
|
55
|
-
|
|
56
|
-
## 1.2.0
|
|
57
|
-
|
|
58
|
-
Fri, 13 Sep 2024 18:05:04 GMT
|
|
59
|
-
|
|
60
|
-
### Minor changes
|
|
61
|
-
|
|
62
|
-
- modified to allow for lage-server (kchau@microsoft.com)
|
|
63
|
-
|
|
64
|
-
## 1.1.0
|
|
65
|
-
|
|
66
|
-
Fri, 06 Sep 2024 20:03:01 GMT
|
|
67
|
-
|
|
68
|
-
### Minor changes
|
|
69
|
-
|
|
70
|
-
- remote execution RPC server and client for Lage (kchau@microsoft.com)
|
package/buf.gen.yaml
DELETED
package/buf.yaml
DELETED
package/proto/lage/v1/lage.proto
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package connectrpc.lage.v1;
|
|
4
|
-
|
|
5
|
-
message RunTargetRequest {
|
|
6
|
-
optional string package_name = 1;
|
|
7
|
-
string task = 2;
|
|
8
|
-
repeated string taskArgs = 3;
|
|
9
|
-
string nodeOptions = 4;
|
|
10
|
-
string npmClient = 5;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
message RunTargetResponse {
|
|
14
|
-
string id = 1;
|
|
15
|
-
optional string package_name = 2;
|
|
16
|
-
string cwd = 3;
|
|
17
|
-
string task = 4;
|
|
18
|
-
int32 exit_code = 5;
|
|
19
|
-
repeated string inputs = 6;
|
|
20
|
-
repeated string outputs = 7;
|
|
21
|
-
string stdout = 8;
|
|
22
|
-
string stderr = 9;
|
|
23
|
-
string global_input_hash_file = 10;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
message PingRequest {}
|
|
27
|
-
message PingResponse {
|
|
28
|
-
bool pong = 1;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
service LageService {
|
|
33
|
-
rpc RunTarget(RunTargetRequest) returns (RunTargetResponse) {}
|
|
34
|
-
|
|
35
|
-
// a ping function to check if the server is up
|
|
36
|
-
rpc Ping(PingRequest) returns (PingResponse) {}
|
|
37
|
-
}
|