CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-gradio--client

JavaScript and TypeScript client library for interacting with Gradio APIs, providing methods to connect to, submit predictions to, and manage connections with Gradio applications.

96

1.11x
Quality

Pending

Does it follow best practices?

Impact

96%

1.11x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

Evaluation results

85%

Gradio API Parameter Validator

Parameter validation

Criteria
Without context
With context

Client.connect() usage

0%

0%

view_api() for schema retrieval

100%

100%

Required parameter identification

100%

100%

Invalid parameter detection

100%

100%

Positional array format support

100%

100%

Keyword object format support

100%

100%

100%

Gradio Sentiment Analyzer Client

Simple prediction (predict)

Criteria
Without context
With context

Client.connect() usage

100%

100%

predict() method call

100%

100%

Endpoint specification

100%

100%

Data parameter format

100%

100%

Promise handling

100%

100%

Error handling

100%

100%

100%

Real-time Event Stream Monitor

SSE streaming with multiple protocol versions

Criteria
Without context
With context

Client Connection

100%

100%

Stream Submission

100%

100%

Async Iteration

100%

100%

Event Type Handling

100%

100%

Event Data Access

100%

100%

Protocol Detection

100%

100%

Stream Cancellation

100%

100%

Connection Cleanup

100%

100%

100%

Space Monitor CLI

Space status monitoring and wake-up

Criteria
Without context
With context

Client.connect() usage

100%

100%

Status callback implementation

100%

100%

Authentication handling

100%

100%

Automatic wake-up

100%

100%

Status information retrieval

100%

100%

94%

-6%

Space Cloner with Hardware Configuration

Space duplication with hardware configuration

Criteria
Without context
With context

Client.duplicate() Usage

100%

100%

Authentication Token

100%

100%

Space Reference

100%

100%

Hardware Configuration

100%

100%

Privacy Setting

100%

100%

Timeout Configuration

100%

40%

Return Value Handling

100%

100%

96%

10%

Gradio Client Error Handler

Error handling

Criteria
Without context
With context

Client.connect() usage

75%

100%

Connection error detection

86%

93%

Authentication error detection

93%

93%

Prediction error handling

100%

100%

Validation error detection

73%

93%

Error categorization logic

90%

90%

Structured error response

90%

100%

100%

50%

Session-Aware Prediction Tracker

Session management

Criteria
Without context
With context

Client.connect() usage

0%

100%

Custom session hash

100%

100%

Session hash retrieval

0%

100%

predict() method usage

100%

100%

State parameter handling

100%

100%

reconnect() method usage

0%

100%

100%

2%

Gradio Space Inspector

Configuration access

Criteria
Without context
With context

Client connection

100%

100%

Configuration object access

100%

100%

API introspection

100%

100%

Endpoint parameter extraction

90%

100%

File size limits

100%

100%

80%

-10%

Real-time Gradio Event Monitor

Custom event callback registration

Criteria
Without context
With context

Client Connection

33%

0%

Submit Method Usage

100%

100%

Event Iteration

100%

100%

Event Type Handling

100%

100%

Status Event Processing

100%

100%

Data Event Processing

100%

100%

Event Count Tracking

100%

100%

Endpoint Parameter

100%

0%

100%

48%

Image Gallery Processor

Gallery component special processing

Criteria
Without context
With context

Uses prepare_files

62%

100%

Handles nested structures

50%

100%

FileData structure usage

25%

100%

Handles edge cases

70%

100%

Evaluated
Agent
Codex
Model
Unknown

Table of Contents