commanderclaw 1.1.7 → 1.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.
@@ -47,7 +47,8 @@ if (command === 'gateway' && process.argv[3] === 'start') {
47
47
  process.exit(1);
48
48
  }
49
49
 
50
- const args = process.argv.slice(4);
50
+ const configPath = path.join(__dirname, '..', 'configs', 'server.yaml');
51
+ const args = ['-config', configPath, ...process.argv.slice(4)];
51
52
  const child = spawn(binaryPath, args, {
52
53
  stdio: 'inherit',
53
54
  env: { ...process.env },
@@ -0,0 +1,32 @@
1
+ server:
2
+ host: "0.0.0.0"
3
+ port: 19739
4
+
5
+ websocket:
6
+ read_buffer_size: 4096
7
+ write_buffer_size: 4096
8
+ max_message_size: 65536
9
+ ping_period: 10s
10
+ pong_wait: 15s
11
+ write_wait: 10s
12
+
13
+ heartbeat:
14
+ interval: 5s
15
+ timeout: 15s
16
+ max_missed: 3
17
+
18
+ logging:
19
+ level: info
20
+ format: json
21
+ output: stdout
22
+
23
+ auth:
24
+ enabled: true
25
+ token: "96d6bad4bd57422b6332624766cc859b"
26
+
27
+ storage:
28
+ type: sqlite
29
+ sqlite:
30
+ path: .commander-claw/data.db
31
+ wal: true
32
+ pool_size: 10
package/dist/cli/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { handleGateway } from './gateway.js';
2
2
  import { handlePlugin } from './plugin.js';
3
3
  import { handleConfig } from './config.js';
4
- const VERSION = '1.1.7';
4
+ const VERSION = '1.1.8';
5
5
  function printUsage() {
6
6
  console.log('CommanderClaw - Multi-device Agent Coordination Framework');
7
7
  console.log();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commanderclaw",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "Multi-device Agent Coordination Framework - CLI and OpenClaw/QClaw Plugin",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,6 +20,7 @@
20
20
  "bin",
21
21
  "dist",
22
22
  "binaries",
23
+ "configs",
23
24
  "openclaw.plugin.json",
24
25
  "README.md"
25
26
  ],