@corenel/cli 0.4.4 → 0.4.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.
Files changed (2) hide show
  1. package/dist/cli.js +1 -4
  2. package/package.json +6 -6
package/dist/cli.js CHANGED
@@ -22537,23 +22537,20 @@ function parseSessionBinding(meta) {
22537
22537
  const raw = meta.session;
22538
22538
  if (raw === void 0) return { kind: "absent" };
22539
22539
  if (!raw || typeof raw !== "object" || Array.isArray(raw)) {
22540
- return { kind: "malformed", reason: "session: must be a block with `name:` and `workdir:`" };
22540
+ return { kind: "malformed", reason: "session: must be a block with a `name:`" };
22541
22541
  }
22542
22542
  const o = raw;
22543
22543
  const name = typeof o.name === "string" ? o.name : "";
22544
- const workdir = typeof o.workdir === "string" ? o.workdir.trim() : "";
22545
22544
  if (!isValidSessionName(name)) {
22546
22545
  return {
22547
22546
  kind: "malformed",
22548
22547
  reason: `session.name ${JSON.stringify(name)} must be 1-32 characters of a-z, 0-9, "-" or "_"`
22549
22548
  };
22550
22549
  }
22551
- if (!workdir) return { kind: "malformed", reason: "session.workdir is required" };
22552
22550
  return {
22553
22551
  kind: "binding",
22554
22552
  binding: {
22555
22553
  name,
22556
- workdir,
22557
22554
  // Anything but an explicit `false` is true, matching how `enabled` is read
22558
22555
  // in store.ts — absent means the default, and the default is on.
22559
22556
  createIfMissing: o.createIfMissing !== false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corenel/cli",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "type": "module",
5
5
  "description": "Corenel CLI — runs the harness in node, in-proc, no transport. The headless proof the kernel is host-agnostic. (corenel run/ask/chat/login + start --sidecar to follow.)",
6
6
  "bin": {
@@ -9,9 +9,9 @@
9
9
  "dependencies": {
10
10
  "openai": "^4.77.0",
11
11
  "ws": "^8.18.0",
12
- "@corenel/harness": "0.6.1",
13
- "@corenel/term": "0.2.3",
14
- "@corenel/protocol": "0.6.1"
12
+ "@corenel/harness": "0.7.0",
13
+ "@corenel/protocol": "0.7.0",
14
+ "@corenel/term": "0.2.4"
15
15
  },
16
16
  "devDependencies": {
17
17
  "esbuild": "^0.21.5",
@@ -19,8 +19,8 @@
19
19
  "@types/ws": "^8.5.13",
20
20
  "tsx": "^4.19.2",
21
21
  "typescript": "^5.9.3",
22
- "@corenel/tools-node": "0.3.1",
23
- "@corenel/crew": "0.0.0"
22
+ "@corenel/crew": "0.0.0",
23
+ "@corenel/tools-node": "0.3.2"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public"