trace-mcp 1.5.3 → 1.5.4

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/cli.js CHANGED
@@ -29621,7 +29621,7 @@ function registerSessionTools(server, ctx) {
29621
29621
  }
29622
29622
 
29623
29623
  // src/server/server.ts
29624
- var PKG_VERSION = true ? "1.5.3" : "0.0.0-dev";
29624
+ var PKG_VERSION = true ? "1.5.4" : "0.0.0-dev";
29625
29625
  function j2(value) {
29626
29626
  return JSON.stringify(value, (_key, val) => val === null || val === void 0 ? void 0 : val);
29627
29627
  }
@@ -56387,8 +56387,12 @@ function clientExists(client) {
56387
56387
  }
56388
56388
  function findHookSource(scriptName) {
56389
56389
  const filename = `${scriptName}${HOOK_EXT}`;
56390
+ const base = import.meta.dirname ?? ".";
56390
56391
  const candidates = [
56391
- path95.resolve(import.meta.dirname ?? ".", "..", "..", "hooks", filename),
56392
+ path95.resolve(base, "..", "..", "hooks", filename),
56393
+ // dev: src/init/ → ../../hooks
56394
+ path95.resolve(base, "..", "hooks", filename),
56395
+ // bundled: dist/ → ../hooks
56392
56396
  path95.resolve(process.cwd(), "hooks", filename)
56393
56397
  ];
56394
56398
  for (const c of candidates) {
@@ -59594,7 +59598,7 @@ analyticsCommand.command("trends").description("Show daily usage trends: tokens,
59594
59598
  });
59595
59599
 
59596
59600
  // src/cli.ts
59597
- var PKG_VERSION2 = true ? "1.5.3" : "0.0.0-dev";
59601
+ var PKG_VERSION2 = true ? "1.5.4" : "0.0.0-dev";
59598
59602
  function registerDefaultPlugins(registry) {
59599
59603
  for (const p4 of createAllLanguagePlugins()) registry.registerLanguagePlugin(p4);
59600
59604
  for (const p4 of createAllIntegrationPlugins()) registry.registerFrameworkPlugin(p4);