jvcli 2.0.9__py3-none-any.whl → 2.0.11__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.
- jvcli/__init__.py +1 -1
- jvcli/api.py +3 -39
- jvcli/client/lib/widgets.py +4 -2
- jvcli/commands/auth.py +3 -3
- jvcli/commands/studio.py +210 -48
- jvcli/studio/assets/index-DDV79SDu.js +213 -0
- jvcli/studio/assets/index-DdMMONxd.css +1 -0
- jvcli/studio/index.html +2 -2
- jvcli/studio-auth/assets/index-Bh6lyeXA.js +218 -0
- jvcli/studio-auth/assets/index-DdMMONxd.css +1 -0
- jvcli/studio-auth/index.html +15 -0
- jvcli/studio-auth/jac_logo.png +0 -0
- jvcli/studio-auth/tauri.svg +6 -0
- jvcli/studio-auth/vite.svg +1 -0
- jvcli/templates/2.0.0/project/README.md +2 -2
- jvcli/templates/2.0.0/project/sh/importagent.sh +16 -5
- jvcli/templates/2.0.0/project/sh/inituser.sh +1 -1
- {jvcli-2.0.9.dist-info → jvcli-2.0.11.dist-info}/METADATA +3 -2
- {jvcli-2.0.9.dist-info → jvcli-2.0.11.dist-info}/RECORD +23 -17
- {jvcli-2.0.9.dist-info → jvcli-2.0.11.dist-info}/WHEEL +1 -1
- jvcli/studio/assets/index-BtFItD2q.js +0 -156
- jvcli/studio/assets/index-CIEsu-TC.css +0 -1
- {jvcli-2.0.9.dist-info → jvcli-2.0.11.dist-info}/entry_points.txt +0 -0
- {jvcli-2.0.9.dist-info → jvcli-2.0.11.dist-info/licenses}/LICENSE +0 -0
- {jvcli-2.0.9.dist-info → jvcli-2.0.11.dist-info}/top_level.txt +0 -0
@@ -1,12 +1,27 @@
|
|
1
1
|
#!/bin/bash
|
2
2
|
# Script to create jivas user, login, and initialize jivas graph
|
3
3
|
|
4
|
+
# Check if DAF_NAME is passed as a parameter
|
5
|
+
if [ -z "$1" ]; then
|
6
|
+
echo "Usage: $0 <DAF_NAME>"
|
7
|
+
exit 1
|
8
|
+
fi
|
9
|
+
|
10
|
+
DAF_NAME="$1"
|
11
|
+
|
4
12
|
# Export env vars
|
5
13
|
source sh/exportenv.sh
|
6
14
|
|
7
15
|
# Init the user token
|
8
16
|
source sh/inituser.sh
|
9
17
|
|
18
|
+
# Wait until JIVAS_TOKEN is set
|
19
|
+
while [ -z "$JIVAS_TOKEN" ]; do
|
20
|
+
echo "Waiting for JIVAS_TOKEN to be initialized..."
|
21
|
+
sleep 1
|
22
|
+
source sh/inituser.sh
|
23
|
+
done
|
24
|
+
|
10
25
|
# Check if JIVAS_TOKEN is set
|
11
26
|
if [ -n "$JIVAS_TOKEN" ]; then
|
12
27
|
|
@@ -17,7 +32,7 @@ if [ -n "$JIVAS_TOKEN" ]; then
|
|
17
32
|
--header 'Content-Type: application/json' \
|
18
33
|
--header 'Accept: application/json' \
|
19
34
|
--header "Authorization: Bearer $JIVAS_TOKEN" \
|
20
|
-
--data
|
35
|
+
--data "{\"daf_name\": \"$DAF_NAME\"}" \
|
21
36
|
"http://localhost:$JIVAS_PORT/walker/import_agent" | grep -o '"id":"[^"]*' | sed 's/"id":"//')
|
22
37
|
|
23
38
|
if [ -z "$AGENT_ID" ]; then
|
@@ -30,7 +45,3 @@ else
|
|
30
45
|
echo "Failed to initialize user token. Exiting..."
|
31
46
|
exit 1
|
32
47
|
fi
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
@@ -38,7 +38,7 @@ if lsof -i :$JIVAS_PORT >/dev/null; then
|
|
38
38
|
--header 'Content-Type: application/json' \
|
39
39
|
--header 'Accept: application/json' \
|
40
40
|
--data '{"password": "'"$JIVAS_PASSWORD"'","email": "'"$JIVAS_USER"'"}' \
|
41
|
-
"http://localhost:$JIVAS_PORT/user/login" | grep -
|
41
|
+
"http://localhost:$JIVAS_PORT/user/login" | grep -o '"token":"[^"]*' | sed 's/"token":"//')
|
42
42
|
fi
|
43
43
|
|
44
44
|
# Print token
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: jvcli
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.11
|
4
4
|
Summary: CLI tool for Jivas Package Repository
|
5
5
|
Home-page: https://github.com/TrueSelph/jvcli
|
6
6
|
Author: TrueSelph Inc.
|
@@ -27,6 +27,7 @@ Dynamic: author-email
|
|
27
27
|
Dynamic: description
|
28
28
|
Dynamic: description-content-type
|
29
29
|
Dynamic: home-page
|
30
|
+
Dynamic: license-file
|
30
31
|
Dynamic: provides-extra
|
31
32
|
Dynamic: requires-dist
|
32
33
|
Dynamic: requires-python
|
@@ -1,5 +1,5 @@
|
|
1
|
-
jvcli/__init__.py,sha256=
|
2
|
-
jvcli/api.py,sha256=
|
1
|
+
jvcli/__init__.py,sha256=XE8Hgf8iI1ybAxt2ZOiX2eGjQ76CyuLAuqYqb6D2n0c,171
|
2
|
+
jvcli/api.py,sha256=gd-EP1e75e7HijyrP-EF6i_jjCo6YUeSbm1l5daKLfQ,10352
|
3
3
|
jvcli/auth.py,sha256=p04T02ufqbENx_93oDPg3xsq7sv-Nabeq3YR1kLXfSg,1215
|
4
4
|
jvcli/cli.py,sha256=VM_QGPiYfSdqOZ4n0YLZbrOwXm0d5lHmzv47MqTyBMc,1060
|
5
5
|
jvcli/utils.py,sha256=NKWjjJ45NFlwT7QVMh1YMY2zfvGaJ_8LppG4D8QXCwA,7726
|
@@ -8,28 +8,34 @@ jvcli/client/app.py,sha256=2LGSY2R9GXXRNUu34wb_-i9hLOWbP34YbzgTEnBX-g8,6087
|
|
8
8
|
jvcli/client/lib/__init__.py,sha256=_Wv8CNIxeIle_x0U9T6w9s5mPuOY9-0u69BvTEPXLUw,38
|
9
9
|
jvcli/client/lib/page.py,sha256=QF53ffO4A2P9QTdPFfi0baCpKyEMmfkLyhJNxm7pTb0,2225
|
10
10
|
jvcli/client/lib/utils.py,sha256=QwG5Ev_8Xd5f5j1DsIR2by4EhOMJ9Yi-UIMezGolU5g,9823
|
11
|
-
jvcli/client/lib/widgets.py,sha256
|
11
|
+
jvcli/client/lib/widgets.py,sha256=kGI_bHbqUFZCFctNOwIKOL5ZdelQo9Gx_n5Ju2x3PQU,9555
|
12
12
|
jvcli/client/pages/__init__.py,sha256=sXsBV8cGItWhXtYg8PkfCd1Vi5ibd-rv5LABnPC_St4,51
|
13
13
|
jvcli/client/pages/analytics_page.py,sha256=bNlIaMgWGHz_XO4Z2a0jzEUL1ryGR_4s8TDsyTjZP10,5660
|
14
14
|
jvcli/client/pages/chat_page.py,sha256=Eye4KFt_wsiJuX5S7BqNErb2bApYDbNKc-1rJ5HZwnI,4749
|
15
15
|
jvcli/client/pages/dashboard_page.py,sha256=bzITRQI-cA5XUrIxwgiFGgrTZp3vvYeiU_e6K4tGx1Q,5006
|
16
16
|
jvcli/client/pages/graph_page.py,sha256=2ZN-C9eskqICgnZhfP1zc6YOPPsGib_WZw3xHXcA63k,491
|
17
17
|
jvcli/commands/__init__.py,sha256=bjZvM55MC2NugvRlxkEU9CDDP9NnsygcsGZewj1gQcg,57
|
18
|
-
jvcli/commands/auth.py,sha256=
|
18
|
+
jvcli/commands/auth.py,sha256=lO5G1_TCbxhOfy7xH9EULwvCLqf7iQTF9Q3MrpAtHPY,1611
|
19
19
|
jvcli/commands/client.py,sha256=SfcE7sDF8gw3pMFs28YV-Rz3cb9rm2O1Kcu-INmAy-g,1422
|
20
20
|
jvcli/commands/create.py,sha256=-9Lcng3Ef6AMZwBcuXDgvJCuvWxB_dB_fQF5-OBCkqA,13394
|
21
21
|
jvcli/commands/download.py,sha256=AT6SFiJ9ysqNMDCdKsZ6CMUx96qpyzgraOk6EuNL2Qs,3417
|
22
22
|
jvcli/commands/info.py,sha256=NyIDpR_AGMMSFPE0tFZv4dIuv_gwqrfd589zQAA_Q3s,2685
|
23
23
|
jvcli/commands/publish.py,sha256=q1ihoL42GmEsU5ggHN3bcg8QD26kjRUZGfQpRzI2GMo,6630
|
24
24
|
jvcli/commands/startproject.py,sha256=W7TzL8HALYd_Lzt3gLFFCZkBXZTR1jwUgZgLP6hETzI,2444
|
25
|
-
jvcli/commands/studio.py,sha256=
|
25
|
+
jvcli/commands/studio.py,sha256=avD5M3Ss7R6AtUMN3Mk6AmTyPJ7LnXcmwQ0mbRzivrQ,8192
|
26
26
|
jvcli/commands/update.py,sha256=LwCLg-W1b8WSdFkiiJ8WwTit2HJXTLpM5OQ4WBTe9C4,1997
|
27
|
-
jvcli/studio/index.html,sha256=
|
27
|
+
jvcli/studio/index.html,sha256=LGhVhKwe1FF_9r_PAG7J2ZPrRLFTwFH3PpCN_KdA-10,474
|
28
28
|
jvcli/studio/jac_logo.png,sha256=upImjxkFU42yMutB-w8S_ZrrWpXxNRtKWUUkmID-8mk,14015
|
29
29
|
jvcli/studio/tauri.svg,sha256=5dJzi7qlVDxGhAAaVY3FMWXam2NhRIJ7KNsdz6z4Gqg,2599
|
30
30
|
jvcli/studio/vite.svg,sha256=SnSK_UQ5GLsWWRyDTEAdrjPoeGGrXbrQgRw6O0qSFPs,1497
|
31
|
-
jvcli/studio/assets/index-
|
32
|
-
jvcli/studio/assets/index-
|
31
|
+
jvcli/studio/assets/index-DDV79SDu.js,sha256=pSQiO1keC_kt94QezLWKJcu85VR3Cr87MzFx1nP7Sdo,1063265
|
32
|
+
jvcli/studio/assets/index-DdMMONxd.css,sha256=_balEl4FNTjbZr8GjfHejhaqZlHidCC7wWD8ipDQzkQ,225622
|
33
|
+
jvcli/studio-auth/index.html,sha256=Tc7I3JxPf-tqeN1-6Od6aKlOTZF9dzmQcOXnjHt3fj4,474
|
34
|
+
jvcli/studio-auth/jac_logo.png,sha256=upImjxkFU42yMutB-w8S_ZrrWpXxNRtKWUUkmID-8mk,14015
|
35
|
+
jvcli/studio-auth/tauri.svg,sha256=5dJzi7qlVDxGhAAaVY3FMWXam2NhRIJ7KNsdz6z4Gqg,2599
|
36
|
+
jvcli/studio-auth/vite.svg,sha256=SnSK_UQ5GLsWWRyDTEAdrjPoeGGrXbrQgRw6O0qSFPs,1497
|
37
|
+
jvcli/studio-auth/assets/index-Bh6lyeXA.js,sha256=Y1LwylBablCNeUkjrB3jQOIP84_VoY4J96tZgiLpYZY,1065330
|
38
|
+
jvcli/studio-auth/assets/index-DdMMONxd.css,sha256=_balEl4FNTjbZr8GjfHejhaqZlHidCC7wWD8ipDQzkQ,225622
|
33
39
|
jvcli/templates/CHANGELOG.md,sha256=aci-j1gPbzyywQyPY9M2PJkZLVTKgdDuJYcFpdPpKHQ,66
|
34
40
|
jvcli/templates/README.md,sha256=VcLV54kkjp_m-cVVuH_OTdIJ39T41sM2TwKH9ISyqbk,51
|
35
41
|
jvcli/templates/2.0.0/action_info.yaml,sha256=ACSLbkr8P3XY8DzPHiGXH9OfjJ2Y-lZd3WefnvPIVbQ,303
|
@@ -37,22 +43,22 @@ jvcli/templates/2.0.0/agent_descriptor.yaml,sha256=h6_pxmaP-oJqLDCHAyZ1ckETfWD6D
|
|
37
43
|
jvcli/templates/2.0.0/agent_info.yaml,sha256=3olXRQDQG-543o7zSWWT23kJsK29QGhdx6-tOLXvCk8,207
|
38
44
|
jvcli/templates/2.0.0/agent_knowledge.yaml,sha256=hI0ifr0ICiZGce-oUFovBOmDWxGU1Z2M10WyZH_wS2g,284
|
39
45
|
jvcli/templates/2.0.0/agent_memory.yaml,sha256=_MBgObZcW1UzwWuYQVJiPZ_7TvYbGrDgd-xMuzJEkVo,9
|
40
|
-
jvcli/templates/2.0.0/project/README.md,sha256=
|
46
|
+
jvcli/templates/2.0.0/project/README.md,sha256=cr6yHG1qEzO7xDFchEDpl8tKawVvF0tsUVTrWyxjiG4,1077
|
41
47
|
jvcli/templates/2.0.0/project/env.example,sha256=aB3Wp-0fJV1o9WlFLjxjdA5fKMg2zBV-y8-nBm9Q-bk,396
|
42
48
|
jvcli/templates/2.0.0/project/globals.jac,sha256=CEt7L25wEZfE6TupqpM1ilHbtJMQQWExDQ5GJlkHPts,56
|
43
49
|
jvcli/templates/2.0.0/project/main.jac,sha256=r37jsaGq-85YvDbHP3bQvBXk0u8w0rtRTZTNxZOjTW0,48
|
44
50
|
jvcli/templates/2.0.0/project/actions/README.md,sha256=TU1t-rOBH5WQP_HUWaEBLq5BbPv4jejtjIrwTW4hZwM,1742
|
45
51
|
jvcli/templates/2.0.0/project/daf/README.md,sha256=M2_BLO6vFlsnUbYHPQMIrcoboe91MO9H9RR8yP9-tF8,1683
|
46
52
|
jvcli/templates/2.0.0/project/sh/exportenv.sh,sha256=UXH0DkHJnVz75YvAU8tw9bqfa2atniUITd7f_3FDBfk,160
|
47
|
-
jvcli/templates/2.0.0/project/sh/importagent.sh,sha256=
|
53
|
+
jvcli/templates/2.0.0/project/sh/importagent.sh,sha256=7Fsh_B761sIsS9eYWYGxvhOZXf_MXPZO_TFfm1QpBcU,1173
|
48
54
|
jvcli/templates/2.0.0/project/sh/initagents.sh,sha256=WmMshuxLw_dXnm23uhTZjr6Eyc9pAbktlo2R_0tXK6M,923
|
49
|
-
jvcli/templates/2.0.0/project/sh/inituser.sh,sha256=
|
55
|
+
jvcli/templates/2.0.0/project/sh/inituser.sh,sha256=vpVmmx6EBkIIQ7TUlEJdEFsiGoEE_e4Iy7yI-g1Zstc,1844
|
50
56
|
jvcli/templates/2.0.0/project/sh/serve.sh,sha256=S64Pmza1Zh5uf6bDA7aXS282AQsN3jJW4RAyfi7NCrU,103
|
51
57
|
jvcli/templates/2.0.0/project/sh/startclient.sh,sha256=w_oW5DZ9NHRD4HR16lVQsvq8HPtiRNUKFuG2nUrKWlQ,117
|
52
58
|
jvcli/templates/2.0.0/project/tests/README.md,sha256=-1ZXkxuUKa6tMw_jlF3rpCvUFq8ijW2L-nSuAkbCANo,917
|
53
|
-
jvcli-2.0.
|
54
|
-
jvcli-2.0.
|
55
|
-
jvcli-2.0.
|
56
|
-
jvcli-2.0.
|
57
|
-
jvcli-2.0.
|
58
|
-
jvcli-2.0.
|
59
|
+
jvcli-2.0.11.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
60
|
+
jvcli-2.0.11.dist-info/METADATA,sha256=4LjBRwepBPT9g14FjfjeJ1hPgk1023nRrDjWTSc_qv8,4202
|
61
|
+
jvcli-2.0.11.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
62
|
+
jvcli-2.0.11.dist-info/entry_points.txt,sha256=XunGcL0LWmIMIytaUckUA27czEf8M2Y4aTOfYIpOgrQ,42
|
63
|
+
jvcli-2.0.11.dist-info/top_level.txt,sha256=akZnN9Zy1dFT93N0ms-C8ZXUn-xlhq37nO3jSRp0Y6o,6
|
64
|
+
jvcli-2.0.11.dist-info/RECORD,,
|