pinokiod 3.2.133 → 3.2.136
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/kernel/bin/conda.js +1 -1
- package/kernel/bin/index.js +1 -1
- package/kernel/index.js +9 -10
- package/kernel/shell.js +6 -6
- package/package.json +1 -1
- package/server/index.js +5 -4
package/kernel/bin/conda.js
CHANGED
|
@@ -224,7 +224,7 @@ create_default_packages:
|
|
|
224
224
|
//"conda install -y conda-libmamba-solver=24.11.1 conda=24.7.1",
|
|
225
225
|
//"conda install -y conda-libmamba-solver=24.11.1 conda=24.11.2",
|
|
226
226
|
//"conda update -y conda-libmamba-solver",
|
|
227
|
-
"conda update -y --all -vvv --debug",
|
|
227
|
+
"conda update -y --all",// -vvv --debug",
|
|
228
228
|
// "conda update -y conda",
|
|
229
229
|
// "conda update -y --all",
|
|
230
230
|
]
|
package/kernel/bin/index.js
CHANGED
package/kernel/index.js
CHANGED
|
@@ -415,18 +415,17 @@ class Kernel {
|
|
|
415
415
|
}
|
|
416
416
|
|
|
417
417
|
|
|
418
|
-
console.log("> 5")
|
|
419
418
|
|
|
420
|
-
let pwpath
|
|
421
|
-
if (this.platform === "win32") {
|
|
422
|
-
pwpath = this.bin.path("miniconda/node_modules/playwright")
|
|
423
|
-
} else {
|
|
424
|
-
pwpath = this.bin.path("miniconda/lib/node_modules/playwright")
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
|
|
419
|
+
// let pwpath
|
|
420
|
+
// if (this.platform === "win32") {
|
|
421
|
+
// pwpath = this.bin.path("miniconda/node_modules/playwright")
|
|
422
|
+
// } else {
|
|
423
|
+
// pwpath = this.bin.path("miniconda/lib/node_modules/playwright")
|
|
424
|
+
// }
|
|
425
|
+
let pwpath = this.bin.path("playwright/browsers")
|
|
426
|
+
process.env.PLAYWRIGHT_BROWSERS_PATH = pwpath
|
|
427
|
+
await fs.promises.mkdir(pwpath, { recursive: true }).catch((e) => { })
|
|
428
428
|
|
|
429
|
-
console.log("> 6")
|
|
430
429
|
// await this.template.init()
|
|
431
430
|
|
|
432
431
|
|
package/kernel/shell.js
CHANGED
|
@@ -406,9 +406,9 @@ class Shell {
|
|
|
406
406
|
})
|
|
407
407
|
cb()
|
|
408
408
|
}, 1)
|
|
409
|
-
term.onExit((result) => {
|
|
410
|
-
console.log("onExit", { result })
|
|
411
|
-
})
|
|
409
|
+
// term.onExit((result) => {
|
|
410
|
+
// console.log("onExit", { result })
|
|
411
|
+
// })
|
|
412
412
|
term.onData((data) => {
|
|
413
413
|
if (ready) {
|
|
414
414
|
queue.push(data)
|
|
@@ -693,9 +693,9 @@ class Shell {
|
|
|
693
693
|
this.queue.push(data)
|
|
694
694
|
}
|
|
695
695
|
});
|
|
696
|
-
this.ptyProcess.onExit((result) => {
|
|
697
|
-
console.log(">>> exec onExit", result)
|
|
698
|
-
})
|
|
696
|
+
// this.ptyProcess.onExit((result) => {
|
|
697
|
+
// console.log(">>> exec onExit", result)
|
|
698
|
+
// })
|
|
699
699
|
}
|
|
700
700
|
} catch (e) {
|
|
701
701
|
console.log("** Error", e)
|
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -74,6 +74,7 @@ class Server {
|
|
|
74
74
|
if (platform === "linux") {
|
|
75
75
|
process.env.WEBKIT_DISABLE_DMABUF_RENDERER = 1
|
|
76
76
|
}
|
|
77
|
+
|
|
77
78
|
// process.env.CONDA_LIBMAMBA_SOLVER_DEBUG_LIBSOLV = 1
|
|
78
79
|
}
|
|
79
80
|
stop() {
|
|
@@ -501,8 +502,8 @@ class Server {
|
|
|
501
502
|
name: "py"
|
|
502
503
|
}, {
|
|
503
504
|
name: "cloudflared"
|
|
504
|
-
}, {
|
|
505
|
-
name: "playwright"
|
|
505
|
+
// }, {
|
|
506
|
+
// name: "playwright"
|
|
506
507
|
}, {
|
|
507
508
|
name: "huggingface"
|
|
508
509
|
}, {
|
|
@@ -783,8 +784,8 @@ class Server {
|
|
|
783
784
|
name: "py"
|
|
784
785
|
}, {
|
|
785
786
|
name: "cloudflared"
|
|
786
|
-
|
|
787
|
-
|
|
787
|
+
// }, {
|
|
788
|
+
// name: "playwright"
|
|
788
789
|
}, {
|
|
789
790
|
name: "huggingface"
|
|
790
791
|
}, {
|