@superdoc-dev/sdk 1.0.0-alpha.34 → 1.0.0-alpha.35
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/generated/client.cjs +1 -0
- package/dist/generated/client.d.ts +27 -0
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +1 -0
- package/dist/generated/contract.cjs +290 -0
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +290 -0
- package/package.json +6 -6
- package/tools/catalog.json +150 -1
- package/tools/tool-name-map.json +1 -0
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +65 -0
- package/tools/tools.generic.json +140 -0
- package/tools/tools.openai.json +68 -0
- package/tools/tools.vercel.json +68 -0
|
@@ -156,6 +156,7 @@ function createDocApi(runtime) {
|
|
|
156
156
|
convertToText: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.convertToText"], params, options),
|
|
157
157
|
applyTemplate: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.applyTemplate"], params, options),
|
|
158
158
|
applyPreset: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.applyPreset"], params, options),
|
|
159
|
+
setType: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.setType"], params, options),
|
|
159
160
|
captureTemplate: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.captureTemplate"], params, options),
|
|
160
161
|
setLevelNumbering: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.setLevelNumbering"], params, options),
|
|
161
162
|
setLevelBullet: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.setLevelBullet"], params, options),
|
|
@@ -2405,6 +2405,22 @@ export interface DocListsApplyPresetParams {
|
|
|
2405
2405
|
levels?: Array<number>;
|
|
2406
2406
|
input?: Record<string, unknown> | unknown[];
|
|
2407
2407
|
}
|
|
2408
|
+
export interface DocListsSetTypeParams {
|
|
2409
|
+
doc?: string;
|
|
2410
|
+
sessionId?: string;
|
|
2411
|
+
out?: string;
|
|
2412
|
+
force?: boolean;
|
|
2413
|
+
expectedRevision?: number;
|
|
2414
|
+
changeMode?: string;
|
|
2415
|
+
dryRun?: boolean;
|
|
2416
|
+
target: {
|
|
2417
|
+
kind: "block";
|
|
2418
|
+
nodeType: "listItem";
|
|
2419
|
+
nodeId: string;
|
|
2420
|
+
};
|
|
2421
|
+
kind: string;
|
|
2422
|
+
continuity?: string;
|
|
2423
|
+
}
|
|
2408
2424
|
export interface DocListsCaptureTemplateParams {
|
|
2409
2425
|
doc?: string;
|
|
2410
2426
|
sessionId?: string;
|
|
@@ -5719,6 +5735,10 @@ export type DocListsApplyPresetResult = {
|
|
|
5719
5735
|
item: unknown;
|
|
5720
5736
|
success: true;
|
|
5721
5737
|
};
|
|
5738
|
+
export type DocListsSetTypeResult = {
|
|
5739
|
+
item: unknown;
|
|
5740
|
+
success: true;
|
|
5741
|
+
};
|
|
5722
5742
|
export type DocListsCaptureTemplateResult = {
|
|
5723
5743
|
success: true;
|
|
5724
5744
|
template: {
|
|
@@ -7044,6 +7064,12 @@ export type DocCapabilitiesGetResult = {
|
|
|
7044
7064
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
7045
7065
|
tracked: boolean;
|
|
7046
7066
|
};
|
|
7067
|
+
"lists.setType": {
|
|
7068
|
+
available: boolean;
|
|
7069
|
+
dryRun: boolean;
|
|
7070
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
7071
|
+
tracked: boolean;
|
|
7072
|
+
};
|
|
7047
7073
|
"lists.setValue": {
|
|
7048
7074
|
available: boolean;
|
|
7049
7075
|
dryRun: boolean;
|
|
@@ -8350,6 +8376,7 @@ export declare function createDocApi(runtime: SuperDocRuntime): {
|
|
|
8350
8376
|
convertToText: (params?: DocListsConvertToTextParams, options?: InvokeOptions) => Promise<DocListsConvertToTextResult>;
|
|
8351
8377
|
applyTemplate: (params?: DocListsApplyTemplateParams, options?: InvokeOptions) => Promise<DocListsApplyTemplateResult>;
|
|
8352
8378
|
applyPreset: (params?: DocListsApplyPresetParams, options?: InvokeOptions) => Promise<DocListsApplyPresetResult>;
|
|
8379
|
+
setType: (params: DocListsSetTypeParams, options?: InvokeOptions) => Promise<DocListsSetTypeResult>;
|
|
8353
8380
|
captureTemplate: (params?: DocListsCaptureTemplateParams, options?: InvokeOptions) => Promise<DocListsCaptureTemplateResult>;
|
|
8354
8381
|
setLevelNumbering: (params?: DocListsSetLevelNumberingParams, options?: InvokeOptions) => Promise<DocListsSetLevelNumberingResult>;
|
|
8355
8382
|
setLevelBullet: (params?: DocListsSetLevelBulletParams, options?: InvokeOptions) => Promise<DocListsSetLevelBulletResult>;
|