jvcli 2.1.7__py3-none-any.whl → 2.1.9__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.
Files changed (26) hide show
  1. jvcli/commands/server.py +12 -3
  2. jvcli/templates/{2.1.7 → 2.1.9}/project/env.example +2 -1
  3. {jvcli-2.1.7.dist-info → jvcli-2.1.9.dist-info}/METADATA +1 -1
  4. {jvcli-2.1.7.dist-info → jvcli-2.1.9.dist-info}/RECORD +26 -26
  5. /jvcli/templates/{2.1.7 → 2.1.9}/project/README.md +0 -0
  6. /jvcli/templates/{2.1.7 → 2.1.9}/project/actions/README.md +0 -0
  7. /jvcli/templates/{2.1.7 → 2.1.9}/project/daf/README.md +0 -0
  8. /jvcli/templates/{2.1.7 → 2.1.9}/project/gitignore.example +0 -0
  9. /jvcli/templates/{2.1.7 → 2.1.9}/project/globals.jac +0 -0
  10. /jvcli/templates/{2.1.7 → 2.1.9}/project/main.jac +0 -0
  11. /jvcli/templates/{2.1.7 → 2.1.9}/project/tests/README.md +0 -0
  12. /jvcli/templates/{2.1.7 → 2.1.9}/sourcefiles/CHANGELOG.md +0 -0
  13. /jvcli/templates/{2.1.7 → 2.1.9}/sourcefiles/README.md +0 -0
  14. /jvcli/templates/{2.1.7 → 2.1.9}/sourcefiles/action_app.py +0 -0
  15. /jvcli/templates/{2.1.7 → 2.1.9}/sourcefiles/action_archetype.jac +0 -0
  16. /jvcli/templates/{2.1.7 → 2.1.9}/sourcefiles/action_info.yaml +0 -0
  17. /jvcli/templates/{2.1.7 → 2.1.9}/sourcefiles/action_lib.jac +0 -0
  18. /jvcli/templates/{2.1.7 → 2.1.9}/sourcefiles/agent_descriptor.yaml +0 -0
  19. /jvcli/templates/{2.1.7 → 2.1.9}/sourcefiles/agent_info.yaml +0 -0
  20. /jvcli/templates/{2.1.7 → 2.1.9}/sourcefiles/agent_knowledge.yaml +0 -0
  21. /jvcli/templates/{2.1.7 → 2.1.9}/sourcefiles/agent_memory.yaml +0 -0
  22. /jvcli/templates/{2.1.7 → 2.1.9}/sourcefiles/interact_action_archetype.jac +0 -0
  23. {jvcli-2.1.7.dist-info → jvcli-2.1.9.dist-info}/WHEEL +0 -0
  24. {jvcli-2.1.7.dist-info → jvcli-2.1.9.dist-info}/entry_points.txt +0 -0
  25. {jvcli-2.1.7.dist-info → jvcli-2.1.9.dist-info}/licenses/LICENSE +0 -0
  26. {jvcli-2.1.7.dist-info → jvcli-2.1.9.dist-info}/top_level.txt +0 -0
jvcli/commands/server.py CHANGED
@@ -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("--jpr-api-key", default="")
206
- def importagent(agent_name: str, version: str, jpr_api_key: str) -> None:
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> [--version <jivas_version>]
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
 
@@ -12,7 +12,8 @@ JACPATH="./"
12
12
  # JIVAS Files Serving Config
13
13
  JIVAS_FILE_INTERFACE="local"
14
14
  JIVAS_FILES_ROOT_PATH=".files"
15
- JIVAS_FILES_URL=http://127.0.0.1:8000/files
15
+ JIVAS_FILES_URL=${JIVAS_BASE_URL}/files
16
+ JIVAS_FILES_SHORT_URL=${JIVAS_BASE_URL}/f
16
17
 
17
18
  # S3 Config
18
19
  # JIVAS_S3_ENDPOINT=access_key_id # optional
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jvcli
3
- Version: 2.1.7
3
+ Version: 2.1.9
4
4
  Summary: CLI tool for Jivas Package Repository
5
5
  Home-page: https://github.com/TrueSelph/jvcli
6
6
  Author: TrueSelph Inc.
@@ -10,31 +10,31 @@ jvcli/commands/create.py,sha256=PQf1KD-rcCj5I-YOSZXUjUOkMSgyFxyO9qQqtm0ssFk,1317
10
10
  jvcli/commands/download.py,sha256=GiLX_43CQOW9d5vF04fAszOWh3AB-7Mgote4tJ9RVng,3416
11
11
  jvcli/commands/info.py,sha256=NyIDpR_AGMMSFPE0tFZv4dIuv_gwqrfd589zQAA_Q3s,2685
12
12
  jvcli/commands/publish.py,sha256=TntkWRK6P4m0aTWRmFQtT5jYeEJqgxWJKvpUiHlrTQA,6637
13
- jvcli/commands/server.py,sha256=H6zU15cLKUOxd5cvCKtiQ8cmib0fZGACf-A_e5ttaWg,8417
13
+ jvcli/commands/server.py,sha256=nh8eXtv8hZ4csg_eMg0NajhHI-BtiUAM3Aqriyey8HU,8757
14
14
  jvcli/commands/startproject.py,sha256=cU88G4wfTA9_3QeoLK3HbYKLqxQxfpyeV8m8P45uA10,3405
15
15
  jvcli/commands/update.py,sha256=LwCLg-W1b8WSdFkiiJ8WwTit2HJXTLpM5OQ4WBTe9C4,1997
16
- jvcli/templates/2.1.7/project/README.md,sha256=f3njSjmQZRIK0lJ-0udH4118G_GQsYGVNKNrknRUVQQ,16639
17
- jvcli/templates/2.1.7/project/env.example,sha256=PFTk68ZJOvO0wT4pvy2QPxSIzCHAmBVCZDnOcTqmDbQ,1325
18
- jvcli/templates/2.1.7/project/gitignore.example,sha256=KG1wl-o8ltNs4d8qCVgok5F2waUYqCJ5-HJq58Kh79I,530
19
- jvcli/templates/2.1.7/project/globals.jac,sha256=CEt7L25wEZfE6TupqpM1ilHbtJMQQWExDQ5GJlkHPts,56
20
- jvcli/templates/2.1.7/project/main.jac,sha256=6dw30dozEqSEVb1ELn3Ttk4lPqnn-LZLoV1gGzGmC14,40
21
- jvcli/templates/2.1.7/project/actions/README.md,sha256=z92-Oc2Py6zVRb2BBzbSWBdHaXTOledSHsRqQYOf2Bw,1742
22
- jvcli/templates/2.1.7/project/daf/README.md,sha256=HKzoqEM7991NStDdL4lgWzhbv9qCyGW8Lspy0WREPo0,1682
23
- jvcli/templates/2.1.7/project/tests/README.md,sha256=-1ZXkxuUKa6tMw_jlF3rpCvUFq8ijW2L-nSuAkbCANo,917
24
- jvcli/templates/2.1.7/sourcefiles/CHANGELOG.md,sha256=aci-j1gPbzyywQyPY9M2PJkZLVTKgdDuJYcFpdPpKHQ,66
25
- jvcli/templates/2.1.7/sourcefiles/README.md,sha256=VcLV54kkjp_m-cVVuH_OTdIJ39T41sM2TwKH9ISyqbk,51
26
- jvcli/templates/2.1.7/sourcefiles/action_app.py,sha256=v0aUmIpzpzkaa1zbMl1Ixf_3_fCqZqji-euefgh8r48,743
27
- jvcli/templates/2.1.7/sourcefiles/action_archetype.jac,sha256=s-JrUMa0mC1aqs5px2iKJHFhTRZIlvD787AJsBn-eu0,1375
28
- jvcli/templates/2.1.7/sourcefiles/action_info.yaml,sha256=rOwJCK2F7ew4olydbPr2d1R0W0MbAX9v1QVWuzA-sXo,303
29
- jvcli/templates/2.1.7/sourcefiles/action_lib.jac,sha256=ZpptC4rcHL9hIxf2egHAeZLPOuPAIbpMHoDnCzfcxQI,62
30
- jvcli/templates/2.1.7/sourcefiles/agent_descriptor.yaml,sha256=5spl44ytEdvTWuJFe1aJcw10usmxrrqwgNDkyfXW_xk,746
31
- jvcli/templates/2.1.7/sourcefiles/agent_info.yaml,sha256=3olXRQDQG-543o7zSWWT23kJsK29QGhdx6-tOLXvCk8,207
32
- jvcli/templates/2.1.7/sourcefiles/agent_knowledge.yaml,sha256=hI0ifr0ICiZGce-oUFovBOmDWxGU1Z2M10WyZH_wS2g,284
33
- jvcli/templates/2.1.7/sourcefiles/agent_memory.yaml,sha256=_MBgObZcW1UzwWuYQVJiPZ_7TvYbGrDgd-xMuzJEkVo,9
34
- jvcli/templates/2.1.7/sourcefiles/interact_action_archetype.jac,sha256=S37dEHyoCkxCu3gTOOTe0UQIUD11XOEQb0vffm9c-yk,1735
35
- jvcli-2.1.7.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
36
- jvcli-2.1.7.dist-info/METADATA,sha256=7l5hRsAQKtONjAlFhR4iQPF4mC_BcmQYOelV6qqxApI,20458
37
- jvcli-2.1.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
38
- jvcli-2.1.7.dist-info/entry_points.txt,sha256=XunGcL0LWmIMIytaUckUA27czEf8M2Y4aTOfYIpOgrQ,42
39
- jvcli-2.1.7.dist-info/top_level.txt,sha256=akZnN9Zy1dFT93N0ms-C8ZXUn-xlhq37nO3jSRp0Y6o,6
40
- jvcli-2.1.7.dist-info/RECORD,,
16
+ jvcli/templates/2.1.9/project/README.md,sha256=f3njSjmQZRIK0lJ-0udH4118G_GQsYGVNKNrknRUVQQ,16639
17
+ jvcli/templates/2.1.9/project/env.example,sha256=DuKIA6QWUpv0JFDw0pBlGOw06zQNJn6jFeTMFRMJzsA,1363
18
+ jvcli/templates/2.1.9/project/gitignore.example,sha256=KG1wl-o8ltNs4d8qCVgok5F2waUYqCJ5-HJq58Kh79I,530
19
+ jvcli/templates/2.1.9/project/globals.jac,sha256=CEt7L25wEZfE6TupqpM1ilHbtJMQQWExDQ5GJlkHPts,56
20
+ jvcli/templates/2.1.9/project/main.jac,sha256=6dw30dozEqSEVb1ELn3Ttk4lPqnn-LZLoV1gGzGmC14,40
21
+ jvcli/templates/2.1.9/project/actions/README.md,sha256=z92-Oc2Py6zVRb2BBzbSWBdHaXTOledSHsRqQYOf2Bw,1742
22
+ jvcli/templates/2.1.9/project/daf/README.md,sha256=HKzoqEM7991NStDdL4lgWzhbv9qCyGW8Lspy0WREPo0,1682
23
+ jvcli/templates/2.1.9/project/tests/README.md,sha256=-1ZXkxuUKa6tMw_jlF3rpCvUFq8ijW2L-nSuAkbCANo,917
24
+ jvcli/templates/2.1.9/sourcefiles/CHANGELOG.md,sha256=aci-j1gPbzyywQyPY9M2PJkZLVTKgdDuJYcFpdPpKHQ,66
25
+ jvcli/templates/2.1.9/sourcefiles/README.md,sha256=VcLV54kkjp_m-cVVuH_OTdIJ39T41sM2TwKH9ISyqbk,51
26
+ jvcli/templates/2.1.9/sourcefiles/action_app.py,sha256=v0aUmIpzpzkaa1zbMl1Ixf_3_fCqZqji-euefgh8r48,743
27
+ jvcli/templates/2.1.9/sourcefiles/action_archetype.jac,sha256=s-JrUMa0mC1aqs5px2iKJHFhTRZIlvD787AJsBn-eu0,1375
28
+ jvcli/templates/2.1.9/sourcefiles/action_info.yaml,sha256=rOwJCK2F7ew4olydbPr2d1R0W0MbAX9v1QVWuzA-sXo,303
29
+ jvcli/templates/2.1.9/sourcefiles/action_lib.jac,sha256=ZpptC4rcHL9hIxf2egHAeZLPOuPAIbpMHoDnCzfcxQI,62
30
+ jvcli/templates/2.1.9/sourcefiles/agent_descriptor.yaml,sha256=5spl44ytEdvTWuJFe1aJcw10usmxrrqwgNDkyfXW_xk,746
31
+ jvcli/templates/2.1.9/sourcefiles/agent_info.yaml,sha256=3olXRQDQG-543o7zSWWT23kJsK29QGhdx6-tOLXvCk8,207
32
+ jvcli/templates/2.1.9/sourcefiles/agent_knowledge.yaml,sha256=hI0ifr0ICiZGce-oUFovBOmDWxGU1Z2M10WyZH_wS2g,284
33
+ jvcli/templates/2.1.9/sourcefiles/agent_memory.yaml,sha256=_MBgObZcW1UzwWuYQVJiPZ_7TvYbGrDgd-xMuzJEkVo,9
34
+ jvcli/templates/2.1.9/sourcefiles/interact_action_archetype.jac,sha256=S37dEHyoCkxCu3gTOOTe0UQIUD11XOEQb0vffm9c-yk,1735
35
+ jvcli-2.1.9.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
36
+ jvcli-2.1.9.dist-info/METADATA,sha256=YGh5YYO8jjIwe7O4GjbyRH3tZ8yB_bOXnojk8QGnK1c,20458
37
+ jvcli-2.1.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
38
+ jvcli-2.1.9.dist-info/entry_points.txt,sha256=XunGcL0LWmIMIytaUckUA27czEf8M2Y4aTOfYIpOgrQ,42
39
+ jvcli-2.1.9.dist-info/top_level.txt,sha256=akZnN9Zy1dFT93N0ms-C8ZXUn-xlhq37nO3jSRp0Y6o,6
40
+ jvcli-2.1.9.dist-info/RECORD,,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes