jvcli 2.1.6__tar.gz → 2.1.8__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.1.6/jvcli.egg-info → jvcli-2.1.8}/PKG-INFO +1 -1
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/commands/server.py +12 -3
- {jvcli-2.1.6 → jvcli-2.1.8/jvcli.egg-info}/PKG-INFO +1 -1
- jvcli-2.1.8/jvcli.egg-info/SOURCES.txt +56 -0
- jvcli-2.1.6/jvcli.egg-info/SOURCES.txt +0 -56
- {jvcli-2.1.6 → jvcli-2.1.8}/LICENSE +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/MANIFEST.in +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/README.md +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/__init__.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/api.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/auth.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/cli.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/commands/__init__.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/commands/auth.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/commands/client.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/commands/create.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/commands/download.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/commands/info.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/commands/publish.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/commands/startproject.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/commands/update.py +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/project/README.md +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/project/actions/README.md +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/project/daf/README.md +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/project/env.example +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/project/gitignore.example +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/project/globals.jac +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/project/main.jac +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/project/tests/README.md +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/CHANGELOG.md +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/README.md +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/action_app.py +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/action_archetype.jac +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/action_info.yaml +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/action_lib.jac +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/agent_descriptor.yaml +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/agent_info.yaml +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/agent_knowledge.yaml +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/agent_memory.yaml +0 -0
- {jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/interact_action_archetype.jac +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli/utils.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli.egg-info/dependency_links.txt +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli.egg-info/entry_points.txt +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli.egg-info/requires.txt +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/jvcli.egg-info/top_level.txt +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/setup.cfg +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/setup.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/tests/test_api.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/tests/test_auth.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/tests/test_cli.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/tests/test_client.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/tests/test_create.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/tests/test_download.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/tests/test_info.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/tests/test_publish.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/tests/test_server.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/tests/test_startproject.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/tests/test_update.py +0 -0
- {jvcli-2.1.6 → jvcli-2.1.8}/tests/test_utils.py +0 -0
@@ -202,13 +202,19 @@ def initagents() -> None:
|
|
202
202
|
@server.command()
|
203
203
|
@click.argument("agent_name")
|
204
204
|
@click.argument("version", required=False)
|
205
|
-
@click.option(
|
206
|
-
|
205
|
+
@click.option(
|
206
|
+
"--reload", is_flag=True, default=False, help="Reload agent after import."
|
207
|
+
)
|
208
|
+
@click.option("--jpr-api-key", default="", help="JPR API key for authentication.")
|
209
|
+
def importagent(agent_name: str, version: str, reload: bool, jpr_api_key: str) -> None:
|
207
210
|
"""
|
208
211
|
Import an agent from a DAF package.
|
209
212
|
|
210
213
|
Usage:
|
211
|
-
jvcli server importagent <agent_name> [
|
214
|
+
jvcli server importagent <agent_name> [version] [--reload/--no-reload] [--jpr-api-key <key>]
|
215
|
+
|
216
|
+
Example:
|
217
|
+
jvcli server importagent jivas/my_agent 1.2.3 --reload --jpr-api-key ABC123XYZ
|
212
218
|
"""
|
213
219
|
|
214
220
|
# Check if server is running
|
@@ -233,6 +239,9 @@ def importagent(agent_name: str, version: str, jpr_api_key: str) -> None:
|
|
233
239
|
"daf_version": version,
|
234
240
|
}
|
235
241
|
|
242
|
+
if reload:
|
243
|
+
data["reload_after"] = "true"
|
244
|
+
|
236
245
|
if jpr_api_key:
|
237
246
|
data["jpr_api_key"] = jpr_api_key
|
238
247
|
|
@@ -0,0 +1,56 @@
|
|
1
|
+
LICENSE
|
2
|
+
MANIFEST.in
|
3
|
+
README.md
|
4
|
+
setup.py
|
5
|
+
jvcli/__init__.py
|
6
|
+
jvcli/api.py
|
7
|
+
jvcli/auth.py
|
8
|
+
jvcli/cli.py
|
9
|
+
jvcli/utils.py
|
10
|
+
jvcli.egg-info/PKG-INFO
|
11
|
+
jvcli.egg-info/SOURCES.txt
|
12
|
+
jvcli.egg-info/dependency_links.txt
|
13
|
+
jvcli.egg-info/entry_points.txt
|
14
|
+
jvcli.egg-info/requires.txt
|
15
|
+
jvcli.egg-info/top_level.txt
|
16
|
+
jvcli/commands/__init__.py
|
17
|
+
jvcli/commands/auth.py
|
18
|
+
jvcli/commands/client.py
|
19
|
+
jvcli/commands/create.py
|
20
|
+
jvcli/commands/download.py
|
21
|
+
jvcli/commands/info.py
|
22
|
+
jvcli/commands/publish.py
|
23
|
+
jvcli/commands/server.py
|
24
|
+
jvcli/commands/startproject.py
|
25
|
+
jvcli/commands/update.py
|
26
|
+
jvcli/templates/2.1.8/project/README.md
|
27
|
+
jvcli/templates/2.1.8/project/env.example
|
28
|
+
jvcli/templates/2.1.8/project/gitignore.example
|
29
|
+
jvcli/templates/2.1.8/project/globals.jac
|
30
|
+
jvcli/templates/2.1.8/project/main.jac
|
31
|
+
jvcli/templates/2.1.8/project/actions/README.md
|
32
|
+
jvcli/templates/2.1.8/project/daf/README.md
|
33
|
+
jvcli/templates/2.1.8/project/tests/README.md
|
34
|
+
jvcli/templates/2.1.8/sourcefiles/CHANGELOG.md
|
35
|
+
jvcli/templates/2.1.8/sourcefiles/README.md
|
36
|
+
jvcli/templates/2.1.8/sourcefiles/action_app.py
|
37
|
+
jvcli/templates/2.1.8/sourcefiles/action_archetype.jac
|
38
|
+
jvcli/templates/2.1.8/sourcefiles/action_info.yaml
|
39
|
+
jvcli/templates/2.1.8/sourcefiles/action_lib.jac
|
40
|
+
jvcli/templates/2.1.8/sourcefiles/agent_descriptor.yaml
|
41
|
+
jvcli/templates/2.1.8/sourcefiles/agent_info.yaml
|
42
|
+
jvcli/templates/2.1.8/sourcefiles/agent_knowledge.yaml
|
43
|
+
jvcli/templates/2.1.8/sourcefiles/agent_memory.yaml
|
44
|
+
jvcli/templates/2.1.8/sourcefiles/interact_action_archetype.jac
|
45
|
+
tests/test_api.py
|
46
|
+
tests/test_auth.py
|
47
|
+
tests/test_cli.py
|
48
|
+
tests/test_client.py
|
49
|
+
tests/test_create.py
|
50
|
+
tests/test_download.py
|
51
|
+
tests/test_info.py
|
52
|
+
tests/test_publish.py
|
53
|
+
tests/test_server.py
|
54
|
+
tests/test_startproject.py
|
55
|
+
tests/test_update.py
|
56
|
+
tests/test_utils.py
|
@@ -1,56 +0,0 @@
|
|
1
|
-
LICENSE
|
2
|
-
MANIFEST.in
|
3
|
-
README.md
|
4
|
-
setup.py
|
5
|
-
jvcli/__init__.py
|
6
|
-
jvcli/api.py
|
7
|
-
jvcli/auth.py
|
8
|
-
jvcli/cli.py
|
9
|
-
jvcli/utils.py
|
10
|
-
jvcli.egg-info/PKG-INFO
|
11
|
-
jvcli.egg-info/SOURCES.txt
|
12
|
-
jvcli.egg-info/dependency_links.txt
|
13
|
-
jvcli.egg-info/entry_points.txt
|
14
|
-
jvcli.egg-info/requires.txt
|
15
|
-
jvcli.egg-info/top_level.txt
|
16
|
-
jvcli/commands/__init__.py
|
17
|
-
jvcli/commands/auth.py
|
18
|
-
jvcli/commands/client.py
|
19
|
-
jvcli/commands/create.py
|
20
|
-
jvcli/commands/download.py
|
21
|
-
jvcli/commands/info.py
|
22
|
-
jvcli/commands/publish.py
|
23
|
-
jvcli/commands/server.py
|
24
|
-
jvcli/commands/startproject.py
|
25
|
-
jvcli/commands/update.py
|
26
|
-
jvcli/templates/2.1.6/project/README.md
|
27
|
-
jvcli/templates/2.1.6/project/env.example
|
28
|
-
jvcli/templates/2.1.6/project/gitignore.example
|
29
|
-
jvcli/templates/2.1.6/project/globals.jac
|
30
|
-
jvcli/templates/2.1.6/project/main.jac
|
31
|
-
jvcli/templates/2.1.6/project/actions/README.md
|
32
|
-
jvcli/templates/2.1.6/project/daf/README.md
|
33
|
-
jvcli/templates/2.1.6/project/tests/README.md
|
34
|
-
jvcli/templates/2.1.6/sourcefiles/CHANGELOG.md
|
35
|
-
jvcli/templates/2.1.6/sourcefiles/README.md
|
36
|
-
jvcli/templates/2.1.6/sourcefiles/action_app.py
|
37
|
-
jvcli/templates/2.1.6/sourcefiles/action_archetype.jac
|
38
|
-
jvcli/templates/2.1.6/sourcefiles/action_info.yaml
|
39
|
-
jvcli/templates/2.1.6/sourcefiles/action_lib.jac
|
40
|
-
jvcli/templates/2.1.6/sourcefiles/agent_descriptor.yaml
|
41
|
-
jvcli/templates/2.1.6/sourcefiles/agent_info.yaml
|
42
|
-
jvcli/templates/2.1.6/sourcefiles/agent_knowledge.yaml
|
43
|
-
jvcli/templates/2.1.6/sourcefiles/agent_memory.yaml
|
44
|
-
jvcli/templates/2.1.6/sourcefiles/interact_action_archetype.jac
|
45
|
-
tests/test_api.py
|
46
|
-
tests/test_auth.py
|
47
|
-
tests/test_cli.py
|
48
|
-
tests/test_client.py
|
49
|
-
tests/test_create.py
|
50
|
-
tests/test_download.py
|
51
|
-
tests/test_info.py
|
52
|
-
tests/test_publish.py
|
53
|
-
tests/test_server.py
|
54
|
-
tests/test_startproject.py
|
55
|
-
tests/test_update.py
|
56
|
-
tests/test_utils.py
|
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
|
{jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/project/actions/README.md
RENAMED
File without changes
|
{jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/project/daf/README.md
RENAMED
File without changes
|
File without changes
|
{jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/project/gitignore.example
RENAMED
File without changes
|
File without changes
|
File without changes
|
{jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/project/tests/README.md
RENAMED
File without changes
|
{jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/CHANGELOG.md
RENAMED
File without changes
|
{jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/README.md
RENAMED
File without changes
|
{jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/action_app.py
RENAMED
File without changes
|
File without changes
|
{jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/action_info.yaml
RENAMED
File without changes
|
{jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/action_lib.jac
RENAMED
File without changes
|
File without changes
|
{jvcli-2.1.6/jvcli/templates/2.1.6 → jvcli-2.1.8/jvcli/templates/2.1.8}/sourcefiles/agent_info.yaml
RENAMED
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
|