host_bridge 1.1.0
host_bridge: ^1.1.0 copied to clipboard
CLI and library to run a local HTTP bridge server for file operations and shell commands. Use from IDEs or scripts to perform host-side file and command execution.
1.1.0 #
- Streaming command execution: New
/run_advanced_commandendpoint that streams command output in real time via Server-Sent Events (SSE). - RunAdvancedCommandResponseModel: Sealed model for advanced command responses:
error– failure info (stderr,exitCode).data– final result when the process exits (exitCode,stdout,pid).
- HostBridgeClient.runAdvancedCommand(): Returns
Stream<RunAdvancedCommandResponseModel>; use for long-running commands to receive output incrementally. - Server uses
Process.startfor advanced commands (with optional timeout) and streams log events until the process exits.
1.0.1 #
- Package metadata and layout prepared for pub.dev (description, homepage, repository, topics, platforms, LICENSE, README).
1.0.0 #
- Initial version.
- CLI executable
host_bridgeto run the bridge server. - Library:
HostBridgeClient, file op and run_command models. - Endpoints:
/file_op,/run_command,/ping.