agentic-fabriq-sdk 0.1.19__tar.gz → 0.1.20__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.
Potentially problematic release.
This version of agentic-fabriq-sdk might be problematic. Click here for more details.
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/PKG-INFO +1 -1
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/fabriq_client.py +11 -23
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/pyproject.toml +1 -1
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/README.md +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/__init__.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/commands/__init__.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/commands/applications.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/commands/auth.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/commands/config.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/commands/mcp_servers.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/commands/secrets.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/commands/tools.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/core/__init__.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/core/client.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/core/config.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/core/oauth.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/core/output.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/core/token_storage.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_cli/main.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/__init__.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/auth/__init__.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/auth/applications.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/auth/dpop.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/auth/oauth.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/auth/token_cache.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/connectors/__init__.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/connectors/base.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/connectors/registry.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/dx/__init__.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/dx/decorators.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/dx/runtime.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/events.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/exceptions.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/models/__init__.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/models/audit.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/models/types.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/py.typed +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/transport/__init__.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/transport/http.py +0 -0
- {agentic_fabriq_sdk-0.1.19 → agentic_fabriq_sdk-0.1.20}/af_sdk/vault.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentic-fabriq-sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.20
|
|
4
4
|
Summary: Agentic Fabriq SDK: high-level client, CLI tool, DX helpers, and auth for AI agents
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Keywords: fabriq,agentic-fabriq,sdk,ai,agents,agentic,fabric,cli
|
|
@@ -166,8 +166,9 @@ class FabriqClient:
|
|
|
166
166
|
) -> Dict[str, Any]:
|
|
167
167
|
"""Invoke a tool using its connection ID (preferred method).
|
|
168
168
|
|
|
169
|
-
This uses the connection_id (like 'slacker', 'gurt') to
|
|
170
|
-
|
|
169
|
+
This directly uses the connection_id (like 'slacker', 'gurt') to invoke
|
|
170
|
+
the tool without needing to look up UUIDs. This is the most efficient
|
|
171
|
+
and reliable way to invoke tools.
|
|
171
172
|
|
|
172
173
|
Args:
|
|
173
174
|
connection_id: Connection identifier (e.g., 'slacker', 'gurt')
|
|
@@ -183,33 +184,20 @@ class FabriqClient:
|
|
|
183
184
|
parameters={"channel": "test", "text": "Hello!"})
|
|
184
185
|
result = await client.invoke_connection("gurt", method="list_files")
|
|
185
186
|
"""
|
|
186
|
-
#
|
|
187
|
-
#
|
|
187
|
+
# Use the direct connection-based invoke endpoint
|
|
188
|
+
# This matches what the CLI uses and is more efficient
|
|
188
189
|
body = {
|
|
189
190
|
"method": method,
|
|
190
191
|
"parameters": parameters or {},
|
|
191
|
-
"context": {"connection_id": connection_id}
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
#
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
if not connection:
|
|
200
|
-
raise ValueError(f"Connection '{connection_id}' not found")
|
|
201
|
-
|
|
202
|
-
tool_name = connection.get("tool")
|
|
203
|
-
|
|
204
|
-
# Look up the tool by name to get its UUID
|
|
205
|
-
result = await self.invoke_tool(
|
|
206
|
-
tool_name,
|
|
207
|
-
method=method,
|
|
208
|
-
parameters=parameters,
|
|
209
|
-
connection_id=connection_id
|
|
194
|
+
# Call the connection-based invoke endpoint
|
|
195
|
+
r = await self._http.post(
|
|
196
|
+
f"/tools/connections/{connection_id}/invoke",
|
|
197
|
+
json=body,
|
|
198
|
+
headers=self._extra_headers
|
|
210
199
|
)
|
|
211
|
-
|
|
212
|
-
return result
|
|
200
|
+
return r.json()
|
|
213
201
|
|
|
214
202
|
# -----------------
|
|
215
203
|
# MCP Servers
|
|
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
5
5
|
|
|
6
6
|
[tool.poetry]
|
|
7
7
|
name = "agentic-fabriq-sdk"
|
|
8
|
-
version = "0.1.
|
|
8
|
+
version = "0.1.20"
|
|
9
9
|
description = "Agentic Fabriq SDK: high-level client, CLI tool, DX helpers, and auth for AI agents"
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
license = "Apache-2.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|