@contractspec/lib.evolution 3.7.15 → 3.7.17

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/dist/index.js CHANGED
@@ -270,8 +270,8 @@ function isRecord(value) {
270
270
  return typeof value === "object" && value !== null;
271
271
  }
272
272
  // src/analyzer/spec-analyzer.ts
273
- import { randomUUID } from "crypto";
274
273
  import { LifecycleStage } from "@contractspec/lib.lifecycle";
274
+ import { randomUUID } from "crypto";
275
275
  var DEFAULT_OPTIONS = {
276
276
  minSampleSize: 50,
277
277
  errorRateThreshold: 0.05,
@@ -754,8 +754,8 @@ function serializeSuggestion(suggestion) {
754
754
  };
755
755
  }
756
756
  // src/generator/ai-spec-generator.ts
757
- import { randomUUID as randomUUID2 } from "crypto";
758
757
  import { generateText, Output } from "ai";
758
+ import { randomUUID as randomUUID2 } from "crypto";
759
759
  import * as z from "zod";
760
760
  var SpecSuggestionProposalSchema = z.object({
761
761
  summary: z.string().describe("Brief summary of the proposed change"),
@@ -269,8 +269,8 @@ function isRecord(value) {
269
269
  return typeof value === "object" && value !== null;
270
270
  }
271
271
  // src/analyzer/spec-analyzer.ts
272
- import { randomUUID } from "node:crypto";
273
272
  import { LifecycleStage } from "@contractspec/lib.lifecycle";
273
+ import { randomUUID } from "crypto";
274
274
  var DEFAULT_OPTIONS = {
275
275
  minSampleSize: 50,
276
276
  errorRateThreshold: 0.05,
@@ -753,8 +753,8 @@ function serializeSuggestion(suggestion) {
753
753
  };
754
754
  }
755
755
  // src/generator/ai-spec-generator.ts
756
- import { randomUUID as randomUUID2 } from "node:crypto";
757
756
  import { generateText, Output } from "ai";
757
+ import { randomUUID as randomUUID2 } from "crypto";
758
758
  import * as z from "zod";
759
759
  var SpecSuggestionProposalSchema = z.object({
760
760
  summary: z.string().describe("Brief summary of the proposed change"),
@@ -937,7 +937,7 @@ function createAISpecGenerator(config) {
937
937
  return new AISpecGenerator(config);
938
938
  }
939
939
  // src/generator/spec-generator.ts
940
- import { randomUUID as randomUUID3 } from "node:crypto";
940
+ import { randomUUID as randomUUID3 } from "crypto";
941
941
 
942
942
  class SpecGenerator {
943
943
  config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.evolution",
3
- "version": "3.7.15",
3
+ "version": "3.7.17",
4
4
  "description": "AI-powered contract evolution engine",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -18,7 +18,7 @@
18
18
  "scripts": {
19
19
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
20
20
  "publish:pkg:canary": "bun publish:pkg --tag canary",
21
- "build": "bun run prebuild && bun run build:bundle && bun run build:types",
21
+ "build": "bun run build:bundle && bun run build:types",
22
22
  "build:bundle": "contractspec-bun-build transpile",
23
23
  "build:types": "contractspec-bun-build types",
24
24
  "dev": "contractspec-bun-build dev",
@@ -33,21 +33,21 @@
33
33
  "dependencies": {
34
34
  "ai": "6.0.138",
35
35
  "zod": "^4.3.5",
36
- "@contractspec/lib.ai-agent": "8.0.3",
37
- "@contractspec/lib.ai-providers": "3.7.11",
38
- "@contractspec/lib.contracts-spec": "5.0.3",
39
- "@contractspec/lib.contracts-integrations": "3.8.7",
40
- "@contractspec/lib.lifecycle": "3.7.15",
41
- "@contractspec/lib.observability": "3.7.15",
42
- "@contractspec/lib.schema": "3.7.12"
36
+ "@contractspec/lib.ai-agent": "8.0.5",
37
+ "@contractspec/lib.ai-providers": "3.7.13",
38
+ "@contractspec/lib.contracts-spec": "5.1.0",
39
+ "@contractspec/lib.contracts-integrations": "3.8.9",
40
+ "@contractspec/lib.lifecycle": "3.7.17",
41
+ "@contractspec/lib.observability": "3.7.17",
42
+ "@contractspec/lib.schema": "3.7.14"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@prisma/client": "7.5.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@contractspec/tool.typescript": "3.7.11",
48
+ "@contractspec/tool.typescript": "3.7.13",
49
49
  "typescript": "^5.9.3",
50
- "@contractspec/tool.bun": "3.7.11"
50
+ "@contractspec/tool.bun": "3.7.13"
51
51
  },
52
52
  "exports": {
53
53
  ".": {