AS AgentScopeAPI 手册 / API Reference

SkillCuratorState

@JsonInclude(JsonInclude.Include.NON_NULL) public record SkillCuratorState( @JsonProperty("last_run_at") Instant lastRunAt, @JsonProperty("run_count") long runCount, @JsonProperty("paused") boolean paused, @JsonProperty("last_run_summary") String lastRunSummary, @JsonProperty("last_run_duration_seconds") Long lastRunDurationSeconds, @JsonProperty("last_report_path") String lastReportPath)
源码Source io/agentscope/harness/agent/skill/curator/SkillCuratorState.java:27–56

承载技能 Curator 状态数据的记录类型。位于 io.agentscope.harness.agent.skill.curator 包。核心成员包括 lastRunAt、runCount、paused、lastRunSummary、lastRunDurationSeconds、lastReportPath。

Persistent state for SkillCurator — kept in skills/.curator_state.json. Records the last run timestamp, run count, paused flag, and a brief human-readable summary.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
lastRunAtInstant
执行最后运行 At相关操作。
Performs the last run at operation.
runCountlong
运行数量。
Runs the count.
pausedboolean
执行 `paused` 方法。
Performs the paused operation.
lastRunSummaryString
执行最后运行摘要相关操作。
Performs the last run summary operation.
lastRunDurationSecondsLong
执行最后运行时长秒相关操作。
Performs the last run duration seconds operation.
lastReportPathString
执行最后报告路径相关操作。
Performs the last report path operation.

方法摘要Method Summary

方法Method说明Description
public static SkillCuratorState defaults()
static
返回 `defaults` 结果。
Returns the defaults.
public static SkillCuratorState ofJson(Instant lastRunAt, Long runCount, Boolean paused, String lastRunSummary, Long lastRunDurationSeconds, String lastReportPath)
static
执行的 JSON相关操作。
Performs the of json operation.

记录组件详情Record Component Detail

lastRunAt

Instant lastRunAt

执行最后运行 At相关操作。

Performs the last run at operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillCuratorState.java:27–56

runCount

long runCount

运行数量。

Runs the count.

源码Source io/agentscope/harness/agent/skill/curator/SkillCuratorState.java:27–56

paused

boolean paused

执行 paused 方法。

Performs the paused operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillCuratorState.java:27–56

lastRunSummary

String lastRunSummary

执行最后运行摘要相关操作。

Performs the last run summary operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillCuratorState.java:27–56

lastRunDurationSeconds

Long lastRunDurationSeconds

执行最后运行时长秒相关操作。

Performs the last run duration seconds operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillCuratorState.java:27–56

lastReportPath

String lastReportPath

执行最后报告路径相关操作。

Performs the last report path operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillCuratorState.java:27–56

方法详情Method Detail

defaults

public static SkillCuratorState defaults()
static

返回 defaults 结果。

Returns the defaults.

返回Returns SkillCuratorState
返回SkillCuratorState。Returns skill curator state.
源码Source io/agentscope/harness/agent/skill/curator/SkillCuratorState.java:36–38

ofJson

public static SkillCuratorState ofJson(Instant lastRunAt, Long runCount, Boolean paused, String lastRunSummary, Long lastRunDurationSeconds, String lastReportPath)
static

执行的 JSON相关操作。

Performs the of json operation.

参数Parameters
名称Name类型Type说明Description
lastRunAtInstant最后运行 At(类型 `Instant`)。The last run at.
runCountLong运行数量(类型 `Long`)。The run count.
pausedBooleanpaused(类型 `Boolean`)。The paused.
lastRunSummaryString最后运行摘要(类型 `String`)。The last run summary.
lastRunDurationSecondsLong最后运行时长秒(类型 `Long`)。The last run duration seconds.
lastReportPathString最后报告路径(类型 `String`)。The last report path.
返回Returns SkillCuratorState
返回SkillCuratorState。Returns skill curator state.
源码Source io/agentscope/harness/agent/skill/curator/SkillCuratorState.java:40–55
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.