cliskill 1.1.7 → 1.1.8

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-TZMKZQ7N.js";
4
+ } from "../chunk-6IZLJMAL.js";
5
5
  import "../chunk-S7IQHES2.js";
6
6
  export {
7
7
  runCli
@@ -4007,6 +4007,7 @@ function createChildAbortController(parent, maxListeners) {
4007
4007
  const weakParentRef = new WeakRef(parent);
4008
4008
  const handler = () => {
4009
4009
  const p = weakParentRef.deref();
4010
+ if (!p) return;
4010
4011
  const signal = p instanceof AbortController ? p.signal : p.signal;
4011
4012
  weakChild.deref()?.abort(signal.reason);
4012
4013
  };
@@ -4015,6 +4016,7 @@ function createChildAbortController(parent, maxListeners) {
4015
4016
  "abort",
4016
4017
  () => {
4017
4018
  const p = weakParentRef.deref();
4019
+ if (!p) return;
4018
4020
  const signal = p instanceof AbortController ? p.signal : p.signal;
4019
4021
  signal.removeEventListener("abort", handler);
4020
4022
  },
@@ -12288,4 +12290,4 @@ export {
12288
12290
  MCPConnectionManager,
12289
12291
  runCli
12290
12292
  };
12291
- //# sourceMappingURL=chunk-TZMKZQ7N.js.map
12293
+ //# sourceMappingURL=chunk-6IZLJMAL.js.map