@superdoc/sdk 2.15.0-next.7 → 2.15.0-next.9
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 +1 -1
- package/dist/agent/actions.d.ts +1 -1
- package/dist/agent/actions.js +1 -1
- package/dist/agent/doc-snapshot.cjs +3 -0
- package/dist/agent/doc-snapshot.d.ts +1 -0
- package/dist/agent/doc-snapshot.js +3 -0
- package/dist/embedded-tools.generated.cjs +7 -7
- package/dist/embedded-tools.generated.js +7 -7
- package/dist/generated/client.d.ts +1 -0
- 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 +6 -6
- package/tools/catalog.json +2 -2
- package/tools/prompt-templates/system-prompt-core.md +2 -2
- package/tools/system-prompt-mcp.md +2 -2
- package/tools/system-prompt.md +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
package/dist/agent/actions.cjs
CHANGED
|
@@ -90,7 +90,7 @@ const ACTION_DEFINITIONS = {
|
|
|
90
90
|
operations: ['comments.create'],
|
|
91
91
|
},
|
|
92
92
|
rewrite_block: {
|
|
93
|
-
hint:
|
|
93
|
+
hint: 'selector, text, changeMode? — REPLACES the whole block text. Omitted tab controls are deleted: for a tab-aligned paragraph, use replace_text with a minimal find span to change a name/placeholder instead. For appending a NEW paragraph/clause use insert_paragraphs',
|
|
94
94
|
group: 'Text/structure actions',
|
|
95
95
|
groupOrder: 7,
|
|
96
96
|
args: ['text', 'selector', 'changeMode', 'evidence'],
|
package/dist/agent/actions.d.ts
CHANGED
|
@@ -488,7 +488,7 @@ export declare const ACTION_DEFINITIONS: {
|
|
|
488
488
|
readonly operations: readonly ["comments.create"];
|
|
489
489
|
};
|
|
490
490
|
readonly rewrite_block: {
|
|
491
|
-
readonly hint: "selector, text, changeMode? — REPLACES the whole block text
|
|
491
|
+
readonly hint: "selector, text, changeMode? — REPLACES the whole block text. Omitted tab controls are deleted: for a tab-aligned paragraph, use replace_text with a minimal find span to change a name/placeholder instead. For appending a NEW paragraph/clause use insert_paragraphs";
|
|
492
492
|
readonly group: "Text/structure actions";
|
|
493
493
|
readonly groupOrder: 7;
|
|
494
494
|
readonly args: readonly ["text", "selector", "changeMode", "evidence"];
|
package/dist/agent/actions.js
CHANGED
|
@@ -87,7 +87,7 @@ export const ACTION_DEFINITIONS = {
|
|
|
87
87
|
operations: ['comments.create'],
|
|
88
88
|
},
|
|
89
89
|
rewrite_block: {
|
|
90
|
-
hint:
|
|
90
|
+
hint: 'selector, text, changeMode? — REPLACES the whole block text. Omitted tab controls are deleted: for a tab-aligned paragraph, use replace_text with a minimal find span to change a name/placeholder instead. For appending a NEW paragraph/clause use insert_paragraphs',
|
|
91
91
|
group: 'Text/structure actions',
|
|
92
92
|
groupOrder: 7,
|
|
93
93
|
args: ['text', 'selector', 'changeMode', 'evidence'],
|
|
@@ -154,6 +154,9 @@ function normalizeSnapshotBlock(value, fallbackOrdinal, blockTextLimit) {
|
|
|
154
154
|
nodeType: asString(rec.nodeType, 'paragraph'),
|
|
155
155
|
text,
|
|
156
156
|
textPreview,
|
|
157
|
+
...(typeof rec.tabCount === 'number' && Number.isInteger(rec.tabCount) && rec.tabCount >= 0
|
|
158
|
+
? { tabCount: rec.tabCount }
|
|
159
|
+
: {}),
|
|
157
160
|
styleId: typeof rec.styleId === 'string' ? rec.styleId : null,
|
|
158
161
|
headingLevel: typeof rec.headingLevel === 'number' ? rec.headingLevel : undefined,
|
|
159
162
|
...(asRecord(rec.numbering)
|
|
@@ -152,6 +152,9 @@ export function normalizeSnapshotBlock(value, fallbackOrdinal, blockTextLimit) {
|
|
|
152
152
|
nodeType: asString(rec.nodeType, 'paragraph'),
|
|
153
153
|
text,
|
|
154
154
|
textPreview,
|
|
155
|
+
...(typeof rec.tabCount === 'number' && Number.isInteger(rec.tabCount) && rec.tabCount >= 0
|
|
156
|
+
? { tabCount: rec.tabCount }
|
|
157
|
+
: {}),
|
|
155
158
|
styleId: typeof rec.styleId === 'string' ? rec.styleId : null,
|
|
156
159
|
headingLevel: typeof rec.headingLevel === 'number' ? rec.headingLevel : undefined,
|
|
157
160
|
...(asRecord(rec.numbering)
|