@contractspec/example.personalization 1.46.2 → 1.48.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.
@@ -1,23 +1,23 @@
1
1
  $ tsdown
2
- ℹ tsdown v0.18.4 powered by rolldown v1.0.0-beta.57
2
+ ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
3
3
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/personalization/tsdown.config.js
4
4
  ℹ entry: src/behavior-tracking.ts, src/example.ts, src/index.ts, src/overlay-customization.ts, src/workflow-extension.ts, src/docs/index.ts, src/docs/personalization.docblock.ts
5
5
  ℹ target: esnext
6
6
  ℹ tsconfig: tsconfig.json
7
7
  ℹ Build start
8
- ℹ Cleaning 150 files
8
+ ℹ Cleaning 191 files
9
9
  ℹ dist/workflow-extension.js 1.67 kB │ gzip: 0.71 kB
10
10
  ℹ dist/overlay-customization.js 1.57 kB │ gzip: 0.68 kB
11
11
  ℹ dist/docs/personalization.docblock.js 1.48 kB │ gzip: 0.70 kB
12
12
  ℹ dist/behavior-tracking.js 1.43 kB │ gzip: 0.62 kB
13
- ℹ dist/example.js 0.95 kB │ gzip: 0.49 kB
13
+ ℹ dist/example.js 1.03 kB │ gzip: 0.53 kB
14
14
  ℹ dist/index.js 0.47 kB │ gzip: 0.20 kB
15
15
  ℹ dist/docs/index.js 0.04 kB │ gzip: 0.06 kB
16
- ℹ dist/workflow-extension.js.map 2.83 kB │ gzip: 1.16 kB
16
+ ℹ dist/workflow-extension.js.map 2.80 kB │ gzip: 1.16 kB
17
17
  ℹ dist/overlay-customization.js.map 2.55 kB │ gzip: 1.08 kB
18
18
  ℹ dist/behavior-tracking.js.map 2.23 kB │ gzip: 0.94 kB
19
19
  ℹ dist/docs/personalization.docblock.js.map 1.98 kB │ gzip: 0.89 kB
20
- ℹ dist/example.js.map 1.48 kB │ gzip: 0.71 kB
20
+ ℹ dist/example.js.map 1.47 kB │ gzip: 0.72 kB
21
21
  ℹ dist/libs/contracts/src/app-config/spec.d.ts.map 0.95 kB │ gzip: 0.47 kB
22
22
  ℹ dist/libs/contracts/src/workflow/spec.d.ts.map 0.86 kB │ gzip: 0.47 kB
23
23
  ℹ dist/libs/contracts/src/ownership.d.ts.map 0.61 kB │ gzip: 0.34 kB
@@ -102,6 +102,7 @@ $ tsdown
102
102
  ℹ dist/libs/contracts/src/workflow/validation.d.ts 0.06 kB │ gzip: 0.07 kB
103
103
  ℹ dist/libs/contracts/src/llm/prompts.d.ts 0.05 kB │ gzip: 0.06 kB
104
104
  ℹ dist/libs/contracts/src/knowledge/index.d.ts 0.05 kB │ gzip: 0.06 kB
105
+ ℹ dist/libs/contracts/src/examples/registry.d.ts 0.04 kB │ gzip: 0.06 kB
105
106
  ℹ dist/libs/contracts/src/jsonschema.d.ts 0.04 kB │ gzip: 0.06 kB
106
107
  ℹ dist/libs/contracts/src/policy/engine.d.ts 0.04 kB │ gzip: 0.06 kB
107
108
  ℹ dist/libs/contracts/src/data-views/registry.d.ts 0.04 kB │ gzip: 0.05 kB
@@ -110,17 +111,27 @@ $ tsdown
110
111
  ℹ dist/libs/contracts/src/client/react/form-render.d.ts 0.04 kB │ gzip: 0.05 kB
111
112
  ℹ dist/libs/contracts/src/policy/opa-adapter.d.ts 0.04 kB │ gzip: 0.05 kB
112
113
  ℹ dist/libs/contracts/src/tests/runner.d.ts 0.04 kB │ gzip: 0.05 kB
114
+ ℹ dist/libs/contracts/src/integrations/providers/elevenlabs.d.ts 0.04 kB │ gzip: 0.05 kB
115
+ ℹ dist/libs/contracts/src/integrations/providers/gcs-storage.d.ts 0.04 kB │ gzip: 0.05 kB
116
+ ℹ dist/libs/contracts/src/integrations/providers/gmail.d.ts 0.04 kB │ gzip: 0.05 kB
117
+ ℹ dist/libs/contracts/src/integrations/providers/google-calendar.d.ts 0.04 kB │ gzip: 0.05 kB
118
+ ℹ dist/libs/contracts/src/integrations/providers/mistral.d.ts 0.04 kB │ gzip: 0.05 kB
119
+ ℹ dist/libs/contracts/src/integrations/providers/postmark.d.ts 0.04 kB │ gzip: 0.05 kB
120
+ ℹ dist/libs/contracts/src/integrations/providers/powens.d.ts 0.04 kB │ gzip: 0.05 kB
121
+ ℹ dist/libs/contracts/src/integrations/providers/qdrant.d.ts 0.04 kB │ gzip: 0.05 kB
122
+ ℹ dist/libs/contracts/src/integrations/providers/stripe.d.ts 0.04 kB │ gzip: 0.05 kB
123
+ ℹ dist/libs/contracts/src/integrations/providers/twilio-sms.d.ts 0.04 kB │ gzip: 0.05 kB
113
124
  ℹ dist/libs/contracts/src/integrations/openbanking/guards.d.ts 0.04 kB │ gzip: 0.06 kB
114
125
  ℹ dist/libs/contracts/src/promptRegistry.d.ts 0.04 kB │ gzip: 0.05 kB
115
126
  ℹ dist/libs/contracts/src/examples/schema.d.ts 0.03 kB │ gzip: 0.05 kB
116
127
  ℹ dist/libs/contracts/src/openapi.d.ts 0.03 kB │ gzip: 0.05 kB
117
128
  ℹ dist/libs/contracts/src/server/provider-mcp.d.ts 0.03 kB │ gzip: 0.05 kB
118
- ℹ dist/libs/contracts/src/integrations/openbanking/openbanking.feature.d.ts 0.03 kB │ gzip: 0.05 kB
119
129
  ℹ dist/libs/contracts/src/workspace-config/index.d.ts 0.03 kB │ gzip: 0.05 kB
120
130
  ℹ dist/libs/contracts/src/data-views/types.d.ts 0.03 kB │ gzip: 0.05 kB
121
131
  ℹ dist/libs/contracts/src/client/react/drivers/rn-reusables.d.ts 0.03 kB │ gzip: 0.05 kB
122
132
  ℹ dist/libs/contracts/src/client/react/drivers/shadcn.d.ts 0.03 kB │ gzip: 0.05 kB
123
133
  ℹ dist/libs/contracts/src/client/index.d.ts 0.03 kB │ gzip: 0.05 kB
134
+ ℹ dist/libs/contracts/src/integrations/openbanking/openbanking.feature.d.ts 0.02 kB │ gzip: 0.04 kB
124
135
  ℹ dist/libs/contracts/src/knowledge/spec.d.ts 0.02 kB │ gzip: 0.04 kB
125
136
  ℹ dist/libs/contracts/src/policy/registry.d.ts 0.02 kB │ gzip: 0.04 kB
126
137
  ℹ dist/libs/contracts/src/presentations/registry.d.ts 0.02 kB │ gzip: 0.04 kB
@@ -131,21 +142,10 @@ $ tsdown
131
142
  ℹ dist/libs/contracts/src/workflow/adapters/file-adapter.d.ts 0.02 kB │ gzip: 0.04 kB
132
143
  ℹ dist/libs/contracts/src/workflow/adapters/memory-store.d.ts 0.02 kB │ gzip: 0.04 kB
133
144
  ℹ dist/libs/contracts/src/data-views/spec.d.ts 0.02 kB │ gzip: 0.04 kB
134
- ℹ dist/libs/contracts/src/examples/registry.d.ts 0.02 kB │ gzip: 0.04 kB
135
145
  ℹ dist/libs/contracts/src/examples/validation.d.ts 0.02 kB │ gzip: 0.04 kB
136
146
  ℹ dist/libs/contracts/src/features/registry.d.ts 0.02 kB │ gzip: 0.04 kB
137
147
  ℹ dist/libs/contracts/src/features/validation.d.ts 0.02 kB │ gzip: 0.04 kB
138
- ℹ dist/libs/contracts/src/integrations/providers/elevenlabs.d.ts 0.02 kB │ gzip: 0.04 kB
139
- ℹ dist/libs/contracts/src/integrations/providers/gcs-storage.d.ts 0.02 kB │ gzip: 0.04 kB
140
- ℹ dist/libs/contracts/src/integrations/providers/gmail.d.ts 0.02 kB │ gzip: 0.04 kB
141
- ℹ dist/libs/contracts/src/integrations/providers/google-calendar.d.ts 0.02 kB │ gzip: 0.04 kB
142
- ℹ dist/libs/contracts/src/integrations/providers/mistral.d.ts 0.02 kB │ gzip: 0.04 kB
143
- ℹ dist/libs/contracts/src/integrations/providers/postmark.d.ts 0.02 kB │ gzip: 0.04 kB
144
- ℹ dist/libs/contracts/src/integrations/providers/powens.d.ts 0.02 kB │ gzip: 0.04 kB
145
- ℹ dist/libs/contracts/src/integrations/providers/qdrant.d.ts 0.02 kB │ gzip: 0.04 kB
146
148
  ℹ dist/libs/contracts/src/integrations/providers/registry.d.ts 0.02 kB │ gzip: 0.04 kB
147
- ℹ dist/libs/contracts/src/integrations/providers/stripe.d.ts 0.02 kB │ gzip: 0.04 kB
148
- ℹ dist/libs/contracts/src/integrations/providers/twilio-sms.d.ts 0.02 kB │ gzip: 0.04 kB
149
149
  ℹ dist/libs/contracts/src/knowledge/spaces/email-threads.d.ts 0.02 kB │ gzip: 0.04 kB
150
150
  ℹ dist/libs/contracts/src/knowledge/spaces/financial-docs.d.ts 0.02 kB │ gzip: 0.04 kB
151
151
  ℹ dist/libs/contracts/src/knowledge/spaces/financial-overview.d.ts 0.02 kB │ gzip: 0.04 kB
@@ -165,7 +165,7 @@ $ tsdown
165
165
  ℹ dist/libs/contracts/src/prompt.d.ts 0.01 kB │ gzip: 0.03 kB
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
- ℹ 159 files, total: 54.23 kB
168
+ ℹ 159 files, total: 54.50 kB
169
169
  ../../libs/contracts/src/registry.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/registry.ts
170
170
  â•­─[ ../../libs/contracts/src/registry.ts:1:33 ]
171
171
  │
@@ -176,12 +176,12 @@ $ tsdown
176
176
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
177
177
  ───╯
178
178
 
179
- ../../libs/contracts/src/experiments/evaluator.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/experiments/evaluator.ts
180
- ╭─[ ../../libs/contracts/src/experiments/evaluator.ts:1:28 ]
179
+ ../../libs/contracts/src/promptRegistry.ts (3:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/promptRegistry.ts
180
+ ╭─[ ../../libs/contracts/src/promptRegistry.ts:3:33 ]
181
181
  │
182
- 1 │ import { createHash } from 'node:crypto';
183
-  │ ──────┬──────
184
-  │ ╰──────── Module not found, treating it as an external dependency
182
+ 3 │ import { compareVersions } from 'compare-versions';
183
+  │ ─────────┬────────
184
+  │ ╰────────── Module not found, treating it as an external dependency
185
185
   │
186
186
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
187
187
  ───╯
@@ -196,66 +196,66 @@ $ tsdown
196
196
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
197
197
  ────╯
198
198
 
199
- ../../libs/contracts/src/promptRegistry.ts (3:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/promptRegistry.ts
200
- ╭─[ ../../libs/contracts/src/promptRegistry.ts:3:33 ]
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
201
  │
202
- 3 │ import { compareVersions } from 'compare-versions';
202
+ 8 │ import { compareVersions } from 'compare-versions';
203
203
   │ ─────────┬────────
204
204
   │ ╰────────── Module not found, treating it as an external dependency
205
205
   │
206
206
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
207
207
  ───╯
208
208
 
209
- ../../libs/contracts/src/openapi.ts (8:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/openapi.ts
210
- ╭─[ ../../libs/contracts/src/openapi.ts:8:33 ]
209
+ ../../libs/contracts/src/experiments/evaluator.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/experiments/evaluator.ts
210
+ ╭─[ ../../libs/contracts/src/experiments/evaluator.ts:1:28 ]
211
211
  │
212
- 8 │ import { compareVersions } from 'compare-versions';
213
-  │ ─────────┬────────
214
-  │ ╰────────── Module not found, treating it as an external dependency
212
+ 1 │ import { createHash } from 'node:crypto';
213
+  │ ──────┬──────
214
+  │ ╰──────── Module not found, treating it as an external dependency
215
215
   │
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/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 ]
219
+ ../../libs/contracts/src/capabilities/capabilities.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/capabilities/capabilities.ts
220
+ ╭─[ ../../libs/contracts/src/capabilities/capabilities.ts:1:33 ]
231
221
  │
232
- 1 │ import { randomUUID } from 'crypto';
233
-  │ ────┬───
234
-  │ ╰───── Module not found, treating it as an external dependency
222
+ 1 │ import { compareVersions } from 'compare-versions';
223
+  │ ─────────┬────────
224
+  │ ╰────────── Module not found, treating it as an external dependency
235
225
   │
236
226
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
237
227
  ───╯
238
228
 
239
- ../../libs/contracts/src/presentations/transform-engine.ts (4:28) [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/src/presentations/transform-engine.ts
240
- ╭─[ ../../libs/contracts/src/presentations/transform-engine.ts:4:29 ]
229
+ ../../libs/contracts/src/tests/runner.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'assert' in ../../libs/contracts/src/tests/runner.ts
230
+ ╭─[ ../../libs/contracts/src/tests/runner.ts:1:33 ]
241
231
  │
242
- 4 │ import TurndownService from 'turndown';
243
-  │ ─────┬────
244
-  │ ╰────── Module not found, treating it as an external dependency
232
+ 1 │ import { deepStrictEqual } from 'assert';
233
+  │ ────┬───
234
+  │ ╰───── Module not found, treating it as an external dependency
245
235
   │
246
236
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
247
237
  ───╯
248
238
 
249
- ../../libs/contracts/src/capabilities/capabilities.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/capabilities/capabilities.ts
250
- ╭─[ ../../libs/contracts/src/capabilities/capabilities.ts:1:33 ]
239
+ ../../libs/contracts/src/workflow/runner.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/workflow/runner.ts
240
+ ╭─[ ../../libs/contracts/src/workflow/runner.ts:1:28 ]
251
241
  │
252
- 1 │ import { compareVersions } from 'compare-versions';
253
-  │ ─────────┬────────
254
-  │ ╰────────── Module not found, treating it as an external dependency
242
+ 1 │ import { randomUUID } from 'node:crypto';
243
+  │ ──────┬──────
244
+  │ ╰──────── Module not found, treating it as an external dependency
255
245
   │
256
246
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
257
247
  ───╯
258
248
 
249
+ ../../libs/contracts/src/telemetry/spec.ts (93:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/telemetry/spec.ts
250
+ ╭─[ ../../libs/contracts/src/telemetry/spec.ts:93:33 ]
251
+ │
252
+ 93 │ import { compareVersions } from 'compare-versions';
253
+  │ ─────────┬────────
254
+  │ ╰────────── Module not found, treating it as an external dependency
255
+  │
256
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
257
+ ────╯
258
+
259
259
  ../../libs/contracts/src/forms/forms.ts (202:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/forms/forms.ts
260
260
  â•­─[ ../../libs/contracts/src/forms/forms.ts:202:33 ]
261
261
  │
@@ -266,22 +266,22 @@ $ tsdown
266
266
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
267
267
  ─────╯
268
268
 
269
- ../../libs/contracts/src/tests/runner.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'assert' in ../../libs/contracts/src/tests/runner.ts
270
- ╭─[ ../../libs/contracts/src/tests/runner.ts:1:33 ]
269
+ ../../libs/contracts/src/telemetry/tracker.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/src/telemetry/tracker.ts
270
+ ╭─[ ../../libs/contracts/src/telemetry/tracker.ts:1:28 ]
271
271
  │
272
- 1 │ import { deepStrictEqual } from 'assert';
273
-  │ ────┬───
274
-  │ ╰───── Module not found, treating it as an external dependency
272
+ 1 │ import { randomUUID } from 'crypto';
273
+  │ ────┬───
274
+  │ ╰───── Module not found, treating it as an external dependency
275
275
   │
276
276
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
277
277
  ───╯
278
278
 
279
- ../../libs/contracts/src/examples/registry.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/examples/registry.ts
280
- ╭─[ ../../libs/contracts/src/examples/registry.ts:1:33 ]
279
+ ../../libs/contracts/src/presentations/transform-engine.ts (4:28) [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/src/presentations/transform-engine.ts
280
+ ╭─[ ../../libs/contracts/src/presentations/transform-engine.ts:4:29 ]
281
281
  │
282
- 1 │ import { compareVersions } from 'compare-versions';
283
-  │ ─────────┬────────
284
-  │ ╰────────── Module not found, treating it as an external dependency
282
+ 4 │ import TurndownService from 'turndown';
283
+  │ ─────┬────
284
+  │ ╰────── Module not found, treating it as an external dependency
285
285
   │
286
286
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
287
287
  ───╯
@@ -296,16 +296,6 @@ $ tsdown
296
296
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
297
297
  ───╯
298
298
 
299
- ../../libs/contracts/src/workflow/runner.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/workflow/runner.ts
300
- ╭─[ ../../libs/contracts/src/workflow/runner.ts:1:28 ]
301
- │
302
- 1 │ import { randomUUID } from 'node:crypto';
303
-  │ ──────┬──────
304
-  │ ╰──────── Module not found, treating it as an external dependency
305
-  │
306
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
307
- ───╯
308
-
309
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
310
300
  â•­─[ ../../libs/contracts/src/integrations/secrets/provider.ts:1:24 ]
311
301
  │
@@ -326,4 +316,4 @@ $ tsdown
326
316
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
327
317
  ───╯
328
318
 
329
- ✔ Build complete in 22874ms
319
+ ✔ Build complete in 27622ms