applied-cli 0.5.45__tar.gz → 0.5.46__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.
- {applied_cli-0.5.45 → applied_cli-0.5.46}/PKG-INFO +17 -7
- {applied_cli-0.5.45 → applied_cli-0.5.46}/README.md +16 -6
- {applied_cli-0.5.45 → applied_cli-0.5.46}/applied_cli/__init__.py +1 -1
- applied_cli-0.5.46/applied_cli/cli.py +1221 -0
- {applied_cli-0.5.45 → applied_cli-0.5.46}/applied_cli/client.py +109 -28
- applied_cli-0.5.46/applied_cli/conversation_lookup.py +212 -0
- applied_cli-0.5.46/applied_cli/conversations.py +278 -0
- applied_cli-0.5.46/applied_cli/flow_helpers.py +308 -0
- {applied_cli-0.5.45 → applied_cli-0.5.46}/applied_cli/formatters.py +3 -0
- {applied_cli-0.5.45 → applied_cli-0.5.46}/applied_cli/tools.py +1315 -156
- {applied_cli-0.5.45 → applied_cli-0.5.46}/applied_cli.egg-info/PKG-INFO +17 -7
- {applied_cli-0.5.45 → applied_cli-0.5.46}/applied_cli.egg-info/SOURCES.txt +8 -1
- {applied_cli-0.5.45 → applied_cli-0.5.46}/pyproject.toml +1 -1
- applied_cli-0.5.46/tests/test_benchmark_scenario_tools.py +356 -0
- applied_cli-0.5.46/tests/test_client.py +88 -0
- applied_cli-0.5.46/tests/test_conversation_tools.py +353 -0
- applied_cli-0.5.46/tests/test_flow_tools.py +290 -0
- applied_cli-0.5.45/applied_cli/cli.py +0 -594
- {applied_cli-0.5.45 → applied_cli-0.5.46}/applied_cli/credentials.py +0 -0
- {applied_cli-0.5.45 → applied_cli-0.5.46}/applied_cli.egg-info/dependency_links.txt +0 -0
- {applied_cli-0.5.45 → applied_cli-0.5.46}/applied_cli.egg-info/entry_points.txt +0 -0
- {applied_cli-0.5.45 → applied_cli-0.5.46}/applied_cli.egg-info/requires.txt +0 -0
- {applied_cli-0.5.45 → applied_cli-0.5.46}/applied_cli.egg-info/top_level.txt +0 -0
- {applied_cli-0.5.45 → applied_cli-0.5.46}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: applied-cli
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.46
|
|
4
4
|
Summary: CLI and shared client library for Applied Labs AI support agents
|
|
5
5
|
Author: Applied Labs
|
|
6
6
|
License-Expression: MIT
|
|
@@ -43,9 +43,10 @@ applied login
|
|
|
43
43
|
applied agents
|
|
44
44
|
applied agents --format json
|
|
45
45
|
|
|
46
|
-
#
|
|
47
|
-
applied
|
|
48
|
-
applied
|
|
46
|
+
# Find and inspect conversations
|
|
47
|
+
applied conversation-find --query "refund" --limit 5
|
|
48
|
+
applied conversations --resolution escalated --view detail --limit 10
|
|
49
|
+
applied conversation <id> --messages --format json
|
|
49
50
|
|
|
50
51
|
# Query tickets
|
|
51
52
|
applied tickets --status open
|
|
@@ -71,7 +72,7 @@ agents = await tools.agent_list(client, output_format="csv")
|
|
|
71
72
|
conversations = await tools.conversation_query(
|
|
72
73
|
client,
|
|
73
74
|
filters={"resolution": "escalated"},
|
|
74
|
-
|
|
75
|
+
view="search",
|
|
75
76
|
limit=20,
|
|
76
77
|
)
|
|
77
78
|
```
|
|
@@ -81,6 +82,7 @@ conversations = await tools.conversation_query(
|
|
|
81
82
|
| Tool | Description |
|
|
82
83
|
|------|-------------|
|
|
83
84
|
| `agent_list` | List all AI agents |
|
|
85
|
+
| `conversation_find` | Find conversations with compact agent-friendly fields |
|
|
84
86
|
| `conversation_get` | Get single conversation with messages |
|
|
85
87
|
| `conversation_query` | Search/filter conversations |
|
|
86
88
|
| `ticket_query` | Search/filter tickets |
|
|
@@ -91,11 +93,18 @@ conversations = await tools.conversation_query(
|
|
|
91
93
|
## Examples
|
|
92
94
|
|
|
93
95
|
```python
|
|
96
|
+
# Find conversations using the default compact search view
|
|
97
|
+
await tools.conversation_find(
|
|
98
|
+
client,
|
|
99
|
+
query="refund",
|
|
100
|
+
output_format="csv"
|
|
101
|
+
)
|
|
102
|
+
|
|
94
103
|
# Find escalated conversations
|
|
95
104
|
await tools.conversation_query(
|
|
96
105
|
client,
|
|
97
106
|
filters={"resolution": "escalated"},
|
|
98
|
-
|
|
107
|
+
view="detail",
|
|
99
108
|
output_format="csv"
|
|
100
109
|
)
|
|
101
110
|
|
|
@@ -104,7 +113,8 @@ await tools.conversation_get(
|
|
|
104
113
|
client,
|
|
105
114
|
conversation_id="abc-123",
|
|
106
115
|
include_messages=True,
|
|
107
|
-
message_limit=50
|
|
116
|
+
message_limit=50,
|
|
117
|
+
output_format="json"
|
|
108
118
|
)
|
|
109
119
|
|
|
110
120
|
# Search knowledge base
|
|
@@ -18,9 +18,10 @@ applied login
|
|
|
18
18
|
applied agents
|
|
19
19
|
applied agents --format json
|
|
20
20
|
|
|
21
|
-
#
|
|
22
|
-
applied
|
|
23
|
-
applied
|
|
21
|
+
# Find and inspect conversations
|
|
22
|
+
applied conversation-find --query "refund" --limit 5
|
|
23
|
+
applied conversations --resolution escalated --view detail --limit 10
|
|
24
|
+
applied conversation <id> --messages --format json
|
|
24
25
|
|
|
25
26
|
# Query tickets
|
|
26
27
|
applied tickets --status open
|
|
@@ -46,7 +47,7 @@ agents = await tools.agent_list(client, output_format="csv")
|
|
|
46
47
|
conversations = await tools.conversation_query(
|
|
47
48
|
client,
|
|
48
49
|
filters={"resolution": "escalated"},
|
|
49
|
-
|
|
50
|
+
view="search",
|
|
50
51
|
limit=20,
|
|
51
52
|
)
|
|
52
53
|
```
|
|
@@ -56,6 +57,7 @@ conversations = await tools.conversation_query(
|
|
|
56
57
|
| Tool | Description |
|
|
57
58
|
|------|-------------|
|
|
58
59
|
| `agent_list` | List all AI agents |
|
|
60
|
+
| `conversation_find` | Find conversations with compact agent-friendly fields |
|
|
59
61
|
| `conversation_get` | Get single conversation with messages |
|
|
60
62
|
| `conversation_query` | Search/filter conversations |
|
|
61
63
|
| `ticket_query` | Search/filter tickets |
|
|
@@ -66,11 +68,18 @@ conversations = await tools.conversation_query(
|
|
|
66
68
|
## Examples
|
|
67
69
|
|
|
68
70
|
```python
|
|
71
|
+
# Find conversations using the default compact search view
|
|
72
|
+
await tools.conversation_find(
|
|
73
|
+
client,
|
|
74
|
+
query="refund",
|
|
75
|
+
output_format="csv"
|
|
76
|
+
)
|
|
77
|
+
|
|
69
78
|
# Find escalated conversations
|
|
70
79
|
await tools.conversation_query(
|
|
71
80
|
client,
|
|
72
81
|
filters={"resolution": "escalated"},
|
|
73
|
-
|
|
82
|
+
view="detail",
|
|
74
83
|
output_format="csv"
|
|
75
84
|
)
|
|
76
85
|
|
|
@@ -79,7 +88,8 @@ await tools.conversation_get(
|
|
|
79
88
|
client,
|
|
80
89
|
conversation_id="abc-123",
|
|
81
90
|
include_messages=True,
|
|
82
|
-
message_limit=50
|
|
91
|
+
message_limit=50,
|
|
92
|
+
output_format="json"
|
|
83
93
|
)
|
|
84
94
|
|
|
85
95
|
# Search knowledge base
|