@kilocode/sdk 7.1.7 → 7.1.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.
package/dist/client.js CHANGED
@@ -20,6 +20,11 @@ export function createKiloClient(config) {
20
20
  "x-kilo-directory": encodeURIComponent(config.directory),
21
21
  };
22
22
  }
23
+ // Node.js/Electron require duplex: "half" when creating Request objects
24
+ // with a body. The option propagates through config → opts → requestInit
25
+ // and is harmless in environments that don't need it (Bun, browsers).
26
+ ;
27
+ config.duplex = "half";
23
28
  const client = createClient(config);
24
29
  return new KiloClient({ client });
25
30
  }
package/dist/v2/client.js CHANGED
@@ -28,6 +28,11 @@ export function createKiloClient(config) {
28
28
  "x-kilo-workspace": config.experimental_workspaceID,
29
29
  };
30
30
  }
31
+ // Node.js/Electron require duplex: "half" when creating Request objects
32
+ // with a body. The option propagates through config → opts → requestInit
33
+ // and is harmless in environments that don't need it (Bun, browsers).
34
+ ;
35
+ config.duplex = "half";
31
36
  const client = createClient(config);
32
37
  return new KiloClient({ client });
33
38
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@kilocode/sdk",
4
- "version": "7.1.7",
4
+ "version": "7.1.9",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {