@vibevibes/mcp 0.9.0 → 0.9.1

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/hooks/logic.js +8 -3
  2. package/package.json +1 -1
package/hooks/logic.js CHANGED
@@ -136,9 +136,14 @@ export function makeDecision(ctx, iteration) {
136
136
  // Experience signaled completion — allow exit (agent file already deleted by stop-hook)
137
137
  if (ctx.observation?.done)
138
138
  return null;
139
- // Nothing to react toallow exit silently (zero wasted tokens)
140
- if (!hasEvents && !hasError && !hasBrowserErrors && !hasObserveError)
141
- return null;
139
+ // Always block exit while connected the agent should stay alive.
140
+ // If there are events/errors, include them. Otherwise, minimal keepalive.
141
+ if (!hasEvents && !hasError && !hasBrowserErrors && !hasObserveError) {
142
+ return {
143
+ decision: "block",
144
+ reason: "Still connected. Waiting for activity.",
145
+ };
146
+ }
142
147
  const reason = formatPrompt(ctx);
143
148
  return {
144
149
  decision: "block",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibevibes/mcp",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "MCP server — connects Claude to vibevibes experiences",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",