…re prompts
Add runtime_checkable instruction function types supporting 4 context patterns:
- No context, AgentContext, RunContext, or both contexts
- Both sync and async variants
Add context wrapping utility to adapt instruction functions for PydanticAI.
Extend ResourceProvider with get_instructions() method returning list[InstructionFunc].
Add ProviderInstructionConfig for YAML-based configuration:
- type: provider with ref or import_path
- Mutual exclusion validation
Integrate with NativeAgent:
- Collect and wrap instructions from providers in get_agentlet()
- Pass to PydanticAgent constructor
- Fail-safe error handling
Add comprehensive documentation and 45+ tests.
…-aware prompts