@tessl/cli 0.23.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.mjs +1696 -1607
- package/dist/cli.d.ts +17 -379
- package/package.json +5 -2
package/dist/cli.d.ts
CHANGED
|
@@ -253,7 +253,7 @@ interface paths {
|
|
|
253
253
|
get: {
|
|
254
254
|
parameters: {
|
|
255
255
|
query?: {
|
|
256
|
-
sort?: 'updatedAt' | '-updatedAt';
|
|
256
|
+
sort?: ('updatedAt' | '-updatedAt' | 'similarity' | '-similarity' | 'id' | '-id') | ('updatedAt' | '-updatedAt' | 'similarity' | '-similarity' | 'id' | '-id')[];
|
|
257
257
|
'page[size]'?: number;
|
|
258
258
|
'page[after]'?: string;
|
|
259
259
|
'page[before]'?: string;
|
|
@@ -266,6 +266,14 @@ interface paths {
|
|
|
266
266
|
'filter[name][lte]'?: string;
|
|
267
267
|
'filter[name][ne]'?: string;
|
|
268
268
|
'filter[name][like]'?: string;
|
|
269
|
+
'filter[fullName]'?: string;
|
|
270
|
+
'filter[fullName][eq]'?: string;
|
|
271
|
+
'filter[fullName][gte]'?: string;
|
|
272
|
+
'filter[fullName][gt]'?: string;
|
|
273
|
+
'filter[fullName][lt]'?: string;
|
|
274
|
+
'filter[fullName][lte]'?: string;
|
|
275
|
+
'filter[fullName][ne]'?: string;
|
|
276
|
+
'filter[fullName][like]'?: string;
|
|
269
277
|
'filter[describes]'?: string;
|
|
270
278
|
'filter[describes][eq]'?: string;
|
|
271
279
|
'filter[describes][gte]'?: string;
|
|
@@ -931,7 +939,7 @@ interface paths {
|
|
|
931
939
|
get: {
|
|
932
940
|
parameters: {
|
|
933
941
|
query?: {
|
|
934
|
-
sort?: '
|
|
942
|
+
sort?: ('version' | '-version') | ('version' | '-version')[];
|
|
935
943
|
'page[size]'?: number;
|
|
936
944
|
'page[after]'?: string;
|
|
937
945
|
'page[before]'?: string;
|
|
@@ -1403,7 +1411,7 @@ interface paths {
|
|
|
1403
1411
|
get: {
|
|
1404
1412
|
parameters: {
|
|
1405
1413
|
query?: {
|
|
1406
|
-
sort?: 'username' | '-username' | 'createdAt' | '-createdAt';
|
|
1414
|
+
sort?: ('username' | '-username' | 'createdAt' | '-createdAt') | ('username' | '-username' | 'createdAt' | '-createdAt')[];
|
|
1407
1415
|
'page[size]'?: number;
|
|
1408
1416
|
'page[after]'?: string;
|
|
1409
1417
|
'page[before]'?: string;
|
|
@@ -2403,9 +2411,7 @@ interface paths {
|
|
|
2403
2411
|
};
|
|
2404
2412
|
requestBody?: {
|
|
2405
2413
|
content: {
|
|
2406
|
-
'application/json':
|
|
2407
|
-
name?: string;
|
|
2408
|
-
};
|
|
2414
|
+
'application/json': Record<string, never>;
|
|
2409
2415
|
};
|
|
2410
2416
|
};
|
|
2411
2417
|
responses: {
|
|
@@ -2646,7 +2652,7 @@ interface paths {
|
|
|
2646
2652
|
get: {
|
|
2647
2653
|
parameters: {
|
|
2648
2654
|
query?: {
|
|
2649
|
-
sort?: 'name' | '-name' | 'updatedAt' | '-updatedAt';
|
|
2655
|
+
sort?: ('name' | '-name' | 'updatedAt' | '-updatedAt') | ('name' | '-name' | 'updatedAt' | '-updatedAt')[];
|
|
2650
2656
|
'page[size]'?: number;
|
|
2651
2657
|
'page[after]'?: string;
|
|
2652
2658
|
'page[before]'?: string;
|
|
@@ -2937,7 +2943,7 @@ interface paths {
|
|
|
2937
2943
|
get: {
|
|
2938
2944
|
parameters: {
|
|
2939
2945
|
query?: {
|
|
2940
|
-
sort?: 'username' | '-username';
|
|
2946
|
+
sort?: ('username' | '-username') | ('username' | '-username')[];
|
|
2941
2947
|
'page[size]'?: number;
|
|
2942
2948
|
'page[after]'?: string;
|
|
2943
2949
|
'page[before]'?: string;
|
|
@@ -3332,370 +3338,6 @@ interface paths {
|
|
|
3332
3338
|
patch?: never;
|
|
3333
3339
|
trace?: never;
|
|
3334
3340
|
};
|
|
3335
|
-
'/experimental/package-versions': {
|
|
3336
|
-
parameters: {
|
|
3337
|
-
query?: never;
|
|
3338
|
-
header?: never;
|
|
3339
|
-
path?: never;
|
|
3340
|
-
cookie?: never;
|
|
3341
|
-
};
|
|
3342
|
-
get?: never;
|
|
3343
|
-
put?: never;
|
|
3344
|
-
post: {
|
|
3345
|
-
parameters: {
|
|
3346
|
-
query?: never;
|
|
3347
|
-
header?: never;
|
|
3348
|
-
path?: never;
|
|
3349
|
-
cookie?: never;
|
|
3350
|
-
};
|
|
3351
|
-
requestBody: {
|
|
3352
|
-
content: {
|
|
3353
|
-
'application/json': {
|
|
3354
|
-
purl: string;
|
|
3355
|
-
};
|
|
3356
|
-
};
|
|
3357
|
-
};
|
|
3358
|
-
responses: {
|
|
3359
|
-
/** @description Default Response */
|
|
3360
|
-
200: {
|
|
3361
|
-
headers: {
|
|
3362
|
-
[name: string]: unknown;
|
|
3363
|
-
};
|
|
3364
|
-
content?: never;
|
|
3365
|
-
};
|
|
3366
|
-
};
|
|
3367
|
-
};
|
|
3368
|
-
delete?: never;
|
|
3369
|
-
options?: never;
|
|
3370
|
-
head?: never;
|
|
3371
|
-
patch?: never;
|
|
3372
|
-
trace?: never;
|
|
3373
|
-
};
|
|
3374
|
-
'/experimental/package-versions/{purl}': {
|
|
3375
|
-
parameters: {
|
|
3376
|
-
query?: never;
|
|
3377
|
-
header?: never;
|
|
3378
|
-
path?: never;
|
|
3379
|
-
cookie?: never;
|
|
3380
|
-
};
|
|
3381
|
-
get: {
|
|
3382
|
-
parameters: {
|
|
3383
|
-
query?: never;
|
|
3384
|
-
header?: never;
|
|
3385
|
-
path: {
|
|
3386
|
-
purl: string;
|
|
3387
|
-
};
|
|
3388
|
-
cookie?: never;
|
|
3389
|
-
};
|
|
3390
|
-
requestBody?: never;
|
|
3391
|
-
responses: {
|
|
3392
|
-
/** @description Default Response */
|
|
3393
|
-
200: {
|
|
3394
|
-
headers: {
|
|
3395
|
-
[name: string]: unknown;
|
|
3396
|
-
};
|
|
3397
|
-
content: {
|
|
3398
|
-
'application/json': {
|
|
3399
|
-
jsonapi: {
|
|
3400
|
-
profile: string[];
|
|
3401
|
-
/** @enum {string} */
|
|
3402
|
-
version: '1.1';
|
|
3403
|
-
};
|
|
3404
|
-
data: {
|
|
3405
|
-
/** Format: uuid */
|
|
3406
|
-
id: string;
|
|
3407
|
-
/** @enum {string} */
|
|
3408
|
-
type: 'package';
|
|
3409
|
-
attributes: {
|
|
3410
|
-
purl: string;
|
|
3411
|
-
packageDisplayName: string;
|
|
3412
|
-
version: string;
|
|
3413
|
-
summaryText: string;
|
|
3414
|
-
lookupText: string;
|
|
3415
|
-
descriptionMarkdown: string;
|
|
3416
|
-
/** Format: date-time */
|
|
3417
|
-
createdAt: string;
|
|
3418
|
-
};
|
|
3419
|
-
relationships?: Record<string, never>;
|
|
3420
|
-
meta?: Record<string, never>;
|
|
3421
|
-
};
|
|
3422
|
-
included?: unknown;
|
|
3423
|
-
links: {
|
|
3424
|
-
/** Format: uri */
|
|
3425
|
-
self: string;
|
|
3426
|
-
/** Format: uri */
|
|
3427
|
-
related?: string;
|
|
3428
|
-
};
|
|
3429
|
-
meta?: Record<string, never>;
|
|
3430
|
-
};
|
|
3431
|
-
};
|
|
3432
|
-
};
|
|
3433
|
-
/** @description Unauthorized */
|
|
3434
|
-
401: {
|
|
3435
|
-
headers: {
|
|
3436
|
-
[name: string]: unknown;
|
|
3437
|
-
};
|
|
3438
|
-
content: {
|
|
3439
|
-
'application/json': {
|
|
3440
|
-
jsonapi: {
|
|
3441
|
-
profile: string[];
|
|
3442
|
-
/** @enum {string} */
|
|
3443
|
-
version: '1.1';
|
|
3444
|
-
};
|
|
3445
|
-
errors: {
|
|
3446
|
-
title: string;
|
|
3447
|
-
status: string;
|
|
3448
|
-
detail: string;
|
|
3449
|
-
}[];
|
|
3450
|
-
};
|
|
3451
|
-
};
|
|
3452
|
-
};
|
|
3453
|
-
/** @description Forbidden */
|
|
3454
|
-
403: {
|
|
3455
|
-
headers: {
|
|
3456
|
-
[name: string]: unknown;
|
|
3457
|
-
};
|
|
3458
|
-
content: {
|
|
3459
|
-
'application/json': {
|
|
3460
|
-
jsonapi: {
|
|
3461
|
-
profile: string[];
|
|
3462
|
-
/** @enum {string} */
|
|
3463
|
-
version: '1.1';
|
|
3464
|
-
};
|
|
3465
|
-
errors: {
|
|
3466
|
-
title: string;
|
|
3467
|
-
status: string;
|
|
3468
|
-
detail: string;
|
|
3469
|
-
}[];
|
|
3470
|
-
};
|
|
3471
|
-
};
|
|
3472
|
-
};
|
|
3473
|
-
/** @description Not Found */
|
|
3474
|
-
404: {
|
|
3475
|
-
headers: {
|
|
3476
|
-
[name: string]: unknown;
|
|
3477
|
-
};
|
|
3478
|
-
content: {
|
|
3479
|
-
'application/json': {
|
|
3480
|
-
jsonapi: {
|
|
3481
|
-
profile: string[];
|
|
3482
|
-
/** @enum {string} */
|
|
3483
|
-
version: '1.1';
|
|
3484
|
-
};
|
|
3485
|
-
errors: {
|
|
3486
|
-
title: string;
|
|
3487
|
-
status: string;
|
|
3488
|
-
detail: string;
|
|
3489
|
-
}[];
|
|
3490
|
-
};
|
|
3491
|
-
};
|
|
3492
|
-
};
|
|
3493
|
-
/** @description Internal Server Error */
|
|
3494
|
-
500: {
|
|
3495
|
-
headers: {
|
|
3496
|
-
[name: string]: unknown;
|
|
3497
|
-
};
|
|
3498
|
-
content: {
|
|
3499
|
-
'application/json': {
|
|
3500
|
-
jsonapi: {
|
|
3501
|
-
profile: string[];
|
|
3502
|
-
/** @enum {string} */
|
|
3503
|
-
version: '1.1';
|
|
3504
|
-
};
|
|
3505
|
-
errors: {
|
|
3506
|
-
title: string;
|
|
3507
|
-
status: string;
|
|
3508
|
-
detail: string;
|
|
3509
|
-
}[];
|
|
3510
|
-
};
|
|
3511
|
-
};
|
|
3512
|
-
};
|
|
3513
|
-
};
|
|
3514
|
-
};
|
|
3515
|
-
put?: never;
|
|
3516
|
-
post?: never;
|
|
3517
|
-
delete?: never;
|
|
3518
|
-
options?: never;
|
|
3519
|
-
head?: never;
|
|
3520
|
-
patch?: never;
|
|
3521
|
-
trace?: never;
|
|
3522
|
-
};
|
|
3523
|
-
'/experimental/packages': {
|
|
3524
|
-
parameters: {
|
|
3525
|
-
query?: never;
|
|
3526
|
-
header?: never;
|
|
3527
|
-
path?: never;
|
|
3528
|
-
cookie?: never;
|
|
3529
|
-
};
|
|
3530
|
-
get: {
|
|
3531
|
-
parameters: {
|
|
3532
|
-
query?: {
|
|
3533
|
-
sort?: 'displayName' | '-displayName' | 'updatedAt' | '-updatedAt';
|
|
3534
|
-
'page[size]'?: number;
|
|
3535
|
-
'page[after]'?: string;
|
|
3536
|
-
'page[before]'?: string;
|
|
3537
|
-
include?: string;
|
|
3538
|
-
'filter[displayName]'?: string;
|
|
3539
|
-
'filter[displayName][eq]'?: string;
|
|
3540
|
-
'filter[displayName][gte]'?: string;
|
|
3541
|
-
'filter[displayName][gt]'?: string;
|
|
3542
|
-
'filter[displayName][lt]'?: string;
|
|
3543
|
-
'filter[displayName][lte]'?: string;
|
|
3544
|
-
'filter[displayName][ne]'?: string;
|
|
3545
|
-
'filter[displayName][like]'?: string;
|
|
3546
|
-
'filter[packageType]'?: string;
|
|
3547
|
-
'filter[packageType][eq]'?: string;
|
|
3548
|
-
'filter[packageType][gte]'?: string;
|
|
3549
|
-
'filter[packageType][gt]'?: string;
|
|
3550
|
-
'filter[packageType][lt]'?: string;
|
|
3551
|
-
'filter[packageType][lte]'?: string;
|
|
3552
|
-
'filter[packageType][ne]'?: string;
|
|
3553
|
-
'filter[packageType][like]'?: string;
|
|
3554
|
-
'filter[description]'?: string;
|
|
3555
|
-
'filter[description][eq]'?: string;
|
|
3556
|
-
'filter[description][gte]'?: string;
|
|
3557
|
-
'filter[description][gt]'?: string;
|
|
3558
|
-
'filter[description][lt]'?: string;
|
|
3559
|
-
'filter[description][lte]'?: string;
|
|
3560
|
-
'filter[description][ne]'?: string;
|
|
3561
|
-
'filter[description][like]'?: string;
|
|
3562
|
-
};
|
|
3563
|
-
header?: never;
|
|
3564
|
-
path?: never;
|
|
3565
|
-
cookie?: never;
|
|
3566
|
-
};
|
|
3567
|
-
requestBody?: never;
|
|
3568
|
-
responses: {
|
|
3569
|
-
/** @description Default Response */
|
|
3570
|
-
200: {
|
|
3571
|
-
headers: {
|
|
3572
|
-
[name: string]: unknown;
|
|
3573
|
-
};
|
|
3574
|
-
content: {
|
|
3575
|
-
'application/json': {
|
|
3576
|
-
jsonapi: {
|
|
3577
|
-
profile: string[];
|
|
3578
|
-
/** @enum {string} */
|
|
3579
|
-
version: '1.1';
|
|
3580
|
-
};
|
|
3581
|
-
links: {
|
|
3582
|
-
/** Format: uri */
|
|
3583
|
-
self: string;
|
|
3584
|
-
next: string | null;
|
|
3585
|
-
prev: string | null;
|
|
3586
|
-
};
|
|
3587
|
-
meta: {
|
|
3588
|
-
count: number;
|
|
3589
|
-
};
|
|
3590
|
-
included?: unknown;
|
|
3591
|
-
relationships?: Record<string, never>;
|
|
3592
|
-
data: {
|
|
3593
|
-
/** Format: uuid */
|
|
3594
|
-
id: string;
|
|
3595
|
-
/** @enum {string} */
|
|
3596
|
-
type: 'package';
|
|
3597
|
-
attributes: {
|
|
3598
|
-
purl: string;
|
|
3599
|
-
packageType: string;
|
|
3600
|
-
displayName: string;
|
|
3601
|
-
summaryText: string;
|
|
3602
|
-
};
|
|
3603
|
-
relationships?: Record<string, never>;
|
|
3604
|
-
meta?: Record<string, never>;
|
|
3605
|
-
}[];
|
|
3606
|
-
};
|
|
3607
|
-
};
|
|
3608
|
-
};
|
|
3609
|
-
/** @description Unauthorized */
|
|
3610
|
-
401: {
|
|
3611
|
-
headers: {
|
|
3612
|
-
[name: string]: unknown;
|
|
3613
|
-
};
|
|
3614
|
-
content: {
|
|
3615
|
-
'application/json': {
|
|
3616
|
-
jsonapi: {
|
|
3617
|
-
profile: string[];
|
|
3618
|
-
/** @enum {string} */
|
|
3619
|
-
version: '1.1';
|
|
3620
|
-
};
|
|
3621
|
-
errors: {
|
|
3622
|
-
title: string;
|
|
3623
|
-
status: string;
|
|
3624
|
-
detail: string;
|
|
3625
|
-
}[];
|
|
3626
|
-
};
|
|
3627
|
-
};
|
|
3628
|
-
};
|
|
3629
|
-
/** @description Forbidden */
|
|
3630
|
-
403: {
|
|
3631
|
-
headers: {
|
|
3632
|
-
[name: string]: unknown;
|
|
3633
|
-
};
|
|
3634
|
-
content: {
|
|
3635
|
-
'application/json': {
|
|
3636
|
-
jsonapi: {
|
|
3637
|
-
profile: string[];
|
|
3638
|
-
/** @enum {string} */
|
|
3639
|
-
version: '1.1';
|
|
3640
|
-
};
|
|
3641
|
-
errors: {
|
|
3642
|
-
title: string;
|
|
3643
|
-
status: string;
|
|
3644
|
-
detail: string;
|
|
3645
|
-
}[];
|
|
3646
|
-
};
|
|
3647
|
-
};
|
|
3648
|
-
};
|
|
3649
|
-
/** @description Not Found */
|
|
3650
|
-
404: {
|
|
3651
|
-
headers: {
|
|
3652
|
-
[name: string]: unknown;
|
|
3653
|
-
};
|
|
3654
|
-
content: {
|
|
3655
|
-
'application/json': {
|
|
3656
|
-
jsonapi: {
|
|
3657
|
-
profile: string[];
|
|
3658
|
-
/** @enum {string} */
|
|
3659
|
-
version: '1.1';
|
|
3660
|
-
};
|
|
3661
|
-
errors: {
|
|
3662
|
-
title: string;
|
|
3663
|
-
status: string;
|
|
3664
|
-
detail: string;
|
|
3665
|
-
}[];
|
|
3666
|
-
};
|
|
3667
|
-
};
|
|
3668
|
-
};
|
|
3669
|
-
/** @description Internal Server Error */
|
|
3670
|
-
500: {
|
|
3671
|
-
headers: {
|
|
3672
|
-
[name: string]: unknown;
|
|
3673
|
-
};
|
|
3674
|
-
content: {
|
|
3675
|
-
'application/json': {
|
|
3676
|
-
jsonapi: {
|
|
3677
|
-
profile: string[];
|
|
3678
|
-
/** @enum {string} */
|
|
3679
|
-
version: '1.1';
|
|
3680
|
-
};
|
|
3681
|
-
errors: {
|
|
3682
|
-
title: string;
|
|
3683
|
-
status: string;
|
|
3684
|
-
detail: string;
|
|
3685
|
-
}[];
|
|
3686
|
-
};
|
|
3687
|
-
};
|
|
3688
|
-
};
|
|
3689
|
-
};
|
|
3690
|
-
};
|
|
3691
|
-
put?: never;
|
|
3692
|
-
post?: never;
|
|
3693
|
-
delete?: never;
|
|
3694
|
-
options?: never;
|
|
3695
|
-
head?: never;
|
|
3696
|
-
patch?: never;
|
|
3697
|
-
trace?: never;
|
|
3698
|
-
};
|
|
3699
3341
|
'/experimental/cli-env': {
|
|
3700
3342
|
parameters: {
|
|
3701
3343
|
query?: never;
|
|
@@ -4063,7 +3705,7 @@ interface Reporter {
|
|
|
4063
3705
|
declare function htmlDomToMarkdown(dom: HTMLElement): string;
|
|
4064
3706
|
|
|
4065
3707
|
type SpecDom = HTMLElement;
|
|
4066
|
-
type TestKind = 'locked' | '
|
|
3708
|
+
type TestKind = 'locked' | 'draft';
|
|
4067
3709
|
interface SpecTestDefinition {
|
|
4068
3710
|
path: string;
|
|
4069
3711
|
sourceLines?: string;
|
|
@@ -4407,6 +4049,7 @@ type RelativePath$1 = string;
|
|
|
4407
4049
|
type Fsd = EnhancedFileApi;
|
|
4408
4050
|
interface PrimitiveFileApi {
|
|
4409
4051
|
exists: (path: RelativePath$1) => Promise<boolean>;
|
|
4052
|
+
isDir: (path: RelativePath$1) => Promise<boolean>;
|
|
4410
4053
|
readText: (path: RelativePath$1) => Promise<string | undefined>;
|
|
4411
4054
|
writeText: (path: RelativePath$1, content: string) => Promise<void>;
|
|
4412
4055
|
glob: (pattern: string, options?: Record<string, unknown>) => Promise<string[]>;
|
|
@@ -4499,11 +4142,6 @@ interface RunToolArgs {
|
|
|
4499
4142
|
declare const runToolOrCrash: (...args: Parameters<typeof runTool>) => Promise<void>;
|
|
4500
4143
|
declare function runTool<T extends AnyZodObject>(toolToRun: ToolToRun<T>, args: RunToolArgs): Promise<ExitCode>;
|
|
4501
4144
|
|
|
4502
|
-
type WaitForInputFn = (inputDetails: {
|
|
4503
|
-
question: string;
|
|
4504
|
-
filePaths?: string[];
|
|
4505
|
-
showContinueOptions: boolean;
|
|
4506
|
-
}) => Promise<string | undefined>;
|
|
4507
4145
|
interface RequestContext {
|
|
4508
4146
|
uuid: string;
|
|
4509
4147
|
parent?: string;
|
|
@@ -4522,7 +4160,7 @@ interface RequestContext {
|
|
|
4522
4160
|
projectConfig: Readonly<ProjectConfig>;
|
|
4523
4161
|
projectDir: string;
|
|
4524
4162
|
reporter: Reporter;
|
|
4525
|
-
|
|
4163
|
+
reqLevelParams: ReqDefaults;
|
|
4526
4164
|
shutdown: () => Promise<void>;
|
|
4527
4165
|
}
|
|
4528
4166
|
interface HiEvent {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tessl/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "Command line interface and MCP server for using Tessl",
|
|
5
5
|
"types": "dist/cli.d.ts",
|
|
6
6
|
"bin": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "https://github.com/tesslio/cli/issues"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"pino": "9.
|
|
26
|
+
"pino": "9.13.1",
|
|
27
27
|
"pino-pretty": "13.0.0",
|
|
28
28
|
"pino-opentelemetry-transport": "1.0.1",
|
|
29
29
|
"@opentelemetry/otlp-transformer": "0.204.0",
|
|
@@ -33,5 +33,8 @@
|
|
|
33
33
|
"protobufjs": "7.5.3",
|
|
34
34
|
"tsx": "4.20.3",
|
|
35
35
|
"open": "10.1.2"
|
|
36
|
+
},
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=22.0.0"
|
|
36
39
|
}
|
|
37
40
|
}
|