@moderniser/plugin 0.1.10 → 0.1.13
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/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -393,7 +393,11 @@ var ModerniserPlugin = async (input) => {
|
|
|
393
393
|
config.mcp[PROVIDER_ID] ??= {
|
|
394
394
|
type: "remote",
|
|
395
395
|
url: `${API2()}/mcp`,
|
|
396
|
-
headers: {
|
|
396
|
+
headers: {
|
|
397
|
+
Authorization: `Bearer ${mcpKey}`,
|
|
398
|
+
...companyHeaders(),
|
|
399
|
+
...process.env.MODERNISER_SESSION_ID ? { [SESSION_HEADER]: process.env.MODERNISER_SESSION_ID } : {}
|
|
400
|
+
},
|
|
397
401
|
oauth: false
|
|
398
402
|
};
|
|
399
403
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moderniser/plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Moderniser plugin for opencode: points inference at the gateway, declares the Moderniser remote MCP server, and reports session telemetry",
|
|
6
6
|
"license": "MIT",
|