tavus-cli 0.3.1__tar.gz → 0.3.2__tar.gz

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.
Files changed (78) hide show
  1. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/PKG-INFO +15 -8
  2. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/README.md +14 -7
  3. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/docs/gemini-enterprise/README.md +10 -7
  4. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/pyproject.toml +1 -1
  5. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/__init__.py +1 -1
  6. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/uv.lock +1 -1
  7. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/workers/tavus-mcp/wrangler.jsonc +6 -4
  8. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/.env.example +0 -0
  9. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/.github/workflows/ci.yml +0 -0
  10. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/.github/workflows/deploy-cloudflare-worker.yml +0 -0
  11. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/.github/workflows/pr-reviews.yml +0 -0
  12. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/.github/workflows/pypi-cli.yml +0 -0
  13. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/.gitignore +0 -0
  14. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/docs/gemini-enterprise/listing.md +0 -0
  15. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/docs/gemini-enterprise/test-queries.md +0 -0
  16. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/docs/usage-observability.md +0 -0
  17. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/skills/tavus-agentic-pals/SKILL.md +0 -0
  18. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/skills/tavus-agentic-pals/agents/openai.yaml +0 -0
  19. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/skills/tavus-agentic-pals/references/build-and-verify.md +0 -0
  20. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/skills/tavus-agentic-pals/references/builder-workflow.md +0 -0
  21. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/skills/tavus-agentic-pals/references/chat-mode.md +0 -0
  22. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/skills/tavus-agentic-pals/references/examples.md +0 -0
  23. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/cli/__init__.py +0 -0
  24. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/cli/main.py +0 -0
  25. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/__init__.py +0 -0
  26. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/auth/__init__.py +0 -0
  27. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/auth/keyring_store.py +0 -0
  28. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/auth/oauth.py +0 -0
  29. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/auth/session.py +0 -0
  30. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/client/__init__.py +0 -0
  31. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/client/http.py +0 -0
  32. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/env.py +0 -0
  33. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/errors.py +0 -0
  34. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/patch.py +0 -0
  35. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/recipes/__init__.py +0 -0
  36. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/recipes/build_and_verify.py +0 -0
  37. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/recipes/capabilities.py +0 -0
  38. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/recipes/knowledge.py +0 -0
  39. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/recipes/options.py +0 -0
  40. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/recipes/quickstart.py +0 -0
  41. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/recipes/scaffold_embed.py +0 -0
  42. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/recipes/templates.py +0 -0
  43. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/recipes/tool_reuse.py +0 -0
  44. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/schemas/__init__.py +0 -0
  45. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/schemas/file_manifest.py +0 -0
  46. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/schemas/guardrail.py +0 -0
  47. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/schemas/objective.py +0 -0
  48. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/schemas/pal.py +0 -0
  49. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/schemas/pronunciation.py +0 -0
  50. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/sdk/schemas/tool.py +0 -0
  51. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/src/tavus_mcp/server.py +0 -0
  52. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/conftest.py +0 -0
  53. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/integration/test_cli.py +0 -0
  54. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/integration/test_client.py +0 -0
  55. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/integration/test_mcp_server.py +0 -0
  56. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/integration/test_oauth.py +0 -0
  57. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_auth.py +0 -0
  58. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_build_and_verify.py +0 -0
  59. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_builder.py +0 -0
  60. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_capabilities.py +0 -0
  61. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_conversation_chat.py +0 -0
  62. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_env.py +0 -0
  63. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_guardrail_schema.py +0 -0
  64. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_objective_schema.py +0 -0
  65. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_pal_schema.py +0 -0
  66. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_patch.py +0 -0
  67. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_pronunciation_schema.py +0 -0
  68. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_scaffold_embed.py +0 -0
  69. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_tool_reuse.py +0 -0
  70. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/tests/unit/test_tool_schema.py +0 -0
  71. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/workers/tavus-mcp/.dev.vars.example +0 -0
  72. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/workers/tavus-mcp/package-lock.json +0 -0
  73. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/workers/tavus-mcp/package.json +0 -0
  74. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/workers/tavus-mcp/src/index.ts +0 -0
  75. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/workers/tavus-mcp/src/oauth.ts +0 -0
  76. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/workers/tavus-mcp/src/tavus.ts +0 -0
  77. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/workers/tavus-mcp/test/tavus.test.ts +0 -0
  78. {tavus_cli-0.3.1 → tavus_cli-0.3.2}/workers/tavus-mcp/tsconfig.json +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tavus-cli
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Tavus CLI and MCP server for agentic PAL creation and editing.
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: fastmcp>=2.0.0
@@ -156,7 +156,7 @@ endpoints so MCP clients can authenticate through Tavus browser auth.
156
156
  Claude Code example:
157
157
 
158
158
  ```bash
159
- claude mcp add -s user --transport http tavus https://mcp.tavus-preview.io/mcp
159
+ claude mcp add -s user --transport http tavus https://mcp.tavus.io/mcp
160
160
  ```
161
161
 
162
162
  The OAuth authorize step redirects to Tavus developer portal
@@ -194,18 +194,25 @@ the GitHub workflow does not read or overwrite them.
194
194
 
195
195
  Merges to `main` automatically run the `Deploy Tavus MCP Worker` workflow for
196
196
  `prod`. You can also run the workflow manually for `test`, `stg`, or `prod`.
197
- The `prod` Wrangler route is configured as a custom domain on `mcp.tavus.io`;
198
- use `https://mcp.tavus-preview.io/mcp` as the Cloudflare-owned endpoint until
199
- `mcp.tavus.io` DNS resolves.
197
+ The public MCP endpoint is always `https://mcp.tavus.io/mcp`. The
198
+ `mcp.tavus-preview.io` custom domain belongs only to the `stg` Worker and must
199
+ not be published as a production fallback.
200
+
201
+ | Deployment | Worker | Hosted endpoint | Tavus API |
202
+ | --- | --- | --- | --- |
203
+ | `test` | `tavus-mcp-test` | Workers.dev URL | `https://test.rqh.tavusapi.com/v2` |
204
+ | `stg` | `tavus-mcp-stg` | `https://mcp.tavus-preview.io/mcp` | `https://stg.rqh.tavusapi.com/v2` |
205
+ | `prod` | `tavus-mcp-prod` | `https://mcp.tavus.io/mcp` | `https://tavusapi.com/v2` |
206
+
200
207
  For direct Wrangler usage, the default config targets production; use
201
208
  `wrangler deploy --env test` or `wrangler dev --env test` to point at TEST.
202
209
 
203
210
  Useful production checks:
204
211
 
205
212
  ```bash
206
- curl https://mcp.tavus-preview.io/.well-known/oauth-protected-resource/mcp
207
- curl https://mcp.tavus-preview.io/.well-known/oauth-authorization-server
208
- curl -i https://mcp.tavus-preview.io/mcp
213
+ curl https://mcp.tavus.io/.well-known/oauth-protected-resource/mcp
214
+ curl https://mcp.tavus.io/.well-known/oauth-authorization-server
215
+ curl -i https://mcp.tavus.io/mcp
209
216
  ```
210
217
 
211
218
  Unauthenticated `/mcp` should return `401` with a `WWW-Authenticate` header that
@@ -136,7 +136,7 @@ endpoints so MCP clients can authenticate through Tavus browser auth.
136
136
  Claude Code example:
137
137
 
138
138
  ```bash
139
- claude mcp add -s user --transport http tavus https://mcp.tavus-preview.io/mcp
139
+ claude mcp add -s user --transport http tavus https://mcp.tavus.io/mcp
140
140
  ```
141
141
 
142
142
  The OAuth authorize step redirects to Tavus developer portal
@@ -174,18 +174,25 @@ the GitHub workflow does not read or overwrite them.
174
174
 
175
175
  Merges to `main` automatically run the `Deploy Tavus MCP Worker` workflow for
176
176
  `prod`. You can also run the workflow manually for `test`, `stg`, or `prod`.
177
- The `prod` Wrangler route is configured as a custom domain on `mcp.tavus.io`;
178
- use `https://mcp.tavus-preview.io/mcp` as the Cloudflare-owned endpoint until
179
- `mcp.tavus.io` DNS resolves.
177
+ The public MCP endpoint is always `https://mcp.tavus.io/mcp`. The
178
+ `mcp.tavus-preview.io` custom domain belongs only to the `stg` Worker and must
179
+ not be published as a production fallback.
180
+
181
+ | Deployment | Worker | Hosted endpoint | Tavus API |
182
+ | --- | --- | --- | --- |
183
+ | `test` | `tavus-mcp-test` | Workers.dev URL | `https://test.rqh.tavusapi.com/v2` |
184
+ | `stg` | `tavus-mcp-stg` | `https://mcp.tavus-preview.io/mcp` | `https://stg.rqh.tavusapi.com/v2` |
185
+ | `prod` | `tavus-mcp-prod` | `https://mcp.tavus.io/mcp` | `https://tavusapi.com/v2` |
186
+
180
187
  For direct Wrangler usage, the default config targets production; use
181
188
  `wrangler deploy --env test` or `wrangler dev --env test` to point at TEST.
182
189
 
183
190
  Useful production checks:
184
191
 
185
192
  ```bash
186
- curl https://mcp.tavus-preview.io/.well-known/oauth-protected-resource/mcp
187
- curl https://mcp.tavus-preview.io/.well-known/oauth-authorization-server
188
- curl -i https://mcp.tavus-preview.io/mcp
193
+ curl https://mcp.tavus.io/.well-known/oauth-protected-resource/mcp
194
+ curl https://mcp.tavus.io/.well-known/oauth-authorization-server
195
+ curl -i https://mcp.tavus.io/mcp
189
196
  ```
190
197
 
191
198
  Unauthenticated `/mcp` should return `401` with a `WWW-Authenticate` header that
@@ -10,9 +10,7 @@ workflow for adding Tavus to a Gemini Enterprise instance.
10
10
  | Field | Value |
11
11
  | --- | --- |
12
12
  | MCP transport | Streamable HTTP (no SSE) |
13
- | Production MCP URL | `https://mcp.tavus.io/mcp` (Cloudflare-owned mirror: `https://mcp.tavus-preview.io/mcp`) |
14
- | Staging MCP URL | `https://tavus-mcp-stg.<workers-dev>/mcp` |
15
- | Test MCP URL | `https://tavus-mcp-test.<workers-dev>/mcp` |
13
+ | Production MCP URL | `https://mcp.tavus.io/mcp` |
16
14
  | Auth | OAuth 2.1 Authorization Code + PKCE (S256), 3LO via Tavus dev portal |
17
15
  | Tool annotations | Every tool declares `readOnlyHint` / `destructiveHint` |
18
16
  | Public spec | This document |
@@ -156,12 +154,17 @@ pal or conversation ID.
156
154
  4. Run any of the queries in [test-queries.md](./test-queries.md) to confirm
157
155
  tools execute end-to-end.
158
156
 
159
- ## Test environments
157
+ ## Review environments
160
158
 
161
- | Env | MCP URL | API base | Dev portal | Test account |
159
+ Public documentation and customer integrations must use only
160
+ `https://mcp.tavus.io/mcp`. Tavus supplies non-production MCP endpoints and
161
+ credentials privately for connector certification; they are not production
162
+ mirrors or customer-facing fallbacks.
163
+
164
+ | Env | MCP access | API base | Dev portal | Test account |
162
165
  | --- | --- | --- | --- | --- |
163
- | Test | `https://tavus-mcp-test.<workers-dev>/mcp` | `https://test.rqh.tavusapi.com/v2` | `https://dev.platform.tavus.io` | provided privately |
164
- | Staging | `https://tavus-mcp-stg.<workers-dev>/mcp` | `https://stg.rqh.tavusapi.com/v2` | `https://stage.platform.tavus.io` | provided privately |
166
+ | Test | provided privately | `https://test.rqh.tavusapi.com/v2` | `https://dev.platform.tavus.io` | provided privately |
167
+ | Staging | provided privately | `https://stg.rqh.tavusapi.com/v2` | `https://stage.platform.tavus.io` | provided privately |
165
168
  | Production | `https://mcp.tavus.io/mcp` | `https://tavusapi.com/v2` | `https://platform.tavus.io` | provided privately |
166
169
 
167
170
  Each env has a dedicated `gemini-enterprise-test@tavus.io` account pre-seeded
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "tavus-cli"
3
- version = "0.3.1"
3
+ version = "0.3.2"
4
4
  description = "Tavus CLI and MCP server for agentic PAL creation and editing."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -1,4 +1,4 @@
1
1
  """Tavus CLI and MCP server package."""
2
2
 
3
3
  __all__ = ["__version__"]
4
- __version__ = "0.3.1"
4
+ __version__ = "0.3.2"
@@ -1291,7 +1291,7 @@ wheels = [
1291
1291
 
1292
1292
  [[package]]
1293
1293
  name = "tavus-cli"
1294
- version = "0.3.1"
1294
+ version = "0.3.2"
1295
1295
  source = { editable = "." }
1296
1296
  dependencies = [
1297
1297
  { name = "fastmcp" },
@@ -24,6 +24,12 @@
24
24
  "stg": {
25
25
  "name": "tavus-mcp-stg",
26
26
  "workers_dev": true,
27
+ "routes": [
28
+ {
29
+ "pattern": "mcp.tavus-preview.io",
30
+ "custom_domain": true
31
+ }
32
+ ],
27
33
  "vars": {
28
34
  "TAVUS_ENV": "STG",
29
35
  "TAVUS_PUBLIC_API_BASE_URL": "https://stg.rqh.tavusapi.com/v2"
@@ -36,10 +42,6 @@
36
42
  {
37
43
  "pattern": "mcp.tavus.io",
38
44
  "custom_domain": true
39
- },
40
- {
41
- "pattern": "mcp.tavus-preview.io",
42
- "custom_domain": true
43
45
  }
44
46
  ],
45
47
  "vars": {
File without changes
File without changes
File without changes