hyperpocket-anthropic 0.4.5__tar.gz → 0.5.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyperpocket-anthropic
3
- Version: 0.4.5
3
+ Version: 0.5.1
4
4
  Author-email: Hyperpocket Team <hyperpocket@vessl.ai>
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: anthropic>=0.10.0
@@ -18,7 +18,7 @@ from hyperpocket_anthropic import PocketAnthropic
18
18
 
19
19
  pocket = PocketAnthropic(tools=[
20
20
  "https://github.com/my-org/some-awesome-tool",
21
- "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
21
+ "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
22
22
  "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
23
23
  ]
24
24
  )
@@ -91,7 +91,7 @@ from hyperpocket_anthropic import PocketAnthropic
91
91
 
92
92
  pocket = PocketAnthropic(tools=[
93
93
  "https://github.com/my-org/some-awesome-tool",
94
- "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
94
+ "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
95
95
  "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
96
96
  ]
97
97
  )
@@ -143,7 +143,7 @@ from hyperpocket_anthropic import PocketAnthropic
143
143
  client = Anthropic()
144
144
  pocket = PocketAnthropic(tools=[
145
145
  "https://github.com/my-org/some-awesome-tool",
146
- "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
146
+ "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
147
147
  "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
148
148
  ]
149
149
  )
@@ -186,4 +186,4 @@ while True:
186
186
 
187
187
  if response.stop_reason != "tool_use":
188
188
  break
189
- ```
189
+ ```
@@ -9,7 +9,7 @@ from hyperpocket_anthropic import PocketAnthropic
9
9
 
10
10
  pocket = PocketAnthropic(tools=[
11
11
  "https://github.com/my-org/some-awesome-tool",
12
- "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
12
+ "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
13
13
  "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
14
14
  ]
15
15
  )
@@ -82,7 +82,7 @@ from hyperpocket_anthropic import PocketAnthropic
82
82
 
83
83
  pocket = PocketAnthropic(tools=[
84
84
  "https://github.com/my-org/some-awesome-tool",
85
- "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
85
+ "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
86
86
  "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
87
87
  ]
88
88
  )
@@ -134,7 +134,7 @@ from hyperpocket_anthropic import PocketAnthropic
134
134
  client = Anthropic()
135
135
  pocket = PocketAnthropic(tools=[
136
136
  "https://github.com/my-org/some-awesome-tool",
137
- "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
137
+ "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
138
138
  "https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
139
139
  ]
140
140
  )
@@ -177,4 +177,4 @@ while True:
177
177
 
178
178
  if response.stop_reason != "tool_use":
179
179
  break
180
- ```
180
+ ```
@@ -97,7 +97,7 @@ class PocketAnthropic(Pocket):
97
97
  self.use_profile = use_profile
98
98
 
99
99
  specs = []
100
- for tool in self.core.tools.values():
100
+ for tool in self.tools.values():
101
101
  spec = self.get_anthropic_tool_spec(tool)
102
102
  specs.append(spec)
103
103
  return specs
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hyperpocket-anthropic"
3
- version = "0.4.5"
3
+ version = "0.5.1"
4
4
  description = ""
5
5
  authors = [{ name = "Hyperpocket Team", email = "hyperpocket@vessl.ai" }]
6
6
  requires-python = ">=3.10"
@@ -66,7 +66,7 @@ class TestPocketAnthropicNoProfile(IsolatedAsyncioTestCase):
66
66
  # given
67
67
  pocket = PocketAnthropic(
68
68
  tools=[
69
- "https://github.com/vessl-ai/hyperpocket/main/tree/tools/slack/get-message",
69
+ "https://github.com/vessl-ai/hyperpocket/main/tree/tools/slack/get-messages",
70
70
  "https://github.com/vessl-ai/hyperpocket/main/tree/tools/slack/post-message",
71
71
  ]
72
72
  )
@@ -66,7 +66,7 @@ class TestPocketAnthropicUseProfile(IsolatedAsyncioTestCase):
66
66
  # given
67
67
  pocket = PocketAnthropic(
68
68
  tools=[
69
- "https://github.com/vessl-ai/hyperpocket/main/tree/tools/slack/get-message",
69
+ "https://github.com/vessl-ai/hyperpocket/main/tree/tools/slack/get-messages",
70
70
  "https://github.com/vessl-ai/hyperpocket/main/tree/tools/slack/post-message",
71
71
  ]
72
72
  )