glaip-sdk 0.6.26__py3-none-any.whl → 0.7.1__py3-none-any.whl
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.
- glaip_sdk/cli/commands/mcps/__init__.py +0 -4
- glaip_sdk/cli/commands/mcps/_common.py +11 -42
- glaip_sdk/cli/commands/mcps/create.py +8 -9
- glaip_sdk/cli/commands/mcps/update.py +56 -12
- glaip_sdk/cli/commands/tools/create.py +2 -2
- glaip_sdk/cli/slash/accounts_controller.py +3 -1
- glaip_sdk/cli/slash/session.py +19 -0
- glaip_sdk/cli/slash/tui/__init__.py +26 -1
- glaip_sdk/cli/slash/tui/accounts.tcss +7 -5
- glaip_sdk/cli/slash/tui/accounts_app.py +66 -9
- glaip_sdk/cli/slash/tui/clipboard.py +147 -0
- glaip_sdk/cli/slash/tui/context.py +59 -0
- glaip_sdk/cli/slash/tui/keybind_registry.py +235 -0
- glaip_sdk/cli/slash/tui/terminal.py +402 -0
- glaip_sdk/cli/slash/tui/theme/__init__.py +15 -0
- glaip_sdk/cli/slash/tui/theme/catalog.py +79 -0
- glaip_sdk/cli/slash/tui/theme/manager.py +86 -0
- glaip_sdk/cli/slash/tui/theme/tokens.py +55 -0
- glaip_sdk/cli/slash/tui/toast.py +123 -0
- glaip_sdk/client/tools.py +14 -20
- glaip_sdk/registry/tool.py +193 -81
- {glaip_sdk-0.6.26.dist-info → glaip_sdk-0.7.1.dist-info}/METADATA +2 -2
- {glaip_sdk-0.6.26.dist-info → glaip_sdk-0.7.1.dist-info}/RECORD +26 -18
- glaip_sdk/client/_agent_payloads.py +0 -52
- {glaip_sdk-0.6.26.dist-info → glaip_sdk-0.7.1.dist-info}/WHEEL +0 -0
- {glaip_sdk-0.6.26.dist-info → glaip_sdk-0.7.1.dist-info}/entry_points.txt +0 -0
- {glaip_sdk-0.6.26.dist-info → glaip_sdk-0.7.1.dist-info}/top_level.txt +0 -0
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"""Backward-compatible shim for agent payloads.
|
|
2
|
-
|
|
3
|
-
This module provides backward compatibility for imports from glaip_sdk.client._agent_payloads.
|
|
4
|
-
New code should import from glaip_sdk.client.payloads.agent package directly.
|
|
5
|
-
|
|
6
|
-
This file contains code that is duplicated in glaip_sdk.client.payloads.agent.__init__
|
|
7
|
-
for backward compatibility. The duplication is intentional.
|
|
8
|
-
|
|
9
|
-
Authors:
|
|
10
|
-
Raymond Christopher (raymond.christopher@gdplabs.id)
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
# pylint: disable=duplicate-code
|
|
14
|
-
import warnings
|
|
15
|
-
|
|
16
|
-
_warned = False
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
def _warn_deprecated_import() -> None:
|
|
20
|
-
"""Emit deprecation warning for importing from _agent_payloads.py shim."""
|
|
21
|
-
global _warned
|
|
22
|
-
if not _warned:
|
|
23
|
-
warnings.warn(
|
|
24
|
-
"Importing from glaip_sdk.client._agent_payloads is deprecated. "
|
|
25
|
-
"Import from glaip_sdk.client.payloads.agent package directly instead.",
|
|
26
|
-
DeprecationWarning,
|
|
27
|
-
stacklevel=3,
|
|
28
|
-
)
|
|
29
|
-
_warned = True
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
# Import from new package structure
|
|
33
|
-
from glaip_sdk.client.payloads.agent import ( # noqa: E402
|
|
34
|
-
AgentCreateRequest,
|
|
35
|
-
AgentListParams,
|
|
36
|
-
AgentListResult,
|
|
37
|
-
AgentUpdateRequest,
|
|
38
|
-
merge_payload_fields,
|
|
39
|
-
resolve_language_model_fields,
|
|
40
|
-
)
|
|
41
|
-
|
|
42
|
-
_warn_deprecated_import()
|
|
43
|
-
|
|
44
|
-
# Re-export everything
|
|
45
|
-
__all__ = [
|
|
46
|
-
"AgentCreateRequest",
|
|
47
|
-
"AgentListParams",
|
|
48
|
-
"AgentListResult",
|
|
49
|
-
"AgentUpdateRequest",
|
|
50
|
-
"merge_payload_fields",
|
|
51
|
-
"resolve_language_model_fields",
|
|
52
|
-
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|