ScriptFilePreview
public record ScriptFilePreview( String relPath, String headPreview, int totalLines, String sha256)
源码Source
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:38–39承载 Script 文件预览数据的记录类型。位于 io.agentscope.harness.agent.skill.curator 包。核心成员包括 relPath、headPreview、totalLines、sha256。
A record in io.agentscope.harness.agent.skill.curator that carries data used when components lets agents invoke external capabilities under control. Declared in io.agentscope.harness.agent.skill.curator.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
relPath | String | 执行 `relPath` 方法。 Performs the rel path operation. |
headPreview | String | 执行 `headPreview` 方法。 Performs the head preview operation. |
totalLines | int | 执行 `totalLines` 方法。 Performs the total lines operation. |
sha256 | String | 执行 `sha256` 方法。 Performs the sha 256 operation. |
记录组件详情Record Component Detail
relPath
String relPath执行 relPath 方法。
Performs the rel path operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:38–39headPreview
String headPreview执行 headPreview 方法。
Performs the head preview operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:38–39totalLines
int totalLines执行 totalLines 方法。
Performs the total lines operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:38–39sha256
String sha256执行 sha256 方法。
Performs the sha 256 operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:38–39