You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -95,7 +96,6 @@ The CLI is bundled with the SDK — no separate install needed.
95
96
{
96
97
"expectedRevision": match["evaluatedRevision"],
97
98
"atomic": True,
98
-
"changeMode": "direct",
99
99
"steps": [
100
100
{
101
101
"id": "replace-acme",
@@ -117,6 +117,8 @@ The CLI is bundled with the SDK — no separate install needed.
117
117
</Tab>
118
118
</Tabs>
119
119
120
+
Set `defaultChangeMode: 'tracked'` (Node) or `default_change_mode='tracked'` (Python) to make mutations use tracked changes by default. If you pass `changeMode` on a specific call, that explicit value overrides the default.
@@ -430,95 +430,36 @@ Convert a list item back into a plain paragraph, exiting the list. Supports dry-
430
430
431
431
### Comments
432
432
433
-
### `comments.add`
433
+
### `comments.create`
434
434
435
-
Attach a new comment to a text range.
435
+
Create a new comment thread or reply. When `parentCommentId` is provided, creates a reply. Otherwise creates a root comment anchored to the given text range.
436
436
437
-
-**Input**: `AddCommentInput` (`{ target, text }`)
438
-
-**Output**: `Receipt`
439
-
-**Mutates**: Yes
440
-
-**Idempotency**: non-idempotent
441
-
-**Failure codes**: `INVALID_TARGET`, `NO_OP`
442
-
443
-
### `comments.edit`
444
-
445
-
Update the body text of an existing comment.
446
-
447
-
-**Input**: `EditCommentInput` (`{ commentId, text }`)
448
-
-**Output**: `Receipt`
449
-
-**Mutates**: Yes
450
-
-**Idempotency**: conditional
451
-
-**Failure codes**: `NO_OP`
452
-
453
-
### `comments.reply`
454
-
455
-
Add a reply to an existing comment thread.
456
-
457
-
-**Input**: `ReplyToCommentInput` (`{ parentCommentId, text }`)
0 commit comments