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