Skip to content

Commit c31587c

Browse files
committed
fix: refresh skill workshop CI expectations
1 parent 0978b1f commit c31587c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5393,6 +5393,7 @@ public struct SkillsProposalCreateParams: Codable, Sendable {
53935393
public struct SkillsProposalUpdateParams: Codable, Sendable {
53945394
public let agentid: String?
53955395
public let skillname: String
5396+
public let description: String?
53965397
public let content: String
53975398
public let supportfiles: [[String: AnyCodable]]?
53985399
public let goal: String?
@@ -5401,13 +5402,15 @@ public struct SkillsProposalUpdateParams: Codable, Sendable {
54015402
public init(
54025403
agentid: String? = nil,
54035404
skillname: String,
5405+
description: String?,
54045406
content: String,
54055407
supportfiles: [[String: AnyCodable]]?,
54065408
goal: String?,
54075409
evidence: String?)
54085410
{
54095411
self.agentid = agentid
54105412
self.skillname = skillname
5413+
self.description = description
54115414
self.content = content
54125415
self.supportfiles = supportfiles
54135416
self.goal = goal
@@ -5417,6 +5420,7 @@ public struct SkillsProposalUpdateParams: Codable, Sendable {
54175420
private enum CodingKeys: String, CodingKey {
54185421
case agentid = "agentId"
54195422
case skillname = "skillName"
5423+
case description
54205424
case content
54215425
case supportfiles = "supportFiles"
54225426
case goal

‎src/agents/system-prompt.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ describe("buildAgentSystemPrompt", () => {
711711
expect(withTool).toContain("keep `description` under 160 bytes");
712712
expect(withTool).toContain("`proposal_content` within the configured body limit");
713713
expect(withTool).toContain(
714-
"Use `action=list` or `action=inspect` only when you need to find or read pending proposals before revising.",
714+
"Use `action=list` or `action=inspect` only for pending proposal discovery/inspection. Do not use filesystem search for proposal discovery.",
715715
);
716716
expect(withTool).toContain("`action=revise` for an existing pending proposal");
717717
expect(withTool).toContain("pass the proposal or skill name in `name`");

0 commit comments

Comments
 (0)