Index

A B C D E F G H I L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

abort(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
请求 OpenCode Server 中止指定会话中正在运行的生成任务。
abortSession(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
请求 OpenCode Server 中止指定会话中正在运行的生成任务。
acceptDelta(String) - Method in class io.github.easy4j.opencode.api.sse.StreamingChatResponse
追加一段文本增量并通知已注册的增量消费者。
acp(String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode acp [--cwd ...]
activeSubscriptionCount() - Method in class io.github.easy4j.opencode.api.OpenCodeSseClient
返回当前活动订阅数量。
addMcpServer(String, Object) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /mcp,动态添加 MCP server。
addMcpServer(String, Object) - Method in class io.github.easy4j.opencode.OpenCodeClient
向当前 OpenCode 实例注册 MCP 服务配置,并返回服务状态。
Agent - Class in io.github.easy4j.opencode.api.model
Represents an OpenCode agent, returned by GET /agent.
Agent() - Constructor for class io.github.easy4j.opencode.api.model.Agent
 
agentCreate(String, String, String, String, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode agent create --path ... --description ... --mode ... --tools ...
agentList() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode agent list
allows(HttpLogLevel) - Method in class io.github.easy4j.opencode.OpenCodeDebugConfig
判断指定级别的日志是否允许输出。
assistant(String) - Static method in class io.github.easy4j.opencode.api.model.ChatMessage
快捷构造 assistant 消息。
attach(String, String, String, String, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode attach <url> [--dir ... --session ... --username ... --password ...]
authList() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode auth list(与 providers list 等价)
authLogin(String, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode auth login [--provider ... --method ...]
authLogout(String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode auth logout [provider]
AUTO - Enum constant in enum class io.github.easy4j.opencode.HttpResponseMode
由具体 API 根据端点类型自动选择缓冲或流式模式。
AVAILABLE - Enum constant in enum class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityStatus
CLI 可执行文件存在且版本探测命令成功。
awaitFuture(CompletableFuture<T>) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
在同步兼容入口等待异步 HTTP 结果,并保留中断状态及 SDK 异常语义。

B

BLOCKING - Enum constant in enum class io.github.easy4j.opencode.HttpResponseMode
等待响应体完整读取后再返回,适用于普通同步 REST 调用。

C

cancel() - Method in class io.github.easy4j.opencode.api.sse.SseSubscription
取消当前异步操作或 SSE 订阅。
cancel(boolean) - Method in class io.github.easy4j.opencode.api.sse.StreamingChatResponse
取消当前异步操作或 SSE 订阅。
chat() - Method in class io.github.easy4j.opencode.OpenCodeClient
获取统一的 OpenCode 聊天场景客户端。
chatCompletion(String, ChatRequest) - Method in class io.github.easy4j.opencode.api.OpenCodeChatClient
同步提交聊天请求并返回完整响应。
chatCompletion(String, ChatRequest) - Method in class io.github.easy4j.opencode.OpenCodeClient
同步提交聊天请求并返回完整响应。
chatCompletion(String, PromptRequest) - Method in class io.github.easy4j.opencode.OpenCodeClient
同步提交聊天请求并返回完整响应。
chatCompletion(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
同步提交聊天请求并返回完整响应。
chatCompletion(String, String, String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
同步提交聊天请求并返回完整响应。
chatCompletionAsync(String, ChatRequest) - Method in class io.github.easy4j.opencode.api.OpenCodeChatClient
异步完成指定会话的聊天请求。
chatCompletionAsync(String, ChatRequest) - Method in class io.github.easy4j.opencode.OpenCodeClient
异步完成指定会话的聊天请求。
chatCompletionAsync(String, PromptRequest) - Method in class io.github.easy4j.opencode.OpenCodeClient
异步提交聊天请求;网络或解析失败通过返回的 Future 传播。
chatCompletionAsync(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
异步提交聊天请求;网络或解析失败通过返回的 Future 传播。
chatCompletionStream(ChatRequest, String) - Method in class io.github.easy4j.opencode.api.OpenCodeChatClient
创建流式聊天响应,异步订阅会话事件并持续交付文本增量。
chatCompletionStream(ChatRequest, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
创建流式聊天响应,异步订阅会话事件并持续交付文本增量。
chatCompletionStream(ChatRequest, String, OpenCodeRequestContext) - Method in class io.github.easy4j.opencode.api.OpenCodeChatClient
创建流式聊天响应,异步订阅会话事件并持续交付文本增量。
chatCompletionStream(ChatRequest, String, OpenCodeRequestContext) - Method in class io.github.easy4j.opencode.OpenCodeClient
创建流式聊天响应,异步订阅会话事件并持续交付文本增量。
chatCompletionStream(ChatRequest, String, OpenCodeRequestContext, Consumer<String>) - Method in class io.github.easy4j.opencode.api.OpenCodeChatClient
在事件订阅启动前绑定增量回调,避免丢失首批分片。
chatCompletionStream(ChatRequest, String, OpenCodeRequestContext, Consumer<String>) - Method in class io.github.easy4j.opencode.OpenCodeClient
流式对话,并在订阅启动前绑定增量回调,避免丢失首批分片。
chatCompletionWithSession(ChatRequest, String) - Method in class io.github.easy4j.opencode.api.OpenCodeChatClient
复用或创建稳定会话后提交聊天请求并返回结果。
chatCompletionWithSession(ChatRequest, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
复用或创建稳定会话后提交聊天请求并返回结果。
chatCompletionWithSession(ChatRequest, String, HttpCallCancellation) - Method in class io.github.easy4j.opencode.api.OpenCodeChatClient
复用或创建稳定会话后提交聊天请求并返回结果。
chatCompletionWithSession(ChatRequest, String, HttpCallCancellation) - Method in class io.github.easy4j.opencode.OpenCodeClient
复用或创建稳定会话后提交聊天请求并返回结果。
chatCompletionWithSession(PromptRequest, String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
复用或创建稳定会话后提交聊天请求并返回结果。
chatCompletionWithSession(PromptRequest, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
复用或创建稳定会话后提交聊天请求并返回结果。
chatCompletionWithSession(PromptRequest, String, HttpCallCancellation) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
复用或创建稳定会话后提交聊天请求并返回结果。
chatCompletionWithSession(PromptRequest, String, HttpCallCancellation) - Method in class io.github.easy4j.opencode.OpenCodeClient
复用或创建稳定会话后提交聊天请求并返回结果。
chatCompletionWithSession(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
复用或创建稳定会话后提交聊天请求并返回结果。
chatCompletionWithSession(String, String, String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
复用或创建稳定会话后提交聊天请求并返回结果。
chatCompletionWithSessionAsync(ChatRequest, String, HttpCallCancellation) - Method in class io.github.easy4j.opencode.api.OpenCodeChatClient
异步查找会话并完成聊天请求。
chatCompletionWithSessionAsync(ChatRequest, String, HttpCallCancellation) - Method in class io.github.easy4j.opencode.OpenCodeClient
异步查找会话并完成聊天请求。
chatCompletionWithSessionAsync(PromptRequest, String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
异步复用或创建稳定会话后提交聊天请求,不阻塞调用线程。
chatCompletionWithSessionAsync(PromptRequest, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
异步复用或创建稳定会话后提交聊天请求,不阻塞调用线程。
ChatMessage - Class in io.github.easy4j.opencode.api.model
OpenAI Chat Completions API message object (aligned with OpenClaw/Hermes).
ChatMessage(String, String) - Constructor for class io.github.easy4j.opencode.api.model.ChatMessage
创建 chat message 实例,并按传入依赖确定资源所有权。
ChatMessageMapper - Class in io.github.easy4j.opencode.api.mapper
ChatRequest/ChatResponse(OpenAI 标准)与 PromptRequest/PromptResult(OpenCode 会话模型)互转。
ChatRequest - Class in io.github.easy4j.opencode.api.model
OpenAI Chat Completions API request body (aligned with OpenClaw/Hermes).
ChatRequest() - Constructor for class io.github.easy4j.opencode.api.model.ChatRequest
 
ChatResponse - Class in io.github.easy4j.opencode.api.model
OpenAI Chat Completions API response (aligned with OpenClaw/Hermes).
ChatResponse() - Constructor for class io.github.easy4j.opencode.api.model.ChatResponse
 
ChatResponse.Choice - Class in io.github.easy4j.opencode.api.model
响应中的一个选择。
ChatResponse.Usage - Class in io.github.easy4j.opencode.api.model
Token 使用统计。
check(OpenCodeCliConfig) - Method in class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityChecker
使用与运行时一致的配置探测 CLI。
Choice() - Constructor for class io.github.easy4j.opencode.api.model.ChatResponse.Choice
 
cli() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行OpenCode 协议数据,同步返回退出状态及输出。
cliAcp(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行acp 子命令,同步返回退出状态及输出。
cliAgentCreate(String, String, String, String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行agent create 子命令,同步返回退出状态及输出。
cliAgentList() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行agent list 子命令,同步返回退出状态及输出。
cliAttach(String, String, String, String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行attach 子命令,同步返回退出状态及输出。
cliAuthList() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行auth list 子命令,同步返回退出状态及输出。
cliAuthLogin(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行auth login 子命令,同步返回退出状态及输出。
cliAuthLogout(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行auth logout 子命令,同步返回退出状态及输出。
cliDb(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行db 子命令,同步返回退出状态及输出。
cliDbPath() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行db path 子命令,同步返回退出状态及输出。
cliDebugConfig() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行debug config 子命令,同步返回退出状态及输出。
cliDebugInfo() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行debug info 子命令,同步返回退出状态及输出。
cliDebugPaths() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行debug paths 子命令,同步返回退出状态及输出。
cliExport(String, boolean) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行export 子命令,同步返回退出状态及输出。
cliGenerate() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行generate 子命令,同步返回退出状态及输出。
cliGithubInstall() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行github install 子命令,同步返回退出状态及输出。
cliGithubRun(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行github run 子命令,同步返回退出状态及输出。
cliImport(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行import 子命令,同步返回退出状态及输出。
cliMcpAdd(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行mcp add 子命令,同步返回退出状态及输出。
cliMcpAuth(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行mcp auth 子命令,同步返回退出状态及输出。
cliMcpList() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行mcp list 子命令,同步返回退出状态及输出。
cliMcpLogout(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行mcp logout 子命令,同步返回退出状态及输出。
cliModels() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行models 子命令,同步返回退出状态及输出。
cliModels(String, boolean, boolean) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行models 子命令,同步返回退出状态及输出。
cliPr(int) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行pr 子命令,同步返回退出状态及输出。
cliProvidersList() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行providers list 子命令,同步返回退出状态及输出。
cliProvidersLogin(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行providers login 子命令,同步返回退出状态及输出。
cliProvidersLogout(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行providers logout 子命令,同步返回退出状态及输出。
cliServe() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行serve 子命令,同步返回退出状态及输出。
cliServe(Integer, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行serve 子命令,同步返回退出状态及输出。
cliSessionList() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行session list 子命令,同步返回退出状态及输出。
cliSessionList(int) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行session list 子命令,同步返回退出状态及输出。
cliStats() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行stats 子命令,同步返回退出状态及输出。
cliStats(Integer, Integer, Integer, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行stats 子命令,同步返回退出状态及输出。
cliUninstall(boolean, boolean, boolean, boolean) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行uninstall 子命令,同步返回退出状态及输出。
cliUpgrade() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行upgrade 子命令,同步返回退出状态及输出。
cliUpgrade(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行upgrade 子命令,同步返回退出状态及输出。
cliWeb() - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行web 子命令,同步返回退出状态及输出。
cliWeb(Integer, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
委托本地 OpenCode CLI 门面执行web 子命令,同步返回退出状态及输出。
close() - Method in class io.github.easy4j.opencode.api.OpenCodeChatClient
释放当前对象持有的连接、订阅或执行资源;重复调用是安全的。
close() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
释放当前对象持有的连接、订阅或执行资源;重复调用是安全的。
close() - Method in class io.github.easy4j.opencode.api.OpenCodeSseClient
取消全部订阅并释放 SSE 客户端自有资源。
close() - Method in class io.github.easy4j.opencode.api.sse.SseQueueSubscription
释放当前对象持有的连接、订阅或执行资源;重复调用是安全的。
close() - Method in class io.github.easy4j.opencode.api.sse.SseSubscription
释放当前对象持有的连接、订阅或执行资源;重复调用是安全的。
close() - Method in class io.github.easy4j.opencode.OpenCodeClient
释放当前对象持有的连接、订阅或执行资源;重复调用是安全的。
Command - Class in io.github.easy4j.opencode.api.model
Represents a registered slash command in OpenCode, corresponding to a GET /command response element.
Command() - Constructor for class io.github.easy4j.opencode.api.model.Command
 
consoleLogin(String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode console login [url]
consoleLogout(String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode console logout [email]
consoleOpen() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode console open
consoleOrgs() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode console orgs
consoleSwitch() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode console switch
create(OpenCodeHttpClientConfig) - Static method in class io.github.easy4j.opencode.OpenCodeOkHttpClientFactory
根据 OpenCode HTTP 配置创建客户端。
createSession(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
通过 OpenCode Server HTTP API 创建会话。
createSession(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 创建会话。
createSession(String, OpenCodeRequestContext) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
通过 OpenCode Server HTTP API 创建会话。
createSession(String, OpenCodeRequestContext, HttpCallCancellation) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
通过 OpenCode Server HTTP API 创建会话。
createSessionAsync(String, OpenCodeRequestContext, HttpCallCancellation) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
异步请求 OpenCode Server 创建会话;网络或解析失败通过返回的 Future 传播。

D

db(String, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode db [query] [--format json|tsv]
dbPath() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode db path
debugConfig() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode debug config
debugInfo() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode debug info
debugPaths() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode debug paths
debugScrap() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode debug scrap
debugSkill() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode debug skill
debugStartup() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode debug startup
deleteSession(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
请求 OpenCode Server 删除会话。
deleteSession(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
请求 OpenCode Server 删除会话。
disposeInstance() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /instance/dispose,释放当前 instance。
disposeInstance() - Method in class io.github.easy4j.opencode.OpenCodeClient
释放当前 OpenCode Server 实例持有的运行资源。

E

ensureSession(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
查找稳定会话键对应的会话;不存在时创建新会话。
ensureSession(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
查找稳定会话键对应的会话;不存在时创建新会话。
ensureSession(String, OpenCodeRequestContext) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
查找稳定会话键对应的会话;不存在时创建新会话。
ensureSession(String, OpenCodeRequestContext, HttpCallCancellation) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
查找稳定会话键对应的会话;不存在时创建新会话。
ensureSessionAsync(String, OpenCodeRequestContext, HttpCallCancellation) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
异步查找或创建会话。
EventHandler - Interface in io.github.easy4j.opencode.api.event
Typed callback handler for OpenCode SSE events.
EXECUTABLE_NOT_CONFIGURED - Enum constant in enum class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityStatus
配置中没有提供 CLI 可执行文件名称或路径。
EXECUTABLE_NOT_EXECUTABLE - Enum constant in enum class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityStatus
目标文件存在,但当前进程没有执行权限。
EXECUTABLE_NOT_FOUND - Enum constant in enum class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityStatus
在配置路径和系统 PATH 中均未找到可执行文件。
execute(String...) - Method in class io.github.easy4j.opencode.cli.OpenCodeCliExecutor
同步执行 CLI 命令,返回执行结果。
executeAsync(Request, Class<T>, HttpCallCancellation) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
使用 OkHttp enqueue 异步执行并反序列化对象。
executor() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
获取 CLI 执行器(用于自定义命令)。
export(String, boolean) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode export [sessionID] [--sanitize]

F

fail(Throwable) - Method in class io.github.easy4j.opencode.api.sse.StreamingChatResponse
以给定异常结束流式响应。
FAILED - Enum constant in enum class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityStatus
探测过程中发生未归类的异常。
FileContent - Class in io.github.easy4j.opencode.api.model
Represents file content returned by GET /file/content.
FileContent() - Constructor for class io.github.easy4j.opencode.api.model.FileContent
 
FileDiff - Class in io.github.easy4j.opencode.api.model
Represents a file diff entry returned by GET /session/:id/diff.
FileDiff() - Constructor for class io.github.easy4j.opencode.api.model.FileDiff
 
FileNode - Class in io.github.easy4j.opencode.api.model
Represents a file or directory node returned by GET /file or GET /file/status.
FileNode() - Constructor for class io.github.easy4j.opencode.api.model.FileNode
 
FileSearchResult - Class in io.github.easy4j.opencode.api.model
Represents a ripgrep text search result returned by GET /find.
FileSearchResult() - Constructor for class io.github.easy4j.opencode.api.model.FileSearchResult
 
find(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /find,ripgrep 文本搜索。
find(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
调用 OpenCode Server 搜索接口查找OpenCode 协议数据;未命中时返回空结果。
findFiles(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /find/file,按文件名/模式查找文件。
findFiles(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
调用 OpenCode Server 搜索接口查找文件节点;未命中时返回空结果。
findSessionByTitle(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
按 title 精确查找 session。
findSessionByTitle(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
调用 OpenCode Server 搜索接口查找标题匹配的会话;未命中时返回空结果。
findSessionByTitle(String, OpenCodeRequestContext) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
调用 OpenCode Server 搜索接口查找标题匹配的会话;未命中时返回空结果。
findSessionByTitle(String, OpenCodeRequestContext, HttpCallCancellation) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
调用 OpenCode Server 搜索接口查找标题匹配的会话;未命中时返回空结果。
findSymbols(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /find/symbol,通过 LSP 搜索工作区符号。
findSymbols(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
调用 OpenCode Server 搜索接口查找代码符号;未命中时返回空结果。
finish() - Method in class io.github.easy4j.opencode.api.sse.StreamingChatResponse
以当前累计文本正常完成流式响应。
forkSession(String, String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /session/:id/fork,从指定 message 处 fork session。
forkSession(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
从指定消息位置派生新会话,并返回服务端创建的子会话。
FormatterStatus - Class in io.github.easy4j.opencode.api.model
Represents the status of a code formatter, returned by GET /formatter.
FormatterStatus() - Constructor for class io.github.easy4j.opencode.api.model.FormatterStatus
 
forStableSession(String, String) - Static method in class io.github.easy4j.opencode.api.OpenCodeSessionKeys
固定多轮会话 key:opencode:{agentId}:{peerId}。
forStableSession(String, String, String) - Static method in class io.github.easy4j.opencode.api.OpenCodeSessionKeys
固定多轮会话 key(含渠道):opencode:{agentId}:{peerId}:{channel}。

G

generate() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode generate
getAccumulatedContent() - Method in class io.github.easy4j.opencode.api.sse.StreamingChatResponse
通过 OpenCode Server HTTP API 获取累计的流式文本。
getConfig() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /config,获取实例生效的配置。
getConfig() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取实例配置。
getConfigProviders() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /config/providers,获取已配置的 providers 列表与默认模型映射。
getConfigProviders() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取配置中的模型提供方。
getContent() - Method in class io.github.easy4j.opencode.api.model.ChatResponse
快捷获取第一选择的消息内容。
getCurrentProject() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /project/current,获取当前项目。
getCurrentProject() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取当前项目。
getFileContent(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /file/content,读取文件内容。
getFileContent(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取文件内容。
getFileStatus() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /file/status,获取项目所有文件的 git 状态。
getFileStatus() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取文件状态。
getGlobalConfig() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /global/config,获取全局配置。
getGlobalOpenCodeConfig() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取全局配置。
getMessage(String, String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /session/:id/message/:messageID,获取单条 message 详情。
getMessage(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取会话消息。
getMessages(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
通过 OpenCode Server HTTP API 获取会话消息。
getMessages(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取会话消息。
getObjectMapper() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
暴露 ObjectMapper 供转换器复用。
getOkHttpClient() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
暴露 OkHttpClient 供 SSE 客户端复用。
getOpenCodeConfig() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取配置。
getPath() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /path,获取 opencode 工作目录相关的所有路径。
getPath() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取运行路径信息。
getQueue() - Method in class io.github.easy4j.opencode.api.sse.SseQueueSubscription
通过 OpenCode Server HTTP API 获取SSE 事件队列。
getSession(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
通过 OpenCode Server HTTP API 获取会话。
getSession(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取会话。
getSessionChildren(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /session/:id/children,列出 session 的子(forked)session。
getSessionChildren(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取子会话。
getSessionDiff(String, String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /session/:id/diff,获取指定 message 之后的文件 diff。
getSessionDiff(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取会话文件差异。
getSessionStatusMap() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /session/status,获取所有 session 状态。
getSessionStatusMap() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取会话状态。
getSessionTodo(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /session/:id/todo,获取 session 的 todo 列表。
getSessionTodo(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取会话待办项。
getSubscription() - Method in class io.github.easy4j.opencode.api.sse.SseQueueSubscription
通过 OpenCode Server HTTP API 获取SSE 订阅句柄。
getTextContent() - Method in class io.github.easy4j.opencode.api.model.PromptResult
提取纯文本响应(拼接所有 type=text 的 part)。
getVcs() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /vcs,获取当前工作目录的 VCS 信息。
getVcs() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 获取版本控制状态。
githubInstall() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode github install
githubRun(String, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode github run [--event ... --token ...]
globalDispose() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /global/dispose,释放所有 instance。
globalDispose() - Method in class io.github.easy4j.opencode.OpenCodeClient
请求 OpenCode Server 释放全部全局实例资源。
globalUpgrade(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /global/upgrade,升级 opencode。
globalUpgrade(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
请求 OpenCode Server 将全局安装升级到指定目标版本。

H

health() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
同步查询 OpenCode Server 的健康状态和版本信息。
health() - Method in class io.github.easy4j.opencode.OpenCodeClient
同步查询 OpenCode Server 的健康状态和版本信息。
healthAsync() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
异步检查 OpenCode Server 健康状态。
healthAsync() - Method in class io.github.easy4j.opencode.OpenCodeClient
异步检查 OpenCode Server 健康状态。
HealthStatus - Class in io.github.easy4j.opencode.api.model
Represents the health check response from the OpenCode Server (GET /global/health).
HealthStatus() - Constructor for class io.github.easy4j.opencode.api.model.HealthStatus
 
help() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode --help
HttpCallCancellation - Interface in io.github.easy4j.opencode
Binds a business-layer cancellation signal to a single OpenCode HTTP call.
HttpResponseMode - Enum Class in io.github.easy4j.opencode
HTTP 对话响应模式。

I

importSession(String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode import <file>
initProjectGit() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /project/git/init,为当前项目初始化 git 仓库。
initProjectGit() - Method in class io.github.easy4j.opencode.OpenCodeClient
请求 OpenCode Server 在当前项目目录初始化 Git 仓库。
initSession(String, String, String, String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /session/:id/init,用首个 message 初始化 session(创建 AGENTS.md)。
initSession(String, String, String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
使用指定消息和模型初始化会话上下文及 AGENTS.md。
io.github.easy4j.opencode - package io.github.easy4j.opencode
 
io.github.easy4j.opencode.api - package io.github.easy4j.opencode.api
 
io.github.easy4j.opencode.api.event - package io.github.easy4j.opencode.api.event
 
io.github.easy4j.opencode.api.mapper - package io.github.easy4j.opencode.api.mapper
 
io.github.easy4j.opencode.api.model - package io.github.easy4j.opencode.api.model
 
io.github.easy4j.opencode.api.sse - package io.github.easy4j.opencode.api.sse
 
io.github.easy4j.opencode.cli - package io.github.easy4j.opencode.cli
 
io.github.easy4j.opencode.cli.availability - package io.github.easy4j.opencode.cli.availability
 
io.github.easy4j.opencode.exception - package io.github.easy4j.opencode.exception
 
isActive() - Method in class io.github.easy4j.opencode.api.sse.SseSubscription
判断当前订阅是否仍可接收事件。
isAvailable() - Method in class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityReport
根据探测状态判断本地 OpenCode CLI 是否可以执行命令。
isCancelled() - Method in interface io.github.easy4j.opencode.HttpCallCancellation
Returns whether this cancellation has been triggered.
isCliEnabled() - Method in class io.github.easy4j.opencode.OpenCodeClient
CLI 子系统是否启用。
isHttpEnabled() - Method in class io.github.easy4j.opencode.OpenCodeClient
HTTP 子系统是否启用。
isSuccess() - Method in class io.github.easy4j.opencode.cli.OpenCodeCliResult
判断 CLI 进程是否以零状态码正常结束。

L

listAgents() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
通过 OpenCode Server HTTP API 查询智能体;无数据时返回空集合。
listAgents() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询智能体;无数据时返回空集合。
listCommands() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /command,列出已注册的 slash commands。
listCommands() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询斜杠命令;无数据时返回空集合。
listFiles(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /file,列出指定目录下的文件/目录树。
listFiles(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询文件节点;无数据时返回空集合。
listFormatters() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /formatter,列出 formatter 状态。
listFormatters() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询格式化器状态;无数据时返回空集合。
listLsps() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /lsp,列出 LSP 服务器状态。
listLsps() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询语言服务器状态;无数据时返回空集合。
listMcpServers() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /mcp,列出 MCP 服务器状态。
listMcpServers() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询MCP 服务;无数据时返回空集合。
listPermissions() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /permission,列出所有待审批权限请求。
listPermissions() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询待处理权限;无数据时返回空集合。
listProjects() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /project,列出所有已知项目。
listProjects() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询项目;无数据时返回空集合。
listProviderAuthMethods() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /provider/auth,获取每个 provider 的可用认证方式。
listProviderAuthMethods() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询模型提供方认证方式;无数据时返回空集合。
listProviders() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /provider,获取 providers 列表 + 默认 provider/model 映射 + 已连接 provider。
listProviders() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询模型提供方;无数据时返回空集合。
listQuestions() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /question,列出所有待回答的问题。
listQuestions() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询待回答问题;无数据时返回空集合。
listSessions() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
通过 OpenCode Server HTTP API 查询会话;无数据时返回空集合。
listSessions() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询会话;无数据时返回空集合。
listSessions(String, Integer, Integer) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
分页/过滤列出 sessions,对齐 Hermes listSessions(limit, offset, source, includeChildren)。
listSessions(String, Integer, Integer) - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询会话;无数据时返回空集合。
listSessions(String, Integer, Integer, OpenCodeRequestContext) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
通过 OpenCode Server HTTP API 查询会话;无数据时返回空集合。
listSessionsAsync(String, Integer, Integer, OpenCodeRequestContext, HttpCallCancellation) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
异步分页列出会话。
listSkills() - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
GET /skill,列出已注册的 skills。
listSkills() - Method in class io.github.easy4j.opencode.OpenCodeClient
通过 OpenCode Server HTTP API 查询技能;无数据时返回空集合。
LspStatus - Class in io.github.easy4j.opencode.api.model
Represents the status of an LSP server, returned by GET /lsp.
LspStatus() - Constructor for class io.github.easy4j.opencode.api.model.LspStatus
 

M

mcpAdd(String, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode mcp add <name> ... 远程 MCP server(url 形式)。
mcpAddLocal(String, String...) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode mcp add <name> 后接本地命令(exec 形式)。
mcpAuth(String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode mcp auth [name]
mcpDebug(String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode mcp debug <name>
mcpList() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode mcp list
mcpLogout(String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode mcp logout [name]
McpStatus - Class in io.github.easy4j.opencode.api.model
Represents the status of an MCP server, returned by GET /mcp.
McpStatus() - Constructor for class io.github.easy4j.opencode.api.model.McpStatus
 
Message - Class in io.github.easy4j.opencode.api.model
Represents an OpenCode message within a session.
Message() - Constructor for class io.github.easy4j.opencode.api.model.Message
 
MessageInfo - Class in io.github.easy4j.opencode.api.model
Detailed information for a single message, returned by GET /session/:id/message/:messageID.
MessageInfo() - Constructor for class io.github.easy4j.opencode.api.model.MessageInfo
 
ModelRef() - Constructor for class io.github.easy4j.opencode.api.model.PromptRequest.ModelRef
 
models() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode models
models(String, boolean, boolean) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode models <provider> [--verbose] [--refresh]

N

NON_ZERO_EXIT - Enum constant in enum class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityStatus
版本探测命令已运行,但以非零状态码退出。

O

ofDirectory(String) - Static method in class io.github.easy4j.opencode.api.OpenCodeRequestContext
创建只包含工作目录的请求上下文。
ofText(String) - Static method in class io.github.easy4j.opencode.api.model.PromptRequest
快捷构造:纯文本 prompt。
ofText(String, String, String) - Static method in class io.github.easy4j.opencode.api.model.PromptRequest
快捷构造:带模型的纯文本 prompt。
ofUser(String) - Static method in class io.github.easy4j.opencode.api.model.ChatRequest
快捷构造:单条 user 消息。
ofUser(String, String) - Static method in class io.github.easy4j.opencode.api.model.ChatRequest
快捷构造:单条 user 消息 + 模型。
onCancel(Runnable) - Method in class io.github.easy4j.opencode.api.sse.StreamingChatResponse
绑定底层 EventSource 取消动作。
onCancel(Runnable) - Method in interface io.github.easy4j.opencode.HttpCallCancellation
Registers a cancellation callback and returns a handle to unregister it.
onDelta(Consumer<String>) - Method in class io.github.easy4j.opencode.api.sse.StreamingChatResponse
注册文本增量消费者;后续到达的增量按接收顺序同步通知该消费者。
onEvent(SseEvent) - Method in interface io.github.easy4j.opencode.api.event.EventHandler
任一事件到达时优先触发(最早)。
onFileDiff(String, SseEvent) - Method in interface io.github.easy4j.opencode.api.event.EventHandler
文件 diff 事件。
onMessage(String, String, SseEvent) - Method in interface io.github.easy4j.opencode.api.event.EventHandler
Message 创建事件(user / assistant)。
onPermissionRequested(String, String, SseEvent) - Method in interface io.github.easy4j.opencode.api.event.EventHandler
处理 permission requested 事件;默认实现不执行操作。
onQuestionRequested(String, String, SseEvent) - Method in interface io.github.easy4j.opencode.api.event.EventHandler
处理 question requested 事件;默认实现不执行操作。
onSessionError(String, String, SseEvent) - Method in interface io.github.easy4j.opencode.api.event.EventHandler
session 发生错误时触发。
onSessionIdle(String, SseEvent) - Method in interface io.github.easy4j.opencode.api.event.EventHandler
session 进入 idle 状态(agent loop 完成)时触发。
onSessionStatus(String, String, SseEvent) - Method in interface io.github.easy4j.opencode.api.event.EventHandler
Session 状态变更(idle / running / retry / compacting)。
onTextDelta(String, SseEvent) - Method in interface io.github.easy4j.opencode.api.event.EventHandler
文本增量(message.part.updated / text.delta 等)。
onToolCall(String, Map<String, Object>, SseEvent) - Method in interface io.github.easy4j.opencode.api.event.EventHandler
工具调用(tool_use part)。
onToolResult(String, Object, SseEvent) - Method in interface io.github.easy4j.opencode.api.event.EventHandler
工具调用结果(tool_result part)。
OpenCodeCallbackParser - Class in io.github.easy4j.opencode.api.mapper
Parses callback JSON from OpenCode AI text responses.
OpenCodeCallbackParser() - Constructor for class io.github.easy4j.opencode.api.mapper.OpenCodeCallbackParser
 
OpenCodeChatClient - Class in io.github.easy4j.opencode.api
OpenCode 聊天场景客户端,统一提供完整响应与流式响应。
OpenCodeChatClient(OpenCodeHttpClientConfig) - Constructor for class io.github.easy4j.opencode.api.OpenCodeChatClient
创建 open code chat client 实例,并按传入依赖确定资源所有权。
OpenCodeChatClient(OpenCodeHttpClientConfig, ObjectMapper, OkHttpClient) - Constructor for class io.github.easy4j.opencode.api.OpenCodeChatClient
创建 open code chat client 实例,并按传入依赖确定资源所有权。
OpenCodeChatClient(OpenCodeHttpClientConfig, ObjectMapper, OkHttpClient, OpenCodeSseClient) - Constructor for class io.github.easy4j.opencode.api.OpenCodeChatClient
创建 open code chat client 实例,并按传入依赖确定资源所有权。
OpenCodeCli - Class in io.github.easy4j.opencode.cli
Facade for the local opencode CLI commands.
OpenCodeCli(OpenCodeCliExecutor) - Constructor for class io.github.easy4j.opencode.cli.OpenCodeCli
创建 open code cli 实例,并按传入依赖确定资源所有权。
OpenCodeCliAvailabilityChecker - Class in io.github.easy4j.opencode.cli.availability
Checks whether the local opencode CLI is installed and can execute opencode --version.
OpenCodeCliAvailabilityChecker() - Constructor for class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityChecker
 
OpenCodeCliAvailabilityReport - Class in io.github.easy4j.opencode.cli.availability
Report produced by the CLI availability probe during startup or readiness checks.
OpenCodeCliAvailabilityReport() - Constructor for class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityReport
 
OpenCodeCliAvailabilityStatus - Enum Class in io.github.easy4j.opencode.cli.availability
Enumeration of possible outcomes from an OpenCode CLI availability probe.
OpenCodeCliConfig - Class in io.github.easy4j.opencode
Configuration for the local OpenCode CLI subsystem.
OpenCodeCliConfig() - Constructor for class io.github.easy4j.opencode.OpenCodeCliConfig
使用独立的默认调试策略创建配置。
OpenCodeCliConfig(OpenCodeDebugConfig) - Constructor for class io.github.easy4j.opencode.OpenCodeCliConfig
使用指定调试策略创建配置。
OpenCodeClient - Class in io.github.easy4j.opencode
Facade client for OpenCode: HTTP Server + SSE event stream + local CLI.
OpenCodeClient(OpenCodeCliConfig) - Constructor for class io.github.easy4j.opencode.OpenCodeClient
仅 CLI 子系统(HTTP 禁用)。
OpenCodeClient(OpenCodeCliConfig, ObjectMapper, OkHttpClient) - Constructor for class io.github.easy4j.opencode.OpenCodeClient
仅 CLI 子系统(HTTP 禁用),强制注入共享 ObjectMapper 与 OkHttpClient。
OpenCodeClient(OpenCodeClientConfig) - Constructor for class io.github.easy4j.opencode.OpenCodeClient
组合配置,自动创建默认 ObjectMapper 与 OkHttpClient。
OpenCodeClient(OpenCodeClientConfig, ObjectMapper, OkHttpClient) - Constructor for class io.github.easy4j.opencode.OpenCodeClient
组合配置,强制注入共享 ObjectMapper 与 OkHttpClient。
OpenCodeClient(OpenCodeClientConfig, OpenCodeHttpClient, OpenCodeSseClient, OpenCodeCli) - Constructor for class io.github.easy4j.opencode.OpenCodeClient
全量依赖注入(用于测试或自定义组件)。
OpenCodeClient(OpenCodeHttpClientConfig) - Constructor for class io.github.easy4j.opencode.OpenCodeClient
仅 HTTP 子系统(CLI 禁用)。
OpenCodeClient(OpenCodeHttpClientConfig, ObjectMapper, OkHttpClient) - Constructor for class io.github.easy4j.opencode.OpenCodeClient
仅 HTTP 子系统(CLI 禁用),强制注入共享 ObjectMapper 与 OkHttpClient。
OpenCodeClient(OpenCodeHttpClientConfig, OpenCodeCliConfig) - Constructor for class io.github.easy4j.opencode.OpenCodeClient
HTTP + CLI 子系统。
OpenCodeClient(OpenCodeHttpClientConfig, OpenCodeCliConfig, ObjectMapper, OkHttpClient) - Constructor for class io.github.easy4j.opencode.OpenCodeClient
HTTP + CLI 子系统,强制注入共享 ObjectMapper 与 OkHttpClient。
OpenCodeClientConfig - Class in io.github.easy4j.opencode
Unified configuration POJO for the OpenCode client.
OpenCodeClientConfig() - Constructor for class io.github.easy4j.opencode.OpenCodeClientConfig
 
OpenCodeCliExecutor - Class in io.github.easy4j.opencode.cli
Executor for the local opencode CLI subprocess.
OpenCodeCliExecutor(OpenCodeCliConfig) - Constructor for class io.github.easy4j.opencode.cli.OpenCodeCliExecutor
创建 open code cli executor 实例,并按传入依赖确定资源所有权。
OpenCodeCliResult - Class in io.github.easy4j.opencode.cli
Represents the result of a local opencode CLI command execution.
OpenCodeCliResult() - Constructor for class io.github.easy4j.opencode.cli.OpenCodeCliResult
 
OpenCodeCliStartupException - Exception in io.github.easy4j.opencode.exception
Thrown during application startup when the OpenCode CLI is unavailable and fail-fast is enabled.
OpenCodeCliStartupException(String, OpenCodeCliAvailabilityReport) - Constructor for exception io.github.easy4j.opencode.exception.OpenCodeCliStartupException
创建 open code cli startup exception 实例,并按传入依赖确定资源所有权。
OpenCodeConfig - Class in io.github.easy4j.opencode.api.model
Represents the OpenCode global or instance configuration, returned by GET /config and GET /global/config.
OpenCodeConfig() - Constructor for class io.github.easy4j.opencode.api.model.OpenCodeConfig
 
OpenCodeDebugConfig - Class in io.github.easy4j.opencode
OpenCode SDK 统一调试配置,用于控制生命周期、请求头和正文日志。
OpenCodeDebugConfig() - Constructor for class io.github.easy4j.opencode.OpenCodeDebugConfig
 
OpenCodeException - Exception in io.github.easy4j.opencode.exception
Base exception for the OpenCode SDK.
OpenCodeException(String) - Constructor for exception io.github.easy4j.opencode.exception.OpenCodeException
创建 open code exception 实例,并按传入依赖确定资源所有权。
OpenCodeException(String, Throwable) - Constructor for exception io.github.easy4j.opencode.exception.OpenCodeException
创建 open code exception 实例,并按传入依赖确定资源所有权。
OpenCodeHttpClient - Class in io.github.easy4j.opencode.api
HTTP client for the OpenCode Server REST API.
OpenCodeHttpClient(OpenCodeHttpClientConfig, ObjectMapper, OkHttpClient) - Constructor for class io.github.easy4j.opencode.api.OpenCodeHttpClient
创建 open code http client 实例,并按传入依赖确定资源所有权。
OpenCodeHttpClientConfig - Class in io.github.easy4j.opencode
Configuration for the OpenCode HTTP Server client.
OpenCodeHttpClientConfig() - Constructor for class io.github.easy4j.opencode.OpenCodeHttpClientConfig
使用默认关闭的调试配置创建 HTTP 配置。
OpenCodeHttpClientConfig(OpenCodeDebugConfig) - Constructor for class io.github.easy4j.opencode.OpenCodeHttpClientConfig
使用客户端级共享调试配置创建 HTTP 配置。
OpenCodeHttpException - Exception in io.github.easy4j.opencode.exception
Exception thrown when an OpenCode HTTP request fails.
OpenCodeHttpException(int, String) - Constructor for exception io.github.easy4j.opencode.exception.OpenCodeHttpException
创建 open code http exception 实例,并按传入依赖确定资源所有权。
OpenCodeHttpException(String, Throwable) - Constructor for exception io.github.easy4j.opencode.exception.OpenCodeHttpException
创建 open code http exception 实例,并按传入依赖确定资源所有权。
OpenCodeOkHttpClientFactory - Class in io.github.easy4j.opencode
Factory for creating OkHttpClient instances used by the OpenCode SDK in standalone mode.
OpenCodePath - Class in io.github.easy4j.opencode.api.model
Represents OpenCode working directory paths, returned by GET /path.
OpenCodePath() - Constructor for class io.github.easy4j.opencode.api.model.OpenCodePath
 
OpenCodeRequestContext - Class in io.github.easy4j.opencode.api
OpenCode 单次请求上下文。
OpenCodeRequestContext() - Constructor for class io.github.easy4j.opencode.api.OpenCodeRequestContext
 
OpenCodeSessionKeys - Class in io.github.easy4j.opencode.api
OpenCode 会话 key 命名工具,对齐 OpenClawSessionKeys 的设计。
OpenCodeSseClient - Class in io.github.easy4j.opencode.api
OpenCode Server SSE 客户端,负责事件订阅、过滤、取消和资源回收。
OpenCodeSseClient(OpenCodeHttpClientConfig) - Constructor for class io.github.easy4j.opencode.api.OpenCodeSseClient
使用 SDK 自建 OkHttpClient 创建 SSE 客户端。
OpenCodeSseClient(OpenCodeHttpClientConfig, ObjectMapper, OkHttpClient) - Constructor for class io.github.easy4j.opencode.api.OpenCodeSseClient
使用共享 ObjectMapper 和 OkHttpClient 创建 SSE 客户端。

P

parseFromPromptResult(PromptResult) - Method in class io.github.easy4j.opencode.api.mapper.OpenCodeCallbackParser
从 PromptResult 中提取文本内容并解析为 Map。
parseFromText(String) - Method in class io.github.easy4j.opencode.api.mapper.OpenCodeCallbackParser
从纯文本中尝试提取并解析 JSON。
Part - Class in io.github.easy4j.opencode.api.model
Represents a part of an OpenCode message (text, tool_use, tool_result, etc.).
Part() - Constructor for class io.github.easy4j.opencode.api.model.Part
 
PermissionRequest - Class in io.github.easy4j.opencode.api.model
Represents a pending permission request, returned by GET /permission.
PermissionRequest() - Constructor for class io.github.easy4j.opencode.api.model.PermissionRequest
 
plugin(String, boolean, boolean) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode plugin <module> [--global] [--force]
pr(int) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode pr <number>
probe() - Method in class io.github.easy4j.opencode.cli.OpenCodeCliExecutor
探测 CLI 是否可用(执行 opencode --version)。
Project - Class in io.github.easy4j.opencode.api.model
Represents an OpenCode project, returned by GET /project and GET /project/current.
Project() - Constructor for class io.github.easy4j.opencode.api.model.Project
 
prompt(String, PromptRequest) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
向指定会话同步提交 Prompt,并等待 OpenCode Server 返回完整生成结果。
prompt(String, PromptRequest, HttpCallCancellation) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
向指定会话同步提交 Prompt,并等待 OpenCode Server 返回完整生成结果。
promptAsync(String, PromptRequest) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
向指定会话提交无需等待正文的异步 Prompt 请求。
promptAsync(String, PromptRequest, OpenCodeRequestContext) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
向指定会话提交无需等待正文的异步 Prompt 请求。
promptCompletionAsync(String, PromptRequest, HttpCallCancellation) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
异步发送消息并等待完整 Prompt 结果。
PromptRequest - Class in io.github.easy4j.opencode.api.model
Request body for sending a message to the OpenCode Server (POST /session/:id/message).
PromptRequest() - Constructor for class io.github.easy4j.opencode.api.model.PromptRequest
 
PromptRequest.ModelRef - Class in io.github.easy4j.opencode.api.model
模型提供方与模型 ID 的协议引用。
PromptResult - Class in io.github.easy4j.opencode.api.model
Response body from the OpenCode Server prompt endpoint (POST /session/:id/message).
PromptResult() - Constructor for class io.github.easy4j.opencode.api.model.PromptResult
 
Provider - Class in io.github.easy4j.opencode.api.model
Represents an OpenCode provider, returned by GET /provider.
Provider() - Constructor for class io.github.easy4j.opencode.api.model.Provider
 
ProviderAuthAuthorization - Class in io.github.easy4j.opencode.api.model
Represents a provider OAuth authorization response, returned by POST /provider/:id/oauth/authorize.
ProviderAuthAuthorization() - Constructor for class io.github.easy4j.opencode.api.model.ProviderAuthAuthorization
 
ProviderAuthMethod - Class in io.github.easy4j.opencode.api.model
Represents a provider authentication method, returned in GET /provider/auth.
ProviderAuthMethod() - Constructor for class io.github.easy4j.opencode.api.model.ProviderAuthMethod
 
ProviderList - Class in io.github.easy4j.opencode.api.model
Container for the OpenCode provider list, returned by GET /provider.
ProviderList() - Constructor for class io.github.easy4j.opencode.api.model.ProviderList
 
providerOAuthAuthorize(String, String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /provider/:id/oauth/authorize,启动 provider OAuth 授权。
providerOAuthAuthorize(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
启动指定模型提供方的 OAuth 授权流程,并返回访问地址及校验状态。
providerOAuthCallback(String, String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /provider/:id/oauth/callback,处理 OAuth 回调。
providerOAuthCallback(String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
向 OpenCode Server 提交模型提供方 OAuth 回调授权码。
providerOAuthCallbackAsync(String, String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
异步处理 provider OAuth 回调。
providersList() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode providers list
providersLogin(String, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode providers login [--provider ... --method ...]
providersLogout(String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode providers logout [provider]

Q

QuestionOption() - Constructor for class io.github.easy4j.opencode.api.model.QuestionRequest.QuestionOption
 
QuestionRequest - Class in io.github.easy4j.opencode.api.model
Represents a pending question request, returned by GET /question.
QuestionRequest() - Constructor for class io.github.easy4j.opencode.api.model.QuestionRequest
 
QuestionRequest.QuestionOption - Class in io.github.easy4j.opencode.api.model
选项。

R

rejectQuestion(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /question/:id/reject,拒绝回答问题。
rejectQuestion(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
拒绝question请求。
removeAuth(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
DELETE /auth/:id,清除 provider 凭证。
removeAuth(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
请求 OpenCode Server 删除认证信息。
replyPermission(String, String, boolean) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /permission/:id/reply,回复权限请求。
replyPermission(String, String, boolean) - Method in class io.github.easy4j.opencode.OpenCodeClient
回复permission请求。
replyQuestion(String, List<String>) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /question/:id/reply,回复问题。
replyQuestion(String, List<String>) - Method in class io.github.easy4j.opencode.OpenCodeClient
回复question请求。
resolveMaxContentLength() - Method in class io.github.easy4j.opencode.OpenCodeDebugConfig
返回经过下限保护的正文日志长度。
resolvePassword() - Method in class io.github.easy4j.opencode.OpenCodeHttpClientConfig
解析用于 HTTP Basic Auth 的密码。
revertSession(String, String, String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /session/:id/revert,回退到指定 message(可指定 part)。
revertSession(String, String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
将会话回退到指定消息或消息片段。
run(String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode run <message>
run(String, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode run --model <model> <message>
run(String, String, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode run --agent <agent> --model <model> <message>
runJson(String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode run --format json <message>
runJson(String, String, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode run --format json --session <sessionId> --message <message>
runSessionCommand(String, String, String, String, String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /session/:id/command,向 session 发送 slash command。
runSessionCommand(String, String, String, String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
在指定会话中执行斜杠命令,并返回生成结果。

S

serve(Integer, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode serve [--port N --hostname H]
Session - Class in io.github.easy4j.opencode.api.model
Represents an OpenCode session.
Session() - Constructor for class io.github.easy4j.opencode.api.model.Session
 
sessionDelete(String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode session delete <sessionId>
sessionList() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode session list --format json
sessionList(int) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode session list --max-count <n> --format json
SessionStatus - Class in io.github.easy4j.opencode.api.model
Represents the status of a single session, returned in GET /session/status.
SessionStatus() - Constructor for class io.github.easy4j.opencode.api.model.SessionStatus
 
SessionTodo - Class in io.github.easy4j.opencode.api.model
Represents a session todo item, returned by GET /session/:id/todo.
SessionTodo() - Constructor for class io.github.easy4j.opencode.api.model.SessionTodo
 
setAuth(String, Object) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
PUT /auth/:id,设置 provider 凭证。
setAuth(String, Object) - Method in class io.github.easy4j.opencode.OpenCodeClient
保存指定模型提供方的认证配置。
setAuthAsync(String, Object) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
异步设置 provider 凭证。
shareSession(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /session/:id/share,创建可分享链接。
shareSession(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
为指定会话启用共享,并返回更新后的会话信息。
shutdown(OkHttpClient) - Static method in class io.github.easy4j.opencode.OpenCodeOkHttpClientFactory
释放 SDK 自建客户端资源。
Skill - Class in io.github.easy4j.opencode.api.model
Represents a registered skill in OpenCode, returned by GET /skill.
Skill() - Constructor for class io.github.easy4j.opencode.api.model.Skill
 
SPAWN_FAILED - Enum constant in enum class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityStatus
操作系统拒绝或无法启动 CLI 子进程。
sse() - Method in class io.github.easy4j.opencode.OpenCodeClient
获取统一的 OpenCode SSE 场景客户端。
SseEvent - Class in io.github.easy4j.opencode.api.sse
OpenCode Server 通过 SSE 传输的事件。
SseEvent() - Constructor for class io.github.easy4j.opencode.api.sse.SseEvent
 
SseQueueSubscription - Class in io.github.easy4j.opencode.api.sse
同时持有事件队列和取消句柄的 SSE 队列订阅。
SseQueueSubscription(BlockingQueue<SseEvent>, SseSubscription) - Constructor for class io.github.easy4j.opencode.api.sse.SseQueueSubscription
创建 sse queue subscription 实例,并按传入依赖确定资源所有权。
SseSubscription - Class in io.github.easy4j.opencode.api.sse
可取消且幂等关闭的 OpenCode SSE 订阅句柄。
SseSubscription(Runnable) - Constructor for class io.github.easy4j.opencode.api.sse.SseSubscription
创建 sse subscription 实例,并按传入依赖确定资源所有权。
stats(Integer, Integer, Integer, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode stats [--days ... --tools ... --models ... --project ...]
STREAM - Enum constant in enum class io.github.easy4j.opencode.HttpResponseMode
保持响应连接并逐段消费数据,适用于 SSE 或其他流式响应。
StreamingChatResponse - Class in io.github.easy4j.opencode.api.sse
OpenCode 流式聊天响应,逐段回调并在结束时返回累积全文。
StreamingChatResponse() - Constructor for class io.github.easy4j.opencode.api.sse.StreamingChatResponse
 
subscribeEvents(Consumer<SseEvent>) - Method in class io.github.easy4j.opencode.api.OpenCodeSseClient
订阅全局事件流。
subscribeEvents(Consumer<SseEvent>, OpenCodeRequestContext) - Method in class io.github.easy4j.opencode.api.OpenCodeSseClient
使用请求上下文订阅全局事件流。
subscribeEventsQueue(OpenCodeRequestContext) - Method in class io.github.easy4j.opencode.api.OpenCodeSseClient
创建带有界队列的全局事件订阅。
subscribeEventTypes(Set<String>, Consumer<SseEvent>) - Method in class io.github.easy4j.opencode.api.OpenCodeSseClient
订阅指定类型集合中的事件。
subscribeEventTypes(Set<String>, Consumer<SseEvent>, OpenCodeRequestContext) - Method in class io.github.easy4j.opencode.api.OpenCodeSseClient
使用请求上下文订阅指定类型集合中的事件。
subscribeSessionEvents(String, EventHandler) - Method in class io.github.easy4j.opencode.api.OpenCodeSseClient
使用类型化处理器订阅指定 session 的事件。
subscribeSessionEvents(String, EventHandler, OpenCodeRequestContext) - Method in class io.github.easy4j.opencode.api.OpenCodeSseClient
使用请求上下文和类型化处理器订阅指定 session 的事件。
subscribeSessionEvents(String, Consumer<SseEvent>) - Method in class io.github.easy4j.opencode.api.OpenCodeSseClient
订阅指定 session 的事件。
subscribeSessionEvents(String, Consumer<SseEvent>, OpenCodeRequestContext) - Method in class io.github.easy4j.opencode.api.OpenCodeSseClient
使用请求上下文订阅指定 session 的事件。
summarizeSession(String, String, String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /session/:id/summarize,对 session 进行 AI 摘要压缩。
summarizeSession(String, String, String) - Method in class io.github.easy4j.opencode.OpenCodeClient
使用指定模型压缩会话上下文,以降低后续请求的上下文长度。
Symbol - Class in io.github.easy4j.opencode.api.model
Represents an LSP workspace symbol, returned by GET /find/symbol.
Symbol() - Constructor for class io.github.easy4j.opencode.api.model.Symbol
 
system(String) - Static method in class io.github.easy4j.opencode.api.model.ChatMessage
快捷构造 system 消息。

T

TIMEOUT - Enum constant in enum class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityStatus
版本探测命令未在配置的超时时间内结束。
toChatResponse(PromptResult) - Static method in class io.github.easy4j.opencode.api.mapper.ChatMessageMapper
PromptResult → ChatResponse。
toDiagnosticMessage() - Method in class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityReport
构造面向日志/异常的诊断文本。
toPromptRequest(ChatRequest) - Static method in class io.github.easy4j.opencode.api.mapper.ChatMessageMapper
ChatRequest → PromptRequest。

U

uninstall(boolean, boolean, boolean, boolean) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode uninstall [--keep-config] [--keep-data] [--dry-run] [--force]
unrevertSession(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
POST /session/:id/unrevert,撤销回退。
unrevertSession(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
撤销会话最近一次回退操作。
unshareSession(String) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
DELETE /session/:id/share,取消分享。
unshareSession(String) - Method in class io.github.easy4j.opencode.OpenCodeClient
取消指定会话的共享状态,并返回更新后的会话信息。
updateConfig(Object) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
PATCH /config,更新实例配置。
updateGlobalConfig(Object) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
PATCH /global/config,更新全局配置。
updateGlobalOpenCodeConfig(Object) - Method in class io.github.easy4j.opencode.OpenCodeClient
向 OpenCode Server 提交全局配置更新,并返回更新后的服务端表示。
updateOpenCodeConfig(Object) - Method in class io.github.easy4j.opencode.OpenCodeClient
向 OpenCode Server 提交配置更新,并返回更新后的服务端表示。
updateProject(String, Object) - Method in class io.github.easy4j.opencode.api.OpenCodeHttpClient
PATCH /project/:id,更新项目(name / icon / commands 等)。
updateProject(String, Object) - Method in class io.github.easy4j.opencode.OpenCodeClient
向 OpenCode Server 提交项目更新,并返回更新后的服务端表示。
upgrade() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode upgrade
upgrade(String, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode upgrade <target> [--method ...]
Usage() - Constructor for class io.github.easy4j.opencode.api.model.ChatResponse.Usage
 
user(String) - Static method in class io.github.easy4j.opencode.api.model.ChatMessage
快捷构造 user 消息。

V

valueOf(String) - Static method in enum class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.easy4j.opencode.HttpResponseMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.easy4j.opencode.cli.availability.OpenCodeCliAvailabilityStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.easy4j.opencode.HttpResponseMode
Returns an array containing the constants of this enum class, in the order they are declared.
VcsInfo - Class in io.github.easy4j.opencode.api.model
Represents VCS (Version Control System) information for the OpenCode working directory, returned by GET /vcs.
VcsInfo() - Constructor for class io.github.easy4j.opencode.api.model.VcsInfo
 
version() - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode --version

W

web(Integer, String) - Method in class io.github.easy4j.opencode.cli.OpenCodeCli
opencode web [--port N --hostname H]
A B C D E F G H I L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form