@superdoc/sdk 2.17.1-next.1 → 2.17.1-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/README.md +36 -0
- package/dist/embedded-tools.generated.cjs +5 -5
- package/dist/embedded-tools.generated.js +5 -5
- package/dist/generated/client.d.ts +4 -370
- 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 +7 -7
- package/tools/catalog.json +5 -1
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +5 -1
- package/tools/tools.generic.json +5 -1
- package/tools/tools.openai.json +5 -1
- package/tools/tools.vercel.json +5 -1
|
@@ -2261,190 +2261,6 @@ export interface DocReplaceParams {
|
|
|
2261
2261
|
storyType: "textbox";
|
|
2262
2262
|
textboxId: string;
|
|
2263
2263
|
});
|
|
2264
|
-
}) | ({
|
|
2265
|
-
kind: "selection";
|
|
2266
|
-
start: ({
|
|
2267
|
-
kind: "text";
|
|
2268
|
-
blockId: string;
|
|
2269
|
-
offset: number;
|
|
2270
|
-
story?: ({
|
|
2271
|
-
kind: "story";
|
|
2272
|
-
storyType: "body";
|
|
2273
|
-
}) | ({
|
|
2274
|
-
kind: "story";
|
|
2275
|
-
storyType: "headerFooterSlot";
|
|
2276
|
-
section: {
|
|
2277
|
-
kind: "section";
|
|
2278
|
-
sectionId: string;
|
|
2279
|
-
};
|
|
2280
|
-
headerFooterKind: "header" | "footer";
|
|
2281
|
-
variant: "default" | "first" | "even";
|
|
2282
|
-
resolution?: "effective" | "explicit";
|
|
2283
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
2284
|
-
}) | ({
|
|
2285
|
-
kind: "story";
|
|
2286
|
-
storyType: "headerFooterPart";
|
|
2287
|
-
refId: string;
|
|
2288
|
-
}) | ({
|
|
2289
|
-
kind: "story";
|
|
2290
|
-
storyType: "footnote";
|
|
2291
|
-
noteId: string;
|
|
2292
|
-
}) | ({
|
|
2293
|
-
kind: "story";
|
|
2294
|
-
storyType: "endnote";
|
|
2295
|
-
noteId: string;
|
|
2296
|
-
}) | ({
|
|
2297
|
-
kind: "story";
|
|
2298
|
-
storyType: "textbox";
|
|
2299
|
-
textboxId: string;
|
|
2300
|
-
});
|
|
2301
|
-
}) | ({
|
|
2302
|
-
kind: "nodeEdge";
|
|
2303
|
-
node: {
|
|
2304
|
-
kind: "block";
|
|
2305
|
-
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2306
|
-
nodeId: string;
|
|
2307
|
-
story?: ({
|
|
2308
|
-
kind: "story";
|
|
2309
|
-
storyType: "body";
|
|
2310
|
-
}) | ({
|
|
2311
|
-
kind: "story";
|
|
2312
|
-
storyType: "headerFooterSlot";
|
|
2313
|
-
section: {
|
|
2314
|
-
kind: "section";
|
|
2315
|
-
sectionId: string;
|
|
2316
|
-
};
|
|
2317
|
-
headerFooterKind: "header" | "footer";
|
|
2318
|
-
variant: "default" | "first" | "even";
|
|
2319
|
-
resolution?: "effective" | "explicit";
|
|
2320
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
2321
|
-
}) | ({
|
|
2322
|
-
kind: "story";
|
|
2323
|
-
storyType: "headerFooterPart";
|
|
2324
|
-
refId: string;
|
|
2325
|
-
}) | ({
|
|
2326
|
-
kind: "story";
|
|
2327
|
-
storyType: "footnote";
|
|
2328
|
-
noteId: string;
|
|
2329
|
-
}) | ({
|
|
2330
|
-
kind: "story";
|
|
2331
|
-
storyType: "endnote";
|
|
2332
|
-
noteId: string;
|
|
2333
|
-
}) | ({
|
|
2334
|
-
kind: "story";
|
|
2335
|
-
storyType: "textbox";
|
|
2336
|
-
textboxId: string;
|
|
2337
|
-
});
|
|
2338
|
-
};
|
|
2339
|
-
edge: "before" | "after";
|
|
2340
|
-
});
|
|
2341
|
-
end: ({
|
|
2342
|
-
kind: "text";
|
|
2343
|
-
blockId: string;
|
|
2344
|
-
offset: number;
|
|
2345
|
-
story?: ({
|
|
2346
|
-
kind: "story";
|
|
2347
|
-
storyType: "body";
|
|
2348
|
-
}) | ({
|
|
2349
|
-
kind: "story";
|
|
2350
|
-
storyType: "headerFooterSlot";
|
|
2351
|
-
section: {
|
|
2352
|
-
kind: "section";
|
|
2353
|
-
sectionId: string;
|
|
2354
|
-
};
|
|
2355
|
-
headerFooterKind: "header" | "footer";
|
|
2356
|
-
variant: "default" | "first" | "even";
|
|
2357
|
-
resolution?: "effective" | "explicit";
|
|
2358
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
2359
|
-
}) | ({
|
|
2360
|
-
kind: "story";
|
|
2361
|
-
storyType: "headerFooterPart";
|
|
2362
|
-
refId: string;
|
|
2363
|
-
}) | ({
|
|
2364
|
-
kind: "story";
|
|
2365
|
-
storyType: "footnote";
|
|
2366
|
-
noteId: string;
|
|
2367
|
-
}) | ({
|
|
2368
|
-
kind: "story";
|
|
2369
|
-
storyType: "endnote";
|
|
2370
|
-
noteId: string;
|
|
2371
|
-
}) | ({
|
|
2372
|
-
kind: "story";
|
|
2373
|
-
storyType: "textbox";
|
|
2374
|
-
textboxId: string;
|
|
2375
|
-
});
|
|
2376
|
-
}) | ({
|
|
2377
|
-
kind: "nodeEdge";
|
|
2378
|
-
node: {
|
|
2379
|
-
kind: "block";
|
|
2380
|
-
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2381
|
-
nodeId: string;
|
|
2382
|
-
story?: ({
|
|
2383
|
-
kind: "story";
|
|
2384
|
-
storyType: "body";
|
|
2385
|
-
}) | ({
|
|
2386
|
-
kind: "story";
|
|
2387
|
-
storyType: "headerFooterSlot";
|
|
2388
|
-
section: {
|
|
2389
|
-
kind: "section";
|
|
2390
|
-
sectionId: string;
|
|
2391
|
-
};
|
|
2392
|
-
headerFooterKind: "header" | "footer";
|
|
2393
|
-
variant: "default" | "first" | "even";
|
|
2394
|
-
resolution?: "effective" | "explicit";
|
|
2395
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
2396
|
-
}) | ({
|
|
2397
|
-
kind: "story";
|
|
2398
|
-
storyType: "headerFooterPart";
|
|
2399
|
-
refId: string;
|
|
2400
|
-
}) | ({
|
|
2401
|
-
kind: "story";
|
|
2402
|
-
storyType: "footnote";
|
|
2403
|
-
noteId: string;
|
|
2404
|
-
}) | ({
|
|
2405
|
-
kind: "story";
|
|
2406
|
-
storyType: "endnote";
|
|
2407
|
-
noteId: string;
|
|
2408
|
-
}) | ({
|
|
2409
|
-
kind: "story";
|
|
2410
|
-
storyType: "textbox";
|
|
2411
|
-
textboxId: string;
|
|
2412
|
-
});
|
|
2413
|
-
};
|
|
2414
|
-
edge: "before" | "after";
|
|
2415
|
-
});
|
|
2416
|
-
story?: ({
|
|
2417
|
-
kind: "story";
|
|
2418
|
-
storyType: "body";
|
|
2419
|
-
}) | ({
|
|
2420
|
-
kind: "story";
|
|
2421
|
-
storyType: "headerFooterSlot";
|
|
2422
|
-
section: {
|
|
2423
|
-
kind: "section";
|
|
2424
|
-
sectionId: string;
|
|
2425
|
-
};
|
|
2426
|
-
headerFooterKind: "header" | "footer";
|
|
2427
|
-
variant: "default" | "first" | "even";
|
|
2428
|
-
resolution?: "effective" | "explicit";
|
|
2429
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
2430
|
-
}) | ({
|
|
2431
|
-
kind: "story";
|
|
2432
|
-
storyType: "headerFooterPart";
|
|
2433
|
-
refId: string;
|
|
2434
|
-
}) | ({
|
|
2435
|
-
kind: "story";
|
|
2436
|
-
storyType: "footnote";
|
|
2437
|
-
noteId: string;
|
|
2438
|
-
}) | ({
|
|
2439
|
-
kind: "story";
|
|
2440
|
-
storyType: "endnote";
|
|
2441
|
-
noteId: string;
|
|
2442
|
-
}) | ({
|
|
2443
|
-
kind: "story";
|
|
2444
|
-
storyType: "textbox";
|
|
2445
|
-
textboxId: string;
|
|
2446
|
-
});
|
|
2447
|
-
coordinateSpace?: "visible" | "tracked";
|
|
2448
2264
|
});
|
|
2449
2265
|
in?: ({
|
|
2450
2266
|
kind: "story";
|
|
@@ -2478,6 +2294,7 @@ export interface DocReplaceParams {
|
|
|
2478
2294
|
textboxId: string;
|
|
2479
2295
|
});
|
|
2480
2296
|
text?: string;
|
|
2297
|
+
expectedText?: string;
|
|
2481
2298
|
ref?: string;
|
|
2482
2299
|
content?: Record<string, unknown> | Array<Record<string, unknown>>;
|
|
2483
2300
|
nestingPolicy?: {
|
|
@@ -27204,7 +27021,7 @@ export interface DocContentControlsPatchParams {
|
|
|
27204
27021
|
tag?: unknown;
|
|
27205
27022
|
appearance?: string;
|
|
27206
27023
|
color?: string;
|
|
27207
|
-
placeholder?: string;
|
|
27024
|
+
placeholder?: string | unknown;
|
|
27208
27025
|
showingPlaceholder?: boolean;
|
|
27209
27026
|
temporary?: boolean;
|
|
27210
27027
|
tabIndex?: number;
|
|
@@ -125406,190 +125223,6 @@ export interface DocReplaceBoundParams {
|
|
|
125406
125223
|
storyType: "textbox";
|
|
125407
125224
|
textboxId: string;
|
|
125408
125225
|
});
|
|
125409
|
-
}) | ({
|
|
125410
|
-
kind: "selection";
|
|
125411
|
-
start: ({
|
|
125412
|
-
kind: "text";
|
|
125413
|
-
blockId: string;
|
|
125414
|
-
offset: number;
|
|
125415
|
-
story?: ({
|
|
125416
|
-
kind: "story";
|
|
125417
|
-
storyType: "body";
|
|
125418
|
-
}) | ({
|
|
125419
|
-
kind: "story";
|
|
125420
|
-
storyType: "headerFooterSlot";
|
|
125421
|
-
section: {
|
|
125422
|
-
kind: "section";
|
|
125423
|
-
sectionId: string;
|
|
125424
|
-
};
|
|
125425
|
-
headerFooterKind: "header" | "footer";
|
|
125426
|
-
variant: "default" | "first" | "even";
|
|
125427
|
-
resolution?: "effective" | "explicit";
|
|
125428
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
125429
|
-
}) | ({
|
|
125430
|
-
kind: "story";
|
|
125431
|
-
storyType: "headerFooterPart";
|
|
125432
|
-
refId: string;
|
|
125433
|
-
}) | ({
|
|
125434
|
-
kind: "story";
|
|
125435
|
-
storyType: "footnote";
|
|
125436
|
-
noteId: string;
|
|
125437
|
-
}) | ({
|
|
125438
|
-
kind: "story";
|
|
125439
|
-
storyType: "endnote";
|
|
125440
|
-
noteId: string;
|
|
125441
|
-
}) | ({
|
|
125442
|
-
kind: "story";
|
|
125443
|
-
storyType: "textbox";
|
|
125444
|
-
textboxId: string;
|
|
125445
|
-
});
|
|
125446
|
-
}) | ({
|
|
125447
|
-
kind: "nodeEdge";
|
|
125448
|
-
node: {
|
|
125449
|
-
kind: "block";
|
|
125450
|
-
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
125451
|
-
nodeId: string;
|
|
125452
|
-
story?: ({
|
|
125453
|
-
kind: "story";
|
|
125454
|
-
storyType: "body";
|
|
125455
|
-
}) | ({
|
|
125456
|
-
kind: "story";
|
|
125457
|
-
storyType: "headerFooterSlot";
|
|
125458
|
-
section: {
|
|
125459
|
-
kind: "section";
|
|
125460
|
-
sectionId: string;
|
|
125461
|
-
};
|
|
125462
|
-
headerFooterKind: "header" | "footer";
|
|
125463
|
-
variant: "default" | "first" | "even";
|
|
125464
|
-
resolution?: "effective" | "explicit";
|
|
125465
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
125466
|
-
}) | ({
|
|
125467
|
-
kind: "story";
|
|
125468
|
-
storyType: "headerFooterPart";
|
|
125469
|
-
refId: string;
|
|
125470
|
-
}) | ({
|
|
125471
|
-
kind: "story";
|
|
125472
|
-
storyType: "footnote";
|
|
125473
|
-
noteId: string;
|
|
125474
|
-
}) | ({
|
|
125475
|
-
kind: "story";
|
|
125476
|
-
storyType: "endnote";
|
|
125477
|
-
noteId: string;
|
|
125478
|
-
}) | ({
|
|
125479
|
-
kind: "story";
|
|
125480
|
-
storyType: "textbox";
|
|
125481
|
-
textboxId: string;
|
|
125482
|
-
});
|
|
125483
|
-
};
|
|
125484
|
-
edge: "before" | "after";
|
|
125485
|
-
});
|
|
125486
|
-
end: ({
|
|
125487
|
-
kind: "text";
|
|
125488
|
-
blockId: string;
|
|
125489
|
-
offset: number;
|
|
125490
|
-
story?: ({
|
|
125491
|
-
kind: "story";
|
|
125492
|
-
storyType: "body";
|
|
125493
|
-
}) | ({
|
|
125494
|
-
kind: "story";
|
|
125495
|
-
storyType: "headerFooterSlot";
|
|
125496
|
-
section: {
|
|
125497
|
-
kind: "section";
|
|
125498
|
-
sectionId: string;
|
|
125499
|
-
};
|
|
125500
|
-
headerFooterKind: "header" | "footer";
|
|
125501
|
-
variant: "default" | "first" | "even";
|
|
125502
|
-
resolution?: "effective" | "explicit";
|
|
125503
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
125504
|
-
}) | ({
|
|
125505
|
-
kind: "story";
|
|
125506
|
-
storyType: "headerFooterPart";
|
|
125507
|
-
refId: string;
|
|
125508
|
-
}) | ({
|
|
125509
|
-
kind: "story";
|
|
125510
|
-
storyType: "footnote";
|
|
125511
|
-
noteId: string;
|
|
125512
|
-
}) | ({
|
|
125513
|
-
kind: "story";
|
|
125514
|
-
storyType: "endnote";
|
|
125515
|
-
noteId: string;
|
|
125516
|
-
}) | ({
|
|
125517
|
-
kind: "story";
|
|
125518
|
-
storyType: "textbox";
|
|
125519
|
-
textboxId: string;
|
|
125520
|
-
});
|
|
125521
|
-
}) | ({
|
|
125522
|
-
kind: "nodeEdge";
|
|
125523
|
-
node: {
|
|
125524
|
-
kind: "block";
|
|
125525
|
-
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
125526
|
-
nodeId: string;
|
|
125527
|
-
story?: ({
|
|
125528
|
-
kind: "story";
|
|
125529
|
-
storyType: "body";
|
|
125530
|
-
}) | ({
|
|
125531
|
-
kind: "story";
|
|
125532
|
-
storyType: "headerFooterSlot";
|
|
125533
|
-
section: {
|
|
125534
|
-
kind: "section";
|
|
125535
|
-
sectionId: string;
|
|
125536
|
-
};
|
|
125537
|
-
headerFooterKind: "header" | "footer";
|
|
125538
|
-
variant: "default" | "first" | "even";
|
|
125539
|
-
resolution?: "effective" | "explicit";
|
|
125540
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
125541
|
-
}) | ({
|
|
125542
|
-
kind: "story";
|
|
125543
|
-
storyType: "headerFooterPart";
|
|
125544
|
-
refId: string;
|
|
125545
|
-
}) | ({
|
|
125546
|
-
kind: "story";
|
|
125547
|
-
storyType: "footnote";
|
|
125548
|
-
noteId: string;
|
|
125549
|
-
}) | ({
|
|
125550
|
-
kind: "story";
|
|
125551
|
-
storyType: "endnote";
|
|
125552
|
-
noteId: string;
|
|
125553
|
-
}) | ({
|
|
125554
|
-
kind: "story";
|
|
125555
|
-
storyType: "textbox";
|
|
125556
|
-
textboxId: string;
|
|
125557
|
-
});
|
|
125558
|
-
};
|
|
125559
|
-
edge: "before" | "after";
|
|
125560
|
-
});
|
|
125561
|
-
story?: ({
|
|
125562
|
-
kind: "story";
|
|
125563
|
-
storyType: "body";
|
|
125564
|
-
}) | ({
|
|
125565
|
-
kind: "story";
|
|
125566
|
-
storyType: "headerFooterSlot";
|
|
125567
|
-
section: {
|
|
125568
|
-
kind: "section";
|
|
125569
|
-
sectionId: string;
|
|
125570
|
-
};
|
|
125571
|
-
headerFooterKind: "header" | "footer";
|
|
125572
|
-
variant: "default" | "first" | "even";
|
|
125573
|
-
resolution?: "effective" | "explicit";
|
|
125574
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
125575
|
-
}) | ({
|
|
125576
|
-
kind: "story";
|
|
125577
|
-
storyType: "headerFooterPart";
|
|
125578
|
-
refId: string;
|
|
125579
|
-
}) | ({
|
|
125580
|
-
kind: "story";
|
|
125581
|
-
storyType: "footnote";
|
|
125582
|
-
noteId: string;
|
|
125583
|
-
}) | ({
|
|
125584
|
-
kind: "story";
|
|
125585
|
-
storyType: "endnote";
|
|
125586
|
-
noteId: string;
|
|
125587
|
-
}) | ({
|
|
125588
|
-
kind: "story";
|
|
125589
|
-
storyType: "textbox";
|
|
125590
|
-
textboxId: string;
|
|
125591
|
-
});
|
|
125592
|
-
coordinateSpace?: "visible" | "tracked";
|
|
125593
125226
|
});
|
|
125594
125227
|
in?: ({
|
|
125595
125228
|
kind: "story";
|
|
@@ -125623,6 +125256,7 @@ export interface DocReplaceBoundParams {
|
|
|
125623
125256
|
textboxId: string;
|
|
125624
125257
|
});
|
|
125625
125258
|
text?: string;
|
|
125259
|
+
expectedText?: string;
|
|
125626
125260
|
ref?: string;
|
|
125627
125261
|
content?: Record<string, unknown> | Array<Record<string, unknown>>;
|
|
125628
125262
|
nestingPolicy?: {
|
|
@@ -149764,7 +149398,7 @@ export interface DocContentControlsPatchBoundParams {
|
|
|
149764
149398
|
tag?: unknown;
|
|
149765
149399
|
appearance?: string;
|
|
149766
149400
|
color?: string;
|
|
149767
|
-
placeholder?: string;
|
|
149401
|
+
placeholder?: string | unknown;
|
|
149768
149402
|
showingPlaceholder?: boolean;
|
|
149769
149403
|
temporary?: boolean;
|
|
149770
149404
|
tabIndex?: number;
|