@corca-org/ceal 1.1.2 → 1.1.3

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
@@ -1,7 +1,10 @@
1
1
  # @corca-org/ceal
2
2
 
3
- Start with the [Ceal installation guide](https://ceal-dev.corca.ai/install.md). Ask an agent: `Read https://ceal-dev.corca.ai/install.md by curl and install ceal for me.`
3
+ Start with the [Ceal installation guide](https://ceal-dev.corca.ai/install.md).
4
+ Ask an agent: `Read https://ceal-dev.corca.ai/install.md by curl and install ceal for me.`
4
5
 
5
- The Ceal user package installs the platform-specific signed `ceal` client and its matching `ceal-host` dependency. It provides both global launchers and does not install the independently distributed administrator client `cealctl`.
6
+ The Ceal user package installs the platform-specific signed `ceal` client and provides the global `ceal` launcher.
7
+ The independently distributed administrator client is `cealctl`.
6
8
 
7
- The installation guide owns platform setup, updates, command resolution, Session adoption and Host activation. `ceal doctor` is read-only; package installation alone does not activate the Host or establish a Gateway Session.
9
+ The installation guide owns platform setup, updates, command resolution, and Session adoption.
10
+ `ceal doctor` is read-only; package installation alone does not establish a Gateway Session.
package/bin/ceal.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import { launch } from "./launch.js"; await launch({ meta: "ceal", product: "ceal", supported: ["linux-x64","linux-arm64","darwin-arm64","win32-x64"], binaryName: "ceal", companion: { entry: "ceal-host.js", env: "CEAL_HOST_LAUNCHER_PATH" } });
2
+ import { launch } from "./launch.js"; await launch({ meta: "ceal", product: "ceal", supported: ["linux-x64","linux-arm64","darwin-arm64","win32-x64"], binaryName: "ceal" });
package/bin/launch.js CHANGED
@@ -8,7 +8,6 @@ import { createRequire } from "node:module";
8
8
  import { dirname, join } from "node:path";
9
9
  import { constants as osConstants } from "node:os";
10
10
  import { spawn } from "node:child_process";
11
- import { fileURLToPath } from "node:url";
12
11
 
13
12
  const launcherRequire = createRequire(import.meta.url);
14
13
 
@@ -81,14 +80,10 @@ export function launch(input, nodeVersion = process.version) {
81
80
  }
82
81
  const executableName = process.platform === "win32" ? `${input.binaryName}.exe` : input.binaryName;
83
82
  const launcherPath = process.env.CEAL_LAUNCHER_PATH ?? process.argv[1] ?? null;
84
- let companionEnvironment = {};
85
- if (input.companion) {
86
- companionEnvironment[input.companion.env] = join(dirname(fileURLToPath(import.meta.url)), input.companion.entry);
87
- }
88
83
  const child = spawn(join(packageRoot, "bin", executableName), process.argv.slice(2), {
89
84
  stdio: "inherit",
90
85
  windowsHide: process.platform === "win32" ? false : undefined,
91
- env: { ...process.env, ...companionEnvironment, ...(launcherPath === null ? {} : { CEAL_LAUNCHER_PATH: launcherPath }) },
86
+ env: { ...process.env, ...(launcherPath === null ? {} : { CEAL_LAUNCHER_PATH: launcherPath }) },
92
87
  });
93
88
  child.once("error", (error) => {
94
89
  refuse(input.product, `could not start the platform binary: ${error.message}`);
package/package.json CHANGED
@@ -7,17 +7,13 @@
7
7
  "node": "^22.23.5 || ^24.22.3 || >=26.13.1"
8
8
  },
9
9
  "bin": {
10
- "ceal": "bin/ceal.js",
11
- "ceal-host": "bin/ceal-host.js"
10
+ "ceal": "bin/ceal.js"
12
11
  },
13
12
  "optionalDependencies": {
14
- "@corca-org/ceal-linux-x64": "1.1.2",
15
- "@corca-org/ceal-linux-arm64": "1.1.2",
16
- "@corca-org/ceal-darwin-arm64": "1.1.2",
17
- "@corca-org/ceal-win32-x64": "1.1.2"
18
- },
19
- "dependencies": {
20
- "@corca-org/ceal-host": "1.1.2"
13
+ "@corca-org/ceal-linux-x64": "1.1.3",
14
+ "@corca-org/ceal-linux-arm64": "1.1.3",
15
+ "@corca-org/ceal-darwin-arm64": "1.1.3",
16
+ "@corca-org/ceal-win32-x64": "1.1.3"
21
17
  },
22
18
  "repository": {
23
19
  "type": "git",
@@ -29,7 +25,7 @@
29
25
  "bin/launch.js",
30
26
  "README.md"
31
27
  ],
32
- "version": "1.1.2",
28
+ "version": "1.1.3",
33
29
  "publishConfig": {
34
30
  "access": "public",
35
31
  "provenance": false
package/bin/ceal-host.js DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- import { launch } from "./launch.js"; await launch({ meta: "ceal-host", product: "ceal-host", supported: ["linux-x64","linux-arm64","darwin-arm64","win32-x64"], binaryName: "ceal-host" });