StoredEntry
@JsonInclude(JsonInclude.Include.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) record StoredEntry( String id, String name, String description, String system, String model, Integer maxIters, List<AgentToolset> tools, List<McpServerSpec> mcpServers, List<SkillRef> skills, MultiagentSpec multiagent, String identityName, String identityEmoji, List<String> groupChatMentionPatterns, Boolean groupChatRequireMention, long createdAt, long updatedAt, List<AgentShareGrant> shares, String runAs, String forkOf, String workspacePath, List<SkillRepositoryConfigEntry> skillRepositories, String sandboxMode, String sandboxScope, int version, Long archivedAt)
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171承载已存储条目数据的记录类型。位于 io.agentscope.builder.web.catalog 包。核心成员包括 id、name、description、system、model、maxIters。
JSON-serializable agent definition stored per user. All fields are optional except id.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
id | String | 执行标识相关操作。 Performs the id operation. |
name | String | 执行名称相关操作。 Performs the name operation. |
description | String | 执行 `description` 方法。 Performs the description operation. |
system | String | 执行系统相关操作。 Performs the system operation. |
model | String | 执行模型相关操作。 Performs the model operation. |
maxIters | Integer | 执行最大迭代次数相关操作。 Performs the max iters operation. |
tools | List<AgentToolset> | 执行工具相关操作。 Performs the tools operation. |
mcpServers | List<McpServerSpec> | 执行 `mcpServers` 方法。 Performs the mcp servers operation. |
skills | List<SkillRef> | 执行技能相关操作。 Performs the skills operation. |
multiagent | MultiagentSpec | 执行多智能体相关操作。 Performs the multiagent operation. |
identityName | String | 执行身份名称相关操作。 Performs the identity name operation. |
identityEmoji | String | 执行 `identityEmoji` 方法。 Performs the identity emoji operation. |
groupChatMentionPatterns | List<String> | 执行 `groupChatMentionPatterns` 方法。 Performs the group chat mention patterns operation. |
groupChatRequireMention | Boolean | 执行 `groupChatRequireMention` 方法。 Performs the group chat require mention operation. |
createdAt | long | 执行已创建 At相关操作。 Performs the created at operation. |
updatedAt | long | 执行已更新 At相关操作。 Performs the updated at operation. |
shares | List<AgentShareGrant> | 执行 `shares` 方法。 Performs the shares operation. |
runAs | String | 运行As。 Runs the as. |
forkOf | String | 执行 `forkOf` 方法。 Performs the fork of operation. |
workspacePath | String | 执行工作区路径相关操作。 Performs the workspace path operation. |
skillRepositories | List<SkillRepositoryConfigEntry> | 执行 `skillRepositories` 方法。 Performs the skill repositories operation. |
sandboxMode | String | 执行沙箱模式相关操作。 Performs the sandbox mode operation. |
sandboxScope | String | 执行沙箱范围相关操作。 Performs the sandbox scope operation. |
version | int | 执行版本相关操作。 Performs the version operation. |
archivedAt | Long | 执行 `archivedAt` 方法。 Performs the archived at operation. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public AgentDefinition toDefinition(String ownerId) | 设置到定义。 Performs the to definition operation. |
public AgentConfigEntry toConfigEntry() | 返回到配置条目。 Convert to a partial `AgentConfigEntry` for runtime agent construction. |
记录组件详情Record Component Detail
id
String id执行标识相关操作。
Performs the id operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171name
String name执行名称相关操作。
Performs the name operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171description
String description执行 description 方法。
Performs the description operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171system
String system执行系统相关操作。
Performs the system operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171model
String model执行模型相关操作。
Performs the model operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171maxIters
Integer maxIters执行最大迭代次数相关操作。
Performs the max iters operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171tools
List<AgentToolset> tools执行工具相关操作。
Performs the tools operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171mcpServers
List<McpServerSpec> mcpServers执行 mcpServers 方法。
Performs the mcp servers operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171skills
List<SkillRef> skills执行技能相关操作。
Performs the skills operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171multiagent
MultiagentSpec multiagent执行多智能体相关操作。
Performs the multiagent operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171identityName
String identityName执行身份名称相关操作。
Performs the identity name operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171identityEmoji
String identityEmoji执行 identityEmoji 方法。
Performs the identity emoji operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171groupChatMentionPatterns
List<String> groupChatMentionPatterns执行 groupChatMentionPatterns 方法。
Performs the group chat mention patterns operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171groupChatRequireMention
Boolean groupChatRequireMention执行 groupChatRequireMention 方法。
Performs the group chat require mention operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171createdAt
long createdAt执行已创建 At相关操作。
Performs the created at operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171updatedAt
long updatedAt执行已更新 At相关操作。
Performs the updated at operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171runAs
String runAs运行As。
Runs the as.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171forkOf
String forkOf执行 forkOf 方法。
Performs the fork of operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171workspacePath
String workspacePath执行工作区路径相关操作。
Performs the workspace path operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171skillRepositories
List<SkillRepositoryConfigEntry> skillRepositories执行 skillRepositories 方法。
Performs the skill repositories operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171sandboxMode
String sandboxMode执行沙箱模式相关操作。
Performs the sandbox mode operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171sandboxScope
String sandboxScope执行沙箱范围相关操作。
Performs the sandbox scope operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171version
int version执行版本相关操作。
Performs the version operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171archivedAt
Long archivedAt执行 archivedAt 方法。
Performs the archived at operation.
io/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:72–171方法详情Method Detail
toDefinition
public AgentDefinition toDefinition(String ownerId)
设置到定义。
Performs the to definition operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
ownerId | String | 所有者标识(类型 `String`)。The owner id. |
AgentDefinitionio/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:101–131toConfigEntry
public AgentConfigEntry toConfigEntry()
返回到配置条目。
Convert to a partial AgentConfigEntry for runtime agent construction.
AgentConfigEntryio/agentscope/builder/web/catalog/UserAgentDefinitionStore.java:134–170