jvcli 2.0.17__tar.gz → 2.0.18__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.
- {jvcli-2.0.17/jvcli.egg-info → jvcli-2.0.18}/PKG-INFO +1 -1
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/__init__.py +1 -1
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/client/lib/utils.py +9 -9
- {jvcli-2.0.17 → jvcli-2.0.18/jvcli.egg-info}/PKG-INFO +1 -1
- {jvcli-2.0.17 → jvcli-2.0.18}/LICENSE +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/MANIFEST.in +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/README.md +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/api.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/auth.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/cli.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/client/__init__.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/client/app.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/client/lib/__init__.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/client/lib/page.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/client/lib/widgets.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/client/pages/__init__.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/client/pages/action_dashboard_page.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/client/pages/analytics_page.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/client/pages/chat_page.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/client/pages/graph_page.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/commands/__init__.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/commands/auth.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/commands/client.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/commands/create.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/commands/download.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/commands/info.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/commands/publish.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/commands/startproject.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/commands/studio.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/commands/update.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/studio/assets/index-DDV79SDu.js +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/studio/assets/index-DdMMONxd.css +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/studio/index.html +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/studio/jac_logo.png +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/studio/tauri.svg +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/studio/vite.svg +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/studio-auth/assets/index-Bh6lyeXA.js +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/studio-auth/assets/index-DdMMONxd.css +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/studio-auth/index.html +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/studio-auth/jac_logo.png +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/studio-auth/tauri.svg +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/studio-auth/vite.svg +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/action_info.yaml +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/agent_descriptor.yaml +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/agent_info.yaml +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/agent_knowledge.yaml +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/agent_memory.yaml +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/README.md +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/actions/README.md +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/daf/README.md +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/env.example +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/gitignore.example +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/globals.jac +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/main.jac +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/sh/exportenv.sh +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/sh/importagent.sh +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/sh/initagents.sh +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/sh/inituser.sh +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/sh/jacclean.sh +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/sh/serve.sh +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/sh/startclient.sh +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/2.0.0/project/tests/README.md +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/CHANGELOG.md +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/templates/README.md +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli/utils.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli.egg-info/SOURCES.txt +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli.egg-info/dependency_links.txt +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli.egg-info/entry_points.txt +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli.egg-info/requires.txt +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/jvcli.egg-info/top_level.txt +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/setup.cfg +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/setup.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/tests/test_api.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/tests/test_auth.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/tests/test_cli.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/tests/test_create.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/tests/test_download.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/tests/test_info.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/tests/test_publish.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/tests/test_render_basic.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/tests/test_startproject.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/tests/test_studio.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/tests/test_update.py +0 -0
- {jvcli-2.0.17 → jvcli-2.0.18}/tests/test_utils.py +0 -0
@@ -118,7 +118,7 @@ def call_action_walker_exec(
|
|
118
118
|
|
119
119
|
response = call_api(endpoint, headers=headers, data=data, files=file_list)
|
120
120
|
|
121
|
-
if response and response.status_code == 200:
|
121
|
+
if response is not None and response.status_code == 200:
|
122
122
|
result = response.json()
|
123
123
|
return result if result else []
|
124
124
|
|
@@ -131,7 +131,7 @@ def call_healthcheck(agent_id: str, headers: Optional[Dict] = None) -> Optional[
|
|
131
131
|
json_data = {"agent_id": agent_id}
|
132
132
|
response = call_api(endpoint, headers=headers, json_data=json_data)
|
133
133
|
|
134
|
-
if response and response.status_code in [200, 501, 503]:
|
134
|
+
if response is not None and response.status_code in [200, 501, 503]:
|
135
135
|
result = response.json()
|
136
136
|
reports = result.get("reports", [])
|
137
137
|
return reports[0] if reports else {}
|
@@ -145,7 +145,7 @@ def call_list_agents(headers: Optional[Dict] = None) -> list:
|
|
145
145
|
json_data = {"reporting": True}
|
146
146
|
response = call_api(endpoint, headers=headers, json_data=json_data)
|
147
147
|
|
148
|
-
if response and response.status_code == 200:
|
148
|
+
if response is not None and response.status_code == 200:
|
149
149
|
result = response.json()
|
150
150
|
reports = result.get("reports", [])
|
151
151
|
return [
|
@@ -162,7 +162,7 @@ def call_get_agent(agent_id: str, headers: Optional[Dict] = None) -> dict:
|
|
162
162
|
json_data = {"agent_id": agent_id}
|
163
163
|
response = call_api(endpoint, headers=headers, json_data=json_data)
|
164
164
|
|
165
|
-
if response and response.status_code == 200:
|
165
|
+
if response is not None and response.status_code == 200:
|
166
166
|
result = response.json()
|
167
167
|
reports = result.get("reports", [])
|
168
168
|
return reports[0] if reports else {}
|
@@ -176,7 +176,7 @@ def call_list_actions(agent_id: str, headers: Optional[Dict] = None) -> list:
|
|
176
176
|
json_data = {"agent_id": agent_id}
|
177
177
|
response = call_api(endpoint, headers=headers, json_data=json_data)
|
178
178
|
|
179
|
-
if response and response.status_code == 200:
|
179
|
+
if response is not None and response.status_code == 200:
|
180
180
|
result = response.json()
|
181
181
|
reports = result.get("reports", [])
|
182
182
|
return reports[0] if reports else []
|
@@ -192,7 +192,7 @@ def call_get_action(
|
|
192
192
|
json_data = {"agent_id": agent_id, "action_id": action_id}
|
193
193
|
response = call_api(endpoint, headers=headers, json_data=json_data)
|
194
194
|
|
195
|
-
if response and response.status_code == 200:
|
195
|
+
if response is not None and response.status_code == 200:
|
196
196
|
result = response.json()
|
197
197
|
reports = result.get("reports", [])
|
198
198
|
return reports[0] if reports else {}
|
@@ -212,7 +212,7 @@ def call_update_action(
|
|
212
212
|
}
|
213
213
|
response = call_api(endpoint, headers=headers, json_data=json_data)
|
214
214
|
|
215
|
-
if response and response.status_code == 200:
|
215
|
+
if response is not None and response.status_code == 200:
|
216
216
|
result = response.json()
|
217
217
|
reports = result.get("reports", [])
|
218
218
|
return reports[0] if reports else {}
|
@@ -228,7 +228,7 @@ def call_update_agent(
|
|
228
228
|
json_data = {"agent_id": agent_id, "agent_data": agent_data}
|
229
229
|
response = call_api(endpoint, headers=headers, json_data=json_data)
|
230
230
|
|
231
|
-
if response and response.status_code == 200:
|
231
|
+
if response is not None and response.status_code == 200:
|
232
232
|
result = response.json()
|
233
233
|
reports = result.get("reports", [])
|
234
234
|
return reports[0] if reports else {}
|
@@ -242,7 +242,7 @@ def call_import_agent(descriptor: str, headers: Optional[Dict] = None) -> list:
|
|
242
242
|
json_data = {"descriptor": descriptor}
|
243
243
|
response = call_api(endpoint, headers=headers, json_data=json_data)
|
244
244
|
|
245
|
-
if response and response.status_code == 200:
|
245
|
+
if response is not None and response.status_code == 200:
|
246
246
|
result = response.json()
|
247
247
|
reports = result.get("reports", [])
|
248
248
|
return reports[0] if reports else []
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|