patchrelay 0.74.7 → 0.74.8

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "service": "patchrelay",
3
- "version": "0.74.7",
4
- "commit": "53cd46e337f8",
5
- "builtAt": "2026-05-29T11:49:02.626Z"
3
+ "version": "0.74.8",
4
+ "commit": "5016ef557bde",
5
+ "builtAt": "2026-05-29T12:02:10.583Z"
6
6
  }
@@ -1,7 +1,8 @@
1
1
  import { spawnSync } from "node:child_process";
2
2
  const CODEX_STATUS_TIMEOUT_MS = 15_000;
3
3
  function stripAnsiCodes(value) {
4
- return value.replace(/\u001b\[[0-9;]*m/g, "");
4
+ const escape = String.fromCharCode(27);
5
+ return value.replace(new RegExp(`${escape}\\[[0-9;]*m`, "g"), "");
5
6
  }
6
7
  function parseAccountLine(output) {
7
8
  const lines = output.split(/\r?\n/);
package/dist/index.js CHANGED
@@ -1,7 +1,19 @@
1
1
  #!/usr/bin/env node
2
2
  import { dirname } from "node:path";
3
3
  import { runCli } from "./cli/index.js";
4
+ function suppressNodeSqliteExperimentalWarning() {
5
+ const originalEmitWarning = process.emitWarning;
6
+ process.emitWarning = function emitWarningWithoutNodeSqliteNoise(warning, optionsOrType, codeOrCtor, ctor) {
7
+ const message = warning instanceof Error ? warning.message : warning;
8
+ const type = typeof optionsOrType === "string" ? optionsOrType : optionsOrType?.type;
9
+ if (type === "ExperimentalWarning" && message.includes("SQLite is an experimental feature")) {
10
+ return;
11
+ }
12
+ return originalEmitWarning.call(process, warning, optionsOrType, codeOrCtor, ctor);
13
+ };
14
+ }
4
15
  async function main() {
16
+ suppressNodeSqliteExperimentalWarning();
5
17
  const cliExitCode = await runCli(process.argv.slice(2));
6
18
  if (cliExitCode !== -1) {
7
19
  process.exitCode = cliExitCode;
package/dist/preflight.js CHANGED
@@ -117,6 +117,9 @@ async function checkLinearApi(graphqlUrl) {
117
117
  if (response.ok) {
118
118
  return pass("linear_api", `Linear GraphQL API is reachable at ${graphqlUrl}`);
119
119
  }
120
+ if (response.status === 401 || response.status === 403) {
121
+ return pass("linear_api", `Linear GraphQL API is reachable at ${graphqlUrl} (authentication required)`);
122
+ }
120
123
  return warn("linear_api", `Linear GraphQL API returned ${response.status} — may be unreachable or rate-limited`);
121
124
  }
122
125
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchrelay",
3
- "version": "0.74.7",
3
+ "version": "0.74.8",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {