marona 0.6.0 → 0.6.1
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.
- package/CHANGELOG.md +4 -0
- package/README.md +31 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -152,6 +152,37 @@ directly to `connection.listTools()` and `connection.callTool(...)`. One
|
|
|
152
152
|
JavaScript object cannot automatically satisfy every framework's proprietary
|
|
153
153
|
tool interface, so any framework-specific conversion belongs at that boundary.
|
|
154
154
|
|
|
155
|
+
### OpenAI Agents SDK Example
|
|
156
|
+
|
|
157
|
+
The OpenAI Agents SDK example uses the Python Marona package and keeps the
|
|
158
|
+
OpenAI-specific adapter at the framework boundary:
|
|
159
|
+
|
|
160
|
+
```python
|
|
161
|
+
from agents import Agent, Runner
|
|
162
|
+
from marona import Marona
|
|
163
|
+
|
|
164
|
+
marona = Marona(api_key="YOUR_MARONA_API_KEY")
|
|
165
|
+
connection = marona.hub.connect(
|
|
166
|
+
apps=["sda-books"],
|
|
167
|
+
skills=["download-book"],
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
framework_tools = your_openai_agents_mcp_adapter(connection)
|
|
171
|
+
|
|
172
|
+
agent = Agent(
|
|
173
|
+
name="Book Assistant",
|
|
174
|
+
model="gpt-5.6",
|
|
175
|
+
instructions="Help users find and download books.",
|
|
176
|
+
tools=framework_tools,
|
|
177
|
+
)
|
|
178
|
+
|
|
179
|
+
result = Runner.run_sync(agent, "Download Steps to Christ")
|
|
180
|
+
print(result.final_output)
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
`your_openai_agents_mcp_adapter(...)` represents the OpenAI-specific adapter;
|
|
184
|
+
it is not part of Marona's vendor-neutral core API.
|
|
185
|
+
|
|
155
186
|
## Execution Modes
|
|
156
187
|
|
|
157
188
|
```ts
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const packageVersion = "0.6.
|
|
1
|
+
export declare const packageVersion = "0.6.1";
|
|
2
2
|
export type JsonMap = Record<string, unknown>;
|
|
3
3
|
declare const standardInterfaces: readonly ["api", "web", "mobile_app", "desktop", "whatsapp"];
|
|
4
4
|
type StandardInterfaceName = (typeof standardInterfaces)[number];
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const packageVersion = "0.6.
|
|
1
|
+
export const packageVersion = "0.6.1";
|
|
2
2
|
const standardInterfaces = ["api", "web", "mobile_app", "desktop", "whatsapp"];
|
|
3
3
|
const interfaceNamePattern = "^[a-z][a-z0-9_-]{0,63}$";
|
|
4
4
|
const standardExecutionModes = ["online", "hybrid", "offline"];
|
package/package.json
CHANGED