@superdoc/sdk 2.20.0-next.5 → 2.20.0-next.7
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/embedded-tools.generated.cjs +5 -5
- package/dist/embedded-tools.generated.js +5 -5
- package/dist/generated/client.d.ts +1303 -134
- package/dist/generated/contract.cjs +1 -1
- package/dist/generated/contract.js +1 -1
- package/dist/runtime/sdk-version.generated.cjs +1 -1
- package/dist/runtime/sdk-version.generated.d.ts +1 -1
- package/dist/runtime/sdk-version.generated.js +1 -1
- package/package.json +6 -6
- package/tools/catalog.json +242 -1
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +242 -1
- package/tools/tools.generic.json +242 -1
- package/tools/tools.openai.json +242 -1
- package/tools/tools.vercel.json +242 -1
package/tools/tools.vercel.json
CHANGED
|
@@ -7846,6 +7846,247 @@
|
|
|
7846
7846
|
"args"
|
|
7847
7847
|
]
|
|
7848
7848
|
},
|
|
7849
|
+
{
|
|
7850
|
+
"type": "object",
|
|
7851
|
+
"properties": {
|
|
7852
|
+
"id": {
|
|
7853
|
+
"type": "string"
|
|
7854
|
+
},
|
|
7855
|
+
"op": {
|
|
7856
|
+
"const": "structural.replace",
|
|
7857
|
+
"type": "string"
|
|
7858
|
+
},
|
|
7859
|
+
"where": {
|
|
7860
|
+
"oneOf": [
|
|
7861
|
+
{
|
|
7862
|
+
"type": "object",
|
|
7863
|
+
"properties": {
|
|
7864
|
+
"by": {
|
|
7865
|
+
"const": "select",
|
|
7866
|
+
"type": "string"
|
|
7867
|
+
},
|
|
7868
|
+
"select": {
|
|
7869
|
+
"oneOf": [
|
|
7870
|
+
{
|
|
7871
|
+
"type": "object",
|
|
7872
|
+
"properties": {
|
|
7873
|
+
"type": {
|
|
7874
|
+
"const": "text",
|
|
7875
|
+
"description": "Must be 'text' for text pattern search.",
|
|
7876
|
+
"type": "string"
|
|
7877
|
+
},
|
|
7878
|
+
"pattern": {
|
|
7879
|
+
"type": "string",
|
|
7880
|
+
"description": "Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution."
|
|
7881
|
+
},
|
|
7882
|
+
"mode": {
|
|
7883
|
+
"enum": [
|
|
7884
|
+
"contains",
|
|
7885
|
+
"regex"
|
|
7886
|
+
],
|
|
7887
|
+
"description": "Match mode: 'contains' (literal substring, recommended for literal text) or 'regex' (validated regular expression)."
|
|
7888
|
+
},
|
|
7889
|
+
"caseSensitive": {
|
|
7890
|
+
"type": "boolean",
|
|
7891
|
+
"description": "Case-sensitive matching. Default: false."
|
|
7892
|
+
},
|
|
7893
|
+
"wholeWord": {
|
|
7894
|
+
"type": "boolean",
|
|
7895
|
+
"description": "Require word-boundary matches. Default: false."
|
|
7896
|
+
},
|
|
7897
|
+
"includeDeletedText": {
|
|
7898
|
+
"type": "boolean",
|
|
7899
|
+
"description": "When true, includes text from pending tracked deletions. Default: false."
|
|
7900
|
+
}
|
|
7901
|
+
},
|
|
7902
|
+
"additionalProperties": false,
|
|
7903
|
+
"required": [
|
|
7904
|
+
"type",
|
|
7905
|
+
"pattern"
|
|
7906
|
+
]
|
|
7907
|
+
},
|
|
7908
|
+
{
|
|
7909
|
+
"type": "object",
|
|
7910
|
+
"properties": {
|
|
7911
|
+
"type": {
|
|
7912
|
+
"const": "node",
|
|
7913
|
+
"description": "Must be 'node' for node type search.",
|
|
7914
|
+
"type": "string"
|
|
7915
|
+
},
|
|
7916
|
+
"nodeType": {
|
|
7917
|
+
"enum": [
|
|
7918
|
+
"paragraph",
|
|
7919
|
+
"heading",
|
|
7920
|
+
"listItem",
|
|
7921
|
+
"table",
|
|
7922
|
+
"tableRow",
|
|
7923
|
+
"tableCell",
|
|
7924
|
+
"tableOfContents",
|
|
7925
|
+
"image",
|
|
7926
|
+
"sdt",
|
|
7927
|
+
"run",
|
|
7928
|
+
"bookmark",
|
|
7929
|
+
"comment",
|
|
7930
|
+
"hyperlink",
|
|
7931
|
+
"footnoteRef",
|
|
7932
|
+
"endnoteRef",
|
|
7933
|
+
"crossRef",
|
|
7934
|
+
"indexEntry",
|
|
7935
|
+
"citation",
|
|
7936
|
+
"authorityEntry",
|
|
7937
|
+
"sequenceField",
|
|
7938
|
+
"tab",
|
|
7939
|
+
"lineBreak"
|
|
7940
|
+
],
|
|
7941
|
+
"description": "Block type to match (paragraph, heading, table, listItem, etc.)."
|
|
7942
|
+
},
|
|
7943
|
+
"kind": {
|
|
7944
|
+
"enum": [
|
|
7945
|
+
"block",
|
|
7946
|
+
"inline"
|
|
7947
|
+
],
|
|
7948
|
+
"description": "Filter: 'block' or 'inline'."
|
|
7949
|
+
}
|
|
7950
|
+
},
|
|
7951
|
+
"additionalProperties": false,
|
|
7952
|
+
"required": [
|
|
7953
|
+
"type"
|
|
7954
|
+
]
|
|
7955
|
+
}
|
|
7956
|
+
]
|
|
7957
|
+
},
|
|
7958
|
+
"within": {
|
|
7959
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
7960
|
+
},
|
|
7961
|
+
"require": {
|
|
7962
|
+
"enum": [
|
|
7963
|
+
"first",
|
|
7964
|
+
"exactlyOne",
|
|
7965
|
+
"all"
|
|
7966
|
+
]
|
|
7967
|
+
}
|
|
7968
|
+
},
|
|
7969
|
+
"additionalProperties": false,
|
|
7970
|
+
"required": [
|
|
7971
|
+
"by",
|
|
7972
|
+
"select",
|
|
7973
|
+
"require"
|
|
7974
|
+
]
|
|
7975
|
+
},
|
|
7976
|
+
{
|
|
7977
|
+
"type": "object",
|
|
7978
|
+
"properties": {
|
|
7979
|
+
"by": {
|
|
7980
|
+
"const": "ref",
|
|
7981
|
+
"type": "string"
|
|
7982
|
+
},
|
|
7983
|
+
"ref": {
|
|
7984
|
+
"type": "string"
|
|
7985
|
+
},
|
|
7986
|
+
"within": {
|
|
7987
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
7988
|
+
}
|
|
7989
|
+
},
|
|
7990
|
+
"additionalProperties": false,
|
|
7991
|
+
"required": [
|
|
7992
|
+
"by",
|
|
7993
|
+
"ref"
|
|
7994
|
+
]
|
|
7995
|
+
},
|
|
7996
|
+
{
|
|
7997
|
+
"type": "object",
|
|
7998
|
+
"properties": {
|
|
7999
|
+
"by": {
|
|
8000
|
+
"const": "target",
|
|
8001
|
+
"type": "string"
|
|
8002
|
+
},
|
|
8003
|
+
"target": {
|
|
8004
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
8005
|
+
}
|
|
8006
|
+
},
|
|
8007
|
+
"additionalProperties": false,
|
|
8008
|
+
"required": [
|
|
8009
|
+
"by",
|
|
8010
|
+
"target"
|
|
8011
|
+
]
|
|
8012
|
+
},
|
|
8013
|
+
{
|
|
8014
|
+
"type": "object",
|
|
8015
|
+
"properties": {
|
|
8016
|
+
"by": {
|
|
8017
|
+
"const": "block",
|
|
8018
|
+
"type": "string"
|
|
8019
|
+
},
|
|
8020
|
+
"nodeType": {
|
|
8021
|
+
"enum": [
|
|
8022
|
+
"paragraph",
|
|
8023
|
+
"heading",
|
|
8024
|
+
"listItem",
|
|
8025
|
+
"table",
|
|
8026
|
+
"tableRow",
|
|
8027
|
+
"tableCell",
|
|
8028
|
+
"tableOfContents",
|
|
8029
|
+
"image",
|
|
8030
|
+
"sdt"
|
|
8031
|
+
]
|
|
8032
|
+
},
|
|
8033
|
+
"nodeId": {
|
|
8034
|
+
"type": "string"
|
|
8035
|
+
}
|
|
8036
|
+
},
|
|
8037
|
+
"additionalProperties": false,
|
|
8038
|
+
"required": [
|
|
8039
|
+
"by",
|
|
8040
|
+
"nodeType",
|
|
8041
|
+
"nodeId"
|
|
8042
|
+
]
|
|
8043
|
+
}
|
|
8044
|
+
]
|
|
8045
|
+
},
|
|
8046
|
+
"args": {
|
|
8047
|
+
"type": "object",
|
|
8048
|
+
"properties": {
|
|
8049
|
+
"content": {
|
|
8050
|
+
"oneOf": [
|
|
8051
|
+
{
|
|
8052
|
+
"type": "object"
|
|
8053
|
+
},
|
|
8054
|
+
{
|
|
8055
|
+
"type": "array",
|
|
8056
|
+
"items": {
|
|
8057
|
+
"type": "object"
|
|
8058
|
+
}
|
|
8059
|
+
}
|
|
8060
|
+
]
|
|
8061
|
+
},
|
|
8062
|
+
"nestingPolicy": {
|
|
8063
|
+
"type": "object",
|
|
8064
|
+
"properties": {
|
|
8065
|
+
"tables": {
|
|
8066
|
+
"enum": [
|
|
8067
|
+
"forbid",
|
|
8068
|
+
"allow"
|
|
8069
|
+
]
|
|
8070
|
+
}
|
|
8071
|
+
},
|
|
8072
|
+
"additionalProperties": false,
|
|
8073
|
+
"description": "Controls nesting behavior. tables: 'allow' permits inserting tables inside other tables."
|
|
8074
|
+
}
|
|
8075
|
+
},
|
|
8076
|
+
"additionalProperties": false,
|
|
8077
|
+
"required": [
|
|
8078
|
+
"content"
|
|
8079
|
+
]
|
|
8080
|
+
}
|
|
8081
|
+
},
|
|
8082
|
+
"additionalProperties": false,
|
|
8083
|
+
"required": [
|
|
8084
|
+
"id",
|
|
8085
|
+
"op",
|
|
8086
|
+
"where",
|
|
8087
|
+
"args"
|
|
8088
|
+
]
|
|
8089
|
+
},
|
|
7849
8090
|
{
|
|
7850
8091
|
"type": "object",
|
|
7851
8092
|
"properties": {
|
|
@@ -7986,7 +8227,7 @@
|
|
|
7986
8227
|
}
|
|
7987
8228
|
]
|
|
7988
8229
|
},
|
|
7989
|
-
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, or assert) and a 'where' targeting clause."
|
|
8230
|
+
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, or assert) and a 'where' targeting clause. Check runtime capabilities for operation-specific content and targeting restrictions."
|
|
7990
8231
|
},
|
|
7991
8232
|
"detail": {
|
|
7992
8233
|
"type": "object",
|