marona 2.17.0 → 2.17.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/README.md +11 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp-authoring.d.ts +1 -1
- package/dist/mcp-authoring.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,12 +5,12 @@ Hub capabilities, streaming, realtime and A2A collaboration.
|
|
|
5
5
|
|
|
6
6
|
## Install
|
|
7
7
|
|
|
8
|
-
Version **2.17.
|
|
8
|
+
Version **2.17.1**. [Package registry](https://www.npmjs.com/package/marona).
|
|
9
9
|
|
|
10
10
|
Node.js 20+; run this server example with tsx.
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
npm install marona@2.17.
|
|
13
|
+
npm install marona@2.17.1
|
|
14
14
|
npm install --save-dev typescript tsx @types/node
|
|
15
15
|
```
|
|
16
16
|
|
|
@@ -580,6 +580,15 @@ consumers use the same HTTP media resources without browser dependencies. Printi
|
|
|
580
580
|
a resource URL alone does not play it.
|
|
581
581
|
|
|
582
582
|
|
|
583
|
+
## One Marona import
|
|
584
|
+
|
|
585
|
+
Import workflow and BioSignal APIs together when they are used in the same file.
|
|
586
|
+
The examples below are separate runnable files and import only what they use.
|
|
587
|
+
|
|
588
|
+
```typescript
|
|
589
|
+
import { WorkflowClient, WorkflowWorker, BioSignalDevice, SignalProcessor, SignalFeatureExtractor } from 'marona';
|
|
590
|
+
```
|
|
591
|
+
|
|
583
592
|
## Marona Workflows
|
|
584
593
|
|
|
585
594
|
Set MARONA_WORKFLOW_URL=https://workflows.marona.ai and MARONA_WORKFLOW_KEY to your workflow workspace credential. Keep the credential on your backend. The control plane stores execution state; a native worker runs your application code. This complete example registers a deployment, submits a run, executes it with a native worker and retrieves its persisted result. runOnce/run_once handles one run; a long-lived worker calls it in a bounded polling loop. Import the public workflow APIs from the main Marona package as shown below.
|
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import { type A2ATaskStorage, type A2AEvent } from "./a2a.js";
|
|
|
17
17
|
export { A2ATaskStore, AgentCardResolver, A2AError, A2ADiscoveryError, A2AProtocolError, A2ASecurityError, A2ATaskError } from "./a2a.js";
|
|
18
18
|
export type { A2ATaskStorage, A2AEvent, A2ARequestContext } from "./a2a.js";
|
|
19
19
|
export { A2AServer, type A2AServerOptions } from "./a2a-server.js";
|
|
20
|
-
export declare const packageVersion = "2.17.
|
|
20
|
+
export declare const packageVersion = "2.17.1";
|
|
21
21
|
export type JsonMap = Record<string, unknown>;
|
|
22
22
|
declare const standardInterfaces: readonly ["api", "web", "mobile_app", "desktop", "whatsapp"];
|
|
23
23
|
type StandardInterfaceName = (typeof standardInterfaces)[number];
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ export { B2AClient, B2AIntent, B2AMessage, B2AProtocolError, B2A_VERSION } from
|
|
|
11
11
|
import { A2ATaskStore, AgentCardResolver, A2AProtocolError, A2ASecurityError, A2ATaskError, a2aParts, parseA2ATask, parseA2AEvent, readA2AResponse, readA2AStream, unwrapA2A, validateA2AHost } from "./a2a.js";
|
|
12
12
|
export { A2ATaskStore, AgentCardResolver, A2AError, A2ADiscoveryError, A2AProtocolError, A2ASecurityError, A2ATaskError } from "./a2a.js";
|
|
13
13
|
export { A2AServer } from "./a2a-server.js";
|
|
14
|
-
export const packageVersion = "2.17.
|
|
14
|
+
export const packageVersion = "2.17.1";
|
|
15
15
|
const maronaApiKeyRequired = "Marona Developer Key is required.\n\n" +
|
|
16
16
|
"Provide it through the SDK configuration or set the MARONA_API_KEY environment variable.\n\n" +
|
|
17
17
|
"Create/manage developer keys from the Marona Developer Portal.";
|
package/dist/mcp-authoring.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface McpServeOptions {
|
|
|
11
11
|
allowedOrigins?: string[];
|
|
12
12
|
}
|
|
13
13
|
export type McpToolHandler = (args: JsonMap, context: ServerContext) => unknown | Promise<unknown>;
|
|
14
|
-
export declare const packageVersion = "2.17.
|
|
14
|
+
export declare const packageVersion = "2.17.1";
|
|
15
15
|
export declare const protocolVersion = "2025-11-25";
|
|
16
16
|
export type JsonMap = Record<string, unknown>;
|
|
17
17
|
export type JsonSchema = JsonMap;
|
package/dist/mcp-authoring.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { McpServer, createMcpHandler, fromJsonSchema, LATEST_PROTOCOL_VERSION } from "@modelcontextprotocol/server";
|
|
2
|
-
export const packageVersion = "2.17.
|
|
2
|
+
export const packageVersion = "2.17.1";
|
|
3
3
|
export const protocolVersion = LATEST_PROTOCOL_VERSION;
|
|
4
4
|
export const defaultPresentationHint = "display_as_provided";
|
|
5
5
|
export const defaultSuccessContext = "Use content as the primary user-facing result. Use data/items only for structured details.";
|
package/package.json
CHANGED