pallium 0.9.3 → 0.9.5

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/README.md CHANGED
@@ -12,7 +12,7 @@ The package installs the matching Pallium release binary from GitHub into
12
12
  platform, it falls back to:
13
13
 
14
14
  ```bash
15
- go install github.com/tszaks/pallium@v0.9.3
15
+ go install github.com/tszaks/pallium@v0.9.5
16
16
  ```
17
17
 
18
18
  GitHub Packages mirror:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pallium",
3
- "version": "0.9.3",
4
- "description": "Local-first CLI for AI-powered coding workflows.",
3
+ "version": "0.9.5",
4
+ "description": "Local-first control plane for AI coding agents.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/tszaks/pallium#readme",
7
7
  "repository": {
package/scripts/test.js CHANGED
@@ -3,11 +3,16 @@
3
3
 
4
4
  const assert = require("node:assert/strict");
5
5
  const { assetName, parseChecksum, platformKey } = require("./lib");
6
+ const packageJson = require("../package.json");
7
+
8
+ const escapedVersion = packageJson.version.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
9
+ const expectedAsset = new RegExp(`^pallium_${escapedVersion}_(darwin|linux)_(arm64|amd64)\\.tar\\.gz$`);
10
+ const checksumAsset = `pallium_${packageJson.version}_darwin_arm64.tar.gz`;
6
11
 
7
12
  assert.match(platformKey(), /^(darwin|linux|win32|freebsd|openbsd|aix|sunos)-/);
8
13
  if (["darwin-arm64", "darwin-amd64", "linux-arm64", "linux-amd64"].includes(platformKey())) {
9
- assert.match(assetName(), /^pallium_0\.9\.3_(darwin|linux)_(arm64|amd64)\.tar\.gz$/);
14
+ assert.match(assetName(), expectedAsset);
10
15
  }
11
- assert.equal(parseChecksum("abc123 pallium_0.9.3_darwin_arm64.tar.gz\n", "pallium_0.9.3_darwin_arm64.tar.gz"), "abc123");
16
+ assert.equal(parseChecksum(`abc123 ${checksumAsset}\n`, checksumAsset), "abc123");
12
17
 
13
18
  console.log("pallium npm wrapper tests passed");