diff --git a/docs/src/content/docs/reference/frontmatter-full.md b/docs/src/content/docs/reference/frontmatter-full.md index f3dac260916..519dc04e5cb 100644 --- a/docs/src/content/docs/reference/frontmatter-full.md +++ b/docs/src/content/docs/reference/frontmatter-full.md @@ -1158,10 +1158,6 @@ tools: # (optional) description: "Description of the workflow" - # Docker image to use for the memory MCP server (default: mcp/memory) - # (optional) - docker-image: "example-value" - # Number of days to retain uploaded artifacts (1-90 days, default: repository # setting) # (optional) diff --git a/pkg/parser/schema_test.go b/pkg/parser/schema_test.go index 9ae4c0effb0..86496f386a9 100644 --- a/pkg/parser/schema_test.go +++ b/pkg/parser/schema_test.go @@ -1178,13 +1178,13 @@ func TestValidateIncludedFileFrontmatterWithSchema(t *testing.T) { wantErr: false, }, { - name: "valid frontmatter with cache-memory with all options", + name: "valid frontmatter with cache-memory with all valid options", frontmatter: map[string]any{ "tools": map[string]any{ "cache-memory": map[string]any{ "key": "custom-key", "retention-days": 30, - "docker-image": "custom/memory:latest", + "description": "Test cache description", }, }, }, @@ -1214,6 +1214,18 @@ func TestValidateIncludedFileFrontmatterWithSchema(t *testing.T) { wantErr: true, errContains: "got 91, want 90", }, + { + name: "invalid cache-memory with unsupported docker-image field", + frontmatter: map[string]any{ + "tools": map[string]any{ + "cache-memory": map[string]any{ + "docker-image": "custom/memory:latest", + }, + }, + }, + wantErr: true, + errContains: "additional properties 'docker-image' not allowed", + }, { name: "invalid cache-memory with additional property", frontmatter: map[string]any{ diff --git a/pkg/parser/schemas/included_file_schema.json b/pkg/parser/schemas/included_file_schema.json index 2f71d66c675..100fef29c9b 100644 --- a/pkg/parser/schemas/included_file_schema.json +++ b/pkg/parser/schemas/included_file_schema.json @@ -120,10 +120,6 @@ "type": "string", "description": "Optional description for the cache that will be shown in the agent prompt" }, - "docker-image": { - "type": "string", - "description": "Docker image to use for the memory MCP server (default: mcp/memory)" - }, "retention-days": { "type": "integer", "minimum": 1, diff --git a/pkg/parser/schemas/main_workflow_schema.json b/pkg/parser/schemas/main_workflow_schema.json index 98b1de1d217..1973beb1559 100644 --- a/pkg/parser/schemas/main_workflow_schema.json +++ b/pkg/parser/schemas/main_workflow_schema.json @@ -2038,10 +2038,6 @@ "type": "string", "description": "Optional description for the cache that will be shown in the agent prompt" }, - "docker-image": { - "type": "string", - "description": "Docker image to use for the memory MCP server (default: mcp/memory)" - }, "retention-days": { "type": "integer", "minimum": 1,