marona 0.7.2 → 0.7.3

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.3
4
+
5
+ - Split image and file request documentation into complete standalone examples.
6
+
3
7
  ## 0.7.2
4
8
 
5
9
  - Add `response.output` as the canonical ordered text and artifact collection.
package/README.md CHANGED
@@ -155,17 +155,47 @@ await marona.models.register({
155
155
  });
156
156
  ```
157
157
 
158
- ### Images And Documents
158
+ ### Images
159
159
 
160
160
  ```ts
161
+ import { Marona } from "marona";
162
+
163
+ const marona = new Marona({
164
+ apiKey: process.env.MARONA_API_KEY,
165
+ });
166
+
161
167
  const response = await marona.responses.create({
162
168
  model: "openai/gpt-5.6",
163
169
  input: [
164
170
  {
165
171
  role: "user",
166
172
  content: [
167
- { type: "input_text", text: "Summarize this document and image." },
173
+ { type: "input_text", text: "Summarize this image." },
168
174
  { type: "input_image", image_url: "https://example.com/image.jpg" },
175
+ ],
176
+ },
177
+ ],
178
+ });
179
+
180
+ console.log(response.output);
181
+ ```
182
+
183
+ ### Files
184
+
185
+ ```ts
186
+ import { Marona } from "marona";
187
+
188
+ const marona = new Marona({
189
+ apiKey: process.env.MARONA_API_KEY,
190
+ });
191
+
192
+ const response = await marona.responses.create({
193
+ model: "openai/gpt-5.6",
194
+ input: [
195
+ {
196
+ role: "user",
197
+ content: [
198
+ { type: "input_text", text: "Summarize this file." },
169
199
  {
170
200
  type: "input_file",
171
201
  filename: "report.pdf",
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const packageVersion = "0.7.2";
1
+ export declare const packageVersion = "0.7.3";
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.7.2";
1
+ export const packageVersion = "0.7.3";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marona",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "Provider-neutral AI agent runtime and MCP/Skill gateway for Marona Hub connections, managed agents, and bring-your-own-agent integrations.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",