Skip to content

Conversation

@ryoppippi
Copy link
Member

@ryoppippi ryoppippi commented Dec 18, 2025

Summary

  • Removes the scripts/pull_oas.py script which is no longer needed

This script was used to download OpenAPI specifications from docs.stackone.com for local OAS-based tool generation. Since #42 removed the OAS-based getTools implementation and migrated to fetchTools only, this script serves no purpose.

Test plan

  • Verify no other code references pull_oas.py
  • Confirm OAS directory no longer exists

Summary by cubic

Removed scripts/pull_oas.py, which downloaded OpenAPI specs for OAS-based tool generation. We now use fetchTools at runtime, so local OAS pulling is not needed.

Written for commit 1c15330. Summary will update automatically on new commits.

This script was used to download OpenAPI specifications from
docs.stackone.com and save them locally for OAS-based tool generation.

Since the OAS-based getTools implementation was removed in d50d5fb
(refactor!: remove deprecated OAS-based getTools, migrate to fetchTools
only), this script is no longer needed. The SDK now exclusively uses
fetchTools to retrieve tool definitions directly from the API at
runtime.
Copilot AI review requested due to automatic review settings December 18, 2025 18:09
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Copy link
Contributor

@glebedel glebedel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the obsolete scripts/pull_oas.py script that was previously used to download OpenAPI specifications from docs.stackone.com for local tool generation. The script became obsolete after PR #42 migrated to fetching tools dynamically via the MCP (Model Context Protocol) instead of using locally stored OAS files.

Key Changes:

  • Removes the entire scripts/pull_oas.py file (89 lines)
  • Eliminates dependencies on httpx, pyyaml, requests, and beautifulsoup4 for this script

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ryoppippi ryoppippi merged commit e0a67c2 into main Dec 18, 2025
13 checks passed
@ryoppippi ryoppippi deleted the chore/remove-pull-oas-script branch December 18, 2025 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants