Skip to content

Commit ad82f09

Browse files
committed
Fix plugin activation by sharing @jupyter/chat package
Resolves plugin activation errors where IChatCommandRegistry provider could not be found. Configures @jupyter/chat as a shared singleton package to ensure all extensions use the same instance. Fixes #7
1 parent 8b72e92 commit ad82f09

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,13 @@
112112
}
113113
},
114114
"extension": true,
115-
"outputDir": "jupyter_ai_chat_commands/labextension"
115+
"outputDir": "jupyter_ai_chat_commands/labextension",
116+
"sharedPackages": {
117+
"@jupyter/chat": {
118+
"bundled": false,
119+
"singleton": true
120+
}
121+
}
116122
},
117123
"eslintIgnore": [
118124
"node_modules",

0 commit comments

Comments
 (0)