skillett 0.1.7 → 0.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -95,9 +95,11 @@ program
95
95
  .argument("<integration>", "Integration slug (e.g. github)")
96
96
  .argument("<endpoint>", "Endpoint name (e.g. create_issue)")
97
97
  .allowUnknownOption(true)
98
- .action((integration, endpoint, _opts, cmd) => {
99
- // Pass remaining args (--flags and positional JSON) to the run handler
100
- const extraArgs = cmd.args.slice(2);
98
+ .allowExcessArguments(true)
99
+ .action((integration, endpoint) => {
100
+ // Grab everything after "run <integration> <endpoint>" from raw argv
101
+ const runIdx = process.argv.indexOf("run");
102
+ const extraArgs = runIdx >= 0 ? process.argv.slice(runIdx + 3) : [];
101
103
  return run(integration, endpoint, extraArgs);
102
104
  });
103
105
  program
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillett",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Skillett CLI — Agent Skills Platform",
5
5
  "type": "module",
6
6
  "bin": {