Upgrade system finished
This commit is contained in:
@@ -121,10 +121,52 @@ const adminTools: ToolDef[] = [
|
||||
path: '/api/map/locations',
|
||||
tier: 2,
|
||||
},
|
||||
{
|
||||
name: 'registry_status',
|
||||
description:
|
||||
'List all Docker images stored in the Gitea container registry. ' +
|
||||
'Shows image names, available tags (commit SHAs + latest), and upload dates. ' +
|
||||
'Use to verify which image versions are available for deployment.',
|
||||
inputSchema: {},
|
||||
method: 'GET',
|
||||
path: '/api/registry/status',
|
||||
tier: 2,
|
||||
},
|
||||
{
|
||||
name: 'registry_build_push',
|
||||
description:
|
||||
'Trigger a production Docker image build and push to the Gitea registry. ' +
|
||||
'Builds api, admin, media-api, nginx (and optionally code-server), tags with ' +
|
||||
'current commit SHA + latest, then pushes to the configured registry. ' +
|
||||
'Runs in background — use registry_status to confirm completion.',
|
||||
inputSchema: {
|
||||
skipCodeServer: z.boolean().optional()
|
||||
.describe('Skip code-server image (large ~10GB, slow push). Default: omit to include all'),
|
||||
services: z.string().optional()
|
||||
.describe('Comma-separated services to build, e.g. "api,admin,nginx". Default: all'),
|
||||
},
|
||||
method: 'POST',
|
||||
path: '/api/registry/build-push',
|
||||
tier: 2,
|
||||
},
|
||||
{
|
||||
name: 'registry_mirror',
|
||||
description:
|
||||
'Mirror essential third-party Docker images (postgres, redis, nocodb, listmonk, ' +
|
||||
'prometheus, grafana, etc.) from Docker Hub to the Gitea registry. ' +
|
||||
'Protects against Docker Hub rate limits. Runs in background.',
|
||||
inputSchema: {
|
||||
all: z.boolean().optional()
|
||||
.describe('Also mirror heavy optional images: Rocket.Chat, MongoDB, n8n, Jitsi (default: false)'),
|
||||
},
|
||||
method: 'POST',
|
||||
path: '/api/registry/mirror',
|
||||
tier: 2,
|
||||
},
|
||||
];
|
||||
|
||||
export const adminPack: ToolPack = {
|
||||
name: 'admin',
|
||||
description: 'User CRUD, settings management, observability, Pangolin tunnel, Docker status',
|
||||
description: 'User CRUD, settings, observability, Pangolin, Docker status, container registry',
|
||||
tools: adminTools,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user