ceddcozum 0.1.3 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +7 -4
  2. package/package.json +8 -3
package/dist/index.js CHANGED
@@ -27168,7 +27168,7 @@ var HIDDEN_TOOL_IDS = [
27168
27168
  "gfr",
27169
27169
  "leptin-sds"
27170
27170
  ];
27171
- var VERSION = "0.1.3";
27171
+ var VERSION = "0.1.4";
27172
27172
  var visibleSchemas = toolSchemas.filter(
27173
27173
  (s) => !HIDDEN_TOOL_IDS.includes(s.function.name)
27174
27174
  );
@@ -27241,7 +27241,10 @@ function printList() {
27241
27241
  byCategory.get(category).push({ id: name, subtitle });
27242
27242
  }
27243
27243
  console.log(`
27244
- ${bold2("ceddcozum")} \u2014 ${cyan2(String(visibleSchemas.length))} tools available
27244
+ ${bold2("ceddcozum")} v${VERSION} ${dim2("\u2014 Pediatric clinical calculators")}
27245
+ ${dim2("All calculations run locally \u2014 no API keys, no network requests.")}
27246
+
27247
+ ${cyan2(String(visibleSchemas.length))} tools available:
27245
27248
  `);
27246
27249
  const printed = /* @__PURE__ */ new Set();
27247
27250
  for (const cat of CATEGORY_ORDER) {
@@ -27420,7 +27423,7 @@ function main() {
27420
27423
  format: { type: "string", short: "f", default: "human" }
27421
27424
  }
27422
27425
  });
27423
- if (values.help || positionals.length === 0 && !values.list && !values.schemas && !values.version) {
27426
+ if (values.help) {
27424
27427
  printHelp();
27425
27428
  return;
27426
27429
  }
@@ -27428,7 +27431,7 @@ function main() {
27428
27431
  console.log(`ceddcozum v${VERSION}`);
27429
27432
  return;
27430
27433
  }
27431
- if (values.list) {
27434
+ if (values.list || positionals.length === 0 && !values.schemas) {
27432
27435
  printList();
27433
27436
  return;
27434
27437
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ceddcozum",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "CEDD Cozum pediatric clinical calculators - CLI interface",
5
5
  "license": "MIT",
6
6
  "author": "Bora Ulukapı",
@@ -18,10 +18,15 @@
18
18
  "percentile",
19
19
  "WHO",
20
20
  "CDC",
21
- "Neyzi"
21
+ "Neyzi",
22
+ "child-metrics",
23
+ "childmetrics",
24
+ "z-score",
25
+ "anthropometry"
22
26
  ],
23
27
  "bin": {
24
- "ceddcozum": "dist/index.js"
28
+ "ceddcozum": "dist/index.js",
29
+ "childmetrics": "dist/index.js"
25
30
  },
26
31
  "main": "dist/index.js",
27
32
  "files": [