pinokiod 7.1.33 → 7.1.35
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 +31 -2
- package/kernel/index.js +1 -1
- package/package.json +1 -1
- package/server/views/app.ejs +9 -2
- package/undefined/logs/dev/plugin/amp/pinokio.js/1775428679177 +0 -12
- package/undefined/logs/dev/plugin/amp/pinokio.js/events +0 -2
- package/undefined/logs/dev/plugin/amp/pinokio.js/latest +0 -12
- package/undefined/logs/dev/plugin/pi/pinokio.js/1775428650680 +0 -9
- package/undefined/logs/dev/plugin/pi/pinokio.js/1775428654295 +0 -10
- package/undefined/logs/dev/plugin/pi/pinokio.js/events +0 -10
- package/undefined/logs/dev/plugin/pi/pinokio.js/latest +0 -10
package/kernel/bin/conda.js
CHANGED
|
@@ -70,6 +70,35 @@ class Conda {
|
|
|
70
70
|
}
|
|
71
71
|
return base
|
|
72
72
|
}
|
|
73
|
+
async ensureSslCertDirOverride() {
|
|
74
|
+
if (this.kernel.platform !== "win32") {
|
|
75
|
+
return
|
|
76
|
+
}
|
|
77
|
+
const activateDir = this.kernel.bin.path("miniconda/etc/conda/activate.d")
|
|
78
|
+
await fs.promises.mkdir(activateDir, { recursive: true }).catch(() => {})
|
|
79
|
+
await fs.promises.writeFile(
|
|
80
|
+
path.resolve(activateDir, "zz_pinokio_unset_ssl_cert_dir-win.bat"),
|
|
81
|
+
`@echo off
|
|
82
|
+
if "%__CONDA_OPENSSL_CERT_DIR_SET%"=="1" (
|
|
83
|
+
set "SSL_CERT_DIR="
|
|
84
|
+
)
|
|
85
|
+
`
|
|
86
|
+
)
|
|
87
|
+
await fs.promises.writeFile(
|
|
88
|
+
path.resolve(activateDir, "zz_pinokio_unset_ssl_cert_dir-win.ps1"),
|
|
89
|
+
`if ($Env:__CONDA_OPENSSL_CERT_DIR_SET -eq "1") {
|
|
90
|
+
Remove-Item -Path Env:\\SSL_CERT_DIR -ErrorAction SilentlyContinue
|
|
91
|
+
}
|
|
92
|
+
`
|
|
93
|
+
)
|
|
94
|
+
await fs.promises.writeFile(
|
|
95
|
+
path.resolve(activateDir, "zz_pinokio_unset_ssl_cert_dir-win.sh"),
|
|
96
|
+
`if [[ "\${__CONDA_OPENSSL_CERT_DIR_SET:-}" == "1" ]]; then
|
|
97
|
+
unset SSL_CERT_DIR
|
|
98
|
+
fi
|
|
99
|
+
`
|
|
100
|
+
)
|
|
101
|
+
}
|
|
73
102
|
async init() {
|
|
74
103
|
//
|
|
75
104
|
if (this.kernel.homedir) {
|
|
@@ -109,6 +138,7 @@ report_errors: false`)
|
|
|
109
138
|
// await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.7.1
|
|
110
139
|
//conda-libmamba-solver=24.7.0`)
|
|
111
140
|
}
|
|
141
|
+
await this.ensureSslCertDirOverride()
|
|
112
142
|
}
|
|
113
143
|
}
|
|
114
144
|
// async init() {
|
|
@@ -362,9 +392,8 @@ report_errors: false`)
|
|
|
362
392
|
this.kernel.bin.path("miniconda", "python.exe"),
|
|
363
393
|
this.kernel.bin.path("miniconda", "python3.exe"),
|
|
364
394
|
)
|
|
365
|
-
|
|
366
|
-
|
|
367
395
|
}
|
|
396
|
+
await this.ensureSslCertDirOverride()
|
|
368
397
|
ondata({ raw: `Install finished\r\n` })
|
|
369
398
|
await this.kernel.bin.rm(installer, ondata)
|
|
370
399
|
}
|
package/kernel/index.js
CHANGED
package/package.json
CHANGED
package/server/views/app.ejs
CHANGED
|
@@ -7285,12 +7285,19 @@ const rerenderMenuSection = (container, html) => {
|
|
|
7285
7285
|
}
|
|
7286
7286
|
const protectionEnabled = <% if (typeof protection_enabled !== 'undefined') { %><%- JSON.stringify(protection_enabled === true) %><% } else { %>false<% } %>
|
|
7287
7287
|
n.Noty({
|
|
7288
|
-
timeout:
|
|
7288
|
+
timeout: false,
|
|
7289
|
+
progressBar: false,
|
|
7290
|
+
closeWith: ["click"],
|
|
7291
|
+
silent: true,
|
|
7292
|
+
callbacks: {
|
|
7293
|
+
onClick: () => {
|
|
7294
|
+
stripSearchParams(["install_protection"])
|
|
7295
|
+
}
|
|
7296
|
+
},
|
|
7289
7297
|
text: protectionEnabled
|
|
7290
7298
|
? "Protection beta is on for this app. You can change it later from the Run tab."
|
|
7291
7299
|
: "Protection beta is off for this app. You can change it later from the Run tab."
|
|
7292
7300
|
})
|
|
7293
|
-
stripSearchParams(["install_protection"])
|
|
7294
7301
|
}
|
|
7295
7302
|
maybeShowProtectionInstallToast()
|
|
7296
7303
|
const buildPluginLaunchFromQuery = () => {
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
[api shell.run]
|
|
2
|
-
|
|
3
|
-
The default interactive shell is now zsh.
|
|
4
|
-
To update your account to use zsh, please run `chsh -s /bin/zsh`.
|
|
5
|
-
For more details, please visit https://support.apple.com/kb/HT208050.
|
|
6
|
-
<<PINOKIO_SHELL>>eval "$(conda shell.bash hook)" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base && npm install -g @sourcegraph/amp@latest
|
|
7
|
-
|
|
8
|
-
added 3 packages in 3s
|
|
9
|
-
|
|
10
|
-
1 package is looking for funding
|
|
11
|
-
run `npm fund` for details
|
|
12
|
-
(base) <<PINOKIO_SHELL>>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
[api shell.run]
|
|
2
|
-
|
|
3
|
-
The default interactive shell is now zsh.
|
|
4
|
-
To update your account to use zsh, please run `chsh -s /bin/zsh`.
|
|
5
|
-
For more details, please visit https://support.apple.com/kb/HT208050.
|
|
6
|
-
<<PINOKIO_SHELL>>eval "$(conda shell.bash hook)" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base && npm install -g @sourcegraph/amp@latest
|
|
7
|
-
|
|
8
|
-
added 3 packages in 3s
|
|
9
|
-
|
|
10
|
-
1 package is looking for funding
|
|
11
|
-
run `npm fund` for details
|
|
12
|
-
(base) <<PINOKIO_SHELL>>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
[api shell.run]
|
|
2
|
-
|
|
3
|
-
The default interactive shell is now zsh.
|
|
4
|
-
To update your account to use zsh, please run `chsh -s /bin/zsh`.
|
|
5
|
-
For more details, please visit https://support.apple.com/kb/HT208050.
|
|
6
|
-
<<PINOKIO_SHELL>>eval "$(conda shell.bash hook)" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base && npm uninstall -g @mariozechner/pi-coding-agent
|
|
7
|
-
|
|
8
|
-
up to date in 355ms
|
|
9
|
-
(base) <<PINOKIO_SHELL>>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
2026-04-05T22:37:30.680Z [memory] {"ts":1775428650679,"step":0,"input":{"ts":"1775428650149"},"args":{"ts":"1775428650149"},"global":{},"local":{},"port":42003}
|
|
2
|
-
2026-04-05T22:37:30.680Z [memory]
|
|
3
|
-
2026-04-05T22:37:34.296Z [memory] {"ts":1775428654295,"step":1,"input":{"id":"93c7335b-5c6c-4d43-87ae-e573d660d6bb"},"args":{"ts":"1775428650149"},"global":{},"local":{},"port":42003}
|
|
4
|
-
2026-04-05T22:37:34.296Z [memory]
|
|
5
|
-
2026-04-05T22:37:34.311Z [api fs.rm]
|
|
6
|
-
2026-04-05T22:37:34.311Z [api fs.rm] removing:
|
|
7
|
-
2026-04-05T22:37:34.311Z [api fs.rm] /Users/x/pinokio/plugin/pi
|
|
8
|
-
2026-04-05T22:37:34.311Z [api fs.rm]
|
|
9
|
-
2026-04-05T22:37:34.318Z [api fs.rm] done
|
|
10
|
-
2026-04-05T22:37:34.318Z [api fs.rm]
|