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:
@@ -254,13 +254,6 @@ RESOURCE_DEFS: dict[str, dict] = {
|
||||
"name_field": "name",
|
||||
"has_update": True,
|
||||
},
|
||||
"terminal": {
|
||||
"create_params": lambda name: {"name": name},
|
||||
"update_params": None, # No update endpoint
|
||||
"id_field": "id",
|
||||
"name_field": "name",
|
||||
"has_update": False,
|
||||
},
|
||||
}
|
||||
|
||||
# Test tiers
|
||||
@@ -268,7 +261,6 @@ TIERS: list[list[str]] = [
|
||||
["tag", "variable", "user_group"],
|
||||
["procedure", "action", "repo", "builder", "alerter", "sync_resource"],
|
||||
["server", "stack", "build", "deployment", "swarm"],
|
||||
["terminal"],
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user