omp-fabric 1.25.8 → 1.25.9
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/CHANGELOG.md +10 -0
- package/dist/core/system-guidance.d.ts +3 -0
- package/dist/core/system-guidance.d.ts.map +1 -1
- package/dist/fabric-runtime-state.js +4 -1
- package/dist/fabric-runtime-state.js.map +2 -2
- package/dist/index.js +2 -0
- package/dist/index.js.map +2 -2
- package/dist/providers/omp-tools-provider.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2229,6 +2229,8 @@ var extensionToolRosterGuidance = (tools, coreToolNames) => {
|
|
|
2229
2229
|
const extensionTools = tools.filter((tool) => !coreToolNames.has(tool.name));
|
|
2230
2230
|
if (extensionTools.length === 0) return void 0;
|
|
2231
2231
|
const namespaceLabel = (tool) => {
|
|
2232
|
+
const mcpServer = tool.definition?.mcpServerName?.trim();
|
|
2233
|
+
if (mcpServer) return "mcp:" + mcpServer;
|
|
2232
2234
|
const source = tool.sourceInfo?.source?.trim();
|
|
2233
2235
|
if (source?.startsWith("npm:")) return source.slice("npm:".length) || source;
|
|
2234
2236
|
const rawPath = tool.sourceInfo?.path?.trim();
|