@mcpc-tech/plugin-markdown-loader 0.0.2 → 0.0.3

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 (3) hide show
  1. package/index.cjs +3 -1
  2. package/index.mjs +3 -1
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -963,7 +963,9 @@ ${JSON.stringify(cleanedSchema, null, 2)}
963
963
  tool: tool2
964
964
  });
965
965
  try {
966
- const result = await this.server.callTool(tool2, toolArgs);
966
+ const result = await this.server.callTool(tool2, toolArgs, {
967
+ agentName: this.name
968
+ });
967
969
  const callToolResult = result ?? {
968
970
  content: []
969
971
  };
package/index.mjs CHANGED
@@ -924,7 +924,9 @@ ${JSON.stringify(cleanedSchema, null, 2)}
924
924
  tool: tool2
925
925
  });
926
926
  try {
927
- const result = await this.server.callTool(tool2, toolArgs);
927
+ const result = await this.server.callTool(tool2, toolArgs, {
928
+ agentName: this.name
929
+ });
928
930
  const callToolResult = result ?? {
929
931
  content: []
930
932
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcpc-tech/plugin-markdown-loader",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "homepage": "https://jsr.io/@mcpc/plugin-markdown-loader",
5
5
  "dependencies": {
6
6
  "@ai-sdk/provider": "^2.0.0",