@tensorlakeai/tensorlake 0.0.0-bootstrap.0 → 0.5.145

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.
Files changed (69) hide show
  1. package/README.md +166 -2
  2. package/bin/function-executor.js +8 -0
  3. package/bin/tensorlake-create-sandbox-image.js +9 -0
  4. package/bin/tensorlake-deploy.cjs +8 -0
  5. package/bin/tensorlake-import-sandbox-image.js +9 -0
  6. package/bin/tensorlake-typescript-function-runner.js +8 -0
  7. package/dist/applications/index.cjs +4821 -0
  8. package/dist/applications/index.cjs.map +1 -0
  9. package/dist/applications/index.d.cts +130 -0
  10. package/dist/applications/index.d.ts +130 -0
  11. package/dist/applications/index.js +4782 -0
  12. package/dist/applications/index.js.map +1 -0
  13. package/dist/function-agent/main.cjs +1838 -0
  14. package/dist/function-agent/main.cjs.map +1 -0
  15. package/dist/function-agent/main.d.cts +3 -0
  16. package/dist/function-agent/main.d.ts +3 -0
  17. package/dist/function-agent/main.js +1825 -0
  18. package/dist/function-agent/main.js.map +1 -0
  19. package/dist/function-executor/main.cjs +4944 -0
  20. package/dist/function-executor/main.cjs.map +1 -0
  21. package/dist/function-executor/main.d.cts +4 -0
  22. package/dist/function-executor/main.d.ts +4 -0
  23. package/dist/function-executor/main.js +4902 -0
  24. package/dist/function-executor/main.js.map +1 -0
  25. package/dist/index.cjs +10184 -0
  26. package/dist/index.cjs.map +1 -0
  27. package/dist/index.d.cts +2431 -0
  28. package/dist/index.d.ts +2431 -0
  29. package/dist/index.js +10108 -0
  30. package/dist/index.js.map +1 -0
  31. package/dist/native-worker.cjs +278 -0
  32. package/dist/native-worker.cjs.map +1 -0
  33. package/dist/native-worker.d.cts +2 -0
  34. package/dist/native-worker.d.ts +2 -0
  35. package/dist/native-worker.js +276 -0
  36. package/dist/native-worker.js.map +1 -0
  37. package/dist/remote-CNJ9TmcQ.d.cts +283 -0
  38. package/dist/remote-dblFxKug.d.ts +283 -0
  39. package/dist/sandbox-image-ChzWDeZy.d.cts +357 -0
  40. package/dist/sandbox-image-ChzWDeZy.d.ts +357 -0
  41. package/dist/sandbox-image.cjs +1992 -0
  42. package/dist/sandbox-image.cjs.map +1 -0
  43. package/dist/sandbox-image.d.cts +1 -0
  44. package/dist/sandbox-image.d.ts +1 -0
  45. package/dist/sandbox-image.js +1987 -0
  46. package/dist/sandbox-image.js.map +1 -0
  47. package/lib/libc.cjs +61 -0
  48. package/lib/libc.d.cts +1 -0
  49. package/lib/runtime.cjs +155 -0
  50. package/package.json +104 -4
  51. package/runtime/function-executor/manifest.json +59 -0
  52. package/runtime/function-executor/package/bin/function-executor.js +8 -0
  53. package/runtime/function-executor/package/dist/function-executor/main.js +4902 -0
  54. package/runtime/function-executor/package/dist/function-executor/main.js.map +1 -0
  55. package/runtime/function-executor/package/dist/native-worker.cjs +278 -0
  56. package/runtime/function-executor/package/dist/native-worker.cjs.map +1 -0
  57. package/runtime/function-executor/package/npm-shrinkwrap.json +475 -0
  58. package/runtime/function-executor/package/package.json +22 -0
  59. package/runtime/function-executor/package/proto/README.md +18 -0
  60. package/runtime/function-executor/package/proto/tensorlake/function_executor/proto/function_executor.proto +613 -0
  61. package/runtime/function-executor/package/proto/tensorlake/function_executor/proto/status.proto +42 -0
  62. package/runtime/typescript-function-runner/manifest.json +44 -0
  63. package/runtime/typescript-function-runner/package/bin/tensorlake-typescript-function-runner.js +8 -0
  64. package/runtime/typescript-function-runner/package/dist/function-agent/main.js +1825 -0
  65. package/runtime/typescript-function-runner/package/dist/function-agent/main.js.map +1 -0
  66. package/runtime/typescript-function-runner/package/dist/native-worker.cjs +278 -0
  67. package/runtime/typescript-function-runner/package/dist/native-worker.cjs.map +1 -0
  68. package/runtime/typescript-function-runner/package/npm-shrinkwrap.json +586 -0
  69. package/runtime/typescript-function-runner/package/package.json +25 -0
@@ -0,0 +1,475 @@
1
+ {
2
+ "name": "@tensorlake/function-executor-runtime",
3
+ "version": "0.5.145",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "@tensorlake/function-executor-runtime",
9
+ "version": "0.5.145",
10
+ "description": "Tensorlake Node.js function executor runtime",
11
+ "type": "module",
12
+ "bin": {
13
+ "function-executor": "./bin/function-executor.js"
14
+ },
15
+ "engines": {
16
+ "node": ">=24.0.0"
17
+ },
18
+ "dependencies": {
19
+ "@grpc/grpc-js": "1.14.4",
20
+ "@grpc/proto-loader": "0.8.1",
21
+ "ajv": "8.20.0",
22
+ "fflate": "0.8.3",
23
+ "google-proto-files": "5.0.3",
24
+ "nanoid": "3.3.18",
25
+ "ws": "8.21.1"
26
+ },
27
+ "license": "Apache-2.0"
28
+ },
29
+ "node_modules/@grpc/grpc-js": {
30
+ "version": "1.14.4",
31
+ "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.14.4.tgz",
32
+ "integrity": "sha512-k9Dj3DV/itK9D06Y8f190Qgop7/Ui+D0njFV3LHMPwPT75DpXLQohE9Wmz0QElrJnzsjB7KPWiKJbOl7IPDArQ==",
33
+ "license": "Apache-2.0",
34
+ "dependencies": {
35
+ "@grpc/proto-loader": "^0.8.0",
36
+ "@js-sdsl/ordered-map": "^4.4.2"
37
+ },
38
+ "engines": {
39
+ "node": ">=12.10.0"
40
+ }
41
+ },
42
+ "node_modules/@grpc/proto-loader": {
43
+ "version": "0.8.1",
44
+ "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.8.1.tgz",
45
+ "integrity": "sha512-wtF6h+DY6M3YaDBPAmvuuA6jV8Sif9MjtOI5euKFWRgCDl5PeDpPsHR9u2l6St5ceY8AZgoNDww5+HvEsXFsGg==",
46
+ "license": "Apache-2.0",
47
+ "dependencies": {
48
+ "lodash.camelcase": "^4.3.0",
49
+ "long": "^5.0.0",
50
+ "protobufjs": "^7.5.5",
51
+ "yargs": "^17.7.2"
52
+ },
53
+ "bin": {
54
+ "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js"
55
+ },
56
+ "engines": {
57
+ "node": ">=6"
58
+ }
59
+ },
60
+ "node_modules/@js-sdsl/ordered-map": {
61
+ "version": "4.4.2",
62
+ "resolved": "https://registry.npmjs.org/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz",
63
+ "integrity": "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==",
64
+ "license": "MIT",
65
+ "funding": {
66
+ "type": "opencollective",
67
+ "url": "https://opencollective.com/js-sdsl"
68
+ }
69
+ },
70
+ "node_modules/@protobufjs/aspromise": {
71
+ "version": "1.1.2",
72
+ "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
73
+ "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==",
74
+ "license": "BSD-3-Clause"
75
+ },
76
+ "node_modules/@protobufjs/base64": {
77
+ "version": "1.1.2",
78
+ "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz",
79
+ "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==",
80
+ "license": "BSD-3-Clause"
81
+ },
82
+ "node_modules/@protobufjs/codegen": {
83
+ "version": "2.0.5",
84
+ "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.5.tgz",
85
+ "integrity": "sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g==",
86
+ "license": "BSD-3-Clause"
87
+ },
88
+ "node_modules/@protobufjs/eventemitter": {
89
+ "version": "1.1.1",
90
+ "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz",
91
+ "integrity": "sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg==",
92
+ "license": "BSD-3-Clause"
93
+ },
94
+ "node_modules/@protobufjs/fetch": {
95
+ "version": "1.1.1",
96
+ "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.1.tgz",
97
+ "integrity": "sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw==",
98
+ "license": "BSD-3-Clause",
99
+ "dependencies": {
100
+ "@protobufjs/aspromise": "^1.1.1"
101
+ }
102
+ },
103
+ "node_modules/@protobufjs/float": {
104
+ "version": "1.0.2",
105
+ "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz",
106
+ "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==",
107
+ "license": "BSD-3-Clause"
108
+ },
109
+ "node_modules/@protobufjs/path": {
110
+ "version": "1.1.2",
111
+ "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz",
112
+ "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==",
113
+ "license": "BSD-3-Clause"
114
+ },
115
+ "node_modules/@protobufjs/pool": {
116
+ "version": "1.1.0",
117
+ "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz",
118
+ "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==",
119
+ "license": "BSD-3-Clause"
120
+ },
121
+ "node_modules/@protobufjs/utf8": {
122
+ "version": "1.1.2",
123
+ "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.2.tgz",
124
+ "integrity": "sha512-b1UQwcEZ4yCnMCD8DAL1VlbvBJE9/IX4FTIp7BG1xYpf29SLazLSrqUkj4w7Y5y7cCVP6E5tcqqcI0xemPkHug==",
125
+ "license": "BSD-3-Clause"
126
+ },
127
+ "node_modules/@types/node": {
128
+ "version": "24.13.3",
129
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",
130
+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==",
131
+ "license": "MIT",
132
+ "dependencies": {
133
+ "undici-types": "~7.18.0"
134
+ }
135
+ },
136
+ "node_modules/ajv": {
137
+ "version": "8.20.0",
138
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",
139
+ "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==",
140
+ "license": "MIT",
141
+ "dependencies": {
142
+ "fast-deep-equal": "^3.1.3",
143
+ "fast-uri": "^3.0.1",
144
+ "json-schema-traverse": "^1.0.0",
145
+ "require-from-string": "^2.0.2"
146
+ },
147
+ "funding": {
148
+ "type": "github",
149
+ "url": "https://github.com/sponsors/epoberezkin"
150
+ }
151
+ },
152
+ "node_modules/ansi-regex": {
153
+ "version": "5.0.1",
154
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
155
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
156
+ "license": "MIT",
157
+ "engines": {
158
+ "node": ">=8"
159
+ }
160
+ },
161
+ "node_modules/ansi-styles": {
162
+ "version": "4.3.0",
163
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
164
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
165
+ "license": "MIT",
166
+ "dependencies": {
167
+ "color-convert": "^2.0.1"
168
+ },
169
+ "engines": {
170
+ "node": ">=8"
171
+ },
172
+ "funding": {
173
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
174
+ }
175
+ },
176
+ "node_modules/cliui": {
177
+ "version": "8.0.1",
178
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
179
+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
180
+ "license": "ISC",
181
+ "dependencies": {
182
+ "string-width": "^4.2.0",
183
+ "strip-ansi": "^6.0.1",
184
+ "wrap-ansi": "^7.0.0"
185
+ },
186
+ "engines": {
187
+ "node": ">=12"
188
+ }
189
+ },
190
+ "node_modules/color-convert": {
191
+ "version": "2.0.1",
192
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
193
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
194
+ "license": "MIT",
195
+ "dependencies": {
196
+ "color-name": "~1.1.4"
197
+ },
198
+ "engines": {
199
+ "node": ">=7.0.0"
200
+ }
201
+ },
202
+ "node_modules/color-name": {
203
+ "version": "1.1.4",
204
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
205
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
206
+ "license": "MIT"
207
+ },
208
+ "node_modules/emoji-regex": {
209
+ "version": "8.0.0",
210
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
211
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
212
+ "license": "MIT"
213
+ },
214
+ "node_modules/escalade": {
215
+ "version": "3.2.0",
216
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
217
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
218
+ "license": "MIT",
219
+ "engines": {
220
+ "node": ">=6"
221
+ }
222
+ },
223
+ "node_modules/fast-deep-equal": {
224
+ "version": "3.1.3",
225
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
226
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
227
+ "license": "MIT"
228
+ },
229
+ "node_modules/fast-uri": {
230
+ "version": "3.1.3",
231
+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.3.tgz",
232
+ "integrity": "sha512-i70LwGWUduXqzicKXWshooq+sWL1K3WUU5rKZNG/0i3a1OSoX3HqhH5WbWwTmqWfor4urUakGPiRQcleRZTwOg==",
233
+ "funding": [
234
+ {
235
+ "type": "github",
236
+ "url": "https://github.com/sponsors/fastify"
237
+ },
238
+ {
239
+ "type": "opencollective",
240
+ "url": "https://opencollective.com/fastify"
241
+ }
242
+ ],
243
+ "license": "BSD-3-Clause"
244
+ },
245
+ "node_modules/fflate": {
246
+ "version": "0.8.3",
247
+ "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.3.tgz",
248
+ "integrity": "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==",
249
+ "license": "MIT"
250
+ },
251
+ "node_modules/get-caller-file": {
252
+ "version": "2.0.5",
253
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
254
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
255
+ "license": "ISC",
256
+ "engines": {
257
+ "node": "6.* || 8.* || >= 10.*"
258
+ }
259
+ },
260
+ "node_modules/google-proto-files": {
261
+ "version": "5.0.3",
262
+ "resolved": "https://registry.npmjs.org/google-proto-files/-/google-proto-files-5.0.3.tgz",
263
+ "integrity": "sha512-HrKG4IIPUHaU1E4+J8yETm41N39+pm9z+ZBERNcq+q8ltHRcFwTcxSviqJSuxPiZJNTWmdBhp03xcElCRlQPxA==",
264
+ "license": "Apache-2.0",
265
+ "dependencies": {
266
+ "protobufjs": "^7.5.4",
267
+ "walkdir": "^0.4.1"
268
+ },
269
+ "engines": {
270
+ "node": ">=18"
271
+ }
272
+ },
273
+ "node_modules/is-fullwidth-code-point": {
274
+ "version": "3.0.0",
275
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
276
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
277
+ "license": "MIT",
278
+ "engines": {
279
+ "node": ">=8"
280
+ }
281
+ },
282
+ "node_modules/json-schema-traverse": {
283
+ "version": "1.0.0",
284
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
285
+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
286
+ "license": "MIT"
287
+ },
288
+ "node_modules/lodash.camelcase": {
289
+ "version": "4.3.0",
290
+ "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
291
+ "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==",
292
+ "license": "MIT"
293
+ },
294
+ "node_modules/long": {
295
+ "version": "5.3.2",
296
+ "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz",
297
+ "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==",
298
+ "license": "Apache-2.0"
299
+ },
300
+ "node_modules/nanoid": {
301
+ "version": "3.3.18",
302
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz",
303
+ "integrity": "sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==",
304
+ "funding": [
305
+ {
306
+ "type": "github",
307
+ "url": "https://github.com/sponsors/ai"
308
+ }
309
+ ],
310
+ "license": "MIT",
311
+ "bin": {
312
+ "nanoid": "bin/nanoid.cjs"
313
+ },
314
+ "engines": {
315
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
316
+ }
317
+ },
318
+ "node_modules/protobufjs": {
319
+ "version": "7.6.5",
320
+ "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.6.5.tgz",
321
+ "integrity": "sha512-/FPD0nUc9jH6rfFjji9IBqOz4pcSE3CsT1m7Ep6Mdb0LxSUMj8hgl6GomOvZzpNpAqqGaXA0P3VSrZLFzIhQrw==",
322
+ "hasInstallScript": true,
323
+ "license": "BSD-3-Clause",
324
+ "dependencies": {
325
+ "@protobufjs/aspromise": "^1.1.2",
326
+ "@protobufjs/base64": "^1.1.2",
327
+ "@protobufjs/codegen": "^2.0.5",
328
+ "@protobufjs/eventemitter": "^1.1.1",
329
+ "@protobufjs/fetch": "^1.1.1",
330
+ "@protobufjs/float": "^1.0.2",
331
+ "@protobufjs/path": "^1.1.2",
332
+ "@protobufjs/pool": "^1.1.0",
333
+ "@protobufjs/utf8": "^1.1.1",
334
+ "@types/node": ">=13.7.0",
335
+ "long": "^5.3.2"
336
+ },
337
+ "engines": {
338
+ "node": ">=12.0.0"
339
+ }
340
+ },
341
+ "node_modules/require-directory": {
342
+ "version": "2.1.1",
343
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
344
+ "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
345
+ "license": "MIT",
346
+ "engines": {
347
+ "node": ">=0.10.0"
348
+ }
349
+ },
350
+ "node_modules/require-from-string": {
351
+ "version": "2.0.2",
352
+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
353
+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
354
+ "license": "MIT",
355
+ "engines": {
356
+ "node": ">=0.10.0"
357
+ }
358
+ },
359
+ "node_modules/string-width": {
360
+ "version": "4.2.3",
361
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
362
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
363
+ "license": "MIT",
364
+ "dependencies": {
365
+ "emoji-regex": "^8.0.0",
366
+ "is-fullwidth-code-point": "^3.0.0",
367
+ "strip-ansi": "^6.0.1"
368
+ },
369
+ "engines": {
370
+ "node": ">=8"
371
+ }
372
+ },
373
+ "node_modules/strip-ansi": {
374
+ "version": "6.0.1",
375
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
376
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
377
+ "license": "MIT",
378
+ "dependencies": {
379
+ "ansi-regex": "^5.0.1"
380
+ },
381
+ "engines": {
382
+ "node": ">=8"
383
+ }
384
+ },
385
+ "node_modules/undici-types": {
386
+ "version": "7.18.2",
387
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
388
+ "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
389
+ "license": "MIT"
390
+ },
391
+ "node_modules/walkdir": {
392
+ "version": "0.4.1",
393
+ "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.4.1.tgz",
394
+ "integrity": "sha512-3eBwRyEln6E1MSzcxcVpQIhRG8Q1jLvEqRmCZqS3dsfXEDR/AhOF4d+jHg1qvDCpYaVRZjENPQyrVxAkQqxPgQ==",
395
+ "license": "MIT",
396
+ "engines": {
397
+ "node": ">=6.0.0"
398
+ }
399
+ },
400
+ "node_modules/wrap-ansi": {
401
+ "version": "7.0.0",
402
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
403
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
404
+ "license": "MIT",
405
+ "dependencies": {
406
+ "ansi-styles": "^4.0.0",
407
+ "string-width": "^4.1.0",
408
+ "strip-ansi": "^6.0.0"
409
+ },
410
+ "engines": {
411
+ "node": ">=10"
412
+ },
413
+ "funding": {
414
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
415
+ }
416
+ },
417
+ "node_modules/ws": {
418
+ "version": "8.21.1",
419
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.1.tgz",
420
+ "integrity": "sha512-+0NTnW77fFN/DjQi6k/Sq/Yvk4Sgajw7urW8V+asjXnRgDs9gyGkdb7EzgfhA4goXsRIZKE28fzIXBHEzhuiWw==",
421
+ "license": "MIT",
422
+ "engines": {
423
+ "node": ">=10.0.0"
424
+ },
425
+ "peerDependencies": {
426
+ "bufferutil": "^4.0.1",
427
+ "utf-8-validate": ">=5.0.2"
428
+ },
429
+ "peerDependenciesMeta": {
430
+ "bufferutil": {
431
+ "optional": true
432
+ },
433
+ "utf-8-validate": {
434
+ "optional": true
435
+ }
436
+ }
437
+ },
438
+ "node_modules/y18n": {
439
+ "version": "5.0.8",
440
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
441
+ "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
442
+ "license": "ISC",
443
+ "engines": {
444
+ "node": ">=10"
445
+ }
446
+ },
447
+ "node_modules/yargs": {
448
+ "version": "17.7.3",
449
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz",
450
+ "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==",
451
+ "license": "MIT",
452
+ "dependencies": {
453
+ "cliui": "^8.0.1",
454
+ "escalade": "^3.1.1",
455
+ "get-caller-file": "^2.0.5",
456
+ "require-directory": "^2.1.1",
457
+ "string-width": "^4.2.3",
458
+ "y18n": "^5.0.5",
459
+ "yargs-parser": "^21.1.1"
460
+ },
461
+ "engines": {
462
+ "node": ">=12"
463
+ }
464
+ },
465
+ "node_modules/yargs-parser": {
466
+ "version": "21.1.1",
467
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
468
+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
469
+ "license": "ISC",
470
+ "engines": {
471
+ "node": ">=12"
472
+ }
473
+ }
474
+ }
475
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "@tensorlake/function-executor-runtime",
3
+ "version": "0.5.145",
4
+ "description": "Tensorlake Node.js function executor runtime",
5
+ "type": "module",
6
+ "bin": {
7
+ "function-executor": "./bin/function-executor.js"
8
+ },
9
+ "engines": {
10
+ "node": ">=24.0.0"
11
+ },
12
+ "dependencies": {
13
+ "@grpc/grpc-js": "1.14.4",
14
+ "@grpc/proto-loader": "0.8.1",
15
+ "ajv": "8.20.0",
16
+ "fflate": "0.8.3",
17
+ "google-proto-files": "5.0.3",
18
+ "nanoid": "3.3.18",
19
+ "ws": "8.21.1"
20
+ },
21
+ "license": "Apache-2.0"
22
+ }
@@ -0,0 +1,18 @@
1
+ # Function executor protocol
2
+
3
+ This directory is the single source of truth for the function-executor gRPC
4
+ protocol used by both the Python and TypeScript runtimes.
5
+
6
+ - Python bindings are generated into `src/tensorlake/function_executor/proto`
7
+ with `make build_proto`.
8
+ - The TypeScript executor loads this source directly in a development checkout.
9
+ `npm --prefix typescript run build:sdk` copies it into the self-contained
10
+ executor capsule used by published packages and deployed function images.
11
+
12
+ Change the protocol here, regenerate the Python bindings, and run both function
13
+ executor test suites. Do not add language-specific copies of the `.proto`
14
+ sources.
15
+
16
+ Run `make test_function_executor_compatibility` to launch both executors and
17
+ compare their normalized behavior across the shared durable allocation matrix.
18
+ See `tests/function_executor_compatibility/README.md` for coverage and setup.