Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: remove basic schema variant and unify to full schema#592

Merged
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/remove-basic-schema-variantbreaking-brake/cc-wf-studio:fix/remove-basic-schema-variantCopy head branch name to clipboard
Feb 19, 2026
Merged

fix: remove basic schema variant and unify to full schema#592
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/remove-basic-schema-variantbreaking-brake/cc-wf-studio:fix/remove-basic-schema-variantCopy head branch name to clipboard

Conversation

@breaking-brake
Copy link
Copy Markdown
Owner

Problem

After PR #589 added SubAgent compatibility for all AI agents (Codex CLI, Roo Code, Copilot VSCode), the workflow-schema-basic.json (a simplified variant excluding SubAgent types) became obsolete. The SchemaVariant type and provider-based variant selection logic added unnecessary complexity.

Current Behavior

  1. get_workflow_schema MCP tool checks the AI provider
  2. ❌ Returns a reduced "basic" schema for Codex/Roo Code/Copilot, hiding SubAgent node types that are now fully supported

Expected Behavior

  1. get_workflow_schema MCP tool is called
  2. ✅ Always returns the full schema with all node types including SubAgent/SubAgentFlow

Solution

Remove the basic schema variant entirely and unify on the full schema.

Changes

File: src/extension/services/mcp-server-tools.ts

  • Removed getSchemaVariantForProvider() function
  • Removed SchemaVariant type import and AiEditingProvider import
  • Simplified get_workflow_schema to always use full schema path

File: src/extension/services/schema-loader-service.ts

  • Removed SchemaVariant type export
  • Simplified caches from Map<SchemaVariant, ...> to single variables
  • Removed variant parameter from all functions

File: scripts/generate-toon-schema.ts

  • Removed createBasicSchema() function
  • Removed basic variant generation logic and constants

Deleted: resources/workflow-schema-basic.json, resources/workflow-schema-basic.toon

Impact

  • All AI agents now receive the full schema with SubAgent/SubAgentFlow support
  • ~1,400 lines of dead code removed
  • No breaking changes to MCP tool API signatures

Testing

  • npm run format && npm run lint && npm run check passed
  • npm run build succeeded (TOON generation produces only full schema)
  • Verified no remaining references to SchemaVariant / schema-basic in codebase
  • Manual E2E testing in VSCode Extension Development Host

🤖 Generated with Claude Code

- Remove getSchemaVariantForProvider() and SchemaVariant type
- Simplify schema-loader-service caches to single values
- Remove basic schema generation from TOON generator script
- Delete workflow-schema-basic.json and workflow-schema-basic.toon

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@breaking-brake breaking-brake merged commit 694817f into main Feb 19, 2026
3 checks passed
@breaking-brake breaking-brake deleted the fix/remove-basic-schema-variant branch February 19, 2026 16:24
@breaking-brake breaking-brake mentioned this pull request Feb 19, 2026
braking-brake-semantic-release Bot pushed a commit that referenced this pull request Feb 19, 2026
## [3.23.1](v3.23.0...v3.23.1) (2026-02-19)

### Bug Fixes

* remove basic schema variant and unify to full schema ([#592](#592)) ([694817f](694817f))
@braking-brake-semantic-release
Copy link
Copy Markdown

🎉 This PR is included in version 3.23.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.