@galaxyproject/jupyterlite 0.0.19 → 0.0.21
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/package.json +4 -7
- package/static/dist/_output/config-utils.js +19 -1
- package/static/dist/_output/extensions/jl-galaxy/extension.js +1 -1
- package/static/dist/_output/jupyter-lite.json +17 -2
- package/static/dist/_output/pypi/cycler-0.12.1-py3-none-any.whl +0 -0
- package/static/dist/_output/pypi/gxy-0.0.0-py3-none-any.whl +0 -0
- package/static/dist/_output/pypi/{narwhals-2.13.0-py3-none-any.whl → narwhals-2.14.0-py3-none-any.whl} +0 -0
- package/static/dist/_output/pypi/{plotly-6.3.0-py3-none-any.whl → plotly-6.5.0-py3-none-any.whl} +0 -0
- package/static/dist/_output/pypi/pyparsing-3.2.5-py3-none-any.whl +0 -0
- package/static/dist/_output/pypi/python_dateutil-2.9.0.post0-py2.py3-none-any.whl +0 -0
- package/static/dist/_output/pypi/pytz-2025.2-py2.py3-none-any.whl +0 -0
- package/static/dist/_output/pypi/seaborn-0.13.2-py3-none-any.whl +0 -0
- package/static/dist/_output/pypi/six-1.17.0-py2.py3-none-any.whl +0 -0
- package/static/dist/_output/pypi/tzdata-2025.3-py2.py3-none-any.whl +0 -0
package/package.json
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galaxyproject/jupyterlite",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"static"
|
|
7
7
|
],
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "webpack && npm run build:jupyter && npm run build:gxy && npm run build:extension && npm run build:
|
|
10
|
-
"build:extension": "node install
|
|
9
|
+
"build": "webpack && npm run build:jupyter && npm run build:gxy && npm run build:extension && npm run build:index && npm run build:public",
|
|
10
|
+
"build:extension": "node jl.install.js",
|
|
11
11
|
"build:gxy": "cd gxy && python -m build --wheel",
|
|
12
12
|
"build:index": "cpx src/index.js static/dist",
|
|
13
13
|
"build:jupyter": "jupyter lite build --output-dir static/dist/_output",
|
|
14
|
-
"build:patch": "node patch-config.js",
|
|
15
14
|
"build:public": "cp public/* static",
|
|
16
15
|
"dev": "jupyter lite serve --output-dir static/dist/_output --config static/dist/_output/jupyter-lite.json",
|
|
17
16
|
"prettier": "prettier --write 'package.json' '*.js' '*.ts' 'src/*.js' 'src/*.ts'",
|
|
@@ -21,6 +20,7 @@
|
|
|
21
20
|
"@playwright/test": "^1.52.0",
|
|
22
21
|
"axios": "^1.9.0",
|
|
23
22
|
"cpx": "^1.5.0",
|
|
23
|
+
"node-fetch": "^3.3.2",
|
|
24
24
|
"playwright": "^1.52.0",
|
|
25
25
|
"prettier": "^3.5.3",
|
|
26
26
|
"ts-loader": "^9.5.0",
|
|
@@ -29,8 +29,5 @@
|
|
|
29
29
|
"webpack-cli": "^5.1.4",
|
|
30
30
|
"@jupyterlab/application": "^4.0.0",
|
|
31
31
|
"@jupyterlab/apputils": "^4.0.0"
|
|
32
|
-
},
|
|
33
|
-
"dependencies": {
|
|
34
|
-
"node-fetch": "^3.3.2"
|
|
35
32
|
}
|
|
36
33
|
}
|
|
@@ -247,13 +247,31 @@ function addFavicon(config) {
|
|
|
247
247
|
*/
|
|
248
248
|
async function main() {
|
|
249
249
|
const config = await jupyterConfigData();
|
|
250
|
-
|
|
250
|
+
//__GXY__INJECTION__
|
|
251
|
+
|
|
252
|
+
const AI_SETTINGS = "@jupyterlite/ai:settings-model";
|
|
251
253
|
const PYODIDE_KERNEL = "@jupyterlite/pyodide-kernel-extension:kernel";
|
|
252
254
|
const searchParams = Object.fromEntries(new URL(window.location.href).searchParams.entries());
|
|
253
255
|
config.litePluginSettings[PYODIDE_KERNEL].loadPyodideOptions.env = {
|
|
254
256
|
__gxy__: JSON.stringify(searchParams)
|
|
255
257
|
};
|
|
258
|
+
config.settingsOverrides = {};
|
|
259
|
+
config.settingsOverrides[AI_SETTINGS] = {
|
|
260
|
+
defaultProvider: "jnaut",
|
|
261
|
+
useSameProviderForChatAndCompleter: false,
|
|
262
|
+
providers: [
|
|
263
|
+
{
|
|
264
|
+
id: "jnaut",
|
|
265
|
+
name: "jnaut",
|
|
266
|
+
provider: "generic",
|
|
267
|
+
model: "jnaut",
|
|
268
|
+
apiKey: "jnaut",
|
|
269
|
+
baseURL: searchParams.root + "compat/jupyternaut"
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
};
|
|
256
273
|
|
|
274
|
+
//__GXY__INJECTION__
|
|
257
275
|
if (config.baseUrl === new URL(here()).pathname) {
|
|
258
276
|
window.location.href = config.appUrl.replace(/\/?$/, '/index.html');
|
|
259
277
|
return;
|