very-happy-cli 0.2.117 → 0.2.118

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 (35) hide show
  1. package/dist/{AcpBackend-C4RMHt0I.mjs → AcpBackend-Bk9b823B.mjs} +116 -12
  2. package/dist/{AcpBackend-CrbXvcgQ.cjs → AcpBackend-p_KNJkHc.cjs} +116 -12
  3. package/dist/{AcpSessionManager-CjAVO4RX.cjs → AcpSessionManager-B9FTbpGQ.cjs} +15 -2
  4. package/dist/{AcpSessionManager-Cnc8Jatl.mjs → AcpSessionManager-CDvqVHKf.mjs} +15 -2
  5. package/dist/{config-CnA3JIUn.mjs → config-CIpgmGLR.mjs} +2 -2
  6. package/dist/{config-O9quMfxg.cjs → config-CkUn1dI4.cjs} +2 -2
  7. package/dist/{index-DiRN0Rv8.mjs → index-B6cpyG_G.mjs} +5 -5
  8. package/dist/{index-B0o3H6_x.mjs → index-BUVQf9PI.mjs} +2 -2
  9. package/dist/{index-DcESl4cI.cjs → index-BXOXRblP.cjs} +23 -23
  10. package/dist/{index-W-O4xR_O.cjs → index-BzgtwTxC.cjs} +4 -4
  11. package/dist/{index-DqmVH6R5.cjs → index-CxjX8DGz.cjs} +2 -2
  12. package/dist/{index-BYZKuQoy.mjs → index-DIXjhnV1.mjs} +19 -19
  13. package/dist/index.cjs +2 -2
  14. package/dist/index.mjs +2 -2
  15. package/dist/{installTerminalHooks-DeYqyjCB.mjs → installTerminalHooks-BAa6LaQQ.mjs} +2 -2
  16. package/dist/{installTerminalHooks-zfsWSotO.cjs → installTerminalHooks-lXQa6bQU.cjs} +2 -2
  17. package/dist/lib.cjs +1 -1
  18. package/dist/lib.d.cts +2 -0
  19. package/dist/lib.d.mts +2 -0
  20. package/dist/lib.mjs +1 -1
  21. package/dist/{mcp-nYqC4FYm.cjs → mcp-DMD7FxBI.cjs} +2 -2
  22. package/dist/{mcp-D_5aOK0I.mjs → mcp-Dwc299mU.mjs} +2 -2
  23. package/dist/{runGemini-CEURRmM4.mjs → runGemini-BaxGXE9w.mjs} +4 -4
  24. package/dist/{runGemini-DYf3ntib.cjs → runGemini-Bj4Egq7j.cjs} +4 -4
  25. package/dist/{runOpenClaw-CNKjAw-H.cjs → runOpenClaw-BJhSvXYy.cjs} +3 -3
  26. package/dist/{runOpenClaw-BozfKWng.mjs → runOpenClaw-BwJhbIKU.mjs} +3 -3
  27. package/dist/{send-BZLhRZb-.cjs → send-BWGUkWhi.cjs} +2 -2
  28. package/dist/{send-CYznZGrp.mjs → send-DX13svrS.mjs} +2 -2
  29. package/dist/{sessions-YWt9YEN8.cjs → sessions-CGhpBNqn.cjs} +2 -2
  30. package/dist/{sessions-DYPB3Peg.mjs → sessions-L7O3ypda.mjs} +2 -2
  31. package/dist/{spawn-tSvo3stN.cjs → spawn-CbY233Eg.cjs} +2 -2
  32. package/dist/{spawn-CsrHZd3y.mjs → spawn-DPDWZdoW.mjs} +2 -2
  33. package/dist/{types-jSfU_0o1.mjs → types-BtuOM9lw.mjs} +15 -8
  34. package/dist/{types-DD3AK6Nb.cjs → types-ClvvHves.cjs} +15 -8
  35. package/package.json +7 -7
@@ -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.117";
32
+ var version = "0.2.118";
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.117",
146
- "very-happy-tools-x64-darwin": "0.2.117",
147
- "very-happy-tools-arm64-linux": "0.2.117",
148
- "very-happy-tools-x64-linux": "0.2.117",
149
- "very-happy-tools-arm64-win32": "0.2.117",
150
- "very-happy-tools-x64-win32": "0.2.117"
145
+ "very-happy-tools-arm64-darwin": "0.2.118",
146
+ "very-happy-tools-x64-darwin": "0.2.118",
147
+ "very-happy-tools-arm64-linux": "0.2.118",
148
+ "very-happy-tools-x64-linux": "0.2.118",
149
+ "very-happy-tools-arm64-win32": "0.2.118",
150
+ "very-happy-tools-x64-win32": "0.2.118"
151
151
  };
152
152
  var devDependencies = {
153
153
  "@slopus/happy-wire": "workspace:*",
@@ -1050,6 +1050,9 @@ const CliUpdateStateSchema = z$1.object({
1050
1050
  recommendedVersion: z$1.string().nullable(),
1051
1051
  minimumVersion: z$1.string().nullable(),
1052
1052
  status: z$1.enum(["current", "available", "required"]),
1053
+ /** B-351: the version this machine may install by itself. Pinned separately
1054
+ * from `recommendedVersion`; null means no unattended install. */
1055
+ autoUpdateVersion: z$1.string().nullable().optional(),
1053
1056
  checkedAt: z$1.number(),
1054
1057
  /**
1055
1058
  * B-321: a new bundle is on disk but refused to run, so the daemon is still
@@ -4214,6 +4217,7 @@ function deriveCliUpdateState(currentVersion, policy) {
4214
4217
  if (!parseExactVersion(currentVersion)) return null;
4215
4218
  const recommended = policy.recommendedVersion && parseExactVersion(policy.recommendedVersion) ? policy.recommendedVersion.replace(/^v/, "") : null;
4216
4219
  const minimum = policy.minimumVersion && parseExactVersion(policy.minimumVersion) ? policy.minimumVersion.replace(/^v/, "") : null;
4220
+ const autoUpdate = policy.autoUpdateVersion && parseExactVersion(policy.autoUpdateVersion) ? policy.autoUpdateVersion.replace(/^v/, "") : null;
4217
4221
  if (!recommended && !minimum) return null;
4218
4222
  const belowMinimum = minimum ? compareExactVersions(currentVersion, minimum) === -1 : false;
4219
4223
  const belowRecommended = recommended ? compareExactVersions(currentVersion, recommended) === -1 : false;
@@ -4222,6 +4226,7 @@ function deriveCliUpdateState(currentVersion, policy) {
4222
4226
  recommendedVersion: recommended ? parseExactVersion(recommended).exact : null,
4223
4227
  minimumVersion: minimum ? parseExactVersion(minimum).exact : null,
4224
4228
  status: belowMinimum ? "required" : belowRecommended ? "available" : "current",
4229
+ autoUpdateVersion: autoUpdate ? parseExactVersion(autoUpdate).exact : null,
4225
4230
  checkedAt: policy.checkedAt
4226
4231
  };
4227
4232
  }
@@ -4257,9 +4262,11 @@ async function fetchCliUpdateState(serverUrl, currentVersion, fetcher = fetch, t
4257
4262
  if (!["configured", "registry", "unavailable"].includes(String(raw.source))) return null;
4258
4263
  if (raw.recommendedVersion !== null && raw.recommendedVersion !== void 0 && typeof raw.recommendedVersion !== "string") return null;
4259
4264
  if (raw.minimumVersion !== null && raw.minimumVersion !== void 0 && typeof raw.minimumVersion !== "string") return null;
4265
+ if (raw.autoUpdateVersion !== null && raw.autoUpdateVersion !== void 0 && typeof raw.autoUpdateVersion !== "string") return null;
4260
4266
  return deriveCliUpdateState(currentVersion, {
4261
4267
  recommendedVersion: raw.recommendedVersion ?? null,
4262
4268
  minimumVersion: raw.minimumVersion ?? null,
4269
+ autoUpdateVersion: raw.autoUpdateVersion ?? null,
4263
4270
  checkedAt: raw.checkedAt,
4264
4271
  source: raw.source
4265
4272
  });
@@ -16623,4 +16630,4 @@ const RawJSONLinesSchema = z$1.discriminatedUnion("type", [
16623
16630
  }).passthrough()
16624
16631
  ]);
16625
16632
 
16626
- export { MIRROR_BACKFILL_LINES_DEFAULT as $, ApiClient as A, readCredentials as B, credentialRelayProblem as C, deriveLocalCliUpdateSummary as D, updateSettings as E, encodeBase64Url as F, decodeBase64 as G, writeCredentialsLegacy as H, InvalidateSync as I, writeCredentialsDataKey as J, readCredentialsForConfiguredRelay as K, encrypt as L, MAX_CHAT_ATTACHMENT_SOURCE_BYTES as M, isClaudeSessionId as N, getLocalHappyAgentCredentialPath as O, readLocalHappyAgentCredentials as P, decryptWithDataKey as Q, RawJSONLinesSchema as R, STREAM_DELTA_MAX_CHARS as S, decryptLegacy as T, compareExactVersions as U, extractCompleteLines as V, decideBackfill as W, parseTerminalHookPayload as X, tmuxArgs as Y, scrubTmuxClientEnv as Z, decideMirrorBinding as _, ApiSessionClient as a, persistSession as a0, mirrorLineKey as a1, mirrorLocalId as a2, detectCLIAvailability as a3, detectResumeSupport as a4, acquireDaemonLock as a5, summarizeSpawnSessionForLog as a6, deletePersistedSessions as a7, shellescape as a8, decrypt as a9, writeDaemonState as aa, writeSettings as ab, fetchCliUpdateState as ac, resolveCliUpdateCheckInterval as ad, DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS as ae, releaseDaemonLock as af, listVhTerminals as ag, isValidTerminalId as ah, readVhTerminal as ai, sendToVhTerminal as aj, TITLE_PROMPT_PREFIX as ak, BOARD_ANALYZER_PROMPT_PREFIX as al, startOfflineReconnection as am, clearCredentials as an, clearMachineId as ao, SandboxConfigSchema as ap, CodexAppServerClient as aq, getLatestDaemonLog as ar, persistence as as, api as at, createEnvelope as b, configuration as c, contentLogMetadata as d, errorLogMetadata as e, packageJson as f, delay as g, connectionState as h, isValidSessionId as i, readSettings as j, encodeBase64 as k, logger as l, ensurePrivateDirectorySync as m, hardenPrivateFileSync as n, readDaemonState as o, projectPath as p, clearDaemonState as q, readPersistedSessions as r, getProjectPath as s, initializeSandbox as t, wrapCommand as u, AsyncLock as v, writePrivateFileSync as w, ensurePrivateDirectory as x, hardenPrivateFile as y, commandOnPath as z };
16633
+ export { MIRROR_BACKFILL_LINES_DEFAULT as $, ApiClient as A, readCredentials as B, credentialRelayProblem as C, deriveLocalCliUpdateSummary as D, updateSettings as E, encodeBase64Url as F, decodeBase64 as G, writeCredentialsLegacy as H, InvalidateSync as I, writeCredentialsDataKey as J, readCredentialsForConfiguredRelay as K, encrypt as L, MAX_CHAT_ATTACHMENT_SOURCE_BYTES as M, isClaudeSessionId as N, getLocalHappyAgentCredentialPath as O, readLocalHappyAgentCredentials as P, decryptWithDataKey as Q, RawJSONLinesSchema as R, STREAM_DELTA_MAX_CHARS as S, decryptLegacy as T, compareExactVersions as U, extractCompleteLines as V, decideBackfill as W, parseTerminalHookPayload as X, tmuxArgs as Y, scrubTmuxClientEnv as Z, decideMirrorBinding as _, ApiSessionClient as a, persistSession as a0, mirrorLineKey as a1, mirrorLocalId as a2, detectCLIAvailability as a3, detectResumeSupport as a4, acquireDaemonLock as a5, summarizeSpawnSessionForLog as a6, deletePersistedSessions as a7, shellescape as a8, decrypt as a9, writeDaemonState as aa, writeSettings as ab, fetchCliUpdateState as ac, resolveCliUpdateCheckInterval as ad, DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS as ae, releaseDaemonLock as af, listVhTerminals as ag, isValidTerminalId as ah, readVhTerminal as ai, sendToVhTerminal as aj, TITLE_PROMPT_PREFIX as ak, BOARD_ANALYZER_PROMPT_PREFIX as al, startOfflineReconnection as am, clearCredentials as an, clearMachineId as ao, SandboxConfigSchema as ap, CodexAppServerClient as aq, getLatestDaemonLog as ar, persistence as as, api as at, createEnvelope as b, configuration as c, connectionState as d, readSettings as e, encodeBase64 as f, contentLogMetadata as g, errorLogMetadata as h, isValidSessionId as i, packageJson as j, delay as k, logger as l, ensurePrivateDirectorySync as m, hardenPrivateFileSync as n, readDaemonState as o, projectPath as p, clearDaemonState as q, readPersistedSessions as r, getProjectPath as s, initializeSandbox as t, wrapCommand as u, AsyncLock as v, writePrivateFileSync as w, ensurePrivateDirectory as x, hardenPrivateFile as y, commandOnPath as z };
@@ -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.117";
54
+ var version = "0.2.118";
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.117",
168
- "very-happy-tools-x64-darwin": "0.2.117",
169
- "very-happy-tools-arm64-linux": "0.2.117",
170
- "very-happy-tools-x64-linux": "0.2.117",
171
- "very-happy-tools-arm64-win32": "0.2.117",
172
- "very-happy-tools-x64-win32": "0.2.117"
167
+ "very-happy-tools-arm64-darwin": "0.2.118",
168
+ "very-happy-tools-x64-darwin": "0.2.118",
169
+ "very-happy-tools-arm64-linux": "0.2.118",
170
+ "very-happy-tools-x64-linux": "0.2.118",
171
+ "very-happy-tools-arm64-win32": "0.2.118",
172
+ "very-happy-tools-x64-win32": "0.2.118"
173
173
  };
174
174
  var devDependencies = {
175
175
  "@slopus/happy-wire": "workspace:*",
@@ -1072,6 +1072,9 @@ const CliUpdateStateSchema = z.z.object({
1072
1072
  recommendedVersion: z.z.string().nullable(),
1073
1073
  minimumVersion: z.z.string().nullable(),
1074
1074
  status: z.z.enum(["current", "available", "required"]),
1075
+ /** B-351: the version this machine may install by itself. Pinned separately
1076
+ * from `recommendedVersion`; null means no unattended install. */
1077
+ autoUpdateVersion: z.z.string().nullable().optional(),
1075
1078
  checkedAt: z.z.number(),
1076
1079
  /**
1077
1080
  * B-321: a new bundle is on disk but refused to run, so the daemon is still
@@ -1682,7 +1685,7 @@ class RpcHandlerManager {
1682
1685
  }
1683
1686
  }
1684
1687
 
1685
- 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-DD3AK6Nb.cjs', document.baseURI).href))));
1688
+ 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-ClvvHves.cjs', document.baseURI).href))));
1686
1689
  function projectPath() {
1687
1690
  const path = path$1.resolve(__dirname$1, "..");
1688
1691
  return path;
@@ -4236,6 +4239,7 @@ function deriveCliUpdateState(currentVersion, policy) {
4236
4239
  if (!parseExactVersion(currentVersion)) return null;
4237
4240
  const recommended = policy.recommendedVersion && parseExactVersion(policy.recommendedVersion) ? policy.recommendedVersion.replace(/^v/, "") : null;
4238
4241
  const minimum = policy.minimumVersion && parseExactVersion(policy.minimumVersion) ? policy.minimumVersion.replace(/^v/, "") : null;
4242
+ const autoUpdate = policy.autoUpdateVersion && parseExactVersion(policy.autoUpdateVersion) ? policy.autoUpdateVersion.replace(/^v/, "") : null;
4239
4243
  if (!recommended && !minimum) return null;
4240
4244
  const belowMinimum = minimum ? compareExactVersions(currentVersion, minimum) === -1 : false;
4241
4245
  const belowRecommended = recommended ? compareExactVersions(currentVersion, recommended) === -1 : false;
@@ -4244,6 +4248,7 @@ function deriveCliUpdateState(currentVersion, policy) {
4244
4248
  recommendedVersion: recommended ? parseExactVersion(recommended).exact : null,
4245
4249
  minimumVersion: minimum ? parseExactVersion(minimum).exact : null,
4246
4250
  status: belowMinimum ? "required" : belowRecommended ? "available" : "current",
4251
+ autoUpdateVersion: autoUpdate ? parseExactVersion(autoUpdate).exact : null,
4247
4252
  checkedAt: policy.checkedAt
4248
4253
  };
4249
4254
  }
@@ -4279,9 +4284,11 @@ async function fetchCliUpdateState(serverUrl, currentVersion, fetcher = fetch, t
4279
4284
  if (!["configured", "registry", "unavailable"].includes(String(raw.source))) return null;
4280
4285
  if (raw.recommendedVersion !== null && raw.recommendedVersion !== void 0 && typeof raw.recommendedVersion !== "string") return null;
4281
4286
  if (raw.minimumVersion !== null && raw.minimumVersion !== void 0 && typeof raw.minimumVersion !== "string") return null;
4287
+ if (raw.autoUpdateVersion !== null && raw.autoUpdateVersion !== void 0 && typeof raw.autoUpdateVersion !== "string") return null;
4282
4288
  return deriveCliUpdateState(currentVersion, {
4283
4289
  recommendedVersion: raw.recommendedVersion ?? null,
4284
4290
  minimumVersion: raw.minimumVersion ?? null,
4291
+ autoUpdateVersion: raw.autoUpdateVersion ?? null,
4285
4292
  checkedAt: raw.checkedAt,
4286
4293
  source: raw.source
4287
4294
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "very-happy-cli",
3
- "version": "0.2.117",
3
+ "version": "0.2.118",
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.117",
117
- "very-happy-tools-x64-darwin": "0.2.117",
118
- "very-happy-tools-arm64-linux": "0.2.117",
119
- "very-happy-tools-x64-linux": "0.2.117",
120
- "very-happy-tools-arm64-win32": "0.2.117",
121
- "very-happy-tools-x64-win32": "0.2.117"
116
+ "very-happy-tools-arm64-darwin": "0.2.118",
117
+ "very-happy-tools-x64-darwin": "0.2.118",
118
+ "very-happy-tools-arm64-linux": "0.2.118",
119
+ "very-happy-tools-x64-linux": "0.2.118",
120
+ "very-happy-tools-arm64-win32": "0.2.118",
121
+ "very-happy-tools-x64-win32": "0.2.118"
122
122
  },
123
123
  "devDependencies": {
124
124
  "@slopus/happy-wire": "workspace:*",