Skip to content

chore: update Console SDK to 0.19.0 - #187

Merged
ChiragAgg5k merged 4 commits into
mainfrom
chore/console-sdk-0.19.0
Nov 26, 2026
Merged

ChiragAgg5k merged 4 commits into
mainfrom
chore/console-sdk-0.19.0

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Updates appwrite-console from 0.18.0 to 0.19.0 (>=0.19.0,<0.20).

Catalog Before After
Hosted OAuth 43 services / 1094 tools 44 services / 1120 tools
API-key stdio 29 services / 740 tools 29 services / 740 tools (unchanged)

Added to the hosted catalog (26 tools, none removed):

  • videos_* (21): create, list, get, update, delete; create_rendition, list_renditions, get_rendition, delete_rendition; create_caption, list_captions, update_caption, delete_caption; get_hls_manifest, get_dash_manifest, get_cmaf_hls_manifest, get_cmaf_dash_manifest, get_caption_manifest, get_thumbnail, get_timeline; list_codecs
  • project_*_video_profile(s) (5): list_video_profiles, create_video_profile, get_video_profile, update_video_profile, delete_video_profile
# catalog_policy.py
PROJECT_CONTEXT_SERVICES += {"videos", "project"}   # hosted calls need project_id
API_KEY_EXCLUDED_METHODS["project"] = {...video_profile methods}   # API-key catalog unchanged

videos is not in API_KEY_SERVICES, so it stays out of API-key stdio until it is reviewed. project joins the project-scoped services because all 114 of its methods call /project/*, which acts on the client's project; before, a hosted project_* call without project_id fell back to the console project.

Tests assert the 26 tools by name (CONSOLE_SDK_0_19_TOOLS), that they are project-scoped, and that none of them reach the API-key catalog.

Checks: ruff, black, pyright (0 errors), unit (308 OK), e2e (66 OK).

Paid writes

videos_create_rendition is added to PAID_TOOLS: each call starts an encode the project is billed compute for, so it waits for the user's approval like the other paid writes.

Related: appwrite-labs/cloud#6667

Adds the videos service and the project video profile methods to the hosted catalog. Videos calls take a project_id like other project APIs. Neither has been reviewed for project API keys yet, so both stay out of the API-key catalog.
@appwrite

appwrite Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Code review

Commit Status Tier Verdict Details
5e1fd3c Reviewed Reviewed 🟢 S · Ready to merge ✅ Approved View review

The added end-to-end assertion verifies the outstanding approval-coverage concern and no issue remains in the new changes.

Updates the Appwrite Console SDK dependency to 0.19.x and adds the SDK's video and video-profile methods to the hosted tool catalog, requiring project context for hosted videos and project calls while leaving the API-key catalog unchanged. The tests cover the added catalog tools and project scope, and rendition creation is included in the paid-write approval flow. Documentation and catalog counts are updated to reflect the new SDK surface.

Latest changes: Adds an end-to-end check that videos_create_rendition prompts for user approval and makes no Appwrite request before approval.

Walkthrough (9)
File Change
AGENTS.md Updates documented hosted catalog size.
docs/appwrite-mcp-flow.svg Refreshes hosted and API-key catalog counts in the flow diagram.
docs/tool-surface.md Documents the SDK version and updated catalog counts.
pyproject.toml Updates the Console SDK dependency range to 0.19.x.
src/mcp_server_appwrite/catalog_policy.py Adds project-context requirements for hosted videos and project services and excludes new project video-profile methods from the API-key catalog.
src/mcp_server_appwrite/constants.py Classifies video rendition creation as a paid write requiring approval.
tests/e2e/test_tools.py Verifies video rendition creation requests user approval and does not call Appwrite before approval.
tests/unit/test_server.py Tests the new SDK methods, their project scope, and API-key catalog exclusion.
uv.lock Locks Console SDK 0.19.0 and updates related dependency metadata.
Fixed since the last review (1)
  • Cover approval gating for video rendition creation · src/mcp_server_appwrite/constants.py:139

Reviewed the commits since 015e9d5

Tip

Comment @appwrite review to re-run, or mention @appwrite with a question.

appwrite[bot]
appwrite Bot previously requested changes Nov 26, 2026

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Tier B · 1 blocking finding to address. Summary

Every project service method calls /project/*, which acts on the client's project. Without project context a hosted call fell back to the console project, so video profiles (and the other project settings tools) could not reach the user's project.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

Each videos_create_rendition call starts an encode the project is billed compute for, so it waits for the user's approval like the other paid writes.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Tier A · Looks good to merge. Summary

Comment thread src/mcp_server_appwrite/constants.py Resolved
@appwrite
appwrite Bot dismissed their stale review November 26, 2026 20:47

The findings that requested changes are resolved. See the summary comment for what is still open.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit b06438b into main Nov 26, 2026
7 checks passed
@ChiragAgg5k ChiragAgg5k self-assigned this Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant