@appium/mcp-documentation 1.0.5 → 1.0.6

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 CHANGED
@@ -1,3 +1,9 @@
1
+ ## [1.0.6](https://github.com/appium/appium-mcp-documentation/compare/v1.0.5...v1.0.6) (2026-06-28)
2
+
3
+ ### Bug Fixes
4
+
5
+ * path ([#29](https://github.com/appium/appium-mcp-documentation/issues/29)) ([d5063e7](https://github.com/appium/appium-mcp-documentation/commit/d5063e7efb476dc00a2cc7f1e5b3c30d53788a2d))
6
+
1
7
  ## [1.0.5](https://github.com/appium/appium-mcp-documentation/compare/v1.0.4...v1.0.5) (2026-06-28)
2
8
 
3
9
  ### Miscellaneous Chores
@@ -1 +1 @@
1
- {"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../src/paths.ts"],"names":[],"mappings":"AAQA,wBAAgB,aAAa,IAAI,MAAM,CAGtC;AAED,wBAAgB,0BAA0B,CAAC,GAAG,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,CAExE"}
1
+ {"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../src/paths.ts"],"names":[],"mappings":"AASA,wBAAgB,aAAa,IAAI,MAAM,CAGtC;AAED,wBAAgB,0BAA0B,CAAC,GAAG,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,CAOxE"}
package/dist/paths.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import path from 'node:path';
2
+ import { existsSync } from 'node:fs';
2
3
  import { fileURLToPath } from 'node:url';
3
4
  import { fs } from '@appium/support';
4
5
  const __filename = fileURLToPath(import.meta.url);
@@ -9,6 +10,10 @@ export function getModuleRoot() {
9
10
  return moduleRoot;
10
11
  }
11
12
  export function resolveAppiumResourcesPath(...segments) {
13
+ const packagedResourcesPath = path.join(__dirname, 'resources');
14
+ if (existsSync(packagedResourcesPath)) {
15
+ return path.join(packagedResourcesPath, ...segments);
16
+ }
12
17
  return path.join(getModuleRoot(), 'src', 'resources', ...segments);
13
18
  }
14
19
  //# sourceMappingURL=paths.js.map
package/dist/paths.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"paths.js","sourceRoot":"","sources":["../src/paths.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;AAC3C,IAAI,UAA8B,CAAC;AAEnC,MAAM,UAAU,aAAa;IAC3B,UAAU,KAAK,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACtC,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,GAAG,QAAkB;IAC9D,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,QAAQ,CAAC,CAAC;AACrE,CAAC"}
1
+ {"version":3,"file":"paths.js","sourceRoot":"","sources":["../src/paths.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;AAC3C,IAAI,UAA8B,CAAC;AAEnC,MAAM,UAAU,aAAa;IAC3B,UAAU,KAAK,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACtC,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,GAAG,QAAkB;IAC9D,MAAM,qBAAqB,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IAChE,IAAI,UAAU,CAAC,qBAAqB,CAAC,EAAE,CAAC;QACtC,OAAO,IAAI,CAAC,IAAI,CAAC,qBAAqB,EAAE,GAAG,QAAQ,CAAC,CAAC;IACvD,CAAC;IAED,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,QAAQ,CAAC,CAAC;AACrE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appium/mcp-documentation",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "type": "module",
5
5
  "description": "Appium MCP documentation query tools and indexed documentation assets",
6
6
  "repository": {