Skip to content

feat(tool): classify Python plugin tools and tool-builfer verify.#293

Merged
duguwanglong merged 4 commits into
devfrom
feat/python-plugin-tool-native-classification
May 20, 2026
Merged

feat(tool): classify Python plugin tools and tool-builfer verify.#293
duguwanglong merged 4 commits into
devfrom
feat/python-plugin-tool-native-classification

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

Summary

  • Add discover_python_tool_sources() to map registered Python tool names to their plugin file paths via AST scanning.
  • During plugin load, set native=True for project-scoped Python tools and native=False for user ~/.flocks/plugins tools based on file origin.
  • Update tool-builder skill smoke-test guidance to use tool_search(select:...) plus direct tool invocation instead of inline Python scripts.

xiami762 and others added 3 commits May 19, 2026 21:59
Discover python tool file origins and mark project-scoped tools native while
user ~/.flocks plugins remain non-native; update tool-builder smoke-test docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Split on-demand skill loading from flocks_skills management, reconcile
python plugin source/native flags from disk, move tool-builder validator
under scripts/, and update agents, compaction, and tests accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
…lugin-tool-native-classification

Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	flocks/tool/system/skill_load.py
@xiami762 xiami762 requested a review from duguwanglong May 20, 2026 02:44
@duguwanglong duguwanglong merged commit e4aa748 into dev May 20, 2026
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.

2 participants