tavus-cli 0.17.0__tar.gz → 0.18.0__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.
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.github/workflows/claude-pr-review.yml +4 -25
- tavus_cli-0.18.0/.release-please-manifest.json +3 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/CHANGELOG.md +16 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/PKG-INFO +4 -2
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/README.md +3 -1
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/packages/tavus/pyproject.toml +2 -2
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/packages/tavus-mcp/pyproject.toml +2 -2
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/pyproject.toml +1 -1
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/__init__.py +1 -1
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/uv.lock +1 -1
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/package-lock.json +2 -2
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/package.json +1 -1
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/src/slack-bot.ts +21 -2
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/src/slack-link-store.ts +6 -1
- tavus_cli-0.18.0/workers/tavus-mcp/src/version.ts +1 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/slack-bot.test.ts +34 -7
- tavus_cli-0.17.0/.release-please-manifest.json +0 -3
- tavus_cli-0.17.0/workers/tavus-mcp/src/version.ts +0 -1
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.agents/plugins/marketplace.json +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.cursor/BUGBOT.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.env.example +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.github/review-guidelines.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.github/workflows/ci.yml +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.github/workflows/codex-pr-review.yml +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.github/workflows/deploy-cloudflare-worker.yml +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.github/workflows/e2e.yml +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.github/workflows/pr-reviews.yml +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.github/workflows/pypi-cli.yml +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.github/workflows/tail-cloudflare-worker.yml +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.github/workflows/validate-staging-deployment.yml +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/.gitignore +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/AGENTS.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/PROMPT.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/docs/builder-guidance.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/docs/chatgpt-plugin.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/docs/gemini-enterprise/README.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/docs/gemini-enterprise/listing.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/docs/gemini-enterprise/test-queries.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/docs/usage-observability.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/e2e/conftest.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/e2e/targets.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/e2e/test_contract.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/e2e/test_hosted_auth.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/e2e/test_live.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/packages/tavus/README.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/packages/tavus-mcp/README.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/plugins/tavus-pal/assets/icon-dark.svg +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/plugins/tavus-pal/assets/icon.svg +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/plugins/tavus-pal/mcp.json +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/plugins/tavus-pal/plugin.json +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/release-please-config.json +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/scripts/__init__.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/scripts/build_chatgpt_plugin.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/scripts/check_release_versions.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/skills/tavus-agentic-pals/SKILL.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/skills/tavus-agentic-pals/agents/openai.yaml +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/skills/tavus-agentic-pals/references/build-and-verify.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/skills/tavus-agentic-pals/references/builder-workflow.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/skills/tavus-agentic-pals/references/chat-mode.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/skills/tavus-agentic-pals/references/examples.md +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/builder_guidance.json +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/builder_guidance.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/cli/__init__.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/cli/main.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/__init__.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/auth/__init__.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/auth/keyring_store.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/auth/oauth.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/auth/session.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/client/__init__.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/client/http.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/daily_transport.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/env.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/errors.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/pal_urls.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/patch.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/__init__.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/build_and_verify.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/capabilities.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/carrier_builder.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/connectors.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/conversations.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/deployments.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/face_studio.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/knowledge.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/meetings.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/options.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/quickstart.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/scaffold_embed.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/templates.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/recipes/tool_reuse.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/schemas/__init__.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/schemas/deployment.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/schemas/face_studio.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/schemas/file_manifest.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/schemas/guardrail.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/schemas/objective.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/schemas/pal.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/schemas/pronunciation.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/sdk/schemas/tool.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/src/tavus_mcp/server.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/conftest.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/integration/test_cli.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/integration/test_client.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/integration/test_mcp_server.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/integration/test_oauth.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_auth.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_build_and_verify.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_builder.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_capabilities.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_connectors.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_conversations.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_daily_transport.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_deployments.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_env.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_guardrail_schema.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_objective_schema.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_pal_schema.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_patch.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_pronunciation_schema.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_release_versions.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_scaffold_embed.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_tool_reuse.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/tests/unit/test_tool_schema.py +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/.dev.vars.example +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/src/index.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/src/oauth-grant.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/src/oauth-session.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/src/oauth.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/src/slack-install.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/src/slack-tools.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/src/slack.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/src/tavus.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/builder-guidance.test.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/connectors.test.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/conversations.test.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/oauth-client-credentials.test.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/oauth-session.test.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/parity.test.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/slack-install.test.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/slack-link.test.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/slack-tools.test.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/tavus.test.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/worker-runtime.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/tsconfig.json +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/vitest.config.ts +0 -0
- {tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/wrangler.jsonc +0 -0
|
@@ -18,10 +18,6 @@ jobs:
|
|
|
18
18
|
# Fork pull requests get no secrets, so skip them instead of failing.
|
|
19
19
|
if: github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please--') && github.event.pull_request.head.repo.full_name == github.repository
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
|
-
env:
|
|
22
|
-
# One place for the model: it is passed to --model and named in the
|
|
23
|
-
# signature on every comment, so a stale model shows up in the PR.
|
|
24
|
-
REVIEW_MODEL: claude-opus-5-5
|
|
25
21
|
|
|
26
22
|
steps:
|
|
27
23
|
- name: Checkout repository
|
|
@@ -30,29 +26,16 @@ jobs:
|
|
|
30
26
|
fetch-depth: 1
|
|
31
27
|
persist-credentials: false
|
|
32
28
|
|
|
33
|
-
- name: Load review guidelines
|
|
34
|
-
id: guidelines
|
|
35
|
-
# The Claude and Codex reviews share this text; edit it there, not in
|
|
36
|
-
# either prompt. Bugbot reads .cursor/BUGBOT.md instead.
|
|
37
|
-
run: |
|
|
38
|
-
{
|
|
39
|
-
echo 'text<<GUIDELINES_EOF'
|
|
40
|
-
cat .github/review-guidelines.md
|
|
41
|
-
echo 'GUIDELINES_EOF'
|
|
42
|
-
} >> "$GITHUB_OUTPUT"
|
|
43
|
-
|
|
44
29
|
- name: Claude code review
|
|
45
|
-
|
|
46
|
-
uses: anthropics/claude-code-action@1d6de8cb0c237e7c15e9e1bdf973826ebae490cc # v1.0.248
|
|
30
|
+
uses: Tavus-Engineering/skillshare/claude-pr-review@main
|
|
47
31
|
with:
|
|
48
32
|
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
33
|
+
# Shared with the Codex review;
|
|
34
|
+
# change review rules there, not in this prompt.
|
|
35
|
+
guidelines: .github/review-guidelines.md
|
|
49
36
|
prompt: |
|
|
50
|
-
REPO: ${{ github.repository }}
|
|
51
|
-
PR NUMBER: ${{ github.event.pull_request.number }}
|
|
52
37
|
You are reviewing the Tavus MCP server: a Python package and a Cloudflare Worker that expose the same tools.
|
|
53
38
|
|
|
54
|
-
${{ steps.guidelines.outputs.text }}
|
|
55
|
-
|
|
56
39
|
Output requirements:
|
|
57
40
|
- Leave inline comments for concrete issues.
|
|
58
41
|
- Do not repeat already-reported inline issues unless the code changed or there is new evidence.
|
|
@@ -61,8 +44,4 @@ jobs:
|
|
|
61
44
|
- why it matters (user impact)
|
|
62
45
|
- a specific fix suggestion
|
|
63
46
|
- If no major risks are found, explicitly state why this PR is low risk.
|
|
64
|
-
- End the final summary and every inline comment with this line on its own: `Reviewed by ${{ env.REVIEW_MODEL }}`
|
|
65
47
|
- Write the summary and every comment in plain language (ISO 24495-1): most important point first, short sentences, active voice, project shorthand expanded on first use, and a concrete next step for the author.
|
|
66
|
-
claude_args: |
|
|
67
|
-
--model ${{ env.REVIEW_MODEL }}
|
|
68
|
-
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)"
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.18.0](https://github.com/Tavus-Engineering/tavus-mcp/compare/v0.17.1...v0.18.0) (2026-11-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **slack:** welcome people the first time they open the bot's Messages tab ([#118](https://github.com/Tavus-Engineering/tavus-mcp/issues/118)) ([d5f31b5](https://github.com/Tavus-Engineering/tavus-mcp/commit/d5f31b547e03f405499c2e0f4c047ef6fd319fc4))
|
|
9
|
+
|
|
10
|
+
## [0.17.1](https://github.com/Tavus-Engineering/tavus-mcp/compare/v0.17.0...v0.17.1) (2026-11-06)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Continuous Integration
|
|
14
|
+
|
|
15
|
+
* follow the shared Claude PR review action at skillshare main ([#116](https://github.com/Tavus-Engineering/tavus-mcp/issues/116)) ([5e49e03](https://github.com/Tavus-Engineering/tavus-mcp/commit/5e49e03d1e31510879544efcfaa78898ce7b23d8))
|
|
16
|
+
* run the Claude PR review from the shared skillshare action on Opus 5.5 ([a63c66a](https://github.com/Tavus-Engineering/tavus-mcp/commit/a63c66a60f24d3b3066b344ddbfc5e9d5b32fe40))
|
|
17
|
+
* run the Claude PR review from the shared skillshare action on Opus 5.5 ([67b5fcb](https://github.com/Tavus-Engineering/tavus-mcp/commit/67b5fcbe82325eaecb811995a70422b7b1345e44))
|
|
18
|
+
|
|
3
19
|
## [0.17.0](https://github.com/Tavus-Engineering/tavus-mcp/compare/v0.16.0...v0.17.0) (2026-11-05)
|
|
4
20
|
|
|
5
21
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: tavus-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.18.0
|
|
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
|
|
@@ -125,7 +125,9 @@ Worker rejects anything older than five minutes.
|
|
|
125
125
|
- In the Slack app, turn Socket Mode off, set the slash command URL to
|
|
126
126
|
`https://mcp.tavus.io/slack/commands`, set the Event Subscriptions request URL
|
|
127
127
|
to `https://mcp.tavus.io/slack/events`, and subscribe to the bot events
|
|
128
|
-
`app_mention`, `message.im`, `app_uninstalled` and
|
|
128
|
+
`app_mention`, `message.im`, `app_home_opened`, `app_uninstalled` and
|
|
129
|
+
`tokens_revoked`. The first time a person opens the bot's Messages tab, the bot
|
|
130
|
+
sends them a welcome message once. The bot scopes are `commands`,
|
|
129
131
|
`app_mentions:read`, `chat:write` and `im:history`.
|
|
130
132
|
- Commands: `pals`, `chat <PAL> <message>`, `recent [PAL]`, `transcript <id>`,
|
|
131
133
|
`link` and `unlink`. A user replies in a chat thread with `@Tavus` to continue
|
|
@@ -102,7 +102,9 @@ Worker rejects anything older than five minutes.
|
|
|
102
102
|
- In the Slack app, turn Socket Mode off, set the slash command URL to
|
|
103
103
|
`https://mcp.tavus.io/slack/commands`, set the Event Subscriptions request URL
|
|
104
104
|
to `https://mcp.tavus.io/slack/events`, and subscribe to the bot events
|
|
105
|
-
`app_mention`, `message.im`, `app_uninstalled` and
|
|
105
|
+
`app_mention`, `message.im`, `app_home_opened`, `app_uninstalled` and
|
|
106
|
+
`tokens_revoked`. The first time a person opens the bot's Messages tab, the bot
|
|
107
|
+
sends them a welcome message once. The bot scopes are `commands`,
|
|
106
108
|
`app_mentions:read`, `chat:write` and `im:history`.
|
|
107
109
|
- Commands: `pals`, `chat <PAL> <message>`, `recent [PAL]`, `transcript <id>`,
|
|
108
110
|
`link` and `unlink`. A user replies in a chat thread with `@Tavus` to continue
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "tavus"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.18.0" # x-release-please-version
|
|
4
4
|
description = "Official alias for tavus-cli, the Tavus CLI and MCP server."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
7
7
|
dependencies = [
|
|
8
|
-
"tavus-cli==0.
|
|
8
|
+
"tavus-cli==0.18.0", # x-release-please-version
|
|
9
9
|
]
|
|
10
10
|
|
|
11
11
|
[project.urls]
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "tavus-mcp"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.18.0" # x-release-please-version
|
|
4
4
|
description = "Official alias for tavus-cli, which provides the tavus-mcp MCP server."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
7
7
|
dependencies = [
|
|
8
|
-
"tavus-cli==0.
|
|
8
|
+
"tavus-cli==0.18.0", # x-release-please-version
|
|
9
9
|
]
|
|
10
10
|
|
|
11
11
|
[project.urls]
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tavus/tavus-mcp-worker",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@tavus/tavus-mcp-worker",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.18.0",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
12
12
|
"agents": "^0.12.2",
|
|
@@ -4,7 +4,7 @@ import { InMemoryTransport } from "@modelcontextprotocol/sdk/inMemory.js";
|
|
|
4
4
|
import { openPayload, sealPayload, oauthSigningSecret, timingSafeEqual } from "./oauth";
|
|
5
5
|
import { formatToolHelp, formatToolResult, formatTools, prepareToolRun, type ToolInfo } from "./slack-tools";
|
|
6
6
|
import { removeSlackInstall, slackBotToken, slackInstallUrl } from "./slack-install";
|
|
7
|
-
import { createLinkUrl, linkedAccount, type SlackIdentity, slackIdentity, unlinkAccount } from "./slack";
|
|
7
|
+
import { createLinkUrl, linkedAccount, linkName, type SlackIdentity, slackIdentity, unlinkAccount } from "./slack";
|
|
8
8
|
import { createTavusMcpServer, type Env, replicaHasJoined } from "./tavus";
|
|
9
9
|
|
|
10
10
|
const COMMANDS_ROUTE = "/slack/commands";
|
|
@@ -31,6 +31,13 @@ const HELP = [
|
|
|
31
31
|
"*/tavus <tool> <id>* runs any tool, for example `/tavus pal_get p09f3aded3cd`. Add more arguments as `key=value` or one JSON object, and put quotes around values with spaces. Tools marked :warning: in `/tavus tools` ask for `--yes` first.",
|
|
32
32
|
].join("\n");
|
|
33
33
|
|
|
34
|
+
const WELCOME = [
|
|
35
|
+
"Hi, I'm Tavus. I let you work with your Tavus PALs from Slack.",
|
|
36
|
+
"1. Run `/tavus link` to connect your Tavus account. No account yet? Sign up free at https://maker.tavus.io",
|
|
37
|
+
"2. Run `/tavus pals` to see your PALs, then `/tavus chat <PAL> <message>` to talk to one.",
|
|
38
|
+
"Type `/tavus help` to see every command.",
|
|
39
|
+
].join("\n");
|
|
40
|
+
|
|
34
41
|
type Reply = (text: string) => Promise<void>;
|
|
35
42
|
type Fields = Record<string, unknown>;
|
|
36
43
|
|
|
@@ -149,6 +156,10 @@ async function handleEvent(
|
|
|
149
156
|
}
|
|
150
157
|
const identity = slackIdentity(payload.team_id, event.user);
|
|
151
158
|
const channel = typeof event.channel === "string" ? event.channel : "";
|
|
159
|
+
if (event.type === "app_home_opened" && event.tab === "messages" && identity && channel) {
|
|
160
|
+
ctx.waitUntil(sendWelcome(env, identity, channel));
|
|
161
|
+
return new Response(null, { status: 200 });
|
|
162
|
+
}
|
|
152
163
|
const text = typeof event.text === "string" ? event.text : "";
|
|
153
164
|
const isMention = event.type === "app_mention" && !event.bot_id;
|
|
154
165
|
const isDirectMessage = event.type === "message" && event.channel_type === "im" && !event.bot_id && !event.subtype;
|
|
@@ -434,7 +445,7 @@ async function toolCaller(c: { env: Env; identity: SlackIdentity; origin: string
|
|
|
434
445
|
}
|
|
435
446
|
|
|
436
447
|
async function listPals(call: ToolCaller): Promise<string> {
|
|
437
|
-
const pals = rows(await call("tavus_pal_list", { limit: 25, sort: "desc" }));
|
|
448
|
+
const pals = rows(await call("tavus_pal_list", { limit: 25, sort: "desc", pal_type: "user" }));
|
|
438
449
|
if (!pals.length) return "You have no PALs yet.";
|
|
439
450
|
return `Your newest PALs:\n${pals.map((pal) => `• *${pal.name}* \`${pal.pal_id}\``).join("\n")}`;
|
|
440
451
|
}
|
|
@@ -519,6 +530,14 @@ async function failureMessage(
|
|
|
519
530
|
return isPrivate ? `Something went wrong: ${message.slice(0, 300)}` : "Something went wrong. Try again in a minute.";
|
|
520
531
|
}
|
|
521
532
|
|
|
533
|
+
async function sendWelcome(env: Env, identity: SlackIdentity, channel: string): Promise<void> {
|
|
534
|
+
const store = env.SLACK_LINKS?.getByName(`welcome:${linkName(identity)}`);
|
|
535
|
+
if (!store || !(await store.putIfAbsent(String(now())))) return;
|
|
536
|
+
if (await linkedAccount(env, identity).catch(() => undefined)) return;
|
|
537
|
+
const posted = await postMessage(env, identity.team_id, channel, WELCOME).catch(() => ({ ts: undefined }));
|
|
538
|
+
if (!posted.ts) await store.remove();
|
|
539
|
+
}
|
|
540
|
+
|
|
522
541
|
function hasBotTokens(event: Fields): boolean {
|
|
523
542
|
const tokens = event.tokens as { bot?: unknown } | undefined;
|
|
524
543
|
return Array.isArray(tokens?.bot) && tokens.bot.length > 0;
|
|
@@ -8,6 +8,7 @@ export interface SlackLinkStoreStub {
|
|
|
8
8
|
get(): Promise<string | null>;
|
|
9
9
|
remove(): Promise<void>;
|
|
10
10
|
removeIf(encryptedKey: string): Promise<void>;
|
|
11
|
+
putIfAbsent(value: string): Promise<boolean>;
|
|
11
12
|
run(job: string): Promise<void>;
|
|
12
13
|
claimTurn(token: string): Promise<boolean>;
|
|
13
14
|
releaseTurn(token: string): Promise<void>;
|
|
@@ -19,7 +20,7 @@ export interface SlackLinkStoreBinding {
|
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
// One object per Slack team and user holds the Tavus account key that person linked.
|
|
22
|
-
// Other names reuse the same single-slot storage: `install:` objects hold a workspace's bot token, `chat:` objects remember a chat thread and
|
|
23
|
+
// Other names reuse the same single-slot storage: `install:` objects hold a workspace's bot token, `welcome:` objects mark that a person got the welcome message, `chat:` objects remember a chat thread and
|
|
23
24
|
// `job:` objects run one slow chat turn from an alarm, which a request's 30-second background limit would cut off.
|
|
24
25
|
export class SlackLinkStore extends DurableObject {
|
|
25
26
|
constructor(ctx: DurableObjectState, env: Cloudflare.Env) {
|
|
@@ -74,6 +75,10 @@ export class SlackLinkStore extends DurableObject {
|
|
|
74
75
|
this.ctx.storage.sql.exec(`DELETE FROM link`);
|
|
75
76
|
}
|
|
76
77
|
|
|
78
|
+
putIfAbsent(value: string): boolean {
|
|
79
|
+
return this.ctx.storage.sql.exec(`INSERT OR IGNORE INTO link VALUES (1, ?) RETURNING id`, value).toArray().length === 1;
|
|
80
|
+
}
|
|
81
|
+
|
|
77
82
|
removeIf(encryptedKey: string): void {
|
|
78
83
|
this.ctx.storage.sql.exec(`DELETE FROM link WHERE encrypted_key = ?`, encryptedKey);
|
|
79
84
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const VERSION = "0.18.0"; // x-release-please-version
|
|
@@ -110,19 +110,46 @@ describe("Slack bot requests", () => {
|
|
|
110
110
|
expect(runtime.upstream.keys.length).toBe(keys);
|
|
111
111
|
});
|
|
112
112
|
|
|
113
|
-
it("
|
|
113
|
+
it("welcomes a person once the first time they open the bot's Messages tab", async () => {
|
|
114
|
+
const open = (tab: string) =>
|
|
115
|
+
event({ type: "event_callback", team_id: team, event: { type: "app_home_opened", user: "U0WELCOME", channel: "D0WELCOME", tab } });
|
|
116
|
+
const from = runtime.slack.length;
|
|
117
|
+
await open("home");
|
|
118
|
+
await new Promise((resolve) => setTimeout(resolve, 500));
|
|
119
|
+
expect(runtime.slack.slice(from).filter((entry) => entry.body.channel === "D0WELCOME")).toHaveLength(0);
|
|
120
|
+
await open("messages");
|
|
121
|
+
const welcome = await waitFor(() => posted((body) => body.channel === "D0WELCOME", from));
|
|
122
|
+
expect(String(welcome.body.text)).toContain("/tavus link");
|
|
123
|
+
await open("messages");
|
|
124
|
+
await new Promise((resolve) => setTimeout(resolve, 500));
|
|
125
|
+
expect(runtime.slack.slice(from).filter((entry) => entry.body.channel === "D0WELCOME")).toHaveLength(1);
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
it("does not send the welcome to someone who already linked Tavus", async () => {
|
|
129
|
+
await link("U0LINKED", "linked-tavus-key");
|
|
130
|
+
const from = runtime.slack.length;
|
|
131
|
+
await event({ type: "event_callback", team_id: team, event: { type: "app_home_opened", user: "U0LINKED", channel: "D0LINKED", tab: "messages" } });
|
|
132
|
+
await new Promise((resolve) => setTimeout(resolve, 500));
|
|
133
|
+
expect(runtime.slack.slice(from).filter((entry) => entry.body.channel === "D0LINKED")).toHaveLength(0);
|
|
134
|
+
});
|
|
135
|
+
|
|
136
|
+
it("lists only a linked user's own PALs, with that user's own key", async () => {
|
|
114
137
|
await link("U0ALICE", "alice-tavus-key");
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
138
|
+
let palType: string | null = null;
|
|
139
|
+
runtime.upstream.handler = (request) => {
|
|
140
|
+
const url = new URL(request.url);
|
|
141
|
+
if (!url.pathname.endsWith("/pals")) return undefined;
|
|
142
|
+
palType = url.searchParams.get("pal_type");
|
|
143
|
+
return new Response(JSON.stringify({ data: [{ persona_id: "p1", persona_name: "Sales coach" }], total_count: 1 }), {
|
|
144
|
+
headers: { "Content-Type": "application/json" },
|
|
145
|
+
});
|
|
146
|
+
};
|
|
121
147
|
const from = runtime.slack.length;
|
|
122
148
|
await slash("U0ALICE", "pals");
|
|
123
149
|
const reply = await waitFor(() => posted((body) => String(body.text).includes("Sales coach"), from));
|
|
124
150
|
expect(reply.body.response_type).toBe("ephemeral");
|
|
125
151
|
expect(runtime.upstream.keys.at(-1)).toBe("alice-tavus-key");
|
|
152
|
+
expect(palType).toBe("user");
|
|
126
153
|
});
|
|
127
154
|
|
|
128
155
|
it("starts a chat in a thread, then keeps it going when the user replies", async () => {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const VERSION = "0.17.0"; // x-release-please-version
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tavus_cli-0.17.0 → tavus_cli-0.18.0}/skills/tavus-agentic-pals/references/build-and-verify.md
RENAMED
|
File without changes
|
{tavus_cli-0.17.0 → tavus_cli-0.18.0}/skills/tavus-agentic-pals/references/builder-workflow.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tavus_cli-0.17.0 → tavus_cli-0.18.0}/workers/tavus-mcp/test/oauth-client-credentials.test.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|