chore(deadcode): remove unused agent-core prompt formatter · openclaw/openclaw@328a446
vincentkoc
·
2026-06-22
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -42,8 +42,8 @@ export function toError(error: unknown): Error {
|
42 | 42 | /** |
43 | 43 | * Skill loaded from a `SKILL.md` file or provided by an application. |
44 | 44 | * |
45 | | - * `name`, `description`, `filePath`, and optional `promptVersion` are inserted into the system prompt in an XML-formatted block as suggested by agentskills.io. |
46 | | - * Use {@link formatSkillsForSystemPrompt} to generate the spec-compatible system prompt block. |
| 45 | + * `name`, `description`, `filePath`, and optional `promptVersion` are available to host-owned prompt builders and |
| 46 | + * direct skill invocation. |
47 | 47 | */ |
48 | 48 | export interface Skill { |
49 | 49 | /** Stable skill name used for lookup and model-visible listings. */ |
@@ -723,11 +723,6 @@ export type AgentHarnessEventResultMap = {
|
723 | 723 | settled: undefined; |
724 | 724 | }; |
725 | 725 | |
726 | | -/** Options for a prompt submitted through AgentHarness. */ |
727 | | -export interface AgentHarnessPromptOptions { |
728 | | -images?: ImageContent[]; |
729 | | -} |
730 | | - |
731 | 726 | /** Queued messages removed by an abort operation. */ |
732 | 727 | export interface AbortResult { |
733 | 728 | clearedSteer: AgentMessage[]; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。