@triclaps/cli 0.0.8 → 0.0.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.
Files changed (2) hide show
  1. package/index.js +6 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -282,6 +282,12 @@ function resolveAdapterPath(env = process.env) {
282
282
  if (override) {
283
283
  return path4.resolve(override);
284
284
  }
285
+ const inPackage = fileURLToPath2(
286
+ new URL("./adapters/hermes_claps_adapter.py", import.meta.url)
287
+ );
288
+ if (existsSync2(inPackage)) {
289
+ return inPackage;
290
+ }
285
291
  return fileURLToPath2(
286
292
  new URL("../../adapters/hermes_claps_adapter.py", import.meta.url)
287
293
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triclaps/cli",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "claps-cli": "index.js",