包package
io.agentscope.harness.agent.skill.curatorio.agentscope.harness.agent.skill.curator
package io.agentscope.harness.agent.skill.curator
io.agentscope.harness.agent.skill.curator 属于工具与技能,工具注册、schema 与执行。 该包共收录 40 个公开类型。
io.agentscope.harness.agent.skill.curator belongs to the Tools & skills layer and contains 40 public types.
接口Interfaces
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
NotificationSink | 接口interface | 定义通知 Sink契约的接口。 Pushes `SkillCandidate` metadata to an external system (Slack webhook, ticket service,
Nacos config item, …). |
SkillPromotionGate | 接口interface | 定义技能 Promotion Gate契约的接口。 Decides whether a draft skill is allowed to be promoted into the live skills directory. |
SkillVisibilityFilter | 接口interface | 定义技能 Visibility 过滤器契约的接口。 Runtime gate that decides which skills are exposed to the model on a per-call basis. |
类Classes
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
AbstractAgentCreatedFilter | 类class | 抽象智能体已创建过滤器,让智能体以受控方式调用外部能力。 Base class for visibility filters that should ONLY constrain agent-authored skills. |
AllowListFilter | 类class | Allow 列表过滤器,让智能体以受控方式调用外部能力。 Visible only when the agent-created skill's name is in the allow-list. |
CanaryFilter | 类class | Canary 过滤器,让智能体以受控方式调用外部能力。 Percentage-based rollout for agent-authored skills. |
CompositeFilter | 类class | Composite 过滤器,让智能体以受控方式调用外部能力。 Chains multiple `SkillVisibilityFilter`s with AND semantics: the output is the
intersection of every filter's output, applied in order. |
EnvironmentFilter | 类class | 环境过滤器,让智能体以受控方式调用外部能力。 Filter that admits a skill only when its sidecar's `environments` list contains the
configured environment (`prod`, `staging`, …). |
LocalApprovalGate | 类class | 本地 Approval Gate,让智能体以受控方式调用外部能力。 Single-replica HITL gate. |
NotifyAndWaitGate | 类class | Notify 和 Wait Gate,让智能体以受控方式调用外部能力。 Multi-replica gate. |
RejectAllGate | 类class | 拒绝所有 Gate,让智能体以受控方式调用外部能力。 Always returns `SkillPromotionGate.PromotionDecision.Defer` — promotion can only
happen via an explicit `HarnessAgent.promoteSkill(...)` call from outside the gate. |
SkillAuditLog | 类class | 技能 Audit 日志,让智能体以受控方式调用外部能力。 Append-only audit log for the skill self-learning loop. |
SkillCurator | 类class | 技能 Curator,让智能体以受控方式调用外部能力。 Background skill maintenance orchestrator. |
SkillCuratorConfig | 类class | 技能 Curator 配置,保存相关配置项。 Configuration knobs for `SkillCurator`. |
SkillPromoter | 类class | 技能 Promoter,让智能体以受控方式调用外部能力。 Orchestrates the promotion pipeline: locate draft → run security scan → call gate →
physically move `_drafts/<name>/` to `skills/<name>/` → update sidecar. |
SkillSecurityScanner | 类class | 技能 Security Scanner,让智能体以受控方式调用外部能力。 Static-analysis scanner for SKILL.md and skill support files. |
SkillUsageStore | 类class | 技能用量存储,负责持久化与读取数据。 Sidecar telemetry store for per-skill usage and provenance. |
记录Records
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
SkillCandidate | 记录record | 承载技能 Candidate数据的记录类型。 Material handed to a `SkillPromotionGate` when a draft skill is being considered for
promotion. |
SkillCuratorState | 记录record | 承载技能 Curator 状态数据的记录类型。 Persistent state for `SkillCurator` — kept in `skills/.curator_state.json`. |
SkillUsageRecord | 记录record | 承载技能用量记录数据的记录类型。 Per-skill operational telemetry plus enterprise-staging audit fields. |