@superdoc/cli 0.44.0-next.1 → 0.44.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +125805 -120267
- package/dist/tools/catalog.json +848 -243
- package/dist/tools/tools.anthropic.json +822 -243
- package/dist/tools/tools.generic.json +822 -243
- package/dist/tools/tools.openai.json +822 -243
- package/dist/tools/tools.vercel.json +822 -243
- package/package.json +9 -9
|
@@ -529,274 +529,770 @@
|
|
|
529
529
|
"additionalProperties": false,
|
|
530
530
|
"description": "Guard returned by capabilities check for this exact HTML or Markdown write. Only for actions 'insert', 'replace'. Omit for other actions."
|
|
531
531
|
},
|
|
532
|
-
"
|
|
532
|
+
"value": {
|
|
533
533
|
"anyOf": [
|
|
534
534
|
{
|
|
535
535
|
"anyOf": [
|
|
536
536
|
{
|
|
537
537
|
"anyOf": [
|
|
538
538
|
{
|
|
539
|
-
"
|
|
540
|
-
|
|
539
|
+
"anyOf": [
|
|
540
|
+
{
|
|
541
|
+
"anyOf": [
|
|
542
|
+
{
|
|
543
|
+
"anyOf": [
|
|
544
|
+
{
|
|
545
|
+
"anyOf": [
|
|
546
|
+
{
|
|
547
|
+
"type": "string"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"type": "string",
|
|
551
|
+
"description": "Text content to insert."
|
|
552
|
+
}
|
|
553
|
+
]
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"type": "string",
|
|
557
|
+
"description": "Text content to insert."
|
|
558
|
+
}
|
|
559
|
+
]
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"type": "string",
|
|
563
|
+
"description": "Text content to insert."
|
|
564
|
+
}
|
|
565
|
+
]
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"type": "string",
|
|
569
|
+
"description": "HTML or Markdown content to convert and insert."
|
|
570
|
+
}
|
|
571
|
+
]
|
|
541
572
|
},
|
|
542
573
|
{
|
|
543
|
-
"type": "
|
|
544
|
-
"
|
|
545
|
-
|
|
546
|
-
|
|
574
|
+
"type": "string",
|
|
575
|
+
"description": "HTML or Markdown content to convert and insert."
|
|
576
|
+
}
|
|
577
|
+
]
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"type": "string",
|
|
581
|
+
"description": "HTML or Markdown content to convert and insert."
|
|
582
|
+
}
|
|
583
|
+
]
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"anyOf": [
|
|
587
|
+
{
|
|
588
|
+
"anyOf": [
|
|
589
|
+
{
|
|
590
|
+
"anyOf": [
|
|
591
|
+
{
|
|
547
592
|
"type": "string"
|
|
548
593
|
},
|
|
549
|
-
|
|
550
|
-
"
|
|
551
|
-
"
|
|
594
|
+
{
|
|
595
|
+
"type": "string",
|
|
596
|
+
"description": "HTML or Markdown replacement content."
|
|
552
597
|
}
|
|
553
|
-
},
|
|
554
|
-
"additionalProperties": false,
|
|
555
|
-
"required": [
|
|
556
|
-
"kind",
|
|
557
|
-
"storyType"
|
|
558
598
|
]
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"type": "string",
|
|
602
|
+
"description": "HTML or Markdown replacement content."
|
|
559
603
|
}
|
|
560
|
-
]
|
|
561
|
-
"description": "Block address for structural insertion: {kind:'block', nodeType:'...', nodeId:'...'}."
|
|
604
|
+
]
|
|
562
605
|
},
|
|
563
606
|
{
|
|
564
|
-
"
|
|
565
|
-
"description": "
|
|
607
|
+
"type": "string",
|
|
608
|
+
"description": "HTML or Markdown that replaces the complete main body."
|
|
566
609
|
}
|
|
567
|
-
]
|
|
568
|
-
"description": "Block address for structural insertion: {kind:'block', nodeType:'...', nodeId:'...'}."
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"$ref": "#/$defs/DeletableBlockNodeAddress"
|
|
610
|
+
]
|
|
572
611
|
}
|
|
573
612
|
],
|
|
574
|
-
"description": "
|
|
613
|
+
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
575
614
|
},
|
|
576
|
-
"
|
|
615
|
+
"type": {
|
|
577
616
|
"anyOf": [
|
|
578
617
|
{
|
|
579
618
|
"anyOf": [
|
|
580
619
|
{
|
|
581
|
-
"
|
|
582
|
-
|
|
620
|
+
"anyOf": [
|
|
621
|
+
{
|
|
622
|
+
"anyOf": [
|
|
623
|
+
{
|
|
624
|
+
"anyOf": [
|
|
625
|
+
{
|
|
626
|
+
"anyOf": [
|
|
627
|
+
{
|
|
628
|
+
"anyOf": [
|
|
629
|
+
{
|
|
630
|
+
"const": "ooxml",
|
|
631
|
+
"type": "string"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"const": "text",
|
|
635
|
+
"description": "Plain-text content format. Omit for the same 'text' default.",
|
|
636
|
+
"type": "string"
|
|
637
|
+
}
|
|
638
|
+
]
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"const": "text",
|
|
642
|
+
"description": "Plain-text content format. Omit for the same 'text' default.",
|
|
643
|
+
"type": "string"
|
|
644
|
+
}
|
|
645
|
+
]
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"const": "text",
|
|
649
|
+
"description": "Plain-text content format. Omit for the same 'text' default.",
|
|
650
|
+
"type": "string"
|
|
651
|
+
}
|
|
652
|
+
]
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"enum": [
|
|
656
|
+
"markdown",
|
|
657
|
+
"html"
|
|
658
|
+
]
|
|
659
|
+
}
|
|
660
|
+
]
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"enum": [
|
|
664
|
+
"markdown",
|
|
665
|
+
"html"
|
|
666
|
+
]
|
|
667
|
+
}
|
|
668
|
+
]
|
|
583
669
|
},
|
|
584
670
|
{
|
|
585
|
-
"
|
|
671
|
+
"enum": [
|
|
672
|
+
"markdown",
|
|
673
|
+
"html"
|
|
674
|
+
]
|
|
675
|
+
}
|
|
676
|
+
]
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"anyOf": [
|
|
680
|
+
{
|
|
681
|
+
"anyOf": [
|
|
586
682
|
{
|
|
587
|
-
"
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
"const": "story",
|
|
683
|
+
"anyOf": [
|
|
684
|
+
{
|
|
685
|
+
"const": "ooxml",
|
|
591
686
|
"type": "string"
|
|
592
687
|
},
|
|
593
|
-
|
|
594
|
-
"
|
|
595
|
-
|
|
688
|
+
{
|
|
689
|
+
"enum": [
|
|
690
|
+
"html",
|
|
691
|
+
"markdown"
|
|
692
|
+
]
|
|
596
693
|
}
|
|
597
|
-
},
|
|
598
|
-
"required": [
|
|
599
|
-
"kind",
|
|
600
|
-
"storyType"
|
|
601
694
|
]
|
|
602
695
|
},
|
|
603
696
|
{
|
|
604
|
-
"
|
|
605
|
-
|
|
606
|
-
"
|
|
607
|
-
|
|
608
|
-
|
|
697
|
+
"enum": [
|
|
698
|
+
"html",
|
|
699
|
+
"markdown"
|
|
700
|
+
]
|
|
701
|
+
}
|
|
702
|
+
]
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"enum": [
|
|
706
|
+
"html",
|
|
707
|
+
"markdown"
|
|
708
|
+
]
|
|
709
|
+
}
|
|
710
|
+
]
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
714
|
+
},
|
|
715
|
+
"namespaces": {
|
|
716
|
+
"type": "object",
|
|
717
|
+
"additionalProperties": {
|
|
718
|
+
"type": "string"
|
|
719
|
+
},
|
|
720
|
+
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
721
|
+
},
|
|
722
|
+
"sourcePartUri": {
|
|
723
|
+
"type": "string",
|
|
724
|
+
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
725
|
+
},
|
|
726
|
+
"dependencies": {
|
|
727
|
+
"type": "array",
|
|
728
|
+
"items": {
|
|
729
|
+
"type": "object",
|
|
730
|
+
"properties": {
|
|
731
|
+
"sourcePartUri": {
|
|
732
|
+
"type": "string"
|
|
733
|
+
},
|
|
734
|
+
"relationshipId": {
|
|
735
|
+
"type": "string"
|
|
736
|
+
},
|
|
737
|
+
"relationshipType": {
|
|
738
|
+
"type": "string"
|
|
739
|
+
},
|
|
740
|
+
"target": {
|
|
741
|
+
"type": "string"
|
|
742
|
+
},
|
|
743
|
+
"targetMode": {
|
|
744
|
+
"enum": [
|
|
745
|
+
"Internal",
|
|
746
|
+
"External"
|
|
747
|
+
]
|
|
748
|
+
},
|
|
749
|
+
"contentType": {
|
|
750
|
+
"oneOf": [
|
|
751
|
+
{
|
|
752
|
+
"type": "string"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"type": "null"
|
|
756
|
+
}
|
|
757
|
+
]
|
|
758
|
+
},
|
|
759
|
+
"dataBase64": {
|
|
760
|
+
"type": "string"
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
"additionalProperties": false,
|
|
764
|
+
"required": [
|
|
765
|
+
"sourcePartUri",
|
|
766
|
+
"relationshipId",
|
|
767
|
+
"relationshipType",
|
|
768
|
+
"target",
|
|
769
|
+
"targetMode",
|
|
770
|
+
"contentType"
|
|
771
|
+
]
|
|
772
|
+
},
|
|
773
|
+
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
774
|
+
},
|
|
775
|
+
"target": {
|
|
776
|
+
"anyOf": [
|
|
777
|
+
{
|
|
778
|
+
"anyOf": [
|
|
779
|
+
{
|
|
780
|
+
"anyOf": [
|
|
781
|
+
{
|
|
782
|
+
"anyOf": [
|
|
783
|
+
{
|
|
784
|
+
"anyOf": [
|
|
785
|
+
{
|
|
786
|
+
"anyOf": [
|
|
787
|
+
{
|
|
788
|
+
"oneOf": [
|
|
789
|
+
{
|
|
790
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
794
|
+
}
|
|
795
|
+
]
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"$ref": "#/$defs/BlockNodeAddress",
|
|
799
|
+
"description": "Block address for structural insertion: {kind:'block', nodeType:'...', nodeId:'...'}."
|
|
800
|
+
}
|
|
801
|
+
]
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"$ref": "#/$defs/SelectionTarget",
|
|
805
|
+
"description": "Selection target: {kind:'selection', start:{kind:'text', blockId, offset}, end:{kind:'text', blockId, offset}}."
|
|
806
|
+
}
|
|
807
|
+
]
|
|
609
808
|
},
|
|
610
|
-
|
|
611
|
-
"
|
|
612
|
-
|
|
809
|
+
{
|
|
810
|
+
"oneOf": [
|
|
811
|
+
{
|
|
812
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
816
|
+
}
|
|
817
|
+
]
|
|
818
|
+
}
|
|
819
|
+
]
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"anyOf": [
|
|
823
|
+
{
|
|
824
|
+
"anyOf": [
|
|
825
|
+
{
|
|
826
|
+
"anyOf": [
|
|
827
|
+
{
|
|
828
|
+
"anyOf": [
|
|
829
|
+
{
|
|
830
|
+
"anyOf": [
|
|
831
|
+
{
|
|
832
|
+
"anyOf": [
|
|
833
|
+
{
|
|
834
|
+
"anyOf": [
|
|
835
|
+
{
|
|
836
|
+
"anyOf": [
|
|
837
|
+
{
|
|
838
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"oneOf": [
|
|
842
|
+
{
|
|
843
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
847
|
+
}
|
|
848
|
+
]
|
|
849
|
+
}
|
|
850
|
+
]
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"oneOf": [
|
|
854
|
+
{
|
|
855
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
859
|
+
}
|
|
860
|
+
]
|
|
861
|
+
}
|
|
862
|
+
]
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"type": "object",
|
|
866
|
+
"properties": {
|
|
867
|
+
"kind": {
|
|
868
|
+
"const": "story",
|
|
869
|
+
"type": "string"
|
|
870
|
+
},
|
|
871
|
+
"storyType": {
|
|
872
|
+
"const": "body",
|
|
873
|
+
"type": "string"
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
"additionalProperties": false,
|
|
877
|
+
"required": [
|
|
878
|
+
"kind",
|
|
879
|
+
"storyType"
|
|
880
|
+
]
|
|
881
|
+
}
|
|
882
|
+
]
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
886
|
+
}
|
|
887
|
+
]
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"oneOf": [
|
|
891
|
+
{
|
|
892
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
896
|
+
}
|
|
897
|
+
],
|
|
898
|
+
"description": "Target block or selection to replace."
|
|
899
|
+
}
|
|
900
|
+
]
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"type": "object",
|
|
904
|
+
"properties": {
|
|
905
|
+
"kind": {
|
|
906
|
+
"const": "story",
|
|
907
|
+
"type": "string"
|
|
908
|
+
},
|
|
909
|
+
"storyType": {
|
|
910
|
+
"const": "body",
|
|
911
|
+
"type": "string"
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
"additionalProperties": false,
|
|
915
|
+
"required": [
|
|
916
|
+
"kind",
|
|
917
|
+
"storyType"
|
|
918
|
+
]
|
|
919
|
+
}
|
|
920
|
+
]
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"oneOf": [
|
|
924
|
+
{
|
|
925
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
929
|
+
}
|
|
930
|
+
]
|
|
931
|
+
}
|
|
932
|
+
]
|
|
613
933
|
},
|
|
614
|
-
|
|
934
|
+
{
|
|
615
935
|
"type": "object",
|
|
616
936
|
"properties": {
|
|
617
937
|
"kind": {
|
|
618
|
-
"const": "
|
|
938
|
+
"const": "story",
|
|
619
939
|
"type": "string"
|
|
620
940
|
},
|
|
621
|
-
"
|
|
941
|
+
"storyType": {
|
|
942
|
+
"const": "body",
|
|
622
943
|
"type": "string"
|
|
623
944
|
}
|
|
624
945
|
},
|
|
946
|
+
"additionalProperties": false,
|
|
625
947
|
"required": [
|
|
626
948
|
"kind",
|
|
627
|
-
"
|
|
628
|
-
]
|
|
629
|
-
},
|
|
630
|
-
"headerFooterKind": {
|
|
631
|
-
"enum": [
|
|
632
|
-
"header",
|
|
633
|
-
"footer"
|
|
634
|
-
]
|
|
635
|
-
},
|
|
636
|
-
"variant": {
|
|
637
|
-
"enum": [
|
|
638
|
-
"default",
|
|
639
|
-
"first",
|
|
640
|
-
"even"
|
|
641
|
-
]
|
|
642
|
-
},
|
|
643
|
-
"resolution": {
|
|
644
|
-
"enum": [
|
|
645
|
-
"effective",
|
|
646
|
-
"explicit"
|
|
647
|
-
]
|
|
648
|
-
},
|
|
649
|
-
"onWrite": {
|
|
650
|
-
"enum": [
|
|
651
|
-
"materializeIfInherited",
|
|
652
|
-
"editResolvedPart",
|
|
653
|
-
"error"
|
|
949
|
+
"storyType"
|
|
654
950
|
]
|
|
655
951
|
}
|
|
656
|
-
},
|
|
657
|
-
"required": [
|
|
658
|
-
"kind",
|
|
659
|
-
"storyType",
|
|
660
|
-
"section",
|
|
661
|
-
"headerFooterKind",
|
|
662
|
-
"variant"
|
|
663
952
|
]
|
|
953
|
+
}
|
|
954
|
+
]
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"$ref": "#/$defs/SelectionTarget",
|
|
958
|
+
"description": "Selection target: {kind:'selection', start:{kind:'text', blockId, offset}, end:{kind:'text', blockId, offset}}. Use 'ref' instead when you have a search result handle."
|
|
959
|
+
}
|
|
960
|
+
]
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"$ref": "#/$defs/DeletableBlockNodeAddress"
|
|
964
|
+
}
|
|
965
|
+
],
|
|
966
|
+
"description": "Required for action 'delete_block'."
|
|
967
|
+
},
|
|
968
|
+
"in": {
|
|
969
|
+
"$ref": "#/$defs/StoryLocator",
|
|
970
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes. Only for actions 'insert', 'replace', 'delete'. Omit for other actions."
|
|
971
|
+
},
|
|
972
|
+
"placement": {
|
|
973
|
+
"enum": [
|
|
974
|
+
"before",
|
|
975
|
+
"after",
|
|
976
|
+
"insideStart",
|
|
977
|
+
"insideEnd"
|
|
978
|
+
],
|
|
979
|
+
"description": "Only for action 'insert'. Omit for other actions."
|
|
980
|
+
},
|
|
981
|
+
"capture": {
|
|
982
|
+
"type": "object",
|
|
983
|
+
"properties": {
|
|
984
|
+
"formatVersion": {
|
|
985
|
+
"const": 1,
|
|
986
|
+
"type": "number"
|
|
987
|
+
},
|
|
988
|
+
"snapshotId": {
|
|
989
|
+
"type": "string",
|
|
990
|
+
"minLength": 1
|
|
991
|
+
},
|
|
992
|
+
"at": {
|
|
993
|
+
"oneOf": [
|
|
994
|
+
{
|
|
995
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"type": "object",
|
|
999
|
+
"properties": {
|
|
1000
|
+
"kind": {
|
|
1001
|
+
"const": "tableCells",
|
|
1002
|
+
"type": "string"
|
|
664
1003
|
},
|
|
665
|
-
{
|
|
666
|
-
"
|
|
667
|
-
"
|
|
668
|
-
"kind": {
|
|
669
|
-
"const": "story",
|
|
670
|
-
"type": "string"
|
|
671
|
-
},
|
|
672
|
-
"storyType": {
|
|
673
|
-
"const": "headerFooterPart",
|
|
674
|
-
"type": "string"
|
|
675
|
-
},
|
|
676
|
-
"refId": {
|
|
677
|
-
"type": "string"
|
|
678
|
-
}
|
|
679
|
-
},
|
|
680
|
-
"required": [
|
|
681
|
-
"kind",
|
|
682
|
-
"storyType",
|
|
683
|
-
"refId"
|
|
684
|
-
]
|
|
1004
|
+
"selectionMode": {
|
|
1005
|
+
"const": "cells",
|
|
1006
|
+
"type": "string"
|
|
685
1007
|
},
|
|
686
|
-
{
|
|
687
|
-
"
|
|
688
|
-
"
|
|
689
|
-
"kind": {
|
|
690
|
-
"const": "story",
|
|
691
|
-
"type": "string"
|
|
692
|
-
},
|
|
693
|
-
"storyType": {
|
|
694
|
-
"const": "footnote",
|
|
695
|
-
"type": "string"
|
|
696
|
-
},
|
|
697
|
-
"noteId": {
|
|
698
|
-
"type": "string"
|
|
699
|
-
}
|
|
700
|
-
},
|
|
701
|
-
"required": [
|
|
702
|
-
"kind",
|
|
703
|
-
"storyType",
|
|
704
|
-
"noteId"
|
|
705
|
-
]
|
|
1008
|
+
"isRectangular": {
|
|
1009
|
+
"const": true,
|
|
1010
|
+
"type": "boolean"
|
|
706
1011
|
},
|
|
707
|
-
{
|
|
1012
|
+
"tableId": {
|
|
1013
|
+
"type": "string"
|
|
1014
|
+
},
|
|
1015
|
+
"start": {
|
|
708
1016
|
"type": "object",
|
|
709
1017
|
"properties": {
|
|
710
|
-
"
|
|
711
|
-
"
|
|
712
|
-
"type": "string"
|
|
1018
|
+
"rowIndex": {
|
|
1019
|
+
"type": "integer"
|
|
713
1020
|
},
|
|
714
|
-
"
|
|
715
|
-
"
|
|
716
|
-
"type": "string"
|
|
717
|
-
},
|
|
718
|
-
"noteId": {
|
|
719
|
-
"type": "string"
|
|
1021
|
+
"columnIndex": {
|
|
1022
|
+
"type": "integer"
|
|
720
1023
|
}
|
|
721
1024
|
},
|
|
1025
|
+
"additionalProperties": false,
|
|
722
1026
|
"required": [
|
|
723
|
-
"
|
|
724
|
-
"
|
|
725
|
-
"noteId"
|
|
1027
|
+
"rowIndex",
|
|
1028
|
+
"columnIndex"
|
|
726
1029
|
]
|
|
727
1030
|
},
|
|
728
|
-
{
|
|
1031
|
+
"end": {
|
|
729
1032
|
"type": "object",
|
|
730
1033
|
"properties": {
|
|
731
|
-
"
|
|
732
|
-
"
|
|
733
|
-
"type": "string"
|
|
1034
|
+
"rowIndex": {
|
|
1035
|
+
"type": "integer"
|
|
734
1036
|
},
|
|
735
|
-
"
|
|
736
|
-
"
|
|
737
|
-
"type": "string"
|
|
738
|
-
},
|
|
739
|
-
"textboxId": {
|
|
740
|
-
"type": "string"
|
|
1037
|
+
"columnIndex": {
|
|
1038
|
+
"type": "integer"
|
|
741
1039
|
}
|
|
742
1040
|
},
|
|
1041
|
+
"additionalProperties": false,
|
|
743
1042
|
"required": [
|
|
744
|
-
"
|
|
745
|
-
"
|
|
746
|
-
"textboxId"
|
|
1043
|
+
"rowIndex",
|
|
1044
|
+
"columnIndex"
|
|
747
1045
|
]
|
|
1046
|
+
},
|
|
1047
|
+
"story": {
|
|
1048
|
+
"$ref": "#/$defs/StoryLocator"
|
|
748
1049
|
}
|
|
749
|
-
|
|
750
|
-
"
|
|
1050
|
+
},
|
|
1051
|
+
"additionalProperties": false,
|
|
1052
|
+
"required": [
|
|
1053
|
+
"kind",
|
|
1054
|
+
"tableId",
|
|
1055
|
+
"start",
|
|
1056
|
+
"end"
|
|
1057
|
+
]
|
|
751
1058
|
}
|
|
752
|
-
]
|
|
753
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
1059
|
+
]
|
|
754
1060
|
},
|
|
755
|
-
{
|
|
756
|
-
"
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
1061
|
+
"evaluatedRevision": {
|
|
1062
|
+
"type": "string"
|
|
1063
|
+
},
|
|
1064
|
+
"fragment": {
|
|
1065
|
+
"type": "object",
|
|
1066
|
+
"properties": {
|
|
1067
|
+
"placement": {
|
|
1068
|
+
"enum": [
|
|
1069
|
+
"inline",
|
|
1070
|
+
"blocks",
|
|
1071
|
+
"table"
|
|
1072
|
+
]
|
|
1073
|
+
},
|
|
1074
|
+
"xml": {
|
|
1075
|
+
"type": "string"
|
|
1076
|
+
},
|
|
1077
|
+
"namespaces": {
|
|
1078
|
+
"type": "object",
|
|
1079
|
+
"additionalProperties": {
|
|
1080
|
+
"type": "string"
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
"table": {
|
|
1084
|
+
"type": "object",
|
|
1085
|
+
"properties": {
|
|
1086
|
+
"tableId": {
|
|
1087
|
+
"type": "string"
|
|
1088
|
+
},
|
|
1089
|
+
"gridColumnCount": {
|
|
1090
|
+
"type": "integer"
|
|
1091
|
+
},
|
|
1092
|
+
"cells": {
|
|
1093
|
+
"type": "array",
|
|
1094
|
+
"items": {
|
|
1095
|
+
"type": "object",
|
|
1096
|
+
"properties": {
|
|
1097
|
+
"rowIndex": {
|
|
1098
|
+
"type": "integer"
|
|
1099
|
+
},
|
|
1100
|
+
"columnIndex": {
|
|
1101
|
+
"type": "integer"
|
|
1102
|
+
},
|
|
1103
|
+
"gridSpan": {
|
|
1104
|
+
"type": "integer"
|
|
1105
|
+
},
|
|
1106
|
+
"vMerge": {
|
|
1107
|
+
"enum": [
|
|
1108
|
+
"none",
|
|
1109
|
+
"restart",
|
|
1110
|
+
"continue"
|
|
1111
|
+
]
|
|
1112
|
+
}
|
|
1113
|
+
},
|
|
1114
|
+
"additionalProperties": false,
|
|
1115
|
+
"required": [
|
|
1116
|
+
"rowIndex",
|
|
1117
|
+
"columnIndex",
|
|
1118
|
+
"gridSpan",
|
|
1119
|
+
"vMerge"
|
|
1120
|
+
]
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
},
|
|
1124
|
+
"additionalProperties": false,
|
|
1125
|
+
"required": [
|
|
1126
|
+
"tableId",
|
|
1127
|
+
"gridColumnCount",
|
|
1128
|
+
"cells"
|
|
1129
|
+
]
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
"additionalProperties": false,
|
|
1133
|
+
"required": [
|
|
1134
|
+
"placement",
|
|
1135
|
+
"xml",
|
|
1136
|
+
"namespaces"
|
|
1137
|
+
]
|
|
767
1138
|
},
|
|
768
|
-
{
|
|
769
|
-
"type": "
|
|
770
|
-
"
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
"description": "Plain-text content format. Omit for the same 'text' default.",
|
|
1139
|
+
"source": {
|
|
1140
|
+
"type": "object",
|
|
1141
|
+
"properties": {
|
|
1142
|
+
"story": {
|
|
1143
|
+
"oneOf": [
|
|
1144
|
+
{
|
|
1145
|
+
"$ref": "#/$defs/StoryLocator"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"type": "null"
|
|
1149
|
+
}
|
|
1150
|
+
]
|
|
1151
|
+
},
|
|
1152
|
+
"partUri": {
|
|
783
1153
|
"type": "string"
|
|
784
1154
|
},
|
|
785
|
-
{
|
|
786
|
-
"
|
|
787
|
-
|
|
788
|
-
|
|
1155
|
+
"paragraphStyleId": {
|
|
1156
|
+
"oneOf": [
|
|
1157
|
+
{
|
|
1158
|
+
"type": "string"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"type": "null"
|
|
1162
|
+
}
|
|
789
1163
|
]
|
|
1164
|
+
},
|
|
1165
|
+
"packageRevision": {
|
|
1166
|
+
"type": "string"
|
|
790
1167
|
}
|
|
1168
|
+
},
|
|
1169
|
+
"additionalProperties": false,
|
|
1170
|
+
"required": [
|
|
1171
|
+
"story",
|
|
1172
|
+
"partUri",
|
|
1173
|
+
"paragraphStyleId"
|
|
791
1174
|
]
|
|
792
1175
|
},
|
|
793
|
-
{
|
|
794
|
-
"type": "
|
|
795
|
-
"
|
|
796
|
-
"
|
|
797
|
-
|
|
1176
|
+
"context": {
|
|
1177
|
+
"type": "object",
|
|
1178
|
+
"properties": {
|
|
1179
|
+
"xml": {
|
|
1180
|
+
"type": "array",
|
|
1181
|
+
"items": {
|
|
1182
|
+
"type": "string"
|
|
1183
|
+
}
|
|
1184
|
+
},
|
|
1185
|
+
"tableMerges": {
|
|
1186
|
+
"type": "array",
|
|
1187
|
+
"items": {
|
|
1188
|
+
"type": "object",
|
|
1189
|
+
"properties": {
|
|
1190
|
+
"selectedRowIndex": {
|
|
1191
|
+
"type": "integer"
|
|
1192
|
+
},
|
|
1193
|
+
"columnIndex": {
|
|
1194
|
+
"type": "integer"
|
|
1195
|
+
},
|
|
1196
|
+
"restartRowIndex": {
|
|
1197
|
+
"type": "integer"
|
|
1198
|
+
},
|
|
1199
|
+
"restartCellPropertiesXml": {
|
|
1200
|
+
"type": "string"
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
"additionalProperties": false,
|
|
1204
|
+
"required": [
|
|
1205
|
+
"selectedRowIndex",
|
|
1206
|
+
"columnIndex",
|
|
1207
|
+
"restartRowIndex",
|
|
1208
|
+
"restartCellPropertiesXml"
|
|
1209
|
+
]
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
"additionalProperties": false,
|
|
1214
|
+
"required": [
|
|
1215
|
+
"xml"
|
|
798
1216
|
]
|
|
1217
|
+
},
|
|
1218
|
+
"dependencies": {
|
|
1219
|
+
"type": "array",
|
|
1220
|
+
"items": {
|
|
1221
|
+
"type": "object",
|
|
1222
|
+
"properties": {
|
|
1223
|
+
"sourcePartUri": {
|
|
1224
|
+
"type": "string"
|
|
1225
|
+
},
|
|
1226
|
+
"relationshipId": {
|
|
1227
|
+
"type": "string"
|
|
1228
|
+
},
|
|
1229
|
+
"relationshipType": {
|
|
1230
|
+
"type": "string"
|
|
1231
|
+
},
|
|
1232
|
+
"target": {
|
|
1233
|
+
"type": "string"
|
|
1234
|
+
},
|
|
1235
|
+
"targetMode": {
|
|
1236
|
+
"enum": [
|
|
1237
|
+
"Internal",
|
|
1238
|
+
"External"
|
|
1239
|
+
]
|
|
1240
|
+
},
|
|
1241
|
+
"contentType": {
|
|
1242
|
+
"oneOf": [
|
|
1243
|
+
{
|
|
1244
|
+
"type": "string"
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"type": "null"
|
|
1248
|
+
}
|
|
1249
|
+
]
|
|
1250
|
+
},
|
|
1251
|
+
"dataBase64": {
|
|
1252
|
+
"type": "string"
|
|
1253
|
+
}
|
|
1254
|
+
},
|
|
1255
|
+
"additionalProperties": false,
|
|
1256
|
+
"required": [
|
|
1257
|
+
"sourcePartUri",
|
|
1258
|
+
"relationshipId",
|
|
1259
|
+
"relationshipType",
|
|
1260
|
+
"target",
|
|
1261
|
+
"targetMode",
|
|
1262
|
+
"contentType"
|
|
1263
|
+
]
|
|
1264
|
+
}
|
|
1265
|
+
},
|
|
1266
|
+
"diagnostics": {
|
|
1267
|
+
"type": "array",
|
|
1268
|
+
"items": {
|
|
1269
|
+
"type": "object",
|
|
1270
|
+
"properties": {
|
|
1271
|
+
"code": {
|
|
1272
|
+
"type": "string"
|
|
1273
|
+
},
|
|
1274
|
+
"message": {
|
|
1275
|
+
"type": "string"
|
|
1276
|
+
}
|
|
1277
|
+
},
|
|
1278
|
+
"additionalProperties": false,
|
|
1279
|
+
"required": [
|
|
1280
|
+
"code",
|
|
1281
|
+
"message"
|
|
1282
|
+
]
|
|
1283
|
+
}
|
|
799
1284
|
}
|
|
1285
|
+
},
|
|
1286
|
+
"additionalProperties": false,
|
|
1287
|
+
"required": [
|
|
1288
|
+
"formatVersion",
|
|
1289
|
+
"at",
|
|
1290
|
+
"evaluatedRevision",
|
|
1291
|
+
"fragment",
|
|
1292
|
+
"source",
|
|
1293
|
+
"context",
|
|
1294
|
+
"dependencies",
|
|
1295
|
+
"diagnostics"
|
|
800
1296
|
],
|
|
801
1297
|
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
802
1298
|
},
|
|
@@ -805,12 +1301,39 @@
|
|
|
805
1301
|
{
|
|
806
1302
|
"anyOf": [
|
|
807
1303
|
{
|
|
808
|
-
"
|
|
1304
|
+
"anyOf": [
|
|
1305
|
+
{
|
|
1306
|
+
"type": "string",
|
|
1307
|
+
"description": "Handle ref from superdoc_search result (pass handle.ref value directly). Preferred over building a target object."
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"type": "string",
|
|
1311
|
+
"minLength": 1
|
|
1312
|
+
}
|
|
1313
|
+
],
|
|
809
1314
|
"description": "Handle ref from superdoc_search result (pass handle.ref value directly). Preferred over building a target object."
|
|
810
1315
|
},
|
|
811
1316
|
{
|
|
812
|
-
"
|
|
813
|
-
|
|
1317
|
+
"anyOf": [
|
|
1318
|
+
{
|
|
1319
|
+
"anyOf": [
|
|
1320
|
+
{
|
|
1321
|
+
"type": "string",
|
|
1322
|
+
"description": "Search result handle."
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"type": "string",
|
|
1326
|
+
"description": "Reference handle from a previous search result."
|
|
1327
|
+
}
|
|
1328
|
+
],
|
|
1329
|
+
"description": "Search result handle."
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"type": "string",
|
|
1333
|
+
"minLength": 1
|
|
1334
|
+
}
|
|
1335
|
+
],
|
|
1336
|
+
"description": "Search result handle."
|
|
814
1337
|
}
|
|
815
1338
|
],
|
|
816
1339
|
"description": "Handle ref from superdoc_search result (pass handle.ref value directly). Preferred over building a target object."
|
|
@@ -822,15 +1345,6 @@
|
|
|
822
1345
|
],
|
|
823
1346
|
"description": "Handle ref from superdoc_search result (pass handle.ref value directly). Preferred over building a target object. Only for actions 'insert', 'replace', 'delete'. Omit for other actions."
|
|
824
1347
|
},
|
|
825
|
-
"placement": {
|
|
826
|
-
"enum": [
|
|
827
|
-
"before",
|
|
828
|
-
"after",
|
|
829
|
-
"insideStart",
|
|
830
|
-
"insideEnd"
|
|
831
|
-
],
|
|
832
|
-
"description": "Where to place content relative to target: 'before', 'after', 'insideStart', or 'insideEnd'. Only for action 'insert'. Omit for other actions."
|
|
833
|
-
},
|
|
834
1348
|
"content": {
|
|
835
1349
|
"anyOf": [
|
|
836
1350
|
{
|
|
@@ -848,56 +1362,97 @@
|
|
|
848
1362
|
"description": "Document fragment to insert (structured content)."
|
|
849
1363
|
},
|
|
850
1364
|
{
|
|
851
|
-
"
|
|
1365
|
+
"anyOf": [
|
|
852
1366
|
{
|
|
853
|
-
"
|
|
854
|
-
|
|
1367
|
+
"oneOf": [
|
|
1368
|
+
{
|
|
1369
|
+
"type": "object"
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"type": "array",
|
|
1373
|
+
"items": {
|
|
1374
|
+
"type": "object"
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
],
|
|
1378
|
+
"description": "Document fragment to replace with (structured content)."
|
|
855
1379
|
},
|
|
856
1380
|
{
|
|
857
|
-
"
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
1381
|
+
"oneOf": [
|
|
1382
|
+
{
|
|
1383
|
+
"type": "object"
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
"type": "array",
|
|
1387
|
+
"items": {
|
|
1388
|
+
"type": "object"
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
],
|
|
1392
|
+
"description": "Document fragment that replaces the complete main body."
|
|
862
1393
|
}
|
|
863
|
-
]
|
|
1394
|
+
],
|
|
1395
|
+
"description": "Document fragment to replace with (structured content)."
|
|
864
1396
|
}
|
|
865
1397
|
],
|
|
866
1398
|
"description": "Document fragment to insert (structured content). Only for actions 'insert', 'replace'. Omit for other actions."
|
|
867
1399
|
},
|
|
868
1400
|
"nestingPolicy": {
|
|
1401
|
+
"type": "object",
|
|
1402
|
+
"properties": {
|
|
1403
|
+
"tables": {
|
|
1404
|
+
"enum": [
|
|
1405
|
+
"forbid",
|
|
1406
|
+
"allow"
|
|
1407
|
+
]
|
|
1408
|
+
}
|
|
1409
|
+
},
|
|
1410
|
+
"additionalProperties": false,
|
|
1411
|
+
"description": "Controls nesting behavior. tables: 'allow' permits inserting tables inside other tables. Only for actions 'insert', 'replace'. Omit for other actions."
|
|
1412
|
+
},
|
|
1413
|
+
"replaceMode": {
|
|
1414
|
+
"type": "string",
|
|
1415
|
+
"enum": [
|
|
1416
|
+
"contents"
|
|
1417
|
+
],
|
|
1418
|
+
"description": "Replace supported paragraph contents while preserving its container. Requires direct mode. Only for action 'replace'. Omit for other actions."
|
|
1419
|
+
},
|
|
1420
|
+
"expectedSnapshotId": {
|
|
1421
|
+
"type": "string",
|
|
1422
|
+
"description": "Same-session snapshot of the unchanged paragraph required before contents replacement or restoration. Only for action 'replace'. Omit for other actions."
|
|
1423
|
+
},
|
|
1424
|
+
"text": {
|
|
869
1425
|
"anyOf": [
|
|
870
1426
|
{
|
|
871
|
-
"
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
1427
|
+
"anyOf": [
|
|
1428
|
+
{
|
|
1429
|
+
"anyOf": [
|
|
1430
|
+
{
|
|
1431
|
+
"type": "string"
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"type": "string",
|
|
1435
|
+
"description": "Complete replacement text for the main body."
|
|
1436
|
+
}
|
|
877
1437
|
]
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"type": "string",
|
|
1441
|
+
"description": "Replacement text content."
|
|
878
1442
|
}
|
|
879
|
-
|
|
880
|
-
"additionalProperties": false,
|
|
881
|
-
"description": "Controls nesting behavior. tables: 'allow' permits inserting tables inside other tables."
|
|
1443
|
+
]
|
|
882
1444
|
},
|
|
883
1445
|
{
|
|
884
|
-
"type": "
|
|
885
|
-
"
|
|
886
|
-
"tables": {
|
|
887
|
-
"enum": [
|
|
888
|
-
"forbid",
|
|
889
|
-
"allow"
|
|
890
|
-
]
|
|
891
|
-
}
|
|
892
|
-
},
|
|
893
|
-
"description": "Controls nesting behavior. tables: 'allow' permits inserting tables inside other tables."
|
|
1446
|
+
"type": "string",
|
|
1447
|
+
"description": "Replacement text content."
|
|
894
1448
|
}
|
|
895
1449
|
],
|
|
896
|
-
"description": "
|
|
1450
|
+
"description": "Only for action 'replace'. Omit for other actions."
|
|
897
1451
|
},
|
|
898
|
-
"
|
|
1452
|
+
"snapshotId": {
|
|
899
1453
|
"type": "string",
|
|
900
|
-
"
|
|
1454
|
+
"minLength": 1,
|
|
1455
|
+
"description": "Only for action 'replace'. Omit for other actions."
|
|
901
1456
|
},
|
|
902
1457
|
"expectedText": {
|
|
903
1458
|
"type": "string",
|
|
@@ -1194,16 +1749,40 @@
|
|
|
1194
1749
|
"description": "Only for action 'check_support'. Omit for other actions."
|
|
1195
1750
|
},
|
|
1196
1751
|
"options": {
|
|
1197
|
-
"
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
"
|
|
1201
|
-
"
|
|
1202
|
-
|
|
1203
|
-
|
|
1752
|
+
"anyOf": [
|
|
1753
|
+
{
|
|
1754
|
+
"type": "object",
|
|
1755
|
+
"properties": {
|
|
1756
|
+
"changeMode": {
|
|
1757
|
+
"enum": [
|
|
1758
|
+
"direct",
|
|
1759
|
+
"tracked"
|
|
1760
|
+
]
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1763
|
+
"additionalProperties": false
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
"type": "object",
|
|
1767
|
+
"properties": {
|
|
1768
|
+
"changeMode": {
|
|
1769
|
+
"enum": [
|
|
1770
|
+
"direct",
|
|
1771
|
+
"tracked"
|
|
1772
|
+
]
|
|
1773
|
+
},
|
|
1774
|
+
"replaceMode": {
|
|
1775
|
+
"const": "contents",
|
|
1776
|
+
"type": "string"
|
|
1777
|
+
},
|
|
1778
|
+
"expectedSnapshotId": {
|
|
1779
|
+
"type": "string",
|
|
1780
|
+
"minLength": 1
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
"additionalProperties": false
|
|
1204
1784
|
}
|
|
1205
|
-
|
|
1206
|
-
"additionalProperties": false,
|
|
1785
|
+
],
|
|
1207
1786
|
"description": "Only for action 'check_support'. Omit for other actions."
|
|
1208
1787
|
}
|
|
1209
1788
|
},
|