@superdoc/sdk 2.22.0-next.1 → 2.22.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/embedded-tools.generated.cjs +5 -5
- package/dist/embedded-tools.generated.js +5 -5
- package/dist/generated/client.d.ts +158376 -23407
- 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 +164 -1
- package/tools/generation-receipt.json +23 -23
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +164 -1
- package/tools/tools.generic.json +164 -1
- package/tools/tools.openai.json +164 -1
- package/tools/tools.vercel.json +164 -1
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
// AUTO-GENERATED by scripts/embed-version.mjs — DO NOT EDIT.
|
|
4
4
|
// Source of truth: package.json. Regenerated on every SDK build so the
|
|
5
5
|
// SDK retains its own version identity when bundled into another package.
|
|
6
|
-
const SDK_VERSION = '2.22.0-next.
|
|
6
|
+
const SDK_VERSION = '2.22.0-next.11';
|
|
7
7
|
|
|
8
8
|
exports.SDK_VERSION = SDK_VERSION;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.22.0-next.
|
|
1
|
+
export declare const SDK_VERSION = "2.22.0-next.11";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// AUTO-GENERATED by scripts/embed-version.mjs — DO NOT EDIT.
|
|
2
2
|
// Source of truth: package.json. Regenerated on every SDK build so the
|
|
3
3
|
// SDK retains its own version identity when bundled into another package.
|
|
4
|
-
export const SDK_VERSION = '2.22.0-next.
|
|
4
|
+
export const SDK_VERSION = '2.22.0-next.11';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc/sdk",
|
|
3
|
-
"version": "2.22.0-next.
|
|
3
|
+
"version": "2.22.0-next.11",
|
|
4
4
|
"description": "Node SDK for SuperDoc, wrapping the SuperDoc CLI to read and edit .docx files from JavaScript and TypeScript.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"typescript": "^5.9.2"
|
|
39
39
|
},
|
|
40
40
|
"optionalDependencies": {
|
|
41
|
-
"@superdoc/sdk-darwin-arm64": "2.22.0-next.
|
|
42
|
-
"@superdoc/sdk-darwin-x64": "2.22.0-next.
|
|
43
|
-
"@superdoc/sdk-linux-x64": "2.22.0-next.
|
|
44
|
-
"@superdoc/sdk-linux-arm64": "2.22.0-next.
|
|
45
|
-
"@superdoc/sdk-windows-x64": "2.22.0-next.
|
|
41
|
+
"@superdoc/sdk-darwin-arm64": "2.22.0-next.11",
|
|
42
|
+
"@superdoc/sdk-darwin-x64": "2.22.0-next.11",
|
|
43
|
+
"@superdoc/sdk-linux-x64": "2.22.0-next.11",
|
|
44
|
+
"@superdoc/sdk-linux-arm64": "2.22.0-next.11",
|
|
45
|
+
"@superdoc/sdk-windows-x64": "2.22.0-next.11"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
package/tools/catalog.json
CHANGED
|
@@ -9225,10 +9225,133 @@
|
|
|
9225
9225
|
"where",
|
|
9226
9226
|
"args"
|
|
9227
9227
|
]
|
|
9228
|
+
},
|
|
9229
|
+
{
|
|
9230
|
+
"type": "object",
|
|
9231
|
+
"properties": {
|
|
9232
|
+
"id": {
|
|
9233
|
+
"type": "string",
|
|
9234
|
+
"minLength": 1
|
|
9235
|
+
},
|
|
9236
|
+
"op": {
|
|
9237
|
+
"const": "comments.patch",
|
|
9238
|
+
"type": "string"
|
|
9239
|
+
},
|
|
9240
|
+
"args": {
|
|
9241
|
+
"type": "object",
|
|
9242
|
+
"properties": {
|
|
9243
|
+
"commentId": {
|
|
9244
|
+
"type": "string",
|
|
9245
|
+
"minLength": 1
|
|
9246
|
+
},
|
|
9247
|
+
"target": {
|
|
9248
|
+
"oneOf": [
|
|
9249
|
+
{
|
|
9250
|
+
"$ref": "#/$defs/TextAddress"
|
|
9251
|
+
},
|
|
9252
|
+
{
|
|
9253
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
9254
|
+
}
|
|
9255
|
+
]
|
|
9256
|
+
}
|
|
9257
|
+
},
|
|
9258
|
+
"additionalProperties": false,
|
|
9259
|
+
"required": [
|
|
9260
|
+
"commentId",
|
|
9261
|
+
"target"
|
|
9262
|
+
]
|
|
9263
|
+
}
|
|
9264
|
+
},
|
|
9265
|
+
"additionalProperties": false,
|
|
9266
|
+
"required": [
|
|
9267
|
+
"id",
|
|
9268
|
+
"op",
|
|
9269
|
+
"args"
|
|
9270
|
+
]
|
|
9271
|
+
},
|
|
9272
|
+
{
|
|
9273
|
+
"type": "object",
|
|
9274
|
+
"properties": {
|
|
9275
|
+
"id": {
|
|
9276
|
+
"type": "string",
|
|
9277
|
+
"minLength": 1
|
|
9278
|
+
},
|
|
9279
|
+
"op": {
|
|
9280
|
+
"const": "trackChanges.decide",
|
|
9281
|
+
"type": "string"
|
|
9282
|
+
},
|
|
9283
|
+
"args": {
|
|
9284
|
+
"type": "object",
|
|
9285
|
+
"properties": {
|
|
9286
|
+
"decision": {
|
|
9287
|
+
"enum": [
|
|
9288
|
+
"accept",
|
|
9289
|
+
"reject"
|
|
9290
|
+
],
|
|
9291
|
+
"type": "string"
|
|
9292
|
+
},
|
|
9293
|
+
"target": {
|
|
9294
|
+
"oneOf": [
|
|
9295
|
+
{
|
|
9296
|
+
"type": "object",
|
|
9297
|
+
"properties": {
|
|
9298
|
+
"kind": {
|
|
9299
|
+
"const": "id",
|
|
9300
|
+
"type": "string"
|
|
9301
|
+
},
|
|
9302
|
+
"id": {
|
|
9303
|
+
"type": "string",
|
|
9304
|
+
"minLength": 1
|
|
9305
|
+
}
|
|
9306
|
+
},
|
|
9307
|
+
"additionalProperties": false,
|
|
9308
|
+
"required": [
|
|
9309
|
+
"kind",
|
|
9310
|
+
"id"
|
|
9311
|
+
]
|
|
9312
|
+
},
|
|
9313
|
+
{
|
|
9314
|
+
"type": "object",
|
|
9315
|
+
"properties": {
|
|
9316
|
+
"kind": {
|
|
9317
|
+
"const": "ids",
|
|
9318
|
+
"type": "string"
|
|
9319
|
+
},
|
|
9320
|
+
"ids": {
|
|
9321
|
+
"type": "array",
|
|
9322
|
+
"items": {
|
|
9323
|
+
"type": "string",
|
|
9324
|
+
"minLength": 1
|
|
9325
|
+
},
|
|
9326
|
+
"minItems": 1
|
|
9327
|
+
}
|
|
9328
|
+
},
|
|
9329
|
+
"additionalProperties": false,
|
|
9330
|
+
"required": [
|
|
9331
|
+
"kind",
|
|
9332
|
+
"ids"
|
|
9333
|
+
]
|
|
9334
|
+
}
|
|
9335
|
+
]
|
|
9336
|
+
}
|
|
9337
|
+
},
|
|
9338
|
+
"additionalProperties": false,
|
|
9339
|
+
"required": [
|
|
9340
|
+
"decision",
|
|
9341
|
+
"target"
|
|
9342
|
+
]
|
|
9343
|
+
}
|
|
9344
|
+
},
|
|
9345
|
+
"additionalProperties": false,
|
|
9346
|
+
"required": [
|
|
9347
|
+
"id",
|
|
9348
|
+
"op",
|
|
9349
|
+
"args"
|
|
9350
|
+
]
|
|
9228
9351
|
}
|
|
9229
9352
|
]
|
|
9230
9353
|
},
|
|
9231
|
-
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, or
|
|
9354
|
+
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, assert, comments.patch, or trackChanges.decide). Core steps use 'where'; review steps use explicit native args and require direct body-only plans with relocations before decisions. Check runtime capabilities for operation-specific content and targeting restrictions."
|
|
9232
9355
|
},
|
|
9233
9356
|
"detail": {
|
|
9234
9357
|
"type": "object",
|
|
@@ -9299,6 +9422,22 @@
|
|
|
9299
9422
|
"exact"
|
|
9300
9423
|
]
|
|
9301
9424
|
},
|
|
9425
|
+
"Range": {
|
|
9426
|
+
"type": "object",
|
|
9427
|
+
"properties": {
|
|
9428
|
+
"start": {
|
|
9429
|
+
"type": "integer"
|
|
9430
|
+
},
|
|
9431
|
+
"end": {
|
|
9432
|
+
"type": "integer"
|
|
9433
|
+
}
|
|
9434
|
+
},
|
|
9435
|
+
"additionalProperties": false,
|
|
9436
|
+
"required": [
|
|
9437
|
+
"start",
|
|
9438
|
+
"end"
|
|
9439
|
+
]
|
|
9440
|
+
},
|
|
9302
9441
|
"SectionAddress": {
|
|
9303
9442
|
"type": "object",
|
|
9304
9443
|
"properties": {
|
|
@@ -9590,6 +9729,30 @@
|
|
|
9590
9729
|
}
|
|
9591
9730
|
]
|
|
9592
9731
|
},
|
|
9732
|
+
"TextAddress": {
|
|
9733
|
+
"type": "object",
|
|
9734
|
+
"properties": {
|
|
9735
|
+
"kind": {
|
|
9736
|
+
"const": "text",
|
|
9737
|
+
"type": "string"
|
|
9738
|
+
},
|
|
9739
|
+
"blockId": {
|
|
9740
|
+
"type": "string"
|
|
9741
|
+
},
|
|
9742
|
+
"range": {
|
|
9743
|
+
"$ref": "#/$defs/Range"
|
|
9744
|
+
},
|
|
9745
|
+
"story": {
|
|
9746
|
+
"$ref": "#/$defs/StoryLocator"
|
|
9747
|
+
}
|
|
9748
|
+
},
|
|
9749
|
+
"additionalProperties": false,
|
|
9750
|
+
"required": [
|
|
9751
|
+
"kind",
|
|
9752
|
+
"blockId",
|
|
9753
|
+
"range"
|
|
9754
|
+
]
|
|
9755
|
+
},
|
|
9593
9756
|
"TextCoordinateSpace": {
|
|
9594
9757
|
"enum": [
|
|
9595
9758
|
"visible",
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"formatVersion": 1,
|
|
3
|
-
"contractHash": "
|
|
4
|
-
"documentApiSourceHash": "
|
|
5
|
-
"generatorHash": "
|
|
3
|
+
"contractHash": "c3e931ebccfebb8214bd3a06af0173dd0ac9e2cd432eecaf268ac55d6e8a2a89",
|
|
4
|
+
"documentApiSourceHash": "ae3d5ed522922c48777a15b7357b54f31bb56904da9154a823ae3cd5e9b9c6bc",
|
|
5
|
+
"generatorHash": "cf8ee5f6b2f038aaab6cc2a4c1395406c82a68a4caf1132784d689b1feb30edf",
|
|
6
6
|
"inputs": {
|
|
7
7
|
"apps/cli/src/host/sdk-policy.ts": "0adb494bf71f21f9736080b79d59a4205fa9445caa806e28333b738e99e764a7",
|
|
8
|
-
"packages/sdk/codegen/src/artifacts.mjs": "
|
|
8
|
+
"packages/sdk/codegen/src/artifacts.mjs": "aecab7eca4694cbcf2366ddd9cabc033abddad2ff8fb0960d505580dbaf4d8b7",
|
|
9
9
|
"packages/sdk/codegen/src/contract-identity.mjs": "9d2fd074c10cf71f89e4cb9a1c8d96f9c4df4a15e11207cd0921dc58b6906b52",
|
|
10
10
|
"packages/sdk/codegen/src/generate-action-names.mjs": "eedb0b3e7ecab3bb7a4e507e339d8a06754cb8bab154da2583be2d5de024ea28",
|
|
11
|
-
"packages/sdk/codegen/src/generate-all.mjs": "
|
|
11
|
+
"packages/sdk/codegen/src/generate-all.mjs": "5c4dee723464e4fd73e13ca879a4e38191229414c050e1405c8e747e7a904afb",
|
|
12
12
|
"packages/sdk/codegen/src/generate-intent-tools.mjs": "843391a0eb83bf762985be96047e9e9109b87c7d9352cde7aabf49f0e57147b5",
|
|
13
13
|
"packages/sdk/codegen/src/generate-node.mjs": "76e768216cd5e37fb44f5798faaf1b0e5572efac0be3d2e021edd81b28350093",
|
|
14
|
-
"packages/sdk/codegen/src/generate-python.mjs": "
|
|
14
|
+
"packages/sdk/codegen/src/generate-python.mjs": "e6415bb2047db279bf40f32f16ba1c6a4f5d99c9df303a69cc0b9ececfa01028",
|
|
15
15
|
"packages/sdk/codegen/src/model/schema.mjs": "29cb1167413280907ad324d8a1fcb54dc70cce829df00c1a755f43040d01cf3b",
|
|
16
16
|
"packages/sdk/codegen/src/shared.mjs": "a411e7ea4fab43b5b08b00294c746ff7063ceddbae66ece8d8c5990f131e0f7c",
|
|
17
|
-
"packages/sdk/codegen/src/targets.mjs": "
|
|
18
|
-
"packages/sdk/langs/node/package.json": "
|
|
17
|
+
"packages/sdk/codegen/src/targets.mjs": "62c5ae3e3813e07b37e62487d973bac60ef6bea558a01f3ace2e0c6e8374e147",
|
|
18
|
+
"packages/sdk/langs/node/package.json": "f7750fca20c3c4b8f3939733b7bf036d7f48787a6d0589feaa7b351896b31944",
|
|
19
19
|
"packages/sdk/langs/node/scripts/embed-prompts.mjs": "1b1641bf89cad962a4ff11d93f301fe5a4e32fe856cd3c9586106d8aaab4ad80",
|
|
20
20
|
"packages/sdk/langs/node/scripts/embed-tools.mjs": "4cd8b0605b088421ea1fdf8e4e19c70f571f4e3352309a1480491600122e7bb3",
|
|
21
21
|
"packages/sdk/langs/node/scripts/embed-version.mjs": "95e2ff3a7c15cb38130e12f04c8a96c901a5e55d9960610ebefa37178fd19cde",
|
|
22
22
|
"packages/sdk/langs/node/src/agent/action-descriptors.json": "bd979170c1deaa5e7a5df26a8ddeb82b52358645b39a6bef1e7aaade1ff36561",
|
|
23
23
|
"packages/sdk/langs/node/src/prompts/mcp-prompt.md": "52d9bfbce0ee83923effc7586ffe699050ca90b5e1a5e9a683091e5a293d4524",
|
|
24
24
|
"packages/sdk/langs/node/src/prompts/system-prompt.md": "639b059ea7cee37402e04bde8263bd1db108822e22812ab0ebeb297aa3de83a7",
|
|
25
|
-
"packages/sdk/scripts/sdk-generate.mjs": "
|
|
26
|
-
"packages/sdk/scripts/sdk-platform-targets.mjs": "
|
|
25
|
+
"packages/sdk/scripts/sdk-generate.mjs": "fc5b0cb07a39972694a0c60cfef19b2e166ec12890fb5060e97b2b818f746ef3",
|
|
26
|
+
"packages/sdk/scripts/sdk-platform-targets.mjs": "6bdcd55fec9695c7af44ee5c7f67065450f61c27cdd9552d68b92e88abb9d7ab",
|
|
27
27
|
"packages/sdk/tools/prompt-templates/system-prompt-core.md": "4244b9d4c9ec01b14c4b5a56e7525aceed97304326d2b4fc2c3f31af9ec3b65f",
|
|
28
28
|
"packages/sdk/tools/prompt-templates/system-prompt-mcp-header.md": "95e73c78805619991732671991f5aa28c0ab9967344a53ad3ae95b397f6058f7",
|
|
29
29
|
"packages/sdk/tools/prompt-templates/system-prompt-sdk-header.md": "a672b9e5c3ca62685b082f1ac340a66348b37f831303c6cf0d39da9d236cdabe",
|
|
30
|
-
"scripts/generate-all.mjs": "
|
|
30
|
+
"scripts/generate-all.mjs": "fbcb0920173f8170321a3583e18b2b175e54cdca47b39f3c390c727cf9a5f911"
|
|
31
31
|
},
|
|
32
32
|
"outputs": {
|
|
33
33
|
"packages/sdk/langs/node/src/generated/contract.ts": {
|
|
34
34
|
"id": "node-contract",
|
|
35
|
-
"sha256": "
|
|
35
|
+
"sha256": "3d4a46b7e4c2ceca3e4fb5a60ecfbd47a4d64dcf5ec481acc34309fe99412b97",
|
|
36
36
|
"consumers": [
|
|
37
37
|
"node"
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
"packages/sdk/langs/node/src/generated/client.ts": {
|
|
41
41
|
"id": "node-client",
|
|
42
|
-
"sha256": "
|
|
42
|
+
"sha256": "3a6d77850cca45904f28af6c51cebc60880ba479f9c0dfe8c4695dc9016bd78a",
|
|
43
43
|
"consumers": [
|
|
44
44
|
"node"
|
|
45
45
|
]
|
|
@@ -53,14 +53,14 @@
|
|
|
53
53
|
},
|
|
54
54
|
"packages/sdk/langs/python/superdoc/generated/contract.py": {
|
|
55
55
|
"id": "python-contract",
|
|
56
|
-
"sha256": "
|
|
56
|
+
"sha256": "6e727177dffe3e48eac8a722feb1eb9d62ea14be0b9fb83e4a8a01360e14bb1a",
|
|
57
57
|
"consumers": [
|
|
58
58
|
"python"
|
|
59
59
|
]
|
|
60
60
|
},
|
|
61
61
|
"packages/sdk/langs/python/superdoc/generated/client.py": {
|
|
62
62
|
"id": "python-client",
|
|
63
|
-
"sha256": "
|
|
63
|
+
"sha256": "21da5770f80588caaa47cef432dcbdd2133e8602e5562e8a02ad6be94bd714d9",
|
|
64
64
|
"consumers": [
|
|
65
65
|
"python"
|
|
66
66
|
]
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
},
|
|
96
96
|
"packages/sdk/tools/catalog.json": {
|
|
97
97
|
"id": "tool-catalog",
|
|
98
|
-
"sha256": "
|
|
98
|
+
"sha256": "7feb43f69e893d45b8b8c7aab0405bf305ed1af265ac948619966c394a4aac40",
|
|
99
99
|
"consumers": [
|
|
100
100
|
"node",
|
|
101
101
|
"python",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
},
|
|
105
105
|
"packages/sdk/tools/tools-policy.json": {
|
|
106
106
|
"id": "tool-policy",
|
|
107
|
-
"sha256": "
|
|
107
|
+
"sha256": "a348402f46a04eff8cc7eb9f8501dc9c647ca217be85bf82c3d94eca94bdc8d4",
|
|
108
108
|
"consumers": [
|
|
109
109
|
"node",
|
|
110
110
|
"python"
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
},
|
|
113
113
|
"packages/sdk/tools/tools.openai.json": {
|
|
114
114
|
"id": "tools-openai",
|
|
115
|
-
"sha256": "
|
|
115
|
+
"sha256": "3d1eeffa58b44a9e658d1bf658f221e9b6b05d78159b17cfee4e377184834808",
|
|
116
116
|
"consumers": [
|
|
117
117
|
"node",
|
|
118
118
|
"python",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
},
|
|
122
122
|
"packages/sdk/tools/tools.anthropic.json": {
|
|
123
123
|
"id": "tools-anthropic",
|
|
124
|
-
"sha256": "
|
|
124
|
+
"sha256": "b7e42ddc9ced7689f7cd3295b5b5ed723147fafcf8fc325b89ec7b1dc3612446",
|
|
125
125
|
"consumers": [
|
|
126
126
|
"node",
|
|
127
127
|
"python",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
},
|
|
131
131
|
"packages/sdk/tools/tools.vercel.json": {
|
|
132
132
|
"id": "tools-vercel",
|
|
133
|
-
"sha256": "
|
|
133
|
+
"sha256": "3d1eeffa58b44a9e658d1bf658f221e9b6b05d78159b17cfee4e377184834808",
|
|
134
134
|
"consumers": [
|
|
135
135
|
"node",
|
|
136
136
|
"python",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
},
|
|
140
140
|
"packages/sdk/tools/tools.generic.json": {
|
|
141
141
|
"id": "tools-generic",
|
|
142
|
-
"sha256": "
|
|
142
|
+
"sha256": "90d9b8943b74d80aebd0eb6550b1690b50842acc4cfd4e49cb8eefd810cf95c5",
|
|
143
143
|
"consumers": [
|
|
144
144
|
"node",
|
|
145
145
|
"python",
|
|
@@ -179,14 +179,14 @@
|
|
|
179
179
|
},
|
|
180
180
|
"packages/sdk/langs/node/src/embedded-tools.generated.ts": {
|
|
181
181
|
"id": "node-embedded-tools",
|
|
182
|
-
"sha256": "
|
|
182
|
+
"sha256": "015d5c3b0e92d9460bfa094588d74b91b8a626b12b7d490ca957eba4848fd5c4",
|
|
183
183
|
"consumers": [
|
|
184
184
|
"node"
|
|
185
185
|
]
|
|
186
186
|
},
|
|
187
187
|
"packages/sdk/langs/node/src/runtime/sdk-version.generated.ts": {
|
|
188
188
|
"id": "node-sdk-version",
|
|
189
|
-
"sha256": "
|
|
189
|
+
"sha256": "04f78534c22b9d02d7db2c90678000d7d2f45d5b446c5d76852c9952632e9156",
|
|
190
190
|
"consumers": [
|
|
191
191
|
"node"
|
|
192
192
|
]
|
package/tools/tools-policy.json
CHANGED
|
@@ -8777,10 +8777,133 @@
|
|
|
8777
8777
|
"where",
|
|
8778
8778
|
"args"
|
|
8779
8779
|
]
|
|
8780
|
+
},
|
|
8781
|
+
{
|
|
8782
|
+
"type": "object",
|
|
8783
|
+
"properties": {
|
|
8784
|
+
"id": {
|
|
8785
|
+
"type": "string",
|
|
8786
|
+
"minLength": 1
|
|
8787
|
+
},
|
|
8788
|
+
"op": {
|
|
8789
|
+
"const": "comments.patch",
|
|
8790
|
+
"type": "string"
|
|
8791
|
+
},
|
|
8792
|
+
"args": {
|
|
8793
|
+
"type": "object",
|
|
8794
|
+
"properties": {
|
|
8795
|
+
"commentId": {
|
|
8796
|
+
"type": "string",
|
|
8797
|
+
"minLength": 1
|
|
8798
|
+
},
|
|
8799
|
+
"target": {
|
|
8800
|
+
"oneOf": [
|
|
8801
|
+
{
|
|
8802
|
+
"$ref": "#/$defs/TextAddress"
|
|
8803
|
+
},
|
|
8804
|
+
{
|
|
8805
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
8806
|
+
}
|
|
8807
|
+
]
|
|
8808
|
+
}
|
|
8809
|
+
},
|
|
8810
|
+
"additionalProperties": false,
|
|
8811
|
+
"required": [
|
|
8812
|
+
"commentId",
|
|
8813
|
+
"target"
|
|
8814
|
+
]
|
|
8815
|
+
}
|
|
8816
|
+
},
|
|
8817
|
+
"additionalProperties": false,
|
|
8818
|
+
"required": [
|
|
8819
|
+
"id",
|
|
8820
|
+
"op",
|
|
8821
|
+
"args"
|
|
8822
|
+
]
|
|
8823
|
+
},
|
|
8824
|
+
{
|
|
8825
|
+
"type": "object",
|
|
8826
|
+
"properties": {
|
|
8827
|
+
"id": {
|
|
8828
|
+
"type": "string",
|
|
8829
|
+
"minLength": 1
|
|
8830
|
+
},
|
|
8831
|
+
"op": {
|
|
8832
|
+
"const": "trackChanges.decide",
|
|
8833
|
+
"type": "string"
|
|
8834
|
+
},
|
|
8835
|
+
"args": {
|
|
8836
|
+
"type": "object",
|
|
8837
|
+
"properties": {
|
|
8838
|
+
"decision": {
|
|
8839
|
+
"enum": [
|
|
8840
|
+
"accept",
|
|
8841
|
+
"reject"
|
|
8842
|
+
],
|
|
8843
|
+
"type": "string"
|
|
8844
|
+
},
|
|
8845
|
+
"target": {
|
|
8846
|
+
"oneOf": [
|
|
8847
|
+
{
|
|
8848
|
+
"type": "object",
|
|
8849
|
+
"properties": {
|
|
8850
|
+
"kind": {
|
|
8851
|
+
"const": "id",
|
|
8852
|
+
"type": "string"
|
|
8853
|
+
},
|
|
8854
|
+
"id": {
|
|
8855
|
+
"type": "string",
|
|
8856
|
+
"minLength": 1
|
|
8857
|
+
}
|
|
8858
|
+
},
|
|
8859
|
+
"additionalProperties": false,
|
|
8860
|
+
"required": [
|
|
8861
|
+
"kind",
|
|
8862
|
+
"id"
|
|
8863
|
+
]
|
|
8864
|
+
},
|
|
8865
|
+
{
|
|
8866
|
+
"type": "object",
|
|
8867
|
+
"properties": {
|
|
8868
|
+
"kind": {
|
|
8869
|
+
"const": "ids",
|
|
8870
|
+
"type": "string"
|
|
8871
|
+
},
|
|
8872
|
+
"ids": {
|
|
8873
|
+
"type": "array",
|
|
8874
|
+
"items": {
|
|
8875
|
+
"type": "string",
|
|
8876
|
+
"minLength": 1
|
|
8877
|
+
},
|
|
8878
|
+
"minItems": 1
|
|
8879
|
+
}
|
|
8880
|
+
},
|
|
8881
|
+
"additionalProperties": false,
|
|
8882
|
+
"required": [
|
|
8883
|
+
"kind",
|
|
8884
|
+
"ids"
|
|
8885
|
+
]
|
|
8886
|
+
}
|
|
8887
|
+
]
|
|
8888
|
+
}
|
|
8889
|
+
},
|
|
8890
|
+
"additionalProperties": false,
|
|
8891
|
+
"required": [
|
|
8892
|
+
"decision",
|
|
8893
|
+
"target"
|
|
8894
|
+
]
|
|
8895
|
+
}
|
|
8896
|
+
},
|
|
8897
|
+
"additionalProperties": false,
|
|
8898
|
+
"required": [
|
|
8899
|
+
"id",
|
|
8900
|
+
"op",
|
|
8901
|
+
"args"
|
|
8902
|
+
]
|
|
8780
8903
|
}
|
|
8781
8904
|
]
|
|
8782
8905
|
},
|
|
8783
|
-
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, or
|
|
8906
|
+
"description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, assert, comments.patch, or trackChanges.decide). Core steps use 'where'; review steps use explicit native args and require direct body-only plans with relocations before decisions. Check runtime capabilities for operation-specific content and targeting restrictions."
|
|
8784
8907
|
},
|
|
8785
8908
|
"detail": {
|
|
8786
8909
|
"type": "object",
|
|
@@ -8851,6 +8974,22 @@
|
|
|
8851
8974
|
"exact"
|
|
8852
8975
|
]
|
|
8853
8976
|
},
|
|
8977
|
+
"Range": {
|
|
8978
|
+
"type": "object",
|
|
8979
|
+
"properties": {
|
|
8980
|
+
"start": {
|
|
8981
|
+
"type": "integer"
|
|
8982
|
+
},
|
|
8983
|
+
"end": {
|
|
8984
|
+
"type": "integer"
|
|
8985
|
+
}
|
|
8986
|
+
},
|
|
8987
|
+
"additionalProperties": false,
|
|
8988
|
+
"required": [
|
|
8989
|
+
"start",
|
|
8990
|
+
"end"
|
|
8991
|
+
]
|
|
8992
|
+
},
|
|
8854
8993
|
"SectionAddress": {
|
|
8855
8994
|
"type": "object",
|
|
8856
8995
|
"properties": {
|
|
@@ -9142,6 +9281,30 @@
|
|
|
9142
9281
|
}
|
|
9143
9282
|
]
|
|
9144
9283
|
},
|
|
9284
|
+
"TextAddress": {
|
|
9285
|
+
"type": "object",
|
|
9286
|
+
"properties": {
|
|
9287
|
+
"kind": {
|
|
9288
|
+
"const": "text",
|
|
9289
|
+
"type": "string"
|
|
9290
|
+
},
|
|
9291
|
+
"blockId": {
|
|
9292
|
+
"type": "string"
|
|
9293
|
+
},
|
|
9294
|
+
"range": {
|
|
9295
|
+
"$ref": "#/$defs/Range"
|
|
9296
|
+
},
|
|
9297
|
+
"story": {
|
|
9298
|
+
"$ref": "#/$defs/StoryLocator"
|
|
9299
|
+
}
|
|
9300
|
+
},
|
|
9301
|
+
"additionalProperties": false,
|
|
9302
|
+
"required": [
|
|
9303
|
+
"kind",
|
|
9304
|
+
"blockId",
|
|
9305
|
+
"range"
|
|
9306
|
+
]
|
|
9307
|
+
},
|
|
9145
9308
|
"TextCoordinateSpace": {
|
|
9146
9309
|
"enum": [
|
|
9147
9310
|
"visible",
|