host_bridge 1.1.0 copy "host_bridge: ^1.1.0" to clipboard
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_command endpoint 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.start for 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_bridge to run the bridge server.
  • Library: HostBridgeClient, file op and run_command models.
  • Endpoints: /file_op, /run_command, /ping.
0
likes
140
points
18
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#cli #http #file-operations #automation

License

BSD-3-Clause (license)

Dependencies

alfred, dart_mappable, emojis, http, path

More

Packages that depend on host_bridge