@tronsfey/ucli 0.4.0 → 0.4.2
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/{chunk-NNFC34A5.js → chunk-FJU3QOHW.js} +3 -1
- package/dist/{client-TA5DDDSP.js → client-3I7XBDJU.js} +54 -31
- package/dist/{client-TA5DDDSP.js.map → client-3I7XBDJU.js.map} +1 -1
- package/dist/index.js +216 -38
- package/dist/index.js.map +1 -1
- package/dist/{runner-IBHNUS24.js → runner-GVYIJNHN.js} +15 -8
- package/dist/{runner-IBHNUS24.js.map → runner-GVYIJNHN.js.map} +1 -1
- package/package.json +17 -8
- package/skill.md +17 -0
- /package/dist/{chunk-NNFC34A5.js.map → chunk-FJU3QOHW.js.map} +0 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __createRequire } from "module";
|
|
3
|
+
const require = __createRequire(import.meta.url);
|
|
2
4
|
import {
|
|
3
5
|
__commonJS,
|
|
4
6
|
__require
|
|
5
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FJU3QOHW.js";
|
|
6
8
|
|
|
7
9
|
// ../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
|
|
8
10
|
var require_color_name = __commonJS({
|
|
@@ -5246,9 +5248,9 @@ var require_lib = __commonJS({
|
|
|
5246
5248
|
}
|
|
5247
5249
|
});
|
|
5248
5250
|
|
|
5249
|
-
// ../../node_modules/.pnpm/@tronsfey+mcp2cli@1.0.
|
|
5251
|
+
// ../../node_modules/.pnpm/@tronsfey+mcp2cli@1.0.1_zod@4.3.6/node_modules/@tronsfey/mcp2cli/dist/cache.js
|
|
5250
5252
|
var require_cache = __commonJS({
|
|
5251
|
-
"../../node_modules/.pnpm/@tronsfey+mcp2cli@1.0.
|
|
5253
|
+
"../../node_modules/.pnpm/@tronsfey+mcp2cli@1.0.1_zod@4.3.6/node_modules/@tronsfey/mcp2cli/dist/cache.js"(exports) {
|
|
5252
5254
|
"use strict";
|
|
5253
5255
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
5254
5256
|
if (k2 === void 0) k2 = k;
|
|
@@ -5332,9 +5334,9 @@ var require_cache = __commonJS({
|
|
|
5332
5334
|
}
|
|
5333
5335
|
});
|
|
5334
5336
|
|
|
5335
|
-
// ../../node_modules/.pnpm/@tronsfey+mcp2cli@1.0.
|
|
5337
|
+
// ../../node_modules/.pnpm/@tronsfey+mcp2cli@1.0.1_zod@4.3.6/node_modules/@tronsfey/mcp2cli/dist/runner/index.js
|
|
5336
5338
|
var require_runner = __commonJS({
|
|
5337
|
-
"../../node_modules/.pnpm/@tronsfey+mcp2cli@1.0.
|
|
5339
|
+
"../../node_modules/.pnpm/@tronsfey+mcp2cli@1.0.1_zod@4.3.6/node_modules/@tronsfey/mcp2cli/dist/runner/index.js"(exports) {
|
|
5338
5340
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
5339
5341
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
5340
5342
|
};
|
|
@@ -5457,8 +5459,13 @@ Available tools (${tools.length}):
|
|
|
5457
5459
|
console.log(JSON.stringify(data, null, 2));
|
|
5458
5460
|
}
|
|
5459
5461
|
function coerceValue(value, type) {
|
|
5460
|
-
if (type === "number")
|
|
5461
|
-
|
|
5462
|
+
if (type === "number") {
|
|
5463
|
+
const num = Number(value);
|
|
5464
|
+
if (!Number.isFinite(num)) {
|
|
5465
|
+
throw new Error(`Invalid value for numeric parameter: "${value}"`);
|
|
5466
|
+
}
|
|
5467
|
+
return num;
|
|
5468
|
+
}
|
|
5462
5469
|
if (type === "boolean")
|
|
5463
5470
|
return value !== "false" && value !== "0";
|
|
5464
5471
|
if (type === "array") {
|
|
@@ -5527,4 +5534,4 @@ Available tools (${tools.length}):
|
|
|
5527
5534
|
}
|
|
5528
5535
|
});
|
|
5529
5536
|
export default require_runner();
|
|
5530
|
-
//# sourceMappingURL=runner-
|
|
5537
|
+
//# sourceMappingURL=runner-GVYIJNHN.js.map
|