marona 2.12.0 → 2.13.0

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,3 +1,7 @@
1
+ ## 2.13.0
2
+
3
+ - Add the shared Marona CLI package entry point and native project generation documentation.
4
+
1
5
  # Changelog
2
6
 
3
7
  ## 2.11.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.11.1**. [Package registry](https://www.npmjs.com/package/marona/v/2.11.1).
8
+ Version **2.13.0**. [Package registry](https://www.npmjs.com/package/marona/v/2.13.0).
9
9
 
10
10
  Node.js 20+; run this server example with tsx.
11
11
 
12
12
  ```bash
13
- npm install marona@2.11.1
13
+ npm install marona@2.13.0
14
14
  npm install --save-dev typescript tsx @types/node
15
15
  ```
16
16
 
@@ -598,6 +598,37 @@ specific examples and migration guidance. These files are generated from
598
598
  `docs/client-sdk-guides.json`; verify them with
599
599
  `python scripts/sync_client_sdk_docs.py --check`.
600
600
 
601
+ ## Marona CLI
602
+
603
+ The shared Marona CLI supports Python, Rust, Java, TypeScript and Dart projects.
604
+ Install the common engine once (Python 3.10+):
605
+
606
+ ```sh
607
+ pipx install --include-deps marona-cli==1.1.0
608
+ ```
609
+
610
+ This package's CLI entry point uses that engine from PATH. It never downloads code
611
+ or installs dependencies automatically. For an isolated installation, set
612
+ `MARONA_CLI_EXECUTABLE` to the full path of `marona-cli`. SDK applications and
613
+ containers do not require the CLI or Python (except Python applications).
614
+
615
+ ```sh
616
+ npx marona --help
617
+ marona auth login
618
+ marona chat --model marona/auto
619
+ marona init agent my-agent --language typescript
620
+ marona init mcp my-tools --language typescript
621
+ marona publish --registration registration.json
622
+ marona deploy --app-id APP_ID --source-url REPOSITORY_URL --branch main --runtime node
623
+ ```
624
+
625
+ Authentication, profiles, Hub discovery, streaming chat, message validation,
626
+ publishing and deployment share the same behavior and credential store.
627
+ Generated projects contain native SDK code, dependency files and a Dockerfile.
628
+ `--agent module:object` and `mcp serve` import Python objects only; execute native
629
+ projects with their own language runner as shown in their generated README.
630
+ The older MCP-only command remains available as `marona-mcp`.
631
+
601
632
  ## 2.11.1
602
633
 
603
634
  The main Marona package now builds MCP servers and Marona Apps. AgentApp registers
package/dist/cli.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
package/dist/cli.js ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env node
2
+ /** Entry point for the shared Marona CLI. SDK applications do not need Python. */
3
+ import { spawn } from "node:child_process";
4
+ import { constants } from "node:os";
5
+ const executable = process.env.MARONA_CLI_EXECUTABLE || "marona-cli";
6
+ const child = spawn(executable, process.argv.slice(2), { stdio: "inherit", shell: false });
7
+ process.on("SIGINT", () => { child.kill("SIGINT"); });
8
+ process.on("SIGTERM", () => { child.kill("SIGTERM"); });
9
+ child.once("error", () => {
10
+ console.error("Cannot start the shared Marona CLI. Install it with: pipx install --include-deps marona-cli. Or set MARONA_CLI_EXECUTABLE to its executable path.");
11
+ process.exitCode = 127;
12
+ });
13
+ child.once("exit", (code, signal) => {
14
+ process.exitCode = code ?? (signal ? 128 + constants.signals[signal] : 1);
15
+ });
16
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,kFAAkF;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,qBAAqB,IAAI,YAAY,CAAC;AACrE,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;AAC3F,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACtD,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACxD,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE;IACvB,OAAO,CAAC,KAAK,CAAC,mJAAmJ,CAAC,CAAC;IACnK,OAAO,CAAC,QAAQ,GAAG,GAAG,CAAC;AACzB,CAAC,CAAC,CAAC;AACH,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE;IAClC,OAAO,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,GAAG,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5E,CAAC,CAAC,CAAC"}
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.11.1";
20
+ export declare const packageVersion = "2.13.0";
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.11.1";
14
+ export const packageVersion = "2.13.0";
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.";
@@ -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.11.1";
14
+ export declare const packageVersion = "2.13.0";
15
15
  export declare const protocolVersion = "2025-11-25";
16
16
  export type JsonMap = Record<string, unknown>;
17
17
  export type JsonSchema = JsonMap;
@@ -1,5 +1,5 @@
1
1
  import { McpServer, createMcpHandler, fromJsonSchema, LATEST_PROTOCOL_VERSION } from "@modelcontextprotocol/server";
2
- export const packageVersion = "2.11.1";
2
+ export const packageVersion = "2.13.0";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marona",
3
- "version": "2.12.0",
3
+ "version": "2.13.0",
4
4
  "description": "Marona Agents, MCP server and App authoring, platform publishing, B2A, D2A, realtime streaming and A2A.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -59,6 +59,7 @@
59
59
  "typescript": "^5.7.0"
60
60
  },
61
61
  "bin": {
62
- "marona": "dist/mcp-cli.js"
62
+ "marona": "dist/cli.js",
63
+ "marona-mcp": "dist/mcp-cli.js"
63
64
  }
64
65
  }