diff --git a/.copier-answers.yml b/.copier-answers.yml index 7d4168dc..ec8de5bd 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -6,9 +6,9 @@ author_name: Mehmet Bektas has_binder: false has_settings: true kind: server -labextension_name: '@notebook-intelligence/notebook-intelligence' +labextension_name: '@plmbr/notebook-intelligence' project_short_description: Notebook Intelligence extension for JupyterLab python_name: notebook_intelligence -repository: https://github.com/notebook-intelligence/notebook-intelligence +repository: https://github.com/plmbr/notebook-intelligence test: false diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1f981ca..17d0ab25 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: jupyter server extension list 2>&1 | grep -ie "notebook_intelligence.*OK" jupyter labextension list - jupyter labextension list 2>&1 | grep -ie "@notebook-intelligence/notebook-intelligence.*OK" + jupyter labextension list 2>&1 | grep -ie "@plmbr/notebook-intelligence.*OK" python -m jupyterlab.browser_check - name: Run Python tests @@ -100,7 +100,7 @@ jobs: jupyter server extension list 2>&1 | grep -ie "notebook_intelligence.*OK" jupyter labextension list - jupyter labextension list 2>&1 | grep -ie "@notebook-intelligence/notebook-intelligence.*OK" + jupyter labextension list 2>&1 | grep -ie "@plmbr/notebook-intelligence.*OK" python -m jupyterlab.browser_check --no-browser-test diff --git a/CHANGELOG.md b/CHANGELOG.md index c0db5251..d3bafcf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -330,22 +330,22 @@ A multi-PR accessibility pass landed across most NBI surfaces. Together these ma - Settings UI restructured around Claude vs default mode. - WebSocket connection reliability improvements. -[unreleased]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v5.0.0...HEAD -[5.0.0]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.8.0...v5.0.0 -[4.8.0]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.7.0...v4.8.0 -[4.7.0]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.6.0...v4.7.0 -[4.6.0]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.5.0...v4.6.0 -[4.5.0]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.4.0...v4.5.0 -[4.4.0]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.3.2...v4.4.0 -[4.3.2]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.3.1...v4.3.2 -[4.3.1]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.3.0...v4.3.1 -[4.3.0]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.2.1...v4.3.0 -[4.2.1]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.2.0...v4.2.1 -[4.2.0]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.1.2...v4.2.0 -[4.1.2]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.1.1...v4.1.2 -[4.1.1]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.1.0...v4.1.1 -[4.1.0]: https://github.com/notebook-intelligence/notebook-intelligence/compare/v4.0.0...v4.1.0 -[4.0.0]: https://github.com/notebook-intelligence/notebook-intelligence/releases/tag/v4.0.0 +[unreleased]: https://github.com/plmbr/notebook-intelligence/compare/v5.0.0...HEAD +[5.0.0]: https://github.com/plmbr/notebook-intelligence/compare/v4.8.0...v5.0.0 +[4.8.0]: https://github.com/plmbr/notebook-intelligence/compare/v4.7.0...v4.8.0 +[4.7.0]: https://github.com/plmbr/notebook-intelligence/compare/v4.6.0...v4.7.0 +[4.6.0]: https://github.com/plmbr/notebook-intelligence/compare/v4.5.0...v4.6.0 +[4.5.0]: https://github.com/plmbr/notebook-intelligence/compare/v4.4.0...v4.5.0 +[4.4.0]: https://github.com/plmbr/notebook-intelligence/compare/v4.3.2...v4.4.0 +[4.3.2]: https://github.com/plmbr/notebook-intelligence/compare/v4.3.1...v4.3.2 +[4.3.1]: https://github.com/plmbr/notebook-intelligence/compare/v4.3.0...v4.3.1 +[4.3.0]: https://github.com/plmbr/notebook-intelligence/compare/v4.2.1...v4.3.0 +[4.2.1]: https://github.com/plmbr/notebook-intelligence/compare/v4.2.0...v4.2.1 +[4.2.0]: https://github.com/plmbr/notebook-intelligence/compare/v4.1.2...v4.2.0 +[4.1.2]: https://github.com/plmbr/notebook-intelligence/compare/v4.1.1...v4.1.2 +[4.1.1]: https://github.com/plmbr/notebook-intelligence/compare/v4.1.0...v4.1.1 +[4.1.0]: https://github.com/plmbr/notebook-intelligence/compare/v4.0.0...v4.1.0 +[4.0.0]: https://github.com/plmbr/notebook-intelligence/releases/tag/v4.0.0 ## Versioning policy diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e4899931..2ba50fc5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -155,7 +155,7 @@ jupyter server extension disable notebook_intelligence pip uninstall notebook_intelligence ``` -The `jupyter labextension develop` command leaves a symlink behind. Run `jupyter labextension list` to find the labextensions directory, then remove the `@notebook-intelligence/notebook-intelligence` symlink there. +The `jupyter labextension develop` command leaves a symlink behind. Run `jupyter labextension list` to find the labextensions directory, then remove the `@plmbr/notebook-intelligence` symlink there. ## Running tests diff --git a/SECURITY.md b/SECURITY.md index 199766fb..ff957d27 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -26,7 +26,7 @@ NBI follows semantic versioning starting with 4.0.0. Security fixes land on the In-scope: - The `notebook_intelligence` server extension and its HTTP handlers. -- The `@notebook-intelligence/notebook-intelligence` JupyterLab frontend. +- The `@plmbr/notebook-intelligence` JupyterLab frontend. - Built-in tools (`nbi-notebook-edit`, `nbi-notebook-execute`, `nbi-python-file-edit`, `nbi-file-edit`, `nbi-file-read`, `nbi-command-execute`). - The Claude Skills import and managed-manifest reconciler. diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index fe94b0fa..41a1d163 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -8,7 +8,7 @@ After `pip install notebook-intelligence`, restart JupyterLab. If a restart does ```bash jupyter server extension list # look for "notebook_intelligence enabled" -jupyter labextension list # look for "@notebook-intelligence/notebook-intelligence ... enabled" +jupyter labextension list # look for "@plmbr/notebook-intelligence ... enabled" ``` If either is disabled or missing: @@ -111,5 +111,5 @@ Tune the debounce delay in NBI Settings → Inline completion. Lower delays mean ## Still stuck? -- Check [GitHub issues](https://github.com/notebook-intelligence/notebook-intelligence/issues) for similar reports. +- Check [GitHub issues](https://github.com/plmbr/notebook-intelligence/issues) for similar reports. - Open a new issue including the information listed in [CONTRIBUTING.md](../CONTRIBUTING.md#filing-a-good-bug-report). diff --git a/notebook_intelligence/__init__.py b/notebook_intelligence/__init__.py index 22df0442..8f7532ff 100644 --- a/notebook_intelligence/__init__.py +++ b/notebook_intelligence/__init__.py @@ -23,7 +23,7 @@ def _jupyter_labextension_paths(): return [{ "src": "labextension", - "dest": "@notebook-intelligence/notebook-intelligence" + "dest": "@plmbr/notebook-intelligence" }] diff --git a/package.json b/package.json index 90324d03..fb2c9508 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@notebook-intelligence/notebook-intelligence", + "name": "@plmbr/notebook-intelligence", "version": "5.0.0", "description": "AI coding assistant for JupyterLab", "keywords": [ @@ -10,9 +10,9 @@ "jupyterlab", "jupyterlab-extension" ], - "homepage": "https://github.com/notebook-intelligence/notebook-intelligence", + "homepage": "https://github.com/plmbr/notebook-intelligence", "bugs": { - "url": "https://github.com/notebook-intelligence/notebook-intelligence/issues" + "url": "https://github.com/plmbr/notebook-intelligence/issues" }, "license": "GPL-3.0", "author": { @@ -30,7 +30,7 @@ "style": "style/index.css", "repository": { "type": "git", - "url": "https://github.com/notebook-intelligence/notebook-intelligence.git" + "url": "https://github.com/plmbr/notebook-intelligence.git" }, "scripts": { "build": "jlpm build:lib && jlpm build:labextension:dev", @@ -144,7 +144,7 @@ "schemaDir": "schema", "webpackConfig": "./webpack.config.js", "sharedPackages": { - "@notebook-intelligence/notebook-intelligence": { + "@plmbr/notebook-intelligence": { "singleton": true } } diff --git a/pyproject.toml b/pyproject.toml index 38aa52ed..8f76de16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,8 +98,8 @@ artifacts = ["notebook_intelligence/labextension"] exclude = [".github", "binder", "src", "style", "media"] [tool.hatch.build.targets.wheel.shared-data] -"notebook_intelligence/labextension" = "share/jupyter/labextensions/@notebook-intelligence/notebook-intelligence" -"install.json" = "share/jupyter/labextensions/@notebook-intelligence/notebook-intelligence/install.json" +"notebook_intelligence/labextension" = "share/jupyter/labextensions/@plmbr/notebook-intelligence" +"install.json" = "share/jupyter/labextensions/@plmbr/notebook-intelligence/install.json" "jupyter-config/server-config" = "etc/jupyter/jupyter_server_config.d" [tool.hatch.build.hooks.version] diff --git a/src/components/settings-panel.tsx b/src/components/settings-panel.tsx index 88ccfa4d..ff5d8a9a 100644 --- a/src/components/settings-panel.tsx +++ b/src/components/settings-panel.tsx @@ -790,7 +790,7 @@ function SettingsPanelComponentGeneral(props: any) {
GitHub Copilot login{' '} {' '} diff --git a/src/index.ts b/src/index.ts index b677764a..30736332 100644 --- a/src/index.ts +++ b/src/index.ts @@ -659,7 +659,7 @@ class NBIInlineCompletionProvider } get identifier(): string { - return '@notebook-intelligence/notebook-intelligence'; + return '@plmbr/notebook-intelligence'; } get icon(): LabIcon.ILabIcon { @@ -819,10 +819,10 @@ class MCPConfigEditor { } /** - * Initialization data for the @notebook-intelligence/notebook-intelligence extension. + * Initialization data for the @plmbr/notebook-intelligence extension. */ const plugin: JupyterFrontEndPlugin = { - id: '@notebook-intelligence/notebook-intelligence:plugin', + id: '@plmbr/notebook-intelligence:plugin', description: 'Notebook Intelligence', autoStart: true, requires: [ @@ -856,7 +856,7 @@ const plugin: JupyterFrontEndPlugin = { terminalTracker: ITerminalTracker | null ) => { console.log( - 'JupyterLab extension @notebook-intelligence/notebook-intelligence is activated!' + 'JupyterLab extension @plmbr/notebook-intelligence is activated!' ); const telemetryEmitter = new TelemetryEmitter(); diff --git a/src/tokens.ts b/src/tokens.ts index 7f5d7c84..b32d4004 100644 --- a/src/tokens.ts +++ b/src/tokens.ts @@ -161,7 +161,7 @@ export interface ITelemetryEmitter { } export const INotebookIntelligence = new Token( - '@notebook-intelligence/notebook-intelligence:INotebookIntelligence', + '@plmbr/notebook-intelligence:INotebookIntelligence', 'AI coding assistant for JupyterLab.' ); diff --git a/ui-tests/package.json b/ui-tests/package.json index b8718a27..53bbbe2b 100644 --- a/ui-tests/package.json +++ b/ui-tests/package.json @@ -1,5 +1,5 @@ { - "name": "@notebook-intelligence/ui-tests", + "name": "@plmbr/ui-tests", "version": "1.0.0", "description": "Galata-based UI tests for the notebook-intelligence labextension.", "private": true, diff --git a/ui-tests/tests/claude-mcp-patch.spec.ts b/ui-tests/tests/claude-mcp-patch.spec.ts index 1df0c95d..f7123e0a 100644 --- a/ui-tests/tests/claude-mcp-patch.spec.ts +++ b/ui-tests/tests/claude-mcp-patch.spec.ts @@ -29,7 +29,7 @@ test.describe('claude-mcp workspace disable PATCH endpoint', () => { await page.evaluate(() => { const app = (window as any).jupyterapp; const ids: string[] = app?.listPlugins?.() ?? []; - if (!ids.some(id => id.startsWith('@notebook-intelligence/'))) { + if (!ids.some(id => id.startsWith('@plmbr/'))) { throw new Error('notebook-intelligence plugin did not load'); } }); diff --git a/ui-tests/tests/extension.spec.ts b/ui-tests/tests/extension.spec.ts index a11ca31f..64a5fa06 100644 --- a/ui-tests/tests/extension.spec.ts +++ b/ui-tests/tests/extension.spec.ts @@ -14,7 +14,7 @@ test.describe('notebook-intelligence extension', () => { return false; } const ids: string[] = app.listPlugins(); - return ids.some((id: string) => id.startsWith('@notebook-intelligence/')); + return ids.some((id: string) => id.startsWith('@plmbr/')); }); expect(installed).toBe(true); }); diff --git a/ui-tests/yarn.lock b/ui-tests/yarn.lock index 7b1c6f2f..51b0bf63 100644 --- a/ui-tests/yarn.lock +++ b/ui-tests/yarn.lock @@ -1517,9 +1517,9 @@ __metadata: languageName: node linkType: hard -"@notebook-intelligence/ui-tests@workspace:.": +"@plmbr/ui-tests@workspace:.": version: 0.0.0-use.local - resolution: "@notebook-intelligence/ui-tests@workspace:." + resolution: "@plmbr/ui-tests@workspace:." dependencies: "@jupyterlab/galata": ^5.0.0 "@playwright/test": ^1.40.0 diff --git a/yarn.lock b/yarn.lock index 562c2a67..090f1306 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3314,9 +3314,23 @@ __metadata: languageName: node linkType: hard -"@notebook-intelligence/notebook-intelligence@workspace:.": +"@pkgjs/parseargs@npm:^0.11.0": + version: 0.11.0 + resolution: "@pkgjs/parseargs@npm:0.11.0" + checksum: 6ad6a00fc4f2f2cfc6bff76fb1d88b8ee20bc0601e18ebb01b6d4be583733a860239a521a7fbca73b612e66705078809483549d2b18f370eb346c5155c8e4a0f + languageName: node + linkType: hard + +"@pkgr/core@npm:^0.1.0": + version: 0.1.1 + resolution: "@pkgr/core@npm:0.1.1" + checksum: 6f25fd2e3008f259c77207ac9915b02f1628420403b2630c92a07ff963129238c9262afc9e84344c7a23b5cc1f3965e2cd17e3798219f5fd78a63d144d3cceba + languageName: node + linkType: hard + +"@plmbr/notebook-intelligence@workspace:.": version: 0.0.0-use.local - resolution: "@notebook-intelligence/notebook-intelligence@workspace:." + resolution: "@plmbr/notebook-intelligence@workspace:." dependencies: "@codemirror/state": ^6.4.1 "@codemirror/view": ^6.26.0 @@ -3372,20 +3386,6 @@ __metadata: languageName: unknown linkType: soft -"@pkgjs/parseargs@npm:^0.11.0": - version: 0.11.0 - resolution: "@pkgjs/parseargs@npm:0.11.0" - checksum: 6ad6a00fc4f2f2cfc6bff76fb1d88b8ee20bc0601e18ebb01b6d4be583733a860239a521a7fbca73b612e66705078809483549d2b18f370eb346c5155c8e4a0f - languageName: node - linkType: hard - -"@pkgr/core@npm:^0.1.0": - version: 0.1.1 - resolution: "@pkgr/core@npm:0.1.1" - checksum: 6f25fd2e3008f259c77207ac9915b02f1628420403b2630c92a07ff963129238c9262afc9e84344c7a23b5cc1f3965e2cd17e3798219f5fd78a63d144d3cceba - languageName: node - linkType: hard - "@rjsf/core@npm:^5.13.4": version: 5.21.1 resolution: "@rjsf/core@npm:5.21.1"