@kya-os/create-mcpi-app 1.8.43 → 1.8.46
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/.eslintrc.cjs +10 -0
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +4 -0
- package/.turbo/turbo-test$colon$coverage.log +605 -934
- package/.turbo/turbo-test.log +217 -222
- package/dist/helpers/create.d.ts.map +1 -1
- package/dist/helpers/create.js +0 -35
- package/dist/helpers/create.js.map +1 -1
- package/dist/helpers/fetch-cloudflare-mcpi-template.js +3 -3
- package/dist/helpers/fetch-cloudflare-mcpi-template.js.map +1 -1
- package/dist/helpers/fetch-cloudflare-template.d.ts.map +1 -1
- package/dist/helpers/fetch-cloudflare-template.js +0 -3
- package/dist/helpers/fetch-cloudflare-template.js.map +1 -1
- package/dist/helpers/generate-cloudflare-files.d.ts +87 -0
- package/dist/helpers/generate-cloudflare-files.d.ts.map +1 -0
- package/dist/helpers/generate-cloudflare-files.js +800 -0
- package/dist/helpers/generate-cloudflare-files.js.map +1 -0
- package/dist/helpers/index.d.ts +14 -0
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/helpers/index.js +18 -0
- package/dist/helpers/index.js.map +1 -0
- package/dist/helpers/install.d.ts +1 -1
- package/dist/helpers/install.d.ts.map +1 -1
- package/dist/helpers/install.js +1 -1
- package/dist/helpers/install.js.map +1 -1
- package/package.json +22 -5
|
@@ -1,934 +1,605 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
[
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
[2m
|
|
15
|
-
[
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
[2m
|
|
25
|
-
[
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
[
|
|
29
|
-
[22m[
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
[
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
[
|
|
41
|
-
[
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
[
|
|
45
|
-
[
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
[
|
|
50
|
-
[
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
[
|
|
55
|
-
|
|
56
|
-
[2m
|
|
57
|
-
[
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
[
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
[
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
[90mstdout[2m | src/__tests__/scaffolder-
|
|
197
|
-
[22m[39m
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
[22m[
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
[
|
|
298
|
-
[
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
[
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
[
|
|
305
|
-
[2m
|
|
306
|
-
[
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
[
|
|
313
|
-
[
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
[22m[
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
[90mstdout[2m | src/__tests__/
|
|
372
|
-
[22m[39m
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
[
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
[
|
|
402
|
-
[
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
[2m
|
|
406
|
-
[2m
|
|
407
|
-
[
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
[
|
|
416
|
-
[
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
[
|
|
420
|
-
[
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
[
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
[
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
[
|
|
446
|
-
[
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
[
|
|
452
|
-
[
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
[2m
|
|
457
|
-
[
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
[
|
|
470
|
-
[
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
[
|
|
499
|
-
[
|
|
500
|
-
[
|
|
501
|
-
|
|
502
|
-
[2m
|
|
503
|
-
[
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
[
|
|
507
|
-
[22m[
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
[
|
|
511
|
-
[
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
[
|
|
540
|
-
[
|
|
541
|
-
[
|
|
542
|
-
[
|
|
543
|
-
[
|
|
544
|
-
[
|
|
545
|
-
[
|
|
546
|
-
|
|
547
|
-
[
|
|
548
|
-
|
|
549
|
-
[2m
|
|
550
|
-
[2m
|
|
551
|
-
[
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
[
|
|
556
|
-
[
|
|
557
|
-
[
|
|
558
|
-
[
|
|
559
|
-
[
|
|
560
|
-
[
|
|
561
|
-
[
|
|
562
|
-
[
|
|
563
|
-
[
|
|
564
|
-
[
|
|
565
|
-
[
|
|
566
|
-
[
|
|
567
|
-
[
|
|
568
|
-
|
|
569
|
-
[
|
|
570
|
-
[
|
|
571
|
-
[
|
|
572
|
-
[
|
|
573
|
-
[
|
|
574
|
-
[
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
[
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould set AGENTSHIELD_PROJECT_ID when --project is provided
|
|
608
|
-
[22m[39m🔑 Generating cryptographic identity...
|
|
609
|
-
|
|
610
|
-
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould set AGENTSHIELD_PROJECT_ID when --project is provided
|
|
611
|
-
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
612
|
-
- Generated identity keys in .dev.vars
|
|
613
|
-
- Configured wrangler.toml with KV namespaces
|
|
614
|
-
- Created modular tool structure
|
|
615
|
-
- Created setup script for KV namespace creation
|
|
616
|
-
|
|
617
|
-
============================================================
|
|
618
|
-
🎉 Cloudflare MCP-I project created successfully!
|
|
619
|
-
============================================================
|
|
620
|
-
|
|
621
|
-
📝 Important Configuration Notes:
|
|
622
|
-
|
|
623
|
-
1. ADMIN_API_KEY (in .dev.vars):
|
|
624
|
-
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
625
|
-
- You can change it if you need separate admin endpoint security
|
|
626
|
-
- Required for admin endpoints like /admin/clear-cache
|
|
627
|
-
|
|
628
|
-
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
629
|
-
- Required for MCP-I security features
|
|
630
|
-
- ✨ Automatically created on first deploy - no setup needed!
|
|
631
|
-
- Wrangler updates wrangler.toml with namespace IDs
|
|
632
|
-
|
|
633
|
-
🚀 Next Steps:
|
|
634
|
-
cd test-project-with-id
|
|
635
|
-
wrangler login # Login to Cloudflare first!
|
|
636
|
-
npm run dev # Start local development
|
|
637
|
-
npm run deploy # Deploy (KV auto-created!)
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
[1m[33m ❯ [39m[22msrc/__tests__/cli-runner.test.ts[2m 4/4[22m
|
|
642
|
-
[1m[33m ❯ [39m[22msrc/__tests__/cloudflare-template.test.ts[2m 7/30[22m
|
|
643
|
-
[1m[33m ❯ [39m[22msrc/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m 1/7[22m
|
|
644
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/copy-template.test.ts[2m 11/11[22m
|
|
645
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/create.test.ts[2m 0/13[22m
|
|
646
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts[2m 1/21[22m
|
|
647
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/fetch-mcpi-template.test.ts[2m 12/16[22m
|
|
648
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/generate-config.test.ts[2m 0/25[22m
|
|
649
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/install.test.ts[2m 0/21[22m
|
|
650
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/validate-project-structure.test.ts[2m 1/23[22m
|
|
651
|
-
[1m[33m ❯ [39m[22msrc/__tests__/scaffolder-envprefix.test.ts[2m 4/4[22m
|
|
652
|
-
[1m[33m ❯ [39m[22msrc/__tests__/wrangler-v4-compatibility.test.ts[2m 3/11[22m
|
|
653
|
-
[1m[33m ❯ [39m[22mtest-cloudflare/tests/do-routing.test.ts[2m 14/14[22m
|
|
654
|
-
|
|
655
|
-
[2m Test Files [22m[1m[32m4 passed[39m[22m[90m (29)[39m
|
|
656
|
-
[2m Tests [22m[1m[32m58 passed[39m[22m[90m (200)[39m
|
|
657
|
-
[2m Start at [22m17:28:57
|
|
658
|
-
[2m Duration [22m619ms
|
|
659
|
-
[?2026l[?2026h[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould log error message when installation fails
|
|
660
|
-
[22m[39m
|
|
661
|
-
📦 Installing dependencies with npm...
|
|
662
|
-
|
|
663
|
-
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle invalid package manager gracefully
|
|
664
|
-
[22m[39m
|
|
665
|
-
📦 Installing dependencies with unknown...
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
[1m[33m ❯ [39m[22msrc/__tests__/cloudflare-template.test.ts[2m 11/30[22m
|
|
669
|
-
[1m[33m ❯ [39m[22msrc/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m 7/7[22m
|
|
670
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/create.test.ts[2m 13/13[22m
|
|
671
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts[2m 8/21[22m
|
|
672
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/fetch-mcpi-template.test.ts[2m 16/16[22m
|
|
673
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/generate-config.test.ts[2m 25/25[22m
|
|
674
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/generate-identity.test.ts[2m 0/24[22m
|
|
675
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/get-package-versions.test.ts[2m [queued][22m
|
|
676
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/identity-manager.test.ts[2m [queued][22m
|
|
677
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/install.test.ts[2m 21/21[22m
|
|
678
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/validate-project-structure.test.ts[2m 23/23[22m
|
|
679
|
-
[1m[33m ❯ [39m[22msrc/__tests__/utils/validate-project-name.test.ts[2m 0/29[22m
|
|
680
|
-
[1m[33m ❯ [39m[22msrc/__tests__/wrangler-v4-compatibility.test.ts[2m 11/11[22m
|
|
681
|
-
|
|
682
|
-
[2m Test Files [22m[1m[32m11 passed[39m[22m[90m (29)[39m
|
|
683
|
-
[2m Tests [22m[1m[32m168 passed[39m[22m[90m (253)[39m
|
|
684
|
-
[2m Start at [22m17:28:57
|
|
685
|
-
[2m Duration [22m721ms
|
|
686
|
-
[?2026l[?2026h[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle invalid package manager gracefully
|
|
687
|
-
[22m[39m⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
[1m[33m ❯ [39m[22msrc/__tests__/cloudflare-template.test.ts[2m 11/30[22m
|
|
691
|
-
[1m[33m ❯ [39m[22msrc/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m 7/7[22m
|
|
692
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/create.test.ts[2m 13/13[22m
|
|
693
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts[2m 8/21[22m
|
|
694
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/fetch-mcpi-template.test.ts[2m 16/16[22m
|
|
695
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/generate-config.test.ts[2m 25/25[22m
|
|
696
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/generate-identity.test.ts[2m 0/24[22m
|
|
697
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/get-package-versions.test.ts[2m [queued][22m
|
|
698
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/identity-manager.test.ts[2m [queued][22m
|
|
699
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/install.test.ts[2m 21/21[22m
|
|
700
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/validate-project-structure.test.ts[2m 23/23[22m
|
|
701
|
-
[1m[33m ❯ [39m[22msrc/__tests__/utils/validate-project-name.test.ts[2m 0/29[22m
|
|
702
|
-
[1m[33m ❯ [39m[22msrc/__tests__/wrangler-v4-compatibility.test.ts[2m 11/11[22m
|
|
703
|
-
|
|
704
|
-
[2m Test Files [22m[1m[32m11 passed[39m[22m[90m (29)[39m
|
|
705
|
-
[2m Tests [22m[1m[32m168 passed[39m[22m[90m (253)[39m
|
|
706
|
-
[2m Start at [22m17:28:57
|
|
707
|
-
[2m Duration [22m721ms
|
|
708
|
-
[?2026l[?2026h[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mLockfile validation[2m > [22m[2mshould warn when lockfile not created
|
|
709
|
-
[22m[39m
|
|
710
|
-
📦 Installing dependencies with npm...
|
|
711
|
-
|
|
712
|
-
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mLockfile validation[2m > [22m[2mshould warn when package manager lockfile cannot be determined
|
|
713
|
-
[22m[39m
|
|
714
|
-
📦 Installing dependencies with custom...
|
|
715
|
-
|
|
716
|
-
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
|
|
717
|
-
[22m[39m
|
|
718
|
-
🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
|
|
719
|
-
|
|
720
|
-
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
|
|
721
|
-
[22m[39m🔑 Generating cryptographic identity...
|
|
722
|
-
|
|
723
|
-
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
|
|
724
|
-
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
725
|
-
- Generated identity keys in .dev.vars
|
|
726
|
-
- Configured wrangler.toml with KV namespaces
|
|
727
|
-
- Created modular tool structure
|
|
728
|
-
- Created setup script for KV namespace creation
|
|
729
|
-
|
|
730
|
-
============================================================
|
|
731
|
-
🎉 Cloudflare MCP-I project created successfully!
|
|
732
|
-
============================================================
|
|
733
|
-
|
|
734
|
-
📝 Important Configuration Notes:
|
|
735
|
-
|
|
736
|
-
1. ADMIN_API_KEY (in .dev.vars):
|
|
737
|
-
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
738
|
-
- You can change it if you need separate admin endpoint security
|
|
739
|
-
- Required for admin endpoints like /admin/clear-cache
|
|
740
|
-
|
|
741
|
-
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
742
|
-
- Required for MCP-I security features
|
|
743
|
-
- ✨ Automatically created on first deploy - no setup needed!
|
|
744
|
-
- Wrangler updates wrangler.toml with namespace IDs
|
|
745
|
-
|
|
746
|
-
🚀 Next Steps:
|
|
747
|
-
cd test-project-no-id
|
|
748
|
-
wrangler login # Login to Cloudflare first!
|
|
749
|
-
npm run dev # Start local development
|
|
750
|
-
npm run deploy # Deploy (KV auto-created!)
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mRuntime Config Includes projectId[2m > [22m[2mshould pass AGENTSHIELD_PROJECT_ID to runtime config
|
|
754
|
-
[22m[39m
|
|
755
|
-
🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
|
|
756
|
-
|
|
757
|
-
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mRuntime Config Includes projectId[2m > [22m[2mshould pass AGENTSHIELD_PROJECT_ID to runtime config
|
|
758
|
-
[22m[39m🔑 Generating cryptographic identity...
|
|
759
|
-
|
|
760
|
-
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mRuntime Config Includes projectId[2m > [22m[2mshould pass AGENTSHIELD_PROJECT_ID to runtime config
|
|
761
|
-
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
762
|
-
- Generated identity keys in .dev.vars
|
|
763
|
-
- Configured wrangler.toml with KV namespaces
|
|
764
|
-
- Created modular tool structure
|
|
765
|
-
- Created setup script for KV namespace creation
|
|
766
|
-
|
|
767
|
-
============================================================
|
|
768
|
-
🎉 Cloudflare MCP-I project created successfully!
|
|
769
|
-
============================================================
|
|
770
|
-
|
|
771
|
-
📝 Important Configuration Notes:
|
|
772
|
-
|
|
773
|
-
1. ADMIN_API_KEY (in .dev.vars):
|
|
774
|
-
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
775
|
-
- You can change it if you need separate admin endpoint security
|
|
776
|
-
- Required for admin endpoints like /admin/clear-cache
|
|
777
|
-
|
|
778
|
-
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
779
|
-
- Required for MCP-I security features
|
|
780
|
-
- ✨ Automatically created on first deploy - no setup needed!
|
|
781
|
-
- Wrangler updates wrangler.toml with namespace IDs
|
|
782
|
-
|
|
783
|
-
🚀 Next Steps:
|
|
784
|
-
cd test-project-runtime
|
|
785
|
-
wrangler login # Login to Cloudflare first!
|
|
786
|
-
npm run dev # Start local development
|
|
787
|
-
npm run deploy # Deploy (KV auto-created!)
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mNo Workspace References[2m > [22m[2mshould not include workspace: references in scaffolded package.json
|
|
791
|
-
[22m[39m
|
|
792
|
-
🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
|
|
793
|
-
|
|
794
|
-
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mNo Workspace References[2m > [22m[2mshould not include workspace: references in scaffolded package.json
|
|
795
|
-
[22m[39m🔑 Generating cryptographic identity...
|
|
796
|
-
|
|
797
|
-
[32m✓[39m src/__tests__/helpers/install.test.ts [2m([22m[2m21 tests[22m[2m)[22m[32m 119[2mms[22m[39m
|
|
798
|
-
[32m✓[39m src/__tests__/helpers/generate-config.test.ts [2m([22m[2m25 tests[22m[2m)[22m[32m 154[2mms[22m[39m
|
|
799
|
-
[32m✓[39m src/__tests__/wrangler-v4-compatibility.test.ts [2m([22m[2m11 tests[22m[2m)[22m[32m 140[2mms[22m[39m
|
|
800
|
-
[32m✓[39m src/__tests__/helpers/fetch-mcpi-template.test.ts [2m([22m[2m16 tests[22m[2m)[22m[32m 163[2mms[22m[39m
|
|
801
|
-
[32m✓[39m src/__tests__/helpers/validate-project-structure.test.ts [2m([22m[2m23 tests[22m[2m)[22m[32m 135[2mms[22m[39m
|
|
802
|
-
[32m✓[39m src/__tests__/helpers/create.test.ts [2m([22m[2m13 tests[22m[2m)[22m[32m 155[2mms[22m[39m
|
|
803
|
-
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mNo Workspace References[2m > [22m[2mshould not include workspace: references in scaffolded package.json
|
|
804
|
-
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
805
|
-
- Generated identity keys in .dev.vars
|
|
806
|
-
- Configured wrangler.toml with KV namespaces
|
|
807
|
-
- Created modular tool structure
|
|
808
|
-
- Created setup script for KV namespace creation
|
|
809
|
-
|
|
810
|
-
============================================================
|
|
811
|
-
🎉 Cloudflare MCP-I project created successfully!
|
|
812
|
-
============================================================
|
|
813
|
-
|
|
814
|
-
📝 Important Configuration Notes:
|
|
815
|
-
|
|
816
|
-
1. ADMIN_API_KEY (in .dev.vars):
|
|
817
|
-
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
818
|
-
- You can change it if you need separate admin endpoint security
|
|
819
|
-
- Required for admin endpoints like /admin/clear-cache
|
|
820
|
-
|
|
821
|
-
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
822
|
-
- Required for MCP-I security features
|
|
823
|
-
- ✨ Automatically created on first deploy - no setup needed!
|
|
824
|
-
- Wrangler updates wrangler.toml with namespace IDs
|
|
825
|
-
|
|
826
|
-
🚀 Next Steps:
|
|
827
|
-
cd test-project-no-workspace
|
|
828
|
-
wrangler login # Login to Cloudflare first!
|
|
829
|
-
npm run dev # Start local development
|
|
830
|
-
npm run deploy # Deploy (KV auto-created!)
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
[32m✓[39m src/__tests__/e2e/scaffolder-dependency-verification.test.ts [2m([22m[2m7 tests[22m[2m)[22m[32m 219[2mms[22m[39m
|
|
834
|
-
|
|
835
|
-
[1m[33m ❯ [39m[22msrc/__tests__/cloudflare-template.test.ts[2m 11/30[22m
|
|
836
|
-
[1m[33m ❯ [39m[22msrc/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m 7/7[22m
|
|
837
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/create.test.ts[2m 13/13[22m
|
|
838
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts[2m 8/21[22m
|
|
839
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/fetch-mcpi-template.test.ts[2m 16/16[22m
|
|
840
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/generate-config.test.ts[2m 25/25[22m
|
|
841
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/generate-identity.test.ts[2m 0/24[22m
|
|
842
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/get-package-versions.test.ts[2m [queued][22m
|
|
843
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/identity-manager.test.ts[2m [queued][22m
|
|
844
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/install.test.ts[2m 21/21[22m
|
|
845
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/validate-project-structure.test.ts[2m 23/23[22m
|
|
846
|
-
[1m[33m ❯ [39m[22msrc/__tests__/utils/validate-project-name.test.ts[2m 0/29[22m
|
|
847
|
-
[1m[33m ❯ [39m[22msrc/__tests__/wrangler-v4-compatibility.test.ts[2m 11/11[22m
|
|
848
|
-
|
|
849
|
-
[2m Test Files [22m[1m[32m11 passed[39m[22m[90m (29)[39m
|
|
850
|
-
[2m Tests [22m[1m[32m168 passed[39m[22m[90m (253)[39m
|
|
851
|
-
[2m Start at [22m17:28:57
|
|
852
|
-
[2m Duration [22m721ms
|
|
853
|
-
[?2026l[?2026h[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K [32m✓[39m src/__tests__/utils/validate-project-name.test.ts [2m([22m[2m29 tests[22m[2m)[22m[32m 14[2mms[22m[39m
|
|
854
|
-
[32m✓[39m src/__tests__/helpers/identity-manager.test.ts [2m([22m[2m16 tests[22m[2m)[22m[32m 21[2mms[22m[39m
|
|
855
|
-
[32m✓[39m src/__tests__/helpers/generate-identity.test.ts [2m([22m[2m24 tests[22m[2m)[22m[32m 77[2mms[22m[39m
|
|
856
|
-
[32m✓[39m src/__tests__/helpers/get-package-versions.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 35[2mms[22m[39m
|
|
857
|
-
[32m✓[39m src/__tests__/utils/check-node.test.ts [2m([22m[2m7 tests[22m[2m)[22m[32m 9[2mms[22m[39m
|
|
858
|
-
[90mstdout[2m | test-cloudflare/tests/session-management.test.ts[2m > [22m[2mSession Management[2m > [22m[2mSession Security[2m > [22m[2mshould not expose session data in logs
|
|
859
|
-
[22m[39m[Session] Created session: secure-session
|
|
860
|
-
|
|
861
|
-
[32m✓[39m test-cloudflare/tests/session-management.test.ts [2m([22m[2m17 tests[22m[2m)[22m[32m 15[2mms[22m[39m
|
|
862
|
-
[32m✓[39m test-cloudflare/tests/cache-invalidation.test.ts [2m([22m[2m18 tests[22m[2m)[22m[32m 5[2mms[22m[39m
|
|
863
|
-
[32m✓[39m src/__tests__/helpers/fetch-cloudflare-template.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 11[2mms[22m[39m
|
|
864
|
-
|
|
865
|
-
[1m[33m ❯ [39m[22msrc/__tests__/cloudflare-template.test.ts[2m 15/30[22m
|
|
866
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts[2m 13/21[22m
|
|
867
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/fetch-xmcp-template.test.ts[2m 0/3[22m
|
|
868
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/generate-identity.test.ts[2m 24/24[22m
|
|
869
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/get-package-versions.test.ts[2m 6/6[22m
|
|
870
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/identity-manager.test.ts[2m 16/16[22m
|
|
871
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/rename.test.ts[2m 0/6[22m
|
|
872
|
-
[1m[33m ❯ [39m[22msrc/__tests__/utils/is-folder-empty.test.ts[2m 0/21[22m
|
|
873
|
-
[1m[33m ❯ [39m[22mtest-cloudflare/tests/cors-security.test.ts[2m [queued][22m
|
|
874
|
-
|
|
875
|
-
[2m Test Files [22m[1m[32m19 passed[39m[22m[90m (29)[39m
|
|
876
|
-
[2m Tests [22m[1m[32m298 passed[39m[22m[90m (351)[39m
|
|
877
|
-
[2m Start at [22m17:28:57
|
|
878
|
-
[2m Duration [22m821ms
|
|
879
|
-
[?2026l[?2026h[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[90mstderr[2m | src/__tests__/helpers/fetch-xmcp-template.test.ts[2m > [22m[2mfetchXMCPTemplate[2m > [22m[2mfalls back to default when next channel is unavailable
|
|
880
|
-
[22m[39m⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
[1m[33m ❯ [39m[22msrc/__tests__/cloudflare-template.test.ts[2m 18/30[22m
|
|
885
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts[2m 15/21[22m
|
|
886
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/generate-identity.test.ts[2m 24/24[22m
|
|
887
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/get-package-versions.test.ts[2m 6/6[22m
|
|
888
|
-
[1m[33m ❯ [39m[22msrc/helpers/__tests__/config-builder.spec.ts[2m [queued][22m
|
|
889
|
-
[1m[33m ❯ [39m[22mtest-cloudflare/tests/cors-security.test.ts[2m 1/29[22m
|
|
890
|
-
|
|
891
|
-
[2m Test Files [22m[1m[32m22 passed[39m[22m[90m (29)[39m
|
|
892
|
-
[2m Tests [22m[1m[32m334 passed[39m[22m[90m (380)[39m
|
|
893
|
-
[2m Start at [22m17:28:57
|
|
894
|
-
[2m Duration [22m1.02s
|
|
895
|
-
[?2026l[?2026h[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K [32m✓[39m src/__tests__/utils/is-folder-empty.test.ts [2m([22m[2m21 tests[22m[2m)[22m[32m 32[2mms[22m[39m
|
|
896
|
-
[32m✓[39m src/__tests__/helpers/rename.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 34[2mms[22m[39m
|
|
897
|
-
[32m✓[39m src/__tests__/helpers/fetch-xmcp-template.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 39[2mms[22m[39m
|
|
898
|
-
|
|
899
|
-
[1m[33m ❯ [39m[22msrc/__tests__/cloudflare-template.test.ts[2m 18/30[22m
|
|
900
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts[2m 15/21[22m
|
|
901
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/generate-identity.test.ts[2m 24/24[22m
|
|
902
|
-
[1m[33m ❯ [39m[22msrc/__tests__/helpers/get-package-versions.test.ts[2m 6/6[22m
|
|
903
|
-
[1m[33m ❯ [39m[22msrc/helpers/__tests__/config-builder.spec.ts[2m [queued][22m
|
|
904
|
-
[1m[33m ❯ [39m[22mtest-cloudflare/tests/cors-security.test.ts[2m 1/29[22m
|
|
905
|
-
|
|
906
|
-
[2m Test Files [22m[1m[32m22 passed[39m[22m[90m (29)[39m
|
|
907
|
-
[2m Tests [22m[1m[32m334 passed[39m[22m[90m (380)[39m
|
|
908
|
-
[2m Start at [22m17:28:57
|
|
909
|
-
[2m Duration [22m1.02s
|
|
910
|
-
[?2026l[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K [32m✓[39m test-cloudflare/tests/cors-security.test.ts [2m([22m[2m29 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
911
|
-
[32m✓[39m src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [2m([22m[2m21 tests[22m[2m)[22m[33m 569[2mms[22m[39m
|
|
912
|
-
[32m✓[39m src/__tests__/cloudflare-template.test.ts [2m([22m[2m30 tests[22m[2m | [22m[33m2 skipped[39m[2m)[22m[33m 578[2mms[22m[39m
|
|
913
|
-
[32m✓[39m src/utils/__tests__/fetch-remote-config.test.ts [2m([22m[2m9 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
914
|
-
[32m✓[39m src/__tests__/effects/index.test.ts [2m([22m[2m5 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
915
|
-
[32m✓[39m test-cloudflare/tests/delegation.test.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 6[2mms[22m[39m
|
|
916
|
-
[90mstderr[2m | src/helpers/__tests__/config-builder.spec.ts[2m > [22m[2mbuildConfigWithRemote[2m > [22m[2mshould fallback to local config when remote fetch fails
|
|
917
|
-
[22m[39m[RemoteConfig] Neither projectId nor agentDid provided
|
|
918
|
-
|
|
919
|
-
[32m✓[39m src/helpers/__tests__/config-builder.spec.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
920
|
-
|
|
921
|
-
[2m Test Files [22m [1m[32m29 passed[39m[22m[90m (29)[39m
|
|
922
|
-
[2m Tests [22m [1m[32m416 passed[39m[22m[2m | [22m[33m2 skipped[39m[90m (418)[39m
|
|
923
|
-
[2m Start at [22m 17:28:57
|
|
924
|
-
[2m Duration [22m 1.13s[2m (transform 927ms, setup 0ms, import 2.11s, tests 2.88s, environment 2ms)[22m
|
|
925
|
-
|
|
926
|
-
[34m % [39m[2mCoverage report from [22m[33mv8[39m
|
|
927
|
-
|
|
928
|
-
=============================== Coverage summary ===============================
|
|
929
|
-
[33;1mStatements : 75.49% ( 610/808 )[0m
|
|
930
|
-
[33;1mBranches : 72.94% ( 310/425 )[0m
|
|
931
|
-
[33;1mFunctions : 78.68% ( 48/61 )[0m
|
|
932
|
-
[33;1mLines : 75.81% ( 608/802 )[0m
|
|
933
|
-
================================================================================
|
|
934
|
-
[?25h
|
|
1
|
+
|
|
2
|
+
> @kya-os/create-mcpi-app@1.8.45 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
|
|
3
|
+
> vitest run --coverage
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[1m[46m RUN [49m[22m [36mv4.0.14 [39m[90m/Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app[39m
|
|
7
|
+
[2mCoverage enabled with [22m[33mv8[39m
|
|
8
|
+
|
|
9
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mDependency installation[2m > [22m[2mshould install dependencies with npm
|
|
10
|
+
[22m[39m
|
|
11
|
+
📦 Installing dependencies with npm...
|
|
12
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
13
|
+
|
|
14
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mDependency installation[2m > [22m[2mshould install dependencies with yarn
|
|
15
|
+
[22m[39m
|
|
16
|
+
📦 Installing dependencies with yarn...
|
|
17
|
+
✓ Lockfile created (yarn.lock) - remember to commit it
|
|
18
|
+
|
|
19
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mDependency installation[2m > [22m[2mshould install dependencies with pnpm
|
|
20
|
+
[22m[39m
|
|
21
|
+
📦 Installing dependencies with pnpm...
|
|
22
|
+
✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
|
|
23
|
+
|
|
24
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould scaffold with correct @kya-os/mcp-i-cloudflare version
|
|
25
|
+
[22m[39m
|
|
26
|
+
🏗️ Generating Cloudflare MCP-I project: test-project...
|
|
27
|
+
|
|
28
|
+
[32m✓[39m src/__tests__/helpers/copy-template.test.ts [2m([22m[2m11 tests[22m[2m)[22m[32m 72[2mms[22m[39m
|
|
29
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mDependency installation[2m > [22m[2mshould use correct working directory
|
|
30
|
+
[22m[39m
|
|
31
|
+
📦 Installing dependencies with npm...
|
|
32
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
33
|
+
|
|
34
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould scaffold with correct @kya-os/mcp-i-cloudflare version
|
|
35
|
+
[22m[39m🔑 Generating cryptographic identity...
|
|
36
|
+
|
|
37
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mInstall progress reporting[2m > [22m[2mshould report correct package manager in log
|
|
38
|
+
[22m[39m⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
|
|
39
|
+
|
|
40
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould include envPrefix in generated index.ts
|
|
41
|
+
[22m[39m
|
|
42
|
+
🏗️ Generating Cloudflare MCP-I project: test-agent...
|
|
43
|
+
|
|
44
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mInstall progress reporting[2m > [22m[2mshould check for lockfile after installation
|
|
45
|
+
[22m[39m
|
|
46
|
+
📦 Installing dependencies with npm...
|
|
47
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
48
|
+
|
|
49
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould throw error when installation fails
|
|
50
|
+
[22m[39m
|
|
51
|
+
📦 Installing dependencies with npm...
|
|
52
|
+
|
|
53
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould throw error when installation fails
|
|
54
|
+
[22m[39mFailed to install dependencies with npm.
|
|
55
|
+
|
|
56
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle network errors during installation
|
|
57
|
+
[22m[39m
|
|
58
|
+
📦 Installing dependencies with npm...
|
|
59
|
+
|
|
60
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle network errors during installation
|
|
61
|
+
[22m[39mFailed to install dependencies with npm.
|
|
62
|
+
|
|
63
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould include envPrefix in generated index.ts
|
|
64
|
+
[22m[39m🔑 Generating cryptographic identity...
|
|
65
|
+
|
|
66
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle permission errors during installation
|
|
67
|
+
[22m[39mFailed to install dependencies with npm.
|
|
68
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle permission errors during installation
|
|
69
|
+
[22m[39m
|
|
70
|
+
|
|
71
|
+
📦 Installing dependencies with npm...
|
|
72
|
+
|
|
73
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould log error message when installation fails
|
|
74
|
+
[22m[39m
|
|
75
|
+
📦 Installing dependencies with npm...
|
|
76
|
+
|
|
77
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle invalid package manager gracefully
|
|
78
|
+
[22m[39m
|
|
79
|
+
📦 Installing dependencies with unknown...
|
|
80
|
+
|
|
81
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle invalid package manager gracefully
|
|
82
|
+
[22m[39m⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
|
|
83
|
+
|
|
84
|
+
[32m✓[39m src/__tests__/index.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 110[2mms[22m[39m
|
|
85
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mLockfile validation[2m > [22m[2mshould warn when lockfile not created
|
|
86
|
+
[22m[39m
|
|
87
|
+
📦 Installing dependencies with npm...
|
|
88
|
+
|
|
89
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mLockfile validation[2m > [22m[2mshould warn when package manager lockfile cannot be determined
|
|
90
|
+
[22m[39m
|
|
91
|
+
📦 Installing dependencies with custom...
|
|
92
|
+
|
|
93
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould scaffold with correct @kya-os/mcp-i-cloudflare version
|
|
94
|
+
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
95
|
+
- Generated identity keys in .dev.vars
|
|
96
|
+
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
97
|
+
- Created modular tool structure
|
|
98
|
+
|
|
99
|
+
============================================================
|
|
100
|
+
🎉 Cloudflare MCP-I project created successfully!
|
|
101
|
+
============================================================
|
|
102
|
+
|
|
103
|
+
📝 Important Configuration Notes:
|
|
104
|
+
|
|
105
|
+
1. ADMIN_API_KEY (in .dev.vars):
|
|
106
|
+
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
107
|
+
- You can change it if you need separate admin endpoint security
|
|
108
|
+
- Required for admin endpoints like /admin/clear-cache
|
|
109
|
+
|
|
110
|
+
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
111
|
+
- Required for MCP-I security features
|
|
112
|
+
- ✨ Automatically created on first deploy - no setup needed!
|
|
113
|
+
- Wrangler updates wrangler.toml with namespace IDs
|
|
114
|
+
|
|
115
|
+
🚀 Next Steps:
|
|
116
|
+
cd test-project
|
|
117
|
+
wrangler login # Login to Cloudflare first!
|
|
118
|
+
npm run dev # Start local development
|
|
119
|
+
npm run deploy # Deploy (KV auto-created!)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
[32m✓[39m src/__tests__/helpers/generate-config.test.ts [2m([22m[2m25 tests[22m[2m)[22m[32m 95[2mms[22m[39m
|
|
123
|
+
[32m✓[39m src/__tests__/helpers/install.test.ts [2m([22m[2m21 tests[22m[2m)[22m[32m 76[2mms[22m[39m
|
|
124
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould include envPrefix in generated index.ts
|
|
125
|
+
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
126
|
+
- Generated identity keys in .dev.vars
|
|
127
|
+
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
128
|
+
- Created modular tool structure
|
|
129
|
+
|
|
130
|
+
============================================================
|
|
131
|
+
🎉 Cloudflare MCP-I project created successfully!
|
|
132
|
+
============================================================
|
|
133
|
+
|
|
134
|
+
📝 Important Configuration Notes:
|
|
135
|
+
|
|
136
|
+
1. ADMIN_API_KEY (in .dev.vars):
|
|
137
|
+
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
138
|
+
- You can change it if you need separate admin endpoint security
|
|
139
|
+
- Required for admin endpoints like /admin/clear-cache
|
|
140
|
+
|
|
141
|
+
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
142
|
+
- Required for MCP-I security features
|
|
143
|
+
- ✨ Automatically created on first deploy - no setup needed!
|
|
144
|
+
- Wrangler updates wrangler.toml with namespace IDs
|
|
145
|
+
|
|
146
|
+
🚀 Next Steps:
|
|
147
|
+
cd test-agent
|
|
148
|
+
wrangler login # Login to Cloudflare first!
|
|
149
|
+
npm run dev # Start local development
|
|
150
|
+
npm run deploy # Deploy (KV auto-created!)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould include AGENTSHIELD_PROJECT_ID in wrangler.toml template
|
|
154
|
+
[22m[39m
|
|
155
|
+
🏗️ Generating Cloudflare MCP-I project: test-project-env...
|
|
156
|
+
|
|
157
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould include AGENTSHIELD_PROJECT_ID in wrangler.toml template
|
|
158
|
+
[22m[39m🔑 Generating cryptographic identity...
|
|
159
|
+
|
|
160
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould include AGENTSHIELD_PROJECT_ID in wrangler.toml template
|
|
161
|
+
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
162
|
+
- Generated identity keys in .dev.vars
|
|
163
|
+
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
164
|
+
- Created modular tool structure
|
|
165
|
+
|
|
166
|
+
============================================================
|
|
167
|
+
🎉 Cloudflare MCP-I project created successfully!
|
|
168
|
+
============================================================
|
|
169
|
+
|
|
170
|
+
📝 Important Configuration Notes:
|
|
171
|
+
|
|
172
|
+
1. ADMIN_API_KEY (in .dev.vars):
|
|
173
|
+
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
174
|
+
- You can change it if you need separate admin endpoint security
|
|
175
|
+
- Required for admin endpoints like /admin/clear-cache
|
|
176
|
+
|
|
177
|
+
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
178
|
+
- Required for MCP-I security features
|
|
179
|
+
- ✨ Automatically created on first deploy - no setup needed!
|
|
180
|
+
- Wrangler updates wrangler.toml with namespace IDs
|
|
181
|
+
|
|
182
|
+
🚀 Next Steps:
|
|
183
|
+
cd test-project-env
|
|
184
|
+
wrangler login # Login to Cloudflare first!
|
|
185
|
+
npm run dev # Start local development
|
|
186
|
+
npm run deploy # Deploy (KV auto-created!)
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould set AGENTSHIELD_PROJECT_ID when --project is provided
|
|
190
|
+
[22m[39m
|
|
191
|
+
🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
|
|
192
|
+
|
|
193
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould set AGENTSHIELD_PROJECT_ID when --project is provided
|
|
194
|
+
[22m[39m🔑 Generating cryptographic identity...
|
|
195
|
+
|
|
196
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould set AGENTSHIELD_PROJECT_ID when --project is provided
|
|
197
|
+
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
198
|
+
- Generated identity keys in .dev.vars
|
|
199
|
+
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
200
|
+
- Created modular tool structure
|
|
201
|
+
|
|
202
|
+
============================================================
|
|
203
|
+
🎉 Cloudflare MCP-I project created successfully!
|
|
204
|
+
============================================================
|
|
205
|
+
|
|
206
|
+
📝 Important Configuration Notes:
|
|
207
|
+
|
|
208
|
+
1. ADMIN_API_KEY (in .dev.vars):
|
|
209
|
+
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
210
|
+
- You can change it if you need separate admin endpoint security
|
|
211
|
+
- Required for admin endpoints like /admin/clear-cache
|
|
212
|
+
|
|
213
|
+
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
214
|
+
- Required for MCP-I security features
|
|
215
|
+
- ✨ Automatically created on first deploy - no setup needed!
|
|
216
|
+
- Wrangler updates wrangler.toml with namespace IDs
|
|
217
|
+
|
|
218
|
+
🚀 Next Steps:
|
|
219
|
+
cd test-project-with-id
|
|
220
|
+
wrangler login # Login to Cloudflare first!
|
|
221
|
+
npm run dev # Start local development
|
|
222
|
+
npm run deploy # Deploy (KV auto-created!)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould use correct prefix format (uppercase with underscores)
|
|
226
|
+
[22m[39m
|
|
227
|
+
🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
|
|
228
|
+
|
|
229
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould use correct prefix format (uppercase with underscores)
|
|
230
|
+
[22m[39m🔑 Generating cryptographic identity...
|
|
231
|
+
|
|
232
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould use correct prefix format (uppercase with underscores)
|
|
233
|
+
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
234
|
+
- Generated identity keys in .dev.vars
|
|
235
|
+
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
236
|
+
- Created modular tool structure
|
|
237
|
+
|
|
238
|
+
============================================================
|
|
239
|
+
🎉 Cloudflare MCP-I project created successfully!
|
|
240
|
+
============================================================
|
|
241
|
+
|
|
242
|
+
📝 Important Configuration Notes:
|
|
243
|
+
|
|
244
|
+
1. ADMIN_API_KEY (in .dev.vars):
|
|
245
|
+
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
246
|
+
- You can change it if you need separate admin endpoint security
|
|
247
|
+
- Required for admin endpoints like /admin/clear-cache
|
|
248
|
+
|
|
249
|
+
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
250
|
+
- Required for MCP-I security features
|
|
251
|
+
- ✨ Automatically created on first deploy - no setup needed!
|
|
252
|
+
- Wrangler updates wrangler.toml with namespace IDs
|
|
253
|
+
|
|
254
|
+
🚀 Next Steps:
|
|
255
|
+
cd my-awesome-agent
|
|
256
|
+
wrangler login # Login to Cloudflare first!
|
|
257
|
+
npm run dev # Start local development
|
|
258
|
+
npm run deploy # Deploy (KV auto-created!)
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould include comment explaining envPrefix purpose
|
|
262
|
+
[22m[39m
|
|
263
|
+
🏗️ Generating Cloudflare MCP-I project: test-agent...
|
|
264
|
+
|
|
265
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould include comment explaining envPrefix purpose
|
|
266
|
+
[22m[39m🔑 Generating cryptographic identity...
|
|
267
|
+
|
|
268
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould include comment explaining envPrefix purpose
|
|
269
|
+
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
270
|
+
- Generated identity keys in .dev.vars
|
|
271
|
+
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
272
|
+
- Created modular tool structure
|
|
273
|
+
|
|
274
|
+
============================================================
|
|
275
|
+
🎉 Cloudflare MCP-I project created successfully!
|
|
276
|
+
============================================================
|
|
277
|
+
|
|
278
|
+
📝 Important Configuration Notes:
|
|
279
|
+
|
|
280
|
+
1. ADMIN_API_KEY (in .dev.vars):
|
|
281
|
+
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
282
|
+
- You can change it if you need separate admin endpoint security
|
|
283
|
+
- Required for admin endpoints like /admin/clear-cache
|
|
284
|
+
|
|
285
|
+
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
286
|
+
- Required for MCP-I security features
|
|
287
|
+
- ✨ Automatically created on first deploy - no setup needed!
|
|
288
|
+
- Wrangler updates wrangler.toml with namespace IDs
|
|
289
|
+
|
|
290
|
+
🚀 Next Steps:
|
|
291
|
+
cd test-agent
|
|
292
|
+
wrangler login # Login to Cloudflare first!
|
|
293
|
+
npm run dev # Start local development
|
|
294
|
+
npm run deploy # Deploy (KV auto-created!)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould match envPrefix with KV binding names in wrangler.toml
|
|
298
|
+
[22m[39m
|
|
299
|
+
🏗️ Generating Cloudflare MCP-I project: test-agent...
|
|
300
|
+
|
|
301
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould match envPrefix with KV binding names in wrangler.toml
|
|
302
|
+
[22m[39m🔑 Generating cryptographic identity...
|
|
303
|
+
|
|
304
|
+
[32m✓[39m src/__tests__/helpers/fetch-mcpi-template.test.ts [2m([22m[2m16 tests[22m[2m)[22m[32m 79[2mms[22m[39m
|
|
305
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
|
|
306
|
+
[22m[39m
|
|
307
|
+
🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
|
|
308
|
+
|
|
309
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
|
|
310
|
+
[22m[39m🔑 Generating cryptographic identity...
|
|
311
|
+
|
|
312
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould match envPrefix with KV binding names in wrangler.toml
|
|
313
|
+
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
314
|
+
- Generated identity keys in .dev.vars
|
|
315
|
+
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
316
|
+
- Created modular tool structure
|
|
317
|
+
|
|
318
|
+
============================================================
|
|
319
|
+
🎉 Cloudflare MCP-I project created successfully!
|
|
320
|
+
============================================================
|
|
321
|
+
|
|
322
|
+
📝 Important Configuration Notes:
|
|
323
|
+
|
|
324
|
+
1. ADMIN_API_KEY (in .dev.vars):
|
|
325
|
+
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
326
|
+
- You can change it if you need separate admin endpoint security
|
|
327
|
+
- Required for admin endpoints like /admin/clear-cache
|
|
328
|
+
|
|
329
|
+
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
330
|
+
- Required for MCP-I security features
|
|
331
|
+
- ✨ Automatically created on first deploy - no setup needed!
|
|
332
|
+
- Wrangler updates wrangler.toml with namespace IDs
|
|
333
|
+
|
|
334
|
+
🚀 Next Steps:
|
|
335
|
+
cd test-agent
|
|
336
|
+
wrangler login # Login to Cloudflare first!
|
|
337
|
+
npm run dev # Start local development
|
|
338
|
+
npm run deploy # Deploy (KV auto-created!)
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
|
|
342
|
+
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
343
|
+
- Generated identity keys in .dev.vars
|
|
344
|
+
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
345
|
+
- Created modular tool structure
|
|
346
|
+
|
|
347
|
+
============================================================
|
|
348
|
+
🎉 Cloudflare MCP-I project created successfully!
|
|
349
|
+
============================================================
|
|
350
|
+
|
|
351
|
+
📝 Important Configuration Notes:
|
|
352
|
+
|
|
353
|
+
1. ADMIN_API_KEY (in .dev.vars):
|
|
354
|
+
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
355
|
+
- You can change it if you need separate admin endpoint security
|
|
356
|
+
- Required for admin endpoints like /admin/clear-cache
|
|
357
|
+
|
|
358
|
+
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
359
|
+
- Required for MCP-I security features
|
|
360
|
+
- ✨ Automatically created on first deploy - no setup needed!
|
|
361
|
+
- Wrangler updates wrangler.toml with namespace IDs
|
|
362
|
+
|
|
363
|
+
🚀 Next Steps:
|
|
364
|
+
cd test-project-no-id
|
|
365
|
+
wrangler login # Login to Cloudflare first!
|
|
366
|
+
npm run dev # Start local development
|
|
367
|
+
npm run deploy # Deploy (KV auto-created!)
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
[32m✓[39m src/__tests__/scaffolder-envprefix.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 176[2mms[22m[39m
|
|
371
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mRuntime Config Includes projectId[2m > [22m[2mshould pass AGENTSHIELD_PROJECT_ID to runtime config
|
|
372
|
+
[22m[39m
|
|
373
|
+
🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
|
|
374
|
+
|
|
375
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mRuntime Config Includes projectId[2m > [22m[2mshould pass AGENTSHIELD_PROJECT_ID to runtime config
|
|
376
|
+
[22m[39m🔑 Generating cryptographic identity...
|
|
377
|
+
|
|
378
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mpasses CLI flags to createProject when using --yes
|
|
379
|
+
[22m[39m
|
|
380
|
+
create-mcpi-app@1.8.45
|
|
381
|
+
|
|
382
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mpasses CLI flags to createProject when using --yes
|
|
383
|
+
[22m[39mBANNER
|
|
384
|
+
|
|
385
|
+
Enhanced with identity features by MCP-I
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mpasses CLI flags to createProject when using --yes
|
|
389
|
+
[22m[39m
|
|
390
|
+
Next Steps:
|
|
391
|
+
1. Install dependencies:
|
|
392
|
+
cd my-agent
|
|
393
|
+
npm install
|
|
394
|
+
|
|
395
|
+
2. Start development server:
|
|
396
|
+
npm run dev
|
|
397
|
+
|
|
398
|
+
3. Deploy when ready:
|
|
399
|
+
npm run start
|
|
400
|
+
|
|
401
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mexits when project name validation fails
|
|
402
|
+
[22m[39m
|
|
403
|
+
create-mcpi-app@1.8.45
|
|
404
|
+
|
|
405
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mexits when project name validation fails
|
|
406
|
+
[90mstderr[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mexits when project name validation fails
|
|
407
|
+
[22m[39mBANNER
|
|
408
|
+
|
|
409
|
+
Enhanced with identity features by MCP-I
|
|
410
|
+
|
|
411
|
+
[22m[39mInvalid project name:
|
|
412
|
+
|
|
413
|
+
- bad
|
|
414
|
+
|
|
415
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mhonors package manager and version flags
|
|
416
|
+
[22m[39m
|
|
417
|
+
create-mcpi-app@1.8.45
|
|
418
|
+
|
|
419
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mhonors package manager and version flags
|
|
420
|
+
[22m[39mBANNER
|
|
421
|
+
|
|
422
|
+
Enhanced with identity features by MCP-I
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mhonors package manager and version flags
|
|
426
|
+
[22m[39m
|
|
427
|
+
Next Steps:
|
|
428
|
+
1. Install dependencies:
|
|
429
|
+
cd pnpm-agent
|
|
430
|
+
pnpm install
|
|
431
|
+
|
|
432
|
+
2. Initialize identity:
|
|
433
|
+
pnpm init
|
|
434
|
+
|
|
435
|
+
3. Start development server:
|
|
436
|
+
pnpm dev
|
|
437
|
+
|
|
438
|
+
4. Deploy when ready:
|
|
439
|
+
pnpm start
|
|
440
|
+
|
|
441
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mprompts for package manager and transports when --yes is not set
|
|
442
|
+
[22m[39m
|
|
443
|
+
create-mcpi-app@1.8.45
|
|
444
|
+
|
|
445
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mprompts for package manager and transports when --yes is not set
|
|
446
|
+
[22m[39mBANNER
|
|
447
|
+
|
|
448
|
+
Enhanced with identity features by MCP-I
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mprompts for package manager and transports when --yes is not set
|
|
452
|
+
[22m[39m
|
|
453
|
+
Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mprompts for package manager and transports when --yes is not set
|
|
457
|
+
[22m[39m
|
|
458
|
+
Next Steps:
|
|
459
|
+
1. Install dependencies:
|
|
460
|
+
cd interactive-app
|
|
461
|
+
pnpm install
|
|
462
|
+
|
|
463
|
+
2. Start development server:
|
|
464
|
+
pnpm dev
|
|
465
|
+
|
|
466
|
+
3. Deploy when ready:
|
|
467
|
+
pnpm start
|
|
468
|
+
|
|
469
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mRuntime Config Includes projectId[2m > [22m[2mshould pass AGENTSHIELD_PROJECT_ID to runtime config
|
|
470
|
+
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
471
|
+
- Generated identity keys in .dev.vars
|
|
472
|
+
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
473
|
+
- Created modular tool structure
|
|
474
|
+
|
|
475
|
+
============================================================
|
|
476
|
+
🎉 Cloudflare MCP-I project created successfully!
|
|
477
|
+
============================================================
|
|
478
|
+
|
|
479
|
+
📝 Important Configuration Notes:
|
|
480
|
+
|
|
481
|
+
1. ADMIN_API_KEY (in .dev.vars):
|
|
482
|
+
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
483
|
+
- You can change it if you need separate admin endpoint security
|
|
484
|
+
- Required for admin endpoints like /admin/clear-cache
|
|
485
|
+
|
|
486
|
+
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
487
|
+
- Required for MCP-I security features
|
|
488
|
+
- ✨ Automatically created on first deploy - no setup needed!
|
|
489
|
+
- Wrangler updates wrangler.toml with namespace IDs
|
|
490
|
+
|
|
491
|
+
🚀 Next Steps:
|
|
492
|
+
cd test-project-runtime
|
|
493
|
+
wrangler login # Login to Cloudflare first!
|
|
494
|
+
npm run dev # Start local development
|
|
495
|
+
npm run deploy # Deploy (KV auto-created!)
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
[32m✓[39m src/__tests__/cli-runner.test.ts [2m([22m[2m4 tests[22m[2m)[22m[33m 321[2mms[22m[39m
|
|
499
|
+
[33m[2m✓[22m[39m passes CLI flags to createProject when using --yes [33m 315[2mms[22m[39m
|
|
500
|
+
[32m✓[39m src/__tests__/wrangler-v4-compatibility.test.ts [2m([22m[2m11 tests[22m[2m)[22m[32m 211[2mms[22m[39m
|
|
501
|
+
[32m✓[39m src/__tests__/helpers/create.test.ts [2m([22m[2m13 tests[22m[2m)[22m[32m 118[2mms[22m[39m
|
|
502
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mNo Workspace References[2m > [22m[2mshould not include workspace: references in scaffolded package.json
|
|
503
|
+
[22m[39m
|
|
504
|
+
🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
|
|
505
|
+
|
|
506
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mNo Workspace References[2m > [22m[2mshould not include workspace: references in scaffolded package.json
|
|
507
|
+
[22m[39m🔑 Generating cryptographic identity...
|
|
508
|
+
|
|
509
|
+
[32m✓[39m src/__tests__/utils/check-node.test.ts [2m([22m[2m7 tests[22m[2m)[22m[32m 16[2mms[22m[39m
|
|
510
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mNo Workspace References[2m > [22m[2mshould not include workspace: references in scaffolded package.json
|
|
511
|
+
[22m[39m✔ Created Cloudflare MCP-I template files
|
|
512
|
+
- Generated identity keys in .dev.vars
|
|
513
|
+
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
514
|
+
- Created modular tool structure
|
|
515
|
+
|
|
516
|
+
============================================================
|
|
517
|
+
🎉 Cloudflare MCP-I project created successfully!
|
|
518
|
+
============================================================
|
|
519
|
+
|
|
520
|
+
📝 Important Configuration Notes:
|
|
521
|
+
|
|
522
|
+
1. ADMIN_API_KEY (in .dev.vars):
|
|
523
|
+
- Set to same value as AGENTSHIELD_API_KEY for convenience
|
|
524
|
+
- You can change it if you need separate admin endpoint security
|
|
525
|
+
- Required for admin endpoints like /admin/clear-cache
|
|
526
|
+
|
|
527
|
+
2. KV Namespaces (auto-provisioned by Wrangler v4):
|
|
528
|
+
- Required for MCP-I security features
|
|
529
|
+
- ✨ Automatically created on first deploy - no setup needed!
|
|
530
|
+
- Wrangler updates wrangler.toml with namespace IDs
|
|
531
|
+
|
|
532
|
+
🚀 Next Steps:
|
|
533
|
+
cd test-project-no-workspace
|
|
534
|
+
wrangler login # Login to Cloudflare first!
|
|
535
|
+
npm run dev # Start local development
|
|
536
|
+
npm run deploy # Deploy (KV auto-created!)
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
[32m✓[39m src/__tests__/e2e/scaffolder-dependency-verification.test.ts [2m([22m[2m7 tests[22m[2m)[22m[32m 285[2mms[22m[39m
|
|
540
|
+
[32m✓[39m src/__tests__/helpers/apply-identity-preset.test.ts [2m([22m[2m16 tests[22m[2m)[22m[33m 350[2mms[22m[39m
|
|
541
|
+
[32m✓[39m src/__tests__/helpers/rename.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 21[2mms[22m[39m
|
|
542
|
+
[32m✓[39m src/__tests__/helpers/identity-manager.test.ts [2m([22m[2m16 tests[22m[2m)[22m[32m 297[2mms[22m[39m
|
|
543
|
+
[32m✓[39m src/__tests__/helpers/validate-project-structure.test.ts [2m([22m[2m23 tests[22m[2m)[22m[33m 380[2mms[22m[39m
|
|
544
|
+
[32m✓[39m src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [2m([22m[2m21 tests[22m[2m)[22m[33m 924[2mms[22m[39m
|
|
545
|
+
[33m[2m✓[22m[39m should transform KV namespace bindings correctly [33m 349[2mms[22m[39m
|
|
546
|
+
[90mstdout[2m | test-cloudflare/tests/session-management.test.ts[2m > [22m[2mSession Management[2m > [22m[2mSession Security[2m > [22m[2mshould not expose session data in logs
|
|
547
|
+
[22m[39m[Session] Created session: secure-session
|
|
548
|
+
|
|
549
|
+
[32m✓[39m test-cloudflare/tests/session-management.test.ts [2m([22m[2m17 tests[22m[2m)[22m[32m 19[2mms[22m[39m
|
|
550
|
+
[90mstderr[2m | src/__tests__/helpers/fetch-xmcp-template.test.ts[2m > [22m[2mfetchXMCPTemplate[2m > [22m[2mfalls back to default when next channel is unavailable
|
|
551
|
+
[22m[39m⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
|
|
552
|
+
|
|
553
|
+
[32m✓[39m src/__tests__/helpers/get-package-versions.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 38[2mms[22m[39m
|
|
554
|
+
[32m✓[39m src/__tests__/helpers/fetch-xmcp-template.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 18[2mms[22m[39m
|
|
555
|
+
[32m✓[39m src/__tests__/helpers/generate-identity.test.ts [2m([22m[2m24 tests[22m[2m)[22m[32m 97[2mms[22m[39m
|
|
556
|
+
[32m✓[39m src/__tests__/utils/validate-project-name.test.ts [2m([22m[2m29 tests[22m[2m)[22m[32m 14[2mms[22m[39m
|
|
557
|
+
[32m✓[39m src/__tests__/utils/is-folder-empty.test.ts [2m([22m[2m21 tests[22m[2m)[22m[32m 28[2mms[22m[39m
|
|
558
|
+
[32m✓[39m src/__tests__/cloudflare-template.test.ts [2m([22m[2m30 tests[22m[2m | [22m[33m2 skipped[39m[2m)[22m[33m 1075[2mms[22m[39m
|
|
559
|
+
[32m✓[39m test-cloudflare/tests/cache-invalidation.test.ts [2m([22m[2m18 tests[22m[2m)[22m[32m 5[2mms[22m[39m
|
|
560
|
+
[32m✓[39m src/__tests__/helpers/fetch-cloudflare-template.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 166[2mms[22m[39m
|
|
561
|
+
[31m❯[39m test-cloudflare/tests/do-routing.test.ts [2m([22m[2m14 tests[22m[2m | [22m[31m1 failed[39m[2m)[22m[33m 894[2mms[22m[39m
|
|
562
|
+
[32m✓[39m should route to different instances for different sessions[32m 119[2mms[22m[39m
|
|
563
|
+
[32m✓[39m should route to same instance for same session[32m 0[2mms[22m[39m
|
|
564
|
+
[32m✓[39m should handle both mcp-session-id header casings[32m 0[2mms[22m[39m
|
|
565
|
+
[32m✓[39m should generate random session if header missing[32m 1[2mms[22m[39m
|
|
566
|
+
[32m✓[39m should distribute requests across shards[32m 16[2mms[22m[39m
|
|
567
|
+
[32m✓[39m should consistently route same session to same shard[32m 0[2mms[22m[39m
|
|
568
|
+
[32m✓[39m should respect custom shard count[32m 4[2mms[22m[39m
|
|
569
|
+
[32m✓[39m should fall back to default when strategy unknown[32m 1[2mms[22m[39m
|
|
570
|
+
[32m✓[39m should use session strategy when not configured[32m 0[2mms[22m[39m
|
|
571
|
+
[31m [31m×[31m session routing should have O(1) complexity[39m[33m 699[2mms[22m[39m
|
|
572
|
+
[32m✓[39m shard routing should have O(n) complexity for hash[32m 48[2mms[22m[39m
|
|
573
|
+
[32m✓[39m should handle empty session ID[32m 0[2mms[22m[39m
|
|
574
|
+
[32m✓[39m should handle non-numeric shard count[32m 0[2mms[22m[39m
|
|
575
|
+
[32m✓[39m should handle special characters in session ID[32m 1[2mms[22m[39m
|
|
576
|
+
[32m✓[39m test-cloudflare/tests/cors-security.test.ts [2m([22m[2m29 tests[22m[2m)[22m[32m 21[2mms[22m[39m
|
|
577
|
+
[32m✓[39m test-cloudflare/tests/delegation.test.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 6[2mms[22m[39m
|
|
578
|
+
[32m✓[39m src/__tests__/effects/index.test.ts [2m([22m[2m5 tests[22m[2m)[22m[32m 6[2mms[22m[39m
|
|
579
|
+
[32m✓[39m src/utils/__tests__/fetch-remote-config.test.ts [2m([22m[2m9 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
580
|
+
[90mstderr[2m | src/helpers/__tests__/config-builder.spec.ts[2m > [22m[2mbuildConfigWithRemote[2m > [22m[2mshould fallback to local config when remote fetch fails
|
|
581
|
+
[22m[39m[RemoteConfig] Neither projectId nor agentDid provided
|
|
582
|
+
|
|
583
|
+
[32m✓[39m src/helpers/__tests__/config-builder.spec.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
584
|
+
|
|
585
|
+
[31m⎯⎯⎯⎯⎯⎯⎯[39m[1m[41m Failed Tests 1 [49m[22m[31m⎯⎯⎯⎯⎯⎯⎯[39m
|
|
586
|
+
|
|
587
|
+
[41m[1m FAIL [22m[49m test-cloudflare/tests/do-routing.test.ts[2m > [22mDurable Object Multi-Instance Routing[2m > [22mPerformance Characteristics[2m > [22msession routing should have O(1) complexity
|
|
588
|
+
[31m[1mAssertionError[22m: expected 696.602042 to be less than 600[39m
|
|
589
|
+
[36m [2m❯[22m test-cloudflare/tests/do-routing.test.ts:[2m229:24[22m[39m
|
|
590
|
+
[90m227| [39m
|
|
591
|
+
[90m228| [39m // Should complete 10k operations in < 600ms (relaxed for CI env…
|
|
592
|
+
[90m229| [39m [34mexpect[39m(duration)[33m.[39m[34mtoBeLessThan[39m([34m600[39m)[33m;[39m
|
|
593
|
+
[90m | [39m [31m^[39m
|
|
594
|
+
[90m230| [39m })[33m;[39m
|
|
595
|
+
[90m231| [39m
|
|
596
|
+
|
|
597
|
+
[31m[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯[22m[39m
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
[2m Test Files [22m [1m[31m1 failed[39m[22m[2m | [22m[1m[32m30 passed[39m[22m[90m (31)[39m
|
|
601
|
+
[2m Tests [22m [1m[31m1 failed[39m[22m[2m | [22m[1m[32m435 passed[39m[22m[2m | [22m[33m2 skipped[39m[90m (438)[39m
|
|
602
|
+
[2m Start at [22m 16:45:08
|
|
603
|
+
[2m Duration [22m 2.03s[2m (transform 1.69s, setup 0ms, import 5.37s, tests 5.93s, environment 3ms)[22m
|
|
604
|
+
|
|
605
|
+
ELIFECYCLE Command failed with exit code 1.
|