kern-lang 3.1.5 → 3.1.7

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/LICENSE CHANGED
@@ -659,3 +659,20 @@ specific requirements.
659
659
  if any, to sign a "copyright disclaimer" for the program, if necessary.
660
660
  For more information on this, and how to apply and follow the GNU AGPL, see
661
661
  <https://www.gnu.org/licenses/>.
662
+
663
+ ===============================================================================
664
+
665
+ Copyright (c) 2026 KERNlang
666
+
667
+ Additional permission under GNU AGPL version 3 section 7:
668
+
669
+ If you modify this Program, or any covered work, by linking or combining
670
+ it with other code, such other code is not for that reason alone subject
671
+ to any of the requirements of the GNU Affero GPL version 3.
672
+
673
+ ---
674
+
675
+ COMMERCIAL USE
676
+
677
+ Using this software as part of a paid product or service requires a
678
+ commercial license. Contact: hello@kernlang.dev
package/dist/index.d.ts CHANGED
@@ -4,16 +4,14 @@
4
4
  * Re-exports all @kernlang/* packages for backwards compatibility.
5
5
  * For new projects, import from @kernlang/core + @kernlang/<target> directly.
6
6
  */
7
+ export { transpileCliApp } from '@kernlang/cli';
7
8
  export * from '@kernlang/core';
8
- export * from '@kernlang/protocol';
9
- export { transpileTailwind, transpileNextjs, transpileWeb } from '@kernlang/react';
10
- export { transpile } from '@kernlang/native';
11
9
  export { transpileExpress } from '@kernlang/express';
12
- export { transpileCliApp } from '@kernlang/cli';
13
- export { transpileTerminal, transpileInk } from '@kernlang/terminal';
14
- export { transpileVue, transpileNuxt } from '@kernlang/vue';
15
10
  export { transpileFastAPI } from '@kernlang/fastapi';
16
- export { collectLanguageMetrics, mergeMetrics, isEscapedStyleKey } from '@kernlang/metrics';
17
- export type { LanguageMetrics, StyleMetrics, NodeTypeMetrics } from '@kernlang/metrics';
18
- export { scanKernProject, projectToKern } from '@kernlang/metrics';
19
- export type { ProjectSummary } from '@kernlang/metrics';
11
+ export type { LanguageMetrics, NodeTypeMetrics, ProjectSummary, StyleMetrics } from '@kernlang/metrics';
12
+ export { collectLanguageMetrics, isEscapedStyleKey, mergeMetrics, projectToKern, scanKernProject, } from '@kernlang/metrics';
13
+ export { transpile } from '@kernlang/native';
14
+ export * from '@kernlang/protocol';
15
+ export { transpileNextjs, transpileTailwind, transpileWeb } from '@kernlang/react';
16
+ export { transpileInk, transpileTerminal } from '@kernlang/terminal';
17
+ export { transpileNuxt, transpileVue } from '@kernlang/vue';
package/dist/index.js CHANGED
@@ -4,19 +4,18 @@
4
4
  * Re-exports all @kernlang/* packages for backwards compatibility.
5
5
  * For new projects, import from @kernlang/core + @kernlang/<target> directly.
6
6
  */
7
+ export { transpileCliApp } from '@kernlang/cli';
7
8
  // Core (parser, types, config, spec, styles, codegen, utils)
8
9
  export * from '@kernlang/core';
9
- // Protocol (draft protocol for AI engines)
10
- export * from '@kernlang/protocol';
11
- // Transpilers
12
- export { transpileTailwind, transpileNextjs, transpileWeb } from '@kernlang/react';
13
- export { transpile } from '@kernlang/native';
14
10
  export { transpileExpress } from '@kernlang/express';
15
- export { transpileCliApp } from '@kernlang/cli';
16
- export { transpileTerminal, transpileInk } from '@kernlang/terminal';
17
- export { transpileVue, transpileNuxt } from '@kernlang/vue';
18
11
  export { transpileFastAPI } from '@kernlang/fastapi';
19
12
  // Metrics + context export
20
- export { collectLanguageMetrics, mergeMetrics, isEscapedStyleKey } from '@kernlang/metrics';
21
- export { scanKernProject, projectToKern } from '@kernlang/metrics';
13
+ export { collectLanguageMetrics, isEscapedStyleKey, mergeMetrics, projectToKern, scanKernProject, } from '@kernlang/metrics';
14
+ export { transpile } from '@kernlang/native';
15
+ // Protocol (draft protocol for AI engines)
16
+ export * from '@kernlang/protocol';
17
+ // Transpilers
18
+ export { transpileNextjs, transpileTailwind, transpileWeb } from '@kernlang/react';
19
+ export { transpileInk, transpileTerminal } from '@kernlang/terminal';
20
+ export { transpileNuxt, transpileVue } from '@kernlang/vue';
22
21
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,6DAA6D;AAC7D,cAAc,gBAAgB,CAAC;AAE/B,2CAA2C;AAC3C,cAAc,oBAAoB,CAAC;AAEnC,cAAc;AACd,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,2BAA2B;AAC3B,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE5F,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,6DAA6D;AAC7D,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,2BAA2B;AAC3B,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,2CAA2C;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc;AACd,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kern-lang",
3
- "version": "3.1.5",
3
+ "version": "3.1.7",
4
4
  "description": "The language LLMs think in. Write one .kern file, ship 7 targets. 70% fewer tokens.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -33,16 +33,16 @@
33
33
  "homepage": "https://github.com/KERNlang/kern#readme",
34
34
  "license": "AGPL-3.0",
35
35
  "dependencies": {
36
- "@kernlang/core": "3.1.5",
37
- "@kernlang/protocol": "3.1.5",
38
- "@kernlang/react": "3.1.5",
39
- "@kernlang/native": "3.1.5",
40
- "@kernlang/express": "3.1.5",
41
- "@kernlang/cli": "3.1.5",
42
- "@kernlang/terminal": "3.1.5",
43
- "@kernlang/fastapi": "3.1.5",
44
- "@kernlang/vue": "3.1.5",
45
- "@kernlang/metrics": "3.1.5"
36
+ "@kernlang/core": "3.1.7",
37
+ "@kernlang/protocol": "3.1.7",
38
+ "@kernlang/native": "3.1.7",
39
+ "@kernlang/express": "3.1.7",
40
+ "@kernlang/cli": "3.1.7",
41
+ "@kernlang/react": "3.1.7",
42
+ "@kernlang/terminal": "3.1.7",
43
+ "@kernlang/vue": "3.1.7",
44
+ "@kernlang/fastapi": "3.1.7",
45
+ "@kernlang/metrics": "3.1.7"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "tsc -b"