clawhq-bridge 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.
@@ -224,7 +224,7 @@ async function startBridge() {
224
224
  const AGENT_ID = process.env.AGENT_ID || '';
225
225
  const OPENCLAW_PORT = parseInt(process.env.OPENCLAW_PORT || '18789', 10);
226
226
  const OPENCLAW_TOKEN = process.env.OPENCLAW_TOKEN || '';
227
- const SESSION_KEY = process.env.OPENCLAW_SESSION_KEY || 'clawhq:app';
227
+ const SESSION_KEY = flags.shared ? 'main' : (flags.session || process.env.OPENCLAW_SESSION_KEY || 'clawhq:app');
228
228
 
229
229
  if (!ACCESS_TOKEN || !AGENT_ID) {
230
230
  throw new Error('Missing credentials. Re-run setup: npx clawhq-bridge --setup <CODE>');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawhq-bridge",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "ClawHQ Bridge — Connect your local OpenClaw agent to ClawHQ",
5
5
  "bin": {
6
6
  "clawhq-bridge": "bin/clawhq-bridge.js"