@sahu-01/openpaw 1.0.3 → 1.0.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 +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -231082,8 +231082,8 @@ async function startGateway(config = {}) {
231082
231082
  }
231083
231083
  };
231084
231084
  if (openclawBinary) {
231085
- console.log(`Starting OpenClaw: ${openclawBinary}`);
231086
- openclawProcess = spawnOpenClaw(openclawBinary);
231085
+ console.log(`Starting OpenClaw: ${openclawBinary} gateway`);
231086
+ openclawProcess = spawnOpenClaw(openclawBinary, ["gateway"]);
231087
231087
  openclawProcess.on("exit", async (code) => {
231088
231088
  console.log(`OpenClaw exited with code ${code}`);
231089
231089
  await cleanup();
@@ -231095,8 +231095,8 @@ async function startGateway(config = {}) {
231095
231095
  process.exit(1);
231096
231096
  });
231097
231097
  } else {
231098
- console.log("Starting OpenClaw via npx...");
231099
- openclawProcess = spawnOpenClaw("npx", ["openclaw"]);
231098
+ console.log("Starting OpenClaw via npx: openclaw gateway");
231099
+ openclawProcess = spawnOpenClaw("npx", ["openclaw", "gateway"]);
231100
231100
  openclawProcess.on("exit", async (code) => {
231101
231101
  console.log(`OpenClaw exited with code ${code}`);
231102
231102
  await cleanup();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sahu-01/openpaw",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "OpenPaw CLI - Security-first wrapper for AI agents",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",