ottoport 1.3.1 → 1.3.2

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ottoport",
3
3
  "description": "One API for every model. Call chat, image, video, speech and music models through the OttoPort gateway — as MCP tools, slash commands, or the bundled CLI.",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "author": {
6
6
  "name": "LITBOX LLC",
7
7
  "email": "support@ottoport.ai"
package/README.md CHANGED
@@ -1,28 +1,52 @@
1
- # OttoPort for Claude Code
1
+ # OttoPort
2
2
 
3
- One API for every model. This plugin bundles three things into a single
4
- install: the OttoPort **MCP server**, the **`ottoport` skill**, and a set of
5
- **slash commands** for chat, image, video, speech, and music generation.
3
+ One API for every model. This package is three things over the same gateway:
4
+ a **CLI**, an **MCP server**, and a **Claude Code plugin** chat, image,
5
+ video, speech, and music, on one key and one prepaid balance.
6
6
 
7
- ## Install
7
+ Get a key at <https://ottoport.ai/api-keys> (they look like `op-…`), then pick
8
+ whichever surface fits.
8
9
 
9
- ```
10
- /plugin marketplace add https://ottoport.ai/plugin/marketplace.json
11
- /plugin install ottoport@ottoport
12
- ```
10
+ ## CLI
13
11
 
14
- Then set your key in the shell that launches Claude Code — the MCP server reads
15
- the environment it inherits, so a key exported inside a session is too late:
12
+ ```bash
13
+ npm install -g ottoport # or run any command below through `npx ottoport …`
14
+ export OTTOPORT_API_KEY=op-...
15
+ ```
16
16
 
17
17
  ```bash
18
- export OTTOPORT_API_KEY=op-... # create one at https://ottoport.ai/api-keys
19
- export OTTOPORT_BASE_URL=https://ottoport.ai # optional; this is the default
18
+ ottoport models [--modality chat|image|video|tts|music] [--json]
19
+
20
+ ottoport chat "<prompt>" [--model claude-sonnet-5] [--system "..."] [--no-stream]
21
+ [--temperature 0.7] [--max-tokens 512]
22
+ ottoport image "<prompt>" [--model gpt-image-2] [--size 1024x1024] [--n 1]
23
+ [--image <url>] [--out file.png]
24
+ ottoport video "<prompt>" [--model kling-3.0] [--duration 5]
25
+ [--aspect-ratio 16:9] [--image <url>] [--out clip.mp4]
26
+ ottoport speech "<text>" [--model gpt-4o-mini-tts] [--voice alloy] [--out speech.mp3]
27
+ ottoport music "<prompt>" [--model suno-v5] [--duration 15] [--out song.mp3]
28
+
29
+ ottoport install <host> # wire the MCP server into an agent
30
+ ottoport mcp # run the MCP server on stdio
20
31
  ```
21
32
 
22
- Run `/ottoport:setup` to confirm the key, the gateway, and the MCP tools are all
23
- live.
33
+ Chat streams by default. Image, video and audio commands print the result URL;
34
+ `--out` downloads it. `--url` and `--key` override the environment for a single
35
+ call.
36
+
37
+ Every command is a thin client over the public REST API, so anything the CLI
38
+ does is available to your own code — the gateway is OpenAI-compatible, and any
39
+ OpenAI SDK works by pointing `baseURL` at `https://ottoport.ai/api/v1`.
40
+
41
+ ## Claude Code plugin
24
42
 
25
- ## Slash commands
43
+ Brings the MCP server, the `ottoport` skill, and six slash commands in one
44
+ install:
45
+
46
+ ```
47
+ /plugin marketplace add https://ottoport.ai/plugin/marketplace.json
48
+ /plugin install ottoport@ottoport
49
+ ```
26
50
 
27
51
  | Command | What it does |
28
52
  | --- | --- |
@@ -33,23 +57,33 @@ live.
33
57
  | `/ottoport:speech` | Read text aloud, or generate music. |
34
58
  | `/ottoport:setup` | Diagnose key / gateway / MCP wiring. |
35
59
 
36
- ## MCP tools
37
-
38
- The bundled server exposes `ottoport_list_models`, `ottoport_chat`,
39
- `ottoport_generate_image`, `ottoport_generate_video`, `ottoport_generate_speech`,
40
- and `ottoport_generate_music`. Any agent in the session can call them directly —
41
- the slash commands are just convenient entry points over the same tools.
42
-
43
- ## CLI
60
+ ## Other agents
44
61
 
45
- The same package ships the `ottoport` CLI for terminal and CI use:
62
+ Claude Code is the only host with a plugin format. Everywhere else, one command
63
+ registers the MCP server by writing that agent's own config:
46
64
 
47
65
  ```bash
48
- npm install -g ottoport
49
- ottoport models --modality video
50
- ottoport image "isometric city at dusk" --out city.png
66
+ npx ottoport install codex # or hermes, cursor, windsurf, claude-desktop, claude
51
67
  ```
52
68
 
69
+ Codex also gets the OttoPort skill copied into `~/.codex/skills/`. Your key is
70
+ forwarded from the environment rather than written into any config file.
71
+
72
+ ## MCP tools
73
+
74
+ `ottoport_list_models`, `ottoport_chat`, `ottoport_generate_image`,
75
+ `ottoport_generate_video`, `ottoport_generate_speech`, `ottoport_generate_music`.
76
+ The server speaks stdio JSON-RPC and is launched by the host as a subprocess, so
77
+ it needs Node 20+ on the PATH of whatever starts that host.
78
+
79
+ ## Configuration
80
+
81
+ - `OTTOPORT_API_KEY` — your `op-…` key. Export it from your shell profile: the
82
+ MCP server reads the environment its host was launched in, so a key exported
83
+ inside a running session arrives too late.
84
+ - `OTTOPORT_BASE_URL` — defaults to `https://ottoport.ai`; set it only to point
85
+ at another deployment.
86
+
53
87
  ## Notes
54
88
 
55
89
  - Image, video, and audio calls return **URLs**, and provider URLs expire.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ottoport",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Claude Code plugin, CLI and MCP server for OttoPort — one OpenAI-compatible API for every LLM, image, video, and speech model.",
5
5
  "homepage": "https://ottoport.ai",
6
6
  "license": "MIT",