Skip to main content

utcp_file 0.2.0 copy "utcp_file: ^0.2.0" to clipboard
utcp_file: ^0.2.0 copied to clipboard

File transport and dotenv loader for the Dart UTCP client: load UTCP manuals and OpenAPI documents from local JSON or YAML files.

0.2.0 #

  • Relative file paths resolve against the client's rootDir when FileCommunicationProtocol has none.
  • FileCommunicationProtocol(allowLoopbackTools: true) lets trusted manual files point tools at loopback addresses; off by default.
  • FileCommunicationProtocol registers the dotenv variable loader, so DotEnvVariableLoader.register() is no longer needed with it.

0.1.1 #

  • Docs: package cross-links, badges and platform notes.

0.1.0 #

  • Initial release: file call template and protocol that load UTCP manuals or OpenAPI documents from local JSON or YAML files and return file content from tool calls.
  • DotEnvVariableLoader (variable_loader_type: dotenv) with python-dotenv parsing rules; register it with DotEnvVariableLoader.register().
  • A UTCP manual loaded from a file may not point tools at loopback, as OpenAPI documents already could not.
  • .. in a file path is resolved by the OS after following symlinks, instead of being collapsed first.
  • FileCommunicationProtocol(maxFileBytes: ...) caps the size of a file that is read (10 MiB by default).
  • The README explains that OpenAPI file manuals need http in allowed_communication_protocols.
0
likes
160
points
646
downloads

Documentation

API reference

Publisher

verified publisherleehack.com

Weekly Downloads

File transport and dotenv loader for the Dart UTCP client: load UTCP manuals and OpenAPI documents from local JSON or YAML files.

Repository (GitHub)
View/report issues

Topics

#utcp #env #openapi #llm #agents

License

MPL-2.0 (license)

Dependencies

path, utcp, yaml

More

Packages that depend on utcp_file