fix: align all API mappings with live Core v2.3.3, close #4-#11

- Remove 72 phantom endpoints from types.ts (non-existent in live API)
- Fix 11 naming drifts (ListSyncResources→ListResourceSyncs, RunStackPull→PullStack, etc.)
- Add missing execute ops: pull_stack, deploy_stack_service (RunStackService), run_sync
- Remove phantom resource types: execution, access_request, terminal, alert
- Add komodo_copy tool (11 resource types) and komodo_rename tool (12 types)
- Add 14 new list_detail types (swarm_*, config, extra_args, etc.)
- Fix komodo-client.ts: fallback to KOMODO_INIT_ADMIN_USERNAME/PASSWORD env vars
- Rewrite references/api.md to match actual OpenAPI v2.3.3 spec
- Remove terminal from test script RESOURCE_DEFS (no longer valid resource type)
This commit is contained in:
2026-09-08 11:01:51 +00:00
parent 86e874ed6a
commit e5f1200577
11 changed files with 402 additions and 330 deletions
+10
View File
@@ -10,6 +10,16 @@ const listDetailType = z.enum([
"full_stacks", "full_builds", "full_servers", "full_deployments",
"full_procedures", "full_repos", "full_builders", "full_swarms",
"full_actions", "full_alerters", "full_resource_syncs",
// Swarm detail lists
"swarm_configs", "swarm_networks", "swarm_nodes", "swarm_secrets",
"swarm_services", "swarm_stacks", "swarm_tasks",
// Config lists
"git_providers_from_config", "image_registries_from_config",
// Extra args
"common_build_extra_args", "common_deployment_extra_args",
"common_stack_build_extra_args", "common_stack_extra_args",
// Other
"image_history", "all_stack_services",
]);
export const listDetailInputSchema = {