utcp_file 0.2.0
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
rootDirwhenFileCommunicationProtocolhas none. FileCommunicationProtocol(allowLoopbackTools: true)lets trusted manual files point tools at loopback addresses; off by default.FileCommunicationProtocolregisters thedotenvvariable loader, soDotEnvVariableLoader.register()is no longer needed with it.
0.1.1 #
- Docs: package cross-links, badges and platform notes.
0.1.0 #
- Initial release:
filecall 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 withDotEnvVariableLoader.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
httpinallowed_communication_protocols.