amazeeio / polydock-app-amazeeclaw
Polydock App - AmazeeClaw AI
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/amazeeio/polydock-app-amazeeclaw
README
This package provides the AmazeeClaw Polydock AI app implementation.
It is intentionally minimal and built on top of the generic AI app so shared lifecycle logic stays upstream and only AmazeeClaw-specific behavior lives here.
Architecture
- Base class:
FreedomtechHosting\PolydockAppAmazeeioGeneric\PolydockAiApp - Main app class:
Amazeeio\PolydockAppAmazeeclaw\PolydockAmazeeClawAiApp - Local overrides kept in this package:
src/Traits/Create/PostCreateAppInstanceTrait.phpsrc/Traits/UsesAmazeeAiBackend.php
AmazeeClaw-specific behavior
- Adds app instance field
openclaw_default_model - Injects
MAZ_OPENCLAW_DEFAULT_MODELinto Lagoon project variables - Creates/reuses an amazee.ai team (
gpt-<lagoon-project-name>) using the app instance user email - Uses team-owned LiteLLM token creation via
Client::createPrivateAIKeyToken()fromfreedomtech-hosting/polydock-amazeeai-backend-client-php - Injects:
AMAZEEAI_BASE_URLAMAZEEAI_API_KEYAMAZEE_AI_TEAM_ID
Requirements
- PHP/Composer environment compatible with Polydock packages
- Dependency versions (see
composer.json), especially:freedomtech-hosting/polydock-app-amazeeio-genericfreedomtech-hosting/polydock-amazeeai-backend-client-php ^0.1
Development
Install/update dependencies:
composer update
When running local workflows with Docker Compose, use detached mode:
docker-compose up -d