Uses of Record Class
io.agentscope.harness.agent.skill.curator.SkillUsageRecord
Packages that use SkillUsageRecord
-
Uses of SkillUsageRecord in io.agentscope.harness.agent.skill.curator
Methods in io.agentscope.harness.agent.skill.curator that return SkillUsageRecordModifier and TypeMethodDescriptionstatic SkillUsageRecordSkillUsageRecord.defaults()Default record for a newly-tracked skill (just appeared on disk).static SkillUsageRecordSkillUsageRecord.newAgentDraft(String sessionId) Default record for a freshly created agent draft.static SkillUsageRecordSkillUsageRecord.ofJson(String createdBy, Long useCount, Long viewCount, Long patchCount, Instant lastUsedAt, Instant lastViewedAt, Instant lastPatchedAt, Instant createdAt, SkillUsageRecord.State state, Boolean pinned, Instant archivedAt, Instant promotedAt, String promotedBy, String sourceSessionId, List<String> environments) Jackson constructor for tolerant decoding (missing fields default to null/0/false).SkillCandidate.usage()Returns the value of theusagerecord component.Methods in io.agentscope.harness.agent.skill.curator that return types with arguments of type SkillUsageRecordModifier and TypeMethodDescriptionSkillUsageStore.agentCreatedReport()All records whosecreatedByis non-null (i.e. agent-authored, draft or live).Read a single record by name.SkillUsageStore.load()Load the entire sidecar map.Methods in io.agentscope.harness.agent.skill.curator with parameters of type SkillUsageRecordModifier and TypeMethodDescriptionprotected abstract booleanAbstractAgentCreatedFilter.shouldPassForAgentCreated(io.agentscope.core.skill.AgentSkill skill, SkillUsageRecord rec, io.agentscope.core.agent.RuntimeContext ctx) Returntrueto keep an agent-authored skill visible for this context,falseto filter it out.protected booleanAllowListFilter.shouldPassForAgentCreated(io.agentscope.core.skill.AgentSkill skill, SkillUsageRecord rec, io.agentscope.core.agent.RuntimeContext ctx) protected booleanCanaryFilter.shouldPassForAgentCreated(io.agentscope.core.skill.AgentSkill skill, SkillUsageRecord rec, io.agentscope.core.agent.RuntimeContext ctx) Method parameters in io.agentscope.harness.agent.skill.curator with type arguments of type SkillUsageRecordModifier and TypeMethodDescriptionvoidSkillUsageStore.save(Map<String, SkillUsageRecord> data) Persist the entire sidecar map.Constructors in io.agentscope.harness.agent.skill.curator with parameters of type SkillUsageRecordModifierConstructorDescriptionSkillCandidate(String name, String description, String skillMdContent, List<String> supportFilePaths, SkillUsageRecord usage, SkillSecurityScanner.ScanResult securityScan, List<SkillCandidate.ScriptFilePreview> scriptFiles) Creates an instance of aSkillCandidaterecord class.