AS AgentScopeAPI 手册 / API Reference

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
relPathString
执行 `relPath` 方法。
Performs the rel path operation.
headPreviewString
执行 `headPreview` 方法。
Performs the head preview operation.
totalLinesint
执行 `totalLines` 方法。
Performs the total lines operation.
sha256String
执行 `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–39

headPreview

String headPreview

执行 headPreview 方法。

Performs the head preview operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillCandidate.java:38–39

totalLines

int totalLines

执行 totalLines 方法。

Performs the total lines operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillCandidate.java:38–39

sha256

String sha256

执行 sha256 方法。

Performs the sha 256 operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillCandidate.java:38–39
基于官方固定版本源码静态生成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.