@posoco/cetas 0.5.1 → 0.6.0

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/bin/cetas.js +2 -2
  2. package/package.json +7 -4
package/bin/cetas.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  // cetas launcher: exec the cetas-bun binary for this platform from the
3
- // matching cetas-<os>-<arch> payload package. Runs under Node.js.
3
+ // matching @posoco/cetas-<os>-<arch> payload package. Runs under Node.js.
4
4
  const { spawnSync } = require("node:child_process");
5
5
 
6
6
  const OS = { darwin: "darwin", linux: "linux", win32: "windows" }[process.platform];
@@ -15,7 +15,7 @@ if (!supported.includes(target)) {
15
15
  process.exit(1);
16
16
  }
17
17
 
18
- const pkg = `cetas-${target}`;
18
+ const pkg = `@posoco/cetas-${target}`;
19
19
  let bin;
20
20
  try {
21
21
  bin = require.resolve(`${pkg}/cetas-bun${process.platform === "win32" ? ".exe" : ""}`);
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@posoco/cetas",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "Bun-runtime host for cetas — provider-neutral posoco agent with pi-tui",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/colmugx/cetas.git"
9
9
  },
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
10
13
  "bin": {
11
14
  "cetas": "bin/cetas.js"
12
15
  },
@@ -14,8 +17,8 @@
14
17
  "bin"
15
18
  ],
16
19
  "optionalDependencies": {
17
- "cetas-darwin-arm64": "0.5.1",
18
- "cetas-linux-x64": "0.5.1",
19
- "cetas-windows-x64": "0.5.1"
20
+ "@posoco/cetas-darwin-arm64": "0.6.0",
21
+ "@posoco/cetas-linux-x64": "0.6.0",
22
+ "@posoco/cetas-windows-x64": "0.6.0"
20
23
  }
21
24
  }