glaip-sdk 0.0.2__py3-none-any.whl → 0.0.4__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/__init__.py +2 -2
- glaip_sdk/_version.py +51 -0
- glaip_sdk/branding.py +145 -0
- glaip_sdk/cli/commands/agents.py +876 -166
- glaip_sdk/cli/commands/configure.py +46 -104
- glaip_sdk/cli/commands/init.py +43 -118
- glaip_sdk/cli/commands/mcps.py +86 -161
- glaip_sdk/cli/commands/tools.py +196 -57
- glaip_sdk/cli/main.py +43 -29
- glaip_sdk/cli/utils.py +258 -27
- glaip_sdk/client/__init__.py +54 -2
- glaip_sdk/client/agents.py +196 -237
- glaip_sdk/client/base.py +62 -2
- glaip_sdk/client/mcps.py +63 -20
- glaip_sdk/client/tools.py +236 -81
- glaip_sdk/config/constants.py +10 -3
- glaip_sdk/exceptions.py +13 -0
- glaip_sdk/models.py +21 -5
- glaip_sdk/utils/__init__.py +116 -18
- glaip_sdk/utils/client_utils.py +284 -0
- glaip_sdk/utils/rendering/__init__.py +1 -0
- glaip_sdk/utils/rendering/formatting.py +211 -0
- glaip_sdk/utils/rendering/models.py +53 -0
- glaip_sdk/utils/rendering/renderer/__init__.py +38 -0
- glaip_sdk/utils/rendering/renderer/base.py +827 -0
- glaip_sdk/utils/rendering/renderer/config.py +33 -0
- glaip_sdk/utils/rendering/renderer/console.py +54 -0
- glaip_sdk/utils/rendering/renderer/debug.py +82 -0
- glaip_sdk/utils/rendering/renderer/panels.py +123 -0
- glaip_sdk/utils/rendering/renderer/progress.py +118 -0
- glaip_sdk/utils/rendering/renderer/stream.py +198 -0
- glaip_sdk/utils/rendering/steps.py +168 -0
- glaip_sdk/utils/run_renderer.py +22 -1086
- {glaip_sdk-0.0.2.dist-info → glaip_sdk-0.0.4.dist-info}/METADATA +8 -36
- glaip_sdk-0.0.4.dist-info/RECORD +41 -0
- glaip_sdk/cli/config.py +0 -592
- glaip_sdk/utils.py +0 -167
- glaip_sdk-0.0.2.dist-info/RECORD +0 -28
- {glaip_sdk-0.0.2.dist-info → glaip_sdk-0.0.4.dist-info}/WHEEL +0 -0
- {glaip_sdk-0.0.2.dist-info → glaip_sdk-0.0.4.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"""Renderer package for modular streaming output.
|
|
2
|
+
|
|
3
|
+
This package provides modular components for rendering agent execution streams,
|
|
4
|
+
with clean separation of concerns between configuration, console handling,
|
|
5
|
+
debug output, panel rendering, progress tracking, and event routing.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from .base import RichStreamRenderer
|
|
9
|
+
from .config import RendererConfig
|
|
10
|
+
from .console import CapturingConsole
|
|
11
|
+
from .debug import render_debug_event
|
|
12
|
+
from .panels import (
|
|
13
|
+
create_context_panel,
|
|
14
|
+
create_final_panel,
|
|
15
|
+
create_main_panel,
|
|
16
|
+
create_tool_panel,
|
|
17
|
+
)
|
|
18
|
+
from .progress import (
|
|
19
|
+
format_tool_title,
|
|
20
|
+
is_delegation_tool,
|
|
21
|
+
)
|
|
22
|
+
from .stream import StreamProcessor
|
|
23
|
+
|
|
24
|
+
__all__ = [
|
|
25
|
+
# Main classes
|
|
26
|
+
"RichStreamRenderer",
|
|
27
|
+
"RendererConfig",
|
|
28
|
+
"CapturingConsole",
|
|
29
|
+
"StreamProcessor",
|
|
30
|
+
# Key functions
|
|
31
|
+
"render_debug_event",
|
|
32
|
+
"create_main_panel",
|
|
33
|
+
"create_tool_panel",
|
|
34
|
+
"create_context_panel",
|
|
35
|
+
"create_final_panel",
|
|
36
|
+
"format_tool_title",
|
|
37
|
+
"is_delegation_tool",
|
|
38
|
+
]
|