very-happy-cli 0.2.84 → 0.2.86

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 (31) hide show
  1. package/dist/{AcpBackend-DxoxNKOM.cjs → AcpBackend-CnDmOAKz.cjs} +1 -1
  2. package/dist/{AcpBackend-BgOEcqMG.mjs → AcpBackend-DyJXz2cV.mjs} +1 -1
  3. package/dist/{AcpSessionManager-_bG1kjZz.cjs → AcpSessionManager-CDS2s3H8.cjs} +1 -1
  4. package/dist/{AcpSessionManager-Ba9ON7eK.mjs → AcpSessionManager-CzZ_5XwN.mjs} +1 -1
  5. package/dist/{config-Dv2kzos6.cjs → config-Cw_3dY3i.cjs} +2 -2
  6. package/dist/{config-CQjk8rce.mjs → config-b8y6YTtW.mjs} +2 -2
  7. package/dist/{index-CULwez6o.cjs → index-BeCsCfgr.cjs} +4 -4
  8. package/dist/{index-Cc2VYKqa.mjs → index-BsVwUyNS.mjs} +5 -5
  9. package/dist/{index-B8UoTir2.cjs → index-CzSk11Ko.cjs} +148 -27
  10. package/dist/{index-Cnb_eI7Q.mjs → index-HVcBQWc_.mjs} +145 -24
  11. package/dist/index.cjs +2 -2
  12. package/dist/index.mjs +2 -2
  13. package/dist/{installTerminalHooks-C-8Vuwlu.mjs → installTerminalHooks-BxELtnAg.mjs} +2 -2
  14. package/dist/{installTerminalHooks-mk1QIEvp.cjs → installTerminalHooks-CyGiM6kp.cjs} +2 -2
  15. package/dist/lib.cjs +1 -1
  16. package/dist/lib.d.cts +6 -0
  17. package/dist/lib.d.mts +6 -0
  18. package/dist/lib.mjs +1 -1
  19. package/dist/{mcp-X7yyQ2d_.cjs → mcp-BjK-A9P8.cjs} +2 -2
  20. package/dist/{mcp-BZba259A.mjs → mcp-DELG3yID.mjs} +2 -2
  21. package/dist/{runGemini-Nig1hb70.mjs → runGemini-BBhQGbGW.mjs} +4 -4
  22. package/dist/{runGemini-Cf_FQOrg.cjs → runGemini-SNeOUgOy.cjs} +4 -4
  23. package/dist/{runOpenClaw-DllszOSy.mjs → runOpenClaw-CtmTc9vT.mjs} +3 -3
  24. package/dist/{runOpenClaw-BlZkYWEQ.cjs → runOpenClaw-DKVWdqEe.cjs} +3 -3
  25. package/dist/{send-C6-E03t-.mjs → send-DIvt2Nop.mjs} +2 -2
  26. package/dist/{send-DZIY545W.cjs → send-DefYtEsA.cjs} +2 -2
  27. package/dist/{spawn-hjPuTkvH.mjs → spawn-BX0cmn9s.mjs} +2 -2
  28. package/dist/{spawn-Cm52jfN6.cjs → spawn-rykblFJB.cjs} +2 -2
  29. package/dist/{types-Dudpkl_i.cjs → types-CsnC0xzi.cjs} +20 -12
  30. package/dist/{types-Bv1nc9M1.mjs → types-cfTs9Xpw.mjs} +19 -11
  31. package/package.json +7 -7
@@ -51,7 +51,7 @@ var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
51
51
  var pty__namespace = /*#__PURE__*/_interopNamespaceDefault(pty);
52
52
 
53
53
  var name = "very-happy-cli";
54
- var version = "0.2.84";
54
+ var version = "0.2.86";
55
55
  var description = "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.";
56
56
  var author = "Kirill Dubovitskiy";
57
57
  var contributors = [
@@ -164,12 +164,12 @@ var dependencies = {
164
164
  zod: "^4.0.0"
165
165
  };
166
166
  var optionalDependencies = {
167
- "very-happy-tools-arm64-darwin": "0.2.84",
168
- "very-happy-tools-x64-darwin": "0.2.84",
169
- "very-happy-tools-arm64-linux": "0.2.84",
170
- "very-happy-tools-x64-linux": "0.2.84",
171
- "very-happy-tools-arm64-win32": "0.2.84",
172
- "very-happy-tools-x64-win32": "0.2.84"
167
+ "very-happy-tools-arm64-darwin": "0.2.86",
168
+ "very-happy-tools-x64-darwin": "0.2.86",
169
+ "very-happy-tools-arm64-linux": "0.2.86",
170
+ "very-happy-tools-x64-linux": "0.2.86",
171
+ "very-happy-tools-arm64-win32": "0.2.86",
172
+ "very-happy-tools-x64-win32": "0.2.86"
173
173
  };
174
174
  var devDependencies = {
175
175
  "@slopus/happy-wire": "workspace:*",
@@ -777,6 +777,8 @@ const MessageMetaSchema$1 = z__namespace.object({
777
777
  appendSystemPrompt: z__namespace.string().nullable().optional(),
778
778
  allowedTools: z__namespace.array(z__namespace.string()).nullable().optional(),
779
779
  disallowedTools: z__namespace.array(z__namespace.string()).nullable().optional(),
780
+ /** Omitted/queue waits for the current turn; steer targets the live turn. */
781
+ delivery: z__namespace.enum(["queue", "steer"]).optional(),
780
782
  displayText: z__namespace.string().optional()
781
783
  });
782
784
  const UserMessageSchema$1 = z__namespace.object({
@@ -1050,8 +1052,10 @@ const MessageMetaSchema = z.z.object({
1050
1052
  // Append to system prompt for this message (null = reset)
1051
1053
  allowedTools: z.z.array(z.z.string()).nullable().optional(),
1052
1054
  // Allowed tools for this message (null = reset)
1053
- disallowedTools: z.z.array(z.z.string()).nullable().optional()
1055
+ disallowedTools: z.z.array(z.z.string()).nullable().optional(),
1054
1056
  // Disallowed tools for this message (null = reset)
1057
+ /** Omitted/queue waits for the current turn; steer targets the live turn. */
1058
+ delivery: z.z.enum(["queue", "steer"]).optional()
1055
1059
  });
1056
1060
  z.z.object({
1057
1061
  session: z.z.object({
@@ -1480,7 +1484,7 @@ class RpcHandlerManager {
1480
1484
  }
1481
1485
  }
1482
1486
 
1483
- const __dirname$1 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-Dudpkl_i.cjs', document.baseURI).href))));
1487
+ const __dirname$1 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-CsnC0xzi.cjs', document.baseURI).href))));
1484
1488
  function projectPath() {
1485
1489
  const path = path$1.resolve(__dirname$1, "..");
1486
1490
  return path;
@@ -2667,7 +2671,7 @@ function mapClaudeLogMessageToSessionEnvelopesInternal(message, state) {
2667
2671
  }
2668
2672
  if (message.type === "result") {
2669
2673
  const raw = message;
2670
- const status = raw.is_error === true ? "failed" : "completed";
2674
+ const status = raw.interrupted === true ? "cancelled" : raw.is_error === true ? "failed" : "completed";
2671
2675
  const error = status === "failed" ? raw.errors?.filter((item) => typeof item === "string" && item.trim()).join("\n") || state.pendingAssistantError || raw.subtype || "Claude turn failed" : void 0;
2672
2676
  if (status === "failed" && !state.currentTurnId) {
2673
2677
  ensureTurn(state, envelopes);
@@ -3645,7 +3649,9 @@ class ApiSessionClient extends node_events.EventEmitter {
3645
3649
  this.metadata = decrypt(this.encryptionKey, this.encryptionVariant, decodeBase64(answer.metadata));
3646
3650
  }
3647
3651
  throw new Error("Metadata version mismatch");
3648
- } else if (answer.result === "error") ;
3652
+ } else if (answer.result === "error") {
3653
+ throw new Error("Metadata update failed");
3654
+ }
3649
3655
  });
3650
3656
  });
3651
3657
  }
@@ -3669,7 +3675,9 @@ class ApiSessionClient extends node_events.EventEmitter {
3669
3675
  this.agentState = answer.agentState ? decrypt(this.encryptionKey, this.encryptionVariant, decodeBase64(answer.agentState)) : null;
3670
3676
  }
3671
3677
  throw new Error("Agent state version mismatch");
3672
- } else if (answer.result === "error") ;
3678
+ } else if (answer.result === "error") {
3679
+ throw new Error("Agent state update failed");
3680
+ }
3673
3681
  });
3674
3682
  });
3675
3683
  }
@@ -29,7 +29,7 @@ import { SandboxManager } from '@anthropic-ai/sandbox-runtime';
29
29
  import { Expo } from 'expo-server-sdk';
30
30
 
31
31
  var name = "very-happy-cli";
32
- var version = "0.2.84";
32
+ var version = "0.2.86";
33
33
  var description = "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.";
34
34
  var author = "Kirill Dubovitskiy";
35
35
  var contributors = [
@@ -142,12 +142,12 @@ var dependencies = {
142
142
  zod: "^4.0.0"
143
143
  };
144
144
  var optionalDependencies = {
145
- "very-happy-tools-arm64-darwin": "0.2.84",
146
- "very-happy-tools-x64-darwin": "0.2.84",
147
- "very-happy-tools-arm64-linux": "0.2.84",
148
- "very-happy-tools-x64-linux": "0.2.84",
149
- "very-happy-tools-arm64-win32": "0.2.84",
150
- "very-happy-tools-x64-win32": "0.2.84"
145
+ "very-happy-tools-arm64-darwin": "0.2.86",
146
+ "very-happy-tools-x64-darwin": "0.2.86",
147
+ "very-happy-tools-arm64-linux": "0.2.86",
148
+ "very-happy-tools-x64-linux": "0.2.86",
149
+ "very-happy-tools-arm64-win32": "0.2.86",
150
+ "very-happy-tools-x64-win32": "0.2.86"
151
151
  };
152
152
  var devDependencies = {
153
153
  "@slopus/happy-wire": "workspace:*",
@@ -755,6 +755,8 @@ const MessageMetaSchema$1 = z.object({
755
755
  appendSystemPrompt: z.string().nullable().optional(),
756
756
  allowedTools: z.array(z.string()).nullable().optional(),
757
757
  disallowedTools: z.array(z.string()).nullable().optional(),
758
+ /** Omitted/queue waits for the current turn; steer targets the live turn. */
759
+ delivery: z.enum(["queue", "steer"]).optional(),
758
760
  displayText: z.string().optional()
759
761
  });
760
762
  const UserMessageSchema$1 = z.object({
@@ -1028,8 +1030,10 @@ const MessageMetaSchema = z$1.object({
1028
1030
  // Append to system prompt for this message (null = reset)
1029
1031
  allowedTools: z$1.array(z$1.string()).nullable().optional(),
1030
1032
  // Allowed tools for this message (null = reset)
1031
- disallowedTools: z$1.array(z$1.string()).nullable().optional()
1033
+ disallowedTools: z$1.array(z$1.string()).nullable().optional(),
1032
1034
  // Disallowed tools for this message (null = reset)
1035
+ /** Omitted/queue waits for the current turn; steer targets the live turn. */
1036
+ delivery: z$1.enum(["queue", "steer"]).optional()
1033
1037
  });
1034
1038
  z$1.object({
1035
1039
  session: z$1.object({
@@ -2645,7 +2649,7 @@ function mapClaudeLogMessageToSessionEnvelopesInternal(message, state) {
2645
2649
  }
2646
2650
  if (message.type === "result") {
2647
2651
  const raw = message;
2648
- const status = raw.is_error === true ? "failed" : "completed";
2652
+ const status = raw.interrupted === true ? "cancelled" : raw.is_error === true ? "failed" : "completed";
2649
2653
  const error = status === "failed" ? raw.errors?.filter((item) => typeof item === "string" && item.trim()).join("\n") || state.pendingAssistantError || raw.subtype || "Claude turn failed" : void 0;
2650
2654
  if (status === "failed" && !state.currentTurnId) {
2651
2655
  ensureTurn(state, envelopes);
@@ -3623,7 +3627,9 @@ class ApiSessionClient extends EventEmitter {
3623
3627
  this.metadata = decrypt(this.encryptionKey, this.encryptionVariant, decodeBase64(answer.metadata));
3624
3628
  }
3625
3629
  throw new Error("Metadata version mismatch");
3626
- } else if (answer.result === "error") ;
3630
+ } else if (answer.result === "error") {
3631
+ throw new Error("Metadata update failed");
3632
+ }
3627
3633
  });
3628
3634
  });
3629
3635
  }
@@ -3647,7 +3653,9 @@ class ApiSessionClient extends EventEmitter {
3647
3653
  this.agentState = answer.agentState ? decrypt(this.encryptionKey, this.encryptionVariant, decodeBase64(answer.agentState)) : null;
3648
3654
  }
3649
3655
  throw new Error("Agent state version mismatch");
3650
- } else if (answer.result === "error") ;
3656
+ } else if (answer.result === "error") {
3657
+ throw new Error("Agent state update failed");
3658
+ }
3651
3659
  });
3652
3660
  });
3653
3661
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "very-happy-cli",
3
- "version": "0.2.84",
3
+ "version": "0.2.86",
4
4
  "description": "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.",
5
5
  "author": "Kirill Dubovitskiy",
6
6
  "contributors": [
@@ -113,12 +113,12 @@
113
113
  "zod": "^4.0.0"
114
114
  },
115
115
  "optionalDependencies": {
116
- "very-happy-tools-arm64-darwin": "0.2.84",
117
- "very-happy-tools-x64-darwin": "0.2.84",
118
- "very-happy-tools-arm64-linux": "0.2.84",
119
- "very-happy-tools-x64-linux": "0.2.84",
120
- "very-happy-tools-arm64-win32": "0.2.84",
121
- "very-happy-tools-x64-win32": "0.2.84"
116
+ "very-happy-tools-arm64-darwin": "0.2.86",
117
+ "very-happy-tools-x64-darwin": "0.2.86",
118
+ "very-happy-tools-arm64-linux": "0.2.86",
119
+ "very-happy-tools-x64-linux": "0.2.86",
120
+ "very-happy-tools-arm64-win32": "0.2.86",
121
+ "very-happy-tools-x64-win32": "0.2.86"
122
122
  },
123
123
  "devDependencies": {
124
124
  "@slopus/happy-wire": "workspace:*",