@platforma-sdk/workflow-tengo 5.21.0 → 5.23.0

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 (48) hide show
  1. package/dist/tengo/lib/exec.lib.tengo +8 -1
  2. package/dist/tengo/lib/workdir.lib.tengo +18 -3
  3. package/dist/tengo/tpl/annotations.compute.plj.gz +0 -0
  4. package/dist/tengo/tpl/anonymize.deanonymize.plj.gz +0 -0
  5. package/dist/tengo/tpl/anonymize.impl.plj.gz +0 -0
  6. package/dist/tengo/tpl/check_network.create_workdir_from_storage.plj.gz +0 -0
  7. package/dist/tengo/tpl/check_network.download_blob.plj.gz +0 -0
  8. package/dist/tengo/tpl/check_network.run_hello_world.plj.gz +0 -0
  9. package/dist/tengo/tpl/check_network.run_hello_world_py.plj.gz +0 -0
  10. package/dist/tengo/tpl/check_network.upload_blob.plj.gz +0 -0
  11. package/dist/tengo/tpl/check_network.upload_template.plj.gz +0 -0
  12. package/dist/tengo/tpl/check_network.workdir_type_name_extractor.plj.gz +0 -0
  13. package/dist/tengo/tpl/exec.conda.create-env.plj.gz +0 -0
  14. package/dist/tengo/tpl/exec.delayed-compute-allocation.impl.plj.gz +0 -0
  15. package/dist/tengo/tpl/exec.exec-impl.plj.gz +0 -0
  16. package/dist/tengo/tpl/exec.exec.plj.gz +0 -0
  17. package/dist/tengo/tpl/exec.load-software.impl.plj.gz +0 -0
  18. package/dist/tengo/tpl/exec.monetization_info.plj.gz +0 -0
  19. package/dist/tengo/tpl/exec.monetization_to_json.plj.gz +0 -0
  20. package/dist/tengo/tpl/exec.python.create-venv.plj.gz +0 -0
  21. package/dist/tengo/tpl/exec.python.install-deps.plj.gz +0 -0
  22. package/dist/tengo/tpl/exec.python.venv-bin-path.plj.gz +0 -0
  23. package/dist/tengo/tpl/ll.get-field.plj.gz +0 -0
  24. package/dist/tengo/tpl/pframes.build-table.plj.gz +0 -0
  25. package/dist/tengo/tpl/pframes.export-multiple-pcolumns.plj.gz +0 -0
  26. package/dist/tengo/tpl/pframes.export-parquet-pcolumn-chunk.plj.gz +0 -0
  27. package/dist/tengo/tpl/pframes.export-pframe-for-ui.plj.gz +0 -0
  28. package/dist/tengo/tpl/pframes.export-pframe.plj.gz +0 -0
  29. package/dist/tengo/tpl/pframes.export-single-pcolumn.plj.gz +0 -0
  30. package/dist/tengo/tpl/pframes.import-dir.plj.gz +0 -0
  31. package/dist/tengo/tpl/pframes.merge-resource-maps.plj.gz +0 -0
  32. package/dist/tengo/tpl/pframes.parse-to-json.plj.gz +0 -0
  33. package/dist/tengo/tpl/pframes.process-pcolumn-batch-split.plj.gz +0 -0
  34. package/dist/tengo/tpl/pframes.process-pcolumn-batch.plj.gz +0 -0
  35. package/dist/tengo/tpl/pframes.process-pcolumn-data.plj.gz +0 -0
  36. package/dist/tengo/tpl/pframes.remove-nulls.plj.gz +0 -0
  37. package/dist/tengo/tpl/pframes.slice-data.plj.gz +0 -0
  38. package/dist/tengo/tpl/pframes.xsv-export-pframe.plj.gz +0 -0
  39. package/dist/tengo/tpl/pframes.xsv-import-if-not-null.plj.gz +0 -0
  40. package/dist/tengo/tpl/pframes.xsv-import-map.plj.gz +0 -0
  41. package/dist/tengo/tpl/pt.import-dir.plj.gz +0 -0
  42. package/dist/tengo/tpl/pt.workflow-run.plj.gz +0 -0
  43. package/dist/tengo/tpl/waiter.waiter.plj.gz +0 -0
  44. package/dist/tengo/tpl/workdir.save.plj.gz +0 -0
  45. package/dist/tengo/tpl/workflow.build-ctx.plj.gz +0 -0
  46. package/dist/tengo/tpl/workflow.query-anchored.plj.gz +0 -0
  47. package/dist/tengo/tpl/workflow.query-context-filter.plj.gz +0 -0
  48. package/package.json +2 -2
@@ -19,6 +19,7 @@ constants := import("@platforma-sdk/workflow-tengo:constants")
19
19
  monetization := import("@platforma-sdk/workflow-tengo:exec.monetization_internal")
20
20
  execConstants := import("@platforma-sdk/workflow-tengo:exec.constants")
21
21
  units := import("@platforma-sdk/workflow-tengo:units")
22
+ feats := import("@platforma-sdk/workflow-tengo:feats")
22
23
 
23
24
 
24
25
 
@@ -1220,5 +1221,11 @@ builder := func() {
1220
1221
  }
1221
1222
 
1222
1223
  export ll.toStrict({
1223
- builder: builder
1224
+ builder: builder,
1225
+
1226
+
1227
+
1228
+
1229
+
1230
+ hasGpu: feats.hasGpu
1224
1231
  })
@@ -40,11 +40,26 @@ createV2 := func(allocationRef) {
40
40
  return wdCreate.getField(_WD_CREATE_FIELD_WORKDIR)
41
41
  }
42
42
 
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
43
58
  _getFileFillRule := func(filePath, extension) {
44
59
  return {
45
60
  type: "file",
46
61
  path: filePath,
47
- permissions: 0o600,
62
+ permissions: 0o400,
48
63
  pathKey: filePath,
49
64
  blobKey: filePath,
50
65
  copyOptional: false,
@@ -58,7 +73,7 @@ _getArchiveFillRule := func(dstDir, whatToExtract, archiveBlobKey) {
58
73
  extractRules = append(extractRules, {
59
74
  srcPath: f,
60
75
  dstPath: f,
61
- filePerms: 0o600,
76
+ filePerms: 0o400,
62
77
  dirPerms: 0o700
63
78
  })
64
79
  }
@@ -82,7 +97,7 @@ _getValueFillRule := func(filePath) {
82
97
  return {
83
98
  type: "value",
84
99
  path: filePath,
85
- permissions: 0o600,
100
+ permissions: 0o400,
86
101
  pathKey: filePath,
87
102
  valueKey: filePath
88
103
  }
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/workflow-tengo",
3
- "version": "5.21.0",
3
+ "version": "5.23.0",
4
4
  "description": "Tengo SDK library",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "@platforma-open/milaboratories.software-ptexter": "1.2.2"
23
23
  },
24
24
  "devDependencies": {
25
- "@platforma-sdk/tengo-builder": "2.5.25"
25
+ "@platforma-sdk/tengo-builder": "2.5.27"
26
26
  },
27
27
  "scripts": {
28
28
  "type-check": "pl-tengo check",