@superdoc/sdk 2.5.0 → 2.7.0
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/agent/actions.cjs +1869 -160
- package/dist/agent/actions.d.ts +77 -10
- package/dist/agent/actions.js +1870 -161
- package/dist/agent/catalog.cjs +102 -9
- package/dist/agent/catalog.d.ts +243 -0
- package/dist/agent/catalog.js +99 -9
- package/dist/agent/doc-snapshot.cjs +200 -2
- package/dist/agent/doc-snapshot.d.ts +91 -0
- package/dist/agent/doc-snapshot.js +199 -2
- package/dist/agent/runtime.cjs +9 -1
- package/dist/agent/runtime.d.ts +8 -0
- package/dist/agent/runtime.js +9 -1
- package/dist/embedded-tools.generated.cjs +5 -5
- package/dist/embedded-tools.generated.js +5 -5
- package/dist/generated/client.cjs +754 -770
- package/dist/generated/client.d.ts +14 -9
- package/dist/generated/client.js +754 -770
- package/dist/generated/contract.cjs +16207 -274
- package/dist/generated/contract.d.ts +38 -0
- package/dist/generated/contract.js +17443 -1503
- package/dist/index.cjs +5 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -4
- package/dist/introspection.cjs +59 -0
- package/dist/introspection.d.ts +3 -0
- package/dist/introspection.js +53 -0
- package/dist/runtime/document-rpc.cjs +328 -0
- package/dist/runtime/document-rpc.d.ts +24 -0
- package/dist/runtime/document-rpc.js +312 -0
- package/dist/runtime/embedded-cli.cjs +5 -68
- package/dist/runtime/embedded-cli.js +5 -67
- package/dist/runtime/embedded-document-host.cjs +28 -0
- package/dist/runtime/embedded-document-host.d.ts +1 -0
- package/dist/runtime/embedded-document-host.js +23 -0
- package/dist/runtime/embedded-platform.cjs +102 -0
- package/dist/runtime/embedded-platform.d.ts +5 -0
- package/dist/runtime/embedded-platform.js +93 -0
- package/dist/runtime/host.cjs +128 -16
- package/dist/runtime/host.d.ts +11 -5
- package/dist/runtime/host.js +126 -16
- package/dist/runtime/process.cjs +34 -5
- package/dist/runtime/process.d.ts +12 -3
- package/dist/runtime/process.js +33 -5
- package/dist/runtime/transport-common.cjs +1 -0
- package/dist/runtime/transport-common.d.ts +28 -10
- package/dist/runtime/transport-common.js +1 -1
- package/package.json +7 -6
- package/tools/__pycache__/__init__.cpython-311.pyc +0 -0
- package/tools/__pycache__/intent_dispatch_generated.cpython-311.pyc +0 -0
- package/tools/catalog.json +2 -2
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +2 -2
- package/tools/tools.generic.json +2 -2
- package/tools/tools.openai.json +2 -2
- package/tools/tools.vercel.json +2 -2
|
@@ -3065,6 +3065,7 @@ export interface DocBlocksListParams {
|
|
|
3065
3065
|
limit?: number;
|
|
3066
3066
|
nodeTypes?: Array<"paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt">;
|
|
3067
3067
|
includeText?: boolean;
|
|
3068
|
+
reviewMode?: string;
|
|
3068
3069
|
}
|
|
3069
3070
|
export interface DocBlocksDeleteParams {
|
|
3070
3071
|
doc?: string;
|
|
@@ -17345,6 +17346,7 @@ export interface DocListsSetLevelNumberingParams {
|
|
|
17345
17346
|
numFmt?: string;
|
|
17346
17347
|
lvlText?: string;
|
|
17347
17348
|
start?: number;
|
|
17349
|
+
isLgl?: boolean;
|
|
17348
17350
|
input?: Record<string, unknown> | unknown[];
|
|
17349
17351
|
}
|
|
17350
17352
|
export interface DocListsSetLevelBulletParams {
|
|
@@ -37454,6 +37456,7 @@ export type DocBlocksListResult = {
|
|
|
37454
37456
|
ref?: string;
|
|
37455
37457
|
}>;
|
|
37456
37458
|
revision: string;
|
|
37459
|
+
reviewMode: "final" | "original" | "redline";
|
|
37457
37460
|
};
|
|
37458
37461
|
export type DocBlocksDeleteResult = {
|
|
37459
37462
|
success: true;
|
|
@@ -78211,7 +78214,7 @@ export type DocStylesApplyResult = {
|
|
|
78211
78214
|
resolution: {
|
|
78212
78215
|
scope: "docDefaults";
|
|
78213
78216
|
channel: "run" | "paragraph";
|
|
78214
|
-
xmlPart:
|
|
78217
|
+
xmlPart: string;
|
|
78215
78218
|
xmlPath: "w:styles/w:docDefaults/w:rPrDefault/w:rPr" | "w:styles/w:docDefaults/w:pPrDefault/w:pPr";
|
|
78216
78219
|
};
|
|
78217
78220
|
dryRun: boolean;
|
|
@@ -78821,7 +78824,7 @@ export type DocSectionsListResult = {
|
|
|
78821
78824
|
};
|
|
78822
78825
|
pageNumbering?: {
|
|
78823
78826
|
start?: number;
|
|
78824
|
-
format?: "decimal" | "lowerLetter" | "upperLetter" | "lowerRoman" | "upperRoman" | "numberInDash";
|
|
78827
|
+
format?: "decimal" | "lowerLetter" | "upperLetter" | "lowerRoman" | "upperRoman" | "numberInDash" | "hebrew1" | "hebrew2";
|
|
78825
78828
|
chapterStyle?: number;
|
|
78826
78829
|
chapterSeparator?: "hyphen" | "period" | "colon" | "emDash" | "enDash";
|
|
78827
78830
|
};
|
|
@@ -78889,7 +78892,7 @@ export type DocSectionsGetResult = {
|
|
|
78889
78892
|
};
|
|
78890
78893
|
pageNumbering?: {
|
|
78891
78894
|
start?: number;
|
|
78892
|
-
format?: "decimal" | "lowerLetter" | "upperLetter" | "lowerRoman" | "upperRoman" | "numberInDash";
|
|
78895
|
+
format?: "decimal" | "lowerLetter" | "upperLetter" | "lowerRoman" | "upperRoman" | "numberInDash" | "hebrew1" | "hebrew2";
|
|
78893
78896
|
chapterStyle?: number;
|
|
78894
78897
|
chapterSeparator?: "hyphen" | "period" | "colon" | "emDash" | "enDash";
|
|
78895
78898
|
};
|
|
@@ -117209,6 +117212,7 @@ export interface DocBlocksListBoundParams {
|
|
|
117209
117212
|
limit?: number;
|
|
117210
117213
|
nodeTypes?: Array<"paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt">;
|
|
117211
117214
|
includeText?: boolean;
|
|
117215
|
+
reviewMode?: string;
|
|
117212
117216
|
}
|
|
117213
117217
|
export interface DocBlocksDeleteBoundParams {
|
|
117214
117218
|
out?: string;
|
|
@@ -131245,6 +131249,7 @@ export interface DocListsSetLevelNumberingBoundParams {
|
|
|
131245
131249
|
numFmt?: string;
|
|
131246
131250
|
lvlText?: string;
|
|
131247
131251
|
start?: number;
|
|
131252
|
+
isLgl?: boolean;
|
|
131248
131253
|
input?: Record<string, unknown> | unknown[];
|
|
131249
131254
|
}
|
|
131250
131255
|
export interface DocListsSetLevelBulletBoundParams {
|
|
@@ -142718,9 +142723,9 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
142718
142723
|
find: (params?: DocFindParams, options?: InvokeOptions) => Promise<DocFindResult>;
|
|
142719
142724
|
getNode: (params?: DocGetNodeParams, options?: InvokeOptions) => Promise<DocGetNodeResult>;
|
|
142720
142725
|
getNodeById: (params: DocGetNodeByIdParams, options?: InvokeOptions) => Promise<DocGetNodeByIdResult>;
|
|
142721
|
-
getText: (params?: DocGetTextParams, options?: InvokeOptions) => Promise<
|
|
142722
|
-
getMarkdown: (params?: DocGetMarkdownParams, options?: InvokeOptions) => Promise<
|
|
142723
|
-
getHtml: (params?: DocGetHtmlParams, options?: InvokeOptions) => Promise<
|
|
142726
|
+
getText: (params?: DocGetTextParams, options?: InvokeOptions) => Promise<string>;
|
|
142727
|
+
getMarkdown: (params?: DocGetMarkdownParams, options?: InvokeOptions) => Promise<string>;
|
|
142728
|
+
getHtml: (params?: DocGetHtmlParams, options?: InvokeOptions) => Promise<string>;
|
|
142724
142729
|
projectMarkdown: (params?: DocProjectMarkdownParams, options?: InvokeOptions) => Promise<DocProjectMarkdownResult>;
|
|
142725
142730
|
projectHtml: (params?: DocProjectHtmlParams, options?: InvokeOptions) => Promise<DocProjectHtmlResult>;
|
|
142726
142731
|
markdownToFragment: (params: DocMarkdownToFragmentParams, options?: InvokeOptions) => Promise<DocMarkdownToFragmentResult>;
|
|
@@ -143276,9 +143281,9 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
143276
143281
|
find: (params?: DocFindBoundParams, options?: InvokeOptions) => Promise<DocFindResult>;
|
|
143277
143282
|
getNode: (params?: DocGetNodeBoundParams, options?: InvokeOptions) => Promise<DocGetNodeResult>;
|
|
143278
143283
|
getNodeById: (params: DocGetNodeByIdBoundParams, options?: InvokeOptions) => Promise<DocGetNodeByIdResult>;
|
|
143279
|
-
getText: (params?: DocGetTextBoundParams, options?: InvokeOptions) => Promise<
|
|
143280
|
-
getMarkdown: (params?: DocGetMarkdownBoundParams, options?: InvokeOptions) => Promise<
|
|
143281
|
-
getHtml: (params?: DocGetHtmlBoundParams, options?: InvokeOptions) => Promise<
|
|
143284
|
+
getText: (params?: DocGetTextBoundParams, options?: InvokeOptions) => Promise<string>;
|
|
143285
|
+
getMarkdown: (params?: DocGetMarkdownBoundParams, options?: InvokeOptions) => Promise<string>;
|
|
143286
|
+
getHtml: (params?: DocGetHtmlBoundParams, options?: InvokeOptions) => Promise<string>;
|
|
143282
143287
|
projectMarkdown: (params?: DocProjectMarkdownBoundParams, options?: InvokeOptions) => Promise<DocProjectMarkdownResult>;
|
|
143283
143288
|
projectHtml: (params?: DocProjectHtmlBoundParams, options?: InvokeOptions) => Promise<DocProjectHtmlResult>;
|
|
143284
143289
|
markdownToFragment: (params: DocMarkdownToFragmentBoundParams, options?: InvokeOptions) => Promise<DocMarkdownToFragmentResult>;
|