Command Line Artificial Intelligence or CLAI is an open-sourced project from IBM Research aimed to bring the power of AI to the command line interface.
Feature description
When using clai with suboptimal or no internet, clai could auto-detect via ping 8.8.8.8 that the connectivity state is poor or dead, and not try to connect to the clai server and hang the terminal for 3 seconds. Instead, clai could log commands issued during the outage and send them over once connectivity is re-established.
Acceptance criteria
When internet access is disconnected, clai does not try to connect to the remote server.
Feature description When using clai with suboptimal or no internet, clai could auto-detect via
ping 8.8.8.8
that the connectivity state is poor or dead, and not try to connect to the clai server and hang the terminal for 3 seconds. Instead, clai could log commands issued during the outage and send them over once connectivity is re-established.Acceptance criteria