superdoc-sdk 2.0.0.dev1__tar.gz → 2.0.0.dev100__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.
Files changed (51) hide show
  1. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/PKG-INFO +7 -7
  2. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/README.md +1 -1
  3. superdoc_sdk-2.0.0.dev100/pyproject.toml +35 -0
  4. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/__init__.py +8 -0
  5. superdoc_sdk-2.0.0.dev100/superdoc/generated/client.py +310681 -0
  6. superdoc_sdk-2.0.0.dev100/superdoc/generated/contract.py +7 -0
  7. superdoc_sdk-2.0.0.dev100/superdoc/presets/__init__.py +148 -0
  8. superdoc_sdk-2.0.0.dev100/superdoc/presets/core.py +330 -0
  9. superdoc_sdk-2.0.0.dev100/superdoc/presets/legacy.py +294 -0
  10. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/test_parity_helper.py +13 -1
  11. superdoc_sdk-2.0.0.dev100/superdoc/tools/catalog.json +8775 -0
  12. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/tools/intent_dispatch_generated.py +55 -0
  13. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/tools/system-prompt-mcp.md +143 -1
  14. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/tools/system-prompt.md +143 -1
  15. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/tools/tools-policy.json +6 -2
  16. superdoc_sdk-2.0.0.dev100/superdoc/tools/tools.anthropic.json +8099 -0
  17. superdoc_sdk-2.0.0.dev100/superdoc/tools/tools.generic.json +8312 -0
  18. superdoc_sdk-2.0.0.dev100/superdoc/tools/tools.openai.json +8129 -0
  19. superdoc_sdk-2.0.0.dev100/superdoc/tools/tools.vercel.json +8129 -0
  20. superdoc_sdk-2.0.0.dev100/superdoc/tools_api.py +245 -0
  21. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc_sdk.egg-info/PKG-INFO +7 -7
  22. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc_sdk.egg-info/SOURCES.txt +5 -0
  23. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc_sdk.egg-info/requires.txt +5 -5
  24. superdoc_sdk-2.0.0.dev100/tests/test_presets.py +290 -0
  25. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/tests/test_protocol.py +31 -1
  26. superdoc_sdk-2.0.0.dev100/tests/test_smoke_core_preset.py +85 -0
  27. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/tests/test_transport.py +14 -9
  28. superdoc_sdk-2.0.0.dev1/pyproject.toml +0 -34
  29. superdoc_sdk-2.0.0.dev1/superdoc/generated/client.py +0 -85472
  30. superdoc_sdk-2.0.0.dev1/superdoc/generated/contract.py +0 -7
  31. superdoc_sdk-2.0.0.dev1/superdoc/tools/catalog.json +0 -4502
  32. superdoc_sdk-2.0.0.dev1/superdoc/tools/tools.anthropic.json +0 -4180
  33. superdoc_sdk-2.0.0.dev1/superdoc/tools/tools.generic.json +0 -4353
  34. superdoc_sdk-2.0.0.dev1/superdoc/tools/tools.openai.json +0 -4207
  35. superdoc_sdk-2.0.0.dev1/superdoc/tools/tools.vercel.json +0 -4207
  36. superdoc_sdk-2.0.0.dev1/superdoc/tools_api.py +0 -231
  37. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/setup.cfg +0 -0
  38. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/client.py +0 -0
  39. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/embedded_cli.py +0 -0
  40. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/errors.py +0 -0
  41. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/generated/__init__.py +0 -0
  42. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/protocol.py +0 -0
  43. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/runtime.py +0 -0
  44. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/skill_api.py +0 -0
  45. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/skills/__init__.py +0 -0
  46. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/skills/editing-docx.md +0 -0
  47. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc/transport.py +0 -0
  48. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc_sdk.egg-info/dependency_links.txt +0 -0
  49. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/superdoc_sdk.egg-info/top_level.txt +0 -0
  50. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/tests/test_client_method_naming.py +0 -0
  51. {superdoc_sdk-2.0.0.dev1 → superdoc_sdk-2.0.0.dev100}/tests/test_helpers_reexports.py +0 -0
@@ -1,16 +1,16 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: superdoc-sdk
3
- Version: 2.0.0.dev1
3
+ Version: 2.0.0.dev100
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
8
  Description-Content-Type: text/markdown
9
- Requires-Dist: superdoc-sdk-cli-darwin-arm64==2.0.0.dev1; platform_system == "Darwin" and (platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ARM64")
10
- Requires-Dist: superdoc-sdk-cli-darwin-x64==2.0.0.dev1; platform_system == "Darwin" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
11
- Requires-Dist: superdoc-sdk-cli-linux-x64==2.0.0.dev1; platform_system == "Linux" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
12
- Requires-Dist: superdoc-sdk-cli-linux-arm64==2.0.0.dev1; platform_system == "Linux" and (platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ARM64")
13
- Requires-Dist: superdoc-sdk-cli-windows-x64==2.0.0.dev1; platform_system == "Windows" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
9
+ Requires-Dist: superdoc-sdk-cli-darwin-arm64==2.0.0.dev100; platform_system == "Darwin" and (platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ARM64")
10
+ Requires-Dist: superdoc-sdk-cli-darwin-x64==2.0.0.dev100; platform_system == "Darwin" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
11
+ Requires-Dist: superdoc-sdk-cli-linux-x64==2.0.0.dev100; platform_system == "Linux" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
12
+ Requires-Dist: superdoc-sdk-cli-linux-arm64==2.0.0.dev100; platform_system == "Linux" and (platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ARM64")
13
+ Requires-Dist: superdoc-sdk-cli-windows-x64==2.0.0.dev100; platform_system == "Windows" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
14
14
 
15
15
  # superdoc-sdk
16
16
 
@@ -434,7 +434,7 @@ pip download superdoc-sdk superdoc-sdk-cli-darwin-arm64
434
434
 
435
435
  ## Part of SuperDoc
436
436
 
437
- This SDK is part of [SuperDoc](https://github.com/superdoc-dev/superdoc) — open-source DOCX editing and tooling. Renders, edits, and automates .docx in the browser and on the server.
437
+ This SDK is part of [SuperDoc](https://github.com/superdoc/docx-editor) — open-source DOCX editing and tooling. Renders, edits, and automates .docx in the browser and on the server.
438
438
 
439
439
  ## License
440
440
 
@@ -420,7 +420,7 @@ pip download superdoc-sdk superdoc-sdk-cli-darwin-arm64
420
420
 
421
421
  ## Part of SuperDoc
422
422
 
423
- This SDK is part of [SuperDoc](https://github.com/superdoc-dev/superdoc) — open-source DOCX editing and tooling. Renders, edits, and automates .docx in the browser and on the server.
423
+ This SDK is part of [SuperDoc](https://github.com/superdoc/docx-editor) — open-source DOCX editing and tooling. Renders, edits, and automates .docx in the browser and on the server.
424
424
 
425
425
  ## License
426
426
 
@@ -0,0 +1,35 @@
1
+ [build-system]
2
+ requires = ["setuptools>=70.1", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "superdoc-sdk"
7
+ version = "2.0.0.dev100"
8
+ description = "SuperDoc SDK (CLI-backed)"
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ license = "AGPL-3.0"
12
+ authors = [{ name = "SuperDoc" }]
13
+ dependencies = [
14
+ "superdoc-sdk-cli-darwin-arm64==2.0.0.dev100; platform_system == 'Darwin' and (platform_machine == 'arm64' or platform_machine == 'aarch64' or platform_machine == 'ARM64')",
15
+ "superdoc-sdk-cli-darwin-x64==2.0.0.dev100; platform_system == 'Darwin' and (platform_machine == 'x86_64' or platform_machine == 'AMD64' or platform_machine == 'amd64')",
16
+ "superdoc-sdk-cli-linux-x64==2.0.0.dev100; platform_system == 'Linux' and (platform_machine == 'x86_64' or platform_machine == 'AMD64' or platform_machine == 'amd64')",
17
+ "superdoc-sdk-cli-linux-arm64==2.0.0.dev100; platform_system == 'Linux' and (platform_machine == 'arm64' or platform_machine == 'aarch64' or platform_machine == 'ARM64')",
18
+ "superdoc-sdk-cli-windows-x64==2.0.0.dev100; platform_system == 'Windows' and (platform_machine == 'x86_64' or platform_machine == 'AMD64' or platform_machine == 'amd64')",
19
+ ]
20
+
21
+ [tool.setuptools]
22
+ packages = [
23
+ "superdoc",
24
+ "superdoc.generated",
25
+ "superdoc.presets",
26
+ "superdoc.skills",
27
+ "superdoc.tools",
28
+ ]
29
+
30
+ [tool.setuptools.package-data]
31
+ superdoc = [
32
+ "skills/*.md",
33
+ "tools/*.md",
34
+ "tools/*.json",
35
+ ]
@@ -1,8 +1,10 @@
1
+ from .presets import DEFAULT_PRESET, get_preset, list_presets, register_preset, unregister_preset
1
2
  from .client import AsyncSuperDocClient, AsyncSuperDocDocument, SuperDocClient, SuperDocDocument
2
3
  from .errors import SuperDocError
3
4
  from .skill_api import get_skill, install_skill, list_skills
4
5
  from .tools_api import (
5
6
  choose_tools,
7
+ create_agent_toolkit,
6
8
  dispatch_superdoc_tool,
7
9
  dispatch_superdoc_tool_async,
8
10
  get_mcp_prompt,
@@ -25,8 +27,14 @@ __all__ = [
25
27
  "get_tool_catalog",
26
28
  "list_tools",
27
29
  "choose_tools",
30
+ "create_agent_toolkit",
28
31
  "dispatch_superdoc_tool",
29
32
  "dispatch_superdoc_tool_async",
30
33
  "get_mcp_prompt",
31
34
  "get_system_prompt",
35
+ "DEFAULT_PRESET",
36
+ "get_preset",
37
+ "list_presets",
38
+ "register_preset",
39
+ "unregister_preset",
32
40
  ]