@eightstate/escli 0.7.0 → 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/entry.js +4 -3
- package/dist/lib/manifest.js +3 -2
- 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 +795 -189
- 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,
|
|
@@ -4447,133 +5046,10 @@
|
|
|
4447
5046
|
"required": true
|
|
4448
5047
|
}
|
|
4449
5048
|
},
|
|
4450
|
-
"description": "Append a bot reply to an existing Notion discussion_id.",
|
|
4451
|
-
"examples": [
|
|
4452
|
-
"<%= config.bin %> notion comments reply disc_6a91 \"Confirmed — I updated the pricing table to match the deck.\"",
|
|
4453
|
-
"<%= config.bin %> notion comments reply disc_6a91 \"Confirmed — I updated the pricing table to match the deck.\" --raw"
|
|
4454
|
-
],
|
|
4455
|
-
"flags": {
|
|
4456
|
-
"json": {
|
|
4457
|
-
"description": "Format output as json.",
|
|
4458
|
-
"helpGroup": "GLOBAL",
|
|
4459
|
-
"name": "json",
|
|
4460
|
-
"allowNo": false,
|
|
4461
|
-
"type": "boolean"
|
|
4462
|
-
},
|
|
4463
|
-
"quiet": {
|
|
4464
|
-
"description": "Suppress diagnostic output.",
|
|
4465
|
-
"name": "quiet",
|
|
4466
|
-
"allowNo": false,
|
|
4467
|
-
"type": "boolean"
|
|
4468
|
-
},
|
|
4469
|
-
"api-key": {
|
|
4470
|
-
"description": "API key override.",
|
|
4471
|
-
"helpGroup": "GLOBAL",
|
|
4472
|
-
"name": "api-key",
|
|
4473
|
-
"hasDynamicHelp": false,
|
|
4474
|
-
"multiple": false,
|
|
4475
|
-
"type": "option"
|
|
4476
|
-
},
|
|
4477
|
-
"base-url": {
|
|
4478
|
-
"description": "Base URL override.",
|
|
4479
|
-
"helpGroup": "GLOBAL",
|
|
4480
|
-
"name": "base-url",
|
|
4481
|
-
"hasDynamicHelp": false,
|
|
4482
|
-
"multiple": false,
|
|
4483
|
-
"type": "option"
|
|
4484
|
-
},
|
|
4485
|
-
"timeout": {
|
|
4486
|
-
"description": "Request timeout in seconds.",
|
|
4487
|
-
"helpGroup": "GLOBAL",
|
|
4488
|
-
"name": "timeout",
|
|
4489
|
-
"default": 300,
|
|
4490
|
-
"hasDynamicHelp": false,
|
|
4491
|
-
"multiple": false,
|
|
4492
|
-
"type": "option"
|
|
4493
|
-
},
|
|
4494
|
-
"describe": {
|
|
4495
|
-
"description": "Emit compact machine-readable command description.",
|
|
4496
|
-
"helpGroup": "GLOBAL",
|
|
4497
|
-
"name": "describe",
|
|
4498
|
-
"allowNo": false,
|
|
4499
|
-
"type": "boolean"
|
|
4500
|
-
},
|
|
4501
|
-
"schema": {
|
|
4502
|
-
"description": "Emit full machine-readable command schema.",
|
|
4503
|
-
"helpGroup": "GLOBAL",
|
|
4504
|
-
"name": "schema",
|
|
4505
|
-
"allowNo": false,
|
|
4506
|
-
"type": "boolean"
|
|
4507
|
-
},
|
|
4508
|
-
"version": {
|
|
4509
|
-
"char": "v",
|
|
4510
|
-
"description": "Emit version envelope.",
|
|
4511
|
-
"helpGroup": "GLOBAL",
|
|
4512
|
-
"name": "version",
|
|
4513
|
-
"allowNo": false,
|
|
4514
|
-
"type": "boolean"
|
|
4515
|
-
},
|
|
4516
|
-
"raw": {
|
|
4517
|
-
"description": "Emit the verbatim Notion response body.",
|
|
4518
|
-
"name": "raw",
|
|
4519
|
-
"allowNo": false,
|
|
4520
|
-
"type": "boolean"
|
|
4521
|
-
}
|
|
4522
|
-
},
|
|
4523
|
-
"hasDynamicHelp": false,
|
|
4524
|
-
"hiddenAliases": [],
|
|
4525
|
-
"id": "notion:comments:reply",
|
|
4526
|
-
"pluginAlias": "@eightstate/escli",
|
|
4527
|
-
"pluginName": "@eightstate/escli",
|
|
4528
|
-
"pluginType": "core",
|
|
4529
|
-
"strict": true,
|
|
4530
|
-
"summary": "Reply to a Notion discussion thread",
|
|
4531
|
-
"errors": [
|
|
4532
|
-
"usage.invalid",
|
|
4533
|
-
"usage.required",
|
|
4534
|
-
"usage.unknown_flag",
|
|
4535
|
-
"notion.unauthorized",
|
|
4536
|
-
"notion.restricted",
|
|
4537
|
-
"notion.not_found",
|
|
4538
|
-
"notion.rate_limited",
|
|
4539
|
-
"notion.validation",
|
|
4540
|
-
"notion.conflict",
|
|
4541
|
-
"notion.timeout_uncertain",
|
|
4542
|
-
"notion.enrollment_required",
|
|
4543
|
-
"gate.invalid_response",
|
|
4544
|
-
"network.error",
|
|
4545
|
-
"network.timeout",
|
|
4546
|
-
"service.unavailable",
|
|
4547
|
-
"api.error"
|
|
4548
|
-
],
|
|
4549
|
-
"enableJsonFlag": true,
|
|
4550
|
-
"isESM": true,
|
|
4551
|
-
"relativePath": [
|
|
4552
|
-
"dist",
|
|
4553
|
-
"commands",
|
|
4554
|
-
"notion",
|
|
4555
|
-
"comments",
|
|
4556
|
-
"reply.js"
|
|
4557
|
-
]
|
|
4558
|
-
},
|
|
4559
|
-
"notion:comments:thread": {
|
|
4560
|
-
"aliases": [],
|
|
4561
|
-
"args": {
|
|
4562
|
-
"target": {
|
|
4563
|
-
"description": "Page or block ID/URL.",
|
|
4564
|
-
"name": "target",
|
|
4565
|
-
"required": true
|
|
4566
|
-
},
|
|
4567
|
-
"discussionId": {
|
|
4568
|
-
"description": "Discussion ID.",
|
|
4569
|
-
"name": "discussionId",
|
|
4570
|
-
"required": true
|
|
4571
|
-
}
|
|
4572
|
-
},
|
|
4573
|
-
"description": "Show comments in one discussion thread for a page or block. Not paginated by CLI contract; use comments list --next for broader scanning.",
|
|
5049
|
+
"description": "Append a bot reply to an existing Notion discussion_id.",
|
|
4574
5050
|
"examples": [
|
|
4575
|
-
"<%= config.bin %> notion comments
|
|
4576
|
-
"<%= config.bin %> notion comments
|
|
5051
|
+
"<%= config.bin %> notion comments reply disc_6a91 \"Confirmed — I updated the pricing table to match the deck.\"",
|
|
5052
|
+
"<%= config.bin %> notion comments reply disc_6a91 \"Confirmed — I updated the pricing table to match the deck.\" --raw"
|
|
4577
5053
|
],
|
|
4578
5054
|
"flags": {
|
|
4579
5055
|
"json": {
|
|
@@ -4641,16 +5117,23 @@
|
|
|
4641
5117
|
"name": "raw",
|
|
4642
5118
|
"allowNo": false,
|
|
4643
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"
|
|
4644
5127
|
}
|
|
4645
5128
|
},
|
|
4646
5129
|
"hasDynamicHelp": false,
|
|
4647
5130
|
"hiddenAliases": [],
|
|
4648
|
-
"id": "notion:comments:
|
|
5131
|
+
"id": "notion:comments:reply",
|
|
4649
5132
|
"pluginAlias": "@eightstate/escli",
|
|
4650
5133
|
"pluginName": "@eightstate/escli",
|
|
4651
5134
|
"pluginType": "core",
|
|
4652
5135
|
"strict": true,
|
|
4653
|
-
"summary": "
|
|
5136
|
+
"summary": "Reply to a Notion discussion thread",
|
|
4654
5137
|
"errors": [
|
|
4655
5138
|
"usage.invalid",
|
|
4656
5139
|
"usage.required",
|
|
@@ -4676,32 +5159,27 @@
|
|
|
4676
5159
|
"commands",
|
|
4677
5160
|
"notion",
|
|
4678
5161
|
"comments",
|
|
4679
|
-
"
|
|
5162
|
+
"reply.js"
|
|
4680
5163
|
]
|
|
4681
5164
|
},
|
|
4682
|
-
"notion:
|
|
4683
|
-
"aliases": [
|
|
4684
|
-
"notion:data-source:create",
|
|
4685
|
-
"n:ds:create",
|
|
4686
|
-
"n:data-source:create"
|
|
4687
|
-
],
|
|
5165
|
+
"notion:comments:thread": {
|
|
5166
|
+
"aliases": [],
|
|
4688
5167
|
"args": {
|
|
4689
|
-
"
|
|
4690
|
-
"description": "
|
|
4691
|
-
"name": "
|
|
5168
|
+
"target": {
|
|
5169
|
+
"description": "Page or block ID/URL.",
|
|
5170
|
+
"name": "target",
|
|
4692
5171
|
"required": true
|
|
4693
5172
|
},
|
|
4694
|
-
"
|
|
4695
|
-
"description": "
|
|
4696
|
-
"name": "
|
|
5173
|
+
"discussionId": {
|
|
5174
|
+
"description": "Discussion ID.",
|
|
5175
|
+
"name": "discussionId",
|
|
4697
5176
|
"required": true
|
|
4698
5177
|
}
|
|
4699
5178
|
},
|
|
4700
|
-
"description": "
|
|
5179
|
+
"description": "Show comments in one discussion thread for a page or block. Not paginated by CLI contract; use comments list --next for broader scanning.",
|
|
4701
5180
|
"examples": [
|
|
4702
|
-
"<%= config.bin %> notion
|
|
4703
|
-
"<%= config.bin %> notion
|
|
4704
|
-
"<%= config.bin %> --json notion ds create 362e7f31-7d53-4f6a-a0f6-7a7a7b68b0dc Accounts --schema accounts.schema.json"
|
|
5181
|
+
"<%= config.bin %> notion comments thread 362e1f8b-0d45-4d7b-bd85-cfb7c26f00dc disc_6a91",
|
|
5182
|
+
"<%= config.bin %> notion comments thread 362e1f8b-0d45-4d7b-bd85-cfb7c26f00dc disc_6a91 --raw"
|
|
4705
5183
|
],
|
|
4706
5184
|
"flags": {
|
|
4707
5185
|
"json": {
|
|
@@ -4764,60 +5242,25 @@
|
|
|
4764
5242
|
"allowNo": false,
|
|
4765
5243
|
"type": "boolean"
|
|
4766
5244
|
},
|
|
4767
|
-
"schema-input": {
|
|
4768
|
-
"description": "Schema JSON path, inline JSON, or - for stdin.",
|
|
4769
|
-
"name": "schema-input",
|
|
4770
|
-
"required": true,
|
|
4771
|
-
"hasDynamicHelp": false,
|
|
4772
|
-
"helpValue": "schema",
|
|
4773
|
-
"multiple": false,
|
|
4774
|
-
"type": "option"
|
|
4775
|
-
},
|
|
4776
|
-
"view": {
|
|
4777
|
-
"description": "View as <type:name>.",
|
|
4778
|
-
"name": "view",
|
|
4779
|
-
"hasDynamicHelp": false,
|
|
4780
|
-
"multiple": true,
|
|
4781
|
-
"type": "option"
|
|
4782
|
-
},
|
|
4783
|
-
"view-file": {
|
|
4784
|
-
"description": "JSON file containing richer view specs.",
|
|
4785
|
-
"name": "view-file",
|
|
4786
|
-
"hasDynamicHelp": false,
|
|
4787
|
-
"multiple": false,
|
|
4788
|
-
"type": "option"
|
|
4789
|
-
},
|
|
4790
5245
|
"raw": {
|
|
4791
|
-
"description": "Emit verbatim Notion response body.",
|
|
5246
|
+
"description": "Emit the verbatim Notion response body.",
|
|
4792
5247
|
"name": "raw",
|
|
4793
5248
|
"allowNo": false,
|
|
4794
5249
|
"type": "boolean"
|
|
4795
|
-
},
|
|
4796
|
-
"dry-run": {
|
|
4797
|
-
"description": "Validate inputs and print the create payload without writing to Notion.",
|
|
4798
|
-
"name": "dry-run",
|
|
4799
|
-
"allowNo": false,
|
|
4800
|
-
"type": "boolean"
|
|
4801
5250
|
}
|
|
4802
5251
|
},
|
|
4803
5252
|
"hasDynamicHelp": false,
|
|
4804
5253
|
"hiddenAliases": [],
|
|
4805
|
-
"id": "notion:
|
|
5254
|
+
"id": "notion:comments:thread",
|
|
4806
5255
|
"pluginAlias": "@eightstate/escli",
|
|
4807
5256
|
"pluginName": "@eightstate/escli",
|
|
4808
5257
|
"pluginType": "core",
|
|
4809
5258
|
"strict": true,
|
|
4810
|
-
"summary": "
|
|
4811
|
-
"enableJsonFlag": true,
|
|
4812
|
-
"emitsJsonEnvelope": false,
|
|
5259
|
+
"summary": "Show one Notion discussion thread",
|
|
4813
5260
|
"errors": [
|
|
4814
|
-
"usage.required",
|
|
4815
5261
|
"usage.invalid",
|
|
4816
|
-
"
|
|
4817
|
-
"
|
|
4818
|
-
"file.not_found",
|
|
4819
|
-
"file.read_failed",
|
|
4820
|
-
"auth.required",
|
|
5262
|
+
"usage.required",
|
|
5263
|
+
"usage.unknown_flag",
|
|
4821
5264
|
"notion.unauthorized",
|
|
4822
5265
|
"notion.restricted",
|
|
4823
5266
|
"notion.not_found",
|
|
@@ -4826,20 +5269,20 @@
|
|
|
4826
5269
|
"notion.conflict",
|
|
4827
5270
|
"notion.timeout_uncertain",
|
|
4828
5271
|
"notion.enrollment_required",
|
|
4829
|
-
"notion.batch_partial",
|
|
4830
5272
|
"gate.invalid_response",
|
|
4831
5273
|
"network.error",
|
|
4832
5274
|
"network.timeout",
|
|
4833
5275
|
"service.unavailable",
|
|
4834
5276
|
"api.error"
|
|
4835
5277
|
],
|
|
5278
|
+
"enableJsonFlag": true,
|
|
4836
5279
|
"isESM": true,
|
|
4837
5280
|
"relativePath": [
|
|
4838
5281
|
"dist",
|
|
4839
5282
|
"commands",
|
|
4840
5283
|
"notion",
|
|
4841
|
-
"
|
|
4842
|
-
"
|
|
5284
|
+
"comments",
|
|
5285
|
+
"thread.js"
|
|
4843
5286
|
]
|
|
4844
5287
|
},
|
|
4845
5288
|
"notion:db:create": {
|
|
@@ -5212,6 +5655,169 @@
|
|
|
5212
5655
|
"query.js"
|
|
5213
5656
|
]
|
|
5214
5657
|
},
|
|
5658
|
+
"notion:ds:create": {
|
|
5659
|
+
"aliases": [
|
|
5660
|
+
"notion:data-source:create",
|
|
5661
|
+
"n:ds:create",
|
|
5662
|
+
"n:data-source:create"
|
|
5663
|
+
],
|
|
5664
|
+
"args": {
|
|
5665
|
+
"database_id": {
|
|
5666
|
+
"description": "Database ID or URL.",
|
|
5667
|
+
"name": "database_id",
|
|
5668
|
+
"required": true
|
|
5669
|
+
},
|
|
5670
|
+
"name": {
|
|
5671
|
+
"description": "Data source name.",
|
|
5672
|
+
"name": "name",
|
|
5673
|
+
"required": true
|
|
5674
|
+
}
|
|
5675
|
+
},
|
|
5676
|
+
"description": "Add another table/data source with its own schema under an existing Notion database, optionally requesting views over it.",
|
|
5677
|
+
"examples": [
|
|
5678
|
+
"<%= config.bin %> notion ds create 362e7f31-7d53-4f6a-a0f6-7a7a7b68b0dc Accounts --schema accounts.schema.json --view table:\"All accounts\"",
|
|
5679
|
+
"<%= config.bin %> notion ds create 362e7f31-7d53-4f6a-a0f6-7a7a7b68b0dc Accounts --schema accounts.schema.json --dry-run",
|
|
5680
|
+
"<%= config.bin %> --json notion ds create 362e7f31-7d53-4f6a-a0f6-7a7a7b68b0dc Accounts --schema accounts.schema.json"
|
|
5681
|
+
],
|
|
5682
|
+
"flags": {
|
|
5683
|
+
"json": {
|
|
5684
|
+
"description": "Format output as json.",
|
|
5685
|
+
"helpGroup": "GLOBAL",
|
|
5686
|
+
"name": "json",
|
|
5687
|
+
"allowNo": false,
|
|
5688
|
+
"type": "boolean"
|
|
5689
|
+
},
|
|
5690
|
+
"quiet": {
|
|
5691
|
+
"description": "Suppress diagnostic output.",
|
|
5692
|
+
"name": "quiet",
|
|
5693
|
+
"allowNo": false,
|
|
5694
|
+
"type": "boolean"
|
|
5695
|
+
},
|
|
5696
|
+
"api-key": {
|
|
5697
|
+
"description": "API key override.",
|
|
5698
|
+
"helpGroup": "GLOBAL",
|
|
5699
|
+
"name": "api-key",
|
|
5700
|
+
"hasDynamicHelp": false,
|
|
5701
|
+
"multiple": false,
|
|
5702
|
+
"type": "option"
|
|
5703
|
+
},
|
|
5704
|
+
"base-url": {
|
|
5705
|
+
"description": "Base URL override.",
|
|
5706
|
+
"helpGroup": "GLOBAL",
|
|
5707
|
+
"name": "base-url",
|
|
5708
|
+
"hasDynamicHelp": false,
|
|
5709
|
+
"multiple": false,
|
|
5710
|
+
"type": "option"
|
|
5711
|
+
},
|
|
5712
|
+
"timeout": {
|
|
5713
|
+
"description": "Request timeout in seconds.",
|
|
5714
|
+
"helpGroup": "GLOBAL",
|
|
5715
|
+
"name": "timeout",
|
|
5716
|
+
"default": 300,
|
|
5717
|
+
"hasDynamicHelp": false,
|
|
5718
|
+
"multiple": false,
|
|
5719
|
+
"type": "option"
|
|
5720
|
+
},
|
|
5721
|
+
"describe": {
|
|
5722
|
+
"description": "Emit compact machine-readable command description.",
|
|
5723
|
+
"helpGroup": "GLOBAL",
|
|
5724
|
+
"name": "describe",
|
|
5725
|
+
"allowNo": false,
|
|
5726
|
+
"type": "boolean"
|
|
5727
|
+
},
|
|
5728
|
+
"schema": {
|
|
5729
|
+
"description": "Emit full machine-readable command schema.",
|
|
5730
|
+
"helpGroup": "GLOBAL",
|
|
5731
|
+
"name": "schema",
|
|
5732
|
+
"allowNo": false,
|
|
5733
|
+
"type": "boolean"
|
|
5734
|
+
},
|
|
5735
|
+
"version": {
|
|
5736
|
+
"char": "v",
|
|
5737
|
+
"description": "Emit version envelope.",
|
|
5738
|
+
"helpGroup": "GLOBAL",
|
|
5739
|
+
"name": "version",
|
|
5740
|
+
"allowNo": false,
|
|
5741
|
+
"type": "boolean"
|
|
5742
|
+
},
|
|
5743
|
+
"schema-input": {
|
|
5744
|
+
"description": "Schema JSON path, inline JSON, or - for stdin.",
|
|
5745
|
+
"name": "schema-input",
|
|
5746
|
+
"required": true,
|
|
5747
|
+
"hasDynamicHelp": false,
|
|
5748
|
+
"helpValue": "schema",
|
|
5749
|
+
"multiple": false,
|
|
5750
|
+
"type": "option"
|
|
5751
|
+
},
|
|
5752
|
+
"view": {
|
|
5753
|
+
"description": "View as <type:name>.",
|
|
5754
|
+
"name": "view",
|
|
5755
|
+
"hasDynamicHelp": false,
|
|
5756
|
+
"multiple": true,
|
|
5757
|
+
"type": "option"
|
|
5758
|
+
},
|
|
5759
|
+
"view-file": {
|
|
5760
|
+
"description": "JSON file containing richer view specs.",
|
|
5761
|
+
"name": "view-file",
|
|
5762
|
+
"hasDynamicHelp": false,
|
|
5763
|
+
"multiple": false,
|
|
5764
|
+
"type": "option"
|
|
5765
|
+
},
|
|
5766
|
+
"raw": {
|
|
5767
|
+
"description": "Emit verbatim Notion response body.",
|
|
5768
|
+
"name": "raw",
|
|
5769
|
+
"allowNo": false,
|
|
5770
|
+
"type": "boolean"
|
|
5771
|
+
},
|
|
5772
|
+
"dry-run": {
|
|
5773
|
+
"description": "Validate inputs and print the create payload without writing to Notion.",
|
|
5774
|
+
"name": "dry-run",
|
|
5775
|
+
"allowNo": false,
|
|
5776
|
+
"type": "boolean"
|
|
5777
|
+
}
|
|
5778
|
+
},
|
|
5779
|
+
"hasDynamicHelp": false,
|
|
5780
|
+
"hiddenAliases": [],
|
|
5781
|
+
"id": "notion:ds:create",
|
|
5782
|
+
"pluginAlias": "@eightstate/escli",
|
|
5783
|
+
"pluginName": "@eightstate/escli",
|
|
5784
|
+
"pluginType": "core",
|
|
5785
|
+
"strict": true,
|
|
5786
|
+
"summary": "Create a Notion data source under a database",
|
|
5787
|
+
"enableJsonFlag": true,
|
|
5788
|
+
"emitsJsonEnvelope": false,
|
|
5789
|
+
"errors": [
|
|
5790
|
+
"usage.required",
|
|
5791
|
+
"usage.invalid",
|
|
5792
|
+
"validation.failed",
|
|
5793
|
+
"json.invalid",
|
|
5794
|
+
"file.not_found",
|
|
5795
|
+
"file.read_failed",
|
|
5796
|
+
"auth.required",
|
|
5797
|
+
"notion.unauthorized",
|
|
5798
|
+
"notion.restricted",
|
|
5799
|
+
"notion.not_found",
|
|
5800
|
+
"notion.rate_limited",
|
|
5801
|
+
"notion.validation",
|
|
5802
|
+
"notion.conflict",
|
|
5803
|
+
"notion.timeout_uncertain",
|
|
5804
|
+
"notion.enrollment_required",
|
|
5805
|
+
"notion.batch_partial",
|
|
5806
|
+
"gate.invalid_response",
|
|
5807
|
+
"network.error",
|
|
5808
|
+
"network.timeout",
|
|
5809
|
+
"service.unavailable",
|
|
5810
|
+
"api.error"
|
|
5811
|
+
],
|
|
5812
|
+
"isESM": true,
|
|
5813
|
+
"relativePath": [
|
|
5814
|
+
"dist",
|
|
5815
|
+
"commands",
|
|
5816
|
+
"notion",
|
|
5817
|
+
"ds",
|
|
5818
|
+
"create.js"
|
|
5819
|
+
]
|
|
5820
|
+
},
|
|
5215
5821
|
"notion:page:edit": {
|
|
5216
5822
|
"aliases": [],
|
|
5217
5823
|
"args": {
|
|
@@ -7456,5 +8062,5 @@
|
|
|
7456
8062
|
]
|
|
7457
8063
|
}
|
|
7458
8064
|
},
|
|
7459
|
-
"version": "0.
|
|
8065
|
+
"version": "0.8.0"
|
|
7460
8066
|
}
|