@xemahq/contracts 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +25 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,11 +1,27 @@
1
+ <!--
2
+ THE DIRECTORY NAME IS LOAD-BEARING. DO NOT RENAME THIS FOLDER.
3
+
4
+ This package is published as `@xemahq/contracts`, and the folder is still
5
+ `packages/kernel/kernel-contracts`. They disagree on purpose.
6
+
7
+ Renaming the folder to "match the package" would break 2842 references to
8
+ `packages/kernel/kernel-contracts` across 8 repositories, and 22 more to
9
+ `repos/xema-kernel-contracts` — measured 2026-09-10. None of them is an
10
+ import specifier, so every check that greps for the package NAME reports the
11
+ tree clean while the paths are broken. The pattern that finds the name cannot
12
+ see the thing that depends on it.
13
+
14
+ npm identity is the package NAME. The folder buys nothing by matching it.
15
+ -->
16
+
1
17
  <p align="center">
2
- <svg width="680" height="120" viewBox="0 0 680 120" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="@xemahq/kernel-contracts">
18
+ <svg width="680" height="120" viewBox="0 0 680 120" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="@xemahq/contracts">
3
19
  <rect width="680" height="120" rx="14" fill="#0B1020"/>
4
20
  <g transform="translate(28,34)">
5
21
  <path d="M26 0 L52 15 L52 45 L26 60 L0 45 L0 15 Z" fill="#3B82F6" opacity="0.18"/>
6
22
  <path d="M26 12 L41 21 L41 39 L26 48 L11 39 L11 21 Z" fill="#3B82F6"/>
7
23
  </g>
8
- <text x="92" y="52" font-family="ui-monospace,SFMono-Regular,Menlo,monospace" font-size="22" fill="#F8FAFC" font-weight="700">@xemahq/kernel-contracts</text>
24
+ <text x="92" y="52" font-family="ui-monospace,SFMono-Regular,Menlo,monospace" font-size="22" fill="#F8FAFC" font-weight="700">@xemahq/contracts</text>
9
25
  <text x="92" y="80" font-family="ui-sans-serif,system-ui,sans-serif" font-size="15" fill="#94A3B8">Stable wire contracts for Xema kernel surfaces</text>
10
26
  <text x="652" y="105" text-anchor="end" font-family="ui-sans-serif,system-ui,sans-serif" font-size="12" fill="#475569">xema.dev</text>
11
27
  </svg>
@@ -13,16 +29,16 @@
13
29
 
14
30
  <p align="center">
15
31
  <a href="https://xema.dev">Website</a> &middot;
16
- <a href="https://www.npmjs.com/package/@xemahq/kernel-contracts">npm</a>
32
+ <a href="https://www.npmjs.com/package/@xemahq/contracts">npm</a>
17
33
  </p>
18
34
 
19
35
  <p align="center">
20
- <img alt="npm" src="https://img.shields.io/npm/v/%40xemahq%2Fkernel-contracts?color=2563eb&label=npm">
21
- <img alt="license" src="https://img.shields.io/npm/l/%40xemahq%2Fkernel-contracts?color=10b981">
22
- <img alt="types" src="https://img.shields.io/npm/types/%40xemahq%2Fkernel-contracts?color=3178c6">
36
+ <img alt="npm" src="https://img.shields.io/npm/v/%40xemahq%2Fcontracts?color=2563eb&label=npm">
37
+ <img alt="license" src="https://img.shields.io/npm/l/%40xemahq%2Fcontracts?color=10b981">
38
+ <img alt="types" src="https://img.shields.io/npm/types/%40xemahq%2Fcontracts?color=3178c6">
23
39
  </p>
24
40
 
25
- # @xemahq/kernel-contracts
41
+ # @xemahq/contracts
26
42
 
27
43
  > Stable wire contracts for Xema kernel surfaces
28
44
 
@@ -44,7 +60,7 @@ declares stable `components[]` with a closed kind, portable artifact and wire
44
60
  protocol, supported host ABI/execution modes, and component-local requirements.
45
61
  Authors never declare physical ports, pods, runners, credentials, provider
46
62
  endpoints, or Kubernetes topology. The generated JSON Schema is exported as
47
- `@xemahq/kernel-contracts/biome/xema-biome.schema.json`; TypeScript types are
63
+ `@xemahq/contracts/biome/xema-biome.schema.json`; TypeScript types are
48
64
  inferred from the same Zod source.
49
65
 
50
66
  ## When to use it
@@ -55,7 +71,7 @@ inferred from the same Zod source.
55
71
  ## Installation
56
72
 
57
73
  ```bash
58
- pnpm add @xemahq/kernel-contracts
74
+ pnpm add @xemahq/contracts
59
75
  ```
60
76
 
61
77
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/contracts",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Consolidated Xema OS kernel wire contracts — pure types + zod schemas for the kernel protocol surfaces. One package, one npm scope, wildcard per-surface subpath exports. No framework/runtime deps.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Neuralchowder Inc. <developer@xema.dev> (https://xema.dev)",