superdoc-sdk 2.25.0__tar.gz → 2.26.0__tar.gz
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.
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/PKG-INFO +6 -6
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/pyproject.toml +6 -6
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/client.py +0 -4
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/generated/client.py +10 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/generated/contract.py +1 -1
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/runtime.py +6 -47
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/test_parity_helper.py +2 -2
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/tools/catalog.json +40 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/tools/generation-receipt.json +19 -19
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/tools/tools-policy.json +1 -1
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/tools/tools.anthropic.json +40 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/tools/tools.generic.json +40 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/tools/tools.openai.json +40 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/tools/tools.vercel.json +40 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/transport.py +7 -230
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc_sdk.egg-info/PKG-INFO +6 -6
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc_sdk.egg-info/SOURCES.txt +0 -4
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc_sdk.egg-info/requires.txt +5 -5
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_local_introspection.py +4 -4
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_per_open_collaboration_auth.py +6 -6
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_transport.py +0 -12
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_whitespace_boundaries.py +1 -63
- superdoc_sdk-2.25.0/superdoc/document_rpc.py +0 -382
- superdoc_sdk-2.25.0/superdoc/embedded_document_host.py +0 -31
- superdoc_sdk-2.25.0/tests/test_document_rpc.py +0 -1287
- superdoc_sdk-2.25.0/tests/test_embedded_document_host.py +0 -53
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/setup.cfg +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/__init__.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/_whitespace.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/embedded_cli.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/embedded_platform.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/errors.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/generated/__init__.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/helpers/__init__.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/helpers/format.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/introspection.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/presets/__init__.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/presets/core.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/presets/custom.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/presets/full.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/presets/legacy.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/protocol.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/sdk_policy.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/skill_api.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/skills/__init__.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/skills/editing-docx.md +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/tools/intent_dispatch_generated.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/tools/system-prompt-mcp.md +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/tools/system-prompt.md +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc/tools_api.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc_sdk.egg-info/dependency_links.txt +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/superdoc_sdk.egg-info/top_level.txt +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_client_method_naming.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_core_dispatch_options.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_custom_actions.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_custom_actions_async.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_custom_actions_toolkit.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_embedded_platform.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_full_dispatch_options.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_full_revision_parity.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_helpers_reexports.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_presets.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_protocol.py +0 -0
- {superdoc_sdk-2.25.0 → superdoc_sdk-2.26.0}/tests/test_smoke_core_preset.py +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: superdoc-sdk
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.26.0
|
|
4
4
|
Summary: SuperDoc SDK (CLI-backed)
|
|
5
5
|
Author: SuperDoc
|
|
6
6
|
License-Expression: AGPL-3.0
|
|
7
7
|
Requires-Python: >=3.9
|
|
8
|
-
Requires-Dist: superdoc-sdk-cli-darwin-arm64==2.
|
|
9
|
-
Requires-Dist: superdoc-sdk-cli-darwin-x64==2.
|
|
10
|
-
Requires-Dist: superdoc-sdk-cli-linux-x64==2.
|
|
11
|
-
Requires-Dist: superdoc-sdk-cli-linux-arm64==2.
|
|
12
|
-
Requires-Dist: superdoc-sdk-cli-windows-x64==2.
|
|
8
|
+
Requires-Dist: superdoc-sdk-cli-darwin-arm64==2.26.0; platform_system == "Darwin" and (platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ARM64")
|
|
9
|
+
Requires-Dist: superdoc-sdk-cli-darwin-x64==2.26.0; platform_system == "Darwin" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
|
|
10
|
+
Requires-Dist: superdoc-sdk-cli-linux-x64==2.26.0; platform_system == "Linux" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
|
|
11
|
+
Requires-Dist: superdoc-sdk-cli-linux-arm64==2.26.0; platform_system == "Linux" and (platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ARM64")
|
|
12
|
+
Requires-Dist: superdoc-sdk-cli-windows-x64==2.26.0; platform_system == "Windows" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
|
|
@@ -4,17 +4,17 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "superdoc-sdk"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.26.0"
|
|
8
8
|
description = "SuperDoc SDK (CLI-backed)"
|
|
9
9
|
requires-python = ">=3.9"
|
|
10
10
|
license = "AGPL-3.0"
|
|
11
11
|
authors = [{ name = "SuperDoc" }]
|
|
12
12
|
dependencies = [
|
|
13
|
-
"superdoc-sdk-cli-darwin-arm64==2.
|
|
14
|
-
"superdoc-sdk-cli-darwin-x64==2.
|
|
15
|
-
"superdoc-sdk-cli-linux-x64==2.
|
|
16
|
-
"superdoc-sdk-cli-linux-arm64==2.
|
|
17
|
-
"superdoc-sdk-cli-windows-x64==2.
|
|
13
|
+
"superdoc-sdk-cli-darwin-arm64==2.26.0; platform_system == 'Darwin' and (platform_machine == 'arm64' or platform_machine == 'aarch64' or platform_machine == 'ARM64')",
|
|
14
|
+
"superdoc-sdk-cli-darwin-x64==2.26.0; platform_system == 'Darwin' and (platform_machine == 'x86_64' or platform_machine == 'AMD64' or platform_machine == 'amd64')",
|
|
15
|
+
"superdoc-sdk-cli-linux-x64==2.26.0; platform_system == 'Linux' and (platform_machine == 'x86_64' or platform_machine == 'AMD64' or platform_machine == 'amd64')",
|
|
16
|
+
"superdoc-sdk-cli-linux-arm64==2.26.0; platform_system == 'Linux' and (platform_machine == 'arm64' or platform_machine == 'aarch64' or platform_machine == 'ARM64')",
|
|
17
|
+
"superdoc-sdk-cli-windows-x64==2.26.0; platform_system == 'Windows' and (platform_machine == 'x86_64' or platform_machine == 'AMD64' or platform_machine == 'amd64')",
|
|
18
18
|
]
|
|
19
19
|
|
|
20
20
|
[tool.uv.sources]
|
|
@@ -240,7 +240,6 @@ class SuperDocClient:
|
|
|
240
240
|
def __init__(
|
|
241
241
|
self,
|
|
242
242
|
*,
|
|
243
|
-
document_host_path: str | None = None,
|
|
244
243
|
env: dict[str, str] | None = None,
|
|
245
244
|
startup_timeout_ms: int = 5_000,
|
|
246
245
|
shutdown_timeout_ms: int = 5_000,
|
|
@@ -250,7 +249,6 @@ class SuperDocClient:
|
|
|
250
249
|
user: UserIdentity | None = None,
|
|
251
250
|
) -> None:
|
|
252
251
|
self._runtime = SuperDocSyncRuntime(
|
|
253
|
-
document_host_path=document_host_path,
|
|
254
252
|
env=env,
|
|
255
253
|
startup_timeout_ms=startup_timeout_ms,
|
|
256
254
|
shutdown_timeout_ms=shutdown_timeout_ms,
|
|
@@ -368,7 +366,6 @@ class AsyncSuperDocClient:
|
|
|
368
366
|
def __init__(
|
|
369
367
|
self,
|
|
370
368
|
*,
|
|
371
|
-
document_host_path: str | None = None,
|
|
372
369
|
env: dict[str, str] | None = None,
|
|
373
370
|
startup_timeout_ms: int = 5_000,
|
|
374
371
|
shutdown_timeout_ms: int = 5_000,
|
|
@@ -382,7 +379,6 @@ class AsyncSuperDocClient:
|
|
|
382
379
|
user: UserIdentity | None = None,
|
|
383
380
|
) -> None:
|
|
384
381
|
self._runtime = SuperDocAsyncRuntime(
|
|
385
|
-
document_host_path=document_host_path,
|
|
386
382
|
env=env,
|
|
387
383
|
startup_timeout_ms=startup_timeout_ms,
|
|
388
384
|
shutdown_timeout_ms=shutdown_timeout_ms,
|
|
@@ -1271,6 +1271,7 @@ _DocProjectMarkdownResultScopeVariant3TargetRequiredFields = TypedDict(
|
|
|
1271
1271
|
_DocProjectMarkdownResultScopeVariant3TargetOptionalFields = TypedDict(
|
|
1272
1272
|
"_DocProjectMarkdownResultScopeVariant3TargetOptionalFields",
|
|
1273
1273
|
{
|
|
1274
|
+
"captureState": str,
|
|
1274
1275
|
"story": Union[DocProjectMarkdownResultScopeVariant3TargetStoryVariant1, DocProjectMarkdownResultScopeVariant3TargetStoryVariant2, DocProjectMarkdownResultScopeVariant3TargetStoryVariant3, DocProjectMarkdownResultScopeVariant3TargetStoryVariant4, DocProjectMarkdownResultScopeVariant3TargetStoryVariant5, DocProjectMarkdownResultScopeVariant3TargetStoryVariant6],
|
|
1275
1276
|
"coordinateSpace": Union[Literal["visible"], Literal["tracked"]],
|
|
1276
1277
|
},
|
|
@@ -1470,6 +1471,7 @@ _DocProjectMarkdownResultAnnotationsItemSourceTargetRequiredFields = TypedDict(
|
|
|
1470
1471
|
_DocProjectMarkdownResultAnnotationsItemSourceTargetOptionalFields = TypedDict(
|
|
1471
1472
|
"_DocProjectMarkdownResultAnnotationsItemSourceTargetOptionalFields",
|
|
1472
1473
|
{
|
|
1474
|
+
"captureState": str,
|
|
1473
1475
|
"story": Union[DocProjectMarkdownResultAnnotationsItemSourceTargetStoryVariant1, DocProjectMarkdownResultAnnotationsItemSourceTargetStoryVariant2, DocProjectMarkdownResultAnnotationsItemSourceTargetStoryVariant3, DocProjectMarkdownResultAnnotationsItemSourceTargetStoryVariant4, DocProjectMarkdownResultAnnotationsItemSourceTargetStoryVariant5, DocProjectMarkdownResultAnnotationsItemSourceTargetStoryVariant6],
|
|
1474
1476
|
"coordinateSpace": Union[Literal["visible"], Literal["tracked"]],
|
|
1475
1477
|
},
|
|
@@ -3427,6 +3429,7 @@ _DocClearContentResultInvalidatedRefsItemVariant1RequiredFields = TypedDict(
|
|
|
3427
3429
|
_DocClearContentResultInvalidatedRefsItemVariant1OptionalFields = TypedDict(
|
|
3428
3430
|
"_DocClearContentResultInvalidatedRefsItemVariant1OptionalFields",
|
|
3429
3431
|
{
|
|
3432
|
+
"captureState": str,
|
|
3430
3433
|
"story": Union[DocClearContentResultInvalidatedRefsItemVariant1StoryVariant1, DocClearContentResultInvalidatedRefsItemVariant1StoryVariant2, DocClearContentResultInvalidatedRefsItemVariant1StoryVariant3, DocClearContentResultInvalidatedRefsItemVariant1StoryVariant4, DocClearContentResultInvalidatedRefsItemVariant1StoryVariant5, DocClearContentResultInvalidatedRefsItemVariant1StoryVariant6],
|
|
3431
3434
|
},
|
|
3432
3435
|
total=False,
|
|
@@ -183373,6 +183376,7 @@ _DocGetMarkdownParamsScopeVariant2RequiredFields = TypedDict(
|
|
|
183373
183376
|
_DocGetMarkdownParamsScopeVariant2OptionalFields = TypedDict(
|
|
183374
183377
|
"_DocGetMarkdownParamsScopeVariant2OptionalFields",
|
|
183375
183378
|
{
|
|
183379
|
+
"captureState": str,
|
|
183376
183380
|
"story": Union[DocGetMarkdownParamsScopeVariant2StoryVariant1, DocGetMarkdownParamsScopeVariant2StoryVariant2, DocGetMarkdownParamsScopeVariant2StoryVariant3, DocGetMarkdownParamsScopeVariant2StoryVariant4, DocGetMarkdownParamsScopeVariant2StoryVariant5, DocGetMarkdownParamsScopeVariant2StoryVariant6],
|
|
183377
183381
|
"coordinateSpace": Union[Literal["visible"], Literal["tracked"]],
|
|
183378
183382
|
},
|
|
@@ -198517,6 +198521,7 @@ _DocCommentsCreateParamsTargetVariant1RequiredFields = TypedDict(
|
|
|
198517
198521
|
_DocCommentsCreateParamsTargetVariant1OptionalFields = TypedDict(
|
|
198518
198522
|
"_DocCommentsCreateParamsTargetVariant1OptionalFields",
|
|
198519
198523
|
{
|
|
198524
|
+
"captureState": str,
|
|
198520
198525
|
"story": Union[DocCommentsCreateParamsTargetVariant1StoryVariant1, DocCommentsCreateParamsTargetVariant1StoryVariant2, DocCommentsCreateParamsTargetVariant1StoryVariant3, DocCommentsCreateParamsTargetVariant1StoryVariant4, DocCommentsCreateParamsTargetVariant1StoryVariant5, DocCommentsCreateParamsTargetVariant1StoryVariant6],
|
|
198521
198526
|
},
|
|
198522
198527
|
total=False,
|
|
@@ -198564,6 +198569,7 @@ _DocCommentsCreateParamsTargetVariant2RequiredFields = TypedDict(
|
|
|
198564
198569
|
_DocCommentsCreateParamsTargetVariant2OptionalFields = TypedDict(
|
|
198565
198570
|
"_DocCommentsCreateParamsTargetVariant2OptionalFields",
|
|
198566
198571
|
{
|
|
198572
|
+
"captureState": str,
|
|
198567
198573
|
"story": Union[DocCommentsCreateParamsTargetVariant2StoryVariant1, DocCommentsCreateParamsTargetVariant2StoryVariant2, DocCommentsCreateParamsTargetVariant2StoryVariant3, DocCommentsCreateParamsTargetVariant2StoryVariant4, DocCommentsCreateParamsTargetVariant2StoryVariant5, DocCommentsCreateParamsTargetVariant2StoryVariant6],
|
|
198568
198574
|
"coordinateSpace": Union[Literal["visible"], Literal["tracked"]],
|
|
198569
198575
|
},
|
|
@@ -198814,6 +198820,7 @@ DocCommentsCreateParams = TypedDict(
|
|
|
198814
198820
|
"authorEmail": str,
|
|
198815
198821
|
"authorImage": str,
|
|
198816
198822
|
"metadata": DocCommentsCreateParamsMetadata,
|
|
198823
|
+
"expectedText": str,
|
|
198817
198824
|
"blockId": str,
|
|
198818
198825
|
"start": Union[int, float],
|
|
198819
198826
|
"end": Union[int, float],
|
|
@@ -204981,6 +204988,7 @@ _DocTablesSortParamsOptionalFields = TypedDict(
|
|
|
204981
204988
|
"dryRun": bool,
|
|
204982
204989
|
"target": DocTablesSortParamsTarget,
|
|
204983
204990
|
"nodeId": str,
|
|
204991
|
+
"skipHeaderRows": Union[int, float],
|
|
204984
204992
|
},
|
|
204985
204993
|
total=False,
|
|
204986
204994
|
)
|
|
@@ -229459,6 +229467,7 @@ DocCommentsCreateBoundParams = TypedDict(
|
|
|
229459
229467
|
"authorEmail": str,
|
|
229460
229468
|
"authorImage": str,
|
|
229461
229469
|
"metadata": DocCommentsCreateBoundParamsMetadata,
|
|
229470
|
+
"expectedText": str,
|
|
229462
229471
|
"blockId": str,
|
|
229463
229472
|
"start": Union[int, float],
|
|
229464
229473
|
"end": Union[int, float],
|
|
@@ -234801,6 +234810,7 @@ _DocTablesSortBoundParamsOptionalFields = TypedDict(
|
|
|
234801
234810
|
"dryRun": bool,
|
|
234802
234811
|
"target": DocTablesSortBoundParamsTarget,
|
|
234803
234812
|
"nodeId": str,
|
|
234813
|
+
"skipHeaderRows": Union[int, float],
|
|
234804
234814
|
},
|
|
234805
234815
|
total=False,
|
|
234806
234816
|
)
|