refactor(core): remove unused internal type exports · openclaw/openclaw@dc2fdd1
vincentkoc
·
2026-06-18
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -90,7 +90,6 @@ export type ContentPart = z.infer<typeof ContentPartSchema>;
|
90 | 90 | |
91 | 91 | export const MessageItemRoleSchema = z.enum(["system", "developer", "user", "assistant"]); |
92 | 92 | |
93 | | -export type MessageItemRole = z.infer<typeof MessageItemRoleSchema>; |
94 | 93 | export const AssistantPhaseSchema = z.enum(["commentary", "final_answer"]); |
95 | 94 | export type AssistantPhase = z.infer<typeof AssistantPhaseSchema>; |
96 | 95 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -54,15 +54,6 @@ export type AgentItemEventData = {
|
54 | 54 | approvalSlug?: string; |
55 | 55 | }; |
56 | 56 | |
57 | | -/** Plan update payload emitted when an agent publishes or revises its task list. */ |
58 | | -export type AgentPlanEventData = { |
59 | | -phase: "update"; |
60 | | -title: string; |
61 | | -explanation?: string; |
62 | | -steps?: string[]; |
63 | | -source?: string; |
64 | | -}; |
65 | | - |
66 | 57 | /** Approval event phase for request/resolution transitions. */ |
67 | 58 | export type AgentApprovalEventPhase = "requested" | "resolved"; |
68 | 59 | /** Approval status after routing, user action, or delivery failure. */ |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -121,17 +121,6 @@ function setupClaudeHookFixture(
|
121 | 121 | }); |
122 | 122 | } |
123 | 123 | |
124 | | -type _ExpectedBundlePluginManifest = Omit< |
125 | | -BundlePluginManifest, |
126 | | -"bundleFormat" | "skills" | "settingsFiles" | "hooks" | "capabilities" |
127 | | -> & { |
128 | | -bundleFormat: string; |
129 | | -skills: readonly string[]; |
130 | | -settingsFiles: readonly string[]; |
131 | | -hooks: readonly string[]; |
132 | | -capabilities: readonly string[]; |
133 | | -}; |
134 | | - |
135 | 124 | function expectBundleManifest(params: { |
136 | 125 | rootDir: string; |
137 | 126 | bundleFormat: "codex" | "claude" | "cursor"; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。