包package preview
agentscope-codingagent
AgentScope Java - Coding Agent · 2.0.0-RC4
AgentScope Coding Agent - Coding agent using HarnessAgent
| groupIdGroupId | io.agentscope |
|---|---|
| 版本Version | 2.0.0-RC4 |
| 版本线Line | preview |
| 分类Category | integration |
| 包Packages | 17 |
| 类型Types | 55 top-level / 62 total |
包Packages
类型Types
| 类型Type | 种类Kind | 包Package | 说明Description |
|---|---|---|---|
CodingAgentApplication | 类class | io.agentscope.harness.coding | Coding 智能体应用,承载智能体的部署、调度与服务化运行。 Spring Boot application entry point for the coding agent webhook service. |
CodingBootstrap | 类class | io.agentscope.harness.coding | Coding Bootstrap,承载智能体的部署、调度与服务化运行。 Single API class for assembling, configuring, and running the agentscope harness. |
CodingChatCli | 类class | io.agentscope.harness.coding | Coding 聊天 Cli,承载智能体的部署、调度与服务化运行。 Local CLI entry point for the Coding Agent. |
CodingAgentFactory | 类class | io.agentscope.harness.coding.agent | Coding 智能体工厂,承载智能体的部署、调度与服务化运行。 Factory for the coding agent. |
ReviewerAgentFactory | 类class | io.agentscope.harness.coding.agent | Reviewer 智能体工厂,承载智能体的部署、调度与服务化运行。 Factory for the reviewer agent. |
AgentConfigEntry | 类class | io.agentscope.harness.coding.config | 智能体配置条目,承载智能体的部署、调度与服务化运行。 Per-agent section in `agentscope.json` under `agents.<agentId>`. |
AgentscopeConfig | 类class | io.agentscope.harness.coding.config | 用于`${cwd}/.agentscope/agentscope.json`的根文档。 Root document for `${cwd}/.agentscope/agentscope.json`. |
ChannelConfigEntry | 类class | io.agentscope.harness.coding.config | 渠道配置条目,承载智能体的部署、调度与服务化运行。 Per-channel section in `agentscope.json` under `channels.<channelId>`. |
SkillRepositoryConfigEntry | 类class | io.agentscope.harness.coding.config | 技能仓库配置条目,承载智能体的部署、调度与服务化运行。 Declarative skill repository settings for `agentscope.json` (and similar) configs. |
SkillRepositorySupport | 类class | io.agentscope.harness.coding.config | 构建`AgentSkillRepository`来自`SkillRepositoryConfigEntry`。 Builds an `AgentSkillRepository` from `SkillRepositoryConfigEntry`. |
RunDispatcher | 类class | io.agentscope.harness.coding.control | 运行调度器,承载智能体的部署、调度与服务化运行。 Dispatches agent runs, handling busy-thread queueing. |
ThreadIdFactory | 类class | io.agentscope.harness.coding.control | 会话线程标识工厂,承载智能体的部署、调度与服务化运行。 Generates deterministic thread IDs from GitHub issue/PR/reviewer context. |
HarnessGateway | 类class | io.agentscope.harness.coding.gateway | Harness 网关,承载智能体的部署、调度与服务化运行。 Gateway-style gateway: routes inbound turns by `MsgContext`, and dispatches subagent
completion announces as new `HarnessAgent` runs on the root requester (OpenClaw gateway
analogue). |
ThreadMetadata | 类class | io.agentscope.harness.coding.metadata | 会话线程元数据,承载智能体的部署、调度与服务化运行。 Per-thread metadata stored in `SqliteBaseStore` namespace `["threads", thread_id]`. |
TokenEncryption | 类class | io.agentscope.harness.coding.metadata | 令牌 Encryption,承载智能体的部署、调度与服务化运行。 Token encryption/decryption using Google Tink AEAD. |
MessageQueueMiddleware | 类class | io.agentscope.harness.coding.middleware | 消息队列中间件,在智能体执行流程中提供横切扩展。 Middleware that injects queued messages into the system prompt before each LLM reasoning step. |
ModelCallLimitMiddleware | 类class | io.agentscope.harness.coding.middleware | 模型调用限制中间件,在智能体执行流程中提供横切扩展。 Middleware that enforces a global model call limit across all threads. |
ThreadBudgetMiddleware | 类class | io.agentscope.harness.coding.middleware | 会话线程预算中间件,在智能体执行流程中提供横切扩展。 Middleware that enforces per-thread token and model-call budgets. |
FallbackModel | 类class | io.agentscope.harness.coding.model | 回退模型,与模型服务通信并返回生成或向量化结果。 `Model` decorator that falls back to a secondary model on retryable errors. |
CodingAgentMetrics | 类class | io.agentscope.harness.coding.observability | Coding 智能体指标,承载智能体的部署、调度与服务化运行。 Centralized Micrometer metrics for the coding agent. |
CodingSystemPrompt | 类class | io.agentscope.harness.coding.prompt | Coding 系统提示词,承载智能体的部署、调度与服务化运行。 Constructs the system prompt for the coding agent. |
ReviewerSystemPrompt | 类class | io.agentscope.harness.coding.prompt | Reviewer 系统提示词,承载智能体的部署、调度与服务化运行。 Constructs the system prompt for the reviewer agent. |
Finding | 类class | io.agentscope.harness.coding.reviewer | Finding,承载智能体的部署、调度与服务化运行。 A single reviewer finding — mirrors open-swe's `Finding` model in `
agent/reviewer_findings.py`. |
GitHubReviewPublisher | 类class | io.agentscope.harness.coding.reviewer | GitHub Review Publisher,承载智能体的部署、调度与服务化运行。 Publishes reviewer findings to a GitHub PR as inline comments. |
ReviewerFindingsService | 类class | io.agentscope.harness.coding.reviewer | Reviewer Findings 服务,承载智能体的部署、调度与服务化运行。 CRUD service for reviewer findings. |
AgentManagerConfig | 记录record | io.agentscope.harness.coding.session | 承载智能体管理器配置数据的记录类型。 Tunable concurrency, announce behavior, session reset policy, and maintenance configuration for
`SessionAgentManager`. |
CleanupPolicy | 枚举enum | io.agentscope.harness.coding.session | 定义Cleanup 策略相关取值的枚举。 Controls what happens to a session's records and transcript after the run completes. |
CommandLane | 枚举enum | io.agentscope.harness.coding.session | 定义命令 Lane相关取值的枚举。 Scheduling lane for subagent / main work, aligned with OpenClaw gateway `CommandLane`
semantics. |
HistoryResult | 记录record | io.agentscope.harness.coding.session | 承载历史结果数据的记录类型。 Result of reading a session transcript file. |
PendingCompletion | 记录record | io.agentscope.harness.coding.session | 承载待处理补全数据的记录类型。 Best-effort completion handoff to the requester session (OpenClaw `announce` analogue). |
SendResult | 记录record | io.agentscope.harness.coding.session | 承载发送结果数据的记录类型。 Result of executing a prompt against a managed session. |
SessionAgentManager | 类class | io.agentscope.harness.coding.session | 会话智能体管理器,在多次调用之间保存和恢复会话与记忆数据。 Full session management implementation built on top of `DefaultAgentManager`. |
SessionConstants | 类class | io.agentscope.harness.coding.session | 会话 Constants,在多次调用之间保存和恢复会话与记忆数据。 Shared constants for managed session / subagent flows. |
SessionEntry | 记录record | io.agentscope.harness.coding.session | 承载会话条目数据的记录类型。 Internal metadata for a registered managed session (used by `SessionAgentManager`). |
SessionFreshness | 记录record | io.agentscope.harness.coding.session | 承载会话 Freshness数据的记录类型。 Result of evaluating a session's freshness against a `SessionResetPolicy`. |
SessionFreshnessEvaluator | 类class | io.agentscope.harness.coding.session | 会话 Freshness 评估器,在多次调用之间保存和恢复会话与记忆数据。 Evaluates whether a session is still "fresh" based on its last activity time and the configured
`SessionResetPolicy`. |
SessionKind | 枚举enum | io.agentscope.harness.coding.session | 定义会话种类相关取值的枚举。 AgentStateStore classification, matching OpenClaw session kinds. |
SessionMaintenanceConfig | 记录record | io.agentscope.harness.coding.session | 用于会话存储维护的配置。 Configuration for session store maintenance. |
SessionResetPolicy | 记录record | io.agentscope.harness.coding.session | 承载会话重置策略数据的记录类型。 Policy controlling when a session is considered "stale" and should be rolled over to a new
session, mirroring OpenClaw's `resolveSessionResetPolicy`. |
SessionStore | 类class | io.agentscope.harness.coding.session | 会话存储,负责持久化与读取数据。 Durable session registry backed by a JSON file (`sessions.json`). |
SessionView | 记录record | io.agentscope.harness.coding.session | 承载会话 View数据的记录类型。 Public view of a managed session. |
SpawnResult | 记录record | io.agentscope.harness.coding.session | 承载 Spawn 结果数据的记录类型。 Result of registering a managed subagent session. |
SubagentRunRegistry | 类class | io.agentscope.harness.coding.session | 子智能体运行注册表,在多次调用之间保存和恢复会话与记忆数据。 In-process registry for subagent spawn / run metadata (OpenClaw `subagent-registry`
analogue). |
SessionsTool | 类class | io.agentscope.harness.coding.session.tool | 会话工具,封装可被智能体调用的能力。 Tool facade exposing managed subagent session operations to the agent. |
SqliteBaseStore | 类class | io.agentscope.harness.coding.store | Sqlite 基类存储,负责持久化与读取数据。 SQLite-backed implementation of `BaseStore`. |
FetchUrlTool | 类class | io.agentscope.harness.coding.tools | Fetch URL 工具,封装可被智能体调用的能力。 Fetches a URL and returns a simplified text representation (strips most HTML tags). |
GitHubApiTool | 类class | io.agentscope.harness.coding.tools | GitHub API 工具,封装可被智能体调用的能力。 GitHub API tool — plan option B (Java-side direct calls). |
HttpRequestTool | 类class | io.agentscope.harness.coding.tools | HTTP 请求工具,封装可被智能体调用的能力。 Makes arbitrary HTTP requests with configurable method, headers, and body. |
RequestPrReviewTool | 类class | io.agentscope.harness.coding.tools | 请求 Pr Review 工具,封装可被智能体调用的能力。 Tool for triggering the reviewer agent on a GitHub PR. |
WebSearchTool | 类class | io.agentscope.harness.coding.tools | Web 搜索工具,封装可被智能体调用的能力。 Web search tool using the Tavily API. |
AddFindingTool | 类class | io.agentscope.harness.coding.tools.finding | 添加 Finding 工具,封装可被智能体调用的能力。 Adds a new finding to the reviewer findings store. |
ListFindingsTool | 类class | io.agentscope.harness.coding.tools.finding | 列表 Findings 工具,封装可被智能体调用的能力。 Lists all current reviewer findings. |
PublishReviewTool | 类class | io.agentscope.harness.coding.tools.finding | 发布 Review 工具,封装可被智能体调用的能力。 Publishes the accumulated reviewer findings as a single GitHub PR review. |
UpdateFindingTool | 类class | io.agentscope.harness.coding.tools.finding | 更新 Finding 工具,封装可被智能体调用的能力。 Updates an existing reviewer finding. |
GitHubWebhookHandler | 类class | io.agentscope.harness.coding.webhook.github | GitHub Webhook 处理器,承载智能体的部署、调度与服务化运行。 Spring WebFlux handler for GitHub webhooks. |