amazeeio/polydock-app-amazeeclaw
最新稳定版本:v0.1.12
Composer 安装命令:
composer require amazeeio/polydock-app-amazeeclaw
包简介
Polydock App - AmazeeClaw AI
README 文档
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/Create/PreCreateAppInstanceTrait.phpsrc/Traits/Claim/ClaimAppInstanceTrait.phpsrc/Traits/UsesManualAmazeeAiCredentials.php
AmazeeClaw-specific behavior
- Adds app instance field
openclaw_default_model - Adds store-app field
openclaw_default_model; instance value overrides store-app value - Injects
AMAZEEAI_DEFAULT_MODELinto Lagoon project variables - Extracts manual AI credentials from
request_dataduring pre-create and stores them in the app instance secret - Supports both flat legacy keys (
llm_key,llm_url,backend_token,team_id,vector_db_*) and nestedai.*/vector.*secret structures - Injects these Lagoon variables when present:
AMAZEEAI_BASE_URLAMAZEEAI_API_KEYAMAZEEAI_BACKEND_API_TOKENAMAZEE_AI_TEAM_IDAMAZEEAI_DEFAULT_MODELAMAZEEAI_VECTOR_DB_HOSTAMAZEEAI_VECTOR_DB_PORTAMAZEEAI_VECTOR_DB_PASSAMAZEEAI_VECTOR_DB_USERAMAZEEAI_VECTOR_DB_NAME
- Also sets
POLYDOCK_APP_NAME,POLYDOCK_USER_EMAIL,LAGOON_FEATURE_FLAG_INSIGHTS=false, andPOLYDOCK_CLAIMED_AT - Claim-time command execution defaults to service
openclaw-gatewayand containernode; claim script output must be a valid URL - If
lagoon-deploy-project-prefixis set, pre-create normalizes the project name and generates a unique suffix when needed
Requirements
- PHP/Composer environment compatible with Polydock packages
- Dependency versions (see
composer.json), especiallyfreedomtech-hosting/polydock-app-amazeeio-generic
Development
Install/update dependencies:
composer update
When running local workflows with Docker Compose, use detached mode:
docker-compose up -d
统计信息
- 总下载量: 387
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-22