@ego-z/contracts 0.15.5 → 0.15.6

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 +24 -0
  2. package/package.json +1 -4
package/README.md CHANGED
@@ -58,6 +58,30 @@ import type { AskRequestBody, AskResponseData, AskStreamEvent } from '@ego-z/con
58
58
  their generated `.d.ts` automatically — end users see the types as if
59
59
  they were declared in the SDK itself.
60
60
 
61
+ ## ⚠️ Do not pin `0.15.5`
62
+
63
+ `0.15.5` was published with a `dependencies` entry naming **itself**
64
+ (`"@ego-z/contracts": "^0.15.0"`). It is harmless while 0.15.5 is the newest
65
+ 0.15.x — npm resolves that range back to the same copy and dedupes it:
66
+
67
+ ```
68
+ `-- @ego-z/contracts@0.15.5
69
+ `-- @ego-z/contracts@0.15.5 deduped
70
+ ```
71
+
72
+ **It stops being harmless the moment a newer 0.15.x exists.** That range can
73
+ then resolve a *different* version nested underneath 0.15.5, putting two
74
+ copies of the same types in one tree — the classic "these two identical
75
+ interfaces are not assignable" failure, from a cause nobody would think to
76
+ look for.
77
+
78
+ So: **when the next patch ships, move off 0.15.5 rather than staying on it.**
79
+ Don't pin it, and don't leave a lockfile resolving to it.
80
+
81
+ The source is already fixed — the package declares no runtime dependencies at
82
+ all — so the next publish for any reason clears it. It was not worth a
83
+ version bump on its own mid-integration.
84
+
61
85
  ## When to bump
62
86
 
63
87
  - **Adding** an optional field — non-breaking, no version bump required
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ego-z/contracts",
3
- "version": "0.15.5",
3
+ "version": "0.15.6",
4
4
  "description": "Wire-format type contracts shared between EgoZ backend, SDK, MCP and console. Type-only — no runtime artifacts.",
5
5
  "types": "./src/index.d.ts",
6
6
  "exports": {
@@ -44,8 +44,5 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "typescript": "^5.0.0"
47
- },
48
- "dependencies": {
49
- "@ego-z/contracts": "^0.15.0"
50
47
  }
51
48
  }