@aryaminus/controlkeel 0.3.42 → 0.3.43

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/lib/install.js CHANGED
@@ -133,10 +133,11 @@ async function verifyChecksum(filePath, asset) {
133
133
  let checksumText;
134
134
  try {
135
135
  checksumText = await downloadText(checksumUrl);
136
- } catch {
137
- // Checksum file not available for this release — skip verification but warn.
138
- console.warn(`[controlkeel] Warning: could not download checksum file from ${checksumUrl}. Skipping integrity check.`);
139
- return;
136
+ } catch (err) {
137
+ throw new Error(
138
+ `[controlkeel] Failed to download checksum file from ${checksumUrl}. ` +
139
+ `Cannot verify binary integrity. Aborting installation. (${err.message})`
140
+ );
140
141
  }
141
142
 
142
143
  const expectedHash = checksumText
@@ -145,8 +146,10 @@ async function verifyChecksum(filePath, asset) {
145
146
  .find(([, name]) => name === asset || name === `./${asset}`)?.[0];
146
147
 
147
148
  if (!expectedHash) {
148
- console.warn(`[controlkeel] Warning: no checksum entry found for ${asset}. Skipping integrity check.`);
149
- return;
149
+ throw new Error(
150
+ `[controlkeel] No checksum entry found for ${asset} in checksums file. ` +
151
+ `Cannot verify binary integrity. Aborting installation.`
152
+ );
150
153
  }
151
154
 
152
155
  const actualHash = await sha256File(filePath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aryaminus/controlkeel",
3
- "version": "0.3.42",
3
+ "version": "0.3.43",
4
4
  "description": "Bootstrap installer for the ControlKeel native CLI - a control plane for agent-generated software delivery.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
package/server.json CHANGED
@@ -7,12 +7,12 @@
7
7
  "url": "https://github.com/aryaminus/controlkeel.git",
8
8
  "source": "github"
9
9
  },
10
- "version": "0.3.42",
10
+ "version": "0.3.43",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "@aryaminus/controlkeel",
15
- "version": "0.3.42",
15
+ "version": "0.3.43",
16
16
  "runtimeHint": "npx",
17
17
  "transport": {
18
18
  "type": "stdio"