@kode-ai-tools/cli 0.2.2 → 0.2.3

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/bin.js +15 -15
  2. package/package.json +1 -1
package/bin.js CHANGED
@@ -2590,18 +2590,18 @@ function Il() {
2590
2590
  }
2591
2591
  var Pl = Il();
2592
2592
  const Bl = /* @__PURE__ */ hn(Pl), {
2593
- program: S0,
2594
- createCommand: _0,
2595
- createArgument: F0,
2596
- createOption: A0,
2597
- CommanderError: k0,
2598
- InvalidArgumentError: O0,
2599
- InvalidOptionArgumentError: T0,
2593
+ program: _0,
2594
+ createCommand: F0,
2595
+ createArgument: A0,
2596
+ createOption: k0,
2597
+ CommanderError: O0,
2598
+ InvalidArgumentError: T0,
2599
+ InvalidOptionArgumentError: $0,
2600
2600
  // deprecated old name
2601
2601
  Command: V,
2602
- Argument: $0,
2603
- Option: L0,
2604
- Help: N0
2602
+ Argument: L0,
2603
+ Option: N0,
2604
+ Help: I0
2605
2605
  } = Bl, Je = (e, t = []) => (
2606
2606
  // The up key
2607
2607
  e.name === "up" || // Vim keybinding: hjkl keys map to left/down/up/right
@@ -14884,7 +14884,7 @@ function Fy(e) {
14884
14884
  }
14885
14885
  function Dl(e, t, n) {
14886
14886
  const r = n ? `${t}/${n}.yaml` : t, i = Ay(e), o = _y(i);
14887
- I.writeFileSync(r, o.toString(), "utf-8");
14887
+ I.writeFileSync(r, o.toString({ lineWidth: 0, minContentWidth: 0 }), "utf-8");
14888
14888
  }
14889
14889
  function Ay(e) {
14890
14890
  const t = B.join(e, "openapi.yaml"), n = B.join(e, "manifest.json");
@@ -14978,11 +14978,11 @@ function Ny(e) {
14978
14978
  }
14979
14979
  function Iy(e) {
14980
14980
  const t = e.clone();
14981
- return t.delete("paths"), t.delete("components"), t.toString({ lineWidth: 0 });
14981
+ return t.delete("paths"), t.delete("components"), t.toString({ lineWidth: 0, minContentWidth: 0 });
14982
14982
  }
14983
14983
  function ma(e) {
14984
14984
  const t = new Ft.Document({});
14985
- return t.add(t.createPair(e.key, e.value)), t.toString({ lineWidth: 0 });
14985
+ return t.add(t.createPair(e.key, e.value)), t.toString({ lineWidth: 0, minContentWidth: 0 });
14986
14986
  }
14987
14987
  function yl(e, t) {
14988
14988
  const n = I.readFileSync(e, "utf-8");
@@ -15442,8 +15442,8 @@ const l0 = new V("split").description("Split an OpenAPI spec into separate files
15442
15442
  } catch (r) {
15443
15443
  E.error("Split failed", r), process.exit(1);
15444
15444
  }
15445
- }), c0 = new V("openapi").description("OpenAPI spec tools").addCommand(l0).addCommand(a0).addCommand(s0);
15446
- new V().name("ai-tools").description("Kode AI Tools CLI").version("0.0.0").addCommand(c0).addCommand(i0).addCommand(Wy).parse();
15445
+ }), c0 = new V("openapi").description("OpenAPI spec tools").addCommand(l0).addCommand(a0).addCommand(s0), f0 = "0.2.3";
15446
+ new V().name("ai-tools").description("Kode AI Tools CLI").version(f0).addCommand(c0).addCommand(i0).addCommand(Wy).parse();
15447
15447
  export {
15448
15448
  Dl as m,
15449
15449
  yl as s
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kode-ai-tools/cli",
3
3
  "description": "Self-contained CLI for Kode AI Tools",
4
- "version": "0.2.2",
4
+ "version": "0.2.3",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public",