Skip to content

feat: add api token management, app class discovery, and enhanced store/app configuration#68

Open
dan2k3k4 wants to merge 58 commits intoprodfrom
openclaw-improvements
Open

feat: add api token management, app class discovery, and enhanced store/app configuration#68
dan2k3k4 wants to merge 58 commits intoprodfrom
openclaw-improvements

Conversation

@dan2k3k4
Copy link
Member

@dan2k3k4 dan2k3k4 commented Feb 19, 2026

Introduces several major features and improvements:

New Features

  • API Token Management - New Filament admin resource (ApiTokenResource) for creating and revoking API tokens with granular abilities (instances.read, instances.write, *)
  • PolydockAppClassDiscovery Service - Dynamic discovery of Polydock app classes from the classpath, enabling dropdown selection instead of manual class name entry
  • Admin Instance Creation - Ability to create app instances directly from the admin panel with full configuration support
  • Instance Configuration Fields - App classes can now define instance-specific configuration that gets stored as encrypted PolydockVariables

Store App Enhancements

  • Converted polydock_app_class to a searchable dropdown with auto-discovered classes
  • Added app_config JSON column for storing app-specific settings
  • New Lagoon script configuration fields (post-deploy, pre-upgrade, upgrade, post-upgrade, claim, pre-remove, remove)
  • Added Lagoon runtime settings: lagoon_auto_idle and lagoon_production_environment

Store Security Improvements

  • Private keys now stored encrypted via PolydockVariables instead of plaintext
  • Added derived public key display with validation
  • New API middleware EnsureInstancesReadAbility for token ability enforcement

UI Improvements

  • Added search functionality to multiple admin tables
  • Enhanced table sorting and filtering
  • Fixed null value display showing 'N/A' instead of empty values

Bug Fixes

  • Improved error logging with full exception context
  • Backfill logic for legacy app instances missing runtime defaults
  • Fixed AmazeeAiBackendRegionIdExt to return nullable string

Schnitzel and others added 30 commits February 19, 2026 14:55
fix: update response keys in RegisterController for consistency with underscore naming convention
fix error for missing lagoon-auto-idle variables, including tests
feat: add Lagoon runtime settings to Polydock Store App configuration and infolist
feat: implement API token management and access control with middleware
fix: handle null appInstance in user remote registration URL generation
chore: add amazeeio/polydock-app-amazeeclaw dependency to composer.json
chore: update dependencies in composer.json and composer.lock to latest versions
Update engine constraints and lockfile to consume 0.1.x releases of amazeeclaw, privategpt, generic, and backend client packages so patch updates no longer hit 0.0.x caret conflicts.

Co-authored-by: Cursor <cursoragent@cursor.com>
Pin polydock-app-amazeeclaw and polydock-amazeeai-backend-client-php constraints to ^0.1.1 so deployments resolve the newly released team provisioning updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
Update composer.lock to resolve amazeeio/polydock-app-amazeeclaw and freedomtech-hosting/polydock-amazeeai-backend-client-php at v0.1.1 for deployment consistency.

Co-authored-by: Cursor <cursoragent@cursor.com>
Update engine package constraints and refresh composer.lock using a Docker-based composer run, including the generated update log for deployment traceability.

Co-authored-by: Cursor <cursoragent@cursor.com>
chore: bump amazeeclaw and backend client to v0.1.2
Update polydock-app-amazeeclaw requirement and lockfile so Polydoc consumes the new store-level app-specific configuration field behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
chore: bump amazeeclaw app dependency to v0.1.3
Update dependency and lockfile to include fallback resolution of store-level openclaw default model into AMAZEEAI_DEFAULT_MODEL.

Co-authored-by: Cursor <cursoragent@cursor.com>
chore: bump amazeeclaw app dependency to v0.1.4
Schnitzel and others added 8 commits February 22, 2026 14:15
Update dependency and lockfile to include stronger project-name suffix randomness for app instance naming.

Co-authored-by: Cursor <cursoragent@cursor.com>
chore: bump amazeeclaw app dependency to v0.1.4
Update dependency and lockfile to include region-aware shared key reuse for amazeeclaw team credentials.

Co-authored-by: Cursor <cursoragent@cursor.com>
chore: bump amazeeclaw app dependency to v0.1.6
Co-authored-by: Schnitzel <750999+Schnitzel@users.noreply.github.com>
Update polydock-engine to consume the latest amazeeclaw release and refresh composer.lock via Dockerized composer to keep dependency resolution reproducible.

Co-authored-by: Cursor <cursoragent@cursor.com>
chore: bump amazeeclaw app dependency to v0.1.7
@dan2k3k4 dan2k3k4 changed the title feat: enhance registration response with additional Lagoon project details feat: add api token management, app class discovery, and enhanced store/app configuration Feb 24, 2026
Schnitzel and others added 20 commits February 24, 2026 20:09
…ddleware

Changed the route for showing instance registration from '/instances/{uuid}' to '/register/{uuid}' and added a TODO comment regarding future CRUD endpoint implementation.
Bumps [minimatch](https://github.com/isaacs/minimatch) from 9.0.5 to 9.0.7.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](isaacs/minimatch@v9.0.5...v9.0.7)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 9.0.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…h-9.0.7

Bump minimatch from 9.0.5 to 9.0.7
- chore: trigger deploy via api instead of lagoon cli
- chore: find by uuid
- chore: only cache token for 2min
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.

3 participants