hyperpocket-langgraph 0.4.5__py3-none-any.whl → 0.5.0__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.
@@ -32,7 +32,7 @@ class PocketLanggraph(Pocket):
32
32
  self.use_profile = use_profile
33
33
  return [
34
34
  self._get_langgraph_tool(tool_impl)
35
- for tool_impl in self.core.tools.values()
35
+ for tool_impl in self.tools.values()
36
36
  ]
37
37
 
38
38
  def get_tool_node(
@@ -67,7 +67,7 @@ class PocketLanggraph(Pocket):
67
67
  body = tool_args
68
68
  profile = "default"
69
69
 
70
- prepare = await self.prepare_in_subprocess(
70
+ prepare = await self.prepare_auth(
71
71
  tool_name, body=body, thread_id=thread_id, profile=profile
72
72
  )
73
73
  need_prepare |= True if prepare else False
@@ -124,7 +124,7 @@ class PocketLanggraph(Pocket):
124
124
  body = json.loads(body)
125
125
 
126
126
  try:
127
- auth = await self.authenticate_in_subprocess(
127
+ auth = await self.authenticate(
128
128
  tool_name, body=body, thread_id=thread_id, profile=profile
129
129
  )
130
130
  except Exception as e:
@@ -141,7 +141,7 @@ class PocketLanggraph(Pocket):
141
141
  continue
142
142
 
143
143
  try:
144
- result = await self.tool_call_in_subprocess(
144
+ result = await self.tool_call(
145
145
  tool_name,
146
146
  body=body,
147
147
  envs=auth,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyperpocket-langgraph
3
- Version: 0.4.5
3
+ Version: 0.5.0
4
4
  Author-email: Hyperpocket Team <hyperpocket@vessl.ai>
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: hyperpocket>=0.0.3
@@ -22,7 +22,7 @@ Description-Content-Type: text/markdown
22
22
  from hyperpocket_langgraph import PocketLanggraph
23
23
 
24
24
  pocket = PocketLanggraph(tools=[
25
- "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
25
+ "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
26
26
  "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
27
27
  "https://github.com/my-org/some-awesome-tool",
28
28
  ])
@@ -41,7 +41,7 @@ from langchain_openai import ChatOpenAI
41
41
  from hyperpocket_langgraph import PocketLanggraph
42
42
 
43
43
  pocket = PocketLanggraph(tools=[
44
- "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
44
+ "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
45
45
  "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
46
46
  ])
47
47
 
@@ -71,7 +71,7 @@ from hyperpocket_langgraph import PocketLanggraph
71
71
 
72
72
  # Define pocket tools
73
73
  pocket = PocketLanggraph(tools=[
74
- "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
74
+ "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
75
75
  "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
76
76
  ])
77
77
 
@@ -135,7 +135,7 @@ from hyperpocket_langgraph import PocketLanggraph
135
135
 
136
136
  # Define pocket tools
137
137
  pocket = PocketLanggraph(tools=[
138
- "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
138
+ "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
139
139
  "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
140
140
  ])
141
141
 
@@ -152,7 +152,7 @@ from hyperpocket_langgraph import PocketLanggraph
152
152
 
153
153
  # Define pocket tools
154
154
  pocket = PocketLanggraph(tools=[
155
- "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
155
+ "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
156
156
  "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
157
157
  ])
158
158
 
@@ -0,0 +1,5 @@
1
+ hyperpocket_langgraph/__init__.py,sha256=Zqzel_ezEkzYOwVuzYWTQr4SJ737dd9hALXrIpMywEo,98
2
+ hyperpocket_langgraph/pocket_langgraph.py,sha256=pyA4Diwe58ph8WQyOlhTvlyVP7Vz8oCiVuChVw_d9uE,8218
3
+ hyperpocket_langgraph-0.5.0.dist-info/METADATA,sha256=grZR7rf-uQ6JzLgf58t09FTpiuvnfyVdtPXbzVUb98o,5413
4
+ hyperpocket_langgraph-0.5.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
+ hyperpocket_langgraph-0.5.0.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- hyperpocket_langgraph/__init__.py,sha256=Zqzel_ezEkzYOwVuzYWTQr4SJ737dd9hALXrIpMywEo,98
2
- hyperpocket_langgraph/pocket_langgraph.py,sha256=kibZrXl5SCAYGkgjZbh9yTIhECKpKcZ2LyYvi4H2RzU,8260
3
- hyperpocket_langgraph-0.4.5.dist-info/METADATA,sha256=_nksIvh-fHpqO8nWptnIBOnXLw4ZOC9hubxGrn5DsDw,5408
4
- hyperpocket_langgraph-0.4.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
- hyperpocket_langgraph-0.4.5.dist-info/RECORD,,