@jupyter-notebook/console-extension 7.6.0-alpha.3 → 7.6.0-alpha.5

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 (2) hide show
  1. package/lib/index.js +13 -0
  2. package/package.json +10 -10
package/lib/index.js CHANGED
@@ -35,6 +35,18 @@ const opener = {
35
35
  const path = decodeURIComponent(match);
36
36
  commands.execute('console:create', { path });
37
37
  },
38
+ describedBy: {
39
+ args: {
40
+ type: 'object',
41
+ properties: {
42
+ path: {
43
+ type: 'string',
44
+ description: 'The routed URL path to handle.',
45
+ },
46
+ },
47
+ required: ['path'],
48
+ },
49
+ },
38
50
  });
39
51
  router.register({ command, pattern: consolePattern });
40
52
  },
@@ -137,6 +149,7 @@ const scratchpadConsole = {
137
149
  const kernelPref = notebookSessionContext.kernelPreference;
138
150
  panel = await commands.execute('console:create', {
139
151
  kernelPreference: { ...kernelPref, id },
152
+ preventTitleUpdate: true,
140
153
  });
141
154
  if (!panel) {
142
155
  console.error('An error occurred during scratchpad console creation');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyter-notebook/console-extension",
3
- "version": "7.6.0-alpha.3",
3
+ "version": "7.6.0-alpha.5",
4
4
  "description": "Jupyter Notebook - Console Extension",
5
5
  "homepage": "https://github.com/jupyter/notebook",
6
6
  "bugs": {
@@ -38,21 +38,21 @@
38
38
  "watch": "tsc -b --watch"
39
39
  },
40
40
  "dependencies": {
41
- "@jupyter-notebook/application": "^7.6.0-alpha.3",
42
- "@jupyterlab/application": "~4.6.0-alpha.3",
43
- "@jupyterlab/apputils": "~4.7.0-alpha.3",
44
- "@jupyterlab/console": "~4.6.0-alpha.3",
45
- "@jupyterlab/coreutils": "~6.6.0-alpha.3",
46
- "@jupyterlab/notebook": "~4.6.0-alpha.3",
47
- "@jupyterlab/translation": "~4.6.0-alpha.3",
48
- "@jupyterlab/ui-components": "~4.6.0-alpha.3",
41
+ "@jupyter-notebook/application": "^7.6.0-alpha.5",
42
+ "@jupyterlab/application": "~4.6.0-alpha.5",
43
+ "@jupyterlab/apputils": "~4.7.0-alpha.5",
44
+ "@jupyterlab/console": "~4.6.0-alpha.5",
45
+ "@jupyterlab/coreutils": "~6.6.0-alpha.5",
46
+ "@jupyterlab/notebook": "~4.6.0-alpha.5",
47
+ "@jupyterlab/translation": "~4.6.0-alpha.5",
48
+ "@jupyterlab/ui-components": "~4.6.0-alpha.5",
49
49
  "@lumino/algorithm": "^2.0.4",
50
50
  "@lumino/coreutils": "^2.2.2",
51
51
  "@lumino/widgets": "^2.7.2"
52
52
  },
53
53
  "devDependencies": {
54
54
  "rimraf": "^3.0.2",
55
- "typescript": "~5.5.4"
55
+ "typescript": "~5.9.3"
56
56
  },
57
57
  "publishConfig": {
58
58
  "access": "public"