diff --git a/docs/toolhive/reference/cli/thv_client_register.md b/docs/toolhive/reference/cli/thv_client_register.md index 68d13dc..cea2429 100644 --- a/docs/toolhive/reference/cli/thv_client_register.md +++ b/docs/toolhive/reference/cli/thv_client_register.md @@ -25,10 +25,12 @@ Valid clients: - amp-windsurf: Sourcegraph Amp extension for Windsurf - claude-code: Claude Code CLI - cline: Cline extension for VS Code + - continue: Continue.dev extensions for VS Code and JetBrains - cursor: Cursor editor - goose: Goose AI agent - lm-studio: LM Studio application - roo-code: Roo Code extension for VS Code + - trae: Trae IDE - vscode: Visual Studio Code - vscode-insider: Visual Studio Code Insiders edition - windsurf: Windsurf IDE diff --git a/docs/toolhive/reference/cli/thv_client_remove.md b/docs/toolhive/reference/cli/thv_client_remove.md index a0a8d88..6f32e7f 100644 --- a/docs/toolhive/reference/cli/thv_client_remove.md +++ b/docs/toolhive/reference/cli/thv_client_remove.md @@ -25,10 +25,12 @@ Valid clients: - amp-windsurf: Sourcegraph Amp extension for Windsurf - claude-code: Claude Code CLI - cline: Cline extension for VS Code + - continue: Continue.dev extensions for VS Code and JetBrains - cursor: Cursor editor - goose: Goose AI agent - lm-studio: LM Studio application - roo-code: Roo Code extension for VS Code + - trae: Trae IDE - vscode: Visual Studio Code - vscode-insider: Visual Studio Code Insiders edition - windsurf: Windsurf IDE diff --git a/docs/toolhive/reference/cli/thv_export.md b/docs/toolhive/reference/cli/thv_export.md index ff9a2d7..db3fd7f 100644 --- a/docs/toolhive/reference/cli/thv_export.md +++ b/docs/toolhive/reference/cli/thv_export.md @@ -20,11 +20,18 @@ Export a workload's run configuration to a file for sharing or backup. The exported configuration can be used with 'thv run --from-config ' to recreate the same workload with identical settings. +You can export in different formats: +- json: Export as RunConfig JSON (default, can be used with 'thv run --from-config') +- k8s: Export as Kubernetes MCPServer resource YAML + Examples: - # Export a workload configuration to a file + # Export a workload configuration to a JSON file thv export my-server ./my-server-config.json + # Export as Kubernetes MCPServer resource + thv export my-server ./my-server.yaml --format k8s + # Export to a specific directory thv export github-mcp /tmp/configs/github-config.json @@ -35,7 +42,8 @@ thv export [flags] ### Options ``` - -h, --help help for export + --format string Export format: json or k8s (default "json") + -h, --help help for export ``` ### Options inherited from parent commands diff --git a/static/api-specs/toolhive-api.yaml b/static/api-specs/toolhive-api.yaml index ef430f2..9aee9fd 100644 --- a/static/api-specs/toolhive-api.yaml +++ b/static/api-specs/toolhive-api.yaml @@ -125,6 +125,8 @@ components: - AmpWindsurf - LMStudio - Goose + - Trae + - Continue client.MCPClientStatus: properties: client_type: @@ -146,6 +148,8 @@ components: - AmpWindsurf - LMStudio - Goose + - Trae + - Continue installed: description: Installed indicates whether the client is installed on the system @@ -1040,6 +1044,8 @@ components: - AmpWindsurf - LMStudio - Goose + - Trae + - Continue type: array uniqueItems: false type: object @@ -1090,6 +1096,8 @@ components: - AmpWindsurf - LMStudio - Goose + - Trae + - Continue type: object v1.createClientResponse: properties: @@ -1118,6 +1126,8 @@ components: - AmpWindsurf - LMStudio - Goose + - Trae + - Continue type: object v1.createGroupRequest: properties: @@ -2547,6 +2557,12 @@ paths: schema: type: string description: Logs for the specified workload + "400": + content: + application/json: + schema: + type: string + description: Invalid workload name "404": content: application/json: @@ -2556,6 +2572,42 @@ paths: summary: Get logs for a specific workload tags: - logs + /api/v1beta/workloads/{name}/proxy-logs: + get: + description: Retrieve proxy logs for a specific workload by name from the file + system. + parameters: + - description: Workload name + in: path + name: name + required: true + schema: + type: string + responses: + "200": + content: + application/json: + schema: + type: string + text/plain: + schema: + type: string + description: Proxy logs for the specified workload + "400": + content: + application/json: + schema: + type: string + description: Invalid workload name + "404": + content: + application/json: + schema: + type: string + description: Proxy logs not found for workload + summary: Get proxy logs for a specific workload + tags: + - logs /api/v1beta/workloads/{name}/restart: post: description: Restart a running workload