clckernel 2.0.0 → 2.0.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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Fixed
11
+
12
+ - `npx clckernel` no longer prints the `clc-forge` deprecation notice. The legacy `clc-forge` and
13
+ `create-clc-forge` binaries now point to `bin/deprecated.js`, so npx runs the bin named like the package
14
+ instead of the first (alphabetically sorted) one.
15
+
10
16
  ## [2.0.0] - 2026-10-26
11
17
 
12
18
  ### ⚠ BREAKING CHANGES
package/bin/cli.js CHANGED
@@ -4,16 +4,8 @@
4
4
  * Invokes the main controller module for CLC Kernel.
5
5
  */
6
6
 
7
- const path = require('path');
8
7
  const { runCli } = require('../src/index');
9
8
 
10
- // Binary names from before the rename: still installed, removed in the next major.
11
- const DEPRECATED_BIN_NAMES = new Set(['clc-forge', 'create-clc-forge']);
12
- const invokedAs = path.basename(process.argv[1] || '').replace(/\.(js|cmd)$/i, '');
13
- if (DEPRECATED_BIN_NAMES.has(invokedAs)) {
14
- process.stderr.write('"clc-forge" is deprecated; use "clckernel"\n');
15
- }
16
-
17
9
  runCli().catch((err) => {
18
10
  console.error('\n❌ Error ejecutando clckernel:', err);
19
11
  process.exit(1);
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * CLC Kernel — entry point for the legacy binary names (clc-forge,
4
+ * create-clc-forge). Prints the deprecation notice, then runs the CLI.
5
+ *
6
+ * It is a separate file on purpose: when every bin points to the same file,
7
+ * npx runs the first bin key, and the registry stores the keys sorted, so
8
+ * `npx clckernel` would run as "clc-forge". With distinct targets npx picks
9
+ * the bin named like the package.
10
+ */
11
+
12
+ process.stderr.write('"clc-forge" is deprecated; use "clckernel"\n');
13
+ require('./cli.js');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clckernel",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "CLC Kernel — The Universal Polyglot AI Agent Governance Engine (Next.js, FastAPI, Django, Astro, Rails, Go, Rust, Laravel).",
5
5
  "main": "./bin/cli.js",
6
6
  "files": [
@@ -17,8 +17,8 @@
17
17
  "clckernel": "bin/cli.js",
18
18
  "create-clckernel": "bin/cli.js",
19
19
  "clc-kernel": "bin/cli.js",
20
- "clc-forge": "bin/cli.js",
21
- "create-clc-forge": "bin/cli.js"
20
+ "clc-forge": "bin/deprecated.js",
21
+ "create-clc-forge": "bin/deprecated.js"
22
22
  },
23
23
  "keywords": [
24
24
  "clckernel",