@superdoc-dev/sdk 1.8.0-next.4 → 1.8.0-next.6
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 +4 -0
- package/dist/generated/client.d.ts +84 -0
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +4 -0
- package/dist/generated/contract.cjs +802 -222
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +802 -222
- package/dist/generated/intent-dispatch.generated.cjs +5 -0
- package/dist/generated/intent-dispatch.generated.d.ts.map +1 -1
- package/dist/generated/intent-dispatch.generated.js +5 -0
- package/package.json +6 -6
- package/tools/__pycache__/__init__.cpython-312.pyc +0 -0
- package/tools/__pycache__/intent_dispatch_generated.cpython-312.pyc +0 -0
- package/tools/catalog.json +85 -4
- package/tools/intent_dispatch_generated.py +10 -0
- package/tools/prompt-templates/system-prompt-core.md +88 -0
- package/tools/system-prompt-mcp.md +88 -0
- package/tools/system-prompt.md +88 -0
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +47 -4
- package/tools/tools.generic.json +53 -5
- package/tools/tools.openai.json +47 -4
- package/tools/tools.vercel.json +47 -4
|
@@ -160,6 +160,8 @@ function createDocApi(runtime) {
|
|
|
160
160
|
join: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.join"], params, options), "result"),
|
|
161
161
|
canJoin: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.canJoin"], params, options), "result"),
|
|
162
162
|
separate: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.separate"], params, options), "result"),
|
|
163
|
+
merge: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.merge"], params, options),
|
|
164
|
+
split: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.split"], params, options),
|
|
163
165
|
setLevel: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.setLevel"], params, options), "result"),
|
|
164
166
|
setValue: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.setValue"], params, options), "result"),
|
|
165
167
|
continuePrevious: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.continuePrevious"], params, options), "result"),
|
|
@@ -659,6 +661,8 @@ function createBoundDocApi(runtime) {
|
|
|
659
661
|
join: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.join"], params, options), "result"),
|
|
660
662
|
canJoin: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.canJoin"], params, options), "result"),
|
|
661
663
|
separate: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.separate"], params, options), "result"),
|
|
664
|
+
merge: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.merge"], params, options),
|
|
665
|
+
split: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.lists.split"], params, options),
|
|
662
666
|
setLevel: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.setLevel"], params, options), "result"),
|
|
663
667
|
setValue: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.setValue"], params, options), "result"),
|
|
664
668
|
continuePrevious: async (params = {}, options) => unwrapEnvelope(await runtime.invoke(contract.CONTRACT.operations["doc.lists.continuePrevious"], params, options), "result"),
|
|
@@ -3997,6 +3997,36 @@ export interface DocListsSeparateParams {
|
|
|
3997
3997
|
input?: Record<string, unknown> | unknown[];
|
|
3998
3998
|
nodeId?: string;
|
|
3999
3999
|
}
|
|
4000
|
+
export interface DocListsMergeParams {
|
|
4001
|
+
doc?: string;
|
|
4002
|
+
sessionId?: string;
|
|
4003
|
+
out?: string;
|
|
4004
|
+
force?: boolean;
|
|
4005
|
+
expectedRevision?: number;
|
|
4006
|
+
changeMode?: string;
|
|
4007
|
+
dryRun?: boolean;
|
|
4008
|
+
target: {
|
|
4009
|
+
kind: "block";
|
|
4010
|
+
nodeType: "listItem";
|
|
4011
|
+
nodeId: string;
|
|
4012
|
+
};
|
|
4013
|
+
direction: string;
|
|
4014
|
+
}
|
|
4015
|
+
export interface DocListsSplitParams {
|
|
4016
|
+
doc?: string;
|
|
4017
|
+
sessionId?: string;
|
|
4018
|
+
out?: string;
|
|
4019
|
+
force?: boolean;
|
|
4020
|
+
expectedRevision?: number;
|
|
4021
|
+
changeMode?: string;
|
|
4022
|
+
dryRun?: boolean;
|
|
4023
|
+
target: {
|
|
4024
|
+
kind: "block";
|
|
4025
|
+
nodeType: "listItem";
|
|
4026
|
+
nodeId: string;
|
|
4027
|
+
};
|
|
4028
|
+
restartNumbering?: boolean;
|
|
4029
|
+
}
|
|
4000
4030
|
export interface DocListsSetLevelParams {
|
|
4001
4031
|
doc?: string;
|
|
4002
4032
|
sessionId?: string;
|
|
@@ -18621,6 +18651,18 @@ export type DocListsSeparateResult = {
|
|
|
18621
18651
|
listId: string;
|
|
18622
18652
|
numId: number;
|
|
18623
18653
|
};
|
|
18654
|
+
export type DocListsMergeResult = {
|
|
18655
|
+
success: true;
|
|
18656
|
+
listId: string;
|
|
18657
|
+
absorbedCount: number;
|
|
18658
|
+
removedEmptyBlocks: number;
|
|
18659
|
+
};
|
|
18660
|
+
export type DocListsSplitResult = {
|
|
18661
|
+
success: true;
|
|
18662
|
+
listId: string;
|
|
18663
|
+
numId: number;
|
|
18664
|
+
restartedAt: unknown;
|
|
18665
|
+
};
|
|
18624
18666
|
export type DocListsSetLevelResult = {
|
|
18625
18667
|
success: true;
|
|
18626
18668
|
item: {
|
|
@@ -20687,6 +20729,18 @@ export type DocCapabilitiesGetResult = {
|
|
|
20687
20729
|
dryRun: boolean;
|
|
20688
20730
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
20689
20731
|
};
|
|
20732
|
+
"lists.merge": {
|
|
20733
|
+
available: boolean;
|
|
20734
|
+
tracked: boolean;
|
|
20735
|
+
dryRun: boolean;
|
|
20736
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
20737
|
+
};
|
|
20738
|
+
"lists.split": {
|
|
20739
|
+
available: boolean;
|
|
20740
|
+
tracked: boolean;
|
|
20741
|
+
dryRun: boolean;
|
|
20742
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
20743
|
+
};
|
|
20690
20744
|
"lists.setLevel": {
|
|
20691
20745
|
available: boolean;
|
|
20692
20746
|
tracked: boolean;
|
|
@@ -29767,6 +29821,32 @@ export interface DocListsSeparateBoundParams {
|
|
|
29767
29821
|
input?: Record<string, unknown> | unknown[];
|
|
29768
29822
|
nodeId?: string;
|
|
29769
29823
|
}
|
|
29824
|
+
export interface DocListsMergeBoundParams {
|
|
29825
|
+
out?: string;
|
|
29826
|
+
force?: boolean;
|
|
29827
|
+
expectedRevision?: number;
|
|
29828
|
+
changeMode?: string;
|
|
29829
|
+
dryRun?: boolean;
|
|
29830
|
+
target: {
|
|
29831
|
+
kind: "block";
|
|
29832
|
+
nodeType: "listItem";
|
|
29833
|
+
nodeId: string;
|
|
29834
|
+
};
|
|
29835
|
+
direction: string;
|
|
29836
|
+
}
|
|
29837
|
+
export interface DocListsSplitBoundParams {
|
|
29838
|
+
out?: string;
|
|
29839
|
+
force?: boolean;
|
|
29840
|
+
expectedRevision?: number;
|
|
29841
|
+
changeMode?: string;
|
|
29842
|
+
dryRun?: boolean;
|
|
29843
|
+
target: {
|
|
29844
|
+
kind: "block";
|
|
29845
|
+
nodeType: "listItem";
|
|
29846
|
+
nodeId: string;
|
|
29847
|
+
};
|
|
29848
|
+
restartNumbering?: boolean;
|
|
29849
|
+
}
|
|
29770
29850
|
export interface DocListsSetLevelBoundParams {
|
|
29771
29851
|
out?: string;
|
|
29772
29852
|
force?: boolean;
|
|
@@ -34870,6 +34950,8 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
|
|
|
34870
34950
|
join: (params?: DocListsJoinParams, options?: InvokeOptions) => Promise<DocListsJoinResult>;
|
|
34871
34951
|
canJoin: (params?: DocListsCanJoinParams, options?: InvokeOptions) => Promise<DocListsCanJoinResult>;
|
|
34872
34952
|
separate: (params?: DocListsSeparateParams, options?: InvokeOptions) => Promise<DocListsSeparateResult>;
|
|
34953
|
+
merge: (params: DocListsMergeParams, options?: InvokeOptions) => Promise<DocListsMergeResult>;
|
|
34954
|
+
split: (params: DocListsSplitParams, options?: InvokeOptions) => Promise<DocListsSplitResult>;
|
|
34873
34955
|
setLevel: (params?: DocListsSetLevelParams, options?: InvokeOptions) => Promise<DocListsSetLevelResult>;
|
|
34874
34956
|
setValue: (params?: DocListsSetValueParams, options?: InvokeOptions) => Promise<DocListsSetValueResult>;
|
|
34875
34957
|
continuePrevious: (params?: DocListsContinuePreviousParams, options?: InvokeOptions) => Promise<DocListsContinuePreviousResult>;
|
|
@@ -35365,6 +35447,8 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
|
|
|
35365
35447
|
join: (params?: DocListsJoinBoundParams, options?: InvokeOptions) => Promise<DocListsJoinResult>;
|
|
35366
35448
|
canJoin: (params?: DocListsCanJoinBoundParams, options?: InvokeOptions) => Promise<DocListsCanJoinResult>;
|
|
35367
35449
|
separate: (params?: DocListsSeparateBoundParams, options?: InvokeOptions) => Promise<DocListsSeparateResult>;
|
|
35450
|
+
merge: (params: DocListsMergeBoundParams, options?: InvokeOptions) => Promise<DocListsMergeResult>;
|
|
35451
|
+
split: (params: DocListsSplitBoundParams, options?: InvokeOptions) => Promise<DocListsSplitResult>;
|
|
35368
35452
|
setLevel: (params?: DocListsSetLevelBoundParams, options?: InvokeOptions) => Promise<DocListsSetLevelResult>;
|
|
35369
35453
|
setValue: (params?: DocListsSetValueBoundParams, options?: InvokeOptions) => Promise<DocListsSetValueResult>;
|
|
35370
35454
|
continuePrevious: (params?: DocListsContinuePreviousBoundParams, options?: InvokeOptions) => Promise<DocListsContinuePreviousResult>;
|