Add CJYSA free Codex marketplace
This commit is contained in:
36
plugins/cjysa-relay-basic/.codex-plugin/plugin.json
Normal file
36
plugins/cjysa-relay-basic/.codex-plugin/plugin.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "cjysa-relay-basic",
|
||||
"version": "0.1.0",
|
||||
"description": "面向 Codex 中转用户的免费连接与兼容性诊断插件。",
|
||||
"author": {
|
||||
"name": "CJYSEX",
|
||||
"url": "https://github.com/CJYSEX"
|
||||
},
|
||||
"homepage": "https://github.com/CJYSEX/codex-",
|
||||
"repository": "https://github.com/CJYSEX/codex-",
|
||||
"license": "Apache-2.0",
|
||||
"keywords": [
|
||||
"codex",
|
||||
"relay",
|
||||
"responses-api",
|
||||
"diagnostics"
|
||||
],
|
||||
"skills": "./skills/",
|
||||
"interface": {
|
||||
"displayName": "CJYSA 中转基础工具",
|
||||
"shortDescription": "检测 Codex 中转连接、Responses、流式输出和工具能力。",
|
||||
"longDescription": "提供不会泄露密钥的基础诊断流程,帮助用户检查 Codex 中转地址、模型列表、Responses API、SSE 流式输出和工具能力。",
|
||||
"developerName": "CJYSEX",
|
||||
"category": "Developer Tools",
|
||||
"capabilities": [
|
||||
"Diagnostics",
|
||||
"Read"
|
||||
],
|
||||
"websiteURL": "https://github.com/CJYSEX/codex-",
|
||||
"defaultPrompt": [
|
||||
"帮我检测当前 Codex 中转配置和可用能力。",
|
||||
"检查 Responses API 和 SSE 流式输出是否正常。",
|
||||
"排查 Web Search 或图片生成为什么不可用。"
|
||||
]
|
||||
}
|
||||
}
|
||||
5
plugins/cjysa-relay-basic/README.md
Normal file
5
plugins/cjysa-relay-basic/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# CJYSA Relay Basic
|
||||
|
||||
面向 Codex 中转用户的免费基础诊断插件。
|
||||
|
||||
插件只提供诊断工作流,不保存客户密钥,也不会在未经用户明确同意时修改 Codex 配置。
|
||||
@@ -0,0 +1,58 @@
|
||||
---
|
||||
name: diagnose-codex-relay
|
||||
description: Diagnose Codex relay connectivity and compatibility without exposing credentials. Use when a user asks to test a custom API base URL, list available models, verify the Responses API or SSE streaming, investigate first-token latency, or check whether web search, image generation, and function calling are available through a relay.
|
||||
---
|
||||
|
||||
# Diagnose Codex Relay
|
||||
|
||||
Diagnose one layer at a time and report evidence instead of assuming a capability works.
|
||||
|
||||
## Safety
|
||||
|
||||
- Never print, quote, save, or commit an API key.
|
||||
- Redact authorization headers, query tokens, cookies, passwords, and signed URLs.
|
||||
- Prefer read-only health checks and minimal requests.
|
||||
- Ask before running sustained concurrency or bandwidth tests.
|
||||
- Do not modify Codex configuration unless the user explicitly asks for a change.
|
||||
|
||||
## Workflow
|
||||
|
||||
1. Identify the configured API base URL without displaying its secret.
|
||||
2. Check DNS resolution, TLS validity, and basic HTTP reachability.
|
||||
3. Request `/v1/models` and record status, elapsed time, and returned model IDs.
|
||||
4. Send a minimal synchronous request to the requested model.
|
||||
5. Test `/v1/responses` separately from Chat Completions.
|
||||
6. Test SSE streaming and measure time to the first meaningful event.
|
||||
7. Test function calling, web search, or image generation only when the user requests it.
|
||||
8. Separate client, reverse-proxy, relay, and upstream latency when diagnosing delays.
|
||||
9. Report results as passed, failed, unsupported, or not tested.
|
||||
|
||||
## Evidence
|
||||
|
||||
For each test, record:
|
||||
|
||||
- Endpoint category, without secret query parameters.
|
||||
- HTTP status or transport error.
|
||||
- Total elapsed time and first-event latency where applicable.
|
||||
- Whether valid response content was received.
|
||||
- Whether the result proves the claimed capability.
|
||||
|
||||
Do not claim web search succeeded without a returned search result or source. Do not claim image generation succeeded without a native image result or generated artifact.
|
||||
|
||||
## Diagnosis Rules
|
||||
|
||||
- `/v1/models` succeeding proves authentication and catalog access only.
|
||||
- A synchronous response does not prove SSE streaming works.
|
||||
- Chat Completions success does not prove the Responses API works.
|
||||
- A model name appearing in the catalog does not prove tool support.
|
||||
- Compare direct relay access with the public domain when isolating reverse-proxy delay.
|
||||
- When context length affects latency, compare short and long prompts separately.
|
||||
|
||||
## Output
|
||||
|
||||
Return a compact table of tests, followed by:
|
||||
|
||||
- The most likely fault layer.
|
||||
- Tests that were not performed.
|
||||
- The smallest next action.
|
||||
- A reminder to rotate any credential accidentally exposed during testing.
|
||||
@@ -0,0 +1,4 @@
|
||||
interface:
|
||||
display_name: "Codex 中转诊断"
|
||||
short_description: "检查中转连接、Responses、流式输出和工具能力"
|
||||
default_prompt: "帮我检测当前 Codex 中转配置和可用能力。"
|
||||
Reference in New Issue
Block a user