@company-semantics/contracts 0.24.0 → 0.25.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -392,6 +392,8 @@ export interface GuardCheckRegistry {
392
392
  structural?: BoundGuardCheck[];
393
393
  behavioral?: BoundGuardCheck[];
394
394
  invariants?: BoundGuardCheck[];
395
+ /** Evolution guards: drift detection (advisory only) */
396
+ evolution?: BoundGuardCheck[];
395
397
  /** Meta-guards: protect the guard system itself (coverage correctness) */
396
398
  meta?: BoundGuardCheck[];
397
399
  };
package/src/mcp/index.ts CHANGED
@@ -4,6 +4,10 @@
4
4
  * Types for tool discovery flow (read-only, UI-first).
5
5
  * Same descriptor used for discovery and invocation, different fields matter.
6
6
  *
7
+ * TWO SHAPES (same conceptual data, different layers):
8
+ * - ToolDiscoveryResponse: HTTP transport (GET /api/capabilities/tools response)
9
+ * - ToolListMessagePart: Chat protocol (atomic message part in conversation)
10
+ *
7
11
  * INVARIANTS:
8
12
  * - Discovery is descriptive (never executes)
9
13
  * - Invocation is authoritative (runtime is executor)