@adport/mcp 0.10.0 → 0.11.0

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/bin.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  assembleRuntime,
4
4
  runStdioServer
5
- } from "./chunk-R75I3FKW.js";
5
+ } from "./chunk-HPKW6X2B.js";
6
6
 
7
7
  // src/bin.ts
8
8
  var includeRawTools = process.argv.includes("--raw-api-tools");
@@ -22,7 +22,7 @@ import { createOpenAIModule } from "@adport/provider-openai";
22
22
  // package.json
23
23
  var package_default = {
24
24
  name: "@adport/mcp",
25
- version: "0.10.0",
25
+ version: "0.11.0",
26
26
  description: "adport MCP server \u2014 the open control plane for paid media",
27
27
  license: "Apache-2.0",
28
28
  type: "module",
@@ -2080,7 +2080,7 @@ Unavailable on the current plan: ${scopeDenial.message}` : definition.descriptio
2080
2080
  const rawObject = rawResult && typeof rawResult === "object" && !Array.isArray(rawResult) ? rawResult : {};
2081
2081
  const nestedResult = rawObject.result && typeof rawObject.result === "object" && !Array.isArray(rawObject.result) ? rawObject.result : {};
2082
2082
  const pending = rawObject.pending_operation_id ?? nestedResult.pending_operation_id;
2083
- const privateArguments = tool.sensitiveInputs?.some((path) => {
2083
+ const privateArguments = [...tool.sensitiveInputs ?? [], ...tool.fileInputs ?? []].some((path) => {
2084
2084
  let current = args;
2085
2085
  for (const key of path.split(".")) {
2086
2086
  if (!current || typeof current !== "object" || !Object.hasOwn(current, key)) return false;
@@ -2149,4 +2149,4 @@ export {
2149
2149
  createMcpServer,
2150
2150
  runStdioServer
2151
2151
  };
2152
- //# sourceMappingURL=chunk-R75I3FKW.js.map
2152
+ //# sourceMappingURL=chunk-HPKW6X2B.js.map