alita-sdk 0.3.281__py3-none-any.whl → 0.3.282__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.
@@ -900,24 +900,3 @@ class AlitaClient:
900
900
  "events_dispatched": [],
901
901
  "execution_time_seconds": 0.0
902
902
  }
903
-
904
- def _get_real_user_id(self) -> str:
905
- """Extract the real user ID from the auth token for MCP tool calls."""
906
- try:
907
- import base64
908
- import json
909
- # Assuming JWT token, extract user ID from payload
910
- # This is a basic implementation - adjust based on your token format
911
- token_parts = self.auth_token.split('.')
912
- if len(token_parts) >= 2:
913
- payload_part = token_parts[1]
914
- # Add padding if needed
915
- padding = len(payload_part) % 4
916
- if padding:
917
- payload_part += '=' * (4 - padding)
918
- payload = json.loads(base64.b64decode(payload_part))
919
- return payload.get('user_id') or payload.get('sub') or payload.get('uid')
920
- except Exception as e:
921
- logger.error(f"Error extracting user ID from token: {e}")
922
- return None
923
-
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alita_sdk
3
- Version: 0.3.281
3
+ Version: 0.3.282
4
4
  Summary: SDK for building langchain agents using resources from Alita
5
5
  Author-email: Artem Rozumenko <artyom.rozumenko@gmail.com>, Mikalai Biazruchka <mikalai_biazruchka@epam.com>, Roman Mitusov <roman_mitusov@epam.com>, Ivan Krakhmaliuk <lifedjik@gmail.com>, Artem Dubrovskiy <ad13box@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -36,7 +36,7 @@ alita_sdk/configurations/zephyr_essential.py,sha256=dXZHw4Yn_Mg-VhUn7qeCbd4hVpt9
36
36
  alita_sdk/runtime/__init__.py,sha256=4W0UF-nl3QF2bvET5lnah4o24CoTwSoKXhuN0YnwvEE,828
37
37
  alita_sdk/runtime/clients/__init__.py,sha256=BdehU5GBztN1Qi1Wul0cqlU46FxUfMnI6Vq2Zd_oq1M,296
38
38
  alita_sdk/runtime/clients/artifact.py,sha256=TPvROw1qu4IyUEGuf7x40IKRpb5eFZpYGN3-8LfQE0M,3461
39
- alita_sdk/runtime/clients/client.py,sha256=13_Ht9MnRO-9V1uP9_YTxM07g7mpm2uVevVh2wDPOnE,43567
39
+ alita_sdk/runtime/clients/client.py,sha256=Q9y-Sv1cQu8x69KSgbe1UTGxxt_dOxIh4cJcI40t8NY,42650
40
40
  alita_sdk/runtime/clients/datasource.py,sha256=HAZovoQN9jBg0_-lIlGBQzb4FJdczPhkHehAiVG3Wx0,1020
41
41
  alita_sdk/runtime/clients/prompt.py,sha256=li1RG9eBwgNK_Qf0qUaZ8QNTmsncFrAL2pv3kbxZRZg,1447
42
42
  alita_sdk/runtime/langchain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -347,8 +347,8 @@ alita_sdk/tools/zephyr_scale/api_wrapper.py,sha256=HOt9ShtJI_1tVPcwd3Rwk-VS0SMLq
347
347
  alita_sdk/tools/zephyr_squad/__init__.py,sha256=0AI_j27xVO5Gk5HQMFrqPTd4uvuVTpiZUicBrdfEpKg,2796
348
348
  alita_sdk/tools/zephyr_squad/api_wrapper.py,sha256=kmw_xol8YIYFplBLWTqP_VKPRhL_1ItDD0_vXTe_UuI,14906
349
349
  alita_sdk/tools/zephyr_squad/zephyr_squad_cloud_client.py,sha256=R371waHsms4sllHCbijKYs90C-9Yu0sSR3N4SUfQOgU,5066
350
- alita_sdk-0.3.281.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
351
- alita_sdk-0.3.281.dist-info/METADATA,sha256=ZiYq3cmMaWw-f-W9eHMQAHSl1OKlPTn7enCmmtnXeao,18897
352
- alita_sdk-0.3.281.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
353
- alita_sdk-0.3.281.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
354
- alita_sdk-0.3.281.dist-info/RECORD,,
350
+ alita_sdk-0.3.282.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
351
+ alita_sdk-0.3.282.dist-info/METADATA,sha256=hfPjY5I-dvK_iVEukdJdK4zKc8hZz8hOBvMm9ZD0TWs,18897
352
+ alita_sdk-0.3.282.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
353
+ alita_sdk-0.3.282.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
354
+ alita_sdk-0.3.282.dist-info/RECORD,,