create-op-node 0.12.3 → 0.12.4

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/dist/cli.js CHANGED
@@ -1493,6 +1493,7 @@ async function writePgsodiumKeyFile(key, keyFile) {
1493
1493
  try {
1494
1494
  const dir = dirname(keyFile);
1495
1495
  await mkdir(dir, { recursive: true, mode: 448 });
1496
+ await rm(keyFile, { force: true });
1496
1497
  await writeFile(keyFile, key, { mode: 256 });
1497
1498
  await chmod(dir, 448);
1498
1499
  await chmod(keyFile, 256);
@@ -2073,7 +2074,7 @@ function assessAllRunning(snapshots) {
2073
2074
 
2074
2075
  // src/lib/cosign.ts
2075
2076
  var COSIGN_OIDC_ISSUER = "https://token.actions.githubusercontent.com";
2076
- var DEFAULT_IDENTITY_REGEXP = "^https://github\\.com/OpusPopuli/opuspopuli/\\.github/workflows/release\\.yml@refs/heads/.*$";
2077
+ var DEFAULT_IDENTITY_REGEXP = "^https://github\\.com/OpusPopuli/(?:opuspopuli|prompt-service)/\\.github/workflows/release\\.yml@refs/heads/.*$";
2077
2078
  async function cosignVerifyImage(input) {
2078
2079
  const idRegex = input.certificateIdentityRegexp ?? DEFAULT_IDENTITY_REGEXP;
2079
2080
  const issuer = input.certificateOidcIssuer ?? COSIGN_OIDC_ISSUER;
@@ -5154,7 +5155,7 @@ function withDefaultSubcommand(argv, known) {
5154
5155
  }
5155
5156
 
5156
5157
  // src/cli.ts
5157
- var VERSION = "0.12.3";
5158
+ var VERSION = "0.12.4";
5158
5159
  var program = new Command();
5159
5160
  program.name("create-op-node").description(
5160
5161
  "Interactive bootstrap for an Opus Populi federation node.\nCloudflare infrastructure \u2192 Mac Studio \u2192 live public API."