@contractspec/example.personalization 0.0.0-canary-20260113173657 → 0.0.0-canary-20260114030712

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.
@@ -166,10 +166,10 @@ $ tsdown
166
166
  ℹ dist/libs/contracts/src/resources.d.ts 0.01 kB │ gzip: 0.03 kB
167
167
  ℹ dist/libs/contracts/src/workspace-config/contractsrc-schema.d.ts 0.01 kB │ gzip: 0.03 kB
168
168
  ℹ 159 files, total: 54.50 kB
169
- ../../libs/contracts/src/openapi.ts (8:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/openapi.ts
170
- ╭─[ ../../libs/contracts/src/openapi.ts:8:33 ]
169
+ ../../libs/contracts/src/promptRegistry.ts (3:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/promptRegistry.ts
170
+ ╭─[ ../../libs/contracts/src/promptRegistry.ts:3:33 ]
171
171
  │
172
- 8 │ import { compareVersions } from 'compare-versions';
172
+ 3 │ import { compareVersions } from 'compare-versions';
173
173
   │ ─────────┬────────
174
174
   │ ╰────────── Module not found, treating it as an external dependency
175
175
   │
@@ -186,16 +186,6 @@ $ tsdown
186
186
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
187
187
  ────╯
188
188
 
189
- ../../libs/contracts/src/promptRegistry.ts (3:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/promptRegistry.ts
190
- ╭─[ ../../libs/contracts/src/promptRegistry.ts:3:33 ]
191
- │
192
- 3 │ import { compareVersions } from 'compare-versions';
193
-  │ ─────────┬────────
194
-  │ ╰────────── Module not found, treating it as an external dependency
195
-  │
196
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
197
- ───╯
198
-
199
189
  ../../libs/contracts/src/experiments/evaluator.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/experiments/evaluator.ts
200
190
  â•­─[ ../../libs/contracts/src/experiments/evaluator.ts:1:28 ]
201
191
  │
@@ -206,6 +196,16 @@ $ tsdown
206
196
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
207
197
  ───╯
208
198
 
199
+ ../../libs/contracts/src/openapi.ts (8:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/openapi.ts
200
+ ╭─[ ../../libs/contracts/src/openapi.ts:8:33 ]
201
+ │
202
+ 8 │ import { compareVersions } from 'compare-versions';
203
+  │ ─────────┬────────
204
+  │ ╰────────── Module not found, treating it as an external dependency
205
+  │
206
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
207
+ ───╯
208
+
209
209
  ../../libs/contracts/src/registry.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/registry.ts
210
210
  â•­─[ ../../libs/contracts/src/registry.ts:1:33 ]
211
211
  │
@@ -216,12 +216,32 @@ $ tsdown
216
216
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
217
217
  ───╯
218
218
 
219
- ../../libs/contracts/src/workflow/runner.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/workflow/runner.ts
220
- ╭─[ ../../libs/contracts/src/workflow/runner.ts:1:28 ]
219
+ ../../libs/contracts/src/telemetry/spec.ts (93:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/telemetry/spec.ts
220
+ ╭─[ ../../libs/contracts/src/telemetry/spec.ts:93:33 ]
221
+ │
222
+ 93 │ import { compareVersions } from 'compare-versions';
223
+  │ ─────────┬────────
224
+  │ ╰────────── Module not found, treating it as an external dependency
225
+  │
226
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
227
+ ────╯
228
+
229
+ ../../libs/contracts/src/telemetry/tracker.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/src/telemetry/tracker.ts
230
+ ╭─[ ../../libs/contracts/src/telemetry/tracker.ts:1:28 ]
221
231
  │
222
- 1 │ import { randomUUID } from 'node:crypto';
223
-  │ ──────┬──────
224
-  │ ╰──────── Module not found, treating it as an external dependency
232
+ 1 │ import { randomUUID } from 'crypto';
233
+  │ ────┬───
234
+  │ ╰───── Module not found, treating it as an external dependency
235
+  │
236
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
237
+ ───╯
238
+
239
+ ../../libs/contracts/src/tests/spec.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/tests/spec.ts
240
+ ╭─[ ../../libs/contracts/src/tests/spec.ts:1:33 ]
241
+ │
242
+ 1 │ import { compareVersions } from 'compare-versions';
243
+  │ ─────────┬────────
244
+  │ ╰────────── Module not found, treating it as an external dependency
225
245
   │
226
246
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
227
247
  ───╯
@@ -256,16 +276,6 @@ $ tsdown
256
276
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
257
277
  ───╯
258
278
 
259
- ../../libs/contracts/src/telemetry/spec.ts (93:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/telemetry/spec.ts
260
- ╭─[ ../../libs/contracts/src/telemetry/spec.ts:93:33 ]
261
- │
262
- 93 │ import { compareVersions } from 'compare-versions';
263
-  │ ─────────┬────────
264
-  │ ╰────────── Module not found, treating it as an external dependency
265
-  │
266
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
267
- ────╯
268
-
269
279
  ../../libs/contracts/src/tests/runner.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'assert' in ../../libs/contracts/src/tests/runner.ts
270
280
  â•­─[ ../../libs/contracts/src/tests/runner.ts:1:33 ]
271
281
  │
@@ -276,22 +286,22 @@ $ tsdown
276
286
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
277
287
  ───╯
278
288
 
279
- ../../libs/contracts/src/tests/spec.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/tests/spec.ts
280
- ╭─[ ../../libs/contracts/src/tests/spec.ts:1:33 ]
289
+ ../../libs/contracts/src/workflow/runner.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/workflow/runner.ts
290
+ ╭─[ ../../libs/contracts/src/workflow/runner.ts:1:28 ]
281
291
  │
282
- 1 │ import { compareVersions } from 'compare-versions';
283
-  │ ─────────┬────────
284
-  │ ╰────────── Module not found, treating it as an external dependency
292
+ 1 │ import { randomUUID } from 'node:crypto';
293
+  │ ──────┬──────
294
+  │ ╰──────── Module not found, treating it as an external dependency
285
295
   │
286
296
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
287
297
  ───╯
288
298
 
289
- ../../libs/contracts/src/telemetry/tracker.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/src/telemetry/tracker.ts
290
- ╭─[ ../../libs/contracts/src/telemetry/tracker.ts:1:28 ]
299
+ ../../libs/contracts/src/integrations/secrets/provider.ts (1:23) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:buffer' in ../../libs/contracts/src/integrations/secrets/provider.ts
300
+ ╭─[ ../../libs/contracts/src/integrations/secrets/provider.ts:1:24 ]
291
301
  │
292
- 1 │ import { randomUUID } from 'crypto';
293
-  │ ────┬───
294
-  │ ╰───── Module not found, treating it as an external dependency
302
+ 1 │ import { Buffer } from 'node:buffer';
303
+  │ ──────┬──────
304
+  │ ╰──────── Module not found, treating it as an external dependency
295
305
   │
296
306
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
297
307
  ───╯
@@ -306,14 +316,4 @@ $ tsdown
306
316
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
307
317
  ───╯
308
318
 
309
- ../../libs/contracts/src/integrations/secrets/provider.ts (1:23) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:buffer' in ../../libs/contracts/src/integrations/secrets/provider.ts
310
- ╭─[ ../../libs/contracts/src/integrations/secrets/provider.ts:1:24 ]
311
- │
312
- 1 │ import { Buffer } from 'node:buffer';
313
-  │ ──────┬──────
314
-  │ ╰──────── Module not found, treating it as an external dependency
315
-  │
316
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
317
- ───╯
318
-
319
- ✔ Build complete in 27582ms
319
+ ✔ Build complete in 31951ms
@@ -168,6 +168,16 @@ $ tsdown
168
168
  ℹ dist/libs/contracts/src/resources.d.ts 0.01 kB │ gzip: 0.03 kB
169
169
  ℹ dist/libs/contracts/src/workspace-config/contractsrc-schema.d.ts 0.01 kB │ gzip: 0.03 kB
170
170
  ℹ 159 files, total: 54.50 kB
171
+ ../../libs/contracts/src/openapi.ts (8:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/openapi.ts
172
+ ╭─[ ../../libs/contracts/src/openapi.ts:8:33 ]
173
+ │
174
+ 8 │ import { compareVersions } from 'compare-versions';
175
+  │ ─────────┬────────
176
+  │ ╰────────── Module not found, treating it as an external dependency
177
+  │
178
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
179
+ ───╯
180
+
171
181
  ../../libs/contracts/src/migrations.ts (57:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/migrations.ts
172
182
  â•­─[ ../../libs/contracts/src/migrations.ts:57:33 ]
173
183
  │
@@ -178,16 +188,6 @@ $ tsdown
178
188
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
179
189
  ────╯
180
190
 
181
- ../../libs/contracts/src/promptRegistry.ts (3:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/promptRegistry.ts
182
- ╭─[ ../../libs/contracts/src/promptRegistry.ts:3:33 ]
183
- │
184
- 3 │ import { compareVersions } from 'compare-versions';
185
-  │ ─────────┬────────
186
-  │ ╰────────── Module not found, treating it as an external dependency
187
-  │
188
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
189
- ───╯
190
-
191
191
  ../../libs/contracts/src/experiments/evaluator.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/experiments/evaluator.ts
192
192
  â•­─[ ../../libs/contracts/src/experiments/evaluator.ts:1:28 ]
193
193
  │
@@ -198,10 +198,20 @@ $ tsdown
198
198
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
199
199
  ───╯
200
200
 
201
- ../../libs/contracts/src/openapi.ts (8:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/openapi.ts
202
- ╭─[ ../../libs/contracts/src/openapi.ts:8:33 ]
201
+ ../../libs/contracts/src/promptRegistry.ts (3:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/promptRegistry.ts
202
+ ╭─[ ../../libs/contracts/src/promptRegistry.ts:3:33 ]
203
203
  │
204
- 8 │ import { compareVersions } from 'compare-versions';
204
+ 3 │ import { compareVersions } from 'compare-versions';
205
+  │ ─────────┬────────
206
+  │ ╰────────── Module not found, treating it as an external dependency
207
+  │
208
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
209
+ ───╯
210
+
211
+ ../../libs/contracts/src/capabilities/capabilities.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/capabilities/capabilities.ts
212
+ ╭─[ ../../libs/contracts/src/capabilities/capabilities.ts:1:33 ]
213
+ │
214
+ 1 │ import { compareVersions } from 'compare-versions';
205
215
   │ ─────────┬────────
206
216
   │ ╰────────── Module not found, treating it as an external dependency
207
217
   │
@@ -228,32 +238,12 @@ $ tsdown
228
238
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
229
239
  ─────╯
230
240
 
231
- ../../libs/contracts/src/capabilities/capabilities.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/capabilities/capabilities.ts
232
- ╭─[ ../../libs/contracts/src/capabilities/capabilities.ts:1:33 ]
233
- │
234
- 1 │ import { compareVersions } from 'compare-versions';
235
-  │ ─────────┬────────
236
-  │ ╰────────── Module not found, treating it as an external dependency
237
-  │
238
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
239
- ───╯
240
-
241
- ../../libs/contracts/src/tests/spec.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/tests/spec.ts
242
- ╭─[ ../../libs/contracts/src/tests/spec.ts:1:33 ]
243
- │
244
- 1 │ import { compareVersions } from 'compare-versions';
245
-  │ ─────────┬────────
246
-  │ ╰────────── Module not found, treating it as an external dependency
247
-  │
248
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
249
- ───╯
250
-
251
- ../../libs/contracts/src/telemetry/tracker.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/src/telemetry/tracker.ts
252
- ╭─[ ../../libs/contracts/src/telemetry/tracker.ts:1:28 ]
241
+ ../../libs/contracts/src/workflow/runner.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/workflow/runner.ts
242
+ ╭─[ ../../libs/contracts/src/workflow/runner.ts:1:28 ]
253
243
  │
254
- 1 │ import { randomUUID } from 'crypto';
255
-  │ ────┬───
256
-  │ ╰───── Module not found, treating it as an external dependency
244
+ 1 │ import { randomUUID } from 'node:crypto';
245
+  │ ──────┬──────
246
+  │ ╰──────── Module not found, treating it as an external dependency
257
247
   │
258
248
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
259
249
  ───╯
@@ -268,12 +258,12 @@ $ tsdown
268
258
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
269
259
  ───╯
270
260
 
271
- ../../libs/contracts/src/workflow/runner.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/workflow/runner.ts
272
- ╭─[ ../../libs/contracts/src/workflow/runner.ts:1:28 ]
261
+ ../../libs/contracts/src/presentations/transform-engine.ts (4:28) [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/src/presentations/transform-engine.ts
262
+ ╭─[ ../../libs/contracts/src/presentations/transform-engine.ts:4:29 ]
273
263
  │
274
- 1 │ import { randomUUID } from 'node:crypto';
275
-  │ ──────┬──────
276
-  │ ╰──────── Module not found, treating it as an external dependency
264
+ 4 │ import TurndownService from 'turndown';
265
+  │ ─────┬────
266
+  │ ╰────── Module not found, treating it as an external dependency
277
267
   │
278
268
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
279
269
  ───╯
@@ -288,12 +278,22 @@ $ tsdown
288
278
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
289
279
  ────╯
290
280
 
291
- ../../libs/contracts/src/presentations/transform-engine.ts (4:28) [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/src/presentations/transform-engine.ts
292
- ╭─[ ../../libs/contracts/src/presentations/transform-engine.ts:4:29 ]
281
+ ../../libs/contracts/src/telemetry/tracker.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/src/telemetry/tracker.ts
282
+ ╭─[ ../../libs/contracts/src/telemetry/tracker.ts:1:28 ]
293
283
  │
294
- 4 │ import TurndownService from 'turndown';
295
-  │ ─────┬────
296
-  │ ╰────── Module not found, treating it as an external dependency
284
+ 1 │ import { randomUUID } from 'crypto';
285
+  │ ────┬───
286
+  │ ╰───── Module not found, treating it as an external dependency
287
+  │
288
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
289
+ ───╯
290
+
291
+ ../../libs/contracts/src/tests/spec.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/tests/spec.ts
292
+ ╭─[ ../../libs/contracts/src/tests/spec.ts:1:33 ]
293
+ │
294
+ 1 │ import { compareVersions } from 'compare-versions';
295
+  │ ─────────┬────────
296
+  │ ╰────────── Module not found, treating it as an external dependency
297
297
   │
298
298
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
299
299
  ───╯
@@ -318,4 +318,4 @@ $ tsdown
318
318
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
319
319
  ───╯
320
320
 
321
- ✔ Build complete in 34761ms
321
+ ✔ Build complete in 30000ms
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @contractspec/example.personalization
2
2
 
3
- ## 0.0.0-canary-20260113173657
3
+ ## 0.0.0-canary-20260114030712
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -19,11 +19,11 @@
19
19
  - Updated dependencies [c231a8b]
20
20
  - Updated dependencies [42b8d78]
21
21
  - Updated dependencies [fd38e85]
22
- - @contractspec/lib.workflow-composer@0.0.0-canary-20260113173657
23
- - @contractspec/lib.personalization@0.0.0-canary-20260113173657
24
- - @contractspec/lib.overlay-engine@0.0.0-canary-20260113173657
25
- - @contractspec/lib.contracts@0.0.0-canary-20260113173657
26
- - @contractspec/lib.logger@0.0.0-canary-20260113173657
22
+ - @contractspec/lib.workflow-composer@0.0.0-canary-20260114030712
23
+ - @contractspec/lib.personalization@0.0.0-canary-20260114030712
24
+ - @contractspec/lib.overlay-engine@0.0.0-canary-20260114030712
25
+ - @contractspec/lib.contracts@0.0.0-canary-20260114030712
26
+ - @contractspec/lib.logger@0.0.0-canary-20260114030712
27
27
 
28
28
  ## 1.46.2
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.personalization",
3
- "version": "0.0.0-canary-20260113173657",
3
+ "version": "0.0.0-canary-20260114030712",
4
4
  "description": "Personalization examples: behavior tracking, overlay customization, workflow extension.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -28,15 +28,15 @@
28
28
  "test": "bun test"
29
29
  },
30
30
  "dependencies": {
31
- "@contractspec/lib.personalization": "0.0.0-canary-20260113173657",
32
- "@contractspec/lib.overlay-engine": "0.0.0-canary-20260113173657",
33
- "@contractspec/lib.workflow-composer": "0.0.0-canary-20260113173657",
34
- "@contractspec/lib.contracts": "0.0.0-canary-20260113173657",
35
- "@contractspec/lib.logger": "0.0.0-canary-20260113173657"
31
+ "@contractspec/lib.personalization": "0.0.0-canary-20260114030712",
32
+ "@contractspec/lib.overlay-engine": "0.0.0-canary-20260114030712",
33
+ "@contractspec/lib.workflow-composer": "0.0.0-canary-20260114030712",
34
+ "@contractspec/lib.contracts": "0.0.0-canary-20260114030712",
35
+ "@contractspec/lib.logger": "0.0.0-canary-20260114030712"
36
36
  },
37
37
  "devDependencies": {
38
- "@contractspec/tool.tsdown": "0.0.0-canary-20260113173657",
39
- "@contractspec/tool.typescript": "0.0.0-canary-20260113173657",
38
+ "@contractspec/tool.tsdown": "0.0.0-canary-20260114030712",
39
+ "@contractspec/tool.typescript": "0.0.0-canary-20260114030712",
40
40
  "tsdown": "^0.19.0",
41
41
  "typescript": "^5.9.3"
42
42
  },