@vellumai/assistant 0.12.5-dev.202609271617.e7c178e → 0.12.5-dev.202609280052.ca5ab66

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/assistant",
3
- "version": "0.12.5-dev.202609271617.e7c178e",
3
+ "version": "0.12.5-dev.202609280052.ca5ab66",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -35,6 +35,7 @@ test("preserves unrelated policies and does not rewrite on repeated startup", ()
35
35
  path,
36
36
  JSON.stringify({
37
37
  CommandLineFlagSecurityWarningsEnabled: false,
38
+ PasswordManagerEnabled: false,
38
39
  DownloadRestrictions: 1,
39
40
  }),
40
41
  );
@@ -25,7 +25,9 @@ export function writeDesktopChromePolicy(policyDir: string): void {
25
25
  if (
26
26
  policy.NetworkPredictionOptions === 2 &&
27
27
  policy.CommandLineFlagSecurityWarningsEnabled === false &&
28
- policy.PasswordManagerEnabled === false
28
+ policy.PasswordManagerEnabled === false &&
29
+ policy.HighEfficiencyModeEnabled === true &&
30
+ policy.MemorySaverModeSavings === 1
29
31
  ) {
30
32
  return;
31
33
  }
@@ -35,6 +37,8 @@ export function writeDesktopChromePolicy(policyDir: string): void {
35
37
  policy.CommandLineFlagSecurityWarningsEnabled = false;
36
38
  // Suppress save prompts while keeping previously saved passwords usable.
37
39
  policy.PasswordManagerEnabled = false;
40
+ policy.HighEfficiencyModeEnabled = true;
41
+ policy.MemorySaverModeSavings = 1;
38
42
  mkdirSync(policyDir, { recursive: true });
39
43
  const staging = mkdtempSync(join(policyDir, ".vellum-desktop-"));
40
44
  try {
@@ -47,7 +47,7 @@ const log = getLogger("desktop-session");
47
47
 
48
48
  export const DESKTOP_VNC_PORT = 5999;
49
49
  const DESKTOP_GEOMETRY = `${DESKTOP_WIDTH}x${DESKTOP_HEIGHT}`;
50
- const DESKTOP_LINGER_MS = 24 * 60 * 60_000;
50
+ const DESKTOP_LINGER_MS = 8 * 60 * 60_000;
51
51
  const VNC_READY_DEADLINE_MS = 10_000;
52
52
  const VNC_PROBE_INTERVAL_MS = 100;
53
53
  const KILL_GRACE_MS = 2_000;