Skip to content

Conversation

@nmaguiar
Copy link
Collaborator

This pull request adds support for a new "TOON" format as both an input and output option in the completion scripts and their metadata. The changes ensure that the toon format is recognized, handled, and documented consistently alongside other supported formats.

Input and output format support:

  • Added toon as a supported input format, including flag handling, argument parsing, and help text in completion_oafp.sh. [1] [2] [3]
  • Added toon as a supported output format, including flag handling, argument parsing, and help text in completion_oafp.sh. [1] [2] [3]

Metadata/documentation updates:

  • Documented the new in=toon and out=toon options in the completion metadata file completion_oafp.yaml, including descriptions for both. [1] [2]

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 pull request adds support for the TOON format (a structured data serialization format) as both an input and output option throughout the OpenAF ecosystem. The changes introduce the TOON library, integrate it into the OpenAF core functionality, and update completion scripts to recognize the new format.

Changes:

  • Added toon.js library (v2.1.0) as an external dependency
  • Integrated TOON format support into OpenAF core APIs (AF.toTOON, AF.fromTOON, $path functions)
  • Updated oafp tool to support TOON as input (in=toon) and output (out=toon) format
  • Added TOON format to shell completion scripts and metadata

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
versionsAndDeps.json Adds toon.js library as external dependency with version 2.1.0
js/toon.js New minified TOON library file for encoding/decoding TOON format
js/repack.js Adds loadTOON() call to shared archive initialization sequence
js/owrap.template.js Adds $toTOON helper function to Handlebars templates
js/owrap.oJob.js Adds "python" to supported job languages list
js/owrap.ai.js Adds jsonPromptWithStatsRaw and promptJSONWithStatsRaw methods
js/openaf.js Implements AF.toTOON/fromTOON methods, loadTOON function, $path integration, and $output support
js/oafp.js Adds TOON input/output format handling and version update
complete/completion_oafp.yaml Adds in=toon and out=toon completion metadata
complete/completion_oafp.sh Adds in=toon and out=toon shell completion support

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

@nmaguiar nmaguiar merged commit ba3d9d0 into master Jan 17, 2026
6 of 7 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in Continuous Enhancement Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug dependencies Pull requests that update a dependency file enhancement

Projects

Development

Successfully merging this pull request may close these issues.

2 participants