qlogicagent 2.13.6 → 2.13.7

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.
@@ -16,6 +16,13 @@ export interface SignablePackage {
16
16
  }
17
17
  /** Byte-exact canonical payload — keep identical to the Hub. Fixed order; never reorder. */
18
18
  export declare function canonicalSigningPayload(p: SignablePackage): string;
19
+ /**
20
+ * Normalize a PEM that may arrive with escaped newlines. The trusted public key is
21
+ * sourced from env (QLOGIC_REGISTRY_SIGNING_PUBLIC_KEY_PEM); env_file / single-line
22
+ * secret stores deliver `\n` as literal backslash-n, which createPublicKey rejects.
23
+ * No-op when the PEM already has real newlines, so it never affects valid keys.
24
+ */
25
+ export declare function normalizePem(pem: string): string;
19
26
  /** Verify an Ed25519 signature (base64) over the canonical payload. False on any error. */
20
27
  export declare function verifyPackageSignature(p: SignablePackage, signatureBase64: string, publicKeyPem: string): boolean;
21
28
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qlogicagent",
3
- "version": "2.13.6",
3
+ "version": "2.13.7",
4
4
  "description": "XiaozhiClaw Agent CLI — subprocess architecture (JSON-RPC over stdio)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",