@eightstate/escli 0.7.1 → 0.8.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/commands/mcp/index.js +23 -0
- package/dist/commands/mcp/register.js +91 -0
- package/dist/commands/mcp/revoke.js +40 -0
- package/dist/commands/mcp/serve.js +75 -0
- package/dist/commands/mcp/status.js +67 -0
- package/dist/commands/notion/comments/add.js +7 -3
- package/dist/commands/notion/comments/reply.js +7 -3
- package/dist/commands/notion/db/create.js +26 -5
- package/dist/commands/notion/ds/create.js +3 -3
- package/dist/commands/notion/page/replace-content.js +1 -4
- package/dist/commands/notion/page/replace-text.js +1 -4
- package/dist/commands/notion/upload/index.js +20 -3
- package/dist/commands/notion/view/create.js +3 -1
- package/dist/lib/manifest.js +1 -1
- package/dist/lib/notion/comments/shared.js +127 -3
- package/dist/lib/notion/page/content-common.js +1 -1
- package/dist/lib/registry.js +36 -0
- package/dist/services/mcp/audit.js +18 -0
- package/dist/services/mcp/cloudflare.js +91 -0
- package/dist/services/mcp/cloudflared.js +59 -0
- package/dist/services/mcp/common.js +65 -0
- package/dist/services/mcp/config.js +131 -0
- package/dist/services/mcp/gate-client.js +86 -0
- package/dist/services/mcp/protocol.js +68 -0
- package/dist/services/mcp/server.js +131 -0
- package/dist/services/mcp/tools.js +228 -0
- package/dist/services/notion.js +55 -3
- package/oclif.manifest.json +607 -1
- package/package.json +2 -2
package/oclif.manifest.json
CHANGED
|
@@ -3385,6 +3385,598 @@
|
|
|
3385
3385
|
"index.js"
|
|
3386
3386
|
]
|
|
3387
3387
|
},
|
|
3388
|
+
"mcp": {
|
|
3389
|
+
"aliases": [],
|
|
3390
|
+
"args": {},
|
|
3391
|
+
"description": "Register, serve, inspect, and revoke a local MCP machine exposed through a Cloudflare tunnel.",
|
|
3392
|
+
"examples": [
|
|
3393
|
+
"<%= config.bin %> mcp register --root . --label \"work repo\"",
|
|
3394
|
+
"<%= config.bin %> mcp serve --root .",
|
|
3395
|
+
"<%= config.bin %> mcp status",
|
|
3396
|
+
"<%= config.bin %> mcp revoke --slug my-repo"
|
|
3397
|
+
],
|
|
3398
|
+
"flags": {
|
|
3399
|
+
"json": {
|
|
3400
|
+
"description": "Format output as json.",
|
|
3401
|
+
"helpGroup": "GLOBAL",
|
|
3402
|
+
"name": "json",
|
|
3403
|
+
"allowNo": false,
|
|
3404
|
+
"type": "boolean"
|
|
3405
|
+
},
|
|
3406
|
+
"quiet": {
|
|
3407
|
+
"description": "Suppress diagnostic output.",
|
|
3408
|
+
"name": "quiet",
|
|
3409
|
+
"allowNo": false,
|
|
3410
|
+
"type": "boolean"
|
|
3411
|
+
},
|
|
3412
|
+
"api-key": {
|
|
3413
|
+
"description": "API key override.",
|
|
3414
|
+
"helpGroup": "GLOBAL",
|
|
3415
|
+
"name": "api-key",
|
|
3416
|
+
"hasDynamicHelp": false,
|
|
3417
|
+
"multiple": false,
|
|
3418
|
+
"type": "option"
|
|
3419
|
+
},
|
|
3420
|
+
"base-url": {
|
|
3421
|
+
"description": "Base URL override.",
|
|
3422
|
+
"helpGroup": "GLOBAL",
|
|
3423
|
+
"name": "base-url",
|
|
3424
|
+
"hasDynamicHelp": false,
|
|
3425
|
+
"multiple": false,
|
|
3426
|
+
"type": "option"
|
|
3427
|
+
},
|
|
3428
|
+
"timeout": {
|
|
3429
|
+
"description": "Request timeout in seconds.",
|
|
3430
|
+
"helpGroup": "GLOBAL",
|
|
3431
|
+
"name": "timeout",
|
|
3432
|
+
"default": 300,
|
|
3433
|
+
"hasDynamicHelp": false,
|
|
3434
|
+
"multiple": false,
|
|
3435
|
+
"type": "option"
|
|
3436
|
+
},
|
|
3437
|
+
"describe": {
|
|
3438
|
+
"description": "Emit compact machine-readable command description.",
|
|
3439
|
+
"helpGroup": "GLOBAL",
|
|
3440
|
+
"name": "describe",
|
|
3441
|
+
"allowNo": false,
|
|
3442
|
+
"type": "boolean"
|
|
3443
|
+
},
|
|
3444
|
+
"schema": {
|
|
3445
|
+
"description": "Emit full machine-readable command schema.",
|
|
3446
|
+
"helpGroup": "GLOBAL",
|
|
3447
|
+
"name": "schema",
|
|
3448
|
+
"allowNo": false,
|
|
3449
|
+
"type": "boolean"
|
|
3450
|
+
},
|
|
3451
|
+
"version": {
|
|
3452
|
+
"char": "v",
|
|
3453
|
+
"description": "Emit version envelope.",
|
|
3454
|
+
"helpGroup": "GLOBAL",
|
|
3455
|
+
"name": "version",
|
|
3456
|
+
"allowNo": false,
|
|
3457
|
+
"type": "boolean"
|
|
3458
|
+
}
|
|
3459
|
+
},
|
|
3460
|
+
"hasDynamicHelp": false,
|
|
3461
|
+
"hiddenAliases": [],
|
|
3462
|
+
"id": "mcp",
|
|
3463
|
+
"pluginAlias": "@eightstate/escli",
|
|
3464
|
+
"pluginName": "@eightstate/escli",
|
|
3465
|
+
"pluginType": "core",
|
|
3466
|
+
"strict": true,
|
|
3467
|
+
"summary": "Expose a local directory to ChatGPT via a remote MCP server",
|
|
3468
|
+
"enableJsonFlag": true,
|
|
3469
|
+
"emitsJsonEnvelope": false,
|
|
3470
|
+
"errors": [
|
|
3471
|
+
"usage.invalid"
|
|
3472
|
+
],
|
|
3473
|
+
"isESM": true,
|
|
3474
|
+
"relativePath": [
|
|
3475
|
+
"dist",
|
|
3476
|
+
"commands",
|
|
3477
|
+
"mcp",
|
|
3478
|
+
"index.js"
|
|
3479
|
+
]
|
|
3480
|
+
},
|
|
3481
|
+
"mcp:register": {
|
|
3482
|
+
"aliases": [],
|
|
3483
|
+
"args": {},
|
|
3484
|
+
"examples": [
|
|
3485
|
+
"<%= config.bin %> mcp register --root . --label \"repo\"",
|
|
3486
|
+
"<%= config.bin %> mcp register --root . --slug my-repo"
|
|
3487
|
+
],
|
|
3488
|
+
"flags": {
|
|
3489
|
+
"json": {
|
|
3490
|
+
"description": "Format output as json.",
|
|
3491
|
+
"helpGroup": "GLOBAL",
|
|
3492
|
+
"name": "json",
|
|
3493
|
+
"allowNo": false,
|
|
3494
|
+
"type": "boolean"
|
|
3495
|
+
},
|
|
3496
|
+
"quiet": {
|
|
3497
|
+
"description": "Suppress diagnostic output.",
|
|
3498
|
+
"name": "quiet",
|
|
3499
|
+
"allowNo": false,
|
|
3500
|
+
"type": "boolean"
|
|
3501
|
+
},
|
|
3502
|
+
"api-key": {
|
|
3503
|
+
"description": "API key override.",
|
|
3504
|
+
"helpGroup": "GLOBAL",
|
|
3505
|
+
"name": "api-key",
|
|
3506
|
+
"hasDynamicHelp": false,
|
|
3507
|
+
"multiple": false,
|
|
3508
|
+
"type": "option"
|
|
3509
|
+
},
|
|
3510
|
+
"base-url": {
|
|
3511
|
+
"description": "Base URL override.",
|
|
3512
|
+
"helpGroup": "GLOBAL",
|
|
3513
|
+
"name": "base-url",
|
|
3514
|
+
"hasDynamicHelp": false,
|
|
3515
|
+
"multiple": false,
|
|
3516
|
+
"type": "option"
|
|
3517
|
+
},
|
|
3518
|
+
"timeout": {
|
|
3519
|
+
"description": "Request timeout in seconds.",
|
|
3520
|
+
"helpGroup": "GLOBAL",
|
|
3521
|
+
"name": "timeout",
|
|
3522
|
+
"default": 300,
|
|
3523
|
+
"hasDynamicHelp": false,
|
|
3524
|
+
"multiple": false,
|
|
3525
|
+
"type": "option"
|
|
3526
|
+
},
|
|
3527
|
+
"describe": {
|
|
3528
|
+
"description": "Emit compact machine-readable command description.",
|
|
3529
|
+
"helpGroup": "GLOBAL",
|
|
3530
|
+
"name": "describe",
|
|
3531
|
+
"allowNo": false,
|
|
3532
|
+
"type": "boolean"
|
|
3533
|
+
},
|
|
3534
|
+
"schema": {
|
|
3535
|
+
"description": "Emit full machine-readable command schema.",
|
|
3536
|
+
"helpGroup": "GLOBAL",
|
|
3537
|
+
"name": "schema",
|
|
3538
|
+
"allowNo": false,
|
|
3539
|
+
"type": "boolean"
|
|
3540
|
+
},
|
|
3541
|
+
"version": {
|
|
3542
|
+
"char": "v",
|
|
3543
|
+
"description": "Emit version envelope.",
|
|
3544
|
+
"helpGroup": "GLOBAL",
|
|
3545
|
+
"name": "version",
|
|
3546
|
+
"allowNo": false,
|
|
3547
|
+
"type": "boolean"
|
|
3548
|
+
},
|
|
3549
|
+
"root": {
|
|
3550
|
+
"description": "Root directory to expose.",
|
|
3551
|
+
"name": "root",
|
|
3552
|
+
"required": true,
|
|
3553
|
+
"hasDynamicHelp": false,
|
|
3554
|
+
"multiple": false,
|
|
3555
|
+
"type": "option"
|
|
3556
|
+
},
|
|
3557
|
+
"slug": {
|
|
3558
|
+
"description": "Machine slug. Defaults from --label, root basename, or hostname.",
|
|
3559
|
+
"name": "slug",
|
|
3560
|
+
"hasDynamicHelp": false,
|
|
3561
|
+
"multiple": false,
|
|
3562
|
+
"type": "option"
|
|
3563
|
+
},
|
|
3564
|
+
"port": {
|
|
3565
|
+
"description": "Local MCP origin port.",
|
|
3566
|
+
"name": "port",
|
|
3567
|
+
"default": 9315,
|
|
3568
|
+
"hasDynamicHelp": false,
|
|
3569
|
+
"multiple": false,
|
|
3570
|
+
"type": "option"
|
|
3571
|
+
},
|
|
3572
|
+
"label": {
|
|
3573
|
+
"description": "Human label for this machine.",
|
|
3574
|
+
"name": "label",
|
|
3575
|
+
"hasDynamicHelp": false,
|
|
3576
|
+
"multiple": false,
|
|
3577
|
+
"type": "option"
|
|
3578
|
+
},
|
|
3579
|
+
"cf-account-id": {
|
|
3580
|
+
"description": "Cloudflare account ID. Defaults to CLOUDFLARE_ACCOUNT_ID.",
|
|
3581
|
+
"name": "cf-account-id",
|
|
3582
|
+
"hasDynamicHelp": false,
|
|
3583
|
+
"multiple": false,
|
|
3584
|
+
"type": "option"
|
|
3585
|
+
},
|
|
3586
|
+
"cf-zone-id": {
|
|
3587
|
+
"description": "Cloudflare zone ID. Defaults to CLOUDFLARE_ZONE_ID.",
|
|
3588
|
+
"name": "cf-zone-id",
|
|
3589
|
+
"hasDynamicHelp": false,
|
|
3590
|
+
"multiple": false,
|
|
3591
|
+
"type": "option"
|
|
3592
|
+
},
|
|
3593
|
+
"cf-api-token": {
|
|
3594
|
+
"description": "Cloudflare API token. Defaults to CLOUDFLARE_API_TOKEN; never persisted.",
|
|
3595
|
+
"name": "cf-api-token",
|
|
3596
|
+
"hasDynamicHelp": false,
|
|
3597
|
+
"multiple": false,
|
|
3598
|
+
"type": "option"
|
|
3599
|
+
}
|
|
3600
|
+
},
|
|
3601
|
+
"hasDynamicHelp": false,
|
|
3602
|
+
"hiddenAliases": [],
|
|
3603
|
+
"id": "mcp:register",
|
|
3604
|
+
"pluginAlias": "@eightstate/escli",
|
|
3605
|
+
"pluginName": "@eightstate/escli",
|
|
3606
|
+
"pluginType": "core",
|
|
3607
|
+
"strict": true,
|
|
3608
|
+
"summary": "Register a local directory as an MCP machine",
|
|
3609
|
+
"enableJsonFlag": true,
|
|
3610
|
+
"emitsJsonEnvelope": false,
|
|
3611
|
+
"errors": [
|
|
3612
|
+
"auth.required",
|
|
3613
|
+
"usage.invalid",
|
|
3614
|
+
"config.invalid",
|
|
3615
|
+
"api.error",
|
|
3616
|
+
"gate.unavailable",
|
|
3617
|
+
"gate.invalid_response",
|
|
3618
|
+
"network.error"
|
|
3619
|
+
],
|
|
3620
|
+
"isESM": true,
|
|
3621
|
+
"relativePath": [
|
|
3622
|
+
"dist",
|
|
3623
|
+
"commands",
|
|
3624
|
+
"mcp",
|
|
3625
|
+
"register.js"
|
|
3626
|
+
]
|
|
3627
|
+
},
|
|
3628
|
+
"mcp:revoke": {
|
|
3629
|
+
"aliases": [],
|
|
3630
|
+
"args": {},
|
|
3631
|
+
"examples": [
|
|
3632
|
+
"<%= config.bin %> mcp revoke --slug my-repo",
|
|
3633
|
+
"<%= config.bin %> mcp revoke --slug my-repo --cloudflare --yes"
|
|
3634
|
+
],
|
|
3635
|
+
"flags": {
|
|
3636
|
+
"json": {
|
|
3637
|
+
"description": "Format output as json.",
|
|
3638
|
+
"helpGroup": "GLOBAL",
|
|
3639
|
+
"name": "json",
|
|
3640
|
+
"allowNo": false,
|
|
3641
|
+
"type": "boolean"
|
|
3642
|
+
},
|
|
3643
|
+
"quiet": {
|
|
3644
|
+
"description": "Suppress diagnostic output.",
|
|
3645
|
+
"name": "quiet",
|
|
3646
|
+
"allowNo": false,
|
|
3647
|
+
"type": "boolean"
|
|
3648
|
+
},
|
|
3649
|
+
"api-key": {
|
|
3650
|
+
"description": "API key override.",
|
|
3651
|
+
"helpGroup": "GLOBAL",
|
|
3652
|
+
"name": "api-key",
|
|
3653
|
+
"hasDynamicHelp": false,
|
|
3654
|
+
"multiple": false,
|
|
3655
|
+
"type": "option"
|
|
3656
|
+
},
|
|
3657
|
+
"base-url": {
|
|
3658
|
+
"description": "Base URL override.",
|
|
3659
|
+
"helpGroup": "GLOBAL",
|
|
3660
|
+
"name": "base-url",
|
|
3661
|
+
"hasDynamicHelp": false,
|
|
3662
|
+
"multiple": false,
|
|
3663
|
+
"type": "option"
|
|
3664
|
+
},
|
|
3665
|
+
"timeout": {
|
|
3666
|
+
"description": "Request timeout in seconds.",
|
|
3667
|
+
"helpGroup": "GLOBAL",
|
|
3668
|
+
"name": "timeout",
|
|
3669
|
+
"default": 300,
|
|
3670
|
+
"hasDynamicHelp": false,
|
|
3671
|
+
"multiple": false,
|
|
3672
|
+
"type": "option"
|
|
3673
|
+
},
|
|
3674
|
+
"describe": {
|
|
3675
|
+
"description": "Emit compact machine-readable command description.",
|
|
3676
|
+
"helpGroup": "GLOBAL",
|
|
3677
|
+
"name": "describe",
|
|
3678
|
+
"allowNo": false,
|
|
3679
|
+
"type": "boolean"
|
|
3680
|
+
},
|
|
3681
|
+
"schema": {
|
|
3682
|
+
"description": "Emit full machine-readable command schema.",
|
|
3683
|
+
"helpGroup": "GLOBAL",
|
|
3684
|
+
"name": "schema",
|
|
3685
|
+
"allowNo": false,
|
|
3686
|
+
"type": "boolean"
|
|
3687
|
+
},
|
|
3688
|
+
"version": {
|
|
3689
|
+
"char": "v",
|
|
3690
|
+
"description": "Emit version envelope.",
|
|
3691
|
+
"helpGroup": "GLOBAL",
|
|
3692
|
+
"name": "version",
|
|
3693
|
+
"allowNo": false,
|
|
3694
|
+
"type": "boolean"
|
|
3695
|
+
},
|
|
3696
|
+
"slug": {
|
|
3697
|
+
"description": "Machine slug. Optional only when one config exists.",
|
|
3698
|
+
"name": "slug",
|
|
3699
|
+
"hasDynamicHelp": false,
|
|
3700
|
+
"multiple": false,
|
|
3701
|
+
"type": "option"
|
|
3702
|
+
},
|
|
3703
|
+
"cloudflare": {
|
|
3704
|
+
"description": "Also delete Cloudflare DNS record and tunnel.",
|
|
3705
|
+
"name": "cloudflare",
|
|
3706
|
+
"allowNo": false,
|
|
3707
|
+
"type": "boolean"
|
|
3708
|
+
},
|
|
3709
|
+
"yes": {
|
|
3710
|
+
"char": "y",
|
|
3711
|
+
"description": "Skip confirmation for --cloudflare.",
|
|
3712
|
+
"name": "yes",
|
|
3713
|
+
"allowNo": false,
|
|
3714
|
+
"type": "boolean"
|
|
3715
|
+
},
|
|
3716
|
+
"cf-account-id": {
|
|
3717
|
+
"description": "Cloudflare account ID. Defaults to CLOUDFLARE_ACCOUNT_ID.",
|
|
3718
|
+
"name": "cf-account-id",
|
|
3719
|
+
"hasDynamicHelp": false,
|
|
3720
|
+
"multiple": false,
|
|
3721
|
+
"type": "option"
|
|
3722
|
+
},
|
|
3723
|
+
"cf-zone-id": {
|
|
3724
|
+
"description": "Cloudflare zone ID. Defaults to CLOUDFLARE_ZONE_ID.",
|
|
3725
|
+
"name": "cf-zone-id",
|
|
3726
|
+
"hasDynamicHelp": false,
|
|
3727
|
+
"multiple": false,
|
|
3728
|
+
"type": "option"
|
|
3729
|
+
},
|
|
3730
|
+
"cf-api-token": {
|
|
3731
|
+
"description": "Cloudflare API token. Defaults to CLOUDFLARE_API_TOKEN; never persisted.",
|
|
3732
|
+
"name": "cf-api-token",
|
|
3733
|
+
"hasDynamicHelp": false,
|
|
3734
|
+
"multiple": false,
|
|
3735
|
+
"type": "option"
|
|
3736
|
+
}
|
|
3737
|
+
},
|
|
3738
|
+
"hasDynamicHelp": false,
|
|
3739
|
+
"hiddenAliases": [],
|
|
3740
|
+
"id": "mcp:revoke",
|
|
3741
|
+
"pluginAlias": "@eightstate/escli",
|
|
3742
|
+
"pluginName": "@eightstate/escli",
|
|
3743
|
+
"pluginType": "core",
|
|
3744
|
+
"strict": true,
|
|
3745
|
+
"summary": "Revoke an MCP machine and optionally delete Cloudflare resources",
|
|
3746
|
+
"enableJsonFlag": true,
|
|
3747
|
+
"emitsJsonEnvelope": false,
|
|
3748
|
+
"errors": [
|
|
3749
|
+
"config.invalid",
|
|
3750
|
+
"auth.required",
|
|
3751
|
+
"gate.unavailable",
|
|
3752
|
+
"api.error"
|
|
3753
|
+
],
|
|
3754
|
+
"isESM": true,
|
|
3755
|
+
"relativePath": [
|
|
3756
|
+
"dist",
|
|
3757
|
+
"commands",
|
|
3758
|
+
"mcp",
|
|
3759
|
+
"revoke.js"
|
|
3760
|
+
]
|
|
3761
|
+
},
|
|
3762
|
+
"mcp:serve": {
|
|
3763
|
+
"aliases": [],
|
|
3764
|
+
"args": {},
|
|
3765
|
+
"examples": [
|
|
3766
|
+
"<%= config.bin %> mcp serve --root .",
|
|
3767
|
+
"<%= config.bin %> mcp serve --root . --slug my-repo --verbose"
|
|
3768
|
+
],
|
|
3769
|
+
"flags": {
|
|
3770
|
+
"json": {
|
|
3771
|
+
"description": "Format output as json.",
|
|
3772
|
+
"helpGroup": "GLOBAL",
|
|
3773
|
+
"name": "json",
|
|
3774
|
+
"allowNo": false,
|
|
3775
|
+
"type": "boolean"
|
|
3776
|
+
},
|
|
3777
|
+
"quiet": {
|
|
3778
|
+
"description": "Suppress diagnostic output.",
|
|
3779
|
+
"name": "quiet",
|
|
3780
|
+
"allowNo": false,
|
|
3781
|
+
"type": "boolean"
|
|
3782
|
+
},
|
|
3783
|
+
"api-key": {
|
|
3784
|
+
"description": "API key override.",
|
|
3785
|
+
"helpGroup": "GLOBAL",
|
|
3786
|
+
"name": "api-key",
|
|
3787
|
+
"hasDynamicHelp": false,
|
|
3788
|
+
"multiple": false,
|
|
3789
|
+
"type": "option"
|
|
3790
|
+
},
|
|
3791
|
+
"base-url": {
|
|
3792
|
+
"description": "Base URL override.",
|
|
3793
|
+
"helpGroup": "GLOBAL",
|
|
3794
|
+
"name": "base-url",
|
|
3795
|
+
"hasDynamicHelp": false,
|
|
3796
|
+
"multiple": false,
|
|
3797
|
+
"type": "option"
|
|
3798
|
+
},
|
|
3799
|
+
"timeout": {
|
|
3800
|
+
"description": "Request timeout in seconds.",
|
|
3801
|
+
"helpGroup": "GLOBAL",
|
|
3802
|
+
"name": "timeout",
|
|
3803
|
+
"default": 300,
|
|
3804
|
+
"hasDynamicHelp": false,
|
|
3805
|
+
"multiple": false,
|
|
3806
|
+
"type": "option"
|
|
3807
|
+
},
|
|
3808
|
+
"describe": {
|
|
3809
|
+
"description": "Emit compact machine-readable command description.",
|
|
3810
|
+
"helpGroup": "GLOBAL",
|
|
3811
|
+
"name": "describe",
|
|
3812
|
+
"allowNo": false,
|
|
3813
|
+
"type": "boolean"
|
|
3814
|
+
},
|
|
3815
|
+
"schema": {
|
|
3816
|
+
"description": "Emit full machine-readable command schema.",
|
|
3817
|
+
"helpGroup": "GLOBAL",
|
|
3818
|
+
"name": "schema",
|
|
3819
|
+
"allowNo": false,
|
|
3820
|
+
"type": "boolean"
|
|
3821
|
+
},
|
|
3822
|
+
"version": {
|
|
3823
|
+
"char": "v",
|
|
3824
|
+
"description": "Emit version envelope.",
|
|
3825
|
+
"helpGroup": "GLOBAL",
|
|
3826
|
+
"name": "version",
|
|
3827
|
+
"allowNo": false,
|
|
3828
|
+
"type": "boolean"
|
|
3829
|
+
},
|
|
3830
|
+
"root": {
|
|
3831
|
+
"description": "Root directory to expose.",
|
|
3832
|
+
"name": "root",
|
|
3833
|
+
"required": true,
|
|
3834
|
+
"hasDynamicHelp": false,
|
|
3835
|
+
"multiple": false,
|
|
3836
|
+
"type": "option"
|
|
3837
|
+
},
|
|
3838
|
+
"slug": {
|
|
3839
|
+
"description": "Machine slug. Optional only when one config exists.",
|
|
3840
|
+
"name": "slug",
|
|
3841
|
+
"hasDynamicHelp": false,
|
|
3842
|
+
"multiple": false,
|
|
3843
|
+
"type": "option"
|
|
3844
|
+
},
|
|
3845
|
+
"port": {
|
|
3846
|
+
"description": "Override local MCP origin port.",
|
|
3847
|
+
"name": "port",
|
|
3848
|
+
"hasDynamicHelp": false,
|
|
3849
|
+
"multiple": false,
|
|
3850
|
+
"type": "option"
|
|
3851
|
+
},
|
|
3852
|
+
"verbose": {
|
|
3853
|
+
"description": "Print redacted per-call and cloudflared logs.",
|
|
3854
|
+
"name": "verbose",
|
|
3855
|
+
"allowNo": false,
|
|
3856
|
+
"type": "boolean"
|
|
3857
|
+
}
|
|
3858
|
+
},
|
|
3859
|
+
"hasDynamicHelp": false,
|
|
3860
|
+
"hiddenAliases": [],
|
|
3861
|
+
"id": "mcp:serve",
|
|
3862
|
+
"pluginAlias": "@eightstate/escli",
|
|
3863
|
+
"pluginName": "@eightstate/escli",
|
|
3864
|
+
"pluginType": "core",
|
|
3865
|
+
"strict": true,
|
|
3866
|
+
"summary": "Serve the local MCP origin and Cloudflare tunnel",
|
|
3867
|
+
"enableJsonFlag": true,
|
|
3868
|
+
"emitsJsonEnvelope": false,
|
|
3869
|
+
"errors": [
|
|
3870
|
+
"usage.invalid",
|
|
3871
|
+
"config.invalid",
|
|
3872
|
+
"file.not_found",
|
|
3873
|
+
"internal"
|
|
3874
|
+
],
|
|
3875
|
+
"isESM": true,
|
|
3876
|
+
"relativePath": [
|
|
3877
|
+
"dist",
|
|
3878
|
+
"commands",
|
|
3879
|
+
"mcp",
|
|
3880
|
+
"serve.js"
|
|
3881
|
+
]
|
|
3882
|
+
},
|
|
3883
|
+
"mcp:status": {
|
|
3884
|
+
"aliases": [],
|
|
3885
|
+
"args": {},
|
|
3886
|
+
"examples": [
|
|
3887
|
+
"<%= config.bin %> mcp status",
|
|
3888
|
+
"<%= config.bin %> mcp status --slug my-repo"
|
|
3889
|
+
],
|
|
3890
|
+
"flags": {
|
|
3891
|
+
"json": {
|
|
3892
|
+
"description": "Format output as json.",
|
|
3893
|
+
"helpGroup": "GLOBAL",
|
|
3894
|
+
"name": "json",
|
|
3895
|
+
"allowNo": false,
|
|
3896
|
+
"type": "boolean"
|
|
3897
|
+
},
|
|
3898
|
+
"quiet": {
|
|
3899
|
+
"description": "Suppress diagnostic output.",
|
|
3900
|
+
"name": "quiet",
|
|
3901
|
+
"allowNo": false,
|
|
3902
|
+
"type": "boolean"
|
|
3903
|
+
},
|
|
3904
|
+
"api-key": {
|
|
3905
|
+
"description": "API key override.",
|
|
3906
|
+
"helpGroup": "GLOBAL",
|
|
3907
|
+
"name": "api-key",
|
|
3908
|
+
"hasDynamicHelp": false,
|
|
3909
|
+
"multiple": false,
|
|
3910
|
+
"type": "option"
|
|
3911
|
+
},
|
|
3912
|
+
"base-url": {
|
|
3913
|
+
"description": "Base URL override.",
|
|
3914
|
+
"helpGroup": "GLOBAL",
|
|
3915
|
+
"name": "base-url",
|
|
3916
|
+
"hasDynamicHelp": false,
|
|
3917
|
+
"multiple": false,
|
|
3918
|
+
"type": "option"
|
|
3919
|
+
},
|
|
3920
|
+
"timeout": {
|
|
3921
|
+
"description": "Request timeout in seconds.",
|
|
3922
|
+
"helpGroup": "GLOBAL",
|
|
3923
|
+
"name": "timeout",
|
|
3924
|
+
"default": 300,
|
|
3925
|
+
"hasDynamicHelp": false,
|
|
3926
|
+
"multiple": false,
|
|
3927
|
+
"type": "option"
|
|
3928
|
+
},
|
|
3929
|
+
"describe": {
|
|
3930
|
+
"description": "Emit compact machine-readable command description.",
|
|
3931
|
+
"helpGroup": "GLOBAL",
|
|
3932
|
+
"name": "describe",
|
|
3933
|
+
"allowNo": false,
|
|
3934
|
+
"type": "boolean"
|
|
3935
|
+
},
|
|
3936
|
+
"schema": {
|
|
3937
|
+
"description": "Emit full machine-readable command schema.",
|
|
3938
|
+
"helpGroup": "GLOBAL",
|
|
3939
|
+
"name": "schema",
|
|
3940
|
+
"allowNo": false,
|
|
3941
|
+
"type": "boolean"
|
|
3942
|
+
},
|
|
3943
|
+
"version": {
|
|
3944
|
+
"char": "v",
|
|
3945
|
+
"description": "Emit version envelope.",
|
|
3946
|
+
"helpGroup": "GLOBAL",
|
|
3947
|
+
"name": "version",
|
|
3948
|
+
"allowNo": false,
|
|
3949
|
+
"type": "boolean"
|
|
3950
|
+
},
|
|
3951
|
+
"slug": {
|
|
3952
|
+
"description": "Machine slug. Optional only when one config exists.",
|
|
3953
|
+
"name": "slug",
|
|
3954
|
+
"hasDynamicHelp": false,
|
|
3955
|
+
"multiple": false,
|
|
3956
|
+
"type": "option"
|
|
3957
|
+
}
|
|
3958
|
+
},
|
|
3959
|
+
"hasDynamicHelp": false,
|
|
3960
|
+
"hiddenAliases": [],
|
|
3961
|
+
"id": "mcp:status",
|
|
3962
|
+
"pluginAlias": "@eightstate/escli",
|
|
3963
|
+
"pluginName": "@eightstate/escli",
|
|
3964
|
+
"pluginType": "core",
|
|
3965
|
+
"strict": true,
|
|
3966
|
+
"summary": "Show MCP machine status",
|
|
3967
|
+
"enableJsonFlag": true,
|
|
3968
|
+
"emitsJsonEnvelope": false,
|
|
3969
|
+
"errors": [
|
|
3970
|
+
"config.invalid"
|
|
3971
|
+
],
|
|
3972
|
+
"isESM": true,
|
|
3973
|
+
"relativePath": [
|
|
3974
|
+
"dist",
|
|
3975
|
+
"commands",
|
|
3976
|
+
"mcp",
|
|
3977
|
+
"status.js"
|
|
3978
|
+
]
|
|
3979
|
+
},
|
|
3388
3980
|
"notion:enroll": {
|
|
3389
3981
|
"aliases": [],
|
|
3390
3982
|
"args": {},
|
|
@@ -4150,6 +4742,13 @@
|
|
|
4150
4742
|
"name": "raw",
|
|
4151
4743
|
"allowNo": false,
|
|
4152
4744
|
"type": "boolean"
|
|
4745
|
+
},
|
|
4746
|
+
"mention": {
|
|
4747
|
+
"description": "Resolve @name/email/user-id placeholders to real Notion user mentions. Repeat or comma-separate.",
|
|
4748
|
+
"name": "mention",
|
|
4749
|
+
"hasDynamicHelp": false,
|
|
4750
|
+
"multiple": true,
|
|
4751
|
+
"type": "option"
|
|
4153
4752
|
}
|
|
4154
4753
|
},
|
|
4155
4754
|
"hasDynamicHelp": false,
|
|
@@ -4518,6 +5117,13 @@
|
|
|
4518
5117
|
"name": "raw",
|
|
4519
5118
|
"allowNo": false,
|
|
4520
5119
|
"type": "boolean"
|
|
5120
|
+
},
|
|
5121
|
+
"mention": {
|
|
5122
|
+
"description": "Resolve @name/email/user-id placeholders to real Notion user mentions. Repeat or comma-separate.",
|
|
5123
|
+
"name": "mention",
|
|
5124
|
+
"hasDynamicHelp": false,
|
|
5125
|
+
"multiple": true,
|
|
5126
|
+
"type": "option"
|
|
4521
5127
|
}
|
|
4522
5128
|
},
|
|
4523
5129
|
"hasDynamicHelp": false,
|
|
@@ -7456,5 +8062,5 @@
|
|
|
7456
8062
|
]
|
|
7457
8063
|
}
|
|
7458
8064
|
},
|
|
7459
|
-
"version": "0.
|
|
8065
|
+
"version": "0.8.0"
|
|
7460
8066
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eightstate/escli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@oclif/core": "4.11.3",
|
|
25
25
|
"chalk": "5.6.2",
|
|
26
26
|
"zod": "4.4.3",
|
|
27
|
-
"@eightstate/contracts": "0.
|
|
27
|
+
"@eightstate/contracts": "0.8.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@eslint/js": "9.39.1",
|