openmates 0.27.0-alpha.26 → 0.27.0-alpha.27

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.
@@ -86207,7 +86207,7 @@ async function checkTuiUpdate(now = Date.now()) {
86207
86207
  }
86208
86208
  const plan = buildSelfUpdatePlan({});
86209
86209
  const forced = process.env.OPENMATES_CLI_LATEST_VERSION?.trim();
86210
- const latestVersion = forced || (await executeFile(commandName("npm"), ["view", `${PACKAGE_NAME}@${plan.target}`, "version"], {
86210
+ const latestVersion = forced || (await executeFile(commandName("npm"), ["view", `${PACKAGE_NAME}@${plan.target}`, "version", "--prefer-online"], {
86211
86211
  encoding: "utf8",
86212
86212
  timeout: 1e4
86213
86213
  })).stdout.trim().split("\n").at(-1)?.trim();
@@ -86221,7 +86221,11 @@ async function installTuiUpdate(offer) {
86221
86221
  const plan = offer.plan;
86222
86222
  if (plan.dryRun) return;
86223
86223
  try {
86224
- await executeFile(plan.command, plan.args, { encoding: "utf8", maxBuffer: 4 * 1024 * 1024 });
86224
+ await executeFile(plan.command, plan.args, {
86225
+ encoding: "utf8",
86226
+ maxBuffer: 4 * 1024 * 1024,
86227
+ env: { ...process.env, npm_config_prefer_online: "true" }
86228
+ });
86225
86229
  } catch {
86226
86230
  throw new Error(`Update failed. Retry or skip for now; you can also run openmates update --verbose.`);
86227
86231
  }
@@ -86334,7 +86338,8 @@ function runSelfUpdate(plan, options = {}) {
86334
86338
  if (plan.dryRun) return;
86335
86339
  const result = spawnSync2(plan.command, plan.args, {
86336
86340
  encoding: "utf-8",
86337
- stdio: ["ignore", "pipe", "pipe"]
86341
+ stdio: ["ignore", "pipe", "pipe"],
86342
+ env: { ...process.env, npm_config_prefer_online: "true" }
86338
86343
  });
86339
86344
  if (options.verbose && result.stdout) process.stderr.write(result.stdout);
86340
86345
  if (options.verbose && result.stderr) process.stderr.write(result.stderr);
@@ -86360,7 +86365,7 @@ function resolveTargetVersion(target) {
86360
86365
  if (/^\d+\.\d+\.\d+(?:[-+][a-zA-Z0-9._-]+)?$/.test(target)) {
86361
86366
  return { version: target, error: null };
86362
86367
  }
86363
- const result = spawnSync2(commandName("npm"), ["view", `${PACKAGE_NAME}@${target}`, "version"], {
86368
+ const result = spawnSync2(commandName("npm"), ["view", `${PACKAGE_NAME}@${target}`, "version", "--prefer-online"], {
86364
86369
  encoding: "utf-8",
86365
86370
  stdio: ["ignore", "pipe", "pipe"],
86366
86371
  timeout: 3e4
package/dist/cli.js CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  shouldRequireTrustedAccountGuard,
22
22
  waitForSafeE2ETotpWindow,
23
23
  waitForWorkflowRun
24
- } from "./chunk-O6W63GAS.js";
24
+ } from "./chunk-P24ABEAY.js";
25
25
  import "./chunk-USORGU2X.js";
26
26
  import "./chunk-IWKP55ZB.js";
27
27
  import "./chunk-4IRYB3YN.js";
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ import {
43
43
  selectAssistantMessagesForSpeech,
44
44
  serializeToYaml,
45
45
  summarizeAssistantSpeech
46
- } from "./chunk-O6W63GAS.js";
46
+ } from "./chunk-P24ABEAY.js";
47
47
  import "./chunk-USORGU2X.js";
48
48
  import "./chunk-IWKP55ZB.js";
49
49
  import "./chunk-4IRYB3YN.js";
@@ -17,47 +17,47 @@
17
17
  {
18
18
  "name": "libggml-base.so",
19
19
  "bytes": 1110088,
20
- "sha256": "10c0078793c95cd34b27e95dcfdb53066be7419ccda64d377e3a456560b9a2b5"
20
+ "sha256": "af5ba2c305c4441a640a96b31edaef7698b4cb893d2b916c79a1f677e292948b"
21
21
  },
22
22
  {
23
23
  "name": "libggml-base.so.0",
24
24
  "bytes": 1110088,
25
- "sha256": "10c0078793c95cd34b27e95dcfdb53066be7419ccda64d377e3a456560b9a2b5"
25
+ "sha256": "af5ba2c305c4441a640a96b31edaef7698b4cb893d2b916c79a1f677e292948b"
26
26
  },
27
27
  {
28
28
  "name": "libggml-base.so.0.15.1",
29
29
  "bytes": 1110088,
30
- "sha256": "10c0078793c95cd34b27e95dcfdb53066be7419ccda64d377e3a456560b9a2b5"
30
+ "sha256": "af5ba2c305c4441a640a96b31edaef7698b4cb893d2b916c79a1f677e292948b"
31
31
  },
32
32
  {
33
33
  "name": "libggml-cpu.so",
34
34
  "bytes": 869800,
35
- "sha256": "baa43c9b620f3972a9177695c16a3e6c951a01162489039e722afecfaafe57df"
35
+ "sha256": "8c8344da43d90938ffc8ab00136bd9e58a35928e764f73004526d27fe6cc0f60"
36
36
  },
37
37
  {
38
38
  "name": "libggml-cpu.so.0",
39
39
  "bytes": 869800,
40
- "sha256": "baa43c9b620f3972a9177695c16a3e6c951a01162489039e722afecfaafe57df"
40
+ "sha256": "8c8344da43d90938ffc8ab00136bd9e58a35928e764f73004526d27fe6cc0f60"
41
41
  },
42
42
  {
43
43
  "name": "libggml-cpu.so.0.15.1",
44
44
  "bytes": 869800,
45
- "sha256": "baa43c9b620f3972a9177695c16a3e6c951a01162489039e722afecfaafe57df"
45
+ "sha256": "8c8344da43d90938ffc8ab00136bd9e58a35928e764f73004526d27fe6cc0f60"
46
46
  },
47
47
  {
48
48
  "name": "libggml.so",
49
49
  "bytes": 1899104,
50
- "sha256": "01e410e671c40837154c6afc25208a08f5590fa4e3060ea0f9dfbc7ff9a65ad1"
50
+ "sha256": "dba250a7f142e6c71b9427518fa8eb37fd56f83eb2c8caedaffc559387b5ede8"
51
51
  },
52
52
  {
53
53
  "name": "libggml.so.0",
54
54
  "bytes": 1899104,
55
- "sha256": "01e410e671c40837154c6afc25208a08f5590fa4e3060ea0f9dfbc7ff9a65ad1"
55
+ "sha256": "dba250a7f142e6c71b9427518fa8eb37fd56f83eb2c8caedaffc559387b5ede8"
56
56
  },
57
57
  {
58
58
  "name": "libggml.so.0.15.1",
59
59
  "bytes": 1899104,
60
- "sha256": "01e410e671c40837154c6afc25208a08f5590fa4e3060ea0f9dfbc7ff9a65ad1"
60
+ "sha256": "dba250a7f142e6c71b9427518fa8eb37fd56f83eb2c8caedaffc559387b5ede8"
61
61
  },
62
62
  {
63
63
  "name": "openmates-pii-worker",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.27.0-alpha.26",
3
+ "version": "0.27.0-alpha.27",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",