@eightstate/escli 0.5.0 → 0.7.1

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.
Files changed (45) hide show
  1. package/dist/commands/notion/block/trash.js +71 -0
  2. package/dist/commands/notion/comments/add.js +48 -0
  3. package/dist/commands/notion/comments/get.js +42 -0
  4. package/dist/commands/notion/comments/list.js +55 -0
  5. package/dist/commands/notion/comments/reply.js +45 -0
  6. package/dist/commands/notion/comments/thread.js +87 -0
  7. package/dist/commands/notion/db/create.js +555 -0
  8. package/dist/commands/notion/db/query.js +451 -0
  9. package/dist/commands/notion/db/row/create.js +74 -0
  10. package/dist/commands/notion/db/row/update.js +165 -0
  11. package/dist/commands/notion/ds/create.js +73 -0
  12. package/dist/commands/notion/enroll.js +302 -0
  13. package/dist/commands/notion/index.js +24 -0
  14. package/dist/commands/notion/page/edit.js +73 -0
  15. package/dist/commands/notion/page/move.js +59 -0
  16. package/dist/commands/notion/page/read.js +60 -0
  17. package/dist/commands/notion/page/replace-content.js +80 -0
  18. package/dist/commands/notion/page/replace-text.js +80 -0
  19. package/dist/commands/notion/page/replace.js +63 -0
  20. package/dist/commands/notion/page/trash.js +79 -0
  21. package/dist/commands/notion/search.js +207 -0
  22. package/dist/commands/notion/upload/attach.js +105 -0
  23. package/dist/commands/notion/upload/index.js +129 -0
  24. package/dist/commands/notion/upload/list.js +78 -0
  25. package/dist/commands/notion/upload/status.js +76 -0
  26. package/dist/commands/notion/view/create.js +78 -0
  27. package/dist/commands/notion/whoami.js +96 -0
  28. package/dist/commands/research.js +11 -0
  29. package/dist/entry.js +16 -9
  30. package/dist/io/render-kv.js +12 -0
  31. package/dist/io/render-labeled.js +16 -0
  32. package/dist/io/render-table.js +19 -0
  33. package/dist/io/render-trailer.js +7 -0
  34. package/dist/lib/manifest.js +3 -2
  35. package/dist/lib/notion/comments/shared.js +366 -0
  36. package/dist/lib/notion/db-row/common.js +367 -0
  37. package/dist/lib/notion/manifest-pass.js +4 -0
  38. package/dist/lib/notion/page/content-common.js +473 -0
  39. package/dist/lib/notion/trash-move/support.js +300 -0
  40. package/dist/lib/notion/upload/shared.js +372 -0
  41. package/dist/lib/registry.js +118 -25
  42. package/dist/services/notion.js +274 -0
  43. package/dist/services/research.js +31 -10
  44. package/oclif.manifest.json +4084 -1
  45. package/package.json +22 -17
@@ -436,6 +436,19 @@
436
436
  "name": "no-basis",
437
437
  "allowNo": false,
438
438
  "type": "boolean"
439
+ },
440
+ "max-wait": {
441
+ "description": "Max seconds to poll for completion (default: 7200, i.e. 2h). Per-request HTTP timeout is still --timeout.",
442
+ "name": "max-wait",
443
+ "hasDynamicHelp": false,
444
+ "multiple": false,
445
+ "type": "option"
446
+ },
447
+ "async": {
448
+ "description": "Submit task and exit immediately with run_id; do not poll. Recover with --status / --result.",
449
+ "name": "async",
450
+ "allowNo": false,
451
+ "type": "boolean"
439
452
  }
440
453
  },
441
454
  "hasDynamicHelp": false,
@@ -3371,7 +3384,4077 @@
3371
3384
  "image",
3372
3385
  "index.js"
3373
3386
  ]
3387
+ },
3388
+ "notion:enroll": {
3389
+ "aliases": [],
3390
+ "args": {},
3391
+ "description": "Validate a Notion internal-connection bot token and send it once to Eightstate custody. The token is never accepted as a CLI argument and is never printed.",
3392
+ "examples": [
3393
+ "<%= config.bin %> notion enroll",
3394
+ "printf %s \"$NOTION_TOKEN\" | <%= config.bin %> notion enroll --token-stdin",
3395
+ "<%= config.bin %> notion enroll --token-env NOTION_TOKEN --expect-workspace \"Eight State\""
3396
+ ],
3397
+ "flags": {
3398
+ "json": {
3399
+ "description": "Format output as json.",
3400
+ "helpGroup": "GLOBAL",
3401
+ "name": "json",
3402
+ "allowNo": false,
3403
+ "type": "boolean"
3404
+ },
3405
+ "quiet": {
3406
+ "description": "Suppress diagnostic output.",
3407
+ "name": "quiet",
3408
+ "allowNo": false,
3409
+ "type": "boolean"
3410
+ },
3411
+ "api-key": {
3412
+ "description": "API key override.",
3413
+ "helpGroup": "GLOBAL",
3414
+ "name": "api-key",
3415
+ "hasDynamicHelp": false,
3416
+ "multiple": false,
3417
+ "type": "option"
3418
+ },
3419
+ "base-url": {
3420
+ "description": "Base URL override.",
3421
+ "helpGroup": "GLOBAL",
3422
+ "name": "base-url",
3423
+ "hasDynamicHelp": false,
3424
+ "multiple": false,
3425
+ "type": "option"
3426
+ },
3427
+ "timeout": {
3428
+ "description": "Request timeout in seconds.",
3429
+ "helpGroup": "GLOBAL",
3430
+ "name": "timeout",
3431
+ "default": 300,
3432
+ "hasDynamicHelp": false,
3433
+ "multiple": false,
3434
+ "type": "option"
3435
+ },
3436
+ "describe": {
3437
+ "description": "Emit compact machine-readable command description.",
3438
+ "helpGroup": "GLOBAL",
3439
+ "name": "describe",
3440
+ "allowNo": false,
3441
+ "type": "boolean"
3442
+ },
3443
+ "schema": {
3444
+ "description": "Emit full machine-readable command schema.",
3445
+ "helpGroup": "GLOBAL",
3446
+ "name": "schema",
3447
+ "allowNo": false,
3448
+ "type": "boolean"
3449
+ },
3450
+ "version": {
3451
+ "char": "v",
3452
+ "description": "Emit version envelope.",
3453
+ "helpGroup": "GLOBAL",
3454
+ "name": "version",
3455
+ "allowNo": false,
3456
+ "type": "boolean"
3457
+ },
3458
+ "token-stdin": {
3459
+ "description": "Read the Notion token from stdin exactly once.",
3460
+ "name": "token-stdin",
3461
+ "allowNo": false,
3462
+ "type": "boolean"
3463
+ },
3464
+ "token-env": {
3465
+ "description": "Read the Notion token from the named environment variable.",
3466
+ "name": "token-env",
3467
+ "hasDynamicHelp": false,
3468
+ "multiple": false,
3469
+ "type": "option"
3470
+ },
3471
+ "replace": {
3472
+ "description": "Replace an existing enrollment after confirming workspace/bot.",
3473
+ "name": "replace",
3474
+ "allowNo": false,
3475
+ "type": "boolean"
3476
+ },
3477
+ "expect-workspace": {
3478
+ "description": "Fail without storing if the verified workspace does not contain this text.",
3479
+ "name": "expect-workspace",
3480
+ "hasDynamicHelp": false,
3481
+ "multiple": false,
3482
+ "type": "option"
3483
+ },
3484
+ "expect-bot": {
3485
+ "description": "Fail without storing if the verified bot name/id does not contain this text.",
3486
+ "name": "expect-bot",
3487
+ "hasDynamicHelp": false,
3488
+ "multiple": false,
3489
+ "type": "option"
3490
+ },
3491
+ "label": {
3492
+ "description": "Human label stored beside the custody record.",
3493
+ "name": "label",
3494
+ "hasDynamicHelp": false,
3495
+ "multiple": false,
3496
+ "type": "option"
3497
+ },
3498
+ "probe-page": {
3499
+ "description": "Page/block ID or URL used for non-mutating read/comment probes.",
3500
+ "name": "probe-page",
3501
+ "hasDynamicHelp": false,
3502
+ "multiple": false,
3503
+ "type": "option"
3504
+ },
3505
+ "verify": {
3506
+ "description": "Verification depth.",
3507
+ "name": "verify",
3508
+ "default": "identity",
3509
+ "hasDynamicHelp": false,
3510
+ "multiple": false,
3511
+ "options": [
3512
+ "identity",
3513
+ "read",
3514
+ "comments",
3515
+ "users",
3516
+ "all"
3517
+ ],
3518
+ "type": "option"
3519
+ },
3520
+ "raw": {
3521
+ "description": "Emit verbatim ordered Notion response body chain.",
3522
+ "name": "raw",
3523
+ "allowNo": false,
3524
+ "type": "boolean"
3525
+ }
3526
+ },
3527
+ "hasDynamicHelp": false,
3528
+ "hiddenAliases": [],
3529
+ "id": "notion:enroll",
3530
+ "pluginAlias": "@eightstate/escli",
3531
+ "pluginName": "@eightstate/escli",
3532
+ "pluginType": "core",
3533
+ "strict": true,
3534
+ "summary": "Store/replace this Clerk user's server-side Notion bot token",
3535
+ "enableJsonFlag": true,
3536
+ "emitsJsonEnvelope": false,
3537
+ "errors": [
3538
+ "usage.required",
3539
+ "usage.invalid",
3540
+ "usage.unknown_flag",
3541
+ "validation.failed",
3542
+ "auth.required",
3543
+ "notion.enrollment_required",
3544
+ "notion.unauthorized",
3545
+ "notion.restricted",
3546
+ "notion.not_found",
3547
+ "notion.rate_limited",
3548
+ "notion.validation",
3549
+ "notion.conflict",
3550
+ "notion.timeout_uncertain",
3551
+ "gate.invalid_response",
3552
+ "network.error",
3553
+ "network.timeout",
3554
+ "service.unavailable",
3555
+ "api.error",
3556
+ "internal"
3557
+ ],
3558
+ "isESM": true,
3559
+ "relativePath": [
3560
+ "dist",
3561
+ "commands",
3562
+ "notion",
3563
+ "enroll.js"
3564
+ ]
3565
+ },
3566
+ "notion": {
3567
+ "aliases": [
3568
+ "n"
3569
+ ],
3570
+ "args": {},
3571
+ "description": "Token-lean by default; JSON opt-in via --json. Use notion enroll | whoami | page | db | search | comments | upload.",
3572
+ "examples": [
3573
+ "<%= config.bin %> notion enroll",
3574
+ "<%= config.bin %> notion whoami",
3575
+ "<%= config.bin %> notion page read <id>",
3576
+ "<%= config.bin %> notion db query <data-source-id>",
3577
+ "<%= config.bin %> notion search \"roadmap\""
3578
+ ],
3579
+ "flags": {
3580
+ "json": {
3581
+ "description": "Format output as json.",
3582
+ "helpGroup": "GLOBAL",
3583
+ "name": "json",
3584
+ "allowNo": false,
3585
+ "type": "boolean"
3586
+ },
3587
+ "quiet": {
3588
+ "description": "Suppress diagnostic output.",
3589
+ "name": "quiet",
3590
+ "allowNo": false,
3591
+ "type": "boolean"
3592
+ },
3593
+ "api-key": {
3594
+ "description": "API key override.",
3595
+ "helpGroup": "GLOBAL",
3596
+ "name": "api-key",
3597
+ "hasDynamicHelp": false,
3598
+ "multiple": false,
3599
+ "type": "option"
3600
+ },
3601
+ "base-url": {
3602
+ "description": "Base URL override.",
3603
+ "helpGroup": "GLOBAL",
3604
+ "name": "base-url",
3605
+ "hasDynamicHelp": false,
3606
+ "multiple": false,
3607
+ "type": "option"
3608
+ },
3609
+ "timeout": {
3610
+ "description": "Request timeout in seconds.",
3611
+ "helpGroup": "GLOBAL",
3612
+ "name": "timeout",
3613
+ "default": 300,
3614
+ "hasDynamicHelp": false,
3615
+ "multiple": false,
3616
+ "type": "option"
3617
+ },
3618
+ "describe": {
3619
+ "description": "Emit compact machine-readable command description.",
3620
+ "helpGroup": "GLOBAL",
3621
+ "name": "describe",
3622
+ "allowNo": false,
3623
+ "type": "boolean"
3624
+ },
3625
+ "schema": {
3626
+ "description": "Emit full machine-readable command schema.",
3627
+ "helpGroup": "GLOBAL",
3628
+ "name": "schema",
3629
+ "allowNo": false,
3630
+ "type": "boolean"
3631
+ },
3632
+ "version": {
3633
+ "char": "v",
3634
+ "description": "Emit version envelope.",
3635
+ "helpGroup": "GLOBAL",
3636
+ "name": "version",
3637
+ "allowNo": false,
3638
+ "type": "boolean"
3639
+ }
3640
+ },
3641
+ "hasDynamicHelp": false,
3642
+ "hiddenAliases": [],
3643
+ "id": "notion",
3644
+ "pluginAlias": "@eightstate/escli",
3645
+ "pluginName": "@eightstate/escli",
3646
+ "pluginType": "core",
3647
+ "strict": true,
3648
+ "summary": "Read and write Notion under a per-user AI bot identity",
3649
+ "enableJsonFlag": true,
3650
+ "emitsJsonEnvelope": false,
3651
+ "errors": [
3652
+ "usage.invalid"
3653
+ ],
3654
+ "isESM": true,
3655
+ "relativePath": [
3656
+ "dist",
3657
+ "commands",
3658
+ "notion",
3659
+ "index.js"
3660
+ ]
3661
+ },
3662
+ "notion:search": {
3663
+ "aliases": [
3664
+ "notion:s"
3665
+ ],
3666
+ "args": {
3667
+ "query": {
3668
+ "description": "Search query.",
3669
+ "name": "query",
3670
+ "required": true
3671
+ }
3672
+ },
3673
+ "description": "Search Notion pages and data sources visible to the enrolled bot.",
3674
+ "examples": [
3675
+ "<%= config.bin %> notion search roadmap",
3676
+ "<%= config.bin %> notion search \"roadmap\" --next 10d7e4d2-9a41-4c73-9d2d-4d3d860d5a91",
3677
+ "<%= config.bin %> notion search \"roadmap\" --raw"
3678
+ ],
3679
+ "flags": {
3680
+ "json": {
3681
+ "description": "Format output as json.",
3682
+ "helpGroup": "GLOBAL",
3683
+ "name": "json",
3684
+ "allowNo": false,
3685
+ "type": "boolean"
3686
+ },
3687
+ "quiet": {
3688
+ "description": "Suppress diagnostic output.",
3689
+ "name": "quiet",
3690
+ "allowNo": false,
3691
+ "type": "boolean"
3692
+ },
3693
+ "api-key": {
3694
+ "description": "API key override.",
3695
+ "helpGroup": "GLOBAL",
3696
+ "name": "api-key",
3697
+ "hasDynamicHelp": false,
3698
+ "multiple": false,
3699
+ "type": "option"
3700
+ },
3701
+ "base-url": {
3702
+ "description": "Base URL override.",
3703
+ "helpGroup": "GLOBAL",
3704
+ "name": "base-url",
3705
+ "hasDynamicHelp": false,
3706
+ "multiple": false,
3707
+ "type": "option"
3708
+ },
3709
+ "timeout": {
3710
+ "description": "Request timeout in seconds.",
3711
+ "helpGroup": "GLOBAL",
3712
+ "name": "timeout",
3713
+ "default": 300,
3714
+ "hasDynamicHelp": false,
3715
+ "multiple": false,
3716
+ "type": "option"
3717
+ },
3718
+ "describe": {
3719
+ "description": "Emit compact machine-readable command description.",
3720
+ "helpGroup": "GLOBAL",
3721
+ "name": "describe",
3722
+ "allowNo": false,
3723
+ "type": "boolean"
3724
+ },
3725
+ "schema": {
3726
+ "description": "Emit full machine-readable command schema.",
3727
+ "helpGroup": "GLOBAL",
3728
+ "name": "schema",
3729
+ "allowNo": false,
3730
+ "type": "boolean"
3731
+ },
3732
+ "version": {
3733
+ "char": "v",
3734
+ "description": "Emit version envelope.",
3735
+ "helpGroup": "GLOBAL",
3736
+ "name": "version",
3737
+ "allowNo": false,
3738
+ "type": "boolean"
3739
+ },
3740
+ "next": {
3741
+ "description": "Continue the same search using Notion's opaque pagination token.",
3742
+ "name": "next",
3743
+ "hasDynamicHelp": false,
3744
+ "multiple": false,
3745
+ "type": "option"
3746
+ },
3747
+ "raw": {
3748
+ "description": "Emit the verbatim Notion response body.",
3749
+ "name": "raw",
3750
+ "allowNo": false,
3751
+ "type": "boolean"
3752
+ },
3753
+ "include-trash": {
3754
+ "description": "Include results where Notion reports in_trash=true.",
3755
+ "name": "include-trash",
3756
+ "allowNo": false,
3757
+ "type": "boolean"
3758
+ }
3759
+ },
3760
+ "hasDynamicHelp": false,
3761
+ "hiddenAliases": [],
3762
+ "id": "notion:search",
3763
+ "pluginAlias": "@eightstate/escli",
3764
+ "pluginName": "@eightstate/escli",
3765
+ "pluginType": "core",
3766
+ "strict": true,
3767
+ "summary": "Find bot-visible Notion page/data-source targets",
3768
+ "enableJsonFlag": true,
3769
+ "emitsJsonEnvelope": false,
3770
+ "errors": [
3771
+ "usage.required",
3772
+ "usage.invalid",
3773
+ "auth.required",
3774
+ "gate.invalid_response",
3775
+ "api.error",
3776
+ "notion.unauthorized",
3777
+ "notion.restricted",
3778
+ "notion.not_found",
3779
+ "notion.rate_limited",
3780
+ "notion.validation",
3781
+ "notion.conflict",
3782
+ "notion.timeout_uncertain",
3783
+ "notion.enrollment_required",
3784
+ "network.error",
3785
+ "network.timeout",
3786
+ "service.unavailable"
3787
+ ],
3788
+ "isESM": true,
3789
+ "relativePath": [
3790
+ "dist",
3791
+ "commands",
3792
+ "notion",
3793
+ "search.js"
3794
+ ]
3795
+ },
3796
+ "notion:whoami": {
3797
+ "aliases": [],
3798
+ "args": {},
3799
+ "description": "Show which Notion bot/workspace this Clerk user is enrolled to use, plus non-mutating capability verification status.",
3800
+ "examples": [
3801
+ "<%= config.bin %> notion whoami",
3802
+ "<%= config.bin %> notion whoami --probe-page 362e --verify all",
3803
+ "<%= config.bin %> --json notion whoami --verify identity"
3804
+ ],
3805
+ "flags": {
3806
+ "json": {
3807
+ "description": "Format output as json.",
3808
+ "helpGroup": "GLOBAL",
3809
+ "name": "json",
3810
+ "allowNo": false,
3811
+ "type": "boolean"
3812
+ },
3813
+ "quiet": {
3814
+ "description": "Suppress diagnostic output.",
3815
+ "name": "quiet",
3816
+ "allowNo": false,
3817
+ "type": "boolean"
3818
+ },
3819
+ "api-key": {
3820
+ "description": "API key override.",
3821
+ "helpGroup": "GLOBAL",
3822
+ "name": "api-key",
3823
+ "hasDynamicHelp": false,
3824
+ "multiple": false,
3825
+ "type": "option"
3826
+ },
3827
+ "base-url": {
3828
+ "description": "Base URL override.",
3829
+ "helpGroup": "GLOBAL",
3830
+ "name": "base-url",
3831
+ "hasDynamicHelp": false,
3832
+ "multiple": false,
3833
+ "type": "option"
3834
+ },
3835
+ "timeout": {
3836
+ "description": "Request timeout in seconds.",
3837
+ "helpGroup": "GLOBAL",
3838
+ "name": "timeout",
3839
+ "default": 300,
3840
+ "hasDynamicHelp": false,
3841
+ "multiple": false,
3842
+ "type": "option"
3843
+ },
3844
+ "describe": {
3845
+ "description": "Emit compact machine-readable command description.",
3846
+ "helpGroup": "GLOBAL",
3847
+ "name": "describe",
3848
+ "allowNo": false,
3849
+ "type": "boolean"
3850
+ },
3851
+ "schema": {
3852
+ "description": "Emit full machine-readable command schema.",
3853
+ "helpGroup": "GLOBAL",
3854
+ "name": "schema",
3855
+ "allowNo": false,
3856
+ "type": "boolean"
3857
+ },
3858
+ "version": {
3859
+ "char": "v",
3860
+ "description": "Emit version envelope.",
3861
+ "helpGroup": "GLOBAL",
3862
+ "name": "version",
3863
+ "allowNo": false,
3864
+ "type": "boolean"
3865
+ },
3866
+ "probe-page": {
3867
+ "description": "Page/block ID or URL used for non-mutating read/comment probes.",
3868
+ "name": "probe-page",
3869
+ "hasDynamicHelp": false,
3870
+ "multiple": false,
3871
+ "type": "option"
3872
+ },
3873
+ "verify": {
3874
+ "description": "Verification depth.",
3875
+ "name": "verify",
3876
+ "default": "identity",
3877
+ "hasDynamicHelp": false,
3878
+ "multiple": false,
3879
+ "options": [
3880
+ "identity",
3881
+ "read",
3882
+ "comments",
3883
+ "users",
3884
+ "all"
3885
+ ],
3886
+ "type": "option"
3887
+ },
3888
+ "raw": {
3889
+ "description": "Emit verbatim ordered Notion response body chain.",
3890
+ "name": "raw",
3891
+ "allowNo": false,
3892
+ "type": "boolean"
3893
+ }
3894
+ },
3895
+ "hasDynamicHelp": false,
3896
+ "hiddenAliases": [],
3897
+ "id": "notion:whoami",
3898
+ "pluginAlias": "@eightstate/escli",
3899
+ "pluginName": "@eightstate/escli",
3900
+ "pluginType": "core",
3901
+ "strict": true,
3902
+ "summary": "Show the enrolled Notion bot identity and readiness",
3903
+ "enableJsonFlag": true,
3904
+ "emitsJsonEnvelope": false,
3905
+ "errors": [
3906
+ "usage.required",
3907
+ "usage.invalid",
3908
+ "usage.unknown_flag",
3909
+ "validation.failed",
3910
+ "auth.required",
3911
+ "notion.enrollment_required",
3912
+ "notion.unauthorized",
3913
+ "notion.restricted",
3914
+ "notion.not_found",
3915
+ "notion.rate_limited",
3916
+ "notion.validation",
3917
+ "notion.conflict",
3918
+ "notion.timeout_uncertain",
3919
+ "gate.invalid_response",
3920
+ "network.error",
3921
+ "network.timeout",
3922
+ "service.unavailable",
3923
+ "api.error",
3924
+ "internal"
3925
+ ],
3926
+ "isESM": true,
3927
+ "relativePath": [
3928
+ "dist",
3929
+ "commands",
3930
+ "notion",
3931
+ "whoami.js"
3932
+ ]
3933
+ },
3934
+ "notion:block:trash": {
3935
+ "aliases": [],
3936
+ "args": {
3937
+ "block": {
3938
+ "description": "Block ID.",
3939
+ "name": "block",
3940
+ "required": true
3941
+ }
3942
+ },
3943
+ "description": "Soft-trash or restore a Notion block through the enrolled Notion bot. Block trash uses Notion DELETE, which is a soft delete.",
3944
+ "examples": [
3945
+ "<%= config.bin %> notion block trash 2ab6c741-4f85-4b17-9f88-e938fb5d0b66 --yes",
3946
+ "<%= config.bin %> notion block trash 2ab6c741-4f85-4b17-9f88-e938fb5d0b66 --restore --yes"
3947
+ ],
3948
+ "flags": {
3949
+ "json": {
3950
+ "description": "Format output as json.",
3951
+ "helpGroup": "GLOBAL",
3952
+ "name": "json",
3953
+ "allowNo": false,
3954
+ "type": "boolean"
3955
+ },
3956
+ "quiet": {
3957
+ "description": "Suppress diagnostic output.",
3958
+ "name": "quiet",
3959
+ "allowNo": false,
3960
+ "type": "boolean"
3961
+ },
3962
+ "api-key": {
3963
+ "description": "API key override.",
3964
+ "helpGroup": "GLOBAL",
3965
+ "name": "api-key",
3966
+ "hasDynamicHelp": false,
3967
+ "multiple": false,
3968
+ "type": "option"
3969
+ },
3970
+ "base-url": {
3971
+ "description": "Base URL override.",
3972
+ "helpGroup": "GLOBAL",
3973
+ "name": "base-url",
3974
+ "hasDynamicHelp": false,
3975
+ "multiple": false,
3976
+ "type": "option"
3977
+ },
3978
+ "timeout": {
3979
+ "description": "Request timeout in seconds.",
3980
+ "helpGroup": "GLOBAL",
3981
+ "name": "timeout",
3982
+ "default": 300,
3983
+ "hasDynamicHelp": false,
3984
+ "multiple": false,
3985
+ "type": "option"
3986
+ },
3987
+ "describe": {
3988
+ "description": "Emit compact machine-readable command description.",
3989
+ "helpGroup": "GLOBAL",
3990
+ "name": "describe",
3991
+ "allowNo": false,
3992
+ "type": "boolean"
3993
+ },
3994
+ "schema": {
3995
+ "description": "Emit full machine-readable command schema.",
3996
+ "helpGroup": "GLOBAL",
3997
+ "name": "schema",
3998
+ "allowNo": false,
3999
+ "type": "boolean"
4000
+ },
4001
+ "version": {
4002
+ "char": "v",
4003
+ "description": "Emit version envelope.",
4004
+ "helpGroup": "GLOBAL",
4005
+ "name": "version",
4006
+ "allowNo": false,
4007
+ "type": "boolean"
4008
+ },
4009
+ "restore": {
4010
+ "description": "Restore the block instead of trashing it.",
4011
+ "name": "restore",
4012
+ "allowNo": false,
4013
+ "type": "boolean"
4014
+ },
4015
+ "yes": {
4016
+ "description": "Confirm the destructive write without prompting.",
4017
+ "name": "yes",
4018
+ "allowNo": false,
4019
+ "type": "boolean"
4020
+ },
4021
+ "raw": {
4022
+ "description": "Emit the verbatim Notion response body.",
4023
+ "name": "raw",
4024
+ "allowNo": false,
4025
+ "type": "boolean"
4026
+ }
4027
+ },
4028
+ "hasDynamicHelp": false,
4029
+ "hiddenAliases": [],
4030
+ "id": "notion:block:trash",
4031
+ "pluginAlias": "@eightstate/escli",
4032
+ "pluginName": "@eightstate/escli",
4033
+ "pluginType": "core",
4034
+ "strict": true,
4035
+ "summary": "Move a Notion block to Trash, or restore it with --restore",
4036
+ "errors": [
4037
+ "usage.required",
4038
+ "usage.invalid",
4039
+ "usage.unknown_flag",
4040
+ "validation.failed",
4041
+ "file.read_failed",
4042
+ "auth.required",
4043
+ "notion.unauthorized",
4044
+ "notion.enrollment_required",
4045
+ "notion.restricted",
4046
+ "notion.not_found",
4047
+ "notion.validation",
4048
+ "notion.conflict",
4049
+ "notion.rate_limited",
4050
+ "notion.timeout_uncertain",
4051
+ "gate.invalid_response",
4052
+ "network.error",
4053
+ "network.timeout",
4054
+ "service.unavailable",
4055
+ "api.error"
4056
+ ],
4057
+ "enableJsonFlag": true,
4058
+ "isESM": true,
4059
+ "relativePath": [
4060
+ "dist",
4061
+ "commands",
4062
+ "notion",
4063
+ "block",
4064
+ "trash.js"
4065
+ ]
4066
+ },
4067
+ "notion:comments:add": {
4068
+ "aliases": [],
4069
+ "args": {
4070
+ "target": {
4071
+ "description": "Page or block ID/URL.",
4072
+ "name": "target",
4073
+ "required": true
4074
+ },
4075
+ "markdown": {
4076
+ "description": "Inline comment markdown.",
4077
+ "multiple": true,
4078
+ "name": "markdown",
4079
+ "required": true
4080
+ }
4081
+ },
4082
+ "description": "Create a new page-level or block-level Notion comment as the bot.",
4083
+ "examples": [
4084
+ "<%= config.bin %> notion comments add 362e1f8b-0d45-4d7b-bd85-cfb7c26f00dc \"Checked: the pricing table now matches the latest deck.\"",
4085
+ "<%= config.bin %> notion comments add 8c3f2d49-3a4b-4f0f-8d2e-208a7623b44a \"This sentence is stale; source deck says $249.\" --raw"
4086
+ ],
4087
+ "flags": {
4088
+ "json": {
4089
+ "description": "Format output as json.",
4090
+ "helpGroup": "GLOBAL",
4091
+ "name": "json",
4092
+ "allowNo": false,
4093
+ "type": "boolean"
4094
+ },
4095
+ "quiet": {
4096
+ "description": "Suppress diagnostic output.",
4097
+ "name": "quiet",
4098
+ "allowNo": false,
4099
+ "type": "boolean"
4100
+ },
4101
+ "api-key": {
4102
+ "description": "API key override.",
4103
+ "helpGroup": "GLOBAL",
4104
+ "name": "api-key",
4105
+ "hasDynamicHelp": false,
4106
+ "multiple": false,
4107
+ "type": "option"
4108
+ },
4109
+ "base-url": {
4110
+ "description": "Base URL override.",
4111
+ "helpGroup": "GLOBAL",
4112
+ "name": "base-url",
4113
+ "hasDynamicHelp": false,
4114
+ "multiple": false,
4115
+ "type": "option"
4116
+ },
4117
+ "timeout": {
4118
+ "description": "Request timeout in seconds.",
4119
+ "helpGroup": "GLOBAL",
4120
+ "name": "timeout",
4121
+ "default": 300,
4122
+ "hasDynamicHelp": false,
4123
+ "multiple": false,
4124
+ "type": "option"
4125
+ },
4126
+ "describe": {
4127
+ "description": "Emit compact machine-readable command description.",
4128
+ "helpGroup": "GLOBAL",
4129
+ "name": "describe",
4130
+ "allowNo": false,
4131
+ "type": "boolean"
4132
+ },
4133
+ "schema": {
4134
+ "description": "Emit full machine-readable command schema.",
4135
+ "helpGroup": "GLOBAL",
4136
+ "name": "schema",
4137
+ "allowNo": false,
4138
+ "type": "boolean"
4139
+ },
4140
+ "version": {
4141
+ "char": "v",
4142
+ "description": "Emit version envelope.",
4143
+ "helpGroup": "GLOBAL",
4144
+ "name": "version",
4145
+ "allowNo": false,
4146
+ "type": "boolean"
4147
+ },
4148
+ "raw": {
4149
+ "description": "Emit the verbatim Notion response body.",
4150
+ "name": "raw",
4151
+ "allowNo": false,
4152
+ "type": "boolean"
4153
+ }
4154
+ },
4155
+ "hasDynamicHelp": false,
4156
+ "hiddenAliases": [],
4157
+ "id": "notion:comments:add",
4158
+ "pluginAlias": "@eightstate/escli",
4159
+ "pluginName": "@eightstate/escli",
4160
+ "pluginType": "core",
4161
+ "strict": true,
4162
+ "summary": "Add a Notion comment to a page or block",
4163
+ "errors": [
4164
+ "usage.invalid",
4165
+ "usage.required",
4166
+ "usage.unknown_flag",
4167
+ "notion.unauthorized",
4168
+ "notion.restricted",
4169
+ "notion.not_found",
4170
+ "notion.rate_limited",
4171
+ "notion.validation",
4172
+ "notion.conflict",
4173
+ "notion.timeout_uncertain",
4174
+ "notion.enrollment_required",
4175
+ "gate.invalid_response",
4176
+ "network.error",
4177
+ "network.timeout",
4178
+ "service.unavailable",
4179
+ "api.error"
4180
+ ],
4181
+ "enableJsonFlag": true,
4182
+ "isESM": true,
4183
+ "relativePath": [
4184
+ "dist",
4185
+ "commands",
4186
+ "notion",
4187
+ "comments",
4188
+ "add.js"
4189
+ ]
4190
+ },
4191
+ "notion:comments:get": {
4192
+ "aliases": [],
4193
+ "args": {
4194
+ "commentId": {
4195
+ "description": "Comment ID.",
4196
+ "name": "commentId",
4197
+ "required": true
4198
+ }
4199
+ },
4200
+ "description": "UNVERIFIED — GET /v1/comments/{id}; live-probe validates whether the endpoint exists before relying on this command.",
4201
+ "examples": [
4202
+ "<%= config.bin %> notion comments get cmt_7f2d",
4203
+ "<%= config.bin %> notion comments get cmt_7f2d --raw"
4204
+ ],
4205
+ "flags": {
4206
+ "json": {
4207
+ "description": "Format output as json.",
4208
+ "helpGroup": "GLOBAL",
4209
+ "name": "json",
4210
+ "allowNo": false,
4211
+ "type": "boolean"
4212
+ },
4213
+ "quiet": {
4214
+ "description": "Suppress diagnostic output.",
4215
+ "name": "quiet",
4216
+ "allowNo": false,
4217
+ "type": "boolean"
4218
+ },
4219
+ "api-key": {
4220
+ "description": "API key override.",
4221
+ "helpGroup": "GLOBAL",
4222
+ "name": "api-key",
4223
+ "hasDynamicHelp": false,
4224
+ "multiple": false,
4225
+ "type": "option"
4226
+ },
4227
+ "base-url": {
4228
+ "description": "Base URL override.",
4229
+ "helpGroup": "GLOBAL",
4230
+ "name": "base-url",
4231
+ "hasDynamicHelp": false,
4232
+ "multiple": false,
4233
+ "type": "option"
4234
+ },
4235
+ "timeout": {
4236
+ "description": "Request timeout in seconds.",
4237
+ "helpGroup": "GLOBAL",
4238
+ "name": "timeout",
4239
+ "default": 300,
4240
+ "hasDynamicHelp": false,
4241
+ "multiple": false,
4242
+ "type": "option"
4243
+ },
4244
+ "describe": {
4245
+ "description": "Emit compact machine-readable command description.",
4246
+ "helpGroup": "GLOBAL",
4247
+ "name": "describe",
4248
+ "allowNo": false,
4249
+ "type": "boolean"
4250
+ },
4251
+ "schema": {
4252
+ "description": "Emit full machine-readable command schema.",
4253
+ "helpGroup": "GLOBAL",
4254
+ "name": "schema",
4255
+ "allowNo": false,
4256
+ "type": "boolean"
4257
+ },
4258
+ "version": {
4259
+ "char": "v",
4260
+ "description": "Emit version envelope.",
4261
+ "helpGroup": "GLOBAL",
4262
+ "name": "version",
4263
+ "allowNo": false,
4264
+ "type": "boolean"
4265
+ },
4266
+ "raw": {
4267
+ "description": "Emit the verbatim Notion response body.",
4268
+ "name": "raw",
4269
+ "allowNo": false,
4270
+ "type": "boolean"
4271
+ }
4272
+ },
4273
+ "hasDynamicHelp": false,
4274
+ "hiddenAliases": [],
4275
+ "id": "notion:comments:get",
4276
+ "pluginAlias": "@eightstate/escli",
4277
+ "pluginName": "@eightstate/escli",
4278
+ "pluginType": "core",
4279
+ "strict": true,
4280
+ "summary": "Get one Notion comment by ID",
4281
+ "errors": [
4282
+ "usage.invalid",
4283
+ "usage.required",
4284
+ "usage.unknown_flag",
4285
+ "notion.unauthorized",
4286
+ "notion.restricted",
4287
+ "notion.not_found",
4288
+ "notion.rate_limited",
4289
+ "notion.validation",
4290
+ "notion.conflict",
4291
+ "notion.timeout_uncertain",
4292
+ "notion.enrollment_required",
4293
+ "gate.invalid_response",
4294
+ "network.error",
4295
+ "network.timeout",
4296
+ "service.unavailable",
4297
+ "api.error"
4298
+ ],
4299
+ "enableJsonFlag": true,
4300
+ "isESM": true,
4301
+ "relativePath": [
4302
+ "dist",
4303
+ "commands",
4304
+ "notion",
4305
+ "comments",
4306
+ "get.js"
4307
+ ]
4308
+ },
4309
+ "notion:comments:list": {
4310
+ "aliases": [],
4311
+ "args": {
4312
+ "target": {
4313
+ "description": "Page or block ID/URL.",
4314
+ "name": "target",
4315
+ "required": true
4316
+ }
4317
+ },
4318
+ "description": "List open Notion comments attached to a page or block. Paginated; repeat with --next to continue.",
4319
+ "examples": [
4320
+ "<%= config.bin %> notion comments list 362e1f8b-0d45-4d7b-bd85-cfb7c26f00dc",
4321
+ "<%= config.bin %> notion comments list https://notion.so/acme/Launch-Plan-362e?pvs=4 --next eyJ2Ijox",
4322
+ "<%= config.bin %> notion comments list 362e1f8b-0d45-4d7b-bd85-cfb7c26f00dc --raw"
4323
+ ],
4324
+ "flags": {
4325
+ "json": {
4326
+ "description": "Format output as json.",
4327
+ "helpGroup": "GLOBAL",
4328
+ "name": "json",
4329
+ "allowNo": false,
4330
+ "type": "boolean"
4331
+ },
4332
+ "quiet": {
4333
+ "description": "Suppress diagnostic output.",
4334
+ "name": "quiet",
4335
+ "allowNo": false,
4336
+ "type": "boolean"
4337
+ },
4338
+ "api-key": {
4339
+ "description": "API key override.",
4340
+ "helpGroup": "GLOBAL",
4341
+ "name": "api-key",
4342
+ "hasDynamicHelp": false,
4343
+ "multiple": false,
4344
+ "type": "option"
4345
+ },
4346
+ "base-url": {
4347
+ "description": "Base URL override.",
4348
+ "helpGroup": "GLOBAL",
4349
+ "name": "base-url",
4350
+ "hasDynamicHelp": false,
4351
+ "multiple": false,
4352
+ "type": "option"
4353
+ },
4354
+ "timeout": {
4355
+ "description": "Request timeout in seconds.",
4356
+ "helpGroup": "GLOBAL",
4357
+ "name": "timeout",
4358
+ "default": 300,
4359
+ "hasDynamicHelp": false,
4360
+ "multiple": false,
4361
+ "type": "option"
4362
+ },
4363
+ "describe": {
4364
+ "description": "Emit compact machine-readable command description.",
4365
+ "helpGroup": "GLOBAL",
4366
+ "name": "describe",
4367
+ "allowNo": false,
4368
+ "type": "boolean"
4369
+ },
4370
+ "schema": {
4371
+ "description": "Emit full machine-readable command schema.",
4372
+ "helpGroup": "GLOBAL",
4373
+ "name": "schema",
4374
+ "allowNo": false,
4375
+ "type": "boolean"
4376
+ },
4377
+ "version": {
4378
+ "char": "v",
4379
+ "description": "Emit version envelope.",
4380
+ "helpGroup": "GLOBAL",
4381
+ "name": "version",
4382
+ "allowNo": false,
4383
+ "type": "boolean"
4384
+ },
4385
+ "next": {
4386
+ "description": "Notion pagination token from the previous response.",
4387
+ "name": "next",
4388
+ "hasDynamicHelp": false,
4389
+ "multiple": false,
4390
+ "type": "option"
4391
+ },
4392
+ "raw": {
4393
+ "description": "Emit the verbatim Notion response body.",
4394
+ "name": "raw",
4395
+ "allowNo": false,
4396
+ "type": "boolean"
4397
+ }
4398
+ },
4399
+ "hasDynamicHelp": false,
4400
+ "hiddenAliases": [],
4401
+ "id": "notion:comments:list",
4402
+ "pluginAlias": "@eightstate/escli",
4403
+ "pluginName": "@eightstate/escli",
4404
+ "pluginType": "core",
4405
+ "strict": true,
4406
+ "summary": "List Notion comments for a page or block",
4407
+ "errors": [
4408
+ "usage.invalid",
4409
+ "usage.required",
4410
+ "usage.unknown_flag",
4411
+ "notion.unauthorized",
4412
+ "notion.restricted",
4413
+ "notion.not_found",
4414
+ "notion.rate_limited",
4415
+ "notion.validation",
4416
+ "notion.conflict",
4417
+ "notion.timeout_uncertain",
4418
+ "notion.enrollment_required",
4419
+ "gate.invalid_response",
4420
+ "network.error",
4421
+ "network.timeout",
4422
+ "service.unavailable",
4423
+ "api.error"
4424
+ ],
4425
+ "enableJsonFlag": true,
4426
+ "isESM": true,
4427
+ "relativePath": [
4428
+ "dist",
4429
+ "commands",
4430
+ "notion",
4431
+ "comments",
4432
+ "list.js"
4433
+ ]
4434
+ },
4435
+ "notion:comments:reply": {
4436
+ "aliases": [],
4437
+ "args": {
4438
+ "discussionId": {
4439
+ "description": "Discussion ID.",
4440
+ "name": "discussionId",
4441
+ "required": true
4442
+ },
4443
+ "markdown": {
4444
+ "description": "Inline comment markdown.",
4445
+ "multiple": true,
4446
+ "name": "markdown",
4447
+ "required": true
4448
+ }
4449
+ },
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.",
4574
+ "examples": [
4575
+ "<%= config.bin %> notion comments thread 362e1f8b-0d45-4d7b-bd85-cfb7c26f00dc disc_6a91",
4576
+ "<%= config.bin %> notion comments thread 362e1f8b-0d45-4d7b-bd85-cfb7c26f00dc disc_6a91 --raw"
4577
+ ],
4578
+ "flags": {
4579
+ "json": {
4580
+ "description": "Format output as json.",
4581
+ "helpGroup": "GLOBAL",
4582
+ "name": "json",
4583
+ "allowNo": false,
4584
+ "type": "boolean"
4585
+ },
4586
+ "quiet": {
4587
+ "description": "Suppress diagnostic output.",
4588
+ "name": "quiet",
4589
+ "allowNo": false,
4590
+ "type": "boolean"
4591
+ },
4592
+ "api-key": {
4593
+ "description": "API key override.",
4594
+ "helpGroup": "GLOBAL",
4595
+ "name": "api-key",
4596
+ "hasDynamicHelp": false,
4597
+ "multiple": false,
4598
+ "type": "option"
4599
+ },
4600
+ "base-url": {
4601
+ "description": "Base URL override.",
4602
+ "helpGroup": "GLOBAL",
4603
+ "name": "base-url",
4604
+ "hasDynamicHelp": false,
4605
+ "multiple": false,
4606
+ "type": "option"
4607
+ },
4608
+ "timeout": {
4609
+ "description": "Request timeout in seconds.",
4610
+ "helpGroup": "GLOBAL",
4611
+ "name": "timeout",
4612
+ "default": 300,
4613
+ "hasDynamicHelp": false,
4614
+ "multiple": false,
4615
+ "type": "option"
4616
+ },
4617
+ "describe": {
4618
+ "description": "Emit compact machine-readable command description.",
4619
+ "helpGroup": "GLOBAL",
4620
+ "name": "describe",
4621
+ "allowNo": false,
4622
+ "type": "boolean"
4623
+ },
4624
+ "schema": {
4625
+ "description": "Emit full machine-readable command schema.",
4626
+ "helpGroup": "GLOBAL",
4627
+ "name": "schema",
4628
+ "allowNo": false,
4629
+ "type": "boolean"
4630
+ },
4631
+ "version": {
4632
+ "char": "v",
4633
+ "description": "Emit version envelope.",
4634
+ "helpGroup": "GLOBAL",
4635
+ "name": "version",
4636
+ "allowNo": false,
4637
+ "type": "boolean"
4638
+ },
4639
+ "raw": {
4640
+ "description": "Emit the verbatim Notion response body.",
4641
+ "name": "raw",
4642
+ "allowNo": false,
4643
+ "type": "boolean"
4644
+ }
4645
+ },
4646
+ "hasDynamicHelp": false,
4647
+ "hiddenAliases": [],
4648
+ "id": "notion:comments:thread",
4649
+ "pluginAlias": "@eightstate/escli",
4650
+ "pluginName": "@eightstate/escli",
4651
+ "pluginType": "core",
4652
+ "strict": true,
4653
+ "summary": "Show one Notion discussion thread",
4654
+ "errors": [
4655
+ "usage.invalid",
4656
+ "usage.required",
4657
+ "usage.unknown_flag",
4658
+ "notion.unauthorized",
4659
+ "notion.restricted",
4660
+ "notion.not_found",
4661
+ "notion.rate_limited",
4662
+ "notion.validation",
4663
+ "notion.conflict",
4664
+ "notion.timeout_uncertain",
4665
+ "notion.enrollment_required",
4666
+ "gate.invalid_response",
4667
+ "network.error",
4668
+ "network.timeout",
4669
+ "service.unavailable",
4670
+ "api.error"
4671
+ ],
4672
+ "enableJsonFlag": true,
4673
+ "isESM": true,
4674
+ "relativePath": [
4675
+ "dist",
4676
+ "commands",
4677
+ "notion",
4678
+ "comments",
4679
+ "thread.js"
4680
+ ]
4681
+ },
4682
+ "notion:db:create": {
4683
+ "aliases": [
4684
+ "notion:database:create",
4685
+ "n:db:create",
4686
+ "n:database:create"
4687
+ ],
4688
+ "args": {
4689
+ "title": {
4690
+ "description": "Database title.",
4691
+ "name": "title",
4692
+ "required": true
4693
+ }
4694
+ },
4695
+ "description": "Create a database container under a parent, create its initial data source schema, and optionally request initial views.",
4696
+ "examples": [
4697
+ "<%= config.bin %> notion db create \"Launch CRM\" --parent 24f104cd477e80afbc30000bd28de8f9 --schema crm.schema.json --data-source-name Leads --view table:\"All leads\"",
4698
+ "<%= config.bin %> notion db create \"Launch CRM\" --parent 24f104cd477e80afbc30000bd28de8f9 --schema crm.schema.json --dry-run",
4699
+ "<%= config.bin %> --json notion db create \"Launch CRM\" --parent 24f104cd477e80afbc30000bd28de8f9 --schema crm.schema.json"
4700
+ ],
4701
+ "flags": {
4702
+ "json": {
4703
+ "description": "Format output as json.",
4704
+ "helpGroup": "GLOBAL",
4705
+ "name": "json",
4706
+ "allowNo": false,
4707
+ "type": "boolean"
4708
+ },
4709
+ "quiet": {
4710
+ "description": "Suppress diagnostic output.",
4711
+ "name": "quiet",
4712
+ "allowNo": false,
4713
+ "type": "boolean"
4714
+ },
4715
+ "api-key": {
4716
+ "description": "API key override.",
4717
+ "helpGroup": "GLOBAL",
4718
+ "name": "api-key",
4719
+ "hasDynamicHelp": false,
4720
+ "multiple": false,
4721
+ "type": "option"
4722
+ },
4723
+ "base-url": {
4724
+ "description": "Base URL override.",
4725
+ "helpGroup": "GLOBAL",
4726
+ "name": "base-url",
4727
+ "hasDynamicHelp": false,
4728
+ "multiple": false,
4729
+ "type": "option"
4730
+ },
4731
+ "timeout": {
4732
+ "description": "Request timeout in seconds.",
4733
+ "helpGroup": "GLOBAL",
4734
+ "name": "timeout",
4735
+ "default": 300,
4736
+ "hasDynamicHelp": false,
4737
+ "multiple": false,
4738
+ "type": "option"
4739
+ },
4740
+ "describe": {
4741
+ "description": "Emit compact machine-readable command description.",
4742
+ "helpGroup": "GLOBAL",
4743
+ "name": "describe",
4744
+ "allowNo": false,
4745
+ "type": "boolean"
4746
+ },
4747
+ "schema": {
4748
+ "description": "Emit full machine-readable command schema.",
4749
+ "helpGroup": "GLOBAL",
4750
+ "name": "schema",
4751
+ "allowNo": false,
4752
+ "type": "boolean"
4753
+ },
4754
+ "version": {
4755
+ "char": "v",
4756
+ "description": "Emit version envelope.",
4757
+ "helpGroup": "GLOBAL",
4758
+ "name": "version",
4759
+ "allowNo": false,
4760
+ "type": "boolean"
4761
+ },
4762
+ "parent": {
4763
+ "description": "Parent page ID, page URL, or wiki database ID.",
4764
+ "name": "parent",
4765
+ "required": true,
4766
+ "hasDynamicHelp": false,
4767
+ "multiple": false,
4768
+ "type": "option"
4769
+ },
4770
+ "schema-input": {
4771
+ "description": "Schema JSON path, inline JSON, or - for stdin.",
4772
+ "name": "schema-input",
4773
+ "required": true,
4774
+ "hasDynamicHelp": false,
4775
+ "helpValue": "schema",
4776
+ "multiple": false,
4777
+ "type": "option"
4778
+ },
4779
+ "data-source-name": {
4780
+ "description": "Initial data source name. Defaults to the database title.",
4781
+ "name": "data-source-name",
4782
+ "hasDynamicHelp": false,
4783
+ "multiple": false,
4784
+ "type": "option"
4785
+ },
4786
+ "view": {
4787
+ "description": "Initial view as <type:name>.",
4788
+ "name": "view",
4789
+ "hasDynamicHelp": false,
4790
+ "multiple": true,
4791
+ "type": "option"
4792
+ },
4793
+ "view-file": {
4794
+ "description": "JSON file containing richer view specs.",
4795
+ "name": "view-file",
4796
+ "hasDynamicHelp": false,
4797
+ "multiple": false,
4798
+ "type": "option"
4799
+ },
4800
+ "raw": {
4801
+ "description": "Emit verbatim Notion response body.",
4802
+ "name": "raw",
4803
+ "allowNo": false,
4804
+ "type": "boolean"
4805
+ },
4806
+ "dry-run": {
4807
+ "description": "Validate inputs and print the create payload without writing to Notion.",
4808
+ "name": "dry-run",
4809
+ "allowNo": false,
4810
+ "type": "boolean"
4811
+ }
4812
+ },
4813
+ "hasDynamicHelp": false,
4814
+ "hiddenAliases": [],
4815
+ "id": "notion:db:create",
4816
+ "pluginAlias": "@eightstate/escli",
4817
+ "pluginName": "@eightstate/escli",
4818
+ "pluginType": "core",
4819
+ "strict": true,
4820
+ "summary": "Create a Notion database and initial data source",
4821
+ "enableJsonFlag": true,
4822
+ "emitsJsonEnvelope": false,
4823
+ "errors": [
4824
+ "usage.required",
4825
+ "usage.invalid",
4826
+ "validation.failed",
4827
+ "json.invalid",
4828
+ "file.not_found",
4829
+ "file.read_failed",
4830
+ "auth.required",
4831
+ "notion.unauthorized",
4832
+ "notion.restricted",
4833
+ "notion.not_found",
4834
+ "notion.rate_limited",
4835
+ "notion.validation",
4836
+ "notion.conflict",
4837
+ "notion.timeout_uncertain",
4838
+ "notion.enrollment_required",
4839
+ "notion.batch_partial",
4840
+ "gate.invalid_response",
4841
+ "network.error",
4842
+ "network.timeout",
4843
+ "service.unavailable",
4844
+ "api.error"
4845
+ ],
4846
+ "isESM": true,
4847
+ "relativePath": [
4848
+ "dist",
4849
+ "commands",
4850
+ "notion",
4851
+ "db",
4852
+ "create.js"
4853
+ ]
4854
+ },
4855
+ "notion:db:query": {
4856
+ "aliases": [
4857
+ "notion:database:query",
4858
+ "notion:ds:query"
4859
+ ],
4860
+ "args": {
4861
+ "target": {
4862
+ "description": "Notion data-source UUID, database UUID, or Notion URL.",
4863
+ "name": "target",
4864
+ "required": true
4865
+ }
4866
+ },
4867
+ "description": "Read rows from a Notion data source with pass-through filters, sorts, selected properties, and stateless pagination.",
4868
+ "examples": [
4869
+ "<%= config.bin %> notion db query ds_362ef7b0c9a44f0aa0b3d174fd12004a --select Name,Status,Due",
4870
+ "<%= config.bin %> notion db query ds_362ef7b0c9a44f0aa0b3d174fd12004a --filter '{\"property\":\"Status\",\"status\":{\"equals\":\"In Progress\"}}' --sort Due:asc",
4871
+ "<%= config.bin %> notion db query ds_362ef7b0c9a44f0aa0b3d174fd12004a --next eyJzZXNzaW9uIjoiNGNmNyJ9"
4872
+ ],
4873
+ "flags": {
4874
+ "json": {
4875
+ "description": "Format output as json.",
4876
+ "helpGroup": "GLOBAL",
4877
+ "name": "json",
4878
+ "allowNo": false,
4879
+ "type": "boolean"
4880
+ },
4881
+ "quiet": {
4882
+ "description": "Suppress diagnostic output.",
4883
+ "name": "quiet",
4884
+ "allowNo": false,
4885
+ "type": "boolean"
4886
+ },
4887
+ "api-key": {
4888
+ "description": "API key override.",
4889
+ "helpGroup": "GLOBAL",
4890
+ "name": "api-key",
4891
+ "hasDynamicHelp": false,
4892
+ "multiple": false,
4893
+ "type": "option"
4894
+ },
4895
+ "base-url": {
4896
+ "description": "Base URL override.",
4897
+ "helpGroup": "GLOBAL",
4898
+ "name": "base-url",
4899
+ "hasDynamicHelp": false,
4900
+ "multiple": false,
4901
+ "type": "option"
4902
+ },
4903
+ "timeout": {
4904
+ "description": "Request timeout in seconds.",
4905
+ "helpGroup": "GLOBAL",
4906
+ "name": "timeout",
4907
+ "default": 300,
4908
+ "hasDynamicHelp": false,
4909
+ "multiple": false,
4910
+ "type": "option"
4911
+ },
4912
+ "describe": {
4913
+ "description": "Emit compact machine-readable command description.",
4914
+ "helpGroup": "GLOBAL",
4915
+ "name": "describe",
4916
+ "allowNo": false,
4917
+ "type": "boolean"
4918
+ },
4919
+ "schema": {
4920
+ "description": "Emit full machine-readable command schema.",
4921
+ "helpGroup": "GLOBAL",
4922
+ "name": "schema",
4923
+ "allowNo": false,
4924
+ "type": "boolean"
4925
+ },
4926
+ "version": {
4927
+ "char": "v",
4928
+ "description": "Emit version envelope.",
4929
+ "helpGroup": "GLOBAL",
4930
+ "name": "version",
4931
+ "allowNo": false,
4932
+ "type": "boolean"
4933
+ },
4934
+ "filter": {
4935
+ "description": "Notion filter object as JSON or @file.",
4936
+ "name": "filter",
4937
+ "hasDynamicHelp": false,
4938
+ "multiple": false,
4939
+ "type": "option"
4940
+ },
4941
+ "sort": {
4942
+ "description": "Repeatable sort shorthand: prop:asc or prop:desc.",
4943
+ "exclusive": [
4944
+ "sort-json"
4945
+ ],
4946
+ "name": "sort",
4947
+ "hasDynamicHelp": false,
4948
+ "multiple": true,
4949
+ "type": "option"
4950
+ },
4951
+ "sort-json": {
4952
+ "description": "Exact Notion sorts array as JSON or @file.",
4953
+ "exclusive": [
4954
+ "sort"
4955
+ ],
4956
+ "name": "sort-json",
4957
+ "hasDynamicHelp": false,
4958
+ "multiple": false,
4959
+ "type": "option"
4960
+ },
4961
+ "source": {
4962
+ "description": "Select a data source when the target is a multi-source database.",
4963
+ "name": "source",
4964
+ "hasDynamicHelp": false,
4965
+ "multiple": false,
4966
+ "type": "option"
4967
+ },
4968
+ "result-type": {
4969
+ "description": "Wiki-only result-type filter.",
4970
+ "name": "result-type",
4971
+ "default": "page",
4972
+ "hasDynamicHelp": false,
4973
+ "multiple": false,
4974
+ "options": [
4975
+ "page",
4976
+ "data_source",
4977
+ "any"
4978
+ ],
4979
+ "type": "option"
4980
+ },
4981
+ "select": {
4982
+ "description": "Comma-separated properties to display.",
4983
+ "name": "select",
4984
+ "hasDynamicHelp": false,
4985
+ "multiple": false,
4986
+ "type": "option"
4987
+ },
4988
+ "page-size": {
4989
+ "description": "Rows to request, 1-100.",
4990
+ "name": "page-size",
4991
+ "hasDynamicHelp": false,
4992
+ "multiple": false,
4993
+ "type": "option"
4994
+ },
4995
+ "title-prop": {
4996
+ "description": "Override title property detection.",
4997
+ "name": "title-prop",
4998
+ "hasDynamicHelp": false,
4999
+ "multiple": false,
5000
+ "type": "option"
5001
+ },
5002
+ "next": {
5003
+ "description": "Continue from Notion pagination token.",
5004
+ "name": "next",
5005
+ "hasDynamicHelp": false,
5006
+ "multiple": false,
5007
+ "type": "option"
5008
+ },
5009
+ "raw": {
5010
+ "description": "Return verbatim Notion response body.",
5011
+ "name": "raw",
5012
+ "allowNo": false,
5013
+ "type": "boolean"
5014
+ }
5015
+ },
5016
+ "hasDynamicHelp": false,
5017
+ "hiddenAliases": [],
5018
+ "id": "notion:db:query",
5019
+ "pluginAlias": "@eightstate/escli",
5020
+ "pluginName": "@eightstate/escli",
5021
+ "pluginType": "core",
5022
+ "strict": true,
5023
+ "summary": "Query a Notion data source",
5024
+ "enableJsonFlag": true,
5025
+ "emitsJsonEnvelope": false,
5026
+ "errors": [
5027
+ "usage.required",
5028
+ "usage.invalid",
5029
+ "usage.unknown_flag",
5030
+ "json.invalid",
5031
+ "auth.required",
5032
+ "notion.enrollment_required",
5033
+ "notion.unauthorized",
5034
+ "notion.restricted",
5035
+ "notion.not_found",
5036
+ "notion.validation",
5037
+ "notion.rate_limited",
5038
+ "gate.invalid_response",
5039
+ "network.error",
5040
+ "network.timeout",
5041
+ "service.unavailable"
5042
+ ],
5043
+ "isESM": true,
5044
+ "relativePath": [
5045
+ "dist",
5046
+ "commands",
5047
+ "notion",
5048
+ "db",
5049
+ "query.js"
5050
+ ]
5051
+ },
5052
+ "notion:ds:create": {
5053
+ "aliases": [
5054
+ "notion:data-source:create",
5055
+ "n:ds:create",
5056
+ "n:data-source:create"
5057
+ ],
5058
+ "args": {
5059
+ "database_id": {
5060
+ "description": "Database ID or URL.",
5061
+ "name": "database_id",
5062
+ "required": true
5063
+ },
5064
+ "name": {
5065
+ "description": "Data source name.",
5066
+ "name": "name",
5067
+ "required": true
5068
+ }
5069
+ },
5070
+ "description": "Add another table/data source with its own schema under an existing Notion database, optionally requesting views over it.",
5071
+ "examples": [
5072
+ "<%= config.bin %> notion ds create 362e7f31-7d53-4f6a-a0f6-7a7a7b68b0dc Accounts --schema accounts.schema.json --view table:\"All accounts\"",
5073
+ "<%= config.bin %> notion ds create 362e7f31-7d53-4f6a-a0f6-7a7a7b68b0dc Accounts --schema accounts.schema.json --dry-run",
5074
+ "<%= config.bin %> --json notion ds create 362e7f31-7d53-4f6a-a0f6-7a7a7b68b0dc Accounts --schema accounts.schema.json"
5075
+ ],
5076
+ "flags": {
5077
+ "json": {
5078
+ "description": "Format output as json.",
5079
+ "helpGroup": "GLOBAL",
5080
+ "name": "json",
5081
+ "allowNo": false,
5082
+ "type": "boolean"
5083
+ },
5084
+ "quiet": {
5085
+ "description": "Suppress diagnostic output.",
5086
+ "name": "quiet",
5087
+ "allowNo": false,
5088
+ "type": "boolean"
5089
+ },
5090
+ "api-key": {
5091
+ "description": "API key override.",
5092
+ "helpGroup": "GLOBAL",
5093
+ "name": "api-key",
5094
+ "hasDynamicHelp": false,
5095
+ "multiple": false,
5096
+ "type": "option"
5097
+ },
5098
+ "base-url": {
5099
+ "description": "Base URL override.",
5100
+ "helpGroup": "GLOBAL",
5101
+ "name": "base-url",
5102
+ "hasDynamicHelp": false,
5103
+ "multiple": false,
5104
+ "type": "option"
5105
+ },
5106
+ "timeout": {
5107
+ "description": "Request timeout in seconds.",
5108
+ "helpGroup": "GLOBAL",
5109
+ "name": "timeout",
5110
+ "default": 300,
5111
+ "hasDynamicHelp": false,
5112
+ "multiple": false,
5113
+ "type": "option"
5114
+ },
5115
+ "describe": {
5116
+ "description": "Emit compact machine-readable command description.",
5117
+ "helpGroup": "GLOBAL",
5118
+ "name": "describe",
5119
+ "allowNo": false,
5120
+ "type": "boolean"
5121
+ },
5122
+ "schema": {
5123
+ "description": "Emit full machine-readable command schema.",
5124
+ "helpGroup": "GLOBAL",
5125
+ "name": "schema",
5126
+ "allowNo": false,
5127
+ "type": "boolean"
5128
+ },
5129
+ "version": {
5130
+ "char": "v",
5131
+ "description": "Emit version envelope.",
5132
+ "helpGroup": "GLOBAL",
5133
+ "name": "version",
5134
+ "allowNo": false,
5135
+ "type": "boolean"
5136
+ },
5137
+ "schema-input": {
5138
+ "description": "Schema JSON path, inline JSON, or - for stdin.",
5139
+ "name": "schema-input",
5140
+ "required": true,
5141
+ "hasDynamicHelp": false,
5142
+ "helpValue": "schema",
5143
+ "multiple": false,
5144
+ "type": "option"
5145
+ },
5146
+ "view": {
5147
+ "description": "View as <type:name>.",
5148
+ "name": "view",
5149
+ "hasDynamicHelp": false,
5150
+ "multiple": true,
5151
+ "type": "option"
5152
+ },
5153
+ "view-file": {
5154
+ "description": "JSON file containing richer view specs.",
5155
+ "name": "view-file",
5156
+ "hasDynamicHelp": false,
5157
+ "multiple": false,
5158
+ "type": "option"
5159
+ },
5160
+ "raw": {
5161
+ "description": "Emit verbatim Notion response body.",
5162
+ "name": "raw",
5163
+ "allowNo": false,
5164
+ "type": "boolean"
5165
+ },
5166
+ "dry-run": {
5167
+ "description": "Validate inputs and print the create payload without writing to Notion.",
5168
+ "name": "dry-run",
5169
+ "allowNo": false,
5170
+ "type": "boolean"
5171
+ }
5172
+ },
5173
+ "hasDynamicHelp": false,
5174
+ "hiddenAliases": [],
5175
+ "id": "notion:ds:create",
5176
+ "pluginAlias": "@eightstate/escli",
5177
+ "pluginName": "@eightstate/escli",
5178
+ "pluginType": "core",
5179
+ "strict": true,
5180
+ "summary": "Create a Notion data source under a database",
5181
+ "enableJsonFlag": true,
5182
+ "emitsJsonEnvelope": false,
5183
+ "errors": [
5184
+ "usage.required",
5185
+ "usage.invalid",
5186
+ "validation.failed",
5187
+ "json.invalid",
5188
+ "file.not_found",
5189
+ "file.read_failed",
5190
+ "auth.required",
5191
+ "notion.unauthorized",
5192
+ "notion.restricted",
5193
+ "notion.not_found",
5194
+ "notion.rate_limited",
5195
+ "notion.validation",
5196
+ "notion.conflict",
5197
+ "notion.timeout_uncertain",
5198
+ "notion.enrollment_required",
5199
+ "notion.batch_partial",
5200
+ "gate.invalid_response",
5201
+ "network.error",
5202
+ "network.timeout",
5203
+ "service.unavailable",
5204
+ "api.error"
5205
+ ],
5206
+ "isESM": true,
5207
+ "relativePath": [
5208
+ "dist",
5209
+ "commands",
5210
+ "notion",
5211
+ "ds",
5212
+ "create.js"
5213
+ ]
5214
+ },
5215
+ "notion:page:edit": {
5216
+ "aliases": [],
5217
+ "args": {
5218
+ "page": {
5219
+ "description": "Notion page id or URL.",
5220
+ "name": "page",
5221
+ "required": true
5222
+ }
5223
+ },
5224
+ "description": "Apply targeted exact search-and-replace edits through Notion update_content.",
5225
+ "examples": [
5226
+ "<%= config.bin %> notion page edit 362e1f4a-7d8c-81b0-9f6e-f2c9a7b630dc --old \"Review command surfaces\" --new \"Review page-content output contract\"",
5227
+ "<%= config.bin %> notion page edit 362e1f4a-7d8c-81b0-9f6e-f2c9a7b630dc --old foo --new bar --replace-all",
5228
+ "<%= config.bin %> notion page edit 362e1f4a-7d8c-81b0-9f6e-f2c9a7b630dc --ops ops.json --raw"
5229
+ ],
5230
+ "flags": {
5231
+ "json": {
5232
+ "description": "Format output as json.",
5233
+ "helpGroup": "GLOBAL",
5234
+ "name": "json",
5235
+ "allowNo": false,
5236
+ "type": "boolean"
5237
+ },
5238
+ "quiet": {
5239
+ "description": "Suppress diagnostic output.",
5240
+ "name": "quiet",
5241
+ "allowNo": false,
5242
+ "type": "boolean"
5243
+ },
5244
+ "api-key": {
5245
+ "description": "API key override.",
5246
+ "helpGroup": "GLOBAL",
5247
+ "name": "api-key",
5248
+ "hasDynamicHelp": false,
5249
+ "multiple": false,
5250
+ "type": "option"
5251
+ },
5252
+ "base-url": {
5253
+ "description": "Base URL override.",
5254
+ "helpGroup": "GLOBAL",
5255
+ "name": "base-url",
5256
+ "hasDynamicHelp": false,
5257
+ "multiple": false,
5258
+ "type": "option"
5259
+ },
5260
+ "timeout": {
5261
+ "description": "Request timeout in seconds.",
5262
+ "helpGroup": "GLOBAL",
5263
+ "name": "timeout",
5264
+ "default": 300,
5265
+ "hasDynamicHelp": false,
5266
+ "multiple": false,
5267
+ "type": "option"
5268
+ },
5269
+ "describe": {
5270
+ "description": "Emit compact machine-readable command description.",
5271
+ "helpGroup": "GLOBAL",
5272
+ "name": "describe",
5273
+ "allowNo": false,
5274
+ "type": "boolean"
5275
+ },
5276
+ "schema": {
5277
+ "description": "Emit full machine-readable command schema.",
5278
+ "helpGroup": "GLOBAL",
5279
+ "name": "schema",
5280
+ "allowNo": false,
5281
+ "type": "boolean"
5282
+ },
5283
+ "version": {
5284
+ "char": "v",
5285
+ "description": "Emit version envelope.",
5286
+ "helpGroup": "GLOBAL",
5287
+ "name": "version",
5288
+ "allowNo": false,
5289
+ "type": "boolean"
5290
+ },
5291
+ "old": {
5292
+ "description": "Exact old string to replace.",
5293
+ "name": "old",
5294
+ "hasDynamicHelp": false,
5295
+ "multiple": true,
5296
+ "type": "option"
5297
+ },
5298
+ "new": {
5299
+ "description": "Replacement string.",
5300
+ "name": "new",
5301
+ "hasDynamicHelp": false,
5302
+ "multiple": true,
5303
+ "type": "option"
5304
+ },
5305
+ "ops": {
5306
+ "description": "JSON operations array or @file.",
5307
+ "name": "ops",
5308
+ "hasDynamicHelp": false,
5309
+ "multiple": false,
5310
+ "type": "option"
5311
+ },
5312
+ "replace-all": {
5313
+ "description": "Replace all matches for --old/--new operations.",
5314
+ "name": "replace-all",
5315
+ "allowNo": false,
5316
+ "type": "boolean"
5317
+ },
5318
+ "allow-deleting-content": {
5319
+ "description": "Allow deletion of nested child pages/databases if Notion detects it.",
5320
+ "name": "allow-deleting-content",
5321
+ "allowNo": false,
5322
+ "type": "boolean"
5323
+ },
5324
+ "raw": {
5325
+ "description": "Emit the verbatim Notion response body.",
5326
+ "name": "raw",
5327
+ "allowNo": false,
5328
+ "type": "boolean"
5329
+ }
5330
+ },
5331
+ "hasDynamicHelp": false,
5332
+ "hiddenAliases": [],
5333
+ "id": "notion:page:edit",
5334
+ "pluginAlias": "@eightstate/escli",
5335
+ "pluginName": "@eightstate/escli",
5336
+ "pluginType": "core",
5337
+ "strict": true,
5338
+ "summary": "Edit page body markdown",
5339
+ "errors": [
5340
+ "auth.required",
5341
+ "notion.enrollment_required",
5342
+ "notion.unauthorized",
5343
+ "notion.restricted",
5344
+ "notion.not_found",
5345
+ "notion.rate_limited",
5346
+ "notion.validation",
5347
+ "notion.conflict",
5348
+ "notion.timeout_uncertain",
5349
+ "gate.invalid_response",
5350
+ "network.error",
5351
+ "network.timeout",
5352
+ "service.unavailable",
5353
+ "api.error",
5354
+ "usage.invalid",
5355
+ "usage.required",
5356
+ "file.not_found",
5357
+ "file.read_failed",
5358
+ "usage.unknown_flag"
5359
+ ],
5360
+ "enableJsonFlag": true,
5361
+ "isESM": true,
5362
+ "relativePath": [
5363
+ "dist",
5364
+ "commands",
5365
+ "notion",
5366
+ "page",
5367
+ "edit.js"
5368
+ ]
5369
+ },
5370
+ "notion:page:move": {
5371
+ "aliases": [],
5372
+ "args": {
5373
+ "page": {
5374
+ "description": "Page ID or Notion URL.",
5375
+ "name": "page",
5376
+ "required": true
5377
+ }
5378
+ },
5379
+ "description": "Move a page under another page or into a database data source. Use --to-data-source with a data_source_id, not a database_id.",
5380
+ "examples": [
5381
+ "<%= config.bin %> notion page move 195de922-1179-449f-ab80-75a27c979105 --to-page 0f6b6d9e-36d4-49ff-a4dc-037b65fd08c2 --yes",
5382
+ "<%= config.bin %> notion page move 195de922-1179-449f-ab80-75a27c979105 --to-data-source 1c7b35e6-e67f-8096-bf3f-000ba938459e --yes"
5383
+ ],
5384
+ "flags": {
5385
+ "json": {
5386
+ "description": "Format output as json.",
5387
+ "helpGroup": "GLOBAL",
5388
+ "name": "json",
5389
+ "allowNo": false,
5390
+ "type": "boolean"
5391
+ },
5392
+ "quiet": {
5393
+ "description": "Suppress diagnostic output.",
5394
+ "name": "quiet",
5395
+ "allowNo": false,
5396
+ "type": "boolean"
5397
+ },
5398
+ "api-key": {
5399
+ "description": "API key override.",
5400
+ "helpGroup": "GLOBAL",
5401
+ "name": "api-key",
5402
+ "hasDynamicHelp": false,
5403
+ "multiple": false,
5404
+ "type": "option"
5405
+ },
5406
+ "base-url": {
5407
+ "description": "Base URL override.",
5408
+ "helpGroup": "GLOBAL",
5409
+ "name": "base-url",
5410
+ "hasDynamicHelp": false,
5411
+ "multiple": false,
5412
+ "type": "option"
5413
+ },
5414
+ "timeout": {
5415
+ "description": "Request timeout in seconds.",
5416
+ "helpGroup": "GLOBAL",
5417
+ "name": "timeout",
5418
+ "default": 300,
5419
+ "hasDynamicHelp": false,
5420
+ "multiple": false,
5421
+ "type": "option"
5422
+ },
5423
+ "describe": {
5424
+ "description": "Emit compact machine-readable command description.",
5425
+ "helpGroup": "GLOBAL",
5426
+ "name": "describe",
5427
+ "allowNo": false,
5428
+ "type": "boolean"
5429
+ },
5430
+ "schema": {
5431
+ "description": "Emit full machine-readable command schema.",
5432
+ "helpGroup": "GLOBAL",
5433
+ "name": "schema",
5434
+ "allowNo": false,
5435
+ "type": "boolean"
5436
+ },
5437
+ "version": {
5438
+ "char": "v",
5439
+ "description": "Emit version envelope.",
5440
+ "helpGroup": "GLOBAL",
5441
+ "name": "version",
5442
+ "allowNo": false,
5443
+ "type": "boolean"
5444
+ },
5445
+ "to-page": {
5446
+ "description": "Destination parent page ID or URL.",
5447
+ "name": "to-page",
5448
+ "hasDynamicHelp": false,
5449
+ "multiple": false,
5450
+ "type": "option"
5451
+ },
5452
+ "to-data-source": {
5453
+ "description": "Destination database data source ID.",
5454
+ "name": "to-data-source",
5455
+ "hasDynamicHelp": false,
5456
+ "multiple": false,
5457
+ "type": "option"
5458
+ },
5459
+ "yes": {
5460
+ "description": "Confirm the workflow-changing write without prompting.",
5461
+ "name": "yes",
5462
+ "allowNo": false,
5463
+ "type": "boolean"
5464
+ },
5465
+ "raw": {
5466
+ "description": "Emit the verbatim Notion response body.",
5467
+ "name": "raw",
5468
+ "allowNo": false,
5469
+ "type": "boolean"
5470
+ }
5471
+ },
5472
+ "hasDynamicHelp": false,
5473
+ "hiddenAliases": [],
5474
+ "id": "notion:page:move",
5475
+ "pluginAlias": "@eightstate/escli",
5476
+ "pluginName": "@eightstate/escli",
5477
+ "pluginType": "core",
5478
+ "strict": true,
5479
+ "summary": "Move a Notion page to a new parent page or data source",
5480
+ "errors": [
5481
+ "usage.required",
5482
+ "usage.invalid",
5483
+ "usage.unknown_flag",
5484
+ "validation.failed",
5485
+ "file.read_failed",
5486
+ "auth.required",
5487
+ "notion.unauthorized",
5488
+ "notion.enrollment_required",
5489
+ "notion.restricted",
5490
+ "notion.not_found",
5491
+ "notion.validation",
5492
+ "notion.conflict",
5493
+ "notion.rate_limited",
5494
+ "notion.timeout_uncertain",
5495
+ "gate.invalid_response",
5496
+ "network.error",
5497
+ "network.timeout",
5498
+ "service.unavailable",
5499
+ "api.error"
5500
+ ],
5501
+ "enableJsonFlag": true,
5502
+ "isESM": true,
5503
+ "relativePath": [
5504
+ "dist",
5505
+ "commands",
5506
+ "notion",
5507
+ "page",
5508
+ "move.js"
5509
+ ]
5510
+ },
5511
+ "notion:page:read": {
5512
+ "aliases": [],
5513
+ "args": {
5514
+ "page": {
5515
+ "description": "Notion page id or URL.",
5516
+ "name": "page",
5517
+ "required": true
5518
+ }
5519
+ },
5520
+ "description": "Read a Notion page body as native enhanced markdown with a compact metadata trailer.",
5521
+ "examples": [
5522
+ "<%= config.bin %> notion page read 362e1f4a-7d8c-81b0-9f6e-f2c9a7b630dc",
5523
+ "<%= config.bin %> notion page read https://notion.so/Q2-Planning-362e1f4a7d8c81b09f6ef2c9a7b630dc --raw",
5524
+ "<%= config.bin %> --json notion page read 362e1f4a-7d8c-81b0-9f6e-f2c9a7b630dc"
5525
+ ],
5526
+ "flags": {
5527
+ "json": {
5528
+ "description": "Format output as json.",
5529
+ "helpGroup": "GLOBAL",
5530
+ "name": "json",
5531
+ "allowNo": false,
5532
+ "type": "boolean"
5533
+ },
5534
+ "quiet": {
5535
+ "description": "Suppress diagnostic output.",
5536
+ "name": "quiet",
5537
+ "allowNo": false,
5538
+ "type": "boolean"
5539
+ },
5540
+ "api-key": {
5541
+ "description": "API key override.",
5542
+ "helpGroup": "GLOBAL",
5543
+ "name": "api-key",
5544
+ "hasDynamicHelp": false,
5545
+ "multiple": false,
5546
+ "type": "option"
5547
+ },
5548
+ "base-url": {
5549
+ "description": "Base URL override.",
5550
+ "helpGroup": "GLOBAL",
5551
+ "name": "base-url",
5552
+ "hasDynamicHelp": false,
5553
+ "multiple": false,
5554
+ "type": "option"
5555
+ },
5556
+ "timeout": {
5557
+ "description": "Request timeout in seconds.",
5558
+ "helpGroup": "GLOBAL",
5559
+ "name": "timeout",
5560
+ "default": 300,
5561
+ "hasDynamicHelp": false,
5562
+ "multiple": false,
5563
+ "type": "option"
5564
+ },
5565
+ "describe": {
5566
+ "description": "Emit compact machine-readable command description.",
5567
+ "helpGroup": "GLOBAL",
5568
+ "name": "describe",
5569
+ "allowNo": false,
5570
+ "type": "boolean"
5571
+ },
5572
+ "schema": {
5573
+ "description": "Emit full machine-readable command schema.",
5574
+ "helpGroup": "GLOBAL",
5575
+ "name": "schema",
5576
+ "allowNo": false,
5577
+ "type": "boolean"
5578
+ },
5579
+ "version": {
5580
+ "char": "v",
5581
+ "description": "Emit version envelope.",
5582
+ "helpGroup": "GLOBAL",
5583
+ "name": "version",
5584
+ "allowNo": false,
5585
+ "type": "boolean"
5586
+ },
5587
+ "raw": {
5588
+ "description": "Emit the verbatim Notion response body.",
5589
+ "name": "raw",
5590
+ "allowNo": false,
5591
+ "type": "boolean"
5592
+ }
5593
+ },
5594
+ "hasDynamicHelp": false,
5595
+ "hiddenAliases": [],
5596
+ "id": "notion:page:read",
5597
+ "pluginAlias": "@eightstate/escli",
5598
+ "pluginName": "@eightstate/escli",
5599
+ "pluginType": "core",
5600
+ "strict": true,
5601
+ "summary": "Read page body markdown",
5602
+ "errors": [
5603
+ "auth.required",
5604
+ "notion.enrollment_required",
5605
+ "notion.unauthorized",
5606
+ "notion.restricted",
5607
+ "notion.not_found",
5608
+ "notion.rate_limited",
5609
+ "notion.validation",
5610
+ "notion.conflict",
5611
+ "notion.timeout_uncertain",
5612
+ "gate.invalid_response",
5613
+ "network.error",
5614
+ "network.timeout",
5615
+ "service.unavailable",
5616
+ "api.error",
5617
+ "usage.invalid",
5618
+ "usage.required",
5619
+ "file.not_found",
5620
+ "file.read_failed",
5621
+ "usage.unknown_flag"
5622
+ ],
5623
+ "enableJsonFlag": true,
5624
+ "isESM": true,
5625
+ "relativePath": [
5626
+ "dist",
5627
+ "commands",
5628
+ "notion",
5629
+ "page",
5630
+ "read.js"
5631
+ ]
5632
+ },
5633
+ "notion:page:replace-content": {
5634
+ "aliases": [],
5635
+ "args": {
5636
+ "page": {
5637
+ "description": "Page ID or Notion URL.",
5638
+ "name": "page",
5639
+ "required": true
5640
+ }
5641
+ },
5642
+ "description": "Replace page markdown with Notion replace_content. If child pages/databases would be deleted, re-run with --allow-deleting-content after review.",
5643
+ "examples": [
5644
+ "<%= config.bin %> notion page replace-content 195de922-1179-449f-ab80-75a27c979105 --file replacement.md --yes",
5645
+ "<%= config.bin %> notion page replace-content 195de922-1179-449f-ab80-75a27c979105 --text \"# Replacement\" --allow-deleting-content --yes"
5646
+ ],
5647
+ "flags": {
5648
+ "json": {
5649
+ "description": "Format output as json.",
5650
+ "helpGroup": "GLOBAL",
5651
+ "name": "json",
5652
+ "allowNo": false,
5653
+ "type": "boolean"
5654
+ },
5655
+ "quiet": {
5656
+ "description": "Suppress diagnostic output.",
5657
+ "name": "quiet",
5658
+ "allowNo": false,
5659
+ "type": "boolean"
5660
+ },
5661
+ "api-key": {
5662
+ "description": "API key override.",
5663
+ "helpGroup": "GLOBAL",
5664
+ "name": "api-key",
5665
+ "hasDynamicHelp": false,
5666
+ "multiple": false,
5667
+ "type": "option"
5668
+ },
5669
+ "base-url": {
5670
+ "description": "Base URL override.",
5671
+ "helpGroup": "GLOBAL",
5672
+ "name": "base-url",
5673
+ "hasDynamicHelp": false,
5674
+ "multiple": false,
5675
+ "type": "option"
5676
+ },
5677
+ "timeout": {
5678
+ "description": "Request timeout in seconds.",
5679
+ "helpGroup": "GLOBAL",
5680
+ "name": "timeout",
5681
+ "default": 300,
5682
+ "hasDynamicHelp": false,
5683
+ "multiple": false,
5684
+ "type": "option"
5685
+ },
5686
+ "describe": {
5687
+ "description": "Emit compact machine-readable command description.",
5688
+ "helpGroup": "GLOBAL",
5689
+ "name": "describe",
5690
+ "allowNo": false,
5691
+ "type": "boolean"
5692
+ },
5693
+ "schema": {
5694
+ "description": "Emit full machine-readable command schema.",
5695
+ "helpGroup": "GLOBAL",
5696
+ "name": "schema",
5697
+ "allowNo": false,
5698
+ "type": "boolean"
5699
+ },
5700
+ "version": {
5701
+ "char": "v",
5702
+ "description": "Emit version envelope.",
5703
+ "helpGroup": "GLOBAL",
5704
+ "name": "version",
5705
+ "allowNo": false,
5706
+ "type": "boolean"
5707
+ },
5708
+ "file": {
5709
+ "description": "Markdown file to use as the new page body.",
5710
+ "name": "file",
5711
+ "hasDynamicHelp": false,
5712
+ "multiple": false,
5713
+ "type": "option"
5714
+ },
5715
+ "text": {
5716
+ "description": "Markdown text to use as the new page body.",
5717
+ "name": "text",
5718
+ "hasDynamicHelp": false,
5719
+ "multiple": false,
5720
+ "type": "option"
5721
+ },
5722
+ "allow-deleting-content": {
5723
+ "description": "Allow deletion of child pages/databases if Notion requires it.",
5724
+ "name": "allow-deleting-content",
5725
+ "allowNo": false,
5726
+ "type": "boolean"
5727
+ },
5728
+ "yes": {
5729
+ "description": "Confirm the destructive write without prompting.",
5730
+ "name": "yes",
5731
+ "allowNo": false,
5732
+ "type": "boolean"
5733
+ },
5734
+ "raw": {
5735
+ "description": "Emit the verbatim Notion response body.",
5736
+ "name": "raw",
5737
+ "allowNo": false,
5738
+ "type": "boolean"
5739
+ }
5740
+ },
5741
+ "hasDynamicHelp": false,
5742
+ "hiddenAliases": [],
5743
+ "id": "notion:page:replace-content",
5744
+ "pluginAlias": "@eightstate/escli",
5745
+ "pluginName": "@eightstate/escli",
5746
+ "pluginType": "core",
5747
+ "strict": true,
5748
+ "summary": "Replace a Notion page body with markdown",
5749
+ "errors": [
5750
+ "usage.required",
5751
+ "usage.invalid",
5752
+ "usage.unknown_flag",
5753
+ "validation.failed",
5754
+ "file.read_failed",
5755
+ "auth.required",
5756
+ "notion.unauthorized",
5757
+ "notion.enrollment_required",
5758
+ "notion.restricted",
5759
+ "notion.not_found",
5760
+ "notion.validation",
5761
+ "notion.conflict",
5762
+ "notion.rate_limited",
5763
+ "notion.timeout_uncertain",
5764
+ "gate.invalid_response",
5765
+ "network.error",
5766
+ "network.timeout",
5767
+ "service.unavailable",
5768
+ "api.error"
5769
+ ],
5770
+ "enableJsonFlag": true,
5771
+ "isESM": true,
5772
+ "relativePath": [
5773
+ "dist",
5774
+ "commands",
5775
+ "notion",
5776
+ "page",
5777
+ "replace-content.js"
5778
+ ]
5779
+ },
5780
+ "notion:page:replace-text": {
5781
+ "aliases": [],
5782
+ "args": {
5783
+ "page": {
5784
+ "description": "Page ID or Notion URL.",
5785
+ "name": "page",
5786
+ "required": true
5787
+ }
5788
+ },
5789
+ "description": "Patch page markdown with Notion update_content. --allow-deleting-content is only sent when explicitly supplied.",
5790
+ "examples": [
5791
+ "<%= config.bin %> notion page replace-text 195de922-1179-449f-ab80-75a27c979105 --old \"draft\" --new \"final\" --yes",
5792
+ "<%= config.bin %> notion page replace-text 195de922-1179-449f-ab80-75a27c979105 --old \"old\" --new \"new\" --replace-all --yes"
5793
+ ],
5794
+ "flags": {
5795
+ "json": {
5796
+ "description": "Format output as json.",
5797
+ "helpGroup": "GLOBAL",
5798
+ "name": "json",
5799
+ "allowNo": false,
5800
+ "type": "boolean"
5801
+ },
5802
+ "quiet": {
5803
+ "description": "Suppress diagnostic output.",
5804
+ "name": "quiet",
5805
+ "allowNo": false,
5806
+ "type": "boolean"
5807
+ },
5808
+ "api-key": {
5809
+ "description": "API key override.",
5810
+ "helpGroup": "GLOBAL",
5811
+ "name": "api-key",
5812
+ "hasDynamicHelp": false,
5813
+ "multiple": false,
5814
+ "type": "option"
5815
+ },
5816
+ "base-url": {
5817
+ "description": "Base URL override.",
5818
+ "helpGroup": "GLOBAL",
5819
+ "name": "base-url",
5820
+ "hasDynamicHelp": false,
5821
+ "multiple": false,
5822
+ "type": "option"
5823
+ },
5824
+ "timeout": {
5825
+ "description": "Request timeout in seconds.",
5826
+ "helpGroup": "GLOBAL",
5827
+ "name": "timeout",
5828
+ "default": 300,
5829
+ "hasDynamicHelp": false,
5830
+ "multiple": false,
5831
+ "type": "option"
5832
+ },
5833
+ "describe": {
5834
+ "description": "Emit compact machine-readable command description.",
5835
+ "helpGroup": "GLOBAL",
5836
+ "name": "describe",
5837
+ "allowNo": false,
5838
+ "type": "boolean"
5839
+ },
5840
+ "schema": {
5841
+ "description": "Emit full machine-readable command schema.",
5842
+ "helpGroup": "GLOBAL",
5843
+ "name": "schema",
5844
+ "allowNo": false,
5845
+ "type": "boolean"
5846
+ },
5847
+ "version": {
5848
+ "char": "v",
5849
+ "description": "Emit version envelope.",
5850
+ "helpGroup": "GLOBAL",
5851
+ "name": "version",
5852
+ "allowNo": false,
5853
+ "type": "boolean"
5854
+ },
5855
+ "old": {
5856
+ "description": "Exact markdown to replace.",
5857
+ "name": "old",
5858
+ "required": true,
5859
+ "hasDynamicHelp": false,
5860
+ "multiple": false,
5861
+ "type": "option"
5862
+ },
5863
+ "new": {
5864
+ "description": "Replacement markdown.",
5865
+ "name": "new",
5866
+ "required": true,
5867
+ "hasDynamicHelp": false,
5868
+ "multiple": false,
5869
+ "type": "option"
5870
+ },
5871
+ "replace-all": {
5872
+ "description": "Replace all exact matches.",
5873
+ "name": "replace-all",
5874
+ "allowNo": false,
5875
+ "type": "boolean"
5876
+ },
5877
+ "allow-deleting-content": {
5878
+ "description": "Allow deletion of child pages/databases if Notion requires it.",
5879
+ "name": "allow-deleting-content",
5880
+ "allowNo": false,
5881
+ "type": "boolean"
5882
+ },
5883
+ "yes": {
5884
+ "description": "Confirm the write without prompting.",
5885
+ "name": "yes",
5886
+ "allowNo": false,
5887
+ "type": "boolean"
5888
+ },
5889
+ "raw": {
5890
+ "description": "Emit the verbatim Notion response body.",
5891
+ "name": "raw",
5892
+ "allowNo": false,
5893
+ "type": "boolean"
5894
+ }
5895
+ },
5896
+ "hasDynamicHelp": false,
5897
+ "hiddenAliases": [],
5898
+ "id": "notion:page:replace-text",
5899
+ "pluginAlias": "@eightstate/escli",
5900
+ "pluginName": "@eightstate/escli",
5901
+ "pluginType": "core",
5902
+ "strict": true,
5903
+ "summary": "Search and replace exact markdown in a Notion page",
5904
+ "errors": [
5905
+ "usage.required",
5906
+ "usage.invalid",
5907
+ "usage.unknown_flag",
5908
+ "validation.failed",
5909
+ "file.read_failed",
5910
+ "auth.required",
5911
+ "notion.unauthorized",
5912
+ "notion.enrollment_required",
5913
+ "notion.restricted",
5914
+ "notion.not_found",
5915
+ "notion.validation",
5916
+ "notion.conflict",
5917
+ "notion.rate_limited",
5918
+ "notion.timeout_uncertain",
5919
+ "gate.invalid_response",
5920
+ "network.error",
5921
+ "network.timeout",
5922
+ "service.unavailable",
5923
+ "api.error"
5924
+ ],
5925
+ "enableJsonFlag": true,
5926
+ "isESM": true,
5927
+ "relativePath": [
5928
+ "dist",
5929
+ "commands",
5930
+ "notion",
5931
+ "page",
5932
+ "replace-text.js"
5933
+ ]
5934
+ },
5935
+ "notion:page:replace": {
5936
+ "aliases": [],
5937
+ "args": {
5938
+ "page": {
5939
+ "description": "Notion page id or URL.",
5940
+ "name": "page",
5941
+ "required": true
5942
+ }
5943
+ },
5944
+ "description": "Replace a Notion page body through Notion replace_content using native enhanced markdown.",
5945
+ "examples": [
5946
+ "<%= config.bin %> notion page replace 362e1f4a-7d8c-81b0-9f6e-f2c9a7b630dc --file q2-planning-replacement.md",
5947
+ "<%= config.bin %> notion page replace 362e1f4a-7d8c-81b0-9f6e-f2c9a7b630dc --markdown \"# Q2 Planning\"",
5948
+ "<%= config.bin %> notion page replace 362e1f4a-7d8c-81b0-9f6e-f2c9a7b630dc --stdin --raw"
5949
+ ],
5950
+ "flags": {
5951
+ "json": {
5952
+ "description": "Format output as json.",
5953
+ "helpGroup": "GLOBAL",
5954
+ "name": "json",
5955
+ "allowNo": false,
5956
+ "type": "boolean"
5957
+ },
5958
+ "quiet": {
5959
+ "description": "Suppress diagnostic output.",
5960
+ "name": "quiet",
5961
+ "allowNo": false,
5962
+ "type": "boolean"
5963
+ },
5964
+ "api-key": {
5965
+ "description": "API key override.",
5966
+ "helpGroup": "GLOBAL",
5967
+ "name": "api-key",
5968
+ "hasDynamicHelp": false,
5969
+ "multiple": false,
5970
+ "type": "option"
5971
+ },
5972
+ "base-url": {
5973
+ "description": "Base URL override.",
5974
+ "helpGroup": "GLOBAL",
5975
+ "name": "base-url",
5976
+ "hasDynamicHelp": false,
5977
+ "multiple": false,
5978
+ "type": "option"
5979
+ },
5980
+ "timeout": {
5981
+ "description": "Request timeout in seconds.",
5982
+ "helpGroup": "GLOBAL",
5983
+ "name": "timeout",
5984
+ "default": 300,
5985
+ "hasDynamicHelp": false,
5986
+ "multiple": false,
5987
+ "type": "option"
5988
+ },
5989
+ "describe": {
5990
+ "description": "Emit compact machine-readable command description.",
5991
+ "helpGroup": "GLOBAL",
5992
+ "name": "describe",
5993
+ "allowNo": false,
5994
+ "type": "boolean"
5995
+ },
5996
+ "schema": {
5997
+ "description": "Emit full machine-readable command schema.",
5998
+ "helpGroup": "GLOBAL",
5999
+ "name": "schema",
6000
+ "allowNo": false,
6001
+ "type": "boolean"
6002
+ },
6003
+ "version": {
6004
+ "char": "v",
6005
+ "description": "Emit version envelope.",
6006
+ "helpGroup": "GLOBAL",
6007
+ "name": "version",
6008
+ "allowNo": false,
6009
+ "type": "boolean"
6010
+ },
6011
+ "markdown": {
6012
+ "description": "Enhanced markdown content.",
6013
+ "name": "markdown",
6014
+ "hasDynamicHelp": false,
6015
+ "multiple": false,
6016
+ "type": "option"
6017
+ },
6018
+ "file": {
6019
+ "description": "Read enhanced markdown content from a file.",
6020
+ "name": "file",
6021
+ "hasDynamicHelp": false,
6022
+ "multiple": false,
6023
+ "type": "option"
6024
+ },
6025
+ "stdin": {
6026
+ "description": "Read enhanced markdown content from stdin.",
6027
+ "name": "stdin",
6028
+ "allowNo": false,
6029
+ "type": "boolean"
6030
+ },
6031
+ "allow-deleting-content": {
6032
+ "description": "Allow deletion of nested child pages/databases if Notion detects it.",
6033
+ "name": "allow-deleting-content",
6034
+ "allowNo": false,
6035
+ "type": "boolean"
6036
+ },
6037
+ "raw": {
6038
+ "description": "Emit the verbatim Notion response body.",
6039
+ "name": "raw",
6040
+ "allowNo": false,
6041
+ "type": "boolean"
6042
+ }
6043
+ },
6044
+ "hasDynamicHelp": false,
6045
+ "hiddenAliases": [],
6046
+ "id": "notion:page:replace",
6047
+ "pluginAlias": "@eightstate/escli",
6048
+ "pluginName": "@eightstate/escli",
6049
+ "pluginType": "core",
6050
+ "strict": true,
6051
+ "summary": "Replace page body markdown",
6052
+ "errors": [
6053
+ "auth.required",
6054
+ "notion.enrollment_required",
6055
+ "notion.unauthorized",
6056
+ "notion.restricted",
6057
+ "notion.not_found",
6058
+ "notion.rate_limited",
6059
+ "notion.validation",
6060
+ "notion.conflict",
6061
+ "notion.timeout_uncertain",
6062
+ "gate.invalid_response",
6063
+ "network.error",
6064
+ "network.timeout",
6065
+ "service.unavailable",
6066
+ "api.error",
6067
+ "usage.invalid",
6068
+ "usage.required",
6069
+ "file.not_found",
6070
+ "file.read_failed",
6071
+ "usage.unknown_flag"
6072
+ ],
6073
+ "enableJsonFlag": true,
6074
+ "isESM": true,
6075
+ "relativePath": [
6076
+ "dist",
6077
+ "commands",
6078
+ "notion",
6079
+ "page",
6080
+ "replace.js"
6081
+ ]
6082
+ },
6083
+ "notion:page:trash": {
6084
+ "aliases": [],
6085
+ "args": {
6086
+ "page": {
6087
+ "description": "Page ID or Notion URL.",
6088
+ "name": "page",
6089
+ "required": true
6090
+ }
6091
+ },
6092
+ "description": "Soft-trash or restore a Notion page through the enrolled Notion bot. Requires --yes in non-interactive mode.",
6093
+ "examples": [
6094
+ "<%= config.bin %> notion page trash 195de922-1179-449f-ab80-75a27c979105 --yes",
6095
+ "<%= config.bin %> notion page trash 195de922-1179-449f-ab80-75a27c979105 --restore --yes",
6096
+ "<%= config.bin %> notion page trash https://www.notion.so/Old-launch-notes-195de9221179449fab8075a27c979105 --raw --yes"
6097
+ ],
6098
+ "flags": {
6099
+ "json": {
6100
+ "description": "Format output as json.",
6101
+ "helpGroup": "GLOBAL",
6102
+ "name": "json",
6103
+ "allowNo": false,
6104
+ "type": "boolean"
6105
+ },
6106
+ "quiet": {
6107
+ "description": "Suppress diagnostic output.",
6108
+ "name": "quiet",
6109
+ "allowNo": false,
6110
+ "type": "boolean"
6111
+ },
6112
+ "api-key": {
6113
+ "description": "API key override.",
6114
+ "helpGroup": "GLOBAL",
6115
+ "name": "api-key",
6116
+ "hasDynamicHelp": false,
6117
+ "multiple": false,
6118
+ "type": "option"
6119
+ },
6120
+ "base-url": {
6121
+ "description": "Base URL override.",
6122
+ "helpGroup": "GLOBAL",
6123
+ "name": "base-url",
6124
+ "hasDynamicHelp": false,
6125
+ "multiple": false,
6126
+ "type": "option"
6127
+ },
6128
+ "timeout": {
6129
+ "description": "Request timeout in seconds.",
6130
+ "helpGroup": "GLOBAL",
6131
+ "name": "timeout",
6132
+ "default": 300,
6133
+ "hasDynamicHelp": false,
6134
+ "multiple": false,
6135
+ "type": "option"
6136
+ },
6137
+ "describe": {
6138
+ "description": "Emit compact machine-readable command description.",
6139
+ "helpGroup": "GLOBAL",
6140
+ "name": "describe",
6141
+ "allowNo": false,
6142
+ "type": "boolean"
6143
+ },
6144
+ "schema": {
6145
+ "description": "Emit full machine-readable command schema.",
6146
+ "helpGroup": "GLOBAL",
6147
+ "name": "schema",
6148
+ "allowNo": false,
6149
+ "type": "boolean"
6150
+ },
6151
+ "version": {
6152
+ "char": "v",
6153
+ "description": "Emit version envelope.",
6154
+ "helpGroup": "GLOBAL",
6155
+ "name": "version",
6156
+ "allowNo": false,
6157
+ "type": "boolean"
6158
+ },
6159
+ "restore": {
6160
+ "description": "Restore the page instead of trashing it.",
6161
+ "name": "restore",
6162
+ "allowNo": false,
6163
+ "type": "boolean"
6164
+ },
6165
+ "yes": {
6166
+ "description": "Confirm the destructive write without prompting.",
6167
+ "name": "yes",
6168
+ "allowNo": false,
6169
+ "type": "boolean"
6170
+ },
6171
+ "raw": {
6172
+ "description": "Emit the verbatim Notion response body.",
6173
+ "name": "raw",
6174
+ "allowNo": false,
6175
+ "type": "boolean"
6176
+ }
6177
+ },
6178
+ "hasDynamicHelp": false,
6179
+ "hiddenAliases": [],
6180
+ "id": "notion:page:trash",
6181
+ "pluginAlias": "@eightstate/escli",
6182
+ "pluginName": "@eightstate/escli",
6183
+ "pluginType": "core",
6184
+ "strict": true,
6185
+ "summary": "Move a Notion page to Trash, or restore it with --restore",
6186
+ "errors": [
6187
+ "usage.required",
6188
+ "usage.invalid",
6189
+ "usage.unknown_flag",
6190
+ "validation.failed",
6191
+ "file.read_failed",
6192
+ "auth.required",
6193
+ "notion.unauthorized",
6194
+ "notion.enrollment_required",
6195
+ "notion.restricted",
6196
+ "notion.not_found",
6197
+ "notion.validation",
6198
+ "notion.conflict",
6199
+ "notion.rate_limited",
6200
+ "notion.timeout_uncertain",
6201
+ "gate.invalid_response",
6202
+ "network.error",
6203
+ "network.timeout",
6204
+ "service.unavailable",
6205
+ "api.error"
6206
+ ],
6207
+ "enableJsonFlag": true,
6208
+ "isESM": true,
6209
+ "relativePath": [
6210
+ "dist",
6211
+ "commands",
6212
+ "notion",
6213
+ "page",
6214
+ "trash.js"
6215
+ ]
6216
+ },
6217
+ "notion:upload:attach": {
6218
+ "aliases": [
6219
+ "notion:upload:attach"
6220
+ ],
6221
+ "args": {
6222
+ "file-upload-id": {
6223
+ "description": "Notion file_upload id(s).",
6224
+ "multiple": true,
6225
+ "name": "file-upload-id",
6226
+ "required": true
6227
+ }
6228
+ },
6229
+ "description": "Validates existing file_upload ids and attaches them to a block, page files property, page cover, or page icon.",
6230
+ "examples": [
6231
+ "<%= config.bin %> notion file-upload attach fu_4383 --attach-to block:blk_6c42 --as pdf",
6232
+ "<%= config.bin %> notion file-upload attach fu_1 fu_2 --attach property --page pg_123 --property Attachments"
6233
+ ],
6234
+ "flags": {
6235
+ "json": {
6236
+ "description": "Format output as json.",
6237
+ "helpGroup": "GLOBAL",
6238
+ "name": "json",
6239
+ "allowNo": false,
6240
+ "type": "boolean"
6241
+ },
6242
+ "quiet": {
6243
+ "description": "Suppress diagnostic output.",
6244
+ "name": "quiet",
6245
+ "allowNo": false,
6246
+ "type": "boolean"
6247
+ },
6248
+ "api-key": {
6249
+ "description": "API key override.",
6250
+ "helpGroup": "GLOBAL",
6251
+ "name": "api-key",
6252
+ "hasDynamicHelp": false,
6253
+ "multiple": false,
6254
+ "type": "option"
6255
+ },
6256
+ "base-url": {
6257
+ "description": "Base URL override.",
6258
+ "helpGroup": "GLOBAL",
6259
+ "name": "base-url",
6260
+ "hasDynamicHelp": false,
6261
+ "multiple": false,
6262
+ "type": "option"
6263
+ },
6264
+ "timeout": {
6265
+ "description": "Request timeout in seconds.",
6266
+ "helpGroup": "GLOBAL",
6267
+ "name": "timeout",
6268
+ "default": 300,
6269
+ "hasDynamicHelp": false,
6270
+ "multiple": false,
6271
+ "type": "option"
6272
+ },
6273
+ "describe": {
6274
+ "description": "Emit compact machine-readable command description.",
6275
+ "helpGroup": "GLOBAL",
6276
+ "name": "describe",
6277
+ "allowNo": false,
6278
+ "type": "boolean"
6279
+ },
6280
+ "schema": {
6281
+ "description": "Emit full machine-readable command schema.",
6282
+ "helpGroup": "GLOBAL",
6283
+ "name": "schema",
6284
+ "allowNo": false,
6285
+ "type": "boolean"
6286
+ },
6287
+ "version": {
6288
+ "char": "v",
6289
+ "description": "Emit version envelope.",
6290
+ "helpGroup": "GLOBAL",
6291
+ "name": "version",
6292
+ "allowNo": false,
6293
+ "type": "boolean"
6294
+ },
6295
+ "name": {
6296
+ "description": "Display name. Allowed only with one file_upload id.",
6297
+ "name": "name",
6298
+ "hasDynamicHelp": false,
6299
+ "multiple": false,
6300
+ "type": "option"
6301
+ },
6302
+ "attach-to": {
6303
+ "description": "Compact target: block:<id>, property:<page-id>:<property>, cover:<page-id>, or icon:<page-id>.",
6304
+ "name": "attach-to",
6305
+ "hasDynamicHelp": false,
6306
+ "multiple": false,
6307
+ "type": "option"
6308
+ },
6309
+ "attach": {
6310
+ "description": "Attachment target kind.",
6311
+ "name": "attach",
6312
+ "hasDynamicHelp": false,
6313
+ "multiple": false,
6314
+ "options": [
6315
+ "block",
6316
+ "property",
6317
+ "page"
6318
+ ],
6319
+ "type": "option"
6320
+ },
6321
+ "parent": {
6322
+ "description": "Block/page id for block attachment.",
6323
+ "name": "parent",
6324
+ "hasDynamicHelp": false,
6325
+ "multiple": false,
6326
+ "type": "option"
6327
+ },
6328
+ "as": {
6329
+ "description": "Block attachment type.",
6330
+ "name": "as",
6331
+ "default": "file",
6332
+ "hasDynamicHelp": false,
6333
+ "multiple": false,
6334
+ "options": [
6335
+ "file",
6336
+ "image",
6337
+ "pdf",
6338
+ "video",
6339
+ "audio"
6340
+ ],
6341
+ "type": "option"
6342
+ },
6343
+ "page": {
6344
+ "description": "Page id for property/page attachment.",
6345
+ "name": "page",
6346
+ "hasDynamicHelp": false,
6347
+ "multiple": false,
6348
+ "type": "option"
6349
+ },
6350
+ "property": {
6351
+ "description": "Files property name or id.",
6352
+ "name": "property",
6353
+ "hasDynamicHelp": false,
6354
+ "multiple": false,
6355
+ "type": "option"
6356
+ },
6357
+ "slot": {
6358
+ "description": "Page file slot.",
6359
+ "name": "slot",
6360
+ "hasDynamicHelp": false,
6361
+ "multiple": false,
6362
+ "options": [
6363
+ "cover",
6364
+ "icon"
6365
+ ],
6366
+ "type": "option"
6367
+ },
6368
+ "caption": {
6369
+ "description": "Caption for block attachments.",
6370
+ "name": "caption",
6371
+ "hasDynamicHelp": false,
6372
+ "multiple": false,
6373
+ "type": "option"
6374
+ },
6375
+ "replace-all": {
6376
+ "description": "Replace property files instead of appending.",
6377
+ "name": "replace-all",
6378
+ "allowNo": false,
6379
+ "type": "boolean"
6380
+ },
6381
+ "yes": {
6382
+ "description": "Accept non-interactive replacement confirmations.",
6383
+ "name": "yes",
6384
+ "allowNo": false,
6385
+ "type": "boolean"
6386
+ },
6387
+ "raw": {
6388
+ "description": "Emit verbatim Notion response body instead of shaped output.",
6389
+ "name": "raw",
6390
+ "allowNo": false,
6391
+ "type": "boolean"
6392
+ }
6393
+ },
6394
+ "hasDynamicHelp": false,
6395
+ "hiddenAliases": [],
6396
+ "id": "notion:upload:attach",
6397
+ "pluginAlias": "@eightstate/escli",
6398
+ "pluginName": "@eightstate/escli",
6399
+ "pluginType": "core",
6400
+ "strict": true,
6401
+ "summary": "Attach existing Notion file_upload ids",
6402
+ "enableJsonFlag": true,
6403
+ "emitsJsonEnvelope": false,
6404
+ "errors": [
6405
+ "usage.required",
6406
+ "usage.invalid",
6407
+ "usage.unknown_flag",
6408
+ "validation.failed",
6409
+ "file.not_found",
6410
+ "file.read_failed",
6411
+ "auth.required",
6412
+ "gate.credential_unavailable",
6413
+ "gate.invalid_response",
6414
+ "network.error",
6415
+ "network.timeout",
6416
+ "service.unavailable",
6417
+ "api.error",
6418
+ "notion.unauthorized",
6419
+ "notion.restricted",
6420
+ "notion.not_found",
6421
+ "notion.rate_limited",
6422
+ "notion.validation",
6423
+ "notion.conflict",
6424
+ "notion.timeout_uncertain",
6425
+ "notion.enrollment_required",
6426
+ "notion.batch_partial"
6427
+ ],
6428
+ "isESM": true,
6429
+ "relativePath": [
6430
+ "dist",
6431
+ "commands",
6432
+ "notion",
6433
+ "upload",
6434
+ "attach.js"
6435
+ ]
6436
+ },
6437
+ "notion:upload": {
6438
+ "aliases": [
6439
+ "notion:upload"
6440
+ ],
6441
+ "args": {
6442
+ "path": {
6443
+ "description": "Local file path(s).",
6444
+ "multiple": true,
6445
+ "name": "path",
6446
+ "required": true
6447
+ }
6448
+ },
6449
+ "description": "Creates Notion file_upload objects, sends bytes, completes multipart uploads, and optionally attaches them.",
6450
+ "examples": [
6451
+ "<%= config.bin %> notion file-upload upload ./diagram.png",
6452
+ "<%= config.bin %> notion file-upload upload ./demo.mov --attach-to block:blk_123 --as video",
6453
+ "<%= config.bin %> notion file-upload upload ./diagram.png --attach property --page pg_123 --property Attachments"
6454
+ ],
6455
+ "flags": {
6456
+ "json": {
6457
+ "description": "Format output as json.",
6458
+ "helpGroup": "GLOBAL",
6459
+ "name": "json",
6460
+ "allowNo": false,
6461
+ "type": "boolean"
6462
+ },
6463
+ "quiet": {
6464
+ "description": "Suppress diagnostic output.",
6465
+ "name": "quiet",
6466
+ "allowNo": false,
6467
+ "type": "boolean"
6468
+ },
6469
+ "api-key": {
6470
+ "description": "API key override.",
6471
+ "helpGroup": "GLOBAL",
6472
+ "name": "api-key",
6473
+ "hasDynamicHelp": false,
6474
+ "multiple": false,
6475
+ "type": "option"
6476
+ },
6477
+ "base-url": {
6478
+ "description": "Base URL override.",
6479
+ "helpGroup": "GLOBAL",
6480
+ "name": "base-url",
6481
+ "hasDynamicHelp": false,
6482
+ "multiple": false,
6483
+ "type": "option"
6484
+ },
6485
+ "timeout": {
6486
+ "description": "Request timeout in seconds.",
6487
+ "helpGroup": "GLOBAL",
6488
+ "name": "timeout",
6489
+ "default": 300,
6490
+ "hasDynamicHelp": false,
6491
+ "multiple": false,
6492
+ "type": "option"
6493
+ },
6494
+ "describe": {
6495
+ "description": "Emit compact machine-readable command description.",
6496
+ "helpGroup": "GLOBAL",
6497
+ "name": "describe",
6498
+ "allowNo": false,
6499
+ "type": "boolean"
6500
+ },
6501
+ "schema": {
6502
+ "description": "Emit full machine-readable command schema.",
6503
+ "helpGroup": "GLOBAL",
6504
+ "name": "schema",
6505
+ "allowNo": false,
6506
+ "type": "boolean"
6507
+ },
6508
+ "version": {
6509
+ "char": "v",
6510
+ "description": "Emit version envelope.",
6511
+ "helpGroup": "GLOBAL",
6512
+ "name": "version",
6513
+ "allowNo": false,
6514
+ "type": "boolean"
6515
+ },
6516
+ "mode": {
6517
+ "description": "Upload mode.",
6518
+ "name": "mode",
6519
+ "default": "auto",
6520
+ "hasDynamicHelp": false,
6521
+ "multiple": false,
6522
+ "options": [
6523
+ "auto",
6524
+ "single",
6525
+ "multi"
6526
+ ],
6527
+ "type": "option"
6528
+ },
6529
+ "name": {
6530
+ "description": "Display name. Allowed only with one file.",
6531
+ "name": "name",
6532
+ "hasDynamicHelp": false,
6533
+ "multiple": false,
6534
+ "type": "option"
6535
+ },
6536
+ "part-size-mib": {
6537
+ "description": "Multipart part size in MiB.",
6538
+ "name": "part-size-mib",
6539
+ "default": 10,
6540
+ "hasDynamicHelp": false,
6541
+ "multiple": false,
6542
+ "type": "option"
6543
+ },
6544
+ "parallel-parts": {
6545
+ "description": "Multipart parallelism hint.",
6546
+ "name": "parallel-parts",
6547
+ "default": 2,
6548
+ "hasDynamicHelp": false,
6549
+ "multiple": false,
6550
+ "type": "option"
6551
+ },
6552
+ "attach-to": {
6553
+ "description": "Compact target: block:<id>, property:<page-id>:<property>, cover:<page-id>, or icon:<page-id>.",
6554
+ "name": "attach-to",
6555
+ "hasDynamicHelp": false,
6556
+ "multiple": false,
6557
+ "type": "option"
6558
+ },
6559
+ "attach": {
6560
+ "description": "Attachment target kind.",
6561
+ "name": "attach",
6562
+ "hasDynamicHelp": false,
6563
+ "multiple": false,
6564
+ "options": [
6565
+ "block",
6566
+ "property",
6567
+ "page"
6568
+ ],
6569
+ "type": "option"
6570
+ },
6571
+ "parent": {
6572
+ "description": "Block/page id for block attachment.",
6573
+ "name": "parent",
6574
+ "hasDynamicHelp": false,
6575
+ "multiple": false,
6576
+ "type": "option"
6577
+ },
6578
+ "as": {
6579
+ "description": "Block attachment type.",
6580
+ "name": "as",
6581
+ "default": "file",
6582
+ "hasDynamicHelp": false,
6583
+ "multiple": false,
6584
+ "options": [
6585
+ "file",
6586
+ "image",
6587
+ "pdf",
6588
+ "video",
6589
+ "audio"
6590
+ ],
6591
+ "type": "option"
6592
+ },
6593
+ "page": {
6594
+ "description": "Page id for property/page attachment.",
6595
+ "name": "page",
6596
+ "hasDynamicHelp": false,
6597
+ "multiple": false,
6598
+ "type": "option"
6599
+ },
6600
+ "property": {
6601
+ "description": "Files property name or id.",
6602
+ "name": "property",
6603
+ "hasDynamicHelp": false,
6604
+ "multiple": false,
6605
+ "type": "option"
6606
+ },
6607
+ "slot": {
6608
+ "description": "Page file slot.",
6609
+ "name": "slot",
6610
+ "hasDynamicHelp": false,
6611
+ "multiple": false,
6612
+ "options": [
6613
+ "cover",
6614
+ "icon"
6615
+ ],
6616
+ "type": "option"
6617
+ },
6618
+ "caption": {
6619
+ "description": "Caption for block attachments.",
6620
+ "name": "caption",
6621
+ "hasDynamicHelp": false,
6622
+ "multiple": false,
6623
+ "type": "option"
6624
+ },
6625
+ "replace-all": {
6626
+ "description": "Replace property files instead of appending.",
6627
+ "name": "replace-all",
6628
+ "allowNo": false,
6629
+ "type": "boolean"
6630
+ },
6631
+ "yes": {
6632
+ "description": "Accept non-interactive replacement / large batch confirmations.",
6633
+ "name": "yes",
6634
+ "allowNo": false,
6635
+ "type": "boolean"
6636
+ },
6637
+ "raw": {
6638
+ "description": "Emit verbatim Notion response body instead of shaped output.",
6639
+ "name": "raw",
6640
+ "allowNo": false,
6641
+ "type": "boolean"
6642
+ }
6643
+ },
6644
+ "hasDynamicHelp": false,
6645
+ "hiddenAliases": [],
6646
+ "id": "notion:upload",
6647
+ "pluginAlias": "@eightstate/escli",
6648
+ "pluginName": "@eightstate/escli",
6649
+ "pluginType": "core",
6650
+ "strict": true,
6651
+ "summary": "Upload local files to Notion file_upload storage",
6652
+ "enableJsonFlag": true,
6653
+ "emitsJsonEnvelope": false,
6654
+ "errors": [
6655
+ "usage.required",
6656
+ "usage.invalid",
6657
+ "usage.unknown_flag",
6658
+ "validation.failed",
6659
+ "file.not_found",
6660
+ "file.read_failed",
6661
+ "auth.required",
6662
+ "gate.credential_unavailable",
6663
+ "gate.invalid_response",
6664
+ "network.error",
6665
+ "network.timeout",
6666
+ "service.unavailable",
6667
+ "api.error",
6668
+ "notion.unauthorized",
6669
+ "notion.restricted",
6670
+ "notion.not_found",
6671
+ "notion.rate_limited",
6672
+ "notion.validation",
6673
+ "notion.conflict",
6674
+ "notion.timeout_uncertain",
6675
+ "notion.enrollment_required",
6676
+ "notion.batch_partial"
6677
+ ],
6678
+ "isESM": true,
6679
+ "relativePath": [
6680
+ "dist",
6681
+ "commands",
6682
+ "notion",
6683
+ "upload",
6684
+ "index.js"
6685
+ ]
6686
+ },
6687
+ "notion:upload:list": {
6688
+ "aliases": [
6689
+ "notion:upload:list",
6690
+ "notion:file-upload:ls"
6691
+ ],
6692
+ "args": {},
6693
+ "description": "Emits one bounded recent page of bot-created Notion file uploads. This command is intentionally not paginated.",
6694
+ "examples": [
6695
+ "<%= config.bin %> notion file-upload list",
6696
+ "<%= config.bin %> notion file-upload list --status uploaded --page-size 20"
6697
+ ],
6698
+ "flags": {
6699
+ "json": {
6700
+ "description": "Format output as json.",
6701
+ "helpGroup": "GLOBAL",
6702
+ "name": "json",
6703
+ "allowNo": false,
6704
+ "type": "boolean"
6705
+ },
6706
+ "quiet": {
6707
+ "description": "Suppress diagnostic output.",
6708
+ "name": "quiet",
6709
+ "allowNo": false,
6710
+ "type": "boolean"
6711
+ },
6712
+ "api-key": {
6713
+ "description": "API key override.",
6714
+ "helpGroup": "GLOBAL",
6715
+ "name": "api-key",
6716
+ "hasDynamicHelp": false,
6717
+ "multiple": false,
6718
+ "type": "option"
6719
+ },
6720
+ "base-url": {
6721
+ "description": "Base URL override.",
6722
+ "helpGroup": "GLOBAL",
6723
+ "name": "base-url",
6724
+ "hasDynamicHelp": false,
6725
+ "multiple": false,
6726
+ "type": "option"
6727
+ },
6728
+ "timeout": {
6729
+ "description": "Request timeout in seconds.",
6730
+ "helpGroup": "GLOBAL",
6731
+ "name": "timeout",
6732
+ "default": 300,
6733
+ "hasDynamicHelp": false,
6734
+ "multiple": false,
6735
+ "type": "option"
6736
+ },
6737
+ "describe": {
6738
+ "description": "Emit compact machine-readable command description.",
6739
+ "helpGroup": "GLOBAL",
6740
+ "name": "describe",
6741
+ "allowNo": false,
6742
+ "type": "boolean"
6743
+ },
6744
+ "schema": {
6745
+ "description": "Emit full machine-readable command schema.",
6746
+ "helpGroup": "GLOBAL",
6747
+ "name": "schema",
6748
+ "allowNo": false,
6749
+ "type": "boolean"
6750
+ },
6751
+ "version": {
6752
+ "char": "v",
6753
+ "description": "Emit version envelope.",
6754
+ "helpGroup": "GLOBAL",
6755
+ "name": "version",
6756
+ "allowNo": false,
6757
+ "type": "boolean"
6758
+ },
6759
+ "status": {
6760
+ "description": "Filter by upload status.",
6761
+ "name": "status",
6762
+ "hasDynamicHelp": false,
6763
+ "multiple": false,
6764
+ "options": [
6765
+ "pending",
6766
+ "uploaded",
6767
+ "expired",
6768
+ "failed"
6769
+ ],
6770
+ "type": "option"
6771
+ },
6772
+ "created-after": {
6773
+ "description": "Filter to uploads created after an ISO-8601 timestamp.",
6774
+ "name": "created-after",
6775
+ "hasDynamicHelp": false,
6776
+ "multiple": false,
6777
+ "type": "option"
6778
+ },
6779
+ "page-size": {
6780
+ "description": "Bounded recent page size.",
6781
+ "name": "page-size",
6782
+ "default": 20,
6783
+ "hasDynamicHelp": false,
6784
+ "multiple": false,
6785
+ "type": "option"
6786
+ },
6787
+ "raw": {
6788
+ "description": "Emit verbatim Notion response body instead of shaped output.",
6789
+ "name": "raw",
6790
+ "allowNo": false,
6791
+ "type": "boolean"
6792
+ }
6793
+ },
6794
+ "hasDynamicHelp": false,
6795
+ "hiddenAliases": [],
6796
+ "id": "notion:upload:list",
6797
+ "pluginAlias": "@eightstate/escli",
6798
+ "pluginName": "@eightstate/escli",
6799
+ "pluginType": "core",
6800
+ "strict": true,
6801
+ "summary": "List recent Notion file_uploads",
6802
+ "enableJsonFlag": true,
6803
+ "emitsJsonEnvelope": false,
6804
+ "errors": [
6805
+ "usage.required",
6806
+ "usage.invalid",
6807
+ "usage.unknown_flag",
6808
+ "validation.failed",
6809
+ "file.not_found",
6810
+ "file.read_failed",
6811
+ "auth.required",
6812
+ "gate.credential_unavailable",
6813
+ "gate.invalid_response",
6814
+ "network.error",
6815
+ "network.timeout",
6816
+ "service.unavailable",
6817
+ "api.error",
6818
+ "notion.unauthorized",
6819
+ "notion.restricted",
6820
+ "notion.not_found",
6821
+ "notion.rate_limited",
6822
+ "notion.validation",
6823
+ "notion.conflict",
6824
+ "notion.timeout_uncertain",
6825
+ "notion.enrollment_required",
6826
+ "notion.batch_partial"
6827
+ ],
6828
+ "isESM": true,
6829
+ "relativePath": [
6830
+ "dist",
6831
+ "commands",
6832
+ "notion",
6833
+ "upload",
6834
+ "list.js"
6835
+ ]
6836
+ },
6837
+ "notion:upload:status": {
6838
+ "aliases": [
6839
+ "notion:upload:status"
6840
+ ],
6841
+ "args": {
6842
+ "file-upload-id": {
6843
+ "description": "Notion file_upload id(s).",
6844
+ "multiple": true,
6845
+ "name": "file-upload-id",
6846
+ "required": true
6847
+ }
6848
+ },
6849
+ "description": "Checks whether supplied file_upload ids are attachable, persistent, pending, or dead.",
6850
+ "examples": [
6851
+ "<%= config.bin %> notion file-upload status fu_9bb1 fu_4383",
6852
+ "<%= config.bin %> --json notion file-upload status fu_9bb1"
6853
+ ],
6854
+ "flags": {
6855
+ "json": {
6856
+ "description": "Format output as json.",
6857
+ "helpGroup": "GLOBAL",
6858
+ "name": "json",
6859
+ "allowNo": false,
6860
+ "type": "boolean"
6861
+ },
6862
+ "quiet": {
6863
+ "description": "Suppress diagnostic output.",
6864
+ "name": "quiet",
6865
+ "allowNo": false,
6866
+ "type": "boolean"
6867
+ },
6868
+ "api-key": {
6869
+ "description": "API key override.",
6870
+ "helpGroup": "GLOBAL",
6871
+ "name": "api-key",
6872
+ "hasDynamicHelp": false,
6873
+ "multiple": false,
6874
+ "type": "option"
6875
+ },
6876
+ "base-url": {
6877
+ "description": "Base URL override.",
6878
+ "helpGroup": "GLOBAL",
6879
+ "name": "base-url",
6880
+ "hasDynamicHelp": false,
6881
+ "multiple": false,
6882
+ "type": "option"
6883
+ },
6884
+ "timeout": {
6885
+ "description": "Request timeout in seconds.",
6886
+ "helpGroup": "GLOBAL",
6887
+ "name": "timeout",
6888
+ "default": 300,
6889
+ "hasDynamicHelp": false,
6890
+ "multiple": false,
6891
+ "type": "option"
6892
+ },
6893
+ "describe": {
6894
+ "description": "Emit compact machine-readable command description.",
6895
+ "helpGroup": "GLOBAL",
6896
+ "name": "describe",
6897
+ "allowNo": false,
6898
+ "type": "boolean"
6899
+ },
6900
+ "schema": {
6901
+ "description": "Emit full machine-readable command schema.",
6902
+ "helpGroup": "GLOBAL",
6903
+ "name": "schema",
6904
+ "allowNo": false,
6905
+ "type": "boolean"
6906
+ },
6907
+ "version": {
6908
+ "char": "v",
6909
+ "description": "Emit version envelope.",
6910
+ "helpGroup": "GLOBAL",
6911
+ "name": "version",
6912
+ "allowNo": false,
6913
+ "type": "boolean"
6914
+ },
6915
+ "raw": {
6916
+ "description": "Emit verbatim Notion response body instead of shaped output.",
6917
+ "name": "raw",
6918
+ "allowNo": false,
6919
+ "type": "boolean"
6920
+ }
6921
+ },
6922
+ "hasDynamicHelp": false,
6923
+ "hiddenAliases": [],
6924
+ "id": "notion:upload:status",
6925
+ "pluginAlias": "@eightstate/escli",
6926
+ "pluginName": "@eightstate/escli",
6927
+ "pluginType": "core",
6928
+ "strict": true,
6929
+ "summary": "Check Notion file_upload status",
6930
+ "enableJsonFlag": true,
6931
+ "emitsJsonEnvelope": false,
6932
+ "errors": [
6933
+ "usage.required",
6934
+ "usage.invalid",
6935
+ "usage.unknown_flag",
6936
+ "validation.failed",
6937
+ "file.not_found",
6938
+ "file.read_failed",
6939
+ "auth.required",
6940
+ "gate.credential_unavailable",
6941
+ "gate.invalid_response",
6942
+ "network.error",
6943
+ "network.timeout",
6944
+ "service.unavailable",
6945
+ "api.error",
6946
+ "notion.unauthorized",
6947
+ "notion.restricted",
6948
+ "notion.not_found",
6949
+ "notion.rate_limited",
6950
+ "notion.validation",
6951
+ "notion.conflict",
6952
+ "notion.timeout_uncertain",
6953
+ "notion.enrollment_required",
6954
+ "notion.batch_partial"
6955
+ ],
6956
+ "isESM": true,
6957
+ "relativePath": [
6958
+ "dist",
6959
+ "commands",
6960
+ "notion",
6961
+ "upload",
6962
+ "status.js"
6963
+ ]
6964
+ },
6965
+ "notion:view:create": {
6966
+ "aliases": [
6967
+ "notion:views:create",
6968
+ "n:view:create",
6969
+ "n:views:create"
6970
+ ],
6971
+ "args": {
6972
+ "name": {
6973
+ "description": "View name.",
6974
+ "name": "name",
6975
+ "required": true
6976
+ }
6977
+ },
6978
+ "description": "Create one database view over an existing data source, placed in a database, dashboard, or linked page location.",
6979
+ "examples": [
6980
+ "<%= config.bin %> notion view create \"Renewals this quarter\" --data-source 74b1dd01-5e4d-4f64-a67e-e60ce75bb901 --in-db 362e7f31-7d53-4f6a-a0f6-7a7a7b68b0dc --type table --filter renewals-q.filter.json --sort Renewal:asc",
6981
+ "<%= config.bin %> notion view create \"Renewals this quarter\" --data-source 74b1dd01-5e4d-4f64-a67e-e60ce75bb901 --in-db 362e7f31-7d53-4f6a-a0f6-7a7a7b68b0dc --type table --dry-run",
6982
+ "<%= config.bin %> --json notion view create \"Renewals this quarter\" --data-source 74b1dd01-5e4d-4f64-a67e-e60ce75bb901 --in-db 362e7f31-7d53-4f6a-a0f6-7a7a7b68b0dc --type table"
6983
+ ],
6984
+ "flags": {
6985
+ "json": {
6986
+ "description": "Format output as json.",
6987
+ "helpGroup": "GLOBAL",
6988
+ "name": "json",
6989
+ "allowNo": false,
6990
+ "type": "boolean"
6991
+ },
6992
+ "quiet": {
6993
+ "description": "Suppress diagnostic output.",
6994
+ "name": "quiet",
6995
+ "allowNo": false,
6996
+ "type": "boolean"
6997
+ },
6998
+ "api-key": {
6999
+ "description": "API key override.",
7000
+ "helpGroup": "GLOBAL",
7001
+ "name": "api-key",
7002
+ "hasDynamicHelp": false,
7003
+ "multiple": false,
7004
+ "type": "option"
7005
+ },
7006
+ "base-url": {
7007
+ "description": "Base URL override.",
7008
+ "helpGroup": "GLOBAL",
7009
+ "name": "base-url",
7010
+ "hasDynamicHelp": false,
7011
+ "multiple": false,
7012
+ "type": "option"
7013
+ },
7014
+ "timeout": {
7015
+ "description": "Request timeout in seconds.",
7016
+ "helpGroup": "GLOBAL",
7017
+ "name": "timeout",
7018
+ "default": 300,
7019
+ "hasDynamicHelp": false,
7020
+ "multiple": false,
7021
+ "type": "option"
7022
+ },
7023
+ "describe": {
7024
+ "description": "Emit compact machine-readable command description.",
7025
+ "helpGroup": "GLOBAL",
7026
+ "name": "describe",
7027
+ "allowNo": false,
7028
+ "type": "boolean"
7029
+ },
7030
+ "schema": {
7031
+ "description": "Emit full machine-readable command schema.",
7032
+ "helpGroup": "GLOBAL",
7033
+ "name": "schema",
7034
+ "allowNo": false,
7035
+ "type": "boolean"
7036
+ },
7037
+ "version": {
7038
+ "char": "v",
7039
+ "description": "Emit version envelope.",
7040
+ "helpGroup": "GLOBAL",
7041
+ "name": "version",
7042
+ "allowNo": false,
7043
+ "type": "boolean"
7044
+ },
7045
+ "data-source": {
7046
+ "description": "Data source ID.",
7047
+ "name": "data-source",
7048
+ "required": true,
7049
+ "hasDynamicHelp": false,
7050
+ "multiple": false,
7051
+ "type": "option"
7052
+ },
7053
+ "in-db": {
7054
+ "description": "Place as a top-level database tab.",
7055
+ "name": "in-db",
7056
+ "hasDynamicHelp": false,
7057
+ "multiple": false,
7058
+ "type": "option"
7059
+ },
7060
+ "in-dashboard": {
7061
+ "description": "Place as a dashboard widget under this view ID.",
7062
+ "name": "in-dashboard",
7063
+ "hasDynamicHelp": false,
7064
+ "multiple": false,
7065
+ "type": "option"
7066
+ },
7067
+ "linked-on": {
7068
+ "description": "Place as a linked database on this page ID.",
7069
+ "name": "linked-on",
7070
+ "hasDynamicHelp": false,
7071
+ "multiple": false,
7072
+ "type": "option"
7073
+ },
7074
+ "type": {
7075
+ "description": "View type.",
7076
+ "name": "type",
7077
+ "required": true,
7078
+ "hasDynamicHelp": false,
7079
+ "multiple": false,
7080
+ "options": [
7081
+ "table",
7082
+ "board",
7083
+ "list",
7084
+ "calendar",
7085
+ "timeline",
7086
+ "gallery",
7087
+ "form",
7088
+ "chart",
7089
+ "map"
7090
+ ],
7091
+ "type": "option"
7092
+ },
7093
+ "filter": {
7094
+ "description": "Filter JSON path or inline JSON.",
7095
+ "name": "filter",
7096
+ "hasDynamicHelp": false,
7097
+ "multiple": false,
7098
+ "type": "option"
7099
+ },
7100
+ "sort": {
7101
+ "description": "Sort as <property:asc|property:desc>.",
7102
+ "name": "sort",
7103
+ "hasDynamicHelp": false,
7104
+ "multiple": true,
7105
+ "type": "option"
7106
+ },
7107
+ "config": {
7108
+ "description": "Configuration JSON path or inline JSON.",
7109
+ "name": "config",
7110
+ "hasDynamicHelp": false,
7111
+ "multiple": false,
7112
+ "type": "option"
7113
+ },
7114
+ "position": {
7115
+ "description": "View position: start, end, or after:<view_id>.",
7116
+ "name": "position",
7117
+ "hasDynamicHelp": false,
7118
+ "multiple": false,
7119
+ "type": "option"
7120
+ },
7121
+ "raw": {
7122
+ "description": "Emit verbatim Notion response body.",
7123
+ "name": "raw",
7124
+ "allowNo": false,
7125
+ "type": "boolean"
7126
+ },
7127
+ "dry-run": {
7128
+ "description": "Validate inputs and print the create payload without writing to Notion.",
7129
+ "name": "dry-run",
7130
+ "allowNo": false,
7131
+ "type": "boolean"
7132
+ }
7133
+ },
7134
+ "hasDynamicHelp": false,
7135
+ "hiddenAliases": [],
7136
+ "id": "notion:view:create",
7137
+ "pluginAlias": "@eightstate/escli",
7138
+ "pluginName": "@eightstate/escli",
7139
+ "pluginType": "core",
7140
+ "strict": true,
7141
+ "summary": "Create a Notion database view",
7142
+ "enableJsonFlag": true,
7143
+ "emitsJsonEnvelope": false,
7144
+ "errors": [
7145
+ "usage.required",
7146
+ "usage.invalid",
7147
+ "validation.failed",
7148
+ "json.invalid",
7149
+ "file.not_found",
7150
+ "file.read_failed",
7151
+ "auth.required",
7152
+ "notion.unauthorized",
7153
+ "notion.restricted",
7154
+ "notion.not_found",
7155
+ "notion.rate_limited",
7156
+ "notion.validation",
7157
+ "notion.conflict",
7158
+ "notion.timeout_uncertain",
7159
+ "notion.enrollment_required",
7160
+ "notion.batch_partial",
7161
+ "gate.invalid_response",
7162
+ "network.error",
7163
+ "network.timeout",
7164
+ "service.unavailable",
7165
+ "api.error"
7166
+ ],
7167
+ "isESM": true,
7168
+ "relativePath": [
7169
+ "dist",
7170
+ "commands",
7171
+ "notion",
7172
+ "view",
7173
+ "create.js"
7174
+ ]
7175
+ },
7176
+ "notion:db:row:create": {
7177
+ "aliases": [
7178
+ "notion:db:create:row",
7179
+ "notion:ds:row:create"
7180
+ ],
7181
+ "args": {
7182
+ "data_source_id": {
7183
+ "description": "Target Notion data source ID.",
7184
+ "name": "data_source_id",
7185
+ "required": true
7186
+ }
7187
+ },
7188
+ "description": "Create one new page/row in a Notion data source with typed properties.",
7189
+ "examples": [
7190
+ "<%= config.bin %> notion db row create 248104cd-477e-80af-bc30-000bd28de8f9 --properties '{\"Name\":{\"title\":[{\"text\":{\"content\":\"Launch checklist\"}}]}}'",
7191
+ "<%= config.bin %> notion db row create 248104cd-477e-80af-bc30-000bd28de8f9 --properties @row.json --json",
7192
+ "<%= config.bin %> notion db row create 248104cd-477e-80af-bc30-000bd28de8f9 --properties @row.json --raw"
7193
+ ],
7194
+ "flags": {
7195
+ "json": {
7196
+ "description": "Format output as json.",
7197
+ "helpGroup": "GLOBAL",
7198
+ "name": "json",
7199
+ "allowNo": false,
7200
+ "type": "boolean"
7201
+ },
7202
+ "quiet": {
7203
+ "description": "Suppress diagnostic output.",
7204
+ "name": "quiet",
7205
+ "allowNo": false,
7206
+ "type": "boolean"
7207
+ },
7208
+ "api-key": {
7209
+ "description": "API key override.",
7210
+ "helpGroup": "GLOBAL",
7211
+ "name": "api-key",
7212
+ "hasDynamicHelp": false,
7213
+ "multiple": false,
7214
+ "type": "option"
7215
+ },
7216
+ "base-url": {
7217
+ "description": "Base URL override.",
7218
+ "helpGroup": "GLOBAL",
7219
+ "name": "base-url",
7220
+ "hasDynamicHelp": false,
7221
+ "multiple": false,
7222
+ "type": "option"
7223
+ },
7224
+ "timeout": {
7225
+ "description": "Request timeout in seconds.",
7226
+ "helpGroup": "GLOBAL",
7227
+ "name": "timeout",
7228
+ "default": 300,
7229
+ "hasDynamicHelp": false,
7230
+ "multiple": false,
7231
+ "type": "option"
7232
+ },
7233
+ "describe": {
7234
+ "description": "Emit compact machine-readable command description.",
7235
+ "helpGroup": "GLOBAL",
7236
+ "name": "describe",
7237
+ "allowNo": false,
7238
+ "type": "boolean"
7239
+ },
7240
+ "schema": {
7241
+ "description": "Emit full machine-readable command schema.",
7242
+ "helpGroup": "GLOBAL",
7243
+ "name": "schema",
7244
+ "allowNo": false,
7245
+ "type": "boolean"
7246
+ },
7247
+ "version": {
7248
+ "char": "v",
7249
+ "description": "Emit version envelope.",
7250
+ "helpGroup": "GLOBAL",
7251
+ "name": "version",
7252
+ "allowNo": false,
7253
+ "type": "boolean"
7254
+ },
7255
+ "properties": {
7256
+ "description": "Typed Notion properties as JSON, @file, or - for stdin.",
7257
+ "name": "properties",
7258
+ "required": true,
7259
+ "hasDynamicHelp": false,
7260
+ "multiple": false,
7261
+ "type": "option"
7262
+ },
7263
+ "raw": {
7264
+ "description": "Emit verbatim Notion response body.",
7265
+ "name": "raw",
7266
+ "allowNo": false,
7267
+ "type": "boolean"
7268
+ }
7269
+ },
7270
+ "hasDynamicHelp": false,
7271
+ "hiddenAliases": [],
7272
+ "id": "notion:db:row:create",
7273
+ "pluginAlias": "@eightstate/escli",
7274
+ "pluginName": "@eightstate/escli",
7275
+ "pluginType": "core",
7276
+ "strict": true,
7277
+ "summary": "Create a Notion data-source row",
7278
+ "enableJsonFlag": true,
7279
+ "emitsJsonEnvelope": false,
7280
+ "errors": [
7281
+ "usage.invalid",
7282
+ "usage.required",
7283
+ "validation.failed",
7284
+ "json.invalid",
7285
+ "file.not_found",
7286
+ "file.read_failed",
7287
+ "auth.required",
7288
+ "notion.unauthorized",
7289
+ "notion.enrollment_required",
7290
+ "notion.restricted",
7291
+ "notion.not_found",
7292
+ "notion.rate_limited",
7293
+ "notion.validation",
7294
+ "notion.conflict",
7295
+ "notion.timeout_uncertain",
7296
+ "notion.batch_partial",
7297
+ "gate.invalid_response",
7298
+ "gate.credential_unavailable",
7299
+ "api.error",
7300
+ "network.error",
7301
+ "network.timeout",
7302
+ "service.unavailable"
7303
+ ],
7304
+ "isESM": true,
7305
+ "relativePath": [
7306
+ "dist",
7307
+ "commands",
7308
+ "notion",
7309
+ "db",
7310
+ "row",
7311
+ "create.js"
7312
+ ]
7313
+ },
7314
+ "notion:db:row:update": {
7315
+ "aliases": [
7316
+ "notion:db:update:row",
7317
+ "notion:ds:row:update"
7318
+ ],
7319
+ "args": {
7320
+ "page_id": {
7321
+ "description": "Target Notion page/row ID.",
7322
+ "name": "page_id",
7323
+ "required": false
7324
+ }
7325
+ },
7326
+ "description": "Update typed properties on one Notion data-source row, or sequentially update rows from an NDJSON --ids-file batch.",
7327
+ "examples": [
7328
+ "<%= config.bin %> notion db row update 23f104cd-477e-8120-9a61-f2a2b73a9c11 --properties '{\"Status\":{\"status\":{\"name\":\"In Progress\"}}}'",
7329
+ "<%= config.bin %> notion db row update --ids-file updates.ndjson",
7330
+ "<%= config.bin %> notion db row update --ids-file - --raw"
7331
+ ],
7332
+ "flags": {
7333
+ "json": {
7334
+ "description": "Format output as json.",
7335
+ "helpGroup": "GLOBAL",
7336
+ "name": "json",
7337
+ "allowNo": false,
7338
+ "type": "boolean"
7339
+ },
7340
+ "quiet": {
7341
+ "description": "Suppress diagnostic output.",
7342
+ "name": "quiet",
7343
+ "allowNo": false,
7344
+ "type": "boolean"
7345
+ },
7346
+ "api-key": {
7347
+ "description": "API key override.",
7348
+ "helpGroup": "GLOBAL",
7349
+ "name": "api-key",
7350
+ "hasDynamicHelp": false,
7351
+ "multiple": false,
7352
+ "type": "option"
7353
+ },
7354
+ "base-url": {
7355
+ "description": "Base URL override.",
7356
+ "helpGroup": "GLOBAL",
7357
+ "name": "base-url",
7358
+ "hasDynamicHelp": false,
7359
+ "multiple": false,
7360
+ "type": "option"
7361
+ },
7362
+ "timeout": {
7363
+ "description": "Request timeout in seconds.",
7364
+ "helpGroup": "GLOBAL",
7365
+ "name": "timeout",
7366
+ "default": 300,
7367
+ "hasDynamicHelp": false,
7368
+ "multiple": false,
7369
+ "type": "option"
7370
+ },
7371
+ "describe": {
7372
+ "description": "Emit compact machine-readable command description.",
7373
+ "helpGroup": "GLOBAL",
7374
+ "name": "describe",
7375
+ "allowNo": false,
7376
+ "type": "boolean"
7377
+ },
7378
+ "schema": {
7379
+ "description": "Emit full machine-readable command schema.",
7380
+ "helpGroup": "GLOBAL",
7381
+ "name": "schema",
7382
+ "allowNo": false,
7383
+ "type": "boolean"
7384
+ },
7385
+ "version": {
7386
+ "char": "v",
7387
+ "description": "Emit version envelope.",
7388
+ "helpGroup": "GLOBAL",
7389
+ "name": "version",
7390
+ "allowNo": false,
7391
+ "type": "boolean"
7392
+ },
7393
+ "properties": {
7394
+ "description": "Typed Notion properties as JSON, @file, or - for stdin.",
7395
+ "name": "properties",
7396
+ "hasDynamicHelp": false,
7397
+ "multiple": false,
7398
+ "type": "option"
7399
+ },
7400
+ "ids-file": {
7401
+ "description": "NDJSON batch file path, or - for stdin.",
7402
+ "name": "ids-file",
7403
+ "hasDynamicHelp": false,
7404
+ "multiple": false,
7405
+ "type": "option"
7406
+ },
7407
+ "raw": {
7408
+ "description": "Emit verbatim Notion response body or ordered batch body chain.",
7409
+ "name": "raw",
7410
+ "allowNo": false,
7411
+ "type": "boolean"
7412
+ }
7413
+ },
7414
+ "hasDynamicHelp": false,
7415
+ "hiddenAliases": [],
7416
+ "id": "notion:db:row:update",
7417
+ "pluginAlias": "@eightstate/escli",
7418
+ "pluginName": "@eightstate/escli",
7419
+ "pluginType": "core",
7420
+ "strict": true,
7421
+ "summary": "Update Notion data-source row properties",
7422
+ "enableJsonFlag": true,
7423
+ "emitsJsonEnvelope": false,
7424
+ "errors": [
7425
+ "usage.invalid",
7426
+ "usage.required",
7427
+ "validation.failed",
7428
+ "json.invalid",
7429
+ "file.not_found",
7430
+ "file.read_failed",
7431
+ "auth.required",
7432
+ "notion.unauthorized",
7433
+ "notion.enrollment_required",
7434
+ "notion.restricted",
7435
+ "notion.not_found",
7436
+ "notion.rate_limited",
7437
+ "notion.validation",
7438
+ "notion.conflict",
7439
+ "notion.timeout_uncertain",
7440
+ "notion.batch_partial",
7441
+ "gate.invalid_response",
7442
+ "gate.credential_unavailable",
7443
+ "api.error",
7444
+ "network.error",
7445
+ "network.timeout",
7446
+ "service.unavailable"
7447
+ ],
7448
+ "isESM": true,
7449
+ "relativePath": [
7450
+ "dist",
7451
+ "commands",
7452
+ "notion",
7453
+ "db",
7454
+ "row",
7455
+ "update.js"
7456
+ ]
3374
7457
  }
3375
7458
  },
3376
- "version": "0.5.0"
7459
+ "version": "0.7.1"
3377
7460
  }