pinokiod 3.2.4 → 3.2.6

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.
@@ -29,6 +29,11 @@ const ENVS = async () => {
29
29
  key: "PIP_CACHE_DIR",
30
30
  hidden: true,
31
31
  val: "./cache/PIP_CACHE_DIR"
32
+ }, {
33
+ type: ["system"],
34
+ key: "UV_CACHE_DIR",
35
+ hidden: true,
36
+ val: "./cache/UV_CACHE_DIR"
32
37
  }, {
33
38
  type: ["system"],
34
39
  key: "PIP_TMPDIR",
package/kernel/util.js CHANGED
@@ -148,7 +148,6 @@ const log_path = (fullpath, kernel) => {
148
148
  let rel_path = path.relative(api_path, fullpath)
149
149
  let log_root = `${kernel.homedir}${path.sep}logs`
150
150
  let current_log_path = path.resolve(log_root, "shell/cleaned/api", rel_path)
151
- console.log({ log_path })
152
151
  return current_log_path
153
152
  }
154
153
  const api_path = (fullpath, kernel) => {
@@ -156,7 +155,6 @@ const api_path = (fullpath, kernel) => {
156
155
  let rel_path = path.relative(api_path, fullpath)
157
156
  let api_name = rel_path.split(path.sep)[0]
158
157
  let current_api_path = `${api_path}${path.sep}${api_name}`
159
- console.log({ current_api_path })
160
158
  return current_api_path
161
159
  }
162
160
  const escapeStringRegexp = (string) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.4",
3
+ "version": "3.2.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -349,7 +349,6 @@ class Server {
349
349
  } else {
350
350
  filepath = full_filepath
351
351
  }
352
- console.log({ filepath })
353
352
 
354
353
  // check if it's a folder or a file
355
354
  let p = "/api" // run mode
@@ -916,7 +915,6 @@ class Server {
916
915
  let pre_items = []
917
916
  if (resolved && resolved.pre) {
918
917
  let env = await Environment.get2(filepath, this.kernel)
919
- console.log("ENV.get2", { filepath, env })
920
918
  for(let item of resolved.pre) {
921
919
  if (item.env) {
922
920
  if (env[item.env]) {
@@ -934,11 +932,9 @@ class Server {
934
932
  if (requires_instantiation) {
935
933
  let p = Util.api_path(filepath, this.kernel)
936
934
  let platform = os.platform()
937
- console.log("p before", p)
938
935
  if (platform === "win32") {
939
936
  p = p.replace(/\\/g, '\\\\')
940
937
  }
941
- console.log("p after", p)
942
938
  res.render("required_env_editor", {
943
939
  agent: this.agent,
944
940
  theme: this.theme,