Skip to content

fix(device): create instances from installed templates#601

Merged
duguwanglong merged 2 commits into
devfrom
fix/device-template-discovery
Jul 22, 2026
Merged

fix(device): create instances from installed templates#601
duguwanglong merged 2 commits into
devfrom
fix/device-template-discovery

Conversation

@xiami762

Copy link
Copy Markdown
Contributor

Summary

  • expose installed device templates through device_manage
  • create device instances only after template discovery and tool-side installed-template validation
  • reject undeclared or sensitive fields while allowing auth_state configuration
  • simplify device integration skill guidance and keep page-specific JSON protocols out of the skill

Tests

  • uv run pytest tests/tool/test_device_manage_tool.py tests/tool/test_device_plugin_index.py tests/tool/test_device_manage_prompt.py tests/server/routes/test_device_routes.py tests/skill/test_device_integration_guide_skill.py -q
  • uv run ruff check flocks/tool/device/manage_tool.py tests/tool/test_device_manage_tool.py tests/skill/test_device_integration_guide_skill.py
  • git diff --check

@duguwanglong
duguwanglong merged commit 1857968 into dev Jul 22, 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