charon-hooks 0.2.4 → 0.2.5

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.
@@ -1249,7 +1249,7 @@ async function startTunnel(config, port = 3e3) {
1249
1249
  try {
1250
1250
  const currentState = getTunnelState(db2);
1251
1251
  const targetDomain = config.domain || null;
1252
- if (currentState.connected && currentState.domain === targetDomain) {
1252
+ if (listener && currentState.connected && currentState.domain === targetDomain) {
1253
1253
  if (currentState.expose_ui !== (config.expose_ui ?? false)) {
1254
1254
  console.log(`[tunnel] Updating expose_ui to ${config.expose_ui ?? false}`);
1255
1255
  const updatedState = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "charon-hooks",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Autonomous task triggering service - webhooks and cron to AI agents",
5
5
  "type": "module",
6
6
  "bin": {