@superdoc/sdk 2.25.0-next.4 → 2.25.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/agent/action-change-mode.cjs +6 -0
- package/dist/agent/action-change-mode.d.ts +1 -0
- package/dist/agent/action-change-mode.js +5 -0
- package/dist/agent/action-descriptors.json +2 -2
- package/dist/agent/actions.cjs +886 -530
- package/dist/agent/actions.d.ts +2 -0
- package/dist/agent/actions.js +887 -531
- package/dist/agent/catalog.cjs +5 -0
- package/dist/agent/catalog.js +5 -0
- package/dist/agent/doc-snapshot.cjs +10 -6
- package/dist/agent/doc-snapshot.d.ts +4 -1
- package/dist/agent/doc-snapshot.js +10 -6
- package/dist/agent/ir.d.ts +3 -0
- package/dist/embedded-prompts.generated.cjs +2 -1
- package/dist/embedded-prompts.generated.js +2 -1
- package/dist/generated/client.d.ts +530 -0
- package/dist/generated/contract.cjs +1 -1
- package/dist/generated/contract.js +1 -1
- package/dist/presets/core.cjs +2 -1
- package/dist/presets/core.d.ts +1 -0
- package/dist/presets/core.js +2 -2
- package/dist/presets/full.cjs +1804 -0
- package/dist/presets/full.d.ts +39 -0
- package/dist/presets/full.js +1795 -0
- package/dist/presets.cjs +2 -0
- package/dist/presets.js +2 -0
- package/dist/prompts/full-addendum.md +40 -0
- package/dist/prompts/system-prompt.md +3 -2
- package/dist/runtime/document-rpc.cjs +2 -8
- package/dist/runtime/document-rpc.js +2 -8
- 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/dist/runtime/tracked-support.cjs +11 -0
- package/dist/runtime/tracked-support.d.ts +6 -0
- package/dist/runtime/tracked-support.js +7 -0
- package/package.json +6 -6
- package/tools/generation-receipt.json +14 -13
- package/tools/tools-policy.json +1 -1
package/dist/agent/actions.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export type InsertHeadingArgs = {
|
|
|
58
58
|
placement?: ActionPlacement;
|
|
59
59
|
changeMode?: AgentChangeMode;
|
|
60
60
|
};
|
|
61
|
+
export type ReplacementGranularity = 'word' | 'phrase' | 'range';
|
|
61
62
|
export type ReplaceTextArgs = {
|
|
62
63
|
action: 'replace_text';
|
|
63
64
|
edits: ReadonlyArray<{
|
|
@@ -70,6 +71,7 @@ export type ReplaceTextArgs = {
|
|
|
70
71
|
/** Opaque observation token from the same live document handle; refuses stale edits. */
|
|
71
72
|
expectedRevision?: string;
|
|
72
73
|
changeMode?: AgentChangeMode;
|
|
74
|
+
granularity?: ReplacementGranularity;
|
|
73
75
|
};
|
|
74
76
|
export type DeleteTextArgs = {
|
|
75
77
|
action: 'delete_text';
|