@hyperstar/mcp 0.1.10 → 0.1.11
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/cli.js +2 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -98,8 +98,9 @@ export async function runCli(argv = process.argv.slice(2), dependencies = {}) {
|
|
|
98
98
|
}
|
|
99
99
|
/** Parse CLI arguments using Node's standard parser. */
|
|
100
100
|
function parseCommand(argv) {
|
|
101
|
+
const args = argv[0] === "--" ? argv.slice(1) : argv;
|
|
101
102
|
const parsed = parseArgs({
|
|
102
|
-
args: [...
|
|
103
|
+
args: [...args],
|
|
103
104
|
allowPositionals: true,
|
|
104
105
|
options: {
|
|
105
106
|
json: { type: "boolean", default: false },
|