agentos-sdk-python 0.2.0__tar.gz → 1.1.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.
Files changed (48) hide show
  1. agentos_sdk_python-1.1.0/CHANGELOG.md +69 -0
  2. agentos_sdk_python-1.1.0/PKG-INFO +677 -0
  3. agentos_sdk_python-1.1.0/README-zh_CN.md +623 -0
  4. agentos_sdk_python-1.1.0/README.md +643 -0
  5. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/RELEASE.md +2 -2
  6. agentos_sdk_python-1.1.0/agentos_sdk/__init__.py +143 -0
  7. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/agentos_sdk/clients/__init__.py +10 -0
  8. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/agentos_sdk/clients/agentkit.py +2 -37
  9. agentos_sdk_python-1.1.0/agentos_sdk/clients/authkit.py +60 -0
  10. agentos_sdk_python-1.1.0/agentos_sdk/clients/discoverykit.py +60 -0
  11. agentos_sdk_python-1.1.0/agentos_sdk/clients/harnesskit.py +384 -0
  12. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/agentos_sdk/clients/modelkit.py +98 -1
  13. agentos_sdk_python-1.1.0/agentos_sdk/clients/notifykit.py +47 -0
  14. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/agentos_sdk/clients/toolkit.py +8 -2
  15. agentos_sdk_python-1.1.0/agentos_sdk/clients/transferkit.py +149 -0
  16. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/agentos_sdk/normalizers.py +44 -14
  17. agentos_sdk_python-1.1.0/agentos_sdk/protocol.py +646 -0
  18. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/agentos_sdk/sdk.py +422 -32
  19. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/agentos_sdk/transport.py +9 -2
  20. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/pyproject.toml +3 -3
  21. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/tests/test_agentkit.py +55 -0
  22. agentos_sdk_python-1.1.0/tests/test_harnesskit.py +913 -0
  23. agentos_sdk_python-1.1.0/tests/test_modelkit.py +334 -0
  24. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/tests/test_normalizers.py +74 -0
  25. agentos_sdk_python-1.1.0/tests/test_notifykit.py +224 -0
  26. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/tests/test_sdk_facade.py +127 -11
  27. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/tests/test_toolkit.py +18 -3
  28. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/tests/test_transport.py +28 -0
  29. agentos_sdk_python-1.1.0/tests/typecheck/harnesskit_usage.py +91 -0
  30. agentos_sdk_python-1.1.0/tests/typecheck/modelkit_usage.py +85 -0
  31. agentos_sdk_python-1.1.0/tests/typecheck/notifykit_usage.py +54 -0
  32. agentos_sdk_python-0.2.0/CHANGELOG.md +0 -20
  33. agentos_sdk_python-0.2.0/PKG-INFO +0 -339
  34. agentos_sdk_python-0.2.0/README-zh_CN.md +0 -302
  35. agentos_sdk_python-0.2.0/README.md +0 -305
  36. agentos_sdk_python-0.2.0/agentos_sdk/__init__.py +0 -63
  37. agentos_sdk_python-0.2.0/agentos_sdk/protocol.py +0 -231
  38. agentos_sdk_python-0.2.0/tests/test_modelkit.py +0 -79
  39. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/.gitignore +0 -0
  40. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/LICENSE +0 -0
  41. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/agentos_sdk/clients/appkit.py +0 -0
  42. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/agentos_sdk/clients/cronkit.py +0 -0
  43. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/agentos_sdk/clients/systemkit.py +0 -0
  44. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/agentos_sdk/handlers.py +0 -0
  45. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/agentos_sdk/py.typed +0 -0
  46. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/tests/test_cronkit.py +0 -0
  47. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/tests/test_protocol.py +0 -0
  48. {agentos_sdk_python-0.2.0 → agentos_sdk_python-1.1.0}/tests/typecheck/toolkit_usage.py +0 -0
@@ -0,0 +1,69 @@
1
+ # Changelog
2
+
3
+ ## 1.1.0 - Unreleased
4
+
5
+ - Added HarnessKit support for the authenticated `/harnesskit/*` Gateway routes:
6
+ `sdk.harnesskit` (with `health`, `get_runtime`, `switch_engine`,
7
+ `list_threads`, `get_thread`, `rename_thread`, `delete_thread`, `start_run`,
8
+ `submit_command`, `events`, `get_run_result`, `get_operational_snapshot`,
9
+ `request` and `request_stream`, plus camelCase aliases) and the explicit-token
10
+ `HarnessKitClient` (`sdk.harnessKit`). Calls use the app token from
11
+ `register_bundle` and refresh it once on `401`/`403`. `events()` is a
12
+ resumable SSE stream (`after_sequence`, `run_id`) that releases its connection
13
+ when finished or closed. Rejected commands (HTTP `400` with a receipt body) are
14
+ returned as receipts. Thread/run IDs and `request()` paths are validated so
15
+ they cannot escape the Harness API root. The `HarnessKit*` type declarations
16
+ were added.
17
+ - Added NotifyKit support: `sdk.notifykit.publish(request=...)` and the
18
+ explicit-token `NotifyKitClient` (`sdk.notifyKit`) for
19
+ `POST /notifykit/notifications`, with `NotifyKitEvent`, `NotifyKitNotification`,
20
+ `NotifyKitPublishResult` and `NotifyKitLevel` type declarations. Invalid events
21
+ and rate limits (`retryAfterSeconds`) surface as `ApiError`.
22
+ - Fixed a query string already present in a request path being dropped when no
23
+ `query` argument was given.
24
+ - Added ModelKit decision inference: task `"decision"`, modality `"decisions"`
25
+ and `sdk.modelkit.decision.create(...)` (`POST /modelkit/decision`), plus the
26
+ `DecisionRequest`, `DecisionQuestion`, `DecisionResponse`, `DecisionAnswer` and
27
+ `DecisionUsage` type declarations.
28
+ - Added app model registration: `list_app_models`, `register_app_model`,
29
+ `update_app_model`, `unregister_app_model` and `toggle_app_model` for
30
+ `/modelkit/app-models` (with camelCase aliases). Write calls reuse the app token
31
+ from `register_bundle` and refresh it once on `401`. `ModelKitClient` exposes
32
+ the same methods with an explicit `bearer_token` argument.
33
+ - Model info now reports `isAppModel` and `appBundleId` for models registered
34
+ by apps, and `AppModel*` type declarations were added.
35
+ - Fixed models with `decisions` output being reported as `text` output.
36
+
37
+ ## 1.0.0 - 2026-09-01
38
+
39
+ - Updated AgentKit for the LiteAgent SDK 0.4 gateway contract.
40
+ - Added support and coverage for recursively nested inline agents through
41
+ `Capability.subAgentList`.
42
+ - **Breaking:** Removed the AgentKit agent CRUD methods because the corresponding
43
+ gateway routes no longer exist.
44
+ - **Breaking:** `init_session` now requires a Capability request body and no
45
+ longer accepts the removed `agent_id` argument.
46
+ - Removed the obsolete `agentId` field from AgentKit message type declarations.
47
+
48
+ ## 0.2.0 - 2026-07-17
49
+
50
+ - **Breaking:** Updated OpenTool server identities to daemon 0.5
51
+ `namespace` / `name` / `version` fields.
52
+ - Added public `ToolContentState` and `ToolLifecycleEventDto` types.
53
+ - Added `materializedArtifactDigest` and `contentState` ToolKit metadata.
54
+ - Added OpenTool server declarations, registration statuses, and AppKit provisioning/availability events.
55
+ - Added paginated AgentKit history, summary history, and process history APIs.
56
+ - Added child-session routing and structured function-call lifecycle errors.
57
+ - Added ToolKit server metadata types and hardened SSE parsing.
58
+ - Added automatic app registration Bearer authentication to ToolKit list and load requests.
59
+ - Added one-time app token refresh and retry for ToolKit requests that return 401 or 403.
60
+ - Added `sdk.toolkit.call()` for non-streaming tool function calls.
61
+ - Added `sdk.toolkit.stream_call()` / `streamCall()` with typed stream events and safe
62
+ response closure after normal completion, errors, cancellation, or explicit early close.
63
+ - **Breaking:** Replaced `AgentOSEventHandler.on_call_app` / `onCallApp` with `on_app_event` / `onAppEvent`.
64
+
65
+ ## 0.1.0 - 2026-06-12
66
+
67
+ - Initial public release of the AgentOS Python SDK.
68
+ - Added async clients for AgentOS, AgentKit, CronKit, ModelKit, and ToolKit APIs.
69
+ - Added facade helpers for bearer token reuse, token refresh retry, stream callbacks, and TS-style alias compatibility.