portable-agent-layer 0.29.0 → 0.29.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli/index.ts +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "portable-agent-layer",
3
- "version": "0.29.0",
3
+ "version": "0.29.1",
4
4
  "description": "PAL — Portable Agent Layer: persistent personal context for AI coding assistants",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli/index.ts CHANGED
@@ -918,12 +918,12 @@ async function update() {
918
918
  process.exit(1);
919
919
  }
920
920
  } else {
921
- log.info("Updating via npm...");
922
- const up = spawnSync("bun", ["update", "-g", "portable-agent-layer"], {
921
+ log.info("Updating via bun...");
922
+ const up = spawnSync("bun", ["add", "-g", `portable-agent-layer@${result.latest}`], {
923
923
  stdio: "inherit",
924
924
  });
925
925
  if (up.status !== 0) {
926
- log.error("Update failed. Try: bun update -g portable-agent-layer");
926
+ log.error(`Update failed. Try: bun add -g portable-agent-layer@${result.latest}`);
927
927
  process.exit(1);
928
928
  }
929
929
  }