Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 06:02

What's Changed

  • Added a richer OpenAI Agents SDK adapter with contract-based agent planning, factory helpers, output type registry generation, trace hooks, approval handling, and run-time assertion evaluation.
  • Added support for OpenAI/provider-hosted tools, including openai.web_search, explicit hosted tool registries, and hosted-tool trace events.
  • Added strict, versioned JSONL trace output with run IDs, event IDs, schema versions, known event types, and trace-loading diagnostics.
  • Added guard plan generation for output conformance, denied tools, and approval-required tools, with adapter caveats for host-enforced or unsupported guard behavior.
  • Added Pydantic interoperability for contract types, including optional CLI support for importing Python model types with --allow-python-imports.
  • Added generated Pydantic output models for OpenAI structured outputs from compiled Contract4Agents schemas.
  • Added host-callable assertion APIs for evaluating agent and run assertions outside the fixture runner.
  • Added validation for malformed composition declarations, unknown composition targets, and composition entries without matching use agent dependencies.
  • Added validation for unknown or incorrectly typed agent attributes, with hints for common mistakes like guard vs guards.
  • Improved OpenAI tool name encoding so contract tool names with dots and underscores map safely and reversibly to SDK-safe names.
  • Fixed nested native schema references so compiled schemas include needed $defs and nested output validation works correctly.
  • Fixed trace monitor false positives by matching targets only against relevant trace fields and scoping monitor checks to the rule’s agent.
  • Fixed datasource resolution to skip recursively unsatisfiable datasource candidates and choose valid dependency chains.
  • Added safety checks to prevent compiler artifacts from being written into the project root or source-owned directories.
  • Improved fixture verification so expected tool permissions are declared in fixture metadata instead of hard-coded.