- Add POST /v1/console/assistant with multi-turn messages, context, and
billing plan resolution (haiku for OSS/free, sonnet for paid plans)
- Add POST /v1/console/assistant/feedback for thumbs-up/down scoring
- Configurable assistant URL via _APP_ASSISTANT_HOST env var
- _APP_ASSISTANT_ENABLED now checks Anthropic API key
- Add _APP_ASSISTANT_HOST and _APP_ASSISTANT_ANTHROPIC_API_KEY to
variables.php and docker-compose.yml
Added a check to initialize the authorization object with an empty string if it is null when processing messages in the realtime server. This ensures that the database authorization is always set, preventing potential errors during message handling.
* fix: sanitize branch names for valid domain generation
Branch names containing invalid domain characters (like '/') were being
used directly when creating VCS preview domains, resulting in invalid
domains like 'branch-abc/test.appwrite.network'. This adds a Domain
helper class that sanitizes branch names by replacing invalid characters
with hyphens before generating domains.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* refactor: use Text constants for branch name sanitization
Replace regex with explicit character validation using Utopia Text
constants for better readability and maintainability.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Move to transformation adapter
* lint
* tiny
* fix test
* ut
* use Filter
* lint
* more lint
* simplify
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Adds two overridable methods to Specs task:
- getPlatformsForPR(): controls which platforms are included when copying
spec files to the repo and creating the PR (defaults to all platforms)
- getSdksCommand(): builds the CLI command for SDK example regeneration,
allowing subclasses to customise flags like platform, sdk, and mode
- Specs task now supports --git, --message, and --branch params to push
generated specs and SDK examples to the appwrite/specs repo and create a PR
- SDKs task now supports --mode=examples to only generate and copy examples
without git push or releases
- Specs task invokes SDKs in examples mode to regenerate examples before
including them in the specs PR